import{d as h,V as g,a4 as x,h as t,o,i as r,A as d,l as e,F as l,a9 as c,D as E}from"./index-9PRMimni.js";const S=["engineControlRoom","MainEngineTopView","workShop","spareRoom","storeRoom","electricalWorkshop","mainEngineFuelPumpSide","auxEngineTopView","aeFuelPumpSide1","aeFuelPumpSide2","aeFuelPumpSide3","airCompressorWithAirBottles","airCondition","purifierRoom","sewagePlant","mainEngineLocalStand","ERBottomFloorInFrontOfMainEngine","ERBottomFloorMainEngineStbdSide","oilyWaterSeparator","underneathIntermediateShaft","aftBilgeWell","ERBottomFloorMainEnginePortSide","mainEngineCrankCaseDoor","incinerator","boilerControlPanel","ERBlowerFanRoomPortSide","ERBlowerFanRoomStbdSide","steeringGearRoom"],f={class:"text-[16px] font-bold",style:{"margin-bottom":"-10px"}},P=["src"],F={style:{"text-align":"center","margin-top":"8px"}},_=h({__name:"index",props:{templateDetail:{type:Object,default:()=>({})}},setup(s){const u=s,{t:p}=g(),n=x(()=>S.filter(m=>u.templateDetail[`${m}_Photo`]));return(m,R)=>(o(),t("div",null,[r("p",f,d(e(p)("hsqe.auditInspection.vesselInspection.shipVisitReport.tabEnginePhotos")),1),(o(!0),t(l,null,c(Math.ceil(e(n).length/2),i=>(o(),t("div",{key:i,style:{display:"flex",gap:"20px","margin-bottom":"20px"}},[(o(),t(l,null,c([0,1],a=>r("div",{key:a,style:{flex:"1","max-width":"350px"}},[s.templateDetail[`${e(n)[(i-1)*2+a]}_Photo`]?(o(),t(l,{key:0},[r("img",{src:s.templateDetail[`${e(n)[(i-1)*2+a]}_Photo`],alt:"",style:{width:"350px",height:"196px","object-fit":"cover",border:"1px solid #eee"}},null,8,P),r("p",F,d(e(p)(`hsqe.auditInspection.vesselInspection.photos.${e(n)[(i-1)*2+a]}`)),1)],64)):E("",!0)])),64))]))),128))]))}});export{_};
