import{d as h,V as R,a4 as f,h as e,o as t,i as s,A as d,l as o,F as c,a9 as p,D as y}from"./index-9PRMimni.js";const u=["wheelHouse","radioSpace","navigationStationeryLocker","wheelHouseToilet","ownerCabin","ownerCabinToilet","pilotCabin","pilotCabinToilet","DdeckPassageway","DdeckAccommodation","CdeckPassageway","CdeckAccommodation","BdeckPassageway","BdeckAccommodation","AdeckPassageway","AdeckAccommodation","officerMess","officerPantry","ratingMess","ratingPantry","officerSaloon","ratingSaloon","galley","officerLaundry","ratingLaundry","hospitalRoom","hospitalToilet","cargoControlRoom","meetConferenceRoom","shipOffice","commonToilet","gymnasticRoom","fireStationRoom","foamRoom","airConditionRoom","deckChangingRoom","engineChangingRoom","dryProvisionStore","vegetableRoom","fishRoom","meatRoom","aftMooringRopeStoreRoom","batteryRoom","DdeckStoreRoom","CdeckStoreRoom","BdeckStoreRoom","AdeckStoreRoom","CO2Room","emergancyGeneratorRoom","suezCanalCabin","suezCanalCabinToilet","paintStoreRoom","lockerRoom","mainDeckStoreRoom1","mainDeckStoreRoom2","forecastleRoom","hydraulicPowerPackRoom","boatswainStoreRoomP","boatswainStoreRoomS","emergencyFire","bowThrusterRoom","master","CE","CO","E2","E3","E4","BSN","FITTER","AB1","AB2","AB3","AB4","OS1","OS2","deckCadet","engineCadet","oiler1","oiler2","chiefCook","messBoy","addOfficer","addCrew"],k={class:"text-[16px] font-bold",style:{"margin-bottom":"-10px"}},C=["src"],S={style:{"text-align":"center","margin-top":"8px"}},P=h({__name:"index",props:{templateDetail:{type:Object,default:()=>({})}},setup(r){const g=r,{t:m}=R(),a=f(()=>u.filter(l=>g.templateDetail[`${l}_Photo`]));return(l,b)=>(t(),e("div",null,[s("p",k,d(o(m)("hsqe.auditInspection.vesselInspection.shipVisitReport.tabAccommodationPhotos")),1),(t(!0),e(c,null,p(Math.ceil(o(a).length/2),i=>(t(),e("div",{key:i,style:{display:"flex",gap:"20px","margin-bottom":"20px"}},[(t(),e(c,null,p([0,1],n=>s("div",{key:n,style:{flex:"1","max-width":"350px"}},[r.templateDetail[`${o(a)[(i-1)*2+n]}_Photo`]?(t(),e(c,{key:0},[s("img",{src:r.templateDetail[`${o(a)[(i-1)*2+n]}_Photo`],alt:"",style:{width:"350px",height:"196px","object-fit":"cover",border:"1px solid #eee"}},null,8,C),s("p",S,d(o(m)(`hsqe.auditInspection.vesselInspection.photos.${o(a)[(i-1)*2+n]}`)),1)],64)):y("",!0)])),64))]))),128))]))}});export{P as _};
