import{d as l,V,a4 as f,h as i,o as t,i as d,A as p,l as e,F as n,a9 as w,D}from"./index-9PRMimni.js";const h=["compassDeck","radarMask","navigationBridgeDeckP","navigationBridgeDeckS","mainDeckViewedFromBridgeWingP","mainDeckViewedFromBridgeWingS","funnelViewedFromBridgeDeckP","funnelViewedFromBridgeDeckS","aftDecksViewedFromBridgeDeckP","aftDecksViewedFromBridgeDeckS","DdeckViewP","DdeckViewS","DdeckAthwartshipViewP","DdeckAthwartshipViewS","CdeckViewP","CdeckViewS","CdeckAthwartshipViewP","CdeckAthwartshipViewS","freefallLifeboatViewedFromPToP","freefallLifeboatViewedFromSToS","freefallLifeboatViewAftP","freefallLifeboatInsideS","BdeckViewP","BdeckViewS","BdeckAthwartshipViewP","BdeckAthwartshipViewS","AdeckViewP","AdeckViewS","AdeckAthwartshipViewP","AdeckAthwartshipViewS","dedicatedRescueBoatViewF","dedicatedRescueBoatViewAft","aftMooringStationViewP","aftMooringStationViewS","superstructureViewedFromAftMooringStationP","superstructureViewedFromAftMooringStationS","mooringStationDeckForwardViewP","mooringStationDeckForwardViewS","mainDeckViewedFromBridgeP","mainDeckViewedFromBridgeS","poopDeckBridgeFaceP","poopDeckBridgeFaceS","mainDeckViewCOTBridgeP","mainDeckViewCOTBridgeS","mainDeckViewAftMainfoldP","mainDeckViewAftMainfoldS","cargoMainfoldTopViewP","cargoMainfoldTopViewS","cargoMainfoldUndersideViewPS","cargoLineUndersideViewAftMainfold","mainDeckForwardFromMainfoldP","mainDeckForwardFromMainfoldS","MidshipAccommodationLadderP","MidshipAccommodationLadderS","midshipCraneAftView","midshipCraneForwardView","mainDeckViewForwardP","mainDeckViewForwardS","mainDeckViewCOTForecastleP","mainDeckViewCOTForecastleS","forwardPVRiser","aftPVRiser","mainDeckOverviewFromForecastleP","mainDeckOverviewFromForecastleS","forecastleDeckOverviewP","forecastleDeckOverviewS","bridgeFace","foreMast","pumpRoom1stDeck","pumpRoomTopView1stDeck","pumpRoom2ndDeck","pumpRoomTopView2ndDeck","pumpRoomLowerDeckP","pumpRoomLowerDeckS","pumpRoomTankTopP","pumpRoomTankTopS"],P={class:"text-[16px] font-bold",style:{"margin-bottom":"-10px"}},g=["src"],S={style:{"text-align":"center","margin-top":"8px"}},A=l({__name:"index",props:{templateDetail:{type:Object,default:()=>({})}},setup(c){const k=c,{t:s}=V(),o=f(()=>h.filter(m=>k.templateDetail[`${m}_Photo`]));return(m,u)=>(t(),i("div",null,[d("p",P,p(e(s)("hsqe.auditInspection.vesselInspection.shipVisitReport.tabDeckPhotos")),1),(t(!0),i(n,null,w(Math.ceil(e(o).length/2),a=>(t(),i("div",{key:a,style:{display:"flex",gap:"20px","margin-bottom":"20px"}},[(t(),i(n,null,w([0,1],r=>d("div",{key:r,style:{flex:"1","max-width":"350px"}},[c.templateDetail[`${e(o)[(a-1)*2+r]}_Photo`]?(t(),i(n,{key:0},[d("img",{src:c.templateDetail[`${e(o)[(a-1)*2+r]}_Photo`],alt:"",style:{width:"350px",height:"196px","object-fit":"cover",border:"1px solid #eee"}},null,8,g),d("p",S,p(e(s)(`hsqe.auditInspection.vesselInspection.photos.${e(o)[(a-1)*2+r]}`)),1)],64)):D("",!0)])),64))]))),128))]))}});export{A as _};
