import{V as r,cO as n,cq as c,fm as d}from"./index-9PRMimni.js";const{t:i}=r(),m={photosFields:["bowPhoto","draftMarkPhoto","overviewPhoto","bridgePhoto","mainDeckPhoto","forePhoto","sternPhoto","galleyPhoto","galleyStorePhoto","pharmacyPhoto","crewCabinPhoto","lifeBoatPhoto","garbageStationPhoto","mainEnginePhoto","auxEnginePhoto","centralControlPhoto","workshopPhoto","gearRoomPhoto","other1Photo","other2Photo","other3Photo"],deckPhotosFields:["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"],enginePhotosFields:["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"],accommodationPhotosFields:["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"]};function h(o){return{schemas:(m[`${o.currentTab}Fields`]||[]).map(e=>({field:e+"_Photo",label:["other1Photo","other2Photo","other3Photo"].includes(e)?i("hsqe.auditInspection.vesselInspection.photos.otherPhoto"):i(`hsqe.auditInspection.vesselInspection.photos.${e}`),component:"SingleImageUpload",componentProps:({model:a})=>({disabled:o?.readOnly,action:`${c().urlPrefix}/files`,headers:{timestamp:new Date().getTime(),authorization:`${n.get(d)}`},onUploadChange:(l,t)=>{a[e]=t||""}})}))}}export{h as c,m as f};
