{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/@maersk-global/icons/js lazy ^\\.\\/.*px\\/mi\\-.*\\.js$ namespace object","webpack:///./src/lib/errorUtilities.ts","webpack:///./src/store/modules/error.js","webpack:///./src/common/utils/generic/correlationIdGenerator.js","webpack:///./src/common/service/containersService.js","webpack:///./src/store/modules/commonData.js","webpack:///./src/store/modules/history/state.js","webpack:///./src/common/service/historyService.js","webpack:///./src/common/service/customerDataService.js","webpack:///./src/store/modules/history/actions.js","webpack:///./src/store/modules/history/mutations.js","webpack:///./src/lib/previous-bookings/previousBookingsMapper.ts","webpack:///./src/store/modules/history/getters.js","webpack:///./src/store/modules/history.js","webpack:///./src/common/service/userSettingsService.js","webpack:///./src/store/modules/userSettings.js","webpack:///./src/store/modules/boFlags.js","webpack:///./src/store/modules/priceOwnerData.js","webpack:///./src/store/modules/reeferSettingsData.js","webpack:///./src/lib/od3cp/od3cpPayloads.js","webpack:///./src/store/modules/od3cp/getters/getters.js","webpack:///./src/store/modules/od3cp/getters/containerCommodityCargoGetters.js","webpack:///./src/store/modules/od3cp/getters/locationGetters.js","webpack:///./src/store/modules/od3cp/getters/amendGetters.js","webpack:///./src/store/modules/od3cp/getters/datasetGetters.js","webpack:///./src/store/modules/od3cp/getters/bookingRequestGetters.js","webpack:///./src/common/service/od3cpService.js","webpack:///./src/common/service/reeferService.js","webpack:///./src/common/service/dangerousGoodsService.ts","webpack:///./src/common/service/datasetService.js","webpack:///./src/lib/dateAndTimeUtilities.ts","webpack:///./src/store/modules/od3cp/actions.js","webpack:///./src/store/modules/od3cp/mutations.js","webpack:///./src/store/modules/od3cp.js","webpack:///./src/common/service/nacsService.js","webpack:///./src/store/modules/nacAndAllocations.js","webpack:///./src/store/modules/parties.js","webpack:///./src/store/modules/bookedByContact/getters/datasetGetters.js","webpack:///./src/store/modules/bookedByContact/getters/bookingRequestGetters.js","webpack:///./src/store/modules/bookedByContact/getters/getters.js","webpack:///./src/store/modules/bookedByContact.js","webpack:///./src/common/service/officesService.js","webpack:///./src/store/modules/offices.js","webpack:///./src/common/service/configurableItemsService.js","webpack:///./src/store/modules/configurableItems.js","webpack:///./src/store/modules/bookingRequests.js","webpack:///./src/common/service/workflowLogService.js","webpack:///./src/store/modules/workflowLog.js","webpack:///./src/store/modules/bookingSession.js","webpack:///./src/store/modules/pricingJourney/state.js","webpack:///./src/common/service/pricingJourneyService.ts","webpack:///./src/common/service/subscriptionService.ts","webpack:///./src/lib/promiseHandler.ts","webpack:///./src/lib/pricing-journey/gaUtility.ts","webpack:///./src/store/modules/pricingJourney/actions.js","webpack:///./src/store/modules/pricingJourney/mutations.js","webpack:///./src/lib/pricing-journey/offerPayload.ts","webpack:///./src/store/modules/pricingJourney/getters/getters.js","webpack:///./src/store/modules/pricingJourney/getters/od3cpDataGetters.js","webpack:///./src/store/modules/pricingJourney/getters/pricingStatesGetters.js","webpack:///./src/store/modules/pricingJourney.js","webpack:///./src/common/service/oogCargoService.ts","webpack:///./src/store/modules/oog/oogSettingsData.js","webpack:///./src/store/modules/dangerousSettings/helper.js","webpack:///./src/store/modules/dangerousSettings/state.js","webpack:///./src/store/modules/dangerousSettings/actions.js","webpack:///./src/store/modules/dangerousSettings/mutations.js","webpack:///./src/store/modules/dangerousSettings/getters.js","webpack:///./src/store/modules/dangerousSettings.js","webpack:///./src/store/modules/loadAndDischargePorts.js","webpack:///./src/common/service/inlandRecommendationService.ts","webpack:///./src/store/modules/inlandRecommendation.js","webpack:///./src/common/service/masterDataManagementService.js","webpack:///./src/store/modules/masterDataManagement.js","webpack:///./src/store/store.js","webpack:///./src/lib/dangerousGoods/dgUtilities.ts","webpack:///./src/common/utils/generic/objectDeepComparison.js","webpack:///./src/lib/pricing-journey/offerCardConfig.ts","webpack:///./src/lib/additional-details/facilityUtilities.ts","webpack:///./src/views lazy ^\\.\\/.*\\.vue$ namespace object","webpack:///./src/common/utils/types/bookingOptions/vasDetailsTypes.ts","webpack:///./src/common/utils/auth/authRules.js","webpack:///./src/common/utils/mappers/od3cp/dataSetToOd3cpFormDataMapper.js","webpack:///./src/lib/od3cp/containerUtilities.ts","webpack:///./src/common/service/bookingRequests.js","webpack:///./src/lib/errorList.ts","webpack:///./src/common/utils/enums/od3cpEnums.ts","webpack:///./src/common/service/cargoInsuranceService.js","webpack:///./src/common/utils/http/payloadCleaner.ts","webpack:///./src/common/utils/mappers/od3cp/mappersUtilities.ts","webpack:///./src/common/utils/analytics/mopRum.js","webpack:///./src/lib/featureFlags/storage.ts","webpack:///./src/lib/featureFlags/storageEngine.ts","webpack:///./src/gaConfig.js","webpack:///./src/common/utils/generic/stateManagement.js","webpack:///./src/router.js","webpack:///./src/lib/sailings/routesUtilities.js","webpack:///./src/common/utils/error/errorPayload.js","webpack:///./src/common/utils/error/errorHandler.js","webpack:///./src/common/utils/http/httpClient.ts","webpack:///./src/store/modules/sailings/state.js","webpack:///./src/store/modules/sailings/getters.js","webpack:///./src/store/modules/sailings/helper.js","webpack:///./src/store/modules/sailings/mutations.js","webpack:///./src/common/service/routesAvailabilityService.js","webpack:///./src/store/modules/sailings/actions.js","webpack:///./src/store/modules/sailings.js","webpack:///./src/common/utils/labels/pricingJourneyLabels.ts","webpack:///./src/lib/pricing-journey/offerMapper.ts","webpack:///./src/common/utils/labels/reeferLabels.js","webpack:///./src/common/utils/mappers/od3cp/bookingRequestToOd3cpFormDataMapper.ts","webpack:///./src/lib/od3cp/od3cpUtilities.js","webpack:///./src/common/utils/generic/timerFunctionalities.js","webpack:///./src/lib/pricingPMAMapper.ts","webpack:///./src/lib/CONSTANTS.js","webpack:///./src/common/utils/labels/dangerousGoodsLabels.ts","webpack:///./src/lib/oogCargo/oogUtilities.ts","webpack:///./src/lib/additional-details/vasConfig.ts","webpack:///./src/lib/additional-details/vasUtilities.ts","webpack:///./src/common/utils/generic/currencyTransform.js","webpack:///./src/common/utils/generic/featureFlagService.js","webpack:///./src/common/utils/analytics/ga.js","webpack:///./src/common/utils/mappers/od3cp/legacyToOd3cpFormDataMapper.js","webpack:///./src/common/utils/generic/deepClone.js","webpack:///./src/common/service/businessRulesService.js","webpack:///./src/common/service/adfService.js","webpack:///./src/App.vue","webpack:///./src/components/BookingSession.vue","webpack:///src/components/BookingSession.vue","webpack:///./src/components/BookingSession.vue?c90c","webpack:///./src/components/BookingSession.vue?4271","webpack:///./src/components/BookingSubmittedToast.vue","webpack:///src/components/BookingSubmittedToast.vue","webpack:///./src/components/BookingSubmittedToast.vue?7326","webpack:///./src/components/BookingSubmittedToast.vue?043f","webpack:///./src/lib/deviceInfo.ts","webpack:///./src/mixins/DeviceInfoMixin.js","webpack:///./src/App.vue?9844","webpack:///./src/App.vue?198c","webpack:///./src/App.vue?315a","webpack:///./src/common/utils/validation/validationRules.js","webpack:///./src/common/utils/generic/bookingRelease.js","webpack:///./src/plugins/featureFlagLocalPlugin.js","webpack:///./src/plugins/userLocale.js","webpack:///./src/lib/featureFlags/InterceptorEngine.ts","webpack:///./src/apex.ts","webpack:///./src/main.ts","webpack:///./src/lib/sailings/priceTransformers.js","webpack:///./src/common/utils/generic/queryParamBuilder.js","webpack:///./src/lib/reefer/reeferUtilities.ts","webpack:///./node_modules/@maersk-global/mds-components-core-icon lazy ^.*@maersk\\-global\\/icons\\/js\\/.*px\\/mi\\-.*\\.js$ namespace object"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","prefetchChunks","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","deferredPrefetch","apply","shift","deferredModules","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","forEach","undefined","link","document","createElement","nc","setAttribute","rel","as","href","jsonpScriptSrc","head","appendChild","installedModules","installedCssChunks","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","fullhref","existingLinkTags","getElementsByTagName","tag","dataHref","getAttribute","existingStyleTags","linkTag","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","error","clearTimeout","chunk","errorType","realSrc","message","name","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","startupResult","map","webpackAsyncContext","req","ids","id","keys","generateErrorPayload","status","isSpike","Number","isBot","isForbidden","prefersMessage","Vue","$t","namespaced","state","errors","mutations","setError","source","page","JSON","stringify","additionalPayload","_objectSpread","addRUMErrorLog","clearErrorsForSource","filter","clearErrorsForPage","clearAllErrors","clearWorkflowLogErrorsForSpecificCorrelationId","correlationId","getters","getDeparturesErrorStatus","find","constants","errorSource","departures","statusCode","getErrorMessages","showError","some","critical","join","isNavigationDisabled","disableNavigation","hasErrorsForPage","hasErrorsForSource","includeAll","getErrorsBySource","generateFakeCorrelationId","str","charIndex","Math","random","toFixed","String","fromCharCode","match","getDepartureContainers","async","params","url","getCurrentEnvironmentVariables","apiDomain","ENDPOINTS","containers","getQueryStringParams","executeRequest","method","commonData","previousCorrelationId","dataSetsCorrelationId","containerTypes","containerRefs","deviceType","setCommonData","setCorrelationId","includes","localStorage","removeItem","setItem","setPreviousCorrelationId","setDataSetsCorrelationId","setContainerTypes","types","mapDepartureContainerTypes","setContainerRefs","setDeviceType","getCorrelationId","getPreviousCorrelationId","getCommonDataCorrelationId","_state$commonData","getDataSetsCorrelationId","getIsFakeCorrelationId","startsWith","getContainerByTypeSize","container","_state$containerTypes","cnt","isoContainerSizeTypeCd","isoCode","typeCd","sizeCd","size","getContainerTypes","hasCorrelationId","Boolean","getContainerRefs","isTabOrMobileScreen","isMobileScreen","isTabScreen","tab","mobile","getFlexiTankContainerIsoCodes","flexiTankFlag","getOogContainerIsoCodes","outOfGaugeCargoFlag","actions","commit","bookable","_state$containerTypes2","cnts","isBookable","containerDetails","departureContainerTypes","rootGetters","_rootGetters$OD3CPGe","item","typeIndex","Array","from","quantity","_","_rootGetters$OD3CPGe2","getRandomReference","_rootGetters$OD3CPGe3","originalContainerRefs","deepClone","_item$containerType","_item$shipperOwnConta","_item$importReturnCon","_originalContainerRef","containerKey","containerType","shipperOwnContainer","checked","importReturnContainer","currentLength","grabbedContainers","additionalReferences","initialState","originLocations","destinationLocations","priceOwners","commodities","nacHistory","parties","facilities","isPartiesAndFacilitiesHistoryLoading","previouslyUsedNacServiceAvailability","bookings","visibleBookings","isBookingsLoading","isPreviousBookingsTriggered","activePage","getBookingHistory","args","noOfRecords","payload","envVariable","isFeatureEnabled","featureFlags","decomOdsHistoricalData","bookedByCode","getCustomerCode","bookedByContactCode","getUserCredential","body","headers","getFeatureVersion","consumerKey","previousBookingsConsumerKey","getNACHistory","getPartiesAndFacilitiesHistory","destinationLocation","rest","_objectWithoutProperties","_excluded","getPreviousBookings","getPublicData","customerCode","tradingName","countryCode","cityName","qsParams","ciamUrl","ciam","publicData","synergyConsumerKey","getBookedByParties","nextPageToken","nextPageParam","contactPublicData","rawResponse","history","root","getPayloadForAmend","noOfRecordsFromHistory","previouslyUsedFacilities","transformOd3cpFacilities","transformOd3cpLocations","transformOd3cpCommodities","errorPage","od3cp","_rootGetters$bookedBy","priceOwner","originLocation","origin","location","destination","transformNacInfo","maerskPartyCode","fullName","scvCode","portName","geoId","maerskGeoLocationId","priceOwnerCode","customerCodes","previouslyUsedNacServiceAvailabilityStatus","historyData","validCustomers","ok","activeCustomers","customerStatusCode","_rootGetters$sailings","_rootGetters$sailings2","_rootGetters$bookedBy2","schedules","startLocation","endLocation","noOfRecordsFromHistoryNew","cityGeoId","partiesAndFacilitiesHistory","partyRoles","partyScvCode","reduce","acc","typeName","partyTypeName","typeCode","partyTypeCode","mapFacilitiesHistory","details","_rootGetters$bookingO","validParties","context","previousBookings","_response$bookings","carrierCode","getBrandFromHostname","brandCode","toUpperCase","response","getPreviousBookingsPerPage","resetPreviousBookingInfo","facilitiesData","loadingAddresses","facility","_facility$facilityCon","_facility$facilityCon2","facilityContactAddress","facilityCode","_facility$facilityCon3","_facility$facilityCon4","_facility$facilityCon5","_facility$facilityCon6","_facility$facilityCon7","_facility$facilityCon8","_facility$facilityCon9","_facility$facilityCon10","_facility$facilityCon11","_facility$facilityCon12","_facility$facilityCon13","_facility$facilityCon14","_facility$facilityCon15","_facility$facilityCon16","_facility$facilityCon17","customerName","facilityName","faciltyName","streetName","line1Address","line2Address","line3Address","houseNumber","streetNumber","city","country","postalCode","postalAdressCode","setOriginLocations","setDestinationLocations","setPriceOwners","setCommodities","setNacPreviouslyUsed","setPreviouslyUsedNacServiceAvailability","setParties","setFacilities","setIsPartiesAndFacilitiesHistoryLoading","bool","resetNacPreviouslyUsed","setPreviousBookings","setBookingLoading","setSelectedBooking","booking","isSelected","bookingNumber","setPreviousBookingsTriggered","setVisiblePreviousBookings","setActivePage","mapPreviousBookings","_booking$toLocation","_booking$toLocation2","_booking$toLocation3","_booking$fromLocation","_booking$fromLocation2","_booking$fromLocation3","_booking$priceOwner","_booking$priceOwner2","_booking$commodities","_booking$isSelected","_booking$additionalIn","isArray","toCityName","toLocation","toCountryName","countryName","toRegionName","regionName","fromCityName","fromLocation","fromCountryName","fromRegionName","poCode","maskCustomerCode","partyCode","poName","partyName","commodityNames","commodity","commodityName","containerLabels","mapContainerLabels","commodityLabels","mapCommodityLabels","imoNumbers","additionalInfo","dangerous","isDangerous","undgNumbers","_booking$additionalIn2","outOfGauge","isOutOfGauge","oogCargo","toLowerCase","values","_booking$additionalIn3","_booking$additionalIn4","reefer","isReefer","reeferCargo","toLocaleLowerCase","dangerousCargo","getPartyHistoryForRole","roleCode","getNacPreviouslyUsed","getPreviouslyUsedNacServiceAvailability","getPayloadForAmendFromDataset","rootState","_bookingData$parties","bookingData","party","userRoles","BOOKED_BY","bookedByContactScvCode","getPayloadForAmendFromBookingRequest","_bookingData$parties2","_bookingData$parties3","roleName","bookedByContact","bookingDataSource","bookingRequest","getPreviousBookingRows","isPreviousBookingsLoading","getSelectedBookingId","_getters$getPreviousB","_getters$getPreviousB2","hasPreviousBookingsError","modalDimension","isEmptyPreviousBookings","height","width","isPreviousBookingsAlreadyTriggered","_getters$getPreviousB3","getTotalPagesForPreviousBookings","_getters$getPreviousB4","getNumberOfPreviousBookingsAllowedPerPage","getPaginatedPreviousBookings","val","idx","floor","pageNum","_getters$getPreviousB5","_getters$getPaginated","_getters$getPaginated2","isPreviousBookingPaginationApplicable","getVisiblePreviousBookings","getActivePage","isPrevBookingsPaginationVisible","_getters$getPreviousB6","_rootGetters$boFlags","_rootGetters$boFlags2","duplicatePreviousBookingConfig","bookingsPerPage","getSelectedRowID","_getters$getVisiblePr","findIndex","_rootGetters$boFlags3","_rootGetters$boFlags4","isPaginationApplicable","getOriginHistoryLocations","getOriginHistoryFacilities","f","getFacilities","getUserSettings","_response$userAccount","env","path","userSettings","metric","userAccountSettings","settingsValue","useMetric","isMilitaryUser","isInternalUser","unitPreference","weightUnits","kgs","lbs","isCurrentCarrierMLL","hasMilitaryBookingRole","setUserSettings","setIsMilitaryUser","setMetric","useKg","boFlags","USER_SETTINGS_FROM_AO","getFlag","flag","feature","priceOwnerData","loggedInPriceOwnerData","customerReference","selectedOption","priceOwnerDataError","isDefaultUpdate","getCustomerReference","getPriceOwnerData","getLoggedInPriceOwnerData","isPriceOwnerLoggedInUser","priceOwnerRadioOptions","PO","priceOwnerParty","_priceOwner$customerC","_priceOwner$customerC2","priceOwnerReference","debugAction","cmdCode","companyName","userRolesByName","partyReference","setPriceOwnerData","setLoggedInPriceOwnerData","setCustomerReference","cr","setCode","setSelectedOption","so","setPriceOwnerDataError","setIsDefaultUpdate","clearState","clearedState","getClearedState","militaryScvCode","poData","reeferContainerType","controlledAtmosphere","coldTreatment","radioOptions","disable","temperature","multipleSetPoints","noOfCargoProbes","drainHoles","openClosedRadioOptions","closed","freshAirExchange","ventilationVolume","humidity","humidityPercentage","oxygenPercentage","carbonDioxidePercentage","ethyleneFilter","genSetExport","genSetImport","reeferTemplates","isTemplateDefault","defaultReeferTemplate","tempRangeCenMax","tempRangeCenMin","tempRangeFarMax","tempRangeFarMin","humidityIndicator","humidityInPercentMin","humidityInPercentMax","ventilationStats","ventilationVolumeMax","ventilationVolumeMin","ventilationVolumeCuFtMax","ventilationVolumeCuFtMin","o2PercentMax","o2PercentMin","co2PercentMax","co2PercentMin","numberOfProbs","multiStandard","commodityCode","commodityDescription","isDefaultTemplate","activeReeferTemplate","duplicateBookingTempControlFlag","isReeferTemplatesLoading","templateContainerCodes","commodityReeferSettingsId","isCCL","preserveVentilation","brMappingInProgress","reeferDataLoaded","multipleSetPointDetails","getReeferContainerType","isReeferDataLoaded","getReeferContainerCode","split","replace","reeferContainerCodes","endsWith","reeferColdTreatmentContainerCode","getColdTreatment","getMultiTemplateReeferContainerCode","templates","getReeferTemplates","getControlledAtmosphere","enable","getTemperature","getMultipleSetPoints","getNoOfCargoProbes","getDrainHoles","getFreshAirExchange","getVentilationVolume","getHumidity","getHumidityPercentage","getOxygenPercentage","getCarbonDioxidePercentage","getEthyleneFilter","getGenSetExport","getGenSetImport","getCommodityReeferSettingsId","getDefaultReeferTemplate","getActiveReeferTemplate","getMultipleSetPointDetails","getMultipleSetPointDetailsForDepartures","numberOfDays","setPointDays","setPointTemp","isDisabled","isVentilationVolumeDisabled","isHumidityPercentageDisabled","isDrainHolesDisabled","isActiveTemplateColdTreatmentEnabled","_state$activeReeferTe","getReeferDetails","getReeferTemplatesLoadingStatus","getTemplateContainerCodes","template","isReeferAndContainerPickedUp","containerPickupStatus","containerGateInStatus","isReeferAndContainerGatedIn","isReeferAndContainerPickedUpOrGatedIn","hasTempOrHumidityChangedInAmendOrNor","reeferAndNorAmend","_rootGetters$OD3CPGe4","_rootGetters$OD3CPGe5","_rootGetters$OD3CPGe6","currentHumidityPercentage","parseFloat","humidityPercentageBr","reeferDetails","setReeferContainerType","setReeferDataLoaded","setControlledAtmosphere","setColdTreatment","setTemperature","setMultipleSetPoints","setNoOfCargoProbes","valueToSet","parseInt","isNaN","setDrainHoles","setFreshAirExchange","setVentilationVolume","setHumidity","setHumidityPercentage","setOxygenPercentage","setCarbonDioxidePercentage","setEthyleneFilter","setGenSetExport","setGenSetImport","setCommodityReeferSettingsId","setReeferTemplatesResponse","setDefaultReeferTemplate","setActiveReeferTemplate","setEthyleneFilterToDefaultValue","_state$activeReeferTe2","_state$activeReeferTe3","setDuplicateBookingTempControlFlag","setReeferTemplatesLoadingStatus","setIsDefaultTemplate","setIsCCL","setPreserveVentilation","retainTemplatesResponse","reeferTemplatesResponse","setBrMappingInProgress","setMultipleSetPointDetails","disableMultipleSetPointDetails","setPointObj","index","newValue","set","addEmptySetpointComponent","emptySetpoint","updateActiveReeferTemplate","dispatch","containerCode","isEdit","resetCargoProbes","_rootGetters$reeferSe","_fetchReeferTemplate","isDgNecessary","dgContainerCodes","isMultiTemplate","otherCode","fetchReeferTemplate","updatedTemplate","multiTemplate","selectedColdTreatment","updateCargoProbesWithActiveTemplate","isDrainHoles","open","min","getCargoProbesRangeValues","numberOfProb","resetReeferTemplates","resetMultiSetPointDetails","updateControlledAtmosphere","controlledAtmosphereContainerCodes","updateGenSet","updateVentilation","updateReeferTemplatesLoadingStatus","mapReeferSettingsFromDataSet","_bookingData$equipmen","_bookingData$equipmen2","_bookingData$equipmen3","_rootGetters$reeferSe2","_getters$getActiveRee","reeferData","isOriginalContainerTypePresent","isMultiContainer","equipmentAndHaulage","firstContainerSize","isMultiSizeContainers","containerDetail","reeferSize","getReeferContainerTypeSize","reeferContainerTypeWithSize","gcsssReeferContainerTypes","mapReeferContainerCode","templateContainerCode","getReeferContainerCodeFromTemplate","reeferCodeAndTypeMap","mapReeferTemperature","mapReeferCargoProbes","mapReeferHumidity","mapReeferDrainHoles","mapReeferVentilationVolume","mappedMultiSetpoints","mapMultipleSetPointDetails","updatedMultiSetpointDetails","updateReeferMultipleSetpointDetails","mapReeferEthyleneFilter","mapReeferSettingsContainerPickedUp","_bookingData$equipmen4","_bookingData$equipmen5","_String","getAmendBookingDetails","_getters$getBookingDa","_rootGetters$addition","_getters$getBookingDa3","isAmendBooking","modifiedPayload","parse","_getters$getBookingDa2","od3cChanged","isOd3cChanged","shipmentRoute","getOriginalShipmentRoute","haulageDetails","getBookingData","getBookingDataSource","lastUpdated","getAmendContainerStatus","ref","additionalReferenceName","additionalReferenceValue","getAdditionalReferencesForDatasetPayload","doesDatasetHaveBookedByData","partyItem","toString","generateAdditionalPayload","getAmendAndDuplicateBookingDetails","_rootGetters$parties","_rootState$parties","_getters$getBookingDa4","_defaultPartyData","_defaultPartyData2","isDuplicateBooking","manualPartiesCodes","role","defaultParties","defaultPartyCodes","defaultPartyData","originalShipmentNumber","duplicateOrAmendBookingData","getAdditionalPayloadForAmendAndDuplicate","bookingSourceSystem","defPartyItem","_defPartyItem$roleCod","_modifiedPayload$part","_item$roleCode","_party$roleCode","mapPartiesForDataset","existingBookingCorrelationId","getOriginalCorrelationIdForAmend","getOriginalDataParties","bookingInfoFromBookingRequest","dataset","bookingType","new","_getters$getBookingDa5","_Object$keys","bookingDataPartyRoleCodeMap","partyRoleCodeMap","getBookingDataFromBookingRequest","getBookingDataFromDataset","getLegacyBookingData","legacy","bookingDataFromLegacy","getBookingId","_getters$duplicateOrA","_getters$duplicateOrA2","getNumberOfContainers","reducer","prevSum","od3cpFormData","containerSelect","areAllContainersFullyFilled","every","weightPerContainer","getEarliestDepartureDate","earliestDepartureDate","getEarliestDepartureDateFromBookingData","_getters$getPrePopula","getEddFromBrData","getEarliestDepartureDateFromDataset","getPrePopulatedBookingData","shipmentDate","getBookingFlowResponse","bookingFlowResponse","prePopulatedBookingData","isReeferInPopulatedBookingData","_state$prePopulatedBo","isReeferAndNorAmendEnabled","isReeferSettingsEnabled","reeferSettings","isReeferSettingsVisible","isReeferSettingsNecessary","isDangerousInPopulatedBookingData","_state$prePopulatedBo2","od3cpServicePayload","_bookedByContact$cont","_getters$getCommodity","_rootGetters$nacAndAl","_rootGetters$nacAndAl2","lsm","getLocationServiceMode","altPickup","getAlternatePickupLocation","bookedByContactName","bookedByContactScvId","contactCodes","contactScvCode","bookedByContactEmail","emailAddress","ismilitaryBooking","makeODObject","dayjs","format","priceOwnerScvCode","priceOwnerName","getCommodity","temperatureControl","bookedByAddress","customerAddressDetails","businessUnit","mapParties","originalBookingNumber","nacIndicator","nacName","nacScvCode","contractIndicator","contractIndicators","noContractNumber","contractNumber","errorCode","lastUpdatedBy","isMobileAccess","operatorCode","listServiceContract","cargo","cargoDetails","_getters$getPrePopula2","mappedParties","selected","mapPartyData","_party$selected$custo","_party$selected$custo2","_party$selected$custo3","_party$selected$custo4","_party$selected$custo5","_party$selected$custo6","_party$selected$custo7","_party$selected$custo8","_party$selected$custo9","_party$selected$custo10","_party$selected$custo11","_party$selected$custo12","reference","accessType","customerTypes","customerTradingName","customerGroupType","countryIdentifier","isoCountryCode","isoCountryFullName","address","houseNo","building","buildingNo","poBox","mailBox","iso2Code","getCommonDataForDataset","_getters$getAlternate","_lsm$destination","_lsm$origin","_lsm$origin2","_lsm$destination2","instanceIdAndQuantityMapper","getContainerInstanceIdsAndQuantityMapper","alternatePickupLocation","mapLocation","exportServiceMode","serviceMode","importServiceMode","mapCargoDetails","contractDetails","getContractDetailsForDatasetPayload","oogDetails","getMappedOogDetailsFromCurrentState","cityRkstCode","maerskRkstCode","countryGeoId","_state$od3cpFormData$","_state$od3cpFormData$2","commoditySelected","mapContainers","getContainerSelect","_container$containerT","_container$containerT2","_container$shipperOwn","_container$containerT3","_container$overSizedC","_container$containerT4","_container$importRetu","cargoId","Date","getTime","equipmentId","displayName","sizeTypeDisplayName","cargoWeights","cargoWeight","weightMeasurementUnit","isShipperOwned","carrierOwnedFlag","overSizedCargo","isNOR","isContainerNor","isImportReturned","isFoodGrade","shipmentEquipmentAssignmentIds","sspId","mapSspId","sspReferenceId","mapContainerInstanceIds","containerIndex","containerSspIdCollection","_parties","priceOwnerRef","mapParty","nac","_data$customerCodes","_data$customerCodes2","cmdAddress","suburb","district","region","sspAddress","mapSspAddress","amendParty","_data$customerCodes3","getPartyCodeKeyForBookingData","companyAddress","getContainerDetailsFromBookingData","mappedContainers","originalContainerDetails","codeQty","containerInstanceIds","amendContainerDetails","_container$containerT5","_container$containerT6","processResult","originalContainerIndex","_originalContainerDet3","_originalContainerDet4","_originalContainerDet","_originalContainerDet2","od3cpDataSetsPayload","_getters$getCommodity2","businessUnitCode","departureDate","isMilitary","toDate","reloadRequired","isSspReloadRequired","departuresServicePayload","_lsm$origin3","_lsm$destination3","_getters$getAmendCont","_getters$getAmendCont2","shouldTurnOffProductsFetch","turnOffEagerFetch","isNorEnabled","norBookingFlow","loadPort","dischargePort","makeODObjectForDepartures","loadPortLocation","dischargePortLocation","isNorRecommendation","batchSizeInWeeks","productsFetchSizeInWeeks","validationFlags","getDepartuesValidationFlags","getCargoDetails","getContainerDetails","metricUnits","isContainerPickedUp","isContainerGatedIn","priceCalculationDate","buCode","productsEagerFetch","departureDetails","getDepartureDetailsFromBookingData","originalEarliestDepartureDate","originDepartureDatetimeUTC","toISOString","originalCorrelationId","originalRouteSchedule","getOriginalRouteScheduleForAmend","duplicate","isNewBooking","isInOfflineMode","isServiceModeCFS","getBookingDetailsPayloadInOfflineMode","locationServiceMode","getSspUrl","sspUrl","isBookingInfoFromBookingRequest","sspUrlForNewAndDuplicate","SSP_BOOKING_AFTER_BR","SSP_BOOKING","sspPath","SSP_AMEND_BOOKING","isDuplicateOrAmendBooking","amend","_rootGetters$OD3CPBo","_rootGetters$OD3CPDu","webDomain","getBookingFlowError","bookingFlowError","isOOGEnabledAndCargoOverSizeChecked","oog","anyODDSizedContainerWithOOGChecked","isMultiContainerAndFlagEnabled","isMultiContainerEnabled","isMultipleContainer","isSocOrIrtSelected","soc","isAnyShipperOwned","isAnyImportReturned","getBusinessRuleBookingFlowPayload","_getters$getCommodity3","_rootGetters$priceOwn","_getters$getLocationS","_getters$getCommodity4","_getters$getContainer","_getters$getLocationS2","_rootState$reeferSett","bookedByCustomerCode","originServiceMode","isDangerousCargo","originCountryCode","reeferSettingsData","getODMBookingFlowPayload","_rootGetters$parties2","_rootGetters$priceOwn2","_getters$getCommodity5","_getters$getLocationS3","_getters$getCommodity6","_getters$getLocationS4","_getters$getContainer2","odmPayload","__DecisionID__","customer","commodityClassificationCd","receiptDeliveryCode","receiptDeliveryName","reeferFlag","dangerousCargoFlag","exportCountry","multipleContainerFlag","containerList","deliveryAgreementType","deliveryAgreementTypeODMBookingFlow","references","contractList","getContractDetailsFromBookingRequest","getPricingContractDetailsFromDataset","contractData","noContractDetails","noContract","contractDetail","getUCRFromBookingData","getReferenceFromBookingRequest","REFERENCE","UCR","getUCRFromDataSet","getDubaiTradeCodeFromBookingData","DUBAI_TRADE_CODE","getCustomerHsCodeFromBookingData","CUSTOMER_HS_CODE","getBookingCommodityFromBookingData","BOOKING_COMMODITY","getFlexHubSelectedStateFromBookingData","getFlexHubSelectedStateFromBookingRequest","getFlexHubSelectedStateFromDataSet","getReferencesFromBookingRequestForDatasetPayload","getReferencesFromDataSetForDatasetPayload","getShipmentRouteFromBookingRequestForDatasetPayload","shouldTriggerBookingRequestAfterDataset","_datasetData$addition","isBookingRequestEnabled","datasetData","isCidMissingInDataset","_datasetData$addition2","isBookingRequestErrorForBackAndForth","bookingRequestInBackAndForth","shouldHideVas","localBrandOverride","isCargoInsuranceAvailable","isCargoInsuranceMandatory","shouldSkipVas","isMilitaryUserWithCarrierMll","isLoggedInUserSameAsOriginalBookedBy","_rootGetters$parties3","PARTY_KEYS_BOOKING_REQUEST","PARTY_CODE","PARTY_KEYS_DATASET","getRequiredDataForPricingJourney","_lsm$destination4","_lsm$origin4","_lsm$destination5","_lsm$origin5","destinationLocationCY","originLocationCY","getPO","_state$od3cpFormData$3","_state$od3cpFormData$4","isTemperatureControlled","_container$containerT7","_container$shipperOwn2","_poData$customerCodes","_poData$customerCodes2","isDangerousOrOversizedCargo","isEqualDataForPricingJourney","deepEqual","shouldTriggerAPIForPricingJourney","_getters$getContainer3","isPricingJourneyEnabled","pricingJourney","isPricingJourneyMultiContainerApiTriggerEnabled","pricingJourneyMultiContainerApiTrigger","isPricingJourneyRequiredDataFilled","isEqual","shouldDebounceProductOffers","_getters$getRequiredD","_rootGetters$pricingJ","containersAndWeight","_container$cargoWeigh","containersAndWeightPrevData","_container$cargoWeigh2","isDeepEmpty","showCargoDetails","isOOGOrDG","isDGSettingsNecessary","dgAmend","getUrlParamsForLcl","_lsm$origin6","_lsm$origin7","_lsm$destination6","_lsm$destination7","cleanup","fromMode","to","toMode","date","isFromBooking","isNonDryOrSocIrtBooking","multiContainerType","getPreviousContainerSelectData","previousContainerSelectData","getPreviousOD3CPDataForGA","previousOD3CPDataForGA","getSearchRetryId","searchRetryId","getWebsiteBusyRetryId","websiteBusyRetryId","getPreviousQuantityOfContainer","_getters$getPreviousC","_getters$getPreviousC2","shouldStopDgOogCardsReduction","containerQty","isOog","cardsCount","isWidgetExpanded","_state$widgetControls","widgetControls","isExpanded","getContainerInstances","containerInstances","isSealandBookingAllowed","_getBrandFromHostname","_getters$getLocationS5","_getters$getLocationS6","isSealandAsia","brandCodes","sealandAsia","destinationCountryCode","brandUnification","allowedCountries","showSealandTransitioningNotification","_getBrandFromHostname2","sealandAmericas","sealandEurope","getPreSelectedCommodityCode","preSelectedCommodityCode","getCurrentFfe","calculateFfe","getOriginalFfe","originalContainers","getOd3cpContextForLD","_getters$getContainer4","_lsm$destination8","_lsm$origin8","_lsm$destination9","_lsm$origin9","_container$overSizedC2","_container$containerT8","_container$containerT9","_container$importRetu2","_container$shipperOwn3","_container$containerT10","_rootGetters$parties4","_rootGetters$priceOwn3","booking_info","brandName","booking_lsm","importCountyCode","exportCountyCode","booking_commodity","booking_container","isOutOfGaugeContainer","isImportReturnContainer","booking_customer","getOd3cpDataForGA","_getters$getLocationS7","_getters$getLocationS8","_getters$getCommodity7","_rootGetters$priceOwn4","_rootGetters$parties5","bookedByParty","areAllContainersDryOrHDry","_state$od3cpFormData","_container$containerT11","dry","dryHigh","getOd3cpFormDataForMop","_lsm$destination10","_lsm$origin10","_lsm$destination11","_lsm$origin11","importCountryCode","exportCountryCode","getAdvancedOptionsPopupStatus","showAdvancedOptionsPopOver","governmentalCargoControl","show","disabled","getContainerSelectRules","containerSelectRules","getContainerDefaultRules","containerDefaultRules","cargoInsurance","insuranceAvailable","insurance","insuranceStatusCode","getCargoInsurancePremium","minimumPremiumAmount","currencyCode","minimumPremiumAmountCurrencyCode","getTotalContainerQuantity","prev","curr","getCargoType","_type","cargoTypes","findCargoType","dryCargo","reeferCargoType","_state$od3cpFormData2","isContainerOverSized","isReeferSettingsEnabledAndActive","isReeferSettingsCompatibleWithDgValue","isReeferSettingsCompatibleWithOogValue","isSocEnabledOrNotActive","dangerousGoods","isDgSettingsCompatibleWithOogValue","_container$importRetu3","odmBookingFlow","containerTypeCd","isImportReturn","unitOfMeasure","cs","_cs$containerType","_cs$containerType2","_cs$overSizedCargo","_cs$importReturnConta","_cs$shipperOwnContain","_cs$containerType3","_cs$containerType4","_cs$containerType5","foodGrade","importReturned","shipperOwned","containerSize","weight","getContainerSelectBySizeType","sizeType","_state$od3cpFormData3","containerSizeType","getContainerQuantityByIsoCode","_state$od3cpFormData4","_state$od3cpFormData5","_quantity","getContainerInfoForAdditionalDetails","getContainerInfoForAdditionalDetailsPayload","getContainerInfoForAdditionalDetailsByType","_state$od3cpFormData$5","_state$od3cpFormData$6","isDryBooking","_every","_ref","_state$od3cpFormData$7","_state$od3cpFormData$8","_state$od3cpFormData$9","isODDSizedContainerWithOOGChecked","_state$od3cpFormData$10","_container$overSizedC3","getContainerProfile","_state$od3cpFormData$11","_cs$containerType6","_cs$containerType7","_cs$containerType8","unitOfMeasurementAbbreviationVal","isNonOperatingContainer","isShipperOwnedContainer","_container$importRetu4","isContainerNotAllowedInSpot","isAllContainersEitherSocOrIrt","_state$od3cpFormData$12","_container$shipperOwn4","_container$importRetu5","isAnyContainersSocOrIrt","_state$od3cpFormData$13","_container$shipperOwn5","_container$importRetu6","getSumOfQuantitiesOfSelectedContainers","accumulator","getContainerSelectBySizeTypeForTrialVas","_getters$getContainer5","enableFlexiTank","isAnyContainerFlexiTank","_container$flexiTankC","flexiTankContainer","isAnyContainerSoc","_state$od3cpFormData$14","_container$shipperOwn6","isAnyContainerIrt","_container$importRetu7","isAnyContainerReefer","_state$od3cpFormData$15","isNorBooking","_getters$getContainer6","getOriginalContainerRefs","shouldUpdateOriginalLocation","getTransformedLocationServiceMode","originalLocationServiceMode","cityCode","geoIdCode","rkstCode","getLocationFromRkstCode","isCYHaulage","merchantHaulage","isDestinationServiceModeCY","isSDHaulage","carrierHaulage","isOriginCY","getOriginCountryCode","isOriginAndDestinationFilled","getOriginFacility","_f$facilityContactAdd","addressCode","transformLoadingAddresses","getMepcAlternates","mepcAlternates","getAlternateDetails","alternateDetails","getOriginalLocationServiceMode","_state$additionalPayl","getExistingBookingDangerous","isExistingBookingDangerous","getOriginalBookingDeliveryAgreementType","isSpotInOriginalBooking","SPOTDeliveryAgreementTypes","generateConfigWithDeliveryAgreementType","getOriginalRouteScheduleForAmendFromBookingRequest","getOriginalRouteScheduleForAmendFromDatasets","getOriginalCorrelationId","getOriginalBookingData","getOriginalBookingDataFromBookingRequest","getOriginalBookingDataFromDataset","getAmendData","_data$oogDetails","_data$originLocation","_data$destinationLoca","_data$alternatePickup","_data$alternatePickup2","_data$cargoDetails$","isReeferDetailsApplicable","isOogDetailsApplicable","isDgDetailsApplicable","mapContainersDetails","partyCodeKey","PARTY_KEYS_BOOKING","getMappedReeferDetailsFromCurrentState","dgDetails","mapDgContainersFromCurrentState","cargoWeightFallbackForOogAmend","_container$weightPerC","_container$weightPerC2","_container$weightPerC3","isOriginChangedInAmend","_getters$getAmendData","_getters$getOriginalB","isDestinationChangedInAmend","_getters$getAmendData2","_getters$getOriginalB2","isExportSrvcModeChangedInAmend","_getters$getAmendData3","_getters$getOriginalB3","isImportServiceModeChangedInAmend","_getters$getAmendData4","_getters$getOriginalB4","isEarliestDepartureDateChangedInAmend","isOriginOrContainerChanged","_getters$getAmendData5","_getters$getOriginalB5","_getters$getAmendData6","_getters$getOriginalB6","_getters$getAmendData7","_getters$getOriginalB7","hasOriginChanged","mapper","amendContainers","isContainerChanged","amendData","isAmendData","od3cChangeWithReducedContainer","_amendDataWithoutCont","_bookingDataWithoutCo","amendDataWithoutContainers","bookingDataWithoutContainers","containersEqualButQtyLessThanOrig","isDestinationChangeInAmend","_getters$getAmendData8","_getters$getOriginalB8","_getters$getAmendData9","_getters$getOriginalB9","isContractDetailsEqual","_getters$getCommonDat","bookingDataContract","amendDataContract","userEntered","contract","_bookingDataContract$","enableDestinationOnAmend","triggerOnContainerPickedUp","_getters$getAmendCont3","isSocAmendCompleted","socAmend","isSOCAmendInProgress","isIrtAmendCompleted","irtAmend","isIRTAmendInProgress","disableNACQuery","getAmendContainerStatusFromBookingRequest","getAmendContainerStatusFromDataset","_getters$getAmendCont4","_getters$getAmendCont5","shouldDisableWhenContainerGatedIn","_getters$getAmendCont6","isOogAmendBookingEnabled","isDgAmendBookingEnabled","getDepartureDetailsFromBookingRequest","getDepartureDetailsFromDataset","getArrivalDetailsFromBookingData","getArrivalDetailsFromBookingRequest","getArrivalDetailsFromDataset","getNacInfoFromBookingData","getNacDataFromBookingRequest","getNacDataFromDataset","isDangerousToNonDangerousAmendment","_getters$getAmendData10","isContainerTypeNotAllowedInSpotAmend","shouldBlockMultiContainer","multiContainerTypeAmend","shouldBlockOtherSpecialCargos","spotAmendSpecialCargo","isSpotAmendInProgress","isAmendmentQuoteIdPresent","isFlexAmendInProgress","isDeliveryAgreementTypeFlexContract","isDeliveryAgreementTypeFlexFloating","hadSOCInOriginalBooking","hadIRTInOriginalBooking","isPriceOwnerChanged","_getters$getAmendData11","_getters$getOriginalB10","PRICE_OWNER","amendedPO","originalPO","isAmendByPOApplicable","amendByPriceOwner","hadSOCInOriginalBookingFromBookingRequest","hadSOCInOriginalBookingFromDataset","hadNorInOriginalBooking","_getters$getBookingDa6","_getters$getBookingDa7","_getters$getBookingDa8","_getters$getBookingDa9","_getters$getBookingDa10","_containers","hadIRTInOriginalBookingFromBookingRequest","hadIRTInOriginalBookingFromDataset","_getters$getBookingDa11","_getters$getBookingDa12","_getters$getBookingDa13","getPortsForOd3cpAmendDeparturesRequest","_getters$getBookingDa14","_getters$getBookingDa15","originalBookingLoadPort","transport","routeDetails","preferredLoadPort","maerskCityGeoId","originalBookingDischargePort","preferredDischargePort","shouldSendLoadPort","shouldSendDischargePort","isDeliveryAgreementTypeSpot","isDeliveryAgreementTypeRollableSpot","SPOTRollableDeliveryAgreementTypes","flexContractDeliveryAgreementTypes","flexFloatingDeliveryAgreementTypes","isDeliveryAgreementTypeFlexNow","flexNowDeliveryAgreementType","isDeliveryAgreementTypeBlockSpace","blockSpaceAmend","blockSpaceDeliveryAgreementType","oogAmend","isMultiContainerAmendBookingEnabled","isSocAmendBookingEnabled","isIrtAmendBookingEnabled","isIrtAmendDisablingApplicable","isSocAmendDisablingApplicable","isIrtSocAmendDisablingApplicable","getOriginalRouteType","contractType","sailings","spot","fixed","floating","blockSpace","flexNow","markettariff","getDisabledHintAmend","_getters$getAmendCont7","_getters$getAmendCont8","isOriginalBookingConfirmationPending","_getters$getBookingDa16","hardStopUnconfirmedBookings","hardStopAmendDuplicate","activityTasks","taskName","confirmShipment","taskStatusName","taskStatusNameClosed","canRetainContainerSettings","isOogChecked","currentContainerQuantity","previousContainerQuantity","anyDgCardNotEmpty","containerSetting","settings","getContainerInstanceIdBooking","_getters$getOriginalC","shouldCreateContainerRefAmendIrtSoc","originalIsoCode","getOriginalContainers","currentIsoCode","containerInstance","instanceId","isChangeOfDestination","getTcnFromContainerInstances","flatMap","instances","instance","_instances$find$trans","_instances$find","transportControlNumber","fill","_getters$getBookingDa17","containerOriginal","bookingDataFromDataset","od3cChangeFromDataset","_state$bookingDataFro","_state$bookingDataFro2","_getCityGeoId","_data$cargoDetails$2","getCityGeoId","_cargoDetails$","_cargoDetails$2","_container$containerM","containerMoves","moves","containerMovesForGatedIn","_container$containerM2","containerMovesForPickedUp","_state$bookingDataFro3","getMappedNacFromBookingData","nameKey","NAME","pricing","getContractDetailFromDataset","contractWithPricing","contractWithOutPricing","originDepartureDatetime","_bookingData$shipment","_bookingData$shipment2","_bookingData$shipment3","destinationArrivalDatetime","_link$startLocation","_link$endLocation","rkstCarrierCode","siteGeoId","flexHub","getIsExistingBookingDangerous","_bookingData$addition","_bookingData$addition2","bookingDataFromBookingRequest","_data$equipmentAndHau","_data$isReefer","_data$isDangerous","_data$equipmentAndHau2","_rootState$dangerousS","_rootState$dangerousS2","_container$outOfGauge","getOriginServiceModeFromBrData","getDestinationServiceModeFromBrData","getOriginLocationFromBrData","getDestinationLocationFromBrData","getAlternatePickupLocationFromBrData","getCommodityCodeFromBrData","getMappedContainersDetailsFromOriginalData","getMappedReeferDetailsFromBookingRequest","getMappedOogDetailsFromBookingRequest","mapDgContainers","imdgAmendmentsResponse","dangerousSettingsData","packingType","sort","c1","c2","_bookingData$isContai","_bookingData$isContai2","_bookingSchedules$","_bookingSchedules$2","_bookingSchedules$3","bookingSchedules","selectedRoute","showHoursInTransitTime","originDepartureDateTime","originDepartureDateTimeLocal","_bookingSchedules$des","_bookingSchedules","_bookingSchedules$des2","_bookingSchedules2","destinationArrivalDateTime","destinationArrivalDateTimeLocal","inlandCarrierCode","maerskSiteGeoId","serviceContract","isOriginalCommodityChanged","maerskCommodityCode","schedule","_schedule$transportMo","_schedule$transportMo2","_schedule$transportMo3","mapLocationFromBrForDataset","transportModeCode","originDepartureDateTimeUTC","vessel","transportMode","maerskId","voyageNumber","exportVoyageNumber","getNumberOfContainersFromBookingRequest","getBrDgShipmentBinder","bookingInfoFromBookingRequestDG","getBrReeferShipmentBinder","reeferDuplicationShipmentBinder","amendmentQuoteId","getMappedPriceOwner","bookingRequestMappers","getHardStopMessageKey","_bookingDataFromBooki","_bookingDataFromBooki2","_bookingDataFromBooki3","_bookingDataFromBooki4","errorKey","exceptionTypes","amendNotAllowedReason","bookingAction","duplicateNotAllowedReason","isBookingFromBookingRequestHardStop","_bookingDataFromBooki5","_bookingDataFromBooki6","_bookingDataFromBooki7","_bookingDataFromBooki8","isAmendValid","canAmend","isDuplicateValid","canDuplicate","hasBookingRetrievalError","initBookingRequestData","setOd3cpData","getOd3cpData","entity","setInlineTelemetry","_bmak","bmak","get_telemetry","_window$bmak","getImdgAmendments","imdgAmendments","getUnNumberList","imdgAmendment","unno","getUnNumber","unNumber","getControlEmergencyTemperatures","apis","standardized","controlEmergencyTemperatures","getSegregationGroups","segregationGroups","getSadtUnNumbers","sadtUnNumbers","fetchPackagingTypes","packingTypes","loadBookingDataFromDataSets","saveBookingDataToDataSets","od3cpData","dataSet","sortByDate","itemList","dateSorterFunc","a","b","dayA","dayB","isSame","isBefore","isWithinDateRange","currentDate","maxDate","add","isSameOrAfter","isSameOrBefore","extend","cargoInsuranceStatus","commodityReeferSettings","getImdgData","_response$find","_response$find2","amendmentOriginalBooking","dangerousDetails","originalAmendmentInResponse","_a$versionName","_a$versionName$split","imdgAmendmentTypes","imdg","versionName","amendment","isDefault","updateUnNumber","setOriginalCorrelationIdForAmend","originalCorrelationIdForAmend","setExistingBookingDangerous","_response","bookingTrackingId","gaPayload","filteredGaPayload","getFilteredPayload","departureContainerRefs","setDepartures","mobileAmend","clearDataLayer","handleSearchRetryGAEvent","sendGAEvent","WebsiteBusyRetryID","SearchRetryID","getBookingInfoConfigForGA","addRUMGlobalContext","selectedRecommendationId","addRUMInlandRecommendation","searchWithrecommendationId","userException","temporarilyMoved","isAmend","pricingJourneyTagId","OD3CPData","previousOD3CPData","isOD3CPChanged","e2eRouteCustomizationAmend","ssib","partyCodeMissing","getNacHistory","decomOdsNacHistory","decomGetOd3cpAndDatasetsApi","json","isValidBookingType","ibookingAmendUrl","SSIB_AMEND_BOOKING","originalCorrelationIdFromDataset","bookType","getBookingInfo","isReeferOrDangerousShipmentBinder","isOogEnabled","duplicatePreviousBooking","bookingRequestOogSettings","bookingRequestReeferSettings","_bookingData$cargo","_bookingData$cargo2","_bookingData$equipmen6","_rootState$dangerousS3","_bookingData$equipmen7","_rootState$dangerousS7","_rootState$dangerousS8","allSettled","hasAnyNonCfr","setting","naNumber","originAmendResponse","_amendment$versionNam","_amendment$versionNam2","_rootState$dangerousS4","_rootState$dangerousS5","_rootState$dangerousS6","cfrId","cfr","amendmentId","isAmendBookingAndDgAmendEnabled","errorCodeQueryParam","_bookingData","mappers","initDataSetError","isError","_initDataSetError$","legacyResponse","legacyMappers","getBookingType","_bookingData$bookingS","datasetMappers","mapLocationServiceMode","mapAlternatePickupLocation","commodityMapped","mapCommodity","mapPriceOwner","contactInfo","mapBookedBy","handleBookingDataError","_commodityMapped$comm","_commodityMapped$comm2","_bookingData$referenc","bookingRequestData","savePOData","priceOwnerMapped","partyData","SELECT","saveBookedByContact","saveEDDForNewAndAmend","todayDate","validDepartureDate","isMdsEddDatePickerEnabled","mdsDatePicker","formattedDate","startOf","decomSetDatasetsApi","proxyWeight","getFirstOogContainerWeight","updatedContainers","_state$cargoInsurance","_state$cargoInsurance2","insuranceStatusNote","dataLayer","messages","insuranceStatusUnavailable","prepopulateContainerSelect","mappersMap","allowedFlexiTankContainers","allowedOogContainers","_rootGetters$commonDa","mdsContainer","mapContainersForMdsContainerSelect","containerSelectId","rules","setOriginalLoadAndDischargePorts","_getters$getPortsForO","_getters$getPortsForO2","mapGcssContainerInstances","createContainerInstance","isGovernmentDetailsAvailable","governmentDetails","_container$containerI","_containerIndex","_container$transportC","transportControlNumbers","clearDataForBookingRequest","defaultContainer","isFlexiTankEnabled","setOd3cpDataFromUrl","queryParams","setODFromUrl","setDepartureDateFromUrl","edd","setDefaultServiceModeFromUrl","exportMode","importMode","setCommodityFromUrl","getContainersFromQueryParams","isWeightInKg","_container$quantity","getContainer","iso","isShipperOwnerOwned","cargoWeightKg","cargoWeightLbs","handleCoachMark","store","personId","jwt","getJwt","existingData","getStoredCoachmarkData","coachMarkData","jwtChanged","previousJwt","isNewSession","displayCount","maxViews","userClosed","storeCoachmarkData","handleCoachmarkClosed","currentDisplayCount","updatedCoachMarkData","setOD3CPFormData","setLocationServiceMode","setOriginServiceMode","sm","setDestinationServiceMode","addEmptyContainer","containerRules","_containerRules$irtCh","emptyContainer","irtChecked","quoteReference","cargoWidth","cargoLength","cargoHeight","setAlternatePickupLocation","setContainerSelect","mapDepartureContainers","setContainerSspIdCollection","containerObj","setContainerSelectRules","csr","addContainerSelectRule","setCommodity","setEarliestDepartureDate","setCargoInsuranceAvailability","apiResponse","setCargoInsuranceError","agreementId","setBookingFlowResponse","resp","setBookingFlowError","setDefaultOrigin","defaultLocation","setDefaultDestination","setDuplicateOrAmendBookingData","setCommodityTemperatureControl","setCommodityDangerousCargo","setBookingType","setBookingSourceSystem","setIsInOfflineMode","setBookingDataFromDataset","setBookingDataFromLegacy","setBookingDataFromBookingRequest","replaceCFS","servicemode","isCFS","containerFreightStation","isExportCfs","isImportCfs","setOriginalLocationServiceMode","setShouldUpdateOriginalLocation","setPrePopulatedBookingData","setBookingDataSource","resetCommodity","getInitialOD3CPState","resetContainerSelectRules","setPreviousContainerSelectData","setPreviousOD3CPDataForGA","setSearchRetryId","setWebsiteBusyRetryId","setWidgetExpandedMode","setContainerInstances","typeIndexToDelete","_state$containerInsta","containerInstancesToRetain","setOriginalContainers","setPreSelectedCommodityCode","resetContainerTypes","containerState","setMepcAlternates","alternates","setAlternateDetails","setAdvancedOptionsPopOver","setCoachMarkData","containerCommodityCargoGetters","locationGetters","amendGetters","datasetGetters","brGetters","getNacs","contractsConsumerKey","notUsed","nacs","isNacLoading","selectedNac","nacServiceError","nacSource","aflsNacServiceAvailablity","nacVerificationRequired","getNacAvailability","getSelectedNac","getNacIndicator","getNacServiceError","getNacSource","getAflsNacServiceAvailablity","isNacVerificationRequired","isBookedBySameAsPO","bookedByCodes","poCodes","isBookedByInNacs","bookedBy","_bookedBy$customerCod","nacServicePayload","originCityCode","destinationCityCode","maerskCityCode","getTransformedNacResponse","transformedNacs","nacDataFromBR","originalNac","_nac$customerCodes","_nac$customerCodes2","selectparty","nacInfoPayload","_getters$getSelectedN","_getters$getAflsNacSe","nacCustomerCode","nacRoleName","nacRoleCode","nacsList","nacsHistoryList","nacHistoryAvailable","nacAvailable","historicalNacSelected","NAC_FROM_RECENTLY_USED","nacExceptionCode","setNacSource","setAflsNacServiceAvailablity","setIsNacLoading","setNacAvailability","nacavail","setSelectedNac","setNacIndicator","indicator","setNacServiceError","setNacVerificationRequired","resetNacAndAllocation","aflsNacServiceAvailablityStatus","setNacInfo","departureErrorStatus","BOOKEDBYROLECODE","scope","shouldRefreshParties","shouldClearSelectedParties","isSuspendedCustomer","bookedbyUserType","partyType","exporter","getPartyByRole","getParties","getManualParties","addedNew","getDefaultPartyCodes","getBookedByParty","getBookedbyUserType","getIsSuspendedCustomer","getPartiesWithSpecialAmendPartyCodes","filteredParties","specialAmendPartyCodes","Set","getNonRemovablePartyCodes","nonRemovableCodes","concat","productCode","routeType","maerskGo","SHIPPER","CONSIGNEE","getPartyAddressAsStringByRoleCode","_party$selected","addressFieldsArray","field","_getters$getBookedByP","bookedByRoleCode","dataSource","bookedByPartyFromBookingData","getBookedByForDepartures","_bookedBy$customerCod2","createParties","bookedByContactParty","addRUMAction","partiesLength","hasBookedByParty","hasPriceOwnerParty","hasBookedByContact","getPartyReferenceRules","regex","regExpressions","alphaNumSpecailCharsPattern","isPartyAddedViaPartySection","partyScopes","_state$parties","addedViaPartySelection","getOriginalBookedByParty","getCustomerCodeForBookedByParty","originalPartyCode","setSuspendedCustomer","toAdd","roleIndex","resetParties","_state$parties$","_state$parties$2","_state$parties$3","resetPartiesNotAddedViaPartySection","_party","_party2","isPartyApplicableForVas","addDefaultParties","validatedParties","enrichedPartyCodes","validatedParty","vParty","_enrichedPartyCodes$p","decorateDefaultPartiesWithReferences","_party$selected2","setDefaultPartyCodes","setParty","newParty","setPartyConditionallyMandatory","isConditionallyMandatory","setShouldRefreshParties","removeManualParties","_excluded2","removeManualPartiesForAmend","_excluded3","setShouldClearSelectedParties","setBookedbyUserType","userType","route","placeOfReceiptCountryCode","placeOfDeliveryCountryCode","getPartyRoles","validateDefaultParties","scvCodes","getBookedByContactFromDataset","getBookedByContactFromBrData","getBookedByContacts","bookedByContacts","getBookedByContact","contact","hasNextPage","getContactValidateForBookingType","contactValidateForBookingType","bookByContact","isBookedByPresentInBookingData","isContactCodeAndNamePresentInBookingData","loggedInUser","getBookedByContactForMissingCodeOrName","bookedByContactFromBooingData","getBookedByContactFromBookingData","_bookByContact$contac","_bookByContact$contac2","contactCode","isContactCodeOrNamePresentInBookingData","setBookedByContacts","bookedByContactsWithName","contactStatusCode","firstName","lastName","trim","sortedBookedByContacts","localeCompare","ignorePunctuation","allContacts","setBookedByContact","setNextPageToken","token","setContactValidateForBookingType","getOffices","mockOfficesInLowerEnv","getEnvironmentLabel","featureFlag","amendValue","_params$brandCode","officeType","maersklinelimited","valueMLLMilitary","valueMLL","aoEndpoint","ssibEndpoint","officeEndpoint","migrateOfficeEndpoint","officeConsumerKey","offices","amendOffices","isAmendEmailValid","getAmendOffices","isValidOffice","_state$offices$","_state$offices$2","contactType","getBusinessUnit","isValidOfficeForAmend","_state$amendOffices$","setOffices","setAmendOffices","setAmendEmailStatus","amendOfficeType","isAmendType","officeMutation","matchOfficeName","_offices$","validate","valid","getConfigurableItems","configurableItems","getBookingRules","bookingRules","isConfigurableItemsLoading","bookingRulesLoading","disableOriginLocation","disableDestinationLocation","disableOriginServiceMode","disableDestionationServiceMode","disableAltPickUpLocation","disableCommodity","disabledReefer","disableDangerous","disableContainerType","disableContainerQty","disableContainerWeight","disableIsShipperOwnedContainer","disableIsImportReturnContainer","disableOOGContainer","disablePriceOwner","disableDepartureDate","disableBookedByContact","getMilitaryScvCode","_state$configurableIt","militaryConfigItem","getConfigurableItemValueByKey","_state$configurableIt2","getHaulageDisclaimerCountriesAsList","_state$configurableIt3","haulageDisclaimerCountries","getDisabledTooltip","_state$bookingRules$f","_state$bookingRules","messageKey","setConfigurableItems","setIsConfigurableItemsLoading","setBookingRules","_rules$bookingRule$no","_rules$bookingRule","_rules$bookingRule$no2","_rules$bookingRule2","rulesCollection","bookingRule","nonEditableFields","alternatePickUpLocation","isTempControlled","containerQuantity","containerWeight","setBookingRulesLoadingStatus","containerGatedIn","containerPickedUp","offerType","routeFrom","reason","localCorrelationId","commonDataCorrelationId","isBookingAbandoned","bookingReleaseReasons","navigation","browserClosed","cookie","cookies","prefix","abandoned","maxAge","routeScheduleId","bookingJourneyPage","bookingJourneyPages","releaseBooking","getBooking","number","_state$bookings$numbe","getBookingDataFromBr","isHaulageDetailsMissingInOriginalBooking","haulage","getHaulageSitesFromOriginalBooking","haulageSitesMap","_haulage$containerIns","_haulage$haulageSites","haulageSites","site","maerskHaulageSiteRole","getHaulageCountFromOriginalBooking","_haulage$containerIns2","_haulage$containerIns3","isMultipleTransportOrdersInOriginalBooking","_containers$","_pickupHaulageSites$l","originalQuantity","haulageCount","pickupHaulageSites","roles","emptyEquipmentPickup","haulagePickupCount","diff","arr","_arr$","storeBooking","baseUrl","createWorkflowLog","errorDescription","deleteWorkflowLog","loggedErrors","loggedErrorDetails","reTriggerOD3CPLoggingOnSailings","hasLoggedCode","_state$loggedErrors","shouldReTriggerOd3cpLogsOnSailings","hasFailedWorkflowLogsByErrorType","_rootGetters$errorGe","workflowLog","hasFailedCriticalWorkflowLogs","_rootGetters$errorGe2","exception","getStatusInfosForAdditionalDetails","useBookingOptions","statusInfos","errorsToLog","createAdditionalDetails","errorInfo","description","getStatusInfosForSubmitBooking","triggerSubmitProcess","setLoggedError","clearAllLoggedErrors","clearSpecificLoggedErrors","_state$loggedErrors2","reTriggerOd3cpErrorLogsOnSailings","setFailedWorkflowLogs","failedErrosAndExceptions","saveErrorDetails","errorDetails","resetLoggedOd3cpErrors","resetNacErrors","errorCodes","errorsForWorkflow","nacExceptionType1","nacExceptionType2","nacExceptionType3","nacExceptionType4","resetAflsFtsErrors","aflsRatesErrorForFts","aflsCLIRatesForFts","ftsFailure","resetCargoWeightValidationErrors","cargoWeightValidationFailure","resetMaxContainerExceededError","containerLimitExceeded","resetLoggedCargoInsuranceStatuses","cargoInsuranceStatusType1","cargoInsuranceStatusType2","cargoInsuranceStatusType3","cargoInsuranceStatusType4","cargoInsuranceStatusType5","cargoInsuranceStatusType6","cargoInsuranceStatusError","resetConfigurableItemsError","sendOd3cpErrorsToWorkflowLog","reSendOd3cpErrorsToWorkflowLog","hasError","cargoWeightLimit","warning","errorName","cargoWeightLimits","isServiceChecked","isRequiredToSend","originalContractNumber","newContractNumber","contractChangeWarningType1","logAflsNacErrors","_rootGetters$history","_rootGetters$history2","_rootGetters$nacAndAl3","_rootState$nacAndAllo","_rootState$nacAndAllo2","aflsNacServiceAvailability","aflsNacServiceAvailabilityStatusCode","previouslyUsedNacServiceAvailabilityStatusCode","selectedNacSource","nacList","nacAndAllocations","NAC_FROM_CMD","NOT_AVAILABLE","info","nacInfoType1","nacInfoType2","_rootState$error$erro","sanctions","review","adfUnavailableFacilitiesDown","workflowResponse","vas","vasDown","rulesReferences","rulesReferencesDown","rulesParty","rulesPartiesDown","manualPartyAdded","manualSDLoadAddress","_rootState$OD3CP","OD3CP","statusInfo","maxContainers","nonOperationalReeferException","reeferContainerCode","allowedStandardContainerCodes","standard","reeferSubTypeException","isGensetImport","gensetImportException","isGensetExport","gensetExportException","cargoInsuranceQuoteType1","cargoInsuranceQuoteType3","cargoInsuranceQuoteType4","cargoInsuranceBindServiceError","policyNotes","insuranceErrorPolicyCodes","cargoInsuranceBindFailed","cargoInsuranceBindServiceTimeout","aflsRatesError","containerGateInError","sailing","SDLoadDateTime","dangerousCargoException","containerPickedUpError","reeferSettingsApiNotAvailable","timer","elapsedTime","getSessionConfig","warnAfter","timeoutAfter","sessionTimeoutConfig","startTimer","timerRef","incrementTimer","resetTimer","clearInterval","startBookingSession","interval","pollingTimer","bookingSession","setInterval","pricingJourneyPreviousData","productOfferData","alternateProductOfferData","isLockEnabled","isProductOffersLoading","isAutoTriggerProductOffersLoading","isProductOffersLoadingFromAlternate","isProductOffersLoadingForLoadMore","isAlternateOffersLoading","selectedAlternateOffer","productOffersError","productOffersBatch","offers","offerPerPage","loadMoreProductOffers","productOffersActivePage","alternateOffersActivePage","isShowAfterSeeTheOffer","isChangeTriggeredByLoadMore","timeOutReason","hasNoCallMade","od3cpCachedFormData","tagId","maxPageViewedForAlternate","hasNoMoreOffers","isOfferInUse","cpjTagId","subscriptionIds","subscriptionState","triggerSource","pricingCorrelationId","_window","envVariables","offersConsumerKey","getProductOffers","endpoint","getFeatureValue","oipoProductOffer","enableNORProductOffers","oipoNORProductOffer","oipoOffers","getAlternateOffers","alternativeOffers","subscriptionConsumerKey","getSubscriptions","queryparams","_queryparams$containe","containerIsoSizeTypeMapper","payloadContainerType","encodeURIComponent","subscription","addSubscription","deleteSubscription","subscriptionId","PromiseHandler","constructor","lastPromise","abortPromise","promise1","this","isResolved","isCancelled","cancel","makeCancelable","wrappedPromise","cancelablePromise","assign","sendGAEventForError","sendGAEventForPricingJourney","application","error_description","sendGAAbandonEvent","config","action","mapGALocation","mapOfferGALocation","offer","isOrigin","mapGAContainer","containerModel","GAActionMapper","od3cpForm","loadMore","seeTheOffer","searchAgain","searchAlternateProductAgain","alternateLoadMore","autoTriggerLoadMore","GAAbandonReasonsMapper","allContractOffers","allSpotScope","handleGAeventInProductOffer","offerData","isPromotionalCard","isAllContractOffersForFirstBatch","getTagId","getOfferDataForGA","isAlternateSource","commonErrorProps","productOffers","sourcesList","pricingOffersTriggerSources","promiseHandler","polingPromiseHandler","alternatePromiseHandler","alternatePolingPromiseHandler","alternateOffers","norContainers","getGASearchData","isNorRecommendationSelected","getNorRecommendation","triggeredBy","_config$timeOutReason","_config$payload","getChangeTriggeredByLoadMore","getOffersPayloadForPricingJourney","od3cpFormInformation","generateOd3cpFormData","pollingPromise","pollingTimerWithValue","getNetworkTimeout","race","_getters$getSelectedA","getSelectedAlternateOffer","getProductOffersPerPage","batch","getNextOffsetWeek","nextOffsetWeek","getProductOffersBatch","shouldTriggerAlternateOffer","shouldTriggerProductOffer","hasNoOffersForLoadMore","alternateOffersPayload","weekOffset","routeCode","getRouteCode","alternativeOfferData","alternativeOffersResult","getAlternateOffersPerPage","_getters$getSelectedA2","selectedOffer","findSelectedAlternateOffer","_selectedOffer$produc","alternateOfferSelected","getOffersPayloadForPJFromAlternateOffer","getProductOfferData","_getters$getSelectedA3","isShowOffersFromAlternateState","hasErrorOffer","_getters$getOffers","_getters$getOffers2","_getters$getOffersPer","getOffers","isDummyOffer","getOffersPerPage","_getters$getOffersPer2","isErrorInLoadMore","getHasNoMoreOffers","getOffersPayloadForAutoLoadMore","setOffersPerPage","OFFERS_PER_PAGE","OFFERS_PER_PAGE_MOBILE","OFFERS_PER_PAGE_TAB","isShowAlternatesOffersState","seeMoreAlternativeOffers","resetOfferData","_getters$getSelectedA4","_getters$getSelectedA5","_getters$getSelectedA6","useTheOffer","getLsmForSelectedOffer","getOfferDataAsPreviousData","getContainerForSelectedOffer","resetPricingJourneyData","maerskServiceMode","subscriptions","checkAndDispatchSubscription","isSubscriptionEnabled","pricingSubscriptionJourney","isSubscriptionInSpotScope","revertSubscriptionStatus","handleNorShownEvent","existingNorContainers","_getters$norContainer","handleNorOptedEvent","setProductOfferData","_state$productOfferDa","_state$productOfferDa2","decorateWithIds","currentOffers","updatedOffers","setProductOfferErrorData","errorOffer","PRICING_JOURNEY_CARD_CONFIG_MAPPER","PRICING_JOURNEY_OFFER_CARDS","NO_OFFER","ERROR_OFFER","setOffersCallTriggered","resetProductOfferData","resetAlternateProductOfferData","setAlternateProductOfferData","alternateOfferData","mappedAlternateOffers","setPricingJourneyPreviousData","setIsLockEnabled","setProductOffersLoading","isLoading","setAutoTriggerProductOffersLoading","setProductOffersBatch","cacheOd3cpFormInfo","information","setOfferPerPage","setLoadMoreProductOffers","setProductOffersActivePage","setSelectedAlternateOffer","setProductOffersLoadingFromAlternate","setProductOffersLoadingForLoadMore","setAlternateOffersActivePage","setIsAfterSeeTheOfferState","setProductOfferDataForAlternateOffer","_state$alternateProdu","_state$alternateProdu2","_state$alternateProdu3","_state$alternateProdu4","alternativeOffer","setTagIdForAlternateOffer","offerId","_state$alternateProdu5","_state$alternateProdu6","_state$alternateProdu7","_state$alternateProdu8","alternateOffer","setOffers","setChangeTriggeredByLoadMore","setAlternateOffersLoadingState","setTimeOutReason","setTagId","setMaxPageViewedForAlternate","setHasNoMoreOffers","removeErrorOffer","_find","_state$productOfferDa3","_state$productOfferDa4","setOfferInUseStatus","setCPJTagId","numTagId","setSubscriptionIds","deleteSubscriptionIds","setSubscriptionState","setTriggerSource","setNorContainerRecommendation","setActiveCorreationID","locationMapper","maerskGeoId","cityDisplayName","getUnitsForPricingJourney","unit","getUnitsFromPricingJourney","originMapperFromAlternateOffer","originGeoId","originLabel","destinationMapperFromAlternateOffer","destinationGeoId","destinationServiceMode","destinationLabel","getAlternateOfferData","getAlternateProductOfferData","_getters$getAlternate2","hasProductOffersError","hasProductOffersErrorTriggeredBy","hasAlternateOffersError","anyNonContractProductOffersPresent","_getters$getProductOf","_getters$getProductOf2","isNonContractOffer","anyProductOffersPresent","_getters$getProductOf3","_getters$getProductOf4","productOffer","anyOfferedFilteredReasonPresent","_getters$getProductOf5","_getters$getProductOf6","offerFilteredReasons","anyAlternateOffersPresent","_getters$getAlternate3","_getters$getAlternate4","getBatchCriteriaToTriggerAlternate","_getters$getProductOf7","recommendationId","batchCriteria","pricingJourneyConfig","batchCriteriaToTriggerAlternate","_getters$getProductOf8","isAlternativeOfferPresent","getLoadMoreProductOffers","offersList","isShowOffersState","getProductOffersWithFilteredReasons","getAlternateOffersList","getAlternateProductOffersWithFilteredReasons","getProductOffersList","getOfferedFilteredReasonList","getErrorOffers","_ref2","_getters$getProductOf9","getProductOffersListFromAlternate","getAlternateProductOfferedFilteredReasonList","_ref3","_getters$getProductOf10","isAllContactOffers","isAllSpotScopeForFirstBatch","_ref4","_getters$getProductOf11","isAllSpotScopeReasons","_offer$offerFilteredR","_ref5","_getters$getProductOf12","containerAndCommodity","getContainerAndCommodity","_mappedOffer$nor","_mappedOffer$nor2","_mappedOffer$offer","_mappedOffer$nor3","mappedOffer","mapProductOffer","mappedNorContainers","nor","_containerAndCommodit","mapOfferContainer","PRODUCT_OFFER","tags","isSwapped","getContainerTags","_containerAndCommodit2","_ref6","_getters$getProductOf13","_mappedOffer$offer2","mapOfferedFilteredReason","PRODUCT_OFFER_FILTERED_REASON","_ref7","_state$selectedAltern","ALTERNATE_PRODUCT_OFFER_FILTERED_REASON","alternateRoute","routeInfo","getRouteInfoOfSelectedAlternateOffer","_alternateOffer$origi","_alternateOffer$desti","getRouteInfoOfProductOffer","_offer$lsm","_offer$lsm2","_ref8","_alternateOffer$conta","_offer$lsm3","_offer$lsm4","ALTERNATE_PRODUCT_OFFER","getContainerAndCommodityForSelectedAlternateOffer","isAlternateEquipment","isAlternateOrigin","isAlternateDestination","_getters$getAlternate5","_mappedOffer$offer3","_offer$containerModel","mapAlternateOffer","ALTERNATE_OFFER","_a$offer","_b$offer","getPaginatedOffers","getNumberOfPages","_getters$getPaginated3","_getters$getPaginated4","isLoadMoreApplicable","_ref9","getProductOffersActivePage","getAlternateOffersActivePage","getCurrentActivePage","offerCardVariant","isSearchingOffersForNextBatchState","isAlternateProductSearchingState","isShowAfterSeeTheOffersState","isSearchingOffersFromAlternateForNextBatchState","isSoftStopState","isSearchAgain","OFFER_CARD_VARIANT_TYPES","BORDERLESS","BORDERED","_ref10","_offer$containerAndCo","convertWeightUnit","isFlexiTank","getMappedContainersForPrevData","_offer$containerAndCo2","_offer$lsm$destinatio","_offer$lsm5","_offer$lsm$origin$geo","_offer$lsm6","_offer$lsm$destinatio2","_offer$lsm7","_offer$lsm$origin$ser","_offer$lsm8","_getters$getPreviousF","getPreviousFilledData","cargoDetail","_ref11","searchParameters","getGASearchDataForAlternate","searchCategory","searchCategoryDesc","getAlternateOfferDataForGA","_ref12","_ref13","_getters$getAlternate6","offerIds","getMaxPageViewedForAlternate","_getters$getProductOf14","offeredFilteredReasonObj","direction","getSelectedOfferTagId","getOfferInUseStatus","getCPJTagId","_getters$getProductOf15","_getters$getProductOf16","getSubscriptionValues","getSubscriptionState","getSubscriptionPayload","_state$od3cpCachedFor","_state$od3cpCachedFor2","_state$od3cpCachedFor3","channelUser","equipmentSize","payloadObj","originId","ruleId","frequency","eventTypes","eventTypeId","filterId","eventFields","condition","channel","channelType","channelUsername","securityConfig","rateLimit","_ref14","_getters$getProductOf17","_offer$offerFilteredR2","_offer$offerFilteredR3","_offer$offerFilteredR4","offeredFilteredReasonType","SPOTSCOPE","SPOTEXCLUSION","SCHEDULE","isNorPresent","_getters$getProductOf18","_offer$nor","_getters$getProductOf19","_offer$nor2","flat","has","Map","getOriginLocationDetails","isOverSize","getOd3cpCachedFormData","getDestinationLocationDetails","commodityData","_commodityData$temper","_commodityData$temper2","isNonOperatingReefer","getOffersCommonPayload","loadAFLS","shipmentPriceCalculationDate","initialWeekOffset","maerskCorrelationId","getPricingCorrelationId","alternateOfferRequest","etd","_rootGetters$OD3CPGe7","equipmentName","_getters$getOd3cpCach","_getters$getOd3cpCach2","_getters$getOd3cpCach3","clearOd","_lsm$origin$location","_lsm$destination$loca","shouldUpdateOrigin","shouldUpdateDestination","defaultOriginLocation","defaultDestinationLocation","getContainerForGa","_rootGetters$OD3CPGe8","_rootGetters$OD3CPGe9","_rootGetters$OD3CPGe10","_rootGetters$OD3CPGe11","dangerousCargos","_rootGetters$OD3CPGe12","_offer$containerModel2","alternateCorrelationId","getOriginalBookingDataFromLegacyForCPJ","_data$cargo$0$commodi","_data$cargo","originTransportMode","destinationTransportMode","alternatePickupLocationGeoId","getFilledDataForCPJ","updatedData","isOd3cChangedForCPJ","filledData","getIsLockEnabled","isDefaultState","isSearchingOffersOrAlternatesState","isAlternateOffersLoadingState","ignoreMultiContainerCheck","isSoftStopAlternateState","getInputDisable","inputDisable","productOffersPerPage","DEFAULT_OFFERS_PER_PAGE","_rootGetters$boFlags5","_rootGetters$boFlags6","alternateOffersPerPage","ALTERNATE_OFFERS_PER_PAGE","_rootGetters$boFlags7","_rootGetters$boFlags8","networkTimeout","isMultipleTypeOrSizeContainers","formSource","searchSource","autoTriggerSource","isSearchAgainInAlternateProduct","alternateSource","hasAnyOffers","hasSpecificFilteredReason","reasonType","_getters$getOfferedFi","_reason$offer","filteredReason","isContainerQuantityMoreThan40","isForceInland","pricingJourneyWidgetForceInlandReason","isPricingJourneyMultiContainerAPIEnabled","isPricingSubscriptionEnabled","od3cpDataGetters","pricingStatesGetters","fetchOOGDimensionsLimits","oogDimensionsLimits","sameOogDetailsAllContainers","maximumNumberOfContainers","oogContainerSettings","isQuoteReferenceClearedForAmend","oogDataLoaded","isOogDataLoaded","getOogContainerSettings","getContainerSelectWeightRule","containerSelectIndex","isMdsContainerEnabled","getIsSameSettingsForContainerType","isContainerTypeChangedInAmend","originalBookingContainer","amendBookingContainer","originalIsOutOfGauge","currentIsOutOfGauge","isEDDChangedForAmendWhenNotGatedInPickedUp","isGatedInOrPickedUp","isEDDChangedForAmendWhenNotGatedInButPickedUp","notGatedInButPickedUp","getOogContainerSettingsAllTypes","getIsQuoteReferenceClearedForAmend","clearQuoteReferenceInAmendWhenNotGatedInPickedUp","isAnyAmendDataChanged","clearQuoteReferenceInAmendWhenNotGatedInButPickedUp","shouldStopOogCardsReduction","setSameOogDetailsAllContainers","updateCompleteSameSettings","updateCompleteSettings","updateContainerSettingData","containerIndexToUpdate","oogFields","setBrOogMappingInProgress","setIsQuoteReferenceClearedForAmend","setOogDataLoaded","updateContainerDataByType","currentContainerSetting","updateSettings","filterContainerSettingsOtherThanType","generateContainerSetting","removeContainer","filteredSettings","addSettingsByQuantity","filteredOtherTypeSettings","newSetting","updateDifferentToSameDefaultSettings","updateOogSettingsOnSetSameCheck","getOOGDimensionsLimits","dimensionLimitResponse","resetOnContainerSelect","containerSelectNew","containerSelectOld","containerNew","containerOld","updateOogSettingsOnOogCheckChange","_containerNew$overSiz","_containerOld$overSiz","_containerNew$contain","_containerNew$contain2","removeIrrelevantData","oogTypeIndexes","checkIfStateIrrelevant","resetStateByType","isContainerDeleted","updatedSettings","updatedSameSettings","sameArray","_sameArray","updateSameOog","addRemoveOogSettings","_containerOld$quantit","_containerNew$contain3","addedQuantity","isSettingRemovalRequired","removedQuantity","mapOogSettingsData","oogDataLoad","initialData","measurementUnitPreference","isSameOverSizedCargoDetails","generateBookingDataForOog","oogData","containerInstanceId","instanceIndex","generateOogSettingFromBookingData","isoCodeSizeTypeMapping","mapOogSameSettingsData","clearQuoteReferenceForAmendWhenEDDChanged","clearQuoteReference","allContainerSetting","quoteReferenceNumber","removeContainerInstanceOog","packingStructure","pristineSettings","imoDetails","classification","shippingName","technicalName","subrisk1","subrisk2","marinePollutant","emergencyCode1","emergencyCode2","segregation","additionalSegregation","originalAdditionalSegregation","variant","variation","displayUNNumber","displayShippingName","suffix","packingInformation","outerPacking","outerPackingType","outerPackingTypeQuantity","innerPackingType","innerPackingTypeQuantity","packingGroup","packingGroupQuantity","displayOuterPacking","selectedOuterPackingInstanceId","displayInnerPacking","selectedInnerPackingInstanceId","innerPackings","weightsMeasuresInformation","grossWeight","netWeight","netExplosiveContent","volume","additionalInformation","flashPoint","sadt","controlTemperature","emergencyTemperature","emergencyContact","contactNumber","settingIndex","fetchPristineSettings","sameDangerousDetailsAllContainers","showDangerousDetailsModal","showDangerousDetailsModalReview","dgContainers","currentSettings","reviewSetting","isImdgAmendmentsLoading","isUnNumberListLoading","isUnNumberLoading","classifications","filteredClassifications","unNumbers","filteredUnNumbers","unNumberResponse","filteredShippingName","technicalNameLoadingStatus","filteredTechnicalNameList","additionalSegregationOptions","enabledgSettingRequiredError","filteredPackingGroups","expiredAmendmentSsp","updateDGContainerSettings","saveDGContainerSettings","fallbackSegregationGroups","shippingNameParams","_state$unNumberRespon","_state$unNumberRespon2","shippingNameOnClass","class","unNo","psn","techName","shippingNameList","isDgAmendEnabled","label","x","techNameRequiredStatus","additionalSegregationRequiredStatus","populateDataShipmentBinder","_state$unNumberRespon3","_state$unNumberRespon4","_state$currentSetting3","_state$additionalSegr","UNObject","unObj","_state$currentSetting","_state$currentSetting2","isAdditionalSegregationRequired","populateDataOnPSNChange","_state$unNumberRespon5","_state$unNumberRespon6","UNObjectPG","pg","updateMarinePollutant","mp","updatePackingGroup","updateSubRisks","subHazard1","subHazard2","updateEMS","unObject","ems1","ems2","ems","updateSegregations","_unObject$segs","segGroupsWithNone","noneItemIndex","group","unshift","safeBookSegregationGroup","segregationGroup","segregationName","segs","seg","obj","segGroup","cfrAmendmentId","imdgAmendmentId","unDataParams","getUnNumberData","unNumberData","mappedUnNumberData","un","packingTypeResponse","fallbackPackingTypeResponse","updateDgDataOnContainerSelect","newContainerSelect","oldContainerSelect","dgTypeIndexes","_newContainerSelect$t","resetDgStateByType","updateSameDg","shouldStopDgCardsReduction","addRemoveDgSettings","getIsSameSettingsForDgContainerType","getDgContainerSettingsByType","updateSameToDifferentSettings","updateDifferentToSameSelectedSettings","selectedIndex","currentSettingByTypeAndIndex","resetDGContainerSettingForEachType","initialSetting","checkAndSetSameDangerousDetailsForAllTypes","updateContainerTypeName","removeContainerInstanceSettings","updateDgSettingsExpiredImdg","_containerDetails$i","updateDgSettingsNoDgInBr","initialDGContainerSettings","setAmendment","setClassification","setUNNumber","setDisplayUNNumber","setNANumber","setShippingName","setTechnicalName","setSubrisk1","setSubrisk2","setMarinePollutant","setEmergencyCode1","setEmergencyCode2","setSegregation","setAdditionalSegregation","removeAdditionalSegregation","clearAdditionalSegregation","clearOriginalAdditionalSegregation","setDangerousDetailsModal","setDangerousDetailsModalReview","setDisplayShippingName","setVariant","setVariation","setSuffix","setOuterPackingType","setOuterPackingTypeQuantity","setInnerPackingType","setInnerPackingTypeQuantity","setPackingGroup","setPackingGroupType","setGrossWeight","setNetWeight","setNetExplosiveContent","setVolume","setflashPoint","setSADT","setControlTemperature","setEmergencyTemperature","setEmergencyContact","setCountryCode","setContactNumber","clearDangerousGoodsState","containerSettingIndex","settingsData","dgContainer","tempSetting","populateCurrentSettings","segOption","_state$currentSetting4","dangerousSettings","noneInstanceId","removeDGContainerSettings","addDGContainerSettings","addDgContainer","settingObject","updateDgContainersTypeName","updateDgContainersIndex","removeDgContainersFromRemovedContainerType","newContainers","containerTypeCount","max","insertDgContainers","currentQuantity","finalQuantity","containerToAdd","lastIndex","lastIndexOf","removeDgContainers","firstContainerIndex","indexOf","removeLastDgContainers","setReviewSettingContainerIndex","setReviewSettingSettingIndex","setImdgAmendmentsResponse","setImdgAmendmentsLoadingStatus","setUnNumberListLoadingStatus","setUnNumberLoadingStatus","setFilteredClassifications","setFilteredUnNumbers","setUnNumbersResponse","setFilteredShippingName","setFilteredPackingGroups","resetCurrrentSettings","isReset","getCurrentAmendmentByDgSettings","unnos","filterUnNumbersByCurrentSettings","updateImdgAmendmentsResponse","substances","updateClassifications","updateClass","filterClassificationsByCurrentSettings","updateUnNumbers","u","setTechnicalNameLoadingStatus","setFilteredTechnicalNameList","_state$controlEmergen","techNameList","filteredTechnicalName","_p$variant","setSegregationGroups","setDgSettingRequiredError","setAdditionalSegregationOptions","resetExpiredDgResponses","setSadtUnNumbers","setControlEmergencyTemperatures","setPackingTypes","setDisplayOuterPackingType","setOuterPackingInstanceId","setDisplayInnerPackingType","setInnerPackingInstanceId","setDGContainers","resetDGContainersSettings","setOuterPacking","setInnerPacking","setOuterPackingQuantity","qty","setInnerPackingQuantity","addAdditionalInnerPacking","removeAdditionalInnerPacking","packingLevelIndex","resetInnerPackingLevel1","updateInnerPackingsQuantity","packing","setExpiredAmendmentSsp","updateCompleteSameDgSettings","clearSameDangerousDetailsForAll","setSameDgDetailsForAllByType","showSameDgDetailsCheckbox","isCommodityDangerous","containerCount","getDgContainers","getDgContainersCount","getDgContainerType","_rootState$OD3CP$od3c","getIsCombineDangerousDetails","getSameDangerousDetailsAllContainers","getSameDangerousDetailsCount","getCurrentSettings","isNetExplosiveMandatory","isSettingsCountIsMax","_state$dgContainers$f","_getters$getCurrentSe","containerName","dangerousSettingsContainers","maxContainerSettingLimit","isAmendmentDisabled","getActiveAmendment","getAmendmentId","_getters$getActiveAme","getSimplifiedAmendmentId","simpleId","_state$imdgAmendments","getImdgAmendmentsResponse","getImdgAmendmentsLoadingStatus","getUnNumberListLoadingStatus","getUnNumberLoadingStatus","getFilteredClassifications","getFilteredUnNumbers","getActiveUnNumbers","getAdditionalSegregation","getOriginalAdditionalSegregationOptions","getFilteredShippingName","getUnNumberResponse","isUnNumberDataUpdated","_getters$getCurrentSe2","isTechnicalNameRequired","_state$filteredShippi","_state$filteredShippi2","isTechicalNameFieldTypeText","getTechnicalNameLoadingStatus","getFilteredTechnicalNameList","getPrepopulationData","getFilteredPackingGroups","isSegregationGroupsAvailable","isDgContainerSettingNotAddedForAnyContainer","getDgSettingRequiredError","getActiveUNObject","_getters$getCurrentSe3","_getters$getCurrentSe4","getAdditionalSegregationOptions","getPackingTypeList","getOuterPackingTypeOptions","_getters$getPackingTy","innerPackaging","packageStyleCode","getMDSOuterPackingTypeOptions","_getters$getPackingTy2","valueCode","getInnerPackingTypeOptions","_getters$getPackingTy3","getMDSInnerPackingTypeOptions","_getters$getPackingTy4","getInnerPackings","getMDSFilteredPackingGroups","isDgdReceived","isDGDReceived","disabledDueToDgdReceived","getDgContainerCardsCountByType","areDangerousSettingsValid","_state$dgContainers","loadPorts","dischargePorts","selectedLoadPort","queriedLoadPort","selectedDischargePort","isBespokeSearchInProgress","queriedDischargePort","portListUpdated","loadPortList","dischargePortList","getSelectedLoadPort","getSelectedDischargePort","getQueriedLoadPort","getQueriedDischargePort","queriedLoadPortDetails","port","queriedDischargePortDetails","isPortListUpdated","generatePortDetailsForGA","e2eBespokeRouteCustomization","setLoadAndDischargePorts","resetLoadAndDischargePorts","setQueriedLoadPort","setQueriedDischargePort","resetQueriedPorts","setSelectedLoadPort","setSelectedDischargePort","setBespokeSearchStatus","setPortListUpdated","requestInlandRecommendation","controller","AbortController","signal","addAbortTimeout","abort","inlandRecommendation","inlandRecConsumerKey","traceID","recommendationList","selectedRecommendationOriginGeoId","selectedRecommendationOriginServiceMode","searchedLocation","getRecommendationList","getSelectedRecommendationId","_state$recommendation","_state$recommendation2","selectedOriginGeoId","selectedOriginServiceMode","_item$location","getSelectedRecommendationIdForPayload","getIsLoading","getInlandRecommendationPayload","getSearchedLocation","_state$searchedLocati","setRecommendationList","setSearchedLocation","setIsLoading","resetToInitialState","setSelectedRecommendationOriginGeoId","setSelectedRecommendationOriginServiceMode","setRecommendedOriginLocation","locationData","_locationData$lsm$ori","_locationData$lsm","_locationData$lsm$ori2","_locationData$lsm2","_responseData$recomme","_recommendations$filt","_recommendations$filt2","_recommendations$filt3","_recommendations$filt4","_recommendations$leng","responseData","recommendations","logData","SDlocationCount","loc","CYLocationCount","totalLocationCount","_error$message","resetInlandRecommendationData","resetRecommendationOnDestinationChange","locData","_locData$destination","_locData$destination2","getValidationRuleset","_AbortSignal","globalMdm","customersRuleSet","globalMdmConsumerKey","AbortSignal","masterDataManagementRulesetTimeout","createNewFacilityRequest","_AbortSignal2","customerFacilityIngestion","masterDataManagementFacilityIngestionTimeout","assignFacilityToCustomerRequest","validationRuleset","validationRulesetLoaded","createNewFacilityLoading","createNewFacilityStatus","assignFacilityToCustomerLoading","assignFacilityToCustomerStatus","setCustomerRuleset","ruleset","setCustomerRulesetLoaded","loaded","setCreateFacilityLoading","loading","setCreateFacilityStatus","setAssignFacilityToCustomerLoading","setAssignFacilityToCustomerStatus","getCreateFacilityStatus","_state$createNewFacil","_state$createNewFacil2","mapRulesetToValidationRules","ruleSet","_data$detail","_data$detail2","_data$detail3","_data$detail4","_data$detail5","_data$detail6","_data$detail7","_data$detail8","_data$detail9","_data$detail10","_data$detail11","_data$detail12","_data$detail13","facilityData","customerFacilityAuditData","user","sourceSystem","customerFacilityCode","detail","geographicDetails","locationDetails","customerFacilityName","postalAddress","apartmentOrFloor","postCode","cityId","cityRKSTCode","regionCode","regionGeoId","text","newFacilityId","_rootState$priceOwner","customerFacilityAssignment","isDeletedFlag","_rootState$priceOwner2","facilityStatus","assignFacility","handleDuplicateApiError","errorEvent","_errorDetail$error","errorDetail","errorMessage","duplicateFacility","clearNewFacilityStatus","validationRules","rule","mapRulesetFieldToValidationField","fieldType","formatCheck","RegExp","required","isMandatory","validationErrorMessage","formatCheckDescription","fields","readonly","optional","fieldTypes","use","Vuex","Store","strict","process","bookingRequests","oogSettingsData","loadAndDischargePorts","masterDataManagement","isAllDangerousContainerSettingsSame","isContainerSettingsCountDifferent","dgContainersArray","_dgContainersArray$","_container$settings","_dgContainers$","firstContainerSettings","fromSecondToNthContainerSettings","isIncludesThisSetting","firstContainerCurrentSetting","getDGPayload","containerTypeIndex","settingsPerContainer","isSameSettings","copyContainerSettings","mapDGSetting","containersCount","firstContainerSettingCopy","dgSetting","simplifiedAmendmentId","containerRef","_dgSetting$imoDetails","_dgSetting$imoDetails2","_dgSetting$imoDetails3","_dgSetting$imoDetails4","_dgSetting$imoDetails5","_dgSetting$imoDetails6","_dgSetting$imoDetails7","_dgSetting$imoDetails8","_dgSetting$imoDetails9","_dgSetting$imoDetails10","_dgSetting$imoDetails11","_dgSetting$imoDetails12","_dgSetting$imoDetails13","_dgSetting$imoDetails14","_dgSetting$imoDetails15","_dgSetting$imoDetails16","_dgSetting$imoDetails17","_dgSetting$imoDetails18","_dgSetting$imoDetails19","_dgSetting$imoDetails20","_dgSetting$imoDetails21","_dgSetting$packingInf","_dgSetting$packingInf2","_dgSetting$weightsMea","_dgSetting$weightsMea2","_dgSetting$weightsMea3","_dgSetting$weightsMea4","_dgSetting$additional","_dgSetting$additional2","_dgSetting$additional3","_dgSetting$additional4","_dgSetting$additional5","_dgSetting$additional6","_dgSetting$additional7","imoClassification","imoClassificationId","unNumberId","properShippingName","subRisk1","subRisk2","getTransformedSegregations","additionalSegregationGroups","suffixId","outerPackaging","pi","commodityPackaging","packagingGroup","packQuantityType","flashpoint","segregations","amendmentList","currentAmendment","getCurrentAmendmentByName","amendmentName","sameDgContainer","commonDgContainer","_commonDgContainer$se","_dgContainers$find","_amendmentList$find","_container$settings2","getAdditionaSegFromBrData","additionalSegregationGroup","_map","keysA","keysB","itemsForFalsyValues","isEmpty","input","isEmptyObject","items","CARD_COLORS","TEXT_COLORS","acceptedColors","BLUE","GREEN","YELLOW","LIGHT_BLUE","RED","showRouteNotification","showPrice","showTags","showButton","buttonIcon","showFilteredReason","cardHoverColor","cardColor","labels","productOfferLabels","showFromLabel","showDate","alternateOfferLabels","offerFilteredReasonLabels","textColor","WARNING","errorOfferLabels","noOfferLabels","FACILITY_TYPES","transformCustomerFacility","_facility$postalAddre","_facility$postalAddre2","_facility$postalAddre3","_facility$postalAddre4","facilityGeoId","customerScvCode","CUSTOMER_FACILITY","CONFIRM_BUTTON_TYPES","postalAddressCode","CUSTOM_SURCHARGE_PRODUCT_IDS","accessErrorPageOffice","accessErrorPagePermission","checkAccess","next","redirectPath","isLoggedIn","hasOffice","hasBookingRole","redirectToLogin","jwtDecoded","decodeJwtBody","expired","exp","now","_getUserCredential","_getUserCredential2","_getUserCredential3","_dataSet$alternatePic","_dataSet$originLocati","_dataSet$destinationL","defaultCommodity","cargoDetailsData","convertWeight","lbsToKgs","kgsToLbs","getCargoWeight","referenceKey","mapReferences","anyChangeInSoc","old","_new","anyChangeInContainerTypeDisplayName","_containerSelect$cont","_containerSelect$cont2","_new$index","isDepartureContainers","_containerSelect$cont3","heightCd","isDepartureContainerTypes","parts","indexMatch","decorateContainerType","getNewContainerConfiguration","anySocContainer","anyIrtContainer","anyFlexiContainer","_e$flexiTankContainer","markContainerCheckboxesAsDisabled","isSocChecked","isIrtChecked","updateSocAndIrtChecksForAmend","decorated","updateFlexiTankChecks","cid","_containers$flexiTank","_container$flexiTankC2","isFirstContainer","shouldShowFlexiTank","isFlexiTankContainer","previousChecked","updateOogChecks","shouldShowOog","isOogContainer","storageData","storedData","getItem","offlineSubmitProcess","amendmentsBookingDeltaInformation","fetchBookingOptions","errorList","contractInfoType1","cargoInsuranceQuoteType2","workflowFailureErrorOrException","urlBase","requestDate","commodityCodes","getInsuranceQuote","userId","shipmentNumber","quoteId","commoditiesBooked","cargoValue","frozenChilled","captainPeter","acceptInsuranceQuote","bindCargoInsuranceTimeout","ms","catch","cleanupItems","checkAndDeleteProp","containerInput","_containerInput$conta","_containerInput$conta2","_containerInput$conta3","_containerInput$conta4","_containerInput$conta5","_containerInput$conta6","_containerInput$conta7","_containerInput$conta8","cargoWeightDetails","cargoWeightFromDB","measurementUnitFromDB","round","brData","_brData$transport$exp","_brData$transport","_brData$transport$imp","_brData$transport2","_brData$transport$rou","_brData$transport3","placeOfReceipt","_brData$transport$rou2","_brData$transport4","placeOfDelivery","_brData$transport5","_brData$cargo$maerskC","_brData$cargo","_priceOwner$data$part","_priceOwner$data$refe","_brData$parties","_bookedByContact$maer","_bookedByContact$cmdC","_bookedByContact$name","_data$parties","nacData","NAC","_data$parties2","_party$roleCode2","filteredParty","getAmendment","brDgSetting","getImoValue","EMS","getImoDetails","_brDgSetting","_imdgAmendmentsRespon2","_brDgSetting$otherInf","_brDgSetting$otherInf2","_brDgSetting$otherInf3","_imdgAmendmentsRespon3","_brDgSetting$otherInf4","_brDgSetting$otherInf5","_brDgSetting$otherInf6","_brDgSetting$otherInf7","_ref$map","_brDgSetting$otherInf8","_brDgSetting$otherInf9","_brDgSetting$otherInf10","_brDgSetting$otherInf11","_brDgSetting$otherInf12","_brDgSetting$otherInf13","_brDgSetting$otherInf14","splitPsnFullText","psnFull","_imdgAmendmentsRespon","_JSON$parse","_JSON$parse$sort","_sortedSubstances$fin","_psnFull$substring","_variation2","sortedSubstances","s1","s2","_s2$psn","_s1$psn","_psn","_psnFull$startsWith","_variation","substring","substance","imoClass","otherInformation","_amendment$versionNam3","_amendment$versionNam4","imoClassId","emsRangeStart","emsRangeEnd","getUnitValue","responseArray","_responseArray$find$v","_responseArray$find","unitObject","getAdditionalInformation","_brDgSetting$otherInf15","_brDgSetting$otherInf16","_brDgSetting$otherInf17","_brDgSetting$otherInf18","_brDgSetting$otherInf19","_brDgSetting$otherInf20","_brDgSetting$otherInf21","_brDgSetting$otherInf22","_brDgSetting$otherInf23","_brDgSetting$otherInf24","temperatureUnits","celsius","fahrenheit","contactPhoneNumber","phoneNumber","countryCallingCode","contactName","flashPointTemperature","sadtTemperature","getPackingInformation","packagingType","_brDgSetting$packagin","_brDgSetting$packagin2","_brDgSetting$packagin3","_brDgSetting$packagin4","_brDgSetting$packagin5","_brDgSetting$packagin6","_brDgSetting$packagin7","_brDgSetting$packagin8","_brDgSetting$packagin9","_brDgSetting$packagin10","_brDgSetting$packagin11","_constants$packingQua","packagingDetails","packageStyle","outerPackagingObject","pType","packageStyleKey","packageCount","fkCargoPackageOuterPackage","commodityPackagingGroup","packingQuantityTypeOptions","_brDgSetting$packagin12","commodityPackagingType","getWeightsMeasuresInformation","_brDgSetting$weightsA","_brDgSetting$weightsA2","_brDgSetting$weightsA3","_brDgSetting$weightsA4","_brDgSetting$weightsA5","weightsAndMeasures","netExplosiveContentWeight","partyKey","CMD_CODE","ROLE_CODE","COMPANY_ADDRESS","SSP_ADDRESS","CMD_ADDRESS","siteRkstCode","maerskSiteCode","siteName","maerskCountryGeoId","_constants$gcssReefer","gcssReeferContainerCodes","activeTemplate","_reeferData$noOfCargo","_String$toUpperCase","etheleneFilterInteger","validEthyleneFilter","_reeferData$temperatu","_reeferData$temperatu2","_celsiusValue$toFixed","_fahrenheitValue$toFi","celsiusValue","fahrenheitValue","getUnitTemperature","_reeferData$ventilati","_reeferData$ventilati2","_cuMeterValue$toFixed","_cuFeetValue$toFixed","cuMeterValue","cuFeetValue","getUnitVolume","ventilation","_reeferData$drainHole","getFormattedTemperatureOrVentilation","isVentilation","precision","_metricValue$toFixed","_imperialValue$toFixe","metricValue","imperialValue","formattedValue","_deepClone","hotStuffing","restData","getKeyValue","numberPrecisions","currentTypeOogDetails","generateBookingDataForOogWithType","generateOutOfGaugeDataWithType","_restData$humidityPer","_restData$ethyleneFil","_restData$noOfCargoPr","isSameForCurrentType","currentTypeQuantity","_currentContainerSett","getSortedDgSettings","currentSetting","getContainerIndexes","cont","containerId","_containerDetail$cont","getContainerName","_departureContainers$","_departureContainers$2","departureContainers","_container","globalContext","selectedSailingContext","selectedAdditionalDetails","selectedRecommendationContext","inlandRecommendationSelect","inlandRecommendationSubmit","inlandRecommendationSearch","inlandKeys","rumKey","gaKey","stringifyNestedObj","isRumOnly","_window$MOP","MOP","api","pushEvent","stringifiedDetails","entries","sendEventsToDQCS","gaPrefix","addRUMSailingsJourney","stringifiedData","_inlandKeys$key","_inlandKeys$key2","errorObj","_errorObj$message","_errorObj$source","_errorObj$page","_errorObj$statusCode","_errorObj$triggeredBy","_errorObj$prefersMess","_errorObj$showError","_errorObj$error$criti","_errorObj$error","_errorObj$error$disab","_errorObj$error2","_errorObj$error$nativ","_errorObj$error3","_errorObj$error$messa","_errorObj$error4","_errorObj$error$stack","_errorObj$error5","_errorObj$error6","errorData","nativeError","errorStack","stack","getErrorStatusInfoObj","setRUMUserData","internalUser","militaryUser","brand","_window$MOP2","setUser","attributes","setRUMViewPage","viewName","_window$MOP3","setView","timingPoints","loadOd3cp","submitOd3cp","fromOd3cp","prices","book","confirm","reeferEnabled","dangerousCargoEnabled","OOGEnabled","cancelBooking","cancelEmail","changeOfDestination","changeOfDestinationEmail","sailingsExited","vasExited","detailsExited","reviewExited","confirmationExited","counts","showPreviousBookings","selectPreviousBookings","flags","isBookingByPreviousHistoryWidget","isBookingFromQueryParams","incrementCount","measurements","subToNac","od3cpToSail","od3cpToDep","od3cpToSailRteDisp","subToSail","subToSailRteDisp","subToDep","subToCon","conToDep","sailToPrice","bookToDetails","bookingTime","reeferToSail","dangerousCargoToSail","OOGToSail","cancelPageToCancelEmail","od3cpStartToEnd","sailingsStartToEnd","vasesStartToEnd","detailsStartToEnd","reviewStartToEnd","confirmStartToEnd","updateMeasurements","measures","start","end","measure","performance","getEntriesByName","sailingsLoadedAction","excludedKeys","entry","duration","sendPreviousBookingHistoryCounts","getContextDetails","point","clearMopRumFlags","od3cpLoadedWithQueryParams","detailsLoadedAction","showPreviousBookingsAction","selectPreviousBookingsAction","completedJourneyAction","reeferToSailingJourney","dangerousCargoToSailingJourneyAction","OOGToSailingJourneyAction","cancelPageToCancelMailJourneyAction","changeOfDestinationInAmendJourneyAction","timeSpentOnOD3C","timeSpentOnSailings","timeSpentOnVases","timeSpentOnDetails","timeSpentOnReview","timeSpentOnConfirmation","satusInfo","statusInfoCode","statusInfoName","statusInfoDescription","statusInfoType","serviceChecked","statusInfoServiceChecked","dbName","dbVersion","interceptorRequestsStore","tablesList","transactionMode","_getEngine","callback","onsuccess","onupgradeneeded","db","createObjectStore","autoIncrement","indexedDB","getEngine","runner","server","IDBDatabase","engine","getTransaction","put","transaction","objectStore","getAll","delete","deleteAll","clear","StorageDriver","enabled","update","deleteById","getById","GAConfig","applicationName","GAeventType","GAEvents","gaEventsConfig","newState","getInitialLocationServiceMode","getInitialAlternatePickupLocation","getInitialCommoditySelected","getInitialContainerSelect","getInitialContainerRules","quantityMin","containerQuantityMin","quantityMax","containerQuantityMax","ciMin","containerWeightMin","ciMax","containerWeightMax","customerAllocationAgreement","loadView","view","Router","router","base","APP_BASE","scrollBehavior","savedPosition","y","behaviour","routes","component","props","beforeEnter","redirect","getCalculatedNavigation","toName","fromName","returningToOd3cp","returningToSailings","returningToOd3cpOrSailings","isForwardNav","returningToDetailsFromReview","beforeEach","fullPath","isPopstateDetected","pushState","_to$params","releaseReason","bookingReleaseReason","hasModule","returningToDetailsOrSailingsFromReview","onError","afterEach","isRouteVisible","routeStatus","anyPriceApplicable","showUnavailableCard","isOriginalRoute","showWarningCard","states","PROSPECTIVE","visible","findVessel","_scheduleWithVessel$t","_scheduleWithVessel$t2","_scheduleWithVessel$t3","fallback","departureVesselVoyage","departureVesselName","departureVesselCode","scheduleWithVessel","_schedule$transport","_schedule$transport2","_schedule$transport3","_schedule$transport4","getVesselInfoFromBrData","_schedule$transportMo4","callSign","_scheduleWithVessel$t4","_scheduleWithVessel$t5","_scheduleWithVessel$t6","shouldSwitchToOfflineMode","R1ApiResponse","adfExceptions","MEPC","routeScheduleMapper","routeSchedules","routeSchedule","routeLinkId","getRouteSchedulesFromBrData","routeHasDetention","conditions","chargeType","chargeTypes","detention","routeHasDemurrage","demurrage","getHasErrors","isFlexContract","isContractRate","fixedPrice","dynamicPrice","constructConsumptionPerWeekStringForAFLSContracts","routeId","_route$routeScheduleA","isUTMDown","commitmentWeek","routeScheduleAvailability","yieldCheckDetails","week","constructConsumptionPerWeekStringForFlexOrBlockspace","_route$routePrices","productAttributes","routePrices","allocationWeekFullText","proformaAllocationWeek","_constants$sailings","yearAndWeek","isContract","getSailingsGroupHeader","routeAvailability","_routeAvailability$de","firstSchedule","lastSchedule","cccDeadline","deadlines","deadline","gateInDeadlineCode","mappedSchedules","sailingsGroupHeader","cccDate","departure","arrival","findCorrectEquipmentDetailsByIsoCode","equipmentList","_item$requestedContai","requestedContainer","isPriceRestricted","price","priceRestrictionStatus","isFlexFloating","flex","productName","flexFloatingPriceRestrictedFix","getBookingStatusInfoTooltip","productAttribute","preAppendKey","flexProductAttribute","allocationUsed","lateBooking","getRoundedHours","minutes","hours","getNotificationConfig","NO_ALLOCATION_MAERSK_ACCELERATE","icon","getAllocationWeekOfTheYear","_proformaAllocationWe","convertToYearWeekFormat","year","ErrorPayload","_nativeError","_message","_status","createErrorPayload","HTTP_METHODS","GET","credentials","authorizedRequest","fetch","checkResponse","jsonError","isResponseBlocked","isDeparturesBlocked","isPricingJourneyBlocked","_response$headers$get","isText","isPricingUrl","_response$url","loadingStatusKey","routesLoadingStatus","routesAvailability","routesAvailabilityLoadingStatus","substituteContainerStatus","selectedPriceType","routesPriceBreakdown","deliveryPromises","selectedPrice","isOriginalRouteSticky","isOriginalRouteRollableSelected","isOriginalRouteFlexHubSelected","isOriginalRouteOptionalMACSelected","containerNotAvailableForAllRoutes","loadRouteCalled","offersAvailableToShow","zeroContainerHardStop","getBatch","routeById","_state$routes","getRoutesAvailabilityLoadingStatus","getRoutePollingStatus","_state$routesAvailabi","isPollingCompleted","isRouteAvailabilityStatusDone","_state$routesAvailabi2","AVAILABLE","UNAVAILABLE","availabilityStatus","routesList","_state$routes2","anyPriceApplicableForRoute","showUnavailableCardForRoute","isSpotAmendOfferChangedToContract","isPMAContractOfferFoundForContractAmend","isPMADownAmend","isFlexAmendOfferChanged","isNoOfferApplicableForOriginalRoute","_state$routesAvailabi3","availableRoute","routeAvailable","routesListWithOriginalRoute","_state$routes3","_state$routesAvailabi4","isFixedPriceApplicable","isDynamicPriceApplicable","isFlexPriceApplicable","isFlexNowPriceApplicable","isFixedBlockSpaceApplicable","showSpotUnavailableCard","showContractUnavailableCard","dynamicPriceDetails","_state$routesAvailabi5","_spotPrice$productVar","_route$routePrices2","spotPrice","rollableOptionData","getRollableOptionDefaults","isSpotType","productVariances","prodVariance","gcssDeliveryAgreementType","shouldEnableRollableInAmend","rollableOptionEnabled","mandatorySpotRollableEnabled","mandatorySpotRollable","rollable","rollableData","rollableCompensation","getRollableCompensation","rollableDefaults","typeKey","mandatory","translationKeyPrefix","spotRollable","available","isDynamicPriceAvailable","applicable","totalPrice","total","totalPriceCurrency","currency","penaltyFeeKey","penaltyFeeAmount","isPriceMissing","dynamicRateAvailabilityMessage","isFmcApplicable","fmcRegulationApplies","isDndApplicable","getOogPriceObject","_state$routesAvailabi6","_route$routePrices3","_route$routePrices4","isFixed","isFixedPriceAvailable","rateAvailabilityMessage","fixedRateAvailabilityMessage","fixedPriceDetails","_state$routesAvailabi7","_state$routes4","_route$routePrices5","fRouteInfo","fixedPricePresent","priceId","getContractType","_route$statusInfos","sCode","codes","priceRestriction","isFlexHub","afls","maerskAccelerateDetails","getMaerskAccelerateDetails","isMaerskAccelerate","maerskAccelerate","flexPriceDetails","_state$routesAvailabi8","_state$routes5","_route$routePrices6","_route$routePrices7","_route$statusInfos2","_route$routePrices8","_route$routePrices9","_route$routePrices10","getFlexProductName","aflsPrice","mapDeliveryPromises","fixedPriceCurrency","dynamicPriceCurrency","deliveryPromiseSelected","getDeliveryPromise","showFlexPenaltyFeeDisclaimer","flexPenaltyFeeCode","_deliveryPromises$del","amount","getFlexProductAttribute","_state$routesAvailabi9","_route$routePrices11","_route$routePrices12","flexProductName","_state$routesAvailabi10","_route$routePrices13","_route$routePrices14","_route$routePrices15","isBlockSpacePlus","unavailable","isWithinAllocation","isLateBooking","withinAllocation","flexNowPriceDetails","_state$routesAvailabi11","getProformaAllocationWeek","_state$routesAvailabi12","getMaerskAccelerateAllocationDetails","_getters$getMaerskAcc","allocationDetails","allocationData","getAmendMacAllocationDetails","calculateMacAllocationDetails","_getters$getMaerskAcc2","_getters$getValidated","_getters$getMaerskAcc3","_getters$getValidated2","originalAllocationData","getValidatedOriginalRoute","routeAllocationData","originalAllocationWeekFromPMA","originalAllocationWeekFromUTM","originalAllocationWeek","routeAllocationWeekFromPMA","routeAllocationWeekFromUTM","allocationWeek","_getters$getOriginalM","originalFfeConsumed","getOriginalMacInfo","isMac","ffeConsumed","allocationConsumed","_allocationDetails$ff","initialAllocation","currentFfeAllocation","availableFfe","ffeAllocated","remainingFfe","ffeAllocation","ffeUsed","ffeNonAllocated","isFlexContractOfferFilterException","_state$routesAvailabi13","_route$routePrices16","_route$statusInfos3","isFlexContractORBlockSpacePlus","isPenaltyMissing","penaltyFees","penaltyException","_state$routesAvailabi14","_route$routePrices17","_state$routesAvailabi15","_route$routePrices18","isCliRate","_state$routesAvailabi16","_route$routePrices19","_state$routesAvailabi17","_getters$routesListWi","originalRoutes","originalRouteSchedules","firstRoute","isOriginalRouteSubstituted","_state$routesAvailabi18","originalRouteAvailability","SUBSTITUTE","isDnDDown","_state$routesAvailabi19","_route$statusInfos4","dndDown","isDndFmc","_state$routesAvailabi20","_route$statusInfos5","isFMCCountry","fmcCountry","isPMADown","_state$routesAvailabi21","_route$statusInfos6","pmaDown","_state$routesAvailabi22","_route$statusInfos7","_route$routePrices20","_route$routePrices21","_route$routePrices22","_route$routePrices23","isCodePresent","pmaDownAmend","_state$routesAvailabi23","_route$statusInfos8","utmDown","_state$routesAvailabi24","_route$statusInfos9","spotAmendOfferChangedToContract","spotToContractOfferChanged","_state$routesAvailabi25","_route$statusInfos10","PMAContractOfferFoundForContractAmend","pmaContractOfferFound","_state$routesAvailabi26","_route$statusInfos11","flexAmendOfferChanged","_state$routesAvailabi27","_route$statusInfos12","originalRouteNoOfferApplicable","_state$routesAvailabi28","_route$routePrices24","_route$routePrices25","rollableSpotVariance","spotVariance","defaultSelected","isFreeTimeAvailableForSailings","allowedTypes","isAllowedTypes","market","tariff","allowedContractTypes","vasOnAmend","_state$routesAvailabi29","_route$routePrices26","isPMATypeSpotExclusionApplicable","_state$routesAvailabi30","_routePrices$dynamicP","isRateDown","_state$routesAvailabi31","_route$statusInfos13","rateDown","isRatesNotFound","_state$routesAvailabi32","_route$statusInfos14","ratesNotFound","rateNotFound","isRMV3CallSkipped","_state$routesAvailabi33","_route$statusInfos15","callSkipped","rmv3CallSkipped","_state$routesAvailabi34","_route$routePrices27","_state$routesAvailabi35","_route$routePrices28","_route$routePrices29","_route$routePrices30","spotScope","_state$routesAvailabi36","_route$routePrices31","_route$routePrices32","_state$routesAvailabi37","_route$routePrices33","_route$routePrices34","_state$routesAvailabi38","_route$routePrices35","blockSpacePriceDetails","_state$routesAvailabi39","isBlockSpaceSpot","_state$routesAvailabi40","_route$routePrices36","_route$routePrices37","_route$routePrices38","_state$routesAvailabi41","_route$routePrices39","blockSpacePlus","getSubstituteContainer","_state$routesAvailabi42","_route$routeScheduleA2","equipmentCheckDetails","equipmentDetails","getMultipleSubstituteContainers","_state$routesAvailabi43","_route$routeScheduleA3","_route$routeScheduleA4","_route$routeScheduleA5","_route$routeScheduleA6","_route$routeScheduleA7","_route$routeScheduleA8","equipment","isSubstituted","getSubstituteContainerByIndex","_state$routesAvailabi44","_route$routeScheduleA9","_route$routeScheduleA10","currentTypeIsoCode","currentTypeDetails","getSubstituteContainerDetails","subContainer","getSubstituteContainerDetailsByIndex","getSubstituteContainerStatus","_state$substituteCont","getSelectedContainerName","_getters$getSelectedR","selectedRouteId","getSelectedRoute","isContainerSubstituted","getSelectedContainerNameByIndex","_getters$getSelectedR2","_getters$getSubstitut","getSelectedPorts","_getters$getSelectedR3","leg","routeIconsByTransportModeCode","getSelectedPortOfDischarge","getSelectedPortOfLoading","getSelectedRouteForGroupHeader","_getters$routesList","notAvailable","transitTime","isOriginalDummyRouteSelected","getOriginalRouteForAmend","isOriginalValidatedRouteSelected","getSelectedPrice","getRoutePriceBreakdown","getAvailableEquipment","_state$selectedRoute","equipmentAvailabilities","siteCode","priceBreakdown","routePriceBreakdown","transformedPriceType","transformPriceType","priceBreakdownForPriceType","mapPriceBreakdown","isInlandHaulage","isContractRateUnavailable","isPriceRetrieved","_routePriceBreakdown$","getImportDndConditions","dynamicPriceContractTypes","getImportDndConditionsFromDynamicPrice","getImportDndConditionsFromFixedPrice","_state$routesAvailabi45","_route$routePrices40","_dynamicPriceForRoute","dynamicPriceForRoute","importDnDConditions","productPrice","_state$routesAvailabi46","_route$routePrices41","_fixedPriceForRoute","fixedPriceForRoute","getRouteDetentionDemurrage","addedDetentionFreetime","addedDemurrageFreetime","totalDetentionFreetime","additionalFreeDays","freeDays","totalDemurrageFreetime","demurrageConditions","detentionConditions","freetimeConditionsObj","freeTimeTranslationKey","freeTimeTranslationKeyValues","freeTimeGrantInDays","getPenaltyFees","isMultiFlagEnabled","transformedPenaltyFees","_dynamicPriceForRoute2","mapPenaltyFees","_state$routesAvailabi47","_route$routePrices42","isCommittedCustomer","_state$routesAvailabi48","_route$routeScheduleA11","getFixedPriceId","_state$routesAvailabi49","_route$routePrices$fi","_route$routePrices43","getAthenaVasParams","_getters$getSelectedP","_getters$getSelectedP2","isSpot","contractId","getAthenaVasLineItemNumber","_getters$getAthenaVas","_getters$getAthenaVas2","_getters$getFixedPric","_getters$getFixedPric2","lineItemNumber","isCommittedCustomerFromPMAResponse","getCustomerAllocationCommitment","_state$routesAvailabi50","_route$routeScheduleA12","uptakeValidationDetails","allocationCommitmentDetails","commitmentDetails","commitmentType","commitmentTypeInd","isIrregularType","customerAllocationCommitmentType","irregular","propertyBasedOnCommitmentType","allocationCommitment","ffeCommitted","ffe","consumedFfeWeek","ffeUnused","unusedFfe","ffeCommittedOnBooking","totalFFEConsumed","ffeNonCommitted","totalFFENotConsumed","ffeUnusedWeekly","unusedWeeklyLimitFfe","ffeUsedForPeriod","consumedFfePeriod","isReducibleApplicable","_state$routesAvailabi51","getTotalFFEConsumed","_state$routesAvailabi52","_route$routeScheduleA13","_state$routes6","inlandHaulageCode","getDeadlinesFromValidatedResponseForSpecificRoute","_state$routesAvailabi53","_state$deliveryPromis","getOfferType","mapGaOfferType","aflsContract","aflsNonContract","getStatusInfosPayloadInOfflineMode","mepcErrors","mepc","_exception$error$stat","getPortOfDischargeByRouteId","_state$routes7","waterLegsWithoutBarge","transportModeCodes","barge","schedulesWithVessel","getTransShipmentPortsForSelectedRoute","_selectedRoute$schedu","middleSchedules","waterLegSchedules","transShipmentPorts","waterLeg","lastElementIndex","getRouteSchedulePayloadInOfflineMode","_selectedRoute$schedu2","getContractDetailsForOriginalRoute","_contract$contractNum","_bookingData$referenc2","_bookingData$referenc3","_bookingData$referenc4","isBrData","vesselInfo","departureAndArrival","fmcDetails","_state$routesAvailabi54","_route$routePrices44","_penaltyFees$","compensation","charges","penaltyFee","penaltyType","chargeFee","_state$routesAvailabi55","_mac$allocationData","_getters$getSelectedR4","_getters$getOriginalM2","_mac$amountInConverte","mac","productVases","maerskControl","applicability","isOptional","isOptionalSelected","isMaerskAccelerateSelected","isPreSelectedMac","macCodes","shouldAddMaerskAccelerateInBO","macCode","amountInConvertedCurrency","getAdditionalServices","additionalServicesConfig","_getters$getRoutePric","isOptionalMacSelected","service","_price$maerskAccelera","_price$maerskAccelera2","_getters$getSelectedR5","getMacServicesForVas","_price$priceBreakdown","services","charge","title","formattedCurrency","formattedAmount","unitPriceFormatted","totalAmount","totalPriceFormatted","unitPrice","isRestricted","restricted","getDpForVas","selectedPromise","displayDeliveryPromise","getSelectedDPForVas","getAdditionalSailingServicesForVas","getSelectedPromise","_getters$getSelectedP3","dpDataList","basis","DELIVERY_PROMISE","BASIS","QUANTITY","getDetentionFreetime","_getters$getImportDnd","detentionFreetime","getDemurrageFreetime","_getters$getImportDnd2","demurrageFreetime","isDifferentDnDFreeTime","_conditions$filter","_conditions$filter2","isDemurrageDifferent","conditionDetention","isDetentionDifferent","isOriginalRouteSelectedInAmend","isOriginalRouteSelected","isNewRoute","getContractChangeInfo","_getters$getSelectedP4","defaultInfo","sailingSelectedContract","userEnteredContractFromOriginal","isContractRoute","priceType","priceTypeArray","_state$routesAvailabi56","isSelectedRouteOrgRouteRetrieved","_state$routesAvailabi57","_getters$getSelectedR6","getRoutesAvailability","isPriceRestrictedWithDealTypes","dealTypes","dealType","isCaptainPeterSurchargeApplicable","_getters$getSelectedP5","valueAddedServices","captainPeterChargeCodes","reeferMonitoring","oceanColdChain","isAnyOfferAvailableToBook","_state$routesAvailabi58","_route$routePrices45","_route$routePrices46","hasOfferFilterReason","_state$routesAvailabi59","_routePrices$dynamicP2","getZeroContainerHardStop","freeDaysFromApi","isDetention","_getters$detentionCon","_getters$demurrageCon","showTotalFreetime","_getters$detentionCon2","_getters$demurrageCon2","isBuyExtraDaysApplicable","isMarketOrTariff","_getters$getSelectedP6","isFlex","_getters$getSelectedP7","_bookingData$surcharg","macs","surcharges","surcharge","freightType","getSailingsContextForLD","_getters$getSelectedR7","booking_sailings_data","hasSetLDContextError","setLDContextSailing","getFirstWaterLegFromSelectedRoute","_getters$getSelectedR8","waterLegTranportModeCode","isMACEnabled","generateSailingRoutesGAData","availabilities","_availabilities$valid","validatedRouteSchedules","updateVesselBookedReason","vesselBookedReason","maxRetryAttempt","routeRetryAttempt","availabilityRetryAttempt","populateRoutes","getRoutes","networkDelay","latestStatus","noContentAvailable","noContent","sailingsWaitTime","timedOut","handleMepcException","exceptionsFound","exceptionsWhilePopulating","_sailings","mark","_sailings$statusInfos","_sailings$statusInfos2","_sailings$statusInfos3","_sailings$statusInfos4","_sailings$statusInfos5","_commodityStatusInfos","_commodityStatusInfos2","noSchedulesFound","success","noScheduleException","noRoutes","noScheduleForMultipleContainerException","noCombinationRoutes","adfUnavailableException","commodityException","commodityRestrictionCodes","commodityStatusInfos","exceptions","pop","newRoutesError","routesError","routesCombinationError","technicalError","populateRoutesAvailability","_availabilities$route","validationStatus","routeValidationsComplete","adfResponses","YES","availabilityStillLoading","NO","ERROR","_window2","saveLoadAndDischargePorts","saveOffersAvailableToShowStatus","sailingRoutesGAData","clearRoutes","updateRouteStatus","_routeItem$routeSched","routeItem","isSubstituteContainer","SUBSTITUTECONTAINER","substitutedRouteScheduleId","getSelectedRouteDetails","isFlexHubOptionSelected","offerSelected","isRollableOptionSelected","getRouteOptions","isSpotOffer","getGcssDeliveryAgreementType","spotDp","isSpotRollable","spotRollableDp","_deliveryPromises$get","agreementType","validationResults","equipmentCheckOutcome","equipmentUnavailable","deadlineCheckOutcome","deadlineCheck","spaceCheckDetails","phySpaceRejCode","phySpaceRejection","allocLineRejCode","ALR","isVesselNotOpen","VNO","yieldCheckOutcome","yield","yieldAndALR","technicalYieldAndALR","calculateFixedPrice","routePrice","containerRates","_routePrice$shipmentR","_containerRates$","_containerRates$2","_routePrice$shipmentR4","_routePrice$shipmentR2","_routePrice$shipmentR3","shipmentRates","grandTotal","grandTotalCurrencyISOCode","_containerRates$3","sendGaEventForOfflineMode","R1Response","offlineModeStatusInfo","isOffline","_availabilities$areOf","areOffersAvailableToShow","isContainerNotAvailableForRoutes","routesAvailabilities","shouldCheckAvailabilityMessage","priceApplicable","priceAvailable","isContainerNotAvailableInFixed","isContainerNotAvailableInDynamic","routePriceMessage","containerNotAvailable","isMacSelected","getPriceWithServices","_price$maerskAccelera3","maerskAcceleratePrice","setRoutes","appendRoutes","routesState","routesMap","appendRoutesAvailability","routeAvailabilities","sailingsAvailability","TRUE","availabilitiesList","availabilitiesMap","moreRoutesAvailable","setLoadingStatusKey","setRoutesAvailability","setDeliveryPromise","setSelectedRoute","setSelectedPriceType","setRoutesLoadingStatus","setOffersAvailableToShowStatus","resetLoadRouteCalled","setAvailabilityLoadingStatus","setSubstituteContainerStatus","incrementBatch","resetBatch","setLoadMore","setOriginalRouteSticky","setOriginalRouteRollable","setOriginalOptionalMacSelection","setOriginalRouteFlexHub","setPriceBreakdownForRoute","setFixedPrice","_containerRates$0$rat","rates","rate","maerskChargeType","clearedStateObject","setSelectedPrice","appendStatusInfosFromRates","ratesResponse","_ratesResponse$shipme","_ratesResponse$shipme2","containerRate","routeIndex","existingStatusInfos","setContainerNotAvailableForAllRoutes","setZeroContainerHardStop","selectRoute","routeOptions","selectOriginalRoute","bookingId","dummyRouteScheduleId","isRouteChanged","_getters$getOriginalR","_getters$getOriginalR2","isAdditionalDetails","isHaulage","isVAS","reduceDependencyOfLegacyCalls","_availability$routePr","_state$routesPriceBre","_state$routesPriceBre2","availability","isDeadlinesApiCalled","spotDps","spotDpCode","spotRollableDpCode","sealandSpotDpCode","sealandRollableDpCode","dp","_dp$code","_dp$code2","ratesStatusCode","FIXEDPRICE","selectedRouteDetails","validateLoadMore","_error$error","_error$error2","_error$error3","_error$error4","scrollTo","top","behavior","checkContainersAvailability","routesWithRoutePrices","noCommonRouteForMultiContainers","getRoutePrice","createSelectedRouteInOfflineMode","offlineSelectedRoute","productOfferPrefix","productCardPrefix","alternateOfferPrefix","errorOfferPrefix","noOfferPrefix","heading","productCard","allInclusive","alternateRoutes","fromLabel","rollableText","buttonLabel","seeMore","search","_offer$routeScheduleW","_offer$routeScheduleW2","_offer$routeScheduleW3","_offer$routeScheduleW4","_offer$routeScheduleW5","_offer$routeScheduleW6","_offer$routeScheduleW7","_offer$routeScheduleW8","_offer$routeScheduleW9","_offer$routeScheduleW10","_offer$routeScheduleW11","_offer$routeScheduleW12","_offer$routeScheduleW13","_offer$routeScheduleW14","_offer$routeScheduleW15","_offer$routeScheduleW16","_offer$routeScheduleW17","_offer$routeScheduleW18","_offer$productOffer$o","_offer$productOffer","_offer$productOffer$o2","_offer$productOffer2","_offer$routeScheduleW19","_offer$routeScheduleW20","_offer$productOffer$d","_offer$productOffer3","_offer$productOffer$d2","_offer$productOffer4","routeScheduleWithPrices","routeScheduleFull","rollableStatus","rollableOptionStatus","priceDetails","offerModal","header","gateInDeadline","getGateInDeadline","mapArrivalAndDeparture","mapSpotPenaltyFees","importDndFees","mapImportDnDConditions","mapPriceBreakDown","pricesPerContainer","prices_per_container","priceid","mapTransitDetails","getDeadlines","originDisplayName","destinationDisplayName","getNorDetails","generateDateTime","time","_offer$routeScheduleW21","_routeScheduleFull$fr","_routeScheduleFull$fr2","_routeScheduleFull$fi","_routeScheduleFull$to","_routeScheduleFull$to2","_routeScheduleFull$la","_routeScheduleFull$fr3","_routeScheduleFull$fr4","_routeScheduleFull$fi2","_routeScheduleFull$to3","_routeScheduleFull$to4","_routeScheduleFull$la2","firstLoadPort","arrivalDate","lastDischargePort","departureTime","arrivalTime","departureDateTime","arrivalDateTime","_alternateOffer$etd","_productOffer$offerFi","_productOffer$offerFi2","_productOffer$offerFi3","_productOffer$offerFi4","_productOffer$routeSc","scheduleDetails","deadlineKey","_offer$routeScheduleW22","_offer$routeScheduleW23","_offer$routeScheduleW24","_offer$routeScheduleW25","_offer$routeScheduleW26","_priceObj$pricesPerCo","_priceObj$prices_per_","fromPerDoc","surchargesPerDoc","mapChargeToSurcharge","surcharges_per_doc","surchargesPerContainer","surcharges_per_container","containersizetype","bas","dndApiContainerSizeTypeMap","containerIsoCode","priceObj","pricePerContainer","chargesFromContainer","cloned","priceBreakdownRateBasisMapper","chargeCode","chargecode","chargeDescription","chargedescription","rateBasis","ratebasis","currencyFormat","rateType","ratetype","_offer$routeScheduleW27","feeDetails","_item$charges","feeDetailsPerCharges","chargesArray","formattedPrice","existingFee","fee","costs","_offer$routeScheduleW28","_offer$routeScheduleW29","_offer$routeScheduleW30","productPriceType","extractDischargePortLocation","_offer$routeScheduleW31","_dischargePort$cityNa","_dischargePort$countr","_offer$routeScheduleW32","dnd","freeTimeStartEvent","freetimeStartEvent","freetimeGrantInDays","tradeDirection","chargePerDiemAfterFreetime","currencyOfCharge","_offer$routeScheduleW33","_offer$routeScheduleW34","firstLoadPortGeoId","_schedule$fromLocatio","_schedule$deadlines","deadlineCodes","deadlineMapper","_offer$routeScheduleW35","_scheduleDetails$rout","_scheduleDetails$tran","_scheduleDetails$tran2","_scheduleDetails$tran3","_scheduleDetails$tran4","_scheduleDetails$tran5","_scheduleDetails$tran6","_scheduleDetails$tran7","_scheduleDetails$tran8","_scheduleDetails$tran9","_scheduleDetails$tran10","originArrivalDatetime","destinationDepartureDatetime","layoverTime","routingType","serviceCode","sequence","carrier","flagCode","imoNumber","buildYear","_offer$routeScheduleW36","_offer$additionalOffe","_offer$additionalOffe2","_additionalOffers$isA","_additionalOffers$con","_offer$productOffer5","additionalOffers","isAvailable","multiSizedContainers","constructReeferContainerOptions","reeferContainerNames","reeferContainerSizes","multi","groupName","groupNameForReefer","celsiusTempRange","reeferContainerTempRanges","fahrenheitTempRange","magnum","twentySizedContainers","twenty","fortySizedContainers","forty","starcare","starfresh","superFreezer","superfreezer","containerSelectLabels","options","containerTypeLabel","tempOrHumidityChangeToolTip","containerRequiredError","optionalLabel","placeholder","noResultsMessage","dataErrorMessage","commodityDatabaseLabel","commodityLink","commodityDatabaseLinkLabel","reeferCargoProbes","dataTest","cargoProbesLabel","cargoProbesTooltipLabel","cargoProbesRequiredError","cargoProbesRangeError","drainHolesLabel","drainHolesTooltipLabel","rangeMsgSeparator","reeferTemperature","coldTreatmentLabel","coldTreatmentLinkLabel","coldTreatmentLink","coldTreatmentTooltipLabel","temperatureLabel","temperatureRequiredError","temperatureRangeError","temperatureSymbolCelsius","temperatureSymbolFahrenheit","temperatureLinkLabel","temperatureLink","temperatureTooltipLabel","invalidInput","invalidTemperatureFormat","reeferSetPoints","multipleSetPointsLabel","multipleSetPointsTooltipLabel","setPointTemperatureLabel","setPointDaysLabel","setPointRemoveButtonLabel","numberOfDaysRequiredError","numberOfDaysRangeError","addSetpointLabel","deleteSetpointLabel","valueLessThanError","reeferAtmosphere","ethyleneOptions","o2Label","o2Symbol","o2RequiredError","o2RangeError","co2Label","co2Symbol","co2RequiredError","co2RangeError","ethyleneLabel","ethyleneTooltipLabel","o2Co2SumExceedError","o2Co2SumMaxAllowed","maximumAllowedO2CO2combinedPercentage","reeferAdditionalEquipment","additionalEquipmentLabel","additionalEquipmentTooltipLabel","gensetExportLabel","gensetImportLabel","gensetRequired","duringExport","duringImport","yes","no","reeferVentilator","freshAirLabel","freshAirLinkLabel","freshAirLink","freshAirTooltipLabel","ventilationVolumeLabel","ventilationVolumeSymbolMeterPerHour","ventilationVolumeSymbolCuFtPerHour","ventilationVolumeRequiredError","ventilationRangeError","cubicMtrLabel","ventilationVolumeSymbolMeterPerHourMDS","ventilationVolumeSymbolCuFtPerHourMDS","reeferHumidity","humidityLabel","humiditySymbol","humidityLinkLabel","humidityLink","humidityTooltipLabel","humidityRequiredError","humidityRangeError","humiditySymbolPercent","humidityPercentLabel","defaultValues","maxTempInCelsius","minTempInCelsius","maxTempInFahrenheit","minTempInFahrenheit","defaultMinCargoProbesWhenColdTreatment","defaultCargoProbes","defaultMaxCargoProbes","defaultDrainHoles","defaultTemperatureRange","minInMetrics","maxInMetrics","minInImperial","maxInImperial","defaultVentilationRange","defaultTemperatureForVentilation","_container$stuffing$f","_container$stuffing$f2","stuffing","propertyMeasurementUnit","propertyValue","_deepClone$flatMap","_allInstanceIds$forEa","allInstanceIds","_dangerousDetails$fin","ood","od","withTransportMode","_od$location","_od$location2","_od$location3","_od$location4","_od$location5","_od$location6","_od$location7","_od$location8","_od$location9","_od$location10","_od$location11","_od$location12","_od$location13","isLocation","isOOGSettingsEnabled","cargoType","_cs$shipmentEquipment","_cs$flexiTankContaine","isOogSettingsNeccessary","shipmentEquipmentAssignmentId","getDgAndOogPayload","cTypes","isDangerousSettingsEnabled","dgCargoOnly","nextItem","_cityGeoId","matches","resBodyErrorCode","selectedContainer","_instanceIdAndQuantit","_instanceIdAndQuantit2","instanceIds","_selectedContainer$co","_instanceIdAndQuantit3","_instanceIdAndQuantit4","LEGACY","DATASET","BOOKING_REQUEST","getCheckEquipmentAvailability","checkEquipmentAvailability","checkDeadlines","checkSpace","checkYield","checkFixedPrices","cmToInches","conversionRequired","cmToInchesConversionFactor","_cs$containerType9","_cs$containerType10","_cs$shipperOwnContain2","_cs$overSizedCargo2","_cs$importReturnConta2","getContainerInfoForSubstitutedAdditionalDetailsPayload","shipperOwnedFlag","importReturnFlag","refLength","containerReferencesLength","isOogSettingsNecessary","dg","getOogPayload","isOfflineMode","_rootState$oogSetting","_rootState$oogSetting2","arrA","arrB","arrAUniqueKeyValues","arrBUniqueKeyValues","containerSizes","size_40","size_45","size_20","customDisplayName","secondaryDisplayName","getCityDisplayName","groupOrder","useHint","locations","_location$city","_location$country","_location$city2","_location$city3","_location$country2","_location$state","regionNameDividerPrefix","regionNameDividerSuffix","countryNameDivider","sleep","delay","errorReasonsList","EQUIPMENT","EQUIPMENTSYSTEM","CAPACITY","ALLOCATION_CAPACITY","DEADLINE","NO_MATCH","CY","VGM","SINONAMS","SIAMS","pricingOfferTypes","MARKET","TARIFF","SPOT","MARKET_LOWER_CASE","TARIFF_LOWER_CASE","SPOT_LOWER_CASE","rollableOptionTypes","MANDATORY","OPTIONAL","NOT_ALLOWED","protocol","globalBaseConfig","DEFAULT_PROTOCOL","isBeta","getEnvironmentIdentifier","brandFromHostname","domain","isChinaDomain","hostname","ENVIRONMENTS","SSIB_BOOKING","LD_PREFIX","LD_PREFIX_BE","LD_PREFIX_TRIAL_VAS","SITECORE_KEY_ROOT_ID","upsell","localhost","assetsDomain","FTSConsumerKey","odmConsumerKey","mopRumDashboardConfig","app","version","environment","debug","traceLog","apiKey","useSendBeacon","ignoreUrls","propagateTraceHeaderCorsUrls","test","preprod","prod","synergyLocation","nacInfo","routesFinderBatch","validated","chbOfferComponentLoader","fullTradeSwitch","cancellation","oAuth","changeOfDestinationSuffix","maersk","sealand","SPOTPrimaryCurrency","confirmation","sessionTimeout","sanction","apiError","fts","chs","noContractSelected","Active","exportCustomsClearance","importCustomsClearance","newKey","components","freetimeExtension","valueProtect","ecoDelivery","vasRevamp","featuredKey","featuredVasList","newVasList","OCG","defaultCurrency","mostPopular","labelSuffixes","percent","image","alt","media","folder","ext","captainPeterInsurance","cpPremium","defaultVisiblePickupDepots","loadMorePickupDepotsBatch","maximumLoadingDetailsSD","maxNumberOfSetpoints","hardStopBookingFlow","ssp","temperatureUnitsShortHand","dimensionUnits","cm","inches","modalDimensions","small","medium","large","setPointId","roleNameNAC","ciphPartyCode","bookingOptions","shipmentReferences","getFullTradeSwitchDetails","sdAmends","requestBookingCancellation","requestChangeOfDestination","bookingFlow","gatedInAmends","cargoWeightRestrictionsODM","odcrcErrors","USER_ROLES","fixedPriceContractTypes","productType","preffered","alternate","reeferFlex","premium","essential","loadAsBooked","withinOneDay","withinThreeDays","withinTenDays","onboardOrWithinThreeDays","onboardOrWithinTenDays","onboardOrWithinFourteenDays","phySpaceAndVNO","ALRandVNO","phySpaceAndYield","ALRandYield","additionalDetails","loadAddressMaxLength","maxLength500","haulageInstructionsMaxLength","sdHaulageInstructionsMaxLength","loadIntervalOptions","addressLimit","same","manual","processing","pageNotFound","failedDependency","PER_CONTAINER","PER_DOC","USATariffLinkPerBrand","maeu","seau","regular","alternativeCardType","substituteContainers","reduceContainers","agent","nvocc","cargoOwner","bookByCustomerStatus","priceOwnerStatus","brandNames","allowed","notAllowed","flexHubValue","bookingCommodity","dubaiTradeCode","customerHSCode","rail","land","inlandHaulageTransportModeCodes","facilityTypes","pickupDepot","returnDepot","emptyEquipmentReturn","cargoPickup","fullReturn","NAC_FROM_AFLS_SOURCES","sailingsTab","insuranceTab","insuranceCount","ma2","freetimeSurcharges","demurrageSurcharges","allowedSurcharges","mllAllowedSurcharges","featureFlagKeys","bePrefix","featureFlagTabs","feFlags","beFlags","interceptor","selectedFromList","containerIsEmpty","haulageReferencePattern","digitsPattern","decimalDigitsPattern","decimalDigitsPatternWithoutSign","temperaturePattern","negativeTemperaturePattern","reeferTemperaturePattern","specialCharacters","technicalNameReferencePattern","dangerousEMSInputPattern","dangerousGoodsWeightsPattern","gcssSpecialChar","dangerousGoodsSubriskPattern","oogDimensionPattern","tcnPattern","amendRedirectionList","Standard","Starfresh","Magnum","RFSD","RFCT","MGRF","RFCA","CACT","RSCA","SCCT","RFSF","containerProps","PRICES_TYPE","VAS_PRICE","ROUTE_PRICE","INSURANCE_PRICE","CUSTOMS_PRICE","TRIAL_VAS_PRICE","billOfLading","temperatureRules","maxValue","maxInnerPackingLevels","oogCargoRules","defaultCargoMin","defaultCargoMax","Infinity","maxQuoteRefLength","dgValidationStatuses","prohibited","accepted","na","haulageDateTimeFormat","MAX_SD_DEPOTS_PRE_POPULATION_ALLOWED","allowedTimeIntervals","haulageDateTimeKeys","cuFootToCuMeterConversionFactor","celsiusToFahrenheit","fahrenheitToCelsius","convertCuFeetToCuMeter","convertCuMeterToCuFeet","color","darkGrey","lightGrey","grey","black","white","blue","spacing","negative_spacing_3","spacing_1","spacing_2","spacing_3","spacing_4","spacing_5","spacing_6","negative_spacing_6","pqc","vgm","containerProtect","vp1","hec","lab","wav","icons","chevronDown","chevronUp","vesselFront","dndSpecialContainerMap","dndRegularContainerMap","L5G1","mobileScreenMaxWidth","largeScreenMinWidth","stepIndicatorStates","COMPLETED","CURRENT","PENDING","facilitiesAndAddresses","tabs","previouslyUsedAddresses","ownFacilities","addNewAddress","resultsPerPage","typeAheadValidationDebounce","isoCodeHeightMapping","PRICING_JOURNEY_STATES","DEFAULT","SEARCHING","SOFT_STOP","HARD_STOP","offline","dgRestrictionsIgnoreStatus","pmaErrorReasons","dgContainerSelectModals","removeContainerSettings","tcn","numberOfChars","startIndex","endIndex","reset","mllCommercialDescLimit","excludedContainerTypesForMll","desktop","governmentDetailsRules","consigneeDodaac","charCount","mllTerms","termsConditions","termsCarriage","locationAndServiceMode","mimDiscriminators","locationFunctionCodes","portOfDischarge","bookingOptionsCriticalErrors","headerChargesID","freight","freightTypeVas","forceInlandReasonType","forceInlandContactEmail","reeferSummary","setPoints","containerIsoSizeTypeForHeavyWtSurcharge","trialVases","doc","offeredLevel","shipment","tooltipWidth","reeferHigh","importer","useSameDgDetailsLabel","addButtonLabel","titleSingleContainer","containerNumber","padStart","titleAllContainer","modalDelete","descriptionDeleteLine1","descriptionDeleteLine2","modalUseSame","removeContainerModal","buttonCancelLabel","buttonDeleteLabel","buttonConfirmLabel","imoClassLabel","naLabel","unLabel","buttonViewAllLabel","buttonEditLabel","requiredError","selectDgContainerRadioOptions","dgContainersCount","prependZero","num","imoDetailsLabels","isAdditionalSegRequired","maxLimit","refInputPatternError","emsRequired","emsPattern","searchCriteriaNotLongEnoughMessage","errorMessageMandatory","errorMessageInvalid","removeTagLabel","unNumberTooltipText","unNaNumber","dangerousSettingsPopup","warningType","notificationType","line1","line2","addMoreButtonLabel","resetButtonLabel","saveCloseButtonLabel","cancelButtonLabel","closeButtonLabel","warningModel","notificationMessage","outerPackingHeader","innerPackingHeader","commodityPackingHeader","commodityPackingGroupTooltipText","addAdditionalBtnLabel","additionalLimitMsg","packingGroupTooltipText","packingQuantityType","innerMin","weightsPattern","minLimit","weightSymbolMetric","weightSymbolImperial","measureSymbolMetric","measureSymbolImperial","sadtInput","countryCodeFormat","contactNumberFormat","defaultSettings","generateOogPayload","containerSettings","containerSelects","_containerSelect$over","getFormattedSameContainerType","_bookingData$oogData$","_bookingData$oogData$2","_bookingData$oogData$3","_bookingData$oogData$4","_bookingData$oogData$5","_bookingData$oogData$6","_bookingData$oogData$7","_bookingData$oogData$8","convertDimensionUnit","_container$outOfGauge2","_container$outOfGauge3","currentOogData","outOfGaugeDetailsWithUnit","mappedOogSetting","mappedSameOogSetting","VAS_TYPES","VAS_TYPE_FIELDS","RADIO_OPTIONS_MANDATORY","isRadioApplicable","RADIO_OPTIONS_OPTIONAL","VAS_ITEMS","VAS_FIELDS","PQC","layoutClass","IWO","CPP","CNS","TLE","CP2","getCustomsClearanceVas","vasDetails","importFeatureEnabled","importCustomsVas","customSurcharges","productGroupId","EXPORT_CLEARANCE","IMPORT_CLEARANCE","_vas$productGroupId","getRoleLinkedToVas","transformCustomsClearanceVas","translatedName","_vas$totalPrice","_vas$totalPrice2","_vas$totalPrice3","_vas$totalPrice4","shouldUseFromApi","preContractedCustomer","exportCustomsVasWording","rateId","productId","vasName","productGroupName","amountInRequestCurrency","requestedCurrency","currencyIsoCode","isAdditionalInfoRequired","productDescription","useProductName","useProductDescription","isQuantityRequired","customerSelection","isAdded","isPartyApplicable","previouslyUsedParty","mapCustomSurcharges","customVas","shouldGetOriginalCustomVas","getRole","VAS_PARTY_MAPPER","PARTY_FIELDS","_PARTY_FIELDS$get","getStatusInfoForVas","_config$statusInfos","customsStatusInfo","isPreContractedCustomerForExportCustoms","VAS_STATUS_INFO_MAPPER","isPreContractedCustomerForImportCustoms","PARTY_TYPES","VAS_ACTION_TYPES","VAS_PAGE_LEVEL_NOTIFICATION_TYPES","VAS_LEVEL_NOTIFICATION_TYPES","VAS_STATE_TYPES","VAS_NOTIFICATION_FIELDS","ADD","style","CONTRACT","REQUEST","VAS_LEVEL_NOTIFICATION_FIELDS","INACTIVE","dataTestId","CONTAINER_PICKED_UP","PARTIAL_INACTIVE_FREE_TIME","PARTIAL_INACTIVE_VALUE_PROTECT","INACTIVE_FREE_TIME_AMEND","PARTIAL_INACTIVE_ECO_DELIVERY","VAS_PAGE_LEVEL_NOTIFICATION_FIELDS","GATED_IN","SERVICE_DOWN","isVasBeforeDetails","vasOnSeparatePage","vasBeforeDetails","CONTAINER_GRADE_OPTIONS","getContainerGradeOptions","langKey","CONTAINER_GRADE_FIELDS","FOOD_GRADE","FLEXI_BAG","getVasConfig","containerGrade","isErrorApplicable","containerGradeError","quantityKey","isQuantityErrorApplicable","isEditable","isMandatoryQuantity","decorateSurcharges","vases","shouldShowValues","isVasOnAmend","_item$containerQuanti","_item$isEditable","isVasAdded","getVasState","vasConfig","invalid","isLinkClicked","originalValue","_item$quantity","amendStateQuantity","quantityPerContainer","originalQtyPerContainer","shouldShowReset","formatVas","isMLLBooking","_config$isAmendBookin","_config$isVasOnAmend","permittedSurcharges","getNormalAllowedSurcharges","isInactiveCp2","isNoVasesPriceAvailable","isValueProtectAdded","isEcoDeliveryAdded","unsupportedVases","isSupportedVas","surchargesWithFields","vasEcoDelivery","stateType","AMEND","isInactive","isNew","NEW","_vasDetails$surcharge","cp2","formatCurrency","getFeatureValueForTesting","getFeatureFlagValue","testingValue","isLDEnabled","isFeatureEnabledForTesting","launchDarkly","getFeatureValueFromSiteCore","isFeatureFlagAddedInSiteCore","parent","getFeatureValueFromLD","_Vue$prototype","_constants$featureFla","_Vue$prototype2","$featureFlags","ready","getFallback","_constants$featureFla2","useLocalFallback","getVersionApplicableFeatureEnabledForTesting","isVersionApplicable","isDefaultVersionRequiredForTesting","defaultVersion","getFeatureList","isFeatureEnabledLocally","isFeatureFlagEnabled","currFeature","setLDContext","ldClient","featureContext","kind","existingContext","getContext","identify","waitForInitialization","getTrialVases","_Vue$prototype3","featureList","_Vue$prototype$$featu","_Vue$prototype$$featu2","standardProps","ibooking","journeyInstance","getId","journeyId","personid","internal","bookingTypes","getBookingNumber","journey","toSend","evt","sendABTestEvent","setId","uniqueJourneyId","setBookingNumber","bookingNumberInAmendJourney","selectedSearchCategory","error_details","structuredClone","getShipmentReferences","getSanctions","render","_vm","_c","_self","_setupProxy","staticClass","attrs","staticRenderFns","isWarnModalOpen","on","onWarningConfirm","_v","_s","elapsedMinutes","remainingMinutes","slot","_e","isTimeoutModalOpen","onTimeoutConfirm","computed","mapState","mapGetters","shouldSessionWarn","_this$getSessionConfi","shouldSessionTimeout","_this$getSessionConfi2","watch","$route","methods","mapActions","$eventBus","$emit","$router","shouldShow","handleCloseToast","showSubmittedToast","isFailedToLoadConfirmation","$isFeatureFlagOn","mapMutations","setIsFailedToLoadConfirmation","innerWidth","checkScreenWidth","mounted","created","addEventListener","beforeDestroy","removeEventListener","BookingSession","BookingSubmittedToast","mixins","DeviceInfoMixin","$config","commercialName","initValidation","min_value","max_value","email","numeric","integer","alpha_num","selectBetween","_value","_value2","_value3","_value4","isValueValid","option","_value$origin","_value$destination","_value$origin2","_value$destination2","_value$","_options$","_options$2","_options$i","_options$i2","clearLocalStorage","isAllowedToRelease","currentRoute","confirmExitListener","preventDefault","returnValue","releaseBookingAPIListener","initUnloadEvents","confirmOnExit","capture","install","mixin","_isFeatureEnabled","mdsComponentUpgrade","selectedLocale","getSelectedLocale","selectedLanguage","getSelectedLanguage","apex","initApex","apexOptions","templatedExperimentsEnabled","Apex","EventSource","NativeEventSource","EventSourcePolyfill","_event$state","_event$state2","obsolete","replaceState","back","resetFeatureFlags","_getFeatureList","branding","maeuCSS","seauCSS","multiBranding","productionTip","devtools","silent","RumInit","MaerskVueApp","MaerskGAEventsDispatcher","directive","mcModel","ignoredElements","FeatureFlags","evaluationReasons","featureFlagLocalPlugin","userLocale","URL","searchParams","sitecoreVersion","keyRootVersion","regionMap","sejj","mcpu","regionTag","_regionMap$brandFromH","VueLanguageHandler","keyRootId","langFilePathLocal","loadLanguageData","h","App","$mount","originalFetch","resource","_price$productPrice","mapPriceItemBasedOnPriceType","_item$chargeDescripti","getContractTypeForFixedPrice","getDeliveryPromiseTypeInfo","_dpType$gcssDeliveryA","_dpType$gcssDeliveryA2","dpType","_penaltyFee$charges","mapPenaltyFeesMultiContainer","fees","chargesAll","penaltyTypeIndex","cost","getListOfQueryStringParams","getRangeErrorMessage","separator","unitsOnlyAtEnd","getDrainHolesRules","getRangeValues","templateData","defaultData","isMetrics","ventilationCheckBasedOnTemperature","validateVolumeAvailability","volumeRange","constructRangeValues","metricsMin","metricsMax","imperialMin","imperialMax","getHumidityRangeValues","humidityRange","reeferContainers","decorator","_val","setPoint","_setPoint$temperature","_setPoint$temperature2","temperatures","getErrorMessageForTemp","failedRules","range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B,CAC5B,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,sCAAuC,CACtC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,uCAAwC,CACvC,OACA,kBAED,2CAA4C,CAC3C,OACA,kBAED,2CAA4C,CAC3C,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,wCAAyC,CACxC,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,sCAAuC,CACtC,OACA,kBAED,wCAAyC,CACxC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,8BAA+B,CAC9B,QACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,wCAAyC,CACxC,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,yCAA0C,CACzC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,0CAA2C,CAC1C,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,sCAAuC,CACtC,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,qCAAsC,CACrC,QACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,yCAA0C,CACzC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,yCAA0C,CACzC,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,wCAAyC,CACxC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,yCAA0C,CACzC,OACA,kBAED,sCAAuC,CACtC,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,0CAA2C,CAC1C,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,wCAAyC,CACxC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,6BAA8B,CAC7B,QACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,sCAAuC,CACtC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,uCAAwC,CACvC,OACA,kBAED,2CAA4C,CAC3C,OACA,kBAED,2CAA4C,CAC3C,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,wCAAyC,CACxC,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,sCAAuC,CACtC,QACA,kBAED,wCAAyC,CACxC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,2BAA4B,CAC3B,QACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,wCAAyC,CACxC,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,yCAA0C,CACzC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,0CAA2C,CAC1C,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,sCAAuC,CACtC,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,yBAA0B,CACzB,QACA,kBAED,uBAAwB,CACvB,OACA,kBAED,2BAA4B,CAC3B,QACA,kBAED,qBAAsB,CACrB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,yCAA0C,CACzC,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,+BAAgC,CAC/B,QACA,kBAED,wBAAyB,CACxB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,yCAA0C,CACzC,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,oCAAqC,CACpC,OACA,kBAED,6BAA8B,CAC7B,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,wBAAyB,CACxB,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,mCAAoC,CACnC,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,qCAAsC,CACrC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,8BAA+B,CAC9B,OACA,kBAED,uBAAwB,CACvB,OACA,kBAED,sBAAuB,CACtB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,mBAAoB,CACnB,OACA,kBAED,0BAA2B,CAC1B,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,gCAAiC,CAChC,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,iCAAkC,CACjC,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,yBAA0B,CACzB,OACA,kBAED,kCAAmC,CAClC,OACA,kBAED,4BAA6B,CAC5B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,oBAAqB,CACpB,OACA,kBAED,2BAA4B,CAC3B,OACA,kBAED,qBAAsB,CACrB,OACA,kBAED,+BAAgC,CAC/B,OACA,kBAED,6BAA8B,CAC7B,OACA,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EAAS9zL,aACvBE,aAAc7I,EACkF,QADzE08L,EACnBD,EAASG,aAAa72M,OAAO9I,GAAKA,EAAE8zF,OAASxqF,OAAU4pL,0BAA0BxxD,SAAS,UAAE,IAAA+9E,OAAA,EAA5FA,EAA8Fz5M,MACC,QADI05M,EACnGF,EAASG,aAAa72M,OAAO9I,GAAKA,EAAE8zF,OAASxqF,OAAU4pL,0BAA0BvxD,YAAY,UAAE,IAAA+9E,OAAA,EAA/FA,EAAiG15M,MACrG6lB,WAAY2zL,EAAS3zL,cAGxBqjC,KAAK,CAACiG,EAAGC,IAAMD,EAAExpC,aAAeypC,EAAEzpC,cAGjC,SAAUi0L,EACdC,EACA3+B,EACAO,EACAC,EACAo+B,GAEA,OAAI3/M,OAAOoH,KAAKs4M,GAAa3/M,OACvB2/M,EAAYvzF,SACP40D,EAEL2+B,EAAYE,kBACPt+B,EAELo+B,EAAYpmB,mBACP/X,EAELm+B,EAAY3uL,KAAO2uL,EAAYpkB,SAC1BqkB,EAEF,GAEF,GASF,MAAMrsL,EACX/M,KAEqB,OAAjBA,QAAiB,IAAjBA,OAAiB,EAAjBA,EAAmBxmB,QAAS,GAE9BwmB,EAAkB1f,MAAM,GAAI,GAAGxF,QAAQ,CAAC2N,EAAcnP,KAC5C,OAAJmP,QAAI,IAAJA,KAAM9O,eAAe,gBACvBqmB,EAAkB1mB,GAAG6rB,YAAa,KAIjCnF,I,mBC7bT,SAASs5L,EAAyB54M,GAGjC,OAAOtE,QAAQC,UAAUsB,MAAK,WAC7B,IAAI1B,EAAI,IAAIsB,MAAM,uBAAyBmD,EAAM,KAEjD,MADAzE,EAAEuB,KAAO,mBACHvB,KAGRq9M,EAAyBz4M,KAAO,WAAa,MAAO,IACpDy4M,EAAyBj9M,QAAUi9M,EACnCv9M,EAAOD,QAAUw9M,EACjBA,EAAyB14M,GAAK","file":"js/app-legacy.c29e87d6.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n \t\tvar prefetchChunks = data[3] || [];\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n \t\tdeferredPrefetch.push.apply(deferredPrefetch, prefetchChunks);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\tif(deferredModules.length === 0) {\n \t\t\t// chunk prefetching for javascript\n \t\t\tdeferredPrefetch.forEach(function(chunkId) {\n \t\t\t\tif(installedChunks[chunkId] === undefined) {\n \t\t\t\t\tinstalledChunks[chunkId] = null;\n \t\t\t\t\tvar link = document.createElement('link');\n\n \t\t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\t\tlink.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t\t}\n \t\t\t\t\tlink.rel = \"prefetch\";\n \t\t\t\t\tlink.as = \"script\";\n \t\t\t\t\tlink.href = jsonpScriptSrc(chunkId);\n \t\t\t\t\tdocument.head.appendChild(link);\n \t\t\t\t}\n \t\t\t});\n \t\t\tdeferredPrefetch.length = 0;\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [], deferredPrefetch = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"maeu-css\":\"maeu-css\",\"seau-css\":\"seau-css\",\"view-accessError-vue\":\"view-accessError-vue\",\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\":\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\",\"view-cancelBooking-vue\":\"view-cancelBooking-vue\",\"view-changeOfDestination-vue\":\"view-changeOfDestination-vue\",\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\":\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\",\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-sailings-vue~view-vasView-vue\":\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-sailings-vue~view-vasView-vue\",\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-vasView-vue\":\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-vasView-vue\",\"view-additionalDetails-vue\":\"view-additionalDetails-vue\",\"view-od3cp\":\"view-od3cp\",\"view-review-vue\":\"view-review-vue\",\"view-vasView-vue\":\"view-vasView-vue\",\"view-featureFlagSettings-vue\":\"view-featureFlagSettings-vue\",\"view-confirmation-vue~view-sailings-vue\":\"view-confirmation-vue~view-sailings-vue\",\"view-sailings-vue\":\"view-sailings-vue\",\"view-confirmation-vue\":\"view-confirmation-vue\"}[chunkId]||chunkId) + \"-legacy.\" + {\"chunk-2d0a30b7\":\"eec124de\",\"chunk-2d0a30fd\":\"ad4762a2\",\"chunk-2d0a31d4\":\"9f6be537\",\"chunk-2d0a32ea\":\"903715c5\",\"chunk-2d0a334b\":\"eeae5d8c\",\"chunk-2d0a3389\":\"be41681a\",\"chunk-2d0a33b6\":\"45635913\",\"chunk-2d0a34e8\":\"90fd8a3b\",\"chunk-2d0a387c\":\"1a274352\",\"chunk-2d0a4075\":\"35d68191\",\"chunk-2d0a40d9\":\"36effe13\",\"chunk-2d0a4657\":\"50b18f31\",\"chunk-2d0a476e\":\"42228fd7\",\"chunk-2d0a499f\":\"069b1a77\",\"chunk-2d0a49fb\":\"25e888ca\",\"chunk-2d0a4b23\":\"2fc01a37\",\"chunk-2d0a4beb\":\"406dcf64\",\"chunk-2d0a4d8c\":\"cbbff4fb\",\"chunk-2d0a4dbb\":\"db57987f\",\"chunk-2d0a4dde\":\"86096ab2\",\"chunk-2d0a4f8d\":\"0d8c4975\",\"chunk-2d0a4f9d\":\"81c6d066\",\"chunk-2d0a54e2\":\"b1d2265c\",\"chunk-2d0aa17a\":\"905bfbdd\",\"chunk-2d0aa20f\":\"26efecd0\",\"chunk-2d0aa214\":\"a0bf59f8\",\"chunk-2d0aa539\":\"03628780\",\"chunk-2d0aa576\":\"3dc32c1e\",\"chunk-2d0aa796\":\"3567c2dd\",\"chunk-2d0aa959\":\"b12f59e3\",\"chunk-2d0aa9a5\":\"eb45ec4f\",\"chunk-2d0aa9b0\":\"7ef37596\",\"chunk-2d0aab46\":\"d77d6fb8\",\"chunk-2d0aaba1\":\"7c28cd6b\",\"chunk-2d0aadc2\":\"8631c910\",\"chunk-2d0ab08b\":\"2db19857\",\"chunk-2d0ab2c8\":\"a087ce6f\",\"chunk-2d0ab327\":\"36ef50da\",\"chunk-2d0ab41a\":\"f1657ec1\",\"chunk-2d0ab48d\":\"8052676d\",\"chunk-2d0ab512\":\"07c52ef5\",\"chunk-2d0ab546\":\"3c5d24bd\",\"chunk-2d0ab562\":\"0201c7cb\",\"chunk-2d0ab6a5\":\"5512f3b1\",\"chunk-2d0ab923\":\"a19d1ae6\",\"chunk-2d0aba0b\":\"df28c275\",\"chunk-2d0aba69\":\"372d5c7c\",\"chunk-2d0aba85\":\"bdfda52a\",\"chunk-2d0abcb4\":\"f75a3552\",\"chunk-2d0abce9\":\"07fd2f96\",\"chunk-2d0abe7a\":\"2d5fa3c1\",\"chunk-2d0ac00e\":\"c64ce4b6\",\"chunk-2d0ac3da\":\"a5baea91\",\"chunk-2d0ac435\":\"cefa84bd\",\"chunk-2d0ae557\":\"d1875c5c\",\"chunk-2d0ae997\":\"1c2502c9\",\"chunk-2d0ae9a7\":\"0c5ba7d3\",\"chunk-2d0aeb72\":\"8fff98a6\",\"chunk-2d0aeb88\":\"a8ce6541\",\"chunk-2d0aec69\":\"df267397\",\"chunk-2d0aecd8\":\"58d8ac4e\",\"chunk-2d0aee9e\":\"c16f185a\",\"chunk-2d0aeef6\":\"c53e1fb5\",\"chunk-2d0aef17\":\"ec8a3dc3\",\"chunk-2d0aef29\":\"9231932d\",\"chunk-2d0af07e\":\"72e03950\",\"chunk-2d0af0bb\":\"730fb019\",\"chunk-2d0af173\":\"112636da\",\"chunk-2d0af2f9\":\"712d0274\",\"chunk-2d0af4ae\":\"f88023ab\",\"chunk-2d0af4cb\":\"a9a9b14c\",\"chunk-2d0af80d\":\"47accd86\",\"chunk-2d0afe2d\":\"e1e5f0f3\",\"chunk-2d0b15f7\":\"85af5920\",\"chunk-2d0b1a76\":\"0da7adbb\",\"chunk-2d0b1be8\":\"a5907a23\",\"chunk-2d0b1c17\":\"5b4965a4\",\"chunk-2d0b1de3\":\"5bc5f4d0\",\"chunk-2d0b1fe5\":\"af3b99d2\",\"chunk-2d0b1fe6\":\"59d1a494\",\"chunk-2d0b215b\":\"18fd6fd2\",\"chunk-2d0b232e\":\"27d9e626\",\"chunk-2d0b23a2\":\"303a408d\",\"chunk-2d0b2516\":\"2155cf37\",\"chunk-2d0b2539\":\"4d0b4b77\",\"chunk-2d0b2758\":\"e72ee334\",\"chunk-2d0b278a\":\"a9cc11fa\",\"chunk-2d0b28e9\":\"e3d03510\",\"chunk-2d0b294a\":\"c928c9c0\",\"chunk-2d0b2b47\":\"8f880903\",\"chunk-2d0b2b78\":\"d945b362\",\"chunk-2d0b2eaf\":\"922df623\",\"chunk-2d0b2ee6\":\"58c4a170\",\"chunk-2d0b2eeb\":\"1e05b65d\",\"chunk-2d0b3030\":\"c0f8ae05\",\"chunk-2d0b308a\":\"f527b1bc\",\"chunk-2d0b326c\":\"7e73a0e7\",\"chunk-2d0b33fd\":\"f4e6450f\",\"chunk-2d0b3421\":\"5b31fc98\",\"chunk-2d0b3495\":\"33455278\",\"chunk-2d0b366d\":\"43926a33\",\"chunk-2d0b3821\":\"801114e5\",\"chunk-2d0b387d\":\"6b39a9b1\",\"chunk-2d0b3899\":\"2b7736d5\",\"chunk-2d0b389a\":\"7cf046f2\",\"chunk-2d0b39ce\":\"8dd71dfe\",\"chunk-2d0b3a30\":\"9aae2956\",\"chunk-2d0b59cb\":\"e782ecfb\",\"chunk-2d0b59e5\":\"cc97ec04\",\"chunk-2d0b5d99\":\"355315f1\",\"chunk-2d0b5e23\":\"3a5dda19\",\"chunk-2d0b615a\":\"5c4a9ed9\",\"chunk-2d0b6168\":\"47d75cb5\",\"chunk-2d0b6199\":\"c4b9d89e\",\"chunk-2d0b637a\":\"2bef7621\",\"chunk-2d0b64db\":\"c4e7acdb\",\"chunk-2d0b64ee\":\"74da94e0\",\"chunk-2d0b650e\":\"723b9986\",\"chunk-2d0b65b5\":\"a0b3801f\",\"chunk-2d0b686a\":\"43eed222\",\"chunk-2d0b6907\":\"4bbfbe9f\",\"chunk-2d0b6c30\":\"3af8d23c\",\"chunk-2d0b726d\":\"a5f84e77\",\"chunk-2d0b8ad1\":\"57ddcb24\",\"chunk-2d0b8b2f\":\"3482b04e\",\"chunk-2d0b8e27\":\"b312fb68\",\"chunk-2d0b9009\":\"2817813e\",\"chunk-2d0b9075\":\"e13bd7de\",\"chunk-2d0b91db\":\"9d8c2d5c\",\"chunk-2d0b9294\":\"f44fdaff\",\"chunk-2d0b92a3\":\"48eadd5c\",\"chunk-2d0b92b1\":\"f25894c7\",\"chunk-2d0b9429\":\"fe70b941\",\"chunk-2d0b9432\":\"13ea0306\",\"chunk-2d0b95d6\":\"3bddd342\",\"chunk-2d0b95f8\":\"e44b51a0\",\"chunk-2d0b9788\":\"b87de8ff\",\"chunk-2d0b978c\":\"773ef5c1\",\"chunk-2d0b9833\":\"c92b0b55\",\"chunk-2d0b9836\":\"0e871ca9\",\"chunk-2d0b994d\":\"2ad43037\",\"chunk-2d0b9d2d\":\"36400feb\",\"chunk-2d0b9df5\":\"86f2740e\",\"chunk-2d0b9f27\":\"31403db6\",\"chunk-2d0b9f2c\":\"c746fb54\",\"chunk-2d0ba0ca\":\"10c777d9\",\"chunk-2d0ba197\":\"0d76f993\",\"chunk-2d0ba4b7\":\"2b66adcf\",\"chunk-2d0ba508\":\"a13e9292\",\"chunk-2d0ba6d8\":\"bbfd8ca3\",\"chunk-2d0ba72a\":\"fb076ee5\",\"chunk-2d0ba88d\":\"1592b75f\",\"chunk-2d0ba91b\":\"17ef54c8\",\"chunk-2d0ba948\":\"f9083b08\",\"chunk-2d0bacbe\":\"04121e7c\",\"chunk-2d0bae2e\":\"ec9cef45\",\"chunk-2d0bae98\":\"7d12d086\",\"chunk-2d0bb1cc\":\"65e1b6a7\",\"chunk-2d0bb231\":\"cddf68f2\",\"chunk-2d0bb27d\":\"a3ec47af\",\"chunk-2d0bcda7\":\"ef00fc9d\",\"chunk-2d0bcdab\":\"e1d89d5a\",\"chunk-2d0bced3\":\"3e064279\",\"chunk-2d0bd1d8\":\"1529d46d\",\"chunk-2d0bd284\":\"e11c7c8b\",\"chunk-2d0bd3d7\":\"a239562d\",\"chunk-2d0bd52f\":\"70618def\",\"chunk-2d0bd55d\":\"c923274c\",\"chunk-2d0bd653\":\"461d623b\",\"chunk-2d0bd8ee\":\"d8a817ba\",\"chunk-2d0bdb3c\":\"40bc9ff7\",\"chunk-2d0bdcc8\":\"04f9b912\",\"chunk-2d0bddb3\":\"40cbd418\",\"chunk-2d0bdf7b\":\"9d4093c8\",\"chunk-2d0be33b\":\"cceec8b8\",\"chunk-2d0c0269\":\"7fdab543\",\"chunk-2d0c0302\":\"1ddae9ca\",\"chunk-2d0c0361\":\"0c0261df\",\"chunk-2d0c0481\":\"3ff63bd9\",\"chunk-2d0c0ae3\":\"f077405e\",\"chunk-2d0c0c92\":\"fec93f0c\",\"chunk-2d0c0e1a\":\"b2e8614d\",\"chunk-2d0c0faa\":\"3b258e99\",\"chunk-2d0c1175\":\"98baf583\",\"chunk-2d0c13aa\":\"b98e06ad\",\"chunk-2d0c13e7\":\"6bc81006\",\"chunk-2d0c1577\":\"29a04c67\",\"chunk-2d0c15c7\":\"d15a0fdd\",\"chunk-2d0c1607\":\"cc1d555e\",\"chunk-2d0c174a\":\"6e92ed97\",\"chunk-2d0c18dd\":\"91e6baf7\",\"chunk-2d0c18f7\":\"5bd3dcf6\",\"chunk-2d0c1979\":\"391c3654\",\"chunk-2d0c1999\":\"25780bd2\",\"chunk-2d0c1c9f\":\"0b8b217b\",\"chunk-2d0c1cd8\":\"28d764e2\",\"chunk-2d0c1d53\":\"08de5ec6\",\"chunk-2d0c20af\":\"97949c9f\",\"chunk-2d0c42d0\":\"d805673b\",\"chunk-2d0c4615\":\"f63d7166\",\"chunk-2d0c467f\":\"f3578176\",\"chunk-2d0c46d0\":\"662d898a\",\"chunk-2d0c47f6\":\"f4176981\",\"chunk-2d0c4886\":\"b6cfd0a2\",\"chunk-2d0c4a71\":\"7767b1e7\",\"chunk-2d0c4c46\":\"8fc2de2c\",\"chunk-2d0c4c50\":\"2fcde7b7\",\"chunk-2d0c4c80\":\"43e37d7c\",\"chunk-2d0c4dab\":\"8bcba402\",\"chunk-2d0c4df6\":\"2fc9676c\",\"chunk-2d0c4e21\":\"db81e06b\",\"chunk-2d0c4fca\":\"a58acab8\",\"chunk-2d0c4fd2\":\"97c56f53\",\"chunk-2d0c4fe5\":\"8f0e15a9\",\"chunk-2d0c5148\":\"cdf84c32\",\"chunk-2d0c54cb\":\"7a266a66\",\"chunk-2d0c551a\":\"3e4d9171\",\"chunk-2d0c551b\":\"b20766fc\",\"chunk-2d0c5566\":\"c8e17451\",\"chunk-2d0c55d8\":\"372da04e\",\"chunk-2d0c579a\":\"90379ff2\",\"chunk-2d0c5aba\":\"fdbfbe61\",\"chunk-2d0c5ade\":\"23c0c8d9\",\"chunk-2d0c7383\":\"f683ea6d\",\"chunk-2d0c772e\":\"94043c4d\",\"chunk-2d0c773f\":\"9a7ba4dd\",\"chunk-2d0c7760\":\"4dc9c171\",\"chunk-2d0c778d\":\"e6318b35\",\"chunk-2d0c796d\":\"027667ff\",\"chunk-2d0c7ad8\":\"208160aa\",\"chunk-2d0c7b00\":\"059d8d58\",\"chunk-2d0c7b01\":\"90d211c3\",\"chunk-2d0c7b34\":\"acd69ad4\",\"chunk-2d0c7e55\":\"39fc87b1\",\"chunk-2d0c7ef2\":\"b5ae7ab4\",\"chunk-2d0c7f04\":\"529a10aa\",\"chunk-2d0c80a8\":\"2583e015\",\"chunk-2d0c80be\":\"be116e23\",\"chunk-2d0c8225\":\"f4d96e8c\",\"chunk-2d0c8238\":\"924a0fdb\",\"chunk-2d0c8286\":\"21cf977f\",\"chunk-2d0c8301\":\"d1674763\",\"chunk-2d0c8848\":\"87759801\",\"chunk-2d0c8a17\":\"88749002\",\"chunk-2d0c8a25\":\"55e95f38\",\"chunk-2d0c8a35\":\"15fc63e3\",\"chunk-2d0c8a73\":\"1e8dc659\",\"chunk-2d0c8a77\":\"e4b5348a\",\"chunk-2d0c8d95\":\"c044753f\",\"chunk-2d0c8d9b\":\"7b7235af\",\"chunk-2d0c8e17\":\"579337b6\",\"chunk-2d0c917a\":\"8a0642e0\",\"chunk-2d0c91f0\":\"5144232e\",\"chunk-2d0c936b\":\"ae3fd1a5\",\"chunk-2d0c93b4\":\"7ca7ae01\",\"chunk-2d0c96ee\":\"a453a8a5\",\"chunk-2d0c971c\":\"c4aeced9\",\"chunk-2d0c9748\":\"fefba218\",\"chunk-2d0cbb0f\":\"eb838217\",\"chunk-2d0cbded\":\"6afa4041\",\"chunk-2d0cbeb4\":\"ed865957\",\"chunk-2d0cc1d7\":\"0deab2de\",\"chunk-2d0cc1d8\":\"55c122c3\",\"chunk-2d0cc20a\":\"09ee0564\",\"chunk-2d0cc237\":\"128bec11\",\"chunk-2d0cc2d3\":\"83ef4253\",\"chunk-2d0cc467\":\"361e4819\",\"chunk-2d0cc5f8\":\"648a8d92\",\"chunk-2d0cc649\":\"a0b724f8\",\"chunk-2d0cc79c\":\"b82fd986\",\"chunk-2d0cc812\":\"f382a105\",\"chunk-2d0cc843\":\"cb455714\",\"chunk-2d0cc98c\":\"c933d7fc\",\"chunk-2d0cc9da\":\"13fe0c29\",\"chunk-2d0cca06\":\"d02e26df\",\"chunk-2d0ccfc9\":\"67a4f3ec\",\"chunk-2d0ce773\":\"eb2cc723\",\"chunk-2d0ce79f\":\"cd80aa17\",\"chunk-2d0ce7be\":\"4eb28671\",\"chunk-2d0ceb16\":\"71890877\",\"chunk-2d0ced80\":\"34230dc8\",\"chunk-2d0ced9b\":\"7a1b21eb\",\"chunk-2d0cefa2\":\"cb10ecb9\",\"chunk-2d0cefcb\":\"2bb1a4b9\",\"chunk-2d0cf164\":\"748beafc\",\"chunk-2d0cf4d4\":\"3917b5e9\",\"chunk-2d0cf4d7\":\"9cd09883\",\"chunk-2d0cf525\":\"df354815\",\"chunk-2d0cf634\":\"18ebfc31\",\"chunk-2d0cf897\":\"eb4588e6\",\"chunk-2d0cfa77\":\"9989f4c2\",\"chunk-2d0d01aa\":\"710c3c93\",\"chunk-2d0d01d4\":\"89eee910\",\"chunk-2d0d05a8\":\"6aed87e9\",\"chunk-2d0d0614\":\"98d1d609\",\"chunk-2d0d0b28\":\"adc50c38\",\"chunk-2d0d0b2f\":\"2abbbae4\",\"chunk-2d0d0bd5\":\"2553a7fb\",\"chunk-2d0d0eed\":\"cc74b603\",\"chunk-2d0d0f3c\":\"bab9adab\",\"chunk-2d0d2f05\":\"c9916421\",\"chunk-2d0d2f31\":\"3568fccc\",\"chunk-2d0d2f9c\":\"15f06fd8\",\"chunk-2d0d2fcc\":\"41903bd6\",\"chunk-2d0d30b3\":\"921170e9\",\"chunk-2d0d30b6\":\"32884345\",\"chunk-2d0d3249\":\"2f05ac78\",\"chunk-2d0d32a8\":\"c1fafd4a\",\"chunk-2d0d32d5\":\"aaa73c49\",\"chunk-2d0d34b7\":\"66bb6c1f\",\"chunk-2d0d34e3\":\"97b93a3c\",\"chunk-2d0d3636\":\"1cdac943\",\"chunk-2d0d3688\":\"70d129af\",\"chunk-2d0d3721\":\"5d46fcd2\",\"chunk-2d0d38b4\":\"2c6eb4d4\",\"chunk-2d0d3aa8\":\"2e31c393\",\"chunk-2d0d3bf6\":\"9e8a568b\",\"chunk-2d0d3c39\":\"74e6bf05\",\"chunk-2d0d3c91\":\"9a5df7c3\",\"chunk-2d0d3e55\":\"47366769\",\"chunk-2d0d3ea3\":\"e7c1af71\",\"chunk-2d0d3ed1\":\"dd6b4b2e\",\"chunk-2d0d3fd5\":\"a4be4833\",\"chunk-2d0d439b\":\"169c0592\",\"chunk-2d0d439e\":\"11cbbf64\",\"chunk-2d0d5c51\":\"6eba38d3\",\"chunk-2d0d5c7d\":\"00b4fd0f\",\"chunk-2d0d5c9c\":\"4bc3fdef\",\"chunk-2d0d61be\":\"28e2663a\",\"chunk-2d0d63b1\":\"04a5347d\",\"chunk-2d0d63df\":\"a8c7caba\",\"chunk-2d0d65a1\":\"d436a722\",\"chunk-2d0d65c4\":\"cb128349\",\"chunk-2d0d65ef\":\"2621016c\",\"chunk-2d0d67ad\":\"8183f95f\",\"chunk-2d0d67cf\":\"5856e380\",\"chunk-2d0d6965\":\"d8c372fa\",\"chunk-2d0d6983\":\"8156e1b5\",\"chunk-2d0d699b\":\"eecd7895\",\"chunk-2d0d6ab9\":\"4c46b29b\",\"chunk-2d0d6ad1\":\"3b300182\",\"chunk-2d0d6bab\":\"ac28c6d1\",\"chunk-2d0d6d22\":\"0765ad8c\",\"chunk-2d0d6d53\":\"4b2b9d30\",\"chunk-2d0d6f02\":\"609d83ae\",\"chunk-2d0d70a6\":\"661a6ab5\",\"chunk-2d0d70f1\":\"e8d8a38f\",\"chunk-2d0d7152\":\"55a38cfb\",\"chunk-2d0d7236\":\"8a3f9de0\",\"chunk-2d0d7446\":\"2e115f71\",\"chunk-2d0d7649\":\"30567452\",\"chunk-2d0d7695\":\"bad1adbb\",\"chunk-2d0d76a5\":\"f18dfd2a\",\"chunk-2d0d7c43\":\"fbe4dbbd\",\"chunk-2d0d7e0a\":\"982bdf01\",\"chunk-2d0d7e16\":\"73608cc9\",\"chunk-2d0d7e47\":\"43f0a7f0\",\"chunk-2d0d7ea5\":\"8382ed94\",\"chunk-2d0d7fad\":\"282ce2aa\",\"chunk-2d0d9f47\":\"2eec6569\",\"chunk-2d0d9f5f\":\"dba49bf1\",\"chunk-2d0d9fdc\":\"7098bd6d\",\"chunk-2d0d9ffe\":\"d974155b\",\"chunk-2d0da3a1\":\"0b495537\",\"chunk-2d0da3a2\":\"d3e95a57\",\"chunk-2d0da3bc\":\"d2973a5d\",\"chunk-2d0da42e\":\"4190fe99\",\"chunk-2d0da544\":\"cc070da4\",\"chunk-2d0da574\":\"fe1eafcb\",\"chunk-2d0da6c6\":\"1958755a\",\"chunk-2d0da6d9\":\"e0fdf757\",\"chunk-2d0da6e6\":\"76cb8546\",\"chunk-2d0da71f\":\"0558eb19\",\"chunk-2d0daa88\":\"28b15705\",\"chunk-2d0daa96\":\"edd663c8\",\"chunk-2d0daaa3\":\"e33f375c\",\"chunk-2d0dad14\":\"8dc8918a\",\"chunk-2d0daef1\":\"fec99df8\",\"chunk-2d0db054\":\"f7de49e7\",\"chunk-2d0db0c3\":\"f9402fb4\",\"chunk-2d0db24a\":\"0f4cf6cb\",\"chunk-2d0db2e6\":\"dc6ea01c\",\"chunk-2d0db415\":\"45809393\",\"chunk-2d0db4e3\":\"5a672570\",\"chunk-2d0db832\":\"6defcda6\",\"chunk-2d0db833\":\"cac70132\",\"chunk-2d0db884\":\"b205feb6\",\"chunk-2d0dd03f\":\"2c1c7969\",\"chunk-2d0dd415\":\"e1f4ff2c\",\"chunk-2d0dd4c6\":\"dad6d77b\",\"chunk-2d0dd4da\":\"8d8c6095\",\"chunk-2d0dd5df\":\"7d413348\",\"chunk-2d0dd62d\":\"a63b50de\",\"chunk-2d0dd650\":\"59c6e3ec\",\"chunk-2d0dd6aa\":\"19c4ba3a\",\"chunk-2d0dd790\":\"4c957cb7\",\"chunk-2d0dd798\":\"cbb588d9\",\"chunk-2d0dd7a1\":\"2d1ce1d0\",\"chunk-2d0dd7b1\":\"fb8f99a9\",\"chunk-2d0dd7c5\":\"01304f46\",\"chunk-2d0dd7e1\":\"790dbf45\",\"chunk-2d0dd88d\":\"e50cb45d\",\"chunk-2d0dd89d\":\"655ba96d\",\"chunk-2d0dd89e\":\"94afbf05\",\"chunk-2d0dd8bb\":\"38a729cb\",\"chunk-2d0dd9c3\":\"00a24994\",\"chunk-2d0dda21\":\"ce0b984b\",\"chunk-2d0dda2e\":\"1e57334f\",\"chunk-2d0ddbf3\":\"ce4325c1\",\"chunk-2d0ddc79\":\"e64c8ec0\",\"chunk-2d0ddd92\":\"0b629cbf\",\"chunk-2d0ddddd\":\"be94a6a0\",\"chunk-2d0ddf14\":\"b080b496\",\"chunk-2d0ddf32\":\"9ff41767\",\"chunk-2d0ddf85\":\"c132c613\",\"chunk-2d0ddfce\":\"2c7ca5dc\",\"chunk-2d0de351\":\"7fe48406\",\"chunk-2d0de352\":\"e051c3b9\",\"chunk-2d0de585\":\"f622afec\",\"chunk-2d0de698\":\"5690769d\",\"chunk-2d0de699\":\"7ea85643\",\"chunk-2d0de6a5\":\"09be30b3\",\"chunk-2d0de905\":\"b774c95e\",\"chunk-2d0dea3e\":\"3816a938\",\"chunk-2d0dee3c\":\"b6693971\",\"chunk-2d0deeb1\":\"8d72e239\",\"chunk-2d0df049\":\"26fb4c40\",\"chunk-2d0df235\":\"49e0aec9\",\"chunk-2d0df7ab\":\"d2b80ddc\",\"chunk-2d0df7f7\":\"aa5b28e7\",\"chunk-2d0df805\":\"686bf752\",\"chunk-2d0e13e6\":\"2dead731\",\"chunk-2d0e14ab\":\"7336448a\",\"chunk-2d0e1787\":\"3719cce9\",\"chunk-2d0e1794\":\"17a00865\",\"chunk-2d0e17e2\":\"7e015611\",\"chunk-2d0e1977\":\"e6b86f1f\",\"chunk-2d0e1995\":\"c49b3e5d\",\"chunk-2d0e1a3c\":\"2e40c59f\",\"chunk-2d0e1b9f\":\"e8bd28cb\",\"chunk-2d0e1bff\":\"8eed6870\",\"chunk-2d0e1d38\":\"b32d3242\",\"chunk-2d0e1d39\":\"59814d25\",\"chunk-2d0e1d96\":\"2b67fc6f\",\"chunk-2d0e1f73\":\"cd3bad3d\",\"chunk-2d0e1f7f\":\"93578464\",\"chunk-2d0e2127\":\"d1681bbd\",\"chunk-2d0e2132\":\"7dc6441f\",\"chunk-2d0e21be\":\"2978dc17\",\"chunk-2d0e22c4\":\"af14b832\",\"chunk-2d0e22c5\":\"302b4d79\",\"chunk-2d0e2353\":\"ca0c8709\",\"chunk-2d0e23cc\":\"1884ac34\",\"chunk-2d0e2735\":\"164cbb34\",\"chunk-2d0e278e\":\"74a6b7df\",\"chunk-2d0e28b2\":\"079418ec\",\"chunk-2d0e28f7\":\"c24dce9d\",\"chunk-2d0e2c59\":\"308d3cc5\",\"chunk-2d0e2c69\":\"28e15cd0\",\"chunk-2d0e2c85\":\"8a5e40aa\",\"chunk-2d0e2c86\":\"23e044ab\",\"chunk-2d0e44fe\":\"b42b2982\",\"chunk-2d0e48d1\":\"fca41fa8\",\"chunk-2d0e492b\":\"938961dc\",\"chunk-2d0e4ea0\":\"d5d2c1f2\",\"chunk-2d0e4f99\":\"46eff196\",\"chunk-2d0e5221\":\"2d3fa711\",\"chunk-2d0e5588\":\"e3f8faab\",\"chunk-2d0e55fd\":\"315faf69\",\"chunk-2d0e5797\":\"0ee6e7c3\",\"chunk-2d0e5b6f\":\"da97b392\",\"chunk-2d0e5ba2\":\"7273cc48\",\"chunk-2d0e5d35\":\"2b8aa5f9\",\"chunk-2d0e5ec7\":\"3fcfd859\",\"chunk-2d0e60ca\":\"cb8eb64e\",\"chunk-2d0e6100\":\"7400298d\",\"chunk-2d0e64c6\":\"0987798c\",\"chunk-2d0e64e6\":\"80519bf9\",\"chunk-2d0e6553\":\"939af140\",\"chunk-2d0e666b\":\"cf79f0f4\",\"chunk-2d0e66e7\":\"72cffca4\",\"chunk-2d0e6865\":\"53016ea5\",\"chunk-2d0e6c25\":\"e3eb5118\",\"chunk-2d0e8807\":\"2c83cbf4\",\"chunk-2d0e8c6f\":\"25a1068c\",\"chunk-2d0e8ce8\":\"d99bf8eb\",\"chunk-2d0e8e9b\":\"3d3cc42e\",\"chunk-2d0e8fc2\":\"5cf91609\",\"chunk-2d0e8fd5\":\"966496c2\",\"chunk-2d0e8ff4\":\"896bcca6\",\"chunk-2d0e9022\":\"3570a67d\",\"chunk-2d0e91df\":\"9b0a603c\",\"chunk-2d0e923e\":\"be030fb6\",\"chunk-2d0e93a6\":\"69190c63\",\"chunk-2d0e9440\":\"b4a41818\",\"chunk-2d0e9581\":\"4fe1419e\",\"chunk-2d0e96e7\":\"c4dcd35f\",\"chunk-2d0e979d\":\"955bb1f3\",\"chunk-2d0e9aaa\":\"b3ea23d7\",\"chunk-2d0e9b35\":\"2283b2d2\",\"chunk-2d0e9d22\":\"a25f7ad7\",\"chunk-2d0efc60\":\"35b7a711\",\"chunk-2d0efc62\":\"4bcb929d\",\"chunk-2d0efd88\":\"c80fda7f\",\"chunk-2d0f008e\":\"e492fa8d\",\"chunk-2d0f012c\":\"61c104b7\",\"chunk-2d0f024c\":\"ada91e21\",\"chunk-2d0f0254\":\"3a10f6ce\",\"chunk-2d0f0401\":\"02e698e2\",\"chunk-2d0f066d\":\"c7761b1e\",\"chunk-2d0f07a1\":\"9318fedb\",\"chunk-2d0f07c3\":\"24767d48\",\"chunk-2d0f08aa\":\"c0a9605c\",\"chunk-2d0f0a40\":\"c767ab6e\",\"chunk-2d0f0c11\":\"7e024646\",\"chunk-2d0f0f60\":\"145aa08a\",\"chunk-2d0f1011\":\"711f7da4\",\"chunk-2d0f1139\":\"e6e727ac\",\"chunk-2d0f1176\":\"92267245\",\"chunk-2d0f11b2\":\"2a021a72\",\"chunk-2d0f1552\":\"a50d8038\",\"chunk-2d0f158e\":\"0e31c6b0\",\"chunk-2d0f1592\":\"854de649\",\"chunk-2d0f15a4\":\"348c9b0c\",\"chunk-2d0f15c1\":\"22f2f351\",\"chunk-2d2073c0\":\"57e809df\",\"chunk-2d20770d\":\"2edeb350\",\"chunk-2d207aa9\":\"dae2b1da\",\"chunk-2d207acf\":\"26c44628\",\"chunk-2d207ba4\":\"83e6e62f\",\"chunk-2d207bd1\":\"ab28b4cc\",\"chunk-2d207d1c\":\"553b9256\",\"chunk-2d207f85\":\"3d3cbd27\",\"chunk-2d208279\":\"bf564bd6\",\"chunk-2d2082e7\":\"ccce8a46\",\"chunk-2d2082f8\":\"a419f415\",\"chunk-2d208335\":\"5b65981d\",\"chunk-2d208356\":\"84466824\",\"chunk-2d208458\":\"203d8637\",\"chunk-2d208477\":\"a374106e\",\"chunk-2d20867c\":\"cfd12b62\",\"chunk-2d20881f\":\"e65affca\",\"chunk-2d2089dc\":\"44e69c7f\",\"chunk-2d2089e1\":\"c73ee0d3\",\"chunk-2d208a88\":\"4269d8a6\",\"chunk-2d208c2d\":\"80b37407\",\"chunk-2d208c49\":\"35d0a0d8\",\"chunk-2d208d70\":\"996e8b24\",\"chunk-2d208d75\":\"5706ee01\",\"chunk-2d208e86\":\"437749e0\",\"chunk-2d209019\":\"9e436006\",\"chunk-2d209029\":\"e87f9a48\",\"chunk-2d20912d\":\"d77c0427\",\"chunk-2d20954c\":\"fbc5af4f\",\"chunk-2d209553\":\"55f6906d\",\"chunk-2d20971c\":\"27d6e19d\",\"chunk-2d209782\":\"673bbaa3\",\"chunk-2d209b01\":\"de0c02ff\",\"chunk-2d209b81\":\"67aad1db\",\"chunk-2d20e7a4\":\"49c33fb4\",\"chunk-2d20e873\":\"d5a2117c\",\"chunk-2d20eb78\":\"3dae0194\",\"chunk-2d20eb97\":\"0d53c80c\",\"chunk-2d20ebc9\":\"55531b5c\",\"chunk-2d20ec44\":\"6a963a72\",\"chunk-2d20ede4\":\"c1df5cdc\",\"chunk-2d20ede7\":\"21d8eb7a\",\"chunk-2d20ef48\":\"2131b3c8\",\"chunk-2d20ef68\":\"1ec88122\",\"chunk-2d20f012\":\"a55dc17c\",\"chunk-2d20f1c6\":\"0399f9e4\",\"chunk-2d20f1d7\":\"5cc553cb\",\"chunk-2d20f30a\":\"6e4faa09\",\"chunk-2d20f529\":\"01145050\",\"chunk-2d20f71b\":\"cf52460f\",\"chunk-2d20f793\":\"04266c99\",\"chunk-2d20f8bf\":\"0b7751ed\",\"chunk-2d20f91a\":\"f583474b\",\"chunk-2d20faeb\":\"db90fbbd\",\"chunk-2d20fafa\":\"17f59497\",\"chunk-2d20fb16\":\"0efe52da\",\"chunk-2d20fd07\":\"5048fbe4\",\"chunk-2d20fe40\":\"223c0550\",\"chunk-2d20fe5e\":\"bf720684\",\"chunk-2d210089\":\"9756c0ce\",\"chunk-2d2101f1\":\"b321034f\",\"chunk-2d21029c\":\"2d914366\",\"chunk-2d21043a\":\"920b17e6\",\"chunk-2d21058f\":\"def3e164\",\"chunk-2d21060d\":\"a5c5c5e9\",\"chunk-2d21064b\":\"ed4f9e00\",\"chunk-2d2106d6\":\"7cb7d89f\",\"chunk-2d21097e\":\"4d655b6c\",\"chunk-2d2109ab\":\"d7cb8923\",\"chunk-2d210a08\":\"917add3e\",\"chunk-2d210a2d\":\"009068d3\",\"chunk-2d210a38\":\"2a186ff6\",\"chunk-2d210b7d\":\"d52f3d3b\",\"chunk-2d212b3d\":\"f2ce28de\",\"chunk-2d212f3b\":\"03356fe1\",\"chunk-2d212f48\":\"6bea6a2e\",\"chunk-2d212fb7\":\"9d57b263\",\"chunk-2d213001\":\"ccb3ba1a\",\"chunk-2d21312b\":\"7e63c326\",\"chunk-2d213157\":\"e2e204b8\",\"chunk-2d213168\":\"0f61d67a\",\"chunk-2d2132a0\":\"f3570a25\",\"chunk-2d21331a\":\"aadeeaee\",\"chunk-2d213375\":\"e7a0d787\",\"chunk-2d213392\":\"599bae15\",\"chunk-2d213399\":\"9553d305\",\"chunk-2d2134ee\":\"25b280dc\",\"chunk-2d2136f6\":\"d35c2326\",\"chunk-2d2138b9\":\"986becf8\",\"chunk-2d213a5d\":\"94b017ca\",\"chunk-2d213abb\":\"54952d33\",\"chunk-2d213cca\":\"297db8c7\",\"chunk-2d213e0d\":\"7551296a\",\"chunk-2d213e21\":\"736802d7\",\"chunk-2d213e2c\":\"e57bcc26\",\"chunk-2d213e98\":\"54798760\",\"chunk-2d213ef4\":\"6f5e9bd9\",\"chunk-2d21406c\":\"1816cc20\",\"chunk-2d2140a4\":\"ac385115\",\"chunk-2d2140a7\":\"193014cb\",\"chunk-2d2140b8\":\"fdbbde02\",\"chunk-2d2140d8\":\"918b7881\",\"chunk-2d214477\":\"560ef91d\",\"chunk-2d215c83\":\"c0e1acbf\",\"chunk-2d215cc0\":\"53884243\",\"chunk-2d215cfd\":\"5a16bd0f\",\"chunk-2d215fc6\":\"c6f38ff9\",\"chunk-2d215fd6\":\"571e472b\",\"chunk-2d21607d\":\"faea12e1\",\"chunk-2d2160a1\":\"4f0e3c7e\",\"chunk-2d2160cd\":\"fd95996e\",\"chunk-2d216238\":\"cda38dcb\",\"chunk-2d2163b5\":\"c345c9f2\",\"chunk-2d2163c8\":\"b4445065\",\"chunk-2d21641f\":\"1dd4588f\",\"chunk-2d21679a\":\"10bb5830\",\"chunk-2d2167a3\":\"e874c5fb\",\"chunk-2d2169b8\":\"5864eaf8\",\"chunk-2d2169e6\":\"29fb97c1\",\"chunk-2d216b59\":\"f5699fe5\",\"chunk-2d216d38\":\"a92172e3\",\"chunk-2d216d66\":\"908ef010\",\"chunk-2d216da4\":\"d2b22f2a\",\"chunk-2d216de1\":\"2c274e28\",\"chunk-2d216f64\":\"9f06bd87\",\"chunk-2d216f74\":\"ecc55305\",\"chunk-2d216ff0\":\"fad0c0a5\",\"chunk-2d2172e6\":\"cd117a58\",\"chunk-2d2176ec\":\"1e32bfc2\",\"chunk-2d2178d5\":\"9531fe85\",\"chunk-2d217aca\":\"45687642\",\"chunk-2d217c76\":\"e728d763\",\"chunk-2d21839c\":\"8cb281e8\",\"chunk-2d2183ce\":\"88e2dfe7\",\"chunk-2d219fb6\":\"5f08cac0\",\"chunk-2d21a06d\":\"02082da0\",\"chunk-2d21a375\":\"704c6a0d\",\"chunk-2d21a451\":\"6f58cd07\",\"chunk-2d21a462\":\"128bfca6\",\"chunk-2d21a589\":\"e7743ba4\",\"chunk-2d21a719\":\"0c100525\",\"chunk-2d21a840\":\"11295d8a\",\"chunk-2d21a9a4\":\"73bfc90c\",\"chunk-2d21a9a5\":\"85d4f23f\",\"chunk-2d21ab17\":\"5f871883\",\"chunk-2d21ab28\":\"d0b6c7df\",\"chunk-2d21abc4\":\"adb83ae2\",\"chunk-2d21ad29\":\"e41135ff\",\"chunk-2d21ad45\":\"72cf11c8\",\"chunk-2d21ad79\":\"07505d27\",\"chunk-2d21aeae\":\"092b86ab\",\"chunk-2d21af47\":\"9e3003c7\",\"chunk-2d21b0ed\":\"d3edfbca\",\"chunk-2d21b2f8\":\"f5372373\",\"chunk-2d21b46c\":\"63b9be86\",\"chunk-2d21d0b4\":\"ef30aee1\",\"chunk-2d21d0d1\":\"f122e59b\",\"chunk-2d21d0e1\":\"37c168c7\",\"chunk-2d21d482\":\"eb020ea2\",\"chunk-2d21d4a3\":\"6be9f497\",\"chunk-2d21d4cf\":\"357b19e8\",\"chunk-2d21d6a4\":\"a1e12f53\",\"chunk-2d21d837\":\"633497f2\",\"chunk-2d21d838\":\"f2541053\",\"chunk-2d21d854\":\"91f3726d\",\"chunk-2d21d857\":\"8f3b397b\",\"chunk-2d21d872\":\"18ea28bc\",\"chunk-2d21db89\":\"6f83ba96\",\"chunk-2d21dba8\":\"63786b49\",\"chunk-2d21dbe6\":\"fc86084e\",\"chunk-2d21e024\":\"8e6099ea\",\"chunk-2d21e044\":\"9e23162c\",\"chunk-2d21e202\":\"93856f34\",\"chunk-2d21e577\":\"f5b6f951\",\"chunk-2d21e589\":\"b6ba00f3\",\"chunk-2d21e7c3\":\"c6ede4fe\",\"chunk-2d21e810\":\"e6fb5b25\",\"chunk-2d21e948\":\"33356e3e\",\"chunk-2d21eaac\":\"07641665\",\"chunk-2d21eb2b\":\"7be43047\",\"chunk-2d21ece8\":\"62432f3e\",\"chunk-2d21ed0b\":\"09386fe2\",\"chunk-2d21ed2a\":\"a3625e1d\",\"chunk-2d21ed36\":\"58fd59a2\",\"chunk-2d21ef29\":\"fe8f2f6d\",\"chunk-2d21f09c\":\"39a7a40c\",\"chunk-2d21f0f4\":\"b63ccebe\",\"chunk-2d21f0f6\":\"b7a74d8f\",\"chunk-2d21f10a\":\"94c94898\",\"chunk-2d21f125\":\"127c856f\",\"chunk-2d21f20b\":\"24baac73\",\"chunk-2d21f4ba\":\"f835301f\",\"chunk-2d21f83a\":\"0f43a950\",\"chunk-2d21f84e\":\"8e6b3f82\",\"chunk-2d21f89b\":\"ed60b5d0\",\"chunk-2d2217dc\":\"c0ed4e9d\",\"chunk-2d2219e4\":\"a4227cb6\",\"chunk-2d2219e5\":\"14f3ff12\",\"chunk-2d221b7a\":\"002c980b\",\"chunk-2d221c07\":\"06f6af35\",\"chunk-2d221c32\":\"d58a46fd\",\"chunk-2d221c33\":\"6b2ddd05\",\"chunk-2d221c71\":\"ffb9f57b\",\"chunk-2d221dd9\":\"cfe9a297\",\"chunk-2d221e01\":\"6ec6acc3\",\"chunk-2d2221e9\":\"e32fdd8f\",\"chunk-2d22230a\":\"c327c5f4\",\"chunk-2d222509\":\"ac2b6ac4\",\"chunk-2d2225b6\":\"b184d2eb\",\"chunk-2d2225d7\":\"66f567b9\",\"chunk-2d2226a1\":\"7599cdf8\",\"chunk-2d22273d\":\"f5788311\",\"chunk-2d2227b0\":\"31389e30\",\"chunk-2d2227e3\":\"d989fda8\",\"chunk-2d222d18\":\"c80b767f\",\"chunk-2d2248b7\":\"9751cf14\",\"chunk-2d2248e7\":\"872fada3\",\"chunk-2d224b04\":\"18378b81\",\"chunk-2d224c44\":\"60e4816a\",\"chunk-2d224eae\":\"85a51eed\",\"chunk-2d224eee\":\"82d05518\",\"chunk-2d22509e\":\"3d8e85a6\",\"chunk-2d225403\":\"d874d263\",\"chunk-2d225425\":\"89445afc\",\"chunk-2d2254b4\":\"0d10870d\",\"chunk-2d2254d2\":\"46b41bd9\",\"chunk-2d225611\":\"892d004e\",\"chunk-2d225b28\":\"edf72c12\",\"chunk-2d225be1\":\"a4dfc602\",\"chunk-2d225d76\":\"82248760\",\"chunk-2d225f07\":\"a9185aaf\",\"chunk-2d225f45\":\"6cdea4f8\",\"chunk-2d225f76\":\"85e74456\",\"chunk-2d226003\":\"c1e4ad17\",\"chunk-2d22614c\":\"7bd1be16\",\"chunk-2d226199\":\"da9eb8f3\",\"chunk-2d226319\":\"7cd3937f\",\"chunk-2d226365\":\"aa13dbc8\",\"chunk-2d226519\":\"ac504555\",\"chunk-2d22653b\":\"acfd9e67\",\"chunk-2d22653c\":\"47f00351\",\"chunk-2d226707\":\"b8e2d21e\",\"chunk-2d22678a\":\"22e46706\",\"chunk-2d226797\":\"d308b1c3\",\"chunk-2d2268fc\":\"b7742fc2\",\"chunk-2d226c5e\":\"e93df216\",\"chunk-2d226c7a\":\"ac3d82f9\",\"chunk-2d226cf7\":\"d74c1ade\",\"chunk-2d228950\":\"f51b7742\",\"chunk-2d22895d\":\"6d1c83fd\",\"chunk-2d228cf4\":\"984ffb43\",\"chunk-2d228d1e\":\"b8efc99b\",\"chunk-2d2292b4\":\"54ad6587\",\"chunk-2d2293ab\":\"57d6aee8\",\"chunk-2d229453\":\"e72e6e7f\",\"chunk-2d229472\":\"412ed10d\",\"chunk-2d229617\":\"1c292198\",\"chunk-2d22976b\":\"e6ce4f1c\",\"chunk-2d2299f7\":\"43f9551e\",\"chunk-2d229af8\":\"af10342c\",\"chunk-2d229ba9\":\"add8d5d4\",\"chunk-2d229bd4\":\"cd18e679\",\"chunk-2d229c43\":\"7ef08d81\",\"chunk-2d229da2\":\"41f34434\",\"chunk-2d229db5\":\"cdbc46d0\",\"chunk-2d22a127\":\"edeb87c2\",\"chunk-2d22b900\":\"11287cf7\",\"chunk-2d22b9d1\":\"015f651e\",\"chunk-2d22b9db\":\"608ea376\",\"chunk-2d22bce8\":\"39c58165\",\"chunk-2d22bd41\":\"3e863bf9\",\"chunk-2d22bf72\":\"d76e226f\",\"chunk-2d22bf9f\":\"7c7d4499\",\"chunk-2d22c0f1\":\"8b29f3dc\",\"chunk-2d22c111\":\"4f7c7424\",\"chunk-2d22c32c\":\"dfce32a7\",\"chunk-2d22c4b6\":\"1b9d4675\",\"chunk-2d22c4f4\":\"6e7451aa\",\"chunk-2d22c678\":\"311a2161\",\"chunk-2d22c902\":\"b2f5c212\",\"chunk-2d22ce24\":\"d8e32822\",\"chunk-2d22cfad\":\"1467e7c6\",\"chunk-2d22d029\":\"85f3c813\",\"chunk-2d22d041\":\"aac308b0\",\"chunk-2d22d1bd\":\"4ad77c67\",\"chunk-2d22d3ca\":\"19face93\",\"chunk-2d22d454\":\"f6b6a341\",\"chunk-2d22d5da\":\"cebff0d1\",\"chunk-2d22d5f6\":\"f05979ef\",\"chunk-2d22d75d\":\"c86dfcbd\",\"chunk-2d22d9c8\":\"0de11b07\",\"chunk-2d22dae9\":\"85052140\",\"chunk-2d22daeb\":\"e6f4bfe9\",\"chunk-2d22db2d\":\"3415a97e\",\"chunk-2d22dbf4\":\"60b24d43\",\"chunk-2d22dbf7\":\"20b292d3\",\"chunk-2d22ddc8\":\"5f6db1ea\",\"chunk-2d22fcd7\":\"43233249\",\"chunk-2d22fd32\":\"53b880e5\",\"chunk-2d22fddb\":\"f1690b55\",\"chunk-2d2300a6\":\"7bfd8af6\",\"chunk-2d2300b7\":\"9ccc9c07\",\"chunk-2d2302fe\":\"b9f235f2\",\"chunk-2d23034f\":\"857743ee\",\"chunk-2d230446\":\"ed6db153\",\"chunk-2d2304c2\":\"db3ff09e\",\"chunk-2d2304d7\":\"5eca493b\",\"chunk-2d2306f3\":\"b5c0a9e3\",\"chunk-2d2307d6\":\"ef68912a\",\"chunk-2d2307fc\":\"6b717b1d\",\"chunk-2d230859\":\"27363336\",\"chunk-2d230a04\":\"e4993331\",\"chunk-2d230beb\":\"c5bba53d\",\"chunk-2d230dcc\":\"62338dfa\",\"chunk-2d230e34\":\"a8940bf7\",\"chunk-2d230e5f\":\"01e7c81b\",\"chunk-2d230e76\":\"215b87df\",\"chunk-2d2310a2\":\"51756b18\",\"chunk-2d2311aa\":\"a2c280a3\",\"chunk-2d2315d8\":\"85dc7b6f\",\"chunk-2d237144\":\"b06b4c8d\",\"chunk-2d2371ea\":\"68a801fc\",\"chunk-2d237239\":\"959cb01b\",\"chunk-2d237745\":\"46ca8758\",\"chunk-2d23775e\":\"084fa5fa\",\"chunk-2d237893\":\"981c55bd\",\"chunk-2d2378b4\":\"cde7a6c4\",\"chunk-2d237943\":\"6f3ee173\",\"chunk-2d237970\":\"b7a375a7\",\"chunk-2d237cc6\":\"0309a205\",\"chunk-2d237eb7\":\"002f8741\",\"chunk-2d237ed6\":\"b1e445a6\",\"chunk-2d237ee7\":\"9205af02\",\"chunk-2d23803a\":\"e3442ef8\",\"chunk-2d238054\":\"23330449\",\"chunk-2d238099\":\"05f80ce0\",\"chunk-2d2389e7\":\"ffa23f49\",\"chunk-2d238a21\":\"5f1bc592\",\"chunk-74531d85\":\"ed102e76\",\"chunk-7453a4f7\":\"045393b1\",\"chunk-74544624\":\"51ffb682\",\"chunk-745fdff8\":\"524157fd\",\"chunk-74929b8f\":\"262c7f50\",\"chunk-76ee6af4\":\"abd712ff\",\"chunk-77003cfb\":\"a4276c89\",\"chunk-7720e93a\":\"19a9fd1b\",\"chunk-774c8a8f\":\"dd65cc61\",\"maeu-css\":\"27d97134\",\"seau-css\":\"25f7b11e\",\"view-accessError-vue\":\"6f9af521\",\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\":\"61fa1061\",\"view-cancelBooking-vue\":\"82f8735a\",\"view-changeOfDestination-vue\":\"6faff8a4\",\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\":\"001b52b8\",\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-sailings-vue~view-vasView-vue\":\"20f64d11\",\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-vasView-vue\":\"6b62cedd\",\"view-additionalDetails-vue\":\"4027bec0\",\"view-od3cp\":\"d13473e8\",\"view-review-vue\":\"84883460\",\"view-vasView-vue\":\"dd94e724\",\"view-featureFlagSettings-vue\":\"7baf3556\",\"view-confirmation-vue~view-sailings-vue\":\"23c4f766\",\"view-sailings-vue\":\"056e71eb\",\"view-confirmation-vue\":\"1e846bc8\",\"chunk-01417aa9\":\"390f0f34\",\"chunk-0d7b9c31\":\"2b8f9d19\",\"chunk-2d0c51ea\":\"6dfb7522\",\"chunk-2d20f194\":\"2e7dccf3\",\"chunk-73ab63aa\":\"25aa0299\",\"chunk-9f5e8d22\":\"3435cb30\",\"chunk-c6cda442\":\"7d822aad\",\"chunk-fcf43466\":\"7d33dc46\",\"chunk-09d33e22\":\"5e59c5f7\",\"chunk-2c27f7b8\":\"b8f4f152\",\"chunk-5255aa04\":\"0676027b\",\"chunk-6605b0f3\":\"8b8b0ee8\",\"chunk-bcd017e0\":\"91f28fe1\",\"chunk-c856f53c\":\"adc471ce\",\"chunk-d8870646\":\"9021eb0e\",\"chunk-e1369732\":\"4e6854ba\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"maeu-css\":1,\"seau-css\":1,\"view-featureFlagSettings-vue\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({\"maeu-css\":\"maeu-css\",\"seau-css\":\"seau-css\",\"view-accessError-vue\":\"view-accessError-vue\",\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\":\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\",\"view-cancelBooking-vue\":\"view-cancelBooking-vue\",\"view-changeOfDestination-vue\":\"view-changeOfDestination-vue\",\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\":\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\",\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-sailings-vue~view-vasView-vue\":\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-sailings-vue~view-vasView-vue\",\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-vasView-vue\":\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-vasView-vue\",\"view-additionalDetails-vue\":\"view-additionalDetails-vue\",\"view-od3cp\":\"view-od3cp\",\"view-review-vue\":\"view-review-vue\",\"view-vasView-vue\":\"view-vasView-vue\",\"view-featureFlagSettings-vue\":\"view-featureFlagSettings-vue\",\"view-confirmation-vue~view-sailings-vue\":\"view-confirmation-vue~view-sailings-vue\",\"view-sailings-vue\":\"view-sailings-vue\",\"view-confirmation-vue\":\"view-confirmation-vue\"}[chunkId]||chunkId) + \".\" + {\"chunk-2d0a30b7\":\"31d6cfe0\",\"chunk-2d0a30fd\":\"31d6cfe0\",\"chunk-2d0a31d4\":\"31d6cfe0\",\"chunk-2d0a32ea\":\"31d6cfe0\",\"chunk-2d0a334b\":\"31d6cfe0\",\"chunk-2d0a3389\":\"31d6cfe0\",\"chunk-2d0a33b6\":\"31d6cfe0\",\"chunk-2d0a34e8\":\"31d6cfe0\",\"chunk-2d0a387c\":\"31d6cfe0\",\"chunk-2d0a4075\":\"31d6cfe0\",\"chunk-2d0a40d9\":\"31d6cfe0\",\"chunk-2d0a4657\":\"31d6cfe0\",\"chunk-2d0a476e\":\"31d6cfe0\",\"chunk-2d0a499f\":\"31d6cfe0\",\"chunk-2d0a49fb\":\"31d6cfe0\",\"chunk-2d0a4b23\":\"31d6cfe0\",\"chunk-2d0a4beb\":\"31d6cfe0\",\"chunk-2d0a4d8c\":\"31d6cfe0\",\"chunk-2d0a4dbb\":\"31d6cfe0\",\"chunk-2d0a4dde\":\"31d6cfe0\",\"chunk-2d0a4f8d\":\"31d6cfe0\",\"chunk-2d0a4f9d\":\"31d6cfe0\",\"chunk-2d0a54e2\":\"31d6cfe0\",\"chunk-2d0aa17a\":\"31d6cfe0\",\"chunk-2d0aa20f\":\"31d6cfe0\",\"chunk-2d0aa214\":\"31d6cfe0\",\"chunk-2d0aa539\":\"31d6cfe0\",\"chunk-2d0aa576\":\"31d6cfe0\",\"chunk-2d0aa796\":\"31d6cfe0\",\"chunk-2d0aa959\":\"31d6cfe0\",\"chunk-2d0aa9a5\":\"31d6cfe0\",\"chunk-2d0aa9b0\":\"31d6cfe0\",\"chunk-2d0aab46\":\"31d6cfe0\",\"chunk-2d0aaba1\":\"31d6cfe0\",\"chunk-2d0aadc2\":\"31d6cfe0\",\"chunk-2d0ab08b\":\"31d6cfe0\",\"chunk-2d0ab2c8\":\"31d6cfe0\",\"chunk-2d0ab327\":\"31d6cfe0\",\"chunk-2d0ab41a\":\"31d6cfe0\",\"chunk-2d0ab48d\":\"31d6cfe0\",\"chunk-2d0ab512\":\"31d6cfe0\",\"chunk-2d0ab546\":\"31d6cfe0\",\"chunk-2d0ab562\":\"31d6cfe0\",\"chunk-2d0ab6a5\":\"31d6cfe0\",\"chunk-2d0ab923\":\"31d6cfe0\",\"chunk-2d0aba0b\":\"31d6cfe0\",\"chunk-2d0aba69\":\"31d6cfe0\",\"chunk-2d0aba85\":\"31d6cfe0\",\"chunk-2d0abcb4\":\"31d6cfe0\",\"chunk-2d0abce9\":\"31d6cfe0\",\"chunk-2d0abe7a\":\"31d6cfe0\",\"chunk-2d0ac00e\":\"31d6cfe0\",\"chunk-2d0ac3da\":\"31d6cfe0\",\"chunk-2d0ac435\":\"31d6cfe0\",\"chunk-2d0ae557\":\"31d6cfe0\",\"chunk-2d0ae997\":\"31d6cfe0\",\"chunk-2d0ae9a7\":\"31d6cfe0\",\"chunk-2d0aeb72\":\"31d6cfe0\",\"chunk-2d0aeb88\":\"31d6cfe0\",\"chunk-2d0aec69\":\"31d6cfe0\",\"chunk-2d0aecd8\":\"31d6cfe0\",\"chunk-2d0aee9e\":\"31d6cfe0\",\"chunk-2d0aeef6\":\"31d6cfe0\",\"chunk-2d0aef17\":\"31d6cfe0\",\"chunk-2d0aef29\":\"31d6cfe0\",\"chunk-2d0af07e\":\"31d6cfe0\",\"chunk-2d0af0bb\":\"31d6cfe0\",\"chunk-2d0af173\":\"31d6cfe0\",\"chunk-2d0af2f9\":\"31d6cfe0\",\"chunk-2d0af4ae\":\"31d6cfe0\",\"chunk-2d0af4cb\":\"31d6cfe0\",\"chunk-2d0af80d\":\"31d6cfe0\",\"chunk-2d0afe2d\":\"31d6cfe0\",\"chunk-2d0b15f7\":\"31d6cfe0\",\"chunk-2d0b1a76\":\"31d6cfe0\",\"chunk-2d0b1be8\":\"31d6cfe0\",\"chunk-2d0b1c17\":\"31d6cfe0\",\"chunk-2d0b1de3\":\"31d6cfe0\",\"chunk-2d0b1fe5\":\"31d6cfe0\",\"chunk-2d0b1fe6\":\"31d6cfe0\",\"chunk-2d0b215b\":\"31d6cfe0\",\"chunk-2d0b232e\":\"31d6cfe0\",\"chunk-2d0b23a2\":\"31d6cfe0\",\"chunk-2d0b2516\":\"31d6cfe0\",\"chunk-2d0b2539\":\"31d6cfe0\",\"chunk-2d0b2758\":\"31d6cfe0\",\"chunk-2d0b278a\":\"31d6cfe0\",\"chunk-2d0b28e9\":\"31d6cfe0\",\"chunk-2d0b294a\":\"31d6cfe0\",\"chunk-2d0b2b47\":\"31d6cfe0\",\"chunk-2d0b2b78\":\"31d6cfe0\",\"chunk-2d0b2eaf\":\"31d6cfe0\",\"chunk-2d0b2ee6\":\"31d6cfe0\",\"chunk-2d0b2eeb\":\"31d6cfe0\",\"chunk-2d0b3030\":\"31d6cfe0\",\"chunk-2d0b308a\":\"31d6cfe0\",\"chunk-2d0b326c\":\"31d6cfe0\",\"chunk-2d0b33fd\":\"31d6cfe0\",\"chunk-2d0b3421\":\"31d6cfe0\",\"chunk-2d0b3495\":\"31d6cfe0\",\"chunk-2d0b366d\":\"31d6cfe0\",\"chunk-2d0b3821\":\"31d6cfe0\",\"chunk-2d0b387d\":\"31d6cfe0\",\"chunk-2d0b3899\":\"31d6cfe0\",\"chunk-2d0b389a\":\"31d6cfe0\",\"chunk-2d0b39ce\":\"31d6cfe0\",\"chunk-2d0b3a30\":\"31d6cfe0\",\"chunk-2d0b59cb\":\"31d6cfe0\",\"chunk-2d0b59e5\":\"31d6cfe0\",\"chunk-2d0b5d99\":\"31d6cfe0\",\"chunk-2d0b5e23\":\"31d6cfe0\",\"chunk-2d0b615a\":\"31d6cfe0\",\"chunk-2d0b6168\":\"31d6cfe0\",\"chunk-2d0b6199\":\"31d6cfe0\",\"chunk-2d0b637a\":\"31d6cfe0\",\"chunk-2d0b64db\":\"31d6cfe0\",\"chunk-2d0b64ee\":\"31d6cfe0\",\"chunk-2d0b650e\":\"31d6cfe0\",\"chunk-2d0b65b5\":\"31d6cfe0\",\"chunk-2d0b686a\":\"31d6cfe0\",\"chunk-2d0b6907\":\"31d6cfe0\",\"chunk-2d0b6c30\":\"31d6cfe0\",\"chunk-2d0b726d\":\"31d6cfe0\",\"chunk-2d0b8ad1\":\"31d6cfe0\",\"chunk-2d0b8b2f\":\"31d6cfe0\",\"chunk-2d0b8e27\":\"31d6cfe0\",\"chunk-2d0b9009\":\"31d6cfe0\",\"chunk-2d0b9075\":\"31d6cfe0\",\"chunk-2d0b91db\":\"31d6cfe0\",\"chunk-2d0b9294\":\"31d6cfe0\",\"chunk-2d0b92a3\":\"31d6cfe0\",\"chunk-2d0b92b1\":\"31d6cfe0\",\"chunk-2d0b9429\":\"31d6cfe0\",\"chunk-2d0b9432\":\"31d6cfe0\",\"chunk-2d0b95d6\":\"31d6cfe0\",\"chunk-2d0b95f8\":\"31d6cfe0\",\"chunk-2d0b9788\":\"31d6cfe0\",\"chunk-2d0b978c\":\"31d6cfe0\",\"chunk-2d0b9833\":\"31d6cfe0\",\"chunk-2d0b9836\":\"31d6cfe0\",\"chunk-2d0b994d\":\"31d6cfe0\",\"chunk-2d0b9d2d\":\"31d6cfe0\",\"chunk-2d0b9df5\":\"31d6cfe0\",\"chunk-2d0b9f27\":\"31d6cfe0\",\"chunk-2d0b9f2c\":\"31d6cfe0\",\"chunk-2d0ba0ca\":\"31d6cfe0\",\"chunk-2d0ba197\":\"31d6cfe0\",\"chunk-2d0ba4b7\":\"31d6cfe0\",\"chunk-2d0ba508\":\"31d6cfe0\",\"chunk-2d0ba6d8\":\"31d6cfe0\",\"chunk-2d0ba72a\":\"31d6cfe0\",\"chunk-2d0ba88d\":\"31d6cfe0\",\"chunk-2d0ba91b\":\"31d6cfe0\",\"chunk-2d0ba948\":\"31d6cfe0\",\"chunk-2d0bacbe\":\"31d6cfe0\",\"chunk-2d0bae2e\":\"31d6cfe0\",\"chunk-2d0bae98\":\"31d6cfe0\",\"chunk-2d0bb1cc\":\"31d6cfe0\",\"chunk-2d0bb231\":\"31d6cfe0\",\"chunk-2d0bb27d\":\"31d6cfe0\",\"chunk-2d0bcda7\":\"31d6cfe0\",\"chunk-2d0bcdab\":\"31d6cfe0\",\"chunk-2d0bced3\":\"31d6cfe0\",\"chunk-2d0bd1d8\":\"31d6cfe0\",\"chunk-2d0bd284\":\"31d6cfe0\",\"chunk-2d0bd3d7\":\"31d6cfe0\",\"chunk-2d0bd52f\":\"31d6cfe0\",\"chunk-2d0bd55d\":\"31d6cfe0\",\"chunk-2d0bd653\":\"31d6cfe0\",\"chunk-2d0bd8ee\":\"31d6cfe0\",\"chunk-2d0bdb3c\":\"31d6cfe0\",\"chunk-2d0bdcc8\":\"31d6cfe0\",\"chunk-2d0bddb3\":\"31d6cfe0\",\"chunk-2d0bdf7b\":\"31d6cfe0\",\"chunk-2d0be33b\":\"31d6cfe0\",\"chunk-2d0c0269\":\"31d6cfe0\",\"chunk-2d0c0302\":\"31d6cfe0\",\"chunk-2d0c0361\":\"31d6cfe0\",\"chunk-2d0c0481\":\"31d6cfe0\",\"chunk-2d0c0ae3\":\"31d6cfe0\",\"chunk-2d0c0c92\":\"31d6cfe0\",\"chunk-2d0c0e1a\":\"31d6cfe0\",\"chunk-2d0c0faa\":\"31d6cfe0\",\"chunk-2d0c1175\":\"31d6cfe0\",\"chunk-2d0c13aa\":\"31d6cfe0\",\"chunk-2d0c13e7\":\"31d6cfe0\",\"chunk-2d0c1577\":\"31d6cfe0\",\"chunk-2d0c15c7\":\"31d6cfe0\",\"chunk-2d0c1607\":\"31d6cfe0\",\"chunk-2d0c174a\":\"31d6cfe0\",\"chunk-2d0c18dd\":\"31d6cfe0\",\"chunk-2d0c18f7\":\"31d6cfe0\",\"chunk-2d0c1979\":\"31d6cfe0\",\"chunk-2d0c1999\":\"31d6cfe0\",\"chunk-2d0c1c9f\":\"31d6cfe0\",\"chunk-2d0c1cd8\":\"31d6cfe0\",\"chunk-2d0c1d53\":\"31d6cfe0\",\"chunk-2d0c20af\":\"31d6cfe0\",\"chunk-2d0c42d0\":\"31d6cfe0\",\"chunk-2d0c4615\":\"31d6cfe0\",\"chunk-2d0c467f\":\"31d6cfe0\",\"chunk-2d0c46d0\":\"31d6cfe0\",\"chunk-2d0c47f6\":\"31d6cfe0\",\"chunk-2d0c4886\":\"31d6cfe0\",\"chunk-2d0c4a71\":\"31d6cfe0\",\"chunk-2d0c4c46\":\"31d6cfe0\",\"chunk-2d0c4c50\":\"31d6cfe0\",\"chunk-2d0c4c80\":\"31d6cfe0\",\"chunk-2d0c4dab\":\"31d6cfe0\",\"chunk-2d0c4df6\":\"31d6cfe0\",\"chunk-2d0c4e21\":\"31d6cfe0\",\"chunk-2d0c4fca\":\"31d6cfe0\",\"chunk-2d0c4fd2\":\"31d6cfe0\",\"chunk-2d0c4fe5\":\"31d6cfe0\",\"chunk-2d0c5148\":\"31d6cfe0\",\"chunk-2d0c54cb\":\"31d6cfe0\",\"chunk-2d0c551a\":\"31d6cfe0\",\"chunk-2d0c551b\":\"31d6cfe0\",\"chunk-2d0c5566\":\"31d6cfe0\",\"chunk-2d0c55d8\":\"31d6cfe0\",\"chunk-2d0c579a\":\"31d6cfe0\",\"chunk-2d0c5aba\":\"31d6cfe0\",\"chunk-2d0c5ade\":\"31d6cfe0\",\"chunk-2d0c7383\":\"31d6cfe0\",\"chunk-2d0c772e\":\"31d6cfe0\",\"chunk-2d0c773f\":\"31d6cfe0\",\"chunk-2d0c7760\":\"31d6cfe0\",\"chunk-2d0c778d\":\"31d6cfe0\",\"chunk-2d0c796d\":\"31d6cfe0\",\"chunk-2d0c7ad8\":\"31d6cfe0\",\"chunk-2d0c7b00\":\"31d6cfe0\",\"chunk-2d0c7b01\":\"31d6cfe0\",\"chunk-2d0c7b34\":\"31d6cfe0\",\"chunk-2d0c7e55\":\"31d6cfe0\",\"chunk-2d0c7ef2\":\"31d6cfe0\",\"chunk-2d0c7f04\":\"31d6cfe0\",\"chunk-2d0c80a8\":\"31d6cfe0\",\"chunk-2d0c80be\":\"31d6cfe0\",\"chunk-2d0c8225\":\"31d6cfe0\",\"chunk-2d0c8238\":\"31d6cfe0\",\"chunk-2d0c8286\":\"31d6cfe0\",\"chunk-2d0c8301\":\"31d6cfe0\",\"chunk-2d0c8848\":\"31d6cfe0\",\"chunk-2d0c8a17\":\"31d6cfe0\",\"chunk-2d0c8a25\":\"31d6cfe0\",\"chunk-2d0c8a35\":\"31d6cfe0\",\"chunk-2d0c8a73\":\"31d6cfe0\",\"chunk-2d0c8a77\":\"31d6cfe0\",\"chunk-2d0c8d95\":\"31d6cfe0\",\"chunk-2d0c8d9b\":\"31d6cfe0\",\"chunk-2d0c8e17\":\"31d6cfe0\",\"chunk-2d0c917a\":\"31d6cfe0\",\"chunk-2d0c91f0\":\"31d6cfe0\",\"chunk-2d0c936b\":\"31d6cfe0\",\"chunk-2d0c93b4\":\"31d6cfe0\",\"chunk-2d0c96ee\":\"31d6cfe0\",\"chunk-2d0c971c\":\"31d6cfe0\",\"chunk-2d0c9748\":\"31d6cfe0\",\"chunk-2d0cbb0f\":\"31d6cfe0\",\"chunk-2d0cbded\":\"31d6cfe0\",\"chunk-2d0cbeb4\":\"31d6cfe0\",\"chunk-2d0cc1d7\":\"31d6cfe0\",\"chunk-2d0cc1d8\":\"31d6cfe0\",\"chunk-2d0cc20a\":\"31d6cfe0\",\"chunk-2d0cc237\":\"31d6cfe0\",\"chunk-2d0cc2d3\":\"31d6cfe0\",\"chunk-2d0cc467\":\"31d6cfe0\",\"chunk-2d0cc5f8\":\"31d6cfe0\",\"chunk-2d0cc649\":\"31d6cfe0\",\"chunk-2d0cc79c\":\"31d6cfe0\",\"chunk-2d0cc812\":\"31d6cfe0\",\"chunk-2d0cc843\":\"31d6cfe0\",\"chunk-2d0cc98c\":\"31d6cfe0\",\"chunk-2d0cc9da\":\"31d6cfe0\",\"chunk-2d0cca06\":\"31d6cfe0\",\"chunk-2d0ccfc9\":\"31d6cfe0\",\"chunk-2d0ce773\":\"31d6cfe0\",\"chunk-2d0ce79f\":\"31d6cfe0\",\"chunk-2d0ce7be\":\"31d6cfe0\",\"chunk-2d0ceb16\":\"31d6cfe0\",\"chunk-2d0ced80\":\"31d6cfe0\",\"chunk-2d0ced9b\":\"31d6cfe0\",\"chunk-2d0cefa2\":\"31d6cfe0\",\"chunk-2d0cefcb\":\"31d6cfe0\",\"chunk-2d0cf164\":\"31d6cfe0\",\"chunk-2d0cf4d4\":\"31d6cfe0\",\"chunk-2d0cf4d7\":\"31d6cfe0\",\"chunk-2d0cf525\":\"31d6cfe0\",\"chunk-2d0cf634\":\"31d6cfe0\",\"chunk-2d0cf897\":\"31d6cfe0\",\"chunk-2d0cfa77\":\"31d6cfe0\",\"chunk-2d0d01aa\":\"31d6cfe0\",\"chunk-2d0d01d4\":\"31d6cfe0\",\"chunk-2d0d05a8\":\"31d6cfe0\",\"chunk-2d0d0614\":\"31d6cfe0\",\"chunk-2d0d0b28\":\"31d6cfe0\",\"chunk-2d0d0b2f\":\"31d6cfe0\",\"chunk-2d0d0bd5\":\"31d6cfe0\",\"chunk-2d0d0eed\":\"31d6cfe0\",\"chunk-2d0d0f3c\":\"31d6cfe0\",\"chunk-2d0d2f05\":\"31d6cfe0\",\"chunk-2d0d2f31\":\"31d6cfe0\",\"chunk-2d0d2f9c\":\"31d6cfe0\",\"chunk-2d0d2fcc\":\"31d6cfe0\",\"chunk-2d0d30b3\":\"31d6cfe0\",\"chunk-2d0d30b6\":\"31d6cfe0\",\"chunk-2d0d3249\":\"31d6cfe0\",\"chunk-2d0d32a8\":\"31d6cfe0\",\"chunk-2d0d32d5\":\"31d6cfe0\",\"chunk-2d0d34b7\":\"31d6cfe0\",\"chunk-2d0d34e3\":\"31d6cfe0\",\"chunk-2d0d3636\":\"31d6cfe0\",\"chunk-2d0d3688\":\"31d6cfe0\",\"chunk-2d0d3721\":\"31d6cfe0\",\"chunk-2d0d38b4\":\"31d6cfe0\",\"chunk-2d0d3aa8\":\"31d6cfe0\",\"chunk-2d0d3bf6\":\"31d6cfe0\",\"chunk-2d0d3c39\":\"31d6cfe0\",\"chunk-2d0d3c91\":\"31d6cfe0\",\"chunk-2d0d3e55\":\"31d6cfe0\",\"chunk-2d0d3ea3\":\"31d6cfe0\",\"chunk-2d0d3ed1\":\"31d6cfe0\",\"chunk-2d0d3fd5\":\"31d6cfe0\",\"chunk-2d0d439b\":\"31d6cfe0\",\"chunk-2d0d439e\":\"31d6cfe0\",\"chunk-2d0d5c51\":\"31d6cfe0\",\"chunk-2d0d5c7d\":\"31d6cfe0\",\"chunk-2d0d5c9c\":\"31d6cfe0\",\"chunk-2d0d61be\":\"31d6cfe0\",\"chunk-2d0d63b1\":\"31d6cfe0\",\"chunk-2d0d63df\":\"31d6cfe0\",\"chunk-2d0d65a1\":\"31d6cfe0\",\"chunk-2d0d65c4\":\"31d6cfe0\",\"chunk-2d0d65ef\":\"31d6cfe0\",\"chunk-2d0d67ad\":\"31d6cfe0\",\"chunk-2d0d67cf\":\"31d6cfe0\",\"chunk-2d0d6965\":\"31d6cfe0\",\"chunk-2d0d6983\":\"31d6cfe0\",\"chunk-2d0d699b\":\"31d6cfe0\",\"chunk-2d0d6ab9\":\"31d6cfe0\",\"chunk-2d0d6ad1\":\"31d6cfe0\",\"chunk-2d0d6bab\":\"31d6cfe0\",\"chunk-2d0d6d22\":\"31d6cfe0\",\"chunk-2d0d6d53\":\"31d6cfe0\",\"chunk-2d0d6f02\":\"31d6cfe0\",\"chunk-2d0d70a6\":\"31d6cfe0\",\"chunk-2d0d70f1\":\"31d6cfe0\",\"chunk-2d0d7152\":\"31d6cfe0\",\"chunk-2d0d7236\":\"31d6cfe0\",\"chunk-2d0d7446\":\"31d6cfe0\",\"chunk-2d0d7649\":\"31d6cfe0\",\"chunk-2d0d7695\":\"31d6cfe0\",\"chunk-2d0d76a5\":\"31d6cfe0\",\"chunk-2d0d7c43\":\"31d6cfe0\",\"chunk-2d0d7e0a\":\"31d6cfe0\",\"chunk-2d0d7e16\":\"31d6cfe0\",\"chunk-2d0d7e47\":\"31d6cfe0\",\"chunk-2d0d7ea5\":\"31d6cfe0\",\"chunk-2d0d7fad\":\"31d6cfe0\",\"chunk-2d0d9f47\":\"31d6cfe0\",\"chunk-2d0d9f5f\":\"31d6cfe0\",\"chunk-2d0d9fdc\":\"31d6cfe0\",\"chunk-2d0d9ffe\":\"31d6cfe0\",\"chunk-2d0da3a1\":\"31d6cfe0\",\"chunk-2d0da3a2\":\"31d6cfe0\",\"chunk-2d0da3bc\":\"31d6cfe0\",\"chunk-2d0da42e\":\"31d6cfe0\",\"chunk-2d0da544\":\"31d6cfe0\",\"chunk-2d0da574\":\"31d6cfe0\",\"chunk-2d0da6c6\":\"31d6cfe0\",\"chunk-2d0da6d9\":\"31d6cfe0\",\"chunk-2d0da6e6\":\"31d6cfe0\",\"chunk-2d0da71f\":\"31d6cfe0\",\"chunk-2d0daa88\":\"31d6cfe0\",\"chunk-2d0daa96\":\"31d6cfe0\",\"chunk-2d0daaa3\":\"31d6cfe0\",\"chunk-2d0dad14\":\"31d6cfe0\",\"chunk-2d0daef1\":\"31d6cfe0\",\"chunk-2d0db054\":\"31d6cfe0\",\"chunk-2d0db0c3\":\"31d6cfe0\",\"chunk-2d0db24a\":\"31d6cfe0\",\"chunk-2d0db2e6\":\"31d6cfe0\",\"chunk-2d0db415\":\"31d6cfe0\",\"chunk-2d0db4e3\":\"31d6cfe0\",\"chunk-2d0db832\":\"31d6cfe0\",\"chunk-2d0db833\":\"31d6cfe0\",\"chunk-2d0db884\":\"31d6cfe0\",\"chunk-2d0dd03f\":\"31d6cfe0\",\"chunk-2d0dd415\":\"31d6cfe0\",\"chunk-2d0dd4c6\":\"31d6cfe0\",\"chunk-2d0dd4da\":\"31d6cfe0\",\"chunk-2d0dd5df\":\"31d6cfe0\",\"chunk-2d0dd62d\":\"31d6cfe0\",\"chunk-2d0dd650\":\"31d6cfe0\",\"chunk-2d0dd6aa\":\"31d6cfe0\",\"chunk-2d0dd790\":\"31d6cfe0\",\"chunk-2d0dd798\":\"31d6cfe0\",\"chunk-2d0dd7a1\":\"31d6cfe0\",\"chunk-2d0dd7b1\":\"31d6cfe0\",\"chunk-2d0dd7c5\":\"31d6cfe0\",\"chunk-2d0dd7e1\":\"31d6cfe0\",\"chunk-2d0dd88d\":\"31d6cfe0\",\"chunk-2d0dd89d\":\"31d6cfe0\",\"chunk-2d0dd89e\":\"31d6cfe0\",\"chunk-2d0dd8bb\":\"31d6cfe0\",\"chunk-2d0dd9c3\":\"31d6cfe0\",\"chunk-2d0dda21\":\"31d6cfe0\",\"chunk-2d0dda2e\":\"31d6cfe0\",\"chunk-2d0ddbf3\":\"31d6cfe0\",\"chunk-2d0ddc79\":\"31d6cfe0\",\"chunk-2d0ddd92\":\"31d6cfe0\",\"chunk-2d0ddddd\":\"31d6cfe0\",\"chunk-2d0ddf14\":\"31d6cfe0\",\"chunk-2d0ddf32\":\"31d6cfe0\",\"chunk-2d0ddf85\":\"31d6cfe0\",\"chunk-2d0ddfce\":\"31d6cfe0\",\"chunk-2d0de351\":\"31d6cfe0\",\"chunk-2d0de352\":\"31d6cfe0\",\"chunk-2d0de585\":\"31d6cfe0\",\"chunk-2d0de698\":\"31d6cfe0\",\"chunk-2d0de699\":\"31d6cfe0\",\"chunk-2d0de6a5\":\"31d6cfe0\",\"chunk-2d0de905\":\"31d6cfe0\",\"chunk-2d0dea3e\":\"31d6cfe0\",\"chunk-2d0dee3c\":\"31d6cfe0\",\"chunk-2d0deeb1\":\"31d6cfe0\",\"chunk-2d0df049\":\"31d6cfe0\",\"chunk-2d0df235\":\"31d6cfe0\",\"chunk-2d0df7ab\":\"31d6cfe0\",\"chunk-2d0df7f7\":\"31d6cfe0\",\"chunk-2d0df805\":\"31d6cfe0\",\"chunk-2d0e13e6\":\"31d6cfe0\",\"chunk-2d0e14ab\":\"31d6cfe0\",\"chunk-2d0e1787\":\"31d6cfe0\",\"chunk-2d0e1794\":\"31d6cfe0\",\"chunk-2d0e17e2\":\"31d6cfe0\",\"chunk-2d0e1977\":\"31d6cfe0\",\"chunk-2d0e1995\":\"31d6cfe0\",\"chunk-2d0e1a3c\":\"31d6cfe0\",\"chunk-2d0e1b9f\":\"31d6cfe0\",\"chunk-2d0e1bff\":\"31d6cfe0\",\"chunk-2d0e1d38\":\"31d6cfe0\",\"chunk-2d0e1d39\":\"31d6cfe0\",\"chunk-2d0e1d96\":\"31d6cfe0\",\"chunk-2d0e1f73\":\"31d6cfe0\",\"chunk-2d0e1f7f\":\"31d6cfe0\",\"chunk-2d0e2127\":\"31d6cfe0\",\"chunk-2d0e2132\":\"31d6cfe0\",\"chunk-2d0e21be\":\"31d6cfe0\",\"chunk-2d0e22c4\":\"31d6cfe0\",\"chunk-2d0e22c5\":\"31d6cfe0\",\"chunk-2d0e2353\":\"31d6cfe0\",\"chunk-2d0e23cc\":\"31d6cfe0\",\"chunk-2d0e2735\":\"31d6cfe0\",\"chunk-2d0e278e\":\"31d6cfe0\",\"chunk-2d0e28b2\":\"31d6cfe0\",\"chunk-2d0e28f7\":\"31d6cfe0\",\"chunk-2d0e2c59\":\"31d6cfe0\",\"chunk-2d0e2c69\":\"31d6cfe0\",\"chunk-2d0e2c85\":\"31d6cfe0\",\"chunk-2d0e2c86\":\"31d6cfe0\",\"chunk-2d0e44fe\":\"31d6cfe0\",\"chunk-2d0e48d1\":\"31d6cfe0\",\"chunk-2d0e492b\":\"31d6cfe0\",\"chunk-2d0e4ea0\":\"31d6cfe0\",\"chunk-2d0e4f99\":\"31d6cfe0\",\"chunk-2d0e5221\":\"31d6cfe0\",\"chunk-2d0e5588\":\"31d6cfe0\",\"chunk-2d0e55fd\":\"31d6cfe0\",\"chunk-2d0e5797\":\"31d6cfe0\",\"chunk-2d0e5b6f\":\"31d6cfe0\",\"chunk-2d0e5ba2\":\"31d6cfe0\",\"chunk-2d0e5d35\":\"31d6cfe0\",\"chunk-2d0e5ec7\":\"31d6cfe0\",\"chunk-2d0e60ca\":\"31d6cfe0\",\"chunk-2d0e6100\":\"31d6cfe0\",\"chunk-2d0e64c6\":\"31d6cfe0\",\"chunk-2d0e64e6\":\"31d6cfe0\",\"chunk-2d0e6553\":\"31d6cfe0\",\"chunk-2d0e666b\":\"31d6cfe0\",\"chunk-2d0e66e7\":\"31d6cfe0\",\"chunk-2d0e6865\":\"31d6cfe0\",\"chunk-2d0e6c25\":\"31d6cfe0\",\"chunk-2d0e8807\":\"31d6cfe0\",\"chunk-2d0e8c6f\":\"31d6cfe0\",\"chunk-2d0e8ce8\":\"31d6cfe0\",\"chunk-2d0e8e9b\":\"31d6cfe0\",\"chunk-2d0e8fc2\":\"31d6cfe0\",\"chunk-2d0e8fd5\":\"31d6cfe0\",\"chunk-2d0e8ff4\":\"31d6cfe0\",\"chunk-2d0e9022\":\"31d6cfe0\",\"chunk-2d0e91df\":\"31d6cfe0\",\"chunk-2d0e923e\":\"31d6cfe0\",\"chunk-2d0e93a6\":\"31d6cfe0\",\"chunk-2d0e9440\":\"31d6cfe0\",\"chunk-2d0e9581\":\"31d6cfe0\",\"chunk-2d0e96e7\":\"31d6cfe0\",\"chunk-2d0e979d\":\"31d6cfe0\",\"chunk-2d0e9aaa\":\"31d6cfe0\",\"chunk-2d0e9b35\":\"31d6cfe0\",\"chunk-2d0e9d22\":\"31d6cfe0\",\"chunk-2d0efc60\":\"31d6cfe0\",\"chunk-2d0efc62\":\"31d6cfe0\",\"chunk-2d0efd88\":\"31d6cfe0\",\"chunk-2d0f008e\":\"31d6cfe0\",\"chunk-2d0f012c\":\"31d6cfe0\",\"chunk-2d0f024c\":\"31d6cfe0\",\"chunk-2d0f0254\":\"31d6cfe0\",\"chunk-2d0f0401\":\"31d6cfe0\",\"chunk-2d0f066d\":\"31d6cfe0\",\"chunk-2d0f07a1\":\"31d6cfe0\",\"chunk-2d0f07c3\":\"31d6cfe0\",\"chunk-2d0f08aa\":\"31d6cfe0\",\"chunk-2d0f0a40\":\"31d6cfe0\",\"chunk-2d0f0c11\":\"31d6cfe0\",\"chunk-2d0f0f60\":\"31d6cfe0\",\"chunk-2d0f1011\":\"31d6cfe0\",\"chunk-2d0f1139\":\"31d6cfe0\",\"chunk-2d0f1176\":\"31d6cfe0\",\"chunk-2d0f11b2\":\"31d6cfe0\",\"chunk-2d0f1552\":\"31d6cfe0\",\"chunk-2d0f158e\":\"31d6cfe0\",\"chunk-2d0f1592\":\"31d6cfe0\",\"chunk-2d0f15a4\":\"31d6cfe0\",\"chunk-2d0f15c1\":\"31d6cfe0\",\"chunk-2d2073c0\":\"31d6cfe0\",\"chunk-2d20770d\":\"31d6cfe0\",\"chunk-2d207aa9\":\"31d6cfe0\",\"chunk-2d207acf\":\"31d6cfe0\",\"chunk-2d207ba4\":\"31d6cfe0\",\"chunk-2d207bd1\":\"31d6cfe0\",\"chunk-2d207d1c\":\"31d6cfe0\",\"chunk-2d207f85\":\"31d6cfe0\",\"chunk-2d208279\":\"31d6cfe0\",\"chunk-2d2082e7\":\"31d6cfe0\",\"chunk-2d2082f8\":\"31d6cfe0\",\"chunk-2d208335\":\"31d6cfe0\",\"chunk-2d208356\":\"31d6cfe0\",\"chunk-2d208458\":\"31d6cfe0\",\"chunk-2d208477\":\"31d6cfe0\",\"chunk-2d20867c\":\"31d6cfe0\",\"chunk-2d20881f\":\"31d6cfe0\",\"chunk-2d2089dc\":\"31d6cfe0\",\"chunk-2d2089e1\":\"31d6cfe0\",\"chunk-2d208a88\":\"31d6cfe0\",\"chunk-2d208c2d\":\"31d6cfe0\",\"chunk-2d208c49\":\"31d6cfe0\",\"chunk-2d208d70\":\"31d6cfe0\",\"chunk-2d208d75\":\"31d6cfe0\",\"chunk-2d208e86\":\"31d6cfe0\",\"chunk-2d209019\":\"31d6cfe0\",\"chunk-2d209029\":\"31d6cfe0\",\"chunk-2d20912d\":\"31d6cfe0\",\"chunk-2d20954c\":\"31d6cfe0\",\"chunk-2d209553\":\"31d6cfe0\",\"chunk-2d20971c\":\"31d6cfe0\",\"chunk-2d209782\":\"31d6cfe0\",\"chunk-2d209b01\":\"31d6cfe0\",\"chunk-2d209b81\":\"31d6cfe0\",\"chunk-2d20e7a4\":\"31d6cfe0\",\"chunk-2d20e873\":\"31d6cfe0\",\"chunk-2d20eb78\":\"31d6cfe0\",\"chunk-2d20eb97\":\"31d6cfe0\",\"chunk-2d20ebc9\":\"31d6cfe0\",\"chunk-2d20ec44\":\"31d6cfe0\",\"chunk-2d20ede4\":\"31d6cfe0\",\"chunk-2d20ede7\":\"31d6cfe0\",\"chunk-2d20ef48\":\"31d6cfe0\",\"chunk-2d20ef68\":\"31d6cfe0\",\"chunk-2d20f012\":\"31d6cfe0\",\"chunk-2d20f1c6\":\"31d6cfe0\",\"chunk-2d20f1d7\":\"31d6cfe0\",\"chunk-2d20f30a\":\"31d6cfe0\",\"chunk-2d20f529\":\"31d6cfe0\",\"chunk-2d20f71b\":\"31d6cfe0\",\"chunk-2d20f793\":\"31d6cfe0\",\"chunk-2d20f8bf\":\"31d6cfe0\",\"chunk-2d20f91a\":\"31d6cfe0\",\"chunk-2d20faeb\":\"31d6cfe0\",\"chunk-2d20fafa\":\"31d6cfe0\",\"chunk-2d20fb16\":\"31d6cfe0\",\"chunk-2d20fd07\":\"31d6cfe0\",\"chunk-2d20fe40\":\"31d6cfe0\",\"chunk-2d20fe5e\":\"31d6cfe0\",\"chunk-2d210089\":\"31d6cfe0\",\"chunk-2d2101f1\":\"31d6cfe0\",\"chunk-2d21029c\":\"31d6cfe0\",\"chunk-2d21043a\":\"31d6cfe0\",\"chunk-2d21058f\":\"31d6cfe0\",\"chunk-2d21060d\":\"31d6cfe0\",\"chunk-2d21064b\":\"31d6cfe0\",\"chunk-2d2106d6\":\"31d6cfe0\",\"chunk-2d21097e\":\"31d6cfe0\",\"chunk-2d2109ab\":\"31d6cfe0\",\"chunk-2d210a08\":\"31d6cfe0\",\"chunk-2d210a2d\":\"31d6cfe0\",\"chunk-2d210a38\":\"31d6cfe0\",\"chunk-2d210b7d\":\"31d6cfe0\",\"chunk-2d212b3d\":\"31d6cfe0\",\"chunk-2d212f3b\":\"31d6cfe0\",\"chunk-2d212f48\":\"31d6cfe0\",\"chunk-2d212fb7\":\"31d6cfe0\",\"chunk-2d213001\":\"31d6cfe0\",\"chunk-2d21312b\":\"31d6cfe0\",\"chunk-2d213157\":\"31d6cfe0\",\"chunk-2d213168\":\"31d6cfe0\",\"chunk-2d2132a0\":\"31d6cfe0\",\"chunk-2d21331a\":\"31d6cfe0\",\"chunk-2d213375\":\"31d6cfe0\",\"chunk-2d213392\":\"31d6cfe0\",\"chunk-2d213399\":\"31d6cfe0\",\"chunk-2d2134ee\":\"31d6cfe0\",\"chunk-2d2136f6\":\"31d6cfe0\",\"chunk-2d2138b9\":\"31d6cfe0\",\"chunk-2d213a5d\":\"31d6cfe0\",\"chunk-2d213abb\":\"31d6cfe0\",\"chunk-2d213cca\":\"31d6cfe0\",\"chunk-2d213e0d\":\"31d6cfe0\",\"chunk-2d213e21\":\"31d6cfe0\",\"chunk-2d213e2c\":\"31d6cfe0\",\"chunk-2d213e98\":\"31d6cfe0\",\"chunk-2d213ef4\":\"31d6cfe0\",\"chunk-2d21406c\":\"31d6cfe0\",\"chunk-2d2140a4\":\"31d6cfe0\",\"chunk-2d2140a7\":\"31d6cfe0\",\"chunk-2d2140b8\":\"31d6cfe0\",\"chunk-2d2140d8\":\"31d6cfe0\",\"chunk-2d214477\":\"31d6cfe0\",\"chunk-2d215c83\":\"31d6cfe0\",\"chunk-2d215cc0\":\"31d6cfe0\",\"chunk-2d215cfd\":\"31d6cfe0\",\"chunk-2d215fc6\":\"31d6cfe0\",\"chunk-2d215fd6\":\"31d6cfe0\",\"chunk-2d21607d\":\"31d6cfe0\",\"chunk-2d2160a1\":\"31d6cfe0\",\"chunk-2d2160cd\":\"31d6cfe0\",\"chunk-2d216238\":\"31d6cfe0\",\"chunk-2d2163b5\":\"31d6cfe0\",\"chunk-2d2163c8\":\"31d6cfe0\",\"chunk-2d21641f\":\"31d6cfe0\",\"chunk-2d21679a\":\"31d6cfe0\",\"chunk-2d2167a3\":\"31d6cfe0\",\"chunk-2d2169b8\":\"31d6cfe0\",\"chunk-2d2169e6\":\"31d6cfe0\",\"chunk-2d216b59\":\"31d6cfe0\",\"chunk-2d216d38\":\"31d6cfe0\",\"chunk-2d216d66\":\"31d6cfe0\",\"chunk-2d216da4\":\"31d6cfe0\",\"chunk-2d216de1\":\"31d6cfe0\",\"chunk-2d216f64\":\"31d6cfe0\",\"chunk-2d216f74\":\"31d6cfe0\",\"chunk-2d216ff0\":\"31d6cfe0\",\"chunk-2d2172e6\":\"31d6cfe0\",\"chunk-2d2176ec\":\"31d6cfe0\",\"chunk-2d2178d5\":\"31d6cfe0\",\"chunk-2d217aca\":\"31d6cfe0\",\"chunk-2d217c76\":\"31d6cfe0\",\"chunk-2d21839c\":\"31d6cfe0\",\"chunk-2d2183ce\":\"31d6cfe0\",\"chunk-2d219fb6\":\"31d6cfe0\",\"chunk-2d21a06d\":\"31d6cfe0\",\"chunk-2d21a375\":\"31d6cfe0\",\"chunk-2d21a451\":\"31d6cfe0\",\"chunk-2d21a462\":\"31d6cfe0\",\"chunk-2d21a589\":\"31d6cfe0\",\"chunk-2d21a719\":\"31d6cfe0\",\"chunk-2d21a840\":\"31d6cfe0\",\"chunk-2d21a9a4\":\"31d6cfe0\",\"chunk-2d21a9a5\":\"31d6cfe0\",\"chunk-2d21ab17\":\"31d6cfe0\",\"chunk-2d21ab28\":\"31d6cfe0\",\"chunk-2d21abc4\":\"31d6cfe0\",\"chunk-2d21ad29\":\"31d6cfe0\",\"chunk-2d21ad45\":\"31d6cfe0\",\"chunk-2d21ad79\":\"31d6cfe0\",\"chunk-2d21aeae\":\"31d6cfe0\",\"chunk-2d21af47\":\"31d6cfe0\",\"chunk-2d21b0ed\":\"31d6cfe0\",\"chunk-2d21b2f8\":\"31d6cfe0\",\"chunk-2d21b46c\":\"31d6cfe0\",\"chunk-2d21d0b4\":\"31d6cfe0\",\"chunk-2d21d0d1\":\"31d6cfe0\",\"chunk-2d21d0e1\":\"31d6cfe0\",\"chunk-2d21d482\":\"31d6cfe0\",\"chunk-2d21d4a3\":\"31d6cfe0\",\"chunk-2d21d4cf\":\"31d6cfe0\",\"chunk-2d21d6a4\":\"31d6cfe0\",\"chunk-2d21d837\":\"31d6cfe0\",\"chunk-2d21d838\":\"31d6cfe0\",\"chunk-2d21d854\":\"31d6cfe0\",\"chunk-2d21d857\":\"31d6cfe0\",\"chunk-2d21d872\":\"31d6cfe0\",\"chunk-2d21db89\":\"31d6cfe0\",\"chunk-2d21dba8\":\"31d6cfe0\",\"chunk-2d21dbe6\":\"31d6cfe0\",\"chunk-2d21e024\":\"31d6cfe0\",\"chunk-2d21e044\":\"31d6cfe0\",\"chunk-2d21e202\":\"31d6cfe0\",\"chunk-2d21e577\":\"31d6cfe0\",\"chunk-2d21e589\":\"31d6cfe0\",\"chunk-2d21e7c3\":\"31d6cfe0\",\"chunk-2d21e810\":\"31d6cfe0\",\"chunk-2d21e948\":\"31d6cfe0\",\"chunk-2d21eaac\":\"31d6cfe0\",\"chunk-2d21eb2b\":\"31d6cfe0\",\"chunk-2d21ece8\":\"31d6cfe0\",\"chunk-2d21ed0b\":\"31d6cfe0\",\"chunk-2d21ed2a\":\"31d6cfe0\",\"chunk-2d21ed36\":\"31d6cfe0\",\"chunk-2d21ef29\":\"31d6cfe0\",\"chunk-2d21f09c\":\"31d6cfe0\",\"chunk-2d21f0f4\":\"31d6cfe0\",\"chunk-2d21f0f6\":\"31d6cfe0\",\"chunk-2d21f10a\":\"31d6cfe0\",\"chunk-2d21f125\":\"31d6cfe0\",\"chunk-2d21f20b\":\"31d6cfe0\",\"chunk-2d21f4ba\":\"31d6cfe0\",\"chunk-2d21f83a\":\"31d6cfe0\",\"chunk-2d21f84e\":\"31d6cfe0\",\"chunk-2d21f89b\":\"31d6cfe0\",\"chunk-2d2217dc\":\"31d6cfe0\",\"chunk-2d2219e4\":\"31d6cfe0\",\"chunk-2d2219e5\":\"31d6cfe0\",\"chunk-2d221b7a\":\"31d6cfe0\",\"chunk-2d221c07\":\"31d6cfe0\",\"chunk-2d221c32\":\"31d6cfe0\",\"chunk-2d221c33\":\"31d6cfe0\",\"chunk-2d221c71\":\"31d6cfe0\",\"chunk-2d221dd9\":\"31d6cfe0\",\"chunk-2d221e01\":\"31d6cfe0\",\"chunk-2d2221e9\":\"31d6cfe0\",\"chunk-2d22230a\":\"31d6cfe0\",\"chunk-2d222509\":\"31d6cfe0\",\"chunk-2d2225b6\":\"31d6cfe0\",\"chunk-2d2225d7\":\"31d6cfe0\",\"chunk-2d2226a1\":\"31d6cfe0\",\"chunk-2d22273d\":\"31d6cfe0\",\"chunk-2d2227b0\":\"31d6cfe0\",\"chunk-2d2227e3\":\"31d6cfe0\",\"chunk-2d222d18\":\"31d6cfe0\",\"chunk-2d2248b7\":\"31d6cfe0\",\"chunk-2d2248e7\":\"31d6cfe0\",\"chunk-2d224b04\":\"31d6cfe0\",\"chunk-2d224c44\":\"31d6cfe0\",\"chunk-2d224eae\":\"31d6cfe0\",\"chunk-2d224eee\":\"31d6cfe0\",\"chunk-2d22509e\":\"31d6cfe0\",\"chunk-2d225403\":\"31d6cfe0\",\"chunk-2d225425\":\"31d6cfe0\",\"chunk-2d2254b4\":\"31d6cfe0\",\"chunk-2d2254d2\":\"31d6cfe0\",\"chunk-2d225611\":\"31d6cfe0\",\"chunk-2d225b28\":\"31d6cfe0\",\"chunk-2d225be1\":\"31d6cfe0\",\"chunk-2d225d76\":\"31d6cfe0\",\"chunk-2d225f07\":\"31d6cfe0\",\"chunk-2d225f45\":\"31d6cfe0\",\"chunk-2d225f76\":\"31d6cfe0\",\"chunk-2d226003\":\"31d6cfe0\",\"chunk-2d22614c\":\"31d6cfe0\",\"chunk-2d226199\":\"31d6cfe0\",\"chunk-2d226319\":\"31d6cfe0\",\"chunk-2d226365\":\"31d6cfe0\",\"chunk-2d226519\":\"31d6cfe0\",\"chunk-2d22653b\":\"31d6cfe0\",\"chunk-2d22653c\":\"31d6cfe0\",\"chunk-2d226707\":\"31d6cfe0\",\"chunk-2d22678a\":\"31d6cfe0\",\"chunk-2d226797\":\"31d6cfe0\",\"chunk-2d2268fc\":\"31d6cfe0\",\"chunk-2d226c5e\":\"31d6cfe0\",\"chunk-2d226c7a\":\"31d6cfe0\",\"chunk-2d226cf7\":\"31d6cfe0\",\"chunk-2d228950\":\"31d6cfe0\",\"chunk-2d22895d\":\"31d6cfe0\",\"chunk-2d228cf4\":\"31d6cfe0\",\"chunk-2d228d1e\":\"31d6cfe0\",\"chunk-2d2292b4\":\"31d6cfe0\",\"chunk-2d2293ab\":\"31d6cfe0\",\"chunk-2d229453\":\"31d6cfe0\",\"chunk-2d229472\":\"31d6cfe0\",\"chunk-2d229617\":\"31d6cfe0\",\"chunk-2d22976b\":\"31d6cfe0\",\"chunk-2d2299f7\":\"31d6cfe0\",\"chunk-2d229af8\":\"31d6cfe0\",\"chunk-2d229ba9\":\"31d6cfe0\",\"chunk-2d229bd4\":\"31d6cfe0\",\"chunk-2d229c43\":\"31d6cfe0\",\"chunk-2d229da2\":\"31d6cfe0\",\"chunk-2d229db5\":\"31d6cfe0\",\"chunk-2d22a127\":\"31d6cfe0\",\"chunk-2d22b900\":\"31d6cfe0\",\"chunk-2d22b9d1\":\"31d6cfe0\",\"chunk-2d22b9db\":\"31d6cfe0\",\"chunk-2d22bce8\":\"31d6cfe0\",\"chunk-2d22bd41\":\"31d6cfe0\",\"chunk-2d22bf72\":\"31d6cfe0\",\"chunk-2d22bf9f\":\"31d6cfe0\",\"chunk-2d22c0f1\":\"31d6cfe0\",\"chunk-2d22c111\":\"31d6cfe0\",\"chunk-2d22c32c\":\"31d6cfe0\",\"chunk-2d22c4b6\":\"31d6cfe0\",\"chunk-2d22c4f4\":\"31d6cfe0\",\"chunk-2d22c678\":\"31d6cfe0\",\"chunk-2d22c902\":\"31d6cfe0\",\"chunk-2d22ce24\":\"31d6cfe0\",\"chunk-2d22cfad\":\"31d6cfe0\",\"chunk-2d22d029\":\"31d6cfe0\",\"chunk-2d22d041\":\"31d6cfe0\",\"chunk-2d22d1bd\":\"31d6cfe0\",\"chunk-2d22d3ca\":\"31d6cfe0\",\"chunk-2d22d454\":\"31d6cfe0\",\"chunk-2d22d5da\":\"31d6cfe0\",\"chunk-2d22d5f6\":\"31d6cfe0\",\"chunk-2d22d75d\":\"31d6cfe0\",\"chunk-2d22d9c8\":\"31d6cfe0\",\"chunk-2d22dae9\":\"31d6cfe0\",\"chunk-2d22daeb\":\"31d6cfe0\",\"chunk-2d22db2d\":\"31d6cfe0\",\"chunk-2d22dbf4\":\"31d6cfe0\",\"chunk-2d22dbf7\":\"31d6cfe0\",\"chunk-2d22ddc8\":\"31d6cfe0\",\"chunk-2d22fcd7\":\"31d6cfe0\",\"chunk-2d22fd32\":\"31d6cfe0\",\"chunk-2d22fddb\":\"31d6cfe0\",\"chunk-2d2300a6\":\"31d6cfe0\",\"chunk-2d2300b7\":\"31d6cfe0\",\"chunk-2d2302fe\":\"31d6cfe0\",\"chunk-2d23034f\":\"31d6cfe0\",\"chunk-2d230446\":\"31d6cfe0\",\"chunk-2d2304c2\":\"31d6cfe0\",\"chunk-2d2304d7\":\"31d6cfe0\",\"chunk-2d2306f3\":\"31d6cfe0\",\"chunk-2d2307d6\":\"31d6cfe0\",\"chunk-2d2307fc\":\"31d6cfe0\",\"chunk-2d230859\":\"31d6cfe0\",\"chunk-2d230a04\":\"31d6cfe0\",\"chunk-2d230beb\":\"31d6cfe0\",\"chunk-2d230dcc\":\"31d6cfe0\",\"chunk-2d230e34\":\"31d6cfe0\",\"chunk-2d230e5f\":\"31d6cfe0\",\"chunk-2d230e76\":\"31d6cfe0\",\"chunk-2d2310a2\":\"31d6cfe0\",\"chunk-2d2311aa\":\"31d6cfe0\",\"chunk-2d2315d8\":\"31d6cfe0\",\"chunk-2d237144\":\"31d6cfe0\",\"chunk-2d2371ea\":\"31d6cfe0\",\"chunk-2d237239\":\"31d6cfe0\",\"chunk-2d237745\":\"31d6cfe0\",\"chunk-2d23775e\":\"31d6cfe0\",\"chunk-2d237893\":\"31d6cfe0\",\"chunk-2d2378b4\":\"31d6cfe0\",\"chunk-2d237943\":\"31d6cfe0\",\"chunk-2d237970\":\"31d6cfe0\",\"chunk-2d237cc6\":\"31d6cfe0\",\"chunk-2d237eb7\":\"31d6cfe0\",\"chunk-2d237ed6\":\"31d6cfe0\",\"chunk-2d237ee7\":\"31d6cfe0\",\"chunk-2d23803a\":\"31d6cfe0\",\"chunk-2d238054\":\"31d6cfe0\",\"chunk-2d238099\":\"31d6cfe0\",\"chunk-2d2389e7\":\"31d6cfe0\",\"chunk-2d238a21\":\"31d6cfe0\",\"chunk-74531d85\":\"31d6cfe0\",\"chunk-7453a4f7\":\"31d6cfe0\",\"chunk-74544624\":\"31d6cfe0\",\"chunk-745fdff8\":\"31d6cfe0\",\"chunk-74929b8f\":\"31d6cfe0\",\"chunk-76ee6af4\":\"31d6cfe0\",\"chunk-77003cfb\":\"31d6cfe0\",\"chunk-7720e93a\":\"31d6cfe0\",\"chunk-774c8a8f\":\"31d6cfe0\",\"maeu-css\":\"4c2a7fdf\",\"seau-css\":\"06781970\",\"view-accessError-vue\":\"31d6cfe0\",\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\":\"31d6cfe0\",\"view-cancelBooking-vue\":\"31d6cfe0\",\"view-changeOfDestination-vue\":\"31d6cfe0\",\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\":\"31d6cfe0\",\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-sailings-vue~view-vasView-vue\":\"31d6cfe0\",\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-vasView-vue\":\"31d6cfe0\",\"view-additionalDetails-vue\":\"31d6cfe0\",\"view-od3cp\":\"31d6cfe0\",\"view-review-vue\":\"31d6cfe0\",\"view-vasView-vue\":\"31d6cfe0\",\"view-featureFlagSettings-vue\":\"08b1074e\",\"view-confirmation-vue~view-sailings-vue\":\"31d6cfe0\",\"view-sailings-vue\":\"31d6cfe0\",\"view-confirmation-vue\":\"31d6cfe0\",\"chunk-01417aa9\":\"31d6cfe0\",\"chunk-0d7b9c31\":\"31d6cfe0\",\"chunk-2d0c51ea\":\"31d6cfe0\",\"chunk-2d20f194\":\"31d6cfe0\",\"chunk-73ab63aa\":\"31d6cfe0\",\"chunk-9f5e8d22\":\"31d6cfe0\",\"chunk-c6cda442\":\"31d6cfe0\",\"chunk-fcf43466\":\"31d6cfe0\",\"chunk-09d33e22\":\"31d6cfe0\",\"chunk-2c27f7b8\":\"31d6cfe0\",\"chunk-5255aa04\":\"31d6cfe0\",\"chunk-6605b0f3\":\"31d6cfe0\",\"chunk-bcd017e0\":\"31d6cfe0\",\"chunk-c856f53c\":\"31d6cfe0\",\"chunk-d8870646\":\"31d6cfe0\",\"chunk-e1369732\":\"31d6cfe0\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/book/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \tvar startupResult = (function() {\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n \t})();\n\n \twebpackJsonpCallback([[], {}, 0, [\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\",\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\",\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-sailings-vue~view-vasView-vue\",\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-vasView-vue\",\"view-od3cp\"]]);\n \treturn startupResult;\n","var map = {\n\t\"./20px/mi-airplane-arrival.js\": [\n\t\t\"b865\",\n\t\t\"chunk-2d21064b\"\n\t],\n\t\"./20px/mi-airplane-departure.js\": [\n\t\t\"3d4c\",\n\t\t\"chunk-2d0c4df6\"\n\t],\n\t\"./20px/mi-airplane.js\": [\n\t\t\"97d6\",\n\t\t\"chunk-2d0e64e6\"\n\t],\n\t\"./20px/mi-anchor.js\": [\n\t\t\"50ea\",\n\t\t\"chunk-2d0c796d\"\n\t],\n\t\"./20px/mi-apple-alt.js\": [\n\t\t\"492f\",\n\t\t\"chunk-2d0c20af\"\n\t],\n\t\"./20px/mi-apple.js\": [\n\t\t\"df73\",\n\t\t\"chunk-2d229bd4\"\n\t],\n\t\"./20px/mi-arrow-all-directions.js\": [\n\t\t\"829d\",\n\t\t\"chunk-2d0dd8bb\"\n\t],\n\t\"./20px/mi-arrow-anti-clockwise-clock.js\": [\n\t\t\"a28b\",\n\t\t\"chunk-2d207bd1\"\n\t],\n\t\"./20px/mi-arrow-anti-clockwise.js\": [\n\t\t\"1d38\",\n\t\t\"chunk-2d0b64ee\"\n\t],\n\t\"./20px/mi-arrow-clockwise-clock.js\": [\n\t\t\"1b3e\",\n\t\t\"chunk-2d0b5d99\"\n\t],\n\t\"./20px/mi-arrow-clockwise-times.js\": [\n\t\t\"eca1\",\n\t\t\"chunk-2d230a04\"\n\t],\n\t\"./20px/mi-arrow-clockwise.js\": [\n\t\t\"5436\",\n\t\t\"chunk-2d0c8238\"\n\t],\n\t\"./20px/mi-arrow-curved-up-left.js\": [\n\t\t\"cc94\",\n\t\t\"chunk-2d221c71\"\n\t],\n\t\"./20px/mi-arrow-curved-up-right.js\": [\n\t\t\"772e\",\n\t\t\"chunk-2d0d7649\"\n\t],\n\t\"./20px/mi-arrow-down-circle.js\": [\n\t\t\"10bc\",\n\t\t\"chunk-2d0aa796\"\n\t],\n\t\"./20px/mi-arrow-down-left.js\": [\n\t\t\"7ee8\",\n\t\t\"chunk-2d0e28f7\"\n\t],\n\t\"./20px/mi-arrow-down-right.js\": [\n\t\t\"c0d9\",\n\t\t\"chunk-2d216238\"\n\t],\n\t\"./20px/mi-arrow-down-square-dashed.js\": [\n\t\t\"f937\",\n\t\t\"chunk-2d22db2d\"\n\t],\n\t\"./20px/mi-arrow-down-square.js\": [\n\t\t\"828f\",\n\t\t\"chunk-2d0dd89e\"\n\t],\n\t\"./20px/mi-arrow-down.js\": [\n\t\t\"0cf6\",\n\t\t\"chunk-2d0af2f9\"\n\t],\n\t\"./20px/mi-arrow-from-bottom.js\": [\n\t\t\"7b56\",\n\t\t\"chunk-2d0e17e2\"\n\t],\n\t\"./20px/mi-arrow-from-left.js\": [\n\t\t\"0f34\",\n\t\t\"chunk-2d0af80d\"\n\t],\n\t\"./20px/mi-arrow-from-right.js\": [\n\t\t\"21e5\",\n\t\t\"chunk-2d0b1fe5\"\n\t],\n\t\"./20px/mi-arrow-from-top.js\": [\n\t\t\"aab7\",\n\t\t\"chunk-2d21312b\"\n\t],\n\t\"./20px/mi-arrow-left-circle.js\": [\n\t\t\"4f37\",\n\t\t\"chunk-2d0cc98c\"\n\t],\n\t\"./20px/mi-arrow-left.js\": [\n\t\t\"cb29\",\n\t\t\"chunk-2d2217dc\"\n\t],\n\t\"./20px/mi-arrow-right-circle.js\": [\n\t\t\"73d4\",\n\t\t\"chunk-2d0d6d22\"\n\t],\n\t\"./20px/mi-arrow-right.js\": [\n\t\t\"6ad7\",\n\t\t\"chunk-2d0da574\"\n\t],\n\t\"./20px/mi-arrow-to-bottom.js\": [\n\t\t\"4d0a\",\n\t\t\"chunk-2d0cc1d7\"\n\t],\n\t\"./20px/mi-arrow-to-left.js\": [\n\t\t\"fc11\",\n\t\t\"chunk-2d237893\"\n\t],\n\t\"./20px/mi-arrow-to-right.js\": [\n\t\t\"d757\",\n\t\t\"chunk-2d21eb2b\"\n\t],\n\t\"./20px/mi-arrow-to-top.js\": [\n\t\t\"ffe0\",\n\t\t\"chunk-2d238a21\"\n\t],\n\t\"./20px/mi-arrow-up-circle.js\": [\n\t\t\"3adf\",\n\t\t\"chunk-2d0c4886\"\n\t],\n\t\"./20px/mi-arrow-up-left.js\": [\n\t\t\"afea\",\n\t\t\"chunk-2d214477\"\n\t],\n\t\"./20px/mi-arrow-up-merge.js\": [\n\t\t\"4720\",\n\t\t\"chunk-2d0c18f7\"\n\t],\n\t\"./20px/mi-arrow-up-right.js\": [\n\t\t\"c9a1\",\n\t\t\"chunk-2d21839c\"\n\t],\n\t\"./20px/mi-arrow-up-square-dashed.js\": [\n\t\t\"df9d\",\n\t\t\"chunk-2d229c43\"\n\t],\n\t\"./20px/mi-arrow-up-square.js\": [\n\t\t\"8139\",\n\t\t\"chunk-2d0dd415\"\n\t],\n\t\"./20px/mi-arrow-up.js\": [\n\t\t\"6a74\",\n\t\t\"chunk-2d0d9ffe\"\n\t],\n\t\"./20px/mi-arrows-down-up.js\": [\n\t\t\"2b97\",\n\t\t\"chunk-2d0bd284\"\n\t],\n\t\"./20px/mi-arrows-left-right.js\": [\n\t\t\"4e3d\",\n\t\t\"chunk-2d0cc5f8\"\n\t],\n\t\"./20px/mi-banana.js\": [\n\t\t\"8afb\",\n\t\t\"chunk-2d0e8e9b\"\n\t],\n\t\"./20px/mi-barrel.js\": [\n\t\t\"edef\",\n\t\t\"chunk-2d230e76\"\n\t],\n\t\"./20px/mi-bars-horizontal-bullets.js\": [\n\t\t\"e0cf\",\n\t\t\"chunk-2d224b04\"\n\t],\n\t\"./20px/mi-bars-horizontal-funnel-down.js\": [\n\t\t\"d475\",\n\t\t\"chunk-2d21e024\"\n\t],\n\t\"./20px/mi-bars-horizontal-funnel-left.js\": [\n\t\t\"d03b\",\n\t\t\"chunk-2d21d0d1\"\n\t],\n\t\"./20px/mi-bars-horizontal.js\": [\n\t\t\"f1e0\",\n\t\t\"chunk-2d22c32c\"\n\t],\n\t\"./20px/mi-battery-bolt.js\": [\n\t\t\"2996\",\n\t\t\"chunk-2d0b389a\"\n\t],\n\t\"./20px/mi-battery-solid.js\": [\n\t\t\"e444\",\n\t\t\"chunk-2d225425\"\n\t],\n\t\"./20px/mi-battery.js\": [\n\t\t\"c260\",\n\t\t\"chunk-2d21641f\"\n\t],\n\t\"./20px/mi-bell-slash.js\": [\n\t\t\"4de1\",\n\t\t\"chunk-2d0cc812\"\n\t],\n\t\"./20px/mi-bell-solid.js\": [\n\t\t\"0bde\",\n\t\t\"chunk-2d0aef29\"\n\t],\n\t\"./20px/mi-bell.js\": [\n\t\t\"a050\",\n\t\t\"chunk-2d2073c0\"\n\t],\n\t\"./20px/mi-between.js\": [\n\t\t\"d7de\",\n\t\t\"chunk-2d21f10a\"\n\t],\n\t\"./20px/mi-bicycle.js\": [\n\t\t\"b55b\",\n\t\t\"chunk-2d20fb16\"\n\t],\n\t\"./20px/mi-binoculars.js\": [\n\t\t\"7fbb\",\n\t\t\"chunk-2d0e2c85\"\n\t],\n\t\"./20px/mi-book-open.js\": [\n\t\t\"5f5c\",\n\t\t\"chunk-2d0d3e55\"\n\t],\n\t\"./20px/mi-bookmark-solid.js\": [\n\t\t\"0196\",\n\t\t\"chunk-2d0a31d4\"\n\t],\n\t\"./20px/mi-bookmark.js\": [\n\t\t\"2ef8\",\n\t\t\"chunk-2d0be33b\"\n\t],\n\t\"./20px/mi-box.js\": [\n\t\t\"df00\",\n\t\t\"chunk-2d229af8\"\n\t],\n\t\"./20px/mi-boxes-stacked.js\": [\n\t\t\"5d0a\",\n\t\t\"chunk-2d0d3636\"\n\t],\n\t\"./20px/mi-briefcase.js\": [\n\t\t\"022b\",\n\t\t\"chunk-2d0a34e8\"\n\t],\n\t\"./20px/mi-browser.js\": [\n\t\t\"2959\",\n\t\t\"chunk-2d0b3821\"\n\t],\n\t\"./20px/mi-bucket-mop.js\": [\n\t\t\"ce0b\",\n\t\t\"chunk-2d22230a\"\n\t],\n\t\"./20px/mi-bus-side.js\": [\n\t\t\"ea55\",\n\t\t\"chunk-2d22fd32\"\n\t],\n\t\"./20px/mi-calculator.js\": [\n\t\t\"cf08\",\n\t\t\"chunk-2d2226a1\"\n\t],\n\t\"./20px/mi-calendar-check.js\": [\n\t\t\"5da2\",\n\t\t\"chunk-2d0d3bf6\"\n\t],\n\t\"./20px/mi-calendar-clock.js\": [\n\t\t\"b89c\",\n\t\t\"chunk-2d2106d6\"\n\t],\n\t\"./20px/mi-calendar-exclamation.js\": [\n\t\t\"7ab7\",\n\t\t\"chunk-2d0e1995\"\n\t],\n\t\"./20px/mi-calendar-minus.js\": [\n\t\t\"89d2\",\n\t\t\"chunk-2d0df805\"\n\t],\n\t\"./20px/mi-calendar-plus.js\": [\n\t\t\"6fd0\",\n\t\t\"chunk-2d0db832\"\n\t],\n\t\"./20px/mi-calendar-times.js\": [\n\t\t\"5d47\",\n\t\t\"chunk-2d0d3688\"\n\t],\n\t\"./20px/mi-calendar.js\": [\n\t\t\"eafc\",\n\t\t\"chunk-2d23034f\"\n\t],\n\t\"./20px/mi-camera-cctv.js\": [\n\t\t\"e6af\",\n\t\t\"chunk-2d22614c\"\n\t],\n\t\"./20px/mi-camera-focus.js\": [\n\t\t\"7bd9\",\n\t\t\"chunk-2d0e1d96\"\n\t],\n\t\"./20px/mi-camera.js\": [\n\t\t\"68a1\",\n\t\t\"chunk-2d0d0b28\"\n\t],\n\t\"./20px/mi-captain-hat.js\": [\n\t\t\"62af\",\n\t\t\"chunk-2d0cf4d7\"\n\t],\n\t\"./20px/mi-car-front.js\": [\n\t\t\"e73a\",\n\t\t\"chunk-2d225f76\"\n\t],\n\t\"./20px/mi-car-side.js\": [\n\t\t\"09ad\",\n\t\t\"chunk-2d0a54e2\"\n\t],\n\t\"./20px/mi-caret-down-solid.js\": [\n\t\t\"c3bb\",\n\t\t\"chunk-2d216d66\"\n\t],\n\t\"./20px/mi-caret-down.js\": [\n\t\t\"2ac5\",\n\t\t\"chunk-2d0bd3d7\"\n\t],\n\t\"./20px/mi-caret-left-solid.js\": [\n\t\t\"7ba8\",\n\t\t\"chunk-2d0e1d38\"\n\t],\n\t\"./20px/mi-caret-left.js\": [\n\t\t\"270e\",\n\t\t\"chunk-2d0b3030\"\n\t],\n\t\"./20px/mi-caret-right-solid.js\": [\n\t\t\"d23c\",\n\t\t\"chunk-2d21d854\"\n\t],\n\t\"./20px/mi-caret-right.js\": [\n\t\t\"e9b2\",\n\t\t\"chunk-2d226c7a\"\n\t],\n\t\"./20px/mi-caret-up-down-solid.js\": [\n\t\t\"2e7a\",\n\t\t\"chunk-2d0bddb3\"\n\t],\n\t\"./20px/mi-caret-up-down.js\": [\n\t\t\"bf64\",\n\t\t\"chunk-2d21b2f8\"\n\t],\n\t\"./20px/mi-caret-up-solid.js\": [\n\t\t\"0d9b\",\n\t\t\"chunk-2d0af173\"\n\t],\n\t\"./20px/mi-caret-up.js\": [\n\t\t\"4deb\",\n\t\t\"chunk-2d0cc843\"\n\t],\n\t\"./20px/mi-carrot.js\": [\n\t\t\"0d1e\",\n\t\t\"chunk-2d0af07e\"\n\t],\n\t\"./20px/mi-cash.js\": [\n\t\t\"cbe1\",\n\t\t\"chunk-2d221e01\"\n\t],\n\t\"./20px/mi-chart-arrow-up-right.js\": [\n\t\t\"3f02\",\n\t\t\"chunk-2d0c54cb\"\n\t],\n\t\"./20px/mi-chart-bars-vertical.js\": [\n\t\t\"9b3b\",\n\t\t\"chunk-2d0f008e\"\n\t],\n\t\"./20px/mi-chart-line-up.js\": [\n\t\t\"b6c3\",\n\t\t\"chunk-2d21043a\"\n\t],\n\t\"./20px/mi-chatbot.js\": [\n\t\t\"6efd\",\n\t\t\"chunk-2d0db4e3\"\n\t],\n\t\"./20px/mi-check-circle-half-dashed.js\": [\n\t\t\"b224\",\n\t\t\"chunk-2d20ef48\"\n\t],\n\t\"./20px/mi-check-circle-solid.js\": [\n\t\t\"aef3\",\n\t\t\"chunk-2d2140a7\"\n\t],\n\t\"./20px/mi-check-circle.js\": [\n\t\t\"0d3d\",\n\t\t\"chunk-2d0af0bb\"\n\t],\n\t\"./20px/mi-check.js\": [\n\t\t\"60e0\",\n\t\t\"chunk-2d0ced9b\"\n\t],\n\t\"./20px/mi-chemistry-beakers.js\": [\n\t\t\"d24b\",\n\t\t\"chunk-2d21d872\"\n\t],\n\t\"./20px/mi-chevron-down.js\": [\n\t\t\"5fb9\",\n\t\t\"chunk-2d0d439e\"\n\t],\n\t\"./20px/mi-chevron-left.js\": [\n\t\t\"7fbc\",\n\t\t\"chunk-2d0e2c86\"\n\t],\n\t\"./20px/mi-chevron-right.js\": [\n\t\t\"7b1d\",\n\t\t\"chunk-2d0e1794\"\n\t],\n\t\"./20px/mi-chevron-up.js\": [\n\t\t\"6873\",\n\t\t\"chunk-2d0d0614\"\n\t],\n\t\"./20px/mi-chevrons-left-right.js\": [\n\t\t\"e431\",\n\t\t\"chunk-2d225403\"\n\t],\n\t\"./20px/mi-chevrons-up-down.js\": [\n\t\t\"bb8d\",\n\t\t\"chunk-2d21a462\"\n\t],\n\t\"./20px/mi-chicken-drumstick.js\": [\n\t\t\"45b5\",\n\t\t\"chunk-2d0c174a\"\n\t],\n\t\"./20px/mi-chicken-head.js\": [\n\t\t\"3f1c\",\n\t\t\"chunk-2d0c551b\"\n\t],\n\t\"./20px/mi-chicken-side.js\": [\n\t\t\"b60f\",\n\t\t\"chunk-2d20fe40\"\n\t],\n\t\"./20px/mi-chip.js\": [\n\t\t\"57ea\",\n\t\t\"chunk-2d0c93b4\"\n\t],\n\t\"./20px/mi-circle-slash.js\": [\n\t\t\"92d6\",\n\t\t\"chunk-2d0e5221\"\n\t],\n\t\"./20px/mi-clipboard-check-text.js\": [\n\t\t\"4643\",\n\t\t\"chunk-2d0c1577\"\n\t],\n\t\"./20px/mi-clipboard-check.js\": [\n\t\t\"34b2\",\n\t\t\"chunk-2d0b9f27\"\n\t],\n\t\"./20px/mi-clipboard-list-text.js\": [\n\t\t\"e8d7\",\n\t\t\"chunk-2d2268fc\"\n\t],\n\t\"./20px/mi-clipboard-officer-text.js\": [\n\t\t\"3686\",\n\t\t\"chunk-2d0ba197\"\n\t],\n\t\"./20px/mi-clipboard-snowflake-text.js\": [\n\t\t\"5b46\",\n\t\t\"chunk-2d0d2f05\"\n\t],\n\t\"./20px/mi-clipboard-text.js\": [\n\t\t\"aef0\",\n\t\t\"chunk-2d2140a4\"\n\t],\n\t\"./20px/mi-clock-alarm.js\": [\n\t\t\"904e\",\n\t\t\"chunk-2d0e44fe\"\n\t],\n\t\"./20px/mi-clock-solid.js\": [\n\t\t\"a5cb\",\n\t\t\"chunk-2d208c49\"\n\t],\n\t\"./20px/mi-clock-stopwatch.js\": [\n\t\t\"a48e\",\n\t\t\"chunk-2d208356\"\n\t],\n\t\"./20px/mi-clock.js\": [\n\t\t\"8368\",\n\t\t\"chunk-2d0ddbf3\"\n\t],\n\t\"./20px/mi-cloud.js\": [\n\t\t\"af0b\",\n\t\t\"chunk-2d213e0d\"\n\t],\n\t\"./20px/mi-coat.js\": [\n\t\t\"fce9\",\n\t\t\"chunk-2d237ee7\"\n\t],\n\t\"./20px/mi-cog-play.js\": [\n\t\t\"3fb7\",\n\t\t\"chunk-2d0c5ade\"\n\t],\n\t\"./20px/mi-cog.js\": [\n\t\t\"f8ff\",\n\t\t\"chunk-2d22ddc8\"\n\t],\n\t\"./20px/mi-combined-arrow-down.js\": [\n\t\t\"9651\",\n\t\t\"chunk-2d0e5b6f\"\n\t],\n\t\"./20px/mi-combined-arrow-left.js\": [\n\t\t\"602a\",\n\t\t\"chunk-2d0ce79f\"\n\t],\n\t\"./20px/mi-combined-arrow-right.js\": [\n\t\t\"15d3\",\n\t\t\"chunk-2d0aba69\"\n\t],\n\t\"./20px/mi-combined-arrow-up.js\": [\n\t\t\"b47b\",\n\t\t\"chunk-2d20f793\"\n\t],\n\t\"./20px/mi-comment-dollar.js\": [\n\t\t\"0d263\",\n\t\t\"chunk-74531d85\"\n\t],\n\t\"./20px/mi-comment-dots.js\": [\n\t\t\"4d37\",\n\t\t\"chunk-2d0cc20a\"\n\t],\n\t\"./20px/mi-comment-minus.js\": [\n\t\t\"8554\",\n\t\t\"chunk-2d0de352\"\n\t],\n\t\"./20px/mi-comment-off.js\": [\n\t\t\"1e11\",\n\t\t\"chunk-2d0b686a\"\n\t],\n\t\"./20px/mi-comment-plus.js\": [\n\t\t\"5b4b\",\n\t\t\"chunk-2d0d2f31\"\n\t],\n\t\"./20px/mi-comment.js\": [\n\t\t\"5aa5\",\n\t\t\"chunk-2d0d30b6\"\n\t],\n\t\"./20px/mi-comments.js\": [\n\t\t\"d714\",\n\t\t\"chunk-2d21eaac\"\n\t],\n\t\"./20px/mi-computer.js\": [\n\t\t\"ec0b\",\n\t\t\"chunk-2d230446\"\n\t],\n\t\"./20px/mi-container-down.js\": [\n\t\t\"d314\",\n\t\t\"chunk-2d21dba8\"\n\t],\n\t\"./20px/mi-container-flat-rack.js\": [\n\t\t\"801b\",\n\t\t\"chunk-2d0dd03f\"\n\t],\n\t\"./20px/mi-container-handler-2.js\": [\n\t\t\"273b\",\n\t\t\"chunk-2d0b308a\"\n\t],\n\t\"./20px/mi-container-handler.js\": [\n\t\t\"a5be\",\n\t\t\"chunk-2d208c2d\"\n\t],\n\t\"./20px/mi-container-high-cube.js\": [\n\t\t\"80a2\",\n\t\t\"chunk-2d0dd5df\"\n\t],\n\t\"./20px/mi-container-hook.js\": [\n\t\t\"cc73\",\n\t\t\"chunk-2d221c32\"\n\t],\n\t\"./20px/mi-container-in.js\": [\n\t\t\"707d\",\n\t\t\"chunk-2d0d5c9c\"\n\t],\n\t\"./20px/mi-container-left.js\": [\n\t\t\"f6e5\",\n\t\t\"chunk-2d22d5f6\"\n\t],\n\t\"./20px/mi-container-link.js\": [\n\t\t\"ad52\",\n\t\t\"chunk-2d2136f6\"\n\t],\n\t\"./20px/mi-container-open-top.js\": [\n\t\t\"3d71\",\n\t\t\"chunk-2d0c4e21\"\n\t],\n\t\"./20px/mi-container-out.js\": [\n\t\t\"152e\",\n\t\t\"chunk-2d0ab48d\"\n\t],\n\t\"./20px/mi-container-reefer.js\": [\n\t\t\"7f9b\",\n\t\t\"chunk-2d0e278e\"\n\t],\n\t\"./20px/mi-container-right.js\": [\n\t\t\"ba23\",\n\t\t\"chunk-2d219fb6\"\n\t],\n\t\"./20px/mi-container-stacked-alt.js\": [\n\t\t\"ab8b\",\n\t\t\"chunk-2d213001\"\n\t],\n\t\"./20px/mi-container-stacked.js\": [\n\t\t\"f911\",\n\t\t\"chunk-2d22dae9\"\n\t],\n\t\"./20px/mi-container-tank.js\": [\n\t\t\"3c6a\",\n\t\t\"chunk-2d0c4a71\"\n\t],\n\t\"./20px/mi-container-tracking.js\": [\n\t\t\"b54e\",\n\t\t\"chunk-2d20fafa\"\n\t],\n\t\"./20px/mi-container-up.js\": [\n\t\t\"ab2c\",\n\t\t\"chunk-2d212f48\"\n\t],\n\t\"./20px/mi-container.js\": [\n\t\t\"9549\",\n\t\t\"chunk-2d0e5797\"\n\t],\n\t\"./20px/mi-contains.js\": [\n\t\t\"44e6\",\n\t\t\"chunk-2d0c13e7\"\n\t],\n\t\"./20px/mi-conveyor-belt.js\": [\n\t\t\"f144\",\n\t\t\"chunk-2d22bd41\"\n\t],\n\t\"./20px/mi-cookie.js\": [\n\t\t\"8d48\",\n\t\t\"chunk-2d0e93a6\"\n\t],\n\t\"./20px/mi-copy.js\": [\n\t\t\"b148\",\n\t\t\"chunk-2d20ebc9\"\n\t],\n\t\"./20px/mi-cotton.js\": [\n\t\t\"a1c9\",\n\t\t\"chunk-2d207d1c\"\n\t],\n\t\"./20px/mi-cow-head.js\": [\n\t\t\"fc5e\",\n\t\t\"chunk-2d237943\"\n\t],\n\t\"./20px/mi-cow-side.js\": [\n\t\t\"a6e3\",\n\t\t\"chunk-2d209019\"\n\t],\n\t\"./20px/mi-crane.js\": [\n\t\t\"b3a9\",\n\t\t\"chunk-2d20f8bf\"\n\t],\n\t\"./20px/mi-credit-card-back.js\": [\n\t\t\"5675\",\n\t\t\"chunk-2d0c8a35\"\n\t],\n\t\"./20px/mi-credit-card-front.js\": [\n\t\t\"e710\",\n\t\t\"chunk-2d225f07\"\n\t],\n\t\"./20px/mi-crosshair.js\": [\n\t\t\"dfc2\",\n\t\t\"chunk-2d22a127\"\n\t],\n\t\"./20px/mi-dollar-circle-solid.js\": [\n\t\t\"4f4f\",\n\t\t\"chunk-2d0cc9da\"\n\t],\n\t\"./20px/mi-dollar-circle.js\": [\n\t\t\"515c\",\n\t\t\"chunk-2d0c7760\"\n\t],\n\t\"./20px/mi-door-arrow-right.js\": [\n\t\t\"e47f\",\n\t\t\"chunk-2d2254b4\"\n\t],\n\t\"./20px/mi-dot-grid.js\": [\n\t\t\"2df9\",\n\t\t\"chunk-2d0bdf7b\"\n\t],\n\t\"./20px/mi-double-chevron-down.js\": [\n\t\t\"cc15\",\n\t\t\"chunk-2d221b7a\"\n\t],\n\t\"./20px/mi-double-chevron-left.js\": [\n\t\t\"0a2b\",\n\t\t\"chunk-2d0ae557\"\n\t],\n\t\"./20px/mi-double-chevron-right.js\": [\n\t\t\"1962\",\n\t\t\"chunk-2d0ac3da\"\n\t],\n\t\"./20px/mi-double-chevron-up.js\": [\n\t\t\"799f\",\n\t\t\"chunk-2d0d7ea5\"\n\t],\n\t\"./20px/mi-dress.js\": [\n\t\t\"5df2\",\n\t\t\"chunk-2d0d3c91\"\n\t],\n\t\"./20px/mi-droplet.js\": [\n\t\t\"ac82\",\n\t\t\"chunk-2d213392\"\n\t],\n\t\"./20px/mi-ellipsis-horizontal.js\": [\n\t\t\"fad8\",\n\t\t\"chunk-2d237745\"\n\t],\n\t\"./20px/mi-ellipsis-vertical.js\": [\n\t\t\"3596\",\n\t\t\"chunk-2d0b9df5\"\n\t],\n\t\"./20px/mi-emergency-light.js\": [\n\t\t\"af63\",\n\t\t\"chunk-2d213e98\"\n\t],\n\t\"./20px/mi-engine.js\": [\n\t\t\"086c\",\n\t\t\"chunk-2d0a4beb\"\n\t],\n\t\"./20px/mi-envelope-times-circle.js\": [\n\t\t\"d6ce\",\n\t\t\"chunk-2d21ed2a\"\n\t],\n\t\"./20px/mi-envelope.js\": [\n\t\t\"ba80\",\n\t\t\"chunk-2d21a06d\"\n\t],\n\t\"./20px/mi-equal.js\": [\n\t\t\"5e79\",\n\t\t\"chunk-2d0d3aa8\"\n\t],\n\t\"./20px/mi-euro-circle.js\": [\n\t\t\"07d3\",\n\t\t\"chunk-2d0a4d8c\"\n\t],\n\t\"./20px/mi-exclamation-circle-solid.js\": [\n\t\t\"15a2\",\n\t\t\"chunk-2d0aba0b\"\n\t],\n\t\"./20px/mi-exclamation-circle.js\": [\n\t\t\"a53e\",\n\t\t\"chunk-2d20867c\"\n\t],\n\t\"./20px/mi-exclamation-octagon-solid.js\": [\n\t\t\"4816\",\n\t\t\"chunk-2d0c1c9f\"\n\t],\n\t\"./20px/mi-exclamation-octagon.js\": [\n\t\t\"07db\",\n\t\t\"chunk-2d0a4dbb\"\n\t],\n\t\"./20px/mi-exclamation-triangle-solid.js\": [\n\t\t\"4da7\",\n\t\t\"chunk-2d0cc79c\"\n\t],\n\t\"./20px/mi-exclamation-triangle.js\": [\n\t\t\"820a\",\n\t\t\"chunk-2d0dd7a1\"\n\t],\n\t\"./20px/mi-expand.js\": [\n\t\t\"3a5a\",\n\t\t\"chunk-2d0c42d0\"\n\t],\n\t\"./20px/mi-eye-slash-focus.js\": [\n\t\t\"2838\",\n\t\t\"chunk-2d0b3421\"\n\t],\n\t\"./20px/mi-eye-slash.js\": [\n\t\t\"4459\",\n\t\t\"chunk-2d0c0e1a\"\n\t],\n\t\"./20px/mi-eye.js\": [\n\t\t\"a118\",\n\t\t\"chunk-2d20770d\"\n\t],\n\t\"./20px/mi-face-happy-solid.js\": [\n\t\t\"9e5d\",\n\t\t\"chunk-2d0f0c11\"\n\t],\n\t\"./20px/mi-face-happy.js\": [\n\t\t\"f98c\",\n\t\t\"chunk-2d22dbf4\"\n\t],\n\t\"./20px/mi-face-indifferent-solid.js\": [\n\t\t\"e7c4\",\n\t\t\"chunk-2d226519\"\n\t],\n\t\"./20px/mi-face-indifferent.js\": [\n\t\t\"5747\",\n\t\t\"chunk-2d0c8d9b\"\n\t],\n\t\"./20px/mi-face-sad-solid.js\": [\n\t\t\"c18a\",\n\t\t\"chunk-2d2160cd\"\n\t],\n\t\"./20px/mi-face-sad.js\": [\n\t\t\"b977\",\n\t\t\"chunk-2d210a2d\"\n\t],\n\t\"./20px/mi-face-very-happy-solid.js\": [\n\t\t\"a118a\",\n\t\t\"chunk-76ee6af4\"\n\t],\n\t\"./20px/mi-face-very-happy.js\": [\n\t\t\"f6d8\",\n\t\t\"chunk-2d22d5da\"\n\t],\n\t\"./20px/mi-face-very-sad-solid.js\": [\n\t\t\"20cf\",\n\t\t\"chunk-2d0b1c17\"\n\t],\n\t\"./20px/mi-face-very-sad.js\": [\n\t\t\"9f7e\",\n\t\t\"chunk-2d0f1011\"\n\t],\n\t\"./20px/mi-factory.js\": [\n\t\t\"87b6\",\n\t\t\"chunk-2d0df049\"\n\t],\n\t\"./20px/mi-file-arrows-square.js\": [\n\t\t\"2431\",\n\t\t\"chunk-2d0b2516\"\n\t],\n\t\"./20px/mi-file-check-stamp.js\": [\n\t\t\"7765\",\n\t\t\"chunk-2d0d7695\"\n\t],\n\t\"./20px/mi-file-check.js\": [\n\t\t\"5787\",\n\t\t\"chunk-2d0c8e17\"\n\t],\n\t\"./20px/mi-file-copy.js\": [\n\t\t\"2b2d\",\n\t\t\"chunk-2d0bd1d8\"\n\t],\n\t\"./20px/mi-file-csv.js\": [\n\t\t\"0560\",\n\t\t\"chunk-2d0a4075\"\n\t],\n\t\"./20px/mi-file-excel.js\": [\n\t\t\"bea4\",\n\t\t\"chunk-2d21b46c\"\n\t],\n\t\"./20px/mi-file-eye.js\": [\n\t\t\"775d\",\n\t\t\"chunk-2d0d76a5\"\n\t],\n\t\"./20px/mi-file-magnifying-glass.js\": [\n\t\t\"aabc\",\n\t\t\"chunk-2d213157\"\n\t],\n\t\"./20px/mi-file-other.js\": [\n\t\t\"22e1\",\n\t\t\"chunk-2d0b23a2\"\n\t],\n\t\"./20px/mi-file-pdf.js\": [\n\t\t\"6c14\",\n\t\t\"chunk-2d0da6c6\"\n\t],\n\t\"./20px/mi-file-ribbon.js\": [\n\t\t\"541a\",\n\t\t\"chunk-2d0c8225\"\n\t],\n\t\"./20px/mi-file.js\": [\n\t\t\"b75f\",\n\t\t\"chunk-2d21029c\"\n\t],\n\t\"./20px/mi-fish.js\": [\n\t\t\"38b5\",\n\t\t\"chunk-2d0bae2e\"\n\t],\n\t\"./20px/mi-flag.js\": [\n\t\t\"80ba\",\n\t\t\"chunk-2d0dd62d\"\n\t],\n\t\"./20px/mi-flame.js\": [\n\t\t\"1d1c\",\n\t\t\"chunk-2d0b64db\"\n\t],\n\t\"./20px/mi-floppy-disk.js\": [\n\t\t\"06dc\",\n\t\t\"chunk-2d0a49fb\"\n\t],\n\t\"./20px/mi-flow-diagram.js\": [\n\t\t\"b8a2\",\n\t\t\"chunk-2d210b7d\"\n\t],\n\t\"./20px/mi-flow.js\": [\n\t\t\"5699\",\n\t\t\"chunk-2d0c8a77\"\n\t],\n\t\"./20px/mi-folder-arrow-down.js\": [\n\t\t\"93e2\",\n\t\t\"chunk-2d0e55fd\"\n\t],\n\t\"./20px/mi-folder-arrow-up.js\": [\n\t\t\"25e7\",\n\t\t\"chunk-2d0b2eeb\"\n\t],\n\t\"./20px/mi-folder-minus.js\": [\n\t\t\"682b\",\n\t\t\"chunk-2d0d05a8\"\n\t],\n\t\"./20px/mi-folder-open.js\": [\n\t\t\"2189\",\n\t\t\"chunk-2d0b1a76\"\n\t],\n\t\"./20px/mi-folder-plus.js\": [\n\t\t\"c6e1\",\n\t\t\"chunk-2d2178d5\"\n\t],\n\t\"./20px/mi-folder-solid.js\": [\n\t\t\"ec4b\",\n\t\t\"chunk-2d2304c2\"\n\t],\n\t\"./20px/mi-folder.js\": [\n\t\t\"5c37\",\n\t\t\"chunk-2d0d32a8\"\n\t],\n\t\"./20px/mi-fuel-pump.js\": [\n\t\t\"159a\",\n\t\t\"chunk-2d0ab562\"\n\t],\n\t\"./20px/mi-funnel-solid.js\": [\n\t\t\"c341\",\n\t\t\"chunk-2d2167a3\"\n\t],\n\t\"./20px/mi-funnel.js\": [\n\t\t\"a3b1\",\n\t\t\"chunk-2d208477\"\n\t],\n\t\"./20px/mi-game-controller.js\": [\n\t\t\"1b95\",\n\t\t\"chunk-2d0b5e23\"\n\t],\n\t\"./20px/mi-gift.js\": [\n\t\t\"6b66\",\n\t\t\"chunk-2d0da3a2\"\n\t],\n\t\"./20px/mi-globe.js\": [\n\t\t\"0325\",\n\t\t\"chunk-2d0a387c\"\n\t],\n\t\"./20px/mi-greater-than-equal.js\": [\n\t\t\"7255\",\n\t\t\"chunk-2d0d63b1\"\n\t],\n\t\"./20px/mi-greater-than.js\": [\n\t\t\"5b9b\",\n\t\t\"chunk-2d0d2fcc\"\n\t],\n\t\"./20px/mi-grid.js\": [\n\t\t\"9ea8\",\n\t\t\"chunk-2d0f1139\"\n\t],\n\t\"./20px/mi-hair-dryer.js\": [\n\t\t\"b90a\",\n\t\t\"chunk-2d21097e\"\n\t],\n\t\"./20px/mi-handshake.js\": [\n\t\t\"c7d0\",\n\t\t\"chunk-2d217c76\"\n\t],\n\t\"./20px/mi-headset.js\": [\n\t\t\"8bec\",\n\t\t\"chunk-2d0e923e\"\n\t],\n\t\"./20px/mi-heart-solid.js\": [\n\t\t\"9cdd\",\n\t\t\"chunk-2d0f0a40\"\n\t],\n\t\"./20px/mi-heart.js\": [\n\t\t\"7417\",\n\t\t\"chunk-2d0d6ab9\"\n\t],\n\t\"./20px/mi-high-heel.js\": [\n\t\t\"ac08\",\n\t\t\"chunk-2d2132a0\"\n\t],\n\t\"./20px/mi-hook-arrow-left.js\": [\n\t\t\"eb37\",\n\t\t\"chunk-2d2300b7\"\n\t],\n\t\"./20px/mi-hook-arrow-right.js\": [\n\t\t\"f486\",\n\t\t\"chunk-2d22c902\"\n\t],\n\t\"./20px/mi-house-solid.js\": [\n\t\t\"a704\",\n\t\t\"chunk-2d208d70\"\n\t],\n\t\"./20px/mi-house.js\": [\n\t\t\"6c25\",\n\t\t\"chunk-2d0da6e6\"\n\t],\n\t\"./20px/mi-image-polaroid.js\": [\n\t\t\"a938\",\n\t\t\"chunk-2d209553\"\n\t],\n\t\"./20px/mi-image.js\": [\n\t\t\"cf9c\",\n\t\t\"chunk-2d2227e3\"\n\t],\n\t\"./20px/mi-info-circle-solid.js\": [\n\t\t\"8615\",\n\t\t\"chunk-2d0de698\"\n\t],\n\t\"./20px/mi-info-circle.js\": [\n\t\t\"72f0\",\n\t\t\"chunk-2d0d699b\"\n\t],\n\t\"./20px/mi-jerrycan.js\": [\n\t\t\"6ce6\",\n\t\t\"chunk-2d0dad14\"\n\t],\n\t\"./20px/mi-laptop-shopping-cart.js\": [\n\t\t\"edcb\",\n\t\t\"chunk-2d230e34\"\n\t],\n\t\"./20px/mi-laptop.js\": [\n\t\t\"fa1d\",\n\t\t\"chunk-2d237144\"\n\t],\n\t\"./20px/mi-layout-2x2.js\": [\n\t\t\"edf0\",\n\t\t\"chunk-2d230e5f\"\n\t],\n\t\"./20px/mi-leaf.js\": [\n\t\t\"ac89\",\n\t\t\"chunk-2d213399\"\n\t],\n\t\"./20px/mi-lemon-slice.js\": [\n\t\t\"05ea\",\n\t\t\"chunk-2d0a4657\"\n\t],\n\t\"./20px/mi-lemon.js\": [\n\t\t\"c768\",\n\t\t\"chunk-2d2176ec\"\n\t],\n\t\"./20px/mi-less-than-equal.js\": [\n\t\t\"c9ac\",\n\t\t\"chunk-2d2183ce\"\n\t],\n\t\"./20px/mi-less-than.js\": [\n\t\t\"b43f\",\n\t\t\"chunk-2d20f71b\"\n\t],\n\t\"./20px/mi-lifebuoy.js\": [\n\t\t\"3f7f\",\n\t\t\"chunk-2d0c55d8\"\n\t],\n\t\"./20px/mi-light-bulb.js\": [\n\t\t\"da8b\",\n\t\t\"chunk-2d22895d\"\n\t],\n\t\"./20px/mi-lightning.js\": [\n\t\t\"8223\",\n\t\t\"chunk-2d0dd7b1\"\n\t],\n\t\"./20px/mi-link.js\": [\n\t\t\"b1de\",\n\t\t\"chunk-2d20f1c6\"\n\t],\n\t\"./20px/mi-list-bullets.js\": [\n\t\t\"fe59\",\n\t\t\"chunk-2d238099\"\n\t],\n\t\"./20px/mi-list-numbers.js\": [\n\t\t\"1c3e\",\n\t\t\"chunk-2d0b615a\"\n\t],\n\t\"./20px/mi-lock-solid.js\": [\n\t\t\"f618\",\n\t\t\"chunk-2d22cfad\"\n\t],\n\t\"./20px/mi-lock-unlocked-solid.js\": [\n\t\t\"74fe\",\n\t\t\"chunk-2d0d7152\"\n\t],\n\t\"./20px/mi-lock-unlocked.js\": [\n\t\t\"d7ea\",\n\t\t\"chunk-2d21f125\"\n\t],\n\t\"./20px/mi-lock.js\": [\n\t\t\"7d4d\",\n\t\t\"chunk-2d0e1f73\"\n\t],\n\t\"./20px/mi-magnifying-glass.js\": [\n\t\t\"3287\",\n\t\t\"chunk-2d0b9294\"\n\t],\n\t\"./20px/mi-man.js\": [\n\t\t\"dedb\",\n\t\t\"chunk-2d229db5\"\n\t],\n\t\"./20px/mi-map.js\": [\n\t\t\"c10b\",\n\t\t\"chunk-2d215fd6\"\n\t],\n\t\"./20px/mi-medal.js\": [\n\t\t\"138b\",\n\t\t\"chunk-2d0aadc2\"\n\t],\n\t\"./20px/mi-medicine-bottle.js\": [\n\t\t\"c113\",\n\t\t\"chunk-2d215fc6\"\n\t],\n\t\"./20px/mi-megaphone.js\": [\n\t\t\"e999\",\n\t\t\"chunk-2d22678a\"\n\t],\n\t\"./20px/mi-microphone-off.js\": [\n\t\t\"d4c4\",\n\t\t\"chunk-2d21e577\"\n\t],\n\t\"./20px/mi-microphone.js\": [\n\t\t\"125c\",\n\t\t\"chunk-2d0aa9a5\"\n\t],\n\t\"./20px/mi-minus-circle-solid.js\": [\n\t\t\"14d0\",\n\t\t\"chunk-2d0ab6a5\"\n\t],\n\t\"./20px/mi-minus-circle.js\": [\n\t\t\"4cdf\",\n\t\t\"chunk-2d0cc467\"\n\t],\n\t\"./20px/mi-minus.js\": [\n\t\t\"1e63\",\n\t\t\"chunk-2d0b6907\"\n\t],\n\t\"./20px/mi-mobile-phone.js\": [\n\t\t\"6d21\",\n\t\t\"chunk-2d0daaa3\"\n\t],\n\t\"./20px/mi-module-1.js\": [\n\t\t\"e48e\",\n\t\t\"chunk-2d2254d2\"\n\t],\n\t\"./20px/mi-module-2.js\": [\n\t\t\"3bf1\",\n\t\t\"chunk-2d0c4c50\"\n\t],\n\t\"./20px/mi-monitor.js\": [\n\t\t\"07ef\",\n\t\t\"chunk-2d0a4dde\"\n\t],\n\t\"./20px/mi-moon-solid.js\": [\n\t\t\"fd3e\",\n\t\t\"chunk-2d237cc6\"\n\t],\n\t\"./20px/mi-moon.js\": [\n\t\t\"6a17\",\n\t\t\"chunk-2d0d9f47\"\n\t],\n\t\"./20px/mi-mouse.js\": [\n\t\t\"7cfb\",\n\t\t\"chunk-2d0e21be\"\n\t],\n\t\"./20px/mi-navigation-arrow-up-right.js\": [\n\t\t\"68a8\",\n\t\t\"chunk-2d0d0b2f\"\n\t],\n\t\"./20px/mi-navigation-arrow-up.js\": [\n\t\t\"c2de\",\n\t\t\"chunk-2d2169e6\"\n\t],\n\t\"./20px/mi-newspaper.js\": [\n\t\t\"0e69\",\n\t\t\"chunk-2d0af4ae\"\n\t],\n\t\"./20px/mi-next-circle.js\": [\n\t\t\"ef9d\",\n\t\t\"chunk-2d2310a2\"\n\t],\n\t\"./20px/mi-next.js\": [\n\t\t\"184e\",\n\t\t\"chunk-2d0ac00e\"\n\t],\n\t\"./20px/mi-not-equal.js\": [\n\t\t\"418f\",\n\t\t\"chunk-2d0c0361\"\n\t],\n\t\"./20px/mi-office-1.js\": [\n\t\t\"34b7\",\n\t\t\"chunk-2d0b9f2c\"\n\t],\n\t\"./20px/mi-office-2.js\": [\n\t\t\"30a7\",\n\t\t\"chunk-2d0b9009\"\n\t],\n\t\"./20px/mi-oil-well.js\": [\n\t\t\"0c00\",\n\t\t\"chunk-2d0aec69\"\n\t],\n\t\"./20px/mi-org-chart.js\": [\n\t\t\"2025\",\n\t\t\"chunk-2d0b15f7\"\n\t],\n\t\"./20px/mi-oven.js\": [\n\t\t\"6d15\",\n\t\t\"chunk-2d0daa88\"\n\t],\n\t\"./20px/mi-package-door.js\": [\n\t\t\"1060\",\n\t\t\"chunk-2d0aa20f\"\n\t],\n\t\"./20px/mi-package-open.js\": [\n\t\t\"d876\",\n\t\t\"chunk-2d21ef29\"\n\t],\n\t\"./20px/mi-package.js\": [\n\t\t\"57d7\",\n\t\t\"chunk-2d0c936b\"\n\t],\n\t\"./20px/mi-pallet-empty.js\": [\n\t\t\"fc85\",\n\t\t\"chunk-2d237970\"\n\t],\n\t\"./20px/mi-pallet.js\": [\n\t\t\"828e\",\n\t\t\"chunk-2d0dd89d\"\n\t],\n\t\"./20px/mi-paperclip.js\": [\n\t\t\"89bb\",\n\t\t\"chunk-2d0df7f7\"\n\t],\n\t\"./20px/mi-pause-circle.js\": [\n\t\t\"ed48\",\n\t\t\"chunk-2d230859\"\n\t],\n\t\"./20px/mi-pause.js\": [\n\t\t\"8616\",\n\t\t\"chunk-2d0de699\"\n\t],\n\t\"./20px/mi-pencil.js\": [\n\t\t\"fc23\",\n\t\t\"chunk-2d2378b4\"\n\t],\n\t\"./20px/mi-people.js\": [\n\t\t\"7b28\",\n\t\t\"chunk-2d0e1787\"\n\t],\n\t\"./20px/mi-person-side-hand.js\": [\n\t\t\"85d6\",\n\t\t\"chunk-2d0de905\"\n\t],\n\t\"./20px/mi-person.js\": [\n\t\t\"b11c\",\n\t\t\"chunk-2d20eb97\"\n\t],\n\t\"./20px/mi-phone-call.js\": [\n\t\t\"6dcb\",\n\t\t\"chunk-2d0db0c3\"\n\t],\n\t\"./20px/mi-phone.js\": [\n\t\t\"b27c\",\n\t\t\"chunk-2d20f012\"\n\t],\n\t\"./20px/mi-pig-head.js\": [\n\t\t\"8eba\",\n\t\t\"chunk-2d0e9d22\"\n\t],\n\t\"./20px/mi-pig-side.js\": [\n\t\t\"822c\",\n\t\t\"chunk-2d0dd7e1\"\n\t],\n\t\"./20px/mi-pill.js\": [\n\t\t\"de0d\",\n\t\t\"chunk-2d22976b\"\n\t],\n\t\"./20px/mi-pin.js\": [\n\t\t\"36ba\",\n\t\t\"chunk-2d0ba6d8\"\n\t],\n\t\"./20px/mi-play-circle.js\": [\n\t\t\"3cbf\",\n\t\t\"chunk-2d0c4fca\"\n\t],\n\t\"./20px/mi-play.js\": [\n\t\t\"4766\",\n\t\t\"chunk-2d0c1979\"\n\t],\n\t\"./20px/mi-plug.js\": [\n\t\t\"eeb6\",\n\t\t\"chunk-2d2311aa\"\n\t],\n\t\"./20px/mi-plus-circle-solid.js\": [\n\t\t\"da96\",\n\t\t\"chunk-2d228950\"\n\t],\n\t\"./20px/mi-plus-circle.js\": [\n\t\t\"bab6\",\n\t\t\"chunk-2d21a589\"\n\t],\n\t\"./20px/mi-plus.js\": [\n\t\t\"e794\",\n\t\t\"chunk-2d226003\"\n\t],\n\t\"./20px/mi-power.js\": [\n\t\t\"5741\",\n\t\t\"chunk-2d0c8d95\"\n\t],\n\t\"./20px/mi-previous-circle.js\": [\n\t\t\"2c8d\",\n\t\t\"chunk-2d0bd653\"\n\t],\n\t\"./20px/mi-previous.js\": [\n\t\t\"98b2\",\n\t\t\"chunk-2d0e6865\"\n\t],\n\t\"./20px/mi-printer.js\": [\n\t\t\"e98e\",\n\t\t\"chunk-2d226797\"\n\t],\n\t\"./20px/mi-propellor.js\": [\n\t\t\"b4dc\",\n\t\t\"chunk-2d20fd07\"\n\t],\n\t\"./20px/mi-push-pin-slash.js\": [\n\t\t\"58b7\",\n\t\t\"chunk-2d0c96ee\"\n\t],\n\t\"./20px/mi-push-pin.js\": [\n\t\t\"32ef\",\n\t\t\"chunk-2d0b9836\"\n\t],\n\t\"./20px/mi-puzzle-piece.js\": [\n\t\t\"69be\",\n\t\t\"chunk-2d0d0f3c\"\n\t],\n\t\"./20px/mi-qr-code-scan.js\": [\n\t\t\"c59a\",\n\t\t\"chunk-2d216ff0\"\n\t],\n\t\"./20px/mi-qr-code.js\": [\n\t\t\"1a54\",\n\t\t\"chunk-2d0b59e5\"\n\t],\n\t\"./20px/mi-question-circle-solid.js\": [\n\t\t\"6b71\",\n\t\t\"chunk-2d0da3bc\"\n\t],\n\t\"./20px/mi-question-circle.js\": [\n\t\t\"9fef\",\n\t\t\"chunk-2d0f15a4\"\n\t],\n\t\"./20px/mi-quote.js\": [\n\t\t\"8e04\",\n\t\t\"chunk-2d0e96e7\"\n\t],\n\t\"./20px/mi-rack.js\": [\n\t\t\"d15a\",\n\t\t\"chunk-2d21d4cf\"\n\t],\n\t\"./20px/mi-radar.js\": [\n\t\t\"5f95\",\n\t\t\"chunk-2d0d3ea3\"\n\t],\n\t\"./20px/mi-radio-tower.js\": [\n\t\t\"8709\",\n\t\t\"chunk-2d0dea3e\"\n\t],\n\t\"./20px/mi-radio.js\": [\n\t\t\"d683\",\n\t\t\"chunk-2d21e7c3\"\n\t],\n\t\"./20px/mi-receipt.js\": [\n\t\t\"e212\",\n\t\t\"chunk-2d224c44\"\n\t],\n\t\"./20px/mi-remote-control-hand.js\": [\n\t\t\"6fec\",\n\t\t\"chunk-2d0db884\"\n\t],\n\t\"./20px/mi-remote-control.js\": [\n\t\t\"ed01\",\n\t\t\"chunk-2d2307d6\"\n\t],\n\t\"./20px/mi-rotate.js\": [\n\t\t\"a60a\",\n\t\t\"chunk-2d2089dc\"\n\t],\n\t\"./20px/mi-route-network.js\": [\n\t\t\"5eb1\",\n\t\t\"chunk-2d0d3fd5\"\n\t],\n\t\"./20px/mi-route.js\": [\n\t\t\"bcdf\",\n\t\t\"chunk-2d21ad79\"\n\t],\n\t\"./20px/mi-rubber-tyred-gantry-crane.js\": [\n\t\t\"aefd\",\n\t\t\"chunk-2d2140d8\"\n\t],\n\t\"./20px/mi-ruler.js\": [\n\t\t\"d4be\",\n\t\t\"chunk-2d21e589\"\n\t],\n\t\"./20px/mi-safety-gear.js\": [\n\t\t\"0be4\",\n\t\t\"chunk-2d0aef17\"\n\t],\n\t\"./20px/mi-safety-helmet.js\": [\n\t\t\"c055\",\n\t\t\"chunk-2d215c83\"\n\t],\n\t\"./20px/mi-sandbox.js\": [\n\t\t\"670c\",\n\t\t\"chunk-2d0d01aa\"\n\t],\n\t\"./20px/mi-scale-balance.js\": [\n\t\t\"7ba9\",\n\t\t\"chunk-2d0e1d39\"\n\t],\n\t\"./20px/mi-scale.js\": [\n\t\t\"23f9\",\n\t\t\"chunk-2d0b278a\"\n\t],\n\t\"./20px/mi-scissors.js\": [\n\t\t\"8413\",\n\t\t\"chunk-2d0ddf14\"\n\t],\n\t\"./20px/mi-share.js\": [\n\t\t\"c562\",\n\t\t\"chunk-2d216f64\"\n\t],\n\t\"./20px/mi-shield-check.js\": [\n\t\t\"8296\",\n\t\t\"chunk-2d0dd88d\"\n\t],\n\t\"./20px/mi-shield.js\": [\n\t\t\"dd84\",\n\t\t\"chunk-2d229472\"\n\t],\n\t\"./20px/mi-shoe.js\": [\n\t\t\"fccf\",\n\t\t\"chunk-2d237ed6\"\n\t],\n\t\"./20px/mi-shopping-cart-return.js\": [\n\t\t\"f22a\",\n\t\t\"chunk-2d22c0f1\"\n\t],\n\t\"./20px/mi-shopping-cart.js\": [\n\t\t\"13c3\",\n\t\t\"chunk-2d0ab2c8\"\n\t],\n\t\"./20px/mi-shrimp.js\": [\n\t\t\"6116\",\n\t\t\"chunk-2d0ceb16\"\n\t],\n\t\"./20px/mi-shrink.js\": [\n\t\t\"f747\",\n\t\t\"chunk-2d22d3ca\"\n\t],\n\t\"./20px/mi-signpost.js\": [\n\t\t\"e7d8\",\n\t\t\"chunk-2d22653c\"\n\t],\n\t\"./20px/mi-sliders-horizontal.js\": [\n\t\t\"97c5\",\n\t\t\"chunk-2d0e64c6\"\n\t],\n\t\"./20px/mi-sliders-vertical.js\": [\n\t\t\"360a\",\n\t\t\"chunk-2d0ba0ca\"\n\t],\n\t\"./20px/mi-snowflake.js\": [\n\t\t\"3e22\",\n\t\t\"chunk-2d0c5148\"\n\t],\n\t\"./20px/mi-socks.js\": [\n\t\t\"26c5\",\n\t\t\"chunk-2d0b326c\"\n\t],\n\t\"./20px/mi-sparkle.js\": [\n\t\t\"d5bc\",\n\t\t\"chunk-2d21e948\"\n\t],\n\t\"./20px/mi-speaker-high-volume.js\": [\n\t\t\"7385\",\n\t\t\"chunk-2d0d67cf\"\n\t],\n\t\"./20px/mi-speaker-low-volume.js\": [\n\t\t\"7068\",\n\t\t\"chunk-2d0d5c51\"\n\t],\n\t\"./20px/mi-speaker-mute.js\": [\n\t\t\"415d\",\n\t\t\"chunk-2d0c0302\"\n\t],\n\t\"./20px/mi-speedometer.js\": [\n\t\t\"1133\",\n\t\t\"chunk-2d0aa576\"\n\t],\n\t\"./20px/mi-square-arrow-up-right.js\": [\n\t\t\"d486\",\n\t\t\"chunk-2d21e044\"\n\t],\n\t\"./20px/mi-square-arrow-up.js\": [\n\t\t\"eb1d\",\n\t\t\"chunk-2d2300a6\"\n\t],\n\t\"./20px/mi-stack.js\": [\n\t\t\"4715\",\n\t\t\"chunk-2d0c18dd\"\n\t],\n\t\"./20px/mi-stamp.js\": [\n\t\t\"d8e5\",\n\t\t\"chunk-2d21f4ba\"\n\t],\n\t\"./20px/mi-star-solid.js\": [\n\t\t\"821f\",\n\t\t\"chunk-2d0dd7c5\"\n\t],\n\t\"./20px/mi-star.js\": [\n\t\t\"b803\",\n\t\t\"chunk-2d21058f\"\n\t],\n\t\"./20px/mi-steering-wheel.js\": [\n\t\t\"e3c0\",\n\t\t\"chunk-2d225611\"\n\t],\n\t\"./20px/mi-stop-circle.js\": [\n\t\t\"4d0b\",\n\t\t\"chunk-2d0cc1d8\"\n\t],\n\t\"./20px/mi-stop.js\": [\n\t\t\"e9f3\",\n\t\t\"chunk-2d226cf7\"\n\t],\n\t\"./20px/mi-store.js\": [\n\t\t\"d6aa\",\n\t\t\"chunk-2d21ece8\"\n\t],\n\t\"./20px/mi-sun-solid.js\": [\n\t\t\"6fd1\",\n\t\t\"chunk-2d0db833\"\n\t],\n\t\"./20px/mi-sun.js\": [\n\t\t\"5bc7\",\n\t\t\"chunk-2d0d34b7\"\n\t],\n\t\"./20px/mi-sustainability.js\": [\n\t\t\"794f\",\n\t\t\"chunk-2d0d7e0a\"\n\t],\n\t\"./20px/mi-t-shirt.js\": [\n\t\t\"0e77\",\n\t\t\"chunk-2d0af4cb\"\n\t],\n\t\"./20px/mi-tablet.js\": [\n\t\t\"b845\",\n\t\t\"chunk-2d21060d\"\n\t],\n\t\"./20px/mi-tachometer.js\": [\n\t\t\"382d\",\n\t\t\"chunk-2d0ba88d\"\n\t],\n\t\"./20px/mi-tag.js\": [\n\t\t\"f118\",\n\t\t\"chunk-2d22bce8\"\n\t],\n\t\"./20px/mi-television.js\": [\n\t\t\"5323\",\n\t\t\"chunk-2d0c7e55\"\n\t],\n\t\"./20px/mi-thermometer-minus.js\": [\n\t\t\"f658\",\n\t\t\"chunk-2d22d029\"\n\t],\n\t\"./20px/mi-thermometer-plus.js\": [\n\t\t\"aeec\",\n\t\t\"chunk-2d2140b8\"\n\t],\n\t\"./20px/mi-thermometer-snow.js\": [\n\t\t\"514a\",\n\t\t\"chunk-2d0c773f\"\n\t],\n\t\"./20px/mi-thermometer-sun.js\": [\n\t\t\"96c0\",\n\t\t\"chunk-2d0e6100\"\n\t],\n\t\"./20px/mi-thermometer.js\": [\n\t\t\"9be3\",\n\t\t\"chunk-2d0f066d\"\n\t],\n\t\"./20px/mi-thumbs-down-solid.js\": [\n\t\t\"ffc4\",\n\t\t\"chunk-2d2389e7\"\n\t],\n\t\"./20px/mi-thumbs-down.js\": [\n\t\t\"f05f\",\n\t\t\"chunk-2d22b9d1\"\n\t],\n\t\"./20px/mi-thumbs-up-solid.js\": [\n\t\t\"62ac\",\n\t\t\"chunk-2d0cf4d4\"\n\t],\n\t\"./20px/mi-thumbs-up.js\": [\n\t\t\"52e0\",\n\t\t\"chunk-2d0c80be\"\n\t],\n\t\"./20px/mi-times-circle-solid.js\": [\n\t\t\"36f7\",\n\t\t\"chunk-2d0ba72a\"\n\t],\n\t\"./20px/mi-times-circle.js\": [\n\t\t\"5375\",\n\t\t\"chunk-2d0c7ef2\"\n\t],\n\t\"./20px/mi-times.js\": [\n\t\t\"6e5a\",\n\t\t\"chunk-2d0daef1\"\n\t],\n\t\"./20px/mi-tire.js\": [\n\t\t\"6f37\",\n\t\t\"chunk-2d0db24a\"\n\t],\n\t\"./20px/mi-train-front.js\": [\n\t\t\"6025\",\n\t\t\"chunk-2d0ce773\"\n\t],\n\t\"./20px/mi-trash.js\": [\n\t\t\"72e7\",\n\t\t\"chunk-2d0d6983\"\n\t],\n\t\"./20px/mi-tray-arrow-down.js\": [\n\t\t\"b235\",\n\t\t\"chunk-2d20ef68\"\n\t],\n\t\"./20px/mi-tray-arrow-up.js\": [\n\t\t\"d69a\",\n\t\t\"chunk-2d21e810\"\n\t],\n\t\"./20px/mi-truck-front-clock.js\": [\n\t\t\"4c5d\",\n\t\t\"chunk-2d0cbeb4\"\n\t],\n\t\"./20px/mi-truck-front-pause-circle.js\": [\n\t\t\"d0ce\",\n\t\t\"chunk-2d21d6a4\"\n\t],\n\t\"./20px/mi-truck-front.js\": [\n\t\t\"7372\",\n\t\t\"chunk-2d0d67ad\"\n\t],\n\t\"./20px/mi-truck-side-reefer.js\": [\n\t\t\"39ef\",\n\t\t\"chunk-2d0bb27d\"\n\t],\n\t\"./20px/mi-truck-side.js\": [\n\t\t\"ac46\",\n\t\t\"chunk-2d21331a\"\n\t],\n\t\"./20px/mi-tugboat-side.js\": [\n\t\t\"13f5\",\n\t\t\"chunk-2d0ab327\"\n\t],\n\t\"./20px/mi-turnip.js\": [\n\t\t\"c21a\",\n\t\t\"chunk-2d2163b5\"\n\t],\n\t\"./20px/mi-twistlock.js\": [\n\t\t\"ebee\",\n\t\t\"chunk-2d2306f3\"\n\t],\n\t\"./20px/mi-user-circle-solid.js\": [\n\t\t\"acab\",\n\t\t\"chunk-2d2138b9\"\n\t],\n\t\"./20px/mi-user-circle.js\": [\n\t\t\"3344\",\n\t\t\"chunk-2d0b95d6\"\n\t],\n\t\"./20px/mi-user-key.js\": [\n\t\t\"5b92\",\n\t\t\"chunk-2d0d2f9c\"\n\t],\n\t\"./20px/mi-user-plus-circle.js\": [\n\t\t\"9c23\",\n\t\t\"chunk-2d0f0401\"\n\t],\n\t\"./20px/mi-user-solid.js\": [\n\t\t\"e11f\",\n\t\t\"chunk-2d2248b7\"\n\t],\n\t\"./20px/mi-user.js\": [\n\t\t\"070a\",\n\t\t\"chunk-2d0a476e\"\n\t],\n\t\"./20px/mi-vessel-front.js\": [\n\t\t\"cbbf\",\n\t\t\"chunk-2d221dd9\"\n\t],\n\t\"./20px/mi-vessel-side-arrow-down-up.js\": [\n\t\t\"bd32\",\n\t\t\"chunk-2d21ab17\"\n\t],\n\t\"./20px/mi-vessel-side-arrow-down.js\": [\n\t\t\"cf90\",\n\t\t\"chunk-2d2227b0\"\n\t],\n\t\"./20px/mi-vessel-side-arrow-up.js\": [\n\t\t\"77e2\",\n\t\t\"chunk-2d0d7c43\"\n\t],\n\t\"./20px/mi-vessel-side.js\": [\n\t\t\"255f\",\n\t\t\"chunk-2d0b294a\"\n\t],\n\t\"./20px/mi-video-clapperboard.js\": [\n\t\t\"d3da\",\n\t\t\"chunk-2d21e202\"\n\t],\n\t\"./20px/mi-video.js\": [\n\t\t\"8d97\",\n\t\t\"chunk-2d0e9440\"\n\t],\n\t\"./20px/mi-warehouse-reefer.js\": [\n\t\t\"7aa8\",\n\t\t\"chunk-2d0e1977\"\n\t],\n\t\"./20px/mi-warehouse.js\": [\n\t\t\"754b\",\n\t\t\"chunk-2d0d6f02\"\n\t],\n\t\"./20px/mi-wifi-offline.js\": [\n\t\t\"3888\",\n\t\t\"chunk-2d0ba91b\"\n\t],\n\t\"./20px/mi-wifi.js\": [\n\t\t\"fcbf\",\n\t\t\"chunk-2d237eb7\"\n\t],\n\t\"./20px/mi-wrench.js\": [\n\t\t\"9a9c\",\n\t\t\"chunk-2d0efd88\"\n\t],\n\t\"./24px/mi-airplane-arrival.js\": [\n\t\t\"7491\",\n\t\t\"chunk-2d0d6bab\"\n\t],\n\t\"./24px/mi-airplane-departure.js\": [\n\t\t\"f0ed\",\n\t\t\"chunk-2d22bf9f\"\n\t],\n\t\"./24px/mi-airplane.js\": [\n\t\t\"00ff\",\n\t\t\"chunk-2d0a33b6\"\n\t],\n\t\"./24px/mi-anchor.js\": [\n\t\t\"a396\",\n\t\t\"chunk-2d207f85\"\n\t],\n\t\"./24px/mi-apple-alt.js\": [\n\t\t\"bdc8\",\n\t\t\"chunk-2d21b0ed\"\n\t],\n\t\"./24px/mi-apple.js\": [\n\t\t\"c236\",\n\t\t\"chunk-2d2163c8\"\n\t],\n\t\"./24px/mi-arrow-all-directions.js\": [\n\t\t\"8861\",\n\t\t\"chunk-2d0deeb1\"\n\t],\n\t\"./24px/mi-arrow-anti-clockwise-clock.js\": [\n\t\t\"158d\",\n\t\t\"chunk-2d0ab546\"\n\t],\n\t\"./24px/mi-arrow-anti-clockwise.js\": [\n\t\t\"c093\",\n\t\t\"chunk-2d215cfd\"\n\t],\n\t\"./24px/mi-arrow-clockwise-clock.js\": [\n\t\t\"40b1\",\n\t\t\"chunk-2d0c0481\"\n\t],\n\t\"./24px/mi-arrow-clockwise-times.js\": [\n\t\t\"c3b4\",\n\t\t\"chunk-2d216d38\"\n\t],\n\t\"./24px/mi-arrow-clockwise.js\": [\n\t\t\"ee1f\",\n\t\t\"chunk-2d230beb\"\n\t],\n\t\"./24px/mi-arrow-curved-up-left.js\": [\n\t\t\"0816\",\n\t\t\"chunk-2d0a4b23\"\n\t],\n\t\"./24px/mi-arrow-curved-up-right.js\": [\n\t\t\"4870\",\n\t\t\"chunk-2d0c1d53\"\n\t],\n\t\"./24px/mi-arrow-down-circle.js\": [\n\t\t\"374b\",\n\t\t\"chunk-2d0ba508\"\n\t],\n\t\"./24px/mi-arrow-down-left.js\": [\n\t\t\"27e7\",\n\t\t\"chunk-2d0b366d\"\n\t],\n\t\"./24px/mi-arrow-down-right.js\": [\n\t\t\"f77d\",\n\t\t\"chunk-2d22d454\"\n\t],\n\t\"./24px/mi-arrow-down-square-dashed.js\": [\n\t\t\"327e\",\n\t\t\"chunk-2d0b92a3\"\n\t],\n\t\"./24px/mi-arrow-down-square.js\": [\n\t\t\"72d8\",\n\t\t\"chunk-2d0d6965\"\n\t],\n\t\"./24px/mi-arrow-down.js\": [\n\t\t\"7612\",\n\t\t\"chunk-2d0d7236\"\n\t],\n\t\"./24px/mi-arrow-from-bottom.js\": [\n\t\t\"8473\",\n\t\t\"chunk-2d0ddfce\"\n\t],\n\t\"./24px/mi-arrow-from-left.js\": [\n\t\t\"2d06\",\n\t\t\"chunk-2d0bd8ee\"\n\t],\n\t\"./24px/mi-arrow-from-right.js\": [\n\t\t\"af28\",\n\t\t\"chunk-2d213e21\"\n\t],\n\t\"./24px/mi-arrow-from-top.js\": [\n\t\t\"bb94\",\n\t\t\"chunk-2d21a451\"\n\t],\n\t\"./24px/mi-arrow-left-circle.js\": [\n\t\t\"c074\",\n\t\t\"chunk-2d215cc0\"\n\t],\n\t\"./24px/mi-arrow-left.js\": [\n\t\t\"39d9\",\n\t\t\"chunk-2d0bb231\"\n\t],\n\t\"./24px/mi-arrow-right-circle.js\": [\n\t\t\"4777\",\n\t\t\"chunk-2d0c1999\"\n\t],\n\t\"./24px/mi-arrow-right.js\": [\n\t\t\"0b6e\",\n\t\t\"chunk-2d0ae997\"\n\t],\n\t\"./24px/mi-arrow-to-bottom.js\": [\n\t\t\"b3d7\",\n\t\t\"chunk-2d20f91a\"\n\t],\n\t\"./24px/mi-arrow-to-left.js\": [\n\t\t\"be0e\",\n\t\t\"chunk-2d21aeae\"\n\t],\n\t\"./24px/mi-arrow-to-right.js\": [\n\t\t\"32ec\",\n\t\t\"chunk-2d0b9833\"\n\t],\n\t\"./24px/mi-arrow-to-top.js\": [\n\t\t\"71d5\",\n\t\t\"chunk-2d0d65a1\"\n\t],\n\t\"./24px/mi-arrow-up-circle.js\": [\n\t\t\"b187\",\n\t\t\"chunk-2d20ec44\"\n\t],\n\t\"./24px/mi-arrow-up-left.js\": [\n\t\t\"cb2da\",\n\t\t\"chunk-7720e93a\"\n\t],\n\t\"./24px/mi-arrow-up-merge.js\": [\n\t\t\"70c2\",\n\t\t\"chunk-2d0d61be\"\n\t],\n\t\"./24px/mi-arrow-up-right.js\": [\n\t\t\"c32f\",\n\t\t\"chunk-2d21679a\"\n\t],\n\t\"./24px/mi-arrow-up-square-dashed.js\": [\n\t\t\"8828\",\n\t\t\"chunk-2d0dee3c\"\n\t],\n\t\"./24px/mi-arrow-up-square.js\": [\n\t\t\"a285\",\n\t\t\"chunk-2d207ba4\"\n\t],\n\t\"./24px/mi-arrow-up.js\": [\n\t\t\"179f\",\n\t\t\"chunk-2d0abce9\"\n\t],\n\t\"./24px/mi-arrows-down-up.js\": [\n\t\t\"a6db\",\n\t\t\"chunk-2d209029\"\n\t],\n\t\"./24px/mi-arrows-left-right.js\": [\n\t\t\"e149\",\n\t\t\"chunk-2d2248e7\"\n\t],\n\t\"./24px/mi-banana.js\": [\n\t\t\"9d24\",\n\t\t\"chunk-2d0f07c3\"\n\t],\n\t\"./24px/mi-barrel.js\": [\n\t\t\"ea9b\",\n\t\t\"chunk-2d22fddb\"\n\t],\n\t\"./24px/mi-bars-horizontal-bullets.js\": [\n\t\t\"0bd2\",\n\t\t\"chunk-2d0aeef6\"\n\t],\n\t\"./24px/mi-bars-horizontal-funnel-down.js\": [\n\t\t\"ade6\",\n\t\t\"chunk-2d213cca\"\n\t],\n\t\"./24px/mi-bars-horizontal-funnel-left.js\": [\n\t\t\"8219\",\n\t\t\"chunk-2d0dd798\"\n\t],\n\t\"./24px/mi-bars-horizontal.js\": [\n\t\t\"8f06\",\n\t\t\"chunk-2d0e9aaa\"\n\t],\n\t\"./24px/mi-battery-bolt.js\": [\n\t\t\"5fb6\",\n\t\t\"chunk-2d0d439b\"\n\t],\n\t\"./24px/mi-battery-solid.js\": [\n\t\t\"00a5\",\n\t\t\"chunk-2d0a32ea\"\n\t],\n\t\"./24px/mi-battery.js\": [\n\t\t\"11c3\",\n\t\t\"chunk-2d0aab46\"\n\t],\n\t\"./24px/mi-bell-slash.js\": [\n\t\t\"e6e7\",\n\t\t\"chunk-2d226199\"\n\t],\n\t\"./24px/mi-bell-solid.js\": [\n\t\t\"8e60\",\n\t\t\"chunk-2d0e979d\"\n\t],\n\t\"./24px/mi-bell.js\": [\n\t\t\"e360\",\n\t\t\"chunk-2d22509e\"\n\t],\n\t\"./24px/mi-between.js\": [\n\t\t\"1d49\",\n\t\t\"chunk-2d0b650e\"\n\t],\n\t\"./24px/mi-bicycle.js\": [\n\t\t\"c2d7\",\n\t\t\"chunk-2d2169b8\"\n\t],\n\t\"./24px/mi-binoculars.js\": [\n\t\t\"5278\",\n\t\t\"chunk-2d0c7b34\"\n\t],\n\t\"./24px/mi-book-open.js\": [\n\t\t\"095c\",\n\t\t\"chunk-2d0a4f8d\"\n\t],\n\t\"./24px/mi-bookmark-solid.js\": [\n\t\t\"1f16\",\n\t\t\"chunk-2d0b6c30\"\n\t],\n\t\"./24px/mi-bookmark.js\": [\n\t\t\"7caf\",\n\t\t\"chunk-2d0e2127\"\n\t],\n\t\"./24px/mi-box.js\": [\n\t\t\"25e2\",\n\t\t\"chunk-2d0b2ee6\"\n\t],\n\t\"./24px/mi-boxes-stacked.js\": [\n\t\t\"d054\",\n\t\t\"chunk-2d21d0e1\"\n\t],\n\t\"./24px/mi-briefcase.js\": [\n\t\t\"e862\",\n\t\t\"chunk-2d226365\"\n\t],\n\t\"./24px/mi-browser.js\": [\n\t\t\"28e9\",\n\t\t\"chunk-2d0b3a30\"\n\t],\n\t\"./24px/mi-bucket-mop.js\": [\n\t\t\"2445\",\n\t\t\"chunk-2d0b2539\"\n\t],\n\t\"./24px/mi-bus-side.js\": [\n\t\t\"0af1\",\n\t\t\"chunk-2d0aeb72\"\n\t],\n\t\"./24px/mi-calculator.js\": [\n\t\t\"f23b\",\n\t\t\"chunk-2d22c111\"\n\t],\n\t\"./24px/mi-calendar-check.js\": [\n\t\t\"54e8\",\n\t\t\"chunk-2d0c8848\"\n\t],\n\t\"./24px/mi-calendar-clock.js\": [\n\t\t\"1270\",\n\t\t\"chunk-2d0aa9b0\"\n\t],\n\t\"./24px/mi-calendar-exclamation.js\": [\n\t\t\"9309\",\n\t\t\"chunk-2d0e4f99\"\n\t],\n\t\"./24px/mi-calendar-minus.js\": [\n\t\t\"43a6\",\n\t\t\"chunk-2d0c0faa\"\n\t],\n\t\"./24px/mi-calendar-plus.js\": [\n\t\t\"3357\",\n\t\t\"chunk-2d0b95f8\"\n\t],\n\t\"./24px/mi-calendar-times.js\": [\n\t\t\"9196\",\n\t\t\"chunk-2d0e492b\"\n\t],\n\t\"./24px/mi-calendar.js\": [\n\t\t\"b06e\",\n\t\t\"chunk-2d20e873\"\n\t],\n\t\"./24px/mi-camera-cctv.js\": [\n\t\t\"6c40\",\n\t\t\"chunk-2d0da71f\"\n\t],\n\t\"./24px/mi-camera-focus.js\": [\n\t\t\"ec69\",\n\t\t\"chunk-2d2304d7\"\n\t],\n\t\"./24px/mi-camera.js\": [\n\t\t\"0fde\",\n\t\t\"chunk-2d0afe2d\"\n\t],\n\t\"./24px/mi-captain-hat.js\": [\n\t\t\"0ba7\",\n\t\t\"chunk-2d0aee9e\"\n\t],\n\t\"./24px/mi-car-front.js\": [\n\t\t\"351f\",\n\t\t\"chunk-2d0b9d2d\"\n\t],\n\t\"./24px/mi-car-side.js\": [\n\t\t\"6aad\",\n\t\t\"chunk-2d0da544\"\n\t],\n\t\"./24px/mi-caret-down-solid.js\": [\n\t\t\"7a8c\",\n\t\t\"chunk-2d0e14ab\"\n\t],\n\t\"./24px/mi-caret-down.js\": [\n\t\t\"4c08\",\n\t\t\"chunk-2d0cbded\"\n\t],\n\t\"./24px/mi-caret-left-solid.js\": [\n\t\t\"a674\",\n\t\t\"chunk-2d208a88\"\n\t],\n\t\"./24px/mi-caret-left.js\": [\n\t\t\"0128\",\n\t\t\"chunk-2d0a30fd\"\n\t],\n\t\"./24px/mi-caret-right-solid.js\": [\n\t\t\"7e22\",\n\t\t\"chunk-2d0e22c4\"\n\t],\n\t\"./24px/mi-caret-right.js\": [\n\t\t\"140b\",\n\t\t\"chunk-2d0ab08b\"\n\t],\n\t\"./24px/mi-caret-up-down-solid.js\": [\n\t\t\"e82b\",\n\t\t\"chunk-2d226319\"\n\t],\n\t\"./24px/mi-caret-up-down.js\": [\n\t\t\"995f\",\n\t\t\"chunk-2d0e66e7\"\n\t],\n\t\"./24px/mi-caret-up-solid.js\": [\n\t\t\"2a8f\",\n\t\t\"chunk-2d0bced3\"\n\t],\n\t\"./24px/mi-caret-up.js\": [\n\t\t\"69a5\",\n\t\t\"chunk-2d0d0eed\"\n\t],\n\t\"./24px/mi-carrot.js\": [\n\t\t\"32a4\",\n\t\t\"chunk-2d0b9788\"\n\t],\n\t\"./24px/mi-cash.js\": [\n\t\t\"9d8a\",\n\t\t\"chunk-2d0f08aa\"\n\t],\n\t\"./24px/mi-chart-arrow-up-right.js\": [\n\t\t\"5c05\",\n\t\t\"chunk-2d0d3249\"\n\t],\n\t\"./24px/mi-chart-bars-vertical.js\": [\n\t\t\"c185\",\n\t\t\"chunk-2d2160a1\"\n\t],\n\t\"./24px/mi-chart-line-up.js\": [\n\t\t\"536f\",\n\t\t\"chunk-2d0c7f04\"\n\t],\n\t\"./24px/mi-chatbot.js\": [\n\t\t\"7e23\",\n\t\t\"chunk-2d0e22c5\"\n\t],\n\t\"./24px/mi-check-circle-half-dashed.js\": [\n\t\t\"9a13\",\n\t\t\"chunk-2d0efc60\"\n\t],\n\t\"./24px/mi-check-circle-solid.js\": [\n\t\t\"f2a7\",\n\t\t\"chunk-2d22c678\"\n\t],\n\t\"./24px/mi-check-circle.js\": [\n\t\t\"00f9\",\n\t\t\"chunk-2d0a3389\"\n\t],\n\t\"./24px/mi-check.js\": [\n\t\t\"e601\",\n\t\t\"chunk-2d225b28\"\n\t],\n\t\"./24px/mi-chemistry-beakers.js\": [\n\t\t\"438f\",\n\t\t\"chunk-2d0c0ae3\"\n\t],\n\t\"./24px/mi-chevron-down.js\": [\n\t\t\"3f1b\",\n\t\t\"chunk-2d0c551a\"\n\t],\n\t\"./24px/mi-chevron-left.js\": [\n\t\t\"4d3d\",\n\t\t\"chunk-2d0cc237\"\n\t],\n\t\"./24px/mi-chevron-right.js\": [\n\t\t\"8b5d\",\n\t\t\"chunk-2d0e8c6f\"\n\t],\n\t\"./24px/mi-chevron-up.js\": [\n\t\t\"91f8\",\n\t\t\"chunk-2d0e4ea0\"\n\t],\n\t\"./24px/mi-chevrons-left-right.js\": [\n\t\t\"fe32\",\n\t\t\"chunk-2d238054\"\n\t],\n\t\"./24px/mi-chevrons-up-down.js\": [\n\t\t\"3aa3\",\n\t\t\"chunk-2d0c47f6\"\n\t],\n\t\"./24px/mi-chicken-drumstick.js\": [\n\t\t\"aad6\",\n\t\t\"chunk-2d213168\"\n\t],\n\t\"./24px/mi-chicken-head.js\": [\n\t\t\"9b8e\",\n\t\t\"chunk-2d0f012c\"\n\t],\n\t\"./24px/mi-chicken-side.js\": [\n\t\t\"8caa\",\n\t\t\"chunk-2d0e9581\"\n\t],\n\t\"./24px/mi-chip.js\": [\n\t\t\"20c7\",\n\t\t\"chunk-2d0b1be8\"\n\t],\n\t\"./24px/mi-circle-slash.js\": [\n\t\t\"b61e\",\n\t\t\"chunk-2d20fe5e\"\n\t],\n\t\"./24px/mi-clipboard-check-text.js\": [\n\t\t\"f072\",\n\t\t\"chunk-2d22b9db\"\n\t],\n\t\"./24px/mi-clipboard-check.js\": [\n\t\t\"b931\",\n\t\t\"chunk-2d2109ab\"\n\t],\n\t\"./24px/mi-clipboard-list-text.js\": [\n\t\t\"3ef8\",\n\t\t\"chunk-2d0c579a\"\n\t],\n\t\"./24px/mi-clipboard-officer-text.js\": [\n\t\t\"64f30\",\n\t\t\"chunk-74929b8f\"\n\t],\n\t\"./24px/mi-clipboard-snowflake-text.js\": [\n\t\t\"81b6\",\n\t\t\"chunk-2d0dd9c3\"\n\t],\n\t\"./24px/mi-clipboard-text.js\": [\n\t\t\"dbff\",\n\t\t\"chunk-2d2292b4\"\n\t],\n\t\"./24px/mi-clock-alarm.js\": [\n\t\t\"80fb\",\n\t\t\"chunk-2d0dd6aa\"\n\t],\n\t\"./24px/mi-clock-solid.js\": [\n\t\t\"e7d7\",\n\t\t\"chunk-2d22653b\"\n\t],\n\t\"./24px/mi-clock-stopwatch.js\": [\n\t\t\"5695\",\n\t\t\"chunk-2d0c8a73\"\n\t],\n\t\"./24px/mi-clock.js\": [\n\t\t\"5890\",\n\t\t\"chunk-2d0c91f0\"\n\t],\n\t\"./24px/mi-cloud.js\": [\n\t\t\"3228\",\n\t\t\"chunk-2d0b91db\"\n\t],\n\t\"./24px/mi-coat.js\": [\n\t\t\"7420\",\n\t\t\"chunk-2d0d6ad1\"\n\t],\n\t\"./24px/mi-cog-play.js\": [\n\t\t\"cfdc\",\n\t\t\"chunk-2d222d18\"\n\t],\n\t\"./24px/mi-cog.js\": [\n\t\t\"1990\",\n\t\t\"chunk-2d0ac435\"\n\t],\n\t\"./24px/mi-combined-arrow-down.js\": [\n\t\t\"7fae\",\n\t\t\"chunk-2d0e2c69\"\n\t],\n\t\"./24px/mi-combined-arrow-left.js\": [\n\t\t\"cc74\",\n\t\t\"chunk-2d221c33\"\n\t],\n\t\"./24px/mi-combined-arrow-right.js\": [\n\t\t\"4b6a\",\n\t\t\"chunk-2d0cbb0f\"\n\t],\n\t\"./24px/mi-combined-arrow-up.js\": [\n\t\t\"aed6\",\n\t\t\"chunk-2d21406c\"\n\t],\n\t\"./24px/mi-comment-dollar.js\": [\n\t\t\"5183\",\n\t\t\"chunk-2d0c778d\"\n\t],\n\t\"./24px/mi-comment-dots.js\": [\n\t\t\"97fe\",\n\t\t\"chunk-2d0e6553\"\n\t],\n\t\"./24px/mi-comment-minus.js\": [\n\t\t\"bcc5\",\n\t\t\"chunk-2d21ad29\"\n\t],\n\t\"./24px/mi-comment-off.js\": [\n\t\t\"0eb5b\",\n\t\t\"chunk-74544624\"\n\t],\n\t\"./24px/mi-comment-plus.js\": [\n\t\t\"8c3f\",\n\t\t\"chunk-2d0e8ff4\"\n\t],\n\t\"./24px/mi-comment.js\": [\n\t\t\"32a8\",\n\t\t\"chunk-2d0b978c\"\n\t],\n\t\"./24px/mi-comments.js\": [\n\t\t\"fe27\",\n\t\t\"chunk-2d23803a\"\n\t],\n\t\"./24px/mi-computer.js\": [\n\t\t\"f000\",\n\t\t\"chunk-2d22b900\"\n\t],\n\t\"./24px/mi-container-down.js\": [\n\t\t\"2c0f\",\n\t\t\"chunk-2d0bd55d\"\n\t],\n\t\"./24px/mi-container-flat-rack.js\": [\n\t\t\"39a1\",\n\t\t\"chunk-2d0bb1cc\"\n\t],\n\t\"./24px/mi-container-handler-2.js\": [\n\t\t\"340f\",\n\t\t\"chunk-2d0b994d\"\n\t],\n\t\"./24px/mi-container-handler.js\": [\n\t\t\"a45d\",\n\t\t\"chunk-2d2082f8\"\n\t],\n\t\"./24px/mi-container-high-cube.js\": [\n\t\t\"2a02\",\n\t\t\"chunk-2d0bcda7\"\n\t],\n\t\"./24px/mi-container-hook.js\": [\n\t\t\"a931\",\n\t\t\"chunk-2d20954c\"\n\t],\n\t\"./24px/mi-container-in.js\": [\n\t\t\"6ea1\",\n\t\t\"chunk-2d0db415\"\n\t],\n\t\"./24px/mi-container-left.js\": [\n\t\t\"a793\",\n\t\t\"chunk-2d208e86\"\n\t],\n\t\"./24px/mi-container-link.js\": [\n\t\t\"4fef\",\n\t\t\"chunk-2d0ccfc9\"\n\t],\n\t\"./24px/mi-container-open-top.js\": [\n\t\t\"9fd3\",\n\t\t\"chunk-2d0f1552\"\n\t],\n\t\"./24px/mi-container-out.js\": [\n\t\t\"63ae\",\n\t\t\"chunk-2d0cf897\"\n\t],\n\t\"./24px/mi-container-reefer.js\": [\n\t\t\"9f30\",\n\t\t\"chunk-2d0f0f60\"\n\t],\n\t\"./24px/mi-container-right.js\": [\n\t\t\"3bfa\",\n\t\t\"chunk-2d0c4c80\"\n\t],\n\t\"./24px/mi-container-stacked-alt.js\": [\n\t\t\"2a06\",\n\t\t\"chunk-2d0bcdab\"\n\t],\n\t\"./24px/mi-container-stacked.js\": [\n\t\t\"5bcc\",\n\t\t\"chunk-2d0d34e3\"\n\t],\n\t\"./24px/mi-container-tank.js\": [\n\t\t\"7a39\",\n\t\t\"chunk-2d0e13e6\"\n\t],\n\t\"./24px/mi-container-tracking.js\": [\n\t\t\"2e10\",\n\t\t\"chunk-2d0bdcc8\"\n\t],\n\t\"./24px/mi-container-up.js\": [\n\t\t\"e1f2\",\n\t\t\"chunk-2d224eee\"\n\t],\n\t\"./24px/mi-container.js\": [\n\t\t\"f0e7\",\n\t\t\"chunk-2d22bf72\"\n\t],\n\t\"./24px/mi-contains.js\": [\n\t\t\"d9be\",\n\t\t\"chunk-2d21f84e\"\n\t],\n\t\"./24px/mi-conveyor-belt.js\": [\n\t\t\"d22e\",\n\t\t\"chunk-2d21d837\"\n\t],\n\t\"./24px/mi-cookie.js\": [\n\t\t\"ccf9\",\n\t\t\"chunk-2d2221e9\"\n\t],\n\t\"./24px/mi-copy.js\": [\n\t\t\"839a\",\n\t\t\"chunk-2d0ddc79\"\n\t],\n\t\"./24px/mi-cotton.js\": [\n\t\t\"5d95\",\n\t\t\"chunk-2d0d3721\"\n\t],\n\t\"./24px/mi-cow-head.js\": [\n\t\t\"30ce\",\n\t\t\"chunk-2d0b9075\"\n\t],\n\t\"./24px/mi-cow-side.js\": [\n\t\t\"38da\",\n\t\t\"chunk-2d0bae98\"\n\t],\n\t\"./24px/mi-crane.js\": [\n\t\t\"7964\",\n\t\t\"chunk-2d0d7e16\"\n\t],\n\t\"./24px/mi-credit-card-back.js\": [\n\t\t\"9169\",\n\t\t\"chunk-2d0e48d1\"\n\t],\n\t\"./24px/mi-credit-card-front.js\": [\n\t\t\"3730\",\n\t\t\"chunk-2d0ba4b7\"\n\t],\n\t\"./24px/mi-crosshair.js\": [\n\t\t\"4831\",\n\t\t\"chunk-2d0c1cd8\"\n\t],\n\t\"./24px/mi-dollar-circle-solid.js\": [\n\t\t\"a709\",\n\t\t\"chunk-2d208d75\"\n\t],\n\t\"./24px/mi-dollar-circle.js\": [\n\t\t\"e1d0\",\n\t\t\"chunk-2d224eae\"\n\t],\n\t\"./24px/mi-door-arrow-right.js\": [\n\t\t\"7d62\",\n\t\t\"chunk-2d0e1f7f\"\n\t],\n\t\"./24px/mi-dot-grid.js\": [\n\t\t\"1246\",\n\t\t\"chunk-2d0aa959\"\n\t],\n\t\"./24px/mi-double-chevron-down.js\": [\n\t\t\"62e8\",\n\t\t\"chunk-2d0cf525\"\n\t],\n\t\"./24px/mi-double-chevron-left.js\": [\n\t\t\"169a\",\n\t\t\"chunk-2d0ab923\"\n\t],\n\t\"./24px/mi-double-chevron-right.js\": [\n\t\t\"6400\",\n\t\t\"chunk-2d0cf634\"\n\t],\n\t\"./24px/mi-double-chevron-up.js\": [\n\t\t\"3064\",\n\t\t\"chunk-2d0b8ad1\"\n\t],\n\t\"./24px/mi-dress.js\": [\n\t\t\"a60f\",\n\t\t\"chunk-2d2089e1\"\n\t],\n\t\"./24px/mi-droplet.js\": [\n\t\t\"3d37\",\n\t\t\"chunk-2d0c4dab\"\n\t],\n\t\"./24px/mi-ellipsis-horizontal.js\": [\n\t\t\"991f\",\n\t\t\"chunk-2d0e666b\"\n\t],\n\t\"./24px/mi-ellipsis-vertical.js\": [\n\t\t\"cab3\",\n\t\t\"chunk-2d2219e5\"\n\t],\n\t\"./24px/mi-emergency-light.js\": [\n\t\t\"dd74\",\n\t\t\"chunk-2d229453\"\n\t],\n\t\"./24px/mi-engine.js\": [\n\t\t\"9ffd\",\n\t\t\"chunk-2d0f15c1\"\n\t],\n\t\"./24px/mi-envelope-times-circle.js\": [\n\t\t\"73de\",\n\t\t\"chunk-2d0d6d53\"\n\t],\n\t\"./24px/mi-envelope.js\": [\n\t\t\"0100\",\n\t\t\"chunk-2d0a30b7\"\n\t],\n\t\"./24px/mi-equal.js\": [\n\t\t\"6292\",\n\t\t\"chunk-2d0cefcb\"\n\t],\n\t\"./24px/mi-euro-circle.js\": [\n\t\t\"9a15\",\n\t\t\"chunk-2d0efc62\"\n\t],\n\t\"./24px/mi-exclamation-circle-solid.js\": [\n\t\t\"d6be\",\n\t\t\"chunk-2d21ed0b\"\n\t],\n\t\"./24px/mi-exclamation-circle.js\": [\n\t\t\"7f6f\",\n\t\t\"chunk-2d0e2735\"\n\t],\n\t\"./24px/mi-exclamation-octagon-solid.js\": [\n\t\t\"3ccb\",\n\t\t\"chunk-2d0c4fe5\"\n\t],\n\t\"./24px/mi-exclamation-octagon.js\": [\n\t\t\"d7b5\",\n\t\t\"chunk-2d21f09c\"\n\t],\n\t\"./24px/mi-exclamation-triangle-solid.js\": [\n\t\t\"224a\",\n\t\t\"chunk-2d0b1de3\"\n\t],\n\t\"./24px/mi-exclamation-triangle.js\": [\n\t\t\"60d4\",\n\t\t\"chunk-2d0ced80\"\n\t],\n\t\"./24px/mi-expand.js\": [\n\t\t\"81e7\",\n\t\t\"chunk-2d0dda21\"\n\t],\n\t\"./24px/mi-eye-slash-focus.js\": [\n\t\t\"3b60\",\n\t\t\"chunk-2d0c467f\"\n\t],\n\t\"./24px/mi-eye-slash.js\": [\n\t\t\"efde\",\n\t\t\"chunk-2d2315d8\"\n\t],\n\t\"./24px/mi-eye.js\": [\n\t\t\"8211\",\n\t\t\"chunk-2d0dd790\"\n\t],\n\t\"./24px/mi-face-happy-solid.js\": [\n\t\t\"1114\",\n\t\t\"chunk-2d0aa539\"\n\t],\n\t\"./24px/mi-face-happy.js\": [\n\t\t\"be5c\",\n\t\t\"chunk-2d21af47\"\n\t],\n\t\"./24px/mi-face-indifferent-solid.js\": [\n\t\t\"252b\",\n\t\t\"chunk-2d0b28e9\"\n\t],\n\t\"./24px/mi-face-indifferent.js\": [\n\t\t\"c3fa\",\n\t\t\"chunk-2d216de1\"\n\t],\n\t\"./24px/mi-face-sad-solid.js\": [\n\t\t\"0597\",\n\t\t\"chunk-2d0a40d9\"\n\t],\n\t\"./24px/mi-face-sad.js\": [\n\t\t\"75a3\",\n\t\t\"chunk-2d0d7446\"\n\t],\n\t\"./24px/mi-face-very-happy-solid.js\": [\n\t\t\"24ff\",\n\t\t\"chunk-2d0b2b78\"\n\t],\n\t\"./24px/mi-face-very-happy.js\": [\n\t\t\"4d8e\",\n\t\t\"chunk-2d0cc2d3\"\n\t],\n\t\"./24px/mi-face-very-sad-solid.js\": [\n\t\t\"1c55\",\n\t\t\"chunk-2d0b6168\"\n\t],\n\t\"./24px/mi-face-very-sad.js\": [\n\t\t\"388e\",\n\t\t\"chunk-2d0ba948\"\n\t],\n\t\"./24px/mi-factory.js\": [\n\t\t\"82ac\",\n\t\t\"chunk-2d0ddd92\"\n\t],\n\t\"./24px/mi-file-arrows-square.js\": [\n\t\t\"0975\",\n\t\t\"chunk-2d0a4f9d\"\n\t],\n\t\"./24px/mi-file-check-stamp.js\": [\n\t\t\"68eb\",\n\t\t\"chunk-2d0d0bd5\"\n\t],\n\t\"./24px/mi-file-check.js\": [\n\t\t\"f98f\",\n\t\t\"chunk-2d22dbf7\"\n\t],\n\t\"./24px/mi-file-copy.js\": [\n\t\t\"7e5d\",\n\t\t\"chunk-2d0e2353\"\n\t],\n\t\"./24px/mi-file-csv.js\": [\n\t\t\"ae56\",\n\t\t\"chunk-2d213abb\"\n\t],\n\t\"./24px/mi-file-excel.js\": [\n\t\t\"df4e\",\n\t\t\"chunk-2d229ba9\"\n\t],\n\t\"./24px/mi-file-eye.js\": [\n\t\t\"cded\",\n\t\t\"chunk-2d2225b6\"\n\t],\n\t\"./24px/mi-file-magnifying-glass.js\": [\n\t\t\"ab37\",\n\t\t\"chunk-2d212f3b\"\n\t],\n\t\"./24px/mi-file-other.js\": [\n\t\t\"3b7b\",\n\t\t\"chunk-2d0c46d0\"\n\t],\n\t\"./24px/mi-file-pdf.js\": [\n\t\t\"d23f\",\n\t\t\"chunk-2d21d857\"\n\t],\n\t\"./24px/mi-file-ribbon.js\": [\n\t\t\"1a49\",\n\t\t\"chunk-2d0b59cb\"\n\t],\n\t\"./24px/mi-file.js\": [\n\t\t\"970c\",\n\t\t\"chunk-2d0e5ec7\"\n\t],\n\t\"./24px/mi-fish.js\": [\n\t\t\"99b1\",\n\t\t\"chunk-2d0e6c25\"\n\t],\n\t\"./24px/mi-flag.js\": [\n\t\t\"96a8\",\n\t\t\"chunk-2d0e60ca\"\n\t],\n\t\"./24px/mi-flame.js\": [\n\t\t\"b1f8\",\n\t\t\"chunk-2d20f1d7\"\n\t],\n\t\"./24px/mi-floppy-disk.js\": [\n\t\t\"44c7\",\n\t\t\"chunk-2d0c13aa\"\n\t],\n\t\"./24px/mi-flow-diagram.js\": [\n\t\t\"84f9\",\n\t\t\"chunk-2d0de585\"\n\t],\n\t\"./24px/mi-flow.js\": [\n\t\t\"bd2b\",\n\t\t\"chunk-2d21ab28\"\n\t],\n\t\"./24px/mi-folder-arrow-down.js\": [\n\t\t\"e5b2\",\n\t\t\"chunk-2d225d76\"\n\t],\n\t\"./24px/mi-folder-arrow-up.js\": [\n\t\t\"ea27\",\n\t\t\"chunk-2d22fcd7\"\n\t],\n\t\"./24px/mi-folder-minus.js\": [\n\t\t\"0b87\",\n\t\t\"chunk-2d0ae9a7\"\n\t],\n\t\"./24px/mi-folder-open.js\": [\n\t\t\"5f9c\",\n\t\t\"chunk-2d0d3ed1\"\n\t],\n\t\"./24px/mi-folder-plus.js\": [\n\t\t\"ae25\",\n\t\t\"chunk-2d213a5d\"\n\t],\n\t\"./24px/mi-folder-solid.js\": [\n\t\t\"7cc3\",\n\t\t\"chunk-2d0e2132\"\n\t],\n\t\"./24px/mi-folder.js\": [\n\t\t\"f81f\",\n\t\t\"chunk-2d22d75d\"\n\t],\n\t\"./24px/mi-fuel-pump.js\": [\n\t\t\"8b9a\",\n\t\t\"chunk-2d0e8ce8\"\n\t],\n\t\"./24px/mi-funnel-solid.js\": [\n\t\t\"b717\",\n\t\t\"chunk-2d2101f1\"\n\t],\n\t\"./24px/mi-funnel.js\": [\n\t\t\"7c85\",\n\t\t\"chunk-2d0e1bff\"\n\t],\n\t\"./24px/mi-game-controller.js\": [\n\t\t\"95ad\",\n\t\t\"chunk-2d0e5d35\"\n\t],\n\t\"./24px/mi-gift.js\": [\n\t\t\"eae1\",\n\t\t\"chunk-2d2302fe\"\n\t],\n\t\"./24px/mi-globe.js\": [\n\t\t\"a800\",\n\t\t\"chunk-2d20912d\"\n\t],\n\t\"./24px/mi-greater-than-equal.js\": [\n\t\t\"c641\",\n\t\t\"chunk-2d2172e6\"\n\t],\n\t\"./24px/mi-greater-than.js\": [\n\t\t\"3fa2\",\n\t\t\"chunk-2d0c5aba\"\n\t],\n\t\"./24px/mi-grid.js\": [\n\t\t\"61e8\",\n\t\t\"chunk-2d0cf164\"\n\t],\n\t\"./24px/mi-hair-dryer.js\": [\n\t\t\"c42d\",\n\t\t\"chunk-2d216b59\"\n\t],\n\t\"./24px/mi-handshake.js\": [\n\t\t\"0e77b\",\n\t\t\"chunk-7453a4f7\"\n\t],\n\t\"./24px/mi-headset.js\": [\n\t\t\"1016\",\n\t\t\"chunk-2d0aa17a\"\n\t],\n\t\"./24px/mi-heart-solid.js\": [\n\t\t\"1a49c\",\n\t\t\"chunk-745fdff8\"\n\t],\n\t\"./24px/mi-heart.js\": [\n\t\t\"bcd2\",\n\t\t\"chunk-2d21ad45\"\n\t],\n\t\"./24px/mi-high-heel.js\": [\n\t\t\"f5a9\",\n\t\t\"chunk-2d22d1bd\"\n\t],\n\t\"./24px/mi-hook-arrow-left.js\": [\n\t\t\"2823\",\n\t\t\"chunk-2d0b33fd\"\n\t],\n\t\"./24px/mi-hook-arrow-right.js\": [\n\t\t\"5ce5\",\n\t\t\"chunk-2d0d38b4\"\n\t],\n\t\"./24px/mi-house-solid.js\": [\n\t\t\"db88\",\n\t\t\"chunk-2d228cf4\"\n\t],\n\t\"./24px/mi-house.js\": [\n\t\t\"abb9\",\n\t\t\"chunk-2d2134ee\"\n\t],\n\t\"./24px/mi-image-polaroid.js\": [\n\t\t\"2337\",\n\t\t\"chunk-2d0b215b\"\n\t],\n\t\"./24px/mi-image.js\": [\n\t\t\"aa18\",\n\t\t\"chunk-2d212b3d\"\n\t],\n\t\"./24px/mi-info-circle-solid.js\": [\n\t\t\"6b9e\",\n\t\t\"chunk-2d0da42e\"\n\t],\n\t\"./24px/mi-info-circle.js\": [\n\t\t\"5151\",\n\t\t\"chunk-2d0c772e\"\n\t],\n\t\"./24px/mi-jerrycan.js\": [\n\t\t\"796e\",\n\t\t\"chunk-2d0d7e47\"\n\t],\n\t\"./24px/mi-laptop-shopping-cart.js\": [\n\t\t\"bbe4\",\n\t\t\"chunk-2d21a9a5\"\n\t],\n\t\"./24px/mi-laptop.js\": [\n\t\t\"dee0\",\n\t\t\"chunk-2d229da2\"\n\t],\n\t\"./24px/mi-layout-2x2.js\": [\n\t\t\"71ed\",\n\t\t\"chunk-2d0d65ef\"\n\t],\n\t\"./24px/mi-leaf.js\": [\n\t\t\"c170\",\n\t\t\"chunk-2d21607d\"\n\t],\n\t\"./24px/mi-lemon-slice.js\": [\n\t\t\"860a\",\n\t\t\"chunk-2d0de6a5\"\n\t],\n\t\"./24px/mi-lemon.js\": [\n\t\t\"d143\",\n\t\t\"chunk-2d21d482\"\n\t],\n\t\"./24px/mi-less-than-equal.js\": [\n\t\t\"a202\",\n\t\t\"chunk-2d207aa9\"\n\t],\n\t\"./24px/mi-less-than.js\": [\n\t\t\"524a\",\n\t\t\"chunk-2d0c7b00\"\n\t],\n\t\"./24px/mi-lifebuoy.js\": [\n\t\t\"21e6\",\n\t\t\"chunk-2d0b1fe6\"\n\t],\n\t\"./24px/mi-light-bulb.js\": [\n\t\t\"6a61\",\n\t\t\"chunk-2d0d9fdc\"\n\t],\n\t\"./24px/mi-lightning.js\": [\n\t\t\"b0cc\",\n\t\t\"chunk-2d20ede4\"\n\t],\n\t\"./24px/mi-link.js\": [\n\t\t\"ac74\",\n\t\t\"chunk-2d213375\"\n\t],\n\t\"./24px/mi-list-bullets.js\": [\n\t\t\"dd0e\",\n\t\t\"chunk-2d2293ab\"\n\t],\n\t\"./24px/mi-list-numbers.js\": [\n\t\t\"6da1\",\n\t\t\"chunk-2d0db054\"\n\t],\n\t\"./24px/mi-lock-solid.js\": [\n\t\t\"3f52\",\n\t\t\"chunk-2d0c5566\"\n\t],\n\t\"./24px/mi-lock-unlocked-solid.js\": [\n\t\t\"d7e0\",\n\t\t\"chunk-2d21f0f4\"\n\t],\n\t\"./24px/mi-lock-unlocked.js\": [\n\t\t\"4f75\",\n\t\t\"chunk-2d0cca06\"\n\t],\n\t\"./24px/mi-lock.js\": [\n\t\t\"7c52\",\n\t\t\"chunk-2d0e1b9f\"\n\t],\n\t\"./24px/mi-magnifying-glass.js\": [\n\t\t\"8f3d\",\n\t\t\"chunk-2d0e9b35\"\n\t],\n\t\"./24px/mi-man.js\": [\n\t\t\"3bde\",\n\t\t\"chunk-2d0c4c46\"\n\t],\n\t\"./24px/mi-map.js\": [\n\t\t\"d334\",\n\t\t\"chunk-2d21dbe6\"\n\t],\n\t\"./24px/mi-medal.js\": [\n\t\t\"e660\",\n\t\t\"chunk-2d225be1\"\n\t],\n\t\"./24px/mi-medicine-bottle.js\": [\n\t\t\"fa9a\",\n\t\t\"chunk-2d237239\"\n\t],\n\t\"./24px/mi-megaphone.js\": [\n\t\t\"3979\",\n\t\t\"chunk-2d0bacbe\"\n\t],\n\t\"./24px/mi-microphone-off.js\": [\n\t\t\"2988\",\n\t\t\"chunk-2d0b387d\"\n\t],\n\t\"./24px/mi-microphone.js\": [\n\t\t\"1065\",\n\t\t\"chunk-2d0aa214\"\n\t],\n\t\"./24px/mi-minus-circle-solid.js\": [\n\t\t\"a47c\",\n\t\t\"chunk-2d208335\"\n\t],\n\t\"./24px/mi-minus-circle.js\": [\n\t\t\"2995\",\n\t\t\"chunk-2d0b3899\"\n\t],\n\t\"./24px/mi-minus.js\": [\n\t\t\"af1b\",\n\t\t\"chunk-2d213e2c\"\n\t],\n\t\"./24px/mi-mobile-phone.js\": [\n\t\t\"a8d9\",\n\t\t\"chunk-2d209782\"\n\t],\n\t\"./24px/mi-module-1.js\": [\n\t\t\"eda8\",\n\t\t\"chunk-2d230dcc\"\n\t],\n\t\"./24px/mi-module-2.js\": [\n\t\t\"e952\",\n\t\t\"chunk-2d226707\"\n\t],\n\t\"./24px/mi-monitor.js\": [\n\t\t\"25c9\",\n\t\t\"chunk-2d0b2eaf\"\n\t],\n\t\"./24px/mi-moon-solid.js\": [\n\t\t\"82e2\",\n\t\t\"chunk-2d0ddddd\"\n\t],\n\t\"./24px/mi-moon.js\": [\n\t\t\"818c\",\n\t\t\"chunk-2d0dd4da\"\n\t],\n\t\"./24px/mi-mouse.js\": [\n\t\t\"6d0b\",\n\t\t\"chunk-2d0daa96\"\n\t],\n\t\"./24px/mi-navigation-arrow-up-right.js\": [\n\t\t\"8a19\",\n\t\t\"chunk-2d0e8807\"\n\t],\n\t\"./24px/mi-navigation-arrow-up.js\": [\n\t\t\"311d\",\n\t\t\"chunk-2d0b8e27\"\n\t],\n\t\"./24px/mi-newspaper.js\": [\n\t\t\"cc4e\",\n\t\t\"chunk-2d221c07\"\n\t],\n\t\"./24px/mi-next-circle.js\": [\n\t\t\"465d\",\n\t\t\"chunk-2d0c15c7\"\n\t],\n\t\"./24px/mi-next.js\": [\n\t\t\"af92\",\n\t\t\"chunk-2d213ef4\"\n\t],\n\t\"./24px/mi-not-equal.js\": [\n\t\t\"bbe3\",\n\t\t\"chunk-2d21a9a4\"\n\t],\n\t\"./24px/mi-office-1.js\": [\n\t\t\"f7de\",\n\t\t\"chunk-2d22d9c8\"\n\t],\n\t\"./24px/mi-office-2.js\": [\n\t\t\"fa81\",\n\t\t\"chunk-2d2371ea\"\n\t],\n\t\"./24px/mi-oil-well.js\": [\n\t\t\"93a9\",\n\t\t\"chunk-2d0e5588\"\n\t],\n\t\"./24px/mi-org-chart.js\": [\n\t\t\"8553\",\n\t\t\"chunk-2d0de351\"\n\t],\n\t\"./24px/mi-oven.js\": [\n\t\t\"524b\",\n\t\t\"chunk-2d0c7b01\"\n\t],\n\t\"./24px/mi-package-door.js\": [\n\t\t\"5c3d\",\n\t\t\"chunk-2d0d32d5\"\n\t],\n\t\"./24px/mi-package-open.js\": [\n\t\t\"565c\",\n\t\t\"chunk-2d0c8a25\"\n\t],\n\t\"./24px/mi-package.js\": [\n\t\t\"a3a1\",\n\t\t\"chunk-2d208458\"\n\t],\n\t\"./24px/mi-pallet-empty.js\": [\n\t\t\"5249\",\n\t\t\"chunk-2d0c7ad8\"\n\t],\n\t\"./24px/mi-pallet.js\": [\n\t\t\"706d\",\n\t\t\"chunk-2d0d5c7d\"\n\t],\n\t\"./24px/mi-paperclip.js\": [\n\t\t\"1d8d\",\n\t\t\"chunk-2d0b65b5\"\n\t],\n\t\"./24px/mi-pause-circle.js\": [\n\t\t\"74ca\",\n\t\t\"chunk-2d0d70f1\"\n\t],\n\t\"./24px/mi-pause.js\": [\n\t\t\"31d9\",\n\t\t\"chunk-2d0b9429\"\n\t],\n\t\"./24px/mi-pencil.js\": [\n\t\t\"544e\",\n\t\t\"chunk-2d0c8286\"\n\t],\n\t\"./24px/mi-people.js\": [\n\t\t\"9ee5\",\n\t\t\"chunk-2d0f11b2\"\n\t],\n\t\"./24px/mi-person-side-hand.js\": [\n\t\t\"5dc7\",\n\t\t\"chunk-2d0d3c39\"\n\t],\n\t\"./24px/mi-person.js\": [\n\t\t\"8c67\",\n\t\t\"chunk-2d0e9022\"\n\t],\n\t\"./24px/mi-phone-call.js\": [\n\t\t\"a4a7\",\n\t\t\"chunk-2d20881f\"\n\t],\n\t\"./24px/mi-phone.js\": [\n\t\t\"504f\",\n\t\t\"chunk-2d0c7383\"\n\t],\n\t\"./24px/mi-pig-head.js\": [\n\t\t\"b0cf\",\n\t\t\"chunk-2d20ede7\"\n\t],\n\t\"./24px/mi-pig-side.js\": [\n\t\t\"8190\",\n\t\t\"chunk-2d0dd4c6\"\n\t],\n\t\"./24px/mi-pill.js\": [\n\t\t\"8c34\",\n\t\t\"chunk-2d0e8fc2\"\n\t],\n\t\"./24px/mi-pin.js\": [\n\t\t\"bc9b\",\n\t\t\"chunk-2d21a840\"\n\t],\n\t\"./24px/mi-play-circle.js\": [\n\t\t\"00d9\",\n\t\t\"chunk-2d0a334b\"\n\t],\n\t\"./24px/mi-play.js\": [\n\t\t\"a219\",\n\t\t\"chunk-2d207acf\"\n\t],\n\t\"./24px/mi-plug.js\": [\n\t\t\"4520\",\n\t\t\"chunk-2d0c1175\"\n\t],\n\t\"./24px/mi-plus-circle-solid.js\": [\n\t\t\"ddde\",\n\t\t\"chunk-2d2299f7\"\n\t],\n\t\"./24px/mi-plus-circle.js\": [\n\t\t\"74b5\",\n\t\t\"chunk-2d0d70a6\"\n\t],\n\t\"./24px/mi-plus.js\": [\n\t\t\"1500\",\n\t\t\"chunk-2d0ab41a\"\n\t],\n\t\"./24px/mi-power.js\": [\n\t\t\"3b1a\",\n\t\t\"chunk-2d0c4615\"\n\t],\n\t\"./24px/mi-previous-circle.js\": [\n\t\t\"fe32c\",\n\t\t\"chunk-774c8a8f\"\n\t],\n\t\"./24px/mi-previous.js\": [\n\t\t\"8bba\",\n\t\t\"chunk-2d0e91df\"\n\t],\n\t\"./24px/mi-printer.js\": [\n\t\t\"b961\",\n\t\t\"chunk-2d210a08\"\n\t],\n\t\"./24px/mi-propellor.js\": [\n\t\t\"6f88\",\n\t\t\"chunk-2d0db2e6\"\n\t],\n\t\"./24px/mi-push-pin-slash.js\": [\n\t\t\"4e79\",\n\t\t\"chunk-2d0cc649\"\n\t],\n\t\"./24px/mi-push-pin.js\": [\n\t\t\"5aa2\",\n\t\t\"chunk-2d0d30b3\"\n\t],\n\t\"./24px/mi-puzzle-piece.js\": [\n\t\t\"e9a5\",\n\t\t\"chunk-2d226c5e\"\n\t],\n\t\"./24px/mi-qr-code-scan.js\": [\n\t\t\"9d11\",\n\t\t\"chunk-2d0f07a1\"\n\t],\n\t\"./24px/mi-qr-code.js\": [\n\t\t\"3cd0\",\n\t\t\"chunk-2d0c4fd2\"\n\t],\n\t\"./24px/mi-question-circle-solid.js\": [\n\t\t\"81dc\",\n\t\t\"chunk-2d0dda2e\"\n\t],\n\t\"./24px/mi-question-circle.js\": [\n\t\t\"9ab8\",\n\t\t\"chunk-2d0f0254\"\n\t],\n\t\"./24px/mi-quote.js\": [\n\t\t\"8c2f\",\n\t\t\"chunk-2d0e8fd5\"\n\t],\n\t\"./24px/mi-rack.js\": [\n\t\t\"cab2\",\n\t\t\"chunk-2d2219e4\"\n\t],\n\t\"./24px/mi-radar.js\": [\n\t\t\"42ec\",\n\t\t\"chunk-2d0c0c92\"\n\t],\n\t\"./24px/mi-radio-tower.js\": [\n\t\t\"cdff\",\n\t\t\"chunk-2d2225d7\"\n\t],\n\t\"./24px/mi-radio.js\": [\n\t\t\"cda3\",\n\t\t\"chunk-2d222509\"\n\t],\n\t\"./24px/mi-receipt.js\": [\n\t\t\"1fce\",\n\t\t\"chunk-2d0b726d\"\n\t],\n\t\"./24px/mi-remote-control-hand.js\": [\n\t\t\"89a5\",\n\t\t\"chunk-2d0df7ab\"\n\t],\n\t\"./24px/mi-remote-control.js\": [\n\t\t\"d9f6\",\n\t\t\"chunk-2d21f89b\"\n\t],\n\t\"./24px/mi-rotate.js\": [\n\t\t\"8942\",\n\t\t\"chunk-2d0df235\"\n\t],\n\t\"./24px/mi-route-network.js\": [\n\t\t\"a9f9\",\n\t\t\"chunk-2d209b81\"\n\t],\n\t\"./24px/mi-route.js\": [\n\t\t\"6c0f\",\n\t\t\"chunk-2d0da6d9\"\n\t],\n\t\"./24px/mi-rubber-tyred-gantry-crane.js\": [\n\t\t\"cf59\",\n\t\t\"chunk-2d22273d\"\n\t],\n\t\"./24px/mi-ruler.js\": [\n\t\t\"23cd\",\n\t\t\"chunk-2d0b2758\"\n\t],\n\t\"./24px/mi-safety-gear.js\": [\n\t\t\"7e9a\",\n\t\t\"chunk-2d0e23cc\"\n\t],\n\t\"./24px/mi-safety-helmet.js\": [\n\t\t\"52d9\",\n\t\t\"chunk-2d0c80a8\"\n\t],\n\t\"./24px/mi-sandbox.js\": [\n\t\t\"6b65\",\n\t\t\"chunk-2d0da3a1\"\n\t],\n\t\"./24px/mi-scale-balance.js\": [\n\t\t\"3095\",\n\t\t\"chunk-2d0b8b2f\"\n\t],\n\t\"./24px/mi-scale.js\": [\n\t\t\"a41a\",\n\t\t\"chunk-2d208279\"\n\t],\n\t\"./24px/mi-scissors.js\": [\n\t\t\"7fb6\",\n\t\t\"chunk-2d0e2c59\"\n\t],\n\t\"./24px/mi-share.js\": [\n\t\t\"d7e2\",\n\t\t\"chunk-2d21f0f6\"\n\t],\n\t\"./24px/mi-shield-check.js\": [\n\t\t\"f34e\",\n\t\t\"chunk-2d22c4f4\"\n\t],\n\t\"./24px/mi-shield.js\": [\n\t\t\"bd7c\",\n\t\t\"chunk-2d21abc4\"\n\t],\n\t\"./24px/mi-shoe.js\": [\n\t\t\"410f\",\n\t\t\"chunk-2d0c0269\"\n\t],\n\t\"./24px/mi-shopping-cart-return.js\": [\n\t\t\"24f5\",\n\t\t\"chunk-2d0b2b47\"\n\t],\n\t\"./24px/mi-shopping-cart.js\": [\n\t\t\"0aef\",\n\t\t\"chunk-2d0aeb88\"\n\t],\n\t\"./24px/mi-shrimp.js\": [\n\t\t\"71e9\",\n\t\t\"chunk-2d0d65c4\"\n\t],\n\t\"./24px/mi-shrink.js\": [\n\t\t\"9ff1\",\n\t\t\"chunk-2d0f158e\"\n\t],\n\t\"./24px/mi-signpost.js\": [\n\t\t\"603a\",\n\t\t\"chunk-2d0ce7be\"\n\t],\n\t\"./24px/mi-sliders-horizontal.js\": [\n\t\t\"80ce\",\n\t\t\"chunk-2d0dd650\"\n\t],\n\t\"./24px/mi-sliders-vertical.js\": [\n\t\t\"0c2a\",\n\t\t\"chunk-2d0aecd8\"\n\t],\n\t\"./24px/mi-snowflake.js\": [\n\t\t\"11f1\",\n\t\t\"chunk-2d0aaba1\"\n\t],\n\t\"./24px/mi-socks.js\": [\n\t\t\"843f\",\n\t\t\"chunk-2d0ddf85\"\n\t],\n\t\"./24px/mi-sparkle.js\": [\n\t\t\"6a20\",\n\t\t\"chunk-2d0d9f5f\"\n\t],\n\t\"./24px/mi-speaker-high-volume.js\": [\n\t\t\"9ff5\",\n\t\t\"chunk-2d0f1592\"\n\t],\n\t\"./24px/mi-speaker-low-volume.js\": [\n\t\t\"f661\",\n\t\t\"chunk-2d22d041\"\n\t],\n\t\"./24px/mi-speaker-mute.js\": [\n\t\t\"ab77\",\n\t\t\"chunk-2d212fb7\"\n\t],\n\t\"./24px/mi-speedometer.js\": [\n\t\t\"b011\",\n\t\t\"chunk-2d20e7a4\"\n\t],\n\t\"./24px/mi-square-arrow-up-right.js\": [\n\t\t\"58be\",\n\t\t\"chunk-2d0c971c\"\n\t],\n\t\"./24px/mi-square-arrow-up.js\": [\n\t\t\"d304\",\n\t\t\"chunk-2d21db89\"\n\t],\n\t\"./24px/mi-stack.js\": [\n\t\t\"d22f\",\n\t\t\"chunk-2d21d838\"\n\t],\n\t\"./24px/mi-stamp.js\": [\n\t\t\"d9c2\",\n\t\t\"chunk-2d21f83a\"\n\t],\n\t\"./24px/mi-star-solid.js\": [\n\t\t\"16ed\",\n\t\t\"chunk-2d0abe7a\"\n\t],\n\t\"./24px/mi-star.js\": [\n\t\t\"5856\",\n\t\t\"chunk-2d0c917a\"\n\t],\n\t\"./24px/mi-steering-wheel.js\": [\n\t\t\"06ad\",\n\t\t\"chunk-2d0a499f\"\n\t],\n\t\"./24px/mi-stop-circle.js\": [\n\t\t\"b5bb\",\n\t\t\"chunk-2d210089\"\n\t],\n\t\"./24px/mi-stop.js\": [\n\t\t\"9ec7\",\n\t\t\"chunk-2d0f1176\"\n\t],\n\t\"./24px/mi-store.js\": [\n\t\t\"2870\",\n\t\t\"chunk-2d0b3495\"\n\t],\n\t\"./24px/mi-sun-solid.js\": [\n\t\t\"d900\",\n\t\t\"chunk-2d21f20b\"\n\t],\n\t\"./24px/mi-sun.js\": [\n\t\t\"bc13\",\n\t\t\"chunk-2d21a719\"\n\t],\n\t\"./24px/mi-sustainability.js\": [\n\t\t\"2c08\",\n\t\t\"chunk-2d0bd52f\"\n\t],\n\t\"./24px/mi-t-shirt.js\": [\n\t\t\"d155\",\n\t\t\"chunk-2d21d4a3\"\n\t],\n\t\"./24px/mi-tablet.js\": [\n\t\t\"28b4\",\n\t\t\"chunk-2d0b39ce\"\n\t],\n\t\"./24px/mi-tachometer.js\": [\n\t\t\"b96a\",\n\t\t\"chunk-2d210a38\"\n\t],\n\t\"./24px/mi-tag.js\": [\n\t\t\"1580\",\n\t\t\"chunk-2d0ab512\"\n\t],\n\t\"./24px/mi-television.js\": [\n\t\t\"22a9\",\n\t\t\"chunk-2d0b232e\"\n\t],\n\t\"./24px/mi-thermometer-minus.js\": [\n\t\t\"965d\",\n\t\t\"chunk-2d0e5ba2\"\n\t],\n\t\"./24px/mi-thermometer-plus.js\": [\n\t\t\"725c\",\n\t\t\"chunk-2d0d63df\"\n\t],\n\t\"./24px/mi-thermometer-snow.js\": [\n\t\t\"a464\",\n\t\t\"chunk-2d2082e7\"\n\t],\n\t\"./24px/mi-thermometer-sun.js\": [\n\t\t\"626f\",\n\t\t\"chunk-2d0cefa2\"\n\t],\n\t\"./24px/mi-thermometer.js\": [\n\t\t\"fae2\",\n\t\t\"chunk-2d23775e\"\n\t],\n\t\"./24px/mi-thumbs-down-solid.js\": [\n\t\t\"3295\",\n\t\t\"chunk-2d0b92b1\"\n\t],\n\t\"./24px/mi-thumbs-down.js\": [\n\t\t\"6546\",\n\t\t\"chunk-2d0cfa77\"\n\t],\n\t\"./24px/mi-thumbs-up-solid.js\": [\n\t\t\"e730\",\n\t\t\"chunk-2d225f45\"\n\t],\n\t\"./24px/mi-thumbs-up.js\": [\n\t\t\"9ab0\",\n\t\t\"chunk-2d0f024c\"\n\t],\n\t\"./24px/mi-times-circle-solid.js\": [\n\t\t\"f4aa\",\n\t\t\"chunk-2d22ce24\"\n\t],\n\t\"./24px/mi-times-circle.js\": [\n\t\t\"b2ad\",\n\t\t\"chunk-2d20f529\"\n\t],\n\t\"./24px/mi-times.js\": [\n\t\t\"1be8\",\n\t\t\"chunk-2d0b637a\"\n\t],\n\t\"./24px/mi-tire.js\": [\n\t\t\"f32e\",\n\t\t\"chunk-2d22c4b6\"\n\t],\n\t\"./24px/mi-train-front.js\": [\n\t\t\"ed18\",\n\t\t\"chunk-2d2307fc\"\n\t],\n\t\"./24px/mi-trash.js\": [\n\t\t\"8422\",\n\t\t\"chunk-2d0ddf32\"\n\t],\n\t\"./24px/mi-tray-arrow-down.js\": [\n\t\t\"15e0\",\n\t\t\"chunk-2d0aba85\"\n\t],\n\t\"./24px/mi-tray-arrow-up.js\": [\n\t\t\"5666\",\n\t\t\"chunk-2d0c8a17\"\n\t],\n\t\"./24px/mi-truck-front-clock.js\": [\n\t\t\"467f\",\n\t\t\"chunk-2d0c1607\"\n\t],\n\t\"./24px/mi-truck-front-pause-circle.js\": [\n\t\t\"7afb\",\n\t\t\"chunk-2d0e1a3c\"\n\t],\n\t\"./24px/mi-truck-front.js\": [\n\t\t\"f913\",\n\t\t\"chunk-2d22daeb\"\n\t],\n\t\"./24px/mi-truck-side-reefer.js\": [\n\t\t\"2cb7\",\n\t\t\"chunk-2d0bdb3c\"\n\t],\n\t\"./24px/mi-truck-side.js\": [\n\t\t\"31ca\",\n\t\t\"chunk-2d0b9432\"\n\t],\n\t\"./24px/mi-tugboat-side.js\": [\n\t\t\"a9b5\",\n\t\t\"chunk-2d209b01\"\n\t],\n\t\"./24px/mi-turnip.js\": [\n\t\t\"b557\",\n\t\t\"chunk-2d20faeb\"\n\t],\n\t\"./24px/mi-twistlock.js\": [\n\t\t\"b325\",\n\t\t\"chunk-2d20f30a\"\n\t],\n\t\"./24px/mi-user-circle-solid.js\": [\n\t\t\"a8a0\",\n\t\t\"chunk-2d20971c\"\n\t],\n\t\"./24px/mi-user-circle.js\": [\n\t\t\"d6e3\",\n\t\t\"chunk-2d21ed36\"\n\t],\n\t\"./24px/mi-user-key.js\": [\n\t\t\"1c5f\",\n\t\t\"chunk-2d0b6199\"\n\t],\n\t\"./24px/mi-user-plus-circle.js\": [\n\t\t\"7ec1\",\n\t\t\"chunk-2d0e28b2\"\n\t],\n\t\"./24px/mi-user-solid.js\": [\n\t\t\"58e4\",\n\t\t\"chunk-2d0c9748\"\n\t],\n\t\"./24px/mi-user.js\": [\n\t\t\"db8b\",\n\t\t\"chunk-2d228d1e\"\n\t],\n\t\"./24px/mi-vessel-front.js\": [\n\t\t\"dcce\",\n\t\t\"chunk-2d229617\"\n\t],\n\t\"./24px/mi-vessel-side-arrow-down-up.js\": [\n\t\t\"d02d\",\n\t\t\"chunk-2d21d0b4\"\n\t],\n\t\"./24px/mi-vessel-side-arrow-down.js\": [\n\t\t\"1791\",\n\t\t\"chunk-2d0abcb4\"\n\t],\n\t\"./24px/mi-vessel-side-arrow-up.js\": [\n\t\t\"bb21\",\n\t\t\"chunk-2d21a375\"\n\t],\n\t\"./24px/mi-vessel-side.js\": [\n\t\t\"c55a\",\n\t\t\"chunk-2d216f74\"\n\t],\n\t\"./24px/mi-video-clapperboard.js\": [\n\t\t\"548d\",\n\t\t\"chunk-2d0c8301\"\n\t],\n\t\"./24px/mi-video.js\": [\n\t\t\"b96a3\",\n\t\t\"chunk-77003cfb\"\n\t],\n\t\"./24px/mi-warehouse-reefer.js\": [\n\t\t\"c876\",\n\t\t\"chunk-2d217aca\"\n\t],\n\t\"./24px/mi-warehouse.js\": [\n\t\t\"78b8\",\n\t\t\"chunk-2d0d7fad\"\n\t],\n\t\"./24px/mi-wifi-offline.js\": [\n\t\t\"c3db\",\n\t\t\"chunk-2d216da4\"\n\t],\n\t\"./24px/mi-wifi.js\": [\n\t\t\"6730\",\n\t\t\"chunk-2d0d01d4\"\n\t],\n\t\"./24px/mi-wrench.js\": [\n\t\t\"b10c\",\n\t\t\"chunk-2d20eb78\"\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"00aa\";\nmodule.exports = webpackAsyncContext;","import Vue from \"vue\";\nimport { AdditionalErrorPayload } from \"./interfaces/errorUtilities\";\n/**\n *\n * @description generates the additional error payload if any\n * @param {string | number} status\n * @returns {AdditionalErrorPayload}\n */\nexport const generateErrorPayload = (status: string | number): AdditionalErrorPayload => {\n //if no status generate nothing\n if (!status) return {};\n const isSpike: boolean = Number(status) === 429;\n const isBot: boolean = Number(status) === 418;\n const isForbidden: boolean = Number(status) === 403;\n if (isSpike) {\n return { prefersMessage: true, message: Vue.prototype.$t(\"od3cp.service.busyError\") };\n }\n if (isBot || isForbidden) {\n return { prefersMessage: true, message: Vue.prototype.$t(\"od3cp.service.botError\") };\n }\n\n //we didn't get the errors we wanted to catch and hence generate nothing.\n return {};\n};\n","import { constants } from \"@/lib/CONSTANTS\";\nimport Vue from \"vue\";\nimport { generateErrorPayload } from \"@/lib/errorUtilities\";\nimport { addRUMErrorLog } from \"@/common/utils/analytics/mopRum.js\";\n\nexport default {\n namespaced: true,\n\n // initial state\n state: {\n errors: []\n },\n\n //mutations\n mutations: {\n /**\n * Sets an error into the store\n * @param {*} state\n * @param {Object} error\n */\n setError(state, error) {\n if (error && (!error.message || !error.source || !error.page)) {\n throw new Error(\"Error message payload incomplete. Was \" + JSON.stringify(error));\n }\n /*\n * If API call returns 429 as the error response status code, show specific error message\n * 429 error = Too Many Requests (implemented to handle bots)\n */\n const additionalPayload = generateErrorPayload(error?.status || \"\");\n state.errors = [...state.errors, { ...error, ...additionalPayload }];\n addRUMErrorLog(error);\n },\n /**\n * Removes all errors from the store matching a given source\n * @param {*} state\n * @param {String} source\n */\n clearErrorsForSource(state, source) {\n state.errors = state.errors.filter(error => error?.source !== source);\n },\n /**\n * Removes all errors for a given page\n * @param {*} state\n * @param {String} page\n */\n clearErrorsForPage(state, page) {\n state.errors = state.errors.filter(error => error.page !== page);\n },\n /**\n * Clears all erros from the store\n * @param {*} state\n */\n clearAllErrors(state) {\n state.errors = [];\n },\n /**\n * Removes workflow log errors for a specific correlationId\n * Note: We are registering errors with correlationId for workflow log errors only\n * This will help when in user journey a new correlationId will be generated we will clear out all previous workflow error logs\n * @param {*} state\n * @param {String} correlationId\n */\n clearWorkflowLogErrorsForSpecificCorrelationId(state, correlationId) {\n state.errors = state.errors.filter(error => error?.correlationId !== correlationId);\n }\n },\n getters: {\n getDeparturesErrorStatus(state) {\n return !!state.errors.find(e => e.source === constants.errorSource.departures && e.statusCode);\n },\n getErrorMessages: state => page => {\n // Different types of message\n // HTTP error statuses are irrelevant to users - same with API errors\n // Developers should know that kind of information\n const errors = state.errors.filter(error => error.showError !== false && error.page === page);\n if (errors?.length > 0) {\n // When an error message is critical, just show that one to the user\n if (errors.some(e => e.critical)) {\n // If the error message that is critical is preferred, show those instead\n const err = errors.filter(e => e.critical && e.prefersMessage);\n if (err && err.length > 0) {\n return err.map(e => e.message).join(\", \");\n }\n return Vue.prototype.$t(\"od3cp.service.error\");\n }\n // Otherwise, show all the errors\n return errors.map(e => e.message).join(\", \");\n }\n return null;\n },\n isNavigationDisabled: state => page => {\n return state.errors.some(error => error.page === page && error.disableNavigation);\n },\n hasErrorsForPage: state => page => {\n return state.errors.some(error => error.showError !== false && error.page === page);\n },\n hasErrorsForSource: state => (source, includeAll = false) => {\n return state.errors.some(error => (error.showError !== false || includeAll) && error.source === source);\n },\n getErrorsBySource: state => source => {\n return state.errors.filter(error => error.source === source);\n }\n }\n};\n","/**\n * Generates a fake CorrelationId when the API does not return one\n * The pattern to match is ^[a-zA-Z0-9-]{2,36}$\n */\nexport const generateFakeCorrelationId = () => {\n let str = \"VOBCID-\";\n // capital A is 65, lower case z is 122\n for (let i = 0; i < 29; i++) {\n let charIndex = (Math.random() * 57 + 65).toFixed(0);\n // Don't include characters between 91 and 96, as these are special characters\n if (charIndex <= 90 || charIndex >= 97) {\n str = str + String.fromCharCode(charIndex);\n }\n }\n // Test it before it goes out\n if (str.match(/^[a-zA-Z0-9-]{2,36}$/)) {\n return str;\n } else {\n // This is a safety net. Based on the algorithm, this shouldn't happen, but it we won't take any chances\n return generateFakeCorrelationId();\n }\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { getQueryStringParams } from \"@/common/utils/generic/queryParamBuilder.js\";\n\nexport const getDepartureContainers = async function(params = {}) {\n const url = `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.containers}${getQueryStringParams(\n params\n )}`;\n return executeRequest({ url, method: \"GET\" });\n};\n","import { generateFakeCorrelationId } from \"@/common/utils/generic/correlationIdGenerator\";\nimport { getDepartureContainers } from \"@/common/service/containersService\";\nimport departureContainerTypes from \"@/common/utils/generic/departureContainers.json\";\nimport { getRandomReference } from \"@/lib/od3cp/od3cpUtilities\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { mapDepartureContainerTypes } from \"@/lib/od3cp/containerUtilities\";\nimport { deepClone } from \"@/common/utils/generic/deepClone\";\n\nexport default {\n namespaced: true,\n\n // initial state\n state: {\n commonData: null, // obtained from /commonData API, od3cp page uses the correlationId from here\n correlationId: null, // obtained from /departures API, used from sailings page onward\n previousCorrelationId: null, // used to skip already validated routes\n dataSetsCorrelationId: null,\n containerTypes: null,\n containerRefs: [],\n deviceType: null\n },\n\n //mutations\n mutations: {\n setCommonData(state, commonData) {\n state.commonData = commonData;\n // initial correlationId from commonData, but it will be replaced with the /departures API generated one\n state.correlationId = commonData.correlationId;\n },\n setCorrelationId(state, correlationId) {\n if (!correlationId || correlationId?.includes(\"VOBCID-\")) {\n window.localStorage.removeItem(\"correlationId\");\n }\n if (correlationId && !correlationId?.includes(\"VOBCID-\")) {\n window.localStorage.setItem(\"correlationId\", correlationId);\n }\n state.correlationId = correlationId;\n },\n setPreviousCorrelationId(state, correlationId) {\n state.previousCorrelationId = correlationId;\n },\n setDataSetsCorrelationId(state, correlationId) {\n state.dataSetsCorrelationId = correlationId;\n },\n setContainerTypes(state, containerTypes) {\n const types = mapDepartureContainerTypes(containerTypes);\n state.containerTypes = types;\n },\n setContainerRefs(state, containerRefs) {\n state.containerRefs = containerRefs;\n },\n /**\n * Sets device type\n * @param {Object} state\n * @param {String} deviceType\n */\n setDeviceType(state, deviceType) {\n state.deviceType = deviceType;\n }\n },\n\n getters: {\n getCorrelationId(state) {\n return state.correlationId;\n },\n /**\n * @summary This method returns previous correlation ID (not the current one) to avoid duplicates DG validations\n * @param {*} state\n * @returns {String}\n */\n getPreviousCorrelationId(state) {\n return state.previousCorrelationId;\n },\n getCommonDataCorrelationId(state) {\n return state.commonData?.correlationId; // used on od3cp page\n },\n getDataSetsCorrelationId(state) {\n return state.dataSetsCorrelationId;\n },\n getIsFakeCorrelationId(state) {\n return state.correlationId.startsWith(\"VOBCID-\");\n },\n getContainerByTypeSize: state => container => {\n return (\n state.containerTypes.find(cnt => cnt.isoContainerSizeTypeCd === container?.isoCode) ??\n state.containerTypes.find(cnt => cnt.typeCd === container.type && cnt.sizeCd === container.size)\n );\n },\n getContainerTypes(state) {\n return state.containerTypes;\n },\n /**\n * Flag for checking if correlationId is present\n * @param state\n * @return {boolean}\n */\n hasCorrelationId(state) {\n return Boolean(state.correlationId);\n },\n getContainerRefs(state) {\n return state.containerRefs;\n },\n /**\n * Gets the status if tab or mobile screen\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean} The status if tab or mobile screen\n */\n isTabOrMobileScreen(state, getters) {\n return getters.isMobileScreen || getters.isTabScreen;\n },\n /**\n * Gets the status if tab screen\n * @param {Object} state\n * @returns {Boolean} The status if tab screen\n */\n isTabScreen(state) {\n return state.deviceType === constants.deviceType.tab;\n },\n /**\n * Gets the status if mobile screen\n * @param {Object} state\n * @returns {Boolean} The status if mobile screen\n */\n isMobileScreen(state) {\n return state.deviceType === constants.deviceType.mobile;\n },\n /**\n * Gets the all container types that are flexi tank\n * @param {Object} state\n * @returns {Array} The containers that are flexi tank\n */\n getFlexiTankContainerIsoCodes(state) {\n return (state.containerTypes || [])\n .filter(container => container.flexiTankFlag)\n .map(container => container.isoContainerSizeTypeCd);\n },\n /**\n * Gets the all container types that are oog\n * @param {Object} state\n * @returns {Array} The containers that are oog\n */\n getOogContainerIsoCodes(state) {\n return (state.containerTypes || [])\n .filter(container => container.outOfGaugeCargoFlag)\n .map(container => container.isoContainerSizeTypeCd);\n }\n },\n\n //actions\n actions: {\n async loadCommonData({ commit }) {\n // As of April 23rd, we don't need to make a call to the API\n commit(\"setCommonData\", { correlationId: generateFakeCorrelationId() });\n },\n async loadContainers({ commit, state }, bookable = true) {\n try {\n if (!!state?.containerTypes && state?.containerTypes?.length > 0) {\n return;\n }\n const cnts = await getDepartureContainers({ ...(bookable && { isBookable: bookable }) });\n commit(\"setContainerTypes\", cnts?.containerDetails);\n } catch (e) {\n commit(\"setContainerTypes\", departureContainerTypes);\n }\n },\n // TODO: Remove this getter after the departureContainerRefs is tested\n async generateAndSetContainerRefs({ commit, rootGetters }) {\n const containerRefs = (rootGetters[\"OD3CP/getContainerSelect\"] ?? []).map((item, typeIndex) => {\n return Array.from(\n { length: item.quantity },\n (_, i) => rootGetters[\"OD3CP/getContainerInstanceIdBooking\"](typeIndex, i) ?? getRandomReference()\n );\n });\n commit(\"setContainerRefs\", containerRefs);\n },\n async generateAndSetContainerRefsUpdated({ commit, rootGetters }) {\n const originalContainerRefs = deepClone(rootGetters[\"OD3CP/getOriginalContainerRefs\"]);\n const containerRefs = (rootGetters[\"OD3CP/getContainerSelect\"] ?? []).map((item, typeIndex) => {\n const containerKey = `${item.containerType?.isoContainerSizeTypeCd}-${item.shipperOwnContainer?.checked}-${item.importReturnContainer?.checked}`;\n const quantity = item.quantity;\n // If no original container references, create new ones\n if (!originalContainerRefs[containerKey]?.length) {\n return Array.from({ length: quantity }, () => getRandomReference());\n }\n const currentLength = originalContainerRefs[containerKey].length;\n\n let grabbedContainers = originalContainerRefs[containerKey].slice(0, quantity);\n\n // If quantity is greater than the current length, create additional references\n if (quantity > currentLength) {\n const additionalReferences = Array.from({ length: quantity - currentLength }, () => getRandomReference());\n grabbedContainers = [...grabbedContainers, ...additionalReferences];\n }\n\n // Update the originalContainerRefs to remove the grabbed containers\n originalContainerRefs[containerKey] = originalContainerRefs[containerKey].slice(quantity);\n\n return grabbedContainers;\n });\n commit(\"setContainerRefs\", containerRefs);\n }\n }\n};\n","export const initialState = {\n originLocations: [],\n destinationLocations: [],\n priceOwners: [],\n commodities: [],\n nacHistory: [],\n parties: [],\n facilities: [],\n isPartiesAndFacilitiesHistoryLoading: false,\n previouslyUsedNacServiceAvailability: {},\n bookings: [],\n visibleBookings: [],\n isBookingsLoading: false,\n isPreviousBookingsTriggered: false,\n activePage: 1\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion } from \"@/common/utils/generic/featureFlagService\";\nimport { getQueryStringParams } from \"@/common/utils/generic/queryParamBuilder.js\";\nimport { isFeatureEnabled } from \"@/common/utils/generic/featureFlagService.js\";\nimport { getCustomerCode, getUserCredential } from \"@maersk/shared-js\";\n\n/**\n * Historical Data API\n */\n\n/**\n * Loads od3cp booking history data\n * @param {String} correlationId\n * @param {Number} noOfRecords\n * @param {Object} payload\n * @return {Promise}\n */\nexport async function getBookingHistory(args) {\n let { correlationId, noOfRecords, payload } = args;\n let data;\n let url;\n const envVariable = getCurrentEnvironmentVariables();\n if (isFeatureEnabled(constants.featureFlags.decomOdsHistoricalData.name)) {\n payload = {\n bookedByCode: getCustomerCode(),\n bookedByContactCode: getUserCredential(\"personid\")\n };\n url = `${envVariable.apiDomain}/ssib-historical-data/v1/history/od3cp`;\n data = await executeRequest({\n url,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n \"Application-Id\": \"SSIB\",\n ...getFeatureVersion()\n },\n consumerKey: getCurrentEnvironmentVariables().previousBookingsConsumerKey\n });\n } else {\n //TODO: Remove this else block once decomOdsHistoricalData is live (OME-29917)\n if (!correlationId) {\n throw new Error(\"getBookingHistory: correlationId is missing\");\n }\n url = `${envVariable.apiDomain}/historical-data/booking-history?numberOfBookings=${noOfRecords}`;\n data = await executeRequest({\n url,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n correlationId: correlationId,\n ...getFeatureVersion()\n }\n });\n }\n\n return data;\n}\n\n/**\n * Loads NAC history data\n * @param {String} correlationId\n * @param {Number} noOfRecords\n * @param {Object} payload\n * @return {Promise}\n */\nexport async function getNACHistory(correlationId, noOfRecords, payload) {\n if (!correlationId) {\n throw new Error(\"getNACHistory: correlationId is missing\");\n }\n\n const envVariable = getCurrentEnvironmentVariables();\n const url = `${envVariable.apiDomain}/historical-data/nac-history?numberOfNacs=${noOfRecords}`;\n\n return executeRequest({\n url,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n correlationId: correlationId,\n ...getFeatureVersion()\n }\n });\n}\n\n/**\n * Loads parties and facilities history data\n * @param {String} correlationId\n * @param {Number} noOfRecords\n * @param {Object} payload\n * @return {Promise}\n */\nexport async function getPartiesAndFacilitiesHistory(args) {\n let { correlationId, noOfRecords, payload } = args;\n const envVariable = getCurrentEnvironmentVariables();\n if (isFeatureEnabled(constants.featureFlags.decomOdsHistoricalData.name)) {\n if (!payload) {\n throw new Error(\"getPartiesAndFacilitiesHistory: payload is missing\");\n }\n const { destinationLocation, bookedByContactCode, ...rest } = payload;\n payload = {\n ...rest,\n bookedByCode: getCustomerCode()\n };\n return executeRequest({\n url: `${envVariable.apiDomain}/ssib-historical-data/v1/history/partiesfacilities`,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n \"Application-Id\": \"SSIB\",\n ...getFeatureVersion()\n },\n consumerKey: getCurrentEnvironmentVariables().previousBookingsConsumerKey\n });\n } else {\n //TODO: Remove this else block once decomOdsHistoricalData is live (OME-29917)\n if (!correlationId) {\n throw new Error(\"getPartiesAndFacilitiesHistory: correlationId is missing\");\n }\n const url = `${envVariable.apiDomain}/historical-data/parties-facilities-history?numberOfPartiesAndFacilities=${noOfRecords}`;\n return executeRequest({\n url,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n correlationId: correlationId,\n ...getFeatureVersion()\n }\n });\n }\n}\n\n/**\n * Loads historical bookings\n * @param {Object} params\n * @return {Promise}\n */\nexport async function getPreviousBookings(params = {}) {\n if (!params?.bookedByCode) {\n throw new Error(\"getPreviousBookings: bookedByCode is missing\");\n }\n\n const url = `${getCurrentEnvironmentVariables().apiDomain}/ssib-historical-data/booking-history${getQueryStringParams(\n params\n )}`;\n\n return executeRequest({\n url,\n method: \"GET\",\n headers: {\n \"Application-Id\": \"SSIB\",\n ...getFeatureVersion()\n },\n consumerKey: getCurrentEnvironmentVariables().previousBookingsConsumerKey\n });\n}\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { getCustomerCode } from \"@maersk/shared-js\";\nimport { isFeatureEnabled } from \"@/common/utils/generic/featureFlagService.js\";\n\nexport async function getPublicData(params = { customerCode, tradingName, countryCode, cityName }) {\n const qsParams = Object.keys(params)\n .map(key => (params[key] ? `${key}=${params[key]}` : \"\"))\n .filter(item => item !== \"\")\n .join(\"&\");\n const ciamUrl = constants.ENDPOINTS.ciam.publicData;\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${ciamUrl}?customerStatus=A&${qsParams}`,\n method: \"GET\",\n consumerKey: getCurrentEnvironmentVariables().synergyConsumerKey\n });\n}\n\n/**\n * Retrieves the booked by contacts for the signed in customer\n * @param {String?} nextPageToken Retrieves the requested page of data\n * @returns raw response\n */\nexport async function getBookedByParties(nextPageToken) {\n const customerCode = getCustomerCode();\n if (!customerCode) {\n throw new Error(\"getBookedByParties: customerCode is missing\");\n }\n const nextPageParam = nextPageToken ? `?pageToken=${nextPageToken}` : \"\";\n const ciamUrl = `${constants.ENDPOINTS.ciam.contactPublicData}${customerCode}${nextPageParam}`;\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${ciamUrl}`,\n method: \"GET\",\n consumerKey: getCurrentEnvironmentVariables().synergyConsumerKey,\n rawResponse: true // Needed to get the nextPageToken\n });\n}\n","import {\n getBookingHistory,\n getNACHistory,\n getPartiesAndFacilitiesHistory,\n getPreviousBookings\n} from \"@/common/service/historyService\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { getCustomerCode, getUserCredential, getBrandFromHostname } from \"@maersk/shared-js\";\nimport { getPublicData } from \"@/common/service/customerDataService\";\nimport Vue from \"vue\";\nimport {\n transformNacInfo,\n transformOd3cpFacilities,\n transformOd3cpLocations,\n transformOd3cpCommodities\n} from \"@/lib/od3cp/od3cpUtilities\";\n\nexport default {\n //actions\n async loadBookingHistory({ commit, getters, rootGetters }) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n if (!correlationId) {\n throw new Error(\"loadBookingHistory: correlationId is missing\");\n }\n const errorSource = constants.errorSource.history;\n commit(\"error/clearErrorsForSource\", errorSource, { root: true });\n try {\n let payload = {\n bookedByCode: getCustomerCode(),\n bookedByContactCode: getUserCredential(\"personid\")\n };\n\n if (rootGetters[\"OD3CP/isAmendBooking\"]) {\n payload = getters.getPayloadForAmend;\n }\n const noOfRecords = constants.noOfRecordsFromHistory;\n //TODO: Remove correlationId, noOfRecords once decomOdsHistoricalData is live (OME-29917)\n const history = await getBookingHistory({\n correlationId,\n noOfRecords,\n payload\n });\n const facilities = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.previouslyUsedFacilities.name)\n ? transformOd3cpFacilities(history.facilities, Vue.prototype.$t)\n : [];\n commit(\"setOriginLocations\", transformOd3cpLocations(history.originLocations, Vue.prototype.$t));\n commit(\"setDestinationLocations\", transformOd3cpLocations(history.destinationLocations, Vue.prototype.$t));\n commit(\"setCommodities\", transformOd3cpCommodities(history.commodities));\n commit(\"setPriceOwners\", history.priceOwners);\n commit(\"setFacilities\", facilities);\n } catch (error) {\n commit(\n \"error/setError\",\n { error, message: error.message, page: constants.errorPage.od3cp, source: errorSource, showError: false },\n { root: true }\n );\n }\n },\n\n async loadNACHistory({ commit, getters, rootGetters }) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n if (!correlationId) {\n throw new Error(\"loadNACHistory: correlationId is missing\");\n }\n\n const priceOwner = rootGetters[\"priceOwnerData/getPriceOwnerData\"];\n const originLocation = rootGetters[\"OD3CP/getLocationServiceMode\"].origin.location;\n const destinationLocation = rootGetters[\"OD3CP/getLocationServiceMode\"].destination.location;\n const noOfRecords = constants.noOfRecordsFromHistory;\n transformNacInfo({\n maerskPartyCode: null,\n fullName: Vue.prototype.$t(\"od3cp.component.nacModal.noNacName\")\n });\n\n let payload = {\n bookedByCode: getCustomerCode(),\n bookedByContactCode: rootGetters[\"bookedByContact/bookedByContact\"]?.scvCode || getUserCredential(\"personid\"),\n originLocation: {\n portName: originLocation.cityName,\n geoId: originLocation.maerskGeoLocationId\n },\n destinationLocation: {\n portName: destinationLocation.cityName,\n geoId: destinationLocation.maerskGeoLocationId\n },\n priceOwnerCode: priceOwner?.customerCodes.scvCode\n };\n\n if (rootGetters[\"OD3CP/isAmendBooking\"]) {\n payload = { ...payload, ...getters.getPayloadForAmend };\n }\n\n const errorSource = constants.errorSource.nacHistory;\n commit(\"error/clearErrorsForSource\", errorSource, { root: true });\n\n let previouslyUsedNacServiceAvailabilityStatus = {};\n try {\n const historyData = await getNACHistory(correlationId, noOfRecords, payload);\n\n // try to validate customers from history data\n const customerCodes = historyData.map(p => p.scvCode).filter(Boolean);\n let validCustomers;\n previouslyUsedNacServiceAvailabilityStatus = {\n status: 200,\n ok: true\n };\n\n try {\n validCustomers = await getPublicData({ customerCode: customerCodes.join(\",\") });\n } catch (error) {\n // don't display the customers that couldn't be validated due to failed API\n validCustomers = [];\n }\n\n let activeCustomers = validCustomers.filter(c => c.customerStatusCode === \"A\");\n if (activeCustomers.length) {\n commit(\"setNacPreviouslyUsed\", activeCustomers);\n }\n } catch (error) {\n previouslyUsedNacServiceAvailabilityStatus = {\n status: error.status,\n ok: false\n };\n commit(\n \"error/setError\",\n { error, message: error.message, page: constants.errorPage.od3cp, source: errorSource, showError: false },\n { root: true }\n );\n } finally {\n commit(\"setPreviouslyUsedNacServiceAvailability\", previouslyUsedNacServiceAvailabilityStatus);\n }\n },\n //TODO: Remove as part of OME-26497\n async loadPartiesAndFacilitiesHistory({ commit, rootGetters }) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n if (!correlationId) {\n throw new Error(\"loadPartiesAndFacilitiesHistory: correlationId is missing\");\n }\n\n commit(\"setIsPartiesAndFacilitiesHistoryLoading\", true);\n\n const priceOwner = rootGetters[\"priceOwnerData/getPriceOwnerData\"];\n const origin = rootGetters[\"sailings/getSelectedRoute\"]?.schedules[0]?.startLocation; // first schedule for origin\n const destination = rootGetters[\"sailings/getSelectedRoute\"]?.schedules?.slice(-1)[0]?.endLocation; // last schedule for destination\n const noOfRecords = constants.noOfRecordsFromHistoryNew;\n\n const payload = {\n bookedByCode: rootGetters[\"parties/getCustomerCodeForBookedByParty\"],\n bookedByContactCode: rootGetters[\"bookedByContact/bookedByContact\"]?.scvCode || getUserCredential(\"personid\"),\n originLocation: {\n portName: origin?.cityName,\n geoId: origin?.cityGeoId\n },\n destinationLocation: {\n portName: destination?.cityName,\n geoId: destination?.cityGeoId\n },\n priceOwnerCode: priceOwner?.customerCodes.scvCode\n };\n\n const errorSource = constants.errorSource.partiesAndFacilitiesHistory;\n commit(\"error/clearErrorsForSource\", errorSource, { root: true });\n\n try {\n /*TODO: Remove correlationId, noOfRecords & update payload(remove destinationLocation,bookedByContactCode) \n once decomOdsHistoricalData is live (OME-29917)*/\n const historyData = await getPartiesAndFacilitiesHistory({ correlationId, noOfRecords, payload });\n\n // try to validate customers from history data\n const customerCodes = historyData.partyRoles.map(p => p.partyScvCode).filter(Boolean);\n let validCustomers;\n\n try {\n validCustomers = await getPublicData({ customerCode: customerCodes.join(\",\") });\n } catch (error) {\n // don't display the customers that couldn't be validated due to failed API\n validCustomers = [];\n }\n\n let activeCustomers = validCustomers.filter(c => c.customerStatusCode === \"A\");\n if (activeCustomers.length) {\n activeCustomers = activeCustomers.reduce((acc, c) => ({ ...acc, [c.customerCodes.scvCode]: c }), {}); // ex: { 10000007951: {customerData} }\n\n commit(\n \"setParties\",\n historyData.partyRoles\n .filter(p => activeCustomers[p.partyScvCode]) // remove not-active customers\n .map(p => ({\n typeName: p.partyTypeName,\n typeCode: p.partyTypeCode,\n data: activeCustomers[p.partyScvCode]\n }))\n );\n }\n commit(\"haulage/setLoadingAddresses\", mapFacilitiesHistory(historyData.facilities), { root: true });\n } catch (error) {\n commit(\n \"error/setError\",\n { error, message: error.message, page: constants.errorPage.details, source: errorSource, showError: false },\n { root: true }\n );\n } finally {\n commit(\"setIsPartiesAndFacilitiesHistoryLoading\", false);\n }\n },\n\n async loadPartiesHistory({ commit, rootGetters }) {\n const errorSource = constants.errorSource.partiesAndFacilitiesHistory;\n const partyRoles = rootGetters[\"bookingOptions/getPartiesFacilityHistoryDetailsFromBo\"]?.partyRoles;\n const customerCodes = partyRoles?.map(p => p.partyScvCode).filter(Boolean);\n let validParties;\n\n commit(\"error/clearErrorsForSource\", errorSource, { root: true });\n\n try {\n //Validate the data against the api\n validParties = await getPublicData({ customerCode: customerCodes.join(\",\") });\n let activeCustomers = (validParties || []).filter(c => c.customerStatusCode === \"A\");\n if (activeCustomers.length) {\n activeCustomers = activeCustomers.reduce((acc, c) => ({ ...acc, [c.customerCodes.scvCode]: c }), {}); // eg: { 10000007951: {customerData} }\n commit(\n \"setParties\",\n partyRoles\n .filter(p => activeCustomers[p.partyScvCode]) // remove inactive customers\n .map(p => ({\n typeName: p.partyTypeName,\n typeCode: p.partyTypeCode,\n data: activeCustomers[p.partyScvCode]\n }))\n );\n }\n } catch (error) {\n commit(\n \"error/setError\",\n { error, message: error.message, page: constants.errorPage.details, source: errorSource, showError: false },\n { root: true }\n );\n }\n },\n\n /**\n * Gets the previous bookings\n * @param {*} context\n */\n async fetchPreviousBookings(context) {\n context.commit(\"setPreviousBookings\", []);\n const source = constants.errorSource.previousBookings;\n\n context.commit(\"error/clearErrorsForSource\", constants.errorSource.previousBookings, { root: true });\n try {\n const params = {\n bookedByCode: getCustomerCode(),\n carrierCode: getBrandFromHostname(window.location).brandCode.toUpperCase()\n };\n context.commit(\"setBookingLoading\", true);\n const response = await getPreviousBookings(params);\n context.commit(\"setPreviousBookings\", response?.bookings ?? []);\n context.commit(\"setPreviousBookingsTriggered\", true);\n context.commit(\"setVisiblePreviousBookings\", context.getters.getPreviousBookingsPerPage(1));\n } catch (error) {\n context.commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n page: constants.errorPage.od3cp,\n source,\n showError: false,\n prefersMessage: false\n },\n { root: true }\n );\n } finally {\n context.commit(\"setBookingLoading\", false);\n }\n },\n /**\n * Resets the previous bookings\n * @param {*} context\n */\n resetPreviousBookingInfo(context) {\n context.commit(\"setPreviousBookings\", []);\n context.commit(\"setPreviousBookingsTriggered\", false);\n context.commit(\"setVisiblePreviousBookings\", []);\n context.commit(\"setActivePage\", 1);\n context.commit(\"error/clearErrorsForSource\", constants.errorSource.previousBookings, { root: true });\n }\n};\n//TODO: Remove as part of OME-26497\nfunction mapFacilitiesHistory(facilitiesData) {\n if (!facilitiesData) {\n return [];\n }\n\n let loadingAddresses = [];\n facilitiesData\n .filter(facility => facility.facilityContactAddress?.facilityCode && facility.facilityContactAddress?.customerCode)\n .forEach(facility => {\n loadingAddresses.push({\n id: facility.facilityContactAddress?.facilityCode,\n customerName: facility.facilityContactAddress?.customerName,\n customerCode: facility.facilityContactAddress?.customerCode,\n facilityName: facility.facilityContactAddress?.faciltyName,\n facilityCode: facility.facilityContactAddress?.facilityCode,\n streetName:\n (facility.facilityContactAddress?.line1Address ? `${facility.facilityContactAddress?.line1Address}` : \"\") +\n (facility.facilityContactAddress?.line2Address ? `, ${facility.facilityContactAddress?.line2Address}` : \"\") +\n (facility.facilityContactAddress?.line3Address ? `, ${facility.facilityContactAddress?.line3Address}` : \"\"),\n houseNumber: facility.facilityContactAddress?.streetNumber,\n city: facility.facilityContactAddress?.city,\n country: facility.facilityContactAddress?.country,\n postalCode: facility.facilityContactAddress?.postalAdressCode\n });\n });\n\n return loadingAddresses;\n}\n","import Vue from \"vue\";\nimport { transformNacInfo } from \"@/lib/od3cp/od3cpUtilities\";\n\nexport default {\n setOriginLocations(state, data) {\n state.originLocations = data;\n },\n setDestinationLocations(state, data) {\n state.destinationLocations = data;\n },\n setPriceOwners(state, data) {\n state.priceOwners = data;\n },\n setCommodities(state, data) {\n state.commodities = data;\n },\n setNacPreviouslyUsed(state, data) {\n state.nacHistory = data;\n },\n setPreviouslyUsedNacServiceAvailability(state, status) {\n state.previouslyUsedNacServiceAvailability = status;\n },\n setParties(state, data) {\n state.parties = data;\n },\n setFacilities(state, data) {\n state.facilities = data;\n },\n setIsPartiesAndFacilitiesHistoryLoading(state, bool) {\n state.isPartiesAndFacilitiesHistoryLoading = bool;\n },\n resetNacPreviouslyUsed(state) {\n transformNacInfo({\n maerskPartyCode: null,\n fullName: Vue.prototype.$t(\"od3cp.component.nacModal.noNacName\")\n });\n state.nacHistory = [];\n },\n /**\n * Sets the previous bookings\n * @param {Object} state\n * @param {Array} response\n */\n setPreviousBookings(state, response) {\n state.bookings = response;\n },\n /**\n * Sets the loading status for previous bookings\n * @param {Object} state\n * @param {Boolean} status\n */\n setBookingLoading(state, status) {\n state.isBookingsLoading = status;\n },\n /**\n * Sets the selected booking ID\n * @param {Object} state\n * @param {String} id\n */\n setSelectedBooking(state, id) {\n state.bookings = state.bookings.map(booking => {\n return {\n ...booking,\n isSelected: booking.bookingNumber === id\n };\n });\n },\n /**\n * Sets the previous bookings API trigger status\n * @param {Object} state\n * @param {Boolean} status\n */\n setPreviousBookingsTriggered(state, status) {\n state.isPreviousBookingsTriggered = status;\n },\n /**\n * Sets the visible previous bookings\n * @param {Object} state\n * @param {Array} bookings\n */\n setVisiblePreviousBookings(state, bookings) {\n state.visibleBookings = bookings;\n },\n /**\n * Sets the active page\n * @param {Object} state\n * @param {Number} activePage active page\n */\n setActivePage(state, activePage) {\n state.activePage = activePage;\n }\n};\n","import { PreviousBooking, PreviousBookingDTO } from \"@/common/utils/types\";\nimport { maskCustomerCode } from \"@maersk/shared-js\";\nimport { constants } from \"../CONSTANTS\";\n\n/***\n * Maps the previous bookings to booking DTO to use in product card\n * @params {Object} booking - The previous booking\n * @returns {PreviousBookingDto}\n */\nexport function mapPreviousBookings(booking: PreviousBooking): PreviousBookingDTO {\n if (!booking || typeof booking !== \"object\" || Array.isArray(booking)) return {} as PreviousBookingDTO;\n return {\n bookingNumber: booking.bookingNumber,\n toCityName: booking.toLocation?.cityName,\n toCountryName: booking.toLocation?.countryName,\n toRegionName: booking.toLocation?.regionName,\n fromCityName: booking.fromLocation?.cityName,\n fromCountryName: booking.fromLocation?.countryName,\n fromRegionName: booking.fromLocation?.regionName,\n poCode: maskCustomerCode(booking.priceOwner?.partyCode),\n poName: booking.priceOwner?.partyName,\n commodityNames: (booking.commodities ?? []).map(commodity => commodity.commodityName).join(\", \"),\n containers: booking.containers,\n isSelected: booking.isSelected ?? false,\n containerLabels: mapContainerLabels(booking),\n commodityLabels: mapCommodityLabels(booking),\n imoNumbers: booking.additionalInfo?.dangerous?.isDangerous ? booking.additionalInfo.dangerous.undgNumbers : []\n };\n}\n\n/***\n * Returns container labels(oog)\n * @params {Object} booking - The previous booking\n * @returns {Array} labels\n */\nexport function mapContainerLabels(booking: PreviousBooking): string[] {\n const containerLabels = {\n ...(booking.additionalInfo?.outOfGauge?.isOutOfGauge && { isOutOfGauge: constants.oogCargo.toLowerCase() })\n };\n return Object.values(containerLabels);\n}\n/***\n * Returns commodity labels(Reefer. dangerous)\n * @params {Object} booking - The previous booking\n * @returns {Array} labels\n */\nexport function mapCommodityLabels(booking: PreviousBooking): string[] {\n const commodityLabels = {\n ...(booking.additionalInfo?.reefer?.isReefer && { isReefer: constants.reeferCargo.toLocaleLowerCase() }),\n ...(booking.additionalInfo?.dangerous?.isDangerous && { isDangerous: constants.dangerousCargo.toLowerCase() })\n };\n return Object.values(commodityLabels);\n}\n","import { constants } from \"@/lib/CONSTANTS\";\nimport { mapPreviousBookings } from \"@/lib/previous-bookings/previousBookingsMapper\";\n\nexport default {\n /**\n * @description Check for if parties and facilities history loading\n * @param {Object} state\n * @returns {Boolean}\n */\n isPartiesAndFacilitiesHistoryLoading(state) {\n return state.isPartiesAndFacilitiesHistoryLoading;\n },\n /**\n * @description Gets the party history for a role\n * @param {Object} state\n * @param {String} roleCode The role code\n * @returns {Array} List of filtered parties\n */\n getPartyHistoryForRole: state => roleCode => {\n return state.parties.filter(p => p.typeCode === roleCode).map(p => p.data);\n },\n /**\n * @description Gets the previously uses NAC\n * @param {Object} state\n * @returns {Object} The NAC\n */\n getNacPreviouslyUsed(state) {\n return state.nacHistory;\n },\n /**\n * @description Gets the previously uses NAC based on availability\n * @param {Object} state\n * @returns {Object} The NAC\n */\n getPreviouslyUsedNacServiceAvailability(state) {\n return state.previouslyUsedNacServiceAvailability;\n },\n /**\n * @description Gets the payload for amend from dataset\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object} The payload\n */\n getPayloadForAmendFromDataset(state, getters, rootState, rootGetters) {\n const bookingData = rootGetters[\"OD3CP/getBookingDataFromDataset\"];\n return {\n bookedByCode: bookingData?.parties?.find(party => party?.roleCode === constants.userRoles.BOOKED_BY)?.scvCode,\n bookedByContactCode: bookingData?.bookedByContactScvCode\n };\n },\n /**\n * @description Gets the payload for amend from booking request\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object} The payload\n */\n getPayloadForAmendFromBookingRequest(state, getters, rootState, rootGetters) {\n const bookingData = rootGetters[\"OD3CP/getBookingDataFromBookingRequest\"];\n return {\n bookedByCode: bookingData?.parties?.find(party => party?.roleCode === constants.userRoles.BOOKED_BY)\n ?.maerskPartyCode,\n bookedByContactCode: bookingData?.parties?.find(party => party?.roleName === constants.bookedByContact)\n ?.maerskPartyCode\n };\n },\n /**\n * @description Sorts the haulage facilities based on availability\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object} The payload\n */\n getPayloadForAmend(state, getters, rootState, rootGetters) {\n return rootGetters[\"OD3CP/getBookingDataSource\"] === constants.bookingDataSource.bookingRequest\n ? getters.getPayloadForAmendFromBookingRequest\n : getters.getPayloadForAmendFromDataset;\n },\n /**\n * Gets the previous bookings\n * @param {Object} state\n * @returns {Array} The previous bookings\n */\n getPreviousBookings(state) {\n return state.bookings;\n },\n /**\n * Gets the previous bookings rows\n * @param {Object} state\n * @returns {Array} The previous bookings\n */\n getPreviousBookingRows(state) {\n return state.bookings.map(booking => mapPreviousBookings(booking));\n },\n /**\n * Gets the previous bookings loading status\n * @param {Object} state\n * @returns {Boolean} The previous bookings loading status\n */\n isPreviousBookingsLoading(state) {\n return state.isBookingsLoading;\n },\n /**\n * Gets the selected previous booking\n * @param {Object} state\n * @param {Object} getters\n * @returns {String} The booking ID\n */\n getSelectedBookingId(state, getters) {\n return getters.getPreviousBookings?.find(booking => booking?.isSelected)?.bookingNumber ?? null;\n },\n /**\n * Checks if previous bookings has error\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean} The error status\n */\n hasPreviousBookingsError(state, getters, rootState, rootGetters) {\n return rootGetters[\"error/hasErrorsForSource\"](constants.errorSource.previousBookings, true);\n },\n /**\n * Gets the modal dimension\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean} The modal dimension\n */\n modalDimension(state, getters) {\n return getters.isPreviousBookingsLoading || getters.hasPreviousBookingsError || getters.isEmptyPreviousBookings\n ? {\n height: \"30vh\",\n width: \"80vw\"\n }\n : {\n height: \"90vh\",\n width: \"80vw\"\n };\n },\n /**\n * Gets the previous bookings triggered status\n * @param {Object} state\n * @returns {Boolean} The previous bookings triggered status\n */\n isPreviousBookingsAlreadyTriggered(state) {\n return state.isPreviousBookingsTriggered;\n },\n /**\n * Checks if bookings response is empty\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean} The previous bookings empty response status\n */\n isEmptyPreviousBookings(state, getters) {\n return getters.isPreviousBookingsAlreadyTriggered && getters.getPreviousBookings?.length === 0;\n },\n /**\n * Gets the total pages of previous bookings\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean} The total pages of previous bookings\n */\n getTotalPagesForPreviousBookings(state, getters) {\n return getters.getPreviousBookings?.length / getters.getNumberOfPreviousBookingsAllowedPerPage;\n },\n /**\n * The paginated previous bookings\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} The paginated previous bookings\n */\n getPaginatedPreviousBookings(state, getters) {\n return (getters.getPreviousBookingRows || []).reduce((booking, val, i) => {\n const idx = Math.floor(i / getters.getNumberOfPreviousBookingsAllowedPerPage);\n const page = booking[idx] || (booking[idx] = []);\n page.push(val);\n\n return booking;\n }, []);\n },\n /**\n * The previous bookings per page\n * @param {Object} state\n * @param {Object} getters\n * @param {Number} pageNum\n * @returns {Array} The previous bookings per page\n */\n getPreviousBookingsPerPage: (state, getters) => pageNum => {\n if (!getters.isPreviousBookingPaginationApplicable) return getters.getPreviousBookingRows ?? [];\n return getters.getPaginatedPreviousBookings?.[pageNum - 1] ?? [];\n },\n /**\n * The previous bookings per page\n * @param {Object} state\n * @returns {Array} The previous bookings per page\n */\n getVisiblePreviousBookings(state) {\n return state.visibleBookings;\n },\n /**\n * The active page for previous bookings\n * @param {Object} state\n * @returns {Number} The page number\n */\n getActivePage(state) {\n return state.activePage;\n },\n /**\n * Check if pagination is visible for previous bookings\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean} The status for pagination component\n */\n isPrevBookingsPaginationVisible(state, getters) {\n return (\n getters.getPreviousBookings?.length > getters.getNumberOfPreviousBookingsAllowedPerPage &&\n getters.isPreviousBookingPaginationApplicable\n );\n },\n /**\n * Gets the number of previous bookings per page\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Number} The number of previous booking allowed per page\n */\n getNumberOfPreviousBookingsAllowedPerPage(state, getters, rootState, rootGetters) {\n return (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.duplicatePreviousBookingConfig.name)?.bookingsPerPage ?? 6\n );\n },\n /**\n * Gets the index of the preselected booking\n * @param {Object} state\n * @param {Object} getters\n * @returns {Number} The index of the preselected booking\n */\n getSelectedRowID(state, getters) {\n return getters.getVisiblePreviousBookings?.findIndex(booking => booking?.isSelected);\n },\n /**\n * Checks if pagination is applicable\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Number} The pagination applicable status\n */\n isPreviousBookingPaginationApplicable(state, getters, rootState, rootGetters) {\n return (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.duplicatePreviousBookingConfig.name)\n ?.isPaginationApplicable ?? false\n );\n },\n /**\n * Gets the origin location history\n * @param {Object} state\n * @returns {Boolean} The origin location history\n */\n getOriginHistoryLocations(state) {\n return state.originLocations;\n },\n /**\n * Gets the origin facilities history\n * @param {Object} state\n * @returns {Array}\n */\n getOriginHistoryFacilities(state) {\n return (state.facilities || []).map(f => f.facilityContactAddress);\n },\n /**\n * Gets the facilities history\n * @param {Object} state\n * @returns {Array}\n */\n getFacilities(state) {\n return state.facilities;\n }\n};\n","import { initialState } from \"@/store/modules/history/state\";\nimport actions from \"@/store/modules/history/actions\";\nimport mutations from \"@/store/modules/history/mutations\";\nimport getters from \"@/store/modules/history/getters\";\n\nexport default {\n namespaced: true,\n state: initialState,\n getters,\n mutations,\n actions\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { constants, getCurrentEnvironmentVariables } from \"@/lib/CONSTANTS\";\nimport { isFeatureEnabled } from \"@/common/utils/generic/featureFlagService.js\";\n\n/**\n * Fetches the user settings from the API\n */\nexport const getUserSettings = async () => {\n const env = getCurrentEnvironmentVariables();\n const path = constants.ENDPOINTS.ciam.userSettings;\n\n const response = await executeRequest({\n url: `${env.apiDomain}${path}`,\n consumerKey: env.synergyConsumerKey\n });\n\n if (typeof response.metric === \"undefined\") {\n response.metric = true;\n }\n response.metric = response.userAccountSettings[0]?.settingsValue === \"metric\";\n\n return response;\n};\n","import { getUserSettings } from \"@/common/service/userSettingsService\";\nimport { hasMilitaryBookingRole, isInternalUser } from \"@/common/utils/auth/authRules\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { isCurrentCarrierMLL } from \"@/lib/od3cp/od3cpUtilities\";\n\nexport default {\n namespaced: true,\n\n // initial state\n state: {\n userSettings: null,\n useMetric: true,\n isMilitaryUser: false,\n isInternalUser: isInternalUser()\n },\n\n getters: {\n /**\n * Returns the unit to be used as a string, either \"KGS or \"LBS\"\n */\n unitPreference(state) {\n return state.useMetric ? constants.weightUnits.kgs : constants.weightUnits.lbs;\n },\n /**\n * Returns a boolean whether the user should use metric units\n */\n useMetric(state) {\n return state.useMetric;\n },\n isMilitaryUser(state, getters, rootState, rootGetters) {\n if (isCurrentCarrierMLL()) {\n return hasMilitaryBookingRole();\n }\n if (rootGetters[\"boFlags/getFlag\"](\"US_MILITARY_BOOKING\") === false) {\n return false;\n }\n return state.isMilitaryUser;\n },\n isInternalUser(state) {\n return state.isInternalUser;\n }\n },\n\n //mutations\n mutations: {\n /*\n * set useMetric data within setUserSettings,\n * this will keep useMetric indepedent of userSettings for changes required in amend\n */\n setUserSettings(state, userSettings) {\n state.userSettings = userSettings;\n state.useMetric = state.userSettings && state.userSettings.metric ? state.userSettings.metric : false;\n },\n setIsMilitaryUser(state, isMilitaryUser) {\n state.isMilitaryUser = isMilitaryUser;\n },\n setMetric(state, useKg) {\n state.useMetric = useKg;\n }\n },\n\n //actions\n actions: {\n /**\n * Retrieves the user's settings from either the AO or legacy (default) API based on the back office flag\n * and then stores it in the userSettings store\n * @param {*} param0 Store commit/getters\n */\n async loadUserSettings({ commit }) {\n const errorSource = constants.errorSource.userSettings;\n commit(\"error/clearErrorsForSource\", errorSource, { root: true });\n commit(\"setIsMilitaryUser\", hasMilitaryBookingRole());\n try {\n let userSettings = await getUserSettings();\n commit(\"setUserSettings\", userSettings);\n } catch (error) {\n commit(\"setUserSettings\", { metric: true }); // default to metric if all api calls fail\n commit(\n \"error/setError\",\n { error, message: error.message, page: constants.errorPage.od3cp, source: errorSource, showError: false },\n { root: true }\n );\n }\n }\n }\n};\n","import { isFeatureEnabled } from \"@/common/utils/generic/featureFlagService\";\n\nexport default {\n namespaced: true,\n\n // initial state\n state: {\n boFlags: {\n USER_SETTINGS_FROM_AO: true // default set to true for decommission of BO features API\n }\n },\n\n getters: {\n getFlag: state => flag => {\n if (state.boFlags && state.boFlags[flag] != null && state.boFlags[flag] !== undefined) {\n return state.boFlags[flag];\n } else {\n // If BO flag is not set, check the feature flag set in Sitecore\n let feature = isFeatureEnabled(flag);\n return feature !== undefined ? feature : null;\n }\n }\n }\n};\n","import { getPublicData } from \"@/common/service/customerDataService\";\nimport { getCustomerCode } from \"@maersk/shared-js\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { getClearedState } from \"@/common/utils/generic/stateManagement\";\nimport { debugAction } from \"@/common/utils/analytics/mopRum.js\";\n\nexport default {\n namespaced: true,\n\n // initial state\n state: {\n priceOwnerData: null,\n loggedInPriceOwnerData: null,\n customerReference: \"\",\n selectedOption: null,\n code: null,\n priceOwnerDataError: null,\n isDefaultUpdate: false // if true, the state was updated programmatically (ex: duplicate booking)\n },\n getters: {\n getCustomerReference(state) {\n return state.customerReference;\n },\n getPriceOwnerData(state) {\n return state.priceOwnerData;\n },\n getLoggedInPriceOwnerData(state) {\n return state.loggedInPriceOwnerData;\n },\n priceOwnerDataError(state) {\n return state.priceOwnerDataError;\n },\n isPriceOwnerLoggedInUser(state) {\n return state.selectedOption === constants.priceOwnerRadioOptions.PO;\n },\n isDefaultUpdate(state) {\n return state.isDefaultUpdate;\n },\n\n /**\n * Creates Price Owner party for /departures endpoint.\n * @description If Price Owner exists, it will create it, otherwise 'null' will be returned.\n * @param state\n * @return {null|{roleCode: *, scvCode: *, roleName: string, cmdCode: *}}\n */\n priceOwnerParty(state) {\n const priceOwner = state.priceOwnerData;\n const priceOwnerReference = state.customerReference;\n\n // Added this action to debug a prod issue, need to remove once done\n if (!priceOwner) {\n debugAction(\"emptyPriceOwner\", {\n customerCode: getCustomerCode()\n });\n }\n\n return !priceOwner\n ? null\n : {\n scvCode: priceOwner.customerCodes?.scvCode,\n cmdCode: priceOwner.customerCodes?.customerCode,\n roleName: \"Price Owner\",\n companyName: priceOwner.tradingName,\n roleCode: constants.userRolesByName[\"Price Owner\"],\n // if Price Owner has reference, add it\n ...(Boolean(priceOwnerReference) && { partyReference: priceOwnerReference })\n };\n }\n },\n\n //mutations\n mutations: {\n setPriceOwnerData(state, priceOwnerData) {\n state.priceOwnerData = priceOwnerData;\n },\n setLoggedInPriceOwnerData(state, priceOwnerData) {\n state.loggedInPriceOwnerData = priceOwnerData;\n },\n setCustomerReference(state, cr) {\n state.customerReference = cr;\n },\n setCode(state, code) {\n state.code = code;\n },\n setSelectedOption(state, so) {\n state.selectedOption = so;\n },\n setPriceOwnerDataError(state, bool) {\n state.priceOwnerDataError = bool;\n },\n setIsDefaultUpdate(state, bool) {\n state.isDefaultUpdate = bool;\n },\n clearState(state) {\n const clearedState = getClearedState(state);\n Object.keys(state).forEach(key => {\n state[key] = clearedState[key];\n });\n }\n },\n\n //actions\n actions: {\n async loadpriceOwnerData({ commit, rootGetters }) {\n const militaryScvCode = rootGetters[\"configurableItems/getMilitaryScvCode\"];\n const isMilitaryUser = rootGetters[\"userSettings/isMilitaryUser\"];\n const customerCode = isMilitaryUser ? militaryScvCode : getCustomerCode();\n const errorSource = constants.errorSource.priceOwnerData;\n commit(\"error/clearErrorsForSource\", errorSource, { root: true });\n try {\n // This API will get your own data when given your own code\n // If the user has military role, the customer code will be the default military one\n const priceOwnerData = await getPublicData({\n customerCode: customerCode\n });\n commit(\"setPriceOwnerData\", priceOwnerData[0]);\n commit(\"setLoggedInPriceOwnerData\", priceOwnerData[0]);\n commit(\"setPriceOwnerDataError\", null);\n } catch (error) {\n const poData = {\n customerCodes: {\n scvCode: customerCode\n }\n };\n commit(\"setPriceOwnerData\", poData);\n commit(\"setPriceOwnerDataError\", true);\n commit(\n \"error/setError\",\n { error, message: error.message, page: constants.errorPage.od3cp, source: errorSource },\n { root: true }\n );\n throw error;\n }\n }\n }\n};\n","import { constants } from \"@/lib/CONSTANTS\";\nimport { getClearedState } from \"@/common/utils/generic/stateManagement\";\nimport {\n fetchReeferTemplate,\n getReeferContainerTypeSize,\n getReeferContainerCodeFromTemplate,\n getCargoProbesRangeValues,\n mapMultipleSetPointDetails,\n updateReeferMultipleSetpointDetails\n} from \"@/lib/reefer/reeferUtilities\";\nimport {\n mapReeferCargoProbes,\n mapReeferContainerCode,\n mapReeferDrainHoles,\n mapReeferEthyleneFilter,\n mapReeferHumidity,\n mapReeferTemperature,\n mapReeferVentilationVolume\n} from \"@/common/utils/mappers/od3cp/mappersUtilities\";\nimport Vue from \"vue\";\nimport { deepClone } from \"@/common/utils/generic/deepClone\";\n\nexport default {\n namespaced: true,\n\n // initial state\n state: {\n reeferContainerType: null,\n controlledAtmosphere: false,\n coldTreatment: constants.radioOptions.disable,\n temperature: null,\n multipleSetPoints: false,\n noOfCargoProbes: 0,\n drainHoles: constants.openClosedRadioOptions.closed,\n freshAirExchange: constants.openClosedRadioOptions.closed,\n ventilationVolume: null,\n humidity: constants.radioOptions.disable,\n humidityPercentage: null,\n oxygenPercentage: null,\n carbonDioxidePercentage: null,\n ethyleneFilter: null,\n genSetExport: null,\n genSetImport: null,\n reeferTemplates: [],\n isTemplateDefault: false,\n defaultReeferTemplate: {\n tempRangeCenMax: null,\n tempRangeCenMin: null,\n tempRangeFarMax: null,\n tempRangeFarMin: null,\n reeferContainerType: null,\n humidityIndicator: null,\n humidityInPercentMin: null,\n humidityInPercentMax: null,\n ventilationStats: null,\n ventilationVolumeMax: null,\n ventilationVolumeMin: null,\n ventilationVolumeCuFtMax: null,\n ventilationVolumeCuFtMin: null,\n drainHoles: null,\n o2PercentMax: null,\n o2PercentMin: null,\n co2PercentMax: null,\n co2PercentMin: null,\n numberOfProbs: null,\n coldTreatment: null,\n multiStandard: false,\n ethyleneFilter: null,\n commodityCode: null,\n commodityDescription: null,\n isDefaultTemplate: true\n },\n activeReeferTemplate: {\n tempRangeCenMax: null,\n tempRangeCenMin: null,\n tempRangeFarMax: null,\n tempRangeFarMin: null,\n reeferContainerType: null,\n humidityIndicator: null,\n humidityInPercentMin: null,\n humidityInPercentMax: null,\n ventilationVolumeMax: null,\n ventilationVolumeMin: null,\n ventilationVolumeCuFtMax: null,\n ventilationVolumeCuFtMin: null,\n drainHoles: null,\n o2PercentMax: null,\n o2PercentMin: null,\n co2PercentMax: null,\n co2PercentMin: null,\n numberOfProbs: null,\n coldTreatment: null,\n multiStandard: false,\n ethyleneFilter: null,\n commodityCode: null,\n commodityDescription: null,\n isDefaultTemplate: true\n },\n duplicateBookingTempControlFlag: false,\n isReeferTemplatesLoading: false,\n templateContainerCodes: [],\n commodityReeferSettingsId: null,\n isCCL: false,\n preserveVentilation: false,\n brMappingInProgress: false,\n reeferDataLoaded: false,\n multipleSetPointDetails: []\n },\n\n getters: {\n getReeferContainerType(state) {\n return state.reeferContainerType;\n },\n isReeferDataLoaded(state) {\n return state.reeferDataLoaded;\n },\n getReeferContainerCode(state, getters) {\n if (!state.reeferContainerType) {\n return null;\n }\n const type =\n state.reeferContainerType\n .split(\"(\")[0]\n .toLowerCase()\n .replace(/\\s/g, \"\") || \"\";\n if (!type || !constants.reeferContainerCodes[type]) {\n return null;\n }\n\n return constants.reeferContainerCodes[type].find(\n p => p.endsWith(constants.reeferColdTreatmentContainerCode) === getters.getColdTreatment\n );\n },\n getMultiTemplateReeferContainerCode(state, getters) {\n const templates = getters.getReeferTemplates;\n let item = \"\";\n const type =\n (state.reeferContainerType || \"\")\n .split(\"(\")[0]\n .toLowerCase()\n .replace(/\\s/g, \"\") || \"\";\n if (type.length > 0) {\n item = templates.filter(\n p =>\n p.reeferContainerType === constants.reeferContainerCodes[type][0] ||\n p.reeferContainerType === constants.reeferContainerCodes[type][1]\n );\n }\n if (item.length > 1) {\n return constants.reeferContainerCodes[type].find(\n p => p.endsWith(constants.reeferColdTreatmentContainerCode) === false\n );\n } else {\n return item && item[0] ? item[0].reeferContainerType : null;\n }\n },\n getControlledAtmosphere(state) {\n return state.controlledAtmosphere;\n },\n getColdTreatment(state) {\n return state.coldTreatment === constants.radioOptions.enable;\n },\n getTemperature(state) {\n return state.temperature;\n },\n getMultipleSetPoints(state) {\n return state.multipleSetPoints;\n },\n getNoOfCargoProbes(state) {\n return state.noOfCargoProbes;\n },\n getDrainHoles(state) {\n return state.drainHoles;\n },\n getFreshAirExchange(state) {\n return state.freshAirExchange;\n },\n getVentilationVolume(state) {\n return state.ventilationVolume;\n },\n getHumidity(state) {\n return state.humidity === constants.radioOptions.enable;\n },\n getHumidityPercentage(state) {\n return state.humidityPercentage;\n },\n getOxygenPercentage(state) {\n return state.oxygenPercentage;\n },\n getCarbonDioxidePercentage(state) {\n return state.carbonDioxidePercentage;\n },\n getEthyleneFilter(state) {\n return state.ethyleneFilter;\n },\n getGenSetExport(state) {\n return state.genSetExport;\n },\n getGenSetImport(state) {\n return state.genSetImport;\n },\n getCommodityReeferSettingsId(state) {\n return state.commodityReeferSettingsId;\n },\n getReeferTemplates(state) {\n return state.reeferTemplates;\n },\n getDefaultReeferTemplate(state) {\n return state.defaultReeferTemplate;\n },\n getActiveReeferTemplate(state) {\n return state.activeReeferTemplate;\n },\n getMultipleSetPointDetails(state) {\n return state.multipleSetPointDetails;\n },\n getMultipleSetPointDetailsForDepartures(state, getters) {\n return (getters.getMultipleSetPointDetails || []).map(i => {\n return {\n numberOfDays: Number(i.setPointDays),\n temperature: Number(i.setPointTemp),\n isDisabled: Boolean(i.isDisabled)\n };\n });\n },\n isVentilationVolumeDisabled(state) {\n return state.freshAirExchange === constants.openClosedRadioOptions.closed;\n },\n isHumidityPercentageDisabled(state) {\n return String(state.humidity).toUpperCase() !== constants.radioOptions.enable;\n },\n isDrainHolesDisabled(state) {\n return state.drainHoles === constants.openClosedRadioOptions.closed;\n },\n isActiveTemplateColdTreatmentEnabled(state) {\n return !!state.activeReeferTemplate?.coldTreatment;\n },\n getReeferDetails(state, getters) {\n return {\n reeferContainerType: getters.getReeferContainerType,\n controlledAtmosphere: getters.getControlledAtmosphere,\n coldTreatment: getters.getColdTreatment,\n temperature: getters.getTemperature,\n multipleSetPoints: getters.getMultipleSetPoints,\n noOfCargoProbes: getters.getNoOfCargoProbes,\n drainHoles: getters.getDrainHoles,\n freshAirExchange: getters.getFreshAirExchange,\n ventilationVolume: getters.getVentilationVolume,\n humidity: getters.getHumidity,\n humidityPercentage: getters.getHumidityPercentage,\n oxygenPercentage: getters.getOxygenPercentage,\n carbonDioxidePercentage: getters.getCarbonDioxidePercentage,\n ethyleneFilter: getters.getEthyleneFilter,\n genSetExport: getters.getGenSetExport,\n genSetImport: getters.getGenSetImport,\n ...(getters.getMultipleSetPoints && {\n multipleSetPointDetails: getters.getMultipleSetPointDetails\n })\n };\n },\n getReeferTemplatesLoadingStatus(state) {\n return state.isReeferTemplatesLoading;\n },\n getTemplateContainerCodes(state) {\n return (state.reeferTemplates || []).map(template => template.reeferContainerType);\n },\n isReeferAndContainerPickedUp(state, getters, rootState, rootGetters) {\n return !!(\n rootGetters[\"OD3CP/isAmendBooking\"] &&\n rootGetters[\"OD3CP/isReeferSettingsVisible\"] &&\n rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerPickupStatus &&\n !rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerGateInStatus\n );\n },\n isReeferAndContainerGatedIn(state, getters, rootState, rootGetters) {\n return !!(\n rootGetters[\"OD3CP/isAmendBooking\"] &&\n rootGetters[\"OD3CP/isReeferSettingsVisible\"] &&\n rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerGateInStatus\n );\n },\n isReeferAndContainerPickedUpOrGatedIn(state, getters, rootState, rootGetters) {\n return getters.isReeferAndContainerPickedUp || getters.isReeferAndContainerGatedIn;\n },\n /**\n * @description in amend journey if user change the humidity or temperature we need to show message to user. And hence this getter comes into picture\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {boolean}\n */\n hasTempOrHumidityChangedInAmendOrNor(state, getters, rootState, rootGetters) {\n if (\n rootGetters[\"OD3CP/isAmendBooking\"] &&\n getters.getReeferContainerType !== null &&\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.reeferAndNorAmend.name)\n ) {\n //check if there is difference in temperature or humidity\n\n const currentHumidityPercentage =\n getters.getHumidity && getters.getHumidityPercentage ? parseFloat(getters.getHumidityPercentage) : -1;\n const humidityPercentageBr = rootGetters[\"OD3CP/getBookingData\"]?.reeferDetails?.humidityPercentage\n ? parseFloat(rootGetters[\"OD3CP/getBookingData\"]?.reeferDetails?.humidityPercentage)\n : -1;\n return !!(\n currentHumidityPercentage !== humidityPercentageBr ||\n parseFloat(getters.getTemperature) !==\n parseFloat(rootGetters[\"OD3CP/getBookingData\"]?.reeferDetails?.temperature?.value)\n );\n }\n return false;\n }\n },\n\n mutations: {\n setReeferContainerType(state, value) {\n state.reeferContainerType = value;\n },\n setReeferDataLoaded(state, value) {\n state.reeferDataLoaded = value;\n },\n setControlledAtmosphere(state, value) {\n state.controlledAtmosphere = value;\n },\n setColdTreatment(state, value) {\n state.coldTreatment = value;\n },\n setTemperature(state, value) {\n state.temperature = value;\n },\n setMultipleSetPoints(state, value) {\n state.multipleSetPoints = value;\n },\n setNoOfCargoProbes(state, value) {\n const valueToSet = parseInt(value);\n state.noOfCargoProbes = !isNaN(valueToSet) ? value : null;\n },\n setDrainHoles(state, value) {\n state.drainHoles = value;\n },\n setFreshAirExchange(state, value) {\n state.freshAirExchange = value;\n },\n setVentilationVolume(state, value) {\n state.ventilationVolume = value;\n },\n setHumidity(state, value) {\n state.humidity = value;\n },\n setHumidityPercentage(state, value) {\n state.humidityPercentage = value;\n },\n setOxygenPercentage(state, value) {\n state.oxygenPercentage = value;\n },\n setCarbonDioxidePercentage(state, value) {\n state.carbonDioxidePercentage = value;\n },\n setEthyleneFilter(state, value) {\n state.ethyleneFilter = value ? parseInt(value) : null;\n },\n setGenSetExport(state, value) {\n state.genSetExport = value;\n },\n setGenSetImport(state, value) {\n state.genSetImport = value;\n },\n setCommodityReeferSettingsId(state, value) {\n state.commodityReeferSettingsId = value;\n },\n setReeferTemplatesResponse(state, value) {\n state.reeferTemplates = value;\n },\n setDefaultReeferTemplate(state, value) {\n state.defaultReeferTemplate = value;\n },\n setActiveReeferTemplate(state, value) {\n state.activeReeferTemplate = value;\n },\n setEthyleneFilterToDefaultValue(state) {\n state.ethyleneFilter = state.activeReeferTemplate?.ethyleneFilter ?? null;\n },\n setDuplicateBookingTempControlFlag(state, value) {\n state.duplicateBookingTempControlFlag = value;\n },\n setReeferTemplatesLoadingStatus(state, value) {\n state.isReeferTemplatesLoading = value;\n },\n setIsDefaultTemplate(state, value) {\n state.isTemplateDefault = value;\n },\n setIsCCL(state, value) {\n state.isCCL = value;\n },\n setPreserveVentilation(state, value) {\n state.preserveVentilation = value;\n },\n clearState(state, retainTemplatesResponse = false) {\n if (state.brMappingInProgress) return false;\n const reeferTemplatesResponse = state.reeferTemplates;\n const commodityReeferSettingsId = state.commodityReeferSettingsId;\n const isTemplateDefault = state.isTemplateDefault;\n const clearedState = getClearedState(state);\n Object.keys(state).forEach(key => {\n state[key] = clearedState[key];\n });\n // Need to retain templates response when no change in commodity\n if (retainTemplatesResponse) {\n state.reeferTemplates = reeferTemplatesResponse;\n state.commodityReeferSettingsId = commodityReeferSettingsId;\n state.isTemplateDefault = isTemplateDefault;\n }\n state.freshAirExchange = constants.openClosedRadioOptions.closed;\n state.drainHoles = constants.openClosedRadioOptions.closed;\n },\n setBrMappingInProgress(state, value) {\n state.brMappingInProgress = value;\n },\n setMultipleSetPointDetails(state, value) {\n state.multipleSetPointDetails = value;\n },\n disableMultipleSetPointDetails(state, value) {\n const setPointObj = {\n ...state.multipleSetPointDetails[value?.index],\n isDisabled: value?.newValue\n };\n Vue.set(state.multipleSetPointDetails, value?.index, setPointObj);\n },\n addEmptySetpointComponent(state) {\n const emptySetpoint = {\n numberOfDays: null,\n temperature: null,\n isDisabled: false\n };\n state.multipleSetPointDetails = [...state.multipleSetPointDetails, emptySetpoint];\n }\n },\n\n actions: {\n updateActiveReeferTemplate(\n { commit, rootGetters, dispatch, state },\n { containerCode, coldTreatment, isEdit = false, resetCargoProbes = false }\n ) {\n const isDgNecessary = !!rootGetters[\"OD3CP/isDGSettingsNecessary\"];\n const templates =\n rootGetters[\"reeferSettingsData/getReeferTemplates\"]?.filter(\n t => !isDgNecessary || constants.dgContainerCodes.includes(t.reeferContainerType)\n ) || [];\n const containerType = rootGetters[\"reeferSettingsData/getReeferContainerType\"]\n .split(\"(\")[0]\n .toLowerCase()\n .replace(/\\s/g, \"\");\n let isMultiTemplate = false;\n if (!templates.length) {\n return;\n }\n if (constants.reeferContainerCodes[containerType] && constants.reeferContainerCodes[containerType].length > 1) {\n const otherCode = constants.reeferContainerCodes[containerType].find(p => p !== containerCode);\n isMultiTemplate = templates.filter(t => t.reeferContainerType === otherCode).length > 0;\n }\n const template =\n fetchReeferTemplate(templates, containerCode, coldTreatment) ??\n rootGetters[\"reeferSettingsData/getDefaultReeferTemplate\"];\n const updatedTemplate = { ...template, multiTemplate: isMultiTemplate };\n const selectedColdTreatment = !!updatedTemplate.coldTreatment\n ? constants.radioOptions.enable\n : constants.radioOptions.disable;\n commit(\"setColdTreatment\", selectedColdTreatment);\n\n if (\n !updatedTemplate.humidityIndicator ||\n (updatedTemplate.humidityIndicator && !state.duplicateBookingTempControlFlag)\n ) {\n //HumidityPercentage input gets disabled, when updatedTemplate.humidityIndicator false. Hence reset.\n commit(\"setHumidity\", constants.radioOptions.disable);\n commit(\"setHumidityPercentage\", null);\n }\n commit(\"setActiveReeferTemplate\", updatedTemplate);\n dispatch(\"updateCargoProbesWithActiveTemplate\", { template: updatedTemplate, isEdit, resetCargoProbes });\n },\n updateCargoProbesWithActiveTemplate(\n { commit, getters, rootGetters, state },\n { template, isEdit = false, resetCargoProbes = false }\n ) {\n const isDrainHoles = !!template?.drainHoles\n ? constants.openClosedRadioOptions.open\n : constants.openClosedRadioOptions.closed;\n const { min } = getCargoProbesRangeValues(template);\n let numberOfProb = template ? parseInt(template.numberOfProbs) : +min;\n numberOfProb = !isNaN(numberOfProb) ? numberOfProb : null;\n if (!state.duplicateBookingTempControlFlag && !isEdit) {\n commit(\"setDrainHoles\", isDrainHoles);\n if (!rootGetters[\"OD3CP/isAmendBooking\"] || !getters.getNoOfCargoProbes)\n commit(\"setNoOfCargoProbes\", resetCargoProbes ? min : numberOfProb);\n }\n },\n resetReeferTemplates({ commit, rootGetters }) {\n commit(\"setReeferTemplatesResponse\", null);\n commit(\"setActiveReeferTemplate\", rootGetters[\"reeferSettingsData/getDefaultReeferTemplate\"]);\n },\n resetMultiSetPointDetails({ commit }) {\n commit(\"setMultipleSetPointDetails\", [{}]);\n },\n updateControlledAtmosphere({ commit }, containerCode = \"\") {\n commit(\n \"setControlledAtmosphere\",\n constants.controlledAtmosphereContainerCodes.includes(containerCode?.toUpperCase())\n );\n },\n updateGenSet({ commit }, coldTreatment) {\n commit(\"setGenSetExport\", !!coldTreatment);\n },\n updateVentilation({ commit }, freshAirExchange) {\n commit(\"setFreshAirExchange\", freshAirExchange);\n if (freshAirExchange === constants.openClosedRadioOptions.closed) {\n commit(\"setVentilationVolume\", null);\n }\n },\n updateReeferTemplatesLoadingStatus({ commit }, status) {\n commit(\"setReeferTemplatesLoadingStatus\", status);\n },\n mapReeferSettingsFromDataSet({ commit, getters, rootGetters, dispatch }, bookingData) {\n const reeferData = bookingData?.reeferDetails;\n if (!reeferData) return;\n let isOriginalContainerTypePresent = true;\n const isMultiContainer = Boolean(bookingData?.equipmentAndHaulage?.containerDetails.length > 1);\n const firstContainerSize = parseInt(bookingData?.equipmentAndHaulage?.containerDetails[0]?.size);\n const isMultiSizeContainers = (bookingData?.equipmentAndHaulage?.containerDetails || []).some(\n containerDetail => parseInt(containerDetail?.size) !== firstContainerSize\n );\n const isDgNecessary = !!rootGetters[\"OD3CP/isDGSettingsNecessary\"];\n const reeferSize = getReeferContainerTypeSize(firstContainerSize, isMultiSizeContainers);\n let reeferContainerTypeWithSize = `${\n constants.gcsssReeferContainerTypes[reeferData?.reeferContainerType]\n } ${reeferSize}`;\n\n commit(\"setReeferContainerType\", reeferContainerTypeWithSize);\n commit(\"setColdTreatment\", reeferData?.coldTreatment);\n let containerCode = mapReeferContainerCode(reeferData);\n let coldTreatment = reeferData?.coldTreatment;\n const templates =\n rootGetters[\"reeferSettingsData/getReeferTemplates\"]?.filter(\n t => !isDgNecessary || constants.dgContainerCodes.includes(t.reeferContainerType)\n ) || [];\n\n if (!fetchReeferTemplate(templates, containerCode, coldTreatment)) {\n // Check if reeferContainer code used in original booking present in templates. If not set to first\n isOriginalContainerTypePresent = false;\n const templateContainerCode = getReeferContainerCodeFromTemplate(\n getters.getTemplateContainerCodes,\n isMultiContainer\n );\n\n reeferContainerTypeWithSize = `${constants.reeferCodeAndTypeMap[templateContainerCode]} ${reeferSize}`;\n\n commit(\"setReeferContainerType\", reeferContainerTypeWithSize);\n containerCode = templateContainerCode;\n coldTreatment = containerCode.endsWith(constants.reeferColdTreatmentContainerCode);\n }\n const useMetric = rootGetters[\"userSettings/useMetric\"];\n dispatch(\"updateActiveReeferTemplate\", { containerCode, coldTreatment, isEdit: true });\n dispatch(\"updateControlledAtmosphere\", containerCode);\n commit(\"setTemperature\", mapReeferTemperature(reeferData, isOriginalContainerTypePresent, useMetric));\n commit(\n \"setGenSetExport\",\n coldTreatment ? coldTreatment : isOriginalContainerTypePresent && reeferData?.genSetExport\n );\n commit(\"setGenSetImport\", isOriginalContainerTypePresent ? reeferData?.genSetImport : false);\n commit(\n \"setNoOfCargoProbes\",\n mapReeferCargoProbes(reeferData, getters.getActiveReeferTemplate, isOriginalContainerTypePresent)\n );\n commit(\"setFreshAirExchange\", reeferData?.freshAirExchange);\n commit(\"setHumidity\", mapReeferHumidity(reeferData, getters.getActiveReeferTemplate));\n commit(\n \"setHumidityPercentage\",\n isOriginalContainerTypePresent && getters.getActiveReeferTemplate?.humidityIndicator\n ? reeferData?.humidityPercentage\n : null\n );\n commit(\"setDrainHoles\", mapReeferDrainHoles(reeferData, getters.getActiveReeferTemplate));\n commit(\"setVentilationVolume\", mapReeferVentilationVolume(reeferData, isOriginalContainerTypePresent, useMetric));\n commit(\"setMultipleSetPoints\", reeferData?.multipleSetPoints);\n if (getters.getMultipleSetPoints) {\n const mappedMultiSetpoints = mapMultipleSetPointDetails(reeferData?.multipleSetPointDetails, useMetric);\n const updatedMultiSetpointDetails = deepClone(updateReeferMultipleSetpointDetails(mappedMultiSetpoints));\n commit(\"setMultipleSetPointDetails\", updatedMultiSetpointDetails);\n }\n if (getters.getControlledAtmosphere) {\n commit(\"setOxygenPercentage\", isOriginalContainerTypePresent ? reeferData?.oxygenPercentage : null);\n commit(\n \"setCarbonDioxidePercentage\",\n isOriginalContainerTypePresent ? reeferData?.carbonDioxidePercentage : null\n );\n commit(\n \"setEthyleneFilter\",\n mapReeferEthyleneFilter(reeferData, getters.getActiveReeferTemplate, isOriginalContainerTypePresent)\n );\n }\n },\n mapReeferSettingsContainerPickedUp({ commit, getters, rootGetters, dispatch }, bookingData) {\n const reeferData = bookingData?.reeferDetails;\n const isMultiContainer = Boolean(bookingData?.equipmentAndHaulage?.containerDetails.length > 1);\n const firstContainerSize = parseInt(bookingData?.equipmentAndHaulage?.containerDetails[0]?.size);\n const reeferSize = getReeferContainerTypeSize(firstContainerSize, isMultiContainer);\n const reeferContainerTypeWithSize = `${\n constants.gcsssReeferContainerTypes[reeferData?.reeferContainerType]\n } ${reeferSize}`;\n commit(\"setReeferContainerType\", reeferContainerTypeWithSize);\n commit(\n \"setColdTreatment\",\n reeferData?.coldTreatment ? constants.radioOptions.enable : constants.radioOptions.disable\n );\n const useMetric = rootGetters[\"userSettings/useMetric\"];\n dispatch(\"updateControlledAtmosphere\", mapReeferContainerCode(reeferData));\n commit(\"setTemperature\", mapReeferTemperature(reeferData, true, useMetric));\n commit(\"setGenSetExport\", reeferData?.genSetExport);\n commit(\"setGenSetImport\", reeferData?.genSetImport);\n commit(\"setNoOfCargoProbes\", reeferData?.noOfCargoProbes);\n commit(\"setFreshAirExchange\", reeferData?.freshAirExchange);\n commit(\"setHumidity\", String(reeferData?.humidity)?.toUpperCase());\n commit(\"setHumidityPercentage\", reeferData?.humidityPercentage);\n commit(\"setDrainHoles\", reeferData?.drainHoles);\n commit(\"setVentilationVolume\", mapReeferVentilationVolume(reeferData, true, useMetric));\n commit(\"setMultipleSetPoints\", reeferData?.multipleSetPoints);\n if (getters.getMultipleSetPoints) {\n const mappedMultiSetpoints = mapMultipleSetPointDetails(reeferData?.multipleSetPointDetails, useMetric);\n const updatedMultiSetpointDetails = deepClone(updateReeferMultipleSetpointDetails(mappedMultiSetpoints));\n commit(\"setMultipleSetPointDetails\", updatedMultiSetpointDetails);\n }\n if (getters.getControlledAtmosphere) {\n commit(\"setOxygenPercentage\", reeferData?.oxygenPercentage);\n commit(\"setCarbonDioxidePercentage\", reeferData?.carbonDioxidePercentage);\n commit(\"setEthyleneFilter\", reeferData?.ethyleneFilter);\n }\n }\n }\n};\n","import { constants } from \"@/lib/CONSTANTS\";\n\n/**\n * This function used to populate amend booking details for /od3cpDataSetsPayload Payload getter\n * @param {*} getters Store getters\n */\n\nimport { mapPartiesForDataset } from \"@/common/utils/mappers/od3cp/mappersUtilities\";\n\nexport const getAmendBookingDetails = (getters, rootGetters, payload) => {\n if (!getters.isAmendBooking) return {};\n const modifiedPayload = JSON.parse(JSON.stringify(payload));\n modifiedPayload.od3cChanged = !!getters.isOd3cChanged;\n modifiedPayload.shipmentRoute = getters.getOriginalShipmentRoute; //From Original Model\n modifiedPayload.haulageDetails = getters.getBookingData?.haulageDetails; //From Original Model\n if (getters.getBookingDataSource !== constants.bookingDataSource.bookingRequest) {\n modifiedPayload.lastUpdated = getters.getBookingData?.lastUpdated; //From Original Model\n }\n modifiedPayload.containerPickupStatus = getters.getAmendContainerStatus.containerPickupStatus;\n modifiedPayload.containerGateInStatus = getters.getAmendContainerStatus.containerGateInStatus;\n\n //In the forward journey, we pick up the data from the dataSets GET response. In the back&forth we use the\n //data from the amend model.\n if (rootGetters[\"additionalDetails/getReferences\"]?.length > 0) {\n modifiedPayload.additionalReferences =\n rootGetters[\"additionalDetails/getReferences\"].map(ref => {\n return {\n additionalReferenceName: ref.name,\n additionalReferenceValue: ref.value\n };\n }) || false; //From Amend Model\n } else {\n modifiedPayload.additionalReferences = getters.getAdditionalReferencesForDatasetPayload; //From Original Model\n }\n // for only amend journey, remove user registered bookedBy data and\n // send the bookedBy data received from getDataSet call for amens\n const doesDatasetHaveBookedByData =\n getters.getBookingData?.parties?.findIndex(partyItem => partyItem.roleCode.toString() === \"1\") > -1;\n if (doesDatasetHaveBookedByData) {\n modifiedPayload.parties = modifiedPayload.parties.filter(partyItem => partyItem.roleCode.toString() !== \"1\");\n }\n return { ...modifiedPayload, additionalPayload: getters.generateAdditionalPayload };\n};\n\n/**\n * This function used to populate amend and duplicate booking details for /od3cpDataSetsPayload Payload getter\n * @param {*} getters Store getters\n */\nexport const getAmendAndDuplicateBookingDetails = (getters, rootGetters, rootState, payload) => {\n if (!getters.isDuplicateBooking && !getters.isAmendBooking) return {};\n const modifiedPayload = JSON.parse(JSON.stringify(payload));\n // In the forward journey for duplicate & amendments, we need to pass the parties from the dataSet GET\n // request in the dataSet POST payload. In case of back&forth, defaultParties(defaultPartyCodes) will\n // be emptied as they will be verified and populated in the parties object which is handled in the previous block.\n\n const manualPartiesCodes = rootGetters[\"parties/getManualParties\"]?.map(p => p.role.code);\n const defaultParties = rootState?.parties?.defaultPartyCodes;\n let defaultPartyData = getters.getBookingData?.parties;\n\n // Add originalShipmentNumber for both amend and duplicate booking.\n modifiedPayload.originalShipmentNumber = getters.duplicateOrAmendBookingData.originalShipmentNumber;\n // Add additionalPayload for duplicate for booking request, we need to send originalCorrelationId\n if (getters.getBookingDataSource === constants.bookingDataSource.bookingRequest) {\n getAdditionalPayloadForAmendAndDuplicate(getters, modifiedPayload);\n }\n // Add bookingSourceSystem for both amend and duplicate booking.\n if (!!getters.bookingSourceSystem) {\n modifiedPayload.bookingSourceSystem = getters.bookingSourceSystem;\n }\n // Remove NAC data from dataset and add whatever user chooses for Amend and duplicate scenario\n // If No Nac is chosen don't add it in the modifiedPayload\n defaultPartyData = defaultPartyData?.filter(defPartyItem => defPartyItem?.roleCode?.toString() !== \"45\");\n if (!(Array.isArray(defaultParties) && defaultParties.length > 0)) return modifiedPayload;\n defaultPartyData?.forEach(party => {\n if (modifiedPayload.parties?.find(item => item?.roleCode?.toString() === party?.roleCode?.toString())) return;\n /**\n * if the party we are going to push is manually added party then we don't want to add since we don't send manual parties to the datasets\n */\n if (manualPartiesCodes.length > 0 && manualPartiesCodes.includes(party?.roleCode)) return;\n\n modifiedPayload.parties.push(mapPartiesForDataset(party, getters.getBookingDataSource));\n });\n return modifiedPayload;\n};\n\n/**\n * @description This function used to add existingBookingCorrelationId in both amend and duplicate\n * Note: currently used in case of booking request\n * @param {Object} getters Store getters\n * @param {Object} modifiedPayload The payload\n */\nfunction getAdditionalPayloadForAmendAndDuplicate(getters, modifiedPayload) {\n if (modifiedPayload[\"additionalPayload\"]) {\n modifiedPayload.additionalPayload = {\n ...modifiedPayload.additionalPayload,\n existingBookingCorrelationId: getters.getOriginalCorrelationIdForAmend\n };\n } else {\n modifiedPayload.additionalPayload = {\n existingBookingCorrelationId: getters.getOriginalCorrelationIdForAmend\n };\n }\n}\n\n/**\n * @description This function used to retain the original parties in the original data\n * @param {Object} getters Store getters\n * @param {Object} rootGetters\n * @param {Array} parties The parties\n * @returns {Array}\n */\nexport const getOriginalDataParties = (getters, rootGetters, parties) => {\n const defaultParties = rootGetters[\"parties/getDefaultPartyCodes\"];\n if (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.bookingInfoFromBookingRequest.name) &&\n rootGetters[\"OD3CP/getBookingDataSource\"] === constants.bookingDataSource.dataset &&\n getters.bookingType === constants.bookingType.new &&\n Array.isArray(defaultParties) &&\n defaultParties.length > 0\n ) {\n const bookingDataPartyRoleCodeMap = {};\n getters.getBookingData?.parties.forEach(party => {\n if (party.roleCode) {\n bookingDataPartyRoleCodeMap[party.roleCode] = party;\n }\n });\n\n const partyRoleCodeMap = {};\n parties.forEach(party => {\n if (party.roleCode) {\n partyRoleCodeMap[party.roleCode] = party;\n }\n });\n Object.keys(bookingDataPartyRoleCodeMap)?.forEach(roleCode => {\n if (!partyRoleCodeMap[roleCode]) {\n parties.push(bookingDataPartyRoleCodeMap[roleCode]);\n }\n });\n }\n return parties;\n};\n","import { getBrandFromHostname, getCustomerCode, getUserCredential } from \"@maersk/shared-js\";\nimport dayjs from \"dayjs\";\nimport { isInternalUser } from \"@/common/utils/auth/authRules\";\nimport { constants, getCurrentEnvironmentVariables } from \"@/lib/CONSTANTS\";\nimport {\n getCargoDetails,\n getContainerDetails,\n getDepartuesValidationFlags,\n getReeferDetails,\n isContainerNor,\n isCurrentCarrierMLL,\n makeODObject,\n makeODObjectForDepartures,\n mapContainerInstanceIds,\n calculateFfe\n} from \"@/lib/od3cp/od3cpUtilities\";\nimport {\n getAmendAndDuplicateBookingDetails,\n getAmendBookingDetails,\n getOriginalDataParties\n} from \"@/lib/od3cp/od3cpPayloads\";\nimport { deepClone } from \"@/common/utils/generic/deepClone\";\nimport Vue from \"vue\";\nimport { PARTY_KEYS_BOOKING_REQUEST, PARTY_KEYS_DATASET } from \"@/common/utils/enums\";\nimport { deepEqual, isDeepEmpty } from \"@/common/utils/generic/objectDeepComparison\";\nimport { cleanup } from \"@/common/utils/http/payloadCleaner\";\nimport { getMappedOogDetailsFromCurrentState } from \"@/common/utils/mappers/od3cp/mappersUtilities\";\nimport { REFERENCE } from \"@/lib/additional-details/facilityUtilities.ts\";\n\n/**\n * @typedef {import(\"@/common/utils/types\").ContainerInstance} ContainerInstance\n **/\n\n/**\n * All the other getters other than specific to location, cargo, container, commodity and amend\n * Note: It will be aligned in such a way that it will hold interface getters and common getters of dataset and br getters\n */\nexport default {\n /**\n * @description Gets booking data (e.g from dataset/booking request)\n * @param {Object} state\n * @param {Object} getters\n * @returns {Object} The booking data\n */\n getBookingData(state, getters) {\n return state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getBookingDataFromBookingRequest\n : getters.getBookingDataFromDataset;\n },\n\n /**\n * @description Gets legacy booking data (e.g from getOd3cp request)\n * @param {Object} state\n * @param {Object} getters\n * @returns {Object} The booking data\n */\n getLegacyBookingData(state, getters) {\n return state.bookingDataSource === constants.bookingDataSource.legacy ? state.bookingDataFromLegacy : null;\n },\n\n /**\n * @description Gets booking ID if one has already been assigned (amendment or duplicate booking)\n * @param {Object} _ state\n * @param {Object} getters\n * @returns {String} The booking ID, null if not found\n */\n getBookingId(_, getters) {\n return getters.duplicateOrAmendBookingData?.originalShipmentNumber ?? null;\n },\n\n /**\n * @description returns the total number of containers(with multiple containers)\n * @param {Object} state\n * @returns {number}\n */\n getNumberOfContainers(state) {\n const reducer = (prevSum, container) => prevSum + container.quantity;\n return state.od3cpFormData.containerSelect.reduce(reducer, 0);\n },\n\n areAllContainersFullyFilled(state) {\n return state.od3cpFormData.containerSelect.every(\n container => container.containerType !== null && !!container.weightPerContainer && !!container.quantity\n );\n },\n /**\n * @description Gets the edd from the data on the od3cp page for use in the app\n * @param {Object} state\n * @returns {Date} The Earliest Departure Date\n */\n getEarliestDepartureDate(state) {\n return state.od3cpFormData.earliestDepartureDate;\n },\n /**\n * @description Gets the edd from the data source for population in the od3cp page\n * @param {Object} state\n * @param {Object} getters\n * @returns {String} The Earliest Departure Date\n */\n getEarliestDepartureDateFromBookingData(state, getters) {\n if (state.bookingDataSource === constants.bookingDataSource.bookingRequest) return getters.getEddFromBrData;\n //If dataset is 404, we fallback to legacy data (getOd3cp)\n return getters.getEarliestDepartureDateFromDataset || getters.getPrePopulatedBookingData?.shipmentDate;\n },\n /**\n * Type of booking flow to use, e.g. SSP, SSIB, hardStop\n *\n * This is the response to the \"what booking flow?\" request.\n * @see constants.hardStopBookingFlow\n * @see constants.ssp\n * @see constants.ssib\n * @param state\n * @returns {null|*}\n */\n getBookingFlowResponse(state) {\n return state.od3cpFormData.bookingFlowResponse;\n },\n bookingType(state) {\n return state.od3cpFormData.bookingType;\n },\n bookingSourceSystem(state) {\n return state.od3cpFormData.bookingSourceSystem;\n },\n duplicateOrAmendBookingData(state) {\n return state.duplicateOrAmendBookingData;\n },\n /**\n * @description Gets the prepopulate booking data from the source (DATASET or BOOKING_REQUEST)\n * @param {Object} state\n * @returns {Object}\n */\n getPrePopulatedBookingData(state) {\n return state.prePopulatedBookingData;\n },\n /**\n * @description Gets the isReefer from prepopulate booking data from the source (DATASET or BOOKING_REQUEST)\n * @param {Object} state\n * @returns {Boolean | undefined}\n */\n isReeferInPopulatedBookingData(state) {\n return state.prePopulatedBookingData?.isReefer;\n },\n isReeferAndNorAmendEnabled(state, getters, rootState, rootGetters) {\n return !!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.reeferAndNorAmend.name);\n },\n isReeferSettingsEnabled(state, getters, rootState, rootGetters) {\n return getters.isAmendBooking\n ? getters.isReeferAndNorAmendEnabled\n : rootGetters[\"boFlags/getFlag\"](constants.featureFlags.reeferSettings.name);\n },\n isReeferSettingsVisible(state, getters) {\n return getters.isAmendBooking\n ? getters.isReeferSettingsNecessary && getters.isReeferSettingsEnabled\n : getters.isReeferSettingsNecessary;\n },\n /**\n * @description Gets the isDangerous prepopulate booking data from the source (DATASET or BOOKING_REQUEST)\n * @param {Object} state\n * @returns {Boolean | undefined}\n */\n isDangerousInPopulatedBookingData(state) {\n return state.prePopulatedBookingData?.isDangerous;\n },\n /**\n * Creates the payload for the OD3CP initialisation and data setting functions\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {Object}\n */\n od3cpServicePayload(state, getters, rootState, rootGetters) {\n /**\n * Makes the OD Object for this response\n * @param {string} ood Origin or Destination\n * @param {*} location Location object\n */\n const lsm = getters.getLocationServiceMode;\n const altPickup = getters.getAlternatePickupLocation;\n const priceOwner = rootGetters[\"priceOwnerData/getPriceOwnerData\"];\n\n // booked by contact for both internal and external users\n const bookedByContact = rootGetters[\"bookedByContact/getBookedByContact\"];\n let bookedByContactName = bookedByContact?.name;\n let bookedByContactScvId = bookedByContact?.contactCodes?.contactScvCode;\n let bookedByContactEmail = bookedByContact?.emailAddress;\n if (!isInternalUser()) {\n bookedByContactName = `${getUserCredential(\"firstname\")} ${getUserCredential(\"lastname\")}`;\n bookedByContactScvId = getUserCredential(\"personid\");\n bookedByContactEmail = getUserCredential(\"email\");\n }\n\n const ismilitaryBooking = rootGetters[\"userSettings/isMilitaryUser\"];\n\n return {\n ...makeODObject(\"origin\", lsm.origin),\n ...makeODObject(\"destination\", lsm.destination),\n ...makeODObject(\"alternatePickup\", altPickup, false),\n shipmentRoute: \"ED\", // This is Earliest Departure. Sets when the search should be from\n shipmentDate: dayjs(getters.getEarliestDepartureDate).format(\"YYYY-MM-DD\"),\n priceOwnerCode: priceOwner?.customerCodes?.customerCode,\n priceOwnerScvCode: priceOwner?.customerCodes?.scvCode,\n priceOwnerReference: rootGetters[\"priceOwnerData/getCustomerReference\"],\n priceOwnerName: priceOwner?.tradingName,\n isDangerous: getters.isDangerous,\n isReefer: !!(getters.isReefer && getters.getCommodity?.temperatureControl?.checked),\n ismilitaryBooking,\n bookedByContactName,\n bookedByContactScvId,\n bookedByContactEmail,\n bookedByAddress: priceOwner?.customerAddressDetails,\n businessUnit: rootGetters[\"offices/getBusinessUnit\"],\n parties: mapParties(),\n originalBookingNumber: getters.isDuplicateBooking\n ? getters.duplicateOrAmendBookingData.originalShipmentNumber\n : \"\",\n nacIndicator: rootGetters[\"nacAndAllocations/getNacIndicator\"],\n nacName: rootGetters[\"nacAndAllocations/getSelectedNac\"]?.tradingName || \"\",\n nacScvCode: rootGetters[\"nacAndAllocations/getSelectedNac\"]?.customerCodes?.scvCode || \"\",\n contractIndicator: constants.contractIndicators.noContractNumber,\n contractNumber: null,\n status: \"\", // No idea\n errorCode: \"\", // Hopefully empty\n lastUpdatedBy: \"\", // Why do we need to send these?\n isMobileAccess: false, // This is from web, not native\n countryCode: lsm.origin.location.countryCode, // Origin Country code\n operatorCode: getBrandFromHostname(window.location).brandCode,\n listServiceContract: false, // Not sure\n cargo: getters.cargoDetails\n };\n\n function mapParties() {\n const defaultParties = rootState?.parties?.defaultPartyCodes;\n //Default parties only exists in the Duplicate booking forward journey. In the back & forth from additional details,\n //the parties are verified and defaultPartyCodes is emptied in which case the party data is mapped from\n //parties/getParties. In the case of a new booking journey, default parties wont exist so the data is always mapped\n //from parties/getParties. In the amend journey, this call is not triggered.\n if (Array.isArray(defaultParties) && defaultParties.length > 0) {\n // Map all parties from getOd3cp call\n return getters.getPrePopulatedBookingData?.parties || [];\n }\n\n // Map all parties selected on the additional details page\n const mappedParties = (rootGetters[\"parties/getParties\"] || [])\n .filter(party => party.selected)\n .map(party => mapPartyData(party));\n\n function mapPartyData(party) {\n return {\n reference: party.selected.reference,\n scvCode: party.selected.customerCodes?.scvCode,\n role: {\n code: party.role.code,\n type: party.role.name\n },\n status: {\n status: party.selected.customerStatusCode\n },\n accessType: party.selected.customerTypes,\n customerTypes: {\n code: party.selected.customerTypes\n },\n customerTradingName: party.selected.tradingName,\n customerGroupType: party.selected.customerGroupType,\n customerCode: party.selected.customerCodes?.customerCode,\n countryCode: party.selected.customerAddressDetails?.countryIdentifier.isoCountryCode,\n countryName: party.selected.customerAddressDetails?.countryIdentifier.isoCountryFullName,\n address: {\n houseNo: party.selected.customerAddressDetails?.houseNo,\n streetName: party.selected.customerAddressDetails?.streetName,\n city: party.selected.customerAddressDetails?.city,\n building: party.selected.customerAddressDetails?.buildingNo,\n poBox: party.selected.customerAddressDetails?.mailBox,\n postalCode: party.selected.customerAddressDetails?.postalCode,\n country: {\n iso2Code: party.selected.customerAddressDetails?.countryIdentifier.isoCountryCode,\n name: party.selected.customerAddressDetails?.countryIdentifier.isoCountryFullName\n }\n }\n };\n }\n\n return mappedParties;\n }\n },\n /**\n * Creates the common data to be used in dataset POST and amend journey\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {Object}\n */\n getCommonDataForDataset(state, getters, rootState, rootGetters) {\n const lsm = getters.getLocationServiceMode;\n const altPickup = getters.getAlternatePickupLocation?.location;\n const instanceIdAndQuantityMapper = deepClone(getters.getContainerInstanceIdsAndQuantityMapper);\n\n return {\n alternatePickupLocation: mapLocation(altPickup),\n destinationLocation: mapLocation(lsm.destination?.location),\n originLocation: mapLocation(lsm.origin?.location),\n exportServiceMode: lsm.origin?.serviceMode,\n importServiceMode: lsm.destination?.serviceMode,\n cargoDetails: mapCargoDetails(),\n parties: mapParties(),\n contractDetails: getters.getContractDetailsForDatasetPayload, // valid contract details will be passed on only in case of Amend booking\n reeferDetails: rootGetters[\"reeferSettingsData/getReeferDetails\"],\n oogDetails: getMappedOogDetailsFromCurrentState(rootGetters)\n };\n\n function mapLocation(location) {\n return location\n ? {\n cityRkstCode: location.maerskRkstCode,\n cityGeoId: location.maerskGeoLocationId,\n cityName: location.cityName,\n countryCode: location.countryCode,\n countryGeoId: location.countryGeoId,\n countryName: location.countryName\n }\n : undefined;\n }\n\n function mapCargoDetails() {\n return [\n {\n commodityCode: state.od3cpFormData.commoditySelected?.commodity?.commodityCode,\n commodityName: state.od3cpFormData.commoditySelected?.commodity?.commodityName,\n containers: mapContainers()\n }\n ];\n }\n\n function mapContainers() {\n return (getters.getContainerSelect || []).map((container, index) => {\n return {\n cargoId: state.od3cpFormData.commoditySelected.cargoId || new Date().getTime(),\n id: container.equipmentId || new Date().getTime(),\n displayName: container.containerType?.sizeTypeDisplayName,\n isoCode: container.containerType?.isoContainerSizeTypeCd,\n quantity: container.quantity,\n cargoWeights: [\n {\n cargoWeight: container.weightPerContainer,\n weightMeasurementUnit: rootGetters[\"userSettings/unitPreference\"]\n }\n ],\n isShipperOwned: container.shipperOwnContainer?.checked || !container.containerType?.carrierOwnedFlag || false,\n isOutOfGauge: Boolean(container.overSizedCargo?.checked),\n isNOR: isContainerNor(container.containerType?.typeCd, rootGetters),\n isImportReturned: container.importReturnContainer?.checked || false,\n isFoodGrade: false,\n shipmentEquipmentAssignmentIds: container.shipmentEquipmentAssignmentIds || [],\n sspId: mapSspId(index),\n ...(rootGetters[\"boFlags/getFlag\"](constants.featureFlags.bookingInfoFromBookingRequest.name) && {\n sspReferenceId: mapContainerInstanceIds(instanceIdAndQuantityMapper, container)\n })\n };\n });\n }\n function mapSspId(containerIndex) {\n // map sspId collection(received from getDataSet call) back to the containers list\n return state.containerSspIdCollection &&\n state.containerSspIdCollection.length > 0 &&\n state.containerSspIdCollection[containerIndex]\n ? state.containerSspIdCollection[containerIndex]\n : [];\n }\n function mapParties() {\n let parties = [];\n\n // Price owner\n const priceOwnerData = rootGetters[\"priceOwnerData/getPriceOwnerData\"];\n const priceOwnerRef = rootGetters[\"priceOwnerData/getCustomerReference\"];\n parties.push(mapParty({ ...priceOwnerData, reference: priceOwnerRef }, \"Price Owner\"));\n\n // NAC\n const nac = rootGetters[\"nacAndAllocations/getSelectedNac\"];\n // prevent the \"Don't use a NAC\" option\n if (nac && nac.tradingName !== Vue.prototype.$t(\"od3cp.component.nacModal.noNacName\")) {\n parties.push(mapParty(nac, \"Named Account Customer\"));\n }\n\n // Additional details page - map only the selected parties (not the manually added ones)\n // including the Booked By\n (rootGetters[\"parties/getParties\"] || []).forEach(party => {\n if (party.selected) {\n parties.push(mapParty(party.selected, party.role.name));\n }\n });\n\n parties = getOriginalDataParties(getters, rootGetters, parties ?? []);\n\n return parties.filter(p => p); // there may be null values\n\n /* Helper function below */\n function mapParty(data, roleName) {\n if (!data || Object.keys(data).length === 0) return null;\n\n return {\n scvCode: data.customerCodes?.scvCode,\n cmdCode: data.customerCodes?.customerCode,\n customerTradingName: data.tradingName,\n roleCode: constants.userRolesByName[roleName].toString(),\n reference: data.reference,\n cmdAddress: data.customerAddressDetails\n ? {\n city: data.customerAddressDetails.city,\n countryIdentifier: {\n isoCountryFullName: data.customerAddressDetails.countryIdentifier.isoCountryFullName,\n isoCountryCode: data.customerAddressDetails.countryIdentifier.isoCountryCode\n },\n streetName: data.customerAddressDetails.streetName,\n houseNo: data.customerAddressDetails.houseNo,\n buildingNo: data.customerAddressDetails.buildingNo,\n mailBox: data.customerAddressDetails.mailBox,\n postalCode: data.customerAddressDetails.postalCode,\n suburb: data.customerAddressDetails.suburb, // TODO: guessing the property name\n district: data.customerAddressDetails.district, // TODO: guessing the property name\n region: data.customerAddressDetails.region // TODO: guessing the property name\n }\n : undefined,\n sspAddress: mapSspAddress(data)\n };\n }\n }\n\n function mapSspAddress(data) {\n const party = getters.getBookingData?.parties?.find(\n amendParty => amendParty[getters.getPartyCodeKeyForBookingData] === data.customerCodes?.scvCode\n );\n if (party) {\n return party.sspAddress || party.companyAddress || undefined;\n }\n }\n },\n /**\n *@description Gets container details object\n * @param {Object} state\n * @param {Object} getters\n * @returns {Object}\n */\n getContainerDetailsFromBookingData(state, getters) {\n return getters.getBookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getBookingDataFromBookingRequest?.equipmentAndHaulage?.containerDetails\n : getters.getBookingDataFromDataset?.cargoDetails?.[0]?.containers;\n },\n /**\n *@description Gets container instance ids and quantity from booking request/datasets for the datasets post payload\n * @param {Object} state\n * @param {Object} getters\n * @returns {Object}\n */\n getContainerInstanceIdsAndQuantityMapper(state, getters) {\n let mappedContainers = [];\n\n //Get the container data required for mapping from the original & amend booking.\n const originalContainerDetails = (getters?.getContainerDetailsFromBookingData || []).map(container => {\n return {\n isoCode: container?.isoCode,\n quantity: container?.quantity,\n codeQty: `${container?.isoCode}-${container?.quantity}`,\n containerInstanceIds: container?.containerInstanceIds,\n sspReferenceId: container?.sspReferenceId\n };\n });\n const amendContainerDetails = (getters?.getContainerSelect || []).map(container => {\n return {\n isoCode: container?.containerType?.isoContainerSizeTypeCd,\n quantity: container?.quantity,\n codeQty: `${container?.containerType?.isoContainerSizeTypeCd}-${container?.quantity}`\n };\n });\n\n // First we find containers that are exact matches(codeQty) and push their values into the mappedContainers array.\n // Then delete them from both source arrays.\n amendContainerDetails.forEach((item, index) => {\n let originalContainerIndex = originalContainerDetails.findIndex(\n container => container?.codeQty === item?.codeQty\n );\n if (originalContainerIndex > -1) {\n processResult(item, originalContainerIndex, index);\n }\n });\n\n // We have removed containers that are an exact match. Next we find containers that match in type(isoCode).\n // We assign the values then delete them from both source arrays.\n amendContainerDetails.forEach((item, index) => {\n let originalContainerIndex = originalContainerDetails.findIndex(\n container => container?.isoCode === item?.isoCode\n );\n if (originalContainerIndex > -1) {\n processResult(item, originalContainerIndex, index);\n }\n });\n\n // The remaining containers have no match(type & quantity or just type), so we map as per the index.\n amendContainerDetails.forEach((item, index) => {\n const data = {\n isoCode: item?.isoCode,\n quantity: item?.quantity,\n containerInstanceIds: originalContainerDetails?.[index]?.containerInstanceIds,\n sspReferenceId: originalContainerDetails?.[index]?.sspReferenceId\n };\n mappedContainers.push(data);\n });\n\n //Internal function to push processed data into the mappedContainers array and delete values in source arrays.\n function processResult(item, originalContainerIndex, index) {\n const data = {\n isoCode: item?.isoCode,\n quantity: item?.quantity,\n containerInstanceIds: originalContainerDetails?.[originalContainerIndex]?.containerInstanceIds,\n sspReferenceId: originalContainerDetails?.[originalContainerIndex]?.sspReferenceId\n };\n mappedContainers.push(data);\n delete originalContainerDetails[originalContainerIndex];\n delete amendContainerDetails[index];\n }\n\n return mappedContainers;\n },\n\n /**\n * Creates he payload for the POST DataSets API\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {Object}\n */\n od3cpDataSetsPayload(state, getters, rootState, rootGetters) {\n let payload = {\n bookingType: getters.bookingType,\n businessUnitCode: rootGetters[\"offices/getBusinessUnit\"],\n departureDate: dayjs(getters.getEarliestDepartureDate).format(\"YYYY-MM-DD\"),\n isDangerous: getters.isDangerous,\n isMilitary: rootGetters[\"userSettings/isMilitaryUser\"],\n isReefer: !!(getters.isReefer && getters.getCommodity?.temperatureControl?.checked),\n lastUpdated: dayjs().toDate(),\n nacIndicator: rootGetters[\"nacAndAllocations/getNacIndicator\"],\n ...getters.getCommonDataForDataset,\n ...(rootGetters[\"boFlags/getFlag\"](constants.featureFlags.bookingInfoFromBookingRequest.name) && {\n reloadRequired: getters.isSspReloadRequired\n })\n };\n\n const bookedByContact = rootGetters[\"bookedByContact/bookedByContact\"];\n payload.bookedByContactScvCode = bookedByContact?.scvCode;\n payload.bookedByContactName = bookedByContact?.name;\n\n //Below data is passed in case of an amendment journey\n payload = { ...payload, ...getAmendBookingDetails(getters, rootGetters, payload) };\n // for duplicate && amend journey\n payload = { ...payload, ...getAmendAndDuplicateBookingDetails(getters, rootGetters, rootState, payload) };\n return payload;\n },\n\n /**\n * Creates the payload for the /departures service\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {Object}\n */\n departuresServicePayload(state, getters, rootState, rootGetters) {\n const lsm = getters.getLocationServiceMode;\n const altPickup = getters.getAlternatePickupLocation;\n const shouldTurnOffProductsFetch = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.turnOffEagerFetch.name);\n const isNorEnabled = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.norBookingFlow.name);\n const loadPort = rootGetters[\"loadAndDischargePorts/getQueriedLoadPort\"];\n const dischargePort = rootGetters[\"loadAndDischargePorts/getQueriedDischargePort\"];\n let payload = {\n bookingType: getters.bookingType,\n ...makeODObjectForDepartures(\"originLocation\", lsm?.origin),\n ...makeODObjectForDepartures(\"destinationLocation\", lsm?.destination),\n ...makeODObjectForDepartures(\"alternatePickupLocation\", altPickup),\n ...(loadPort && { loadPortLocation: { geoId: loadPort } }),\n ...(dischargePort && { dischargePortLocation: { geoId: dischargePort } }),\n ...(isNorEnabled && { isNorRecommendation: rootGetters[\"pricingJourney/isNorRecommendation\"] }),\n batchSizeInWeeks: 2,\n productsFetchSizeInWeeks: 2,\n validationFlags: getDepartuesValidationFlags(getters, rootGetters),\n carrierCode: getBrandFromHostname(window.location).brandCode.toUpperCase(),\n exportServiceMode: lsm?.origin?.serviceMode,\n importServiceMode: lsm?.destination?.serviceMode,\n cargoDetails: getCargoDetails(getters, rootGetters),\n containerDetails: getContainerDetails(state, rootGetters),\n reeferDetails: getters.isReeferSettingsNecessary ? getReeferDetails(rootGetters) : null,\n metricUnits: rootGetters[\"userSettings/useMetric\"],\n isContainerPickedUp: getters.isAmendBooking ? getters.getAmendContainerStatus?.containerPickupStatus : false,\n isContainerGatedIn: getters.isAmendBooking ? getters.getAmendContainerStatus?.containerGateInStatus : false,\n earliestDepartureDate: dayjs(getters.getEarliestDepartureDate).format(\"YYYY-MM-DD\"),\n priceCalculationDate: dayjs(getters.getEarliestDepartureDate).format(\"YYYY-MM-DD\"), //Same as earliestDepartureData as per PO since it is mandatory\n parties: rootGetters[\"parties/createParties\"],\n buCode: rootGetters[\"offices/getBusinessUnit\"], // GCSS Business Unit Code\n productsEagerFetch: !shouldTurnOffProductsFetch, //As per PO and this flag will always applicable to lower env, in prod it will always be false, this is to help in testing\n //latestDepartureDate: \"\", //This need not be filled as of now.\n //batchStartFrom: \"\" //This need not be filled as of now.\n previousCorrelationId: rootGetters[\"commonData/getPreviousCorrelationId\"]\n };\n if (getters.isDuplicateBooking || getters.isAmendBooking) {\n payload.originalShipmentNumber = getters.duplicateOrAmendBookingData.originalShipmentNumber;\n }\n if (getters.isAmendBooking) {\n const departureDetails = getters.getDepartureDetailsFromBookingData;\n payload.originalEarliestDepartureDate = departureDetails\n ? dayjs(departureDetails.originDepartureDatetimeUTC).toISOString()\n : null;\n\n payload.originalCorrelationId = getters.getOriginalCorrelationIdForAmend;\n payload.originalRouteSchedule = getters.getOriginalRouteScheduleForAmend;\n }\n payload = { ...payload, ...rootGetters[\"inlandRecommendation/getSelectedRecommendationIdForPayload\"] };\n\n return payload;\n },\n\n /**\n * Checks if booking type is \"DUPLICATE\"\n * @param state\n * @return {boolean}\n */\n isDuplicateBooking(state) {\n return state.od3cpFormData.bookingType === constants.bookingType.duplicate;\n },\n\n /**\n * Checks if booking type is \"NEW\"\n * @param state\n * @return {boolean}\n */\n isNewBooking(state) {\n return state.od3cpFormData.bookingType === constants.bookingType.new;\n },\n\n /**\n * Gets isOfflineMode\n * @param state\n * @return {boolean}\n */\n isInOfflineMode(state) {\n return state.isInOfflineMode;\n },\n /**\n * Gets isServiceModeCFS\n * @param state\n * @return {boolean}\n */\n isServiceModeCFS(state) {\n return state.isServiceModeCFS;\n },\n\n /**\n * Creates Booking Details payload in offline mode for offline submission\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {any}\n */\n getBookingDetailsPayloadInOfflineMode(state, getters, rootState, rootGetters) {\n const locationServiceMode = getters.getLocationServiceMode;\n const alternatePickupLocation = getters.getAlternatePickupLocation;\n let payload = {\n carrierCode: getBrandFromHostname(window.location).brandCode.toUpperCase(),\n buCode: rootGetters[\"offices/getBusinessUnit\"],\n parties: rootGetters[\"parties/createParties\"],\n importServiceMode: locationServiceMode.destination.serviceMode,\n exportServiceMode: locationServiceMode.origin.serviceMode,\n earliestDepartureDate: dayjs(getters.getEarliestDepartureDate).format(\"YYYY-MM-DD\"),\n cargoDetails: getCargoDetails(getters, rootGetters),\n containerDetails: getContainerDetails(state, rootGetters),\n ...makeODObjectForDepartures(\"alternatePickupLocation\", alternatePickupLocation),\n ...(getters.isReeferSettingsNecessary && { reeferDetails: getReeferDetails(rootGetters) }),\n metricUnits: rootGetters[\"userSettings/useMetric\"]\n };\n if (getters.isDuplicateBooking) {\n payload.originalShipmentNumber = getters.duplicateOrAmendBookingData.originalShipmentNumber;\n }\n\n return payload;\n },\n\n /**\n * Gets booking data source: \"LEGACY\" or \"DATASET\".\n * Check CONSTANTS.bookingDataSource\n * @param {object} state\n * @return {null|String}\n */\n getBookingDataSource(state) {\n return state.bookingDataSource;\n },\n /**\n * @description Gets SSP url for redirection\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {String}\n */\n getSspUrl(state, getters, rootState, rootGetters) {\n let sspUrl;\n let correlationId;\n const isBookingInfoFromBookingRequest = rootGetters[\"boFlags/getFlag\"](\n constants.featureFlags.bookingInfoFromBookingRequest.name\n );\n const sspUrlForNewAndDuplicate = isBookingInfoFromBookingRequest\n ? constants.SSP_BOOKING_AFTER_BR\n : constants.SSP_BOOKING;\n const sspPath = getters.isAmendBooking ? constants.SSP_AMEND_BOOKING : sspUrlForNewAndDuplicate;\n const isDuplicateOrAmendBooking = [constants.bookingType.amend, constants.bookingType.duplicate].includes(\n rootGetters[\"OD3CP/bookingType\"]\n );\n\n if (isBookingInfoFromBookingRequest) {\n sspUrl = `${getCurrentEnvironmentVariables().webDomain}${sspPath}?correlationId=${\n rootGetters[\"commonData/getDataSetsCorrelationId\"]\n }&bookingType=${rootGetters[\"OD3CP/bookingType\"]?.toLowerCase()}&reloadRequired=${getters.isSspReloadRequired}`;\n //If its a duplicate/amend booking pass the booking number too\n if (isDuplicateOrAmendBooking) {\n sspUrl = sspUrl + `&bookingNumber=${rootGetters[\"OD3CP/duplicateOrAmendBookingData\"]?.originalShipmentNumber}`;\n }\n return sspUrl;\n }\n //TODO: Remove below once retrieval endpoint is live in prod\n correlationId = getters.isAmendBooking\n ? rootGetters[\"commonData/getDataSetsCorrelationId\"]\n : rootGetters[\"commonData/getCorrelationId\"];\n\n sspUrl = `${getCurrentEnvironmentVariables().webDomain}${sspPath}${correlationId}`;\n if (getters.isAmendBooking) {\n sspUrl = `${getCurrentEnvironmentVariables().webDomain}${sspPath}?correlationId=${correlationId}`;\n }\n return sspUrl;\n },\n /**\n * @description Gets Booking Flow Error state\n * @param {Object} state\n * @return {Boolean}\n */\n getBookingFlowError(state) {\n return Boolean(state.bookingFlowError);\n },\n /**\n * @description Gets whether ssp data reload from GCSS is required.\n * @param {Object} state\n * @param {Object} getters\n * @return {Boolean}\n */\n isSspReloadRequired(state, getters) {\n return getters.bookingType === constants.bookingType.new\n ? !getters.getBookingDataSource\n : getters.getBookingDataSource === constants.bookingDataSource.bookingRequest;\n },\n /**\n * @description Check if OOG feature is enabled and \"This cargo is oversized\" checkbox is checked for any ODD sized container\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n isOOGEnabledAndCargoOverSizeChecked(state, getters, rootState, rootGetters) {\n return (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.oog.name) && getters.anyODDSizedContainerWithOOGChecked\n );\n },\n /**\n * @description Check if multicontainer flag is ON and more than one container type is selected\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n isMultiContainerAndFlagEnabled(state, getters, rootState, rootGetters) {\n return getters.isMultiContainerEnabled && getters.isMultipleContainer;\n },\n\n /**\n * @description Check if SOC feature is enabled and any SOC or IRT container is selected\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n isSocOrIrtSelected(state, getters, rootState, rootGetters) {\n return !!(\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.soc.name) &&\n (getters.isAnyShipperOwned || getters.isAnyImportReturned)\n );\n },\n\n /**\n * @description Gets bokingFlow api payload for business rules\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {object} headers payload\n */\n getBusinessRuleBookingFlowPayload(state, getters, rootState, rootGetters) {\n const payload = {\n bookingType: getters.bookingType,\n commodityCode: getters.getCommodity.commodity?.commodityCode,\n bookedByCustomerCode: rootGetters[\"parties/getBookedByParty\"]?.selected?.customerCodes.scvCode,\n priceOwnerCode: rootGetters[\"priceOwnerData/getPriceOwnerData\"]?.customerCodes?.customerCode,\n originServiceMode: getters.getLocationServiceMode.origin?.serviceMode,\n isDangerousCargo: getters.getCommodity.dangerousCargo?.checked,\n isMultipleContainer: getters.getContainerSelect?.length > 1,\n originCountryCode: getters.getLocationServiceMode.origin?.location.countryCode,\n containerDetails: getters.containerDetails\n };\n // If user has cold chain logistic contract checked, add them in payload so that it can be redirected to SSP\n if (rootState?.reeferSettingsData?.isCCL) {\n payload.isCCL = true;\n }\n return payload;\n },\n\n /**\n * @description Gets bokingFlow api payload for ODM\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {object} headers payload\n */\n getODMBookingFlowPayload(state, getters, rootState, rootGetters) {\n let odmPayload = {\n __DecisionID__: rootGetters[\"commonData/getCorrelationId\"],\n request: {\n bookingType: getters.bookingType,\n customer: {\n bookedByCustomerCode: rootGetters[\"parties/getBookedByParty\"]?.selected?.customerCodes.customerCode,\n priceOwnerCode: rootGetters[\"priceOwnerData/getPriceOwnerData\"]?.customerCodes?.customerCode\n },\n commodityCode: {\n commodityClassificationCd: getters.getCommodity.commodity?.commodityCode\n },\n originServiceMode: {\n receiptDeliveryCode: getters.getLocationServiceMode.origin?.serviceMode,\n receiptDeliveryName: null\n },\n reeferFlag: false,\n dangerousCargoFlag: getters.getCommodity.dangerousCargo?.checked || false,\n exportCountry: getters.getLocationServiceMode.origin?.location.countryCode,\n multipleContainerFlag: getters.getContainerSelect?.length > 1,\n containers: { containerList: getters.containerDetails },\n deliveryAgreementType: \"\"\n }\n };\n if (\n !!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.bookingInfoFromBookingRequest.name) &&\n !!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.deliveryAgreementTypeODMBookingFlow.name) &&\n getters.isAmendBooking\n ) {\n odmPayload.request.deliveryAgreementType =\n rootGetters[\"OD3CP/getBookingDataFromBookingRequest\"]?.references?.deliveryAgreementType || \"\";\n }\n return odmPayload;\n },\n /**\n * @description Gets contact details for dataset payload\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Array}\n */\n getContractDetailsForDatasetPayload(state, getters, rootState, rootGetters) {\n const contractList =\n state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getContractDetailsFromBookingRequest\n : getters.getPricingContractDetailsFromDataset;\n const contractData = contractList?.length > 0 ? contractList : [];\n const noContractDetails = [{ contractNumber: null, contractIndicator: constants.contractIndicators.noContract }];\n let contractDetail = noContractDetails;\n if (getters.isAmendBooking) {\n contractDetail = contractData?.length > 0 ? contractData : noContractDetails;\n }\n return contractDetail;\n },\n /**\n * @description Gets the UCR in additional references in original data from dataset or booking request endpoint\n * @param {Object} state\n * @param {Object} getters\n * @return {Object}\n */\n getUCRFromBookingData(state, getters) {\n return state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getReferenceFromBookingRequest(REFERENCE.UCR)\n : getters.getUCRFromDataSet;\n },\n /**\n * @description Gets the Dubai Trade Code in additional references in original data from booking request endpoint\n * @param {Object} state\n * @param {Object} getters\n * @return {Object}\n */\n getDubaiTradeCodeFromBookingData(state, getters) {\n return getters.getReferenceFromBookingRequest(REFERENCE.DUBAI_TRADE_CODE);\n },\n /**\n * @description Gets the Customer HS Code in additional references in original data from booking request endpoint\n * @param {Object} state\n * @param {Object} getters\n * @return {Object}\n */\n getCustomerHsCodeFromBookingData(state, getters) {\n return getters.getReferenceFromBookingRequest(REFERENCE.CUSTOMER_HS_CODE);\n },\n /**\n * @description Gets the booking commodity in additional references in original data from booking request endpoint\n * @param {Object} state\n * @param {Object} getters\n * @return {Object}\n */\n getBookingCommodityFromBookingData(state, getters) {\n return state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getReferenceFromBookingRequest(REFERENCE.BOOKING_COMMODITY)\n : null;\n },\n /**\n * @description Gets the Flex Hub selected data in additional references in original data from dataset or booking request endpoint\n * @param {Object} state\n * @param {Object} getters\n * @return {Object}\n */\n getFlexHubSelectedStateFromBookingData(state, getters) {\n return state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getFlexHubSelectedStateFromBookingRequest\n : getters.getFlexHubSelectedStateFromDataSet;\n },\n /**\n * @description Gets the additional references in original data from dataset or booking request endpoint\n * @param {Object} state\n * @param {Object} getters\n * @return {Object}\n */\n getAdditionalReferencesForDatasetPayload(state, getters) {\n return state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getReferencesFromBookingRequestForDatasetPayload\n : getters.getReferencesFromDataSetForDatasetPayload;\n },\n /**\n * @description Gets the original shipment route from dataset or booking request endpoint\n * @param {Object} state\n * @param {Object} getters\n * @return {Object}\n */\n getOriginalShipmentRoute(state, getters) {\n return state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getShipmentRouteFromBookingRequestForDatasetPayload\n : getters.getBookingData?.shipmentRoute;\n },\n /**\n * @description Check to trigger /booking request after dataset in back and forth\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean}\n */\n shouldTriggerBookingRequestAfterDataset(state, getters, rootState, rootGetters) {\n const isBookingRequestEnabled = rootGetters[\"boFlags/getFlag\"](\n constants.featureFlags.bookingInfoFromBookingRequest.name\n );\n const datasetData = getters.getBookingDataFromDataset;\n return !!(\n isBookingRequestEnabled &&\n datasetData?.originalShipmentNumber &&\n datasetData?.additionalPayload?.existingBookingCorrelationId\n );\n },\n /**\n * @description Check to throw error after dataset in back and forth if existing booking cid is missing\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean}\n */\n isCidMissingInDataset(state, getters, rootState, rootGetters) {\n const isBookingRequestEnabled = rootGetters[\"boFlags/getFlag\"](\n constants.featureFlags.bookingInfoFromBookingRequest.name\n );\n const datasetData = getters.getBookingDataFromDataset;\n return !!(\n isBookingRequestEnabled &&\n datasetData?.originalShipmentNumber &&\n !datasetData?.additionalPayload?.existingBookingCorrelationId &&\n getters.isAmendBooking\n );\n },\n /**\n * @description Gets the booking request error for back and forth from SSP\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n isBookingRequestErrorForBackAndForth(state, getters, rootState, rootGetters) {\n return rootGetters[\"error/hasErrorsForSource\"](constants.errorSource.bookingRequestInBackAndForth, true);\n },\n /**\n * @description To check if VAS needs to be hidden, be it VAS section on additional details page\n * or for VAS on a separate page. For MLL cargo insurance will not be available\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n shouldHideVas(state, getters, rootState, rootGetters) {\n if (isCurrentCarrierMLL(constants.localBrandOverride)) return getters.shouldSkipVas;\n return getters.isCargoInsuranceAvailable && getters.isCargoInsuranceMandatory && getters.shouldSkipVas;\n },\n /**\n * @description To check if VAS page needs to be skipped.\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n shouldSkipVas(state, getters, rootState, rootGetters) {\n return (\n getters.isOOGEnabledAndCargoOverSizeChecked ||\n getters.isMultiContainerAndFlagEnabled ||\n getters.isMilitaryUserWithCarrierMll\n );\n },\n /**\n * @description To check brandCode Mll and military user\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n isMilitaryUserWithCarrierMll(state, getters, rootState, rootGetters) {\n return !!(rootGetters[\"userSettings/isMilitaryUser\"] && isCurrentCarrierMLL());\n },\n /**\n * @description To check if logged in use is same as original booked by\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n isLoggedInUserSameAsOriginalBookedBy(state, getters, rootState, rootGetters) {\n return (\n rootGetters[\"parties/getOriginalBookedByParty\"]?.[getters.getPartyCodeKeyForBookingData] === getCustomerCode()\n );\n },\n /**\n * @description Gets the party code key for original data\n * @param {Object} state\n * @param {Object} getters\n * @return {String}\n */\n getPartyCodeKeyForBookingData(state, getters) {\n return getters.getBookingDataSource === constants.bookingDataSource.bookingRequest\n ? PARTY_KEYS_BOOKING_REQUEST.PARTY_CODE\n : PARTY_KEYS_DATASET.PARTY_CODE;\n },\n /**\n * @description Gets the required data for pricing journey\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Object}\n */\n getRequiredDataForPricingJourney(state, getters, rootState, rootGetters) {\n const lsm = getters.getLocationServiceMode;\n return {\n destinationLocation: mapLocation(lsm.destination?.location),\n originLocation: mapLocation(lsm.origin?.location),\n destinationLocationCY: lsm.destination?.serviceMode,\n originLocationCY: lsm.origin?.serviceMode,\n cargoDetails: mapCargoDetails(),\n priceOwner: getPO()\n };\n\n function mapLocation(location) {\n return location\n ? {\n // For now only cityGeoId comparison is enough, we may add other props if needed in future\n cityGeoId: location.maerskGeoLocationId\n }\n : null;\n }\n\n function mapCargoDetails() {\n return [\n {\n commodityCode: state.od3cpFormData.commoditySelected?.commodity?.commodityCode,\n commodityName: state.od3cpFormData.commoditySelected?.commodity?.commodityName,\n temperatureControl: getters.isTemperatureControlled,\n containers: mapContainers()\n }\n ];\n }\n\n function mapContainers() {\n return (getters.getContainerSelect || []).map(container => {\n return {\n isoCode: container.containerType?.isoContainerSizeTypeCd,\n quantity: container.quantity,\n cargoWeights: [\n {\n cargoWeight: container.weightPerContainer,\n weightMeasurementUnit: rootGetters[\"userSettings/unitPreference\"]\n }\n ],\n isShipperOwned: container.shipperOwnContainer?.checked\n };\n });\n }\n function getPO() {\n // Price owner\n const poData = rootGetters[\"priceOwnerData/getPriceOwnerData\"];\n\n if (!poData) return null;\n return {\n scvCode: poData.customerCodes?.scvCode,\n cmdCode: poData.customerCodes?.customerCode\n };\n }\n },\n /**\n * @description Checks if container is dangerous or oversized\n * @param {Object} state\n * @param {Object} getters\n * @return {Boolean}\n */\n isDangerousOrOversizedCargo(state, getters) {\n return (\n (getters.getContainerSelect || []).some((container, index) => {\n return container.overSizedCargo.checked;\n }) || getters.isDangerous\n );\n },\n /**\n * @description Checks if prev data and current data equal for pricing journey\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n isEqualDataForPricingJourney(state, getters, rootState, rootGetters) {\n return deepEqual(getters.getRequiredDataForPricingJourney, rootGetters[\"pricingJourney/getPreviousFilledData\"]);\n },\n /**\n * @description Checks if pricing journey API needs to be triggered\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {String | null}\n */\n shouldTriggerAPIForPricingJourney(state, getters, rootState, rootGetters) {\n // Note: The places we are seeing JSON.stringify as return statement are added intentionally to trigger reactivity of this getter\n // As this is used in a watcher we need to return changed values instead of boolean values\n const isPricingJourneyEnabled = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.pricingJourney.name);\n const isPricingJourneyMultiContainerApiTriggerEnabled = rootGetters[\"boFlags/getFlag\"](\n constants.featureFlags.pricingJourneyMultiContainerApiTrigger.name\n );\n if (\n !getters.isPricingJourneyRequiredDataFilled ||\n !isPricingJourneyEnabled ||\n getters.isAmendBooking ||\n getters.isDangerousOrOversizedCargo ||\n (isPricingJourneyMultiContainerApiTriggerEnabled ? false : getters.getContainerSelect?.length > 1)\n )\n return null;\n if (getters.isPricingJourneyRequiredDataFilled && rootGetters[\"pricingJourney/getPreviousFilledData\"] === null) {\n // This is to trigger pricing journey API for the first time and when the user completes the booking and duplicates the booking, the new timestamp will help trigger the API because the other string would be the same and it will not trigger the watcher\n return JSON.stringify(getters.getRequiredDataForPricingJourney) + `${new Date().getTime()}`;\n }\n const isEqual = getters.isEqualDataForPricingJourney;\n return !isEqual ? JSON.stringify(getters.getRequiredDataForPricingJourney) : null;\n },\n /**\n * @description Checks if container quantity or weight changed\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n shouldDebounceProductOffers(state, getters, rootState, rootGetters) {\n const containersAndWeight = getters.getRequiredDataForPricingJourney?.cargoDetails?.[0]?.containers?.map(\n container => {\n return {\n quantity: container?.quantity,\n cargoWeight: container?.cargoWeights?.[0]?.cargoWeight\n };\n }\n );\n const containersAndWeightPrevData = rootGetters[\n \"pricingJourney/getPreviousFilledData\"\n ]?.cargoDetails?.[0]?.containers?.map(container => {\n return {\n quantity: container?.quantity,\n cargoWeight: container?.cargoWeights?.[0].cargoWeight\n };\n });\n return !deepEqual(containersAndWeight, containersAndWeightPrevData);\n },\n /**\n * @description Checks if required data for pricing journey is filled\n * @param {Object} state\n * @param {Object} getters\n * @return {Boolean}\n */\n isPricingJourneyRequiredDataFilled(state, getters) {\n if (!getters.getRequiredDataForPricingJourney) return false;\n return !isDeepEmpty(getters.getRequiredDataForPricingJourney);\n },\n /**\n * @description Checks if cargo details new design to be displayed\n * @param {Object} _ state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n showCargoDetails(_, getters, rootState, rootGetters) {\n const isOOGOrDG = getters.isOOGEnabledAndCargoOverSizeChecked || getters.isDGSettingsNecessary;\n\n return getters.isAmendBooking\n ? rootGetters[\"boFlags/getFlag\"](constants.featureFlags.dgAmend.name) && isOOGOrDG\n : isOOGOrDG;\n },\n /**\n * @description Gets the url params to be passed to the lcl app\n * @param {Object} getters\n * @return {Object}\n */\n getUrlParamsForLcl(_, getters) {\n const lsm = getters.getLocationServiceMode;\n return cleanup({\n from: lsm?.origin?.location?.maerskRkstCode,\n fromMode: lsm?.origin?.serviceMode,\n to: lsm?.destination?.location?.maerskRkstCode,\n toMode: lsm?.destination?.serviceMode,\n date: getters.getEarliestDepartureDate,\n isFromBooking: true\n });\n },\n /**\n * @description Checks if booking is either reefer/ Dg commodity, Oog, SOC or IRT container\n * @param {Object} getters\n * @return {Boolean}\n */\n isNonDryOrSocIrtBooking(_, getters) {\n return (\n getters.isTemperatureControlled ||\n getters.isDangerous ||\n getters.isAnyShipperOwned ||\n getters.isAnyImportReturned ||\n getters.anyODDSizedContainerWithOOGChecked\n );\n },\n /**\n * @description Check if Multicontainer flag is enabled\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n isMultiContainerEnabled(state, getters, rootState, rootGetters) {\n return rootGetters[\"boFlags/getFlag\"](constants.featureFlags.multiContainerType.name);\n },\n getPreviousContainerSelectData(state) {\n return state.previousContainerSelectData;\n },\n getPreviousOD3CPDataForGA(state) {\n return state.previousOD3CPDataForGA;\n },\n getSearchRetryId(state) {\n return state.searchRetryId;\n },\n getWebsiteBusyRetryId(state) {\n return state.websiteBusyRetryId;\n },\n getPreviousQuantityOfContainer: (state, getters) => typeIndex => {\n return getters.getPreviousContainerSelectData?.[typeIndex]?.quantity ?? null;\n },\n /**\n * @description This checks and prevents the addition of DG/OOG cards, when the container quantity reset to its previous, upon clicking cancel in DgOogContainerSelectModal\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean}\n */\n shouldStopDgOogCardsReduction: (state, getters, rootState, rootGetters) => (\n typeIndex,\n containerQty,\n isOog = false\n ) => {\n if (typeIndex < 0) return false;\n const cardsCount = isOog\n ? (rootGetters[\"oogSettingsData/getOogContainerSettings\"](typeIndex) || []).length\n : rootGetters[\"dangerousSettingsData/getDgContainerCardsCountByType\"](typeIndex);\n return containerQty === cardsCount;\n },\n /**\n * @description Check if widget is expanded\n * @param {Object} state\n * @param {Object} getters\n * @return {Boolean}\n */\n isWidgetExpanded(state) {\n return !!state.widgetControls?.isExpanded;\n },\n /**\n * @description Returns container instances\n * @param {Object} state\n * @return {[ContainerInstance]}\n */\n getContainerInstances(state) {\n return state.containerInstances;\n },\n /**\n * @description Returns if a booking on sealand asia is allowed.\n * New/Duplicate bookings should be blocked if the O-D does not match PH-PH & ID-ID country codes.\n * Amendments will be allowed as is.\n * @param {Object} state\n * @return {[Boolean]}\n */\n isSealandBookingAllowed(state, getters, rootState, rootGetters) {\n const isSealandAsia = getBrandFromHostname(window.location)?.brandCode === constants.brandCodes.sealandAsia;\n const originCountryCode = getters.getLocationServiceMode?.origin?.location?.countryCode;\n const destinationCountryCode = getters.getLocationServiceMode?.destination?.location?.countryCode;\n return !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.brandUnification.name) ||\n !isSealandAsia ||\n getters.isAmendBooking ||\n !(originCountryCode && destinationCountryCode)\n ? true\n : constants.brandUnification.allowedCountries.includes(originCountryCode) &&\n originCountryCode === destinationCountryCode;\n },\n showSealandTransitioningNotification(state, getters) {\n return (\n [\n constants.brandCodes.sealandAsia,\n constants.brandCodes.sealandAmericas,\n constants.brandCodes.sealandEurope\n ].includes(getBrandFromHostname(window.location)?.brandCode.toLowerCase()) && !getters.isAmendBooking\n );\n },\n /**\n * @description Returns pre selected commodity code e.g AMEND, DUPLICATE scenarios\n * @param {Object} state\n * @return {String}\n */\n getPreSelectedCommodityCode(state) {\n return state.preSelectedCommodityCode;\n },\n /**\n * @description Returns current ffe\n * @param {Object} state\n * @return {Number}\n */\n getCurrentFfe(state, getters) {\n return calculateFfe(getters.getContainerSelect);\n },\n /**\n * @description Returns original ffe\n * @param {Object} state\n * @return {Number}\n */\n getOriginalFfe(state, getters) {\n const originalContainers = (getters?.getContainerDetailsFromBookingData || []).map(container => {\n return {\n quantity: container?.quantity,\n containerType: {\n sizeCd: container?.size\n }\n };\n });\n return calculateFfe(originalContainers);\n },\n getOd3cpContextForLD(state, getters, rootState, rootGetters) {\n const lsm = getters.getLocationServiceMode;\n const container = getters.getContainerSelect?.[0];\n return {\n booking_info: {\n key: \"booking_info\",\n brandName: constants.brandCode,\n isMultiContainer: getters.isMultipleContainer,\n bookingType: getters.bookingType\n },\n booking_lsm: {\n key: \"booking_lsm\",\n importCountyCode: lsm?.destination?.location?.countryCode,\n exportCountyCode: lsm?.origin?.location?.countryCode,\n importServiceMode: lsm?.destination?.serviceMode,\n exportServiceMode: lsm?.origin?.serviceMode\n },\n booking_commodity: {\n key: \"booking_commodity\",\n isDangerous: getters.isDangerous,\n isTemperatureControlled: getters.isTemperatureControlled\n },\n booking_container: {\n key: \"booking_container\",\n isOutOfGaugeContainer: Boolean(container?.overSizedCargo?.checked),\n isoCode: container?.containerType?.isoContainerSizeTypeCd,\n containerType: container?.containerType?.typeCd,\n isImportReturnContainer: Boolean(container?.importReturnContainer?.checked),\n isShipperOwned: Boolean(container?.shipperOwnContainer?.checked),\n isNOR: isContainerNor(container.containerType?.typeCd, rootGetters)\n },\n booking_customer: {\n key: \"booking_customer\",\n bookedByCustomerCode: rootGetters[\"parties/getBookedByParty\"]?.selected?.customerCodes?.scvCode,\n priceOwnerCode: rootGetters[\"priceOwnerData/getPriceOwnerData\"]?.customerCodes?.scvCode\n }\n };\n },\n /**\n * @description Returns the information filled in OD3CP form.\n * When User clicks on OD3CP continue, this information is used to compare the previous data and current data and to find out if the od3cp data has changed.\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {object}\n */\n getOd3cpDataForGA(state, getters, rootState, rootGetters) {\n return {\n origin: getters.getLocationServiceMode?.origin,\n destination: getters.getLocationServiceMode?.destination,\n alternatePickupLocation: getters.getAlternatePickupLocation,\n commodityCode: getters.getCommodity?.commodity?.commodityCode,\n containers: getters.getContainerSelect,\n priceOwner: rootGetters[\"priceOwnerData/getPriceOwnerData\"]?.customerCodes,\n bookedByParty: rootGetters[\"parties/getBookedByParty\"]?.selected?.customerCodes,\n shipmentDate: dayjs(getters.getEarliestDepartureDate).format(\"YYYY-MM-DD\")\n };\n },\n areAllContainersDryOrHDry(state) {\n return state.od3cpFormData?.containerSelect?.every(container =>\n [constants.containerTypes.dry, constants.containerTypes.dryHigh].includes(container?.containerType?.typeCd)\n );\n },\n getOd3cpFormDataForMop(state, getters) {\n const lsm = getters.getLocationServiceMode;\n return {\n importCountryCode: lsm?.destination?.location?.countryCode,\n exportCountryCode: lsm?.origin?.location?.countryCode,\n importServiceMode: lsm?.destination?.serviceMode,\n exportServiceMode: lsm?.origin?.serviceMode\n };\n },\n getAdvancedOptionsPopupStatus(state) {\n return state.showAdvancedOptionsPopOver;\n }\n};\n","import {\n findCargoType,\n isContainerNor,\n getContainerInfoForAdditionalDetailsPayload,\n isCurrentCarrierMLL\n} from \"@/lib/od3cp/od3cpUtilities\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\n/**\n * All the other getters related to cargo, container, commodity and amend\n */\nexport default {\n getCommodity(state, getters, rootState, rootGetters) {\n const isMilitaryUser = rootGetters[\"userSettings/isMilitaryUser\"];\n const commodity = state.od3cpFormData.commoditySelected;\n if (isMilitaryUser && !isCurrentCarrierMLL()) {\n return {\n ...commodity,\n commoditySelected: {\n ...commodity.commoditySelected\n },\n governmentalCargoControl: {\n show: true,\n checked: true,\n disabled: true\n }\n };\n }\n return commodity;\n },\n getContainerSelect(state) {\n return state.od3cpFormData.containerSelect;\n },\n getContainerSelectRules(state) {\n return state.containerSelectRules;\n },\n getContainerDefaultRules(state) {\n return state.containerDefaultRules;\n },\n /**\n * Determines if the insurance is available based on a status code of 1 or 2\n * @param state\n * @returns {boolean}\n */\n isCargoInsuranceAvailable(state) {\n return !!state.cargoInsurance.insuranceAvailable.find(\n insurance => insurance.insuranceStatusCode === 1 || insurance.insuranceStatusCode === 2\n );\n },\n isCargoInsuranceMandatory(state) {\n return !!state.cargoInsurance.insuranceAvailable.find(insurance => insurance.insuranceStatusCode === 2);\n },\n getCargoInsurancePremium(state) {\n if (state.cargoInsurance.minimumPremiumAmount) {\n return {\n minimumPremiumAmount: state.cargoInsurance.minimumPremiumAmount,\n currencyCode: state.cargoInsurance.minimumPremiumAmountCurrencyCode\n };\n }\n },\n getTotalContainerQuantity(state) {\n return state.od3cpFormData.containerSelect.reduce((prev, curr) => {\n return prev + curr.quantity;\n }, 0);\n },\n /**\n * Are any of the containers selected reefers?\n * @param state\n * @returns {boolean}\n */\n isReefer(state) {\n return state.od3cpFormData.containerSelect.some(container => container.containerType?.reeferFlag === true);\n },\n /**\n * Returns the right cargo type for the selected commodity\n * based on the ticked checkboxes (ex: dangerous, reefer, oversized etc)\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {string}\n */\n getCargoType(state, getters, rootState, rootGetters) {\n const cargoTypes = constants.cargoTypes;\n let type = getters?.getCommodity?.commodity?.cargoTypes;\n\n type = Array.isArray(type) ? findCargoType(type, getters, rootGetters).toUpperCase() : type?.toUpperCase();\n\n type = !type || !cargoTypes.includes(type.toUpperCase()) ? constants.dryCargo : type;\n\n return type === constants.reeferCargo ? constants.reeferCargoType : type;\n },\n /**\n * Is the commodity marked as dangerous?\n * @param state\n * @returns {boolean}\n */\n isDangerous(state) {\n return !!state?.od3cpFormData?.commoditySelected?.dangerousCargo?.checked;\n },\n /**\n * Is the commodity marked as temperature controlled?\n * @param state\n * @returns {boolean}\n */\n isTemperatureControlled(state) {\n return !!state?.od3cpFormData?.commoditySelected?.temperatureControl?.checked;\n },\n /**\n * Is the Container marked as oversized?\n * @param state\n * @returns {boolean}\n */\n isContainerOverSized(state) {\n return !!state.od3cpFormData.containerSelect[0]?.overSizedCargo?.checked;\n },\n /**\n * Is the commodity marked as temperature controlled?\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {boolean}\n */\n isReeferSettingsNecessary(state, getters, rootState, rootGetters) {\n return (\n getters.isReeferSettingsEnabledAndActive &&\n getters.isReeferSettingsCompatibleWithDgValue &&\n getters.isReeferSettingsCompatibleWithOogValue &&\n getters.isSocEnabledOrNotActive\n );\n },\n /**\n * Is reefer settings enabled and marked as temperature controlled?\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {boolean}\n */\n isReeferSettingsEnabledAndActive(state, getters, rootState, rootGetters) {\n return (\n !!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.reeferSettings.name) && !!getters.isTemperatureControlled\n );\n },\n /**\n * Is reefer settings compatible with current DG value?\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {boolean}\n */\n isReeferSettingsCompatibleWithDgValue(state, getters, rootState, rootGetters) {\n return !getters.isDangerous || !!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.dangerousGoods.name);\n },\n /**\n * Is reefer settings compatible with current OOG value?\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {boolean}\n */\n isReeferSettingsCompatibleWithOogValue(state, getters, rootState, rootGetters) {\n return !getters.isContainerOverSized;\n },\n /**\n * Is SOC enabled or not active?\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {boolean}\n */\n isSocEnabledOrNotActive(state, getters, rootState, rootGetters) {\n return (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.soc.name) ||\n (!getters.isAnyShipperOwned && !getters.isAnyImportReturned)\n );\n },\n /**\n * Is the commodity marked as dangerous?\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {boolean}\n */\n isDGSettingsNecessary(state, getters, rootState, rootGetters) {\n return !!getters.isDangerous && !!getters.isDgSettingsCompatibleWithOogValue && !!getters.isSocEnabledOrNotActive;\n },\n /**\n * Is DG settings compatible with current OOG value?\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {boolean}\n */\n isDgSettingsCompatibleWithOogValue(state, getters, rootState, rootGetters) {\n return rootGetters[\"boFlags/getFlag\"](constants.featureFlags.oog.name) || !getters.isContainerOverSized;\n },\n /**\n * Is the Container marked as shipper owned?\n * @param state\n * @returns {boolean}\n */\n isAnyShipperOwned(state) {\n return state.od3cpFormData.containerSelect.some(container => container.shipperOwnContainer?.checked);\n },\n /**\n * Is the Container marked as irt?\n * @param state\n * @returns {boolean}\n */\n isAnyImportReturned(state) {\n return state.od3cpFormData.containerSelect.some(container => container.importReturnContainer?.checked);\n },\n /**\n * Short container data for the booking flow step\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {{containerType, isShipperOwned, isImportReturn: boolean, isOutOfGauge}[]} OR {{containerTypeCd, isShipperOwned, isImportReturnContainer: boolean, isOutOfGauge}[]}\n */\n containerDetails(state, getters, rootState, rootGetters) {\n return state.od3cpFormData.containerSelect.map(container => {\n const cargoDetails = {\n isShipperOwned: container.shipperOwnContainer?.checked || !container.containerType?.carrierOwnedFlag || false\n };\n\n if (rootGetters[\"boFlags/getFlag\"](constants.featureFlags.odmBookingFlow.name)) {\n cargoDetails.isOutOfGauge = false;\n cargoDetails.isImportReturnContainer = !!container?.importReturnContainer?.checked;\n cargoDetails.containerTypeCd = container.containerType?.typeCd || \"\";\n } else {\n cargoDetails.isOutOfGauge = container.containerType?.outOfGaugeCargoFlag || false;\n cargoDetails.isImportReturn = container.importReturnContainer?.checked || false;\n cargoDetails.containerType = container.containerType?.typeCd || \"\";\n }\n\n return cargoDetails;\n });\n },\n /**\n * Full cargo details for the booking payload\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {Array}\n */\n cargoDetails(state, getters, rootState, rootGetters) {\n const commodity = state.od3cpFormData.commoditySelected;\n let unitOfMeasure = rootGetters[\"userSettings/unitPreference\"];\n // We only allow for a single commodity so this is ok\n if (!commodity.commodity) {\n return [];\n }\n\n // Test to see if there is a cargo ID - if not, then add one\n if (!commodity.cargoId) {\n state.od3cpFormData.commoditySelected.cargoId = new Date().getTime();\n }\n unitOfMeasure =\n rootGetters[\"userSettings/unitPreference\"] === \"KGS\"\n ? \"kg\"\n : rootGetters[\"userSettings/unitPreference\"].toLowerCase();\n\n return [\n {\n commodityCode: commodity.commodity.commodityCode,\n id: commodity.cargoId,\n commodityName: commodity.commodity.commodityName,\n containers:\n state.od3cpFormData.containerSelect?.map(cs => {\n return {\n cargoId: commodity.cargoId,\n id: cs.equipmentId || new Date().getTime(),\n type: cs.containerType?.typeCd,\n displayName: cs.containerType?.sizeTypeDisplayName,\n quantity: cs.quantity,\n foodGrade: false, // ??\n outOfGauge: Boolean(cs.overSizedCargo?.checked),\n importReturned: !!cs.importReturnContainer?.checked,\n shipperOwned: cs.shipperOwnContainer?.checked || !cs.containerType?.carrierOwnedFlag || false,\n unitOfMeasure: unitOfMeasure,\n containerSize: cs.containerType?.sizeCd,\n isoCode: cs.containerType?.isoContainerSizeTypeCd,\n weight: cs.weightPerContainer,\n shipmentEquipmentAssignmentIds: cs.shipmentEquipmentAssignmentIds || [],\n sspId: cs.sspId || []\n };\n }) || [] // Or empty if the map function fails\n }\n ];\n },\n /**\n * Finds container select by sizeTypeName\n * @param state, {String} sizeType\n * @return {{} | undefined}\n */\n getContainerSelectBySizeType: state => sizeType => {\n return state.od3cpFormData?.containerSelect?.find(container => {\n const containerSizeType = `${container.containerType.sizeCd}${container.containerType.typeCd}`;\n return sizeType.replace(/\\s/g, \"\") === containerSizeType;\n });\n },\n /**\n * Filters all container select by iso code and returns the cumulative quatity\n * @param state, {String} isoCode\n * @return {number | null}\n */\n getContainerQuantityByIsoCode: state => isoCode => {\n return (\n state.od3cpFormData?.containerSelect\n ?.filter?.(container => container?.containerType?.isoContainerSizeTypeCd === isoCode)\n ?.reduce((_quantity, containerSelect) => _quantity + containerSelect.quantity, 0) ?? null\n );\n },\n /**\n * Gets container details for additional details payload\n * @param state\n * @return {*}\n */\n getContainerInfoForAdditionalDetails(state) {\n return state.od3cpFormData.containerSelect?.map(cs => {\n return getContainerInfoForAdditionalDetailsPayload(cs);\n })[0];\n },\n getContainerInfoForAdditionalDetailsByType: state => typeIndex => {\n return getContainerInfoForAdditionalDetailsPayload(state.od3cpFormData.containerSelect?.[typeIndex] ?? {});\n },\n /**\n * @description returns truthy value if none of the containers are oog , and it's not DG or OOG\n * @param {object} state\n * @param {object} getters\n * @returns {boolean}\n */\n isDryBooking(state, getters) {\n if (getters.isDangerous || getters.isTemperatureControlled) return false;\n //else loop in every container and make sure that it's not OOG\n return (state.od3cpFormData.containerSelect ?? []).every?.(container => !container?.overSizedCargo?.checked);\n },\n /**\n * @description Checks if any container's selected is of ODD sized container or OOG container ( outOfGauge Cargo ) and \"This cargo is oversized\" checkbox is selected.\n * @param state\n * @returns {boolean}\n */\n anyODDSizedContainerWithOOGChecked(state) {\n return state.od3cpFormData.containerSelect?.some?.(\n container => container?.containerType?.outOfGaugeCargoFlag && container?.overSizedCargo?.checked\n );\n },\n /**\n * @description Checks if container selected is of ODD sized container or OOG container ( outOfGauge Cargo ) and \"This cargo is oversized\" checkbox is selected.\n * @param state\n * @returns {boolean}\n */\n isODDSizedContainerWithOOGChecked: state => typeIndex => {\n const container = state.od3cpFormData.containerSelect?.[typeIndex];\n return !!(container?.containerType?.outOfGaugeCargoFlag && container?.overSizedCargo?.checked);\n },\n getContainerProfile(state) {\n return state.od3cpFormData.containerSelect?.map(cs => ({\n size: cs?.containerType?.sizeCd,\n type: cs?.containerType?.typeCd,\n height: cs?.containerType?.unitOfMeasurementAbbreviationVal\n }));\n },\n\n /**\n * @description returns true if any container is non operating container\n * NOR refers the Non Operating reefer the means user have selected a DRY commodity with REEF container ( 20 REEF standard or 40 REEF high)\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {boolean}\n */\n isNonOperatingContainer(state, getters, rootState, rootGetters) {\n return getters.getContainerSelect?.some(container => isContainerNor(container.containerType?.typeCd, rootGetters));\n },\n\n /**\n * @description returns true if any container is Shipper owned container\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {boolean}\n */\n isShipperOwnedContainer(state, getters, rootState, rootGetters) {\n return getters.getContainerSelect?.some(\n container => container?.shipperOwnContainer?.checked || !container.containerType?.carrierOwnedFlag\n );\n },\n\n /**\n * @description returns true if any container is Import return container\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {boolean}\n */\n isImportReturnContainer(state, getters, rootState, rootGetters) {\n return getters.getContainerSelect?.some(container => container?.importReturnContainer?.checked);\n },\n\n /**\n * @description returns true if multiple container selected\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {boolean}\n */\n isMultipleContainer(state, getters, rootState, rootGetters) {\n return getters.getContainerSelect?.length > 1;\n },\n\n /**\n * @description returns true if selected container is Reefer with temperature controlled commodity, NOR, DG, OOG (outOfGaugeCargo), SOC (Shipper owned container) or IRC (ImportReturnContainer)\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {boolean}\n */\n isContainerNotAllowedInSpot(state, getters, rootState, rootGetters) {\n return !!(\n (getters.isReefer && getters.isTemperatureControlled) ||\n (!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.norBookingFlow.name) &&\n getters.isNonOperatingContainer) ||\n getters.isDangerous ||\n getters.anyODDSizedContainerWithOOGChecked ||\n getters.isShipperOwnedContainer ||\n getters.isImportReturnContainer\n );\n },\n\n /**\n * @description Check if all containers selected are of either SOC / IRT\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n isAllContainersEitherSocOrIrt(state, getters, rootState, rootGetters) {\n return state.od3cpFormData.containerSelect?.every(\n container => container.shipperOwnContainer?.checked || container.importReturnContainer?.checked\n );\n },\n /**\n * @description Check if any containers selected are SOC / IRT\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n isAnyContainersSocOrIrt(state, getters, rootState, rootGetters) {\n return state.od3cpFormData.containerSelect?.some(\n container => container?.shipperOwnContainer?.checked || container?.importReturnContainer?.checked\n );\n },\n /**\n * @description returns cumulative quantity of all container types selected\n * @param {*} state\n * @param {*} getters\n * @returns {Number}\n */\n getSumOfQuantitiesOfSelectedContainers(state, getters) {\n return getters.getContainerSelect.reduce((accumulator, container) => accumulator + container.quantity, 0);\n },\n /**\n * Finds container select by sizeType for trial VAS\n * @param state, {String} sizeType\n * @return {{} | undefined}\n */\n getContainerSelectBySizeTypeForTrialVas(state, getters) {\n if (getters.getContainerSelect?.length > 1) return \"\";\n const container = getters.getContainerSelect[0];\n if (!container?.containerType) return \"\";\n return `${container.containerType.sizeCd} / ${container.containerType.typeCd}`;\n },\n /**\n * Displays the flexi tank checkbox in container select\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Boolean}\n */\n enableFlexiTank(state, getters, rootState, rootGetters) {\n return Boolean(\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.enableFlexiTank.name) && !getters.isAmendBooking\n );\n },\n /**\n * Checks of any container in the booking has flexi-tank selected\n * @param {Object} state\n * @param {Object} getters\n * @return {Boolean}\n */\n isAnyContainerFlexiTank(state, getters) {\n return (\n getters.enableFlexiTank &&\n state.od3cpFormData.containerSelect.some(container => container.flexiTankContainer?.checked)\n );\n },\n /**\n * Checks if any container has the shipperOwnContainer.checked property set to true.\n *\n * @param {Object} state - The Vuex state object.\n * @param {Object} state.od3cpFormData - The form data object.\n * @param {Array} state.od3cpFormData.containerSelect - The array of selected containers.\n * @returns {boolean} - Returns true if any container has shipperOwnContainer.checked set to true, otherwise false.\n */\n isAnyContainerSoc(state) {\n return (state.od3cpFormData.containerSelect ?? []).some(container => container?.shipperOwnContainer?.checked);\n },\n /**\n * Checks if any container has the importReturnContainer.checked property set to true.\n *\n * @param {Object} state - The Vuex state object.\n * @param {Object} state.od3cpFormData - The form data object.\n * @param {Array} state.od3cpFormData.containerSelect - The array of selected containers.\n * @returns {boolean} - Returns true if any container has importReturnContainer.checked set to true, otherwise false.\n */\n isAnyContainerIrt(state) {\n return state.od3cpFormData.containerSelect.some(container => container?.importReturnContainer?.checked);\n },\n /**\n * Checks if any container has the containerType.reeferFlag property set to true.\n *\n * @param {Object} state - The Vuex state object.\n * @param {Object} state.od3cpFormData - The form data object.\n * @param {Array} state.od3cpFormData.containerSelect - The array of selected containers.\n * @returns {boolean} - Returns true if any container has containerType.reeferFlag set to true, otherwise false.\n */\n isAnyContainerReefer(state) {\n return (state.od3cpFormData.containerSelect ?? []).some(container => container?.containerType?.reeferFlag);\n },\n /**\n * @description returns true if the booking is a NOR booking(so it needs at least 1 reefer container and user must uncheck the temperature control)\n * @param {Object} state - not used\n * @param {Object} getters\n * @returns {Boolean}\n */\n isNorBooking(_, getters) {\n return !getters.isTemperatureControlled && getters.getContainerSelect?.length > 0 && !!getters.isAnyContainerReefer;\n },\n /**\n * @description returns an object with the container instance ids of the original booking\n * @param {Object} state\n * @param {Object} getters\n * @returns {Object}\n */\n getOriginalContainerRefs(state, getters) {\n const containers = getters.getBookingDataFromBookingRequest?.equipmentAndHaulage?.containerDetails || [];\n return containers.reduce((acc, container) => {\n const key = `${container.isoCode}-${container.isShipperOwned}-${container.isImportReturned}`;\n if (!acc[key]) {\n acc[key] = [];\n }\n acc[key] = [...acc[key], ...container.containerInstanceIds];\n return acc;\n }, {});\n }\n};\n","import { constants } from \"@/lib/CONSTANTS\";\nimport { transformLoadingAddresses } from \"@/lib/additional-details/facilityUtilities.ts\";\n\n/**\n * All the other getters related to locations\n */\nexport default {\n /**\n * Gets the location service mode\n * @param {Store} state\n * @return {{}|any}\n */\n getLocationServiceMode(state) {\n return state.od3cpFormData.locationServiceMode;\n },\n /**\n * Gets a flag to determine when to store original location service mode\n * @param {Store} state\n * @return {Boolean}\n */\n shouldUpdateOriginalLocation(state) {\n return state.shouldUpdateOriginalLocation;\n },\n /**\n * Returns universal location service mode either it is from Location API or History API\n * @param {Store} state\n * @return {{}|any}\n */\n getTransformedLocationServiceMode(state) {\n const originalLocationServiceMode = state.od3cpFormData.locationServiceMode;\n if (!originalLocationServiceMode.origin.location || !originalLocationServiceMode.destination.location) {\n return {};\n }\n let locationServiceMode = JSON.parse(JSON.stringify(originalLocationServiceMode));\n // assume it is from Locations API\n // map origin\n locationServiceMode.origin.location.cityGeoId = locationServiceMode.origin.location.maerskGeoLocationId;\n locationServiceMode.origin.location.cityCode = locationServiceMode.origin.location.maerskRkstCode;\n // map destination\n locationServiceMode.destination.location.cityGeoId = locationServiceMode.destination.location.maerskGeoLocationId;\n locationServiceMode.destination.location.cityCode = locationServiceMode.destination.location.maerskRkstCode;\n // if it is from History API, map different object structure\n // map origin\n if (locationServiceMode.origin.location.city && locationServiceMode.origin.location.country) {\n // map city\n locationServiceMode.origin.location.cityGeoId = locationServiceMode.origin.location.city.geoIdCode;\n locationServiceMode.origin.location.cityCode = locationServiceMode.origin.location.city.rkstCode;\n // map country\n locationServiceMode.origin.location.countryGeoId = locationServiceMode.origin.location.country.geoIdCode;\n locationServiceMode.origin.location.countryCode = locationServiceMode.origin.location.country.rkstCode;\n }\n // map destination\n // map city\n if (locationServiceMode.destination.location.city) {\n locationServiceMode.destination.location.cityGeoId = locationServiceMode.destination.location.city.geoIdCode;\n locationServiceMode.destination.location.cityCode = locationServiceMode.destination.location.city.rkstCode;\n }\n // map country\n if (locationServiceMode.destination.location.country) {\n locationServiceMode.destination.location.countryGeoId =\n locationServiceMode.destination.location.country.geoIdCode;\n locationServiceMode.destination.location.countryCode = locationServiceMode.destination.location.country.rkstCode;\n }\n return locationServiceMode;\n },\n getLocationFromRkstCode: state => rkstCode => {\n // Find the location object by rkstcode\n if (state.od3cpFormData.locationServiceMode.origin.location?.maerskRkstCode === rkstCode) {\n return state.od3cpFormData.locationServiceMode.origin.location;\n } else if (state.od3cpFormData.locationServiceMode.destination.location?.maerskRkstCode === rkstCode) {\n return state.od3cpFormData.locationServiceMode.destination.location;\n }\n return null;\n },\n getAlternatePickupLocation(state) {\n return state.od3cpFormData.alternatePickupLocation;\n },\n /**\n * @description returns true if it's CY haulage\n * @param {Object} state\n * @returns {boolean}\n */\n isCYHaulage(state) {\n return state.od3cpFormData.locationServiceMode.origin.serviceMode === constants.serviceMode.merchantHaulage;\n },\n /**\n * @description returns true if destination service mode is CY\n * @param {Object} state\n * @returns {boolean}\n */\n isDestinationServiceModeCY(state) {\n return state.od3cpFormData.locationServiceMode.destination.serviceMode === constants.serviceMode.merchantHaulage;\n },\n /**\n * @description returns true if it's SD haulage\n * @param {Object} state\n * @returns {boolean}\n */\n isSDHaulage(state) {\n return state.od3cpFormData.locationServiceMode.origin.serviceMode === constants.serviceMode.carrierHaulage;\n },\n /**\n * @deprecated use isCYHaulage because it communicates business lingo better\n * Determines if location origin's service mode is \"CY\"\n * @param state\n * @return {boolean}\n */\n isOriginCY(state) {\n return state.od3cpFormData.locationServiceMode.origin.serviceMode === \"CY\";\n },\n\n /**\n * Gets location origin's country code\n * @param state\n * @return {*}\n */\n getOriginCountryCode(state) {\n return state.od3cpFormData.locationServiceMode.origin.location?.countryCode;\n },\n /**\n * @description validates OD pair data(Warning doesn't validate alternate)\n * @param {Object} state\n * @param {Object} getters\n * @return {boolean}\n */\n isOriginAndDestinationFilled(state, getters) {\n const lsm = getters.getLocationServiceMode;\n return (\n !!lsm?.destination?.location &&\n !!lsm?.origin?.location &&\n !!lsm?.destination?.serviceMode &&\n !!lsm?.origin?.serviceMode\n );\n },\n /**\n * @description Get selected SD address from history in origin\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Object | null}\n */\n getOriginFacility(state, getters, rootState, rootGetters) {\n const origin = getters.getLocationServiceMode?.origin?.location;\n const facility = (rootGetters[\"history/getFacilities\"] || []).find(\n f => f?.facilityContactAddress?.addressCode === origin?.addressCode\n );\n return !!facility ? transformLoadingAddresses([facility])[0] : null;\n },\n /**\n * @description Get MEPC alternates\n * @param {Object} state\n * @return {Object | null}\n */\n getMepcAlternates(state) {\n return state.mepcAlternates;\n },\n /**\n * @description Get MEPC alternates\n * @param {Object} state\n * @return {Object | null}\n */\n getAlternateDetails(state) {\n return state.alternateDetails;\n }\n};\n","import { constants } from \"@/lib/CONSTANTS\";\nimport { deepEqual } from \"@/common/utils/generic/objectDeepComparison\";\nimport {\n mapParty,\n getMappedReeferDetailsFromCurrentState,\n mapDgContainersFromCurrentState\n} from \"@/common/utils/mappers/od3cp/mappersUtilities\";\nimport { PARTY_KEYS_BOOKING } from \"@/common/utils/enums\";\nimport dayjs from \"dayjs\";\nimport Vue from \"vue\";\nimport { isCurrentCarrierMLL, containersEqualButQtyLessThanOrig } from \"@/lib/od3cp/od3cpUtilities\";\nimport { deepClone } from \"@/common/utils/generic/deepClone\";\n\n/**\n * All the getters related to amend\n */\nexport default {\n /**\n * Gets the original location service mode\n * @param {Store} state\n * @return {{}|any}\n */\n getOriginalLocationServiceMode(state) {\n return state.originalLocationServiceMode;\n },\n /**\n * @description gets the original correlation id based on booking data source used in amend journey. It's stored so that when first time odc3p page is loaded we don't loose original correlationId\n * @param {Store} state\n * @param {Store} getters\n * @returns {string|null}\n */\n getOriginalCorrelationIdForAmend(state, getters) {\n return getters.getBookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getBookingDataFromBookingRequest?.correlationId\n : state.additionalPayload?.existingBookingCorrelationId;\n },\n /**\n * @description return the dangerous booking status in original booking\n * @param {Store} state\n * @param {Store} getters\n * @returns {string|null}\n */\n getExistingBookingDangerous(state, getters) {\n return getters.getBookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getBookingDataFromBookingRequest?.isDangerous\n : state.additionalPayload.isExistingBookingDangerous;\n },\n /**\n * @description return deliveryAgreementType in original booking\n * @param {Store} state\n * @param {Store} getters\n * @returns {string|null}\n */\n getOriginalBookingDeliveryAgreementType(state, getters) {\n return getters.getBookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getBookingDataFromBookingRequest?.references?.deliveryAgreementType?.toString()\n : getters.getBookingDataFromDataset?.bookingSourceSystem?.toString();\n },\n /**\n * @description returns true if original booking is spot offer based on deliveryAgreementType\n * @param {Store} state\n * @param {Store} getters\n * @returns {boolean}\n */\n isSpotInOriginalBooking(state, getters) {\n return constants.SPOTDeliveryAgreementTypes.some(type => type === getters.getOriginalBookingDeliveryAgreementType);\n },\n\n /**\n * @description returns object { deliveryAgreementType: String } for amend booking\n * @param {Store} state\n * @param {Store} getters\n * @returns {any} or {}\n */\n generateConfigWithDeliveryAgreementType(state, getters) {\n return getters.isAmendBooking\n ? {\n deliveryAgreementType: getters.getOriginalBookingDeliveryAgreementType\n }\n : {};\n },\n /**\n * @description gets the original route schedule from booking data for departures payload.\n * @param {Store} state\n * @param {Store} getters\n * @returns {Object|null}\n */\n getOriginalRouteScheduleForAmend(state, getters) {\n return state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getOriginalRouteScheduleForAmendFromBookingRequest\n : getters.getOriginalRouteScheduleForAmendFromDatasets;\n },\n /**\n *\n * @description generates the additional payload to be passed in amend journey. Note for any key use generate function and spread it in final result\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {object}\n */\n generateAdditionalPayload(state, getters, rootState, rootGetters) {\n const getOriginalCorrelationId = function() {\n return { existingBookingCorrelationId: getters.getOriginalCorrelationIdForAmend };\n };\n\n const getExistingBookingDangerous = function() {\n return { isExistingBookingDangerous: getters.getExistingBookingDangerous };\n };\n return { ...getOriginalCorrelationId(), ...getExistingBookingDangerous() };\n },\n /**\n * Checks if booking type is \"AMEND\"\n * @param state\n * @return {boolean}\n */\n isAmendBooking(state) {\n return state.od3cpFormData.bookingType === constants.bookingType.amend;\n },\n /**\n * Creates booking data i.e data received from API(dataset/bookingRequest) to compare with updated data due to user's actions in amend\n * @param state\n * @param getters\n * @return {Object}\n */\n getOriginalBookingData(state, getters) {\n return state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getOriginalBookingDataFromBookingRequest\n : getters.getOriginalBookingDataFromDataset;\n },\n /**\n * Creates data for amend to compare with original data received from API\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {Object}\n */\n getAmendData(state, getters, rootState, rootGetters) {\n const data = getters.getCommonDataForDataset;\n if (!data) return;\n const isReeferDetailsApplicable =\n data?.reeferDetails &&\n getters.isAmendBooking &&\n state.bookingDataSource === constants.bookingDataSource.bookingRequest &&\n getters.isReeferSettingsVisible;\n const isOogDetailsApplicable =\n data?.oogDetails?.length > 0 &&\n getters.isAmendBooking &&\n state.bookingDataSource === constants.bookingDataSource.bookingRequest &&\n getters.anyODDSizedContainerWithOOGChecked;\n const isDgDetailsApplicable =\n getters.isAmendBooking &&\n state.bookingDataSource === constants.bookingDataSource.bookingRequest &&\n getters.isDGSettingsNecessary;\n return {\n exportServiceMode: data.exportServiceMode,\n importServiceMode: data.importServiceMode,\n originLocation: { cityGeoId: data.originLocation?.cityGeoId },\n destinationLocation: { cityGeoId: data.destinationLocation?.cityGeoId },\n alternatePickupLocation: { cityGeoId: data.alternatePickupLocation?.cityGeoId ?? null },\n isReefer: getters.isTemperatureControlled,\n isDangerous: getters.isDangerous,\n cargoDetails: [{ commodityCode: data.cargoDetails[0]?.commodityCode, containers: mapContainersDetails() }],\n parties: mapParty({ parties: data?.parties, partyCodeKey: PARTY_KEYS_BOOKING.PARTY_CODE }),\n ...(isReeferDetailsApplicable && {\n reeferDetails: getMappedReeferDetailsFromCurrentState(\n data.reeferDetails,\n rootGetters[\"reeferSettingsData/getReeferContainerCode\"]\n )\n }),\n ...(isOogDetailsApplicable && {\n oogDetails: data.oogDetails\n }),\n ...(isDgDetailsApplicable && {\n dgDetails: mapDgContainersFromCurrentState(rootGetters)\n })\n };\n\n function mapContainersDetails() {\n const cargoWeightFallbackForOogAmend = \"0\";\n return (getters.getContainerSelect || []).map(container => {\n return {\n isoCode: container.containerType?.isoContainerSizeTypeCd,\n quantity: container.quantity,\n cargoWeight: container?.weightPerContainer?.toString?.() ?? cargoWeightFallbackForOogAmend,\n isShipperOwned: container.shipperOwnContainer?.checked || !container.containerType?.carrierOwnedFlag || false,\n isOutOfGauge: Boolean(container.overSizedCargo?.checked),\n isImportReturned: Boolean(container.importReturnContainer?.checked)\n };\n });\n }\n },\n /**\n * @description returns boolean value if origin has been changed during amend booking.\n * @param {object} state\n * @param {object} getters\n * @returns {boolean}\n */\n isOriginChangedInAmend(state, getters) {\n return Boolean(\n getters.getAmendData?.originLocation?.cityGeoId !== getters.getOriginalBookingData?.originLocation?.cityGeoId\n );\n },\n /**\n * @description returns boolean value if destination has been changed during amend booking.\n * @param {object} state\n * @param {object} getters\n * @returns {boolean}\n */\n isDestinationChangedInAmend(state, getters) {\n return Boolean(\n getters.getAmendData?.destinationLocation?.cityGeoId !==\n getters.getOriginalBookingData?.destinationLocation?.cityGeoId\n );\n },\n /**\n * @description returns boolean value if export service mode has been changed during amend booking.\n * @param {object} state\n * @param {object} getters\n * @returns {boolean}\n */\n isExportSrvcModeChangedInAmend(state, getters) {\n return Boolean(getters.getAmendData?.exportServiceMode !== getters.getOriginalBookingData?.exportServiceMode);\n },\n /**\n * @description returns boolean value if import service mode has been changed during amend booking.\n * @param {object} state\n * @param {object} getters\n * @returns {boolean}\n */\n isImportServiceModeChangedInAmend(state, getters) {\n return getters.getAmendData?.importServiceMode !== getters.getOriginalBookingData?.importServiceMode;\n },\n /**\n * @description returns boolean value if EDD has been changed during amend booking.\n * @param {object} state\n * @param {object} getters\n * @returns {boolean}\n */\n isEarliestDepartureDateChangedInAmend(state, getters) {\n return Boolean(\n dayjs(getters.getEarliestDepartureDate).format(\"YYYY-MM-DD\") !== getters.getEarliestDepartureDateFromBookingData\n );\n },\n /**\n * @description returns boolean value if any of the origin location or container type and quantity info is changed\n * @param {object} state\n * @param {object} getters\n * @returns {boolean}\n */\n isOriginOrContainerChanged(state, getters) {\n const hasOriginChanged =\n getters.getAmendData?.originLocation?.cityGeoId !== getters.getOriginalBookingData?.originLocation?.cityGeoId ||\n getters.getAmendData?.exportServiceMode !== getters.getOriginalBookingData?.exportServiceMode;\n\n const mapper = function(container) {\n if (!container) return {};\n const { isoCode, quantity, isShipperOwned, isOutOfGauge, isImportReturned } = container;\n return { isoCode, quantity, isShipperOwned, isOutOfGauge, isImportReturned };\n };\n\n const amendContainers = getters.getAmendData?.cargoDetails?.[0]?.containers.map(mapper);\n const originalContainers = getters.getOriginalBookingData?.cargoDetails?.[0]?.containers.map(mapper);\n const isContainerChanged = !deepEqual(amendContainers, originalContainers);\n\n return hasOriginChanged || isContainerChanged;\n },\n isOd3cChanged(state, getters, rootState, rootGetters) {\n const bookingData = getters.getOriginalBookingData;\n const amendData = getters.getAmendData;\n let isAmendData = false;\n // With OME-32169 changes, we need to allow users to continue with the booking\n // if the od3c is not changed and the container count is less than the original booking\n if (rootGetters[\"boFlags/getFlag\"](constants.featureFlags.od3cChangeWithReducedContainer.name)) {\n const amendDataWithoutContainers = deepClone(amendData);\n const bookingDataWithoutContainers = deepClone(bookingData);\n isAmendData = containersEqualButQtyLessThanOrig(\n amendDataWithoutContainers.cargoDetails?.[0]?.containers,\n bookingDataWithoutContainers.cargoDetails?.[0]?.containers\n );\n if (isAmendData) {\n delete amendDataWithoutContainers.cargoDetails[0].containers;\n delete bookingDataWithoutContainers.cargoDetails[0].containers;\n isAmendData = deepEqual(amendDataWithoutContainers, bookingDataWithoutContainers);\n }\n } else {\n isAmendData = deepEqual(amendData, bookingData);\n }\n // If GET dataset gives od3cChanged as true consider it as true\n return !isAmendData;\n },\n /**\n * @description returns true if container is gated in and user has changed destination. We need not check any other change since if flag is enabled then only\n * destination can be changed\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {boolean}\n */\n isDestinationChangeInAmend(state, getters, rootState, rootGetters) {\n //return false if not amend journey or flag is not enabled or no change is od3cp\n //and finally trigger if the containers are gated in.\n //TODO: need to move this function out to decrease complexity\n if (\n !getters.isAmendBooking ||\n !getters.isOd3cChanged ||\n getters.getAmendContainerStatus?.containerGateInStatus !== true\n )\n return false;\n\n //if here then it means something has changed in amend journey and flag is enabled\n //since flag is enabled we need to check for destination/destination service mode changes\n\n return (\n getters.getAmendData?.destinationLocation?.cityGeoId !==\n getters.getOriginalBookingData?.destinationLocation?.cityGeoId ||\n getters.getAmendData?.importServiceMode !== getters.getOriginalBookingData?.importServiceMode\n );\n },\n\n isContractDetailsEqual(state, getters) {\n const bookingDataContract = getters.getBookingData?.contractDetails;\n const amendDataContract = getters.getCommonDataForDataset?.contractDetails;\n if (\n amendDataContract &&\n Array.isArray(amendDataContract) &&\n amendDataContract.length > 0 &&\n amendDataContract[0].contractNumber\n ) {\n const userEntered = bookingDataContract?.find(\n contract => contract.contractIndicator === constants.contractIndicators.userEntered\n );\n return !!userEntered ? userEntered.contractNumber === amendDataContract[0].contractNumber : false;\n } else {\n return !bookingDataContract?.find(\n contract => contract.contractIndicator === constants.contractIndicators.userEntered\n )?.contractNumber;\n }\n },\n\n /**\n * @description if in amend journey any container is gated in then should enable destination only\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {boolean}\n */\n enableDestinationOnAmend(state, getters, rootState, rootGetters) {\n return Boolean(getters.isAmendBooking && getters.getAmendContainerStatus?.containerGateInStatus);\n },\n\n /**\n * @description trigger container picked up flow on amend journey. It should be used to disable the origin, commodity and container fields\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {boolean}\n */\n triggerOnContainerPickedUp(state, getters, rootState, rootGetters) {\n const isSocAmendCompleted = !(\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.socAmend.name) && getters.isSOCAmendInProgress\n );\n const isIrtAmendCompleted = !(\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.irtAmend.name) && getters.isIRTAmendInProgress\n );\n const isContainerPickedUp = Boolean(\n getters.isAmendBooking && getters.getAmendContainerStatus?.containerPickupStatus\n );\n return isContainerPickedUp && isSocAmendCompleted && isIrtAmendCompleted;\n },\n\n /**\n * @description disabled NAC call and nac history call based on destination status in amend or MLL brand\n * adding separate getter to disable nac popup and easy for future use\n * @param {Object} state\n * @param {Object} getters\n * @returns {boolean}\n */\n disableNACQuery(state, getters) {\n return isCurrentCarrierMLL(constants.localBrandOverride) || getters.enableDestinationOnAmend;\n },\n\n /**\n * @description Creates container status for amendment journey based on container Moves\n * @param state\n * @param getters\n * @return {Object}\n */\n getAmendContainerStatus(state, getters) {\n //Only check these flags for amend bookings. In duplicate these flags can be true as the api dumps existing/completed booking data\n //without any transformation.\n if (getters.isAmendBooking) {\n return state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getAmendContainerStatusFromBookingRequest\n : getters.getAmendContainerStatusFromDataset;\n }\n return {\n containerPickupStatus: false,\n containerGateInStatus: false\n };\n },\n /**\n * @description Gets the containerPickupStatus from getAmendContainerStatus\n * @param {Object} state\n * @param {Object} getters\n * @return {Boolean}\n */\n containerPickupStatus(state, getters) {\n return !!getters.getAmendContainerStatus?.containerPickupStatus;\n },\n /**\n * @description Gets the containerGateInStatus from getAmendContainerStatus\n * @param {Object} state\n * @param {Object} getters\n * @return {Boolean}\n */\n containerGateInStatus(state, getters) {\n return !!getters.getAmendContainerStatus?.containerGateInStatus;\n },\n /**\n * @description Disable oog or dg fields when container is gated in and oogAmend or dgAmend flag is on\n * @returns {boolean}\n */\n shouldDisableWhenContainerGatedIn(_, getters) {\n return (\n !!getters.getAmendContainerStatus?.containerGateInStatus &&\n (getters.isOogAmendBookingEnabled || getters.isDgAmendBookingEnabled)\n );\n },\n /**\n * @description Gets the departure details from booking data\n * @param state\n * @param getters\n * @return {Boolean|{originDepartureDatetime: String, originDepartureDatetimeUTC: String}}\n */\n getDepartureDetailsFromBookingData(state, getters) {\n return state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getDepartureDetailsFromBookingRequest\n : getters.getDepartureDetailsFromDataset;\n },\n /**\n * @description Gets the arrival details from booking data\n * @param state\n * @param getters\n * @return {Boolean|{destinationArrivalDatetime: String | null}}\n */\n getArrivalDetailsFromBookingData(state, getters) {\n return state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getArrivalDetailsFromBookingRequest\n : getters.getArrivalDetailsFromDataset;\n },\n /**\n * @description Gets the NAC Details from booking data(e.g dataset/booking request)\n * @param state\n * @param getters\n * @returns {Object}\n */\n getNacInfoFromBookingData(state, getters) {\n return state.bookingDataSource === constants.bookingDataSource.bookingRequest\n ? getters.getNacDataFromBookingRequest\n : getters.getNacDataFromDataset;\n },\n /**\n * @description Gets the flag true if dangerous to non dangerous amendment else false\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {boolean}\n */\n isDangerousToNonDangerousAmendment(state, getters, rootState, rootGetters) {\n return Boolean(getters.isAmendBooking && getters.getExistingBookingDangerous && !getters.getAmendData?.isDangerous);\n },\n /**\n * @description returns true if original booking is a SPOT offer and spotAmendSpecialCargo is not enabled and container type changed to Reefer, NOR, DG, OOG (outOfGaugeCargo), SOC (Shipper owned container), IRC (ImportReturnContainer) or multiple equipment size/type\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {boolean}\n */\n isContainerTypeNotAllowedInSpotAmend(state, getters, rootState, rootGetters) {\n const shouldBlockMultiContainer =\n !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.multiContainerTypeAmend.name) &&\n getters.isMultipleContainer;\n\n const shouldBlockOtherSpecialCargos =\n !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.spotAmendSpecialCargo.name) &&\n getters.isContainerNotAllowedInSpot;\n\n return Boolean(\n getters.isAmendBooking &&\n getters.isSpotInOriginalBooking &&\n (shouldBlockOtherSpecialCargos || shouldBlockMultiContainer)\n );\n },\n /**\n * @description returns true if original booking is a SPOT offer and any other amendment is in progress.\n *\n * If GCSS send the amendmentQuoteId while retrieving the booking details then it indicates that there an ongoing amendment is happening for the booking number.\n * If amendmentQuoteId is not present then it indicates that there is no amendment is in progress .\n *\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {boolean}\n */\n isSpotAmendInProgress(state, getters) {\n return Boolean(getters.isAmendBooking && getters.isSpotInOriginalBooking && getters.isAmendmentQuoteIdPresent);\n },\n /**\n * @description returns true if original booking is a flex offer and the given booking is being amended from another source.\n * @param {Object} state\n * @param {Object} getters\n * @returns {boolean}\n */\n isFlexAmendInProgress(state, getters) {\n return Boolean(\n getters.isAmendBooking &&\n (getters.isDeliveryAgreementTypeFlexContract || getters.isDeliveryAgreementTypeFlexFloating) &&\n getters.isAmendmentQuoteIdPresent\n );\n },\n /**\n * @description returns true if flag is enabled, it's amend journey and at least one container is shipper owned\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {Boolean}\n */\n isSOCAmendInProgress(state, getters, rootState, rootGetters) {\n return Boolean(\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.socAmend.name) &&\n getters.isAmendBooking &&\n getters.hadSOCInOriginalBooking\n );\n },\n /**\n * @description returns true if flag is enabled, it's amend journey and at least one container is import return\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {Boolean}\n */\n isIRTAmendInProgress(state, getters, rootState, rootGetters) {\n return Boolean(\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.irtAmend.name) &&\n getters.isAmendBooking &&\n getters.hadIRTInOriginalBooking\n );\n },\n /**\n * @description Checks if price owner is changed\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n isPriceOwnerChanged(state, getters) {\n const getPO = parties => (parties || [])?.find(party => party?.roleCode === constants.userRoles.PRICE_OWNER);\n const amendedPO = getPO(getters.getAmendData?.parties);\n const originalPO = getPO(getters.getOriginalBookingData?.parties);\n return !deepEqual(amendedPO, originalPO);\n },\n /**\n * @description Checks if amend by price owner is applicable\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean}\n */\n isAmendByPOApplicable(state, getters, rootState, rootGetters) {\n return (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.amendByPriceOwner.name) &&\n getters.isAmendBooking &&\n !getters.isLoggedInUserSameAsOriginalBookedBy\n );\n },\n /**\n * @description returns true if original booking(dataset or bookingInfo) had at least one shipper owned containers\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {boolean}\n */\n hadSOCInOriginalBooking(state, getters, rootState, rootGetters) {\n if (getters.getBookingDataSource === constants.bookingDataSource.bookingRequest)\n return getters.hadSOCInOriginalBookingFromBookingRequest;\n return getters.hadSOCInOriginalBookingFromDataset;\n },\n /**\n * @description returns true if in original booking was nor booking\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {boolean}\n */\n hadNorInOriginalBooking(state, getters, rootState, rootGetters) {\n return (\n !getters.getBookingDataFromBookingRequest?.isReefer &&\n (getters.getBookingDataFromBookingRequest?.equipmentAndHaulage?.containerDetails || []).some(\n container => container?.type === constants.reeferCargoType\n )\n );\n },\n /**\n * @description returns true if original booking(bookingInfo) had at least one shipper owned containers\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {boolean}\n */\n hadSOCInOriginalBookingFromBookingRequest(state, getters, rootState, rootGetters) {\n const containers = getters.getBookingDataFromBookingRequest?.equipmentAndHaulage?.containerDetails ?? [];\n return (containers || []).some(container => container?.isShipperOwned === true);\n },\n /**\n * @description returns true if original booking(bookingInfo) had at least one shipper owned containers\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {boolean}\n */\n hadSOCInOriginalBookingFromDataset(state, getters, rootState, rootGetters) {\n const _containers = getters.getBookingDataFromDataset?.cargoDetails.reduce((containers, cargo) => {\n if (!cargo?.containers) return containers;\n return [...containers, ...cargo.containers];\n }, []);\n return (_containers || []).some(container => container?.isShipperOwned === true);\n },\n /**\n * @description returns true if original booking(dataset or bookingInfo) had at least one import return container\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {boolean}\n */\n hadIRTInOriginalBooking(state, getters, rootState, rootGetters) {\n if (getters.getBookingDataSource === constants.bookingDataSource.bookingRequest)\n return getters.hadIRTInOriginalBookingFromBookingRequest;\n return getters.hadIRTInOriginalBookingFromDataset;\n },\n /**\n * @description returns true if original booking(bookingInfo) had at least one import return container\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {boolean}\n */\n hadIRTInOriginalBookingFromBookingRequest(state, getters, rootState, rootGetters) {\n const containers = getters.getBookingDataFromBookingRequest?.equipmentAndHaulage?.containerDetails ?? [];\n return (containers || []).some(container => container?.isImportReturned === true);\n },\n /**\n * @description returns true if original booking(bookingInfo) had at least one import return container\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {boolean}\n */\n hadIRTInOriginalBookingFromDataset(state, getters, rootState, rootGetters) {\n const _containers = getters.getBookingDataFromDataset?.cargoDetails.reduce((containers, cargo) => {\n if (!cargo?.containers) return containers;\n return [...containers, ...cargo.containers];\n }, []);\n\n return (_containers || []).some(container => container?.isImportReturned === true);\n },\n /**\n * @description Sets the object for load & discharge ports in amend based on which the departures payload is updated.\n * @param {Object} state\n * @param {Object} getters\n * @returns {{originalBookingLoadPort: string, originalBookingDischargePort:string}}\n */\n getPortsForOd3cpAmendDeparturesRequest(state, getters) {\n const originalBookingLoadPort = getters.getBookingData?.transport?.routeDetails?.preferredLoadPort?.maerskCityGeoId;\n const originalBookingDischargePort =\n getters.getBookingData?.transport?.routeDetails?.preferredDischargePort?.maerskCityGeoId;\n const shouldSendLoadPort = !getters.isOriginChangedInAmend && originalBookingLoadPort;\n const shouldSendDischargePort = !getters.isDestinationChangedInAmend && originalBookingDischargePort;\n return {\n ...(shouldSendLoadPort && {\n originalBookingLoadPort\n }),\n ...(shouldSendDischargePort && {\n originalBookingDischargePort\n })\n };\n },\n isDeliveryAgreementTypeSpot(state, getters) {\n return constants.SPOTDeliveryAgreementTypes.includes(String(getters.bookingSourceSystem));\n },\n isDeliveryAgreementTypeRollableSpot(state, getters) {\n return constants.SPOTRollableDeliveryAgreementTypes.includes(String(getters.bookingSourceSystem));\n },\n isDeliveryAgreementTypeFlexContract(state, getters) {\n return constants.flexContractDeliveryAgreementTypes.includes(String(getters.bookingSourceSystem));\n },\n isDeliveryAgreementTypeFlexFloating(state, getters) {\n return constants.flexFloatingDeliveryAgreementTypes.includes(String(getters.bookingSourceSystem));\n },\n /**\n * @description Check if the amend booking request data is Flex Now Offer\n * @param {object} state\n * @param {object} getters\n * @returns {boolean}\n */\n isDeliveryAgreementTypeFlexNow(state, getters) {\n return constants.flexNowDeliveryAgreementType === String(getters.bookingSourceSystem);\n },\n /**\n * @description Check if the amend booking request data is Block Space Offer\n * @param {object} state\n * @param {object} getters\n * @returns {boolean}\n */\n isDeliveryAgreementTypeBlockSpace(state, getters, rootState, rootGetters) {\n return (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.blockSpaceAmend.name) &&\n constants.blockSpaceDeliveryAgreementType === String(getters.bookingSourceSystem)\n );\n },\n isOogAmendBookingEnabled(state, getters, rootState, rootGetters) {\n return !!(getters.isAmendBooking && rootGetters[\"boFlags/getFlag\"](constants.featureFlags.oogAmend.name));\n },\n isDgAmendBookingEnabled(state, getters, rootState, rootGetters) {\n return !!(getters.isAmendBooking && rootGetters[\"boFlags/getFlag\"](constants.featureFlags.dgAmend.name));\n },\n isMultiContainerAmendBookingEnabled(state, getters, rootState, rootGetters) {\n return !!(\n getters.isAmendBooking && rootGetters[\"boFlags/getFlag\"](constants.featureFlags.multiContainerTypeAmend.name)\n );\n },\n isSocAmendBookingEnabled(state, getters, rootState, rootGetters) {\n return !!(getters.isAmendBooking && rootGetters[\"boFlags/getFlag\"](constants.featureFlags.socAmend.name));\n },\n isIrtAmendBookingEnabled(state, getters, rootState, rootGetters) {\n return !!(getters.isAmendBooking && rootGetters[\"boFlags/getFlag\"](constants.featureFlags.irtAmend.name));\n },\n isIrtAmendDisablingApplicable(state, getters) {\n return getters.isAnyImportReturned && getters.isIrtAmendBookingEnabled;\n },\n isSocAmendDisablingApplicable(state, getters) {\n if (getters.isAmendBooking) return false;\n return getters.isSocAmendBookingEnabled && getters.isAnyShipperOwned;\n },\n isIrtSocAmendDisablingApplicable(state, getters) {\n return getters.isIrtAmendDisablingApplicable || getters.isSocAmendDisablingApplicable;\n },\n /**\n * @description get offer contract type for the amend original booking\n * @param {object} state\n * @param {object} getters\n * @returns {string} contract type\n */\n getOriginalRouteType: (state, getters) => contractNumber => {\n const contractType = constants.sailings.contractType;\n if (getters.isDeliveryAgreementTypeSpot) return contractType.spot;\n if (getters.isDeliveryAgreementTypeFlexContract) return contractType.fixed;\n if (getters.isDeliveryAgreementTypeFlexFloating) return contractType.floating;\n if (getters.isDeliveryAgreementTypeBlockSpace) return contractType.blockSpace;\n if (getters.isDeliveryAgreementTypeFlexNow) return contractType.flexNow;\n return !contractNumber ? contractType.markettariff : contractType.contract;\n },\n getDisabledHintAmend(_, getters) {\n if (!!getters.getAmendContainerStatus?.containerGateInStatus)\n return Vue.prototype.$t(\"details.component.disabledGateInMessage\");\n if (!!getters.getAmendContainerStatus?.containerPickupStatus)\n return Vue.prototype.$t(\"details.component.disabledPickedUpMessage\");\n return null;\n },\n // TODO: Remove isOriginalBookingConfirmationPending getter after the release of isBookingFromBookingRequestHardStop flag\n isOriginalBookingConfirmationPending(state, getters, rootState, rootGetters) {\n return !!(\n getters.isAmendBooking &&\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.hardStopUnconfirmedBookings.name) &&\n !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.hardStopAmendDuplicate.name) &&\n (getters.getBookingDataFromBookingRequest?.activityTasks || []).some(\n item =>\n item?.taskName === constants.activityTasks.confirmShipment &&\n item?.taskStatusName !== constants.activityTasks.taskStatusNameClosed\n )\n );\n },\n /**\n @description This getter checks if we can retain specific container DG/OOG cards\n * @param {*} state\n * @param {*} getters\n * @param {*} rootGetters\n * @param {Number} typeIndex\n * @returns {Boolean}\n */\n canRetainContainerSettings: (state, getters, rootState, rootGetters) => typeIndex => {\n if (!getters.isDgAmendBookingEnabled || !getters.isOogAmendBookingEnabled) return false;\n const isOogChecked = getters.getContainerSelect?.[typeIndex]?.overSizedCargo?.checked;\n const currentContainerQuantity = Number(getters.getContainerSelect?.[typeIndex]?.quantity);\n const previousContainerQuantity = Number(getters.getPreviousQuantityOfContainer(typeIndex));\n const anyDgCardNotEmpty =\n isOogChecked ||\n (rootGetters[\"dangerousSettingsData/getDgContainerSettingsByType\"](typeIndex) || []).some(\n containerSetting => containerSetting.settings.length\n );\n if (!previousContainerQuantity) {\n return true;\n }\n return !!(\n previousContainerQuantity > 0 &&\n !!(currentContainerQuantity - previousContainerQuantity) &&\n anyDgCardNotEmpty\n );\n },\n /**\n @description Returns the instanceId created by gcss for the container in the original booking\n * Note: To be removed after the release of containerInstanceIdsForAmend flag\n * TODO: Remove this getter after the departureContainerRefs is tested\n * @param {Object} getters\n * @param {Number} typeIndex\n * @param {Number} containerIndex\n * @returns {String | null}\n */\n getContainerInstanceIdBooking: (_, getters) => (typeIndex, containerIndex) => {\n if (\n getters.shouldCreateContainerRefAmendIrtSoc(typeIndex) ||\n !getters.isDgAmendBookingEnabled ||\n !getters.isOogAmendBookingEnabled\n )\n return null;\n\n const originalIsoCode = getters.getOriginalContainers?.[typeIndex]?.isoCode;\n const currentIsoCode = getters.getContainerSelect?.[typeIndex]?.containerType?.isoContainerSizeTypeCd;\n if (originalIsoCode !== currentIsoCode) return null;\n\n return (\n getters.getContainerInstances.find(\n containerInstance =>\n containerInstance?.typeIndex === typeIndex && containerInstance?.containerIndex === containerIndex\n )?.instanceId ?? null\n );\n },\n /**\n * Returns true if booking is in amendment status and any container is gated in and any of the destination or import\n * service mode has been changed\n * @param _ state\n * @param getters od3cp getters\n * @returns {boolean}\n */\n isChangeOfDestination(_, getters) {\n return (\n getters.isAmendBooking &&\n getters.containerGateInStatus &&\n (getters.isDestinationChangedInAmend || getters.isImportServiceModeChangedInAmend)\n );\n },\n /**\n * @description returns transportControlNumbers from containerInstances which acts as source for MLL TCN in amends\n * @param {*} state\n * @param {*} getters\n * @returns\n */\n getTcnFromContainerInstances(state, getters) {\n return getters.getContainerSelect.flatMap((container, typeIndex) => {\n const instances = getters.getContainerInstances.filter(instance => instance.typeIndex === typeIndex);\n if (!instances.length) return new Array(container.quantity).fill(null);\n return Array.from(\n { length: container.quantity },\n (_, containerIndex) =>\n instances.find(instance => instance.containerIndex === containerIndex)?.transportControlNumber ?? null\n );\n });\n },\n // TODO: Remove this after departureContainerRefs is tested\n shouldCreateContainerRefAmendIrtSoc: (_, getters) => typeIndex => {\n if (!getters.isAmendBooking) return false;\n const containerOriginal =\n getters.getBookingDataFromBookingRequest?.equipmentAndHaulage?.containerDetails?.[typeIndex];\n const container = getters.getContainerSelect?.[typeIndex];\n return (\n containerOriginal?.isoCode === container?.containerType?.isoContainerSizeTypeCd &&\n (containerOriginal?.isShipperOwned !== container?.shipperOwnContainer?.checked ||\n containerOriginal?.isImportReturned !== container?.importReturnContainer?.checked)\n );\n },\n /**\n * @description returns original containers\n * @param {*} state\n * @returns {Array}\n */\n getOriginalContainers(state) {\n return state.originalContainers;\n }\n};\n","import { getCityGeoId } from \"@/lib/od3cp/od3cpUtilities\";\nimport { mapContainers } from \"@/common/utils/mappers/od3cp/dataSetToOd3cpFormDataMapper\";\nimport { deepEqual } from \"@/common/utils/generic/objectDeepComparison\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { getMappedNacFromBookingData, mapParty } from \"@/common/utils/mappers/od3cp/mappersUtilities\";\nimport { PARTY_KEYS_DATASET } from \"@/common/utils/enums\";\n\n/**\n * All the getters related to dataset\n */\nexport default {\n /**\n * @description Gets the booking information from dataset\n * @param {Object} state\n * @returns {String} Booking data\n */\n getBookingDataFromDataset(state) {\n return state.bookingDataFromDataset;\n },\n /**\n * @description Gets the booking information from dataset\n * @param {Object} state\n * @returns {String} Booking data\n */\n od3cChangeFromDataset(state) {\n return state.bookingDataFromDataset?.od3cChanged;\n },\n /**\n * @description Gets the departureDate from the dataset\n * @param {Object} state\n * @returns {String} The Earliest Departure Date\n */\n getEarliestDepartureDateFromDataset(state) {\n return state.bookingDataFromDataset?.departureDate;\n },\n /**\n * Creates booking data i.e data received from dataset API to compare with updated data due to user's actions in amend\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {Object}\n */\n getOriginalBookingDataFromDataset(state, getters, rootState, rootGetters) {\n const data = getters.getBookingDataFromDataset;\n if (!data) return;\n\n return {\n exportServiceMode: data.exportServiceMode,\n importServiceMode: data.importServiceMode,\n originLocation: { cityGeoId: data.originLocation?.cityGeoId },\n destinationLocation: { cityGeoId: data.destinationLocation?.cityGeoId },\n alternatePickupLocation: { cityGeoId: getCityGeoId(data.alternatePickupLocation?.cityGeoId) ?? null },\n isReefer: data.isReefer,\n isDangerous: data.isDangerous,\n cargoDetails: [\n {\n commodityCode:\n data.cargoDetails && data.cargoDetails[0]?.commodityCode ? data.cargoDetails[0]?.commodityCode : \"\",\n containers: mapContainersDetails()\n }\n ],\n parties: mapParty({ parties: data?.parties, partyCodeKey: PARTY_KEYS_DATASET.PARTY_CODE })\n };\n\n function mapContainersDetails() {\n const mappedContainers = mapContainers(data, rootGetters[\"userSettings/unitPreference\"]);\n return (mappedContainers || []).map(container => {\n return {\n isoCode: container.containerType.isoContainerSizeTypeCd,\n quantity: container.quantity,\n cargoWeight: container.weightPerContainer.toString(),\n isShipperOwned: container.shipperOwnContainer.checked,\n isOutOfGauge: container.overSizedCargo.checked\n };\n });\n }\n },\n /**\n * @description Creates container status for amendment journey based on container Moves\n * @param state\n * @param getters\n * @return {Object}\n */\n getAmendContainerStatusFromDataset(state, getters) {\n const bookingData = getters.getBookingDataFromDataset;\n if (!bookingData) return;\n\n if (bookingData.containerPickupStatus || bookingData.containerGateInStatus) {\n return {\n containerPickupStatus: bookingData.containerPickupStatus,\n containerGateInStatus: bookingData.containerGateInStatus\n };\n }\n const cargoDetails = bookingData.cargoDetails;\n if (!cargoDetails || !(Array.isArray(cargoDetails) && cargoDetails.length > 0)) {\n return {\n containerPickupStatus: false,\n containerGateInStatus: false\n };\n }\n let isContainerPickedUp = false;\n let isContainerGatedIn = false;\n //TODO need to refactor as every 's return is not considered.\n cargoDetails[0]?.containers?.every(container => {\n isContainerGatedIn = container?.containerMoves?.some(moves =>\n deepEqual(moves, constants.containerMovesForGatedIn)\n );\n isContainerPickedUp = isContainerGatedIn;\n return !isContainerGatedIn;\n });\n if (!isContainerGatedIn) {\n cargoDetails[0]?.containers?.every(container => {\n isContainerPickedUp = container?.containerMoves?.some(moves =>\n deepEqual(moves, constants.containerMovesForPickedUp)\n );\n return !isContainerPickedUp;\n });\n }\n return {\n containerPickupStatus: isContainerPickedUp,\n containerGateInStatus: isContainerGatedIn\n };\n },\n /**\n * @description Gets the NAC Details from dataset\n * @param state\n * @returns {Object}\n */\n getNacDataFromDataset(state) {\n return getMappedNacFromBookingData({\n parties: state.bookingDataFromDataset?.parties,\n partyCodeKey: PARTY_KEYS_DATASET.PARTY_CODE,\n nameKey: PARTY_KEYS_DATASET.NAME\n });\n },\n /**\n * @description Gets pricing contract details from dataset\n * @param {Object} state\n * @param {Object} getters\n * @return {Array}\n */\n getPricingContractDetailsFromDataset(state, getters) {\n const contractList = getters.getBookingDataFromDataset?.contractDetails;\n return contractList\n ? contractList.filter(contract => contract.contractIndicator === constants.contractIndicators.pricing)\n : [];\n },\n /**\n * @description Gets contract details from dataset with or without pricing\n * @param {Object} state\n * @param {Object} getters\n * @return {Object | undefined}\n */\n getContractDetailFromDataset(state, getters) {\n const contractList = getters.getBookingDataFromDataset?.contractDetails;\n const contractWithPricing = contractList?.find(c => {\n return c.contractNumber && c.contractIndicator === constants.contractIndicators.pricing;\n });\n const contractWithOutPricing = contractList?.find(c => Boolean(c.contractNumber));\n return !!contractWithPricing ? contractWithPricing : contractWithOutPricing;\n },\n /**\n * @description Gets the departure details from dataset\n * @param state\n * @param getters\n * @return {Boolean|{originDepartureDatetime: String, originDepartureDatetimeUTC: String}} Departure info\n */\n getDepartureDetailsFromDataset(state, getters) {\n const bookingData = getters.getBookingDataFromDataset;\n return (\n Array.isArray(bookingData?.shipmentRoute) &&\n bookingData.shipmentRoute.length > 0 && {\n originDepartureDatetime: bookingData.shipmentRoute[0].originDepartureDatetime,\n originDepartureDatetimeUTC: bookingData.shipmentRoute[0].originDepartureDatetimeUTC\n }\n );\n },\n /**\n * @description Gets the arrival details from dataset\n * @param state\n * @param getters\n * @return {Boolean|{destinationArrivalDatetime: String | null}} The arrival info from dataset\n */\n getArrivalDetailsFromDataset(state, getters) {\n const bookingData = getters.getBookingDataFromDataset;\n return (\n Array.isArray(bookingData?.shipmentRoute) &&\n bookingData.shipmentRoute.length > 0 && {\n destinationArrivalDatetime:\n bookingData.shipmentRoute?.[bookingData?.shipmentRoute?.length - 1]?.destinationArrivalDatetime ?? null\n }\n );\n },\n /**\n * @description gets the original route schedule from datasets in the format the backend requires.\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} Route Schedule\n */\n getOriginalRouteScheduleForAmendFromDatasets(state, getters) {\n return (getters.getBookingDataFromDataset?.shipmentRoute || []).map(link => {\n return {\n originDepartureDatetime: link?.originDepartureDatetime,\n destinationArrivalDatetime: link?.destinationArrivalDatetime,\n rkstCarrierCode: link?.rkstCarrierCode,\n startLocation: {\n siteGeoId: link?.startLocation?.siteGeoId\n },\n endLocation: {\n siteGeoId: link?.endLocation?.siteGeoId\n }\n };\n });\n },\n /**\n * @description gets the UCR from dataset\n * @param {Object} state\n * @param {Object} getters\n * @returns {Object} The UCR data\n */\n getUCRFromDataSet(state, getters) {\n return getters.getBookingDataFromDataset?.additionalReferences\n ?.map(reference => {\n return { name: reference?.additionalReferenceName, value: reference?.additionalReferenceValue };\n })\n ?.find(reference => reference?.name === constants.references.UCR);\n },\n /**\n * @description gets the Flex Hub selected data from dataset\n * @param {Object} state\n * @param {Object} getters\n * @returns {Object} The UCR data\n */\n getFlexHubSelectedStateFromDataSet(state, getters) {\n return getters.getBookingDataFromDataset?.additionalReferences\n ?.map(reference => {\n return { name: reference?.additionalReferenceName, value: reference?.additionalReferenceValue };\n })\n ?.find(reference => reference?.name === constants.references.flexHub);\n },\n /**\n * @description gets the additional references from dataset\n * @param {Object} state\n * @param {Object} getters\n * @returns {Object} The UCR data\n */\n getReferencesFromDataSetForDatasetPayload(state, getters) {\n return getters.getBookingDataFromDataset?.additionalReferences;\n },\n /**\n * @description returns the boolean value from booking data or additional payload. additionally it converts string to boolean\n * @param {Object} state\n * @param {object} bookingData\n * @returns {boolean}\n */\n getIsExistingBookingDangerous(state, getters) {\n const bookingData = getters.getBookingDataFromDataset;\n const isExistingBookingDangerous =\n bookingData?.additionalPayload?.isExistingBookingDangerous ?? bookingData.isDangerous;\n if (typeof isExistingBookingDangerous === \"string\") {\n return isExistingBookingDangerous.toLowerCase() === \"true\";\n }\n return isExistingBookingDangerous;\n }\n};\n","import {\n getOriginServiceModeFromBrData,\n getDestinationServiceModeFromBrData,\n getOriginLocationFromBrData,\n getDestinationLocationFromBrData,\n getAlternatePickupLocationFromBrData,\n getCommodityCodeFromBrData,\n getMappedContainersDetailsFromOriginalData,\n getMappedNacFromBookingData,\n mapParty,\n mapLocationFromBrForDataset,\n getMappedReeferDetailsFromBookingRequest,\n getMappedOogDetailsFromBookingRequest\n} from \"@/common/utils/mappers/od3cp/mappersUtilities\";\nimport { mapContainers, mapDgContainers } from \"@/common/utils/mappers/od3cp/bookingRequestToOd3cpFormDataMapper\";\nimport { PARTY_KEYS_BOOKING_REQUEST } from \"@/common/utils/enums\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport * as bookingRequestMappers from \"@/common/utils/mappers/od3cp/bookingRequestToOd3cpFormDataMapper\";\n\n/**\n * All the other getters related to booking request mapping\n */\nexport default {\n /**\n * the getters which are specific to BR will be placed here\n */\n\n /**\n * @description Gets the booking data from the booking requests api\n * @param {Object} state\n * @returns {Object} The booking data\n */\n getBookingDataFromBookingRequest(state) {\n return state.bookingDataFromBookingRequest;\n },\n /**\n * @description Gets the earliestDepartureDate from the booking requests api\n * @param {Object} state\n * @returns {String} The Earliest Departure Date\n */\n getEddFromBrData(state) {\n return state.bookingDataFromBookingRequest?.transport?.earliestDepartureDate;\n },\n\n /**\n * Creates booking data i.e data received from booking request API to compare with updated data due to user's actions in amend\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {Object}\n */\n getOriginalBookingDataFromBookingRequest(state, getters, rootState, rootGetters) {\n const data = getters.getBookingDataFromBookingRequest;\n if (!data) return;\n const isReeferDetailsApplicable = data?.reeferDetails && getters.isAmendBooking && getters.isReeferSettingsVisible;\n const isOogDetailsApplicable =\n data?.equipmentAndHaulage?.containerDetails?.some(container => container?.outOfGauge?.length > 0) &&\n getters.isAmendBooking &&\n getters.anyODDSizedContainerWithOOGChecked;\n const isDgDetailsApplicable = data?.isDangerous && getters.isAmendBooking && getters.isDGSettingsNecessary;\n return {\n exportServiceMode: getOriginServiceModeFromBrData(data),\n importServiceMode: getDestinationServiceModeFromBrData(data),\n originLocation: { cityGeoId: getOriginLocationFromBrData(data) },\n destinationLocation: { cityGeoId: getDestinationLocationFromBrData(data) },\n alternatePickupLocation: {\n cityGeoId: getAlternatePickupLocationFromBrData(data)\n },\n isReefer: data.isReefer ?? false,\n isDangerous: data.isDangerous ?? false,\n cargoDetails: [\n {\n commodityCode: getCommodityCodeFromBrData(data),\n containers: getMappedContainersDetailsFromOriginalData(\n mapContainers(data, rootGetters[\"userSettings/unitPreference\"])\n )\n }\n ],\n parties: mapParty({ parties: data?.parties, partyCodeKey: PARTY_KEYS_BOOKING_REQUEST.PARTY_CODE }),\n ...(isReeferDetailsApplicable && {\n reeferDetails: getMappedReeferDetailsFromBookingRequest(\n data.reeferDetails,\n rootGetters[\"userSettings/useMetric\"]\n )\n }),\n ...(isOogDetailsApplicable && {\n oogDetails: getMappedOogDetailsFromBookingRequest(\n data?.equipmentAndHaulage?.containerDetails,\n rootGetters[\"userSettings/unitPreference\"]\n )\n }),\n ...(isDgDetailsApplicable && {\n dgDetails: mapDgContainers({\n bookingData: data,\n useMetric: rootGetters[\"userSettings/useMetric\"],\n imdgAmendmentsResponse: rootState?.dangerousSettingsData?.imdgAmendmentsResponse,\n packingType: rootState?.dangerousSettingsData?.packingType\n }).sort((c1, c2) => {\n if (c1.typeIndex < c2.typeIndex) {\n return -1;\n }\n return 0;\n })\n })\n };\n },\n /**\n * @description Creates container status for amendment journey based on container Moves\n * @param state\n * @param getters\n * @return {Object}\n */\n getAmendContainerStatusFromBookingRequest(state, getters) {\n const bookingData = getters.getBookingDataFromBookingRequest;\n return {\n containerPickupStatus: bookingData?.isContainerPickedUp ?? false,\n containerGateInStatus: bookingData?.isContainerGatedIn ?? false\n };\n },\n /**\n * @description Gets the NAC Details from booking request\n * @param state\n * @returns {Object}\n */\n getNacDataFromBookingRequest(state) {\n return getMappedNacFromBookingData({\n parties: state.bookingDataFromBookingRequest?.parties,\n partyCodeKey: PARTY_KEYS_BOOKING_REQUEST.PARTY_CODE,\n nameKey: PARTY_KEYS_BOOKING_REQUEST.NAME\n });\n },\n /**\n * @description Gets the departure details from Booking Requests API\n * @param {object} rootState\n * @param {object} rootGetters\n * @return {Boolean|{originDepartureDatetime: String, originDepartureDatetimeUTC: String}} Departure Info\n */\n //Todo: originDepartureDatetimeUTC is not currently available in the booking request response,\n //need clarification from BA\n getDepartureDetailsFromBookingRequest(state, getters, rootState, rootGetters) {\n const bookingSchedules =\n getters.getBookingDataFromBookingRequest?.transport?.routeDetails?.selectedRoute?.bookingSchedules;\n const showHoursInTransitTime = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.showHoursInTransitTime.name);\n return (\n Array.isArray(bookingSchedules) &&\n bookingSchedules.length > 0 && {\n originDepartureDatetime: showHoursInTransitTime\n ? bookingSchedules[0]?.originDepartureDateTime\n : bookingSchedules[0]?.originDepartureDateTimeLocal,\n originDepartureDatetimeUTC: bookingSchedules[0]?.originDepartureDateTimeLocal\n }\n );\n },\n /**\n * @description Gets the arrival details from booking request\n * @param state\n * @param getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @return {Boolean|{destinationArrivalDatetime: String | null}} The arrival info from booking request\n */\n getArrivalDetailsFromBookingRequest(state, getters, rootState, rootGetters) {\n const bookingSchedules =\n getters.getBookingDataFromBookingRequest?.transport?.routeDetails?.selectedRoute?.bookingSchedules;\n const showHoursInTransitTime = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.showHoursInTransitTime.name);\n return (\n Array.isArray(bookingSchedules) &&\n bookingSchedules.length > 0 && {\n destinationArrivalDatetime: showHoursInTransitTime\n ? bookingSchedules?.[bookingSchedules?.length - 1]?.destinationArrivalDateTime ?? null\n : bookingSchedules?.[bookingSchedules?.length - 1]?.destinationArrivalDateTimeLocal ?? null\n }\n );\n },\n /**\n * @description gets the original route schedule from booking-requests api in the format the backend requires.\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} array\n */\n getOriginalRouteScheduleForAmendFromBookingRequest(state, getters) {\n const bookingSchedules =\n getters.getBookingDataFromBookingRequest?.transport?.routeDetails?.selectedRoute?.bookingSchedules;\n return (bookingSchedules || []).map(link => {\n return {\n originDepartureDatetime: link?.originDepartureDateTimeLocal,\n destinationArrivalDatetime: link?.destinationArrivalDateTimeLocal,\n rkstCarrierCode: link?.inlandCarrierCode,\n startLocation: {\n siteGeoId: link?.startLocation?.maerskSiteGeoId\n },\n endLocation: {\n siteGeoId: link?.endLocation?.maerskSiteGeoId\n }\n };\n });\n },\n /**\n *@description Gets contract details from booking request\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array}\n */\n getContractDetailsFromBookingRequest(state, getters) {\n // Note: In case of BR is service contract is there indicator will be PRICING\n const contractNumber = getters.getBookingDataFromBookingRequest?.references?.serviceContract;\n return contractNumber ? [{ contractNumber, contractIndicator: constants.contractIndicators.pricing }] : [];\n },\n /**\n * @description gets the reference data from booking request\n * @param {Object} state\n * @param {Object} getters\n * @returns {Object|null} The references data\n */\n getReferenceFromBookingRequest: (state, getters) => ref => {\n return (\n getters.getBookingDataFromBookingRequest?.additionalReferences?.find(\n reference => reference?.name === constants.references[ref]\n ) ?? null\n );\n },\n /**\n * @description checks original commodity has changed in amend journey\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n isOriginalCommodityChanged(state, getters) {\n return getters.getCommodity?.commodity?.commodityCode !== getters.getBookingData?.cargo?.maerskCommodityCode;\n },\n /**\n * @description gets the Flex Hub selected data from booking request\n * @param {Object} state\n * @param {Object} getters\n * @returns {Object} The references data\n */\n getFlexHubSelectedStateFromBookingRequest(state, getters) {\n return getters.getBookingDataFromBookingRequest?.additionalReferences?.find(\n reference => reference?.name === constants.references.flexHub\n );\n },\n /**\n * @description gets the additional references from booking request\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} The additional references\n */\n getReferencesFromBookingRequestForDatasetPayload(state, getters) {\n return getters.getBookingDataFromBookingRequest?.additionalReferences?.map(reference => {\n return {\n additionalReferenceName: reference?.name,\n additionalReferenceValue: reference?.value\n };\n });\n },\n /**\n * @description gets the shipment routes from booking request\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array | undefined} The shipment routes\n */\n getShipmentRouteFromBookingRequestForDatasetPayload(state, getters) {\n const bookingSchedules =\n getters.getBookingDataFromBookingRequest?.transport?.routeDetails?.selectedRoute?.bookingSchedules;\n if (!Array.isArray(bookingSchedules)) return;\n return bookingSchedules?.map(schedule => {\n return {\n startLocation: mapLocationFromBrForDataset(schedule?.startLocation),\n endLocation: mapLocationFromBrForDataset(schedule?.endLocation),\n transportModeCode: schedule?.transportModeCode,\n originDepartureDatetime: schedule?.originDepartureDateTimeLocal,\n originDepartureDatetimeUTC: schedule?.originDepartureDateTimeUTC,\n destinationArrivalDatetime: schedule?.destinationArrivalDateTimeLocal,\n transport: {\n vessel: {\n code: schedule?.transportMode?.vessel?.maerskId,\n name: schedule?.transportMode?.vessel?.name\n },\n voyageNumber: schedule?.transportMode?.exportVoyageNumber\n },\n rkstCarrierCode: schedule?.inlandCarrierCode\n };\n });\n },\n /**\n * @description gets the number of containers of original booking from booking request\n * @param {object} state\n * @param {object} getters\n * @returns {number}\n */\n getNumberOfContainersFromBookingRequest(state, getters) {\n return (getters.getBookingDataFromBookingRequest?.equipmentAndHaulage?.containerDetails || [])?.reduce(\n (prevSum, container) => prevSum + parseInt(container.quantity),\n 0\n );\n },\n /**\n * @description Call getBookingDataFromBookingRequest for DG?\n * @returns {boolean}\n */\n getBrDgShipmentBinder(state, getters, rootState, rootGetters) {\n const { originalShipmentNumber, bookingType, isDangerous } = getters.getBookingDataFromDataset || {};\n return (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.bookingInfoFromBookingRequestDG.name) &&\n !!originalShipmentNumber &&\n bookingType === constants.bookingType.duplicate &&\n isDangerous\n );\n },\n /**\n * @description Call getBookingDataFromBookingRequest for reefer?\n * @returns {boolean}\n */\n getBrReeferShipmentBinder(state, getters, rootState, rootGetters) {\n const { originalShipmentNumber, bookingType, isReefer } = getters.getBookingDataFromDataset || {};\n return (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.reeferDuplicationShipmentBinder.name) &&\n !!originalShipmentNumber &&\n bookingType === constants.bookingType.duplicate &&\n isReefer\n );\n },\n /**\n * @description returns true if amendmentQuoteId present in the references of original booking details\n * @param {object} state\n * @param {object} getters\n * @returns {boolean}\n */\n isAmendmentQuoteIdPresent(state, getters) {\n return !!getters.getBookingDataFromBookingRequest?.references?.amendmentQuoteId;\n },\n /**\n * @description checks if roleCode 42 is present in booking request for price owner\n * @param {object} state\n * @param {object} getters\n * @returns {Object}\n */\n getMappedPriceOwner(state, getters) {\n return bookingRequestMappers.mapPriceOwner(getters.getBookingDataFromBookingRequest);\n },\n /**\n * @description Gets the message key for hard stop message for amend or duplicate journey from new shipment binder page\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {String}\n */\n getHardStopMessageKey(state, getters, rootState, rootGetters) {\n const bookingDataFromBookingRequest = getters.getBookingDataFromBookingRequest;\n const errorKey = constants.exceptionTypes.error.toLowerCase();\n const amendNotAllowedReason = bookingDataFromBookingRequest?.bookingAction?.amendNotAllowedReason ?? errorKey;\n const duplicateNotAllowedReason =\n bookingDataFromBookingRequest?.bookingAction?.duplicateNotAllowedReason ?? errorKey;\n return getters.isAmendBooking ? amendNotAllowedReason : duplicateNotAllowedReason;\n },\n /**\n * @description Checks if we need to hard stop the booking if it is for\n * amend or duplicate journey from new shipment binder page\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {Boolean}\n */\n isBookingFromBookingRequestHardStop(state, getters, rootState, rootGetters) {\n /* For bookings retrived from new shipment binder\n * if bookingAction has canAmend, canDuplicate or canCancel value as false,\n * then we need to hardstop the user\n */\n if (!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.hardStopAmendDuplicate.name)) {\n return false;\n }\n const bookingDataFromBookingRequest = getters.getBookingDataFromBookingRequest;\n const isAmendValid = bookingDataFromBookingRequest?.bookingAction?.canAmend ?? true;\n const isDuplicateValid = bookingDataFromBookingRequest?.bookingAction?.canDuplicate ?? true;\n\n return (getters.isAmendBooking && !isAmendValid) || (getters.isDuplicateBooking && !isDuplicateValid);\n },\n /**\n * Checks if booking retrieval has error\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean} The error status\n */\n hasBookingRetrievalError(state, getters, rootState, rootGetters) {\n return rootGetters[\"error/hasErrorsForSource\"](constants.errorSource.initBookingRequestData, true);\n }\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\n\n/**\n * This function submits the od3cp data to the database, which is then used in other requests later on\n * @param {string} correlationId\n * @param {*} payload\n */\nexport async function setOd3cpData(correlationId, payload) {\n if (!correlationId) {\n throw new Error(\"setOd3cpData: correlationId is missing\");\n }\n\n return executeRequest({\n url: `/ssib/rest/common/setOd3cpData?correlationId=${correlationId}`,\n method: \"POST\",\n body: JSON.stringify(payload)\n });\n}\n\n/**\n * Retrieves the od3cp data for the given correlationId from the legacy SSIB services\n * @param {String} correlationId\n * @returns OD3CP Data payload\n */\nexport async function getOd3cpData(correlationId) {\n if (!correlationId) {\n throw new Error(\"getOd3cpData: correlationId is missing\");\n }\n\n const response = await executeRequest({\n url: `/ssib/rest/${correlationId}/bookings/getOd3cpData`,\n method: \"GET\"\n });\n\n return response?.entity;\n}\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion } from \"@/common/utils/generic/featureFlagService\";\n\n/**\n *\n * @returns Inline telemetry attribute used for checking bots using Akamai BOTMAN\n */\nfunction setInlineTelemetry() {\n return !window.bmak ? null : { \"Akamai-BM-Telemetry\": bmak?.get_telemetry() };\n}\n\n/**\n * This function gets the reefer templates for a specific commodity\n * @param {String} correlationId\n * @param {String} commodityCode\n */\nexport function getReeferTemplates(correlationId, commodityCode) {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.reeferTemplates}/${commodityCode}`,\n method: \"POST\",\n headers: {\n ...getFeatureVersion(),\n ...setInlineTelemetry(),\n correlationId\n },\n body: JSON.stringify({})\n });\n}\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion, isFeatureEnabled } from \"@/common/utils/generic/featureFlagService\";\nimport {\n Amendment,\n UnNumberResponse,\n ControlTemperatureResponse,\n SegregationGroup,\n SadtUnNumbers,\n PackingType\n} from \"@/lib/dangerousGoods/interfaces/imdg\";\n\n/**\n *\n * @returns Inline telemetry attribute used for checking bots using Akamai BOTMAN\n */\nfunction setInlineTelemetry() {\n return !(window as any).bmak ? null : { \"Akamai-BM-Telemetry\": (window as any).bmak?.get_telemetry() };\n}\n\n/**\n * This function gets the IMDG amendments and the substances list for default one\n */\nexport const getImdgAmendments = (correlationId: string): Promise> => {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.imdgAmendments}`,\n method: \"GET\",\n headers: {\n ...getFeatureVersion(),\n ...setInlineTelemetry(),\n correlationId\n }\n });\n};\n\n/**\n * This function gets the substance list for specified amendment\n */\nexport const getUnNumberList = (correlationId: string, imdgAmendment: string): Promise> => {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.unno}?amendmentId=${imdgAmendment}`,\n method: \"GET\",\n headers: {\n ...getFeatureVersion(),\n ...setInlineTelemetry(),\n correlationId\n }\n });\n};\n\n/**\n * This function gets the specified UnNumber data\n */\nexport const getUnNumber = (\n correlationId: string,\n unNumber: string,\n imdgAmendment: string\n): Promise> => {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${\n constants.ENDPOINTS.unno\n }?unNo=${unNumber}&amendmentId=${imdgAmendment}`,\n method: \"GET\",\n headers: {\n ...getFeatureVersion(),\n ...setInlineTelemetry(),\n correlationId\n }\n });\n};\n\n/**\n * Gets the control and emergency temperatures\n * @param {*} correlationId\n */\nexport const getControlEmergencyTemperatures = (correlationId: string): Promise> => {\n if (!correlationId) {\n throw new Error(\"getControlEmergencyTemperatures: correlationId is missing\");\n }\n const path = constants.apis.standardized.controlEmergencyTemperatures;\n const url = `${getCurrentEnvironmentVariables().apiDomain}${path}`;\n const headers = {\n correlationId: correlationId,\n \"Correlation-Id\": correlationId,\n ...getFeatureVersion()\n };\n return executeRequest({ url, method: \"GET\", headers });\n};\n\n/**\n * This function gets the segregation groups data\n */\nexport const getSegregationGroups = (): Promise> => {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.segregationGroups}`,\n method: \"GET\",\n headers: {\n ...getFeatureVersion(),\n ...setInlineTelemetry()\n }\n });\n};\n\n/**\n * Gets the non instant UN Numbers\n * @param {*} correlationId\n */\nexport const getSadtUnNumbers = (correlationId: string): Promise> => {\n if (!correlationId) {\n throw new Error(\"getSadtUnNumbers: correlationId is missing\");\n }\n const path = constants.apis.standardized.sadtUnNumbers;\n const url = `${getCurrentEnvironmentVariables().apiDomain}${path}`;\n const headers = {\n // eslint-disable-next-line prettier/prettier\n correlationId: correlationId,\n \"Correlation-Id\": correlationId,\n ...getFeatureVersion()\n };\n return executeRequest({ url, method: \"GET\", headers });\n};\n/**\n * This function gets the packing types data\n */\nexport const fetchPackagingTypes = (): Promise> => {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.packingTypes}`,\n method: \"GET\",\n headers: {\n ...getFeatureVersion(),\n ...setInlineTelemetry()\n }\n });\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables } from \"@/lib/CONSTANTS\";\n/**\n * @description\n * Loads the booking data from DataSets API referenced by correlation id\n *\n * @param {String} correlationId\n * @returns {Promise} Booking data\n */\nexport async function loadBookingDataFromDataSets(correlationId) {\n if (!correlationId) {\n throw new Error(\"loadBookingDataFromDataSets: correlationId is missing\");\n }\n\n const url = `${getCurrentEnvironmentVariables().apiDomain}/dataSets?correlationId=${correlationId}`;\n let response;\n try {\n response = await executeRequest({ url, method: \"GET\", rawResponse: true });\n } catch (e) {\n if (e.status !== 404) {\n throw e;\n } else {\n return e;\n }\n }\n\n return response;\n}\n\n/**\n * @description\n * Saves the OD3CP data to the DataSets API\n *\n * @param {Object} od3cpData - The data from OD3CP form to save to the DataSets API\n * @returns {Promise} The new correlation id\n */\nexport async function saveBookingDataToDataSets(od3cpData) {\n const url = `${getCurrentEnvironmentVariables().apiDomain}/dataSets`;\n const { correlationId } = await executeRequest({ url, method: \"POST\", body: JSON.stringify({ dataSet: od3cpData }) });\n\n return correlationId;\n}\n","import dayjs from \"dayjs\";\nimport isSameOrAfter from \"dayjs/plugin/isSameOrAfter\";\nimport isSameOrBefore from \"dayjs/plugin/isSameOrBefore\";\ndayjs.extend(isSameOrAfter);\ndayjs.extend(isSameOrBefore);\n\n/**\n * @description Sorts an array of items with timestamp or date\n * @param {Array} itemList\n * @returns {Array}\n */\nexport function sortByDate(itemList: Array): Array {\n if (!Array.isArray(itemList)) throw new Error(\"Expecting array and got non array\");\n\n return itemList.sort(dateSorterFunc);\n}\n\nexport function dateSorterFunc(a: { [key: string]: any }, b: { [key: string]: any }): number {\n const dayA = dayjs(a.date);\n const dayB = dayjs(b.date);\n if (dayB.isSame(dayA)) return 0;\n return dayB.isBefore(dayA) ? 1 : -1;\n}\n\n/**\n * @description Checks if timestamp or date are same and valid\n * @param {String} dateA\n * @param {String} dateB\n * @returns {Boolean}\n */\nexport function isSameDate(dateA: string, dateB: string): boolean {\n if (!dateA || !dateB) return false;\n return dayjs(dateA).isSame(dayjs(dateB));\n}\n/**\n * @description Checks if date is within a range of days\n * @param {String} date\n * @param {Number} numberOfDays\n * @returns {Boolean}\n */\nexport function isWithinDateRange(date: string, numberOfDays: number): boolean {\n if (!date || !numberOfDays) return false;\n const currentDate = dayjs();\n const departureDate = dayjs(date);\n const maxDate = dayjs().add(numberOfDays, \"day\");\n return dayjs(departureDate).isSameOrAfter(currentDate, \"day\") && dayjs(departureDate).isSameOrBefore(maxDate, \"day\");\n}\n","import { cargoInsuranceStatus } from \"@/common/service/cargoInsuranceService\";\nimport { setOd3cpData, getOd3cpData } from \"@/common/service/od3cpService\";\nimport { getReeferTemplates } from \"@/common/service/reeferService\";\nimport { getImdgAmendments } from \"@/common/service/dangerousGoodsService\";\nimport { setDepartures } from \"@/common/service/adfService\";\nimport { getBrandFromHostname, getJwt, getUserCredential } from \"@maersk/shared-js\";\nimport { sendGAEvent, clearDataLayer } from \"@/common/utils/analytics/ga\";\nimport { loadBookingDataFromDataSets, saveBookingDataToDataSets } from \"@/common/service/datasetService\";\nimport * as datasetMappers from \"@/common/utils/mappers/od3cp/dataSetToOd3cpFormDataMapper\";\nimport * as legacyMappers from \"@/common/utils/mappers/od3cp/legacyToOd3cpFormDataMapper\";\nimport * as bookingRequestMappers from \"@/common/utils/mappers/od3cp/bookingRequestToOd3cpFormDataMapper\";\nimport { constants, getCurrentEnvironmentVariables } from \"@/lib/CONSTANTS\";\nimport Vue from \"vue\";\nimport { getPublicData } from \"@/common/service/customerDataService\";\nimport dayjs from \"dayjs\";\nimport { addRUMGlobalContext, addRUMInlandRecommendation } from \"@/common/utils/analytics/mopRum.js\";\nimport {\n handleBookingDataError,\n getBookingType,\n mappersMap,\n getFirstOogContainerWeight,\n isCurrentCarrierMLL,\n defaultContainer\n} from \"@/lib/od3cp/od3cpUtilities\";\nimport {\n getContainersFromQueryParams,\n mapContainersForMdsContainerSelect,\n storeCoachmarkData,\n getStoredCoachmarkData\n} from \"@/lib/od3cp/containerUtilities\";\nimport { getBookingInfo } from \"@/common/service/bookingRequests\";\nimport { deepClone } from \"@/common/utils/generic/deepClone\";\nimport { isWithinDateRange } from \"@/lib/dateAndTimeUtilities.ts\";\nimport { getContainer } from \"@/common/utils/mappers/od3cp/mappersUtilities\";\nimport { deepEqual } from \"@/common/utils/generic/objectDeepComparison\";\nimport { generateFakeCorrelationId } from \"@/common/utils/generic/correlationIdGenerator\";\nexport default {\n /**\n * Retrieves the availability of cargo insurance for the given carrier, OD, commodity and price owner\n * @param {*} Store functions\n */\n async getCargoInsuranceAvailability({ commit, dispatch, getters, rootGetters }) {\n try {\n const origin = getters.getLocationServiceMode.origin.location?.maerskRkstCode;\n const destination = getters.getLocationServiceMode.destination.location?.maerskRkstCode;\n const commodity = getters.getCommodity.commodity?.commodityCode;\n // Use SCV code rather than customerCode as that's what the API requires\n const priceOwner = rootGetters[\"priceOwnerData/getPriceOwnerData\"].customerCodes?.scvCode;\n if (!origin || !destination || !commodity || !priceOwner) {\n throw new Error();\n }\n commit(\"error/clearErrorsForSource\", constants.errorSource.cargoInsuranceStatus, { root: true });\n const carrierCode = getBrandFromHostname(window.location).brandCode;\n const response = await cargoInsuranceStatus({\n carrierCode,\n origin,\n destination,\n commodityCode: [commodity],\n priceOwnerCode: priceOwner\n });\n commit(\"setCargoInsuranceAvailability\", response);\n } catch (error) {\n commit(\"setCargoInsuranceError\");\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n page: constants.errorPage.od3cp,\n source: constants.errorSource.cargoInsuranceStatus,\n statusCode: error?.status,\n showError: false\n },\n { root: true }\n );\n }\n },\n async getReeferTemplates({ commit, getters, dispatch, rootGetters }) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n const commodityCode = getters.getCommodity.commodity?.commodityCode;\n commit(\"error/clearErrorsForSource\", constants.errorSource.getReeferTemplates, { root: true });\n commit(\"reeferSettingsData/setReeferTemplatesLoadingStatus\", true, { root: true });\n commit(\"reeferSettingsData/setIsDefaultTemplate\", false, { root: true });\n try {\n const response = await getReeferTemplates(correlationId, commodityCode);\n if (Array.isArray(response.commodityReeferSettings)) {\n if (response.commodityReeferSettings.length === 1 && !response.commodityReeferSettings[0].commodityCode) {\n commit(\"reeferSettingsData/setIsDefaultTemplate\", true, { root: true });\n }\n response.commodityReeferSettings = response.commodityReeferSettings.map(template => {\n template.ethyleneFilter = template.ethyleneFilter ? +template.ethyleneFilter : 0;\n return template;\n });\n }\n commit(\"reeferSettingsData/setCommodityReeferSettingsId\", response.commodityReeferSettingsId, { root: true });\n commit(\"reeferSettingsData/setReeferTemplatesResponse\", response.commodityReeferSettings, { root: true });\n commit(\"reeferSettingsData/setReeferTemplatesLoadingStatus\", false, { root: true });\n } catch (error) {\n commit(\"reeferSettingsData/setCommodityReeferSettingsId\", null, { root: true });\n commit(\"reeferSettingsData/setReeferTemplatesLoadingStatus\", false, { root: true });\n commit(\"reeferSettingsData/setIsDefaultTemplate\", false, { root: true });\n commit(\n \"error/setError\",\n {\n error,\n message: Vue.prototype.$t(\"od3cp.service.reeferTemplates.errorMsg\"),\n page: constants.errorPage.od3cp,\n source: constants.errorSource.getReeferTemplates,\n statusCode: error?.status,\n showError: true,\n prefersMessage: false\n },\n { root: true }\n );\n }\n },\n\n async getImdgData({ commit, rootGetters, getters }) {\n const bookingData = getters.getBookingDataFromBookingRequest;\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n commit(\"error/clearErrorsForSource\", constants.errorSource.getImdgData, { root: true });\n commit(\"dangerousSettingsData/setImdgAmendmentsLoadingStatus\", true, { root: true });\n try {\n const response = await getImdgAmendments(correlationId);\n if (!Array.isArray(response) || !response.length) return;\n const amendmentOriginalBooking = bookingData?.equipmentAndHaulage?.dangerousDetails?.[0]?.imdgAmendment;\n // In case of fresh booking set the amendment to one marked as default and type IMDG in response.\n // In case of shipment binder and valid amendment version set the same as amendment used in original booking\n const originalAmendmentInResponse = response.find?.(\n a =>\n a.type === constants.imdgAmendmentTypes.imdg && a.versionName?.split?.(\"-\")?.[1] === amendmentOriginalBooking\n );\n const amendment =\n !bookingData || !originalAmendmentInResponse\n ? response.find(a => a.type === constants.imdgAmendmentTypes.imdg && a.isDefault)?.versionName\n : originalAmendmentInResponse?.versionName;\n\n commit(\"dangerousSettingsData/setImdgAmendmentsResponse\", response, { root: true });\n commit(\"dangerousSettingsData/setAmendment\", amendment, { root: true });\n commit(\"dangerousSettingsData/updateClassifications\", false, { root: true });\n commit(\"dangerousSettingsData/updateUnNumbers\", { unNumber: null, updateUnNumber: false }, { root: true });\n commit(\"dangerousSettingsData/setImdgAmendmentsLoadingStatus\", false, { root: true });\n } catch (error) {\n commit(\"dangerousSettingsData/setImdgAmendmentsLoadingStatus\", false, { root: true });\n commit(\n \"error/setError\",\n {\n error,\n message: Vue.prototype.$t(\"od3cp.service.imdgAmendments.errorMsg\"),\n page: constants.errorPage.od3cp,\n source: constants.errorSource.getImdgData,\n statusCode: error?.status,\n showError: true,\n prefersMessage: false\n },\n { root: true }\n );\n }\n },\n /**\n * This function sends data to the service to store the od3cp\n * It throws errors rather than catches them so the page function can handle it\n */\n async setOd3cpData({ getters, rootGetters }) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n await setOd3cpData(correlationId, getters.od3cpServicePayload);\n },\n /**\n *\n * @param {string} originalCorrelationIdForAmend\n * @returns {void}\n */\n setOriginalCorrelationIdForAmend({ getters, commit }, originalCorrelationIdForAmend) {\n if (!originalCorrelationIdForAmend) return;\n if (!getters.isAmendBooking) return;\n if (getters.getOriginalCorrelationIdForAmend !== null) return;\n commit(\"setOriginalCorrelationIdForAmend\", originalCorrelationIdForAmend);\n },\n\n /**\n *\n * @param {string} isExistingBookingDangerous\n * @returns {void}\n */\n setExistingBookingDangerous({ getters, commit }, isExistingBookingDangerous) {\n if (isExistingBookingDangerous === undefined) return;\n if (!getters.isAmendBooking) return;\n if (getters.getExistingBookingDangerous !== null) return;\n commit(\"setExistingBookingDangerous\", isExistingBookingDangerous);\n },\n\n async setDepartures({ commit, getters, dispatch, rootGetters }, errorPage) {\n try {\n const bookingTrackingId = rootGetters[\"commonData/getCorrelationId\"];\n let gaPayload = getters.od3cpServicePayload;\n const filteredGaPayload = getFilteredPayload(gaPayload);\n commit(\"error/clearErrorsForSource\", constants.errorSource.departures, { root: true });\n let response = null;\n if (rootGetters[\"boFlags/getFlag\"](constants.featureFlags.departureContainerRefs.name)) {\n await dispatch(\"commonData/generateAndSetContainerRefsUpdated\", null, { root: true });\n } else {\n await dispatch(\"commonData/generateAndSetContainerRefs\", null, { root: true });\n }\n response = await setDepartures(bookingTrackingId, getters.departuresServicePayload);\n const correlationId = response?.correlationId;\n\n if (!!correlationId) {\n if (!!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.mobileAmend.name)) {\n commit(\"setBookingFlowResponse\", \"SSIB\");\n }\n commit(\"commonData/setCorrelationId\", correlationId, { root: true });\n commit(\"commonData/setPreviousCorrelationId\", correlationId, { root: true });\n dispatch(\"bookingSession/startBookingSession\", null, { root: true });\n clearDataLayer();\n handleSearchRetryGAEvent();\n sendGAEvent(\n \"BookingInfoData\",\n {\n correlationId,\n ...filteredGaPayload,\n ...(!!getters.getWebsiteBusyRetryId && { WebsiteBusyRetryID: getters.getWebsiteBusyRetryId }),\n ...(!!getters.getSearchRetryId && { SearchRetryID: getters.getSearchRetryId })\n },\n getBookingInfoConfigForGA()\n );\n addRUMGlobalContext(\"correlationId\", correlationId);\n //When departures call is happened with the rec id with loc data, Event log for Grafana RUM.\n const selectedRecommendationId = rootGetters[\"inlandRecommendation/getSelectedRecommendationId\"];\n if (!!selectedRecommendationId) {\n addRUMInlandRecommendation(\"inlandRecommendationSearch\", {\n searchWithrecommendationId: selectedRecommendationId,\n correlationId: correlationId\n });\n }\n } else {\n throw Error(\"correlation Id is empty\");\n }\n } catch (error) {\n function userException() {\n handleSearchRetryGAEvent(error);\n return {\n error,\n status: error?.status,\n page: errorPage,\n source: constants.errorSource.departures,\n critical: true\n };\n }\n if (\n error?.status == constants.statusCode.temporarilyMoved &&\n !!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.mobileAmend.name)\n ) {\n commit(\"setBookingFlowResponse\", \"SSP\");\n }\n throw userException();\n }\n\n function getFilteredPayload(gaPayload) {\n const {\n contractIndicator,\n contractNumber,\n listServiceContract,\n nacIndicator,\n nacName,\n nacScvCode,\n bookedByContactEmail,\n ...rest\n } = gaPayload;\n let filteredGaPayload = rest;\n if (getters.isAmendBooking) {\n // In amend journey we are using od3cpDataSetsPayload for contact details mapping\n // Note: Whatever contact details we are posting in dataset call will be in sync here\n // As we don't have email on get dataset call so don't send it\n filteredGaPayload = {\n ...filteredGaPayload,\n bookedByContactName: getters.od3cpDataSetsPayload.bookedByContactName,\n bookedByContactScvId: getters.od3cpDataSetsPayload.bookedByContactScvCode\n };\n return filteredGaPayload;\n }\n // send bookedByContactEmail for non amend\n return { ...filteredGaPayload, bookedByContactEmail };\n }\n //function to get booking info for GA events for departures call.\n function getBookingInfoConfigForGA() {\n return {\n isAmend: getters.isAmendBooking,\n ...getters.generateConfigWithDeliveryAgreementType,\n ...(!!rootGetters[\"pricingJourney/getSelectedOfferTagId\"] && {\n pricingJourneyTagId: rootGetters[\"pricingJourney/getSelectedOfferTagId\"]\n }),\n ...(!!rootGetters[\"pricingJourney/getCPJTagId\"] &&\n !rootGetters[\"pricingJourney/isOd3cChangedForCPJ\"] && {\n pricingJourneyTagId: rootGetters[\"pricingJourney/getCPJTagId\"]\n })\n };\n }\n //Function to handle \"setWebsiteBusyRetryId\" and \"setSearchRetryId\" for GA event \"SearchError\".\n function handleSearchRetryGAEvent(error) {\n const OD3CPData = getters.getOd3cpDataForGA;\n const previousOD3CPData = getters.getPreviousOD3CPDataForGA;\n const isOD3CPChanged = !deepEqual(OD3CPData, previousOD3CPData);\n //Retain the same \"WebsiteBusyRetryID\" as long as user is searching same OD3CP and getting 429 errors. Change the UUID if user has changed OD3CP or doesnt get 429 error.\n if (!getters.getWebsiteBusyRetryId || !error || isOD3CPChanged || (!!error && error?.status !== 429)) {\n commit(\"setWebsiteBusyRetryId\", generateFakeCorrelationId());\n }\n //Retain the same \"SearchRetryId\" as long as user is searching same OD3CP. Change the UUID if user has changed OD3CP.\n if (!getters.getSearchRetryId || isOD3CPChanged) {\n commit(\"setSearchRetryId\", generateFakeCorrelationId());\n }\n //Sends the GA event \"SearchError\" when departures call fails with an error.\n !!error &&\n sendGAEvent(\n \"SearchError\",\n {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n ...(!!getters.od3cpServicePayload && getFilteredPayload(getters.od3cpServicePayload)),\n ...(!!getters.getWebsiteBusyRetryId && { WebsiteBusyRetryID: getters.getWebsiteBusyRetryId }),\n ...(!!getters.getSearchRetryId && { SearchRetryID: getters.getSearchRetryId })\n },\n { ...getBookingInfoConfigForGA() }\n );\n !!OD3CPData && isOD3CPChanged && commit(\"setPreviousOD3CPDataForGA\", OD3CPData);\n }\n },\n\n /**\n * Submit the OD3CP page\n * See the comments in the function for the steps that it follows\n * or BW-147\n * @param {*} context\n */\n async submitOD3CP({ commit, dispatch, getters, rootGetters }) {\n // 1. Set the original booking load & discharge ports in amend so that they are sent in the od3cp departures call\n if (\n getters.isAmendBooking &&\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.e2eRouteCustomizationAmend.name)\n ) {\n await dispatch(\"setOriginalLoadAndDischargePorts\");\n }\n\n //Set the booking flow as SSIB for all 3 flows - New/Amend/Duplicate\n commit(\"setBookingFlowResponse\", constants.ssib);\n await dispatch(\"handleSsibFlow\");\n\n //Dispatch NAC (named account customer) actions\n if (!getters.disableNACQuery) {\n await dispatch(\"od3cpNacActions\");\n }\n },\n\n async handleSsibFlow({ commit, getters, rootGetters, dispatch }) {\n //Trigger departures endpoint of ADF if path is SSIB\n if (!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.mobileAmend.name)) {\n await dispatch(\"setDepartures\", constants.errorPage.od3cp);\n }\n //Trigger cargo insurance status endpoint\n if (!getters.isAmendBooking && !isCurrentCarrierMLL(constants.localBrandOverride)) {\n dispatch(\"getCargoInsuranceAvailability\");\n }\n },\n\n async od3cpNacActions({ rootGetters, dispatch }) {\n // 1) Trigger nacs api to get a list of nacs\n await dispatch(\"nacAndAllocations/getNamedAccountAvailability\", null, { root: true });\n // 2) Check if a party code exists\n const partyCodeMissing = !(\n rootGetters[\"nacAndAllocations/getNacAvailability\"] &&\n rootGetters[\"nacAndAllocations/getNacAvailability\"][0]?.maerskPartyCode\n );\n // 3) If there's no party code and the api did not return a 404, trigger nac history.\n const getNacHistory =\n partyCodeMissing && rootGetters[\"nacAndAllocations/getAflsNacServiceAvailablity\"]?.status !== 404;\n // Temporary decom for ods migration, will have to be reinstated once the new api is ready\n if (getNacHistory && !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.decomOdsNacHistory.name)) {\n await dispatch(\"history/loadNACHistory\", null, { root: true });\n }\n },\n\n async handleDangerousBookingInAmmend({ commit, getters, rootGetters, dispatch }) {\n if (!(getters.bookingType === constants.bookingType.amend)) return;\n /**\n * see if we get the isExistingBookingDangerous in dataset, if so then we need to dispatch the action to cause mutation. So that additional payload\n * can store whether the original booking was dangerous or non dangerous\n */\n dispatch(\"setExistingBookingDangerous\", getters.getIsExistingBookingDangerous);\n /**\n * Trigger booking request call in case of back and forth from SSP\n * Note: when and how to trigger it's handled in corresponding actions and getters\n */\n await dispatch(\"getBookingDataFromBookingRequestInBackAndForth\");\n },\n\n /**\n * Gets the booking data from Data Sets API referenced by correlation id (ex: in case of duplicate/amend booking)\n * @param {String} correlationId\n * @param {String} bookingNumber\n * @param {String} bookingType\n * @returns {Promise}\n */\n async retrieveBookingData({ commit, getters, rootGetters, dispatch }, { correlationId, bookingNumber, bookingType }) {\n commit(\"error/clearErrorsForSource\", \"INIT_DATASET\", { root: true });\n const isBookingInfoFromBookingRequest = rootGetters[\"boFlags/getFlag\"](\n constants.featureFlags.bookingInfoFromBookingRequest.name\n );\n if (isBookingInfoFromBookingRequest && bookingNumber) {\n dispatch(\"clearDataForBookingRequest\");\n await dispatch(\"getBookingDataFromBookingRequest\", { bookingNumber, bookingType });\n return;\n }\n if (!correlationId || rootGetters[\"boFlags/getFlag\"](constants.featureFlags.decomGetOd3cpAndDatasetsApi.name)) {\n let bookType = getters.bookingType || constants.bookingType.new;\n addRUMGlobalContext(\"bookingtype\", bookType);\n return;\n }\n try {\n const response = await loadBookingDataFromDataSets(correlationId);\n if (response.status === 404) {\n commit(\"setBookingDataFromDataset\", { status: 404 });\n return;\n }\n let bookingData = (await response.json()).dataSet;\n\n // booking type\n const isValidBookingType = Object.values(constants.bookingType).includes(bookingData.bookingType.toUpperCase());\n const bookingType = isValidBookingType ? bookingData.bookingType.toUpperCase() : constants.bookingType.new;\n addRUMGlobalContext(\"bookingtype\", bookingType);\n\n if (\n bookingType === constants.bookingType.amend &&\n !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.amend.name)\n ) {\n const ibookingAmendUrl = `${getCurrentEnvironmentVariables().webDomain}${\n constants.SSIB_AMEND_BOOKING\n }?correlationId=${correlationId}`;\n // redirect to ibooking amends if feature is not enabled\n window.location.replace(ibookingAmendUrl);\n return;\n }\n commit(\"setBookingDataFromDataset\", bookingData);\n\n const { originalShipmentNumber } = bookingData;\n if (getters.getBrDgShipmentBinder || getters.getBrReeferShipmentBinder) {\n await dispatch(\"getBookingDataFromBookingRequest\", {\n bookingNumber: originalShipmentNumber,\n bookingType: bookingData.bookingType\n });\n }\n\n // save booking type (NEW, DUPLICATE, etc)\n commit(\"setBookingType\", bookingType);\n if (bookingType === constants.bookingType.amend) {\n const originalCorrelationIdFromDataset = bookingData?.additionalPayload?.existingBookingCorrelationId;\n // see if we get originalCorrelationId from dataset, if present then it means user at some journey started the amend journey and POST the\n // correlationId with original booking data. Hence that should be the source of truth , if not found then it means it's the first and hence\n // use the queryParams\n dispatch(\"setOriginalCorrelationIdForAmend\", originalCorrelationIdFromDataset ?? correlationId);\n }\n await dispatch(\"handleDangerousBookingInAmmend\");\n } catch (error) {\n // If the API fails save the error so that we can trigger legacy API\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n page: constants.errorPage.od3cp,\n source: \"INIT_DATASET\",\n statusCode: error?.status,\n showError: false\n },\n { root: true }\n );\n }\n },\n\n /**\n * Gets the booking data from booking request API in case of back and forth from SSP\n * @returns {Promise}\n */\n async getBookingDataFromBookingRequestInBackAndForth({ commit, getters }) {\n commit(\"error/clearErrorsForSource\", constants.errorSource.bookingRequestInBackAndForth, { root: true });\n try {\n if (getters.isCidMissingInDataset) {\n throw new Error(\"Existing booking correlationId is not present in dataset\");\n }\n if (!getters.shouldTriggerBookingRequestAfterDataset) return;\n\n const datasetData = getters.getBookingDataFromDataset;\n const bookingData = await getBookingInfo(datasetData?.originalShipmentNumber, {\n correlationId: datasetData?.additionalPayload?.existingBookingCorrelationId\n });\n // Only set the data in this case to use it in details page(e.g sd/cy haulage)\n commit(\"setBookingDataFromBookingRequest\", bookingData);\n } catch (error) {\n // If the API fails save the error\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n page: constants.errorPage.od3cp,\n source: constants.errorSource.bookingRequestInBackAndForth,\n statusCode: error?.status,\n showError: true,\n critical: true\n },\n { root: true }\n );\n }\n },\n\n /**\n * Gets the booking data from booking request API\n * @param {String} bookingNumber\n * @param {String} bookingType\n * @returns {Promise}\n */\n async getBookingDataFromBookingRequest({ commit, getters, rootGetters, dispatch }, { bookingNumber, bookingType }) {\n const isBookingInfoFromBookingRequest = rootGetters[\"boFlags/getFlag\"](\n constants.featureFlags.bookingInfoFromBookingRequest.name\n );\n\n const isReeferOrDangerousShipmentBinder =\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.bookingInfoFromBookingRequestDG.name) ||\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.reeferDuplicationShipmentBinder.name);\n\n const isOogEnabled = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.oog.name);\n\n commit(\"error/clearErrorsForSource\", constants.errorSource.initBookingRequestData, { root: true });\n if (!bookingNumber) {\n let bookType = getters.bookingType || constants.bookingType.new;\n if (!isReeferOrDangerousShipmentBinder) addRUMGlobalContext(\"bookingtype\", bookType);\n return;\n }\n /*\n Important:\n Adding logic above setBookingType could result in page re-painting/flashing for duplicate and amend\n If adding any logic above this, please test for page flashing. \n */\n const isValidBookingType = Object.values(constants.bookingType).includes(bookingType?.toUpperCase());\n const bookType = isValidBookingType ? bookingType.toUpperCase() : constants.bookingType.new;\n // save booking type (NEW, DUPLICATE, etc)\n commit(\"setBookingType\", bookType);\n try {\n const bookingData = await dispatch(\"fetchBookingData\", bookingNumber);\n if (isReeferOrDangerousShipmentBinder && !isBookingInfoFromBookingRequest) {\n // Preventing the duplications once isBookingInfoFromBookingRequest will get turned ON.\n commit(\"setBookingDataFromBookingRequest\", bookingData);\n return;\n }\n if (bookType !== constants.bookingType.new) {\n commit(\"setDuplicateOrAmendBookingData\", {\n originalShipmentNumber: bookingNumber\n });\n }\n addRUMGlobalContext(\"bookingtype\", bookType);\n commit(\"setBookingDataFromBookingRequest\", bookingData);\n commit(\"setBookingDataSource\", constants.bookingDataSource.bookingRequest);\n if (isReeferOrDangerousShipmentBinder && isBookingInfoFromBookingRequest) {\n commit(\"reeferSettingsData/setBrMappingInProgress\", true, { root: true });\n }\n if (isOogEnabled) commit(\"oogSettingsData/setBrOogMappingInProgress\", true, { root: true });\n } catch (error) {\n // If the API fails save the error\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n page: constants.errorPage.od3cp,\n source: constants.errorSource.initBookingRequestData,\n statusCode: error?.status,\n critical: true,\n showError: true,\n prefersMessage: true\n },\n { root: true }\n );\n }\n },\n /**\n * @description helper function which returns async booking data\n * @param {object} rootGetters\n * @returns {Promise} bookingData\n * @throws {Error} any issue by api\n */\n async fetchBookingData({ rootGetters, dispatch }, bookingNumber) {\n //if the flag is not enabled then do the old way\n if (!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.duplicatePreviousBooking.name))\n return getBookingInfo(bookingNumber);\n\n //if flag is enabled then first try to find in cache, if it's miss then fetch ask bookingRequests to tri\n if (rootGetters[\"bookingRequests/getBooking\"](bookingNumber) === null) {\n await dispatch(\"bookingRequests/fetchBooking\", bookingNumber, { root: true });\n }\n\n return rootGetters[\"bookingRequests/getBooking\"](bookingNumber);\n },\n /**\n * @description Calls necessary APIs, validates and updates the OOG settings details from booking request API\n */\n async updateOogSettingsData({ commit, rootGetters, dispatch, rootState, getters }) {\n commit(\"error/clearErrorsForSource\", constants.errorSource.bookingRequestOogSettings, { root: true });\n try {\n const bookingData = getters.getBookingDataFromBookingRequest;\n if (\n !bookingData?.equipmentAndHaulage?.containerDetails.some(container => container.isOutOfGauge) ||\n !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.oog.name) ||\n bookingData?.equipmentAndHaulage?.containerDetails.every(container => container?.outOfGauge?.length === 0)\n )\n return false;\n\n // OOG mapping\n dispatch(\"oogSettingsData/mapOogSettingsData\", bookingData.equipmentAndHaulage, { root: true });\n commit(\"oogSettingsData/setOogDataLoaded\", true, { root: true });\n } catch (error) {\n // If the API fails save the error\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n page: constants.errorPage.od3cp,\n source: constants.errorSource.bookingRequestOogSettings,\n statusCode: error?.status,\n showError: true,\n critical: true\n },\n { root: true }\n );\n }\n },\n /**\n * @description Calls necessary APIs, validates and updates the Reefer settings details from booking request API\n */\n async updateReeferSettings({ commit, rootGetters, dispatch, rootState, getters }) {\n commit(\"error/clearErrorsForSource\", constants.errorSource.bookingRequestReeferSettings, { root: true });\n try {\n const bookingData = getters.getBookingDataFromBookingRequest;\n if (\n !bookingData.isReefer ||\n !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.reeferDuplicationShipmentBinder.name) ||\n !bookingData?.cargo?.maerskCommodityCode\n )\n return false;\n if (rootGetters[\"OD3CP/isAmendBooking\"] && rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerPickupStatus) {\n dispatch(\"reeferSettingsData/mapReeferSettingsContainerPickedUp\", bookingData, { root: true });\n } else {\n // Fetch reefer template\n await dispatch(\"getReeferTemplates\");\n dispatch(\"reeferSettingsData/mapReeferSettingsFromDataSet\", bookingData, { root: true });\n commit(\"reeferSettingsData/setReeferDataLoaded\", true, { root: true });\n }\n } catch (error) {\n // If the API fails save the error\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n page: constants.errorPage.od3cp,\n source: constants.errorSource.bookingRequestReeferSettings,\n statusCode: error?.status,\n showError: true,\n critical: true\n },\n { root: true }\n );\n }\n },\n /**\n * @description Calls necessary APIs, validates and updates the dangerous container details from booking request API\n */\n async updateDgContainerData({ commit, rootGetters, dispatch, rootState, getters }) {\n const bookingData = getters.getBookingDataFromBookingRequest;\n if (\n !bookingData?.isDangerous ||\n !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.bookingInfoFromBookingRequestDG.name) ||\n !bookingData?.cargo?.maerskCommodityCode\n )\n return false;\n //DG mapping\n await Promise.allSettled([\n dispatch(\"getImdgData\"),\n dispatch(\"dangerousSettingsData/getPackagingTypes\", null, { root: true }),\n dispatch(\"dangerousSettingsData/getSegregationGroups\", null, { root: true })\n ]);\n\n // Check if 'dangerousDetails' missing in response and set dg store with empty settings\n if (!bookingData?.equipmentAndHaulage?.dangerousDetails) {\n dispatch(\"dangerousSettingsData/updateDgSettingsExpiredImdg\", bookingData, { root: true });\n return;\n }\n\n // Check validity of IMDG amendment used in origin booking\n const amendmentOriginalBooking = bookingData?.equipmentAndHaulage?.dangerousDetails?.[0]?.imdgAmendment;\n const hasAnyNonCfr = bookingData?.equipmentAndHaulage?.dangerousDetails.some(setting => !setting?.naNumber);\n // Get the amendment used in origin booking from the imdgAmendmentsResponse\n const originAmendResponse = rootState?.dangerousSettingsData?.imdgAmendmentsResponse.find?.(\n amendment =>\n amendment?.type === constants.imdgAmendmentTypes.imdg &&\n amendment?.versionName?.split?.(\"-\")?.[1] === amendmentOriginalBooking\n );\n\n if (!originAmendResponse && hasAnyNonCfr) {\n commit(\"dangerousSettingsData/setExpiredAmendmentSsp\", true, { root: true });\n dispatch(\"dangerousSettingsData/updateDgSettingsExpiredImdg\", bookingData, { root: true });\n return;\n }\n\n // Check if default IMDG amendment is used in original booking, if not get the substance list for specified amendment\n if (!originAmendResponse?.isDefault) {\n // fetch substances\n await dispatch(\"dangerousSettingsData/getUnNumberList\", null, { root: true });\n }\n // When coming from shipment binder, if atleast one cfr amendment was used in the original booking get the substance for the same\n if (bookingData?.equipmentAndHaulage?.dangerousDetails.find(setting => !!setting?.naNumber)) {\n const cfrId =\n rootState?.dangerousSettingsData?.imdgAmendmentsResponse?.find?.(\n amendment => amendment.type === constants.imdgAmendmentTypes.cfr && amendment.isDefault\n )?.amendmentId ?? null;\n // fetch substances\n await dispatch(\"dangerousSettingsData/getUnNumberList\", cfrId, { root: true });\n }\n // Save dangerous goods container settings incase of valid amendment\n commit(\n \"dangerousSettingsData/setDGContainers\",\n bookingRequestMappers.mapDgContainers({\n bookingData,\n useMetric: rootGetters[\"userSettings/useMetric\"],\n imdgAmendmentsResponse: rootState?.dangerousSettingsData?.imdgAmendmentsResponse,\n packingType: rootState?.dangerousSettingsData?.packingType,\n isAmendBookingAndDgAmendEnabled: getters.isDgAmendBookingEnabled,\n bookingType: getters.bookingType\n }),\n { root: true }\n );\n },\n /**\n * Gets the booking data from Data Sets API referenced by correlation id (ex: in case of duplicate booking)\n * @param {String} correlationId\n * @param {String} errorCodeQueryParam\n * @returns {Promise}\n */\n async loadBookingData({ commit, getters, rootGetters, dispatch }, { correlationId, errorCodeQueryParam }) {\n if (!correlationId || rootGetters[\"boFlags/getFlag\"](constants.featureFlags.decomGetOd3cpAndDatasetsApi.name))\n return;\n let bookingType = getters.bookingType;\n\n try {\n // Note, the legacy and dataset API mappers follow the same interface\n // This would be easier to guarantee in TypeScript, but here we are.\n // Ensure they have the same signatures\n let mappers;\n let bookingDataSource;\n let bookingData = getters.getBookingData;\n\n const initDataSetError = rootGetters[\"error/getErrorsBySource\"](\"INIT_DATASET\");\n const isError = initDataSetError && Array.isArray(initDataSetError) && initDataSetError.length;\n if (isError) {\n throw initDataSetError[0]?.error;\n }\n\n if (!bookingData && !isError) return;\n\n if (bookingData?.status === 404) {\n // OK, we've got a correlationId but it's not available.\n // Call another service\n const legacyResponse = await getOd3cpData(correlationId);\n\n if (legacyResponse) {\n // Do a transformation to get it to match the dataset API\n bookingData = legacyResponse;\n commit(\"setBookingDataFromLegacy\", bookingData);\n mappers = legacyMappers;\n bookingDataSource = constants.bookingDataSource.legacy;\n\n // booking type\n bookingType = getBookingType(bookingData);\n\n // save booking type (NEW, DUPLICATE, etc)\n commit(\"setBookingType\", bookingType);\n // Add the bookingType global context for Grafana RUM.\n addRUMGlobalContext(\"bookingtype\", bookingType);\n }\n } else {\n // If it's not an error, use the dataSet API mappers\n mappers = datasetMappers;\n bookingDataSource = constants.bookingDataSource.dataset;\n\n // save booking source system (SSIB, SSP, SPOT etc)\n commit(\"setBookingSourceSystem\", bookingData.bookingSourceSystem?.toString().toUpperCase());\n }\n\n // save bookingDataSource based on Legacy or Dataset API\n commit(\"setBookingDataSource\", bookingDataSource);\n\n // save original booking number if booking is not NEW i.e. DUPLICATE/AMEND\n if (bookingType !== constants.bookingType.new) {\n commit(\"setDuplicateOrAmendBookingData\", {\n // dataSet API returns \"originalShipmentNumber\" and the legacy API \"originalBookingNumber\"\n originalShipmentNumber: bookingData.originalShipmentNumber || bookingData.originalBookingNumber\n });\n }\n\n // save bookingData\n commit(\"setPrePopulatedBookingData\", bookingData);\n\n // save locations\n commit(\"setLocationServiceMode\", mappers.mapLocationServiceMode(bookingData));\n if (bookingType === constants.bookingType.amend) {\n commit(\"setShouldUpdateOriginalLocation\", true);\n }\n commit(\"setAlternatePickupLocation\", mappers.mapAlternatePickupLocation(bookingData));\n\n // save commodity\n const commodityMapped = mappers.mapCommodity(bookingData, getters.getCommodity);\n commit(\"setCommodity\", commodityMapped);\n\n // for NEW and AMEND bookings (with correlation id present) save earliest departure date\n dispatch(\"saveEDDForNewAndAmend\", { bookingType });\n\n // save price owner\n dispatch(\"savePOData\", mappers.mapPriceOwner(bookingData));\n\n // save booked by contact\n dispatch(\"saveBookedByContact\", { contactInfo: mappers.mapBookedBy(bookingData), bookingType });\n\n // map parties\n commit(\"parties/setDefaultPartyCodes\", mappers.mapParties(bookingData, getters.isAmendBooking), { root: true });\n\n // check if there is any errorCode retrieved from the API\n // OR from the URL parameters sent back from SSP\n // the user can continue with the booking journey\n handleBookingDataError(bookingData, errorCodeQueryParam);\n } catch (error) {\n // If the API fails twice, or you're offline, you end up here\n function userException() {\n return {\n name: \"Error\",\n message: Vue.prototype.$t(error?.message || \"od3cp.service.dataset.get\"),\n ...(!!error.disableNavigation && { disableNavigation: true })\n };\n }\n throw userException();\n }\n },\n\n /**\n * Gets the booking data from booking request API referenced by booking number\n * @param {String} errorCodeQueryParam\n * @returns {Promise}\n */\n async loadBookingDataFromBookingRequest({ commit, getters, rootGetters, dispatch }) {\n const isBookingInfoFromBookingRequest = rootGetters[\"boFlags/getFlag\"](\n constants.featureFlags.bookingInfoFromBookingRequest.name\n );\n if (!isBookingInfoFromBookingRequest || getters.hasBookingRetrievalError) return;\n const mappers = bookingRequestMappers;\n const bookingData = getters.getBookingDataFromBookingRequest;\n const bookingType = getters.bookingType;\n // save bookingData\n commit(\"setPrePopulatedBookingData\", bookingData);\n // save locations\n commit(\"setLocationServiceMode\", mappers.mapLocationServiceMode(bookingData));\n if (bookingType === constants.bookingType.amend) {\n commit(\"setShouldUpdateOriginalLocation\", true);\n // save containerInstanceIds received from retreival endpoint\n dispatch(\"mapGcssContainerInstances\");\n }\n commit(\"setAlternatePickupLocation\", mappers.mapAlternatePickupLocation(bookingData));\n // save commodity\n const commodityMapped = mappers.mapCommodity(bookingData, getters.getCommodity);\n commit(\"setCommodity\", commodityMapped);\n commit(\"setPreSelectedCommodityCode\", commodityMapped?.commodity?.commodityCode ?? null);\n // Save reefer and dangerous goods details\n dispatch(\"updateDgContainerData\");\n dispatch(\"updateReeferSettings\");\n dispatch(\"updateOogSettingsData\");\n\n // Save earliest departure date (field is not pre-populated in duplicate booking)\n dispatch(\"saveEDDForNewAndAmend\", { bookingType });\n //Save Price Owner\n dispatch(\"savePOData\", mappers.mapPriceOwner(bookingData));\n // save booked by contact\n dispatch(\"saveBookedByContact\", { contactInfo: mappers.mapBookedBy(bookingData), bookingType });\n // save parties information\n commit(\"parties/setDefaultPartyCodes\", mappers.mapParties(bookingData, getters.isAmendBooking), { root: true });\n // save booking source system\n commit(\"setBookingSourceSystem\", bookingData?.references?.deliveryAgreementType?.toString().toUpperCase());\n dispatch(\"oogSettingsData/clearQuoteReferenceForAmendWhenEDDChanged\", null, { root: true });\n // check if there is any hard stop flags from booking request\n if (getters.isBookingFromBookingRequestHardStop) {\n throw {\n message: Vue.prototype.$t(`od3cp.service.bookingRequestHardStop.${getters.getHardStopMessageKey}`),\n page: constants.errorPage.od3cp,\n source: constants.errorSource.bookingRequestData,\n critical: true,\n showError: true,\n prefersMessage: true,\n disableNavigation: true\n };\n }\n },\n\n /**\n * Save the PO data. For MAEI brand with military role PO will preselected from config file at component level.\n * @param {*} Store functions\n * @param priceOwnerMapped mapped PO data\n */\n savePOData({ commit, getters, rootGetters, dispatch }, priceOwnerMapped) {\n if (!priceOwnerMapped || getters.isMilitaryUserWithCarrierMll) return;\n // the current user is the Price owner\n if (priceOwnerMapped.selectedOption === constants.priceOwnerRadioOptions.PO) {\n commit(\"priceOwnerData/setSelectedOption\", constants.priceOwnerRadioOptions.PO, { root: true });\n commit(\"priceOwnerData/setCustomerReference\", priceOwnerMapped.reference, { root: true });\n } else {\n // validate the possible Price owner\n if (priceOwnerMapped.scvCode) {\n getPublicData({ customerCode: priceOwnerMapped.scvCode }).then(([partyData]) => {\n commit(\"priceOwnerData/setIsDefaultUpdate\", true, { root: true });\n commit(\"priceOwnerData/setPriceOwnerData\", partyData, { root: true });\n commit(\"priceOwnerData/setCode\", partyData.customerCodes.scvCode, { root: true });\n commit(\"priceOwnerData/setCustomerReference\", priceOwnerMapped.reference, { root: true });\n commit(\"priceOwnerData/setSelectedOption\", constants.priceOwnerRadioOptions.SELECT, { root: true });\n });\n }\n }\n },\n\n /**\n * Save the booked by contact data\n * @param {*} Store functions\n * @param contactInfo contact information\n * @param bookingType booking type\n */\n saveBookedByContact({ commit, rootGetters }, { contactInfo, bookingType }) {\n let bookType = bookingType;\n // save booked by contact (only for internal users and not for duplicate bookings)\n if (bookingType === constants.bookingType.duplicate && !rootGetters[\"userSettings/isInternalUser\"]) return;\n commit(\"bookedByContact/setBookedByContact\", contactInfo, {\n root: true\n });\n // Append booking type with selected booking so that watcher will be retriggered incase of previous booking widget\n if (bookingType === constants.bookingType.duplicate && rootGetters[\"history/getSelectedBookingId\"]) {\n bookType = `${bookingType}${rootGetters[\"history/getSelectedBookingId\"]}`;\n }\n // update contactValidateForBookingType to mutate changes in BookedByContact View\n // This will trigger watchers to execute respective Amend and Duplicate func. scenarios\n commit(\"bookedByContact/setContactValidateForBookingType\", bookType, {\n root: true\n });\n },\n\n /**\n * Save the earliest departure date for new and amend booking\n * @param {*} Store functions\n * @param bookingType booking type\n */\n saveEDDForNewAndAmend({ commit, getters, rootGetters }, { bookingType }) {\n if (![constants.bookingType.new, constants.bookingType.amend].includes(bookingType)) return;\n // Validate if date is before today\n const departureDate = dayjs(getters.getEarliestDepartureDateFromBookingData);\n const todayDate = dayjs();\n const validDepartureDate = departureDate.isBefore(todayDate) ? todayDate : departureDate;\n const isMdsEddDatePickerEnabled = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.mdsDatePicker.name);\n if (isMdsEddDatePickerEnabled) {\n const formattedDate = validDepartureDate.format(\"DD MMM YYYY\");\n commit(\"setEarliestDepartureDate\", formattedDate);\n } else {\n commit(\"setEarliestDepartureDate\", validDepartureDate.startOf(\"day\").toDate());\n }\n },\n\n /**\n * Save the OD3CP form data to DataSets API\n * @returns {Promise} The new correlation id\n */\n async saveBookingData({ getters, commit, rootGetters, rootState }) {\n if (rootGetters[\"boFlags/getFlag\"](constants.featureFlags.decomSetDatasetsApi.name)) {\n return;\n }\n //Temporary experimental fix to add cargo weight for oog amend bookings\n // and multitype container new booking that includes oog, as sending weight as 0 is currently not acceptable in SSP\n let proxyWeight;\n const payload = deepClone(getters.od3cpDataSetsPayload);\n\n if (getters.isOOGEnabledAndCargoOverSizeChecked) {\n proxyWeight = getFirstOogContainerWeight(getters, rootState, rootGetters[\"OD3CP/isInOfflineMode\"]);\n }\n\n if (!!proxyWeight) {\n const updatedContainers = payload.cargoDetails[0].containers.map(container => {\n container.cargoWeights[0].cargoWeight = container?.cargoWeights?.[0]?.cargoWeight || proxyWeight;\n return container;\n });\n payload.cargoDetails[0].containers = updatedContainers;\n }\n\n const correlationId = await saveBookingDataToDataSets(payload);\n commit(\"commonData/setDataSetsCorrelationId\", correlationId, { root: true });\n },\n /**\n * Sends google analytics events to the dataLayer\n * @param {*} Store functions\n */\n async sendOd3cpGaEvents({ rootGetters, state, getters }) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n let insuranceStatusNote = constants.dataLayer.messages.insuranceStatusUnavailable;\n if (getters.isAmendBooking) return;\n //Cargo Insurance Status Events\n if (state.cargoInsurance?.insuranceAvailable && state.cargoInsurance.insuranceAvailable[0]?.insuranceStatusCode) {\n if ([1, 2, 3, 4, 5, 6].includes(state.cargoInsurance.insuranceAvailable[0].insuranceStatusCode)) {\n insuranceStatusNote = state.cargoInsurance.insuranceAvailable[0].insuranceStatusNote;\n }\n }\n sendGAEvent(\n \"cargoInsuranceStatusData\",\n {\n correlationId: correlationId,\n insuranceStatusNote: insuranceStatusNote\n },\n {\n isAmend: getters.isAmendBooking,\n ...getters.generateConfigWithDeliveryAgreementType\n }\n );\n },\n\n /**\n * Prepopulate container select model\n * @param commit\n * @param getters\n * @param rootGetters\n */\n prepopulateContainerSelect({ commit, getters, rootGetters, state }) {\n const bookingData = getters.getPrePopulatedBookingData;\n const bookingDataSource = getters.getBookingDataSource;\n // without proper booking data source (Legacy or Dataset API) we cannot create mappers\n if (!Object.values(constants.bookingDataSource).includes(bookingDataSource)) return;\n const mappers = mappersMap[bookingDataSource];\n const allowedFlexiTankContainers = rootGetters[\"commonData/getFlexiTankContainerIsoCodes\"];\n const allowedOogContainers = rootGetters[\"commonData/getOogContainerIsoCodes\"];\n let containers = mappers.mapContainers(\n { ...bookingData, allowedFlexiTankContainers, allowedOogContainers },\n rootGetters[\"userSettings/unitPreference\"]\n );\n // the container select is using mdsContainer then we need to decorate it first given that such action was done by vue commmunity components\n // by default we have enough information to identify the container but not the full fledged information\n if (rootGetters[\"boFlags/getFlag\"](constants.featureFlags.mdsContainer.name)) {\n containers = mapContainersForMdsContainerSelect(containers, rootGetters[\"commonData/getContainerTypes\"] ?? [], {\n isAmendBooking: getters.isAmendBooking\n });\n }\n commit(\"setContainerSelect\", containers);\n // Store sspID collection in a separate store only for amend and duplicate journey\n commit(\"setContainerSspIdCollection\", containers);\n // add default rules for containers\n (containers || []).forEach((_, index) => {\n commit(\"addContainerSelectRule\", {\n id: `${constants.containerSelectId}${index}`,\n rules: getters.getContainerDefaultRules\n });\n });\n if (bookingData && !bookingData?.isDangerous)\n commit(\"reeferSettingsData/setBrMappingInProgress\", false, { root: true });\n },\n\n setOriginalLoadAndDischargePorts({ commit, getters }) {\n commit(\n \"loadAndDischargePorts/setQueriedLoadPort\",\n getters.getPortsForOd3cpAmendDeparturesRequest?.originalBookingLoadPort,\n { root: true }\n );\n commit(\n \"loadAndDischargePorts/setQueriedDischargePort\",\n getters.getPortsForOd3cpAmendDeparturesRequest?.originalBookingDischargePort,\n { root: true }\n );\n },\n /**\n * @description This function sets the containerInstanceIds received from retreival endpoint for all containers\n * @param {Object}\n */\n mapGcssContainerInstances({ commit, getters }) {\n const createContainerInstance = (typeIndex, containerIndex, instanceId) => ({\n typeIndex,\n containerIndex,\n instanceId\n });\n\n const isGovernmentDetailsAvailable = !!getters.getBookingDataFromBookingRequest?.governmentDetails;\n const containerInstances = (\n getters.getBookingDataFromBookingRequest?.equipmentAndHaulage?.containerDetails || []\n ).flatMap((container, typeIndex) => {\n const containerInstanceIds = container?.containerInstanceIds ?? [];\n if (isGovernmentDetailsAvailable) {\n // MLL booking with military cargo\n return containerInstanceIds.map((instanceId, containerIndex) => ({\n ...createContainerInstance(typeIndex, containerIndex, instanceId),\n transportControlNumber: (container.transportControlNumbers ?? [])[containerIndex] ?? null\n }));\n }\n return containerInstanceIds.map((instanceId, containerIndex) =>\n createContainerInstance(typeIndex, containerIndex, instanceId)\n );\n });\n commit(\"setContainerInstances\", { containerInstances });\n commit(\n \"setOriginalContainers\",\n getters.getBookingDataFromBookingRequest?.equipmentAndHaulage?.containerDetails || []\n );\n },\n /**\n * Clear data for booking request\n * @param commit\n * @param getters\n * @param dispatch\n */\n clearDataForBookingRequest({ commit, dispatch, getters, rootGetters }) {\n commit(\"priceOwnerData/clearState\", null, { root: true });\n commit(\"bookedByContact/clearState\", null, { root: true });\n dispatch(\"pricingJourney/resetPricingJourneyData\", null, { root: true });\n // Just to make sure that we don't have any stale data and if duplicate is clicked again then we get the updated data to trigger watcher\n commit(\"reeferSettingsData/setReeferDataLoaded\", false, { root: true });\n commit(\"oogSettingsData/setOogDataLoaded\", false, { root: true });\n commit(\"bookedByContact/setContactValidateForBookingType\", null, {\n root: true\n });\n commit(\"clearState\", true);\n // add default rules for container\n commit(\"addContainerSelectRule\", {\n id: `${constants.containerSelectId}${0}`,\n rules: getters.getContainerDefaultRules\n });\n commit(\n \"setContainerSelect\",\n defaultContainer({\n isFlexiTankEnabled: rootGetters[\"boFlags/getFlag\"](constants.featureFlags.enableFlexiTank.name)\n })\n );\n },\n /**\n * Sets data for booking url\n * @param dispatch\n * @param queryParams\n */\n setOd3cpDataFromUrl({ dispatch }, queryParams) {\n dispatch(\"setODFromUrl\", queryParams);\n dispatch(\"setDepartureDateFromUrl\", queryParams);\n dispatch(\"setDefaultServiceModeFromUrl\", queryParams);\n dispatch(\"setCommodityFromUrl\", queryParams);\n },\n /**\n * Sets data for origin and destination from url\n * @param commit\n * @param queryParams\n */\n setODFromUrl({ commit }, queryParams) {\n const from = queryParams[\"b.from\"];\n const to = queryParams[\"b.to\"];\n\n // Dispatch Origin Destination data to store\n if (from) commit(\"setDefaultOrigin\", from);\n if (to) commit(\"setDefaultDestination\", to);\n },\n /**\n * Sets data for departure date from url\n * @param commit\n * @param queryParams\n */\n setDepartureDateFromUrl({ commit }, queryParams) {\n // Number of days in the SSIB departure window is 56 ie: 55+1 (current date)\n const numberOfDays = 55;\n let earliestDepartureDate = null;\n\n // Earliest departure date is set only if it is within the departure window.\n const edd = queryParams[\"b.departureDate\"];\n if (!edd) return;\n if (isWithinDateRange(edd, numberOfDays)) {\n earliestDepartureDate = dayjs(edd).toDate();\n } else {\n earliestDepartureDate = dayjs().toDate();\n }\n\n // Dispatch Earliest Departure Date to store\n if (earliestDepartureDate) commit(\"setEarliestDepartureDate\", earliestDepartureDate);\n },\n /**\n * Sets data for service mode from url\n * @param commit\n * @param queryParams\n */\n setDefaultServiceModeFromUrl({ commit }, queryParams) {\n let exportMode = queryParams[\"b.exportMode\"];\n let importMode = queryParams[\"b.importMode\"];\n if (exportMode) commit(\"setOriginServiceMode\", exportMode);\n if (importMode) commit(\"setDestinationServiceMode\", importMode);\n },\n /**\n * Pre-populates commodity model from url\n * @param commit\n * @param getters\n * @param queryParams\n */\n setCommodityFromUrl({ commit, getters }, queryParams) {\n const commodityCode = queryParams[\"b.commodityCode\"];\n if (!commodityCode || !getters.getCommodity) return;\n // save commodity\n const commodityMapped = {\n ...getters.getCommodity,\n commodity: {\n commodityCode\n }\n };\n commit(\"setCommodity\", commodityMapped);\n },\n /**\n * Pre-populates container select model from url\n * @param commit\n * @param getters\n * @param rootGetters\n * @param queryParams\n */\n async setContainerSelectFromUrl({ commit, getters, rootGetters }, queryParams) {\n const containers = getContainersFromQueryParams(queryParams);\n if (!containers.length) return;\n const isWeightInKg = rootGetters[\"userSettings/unitPreference\"] === constants.weightUnits.kgs;\n let mappedContainers = containers.map(container => {\n return getContainer({\n containerDetails: {\n isoCode: container.iso,\n quantity: container.quantity ?? 1,\n isShipperOwned: container.isShipperOwnerOwned === \"true\"\n },\n cargoWeight: (isWeightInKg ? container.cargoWeightKg : container.cargoWeightLbs) ?? null\n });\n });\n\n if (rootGetters[\"boFlags/getFlag\"](constants.featureFlags.mdsContainer.name)) {\n mappedContainers = mapContainersForMdsContainerSelect(\n mappedContainers,\n rootGetters[\"commonData/getContainerTypes\"],\n {\n //since this is only for new booking it's not needed\n isAmendBooking: false\n }\n );\n }\n commit(\"setContainerSelect\", mappedContainers);\n // add default rules for containers\n (mappedContainers || []).forEach((_, index) => {\n commit(\"addContainerSelectRule\", {\n id: `${constants.containerSelectId}${index}`,\n rules: getters.getContainerDefaultRules\n });\n });\n },\n\n /**\n * handle the coachmark behavior\n * @param store\n */\n handleCoachMark(store) {\n const personId = getUserCredential(\"personid\");\n const jwt = getJwt();\n\n // Check if we have existing data for the user jwt session\n const existingData = getStoredCoachmarkData(personId);\n let coachMarkData;\n const jwtChanged = JSON.stringify(existingData?.previousJwt) !== JSON.stringify(jwt);\n const isNewSession = jwtChanged;\n\n if (!existingData) {\n coachMarkData = {\n displayCount: 0,\n userClosed: false,\n jwt,\n personId,\n previousJwt: jwt\n };\n } else {\n const status = isNewSession\n ? !(existingData.displayCount <= store.state.maxViews && isNewSession)\n : existingData.userClosed;\n coachMarkData = {\n ...existingData,\n jwt,\n personId,\n userClosed: status,\n previousJwt: existingData.jwt\n };\n store.commit(\"setAdvancedOptionsPopOver\", !status);\n }\n store.commit(\"setCoachMarkData\", coachMarkData);\n storeCoachmarkData(personId, coachMarkData);\n },\n\n /**\n * handle the behavior of the coachmark when it is closed\n * @param store\n */\n handleCoachmarkClosed(store) {\n const coachMarkData = store.state.coachMarkData;\n const currentDisplayCount = coachMarkData.displayCount || 0;\n\n const updatedCoachMarkData = {\n ...coachMarkData,\n userClosed: true,\n displayCount: currentDisplayCount + 1\n };\n\n store.commit(\"setCoachMarkData\", updatedCoachMarkData);\n storeCoachmarkData(coachMarkData.personId, updatedCoachMarkData);\n store.commit(\"setAdvancedOptionsPopOver\", false);\n }\n};\n","import { deepClone } from \"@/common/utils/generic/deepClone\";\nimport { getInitialOD3CPState } from \"@/common/utils/generic/stateManagement\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { mapDepartureContainers } from \"@/lib/od3cp/containerUtilities\";\n\nexport default {\n setOD3CPFormData(state, od3cpFormData) {\n state.od3cpFormData = od3cpFormData;\n },\n setLocationServiceMode(state, lsm) {\n state.od3cpFormData.locationServiceMode = lsm;\n },\n setOriginServiceMode(state, sm) {\n state.od3cpFormData.locationServiceMode.origin.serviceMode = sm;\n },\n setDestinationServiceMode(state, sm) {\n state.od3cpFormData.locationServiceMode.destination.serviceMode = sm;\n },\n addEmptyContainer(state, containerRules) {\n const emptyContainer = {\n containerType: null,\n quantity: 1,\n weightPerContainer: null, // This should be null instead of 0 as we want users to put their own weight in.\n shipperOwnContainer: {\n checked: false,\n disabled: false\n },\n importReturnContainer: {\n checked: containerRules?.irtChecked ?? false,\n disabled: false\n },\n overSizedCargo: {\n checked: false,\n disabled: false,\n quoteReference: \"\",\n cargoWidth: null,\n cargoLength: null,\n cargoHeight: null\n }\n };\n state.od3cpFormData.containerSelect = [...state.od3cpFormData.containerSelect, emptyContainer];\n },\n setAlternatePickupLocation(state, location) {\n state.od3cpFormData.alternatePickupLocation = location;\n },\n setContainerSelect(state, containerSelect) {\n const containers = mapDepartureContainers(containerSelect);\n state.od3cpFormData.containerSelect = containers;\n },\n setContainerSspIdCollection(state, containerList) {\n state.containerSspIdCollection = containerList.map(containerObj => containerObj.sspId);\n },\n setContainerSelectRules(state, csr) {\n state.containerSelectRules = csr;\n },\n addContainerSelectRule(state, { id, rules }) {\n state.containerSelectRules[id] = rules;\n },\n setCommodity(state, commodity) {\n state.od3cpFormData.commoditySelected = commodity;\n },\n setEarliestDepartureDate(state, edd) {\n state.od3cpFormData.earliestDepartureDate = edd;\n },\n setCargoInsuranceAvailability(state, apiResponse) {\n state.cargoInsurance = apiResponse;\n },\n setCargoInsuranceError(state) {\n state.cargoInsurance = {\n agreementId: 0,\n insuranceAvailable: []\n };\n },\n setBookingFlowResponse(state, resp) {\n state.od3cpFormData.bookingFlowResponse = resp;\n },\n setBookingFlowError(state, val) {\n state.bookingFlowError = Boolean(val);\n },\n setDefaultOrigin(state, origin) {\n state.od3cpFormData.locationServiceMode.origin.defaultLocation = origin;\n },\n setDefaultDestination(state, destination) {\n state.od3cpFormData.locationServiceMode.destination.defaultLocation = destination;\n },\n setDuplicateOrAmendBookingData(state, data) {\n state.duplicateOrAmendBookingData = data;\n },\n setCommodityTemperatureControl(state, { checked, disabled }) {\n const temperatureControl = state.od3cpFormData.commoditySelected.temperatureControl;\n state.od3cpFormData.commoditySelected.temperatureControl = {\n ...temperatureControl,\n checked,\n disabled\n };\n },\n setCommodityDangerousCargo(state, { checked, disabled }) {\n if (state.od3cpFormData.commoditySelected?.dangerousCargo) {\n state.od3cpFormData.commoditySelected.dangerousCargo[\"checked\"] = checked;\n state.od3cpFormData.commoditySelected.dangerousCargo[\"disabled\"] = disabled;\n }\n },\n setBookingType(state, bookingType) {\n state.od3cpFormData.bookingType = bookingType;\n },\n setBookingSourceSystem(state, bookingSourceSystem) {\n state.od3cpFormData.bookingSourceSystem = bookingSourceSystem;\n },\n setIsInOfflineMode(state, isInOfflineMode) {\n state.isInOfflineMode = isInOfflineMode;\n },\n setBookingDataFromDataset(state, bookingData) {\n state.bookingDataFromDataset = bookingData;\n },\n setBookingDataFromLegacy(state, bookingData) {\n state.bookingDataFromLegacy = bookingData;\n },\n setBookingDataFromBookingRequest(state, bookingData) {\n function replaceCFS(transport, servicemode) {\n const isCFS = transport?.[servicemode] === constants.serviceMode.containerFreightStation;\n if (isCFS) {\n transport[servicemode] = constants.serviceMode.merchantHaulage;\n }\n return isCFS;\n }\n const isExportCfs = replaceCFS(bookingData?.transport, \"exportServiceMode\");\n const isImportCfs = replaceCFS(bookingData?.transport, \"importServiceMode\");\n state.isServiceModeCFS = isExportCfs || isImportCfs;\n state.bookingDataFromBookingRequest = bookingData;\n },\n setOriginalLocationServiceMode(state, location) {\n state.originalLocationServiceMode = location;\n },\n setShouldUpdateOriginalLocation(state, bool) {\n state.shouldUpdateOriginalLocation = bool;\n },\n setPrePopulatedBookingData(state, data) {\n state.prePopulatedBookingData = data;\n },\n setBookingDataSource(state, bookingDataSource) {\n if (Object.values(constants.bookingDataSource).includes(bookingDataSource)) {\n state.bookingDataSource = bookingDataSource;\n }\n },\n setOriginalCorrelationIdForAmend(state, originalCorrelationId) {\n state.additionalPayload.existingBookingCorrelationId = originalCorrelationId;\n },\n setExistingBookingDangerous(state, isExistingBookingDangerous) {\n state.additionalPayload.isExistingBookingDangerous = isExistingBookingDangerous;\n },\n resetCommodity(state) {\n const initialState = getInitialOD3CPState();\n state.od3cpFormData.commoditySelected = initialState.od3cpFormData.commoditySelected;\n },\n clearState(state, resetContainerSelectRules = false) {\n const initialState = getInitialOD3CPState();\n state.od3cpFormData = initialState.od3cpFormData;\n state.cargoInsurance = initialState.cargoInsurance;\n state.containerDefaultRules = initialState.containerDefaultRules;\n if (!resetContainerSelectRules) {\n state.containerSelectRules = initialState.containerSelectRules;\n }\n state.duplicateOrAmendBookingData = initialState.duplicateOrAmendBookingData;\n state.isInOfflineMode = initialState.isInOfflineMode;\n state.bookingDataFromDataset = initialState.bookingDataFromDataset;\n state.bookingDataFromBookingRequest = initialState.bookingDataFromBookingRequest;\n state.originalLocationServiceMode = initialState.originalLocationServiceMode;\n state.shouldUpdateOriginalLocation = initialState.shouldUpdateOriginalLocation;\n state.prePopulatedBookingData = initialState.prePopulatedBookingData;\n state.bookingDataSource = initialState.bookingDataSource;\n state.containerSspIdCollection = initialState.containerSspIdCollection;\n state.bookingFlowError = initialState.bookingFlowError;\n state.isServiceModeCFS = initialState.isServiceModeCFS;\n },\n setPreviousContainerSelectData(state, value) {\n state.previousContainerSelectData = value;\n },\n setPreviousOD3CPDataForGA(state, value) {\n state.previousOD3CPDataForGA = value;\n },\n setSearchRetryId(state, value) {\n state.searchRetryId = value;\n },\n setWebsiteBusyRetryId(state, value) {\n state.websiteBusyRetryId = value;\n },\n /**\n * @description Set widget's expanded status\n * @param {Object} state\n * @param {Boolean} status\n * @return {Boolean}\n */\n setWidgetExpandedMode(state, status) {\n state.widgetControls.isExpanded = status;\n },\n /**\n * @typedef {import(\"@/common/utils/types\").ContainerInstance} ContainerInstance\n **/\n /**\n * @typedef {Object} ContainerInstanceUpdate\n * @property {Array[ContainerInstance]} containerInstances\n * @property {number} typeIndex - containerSelect index that is deleted, i.e, 0, 1 or 2\n **/\n /**\n * @description sets containerInstances\n * @param {*} state\n * @param {ContainerInstanceUpdate}\n */\n setContainerInstances(state, { containerInstances, typeIndexToDelete }) {\n // when valid typeIndexToDelete is passed, containerInstances related to that container to be cleared\n if (typeIndexToDelete !== null && typeIndexToDelete > -1) {\n const containerInstancesToRetain = (state.containerInstances ?? [])\n .filter(instance => instance.typeIndex !== typeIndexToDelete)\n .map(instance => ({\n ...instance,\n typeIndex: instance.typeIndex !== 0 ? instance.typeIndex - 1 : instance.typeIndex\n }));\n state.containerInstances = containerInstancesToRetain;\n return;\n }\n state.containerInstances = containerInstances ?? [];\n },\n /**\n * @description sets original containerInstances\n * Note: We are keeping a copy so that we can modify this copy if user deletes one original container. Once deleted and added back then new instance ids will be generated\n * @param {*} state\n * @param {originalContainers}\n */\n setOriginalContainers(state, originalContainers) {\n state.originalContainers = originalContainers ?? [];\n },\n /**\n * @description Sets preselected commodity code\n * @param {Object} state\n * @param {Object} commodityCode\n */\n setPreSelectedCommodityCode(state, commodityCode) {\n state.preSelectedCommodityCode = commodityCode;\n },\n resetContainerTypes(state) {\n const containerState = deepClone(state.od3cpFormData.containerSelect);\n containerState.forEach(container => {\n container.containerType = null;\n });\n state.od3cpFormData.containerSelect = containerState;\n },\n setMepcAlternates(state, alternates) {\n state.mepcAlternates = alternates;\n },\n setAlternateDetails(state, details) {\n state.alternateDetails = details;\n },\n setAdvancedOptionsPopOver(state, status) {\n state.showAdvancedOptionsPopOver = status;\n },\n setCoachMarkData(state, data) {\n state.coachMarkData = { ...state.coachMarkData, ...data };\n }\n};\n","import getters from \"@/store/modules/od3cp/getters/getters\";\nimport containerCommodityCargoGetters from \"@/store/modules/od3cp/getters/containerCommodityCargoGetters\";\nimport locationGetters from \"@/store/modules/od3cp/getters/locationGetters\";\nimport amendGetters from \"@/store/modules/od3cp/getters/amendGetters\";\nimport datasetGetters from \"@/store/modules/od3cp/getters/datasetGetters\";\nimport brGetters from \"@/store/modules/od3cp/getters/bookingRequestGetters\";\nimport actions from \"@/store/modules/od3cp/actions\";\nimport mutations from \"@/store/modules/od3cp/mutations\";\nimport { getInitialOD3CPState } from \"@/common/utils/generic/stateManagement\";\n\nexport default {\n namespaced: true,\n\n // initial state\n state: getInitialOD3CPState(),\n getters: {\n ...containerCommodityCargoGetters,\n ...locationGetters,\n ...getters,\n ...amendGetters,\n ...datasetGetters,\n ...brGetters\n },\n mutations,\n actions\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion } from \"@/common/utils/generic/featureFlagService\";\n\n/**\n * Loads the NACS if they are available\n * @param {String} correlationId\n * @param {Object} payload\n * @return {Promise}\n */\nexport function getNacs(correlationId, payload) {\n const constants = getCurrentEnvironmentVariables();\n const url = `${constants.apiDomain}/contracts/nacs`;\n\n return executeRequest({\n url,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n correlationId: correlationId,\n ...getFeatureVersion()\n },\n consumerKey: constants.contractsConsumerKey\n });\n}\n","import { getNacs } from \"@/common/service/nacsService\";\nimport { getBrandFromHostname } from \"@maersk/shared-js\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport dayjs from \"dayjs\";\nimport { setNacInfo } from \"@/common/service/adfService\";\nimport Vue from \"vue\";\nimport { getClearedState } from \"@/common/utils/generic/stateManagement\";\nimport { transformNacInfo } from \"@/lib/od3cp/od3cpUtilities\";\n\nconst nacIndicator = { notUsed: \"NOT_AVAILABLE\" };\n\nexport default {\n namespaced: true,\n state: {\n nacs: [],\n isNacLoading: false,\n selectedNac: null,\n nacIndicator: nacIndicator.notUsed, // Default is no NAC\n nacServiceError: false,\n nacSource: null,\n aflsNacServiceAvailablity: {},\n nacVerificationRequired: false\n },\n getters: {\n isNacLoading(state) {\n return state.isNacLoading;\n },\n getNacAvailability(state) {\n return state.nacs;\n },\n getSelectedNac(state) {\n return state.selectedNac;\n },\n getNacIndicator(state) {\n return state.nacIndicator;\n },\n getNacServiceError(state, getters, rootState, rootGetters) {\n return rootGetters[\"error/hasErrorsForSource\"](constants.errorSource.nac, true);\n },\n getNacSource(state) {\n return state.nacSource;\n },\n getAflsNacServiceAvailablity(state) {\n return state.aflsNacServiceAvailablity;\n },\n isNacVerificationRequired(state) {\n return state.nacVerificationRequired;\n },\n isBookedBySameAsPO(state, getters, rootState, rootGetters) {\n const bookedByCodes = rootGetters[\"parties/getBookedByParty\"]?.selected?.customerCodes;\n const poCodes = rootGetters[\"priceOwnerData/getPriceOwnerData\"]?.customerCodes;\n if (poCodes?.customerCode && poCodes.customerCode === bookedByCodes?.customerCode) {\n return true;\n }\n if (poCodes?.scvCode && poCodes.scvCode === bookedByCodes?.scvCode) {\n return true;\n }\n return false;\n },\n isBookedByInNacs(state, getters, rootState, rootGetters) {\n const bookedBy = rootGetters[\"parties/getBookedByParty\"]?.selected;\n return state.nacs.some(nac => nac.maerskPartyCode === bookedBy?.customerCodes?.scvCode);\n },\n /**\n * The payload is the same for both service requests\n */\n nacServicePayload(state, getters, rootState, rootGetters) {\n const originLocation = rootGetters[\"OD3CP/getLocationServiceMode\"]?.origin?.location;\n const originCityCode = originLocation?.maerskRkstCode || originLocation?.cityCode;\n\n const destinationLocation = rootGetters[\"OD3CP/getLocationServiceMode\"]?.destination?.location;\n const destinationCityCode = destinationLocation?.maerskRkstCode || destinationLocation?.cityCode;\n\n return {\n carrierCode: getBrandFromHostname(window.location).brandCode.toUpperCase(),\n maerskCommodityCode: rootGetters[\"OD3CP/getCommodity\"].commodity?.commodityCode,\n earliestDepartureDate: dayjs(rootGetters[\"OD3CP/getEarliestDepartureDate\"]).format(\"YYYY-MM-DD\"),\n originLocation: {\n maerskCityCode: originCityCode\n },\n destinationLocation: {\n maerskCityCode: destinationCityCode\n },\n container: {\n size: rootGetters[\"OD3CP/getContainerSelect\"][0]?.containerType?.sizeCd,\n type: rootGetters[\"OD3CP/getContainerSelect\"][0]?.containerType?.typeCd\n },\n parties: [\n {\n roleName: \"PRICE_OWNER\",\n maerskPartyCode: rootGetters[\"priceOwnerData/getPriceOwnerData\"]?.customerCodes?.scvCode,\n cmdCode: rootGetters[\"priceOwnerData/getPriceOwnerData\"]?.customerCodes?.customerCode\n }\n ]\n };\n },\n /**\n * Transform data structure from NAC response to send into party-finder\n * @param {*} state\n * @param {*} rootGetters\n */\n getTransformedNacResponse(state, getters, rootState, rootGetters) {\n let nacs = rootGetters[\"nacAndAllocations/getNacAvailability\"];\n let nacHistory = rootGetters[\"history/getNacPreviouslyUsed\"];\n /* if booked by customer is not equal to price owner and booked by customer is in nacs list,\n then send only that nac and the noNac option (null code)\n */\n if (!getters.isBookedBySameAsPO && getters.isBookedByInNacs) {\n nacs = nacs.filter(\n nac =>\n nac.maerskPartyCode === rootGetters[\"parties/getBookedByParty\"]?.selected?.customerCodes?.scvCode ||\n nac.maerskPartyCode === null\n );\n }\n // We will remove no nac option from the list after r18\n if (nacs && nacs.length > 0) {\n // condition is because of noNac entry by default always\n let transformedNacs = nacs.map(nac => {\n return transformNacInfo(nac);\n });\n // In amend journey, if customer has not changed the Price Owner, and if originally selected NAC is still part of the NAC response,\n // then position the nac as the first NAC displayed in the pop-up.\n if (\n rootGetters[\"boFlags/getFlag\"](\"preSelectOriginalNAC\") &&\n rootGetters[\"OD3CP/isAmendBooking\"] &&\n !rootGetters[\"OD3CP/isPriceOwnerChanged\"]\n ) {\n const nacDataFromBR = rootGetters[\"OD3CP/getNacDataFromBookingRequest\"]?.customerCodes?.scvCode;\n const originalNac = transformedNacs.find(nac => nac.customerCodes?.scvCode === nacDataFromBR);\n if (nacDataFromBR && originalNac) {\n transformedNacs = [\n originalNac,\n ...transformedNacs.filter(nac => nac.customerCodes?.scvCode !== nacDataFromBR)\n ];\n return { selectparty: nacDataFromBR, transformedNacs: transformedNacs };\n }\n }\n return { transformedNacs: transformedNacs };\n }\n return { transformedNacs: nacHistory };\n },\n /**\n * Creates the payload for the nacInfo service\n * @param {*} state\n * @param {*} getters\n */\n nacInfoPayload(state, getters, rootState, rootGetters) {\n const roleName = \"Named Account Customer\";\n let payload = {\n nacIndicator: getters.getNacIndicator !== nacIndicator.notUsed,\n nacCustomerCode: getters.getSelectedNac?.customerCodes?.scvCode,\n nacRoleName: roleName,\n nacRoleCode: constants.userRolesByName[roleName]\n };\n if (rootGetters[\"boFlags/getFlag\"](\"nacInfoNewPayload\")) {\n const nacsList = rootGetters[\"nacAndAllocations/getNacAvailability\"],\n nacsHistoryList = rootGetters[\"history/getNacPreviouslyUsed\"],\n nacHistoryAvailable = Boolean(nacsHistoryList && nacsHistoryList.length > 0);\n payload = {\n ...payload,\n nacAvailable: Boolean(nacsList && nacsList.length > 0),\n nacHistoryAvailable,\n historicalNacSelected:\n nacHistoryAvailable &&\n rootGetters[\"nacAndAllocations/getNacSource\"] === constants.nacSource.NAC_FROM_RECENTLY_USED\n };\n }\n //If nacs api call returns 404 send nacExceptionCode so that the backend can serve from cache\n if (rootGetters[\"boFlags/getFlag\"](\"backendCaching\") && getters.getAflsNacServiceAvailablity?.status === 404) {\n payload = { ...payload, nacExceptionCode: getters.getAflsNacServiceAvailablity.status };\n }\n return payload;\n }\n },\n mutations: {\n setNacSource(state, source) {\n state.nacSource = source;\n },\n setAflsNacServiceAvailablity(state, status) {\n state.aflsNacServiceAvailablity = status;\n },\n setIsNacLoading(state, bool) {\n state.isNacLoading = bool;\n },\n setNacAvailability(state, nacavail) {\n state.nacs = nacavail.nacs;\n },\n setSelectedNac(state, nac) {\n state.selectedNac = nac;\n },\n setNacIndicator(state, indicator) {\n state.nacIndicator = indicator;\n },\n setNacServiceError(state, error) {\n state.nacServiceError = error;\n },\n setNacVerificationRequired(state, value) {\n state.nacVerificationRequired = value;\n },\n resetNacAndAllocation(state) {\n state.nacs = [];\n state.selectedNac = null;\n state.nacIndicator = nacIndicator.notUsed;\n state.nacServiceError = false;\n },\n clearState(state) {\n const clearedState = getClearedState(state);\n Object.keys(state).forEach(key => {\n state[key] = clearedState[key];\n if (key === \"contractIndicator\") {\n state[key] = constants.contractIndicators.noContractNumber;\n }\n if (key === \"nacIndicator\") {\n state[key] = nacIndicator.notUsed;\n }\n });\n }\n },\n actions: {\n /**\n * This function gets NAC availability\n * It throws errors rather than catches them so the page function can handle it\n * @param {*} Store functions\n */\n async getNamedAccountAvailability({ commit, getters, rootGetters }) {\n let response = null;\n let aflsNacServiceAvailablityStatus = {};\n commit(\"setIsNacLoading\", true);\n commit(\"error/clearErrorsForSource\", constants.errorSource.nac, { root: true });\n try {\n let payload = getters.nacServicePayload;\n if (!payload) {\n throw new Error();\n }\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n response = await getNacs(correlationId, payload);\n aflsNacServiceAvailablityStatus = {\n status: 200,\n ok: true\n };\n commit(\"setNacAvailability\", response);\n } catch (error) {\n const errorSource = constants.errorSource.nac;\n aflsNacServiceAvailablityStatus = {\n status: error.status,\n ok: false\n };\n commit(\n \"error/setError\",\n {\n error,\n message: error.message,\n page: constants.errorPage.od3cp,\n source: errorSource,\n showError: false\n },\n { root: true }\n );\n } finally {\n commit(\"setIsNacLoading\", false);\n commit(\"setAflsNacServiceAvailablity\", aflsNacServiceAvailablityStatus);\n }\n },\n\n /**\n * This function triggers nacInfo API\n * It throws errors rather than catches them so the page function can handle it\n * @param {*} Store functions\n */\n async setNacInfo({ commit, getters, rootGetters }) {\n const errorSource = constants.errorSource.setNacInfo;\n try {\n commit(\"error/clearErrorsForSource\", errorSource, { root: true });\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n const departureErrorStatus = rootGetters[\"error/getDeparturesErrorStatus\"];\n if (!!correlationId && !departureErrorStatus) {\n await setNacInfo(correlationId, getters.nacInfoPayload);\n } else {\n throw Error(\"Correlation Id not populated\");\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n page: constants.errorPage.od3cp,\n source: errorSource,\n showError: false,\n status: error?.status\n },\n { root: true }\n );\n throw error;\n }\n }\n }\n};\n","import { getPartyRoles } from \"@/common/service/businessRulesService\";\nimport { getPublicData } from \"@/common/service/customerDataService\";\nimport { getCustomerCode } from \"@maersk/shared-js\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport Vue from \"vue\";\nimport { isPartyApplicableForVas } from \"@/lib/additional-details/vasUtilities.ts\";\nimport { getBookedByForDepartures } from \"@/common/utils/mappers/od3cp/mappersUtilities\";\nimport { deepClone } from \"@/common/utils/generic/deepClone\";\nimport { addRUMAction } from \"@/common/utils/analytics/mopRum.js\";\n\nconst BOOKEDBYROLECODE = constants.userRolesByName[\"Booked By\"];\n\nexport default {\n namespaced: true,\n state: {\n // Booked By Party is always required\n parties: [{ role: { code: `${BOOKEDBYROLECODE}`, name: \"Booked By\", scope: \"BOOKEDBY\" } }],\n // used when parties need to be pre-populated (ex: duplicate booking)\n // this default data will be verified first and then add to the \"state.parties\" array\n // structure: [{ scvCode, roleCode }]\n defaultPartyCodes: [],\n // in certain cases the party roles don't need to be loaded again from the API\n shouldRefreshParties: true,\n shouldClearSelectedParties: false,\n /**\n * by default it should be false. However,set it to true when Public API returns `404` status code.\n */\n isSuspendedCustomer: false,\n // Initial value of booked by user type is \"EXPORTER\"\n bookedbyUserType: constants.partyType.exporter\n },\n getters: {\n // A Party is identified by the role code and role scope (ex: OPTIONAL)\n getPartyByRole: state => (code, scope) => {\n return state.parties.find(p => p.role.code === code && p.role.scope === scope);\n },\n getParties(state) {\n return state.parties;\n },\n getManualParties(state) {\n return state.parties.filter(p => p.addedNew);\n },\n getDefaultPartyCodes(state) {\n return state.defaultPartyCodes;\n },\n getBookedByParty(state) {\n return state.parties.find(party => party.role.code === `${BOOKEDBYROLECODE}`);\n },\n shouldRefreshParties(state) {\n return state.shouldRefreshParties;\n },\n shouldClearSelectedParties(state) {\n return state.shouldClearSelectedParties;\n },\n getBookedbyUserType(state) {\n return state.bookedbyUserType;\n },\n /**\n *\n * @param {Object} state\n * @returns {boolean}\n */\n getIsSuspendedCustomer(state) {\n return Boolean(state.isSuspendedCustomer);\n },\n /**\n * @description Gets the special parties in amend to enable or disable remove option\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Array}\n */\n getPartiesWithSpecialAmendPartyCodes(state, getters, rootState, rootGetters) {\n const filteredParties = (rootGetters[\"OD3CP/getBookingData\"]?.parties || []).filter(party =>\n constants.specialAmendPartyCodes.includes(party?.roleCode?.toString())\n );\n let roleCode = [];\n filteredParties.forEach(party => roleCode.push(party.roleCode));\n return [...new Set(roleCode)];\n },\n /**\n * @description Gets the party codes which should not be removed,\n * 1. \"Booked By\" party,\n * 2. customs parties if slected and\n * 3. special amend parties\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Array}\n */\n getNonRemovablePartyCodes(state, getters, rootState, rootGetters) {\n let nonRemovableCodes = [\"1\"].concat(rootGetters[\"valueAddedServices/getSelectedCustomsPartyCodes\"]);\n if (rootGetters[\"OD3CP/isAmendBooking\"]) {\n nonRemovableCodes = nonRemovableCodes.concat(getters.getPartiesWithSpecialAmendPartyCodes);\n }\n if (\n rootGetters[\"sailings/getSelectedPrice\"]?.productCode?.toLowerCase() === constants.sailings.routeType.maerskGo\n ) {\n nonRemovableCodes =\n getters.getBookedbyUserType.toLowerCase() === constants.partyType.exporter.toLowerCase()\n ? nonRemovableCodes.concat([constants.userRoles.SHIPPER])\n : nonRemovableCodes.concat([constants.userRoles.SHIPPER, constants.userRoles.CONSIGNEE]);\n }\n return [...new Set(nonRemovableCodes)];\n },\n\n /**\n * Returns party address as string joined by space comma and space ( , ) for specific party role\n * @description Required by back-end API - /departures endpoint payload\n * @param state\n * @return {(function(*): (string|string))|*}\n */\n getPartyAddressAsStringByRoleCode: state => roleCode => {\n const party = state.parties.find(p => p.role.code === `${roleCode}`);\n if (!party?.selected?.customerAddressDetails) {\n return \"\";\n }\n const addressFieldsArray = [\n party.selected.customerAddressDetails.houseNo,\n party.selected.customerAddressDetails.buildingNo,\n party.selected.customerAddressDetails.streetName,\n party.selected.customerAddressDetails.city,\n party.selected.customerAddressDetails.countryIdentifier?.isoCountryFullName,\n party.selected.customerAddressDetails.postalCode\n ];\n // required for /departures endpoint payload to be separated by space - comma - space\n return addressFieldsArray.filter(field => Boolean(field)).join(\" , \");\n },\n\n /**\n * Creates Booked By Party for /departures endpoint.\n * @description It will create Booked By Party rather it is NEW booking, AMEND or if it is in offlineMode\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {null|{}}\n */\n bookedByParty(state, getters, rootState, rootGetters) {\n const bookedBy = getters.getBookedByParty?.selected || null;\n const roleName = constants.bookedBy;\n const bookedByRoleCode = constants.userRolesByName[roleName];\n const dataSource = rootGetters[\"OD3CP/getBookingDataSource\"];\n\n let bookedByParty = null;\n\n const isAmendBooking = rootGetters[\"OD3CP/isAmendBooking\"];\n if (isAmendBooking) {\n const bookedByPartyFromBookingData = rootGetters[\"OD3CP/getBookingData\"]?.parties?.find(\n party => party.roleCode.toString() === \"1\"\n );\n\n // If there is Booked By Party in API response, map it\n if (bookedByPartyFromBookingData) {\n bookedByParty = getBookedByForDepartures(bookedByPartyFromBookingData, dataSource);\n }\n }\n\n // If there is no booked by party, map the logged in User\n if (bookedByParty == null && bookedBy !== null) {\n const isInOfflineMode = rootGetters[\"OD3CP/isInOfflineMode\"];\n bookedByParty = {\n scvCode: bookedBy.customerCodes?.scvCode,\n cmdCode: bookedBy.customerCodes?.customerCode,\n roleName: roleName,\n roleCode: bookedByRoleCode,\n // add companyName and companyAddress for /departures endpoint (not in offline mode)\n ...(!isInOfflineMode && {\n companyName: bookedBy.tradingName,\n companyAddress: getters.getPartyAddressAsStringByRoleCode(bookedByRoleCode)\n })\n };\n }\n\n return bookedByParty;\n },\n\n /**\n * Creates Parties for /departures endpoint.\n * @description It will create an array of three Parties:\n * Price Owner, Booked by Contact and Booked by Party, if they exist\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {[]}\n */\n createParties(state, getters, rootState, rootGetters) {\n // Booked By Party\n const bookedByParty = getters.bookedByParty;\n // Price owner party\n const priceOwnerParty = rootGetters[\"priceOwnerData/priceOwnerParty\"];\n // Booked by Contact\n const bookedByContact = rootGetters[\"userSettings/isInternalUser\"]\n ? rootGetters[\"bookedByContact/bookedByContact\"]\n : null;\n\n // Extract what is needed for /departures endpoint\n const bookedByContactParty = !bookedByContact\n ? null\n : {\n ...(Boolean(bookedByContact.cmdCode) && { cmdCode: bookedByContact.cmdCode }), // add cmdCode if it is there\n scvCode: bookedByContact.scvCode,\n roleName: bookedByContact.roleName\n };\n\n const parties = [bookedByParty, priceOwnerParty, bookedByContactParty].filter(party => party !== null);\n // Debug scv codes not being passed in prod\n addRUMAction(\"partiesLength\", {\n partiesLength: parties.length,\n hasBookedByParty: Boolean(bookedByParty),\n hasPriceOwnerParty: Boolean(priceOwnerParty),\n hasBookedByContact: Boolean(bookedByContact),\n isInternalUser: rootGetters[\"userSettings/isInternalUser\"]\n });\n return parties;\n },\n /**\n * @description Gets reference rules for Parties\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {{regex: Object, length: Number}}\n */\n getPartyReferenceRules(state, getters, rootState, rootGetters) {\n return {\n length: 200,\n regex: constants.regExpressions.alphaNumSpecailCharsPattern\n };\n },\n /**\n * @description Checks if party is added via party section\n * @param state\n * @return {Boolean}\n */\n isPartyAddedViaPartySection: state => (partyCode, partyScopes) => {\n return !!state.parties?.find(\n p => p.role.code === partyCode && partyScopes.includes(p.role.scope) && p.addedViaPartySelection\n );\n },\n /**\n * @description gets booked by original party\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean}\n */\n getOriginalBookedByParty(state, getters, rootState, rootGetters) {\n return rootGetters[\"OD3CP/getBookingData\"]?.parties?.find(\n party => party?.roleCode === constants.userRoles.BOOKED_BY\n );\n },\n /**\n * @description gets booked by original party code\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean}\n */\n getCustomerCodeForBookedByParty(state, getters, rootState, rootGetters) {\n const originalPartyCode =\n getters.getOriginalBookedByParty?.[rootGetters[\"OD3CP/getPartyCodeKeyForBookingData\"]] ?? null;\n return rootGetters[\"OD3CP/isAmendByPOApplicable\"] ? originalPartyCode : getCustomerCode();\n }\n },\n mutations: {\n /**\n * @description trigger this mutation when API throws 404\n * @param {Object} state\n */\n setSuspendedCustomer(state) {\n state.isSuspendedCustomer = true;\n },\n /**\n * @description set parties based on party roles\n * @param {Object} state\n * @param {Array} partyRoles\n */\n setParties(state, partyRoles) {\n const toAdd = deepClone(state.parties) || [];\n partyRoles?.forEach(role => {\n const roleIndex = toAdd.findIndex(req => req.role.code === role.code);\n if (roleIndex === -1) {\n // First time load\n toAdd.push({ role });\n } else {\n // Back and forth from sailing\n toAdd[roleIndex] = { ...toAdd[roleIndex], role };\n }\n });\n state.parties = deepClone(toAdd);\n },\n resetParties(state) {\n if (state.parties[0]?.selected && Object.keys(state.parties[0]?.selected).length) {\n delete state.parties[0]?.selected?.reference; // NOSONAR\n }\n state.parties = [state.parties[0]];\n },\n resetPartiesNotAddedViaPartySection(state) {\n state.parties = state.parties.map(p => {\n let party = p;\n if (isPartyApplicableForVas(party?.role?.code) && party?.addedViaPartySelection === false) {\n const { selected, addedNew, addedViaPartySelection, ...rest } = p;\n party = rest;\n }\n return party;\n });\n },\n addDefaultParties(state, { validatedParties, isAmendBooking }) {\n if (!validatedParties || !validatedParties.length) return;\n\n /**\n * One major assumption going on here,is that roleCode is unique. Which makes sense why business would want to parties with same roleCode.\n * We basically do two things (a) given an array of objects we make it key value pair with key being roleCode(given it's unique)\n * (b) if validated parties have an scvCode that matches to a party then we \"enrich\" that party so that we can map for party population by setting a key\n * named \"selected\"\n */\n // With new shipment binder app, we need to cater to multiple parties with same role code\n // For now, we are adding the first party with the same role code for amend and duplicate journey\n // TODO: Need to handle and add all parties with same role code\n const enrichedPartyCodes = state.defaultPartyCodes.reduce((acc, party) => {\n const validatedParty = validatedParties.find(vParty => vParty.customerCodes.scvCode === party.scvCode);\n if (validatedParty) {\n party.selected = { ...validatedParty };\n }\n return !acc[party.roleCode] ? { ...acc, [party.roleCode]: party } : acc;\n }, {});\n\n state.parties = state.parties.map(party => {\n /**\n * when we are in amend journey and user added manual party to special party codes then we retain them. Notice that we only retain certain role codes\n */\n if (isAmendBooking && party.addedNew && constants.specialAmendPartyCodes.includes(party.role.code)) {\n return party;\n }\n\n /**\n * if the enrichedPartyCodes has a matching role code then check if it has selected property. If it has selected property then\n * it means it needs to be populated.\n * \"addedViaPartySelection\" will notify other sections using parties to update. e.g customs VAS\n */\n const selected = enrichedPartyCodes[party.role.code]?.selected;\n return selected ? { ...party, selected, addedViaPartySelection: true } : party;\n });\n },\n decorateDefaultPartiesWithReferences(state) {\n state.parties = state.parties.map(party => {\n const partyCode = state.defaultPartyCodes.find(code => {\n return (\n code.scvCode && code.scvCode === party.selected?.customerCodes?.scvCode && code.roleCode === party.role.code\n );\n });\n if (partyCode !== undefined) party.selected.reference = partyCode?.reference;\n return party;\n });\n },\n setDefaultPartyCodes(state, data) {\n state.defaultPartyCodes = data;\n },\n setParty(state, { party, newParty, partyCode, partyScopes, addedViaPartySelection }) {\n state.parties = state.parties.map(p => {\n // add the selected party data to all roles specified by the partyCode and partyScopes\n if (p.role.code === partyCode && partyScopes.includes(p.role.scope)) {\n // the party was added from the New Party form (Party Finder Modal)\n // keep its original structure\n if (!newParty) {\n delete p.addedNew;\n } else {\n p.addedNew = newParty;\n }\n // the party was selected from the existing ones\n if (!party) {\n delete p.selected;\n } else {\n p.selected = party;\n }\n p.addedViaPartySelection = addedViaPartySelection;\n }\n return p;\n });\n },\n // Display an \"optional\" label to conditionally mandatory roles\n setPartyConditionallyMandatory(state, { partyCode, bool }) {\n state.parties = state.parties.map(party => {\n if (party.role.code === partyCode && party.role.scope !== \"OPTIONAL\") {\n return {\n ...party,\n isConditionallyMandatory: bool\n };\n }\n return party;\n });\n },\n setShouldRefreshParties(state, bool) {\n state.shouldRefreshParties = bool;\n },\n // Remove manually added parties (ie: the \"addedNew\" property)\n removeManualParties(state) {\n state.parties = state.parties.map(({ addedNew, ...rest }) => rest);\n },\n removeManualPartiesForAmend(state) {\n state.parties = state.parties.map(party => {\n //if party was not added then simply push it back.no check required\n if (!party.addedNew) return party;\n\n //now we now that we have just manual parties.\n //if the party codes are in specialAmendPartyCodes then we return as such\n if (constants.specialAmendPartyCodes.includes(party.role.code)) return party;\n\n //else simply discard it\n const { addedNew, ...rest } = party;\n return rest;\n });\n },\n setShouldClearSelectedParties(state, bool) {\n state.shouldClearSelectedParties = bool;\n },\n setBookedbyUserType(state, userType) {\n state.bookedbyUserType = userType;\n }\n },\n actions: {\n removeManualParties({ rootGetters, commit }) {\n rootGetters[\"OD3CP/isAmendBooking\"] ? commit(\"removeManualPartiesForAmend\") : commit(\"removeManualParties\");\n },\n async getPartyRoles({ commit, rootGetters, dispatch }) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n const route = rootGetters[\"sailings/getSelectedRoute\"];\n const payload = {\n placeOfReceiptCountryCode: route.schedules[0].startLocation.countryCode,\n placeOfDeliveryCountryCode: route.schedules.slice(-1)[0].endLocation.countryCode\n };\n commit(\"error/clearErrorsForSource\", constants.errorSource.parties, { root: true });\n\n // save available party roles\n try {\n let partyRoles = await getPartyRoles(correlationId, payload);\n // update vas linked party roles once we get the roles from this call\n commit(\"valueAddedServices/setVasPartyRoles\", partyRoles, { root: true });\n commit(\"setParties\", partyRoles);\n } catch (error) {\n if (error?.status >= 500 || error?.status == -1) {\n dispatch(\"workflowLog/logRulesPartiesErrors\", { statusCode: error.status }, { root: true });\n }\n\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n page: constants.errorPage.details,\n source: constants.errorSource.parties,\n statusCode: error?.status,\n showError: false\n },\n { root: true }\n );\n }\n\n // add the default parties to the roles\n const validatedParties = await dispatch(\"getValidatedDefaultParties\");\n const isAmendBooking = rootGetters[\"OD3CP/isAmendBooking\"];\n commit(\"addDefaultParties\", { validatedParties, isAmendBooking });\n\n //if we are in amend booking we need to decorate parties with references before we clear the default party codes\n if (isAmendBooking) {\n commit(\"decorateDefaultPartiesWithReferences\");\n return;\n }\n commit(\"setDefaultPartyCodes\", []); // the \"defaultPartyCodes\" is available only at first load\n },\n /**\n * Validates & Loads the parties into the store.\n * @param commit\n * @param getters\n * @param dispatch\n * @returns {Promise}\n */\n async loadParties({ commit, rootGetters, dispatch }) {\n try {\n const partyRoles = rootGetters[\"bookingOptions/getMandatoryInfoFromBo\"]?.parties;\n commit(\"error/clearErrorsForSource\", constants.errorSource.parties, { root: true });\n commit(\"valueAddedServices/setVasPartyRoles\", partyRoles, { root: true }); // Update vas linked party roles\n commit(\"setParties\", partyRoles); // Saves the Parties from BO into the store for all future operations\n\n const validatedParties = await dispatch(\"getValidatedDefaultParties\"); // Validate the BR/DS Parties against the publicData API\n const isAmendBooking = rootGetters[\"OD3CP/isAmendBooking\"];\n commit(\"addDefaultParties\", { validatedParties, isAmendBooking }); // Compares the parties from BR/DS & BO and decides which parties should be pre-populated in the UI.\n\n //For amend bookings add the party reference for display if it exists.\n if (isAmendBooking) {\n commit(\"decorateDefaultPartiesWithReferences\");\n return;\n }\n commit(\"setDefaultPartyCodes\", []); // Reset \"defaultPartyCodes\" after we have successfully validated them.(Booking Retrieval/DS Data)\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n page: constants.errorPage.details,\n source: constants.errorSource.parties,\n statusCode: error?.status,\n showError: false\n },\n { root: true }\n );\n }\n },\n\n /**\n * If there are default parties, validate them and return the valid ones\n * @param commit\n * @param getters\n * @returns {Promise>} Valid party data\n */\n async getValidatedDefaultParties({ commit, getters }) {\n if (!getters.getDefaultPartyCodes || !getters.getDefaultPartyCodes.length) return;\n\n const errorSource = constants.errorSource.validateDefaultParties;\n commit(\"error/clearErrorsForSource\", errorSource, { root: true });\n\n let scvCodes = getters.getDefaultPartyCodes.map(party => party.scvCode).filter(Boolean);\n let validParties = [];\n\n try {\n validParties = await getPublicData({ customerCode: scvCodes.join(\",\") });\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error.message,\n page: constants.errorPage.details,\n source: errorSource,\n statusCode: error.status\n },\n { root: true }\n );\n }\n\n return validParties;\n },\n\n /**\n * The booked by party is the currently logged in customer\n * Go and get their data\n * @param {*} param0\n */\n async getBookedByParty({ commit, getters }) {\n const errorSource = constants.errorSource.bookedByParty;\n try {\n commit(\"error/clearErrorsForSource\", errorSource, { root: true });\n const partyData = await getPublicData({\n customerCode: getters.getCustomerCodeForBookedByParty\n });\n if (Array.isArray(partyData) && partyData[0]) {\n commit(\"setParty\", { party: partyData[0], partyCode: `${BOOKEDBYROLECODE}`, partyScopes: [\"BOOKEDBY\"] });\n }\n } catch (error) {\n //if error throws 404 we need to set customer as suspended\n if (error?.status === 404) commit(\"setSuspendedCustomer\");\n\n const party = {\n customerCodes: {\n scvCode: getters.getCustomerCodeForBookedByParty\n }\n };\n commit(\"setParty\", { party, partyCode: `${BOOKEDBYROLECODE}`, partyScopes: [\"BOOKEDBY\"] });\n commit(\n \"error/setError\",\n {\n error,\n message: Vue.prototype.$t(\"od3cp.service.error\"),\n page: constants.errorPage.od3cp,\n source: errorSource,\n statusCode: error.status,\n showError: false\n },\n { root: true }\n );\n }\n }\n }\n};\n","/**\n * All the getters related to dataset mapping\n */\nexport default {\n /**\n * @description gets book by contact scv code or name present in booking request\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean}\n */\n getBookedByContactFromDataset(state, getters, rootState, rootGetters) {\n // Getting the value from booking data instead of store values as we don't store book by contact in the model for external user\n const bookingData = rootGetters[\"OD3CP/getBookingData\"];\n return {\n scvCode: bookingData?.bookedByContactScvCode,\n name: bookingData?.bookedByContactName\n };\n }\n};\n","import { getBookedByContactFromBrData } from \"@/common/utils/mappers/od3cp/mappersUtilities\";\n\n/**\n * All the getters related to booking request mapping\n */\nexport default {\n /**\n * the getters which are specific to BR will be placed here\n */\n /**\n * @description gets book by contact scv code or name present in booking request\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean}\n */\n getBookedByContactFromBrData(state, getters, rootState, rootGetters) {\n // Getting the value from booking data instead of store values as we don't store book by contact in the model for external user\n const bookedByContact = getBookedByContactFromBrData(rootGetters[\"OD3CP/getBookingDataFromBookingRequest\"]);\n return {\n scvCode: bookedByContact.maerskPartyCode,\n name: bookedByContact.name\n };\n }\n};\n","import { getBookedByContactForMissingCodeOrName } from \"@/lib/od3cp/od3cpUtilities\";\nimport { isInternalUser } from \"@/common/utils/auth/authRules\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\n/**\n * All the generic getters will be placed here\n */\nexport default {\n /**\n * Gets Booked By Contacts Party from the state\n * @param {Object} state\n * @return {Object}\n */\n getBookedByContacts(state) {\n return state.bookedByContacts;\n },\n /**\n * Gets Booked By Contact Party from the state\n * @param {Object} state\n * @return {Object}\n */\n getBookedByContact(state) {\n return state.contact;\n },\n /**\n * Checks if next page has data\n * @param {Object} state\n * @return {boolean}\n */\n hasNextPage(state) {\n return Boolean(state.nextPageToken);\n },\n /**\n * Gets the booking type for contact validation\n * @param {Object} state\n * @return {Object}\n */\n getContactValidateForBookingType(state) {\n return state.contactValidateForBookingType;\n },\n /**\n * Creates Booked By Contact Party for /departures endpoint and Dataset API POST call.\n * @description It creates Booked By Contact Party from Dataset Api (in Amend booking) if it is\n * returned from API, otherwise it will take existing Booked By Contact Party.\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Object}\n */\n bookedByContact(state, getters, rootState, rootGetters) {\n const bookByContact = state.contact;\n const roleName = constants.bookedByContact;\n const isAmendBooking = rootGetters[\"OD3CP/isAmendBooking\"];\n const isBookedByPresentInBookingData = getters.isContactCodeAndNamePresentInBookingData;\n\n if (isAmendBooking) {\n // If is not present in Dataset, take logged in User\n if (!isBookedByPresentInBookingData) {\n const loggedInUser = getBookedByContactForMissingCodeOrName();\n return {\n scvCode: loggedInUser?.code,\n roleName: roleName,\n name: loggedInUser?.name\n };\n }\n\n // In AMEND, take what we got from Dataset, for external users\n if (!isInternalUser() && isBookedByPresentInBookingData) {\n const bookedByContactFromBooingData = getters.getBookedByContactFromBookingData;\n return {\n scvCode: bookedByContactFromBooingData?.scvCode,\n roleName: roleName,\n name: bookedByContactFromBooingData?.name\n };\n }\n }\n // If there is no Booked By Contact in Dataset (Amend), take existing one if it is present\n if (bookByContact !== null) {\n // Doesn't have role code - it is optional anyway\n return {\n scvCode: bookByContact.contactCodes?.contactScvCode,\n cmdCode: bookByContact.contactCodes?.contactCode,\n roleName: roleName,\n name: bookByContact?.name\n };\n }\n\n return null;\n },\n /**\n * @description Checks if book by contact scv code or name present in booking data (dataset/booking request)\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean}\n */\n getBookedByContactFromBookingData(state, getters, rootState, rootGetters) {\n return rootGetters[\"OD3CP/getBookingDataSource\"] === constants.bookingDataSource.bookingRequest\n ? getters.getBookedByContactFromBrData\n : getters.getBookedByContactFromDataset;\n },\n /**\n * @description Checks if book by contact scv code or name present in booking data (dataset/booking request)\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n isContactCodeOrNamePresentInBookingData(state, getters) {\n const bookedByContact = getters.getBookedByContactFromBookingData;\n return !!(bookedByContact?.scvCode || bookedByContact?.name);\n },\n /**\n * @description Checks if book by contact details present in booking data (dataset/booking request)\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n isContactCodeAndNamePresentInBookingData(state, getters) {\n const bookedByContact = getters.getBookedByContactFromBookingData;\n return !!(bookedByContact?.scvCode && bookedByContact?.name);\n }\n};\n","import { getBookedByParties } from \"@/common/service/customerDataService\";\nimport datasetGetters from \"@/store/modules/bookedByContact/getters/datasetGetters\";\nimport brGetters from \"@/store/modules/bookedByContact/getters/bookingRequestGetters\";\nimport getters from \"@/store/modules/bookedByContact/getters/getters\";\n\nexport default {\n namespaced: true,\n state: {\n bookedByContacts: [],\n contact: null,\n nextPageToken: null,\n // use contactValidateForBookingType as flag to detect booking type for Amend and Duplicate\n contactValidateForBookingType: null\n },\n getters: {\n ...getters,\n ...datasetGetters,\n ...brGetters\n },\n mutations: {\n setBookedByContacts(state, bookedByContacts) {\n // Not all of them have a full name, so let's add one\n /* OME-7169 - SSIBHYP-UI-P3\n Only allow display and selection of active contacts for internal user\n */\n const bookedByContactsWithName = bookedByContacts\n .filter(contact => {\n return contact.contactStatusCode === \"Y\";\n })\n .map(contact => {\n contact.name = `${contact.firstName ? contact.firstName : \"\"} ${\n contact.lastName ? contact.lastName : \"\"\n }`.trim();\n return contact;\n });\n // Sort them by their newly added name\n const sortedBookedByContacts = bookedByContactsWithName.sort((a, b) => {\n return a.name.localeCompare(b.name, \"en\", { ignorePunctuation: true });\n });\n // All contacts already in the state have been through the loop above, so we can join the arrays here\n let allContacts = state.bookedByContacts.concat(sortedBookedByContacts);\n state.bookedByContacts = allContacts;\n },\n setBookedByContact(state, contact) {\n state.contact = contact;\n },\n setNextPageToken(state, token) {\n state.nextPageToken = token;\n },\n setContactValidateForBookingType(state, bookingType) {\n state.contactValidateForBookingType = bookingType;\n },\n clearState(state) {\n state.bookedByContacts = [];\n state.contact = null;\n state.nextPageToken = null;\n }\n },\n actions: {\n async getBookedByContacts({ commit, state }) {\n // Error is caught in the component\n const response = await getBookedByParties(state.nextPageToken);\n // Clear out the token so it doesn't get mis-used\n commit(\"setNextPageToken\", null);\n if (response.headers.get(\"nextPageToken\")) {\n commit(\"setNextPageToken\", response.headers.get(\"nextPageToken\"));\n }\n let body = await response.json();\n commit(\"setBookedByContacts\", body);\n }\n }\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getEnvironmentLabel } from \"@maersk/shared-js\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { isFeatureEnabled } from \"@/common/utils/generic/featureFlagService\";\n\n/**\n * @description\n * Gets the list of offices\n * @returns The offices list\n * @param {Object} params\n * @param {boolean} isMilitaryUser\n */\nexport async function getOffices({ params, isMilitaryUser, correlationId }) {\n if (\n isFeatureEnabled(constants.featureFlags.mockOfficesInLowerEnv.name) &&\n [\"test\", \"preprod\"].includes(getEnvironmentLabel())\n ) {\n let featureFlag = constants.featureFlags.mockOfficesInLowerEnv.amendValue;\n if (params.type === constants.officeType) {\n if (params.brandCode?.toLowerCase() === constants.brandCodes.maersklinelimited) {\n featureFlag = isMilitaryUser\n ? constants.featureFlags.mockOfficesInLowerEnv.valueMLLMilitary\n : constants.featureFlags.mockOfficesInLowerEnv.valueMLL;\n } else {\n featureFlag = constants.featureFlags.mockOfficesInLowerEnv.value;\n }\n }\n return Promise.resolve(featureFlag);\n }\n // Map the parameters to the query string\n const qsParams = Object.keys(params)\n .map(key => `${key}=${params[key]}`)\n .join(\"&\");\n const aoEndpoint = `${getCurrentEnvironmentVariables().apiDomain}/offices?${qsParams}`;\n const ssibEndpoint = `${getCurrentEnvironmentVariables().apiDomain}/ssib-offices/offices?${qsParams}`;\n const officeEndpoint = isFeatureEnabled(constants.featureFlags.migrateOfficeEndpoint.name)\n ? ssibEndpoint\n : aoEndpoint;\n const consumerKey = isFeatureEnabled(constants.featureFlags.migrateOfficeEndpoint.name)\n ? getCurrentEnvironmentVariables().officeConsumerKey\n : getCurrentEnvironmentVariables().consumerKey;\n return executeRequest({\n url: officeEndpoint,\n consumerKey,\n headers: {\n correlationId\n }\n });\n}\n","import { getOffices } from \"@/common/service/officesService\";\nimport { getBrandFromHostname, getUserCredential, getCustomerCode } from \"@maersk/shared-js\";\nimport { constants } from \"@/lib/CONSTANTS.js\";\nimport Vue from \"vue\";\nimport { validate } from \"vee-validate\";\n\nexport default {\n namespaced: true,\n\n // initial state\n state: {\n offices: null,\n amendOffices: null,\n isAmendEmailValid: false\n },\n\n getters: {\n /**\n * The list of offices\n * @param {Object} state Object with offices and amendOffices\n */\n offices(state) {\n return state.offices;\n },\n getAmendOffices(state) {\n return state.amendOffices;\n },\n /**\n * Checks if the office is valid or not\n * @param {Object} state Object with offices and amendOffices\n */\n isValidOffice(state, getters, rootState, rootGetters) {\n if (\n (!state.offices && !rootGetters[\"error/hasErrorsForSource\"](constants.errorSource.offices)) ||\n (Array.isArray(state.offices) &&\n state.offices.length > 0 &&\n state.offices[0]?.contactType === \"BU\" &&\n state.offices[0]?.contact?.match(/^[0-9a-zA-Z]+$/))\n ) {\n return true;\n }\n return false;\n },\n /**\n * Gets the business unit\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @returns {String | null}\n */\n getBusinessUnit(state, getters, rootState, rootGetters) {\n if (rootGetters[\"OD3CP/isAmendByPOApplicable\"]) {\n return rootGetters[\"OD3CP/getBookingDataFromBookingRequest\"]?.businessUnit ?? null;\n }\n return Array.isArray(state.offices) && state.offices.length > 0 ? state.offices[0].contact : null;\n },\n /**\n * Checks if the office is valid or not\n * @param {Object} state Object with offices and amendOffices\n */\n isValidOfficeForAmend(state, getters, rootState, rootGetters) {\n if (\n (!state.amendOffices && !rootGetters[\"error/hasErrorsForSource\"](constants.errorSource.amendOffices)) ||\n (Array.isArray(state.amendOffices) &&\n state.amendOffices.length > 0 &&\n state.amendOffices[0]?.contactType?.toUpperCase() === \"EMAIL\" &&\n state.isAmendEmailValid)\n ) {\n return true;\n }\n return false;\n }\n },\n\n //mutations\n mutations: {\n /**\n * Sets the offices\n * @param {Object} state Object with offices and amendOffices\n * @param {Object[]} offices The list of offices\n */\n setOffices(state, offices) {\n state.offices = offices;\n },\n /**\n * Sets the amend offices\n * @param {Object} state Object with offices and amendOffices\n * @param {Object[]} offices The list of offices\n */\n setAmendOffices(state, offices) {\n state.amendOffices = offices;\n },\n /**\n * Sets the amend email validity\n * @param {Object} state Object with offices and amendOffices\n * @param {Object[]} status The status for email validity\n */\n setAmendEmailStatus(state, status) {\n state.isAmendEmailValid = status;\n }\n },\n\n //actions\n actions: {\n async loadOffices({ commit, rootGetters }, type = constants.officeType) {\n // Currently we support these two types\n if (![constants.officeType, constants.amendOfficeType].includes(type)) return;\n\n // Call offices with amend payload if type is 'BK_AMEND' and booking type is 'AMEND'\n // If type is not passed offices API will be called with type 'BK_NEW'\n const isAmendType = type === constants.amendOfficeType;\n if (isAmendType && !rootGetters[\"OD3CP/isAmendBooking\"]) return;\n const errorSource = isAmendType ? constants.errorSource.amendOffices : constants.errorSource.offices;\n const officeMutation = isAmendType ? \"setAmendOffices\" : \"setOffices\";\n commit(\"error/clearErrorsForSource\", errorSource, { root: true });\n\n try {\n let payload = {\n brandCode: `${getBrandFromHostname(window.location).brandCode.toUpperCase()}`,\n type,\n customerCode: getCustomerCode(),\n name: getUserCredential(\"office\"),\n matchOfficeName: true\n };\n const isMilitaryUser = rootGetters[\"OD3CP/isMilitaryUserWithCarrierMll\"];\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n const offices = await getOffices({ params: payload, isMilitaryUser, correlationId });\n if (isAmendType) {\n // Validating using vee-validate rule to sync email validation in the template\n const status = await validate(offices[0]?.contact, \"email\");\n commit(\"setAmendEmailStatus\", status?.valid);\n }\n commit(officeMutation, offices);\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: Vue.prototype.$t(\"od3cp.service.office.error.message\"),\n page: constants.errorPage.od3cp,\n statusCode: error.status,\n source: errorSource,\n critical: true,\n prefersMessage: false\n },\n { root: true }\n );\n }\n }\n }\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { constants, getCurrentEnvironmentVariables } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion } from \"@/common/utils/generic/featureFlagService\";\n\n/**\n * Configurable Items API\n */\n\n/**\n * Calls the GET method of Configurable Items API.\n * endpoint: /configurable-items\n * @param {String} correlationId\n * @return {Promise}\n */\nexport function getConfigurableItems(correlationId) {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.configurableItems}`,\n method: \"GET\",\n headers: {\n correlationId: correlationId,\n ...getFeatureVersion()\n }\n });\n}\n/**\n * Booking Rules API\n */\n\n/**\n * Calls the GET method of Booking Rukes API.\n * endpoint: //booking-rules/retrieve\n * @param {Boolean} containerGatedIn\n * @param {Boolean} containerPickedUp\n * @param {String} bookingType\n * @param {String} originServiceMode\n * @param {String} offerType\n * @return {Promise}\n */\nexport function getBookingRules(payload) {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.configurableItems}${\n constants.apis.bookingRules\n }`,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n ...getFeatureVersion()\n }\n });\n}\n","import { getConfigurableItems, getBookingRules } from \"@/common/service/configurableItemsService\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\nexport default {\n namespaced: true,\n\n // initial state\n state: {\n configurableItems: null,\n isConfigurableItemsLoading: null,\n bookingRules: null,\n bookingRulesLoading: null,\n disableOriginLocation: false,\n disableDestinationLocation: false,\n disableOriginServiceMode: false,\n disableDestionationServiceMode: false,\n disableAltPickUpLocation: false,\n disableCommodity: false,\n disabledReefer: false,\n disableDangerous: false,\n disableContainerType: false,\n disableContainerQty: false,\n disableContainerWeight: false,\n disableIsShipperOwnedContainer: false,\n disableIsImportReturnContainer: false,\n disableOOGContainer: false,\n disablePriceOwner: false,\n disableDepartureDate: false,\n disableBookedByContact: false\n },\n\n // getters\n getters: {\n /**\n * Gets configurable items array, originally from Configurable Items API\n * @param state\n * @return {null|Array}\n */\n getConfigurableItems(state) {\n return state.configurableItems;\n },\n /**\n * Gets Military SCV code from Configurable Items API, or default from constants\n * @param state\n * @return {string}\n */\n getMilitaryScvCode(state) {\n const militaryConfigItem = state.configurableItems?.find(item => item.key === \"militaryScvCode\");\n return militaryConfigItem ? militaryConfigItem.value : constants.militaryScvCode;\n },\n\n /**\n * Gets configurable item value by provided key\n * @param state\n * @return {function(*): string|undefined}\n */\n getConfigurableItemValueByKey: state => key => {\n return state.configurableItems?.find(item => item.key === key)?.value;\n },\n\n /**\n * Finds Haulage disclaimer countries.\n * @param state\n * @return {[]}\n */\n getHaulageDisclaimerCountriesAsList(state) {\n const haulageDisclaimerCountries = state.configurableItems?.find(\n item => item.key === \"haulageDisclaimerCountries\"\n );\n return haulageDisclaimerCountries ? haulageDisclaimerCountries.value.split(\",\") : [];\n },\n\n isConfigurableItemsLoading(state) {\n return state.isConfigurableItemsLoading;\n },\n\n // ======= Disable OD3CP input fields based on booking-rules api response ======\n disableOriginLocation(state) {\n return state.disableOriginLocation;\n },\n disableDestinationLocation(state) {\n return state.disableDestinationLocation;\n },\n disableOriginServiceMode(state) {\n return state.disableOriginServiceMode;\n },\n disableDestionationServiceMode(state) {\n return state.disableDestionationServiceMode;\n },\n disableAltPickUpLocation(state) {\n return state.disableAltPickUpLocation;\n },\n disableCommodity(state) {\n return state.disableCommodity;\n },\n disabledReefer(state) {\n return state.disabledReefer;\n },\n disableDangerous(state) {\n return state.disableDangerous;\n },\n disableContainerType(state) {\n return state.disableContainerType;\n },\n disableContainerQty(state) {\n return state.disableContainerQty;\n },\n disableContainerWeight(state) {\n return state.disableContainerWeight;\n },\n disableIsShipperOwnedContainer(state) {\n return state.disableIsShipperOwnedContainer;\n },\n disableIsImportReturnContainer(state) {\n return state.disableIsImportReturnContainer;\n },\n disableOOGContainer(state) {\n return state.disableOOGContainer;\n },\n disablePriceOwner(state) {\n return state.disablePriceOwner;\n },\n disableBookedByContact(state) {\n return state.disableBookedByContact;\n },\n disableDepartureDate(state) {\n return state.disableDepartureDate;\n },\n // ======= Get disable tooltip text based on booking-rules api response ======\n getDisabledTooltip: state => key => {\n return state.bookingRules?.find(item => item.key === key)?.messageKey ?? \"\";\n }\n },\n\n // mutations\n mutations: {\n setConfigurableItems(state, configurableItems) {\n state.configurableItems = configurableItems;\n },\n\n setIsConfigurableItemsLoading(state, bool) {\n state.isConfigurableItemsLoading = bool;\n },\n\n setBookingRules(state, rules) {\n const rulesCollection = rules?.bookingRule?.nonEditableFields?.map(({ key }) => key) ?? [];\n state.bookingRules = rules?.bookingRule?.nonEditableFields ?? [];\n state.disableOriginLocation = rulesCollection.includes(constants.nonEditableFields.originLocation);\n state.disableDestinationLocation = rulesCollection.includes(constants.nonEditableFields.destinationLocation);\n state.disableOriginServiceMode = rulesCollection.includes(constants.nonEditableFields.exportServiceMode);\n state.disableDestionationServiceMode = rulesCollection.includes(constants.nonEditableFields.importServiceMode);\n state.disableAltPickUpLocation = rulesCollection.includes(constants.nonEditableFields.alternatePickUpLocation);\n state.disableCommodity = rulesCollection.includes(constants.nonEditableFields.commodityCode);\n state.disabledReefer = rulesCollection.includes(constants.nonEditableFields.isTempControlled);\n state.disableDangerous = rulesCollection.includes(constants.nonEditableFields.isDangerous);\n state.disableContainerType = rulesCollection.includes(constants.nonEditableFields.containerType);\n state.disableContainerQty = rulesCollection.includes(constants.nonEditableFields.containerQuantity);\n state.disableContainerWeight = rulesCollection.includes(constants.nonEditableFields.containerWeight);\n state.disableIsShipperOwnedContainer = rulesCollection.includes(constants.nonEditableFields.isShipperOwned);\n state.disableIsImportReturnContainer = rulesCollection.includes(constants.nonEditableFields.isImportReturned);\n state.disableOOGContainer = rulesCollection.includes(constants.nonEditableFields.isOutOfGauge);\n state.disablePriceOwner = rulesCollection.includes(constants.nonEditableFields.priceOwner);\n state.disableBookedByContact = rulesCollection.includes(constants.nonEditableFields.bookedByContact);\n state.disableDepartureDate = rulesCollection.includes(constants.nonEditableFields.departureDate);\n },\n\n setBookingRulesLoadingStatus(state, bool) {\n state.bookingRulesLoading = bool;\n }\n },\n\n // actions\n actions: {\n /**\n * Fetch configurable items form Configurable Items API\n * @param commit\n * @param rootGetters\n * @return {Promise}\n */\n async loadConfigurableItems({ commit, rootGetters }) {\n commit(\"setIsConfigurableItemsLoading\", true);\n commit(\"error/clearErrorsForSource\", constants.errorSource.configurableItems, { root: true });\n\n try {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n const configurableItems = await getConfigurableItems(correlationId);\n commit(\"setConfigurableItems\", configurableItems);\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error.message,\n page: constants.errorPage.od3cp,\n source: constants.errorSource.configurableItems,\n showError: false,\n critical: false\n },\n { root: true }\n );\n } finally {\n commit(\"setIsConfigurableItemsLoading\", false);\n }\n },\n /**\n * Fetch booking rules form configurable-items/booking-rules/retrieve API\n * @param commit\n * @param rootGetters\n * @return {Promise}\n */\n async loadBookingRules({ commit, rootGetters }) {\n if (\n !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.bookingRules.name) ||\n !rootGetters[\"OD3CP/isAmendBooking\"]\n ) {\n return;\n }\n commit(\"setBookingRulesLoadingStatus\", true);\n commit(\"error/clearErrorsForSource\", constants.errorSource.bookingRules, { root: true });\n try {\n const bookingRules = await getBookingRules({\n containerGatedIn: !!rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerGateInStatus,\n containerPickedUp: !!rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerPickupStatus,\n bookingType: rootGetters[\"OD3CP/bookingType\"] ?? \"\",\n originServiceMode: rootGetters[\"OD3CP/getBookingDataFromBookingRequest\"]?.transport?.exportServiceMode ?? \"\",\n offerType: rootGetters[\"OD3CP/getBookingDataFromBookingRequest\"]?.references?.productCode\n });\n commit(\"setBookingRules\", bookingRules);\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error.message,\n page: constants.errorPage.od3cp,\n source: constants.errorSource.bookingRules,\n showError: true,\n critical: true,\n disableNavigation: true\n },\n { root: true }\n );\n } finally {\n commit(\"setBookingRulesLoadingStatus\", false);\n }\n }\n }\n};\n","import { releaseBooking, getBookingInfo } from \"@/common/service/bookingRequests\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { addRUMAction } from \"@/common/utils/analytics/mopRum.js\";\nimport dayjs from \"dayjs\";\n\nexport default {\n namespaced: true,\n actions: {\n /**\n * Releases (abandons) details associated with a booking\n * @param {String} routeFrom - the application page (route name) the user has just left: od3cp, sailings, details, review\n * @param {String} reason - possible values: \"navigation\", \"sessionTimeout\", \"browserClosed\", \"sanction\", \"apiError\"\n * @param {String} localCorrelationId - previous correlationId stored in local, this will come in case of reload\n * @returns {Promise}\n */\n async releaseBooking({ commit, rootGetters }, { routeFrom, reason, localCorrelationId }) {\n // In case of reload don't trigger release if localCorrelationId is null or a fake one\n if (localCorrelationId === null || localCorrelationId?.includes(\"VOBCID-\")) return;\n\n // if localCorrelationId is there that means reload and take the correlationId from local storage\n const correlationId = localCorrelationId ? localCorrelationId : rootGetters[\"commonData/getCorrelationId\"];\n const commonDataCorrelationId = rootGetters[\"commonData/getCommonDataCorrelationId\"];\n\n // prevent making a new ajax request if the ADF correlationId has been cleared already\n // Note localCorrelationId === undefined prevents to check this condition on reload\n // we are only interested in our local correlationId in case of reload\n if (localCorrelationId === undefined && correlationId === commonDataCorrelationId) {\n return;\n }\n\n const selectedRoute = rootGetters[\"sailings/getSelectedRoute\"];\n const isBookingAbandoned = [\n constants.bookingReleaseReasons.navigation.reason,\n constants.bookingReleaseReasons.browserClosed.reason\n ].includes(reason);\n // Additional check to create cookie only if there was a sailings offer available to book and user abandoned it\n // checks for is(Fixed/Dynamic)PriceAvailable flags in R2 response data\n if (isBookingAbandoned && !!rootGetters[\"sailings/isAnyOfferAvailableToBook\"]) {\n document.cookie = `${constants.cookies.prefix}${constants.cookies.abandoned.key}=true;max-age=${constants.cookies.abandoned.maxAge}`;\n }\n\n const payload = {\n routeScheduleId: selectedRoute?.routeScheduleId,\n bookingJourneyPage: constants.bookingJourneyPages[routeFrom],\n date: dayjs().format(\"YYYY-MM-DD\"),\n code: constants.bookingReleaseReasons[reason].code,\n reason: constants.bookingReleaseReasons[reason].name\n };\n\n const errorSource = constants.errorSource.releaseBooking;\n commit(\"error/clearErrorsForSource\", errorSource, { root: true });\n\n // erase ADF correlationId, and put back the commonData correlationId (in case the user is still on od3cp)\n commit(\"commonData/setCorrelationId\", commonDataCorrelationId || null, { root: true });\n\n // reset the session timer, and whenever a new correlation id is obtained, the session starts again\n commit(\"bookingSession/resetTimer\", null, { root: true });\n\n try {\n // Log an event to Grafana RUM that the booking has been released\n addRUMAction(\"bookingRelease\", {\n code: payload.code,\n reason: payload.reason,\n page: payload.bookingJourneyPage\n });\n await releaseBooking(correlationId, payload);\n } catch (error) {\n commit(\n \"error/setError\",\n { error, message: error.message, page: constants.errorPage.od3cp, source: errorSource, showError: false },\n { root: true }\n );\n }\n },\n async fetchBooking({ commit }, bookingNumber) {\n const booking = await getBookingInfo(bookingNumber);\n commit(\"storeBooking\", { bookingNumber, booking });\n }\n },\n state: {\n bookings: {}\n },\n getters: {\n /**\n * @description returns booking by the id\n * @param {object} state\n * @returns {object|null}\n */\n getBooking: state => number => {\n return state.bookings[number] ?? null;\n },\n getBookingDataFromBr: (state, getters, rootState, rootGetters) => {\n return rootGetters[\"OD3CP/getBookingDataFromBookingRequest\"];\n },\n /**\n * @description Checks if haulage details missing in booking request\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean}\n */\n isHaulageDetailsMissingInOriginalBooking(state, getters) {\n const bookingData = getters.getBookingDataFromBr;\n return (\n !Array.isArray(bookingData?.equipmentAndHaulage?.haulage) ||\n bookingData.equipmentAndHaulage.haulage.length === 0\n );\n },\n /**\n * @description Gets the haulage sites from original booking data based on type\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @param {String} type\n * @returns {Array} haulageSites\n */\n getHaulageSitesFromOriginalBooking: (state, getters) => type => {\n if (getters.isHaulageDetailsMissingInOriginalBooking) return [];\n const bookingData = getters.getBookingDataFromBr;\n const haulageSitesMap = bookingData.equipmentAndHaulage.haulage.map(haulage =>\n Array(haulage?.containerInstanceIds?.length).fill(\n haulage?.haulageSites?.find(site => site?.maerskHaulageSiteRole === type)\n )\n );\n return [].concat.apply([], haulageSitesMap);\n },\n /**\n * @description Get the haulage container instance ids count to know whether it's matching with original container quantity\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {undefined|Boolean}\n */\n getHaulageCountFromOriginalBooking(state, getters) {\n // Here as haulage are already grouped in backend UI will treat different haulage if multiple haulage are there\n if (getters.isHaulageDetailsMissingInOriginalBooking) return;\n const bookingData = getters.getBookingDataFromBr;\n return (bookingData.equipmentAndHaulage.haulage || [])?.reduce(\n (prevSum, haulage) => prevSum + (haulage?.containerInstanceIds?.length ?? 0),\n 0\n );\n },\n /**\n * @description Checks if multiple transport orders exist in original booking data.\n * Note: if one pickupDepotGeoId is different or one pickupDepotGeoID is blank and others are same then condition of multiple haulage is true\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean}\n */\n isMultipleTransportOrdersInOriginalBooking(state, getters) {\n const bookingData = getters.getBookingDataFromBr;\n const containers = bookingData?.equipmentAndHaulage?.containerDetails;\n\n // If no cargo details in the original data user has to add new details in that case od3cChange will be true\n if (!Array.isArray(containers) || !containers.length > 0 || getters.isHaulageDetailsMissingInOriginalBooking) {\n return false;\n }\n // Currently our system support multiple container of same type\n const originalQuantity = containers[0]?.quantity;\n const haulageCount = getters.getHaulageCountFromOriginalBooking;\n const pickupHaulageSites = getters.getHaulageSitesFromOriginalBooking(\n constants.facilities.roles.emptyEquipmentPickup\n );\n const haulagePickupCount = pickupHaulageSites?.length ?? 0;\n const diff = haulageCount - haulagePickupCount;\n if (haulageCount > originalQuantity || diff !== 0) {\n return true;\n }\n return !pickupHaulageSites?.every((val, i, arr) => val?.siteGeoId === arr[0]?.siteGeoId);\n }\n },\n mutations: {\n storeBooking(state, { bookingNumber, booking }) {\n state.bookings[bookingNumber] = booking;\n },\n clearState(state) {\n state.bookings = {};\n }\n }\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion } from \"@/common/utils/generic/featureFlagService\";\n/**\n * Workflow Log API\n */\n\nconst baseUrl = `${getCurrentEnvironmentVariables().apiDomain}/workflowLogs`;\n\n/**\n * Creates workflow log\n * @param {Object} payload\n * @return {Promise}\n */\nexport function createWorkflowLog(payload) {\n if (!payload.correlationId || !payload.errorType || !payload.errorCode || !payload.errorDescription) {\n throw new Error(\"Incomplete Payload. Required: correlationId, errorType, errorCode, errorDescription\");\n }\n return executeRequest({\n url: baseUrl,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n correlationId: payload.correlationId,\n ...getFeatureVersion()\n }\n });\n}\n\n/**\n * Reads workflow log for specific correlation id and booking id\n * @param {String} correlationId\n * @param {String} bookingId\n * @return {Promise}\n */\nexport function getWorkflowLogByCorrelationIdAndBookingId(correlationId, bookingId) {\n if (!correlationId || !bookingId) throw new Error(\"Incomplete Payload. Required: correlationId, bookingId\");\n return executeRequest({\n url: `${baseUrl}?correlationId=${correlationId}&bookingId=${bookingId}`,\n method: \"GET\",\n headers: {\n ...getFeatureVersion()\n }\n });\n}\n\n/**\n * Deletes workflow log for specific correlation id\n * @param {String} correlationId\n * @return {Promise}\n */\nexport function deleteWorkflowLog(correlationId) {\n if (!correlationId) throw new Error(\"Incomplete Payload. Required: correlationId\");\n return executeRequest({\n url: `${baseUrl}/${correlationId}`,\n method: \"DELETE\",\n headers: {\n ...getFeatureVersion()\n }\n });\n}\n","import { constants } from \"@/lib/CONSTANTS\";\nimport { createWorkflowLog, deleteWorkflowLog } from \"@/common/service/workflowLogService\";\nimport Vue from \"vue\";\n\nexport default {\n namespaced: true,\n\n // initial state\n state: {\n loggedErrors: [],\n loggedErrorDetails: [],\n reTriggerOD3CPLoggingOnSailings: false\n },\n\n getters: {\n /**\n * Checks if there is any error code is logged\n * @param {*} state\n * @return {function(*=): boolean}\n */\n hasLoggedCode: state => errorCode => {\n return !!state.loggedErrors?.includes(errorCode);\n },\n shouldReTriggerOd3cpLogsOnSailings(state) {\n return state.reTriggerOD3CPLoggingOnSailings;\n },\n /**\n * Checks if there is any failed workflow logs of specific errorType\n * @param {*} state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {function(*): boolean}\n */\n hasFailedWorkflowLogsByErrorType: (state, getters, rootState, rootGetters) => errorType => {\n return !!rootGetters[\"error/getErrorsBySource\"](constants.errorSource.workflowLog)?.find(\n error => error?.errorType.toUpperCase() === errorType.toUpperCase()\n );\n },\n /**\n * Checks if there is any failed workflow logs of errorType 'error' or 'exception'\n * @param {*} state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {Boolean}\n */\n hasFailedCriticalWorkflowLogs(state, getters, rootState, rootGetters) {\n return !!rootGetters[\"error/getErrorsBySource\"](constants.errorSource.workflowLog)?.find(error => {\n return (\n error?.errorType.toUpperCase() === constants.exceptionTypes.error.toUpperCase() ||\n error?.errorType.toUpperCase() === constants.exceptionTypes.exception.toUpperCase()\n );\n });\n },\n /**\n * @description Gets the status infos to be passed to the additional details endpoint.\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Object} statusInfos\n */\n getStatusInfosForAdditionalDetails(state, getters, rootState, rootGetters) {\n if (!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.useBookingOptions.name)) return [];\n const statusInfos = constants.errorsToLog.createAdditionalDetails.map(i => {\n const errorInfo = state.loggedErrorDetails.find(error => error.errorCode === i);\n if (errorInfo) {\n return {\n code: errorInfo.errorCode,\n description: errorInfo.errorDescription,\n type: errorInfo.errorType\n };\n }\n });\n return statusInfos.filter(Boolean);\n },\n /**\n * @description Gets the status infos to be passed to the submitBooking endpoint.\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {Object} statusInfos\n */\n getStatusInfosForSubmitBooking(state, getters, rootState, rootGetters) {\n if (!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.useBookingOptions.name)) return [];\n const statusInfos = constants.errorsToLog.triggerSubmitProcess.map(i => {\n const errorInfo = state.loggedErrorDetails.find(error => error.errorCode === i);\n if (errorInfo) {\n return {\n code: errorInfo.errorCode,\n description: errorInfo.errorDescription,\n type: errorInfo.errorType\n };\n }\n });\n return statusInfos.filter(Boolean);\n }\n },\n\n //mutations\n mutations: {\n /**\n * Sets a logged error into the store\n * @param {*} state\n * @param {String} errorCode\n */\n setLoggedError(state, errorCode) {\n state.loggedErrors = [...state.loggedErrors, errorCode];\n },\n /**\n * Clears all logged errors from the store\n * @param {*} state\n */\n clearAllLoggedErrors(state) {\n state.loggedErrors = [];\n state.loggedErrorDetails = [];\n },\n /**\n * Clears specific logged errors from the store\n * @param {*} state\n * @param {String} errorCode\n */\n clearSpecificLoggedErrors(state, errorCode) {\n state.loggedErrors?.forEach((e, index) => {\n if (e === errorCode) {\n state.loggedErrors.splice(index, 1);\n }\n });\n state.loggedErrorDetails.forEach((e, index) => {\n if (e.errorCode === errorCode) {\n state.loggedErrorDetails.splice(index, 1);\n }\n });\n },\n /**\n * Sets if OD3CP error/warning/info workflowLogs have to be retriggered\n * on Sailings\n * @param {*} state\n * @param {Boolean} value\n */\n reTriggerOd3cpErrorLogsOnSailings(state, value) {\n state.reTriggerOD3CPLoggingOnSailings = value;\n },\n /* Sets specific logged errors if /workflowLogs of error type error or exception fails\n * @param {*} state\n * @param {String} errorCode\n */\n setFailedWorkflowLogs(state, errorCode) {\n state.loggedErrors = [...state.failedErrosAndExceptions, errorCode];\n },\n saveErrorDetails(state, errorDetails) {\n state.loggedErrorDetails = [...state.loggedErrorDetails, errorDetails];\n }\n },\n actions: {\n /**\n * Resets error/warning/info status codes generated on the OD3CP page\n * This is required for back & forth handling as logs are re-sent if the user navigates back to the sailings page.\n * However if the user navigates back to OD3CP, we clean up the loggedErrors store as the data is now redundant.\n * @param {*} state\n */\n resetLoggedOd3cpErrors({ dispatch }) {\n dispatch(\"resetNacErrors\");\n dispatch(\"resetCargoWeightValidationErrors\");\n dispatch(\"resetMaxContainerExceededError\");\n dispatch(\"resetLoggedCargoInsuranceStatuses\");\n dispatch(\"resetConfigurableItemsError\");\n },\n /**\n * Resets NAC errors that have been saved to the store\n * @param {*} state\n */\n resetNacErrors({ commit }) {\n const errorCodes = [\n constants.errorsForWorkflow.nacExceptionType1.code,\n constants.errorsForWorkflow.nacExceptionType2.code,\n constants.errorsForWorkflow.nacExceptionType3.code,\n constants.errorsForWorkflow.nacExceptionType4.code\n ];\n errorCodes.forEach(code => {\n commit(\"clearSpecificLoggedErrors\", code);\n });\n },\n /**\n * @description Resets FTS errors that have saved to the store\n * @param {Object} state\n */\n resetAflsFtsErrors({ commit }) {\n const errorCodes = [\n constants.errorsForWorkflow.aflsRatesErrorForFts.code,\n constants.errorsForWorkflow.aflsCLIRatesForFts.code,\n constants.errorsForWorkflow.ftsFailure.code\n ];\n errorCodes.forEach(code => {\n commit(\"clearSpecificLoggedErrors\", code);\n });\n },\n /**\n * Resets Cargo Weight Validation Errors errors that have been saved to the store\n * @param {*} state\n */\n resetCargoWeightValidationErrors({ commit }) {\n commit(\"clearSpecificLoggedErrors\", constants.errorsForWorkflow.cargoWeightValidationFailure.code);\n },\n /**\n * Resets Max Container Exceeded Error that have been saved to the store\n * @param {*} state\n */\n resetMaxContainerExceededError({ commit }) {\n commit(\"clearSpecificLoggedErrors\", constants.errorsForWorkflow.containerLimitExceeded.code);\n },\n /**\n * Resets Logged Cargo Insurance Statuses that have been saved to the store\n * @param {*} state\n */\n resetLoggedCargoInsuranceStatuses({ commit }) {\n const errorCodes = [\n constants.errorsForWorkflow.cargoInsuranceStatusType1.code,\n constants.errorsForWorkflow.cargoInsuranceStatusType2.code,\n constants.errorsForWorkflow.cargoInsuranceStatusType3.code,\n constants.errorsForWorkflow.cargoInsuranceStatusType4.code,\n constants.errorsForWorkflow.cargoInsuranceStatusType5.code,\n constants.errorsForWorkflow.cargoInsuranceStatusType6.code,\n constants.errorsForWorkflow.cargoInsuranceStatusError.code\n ];\n errorCodes.forEach(code => {\n commit(\"clearSpecificLoggedErrors\", code);\n });\n },\n\n /**\n * Resets Configurable Items Errors that have been saved to the store\n * @param {*} state\n */\n resetConfigurableItemsError({ commit }) {\n commit(\"clearSpecificLoggedErrors\", constants.errorsForWorkflow.configurableItems.code);\n },\n\n /**\n * Dispatches error/warning/info status codes generated on the OD3CP page\n * @param {*} state\n */\n sendOd3cpErrorsToWorkflowLog({ dispatch, rootGetters }) {\n // 1. Log Cargo Weight Limit Validation Error if it exists\n dispatch(\"logCargoWeightValidationErrors\");\n\n // 2. Log Afls Nac Exceptions if present\n if (!rootGetters[\"OD3CP/enableDestinationOnAmend\"]) {\n dispatch(\"logAflsNacErrors\");\n }\n\n // 3. Log error if user selected container quantity exceeds the max-quantity from configItems\n dispatch(\"logMaxContainerExceededError\");\n\n // 4. Log configItems errors\n dispatch(\"logConfigurableItemsError\");\n\n // 5. Logs Cargo Insurance Status\n dispatch(\"logCargoInsuranceStatus\");\n\n // 6. Logs Cargo Insurance Status Error\n dispatch(\"logCargoInsuranceStatusError\");\n\n // 7. Log Dangerous Cargo Exception\n dispatch(\"logDangerousCargoException\");\n\n // 8. Log Non Active Reefers Exception\n dispatch(\"logNonOperationalReefersException\");\n\n // 9. Log Non Active Reefers Exception\n dispatch(\"logReeferSubTypeException\");\n\n // 10. Log Genset Export Exception\n dispatch(\"logGensetExportException\");\n\n // 11. Log Genset Import Exception\n dispatch(\"logGensetImportException\");\n },\n\n /**\n * Re-sends error/warning/info status codes generated on the OD3CP page on selection of Route\n * in case of back & forth navigation\n * @param {*} state\n */\n reSendOd3cpErrorsToWorkflowLog({ dispatch, commit }) {\n // 1. Re-Log all od3cp errors\n dispatch(\"sendOd3cpErrorsToWorkflowLog\");\n // 2. Resets the Re-trigger Flag (It is set to true in router.js if the user navigates back)\n commit(\"reTriggerOd3cpErrorLogsOnSailings\", false);\n },\n\n /**\n * Logs cargo weight validation failure to the API.\n * @param {*} state\n */\n async logCargoWeightValidationErrors({ rootGetters, rootState, commit }) {\n const hasError = rootState.error.errors.filter(error => error?.source === constants.errorSource.cargoWeightLimit);\n if (hasError && hasError.length > 0) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: constants.apis.standardized.cargoWeightLimits,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.cargoWeightValidationFailure.code,\n errorDescription: constants.errorsForWorkflow.cargoWeightValidationFailure.description\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.cargoWeightValidationFailure.code);\n }\n commit(\"saveErrorDetails\", errorInfo);\n }\n },\n /**\n * Logs contract changes\n * @param {*} state\n */\n async logContractChanges({ rootGetters, commit }) {\n let { isRequiredToSend, originalContractNumber, newContractNumber } = rootGetters[\n \"sailings/getContractChangeInfo\"\n ];\n\n if (isRequiredToSend) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: constants.errorsForWorkflow.contractChangeWarningType1.name,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.contractChangeWarningType1.code,\n errorDescription: constants.errorsForWorkflow.contractChangeWarningType1.description\n .replace(\"{ServiceContractNumberInSourceBooking}\", originalContractNumber)\n .replace(\"{ServiceContractSelected}\", newContractNumber)\n .trim()\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.contractChangeWarningType1.code);\n }\n }\n },\n\n /**\n * Sends NAC status codes to the API. Triggered on navigation to sailings.\n * @param {*} state\n */\n logAflsNacErrors({ dispatch, rootGetters, rootState }) {\n const aflsNacServiceAvailability = rootGetters[\"nacAndAllocations/getAflsNacServiceAvailablity\"]?.ok;\n const aflsNacServiceAvailabilityStatusCode =\n rootGetters[\"nacAndAllocations/getAflsNacServiceAvailablity\"]?.status;\n const previouslyUsedNacServiceAvailability = rootGetters[\"history/getPreviouslyUsedNacServiceAvailability\"]?.ok;\n const previouslyUsedNacServiceAvailabilityStatusCode =\n rootGetters[\"history/getPreviouslyUsedNacServiceAvailability\"]?.status;\n const selectedNacSource = rootGetters[\"nacAndAllocations/getNacSource\"];\n const selectedNac = !!rootGetters[\"nacAndAllocations/getSelectedNac\"]?.customerCodes?.scvCode;\n const nacList =\n rootState?.nacAndAllocations?.nacs &&\n rootState?.nacAndAllocations?.nacs[0]?.fullName !== Vue.prototype.$t(\"od3cp.component.nacModal.noNacName\");\n\n // If No AFLS Nacs returned by service(404) & user selects previously Used\n if (\n aflsNacServiceAvailabilityStatusCode === 404 &&\n selectedNac &&\n selectedNacSource === constants.nacSource.NAC_FROM_RECENTLY_USED\n ) {\n dispatch(\"logAflsNacErrorNoNacUsedNacSelected\");\n }\n\n // If AFLS Nacs service fails & user selects previously Used\n if (\n ![200, 404].includes(aflsNacServiceAvailabilityStatusCode) &&\n selectedNac &&\n selectedNacSource === constants.nacSource.NAC_FROM_RECENTLY_USED\n ) {\n dispatch(\"logAflsNacErrorServiceDownUsedNacSelected\");\n }\n\n // If NACs are returned by AFLS (200) OR Previously Used data is available(200) but user\n // selects Nac from CMD\n if (\n (aflsNacServiceAvailabilityStatusCode === 200 || previouslyUsedNacServiceAvailabilityStatusCode === 200) &&\n selectedNac &&\n selectedNacSource === constants.nacSource.NAC_FROM_CMD\n ) {\n dispatch(\"logAflsNacErrorCMDNacSelected\");\n }\n\n // If Nacs service fails(non 404) & previously used service fails/404 and user selects Nac from CMD\n if (\n !aflsNacServiceAvailability &&\n aflsNacServiceAvailabilityStatusCode !== 404 &&\n !previouslyUsedNacServiceAvailability &&\n selectedNac &&\n selectedNacSource === constants.nacSource.NAC_FROM_CMD\n ) {\n dispatch(\"logAflsNacErrorServiceDownCMDNacSelected\");\n }\n\n // If Nac is available from EITHER AFLS or previously used but user selects NO NAC\n if (nacList && selectedNacSource === constants.nacSource.NOT_AVAILABLE) {\n dispatch(\"logAflsNacErrorNoNacSelected\");\n }\n\n // If NAC API is unavailable(non 404) & NAC History services fails/404 and user selects NO NAC\n if (\n !aflsNacServiceAvailability &&\n aflsNacServiceAvailabilityStatusCode !== 404 &&\n !previouslyUsedNacServiceAvailability &&\n selectedNacSource === constants.nacSource.NOT_AVAILABLE\n ) {\n dispatch(\"logAflsNacErrorServiceDownNoNacSelected\");\n }\n },\n /**\n * If No AFLS Nacs returned by service(404) & user selects previously Used\n * @param {*} state\n */\n async logAflsNacErrorNoNacUsedNacSelected({ rootGetters, commit }) {\n const errorType = constants.exceptionTypes.warning;\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: errorType,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.nacExceptionType1.code,\n errorDescription: constants.errorsForWorkflow.nacExceptionType1.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.nacExceptionType1.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.od3cp,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.nacExceptionType1.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: errorType\n },\n { root: true }\n );\n }\n },\n /**\n * If AFLS Nacs service fails & user selects previously Used\n * @param {*} state\n */\n async logAflsNacErrorServiceDownUsedNacSelected({ rootGetters, commit }) {\n const errorType = constants.exceptionTypes.warning;\n let errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: errorType,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.nacExceptionType2.code,\n errorDescription: constants.errorsForWorkflow.nacExceptionType2.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.nacExceptionType2.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.od3cp,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.nacExceptionType2.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: errorType\n },\n { root: true }\n );\n }\n },\n /**\n * If NACs are returned by AFLS (200) OR Previously Used data is available(200) but user selects Nac from CMD\n * @param {*} state\n */\n async logAflsNacErrorCMDNacSelected({ rootGetters, commit }) {\n const errorType = constants.exceptionTypes.warning;\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: errorType,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.nacExceptionType3.code,\n errorDescription: constants.errorsForWorkflow.nacExceptionType3.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.nacExceptionType3.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.od3cp,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.nacExceptionType3.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: errorType\n },\n { root: true }\n );\n }\n },\n /**\n * If Nacs service fails(non 404) & previously used service fails/404 and user selects Nac from CMD\n * @param {*} state\n */\n async logAflsNacErrorServiceDownCMDNacSelected({ rootGetters, commit }) {\n const errorType = constants.exceptionTypes.warning;\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: errorType,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.nacExceptionType4.code,\n errorDescription: constants.errorsForWorkflow.nacExceptionType4.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.nacExceptionType4.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.od3cp,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.nacExceptionType4.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: errorType\n },\n { root: true }\n );\n }\n },\n /**\n * If Nac is available from EITHER AFLS or previously used but user selects NO NAC\n * @param {*} state\n */\n async logAflsNacErrorNoNacSelected({ rootGetters, commit }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.info,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.nacInfoType1.code,\n errorDescription: constants.errorsForWorkflow.nacInfoType1.description\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.nacInfoType1.code);\n }\n },\n /**\n * If NAC API is unavailable(non 404) & NAC History services fails/404 and user selects NO NAC\n * @param {*} state\n */\n async logAflsNacErrorServiceDownNoNacSelected({ rootGetters, commit }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.info,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.nacInfoType2.code,\n errorDescription: constants.errorsForWorkflow.nacInfoType2.description\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.nacInfoType2.code);\n }\n },\n\n /**\n * Triggered when Sanctions API fails/errors.\n * @param {*} state\n * @param statusCode\n */\n async logSanctionsErrors({ rootGetters, rootState, commit }, statusCode) {\n const isError = rootState.error.errors?.find(error => error?.source === constants.errorSource.sanctions);\n if (!isError) return;\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception,\n errorName: constants.apis.standardized.sanctions,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.sanctions.code,\n errorDescription: constants.errorsForWorkflow.sanctions.description.replace(\"{API_code}\", statusCode)\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.sanctions.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.review,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.sanctions.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception\n },\n { root: true }\n );\n }\n },\n\n //TODO need to refactor the code for increasing reusability\n /**\n * @description\n * called for logging when facilities API is either down or provides statusInfo's in API resonse while user is in additional details\n * @param {Object} store vuex store\n * @param {Object} response The raw response from the API\n */\n async logCYHaulageErrors({ rootGetters, commit }, { response }) {\n if (!response) {\n throw new Error(\"params not correct\");\n }\n if (response.status) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.adfUnavailableFacilitiesDown.code,\n errorDescription: constants.errorsForWorkflow.adfUnavailableFacilitiesDown.description.replace(\n \"{API_code}\",\n response.status\n )\n };\n try {\n const workflowResponse = await createWorkflowLog(errorInfo);\n if (workflowResponse?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.adfUnavailableFacilitiesDown.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n page: constants.errorPage.details,\n source: constants.errorSource.workflowLog,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.adfUnavailableFacilitiesDown.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception\n },\n { root: true }\n );\n }\n }\n if (response.code) {\n // In this case we get a response from the API, but there are still some error present in statusInfo's\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: response.type,\n errorName: response.name || null,\n isServiceChecked: true,\n errorCode: response.code,\n errorDescription: response.description\n };\n try {\n const workflowResponse = await createWorkflowLog(errorInfo);\n if (workflowResponse?.status === 201) {\n commit(\"setLoggedError\", response.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.details,\n statusCode: error?.status,\n errorCode: response.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: response.type\n },\n { root: true }\n );\n }\n }\n },\n\n /**\n * @description action to be triggered when the VAS api returns isNoVasesPriceAvailable & mandatory Zurich\n * or API Error\n * @param {Object} context\n * @param {Number} statusCode HTTP status code like 200, 201, 400, 500\n */\n async logVasApiErrors({ commit, rootGetters }, statusCode) {\n if (!statusCode) {\n throw new Error(\"params not correct\");\n }\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: constants.apis.vas,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.vasDown.code,\n errorDescription: constants.errorsForWorkflow.vasDown.description.replace(\"{API_code}\", statusCode)\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.vasDown.code);\n }\n },\n\n /**\n * @description action to be triggered when the rules references is down\n * @param {Object} context\n * @param {Number} statusCode HTTP status code like 200, 201, 400, 500\n */\n async logRulesReferencesErrors({ commit, rootGetters }, statusCode) {\n if (!statusCode) {\n throw new Error(\"params not correct\");\n }\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: constants.apis.standardized.rulesReferences,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.rulesReferencesDown.code,\n errorDescription: constants.errorsForWorkflow.rulesReferencesDown.description.replace(\"{API_code}\", statusCode)\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.rulesReferencesDown.code);\n }\n },\n\n /**\n * @description action to be triggered when the rules parties is down\n * @param {Object} context\n * @param error\n */\n async logRulesPartiesErrors({ commit, rootGetters }, error) {\n if (!error) {\n throw new Error(\"params not correct\");\n }\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: constants.apis.standardized.rulesParty,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.rulesPartiesDown.code,\n errorDescription: constants.errorsForWorkflow.rulesPartiesDown.description.replace(\n \"{API_code}\",\n error.statusCode\n )\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.rulesPartiesDown.code);\n }\n },\n\n /**\n * @description action to be triggered when user adds manual party\n * @param {Object} context\n */\n async logManualPartyAdded({ commit, rootGetters }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.error,\n errorName: \"Manual party added\",\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.manualPartyAdded.code,\n errorDescription: constants.errorsForWorkflow.manualPartyAdded.description\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.manualPartyAdded.code);\n }\n },\n\n /**\n * @description action to be triggered when user adds manual party for SD haulage\n * @param {Object} context\n */\n async logManualPartyAddedForSDHaulage({ commit, rootGetters }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception,\n errorName: \"Manual party added for SD Haulage\",\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.manualSDLoadAddress.code,\n errorDescription: constants.errorsForWorkflow.manualSDLoadAddress.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.manualSDLoadAddress.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.details,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.manualSDLoadAddress.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception\n },\n { root: true }\n );\n }\n },\n\n /**\n * Sends cargo insurance status codes to the backend\n * @param {*} state\n */\n async logCargoInsuranceStatus({ rootGetters, rootState, commit }) {\n if (!!rootState.OD3CP?.cargoInsurance?.insuranceAvailable[0]?.insuranceStatusCode) {\n let statusInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorName: null,\n errorType: constants.exceptionTypes.info,\n isServiceChecked: true\n };\n\n switch (rootState.OD3CP.cargoInsurance.insuranceAvailable[0].insuranceStatusCode) {\n case 1:\n statusInfo.errorCode = constants.errorsForWorkflow.cargoInsuranceStatusType1.code;\n statusInfo.errorDescription = constants.errorsForWorkflow.cargoInsuranceStatusType1.description;\n break;\n case 2:\n statusInfo.errorCode = constants.errorsForWorkflow.cargoInsuranceStatusType2.code;\n statusInfo.errorDescription = constants.errorsForWorkflow.cargoInsuranceStatusType2.description;\n break;\n case 3:\n statusInfo.errorCode = constants.errorsForWorkflow.cargoInsuranceStatusType3.code;\n statusInfo.errorDescription = constants.errorsForWorkflow.cargoInsuranceStatusType3.description;\n break;\n case 4:\n statusInfo.errorCode = constants.errorsForWorkflow.cargoInsuranceStatusType4.code;\n statusInfo.errorDescription = constants.errorsForWorkflow.cargoInsuranceStatusType4.description;\n break;\n case 5:\n statusInfo.errorCode = constants.errorsForWorkflow.cargoInsuranceStatusType5.code;\n statusInfo.errorDescription = constants.errorsForWorkflow.cargoInsuranceStatusType5.description;\n break;\n case 6:\n statusInfo.errorCode = constants.errorsForWorkflow.cargoInsuranceStatusType6.code;\n statusInfo.errorDescription = constants.errorsForWorkflow.cargoInsuranceStatusType6.description;\n break;\n }\n\n const response = await createWorkflowLog(statusInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", statusInfo.errorCode);\n }\n commit(\"saveErrorDetails\", statusInfo);\n }\n },\n\n /**\n * Triggered when cargoInsuranceStatus API fails/errors\n * @param {*} state\n */\n async logCargoInsuranceStatusError({ rootGetters, commit }) {\n const error = rootGetters[\"error/getErrorsBySource\"](constants.errorSource.cargoInsuranceStatus);\n if (error && error.length > 0) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: constants.apis.cargoInsuranceStatus,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.cargoInsuranceStatusError.code,\n errorDescription: constants.errorsForWorkflow.cargoInsuranceStatusError.description\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.cargoInsuranceStatusError.code);\n }\n commit(\"saveErrorDetails\", errorInfo);\n }\n },\n\n /**\n * Triggered when ConfigurableItems API fails/errors\n * @param {*} state\n */\n async logConfigurableItemsError({ rootGetters, commit }) {\n const error = rootGetters[\"error/getErrorsBySource\"](constants.errorSource.configurableItems);\n if (error && error.length > 0) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: constants.apis.configurableItems,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.configurableItems.code,\n errorDescription: constants.errorsForWorkflow.configurableItems.description\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.configurableItems.code);\n }\n commit(\"saveErrorDetails\", errorInfo);\n }\n },\n\n /**\n * Triggered when the number of containers added by the user exceeds the maximum allowed containers\n * @param {Object} store vuex store\n */\n async logMaxContainerExceededError({ rootGetters, commit }) {\n let maxContainers = rootGetters[\"configurableItems/getConfigurableItemValueByKey\"](\"maxContainers\");\n if (!maxContainers || rootGetters[\"OD3CP/getTotalContainerQuantity\"] <= maxContainers) return;\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.containerLimitExceeded.code,\n errorDescription: constants.errorsForWorkflow.containerLimitExceeded.description.replace(\n \"{value}\",\n maxContainers.toString()\n )\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.containerLimitExceeded.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.od3cp,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.containerLimitExceeded.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception\n },\n { root: true }\n );\n }\n },\n\n /**\n * Triggered when the container is of any reefer type, but the cargo is not temperature controlled\n * @param {Object} store vuex store\n */\n async logNonOperationalReefersException({ rootGetters, commit }) {\n const isReefer = rootGetters[\"OD3CP/isReefer\"];\n const isTemperatureControlled = rootGetters[\"OD3CP/isTemperatureControlled\"];\n if (isReefer && !isTemperatureControlled) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.nonOperationalReeferException.code,\n errorDescription: constants.errorsForWorkflow.nonOperationalReeferException.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.nonOperationalReeferException.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.od3cp,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.nonOperationalReeferException.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception\n },\n { root: true }\n );\n }\n }\n },\n\n /**\n * Triggered when the container is of any reefer type, but the sub-type is not standard\n * @param {Object} store vuex store\n */\n async logReeferSubTypeException({ rootGetters, commit }) {\n const reeferContainerCode = rootGetters[\"reeferSettingsData/getReeferContainerCode\"];\n const allowedStandardContainerCodes = constants.reeferContainerCodes.standard;\n if (reeferContainerCode !== null && !allowedStandardContainerCodes.includes(reeferContainerCode)) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.reeferSubTypeException.code,\n errorDescription: constants.errorsForWorkflow.reeferSubTypeException.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.reeferSubTypeException.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.od3cp,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.reeferSubTypeException.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception\n },\n { root: true }\n );\n }\n }\n },\n\n /**\n * Triggered when the container is of any reefer type, and genset import is selected\n * @param {Object} store vuex store\n */\n async logGensetImportException({ rootGetters, commit }) {\n const isGensetImport = rootGetters[\"reeferSettingsData/getGenSetImport\"];\n if (!isGensetImport) return;\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.gensetImportException.code,\n errorDescription: constants.errorsForWorkflow.gensetImportException.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.gensetImportException.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.od3cp,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.gensetImportException.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception\n },\n { root: true }\n );\n }\n },\n\n /**\n * Triggered when the container is of any reefer type, and genset export is selected\n * @param {Object} store vuex store\n */\n async logGensetExportException({ rootGetters, commit }) {\n const isGensetExport = rootGetters[\"reeferSettingsData/getGenSetExport\"];\n if (!isGensetExport) return;\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.gensetExportException.code,\n errorDescription: constants.errorsForWorkflow.gensetExportException.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.gensetExportException.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.od3cp,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.gensetExportException.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception\n },\n { root: true }\n );\n }\n },\n\n /**\n * Triggered when cargo insurance quote request fails\n * @param {Object} store vuex store\n */\n async logZurichError({ rootGetters, commit }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.cargoInsuranceQuoteType1.code,\n errorDescription: constants.errorsForWorkflow.cargoInsuranceQuoteType1.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.cargoInsuranceQuoteType1.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.details,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.cargoInsuranceQuoteType1.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception\n },\n { root: true }\n );\n }\n commit(\"saveErrorDetails\", errorInfo);\n },\n\n /**\n * Triggered when cargo insurance quote returns an odcrc error code\n * @param {Object} store vuex store\n * @param {Object} errorCodes The error codes returned by the API\n */\n async logOdcrcError({ rootGetters, commit }, { errorCodes }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.info,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.cargoInsuranceQuoteType3.code,\n errorDescription: constants.errorsForWorkflow.cargoInsuranceQuoteType3.description.replace(\n \"{errorCode}\",\n errorCodes\n )\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.cargoInsuranceQuoteType3.code);\n }\n commit(\"saveErrorDetails\", errorInfo);\n },\n\n /**\n * Triggered when cargo insurance quote returns a non-odcrc error code\n * @param {Object} store vuex store\n * @param {Object} errorCodes The error codes returned by the API\n */\n async logNonOdcrcError({ rootGetters, commit }, { errorCodes }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.info,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.cargoInsuranceQuoteType4.code,\n errorDescription: constants.errorsForWorkflow.cargoInsuranceQuoteType4.description.replace(\n \"{errorCode}\",\n errorCodes\n )\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.cargoInsuranceQuoteType4.code);\n }\n commit(\"saveErrorDetails\", errorInfo);\n },\n\n /**\n * Triggered when cargo insurance submission fails\n * @param {Object} store vuex store\n * @param {Object} response The raw response from the API\n */\n async logZurichSubmissionErrors({ commit, rootGetters }, { response }) {\n if (response.statusCode || response.status) {\n // Raw response, this is an error\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.cargoInsuranceBindServiceError.code,\n errorDescription: constants.errorsForWorkflow.cargoInsuranceBindServiceError.description\n };\n const result = await createWorkflowLog(errorInfo);\n if (result?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.cargoInsuranceBindServiceError.code);\n }\n commit(\"saveErrorDetails\", errorInfo);\n }\n if (\n response.policyNotes &&\n Array.isArray(response.policyNotes) &&\n constants.insuranceErrorPolicyCodes.some(code => response.policyNotes.includes(code))\n ) {\n // This is the case where we get a response from the API, but the policy hasn't bound right\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.cargoInsuranceBindFailed.code,\n errorDescription: constants.errorsForWorkflow.cargoInsuranceBindFailed.description.replace(\n \"API code\",\n response.policyNotes\n )\n };\n const result = await createWorkflowLog(errorInfo);\n if (result?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.cargoInsuranceBindFailed.code);\n }\n commit(\"saveErrorDetails\", errorInfo);\n }\n if (response instanceof Error && response.message === \"TIMEOUT\") {\n // This is the case where we get a response from the API, but the policy hasn't bound right\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.cargoInsuranceBindServiceTimeout.code,\n errorDescription: constants.errorsForWorkflow.cargoInsuranceBindServiceTimeout.description\n };\n const result = await createWorkflowLog(errorInfo);\n if (result?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.cargoInsuranceBindServiceTimeout.code);\n }\n commit(\"saveErrorDetails\", errorInfo);\n }\n },\n\n /**\n * @description workflow to be triggered when afls rates is down or gives no rate\n * @param {Object} context\n * @param {number} statusCode\n */\n async aflsRatesErrors({ commit, rootGetters }, statusCode) {\n if (!statusCode) {\n throw new Error(\"params not correct\");\n }\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.aflsRatesError.code,\n errorDescription: constants.errorsForWorkflow.aflsRatesError.description.replace(\"{API_code}\", statusCode)\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.aflsRatesError.code);\n }\n },\n\n /**\n * @description workflow to be triggered when afls rates is down in amend journey\n * @param {Object} context\n */\n async aflsRatesErrorsForFts({ commit, rootGetters }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: null,\n isServiceChecked: false,\n errorCode: constants.errorsForWorkflow.aflsRatesErrorForFts.code,\n errorDescription: constants.errorsForWorkflow.aflsRatesErrorForFts.description\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.aflsRatesErrorForFts.code);\n }\n },\n\n /**\n * @description workflow to be triggered when CLI rates is present in amend journey\n * @param {Object} context\n */\n async aflsCLIRatesErrorForFts({ commit, rootGetters }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: null,\n isServiceChecked: false,\n errorCode: constants.errorsForWorkflow.aflsCLIRatesForFts.code,\n errorDescription: constants.errorsForWorkflow.aflsCLIRatesForFts.description\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.aflsCLIRatesForFts.code);\n }\n },\n\n /**\n * Triggers when containerGateIn is true for amend on booking.\n * @param {*} state\n */\n async logContainerGateInErrors({ rootGetters, commit }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception,\n errorName: constants.errorsForWorkflow.containerGateInError.name,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.containerGateInError.code,\n errorDescription: constants.errorsForWorkflow.containerGateInError.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.containerGateInError.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.sailing,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.containerGateInError.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception\n },\n { root: true }\n );\n }\n },\n async deleteFromWorkflowLog({ commit, rootGetters }) {\n // It will delete exceptions like below\n // If user had selected any manual SD load address in forward journey RD_SD_BE_2\n // If user had selected SD load date time less than 30 days RD_SD_BE_1\n // If user had selected any manual parties RD_CM_TE_39\n await deleteWorkflowLog(rootGetters[\"commonData/getCorrelationId\"]);\n [\n constants.errorsForWorkflow.manualSDLoadAddress.code,\n constants.errorsForWorkflow.SDLoadDateTime.code,\n constants.errorsForWorkflow.manualPartyAdded.code\n ].forEach(e => commit(\"clearSpecificLoggedErrors\", e));\n },\n /**\n * Triggered when redirected from Shipment binder with dangerous cargo checked and unchecked to proceed Amendment through SSIB\n * @param rootGetters\n * @param commit\n */\n async logDangerousCargoException({ rootGetters, commit }) {\n if (\n !(\n rootGetters[\"OD3CP/isAmendBooking\"] &&\n rootGetters[\"OD3CP/getBookingData\"]?.isDangerous &&\n !rootGetters[\"OD3CP/isDangerous\"]\n )\n )\n return;\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception,\n errorName: constants.errorsForWorkflow.dangerousCargoException.description,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.dangerousCargoException.code,\n errorDescription: constants.errorsForWorkflow.dangerousCargoException.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.dangerousCargoException.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.od3cp,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.dangerousCargoException.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception\n },\n { root: true }\n );\n }\n },\n /**\n * @description Triggered when GET Full Trade Switch details fails\n * @param {Object} context\n */\n async ftsErrors({ commit, rootGetters }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.warning,\n errorName: null,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.ftsFailure.code,\n errorDescription: constants.errorsForWorkflow.ftsFailure.description\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.ftsFailure.code);\n }\n },\n\n /**\n * If the containers have been picked up or gated in and customer changes OD3CP for Amend\n * Send exception to workflow log to make the booking non instant\n * @param {*} state\n */\n async sendAmendOd3cChangePickupGatedInWFL({ commit, rootGetters }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.info,\n errorName: constants.errorsForWorkflow.containerPickedUpError.name,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.containerPickedUpError.code,\n errorDescription: constants.errorsForWorkflow.containerPickedUpError.description\n };\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.containerPickedUpError.code);\n }\n },\n /**\n * Triggered when Reefer Settings API is not available\n * @param {*} state\n */\n async logReeferSettingsApiNotAvailableException({ commit, rootGetters }) {\n const errorInfo = {\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception,\n errorName: constants.errorsForWorkflow.reeferSettingsApiNotAvailable.description,\n isServiceChecked: true,\n errorCode: constants.errorsForWorkflow.reeferSettingsApiNotAvailable.code,\n errorDescription: constants.errorsForWorkflow.reeferSettingsApiNotAvailable.description\n };\n try {\n const response = await createWorkflowLog(errorInfo);\n if (response?.status === 201) {\n commit(\"setLoggedError\", constants.errorsForWorkflow.reeferSettingsApiNotAvailable.code);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n source: constants.errorSource.workflowLog,\n page: constants.errorPage.od3cp,\n statusCode: error?.status,\n errorCode: constants.errorsForWorkflow.reeferSettingsApiNotAvailable.code,\n correlationId: rootGetters[\"commonData/getCorrelationId\"],\n errorType: constants.exceptionTypes.exception\n },\n { root: true }\n );\n }\n }\n }\n};\n","import { constants } from \"@/lib/CONSTANTS\";\nimport Vue from \"vue\";\n/**\n * @description\n * Sets up a session timer for the booking journey\n */\nexport default {\n namespaced: true,\n state: {\n timer: null,\n elapsedTime: 0 // minutes\n },\n\n getters: {\n getSessionConfig(state, getters, rootState, rootGetters) {\n const { warnAfter, timeoutAfter } =\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.sessionTimeoutConfig.name) || {};\n return {\n warnAfter: warnAfter || Vue.prototype.$t(\"bookingSession.popupWindow.warn.minutes\"),\n timeoutAfter: timeoutAfter || Vue.prototype.$t(\"bookingSession.popupWindow.timeout.minutes\")\n };\n }\n },\n\n mutations: {\n startTimer(state, timerRef) {\n state.timer = timerRef;\n },\n incrementTimer(state, value) {\n state.elapsedTime += value;\n },\n resetTimer(state) {\n clearInterval(state.timer);\n state.elapsedTime = 0;\n }\n },\n\n actions: {\n startBookingSession({ commit }) {\n commit(\"resetTimer\");\n\n const interval = constants.pollingTimer.bookingSession;\n commit(\n \"startTimer\",\n setInterval(() => commit(\"incrementTimer\", interval / 60000), interval)\n );\n }\n }\n};\n","export const initialState = {\n pricingJourneyPreviousData: null,\n productOfferData: null,\n alternateProductOfferData: null,\n isLockEnabled: false,\n isProductOffersLoading: false,\n isAutoTriggerProductOffersLoading: false,\n isProductOffersLoadingFromAlternate: false,\n isProductOffersLoadingForLoadMore: false,\n isAlternateOffersLoading: false,\n selectedAlternateOffer: null,\n productOffersError: false,\n productOffersBatch: 0,\n offers: [],\n offerPerPage: 4,\n loadMoreProductOffers: false,\n productOffersActivePage: 1,\n alternateOffersActivePage: 1,\n isShowAfterSeeTheOffer: false,\n isChangeTriggeredByLoadMore: false,\n timeOutReason: null,\n /**\n * stores information whether any call to offers call made or not\n */\n hasNoCallMade: true,\n /**\n * use it to store the last od3cp form information\n */\n od3cpCachedFormData: null,\n /**\n * use it to store the timestamp for each new search\n */\n tagId: null,\n maxPageViewedForAlternate: 0,\n hasNoMoreOffers: false,\n /**\n * use it to check if user has selected the offer and proceeding to next page\n */\n isOfferInUse: false,\n /**\n * Stores the old CPJ app tag id\n */\n cpjTagId: null,\n /**\n * Stores Subscription ids\n */\n subscriptionIds: [],\n subscriptionState: true,\n triggerSource: null,\n isNorRecommendation: false,\n pricingCorrelationId: null\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { PricingJourneyPayload } from \"@/common/utils/types\";\nimport { getFeatureValue } from \"@/common/utils/generic/featureFlagService\";\n\n/**\n *\n * @returns Inline telemetry attribute used for checking bots using Akamai BOTMAN\n */\nexport function setInlineTelemetry() {\n return !(window as Window)?.bmak ? null : { \"Akamai-BM-Telemetry\": (window as Window).bmak?.get_telemetry() };\n}\nconst envVariables = getCurrentEnvironmentVariables();\nconst consumerKey = envVariables.offersConsumerKey;\n\n/**\n * Combined booking journey API\n */\n\n/**\n * This function gets the offers for pricing journey\n * @param {PricingJourneyPayload} payload\n * @return {Promise}\n */\nexport async function getProductOffers(payload: PricingJourneyPayload) {\n //TODO: Need to remove the older end points after testing and flag enablement in production\n const endpoint = getFeatureValue(constants.featureFlags.oipoProductOffer.name)\n ? getFeatureValue(constants.featureFlags.enableNORProductOffers.name)\n ? constants.ENDPOINTS.pricingJourney.oipoNORProductOffer\n : constants.ENDPOINTS.pricingJourney.oipoOffers\n : constants.ENDPOINTS.pricingJourney.offers;\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${endpoint}`,\n method: \"POST\",\n consumerKey,\n body: JSON.stringify(payload),\n headers: {\n \"maersk-usi-authorization\": \"Bearer null\",\n ...setInlineTelemetry()\n }\n });\n}\n/**\n * This function gets the alternate offers for pricing journey\n * @param {PricingJourneyPayload} payload\n * @return {Promise}\n */\nexport async function getAlternateOffers(payload: PricingJourneyPayload) {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.pricingJourney.alternativeOffers}`,\n method: \"POST\",\n consumerKey,\n headers: {\n \"maersk-usi-authorization\": \"Bearer null\",\n ...setInlineTelemetry()\n },\n body: JSON.stringify(payload)\n });\n}\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { Subscription } from \"@/common/utils/types/pricingJourney/subscriptionTypes\";\n\nconst envVariables = getCurrentEnvironmentVariables();\nconst consumerKey = envVariables.subscriptionConsumerKey;\n\n/**\n * This function gets the subscriptions for subscription display on pricing journey\n * @param {Object Od3cpformdata} queryparams - The query parameters to extract od3cp form data.\n * @return {Promise>} - array of all the subscription for given origin destination and cotainer type.\n */\n\nexport const getSubscriptions = (queryparams: any): Promise> => {\n const containerType =\n constants.containerIsoSizeTypeMapper[\n queryparams?.containers[0]?.isoCode as keyof typeof constants.containerIsoSizeTypeMapper\n ];\n const payloadContainerType = encodeURIComponent(containerType);\n return executeRequest({\n url: `${envVariables.apiDomain}${constants.ENDPOINTS.pricingJourney.subscription}?origin=${queryparams.from.maerskRkstCode}&destination=${queryparams.to.maerskRkstCode}&equipmentSize=${payloadContainerType}`,\n method: \"GET\",\n headers: {\n \"consumer-key\": consumerKey\n }\n });\n};\n\n/**\n * This function adds new subscription aganist a user for pricing journey\n * @param {SubscriptionJourneyPayload} payload\n * @return {Promise}\n */\nexport async function addSubscription(payload: Subscription) {\n return executeRequest({\n url: `${envVariables.apiDomain}${constants.ENDPOINTS.pricingJourney.subscription}`,\n method: \"POST\",\n consumerKey,\n body: JSON.stringify(payload),\n headers: {\n \"consumer-key\": consumerKey\n }\n });\n}\n\n/**\n * This function adds new subscription aganist a user for pricing journey\n * @param {String} subscriptionId: String\n * @return {Promise}\n */\nexport async function deleteSubscription(subscriptionId: String) {\n if (!subscriptionId) throw new Error(\"Incomplete Payload. Required: subscriptionId\");\n return executeRequest({\n url: `${envVariables.apiDomain}${constants.ENDPOINTS.pricingJourney.subscription}/${subscriptionId}`,\n method: \"DELETE\",\n headers: {\n \"consumer-key\": consumerKey\n }\n });\n}\n","export type CancelablePromise = Promise & { cancel(): void; isCancelled(): boolean; isResolved(): boolean };\n/**\n * This class is used to handle promises.\n * 1. It allows to cancel a promise if a new one is called.\n */\nexport class PromiseHandler {\n private lastPromise: CancelablePromise | null = null;\n\n /**\n * @description This method is used to cancel a promise if a new one is called.\n * @param promise1 The promise\n * @returns The latest promise\n */\n public abortPromise(promise1: Promise): CancelablePromise {\n // Cancel previous promise if it's still pending\n if (this.lastPromise && !this.lastPromise.isResolved() && !this.lastPromise.isCancelled()) {\n this.lastPromise.cancel();\n }\n\n // Make promise cancelable\n this.lastPromise = this.makeCancelable(promise1);\n\n // Return the latest cancelable promise\n return this.lastPromise;\n }\n\n private makeCancelable(promise: Promise): CancelablePromise {\n let isResolved = false;\n let isCancelled = false;\n\n const wrappedPromise = new Promise((resolve, reject) => {\n promise.then(\n value => {\n isResolved = true;\n if (!isCancelled) {\n resolve(value);\n }\n },\n error => {\n isResolved = true;\n if (!isCancelled) {\n reject(error);\n }\n }\n );\n });\n\n const cancelablePromise: CancelablePromise = Object.assign(wrappedPromise, {\n cancel: () => {\n isCancelled = true;\n },\n isCancelled: () => isCancelled,\n isResolved: () => isResolved\n });\n\n return cancelablePromise;\n }\n}\n","import { sendGAEventForPricingJourney } from \"@/common/utils/analytics/ga\";\nimport { FormLocation, GALocation, ContainerDetails, GAContainer } from \"@/common/utils/types\";\n\n/**\n * Sends the GA event for error\n * @params {Object} error - The error object\n * @params {Number} The timestamp\n */\nexport const sendGAEventForError = (error: { [key: string]: any }, tagId: number) => {\n sendGAEventForPricingJourney(\n \"application_error\",\n {\n application: \"CombinedPricingResultsError\",\n error_description: `${error?.message}-${tagId}`,\n tagId\n },\n { isError: true }\n );\n};\n\n/**\n * Sends the GA event for abandoned requests\n * @params {{ reason: String, tagId: Number, action: String}} config - The config object\n */\nexport const sendGAAbandonEvent = (config: { reason: string; tagId: number; action: string }) => {\n sendGAEventForPricingJourney(\"Abandoned\", {\n reason: config.reason,\n action: config.action,\n tagId: config.tagId\n });\n};\n\n/**\n * Maps the GA location\n * @params {Object} data - The data having location and service mode info\n * @returns {GALocation} The ga location\n */\nexport function mapGALocation(data: { location: FormLocation; serviceMode: string }): GALocation {\n return {\n city: data.location,\n serviceMode: data.serviceMode\n };\n}\n\n/**\n * Maps the GA location from offer\n * @params {offer} offer - The data having offer info\n * @returns {GALocation | null} The ga location\n */\nexport function mapOfferGALocation(offer: any, isOrigin = true): GALocation | null {\n if (!offer) return null;\n const key = isOrigin ? \"origin\" : \"destination\";\n return {\n city: {\n maerskGeoLocationId: offer[`${key}GeoId`],\n countryCode: offer[`${key}CountryCode`],\n cityName: offer[`${key}Label`],\n maerskRkstCode: offer[`${key}`]\n },\n serviceMode: offer[`${key}ServiceMode`]\n };\n}\n\n/**\n * Maps the GA container\n * @params {Object} containerModel - The data having container info\n * @returns {GAContainer} The ga container\n */\nexport function mapGAContainer(containerModel: ContainerDetails): GAContainer[] {\n return [\n {\n id: 1,\n quantity: containerModel.quantity,\n type: {\n sizeTypeDisplayName: containerModel.name,\n typeCd: containerModel.type,\n sizeCd: containerModel.size,\n isoContainerSizeTypeCd: containerModel.isoCode\n },\n weight: containerModel.weight\n }\n ];\n}\n\n/**\n * The mapper for GA actions\n */\nexport const GAActionMapper = {\n od3cpForm: \"normalSearch\",\n loadMore: \"loadMore\",\n seeTheOffer: \"alternateOffer\",\n searchAgain: \"normalSearch\",\n searchAlternateProductAgain: \"alternateOffer\",\n alternateLoadMore: \"alternateLoadMore\",\n autoTriggerLoadMore: \"loadMore\"\n};\n\n/**\n * The mapper for GA abandon reasons\n */\nexport const GAAbandonReasonsMapper = {\n timeout: \"Timeout\",\n allContractOffers: \"All_Contract_Offers\",\n allSpotScope: \"All_Spot_Scope\"\n};\n\n/**\n * Handles GA events for product offers\n * @params {{ offerData: Object, getters: Object, source: String, isAlternateSource: Boolean}} config - The config object\n */\nexport function handleGAeventInProductOffer(config: {\n offerData: any;\n source: keyof typeof GAActionMapper;\n getters: any;\n isAlternateSource: boolean;\n}) {\n if (!config.offerData) return;\n if (!config.getters.isPromotionalCard) {\n sendGAEventForPricingJourney(\n \"CombinedPricingResults\",\n config.getters.getOfferDataForGA(config.offerData, config.isAlternateSource),\n {\n action: GAActionMapper[config.source]\n },\n config.getters.getOfferDataForGA(config.offerData, config.isAlternateSource)\n );\n } else {\n const reason = config.getters.isAllContractOffersForFirstBatch\n ? GAAbandonReasonsMapper.allContractOffers\n : GAAbandonReasonsMapper.allSpotScope;\n sendGAAbandonEvent({\n reason: reason,\n action: GAActionMapper[config.source],\n tagId: config.getters.getTagId\n });\n }\n}\n","import { getProductOffers, getAlternateOffers } from \"@/common/service/pricingJourneyService\";\nimport { getSubscriptions, addSubscription, deleteSubscription } from \"@/common/service/subscriptionService\";\n\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { OFFERS_PER_PAGE } from \"@/lib/pricing-journey/offerCardConfig.ts\";\nimport { pollingTimerWithValue } from \"@/common/utils/generic/timerFunctionalities\";\nimport dayjs from \"dayjs\";\nimport { defaultContainer } from \"@/lib/od3cp/od3cpUtilities\";\nimport { PromiseHandler } from \"@/lib/promiseHandler\";\nimport { sendGAEventForPricingJourney } from \"@/common/utils/analytics/ga\";\nimport {\n sendGAEventForError,\n GAActionMapper,\n GAAbandonReasonsMapper,\n sendGAAbandonEvent,\n handleGAeventInProductOffer\n} from \"@/lib/pricing-journey/gaUtility.ts\";\nimport { hasNoOffersForLoadMore } from \"@/lib/pricing-journey/offerMapper.ts\";\nimport { addRUMAction } from \"@/common/utils/analytics/mopRum.js\";\nimport { deepClone } from \"@/common/utils/generic/deepClone\";\nimport { generateFakeCorrelationId } from \"@/common/utils/generic/correlationIdGenerator\";\n\n/**\n * Common error properties\n */\nconst commonErrorProps = {\n page: constants.errorPage.od3cp,\n source: constants.errorSource.pricingJourney.productOffers, // override the error source if needed e.g check alternate offers\n showError: false,\n prefersMessage: false\n};\n\n/**\n * The offers trigger sources\n */\nconst sourcesList = [\n constants.pricingOffersTriggerSources.od3cpForm,\n constants.pricingOffersTriggerSources.seeTheOffer,\n constants.pricingOffersTriggerSources.loadMore,\n constants.pricingOffersTriggerSources.searchAgain,\n constants.pricingOffersTriggerSources.searchAlternateProductAgain,\n constants.pricingOffersTriggerSources.alternateLoadMore,\n constants.pricingOffersTriggerSources.autoTriggerLoadMore\n];\n\nconst promiseHandler = new PromiseHandler();\nconst polingPromiseHandler = new PromiseHandler();\nconst alternatePromiseHandler = new PromiseHandler();\nconst alternatePolingPromiseHandler = new PromiseHandler();\n\nexport default {\n /**\n * Initiate the product offers for pricing journey\n * @param {*} commit\n * @param {*} dispatch\n * @param {*} getters\n */\n async initiatePricingJourneyProductOffers({ commit, dispatch, getters, rootGetters }) {\n commit(\"setTagId\", new Date().getTime());\n const source = constants.pricingOffersTriggerSources.od3cpForm;\n // Clear the errors for alternate offers because let's say 1st try get alternate offers error and 2nd try get product offers so we have to clear it to keep the states clean\n // Product offers are getting cleaned anyway in getPricingJourneyProductOffers action\n commit(\"error/clearErrorsForSource\", constants.errorSource.pricingJourney.alternateOffers, { root: true });\n // Get the nor containers before clearing the offer data\n const norContainers = deepClone(getters.norContainers);\n dispatch(\"resetOfferData\");\n try {\n sendGAEventForPricingJourney(\"CombinedPricingSearch\", getters.getGASearchData);\n await dispatch(\"getPricingJourneyProductOffers\", { timeOutReason: source });\n const isNorRecommendationSelected = getters.getNorRecommendation(norContainers);\n commit(\"setNorContainerRecommendation\", isNorRecommendationSelected);\n dispatch(\"handleNorOptedEvent\", isNorRecommendationSelected);\n } catch (error) {\n sendGAEventForError(error, getters.getTagId);\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n statusCode: error?.status,\n ...commonErrorProps,\n triggeredBy: source\n },\n { root: true }\n );\n }\n },\n /**\n * Gets the product offers for pricing journey\n * @param {*} commit\n * @param {*} dispatch\n * @param {*} getters\n * @param {*} rootGetters\n * @param {Object} config\n */\n async getPricingJourneyProductOffers({ commit, dispatch, getters, rootGetters }, config = {}) {\n commit(\"setLoadMoreProductOffers\", false);\n commit(\"setTimeOutReason\", null);\n commit(\"setTriggerSource\", null);\n commit(\"error/clearErrorsForSource\", constants.errorSource.pricingJourney.productOffers, { root: true });\n try {\n commit(\"setProductOffersLoading\", true);\n commit(\"setIsLockEnabled\", true);\n commit(\"setTriggerSource\", config?.timeOutReason ?? null);\n const isAlternateSource = getters.isAlternateSource;\n if (!getters.getChangeTriggeredByLoadMore) {\n commit(\"setActiveCorreationID\", generateFakeCorrelationId());\n }\n const payload = config.payload ?? getters.getOffersPayloadForPricingJourney;\n const offers = getProductOffers(payload);\n /**\n * must save this information before triggering race in case user updates it then we need to store that information with which we called API\n * This info will be used for payload generation/ display of information if user is doing Pricing Journey operations clearing the form\n */\n const od3cpFormInformation = getters.generateOd3cpFormData;\n /**\n * This is the right place to set the previous data for pricing journey\n * 1. If in case API fails and user changes something in the form and again entered the previous data then we need to detect the change\n * 2. If user is continuously changing the form then we need to detect the change as we are aborting the previous API call\n */\n commit(\"setPricingJourneyPreviousData\", rootGetters[\"OD3CP/getRequiredDataForPricingJourney\"]);\n const pollingPromise = pollingTimerWithValue(getters.getNetworkTimeout * 1000, config?.timeOutReason);\n const productOfferData = await Promise.race([\n promiseHandler.abortPromise(offers),\n polingPromiseHandler.abortPromise(pollingPromise)\n ]);\n commit(\"setOffersCallTriggered\");\n if (sourcesList.includes(productOfferData)) {\n commit(\"setIsLockEnabled\", false);\n commit(\"setTimeOutReason\", productOfferData);\n const tagId = isAlternateSource ? getters.getSelectedAlternateOffer?.tagId : getters.getTagId;\n sendGAAbandonEvent({\n reason: GAAbandonReasonsMapper.timeout,\n action: GAActionMapper[config?.timeOutReason],\n tagId\n });\n return;\n }\n if (!rootGetters[\"commonData/isTabOrMobileScreen\"]) {\n commit(\"setOfferPerPage\", getters.getProductOffersPerPage);\n }\n commit(\"cacheOd3cpFormInfo\", od3cpFormInformation);\n const norContainers = getters.norContainers;\n commit(\"setProductOfferData\", productOfferData);\n dispatch(\"handleNorShownEvent\", norContainers);\n\n dispatch(\"checkAndDispatchSubscription\", payload);\n\n // This is to align the response we have observed few instances where loadMore is false API is giving nextWeekOffSet as null\n // The below check will always set the right batch\n const batch =\n productOfferData && getters.getNextOffsetWeek === 0 && productOfferData?.nextOffsetWeek !== null\n ? 1\n : getters.getProductOffersBatch + 1;\n commit(\"setProductOffersBatch\", batch);\n if (productOfferData?.loadMore === true && !getters.shouldTriggerAlternateOffer) {\n commit(\"setLoadMoreProductOffers\", true);\n }\n handleGAeventInProductOffer({\n offerData: productOfferData,\n source: config?.timeOutReason,\n isAlternateSource,\n getters\n });\n\n if (getters.shouldTriggerProductOffer) {\n await dispatch(\"autoLoadOffers\");\n return;\n }\n // If load more no offers\n if (hasNoOffersForLoadMore(productOfferData?.offers, getters.getProductOffersBatch, config?.timeOutReason)) {\n commit(\"setHasNoMoreOffers\", true);\n }\n getters.shouldTriggerAlternateOffer\n ? await dispatch(\"getPricingJourneyAlternateOffers\", config?.timeOutReason)\n : commit(\"setIsLockEnabled\", false);\n } catch (error) {\n dispatch(\"revertSubscriptionStatus\", error);\n throw error; // handle error in the source where this call is getting triggered\n } finally {\n commit(\"setProductOffersLoading\", false);\n commit(\"setIsLockEnabled\", false);\n }\n },\n /**\n * Gets the alternate offers for pricing journey\n * @param {*} commit\n * @param {*} getters\n */\n async getPricingJourneyAlternateOffers({ commit, getters, rootGetters }, timeOutReason = null) {\n const errorSource = constants.errorSource.pricingJourney.alternateOffers;\n commit(\"error/clearErrorsForSource\", errorSource, { root: true });\n commit(\"setProductOffersActivePage\", 1);\n commit(\"setAlternateOffersLoadingState\", true);\n commit(\"setTimeOutReason\", null);\n commit(\"setMaxPageViewedForAlternate\", 0);\n try {\n const alternateOffersPayload = {\n ...getters.getOffersPayloadForPricingJourney,\n weekOffset: 0,\n routeCode: getters.getRouteCode\n };\n commit(\"setIsLockEnabled\", true);\n const alternativeOfferData = getAlternateOffers(alternateOffersPayload);\n const pollingPromise = pollingTimerWithValue(getters.getNetworkTimeout * 1000, timeOutReason);\n const alternativeOffersResult = await Promise.race([\n alternatePromiseHandler.abortPromise(alternativeOfferData),\n alternatePolingPromiseHandler.abortPromise(pollingPromise)\n ]);\n commit(\"setIsLockEnabled\", false);\n if (sourcesList.includes(alternativeOffersResult)) {\n commit(\"setTimeOutReason\", alternativeOffersResult);\n sendGAAbandonEvent({\n reason: GAAbandonReasonsMapper.timeout,\n action: GAActionMapper[timeOutReason],\n tagId: getters.getTagId\n });\n return;\n }\n if (!rootGetters[\"commonData/isTabOrMobileScreen\"]) {\n commit(\"setOfferPerPage\", getters.getAlternateOffersPerPage);\n }\n commit(\"setAlternateProductOfferData\", alternativeOffersResult);\n } catch (error) {\n commit(\"setIsLockEnabled\", false);\n sendGAEventForPricingJourney(\"alternateOfferError\", { error, tagId: getters.getTagId });\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n ...commonErrorProps,\n source: errorSource,\n statusCode: error?.status\n },\n { root: true }\n );\n } finally {\n commit(\"setIsLockEnabled\", false);\n commit(\"setAlternateOffersLoadingState\", false);\n }\n },\n /**\n * On click of see the offer in alternate offer for pricing journey\n * @param {*} commit\n * @param {*} getters\n * @param {*} dispatch\n * @param {Object} offer\n */\n async seeTheOffer({ commit, getters, dispatch }, offer) {\n commit(\"resetProductOfferData\");\n commit(\"setProductOffersBatch\", 0);\n commit(\"setSelectedAlternateOffer\", null);\n commit(\"setProductOffersLoadingFromAlternate\", false);\n commit(\"setProductOffersActivePage\", 1);\n commit(\"setIsAfterSeeTheOfferState\", true);\n const source = constants.pricingOffersTriggerSources.seeTheOffer;\n try {\n commit(\"setProductOffersLoadingFromAlternate\", true);\n const selectedOffer = getters.findSelectedAlternateOffer(offer?.id);\n if (!selectedOffer) return null;\n commit(\"setSelectedAlternateOffer\", selectedOffer);\n if (selectedOffer?.productOfferData) {\n commit(\"setProductOfferData\", selectedOffer?.productOfferData);\n dispatch(\"setOffersPerPage\");\n commit(\"setLoadMoreProductOffers\", !!selectedOffer?.productOfferData?.loadMore);\n return;\n }\n commit(\"setTagIdForAlternateOffer\", offer?.id);\n sendGAEventForPricingJourney(\"alternateOfferSelected\", {\n alternateOfferSelected: getters.getSelectedAlternateOffer,\n routeCode: getters.getRouteCode,\n tagId: getters.getSelectedAlternateOffer?.tagId\n });\n const payload = getters.getOffersPayloadForPJFromAlternateOffer(selectedOffer);\n await dispatch(\"getPricingJourneyProductOffers\", { payload, timeOutReason: source });\n commit(\"setProductOfferDataForAlternateOffer\", { productOfferData: getters.getProductOfferData, id: offer?.id });\n } catch (error) {\n sendGAEventForError(error, getters.getSelectedAlternateOffer?.tagId);\n commit(\n \"error/setError\",\n {\n error,\n ...commonErrorProps,\n message: error?.message,\n statusCode: error?.status,\n triggeredBy: source\n },\n { root: true }\n );\n } finally {\n commit(\"setProductOffersLoadingFromAlternate\", false);\n }\n },\n\n /**\n * Handle load more for product offers\n * @param {*} commit\n * @param {*} getters\n * @param {*} dispatch\n * @param {*} rootGetters\n * @param {Object} offer\n */\n async handleLoadMoreProductOffers({ commit, getters, dispatch, rootGetters }, activePage) {\n const source = getters.isShowOffersFromAlternateState\n ? constants.pricingOffersTriggerSources.alternateLoadMore\n : constants.pricingOffersTriggerSources.loadMore;\n let page = activePage;\n if (getters.hasErrorOffer) {\n commit(\"removeErrorOffer\");\n commit(\"setHasNoMoreOffers\", false);\n }\n try {\n commit(\"setProductOffersLoadingForLoadMore\", true);\n // If user is seeing less offers per page. e.g if offers per page is 3 and offers displayed is 2 or 1, we want to keep user in the same page after appending new offers\n if (getters.getOffers?.length % getters.offerPerPage !== 0) {\n page = activePage - 1;\n }\n // Adding a dummy offer to move user to next page and show a loader if offers per page is already there in current page\n if (getters.getOffers?.length % getters.offerPerPage === 0 || rootGetters[\"commonData/isMobileScreen\"]) {\n commit(\"setOffers\", [{ isDummyOffer: true }]);\n } else {\n // If Odd offers and user has to stay in the same page, first saving the new page so that reactivity will trigger when setting user back to same page\n commit(\"setProductOffersActivePage\", activePage);\n // This is to avoid circular dependency\n commit(\"setChangeTriggeredByLoadMore\", true);\n }\n // If product offers are displayed for an alternative offer(i.e alternate product offers), update the payload from selected alternate offer\n const selectedAlternateOffer = getters.getSelectedAlternateOffer;\n const payload = getters.isShowOffersFromAlternateState\n ? getters.getOffersPayloadForPJFromAlternateOffer(selectedAlternateOffer)\n : null;\n await dispatch(\"getPricingJourneyProductOffers\", { payload, timeOutReason: source });\n if (payload) {\n // Update the caching of product offers after load more if alternate product offers\n commit(\"setSelectedAlternateOffer\", {\n ...selectedAlternateOffer,\n productOfferData: getters.getProductOfferData\n });\n commit(\"setProductOfferDataForAlternateOffer\", {\n productOfferData: getters.getProductOfferData,\n id: selectedAlternateOffer?.id\n });\n }\n commit(\"setOffers\", getters.getOffersPerPage(page) ?? []);\n commit(\"setProductOffersActivePage\", page);\n } catch (error) {\n sendGAEventForError(error, getters.getTagId);\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n ...commonErrorProps,\n statusCode: error?.status,\n triggeredBy: source\n },\n { root: true }\n );\n } finally {\n // If load more error set an offer error to display and to support pagination\n if (getters.isErrorInLoadMore || getters.getHasNoMoreOffers) {\n commit(\"setProductOfferErrorData\", getters.isErrorInLoadMore);\n commit(\"setOffers\", getters.getOffersPerPage(page) ?? []);\n commit(\"setProductOffersActivePage\", page);\n }\n commit(\"setProductOffersLoadingForLoadMore\", false);\n }\n },\n /**\n * Handle auto load for product offers\n * @param {*} commit\n * @param {*} getters\n * @param {*} dispatch\n */\n async autoLoadOffers({ commit, getters, dispatch }) {\n const source = constants.pricingOffersTriggerSources.autoTriggerLoadMore;\n try {\n commit(\"setAutoTriggerProductOffersLoading\", true);\n await dispatch(\"getPricingJourneyProductOffers\", {\n payload: getters.getOffersPayloadForAutoLoadMore,\n timeOutReason: source\n });\n } catch (error) {\n sendGAEventForError(error, getters.getTagId);\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n ...commonErrorProps,\n statusCode: error?.status,\n triggeredBy: source\n },\n { root: true }\n );\n } finally {\n commit(\"setAutoTriggerProductOffersLoading\", false);\n }\n },\n /**\n * Sets the offers per page\n * @param {*} commit\n * @param {*} getters\n * @param {*} rootGetters\n */\n setOffersPerPage({ commit, getters, rootGetters }) {\n if (rootGetters[\"commonData/isMobileScreen\"] || rootGetters[\"commonData/isTabScreen\"]) {\n const page = rootGetters[\"commonData/isMobileScreen\"]\n ? OFFERS_PER_PAGE.OFFERS_PER_PAGE_MOBILE\n : OFFERS_PER_PAGE.OFFERS_PER_PAGE_TAB;\n commit(\"setOfferPerPage\", page);\n return;\n }\n if (getters.isShowAlternatesOffersState) {\n commit(\"setOfferPerPage\", getters.getAlternateOffersPerPage);\n return;\n }\n commit(\"setOfferPerPage\", getters.getProductOffersPerPage);\n },\n /**\n * Handles on click of see more alternative offer\n * @param {*} commit\n * @param {*} dispatch\n */\n seeMoreAlternativeOffers({ commit, dispatch }) {\n commit(\"setIsAfterSeeTheOfferState\", false);\n commit(\"resetProductOfferData\");\n commit(\"setSelectedAlternateOffer\", null);\n dispatch(\"setOffersPerPage\");\n },\n /**\n * Resets offer data\n * @param {*} commit\n */\n resetOfferData({ commit }) {\n commit(\"resetProductOfferData\");\n commit(\"resetAlternateProductOfferData\");\n commit(\"setProductOffersBatch\", 0);\n commit(\"setProductOffersActivePage\", 1);\n commit(\"setSelectedAlternateOffer\", null);\n commit(\"setAlternateOffersActivePage\", 1);\n commit(\"setIsAfterSeeTheOfferState\", false);\n commit(\"setMaxPageViewedForAlternate\", 0);\n commit(\"setHasNoMoreOffers\", false);\n commit(\"setOfferInUseStatus\", false);\n },\n /**\n * On click of search again product offers for pricing journey\n * @param {*} commit\n * @param {*} dispatch\n * @param {*} getters\n * @param {Object} offer\n */\n async searchProductOfferAgain({ commit, dispatch, getters, rootGetters }) {\n // Don't trigger retry if required data is missing or if some fields are not valid\n // isEqualDataForPricingJourney will help us identifying if fields are not valid. Reason: od3cp form if not valid we don't trigger product offers. In this case of retry the data won't match so this is aptly suited here to use this\n if (!rootGetters[\"OD3CP/isPricingJourneyRequiredDataFilled\"] || !rootGetters[\"OD3CP/isEqualDataForPricingJourney\"])\n return;\n const source = constants.pricingOffersTriggerSources.searchAgain;\n commit(\"setTagId\", new Date().getTime());\n dispatch(\"resetOfferData\");\n try {\n sendGAEventForPricingJourney(\"CombinedPricingSearch\", getters.getGASearchData);\n await dispatch(\"getPricingJourneyProductOffers\", { timeOutReason: source });\n } catch (error) {\n sendGAEventForError(error, getters.getTagId);\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n ...commonErrorProps,\n statusCode: error?.status,\n triggeredBy: source\n },\n { root: true }\n );\n }\n },\n /**\n * On click of search again product offers from alternate for pricing journey\n * @param {*} commit\n * @param {*} getters\n * @param {*} dispatch\n * @param {Object} offer\n */\n async searchAlternateProductOfferAgain({ commit, dispatch, getters }) {\n const source = constants.pricingOffersTriggerSources.searchAlternateProductAgain;\n try {\n const selectedOffer = getters.getSelectedAlternateOffer;\n if (!selectedOffer) return null;\n commit(\"setProductOffersLoadingFromAlternate\", true);\n const payload = getters.getOffersPayloadForPJFromAlternateOffer(selectedOffer);\n commit(\"setTagIdForAlternateOffer\", getters.getSelectedAlternateOffer?.id);\n sendGAEventForPricingJourney(\"alternateOfferSelected\", {\n alternateOfferSelected: getters.getSelectedAlternateOffer,\n routeCode: getters.getRouteCode,\n tagId: getters.getSelectedAlternateOffer?.tagId\n });\n await dispatch(\"getPricingJourneyProductOffers\", { payload, timeOutReason: source });\n } catch (error) {\n sendGAEventForError(error, getters.getSelectedAlternateOffer?.tagId);\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n ...commonErrorProps,\n statusCode: error?.status,\n triggeredBy: source\n },\n { root: true }\n );\n } finally {\n commit(\"setProductOffersLoadingFromAlternate\", false);\n }\n },\n /**\n * Handles on click of \"Use this departure date/alternate offer\" offer\n * @param {*} commit\n * @param {*} getters\n * @param {Object} offer\n */\n useTheOffer({ commit, getters, rootGetters }, offer) {\n if (!offer) return;\n if (getters.isShowOffersFromAlternateState) {\n // getLsmForSelectedOffer based on odClear param will decide which one to clear based on current offer data and lsm data in the form\n commit(\"OD3CP/setLocationServiceMode\", getters.getLsmForSelectedOffer(offer, true), { root: true });\n commit(\n \"OD3CP/setContainerSelect\",\n defaultContainer({\n isFlexiTankEnabled: rootGetters[\"boFlags/getFlag\"](constants.featureFlags.enableFlexiTank.name)\n }),\n { root: true }\n );\n // Update and set the previous data stored. e.g update OD and container details from the offer so that when od or container will be updated it won't detect it as a change and API won't be triggered\n //Note: Still mds od component is not working with this solution, it has to implement the clear functionality\n commit(\"setPricingJourneyPreviousData\", getters.getOfferDataAsPreviousData(offer));\n commit(\"OD3CP/setLocationServiceMode\", getters.getLsmForSelectedOffer(offer), { root: true });\n commit(\"OD3CP/setContainerSelect\", getters.getContainerForSelectedOffer(offer), { root: true });\n }\n commit(\"OD3CP/setEarliestDepartureDate\", dayjs(offer.date).toDate(), { root: true });\n commit(\"setOfferInUseStatus\", true);\n },\n /**\n * Resets pricing data e.g from confirmation, previous booking etc\n * @param {*} commit\n * @param {*} getters\n */\n resetPricingJourneyData({ commit, dispatch, rootGetters }) {\n const isPricingJourneyEnabled = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.pricingJourney.name);\n if (isPricingJourneyEnabled) {\n dispatch(\"resetOfferData\", null);\n commit(\"setPricingJourneyPreviousData\", null);\n } else {\n commit(\"setCPJTagId\", null);\n }\n },\n\n async getSubscriptionDetails({ commit, dispatch, getters }, payload) {\n try {\n if (\n payload.from.maerskServiceMode === constants.serviceMode.carrierHaulage ||\n payload.to.maerskServiceMode === constants.serviceMode.carrierHaulage ||\n payload.containers.length > 1 ||\n ![\"22G1\", \"42G1\", \"45G1\", \"L5G1\"].includes(payload.containers[0].isoCode)\n ) {\n commit(\"setSubscriptionState\", true);\n commit(\"setSubscriptionIds\", []);\n return;\n }\n const subscriptions = await getSubscriptions(payload);\n commit(\"setSubscriptionState\", false);\n commit(\n \"setSubscriptionIds\",\n subscriptions.length > 0\n ? subscriptions.map(item => {\n return item.subscriptionId;\n })\n : []\n );\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n statusCode: error?.status,\n page: constants.errorPage.od3cp,\n source: constants.errorSource.pricingJourney.subscription,\n showError: false,\n prefersMessage: false,\n triggeredBy: constants.errorSource.pricingJourney.subscription\n },\n { root: true }\n );\n }\n },\n async addNewSubscription({ commit, getters, dispatch }, payload) {\n try {\n const subscription = await addSubscription(payload);\n commit(\"setSubscriptionIds\", subscription.subscriptionId);\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n statusCode: error?.status,\n page: constants.errorPage.od3cp,\n source: constants.errorSource.pricingJourney.subscription,\n showError: false,\n prefersMessage: false,\n triggeredBy: constants.errorSource.pricingJourney.subscription\n },\n { root: true }\n );\n }\n },\n\n async deleteSubscription({ commit, getters, dispatch }, payload) {\n try {\n const response = await deleteSubscription(payload);\n if (response?.status) {\n commit(\"setSubscriptionIds\", []);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n statusCode: error?.status,\n page: constants.errorPage.od3cp,\n source: constants.errorSource.pricingJourney.subscription,\n showError: false,\n prefersMessage: false,\n triggeredBy: constants.errorSource.pricingJourney.subscription\n },\n { root: true }\n );\n }\n },\n\n checkAndDispatchSubscription({ commit, dispatch, getters, rootGetters }, payload) {\n const isSubscriptionEnabled = rootGetters[\"boFlags/getFlag\"](\n constants.featureFlags.pricingSubscriptionJourney.name\n );\n if (!isSubscriptionEnabled || !getters.isSubscriptionInSpotScope) {\n commit(\"setSubscriptionState\", true);\n commit(\"setSubscriptionIds\", []);\n } else {\n dispatch(\"getSubscriptionDetails\", payload);\n }\n },\n\n revertSubscriptionStatus({ commit }, error) {\n if (error?.status == \"403\" || error?.status === \"500\") {\n commit(\"setSubscriptionState\", true);\n commit(\"setSubscriptionIds\", []);\n }\n },\n handleNorShownEvent({ getters, rootGetters }, existingNorContainers) {\n if (!existingNorContainers?.length && getters.norContainers?.length && !getters.isAlternateSource) {\n addRUMAction(\"norShownBooking\", rootGetters[\"OD3CP/getOd3cpFormDataForMop\"]);\n }\n },\n handleNorOptedEvent({ getters, rootGetters }, isNorRecommendationSelected) {\n if (isNorRecommendationSelected && !getters.isAlternateSource) {\n addRUMAction(\"norRecommendationOptedBooking\", rootGetters[\"OD3CP/getOd3cpFormDataForMop\"]);\n }\n }\n};\n","import Vue from \"vue\";\nimport { decorateWithIds } from \"@/lib/pricing-journey/offerMapper.ts\";\nimport {\n PRICING_JOURNEY_CARD_CONFIG_MAPPER,\n PRICING_JOURNEY_OFFER_CARDS\n} from \"@/lib/pricing-journey/offerCardConfig.ts\";\nexport default {\n /**\n * Sets the product offer data\n * @param {Object} state\n * @param {Object} productOfferData The product offer data\n */\n setProductOfferData(state, productOfferData) {\n if (!state.productOfferData) {\n state.productOfferData = { ...productOfferData, offers: decorateWithIds(productOfferData?.offers) };\n return;\n }\n const currentOffers = state.productOfferData?.offers?.length ? state.productOfferData?.offers : [];\n const updatedOffers = currentOffers.concat(productOfferData?.offers);\n state.productOfferData = { ...productOfferData, offers: decorateWithIds(updatedOffers) };\n },\n /**\n * Sets the error offer data\n * @param {Object} state\n * @param {Boolean} isError\n */\n setProductOfferErrorData(state, isError) {\n if (!state.productOfferData) return;\n const errorOffer = state.hasNoMoreOffers\n ? PRICING_JOURNEY_CARD_CONFIG_MAPPER.get(PRICING_JOURNEY_OFFER_CARDS.NO_OFFER)\n : PRICING_JOURNEY_CARD_CONFIG_MAPPER.get(PRICING_JOURNEY_OFFER_CARDS.ERROR_OFFER);\n state.productOfferData = {\n ...state.productOfferData,\n ...(isError && { loadMore: false }),\n offers: [...state.productOfferData.offers, errorOffer]\n };\n },\n /**\n * @description call this mutation to set offer call has been made\n * @param {object} state\n */\n setOffersCallTriggered(state) {\n state.hasNoCallMade = false;\n },\n /**\n * Resets the product offer data\n * @param {Object} state\n */\n resetProductOfferData(state) {\n state.productOfferData = null;\n },\n /**\n * Resets the product offer data\n * @param {Object} state\n */\n resetAlternateProductOfferData(state) {\n state.alternateProductOfferData = null;\n },\n /**\n * Sets the alternate offers\n * @param {Object} state\n * @param {Object} alternateOfferData The alternate product offers\n */\n setAlternateProductOfferData(state, alternateOfferData) {\n const mappedAlternateOffers = decorateWithIds(alternateOfferData?.alternativeOffers);\n state.alternateProductOfferData = { ...alternateOfferData, alternativeOffers: mappedAlternateOffers };\n },\n /**\n * Sets the previous filled data\n * @param {Object} state\n * @param {Object} data The previous filled data\n */\n setPricingJourneyPreviousData(state, data) {\n state.pricingJourneyPreviousData = data;\n },\n /**\n * Sets UI lock on api trigger\n * @param {Object} state\n * @param {Boolean} data The boolean value\n */\n setIsLockEnabled(state, data) {\n state.isLockEnabled = data;\n },\n /**\n * Sets the loading status for product offers\n * @param {Object} state\n * @param {Boolean} isLoading The loading status\n */\n setProductOffersLoading(state, isLoading) {\n state.isProductOffersLoading = isLoading;\n },\n /**\n * Sets the loading status for product offers\n * @param {Object} state\n * @param {Boolean} isLoading The loading status\n */\n setAutoTriggerProductOffersLoading(state, isLoading) {\n state.isAutoTriggerProductOffersLoading = isLoading;\n },\n /**\n * Sets the loading status for product offers\n * @param {Object} state\n * @param {Boolean} isLoading The loading status\n */\n setProductOffersBatch(state, batch) {\n state.productOffersBatch = batch;\n },\n /**\n * @description cache the container and commodity information in case user changes the container and commodity\n * @param {object} state\n * @param {object} information\n */\n cacheOd3cpFormInfo(state, information) {\n state.od3cpCachedFormData = information;\n },\n /**\n * Sets the offer per page\n * @param {Object} state\n * @param {Number} offerPerPage The offer per page\n */\n setOfferPerPage(state, offerPerPage) {\n state.offerPerPage = offerPerPage;\n },\n /**\n * Sets the load more status for product offers\n * @param {Object} state\n * @param {Boolean} loadMore The load more status\n */\n setLoadMoreProductOffers(state, loadMore) {\n state.loadMoreProductOffers = loadMore;\n },\n /**\n * Sets the active page\n * @param {Object} state\n * @param {Number} activePage active page\n */\n setProductOffersActivePage(state, activePage) {\n state.productOffersActivePage = activePage;\n },\n /**\n * Sets the selected alternate offer\n * @param {Object} state\n * @param {Object} offer The alternate offer\n */\n setSelectedAlternateOffer(state, offer) {\n state.selectedAlternateOffer = offer;\n },\n /**\n * Sets the loading status for product offers from alternate offer\n * @param {Object} state\n * @param {Boolean} status The loading status for product offers\n */\n setProductOffersLoadingFromAlternate(state, status) {\n state.isProductOffersLoadingFromAlternate = status;\n },\n /**\n * Sets the loading status for product offers from alternate offer\n * @param {Object} state\n * @param {Boolean} status The loading status for product offers\n */\n setProductOffersLoadingForLoadMore(state, status) {\n state.isProductOffersLoadingForLoadMore = status;\n },\n /**\n * Sets the active page for second level e.g product offers from alternate offers\n * Note: At this point two types of pagination will be active and back and forth between first level and second level is possible\n * @param {Object} state\n * @param {Number} page The second level active page\n */\n setAlternateOffersActivePage(state, page) {\n state.alternateOffersActivePage = page;\n },\n /**\n * Sets the visibility after see the offer is clicked e.g product offers from alternate offers\n * @param {Object} state\n * @param {Boolean} status The second level active status\n */\n setIsAfterSeeTheOfferState(state, status) {\n state.isShowAfterSeeTheOffer = status;\n },\n /**\n * Sets the product offer data for alternate offers\n * Note: Here we are storing corresponding product offers to avoid refetch from the server\n * @param {Object} state\n * @param {{id: Number, productOfferData: Object}} offerData The offer data\n */\n setProductOfferDataForAlternateOffer(state, offerData) {\n const offer = state.alternateProductOfferData?.alternativeOffers?.find(offer => offerData.id === offer?.id) ?? null;\n if (!offer) return;\n offer.productOfferData = offerData.productOfferData;\n const index = state.alternateProductOfferData?.alternativeOffers?.findIndex(\n alternativeOffer => alternativeOffer?.id === offer.id\n );\n Vue.set(state.alternateProductOfferData?.alternativeOffers, index, offer);\n },\n /**\n * Sets the tagId for selected alternate offer\n * @param {Object} state\n * @param {Number} offerId The offer id\n */\n setTagIdForAlternateOffer(state, offerId) {\n const offer =\n state.alternateProductOfferData?.alternativeOffers?.find(alternateOffer => offerId === alternateOffer?.id) ??\n null;\n if (!offer) return;\n offer.tagId = new Date().getTime();\n const index = state.alternateProductOfferData?.alternativeOffers?.findIndex(\n alternativeOffer => alternativeOffer?.id === offer.id\n );\n Vue.set(state.alternateProductOfferData?.alternativeOffers, index, offer);\n },\n /**\n * Sets the offers to be shown in UI\n * @param {Object} state\n * @param {Array} offers The list of offers\n */\n setOffers(state, offers) {\n state.offers = offers;\n },\n /**\n * Sets the check to identify change page is triggered by load more action\n * @param {Object} state\n * @param {Boolean} status The list of offers\n */\n setChangeTriggeredByLoadMore(state, status) {\n state.isChangeTriggeredByLoadMore = status;\n },\n /**\n * Sets the offers to be shown in UI\n * @param {Object} state\n * @param {Boolean} status The list of offers\n */\n setAlternateOffersLoadingState(state, status) {\n state.isAlternateOffersLoading = status;\n },\n /**\n * Sets the offers API timed out reason\n * @param {Object} state\n * @param {Boolean} reason The time out reason\n */\n setTimeOutReason(state, reason) {\n state.timeOutReason = reason;\n },\n /**\n * Sets the tag id\n * @param {Object} state\n * @param {Number} tagId The timestamp\n */\n setTagId(state, tagId) {\n state.tagId = tagId;\n },\n /**\n * Sets the max page viewed by user for alternate offers and it's used in GA events\n * @param {Object} state\n * @param {Number} tagId The timestamp\n */\n setMaxPageViewedForAlternate(state, pageNum) {\n state.maxPageViewedForAlternate = pageNum;\n },\n /**\n * Sets the no more offers status\n * @param {Object} state\n * @param {Boolean} status The status for the no more offers\n */\n setHasNoMoreOffers(state, status) {\n state.hasNoMoreOffers = status;\n },\n /**\n * Removes the error offer\n * @param {Object} state\n */\n removeErrorOffer(state) {\n const offer = (state.productOfferData?.offers || []).find(offer => offer?.hasError) ?? null;\n if (!offer) return;\n state.productOfferData = { ...state.productOfferData, offers: state.productOfferData?.offers?.slice(0, -1) };\n },\n /**\n * Sets the offer in use status\n * @param {Object} state\n * @param {Boolean} status The status offer in use\n */\n setOfferInUseStatus(state, status) {\n state.isOfferInUse = status;\n },\n /**\n * Sets the tag id\n * @param {Object} state\n * @param {Boolean} tagId The tagId\n */\n setCPJTagId(state, tagId) {\n const numTagId = Number(tagId);\n state.cpjTagId = isNaN(numTagId) ? null : numTagId;\n },\n\n setSubscriptionIds(state, subscriptionIds) {\n state.subscriptionIds = subscriptionIds;\n },\n\n deleteSubscriptionIds(state) {\n state.subscriptionIds = [];\n },\n\n setSubscriptionState(state, value) {\n state.subscriptionState = value;\n },\n /**\n * Sets the source of API trigger\n * @param {Object} state\n * @param {String} source The source for API\n */\n setTriggerSource(state, source) {\n state.triggerSource = source;\n },\n /**\n * Sets the NOR recommendation selection status\n * @param {Object} state\n * @param {String} isSelected The selection status\n */\n setNorContainerRecommendation(state, isSelected) {\n state.isNorRecommendation = isSelected;\n },\n /**\n * Sets the NOR recommendation selection status\n * @param {Object} state\n * @param {String} correlationId correlationId generated\n */\n setActiveCorreationID(state, correlationId) {\n state.pricingCorrelationId = correlationId;\n }\n};\n","import { constants } from \"@/lib/CONSTANTS\";\n/**\n * The offer interface we are going to use in offer card\n */\ninterface OfferLocation {\n maerskGeoId: string;\n maerskRkstCode: string;\n countryCode: string;\n maerskServiceMode: string;\n name: string;\n}\n/**\n * @description mapper utility for location\n * @param {Object} mode\n * @returns {Object}\n */\nexport function locationMapper(mode: any): OfferLocation {\n return {\n maerskGeoId: mode.location.maerskGeoLocationId,\n maerskRkstCode: mode.location.maerskRkstCode,\n countryCode: mode.location.countryCode,\n maerskServiceMode: mode.serviceMode,\n name: mode.location.cityDisplayName\n };\n}\n\n/**\n * @description Gets the unit\n * @param {String} unit\n * @returns {String}\n */\nexport function getUnitsForPricingJourney(unit: string): string {\n return unit === constants.weightUnits.kgs ? \"KG\" : unit;\n}\n\n/**\n * @description Gets the unit\n * @param {String} unit\n * @returns {String}\n */\nexport function getUnitsFromPricingJourney(unit: string): string {\n return unit === \"KG\" ? constants.weightUnits.kgs : unit;\n}\n\n/**\n * @description mapper utility for origin location from alternate offer\n * @param {Object} offer\n * @returns {OfferLocation | null}\n */\nexport function originMapperFromAlternateOffer(offer: any): OfferLocation | null {\n if (!offer) return null;\n return {\n maerskGeoId: offer.originGeoId,\n maerskRkstCode: offer.origin,\n countryCode: offer.originCountryCode,\n maerskServiceMode: offer.originServiceMode,\n name: offer.originLabel\n };\n}\n\n/**\n * @description mapper utility for origin location from alternate offer\n * @param {Object} offer\n * @returns {OfferLocation | null}\n */\nexport function destinationMapperFromAlternateOffer(offer: any): OfferLocation | null {\n if (!offer) return null;\n return {\n maerskGeoId: offer.destinationGeoId,\n maerskRkstCode: offer.destination,\n countryCode: offer.destinationCountryCode,\n maerskServiceMode: offer.destinationServiceMode,\n name: offer.destinationLabel\n };\n}\n","import { constants } from \"@/lib/CONSTANTS\";\nimport {\n PRICING_JOURNEY_CARD_CONFIG_MAPPER,\n PRICING_JOURNEY_OFFER_CARDS,\n OFFER_CARD_VARIANT_TYPES\n} from \"@/lib/pricing-journey/offerCardConfig.ts\";\nimport { getUnitsFromPricingJourney } from \"@/lib/pricing-journey/offerPayload.ts\";\nimport {\n mapProductOffer,\n mapAlternateOffer,\n mapOfferedFilteredReason,\n isNonContractOffer,\n mapOfferContainer\n} from \"@/lib/pricing-journey/offerMapper.ts\";\nimport { sortByDate, dateSorterFunc } from \"@/lib/dateAndTimeUtilities.ts\";\nimport { getUserCredential, getCustomerCode } from \"@maersk/shared-js\";\nimport { getFeatureValue } from \"@/common/utils/generic/featureFlagService\";\n\n/**\n * All the getters related pricing journey except getters for od3cp form data and pricing states\n */\nexport default {\n /**\n * The product offers\n * @param {Object} state\n * @returns {Object} The product offers data\n */\n getProductOfferData(state) {\n return state.productOfferData;\n },\n /**\n * Gets any alternate offers present\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n getAlternateOfferData(state, getters) {\n return getters.getAlternateProductOfferData;\n },\n /**\n * The alternate product offers\n * @param {Object} state\n * @returns {Object} The alternate product offer data\n */\n getAlternateProductOfferData(state) {\n return state.alternateProductOfferData;\n },\n /**\n * Finds the selected alternate offer\n * @param {Object} state\n * @param {Object} getters\n * @param {Number} id The id to find the alternate offer\n * @returns {Object} The selected alternate offer\n */\n findSelectedAlternateOffer: (state, getters) => id => {\n return getters.getAlternateProductOfferData?.alternativeOffers?.find(offer => offer.id === id) ?? null;\n },\n /**\n * Gets the selected alternate offer\n * @param {Object} state\n * @returns {Object} The selected alternate offer\n */\n getSelectedAlternateOffer(state) {\n return state.selectedAlternateOffer;\n },\n /**\n * Checks if product offers has error\n * @param {Object} state\n * @returns {Boolean} The error status\n */\n hasProductOffersError(state, getters, rootState, rootGetters) {\n return rootGetters[\"error/hasErrorsForSource\"](constants.errorSource.pricingJourney.productOffers, true);\n },\n /**\n * Checks if product offers has error from a specific source\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean} The error status\n */\n hasProductOffersErrorTriggeredBy: (state, getters, rootState, rootGetters) => source => {\n return (rootGetters[\"error/getErrorsBySource\"](constants.errorSource.pricingJourney.productOffers) ?? [])?.some(\n error => error?.triggeredBy === source\n );\n },\n /**\n * Checks if alternate offers has error\n * @param {Object} state\n * @returns {Boolean} The error status\n */\n hasAlternateOffersError(state, getters, rootState, rootGetters) {\n return rootGetters[\"error/hasErrorsForSource\"](constants.errorSource.pricingJourney.alternateOffers, true);\n },\n /**\n * Gets the week offset\n * @param {Object} state\n * @returns {Number}\n */\n getNextOffsetWeek(state) {\n return state.productOfferData?.nextOffsetWeek ?? 0;\n },\n /**\n * Gets the product offers batch\n * @param {Object} state\n * @returns {Number}\n */\n getProductOffersBatch(state) {\n return state.productOffersBatch;\n },\n /**\n * Gets any product offers present (not including contract offers)\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n anyNonContractProductOffersPresent(state, getters) {\n const offers = Array.isArray(getters.getProductOfferData?.offers) ? getters.getProductOfferData?.offers : [];\n return offers.some(offer => isNonContractOffer(offer));\n },\n /**\n * Gets any product offers present\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n anyProductOffersPresent(state, getters) {\n const offers = Array.isArray(getters.getProductOfferData?.offers) ? getters.getProductOfferData?.offers : [];\n return offers.some(offer => !!offer?.productOffer);\n },\n /**\n * Gets any offered filtered reason present\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n anyOfferedFilteredReasonPresent(state, getters) {\n const offers = Array.isArray(getters.getProductOfferData?.offers) ? getters.getProductOfferData?.offers : [];\n return offers.some(offer => !!offer?.offerFilteredReasons);\n },\n /**\n * Gets any alternate offers present\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n anyAlternateOffersPresent(state, getters) {\n const offers = Array.isArray(getters.getAlternateProductOfferData?.alternativeOffers)\n ? getters.getAlternateProductOfferData?.alternativeOffers\n : [];\n return !!offers?.length;\n },\n /**\n * @description Checks the batch criteria to trigger alternate offer\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {number}\n */\n getBatchCriteriaToTriggerAlternate(state, getters, rootState, rootGetters) {\n const recommendationId = rootGetters[\"inlandRecommendation/getSelectedRecommendationId\"];\n const batchCriteria =\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.pricingJourneyConfig.name)\n ?.batchCriteriaToTriggerAlternate ?? 2;\n if (\n !getters.getProductOfferData?.loadMore &&\n getters.getProductOffersBatch > 0 &&\n getters.getProductOffersBatch < batchCriteria\n ) {\n return getters.getProductOffersBatch;\n }\n return recommendationId ? batchCriteria + 1 : batchCriteria;\n },\n /**\n * Check to trigger alternate product offers\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n shouldTriggerAlternateOffer(state, getters, rootState, rootGetters) {\n const recommendationId = rootGetters[\"inlandRecommendation/getSelectedRecommendationId\"];\n return (\n !getters.anyProductOffersPresent &&\n !!getters.getProductOfferData?.isAlternativeOfferPresent &&\n getters.getProductOffersBatch === getters.getBatchCriteriaToTriggerAlternate &&\n !state.isShowAfterSeeTheOffer &&\n !getters.isPromotionalCard\n );\n },\n /**\n * Check to auto trigger product offers\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n shouldTriggerProductOffer(state, getters) {\n // Just to make sure we are setting right config. If batch criteria to trigger alternate is 1 or less don't bother to check other conditions\n if (getters.getBatchCriteriaToTriggerAlternate - 1 <= 0) return false;\n return (\n !getters.anyProductOffersPresent &&\n getters.getProductOffersBatch <= getters.getBatchCriteriaToTriggerAlternate - 1 &&\n getters.getLoadMoreProductOffers &&\n !state.isShowAfterSeeTheOffer &&\n !getters.isPromotionalCard\n );\n },\n /**\n * Gets different offers list (e.g product offer, alternate offer)\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array}\n */\n offersList(state, getters) {\n if (getters.isShowOffersState) {\n return getters.getProductOffersWithFilteredReasons;\n }\n if (getters.isShowAlternatesOffersState) {\n return getters.getAlternateOffersList;\n }\n if (getters.isShowOffersFromAlternateState) {\n return getters.getAlternateProductOffersWithFilteredReasons;\n }\n return [];\n },\n /**\n * The product offers with offered filtered reasons list\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} The product offers list\n */\n getProductOffersWithFilteredReasons(state, getters) {\n const offersList = getters.getProductOffersList.concat(getters.getOfferedFilteredReasonList);\n return sortByDate(offersList ?? []).concat(getters.getErrorOffers);\n },\n /**\n * Gets the error offer that will be used show an error offer card in load more\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} The error offer list\n */\n getErrorOffers(state, getters) {\n return (getters.getProductOfferData?.offers || [])?.filter(offer => offer.hasError);\n },\n /**\n * The product offers with offered filtered reasons list\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} The product offers list\n */\n getAlternateProductOffersWithFilteredReasons(state, getters) {\n const offersList = getters.getProductOffersListFromAlternate.concat(\n getters.getAlternateProductOfferedFilteredReasonList\n );\n return sortByDate(offersList ?? []).concat(getters.getErrorOffers);\n },\n /**\n * Checks if all offers are contract for first batch\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n isAllContractOffersForFirstBatch(state, getters) {\n if (!getters.anyProductOffersPresent) return false;\n const isAllContactOffers =\n (getters.getProductOfferData?.offers || [])?.filter(offer => isNonContractOffer(offer))?.length === 0;\n return isAllContactOffers && !getters.anyOfferedFilteredReasonPresent && getters.getProductOffersBatch === 1;\n },\n /**\n * Checks if all offer filtered reasons are spot scope for first batch\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean}\n */\n isAllSpotScopeForFirstBatch(state, getters) {\n if (!getters.anyOfferedFilteredReasonPresent) return false;\n const isAllSpotScopeReasons =\n (getters.getProductOfferData?.offers || [])?.filter(offer => offer?.offerFilteredReasons?.type !== \"SPOTSCOPE\")\n ?.length === 0;\n return isAllSpotScopeReasons && !getters.anyProductOffersPresent && getters.getProductOffersBatch === 1;\n },\n /**\n * The product offers list\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} The product offers list\n */\n getProductOffersList(state, getters) {\n const containerAndCommodity = getters.getContainerAndCommodity;\n return (getters.getProductOfferData?.offers || [])\n ?.filter(offer => isNonContractOffer(offer))\n ?.map(offer => {\n const mappedOffer = mapProductOffer(offer);\n const mappedNorContainers = (mappedOffer?.nor?.containers || []).map((container, index) =>\n mapOfferContainer(container, containerAndCommodity.containers?.[index].quantity)\n );\n return {\n ...mappedOffer,\n ...PRICING_JOURNEY_CARD_CONFIG_MAPPER.get(PRICING_JOURNEY_OFFER_CARDS.PRODUCT_OFFER),\n // When multi container NOR will be present this needs to be revisited\n tags: mappedOffer?.nor?.isSwapped\n ? mappedNorContainers\n : getters.getContainerTags(containerAndCommodity.containers),\n id: offer?.id,\n date: mappedOffer?.offer?.date, // Added date to sort, as the util function needs date to sort\n containerAndCommodity: {\n ...containerAndCommodity,\n containers: mappedOffer?.nor?.isSwapped\n ? mappedNorContainers.map((container, index) => {\n return {\n ...containerAndCommodity.containers?.[index],\n ...container\n };\n })\n : containerAndCommodity.containers\n }\n };\n });\n },\n /**\n * The product offers list\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} The product offers list\n */\n getOfferedFilteredReasonList(state, getters) {\n return (getters.getProductOfferData?.offers?.filter(offer => !!offer?.offerFilteredReasons) || [])?.map(offer => {\n const mappedOffer = mapOfferedFilteredReason(offer);\n return {\n ...mappedOffer,\n ...PRICING_JOURNEY_CARD_CONFIG_MAPPER.get(PRICING_JOURNEY_OFFER_CARDS.PRODUCT_OFFER_FILTERED_REASON),\n id: offer?.id,\n tags: getters.getContainerTags(getters.getContainerAndCommodity?.containers),\n date: mappedOffer?.offer?.date // Added date to sort, as the util function needs date to sort\n };\n });\n },\n /**\n * The product offers list\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} The product offers list\n */\n getAlternateProductOfferedFilteredReasonList(state, getters) {\n return (getters.getOfferedFilteredReasonList || [])?.map(offer => {\n return {\n ...offer,\n ...PRICING_JOURNEY_CARD_CONFIG_MAPPER.get(PRICING_JOURNEY_OFFER_CARDS.ALTERNATE_PRODUCT_OFFER_FILTERED_REASON),\n tags: getters.getContainerTags([state.selectedAlternateOffer?.containerModel]),\n alternateRoute: {\n routeInfo: getters.getRouteInfoOfSelectedAlternateOffer\n }\n };\n });\n },\n /**\n * Gets alternate offer route info\n * @param {Object} state\n * @param {Object} getters\n * @returns {String} The route info\n */\n getRouteInfoOfSelectedAlternateOffer(state, getters) {\n const alternateOffer = state.selectedAlternateOffer;\n const origin = alternateOffer?.originLabel ?? \"\";\n const destination = alternateOffer?.destinationLabel ?? \"\";\n return `${origin} - ${destination}`;\n },\n /**\n * Gets product offer route info\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} offer\n * @returns {String} The route info\n */\n getRouteInfoOfProductOffer: (state, getters) => offer => {\n return `${offer?.lsm?.origin?.name} - ${offer?.lsm?.destination?.name}`;\n },\n /**\n * The product offers list from alternate offer\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} The product offers list\n */\n getProductOffersListFromAlternate(state, getters) {\n const alternateOffer = state.selectedAlternateOffer;\n return (getters.getProductOffersList || [])?.map(offer => {\n return {\n ...offer,\n tags: getters.getContainerTags([alternateOffer?.containerModel]), // currently container model in alternate offer is an object, might be changed to array when started supporting multiple type size\n alternateRoute: {\n routeInfo: getters.getRouteInfoOfProductOffer(offer)\n },\n ...PRICING_JOURNEY_CARD_CONFIG_MAPPER.get(PRICING_JOURNEY_OFFER_CARDS.ALTERNATE_PRODUCT_OFFER),\n containerAndCommodity: getters.getContainerAndCommodityForSelectedAlternateOffer,\n alternates: {\n // alternate equipment is calculated from alternate offer based on the assumption we will get same response in product offers and also currently we are not receiving quantity in the response, that's why we have generated tags also using alternate offer\n isAlternateEquipment: getters.isAlternateEquipment(alternateOffer?.containerModel?.name),\n isAlternateOrigin: getters.isAlternateOrigin(offer?.lsm?.origin?.geoId),\n isAlternateDestination: getters.isAlternateDestination(offer?.lsm?.destination?.geoId)\n }\n };\n });\n },\n /**\n * The alternate offers list\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} The alternate offers list\n */\n getAlternateOffersList(state, getters) {\n const offersList = getters.getAlternateProductOfferData?.alternativeOffers?.map(offer => {\n const mappedOffer = mapAlternateOffer(offer);\n return {\n ...mapAlternateOffer(offer),\n ...PRICING_JOURNEY_CARD_CONFIG_MAPPER.get(PRICING_JOURNEY_OFFER_CARDS.ALTERNATE_OFFER),\n tags: getters.getContainerTags([offer?.containerModel]),\n id: offer?.id,\n date: mappedOffer?.offer?.date, // Added date to sort, as the util function needs date to sort\n alternates: {\n isAlternateEquipment: getters.isAlternateEquipment(offer?.containerModel?.name),\n isAlternateOrigin: getters.isAlternateOrigin(offer?.originGeoId),\n isAlternateDestination: getters.isAlternateDestination(offer?.destinationGeoId)\n }\n };\n });\n return (offersList ?? []).sort((a, b) => {\n //check if the dates are different then sort by date else sort by origin\n return a.date !== b.date ? dateSorterFunc(a, b) : a.offer?.origin?.localeCompare(b?.offer?.origin);\n });\n },\n /**\n * The offer per page\n * @param {Object} state\n * @returns {Number} The offer per page\n */\n offerPerPage(state) {\n return state.offerPerPage;\n },\n /**\n * The paginated offers\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} The paginated offers\n */\n getPaginatedOffers(state, getters) {\n return (getters.offersList || []).reduce((offer, val, i) => {\n const idx = Math.floor(i / getters.offerPerPage);\n const page = offer[idx] || (offer[idx] = []);\n page.push(val);\n\n return offer;\n }, []);\n },\n /**\n * The offer per page\n * @param {Object} state\n * @param {Object} getters\n * @param {Number} pageNum\n * @returns {Array} The offers per page\n */\n getOffersPerPage: (state, getters) => pageNum => {\n return getters.getPaginatedOffers?.[pageNum - 1] ?? [];\n },\n /**\n * Gets the number of pages\n * @param {Object} state\n * @param {Object} getters\n * @returns {Number} The offers per page\n */\n getNumberOfPages(state, getters) {\n // if load more is true next button will be still enabled though there will be no offers to display\n return getters.isLoadMoreApplicable ? getters.getPaginatedOffers?.length + 1 : getters.getPaginatedOffers?.length;\n },\n /**\n * Checks if load more is applicable\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Number} The load more applicable status\n */\n isLoadMoreApplicable(state, getters, rootState, rootGetters) {\n // if load more is true next button will be still enabled though there will be no offers to display\n // If load more is true and user removed the filled required data or entered some invalid data we have to disable next\n return (\n getters.getLoadMoreProductOffers &&\n (getters.isShowOffersState || getters.isShowOffersFromAlternateState) &&\n rootGetters[\"OD3CP/isPricingJourneyRequiredDataFilled\"] &&\n rootGetters[\"OD3CP/isEqualDataForPricingJourney\"]\n );\n },\n /**\n * Gets the product offers batch\n * @param {Object} state\n * @returns {Number}\n */\n getLoadMoreProductOffers(state) {\n return state.loadMoreProductOffers;\n },\n /**\n * Gets container tags list\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array}\n */\n getContainerTags: state => containers => {\n return (containers || [])?.map(container => {\n return {\n name: container?.name,\n quantity: container?.quantity\n };\n });\n },\n /**\n * @description returns truthy only if no call has been made to offers\n * @param {object} state\n * @param {object} getters\n * @returns {boolean}\n */\n hasNoCallMade(state) {\n return Boolean(state.hasNoCallMade);\n },\n /**\n * Gets the active page\n * @param {Object} state\n * @returns {Number} The active page\n */\n getProductOffersActivePage(state) {\n return state.productOffersActivePage;\n },\n /**\n * Gets the active page\n * @param {Object} state\n * @returns {Number} The active page\n */\n getAlternateOffersActivePage(state) {\n return state.alternateOffersActivePage;\n },\n /**\n * Gets the active page\n * @param {Object} state\n * @returns {Number} The active page\n */\n getCurrentActivePage(state, getters) {\n if (getters.isShowOffersState || getters.isShowOffersFromAlternateState) {\n return state.productOffersActivePage;\n }\n return state.alternateOffersActivePage;\n },\n /**\n * Gets the card variant\n * @param {Object} state\n * @returns {String} The card variant\n */\n offerCardVariant(state, getters, rootState, rootGetters) {\n if (\n rootGetters[\"commonData/isTabOrMobileScreen\"] ||\n getters.isShowOffersState ||\n getters.isSearchingOffersForNextBatchState ||\n getters.isShowAlternatesOffersState ||\n getters.isAlternateProductSearchingState ||\n getters.isShowAfterSeeTheOffersState ||\n getters.isSearchingOffersFromAlternateForNextBatchState ||\n getters.isSoftStopState ||\n getters.isSearchAgain\n )\n return OFFER_CARD_VARIANT_TYPES.BORDERLESS;\n return OFFER_CARD_VARIANT_TYPES.BORDERED;\n },\n /**\n * Gets the offers to be shown in UI\n * @param {Object} state\n * @returns {Array} The list of offers\n */\n getOffers(state) {\n return state.offers;\n },\n /**\n * Gets the status for change triggered by load more\n * @param {Object} state\n * @returns {Boolean} The status\n */\n getChangeTriggeredByLoadMore(state) {\n return state.isChangeTriggeredByLoadMore;\n },\n /**\n * The containers for the selected offer\n * @param {Object} state\n * @param {Object} getters\n * @param {offer} offer\n * @returns {Boolean} The containers for the selected offer\n */\n getContainerForSelectedOffer: (state, getters, rootGetters) => offer => {\n return (offer?.containerAndCommodity?.containers || [])?.map(container => {\n const convertWeightUnit =\n getUnitsFromPricingJourney(container.unit) === constants.weightUnits.kgs\n ? constants.weightUnits.kgs\n : constants.weightUnits.lbs;\n const cargoWeight = getUnitsFromPricingJourney(container.unit) === convertWeightUnit ? container.weight : 0;\n return {\n containerType: { isoContainerSizeTypeCd: container?.isoContainerSizeTypeCd },\n quantity: container.quantity,\n weightPerContainer: cargoWeight,\n shipperOwnContainer: {\n checked: Boolean(container?.isShipperOwned),\n disabled: false\n },\n importReturnContainer: {\n checked: Boolean(container?.isImportReturned),\n disabled: false\n },\n overSizedCargo: {\n checked: Boolean(container?.isOutOfGauge),\n disabled: false\n },\n ...(rootGetters[\"boFlags/getFlag\"](constants.featureFlags.enableFlexiTank.name) && {\n flexiTankContainer: {\n checked: Boolean(container?.isFlexiTank),\n disabled: false,\n show: false\n }\n })\n };\n });\n },\n /**\n * Gets the mapped container for previous data\n * @param {Object} offer\n * @returns {Boolean} The status\n */\n getMappedContainersForPrevData: () => offer => {\n return (offer?.containerAndCommodity?.containers || []).map(container => {\n return {\n isoCode: container?.isoContainerSizeTypeCd,\n quantity: container?.quantity,\n cargoWeights: [\n {\n cargoWeight: container?.weight,\n weightMeasurementUnit: getUnitsFromPricingJourney(container?.unit)\n }\n ],\n isShipperOwned: container?.isShipperOwned\n };\n });\n },\n /**\n * Gets offer data to be set as previous data after user selects an offer\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} offer\n * @returns {Object} The previous data\n */\n getOfferDataAsPreviousData: (state, getters) => offer => {\n return {\n ...getters.getPreviousFilledData,\n destinationLocation: { cityGeoId: offer?.lsm?.destination?.geoId ?? \"\" },\n originLocation: { cityGeoId: offer?.lsm?.origin?.geoId ?? \"\" },\n destinationLocationCY: offer?.lsm?.destination?.serviceMode ?? constants.serviceMode.merchantHaulage,\n originLocationCY: offer?.lsm?.origin?.serviceMode ?? constants.serviceMode.merchantHaulage,\n cargoDetails: (getters.getPreviousFilledData?.cargoDetails || []).map(cargoDetail => {\n return {\n ...cargoDetail,\n containers: getters.getMappedContainersForPrevData(offer)\n };\n })\n };\n },\n /**\n * Gets the tag id\n * @param {Object} state\n */\n getTagId(state) {\n return state.tagId;\n },\n /**\n * Gets the offer data for GA\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} productOfferData The product offer data\n * @param {Boolean} isAlternateSource Is the request coming from alternative source\n */\n getOfferDataForGA: (state, getters) => (productOfferData, isAlternateSource) => {\n if (!productOfferData) return null;\n const searchParameters = isAlternateSource ? getters.getGASearchDataForAlternate : getters.getGASearchData;\n return {\n ...productOfferData,\n searchCategory: getters.getSelectedAlternateOffer?.searchCategory,\n searchCategoryDesc: getters.getSelectedAlternateOffer?.searchCategoryDesc,\n offers: (productOfferData?.offers || [])?.filter(\n offer => isNonContractOffer(offer) || !!offer?.offerFilteredReasons\n ),\n searchParameters,\n tagId: searchParameters?.tagId\n };\n },\n\n /**\n * Gets the alternate offer data for GA\n * @param {Object} state\n * @param {Object} getters\n * @param {Number} pageNum The page number to find which offers are shown in a particular page\n */\n getAlternateOfferDataForGA: (state, getters) => pageNum => {\n if (!getters.getAlternateOfferData) return null;\n const offerIds = (getters.getPaginatedOffers[pageNum - 1] || [])?.map(offer => offer.id);\n return {\n ...getters.getAlternateOfferData,\n alternativeOffers: (getters.getAlternateOfferData?.alternativeOffers || [])?.filter(offer =>\n offerIds.includes(offer.id)\n ),\n routeCode: getters.getRouteCode,\n tagId: getters.getTagId\n };\n },\n /**\n * Gets the max page viewed by user for alternate offers and it's used in GA events\n * @param {Object} state\n * @returns {Boolean} maxPage viewed for the alternate\n */\n getMaxPageViewedForAlternate(state) {\n return state.maxPageViewedForAlternate;\n },\n /**\n * Gets the route code\n * @param {Object} state\n * @param {Object} getters\n * @returns {String | null} The route code\n */\n getRouteCode(state, getters) {\n const offeredFilteredReasonObj = getters.getProductOfferData?.offers?.[0]?.offerFilteredReasons;\n if (!offeredFilteredReasonObj?.routeCode) {\n return null;\n }\n if (getFeatureValue(constants.featureFlags.oipoProductOffer.name)) {\n return offeredFilteredReasonObj?.direction\n ? `${offeredFilteredReasonObj.routeCode}${offeredFilteredReasonObj.direction}`\n : `${offeredFilteredReasonObj.routeCode}`;\n }\n return offeredFilteredReasonObj.routeCode;\n },\n /**\n * Gets the tagId for selected offer\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Number | null} The tagId for selected offer\n */\n getSelectedOfferTagId(state, getters, rootState, rootGetters) {\n const isPricingJourneyEnabled = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.pricingJourney.name);\n if (!isPricingJourneyEnabled || !getters.getOfferInUseStatus) return null;\n const tagId = getters.isShowOffersFromAlternateState ? getters.getSelectedAlternateOffer?.tagId : getters.getTagId;\n return tagId ?? null;\n },\n /**\n * Gets the tagId from CPJ\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Number | null} The tagId from CPJ\n */\n getCPJTagId(state, getters, rootState, rootGetters) {\n const isPricingJourneyEnabled = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.pricingJourney.name);\n if (isPricingJourneyEnabled) return null;\n return state.cpjTagId;\n },\n /**\n * Gets the status for if no more offers\n * @param {Object} state\n * @returns {Boolean} The status for no more offers\n */\n getHasNoMoreOffers(state) {\n return state.hasNoMoreOffers;\n },\n /**\n * Checks for error offer\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean} The status for error offer\n */\n hasErrorOffer(state, getters) {\n const offers = Array.isArray(getters.getProductOfferData?.offers) ? getters.getProductOfferData?.offers : [];\n return offers.some(offer => offer.hasError);\n },\n /**\n * Gets the status for offer in use\n * @param {Object} state\n * @returns {Boolean} The status for offer in use\n */\n getOfferInUseStatus(state) {\n return state.isOfferInUse;\n },\n\n getSubscriptionValues(state) {\n return state.subscriptionIds;\n },\n\n getSubscriptionState(state) {\n return state.subscriptionState;\n },\n\n getSubscriptionPayload(state) {\n const channelUser = getCustomerCode() + \":\" + getUserCredential(\"username\") + \":MSK\";\n const equipmentSize =\n constants.containerIsoSizeTypeMapper[state.od3cpCachedFormData?.containers[0]?.isoContainerSizeTypeCd];\n const payloadObj = {\n origin: \"Web\",\n originId: \"Maersk.com\",\n ruleId: 2,\n frequency: \"Immediate\",\n eventTypes: [\n {\n eventTypeId: 1,\n filterId: 1\n }\n ],\n eventFields: [\n {\n name: \"Origin\",\n value: state.od3cpCachedFormData?.origin?.location?.maerskRkstCode,\n condition: \"Equals\"\n },\n {\n name: \"Destination\",\n value: state.od3cpCachedFormData?.destination?.location?.maerskRkstCode,\n condition: \"Equals\"\n },\n { name: \"Equipment size\", value: equipmentSize, condition: \"Equals\" }\n ],\n channel: {\n channelType: \"Web\",\n channelUsername: channelUser,\n securityConfig: \"\",\n rateLimit: \"\"\n }\n };\n return payloadObj;\n },\n\n isSubscriptionInSpotScope(state, getters) {\n if (!getters.anyOfferedFilteredReasonPresent) return true;\n const isSubscriptionInSpotScope =\n (getters.getProductOfferData?.offers || [])?.filter(\n offer =>\n offer?.offerFilteredReasons?.type === constants.sailings.offeredFilteredReasonType.SPOTSCOPE ||\n offer?.offerFilteredReasons?.type === constants.sailings.offeredFilteredReasonType.SPOTEXCLUSION ||\n offer?.offerFilteredReasons?.type === constants.sailings.offeredFilteredReasonType.SCHEDULE\n )?.length === 0;\n return isSubscriptionInSpotScope;\n },\n /**\n * Checks if NOR offer is present either as a swapped offer or a normal offer\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean} The status for no more offers\n */\n isNorPresent(state, getters) {\n return !!getters.getProductOffersList?.some(offer => offer?.nor?.isNorPresent);\n },\n /**\n * Gets the NOR containers\n * @param {Object} state\n * @param {Object} getters\n * @returns {Array} The nor containers\n */\n norContainers(state, getters) {\n const containers = [\n ...new Set(\n getters.getProductOffersList\n ?.map(offer => offer?.nor?.containers)\n .flat()\n .filter(Boolean)\n )\n ];\n return Array.from(\n containers\n .reduce((map, container) => {\n if (!map.has(container.iso)) {\n map.set(container.iso, container);\n }\n return map;\n }, new Map())\n .values()\n );\n },\n isAlternateSource(state) {\n return [\n constants.pricingOffersTriggerSources.seeTheOffer,\n constants.pricingOffersTriggerSources.searchAlternateProductAgain,\n constants.pricingOffersTriggerSources.alternateLoadMore\n ].includes(state.triggerSource);\n },\n isNorRecommendation(state) {\n return !!state.isNorRecommendation;\n },\n getNorRecommendation: (state, getters, rootState, rootGetters) => norContainers => {\n // Currently we are matching first container as multi container NOR is not supported and scenarios are not clear\n return !!norContainers?.find(\n container =>\n container?.iso === rootGetters[\"OD3CP/getContainerSelect\"]?.[0]?.containerType?.isoContainerSizeTypeCd\n );\n }\n};\n","import { constants } from \"@/lib/CONSTANTS\";\nimport dayjs from \"dayjs\";\nimport { getBrandFromHostname } from \"@maersk/shared-js\";\nimport {\n locationMapper,\n getUnitsForPricingJourney,\n originMapperFromAlternateOffer,\n destinationMapperFromAlternateOffer\n} from \"@/lib/pricing-journey/offerPayload.ts\";\nimport { mapGAContainer, mapGALocation, mapOfferGALocation } from \"@/lib/pricing-journey/gaUtility\";\nimport * as legacyMappers from \"@/common/utils/mappers/od3cp/legacyToOd3cpFormDataMapper\";\nimport { deepEqual } from \"@/common/utils/generic/objectDeepComparison\";\n/**\n * All the getters which are using od3cpData for pricing journey\n */\nexport default {\n /**\n * Gets the previous filled data for pricing journey\n * @param {Object} state\n * @returns {Object} The previous filled data\n */\n getPreviousFilledData(state) {\n return state.pricingJourneyPreviousData;\n },\n\n /**\n * Gets the origin location details\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object} Origin location details\n */\n getOriginLocationDetails(state, getters, rootState, rootGetters) {\n const lsm = rootGetters[\"OD3CP/getLocationServiceMode\"];\n return locationMapper(lsm.origin);\n },\n /**\n * @description generates the information required for showing on offer modal\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {object}\n */\n generateOd3cpFormData(state, getters, rootState, rootGetters) {\n const containers = (rootGetters[\"OD3CP/getContainerSelect\"] || []).map(container => {\n return {\n name: container.containerType.sizeTypeDisplayName,\n quantity: container.quantity,\n weight: container.weightPerContainer,\n unit: getUnitsForPricingJourney(rootGetters[\"userSettings/unitPreference\"]),\n isoContainerSizeTypeCd: container.containerType.isoContainerSizeTypeCd,\n isShipperOwned: container.shipperOwnContainer.checked,\n isImportReturned: container.importReturnContainer.checked,\n isOverSize: container.overSizedCargo.checked\n };\n });\n return {\n commodity: {\n name: rootGetters[\"OD3CP/getCommodity\"]?.commodity?.commodityName ?? null\n },\n containers,\n origin: rootGetters[\"OD3CP/getLocationServiceMode\"]?.origin,\n destination: rootGetters[\"OD3CP/getLocationServiceMode\"]?.destination\n };\n },\n /**\n * Gets the cached form data\n * @param {Object} state\n * @returns {Boolean} The boolean value for lock\n */\n getOd3cpCachedFormData(state) {\n return state.od3cpCachedFormData;\n },\n /**\n * Gets the destination location details\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object} destination location details\n */\n getDestinationLocationDetails(state, getters, rootState, rootGetters) {\n const lsm = rootGetters[\"OD3CP/getLocationServiceMode\"];\n return locationMapper(lsm.destination);\n },\n\n /**\n * @description Gets the container details\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object}\n */\n getContainerDetails(state, getters, rootState, rootGetters) {\n const containers = rootGetters[\"OD3CP/getContainerSelect\"];\n const commodityData = rootGetters[\"OD3CP/getCommodity\"];\n return (containers || []).map(container => {\n return {\n isoCode: container.containerType?.isoContainerSizeTypeCd,\n size: container.containerType?.sizeCd,\n type: container.containerType?.typeCd,\n weight: container.weightPerContainer,\n quantity: container.quantity,\n isReefer: commodityData.temperatureControl?.checked,\n isNonOperatingReefer: !!(container.containerType?.reeferFlag && !commodityData.temperatureControl?.checked),\n isShipperOwnedContainer: container.shipperOwnContainer?.checked\n };\n });\n },\n /**\n * Gets the payload for pricing journey\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object} payload\n */\n getOffersCommonPayload(state, getters, rootState, rootGetters) {\n return {\n commodity: {\n id: rootGetters[\"OD3CP/getCommodity\"]?.commodity?.commodityCode,\n isDangerous: false,\n dangerousDetails: []\n },\n unit: getUnitsForPricingJourney(rootGetters[\"userSettings/unitPreference\"]),\n brandCode: `${getBrandFromHostname(window.location).brandCode.toUpperCase()}`,\n [rootGetters[\"boFlags/getFlag\"](constants.featureFlags.enableNORProductOffers.name)\n ? \"priceOwnerCode\"\n : \"customerCode\"]: rootGetters[\"priceOwnerData/getPriceOwnerData\"]?.customerCodes?.scvCode,\n loadAFLS: false,\n weekOffset: getters.getNextOffsetWeek\n };\n },\n\n /**\n * Gets the payload for pricing journey\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object} payload\n */\n getOffersPayloadForPricingJourney(state, getters, rootState, rootGetters) {\n return {\n from: getters.getOriginLocationDetails,\n to: getters.getDestinationLocationDetails,\n containers: getters.getContainerDetails,\n shipmentPriceCalculationDate: dayjs()\n .add(1, \"day\")\n .format(\"YYYY-MM-DD\"),\n initialWeekOffset: 0,\n recommendationId: rootGetters[\"inlandRecommendation/getSelectedRecommendationId\"],\n maerskCorrelationId: getters.getPricingCorrelationId,\n ...getters.getOffersCommonPayload\n };\n },\n\n getPricingCorrelationId(state, getters, rootState, rootGetters) {\n if (getters.getChangeTriggeredByLoadMore) {\n return getters.getNextOffsetWeek === 2 ? state.pricingCorrelationId + \"_0\" : state.pricingCorrelationId + \"_1\";\n }\n return state.pricingCorrelationId;\n },\n\n /**\n * Gets the payload for auto trigger load more pricing journey\n * @param {Object} state\n * @param {Object} getters\n * @returns {Object} payload\n */\n getOffersPayloadForAutoLoadMore(state, getters) {\n return {\n ...getters.getOffersPayloadForPricingJourney,\n weekOffset: getters.getNextOffsetWeek\n };\n },\n /**\n * Gets the offers payload for pricing journey from alternate offer\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} offer\n * @returns {Object} payload\n */\n getOffersPayloadForPJFromAlternateOffer: (state, getters) => offer => {\n if (!offer) return null;\n return {\n alternateOfferRequest: true,\n from: originMapperFromAlternateOffer(offer),\n to: destinationMapperFromAlternateOffer(offer),\n containers: [offer.containerModel],\n shipmentPriceCalculationDate: dayjs(offer.etd).format(\"YYYY-MM-DD\"),\n ...getters.getOffersCommonPayload\n };\n },\n /**\n * @description returns cached information for container and commodity\n * @param {object} state\n * @returns {object}\n */\n getContainerAndCommodity(state) {\n return {\n commodity: state.od3cpCachedFormData?.commodity,\n containers: state.od3cpCachedFormData?.containers\n };\n },\n\n /**\n * @description returns information for container and commodity for a selected alternate offer\n * @param {object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {object}\n */\n getContainerAndCommodityForSelectedAlternateOffer(state, getters, rootState, rootGetters) {\n const containers = [state.selectedAlternateOffer?.containerModel].map(container => {\n return {\n name: container?.name,\n quantity: container?.quantity,\n weight: container?.weight,\n unit: getUnitsForPricingJourney(rootGetters[\"userSettings/unitPreference\"]),\n isoContainerSizeTypeCd: container?.isoCode,\n isShipperOwned: container?.isShipperOwnedContainer\n };\n });\n return {\n commodity: {\n name: rootGetters[\"OD3CP/getCommodity\"]?.commodity?.commodityName ?? null\n },\n containers\n };\n },\n /**\n * The alternate equipment\n * @param {Object} state\n * @param {Object} getters\n * @param {String} equipmentName\n * @returns {Boolean} The alternate equipment status\n */\n isAlternateEquipment: (state, getters) => equipmentName => {\n return getters.getOd3cpCachedFormData?.containers?.[0]?.name !== equipmentName;\n },\n /**\n * The alternate origin\n * @param {Object} state\n * @param {Object} getters\n * @param {String} geoId\n * @returns {Boolean} The alternate origin status\n */\n isAlternateOrigin: (state, getters) => geoId => {\n return getters.getOd3cpCachedFormData?.origin?.location?.maerskGeoLocationId !== geoId;\n },\n /**\n * The alternate destination\n * @param {Object} state\n * @param {Object} getters\n * @param {String} geoId\n * @returns {Boolean} The alternate destination status\n */\n isAlternateDestination: (state, getters) => geoId => {\n return getters.getOd3cpCachedFormData?.destination?.location?.maerskGeoLocationId !== geoId;\n },\n /**\n * The LSM for selected offer\n * @param {Object} state\n * @param {Object} getters\n * @param {offer} offer\n * @returns {Object} The LSM\n */\n getLsmForSelectedOffer: (state, getters, rootState, rootGetters) => (offer, clearOd = false) => {\n // We are forming default location such that if od is not changed it will keep as it is or else set as null to clear the field\n // Note this change is calculated from the current selected details\n const lsm = rootGetters[\"OD3CP/getLocationServiceMode\"];\n const shouldUpdateOrigin = lsm?.origin?.location?.maerskGeoLocationId !== offer?.lsm?.origin?.geoId;\n const shouldUpdateDestination = lsm?.destination?.location?.maerskGeoLocationId !== offer?.lsm?.destination?.geoId;\n let defaultOriginLocation = shouldUpdateOrigin ? offer?.lsm?.origin?.geoId : null;\n let defaultDestinationLocation = shouldUpdateDestination ? offer?.lsm?.destination?.geoId : null;\n // Based on clearOd param we will set default location either null or the value from the offer\n if (clearOd) {\n defaultOriginLocation = null;\n defaultDestinationLocation = null;\n }\n return {\n origin: {\n location: shouldUpdateOrigin ? null : lsm?.origin?.location ?? null,\n defaultLocation: defaultOriginLocation,\n serviceMode: offer?.lsm?.origin?.serviceMode || constants.serviceMode.merchantHaulage\n },\n destination: {\n location: shouldUpdateDestination ? null : lsm?.destination?.location ?? null,\n defaultLocation: defaultDestinationLocation,\n serviceMode: offer?.lsm?.destination?.serviceMode || constants.serviceMode.merchantHaulage\n }\n };\n },\n /**\n * Gets the containers data for GA\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object} The containers for GA\n */\n getContainerForGa(state, getters, rootState, rootGetters) {\n const containers = [];\n (rootGetters[\"OD3CP/getContainerSelect\"] ?? []).forEach((container, index) => {\n containers.push({\n id: index + 1,\n quantity: container?.quantity,\n weight: container.weightPerContainer,\n type: container.containerType\n });\n });\n return containers;\n },\n /**\n * Gets the search data for GA\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object} payload\n */\n getGASearchData(state, getters, rootState, rootGetters) {\n return {\n origin: mapGALocation(rootGetters[\"OD3CP/getLocationServiceMode\"]?.origin),\n destination: mapGALocation(rootGetters[\"OD3CP/getLocationServiceMode\"]?.destination),\n commodity: rootGetters[\"OD3CP/getCommodity\"]?.commodity,\n containerSelect: {\n containers: getters.getContainerForGa,\n isNonOperatingReefer: getters.getContainerDetails.some(container => container.isNonOperatingReefer), // This we have calculated here as the existing logic only uses reefer types but reefer team told this should be the logic\n isShipperOwnedContainer: rootGetters[\"OD3CP/isShipperOwnedContainer\"]\n },\n shipmentDate: dayjs()\n .add(1, \"day\")\n .format(\"ddd, DD MMM YYYY HH:mm:ss [GMT]\"),\n dangerousCargo: { isDangerousCargo: rootGetters[\"OD3CP/isDangerous\"], dangerousCargos: [{ id: 1 }] },\n tagId: getters.getTagId,\n priceOwnerCode: rootGetters[\"priceOwnerData/getPriceOwnerData\"]?.customerCodes?.scvCode\n };\n },\n /**\n * Gets the search data for GA\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object} payload\n */\n getGASearchDataForAlternate(state, getters, rootState, rootGetters) {\n const offer = getters.getSelectedAlternateOffer;\n if (!offer) return null;\n return {\n alternateCorrelationId: getters.getAlternateOfferData?.maerskCorrelationId,\n origin: mapOfferGALocation(offer),\n destination: mapOfferGALocation(offer, false),\n commodity: rootGetters[\"OD3CP/getCommodity\"]?.commodity,\n containerSelect: {\n containers: mapGAContainer(offer.containerModel),\n isNonOperatingReefer: offer.containerModel?.isNonOperatingReefer,\n isShipperOwnedContainer: offer.containerModel?.isShipperOwnedContainer\n },\n shipmentDate: dayjs(offer.etd).format(\"ddd, DD MMM YYYY HH:mm:ss [GMT]\"),\n dangerousCargo: { isDangerousCargo: rootGetters[\"OD3CP/isDangerous\"], dangerousCargos: [{ id: 1 }] },\n tagId: offer.tagId,\n priceOwnerCode: rootGetters[\"priceOwnerData/getPriceOwnerData\"]?.customerCodes?.scvCode\n };\n },\n /**\n * Creates booking data for CPJ (will be used to compare if user is making any changes)\n * @param state\n * @param getters\n * @return {Object | null}\n */\n getOriginalBookingDataFromLegacyForCPJ(state, getters, rootState, rootGetters) {\n const data = rootGetters[\"OD3CP/getLegacyBookingData\"];\n if (!data) return null;\n\n return {\n exportServiceMode: data.originTransportMode,\n importServiceMode: data.destinationTransportMode,\n originLocation: { cityGeoId: data.originGeoId },\n destinationLocation: { cityGeoId: data.destinationGeoId },\n alternatePickupLocation: { cityGeoId: data.alternatePickupLocationGeoId || null },\n isReefer: data.isReefer,\n isDangerous: data.isDangerous,\n cargoDetails: [\n {\n commodityCode: data.cargo?.[0]?.commodityCode ?? \"\",\n containers: mapContainersDetails()\n }\n ]\n };\n\n function mapContainersDetails() {\n const mappedContainers = legacyMappers.mapContainers(data, rootGetters[\"userSettings/unitPreference\"]);\n return (mappedContainers || []).map(container => {\n return {\n isoCode: container.containerType.isoContainerSizeTypeCd,\n quantity: container.quantity,\n cargoWeight: container.weightPerContainer.toString(),\n isShipperOwned: container.shipperOwnContainer.checked,\n isOutOfGauge: container.overSizedCargo.checked,\n isImportReturned: container.importReturnContainer.checked,\n ...(rootGetters[\"boFlags/getFlag\"](constants.featureFlags.enableFlexiTank.name) && {\n isFlexiTank: container.flexiTankContainer?.checked || false\n })\n };\n });\n }\n },\n /**\n * Creates booking data for CPJ (will be used to compare if user is making any changes)\n * @param state\n * @param getters\n * @return {Object | null}\n */\n getFilledDataForCPJ(state, getters, rootState, rootGetters) {\n const data = rootGetters[\"OD3CP/getAmendData\"];\n if (!data) return null;\n const { parties, ...updatedData } = data;\n return updatedData;\n },\n /**\n * Checks if filled data and original data is same or different\n * @param state\n * @param getters\n * @return {Boolean}\n */\n isOd3cChangedForCPJ(state, getters) {\n const bookingData = getters.getOriginalBookingDataFromLegacyForCPJ;\n const filledData = getters.getFilledDataForCPJ;\n return !deepEqual(filledData, bookingData);\n }\n};\n","import { constants } from \"@/lib/CONSTANTS\";\nimport { OFFERS_PER_PAGE } from \"@/lib/pricing-journey/offerCardConfig.ts\";\n\n/**\n * All the getters related to different states in pricing journey\n */\nexport default {\n /**\n * The product offers loading status\n * @param {Object} state\n * @returns {Boolean} The loading status\n */\n isProductOffersLoading(state) {\n return state.isProductOffersLoading;\n },\n /**\n * The product offers loading status\n * @param {Object} state\n * @returns {Boolean} The loading status\n */\n isAutoTriggerProductOffersLoading(state) {\n return state.isAutoTriggerProductOffersLoading;\n },\n /**\n * Gets the lock state for UI fields\n * @param {Object} state\n * @returns {Boolean} The boolean value for lock\n */\n getIsLockEnabled(state) {\n return state.isLockEnabled;\n },\n\n /**\n * Checks whether container is dangerous or oversized\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Boolean}\n */\n isDangerousOrOversizedCargo(state, getters, rootState, rootGetters) {\n return rootGetters[\"OD3CP/isDangerousOrOversizedCargo\"];\n },\n /**\n * @description returns true only when we show default widget\n * @returns {boolean}\n */\n isDefaultState(state) {\n /**\n * if there are no offers and alternateProductOfferData then this must be default state\n */\n if (state.isLockEnabled) return false;\n return state.productOfferData === null && state.alternateProductOfferData === null;\n },\n /**\n * @description returns true when we are searching for offers(not alternate offers) or alternate\n * @returns {boolean}\n */\n isSearchingOffersOrAlternatesState(state, getters) {\n /**\n * this can happen in 3 states\n * 1. We are triggering offers API from form\n * 2. We are (auto)triggering alternates API\n * 3. We are triggering Offers API from pagination controls\n */\n if (!state.isLockEnabled || getters.isSearchingOffersForNextBatchState || state.isProductOffersLoadingFromAlternate)\n return false;\n return state.selectedAlternateOffer === null;\n },\n /**\n * @description returns true when we are searching for offers(not alternate offers) or alternate\n * @returns {boolean}\n */\n isSearchingOffersForNextBatchState(state, getters) {\n /**\n * this can happen if product offers triggered for the next set of batch\n */\n if (\n state.isShowAfterSeeTheOffer ||\n getters.isAlternateOffersLoadingState ||\n getters.isDangerousOrOversizedCargo ||\n getters.ignoreMultiContainerCheck ||\n getters.isAutoTriggerProductOffersLoading\n )\n return false;\n return state.isLockEnabled && state.productOfferData !== null;\n },\n /**\n * @description returns true when we are searching for offers(not alternate offers) or alternate\n * @returns {boolean}\n */\n isSearchingOffersFromAlternateForNextBatchState(state, getters) {\n /**\n * this can happen if product offers received from alternate offer triggered for the next set of batch\n */\n if (getters.isDangerousOrOversizedCargo || getters.ignoreMultiContainerCheck) return false;\n\n return state.isLockEnabled && state.productOfferData !== null && state.isShowAfterSeeTheOffer;\n },\n /**\n * @description returns true only when we for an alternate offer we are searching product offers\n * @returns {boolean}\n */\n isAlternateProductSearchingState(state, getters) {\n if (!state.isLockEnabled || getters.isDangerousOrOversizedCargo || getters.ignoreMultiContainerCheck) return false;\n return state.isProductOffersLoadingFromAlternate;\n },\n /**\n * @description returns true only we are showing list of offers(not the alternative offers)\n * @returns {boolean}\n */\n isShowOffersState(state, getters) {\n /**\n * we show offers list when the lock is not enabled and we have some valid offers\n */\n if (\n state.isLockEnabled ||\n getters.isDangerousOrOversizedCargo ||\n getters.ignoreMultiContainerCheck ||\n state.isShowAfterSeeTheOffer ||\n getters.isAlternateOffersLoadingState ||\n getters.isSoftStopState ||\n getters.isShowAlternatesOffersState ||\n getters.isSearchAgain ||\n getters.isPromotionalCard ||\n getters.isAutoTriggerProductOffersLoading\n )\n return false;\n\n return getters.anyNonContractProductOffersPresent || getters.anyOfferedFilteredReasonPresent;\n },\n /**\n * @description returns true only we are showing list of product offers from alternative offers\n * @returns {boolean}\n */\n isShowOffersFromAlternateState(state, getters) {\n /**\n * we show product offers list when the lock is not enabled and we have some valid offers from alternate offers\n */\n if (\n state.isLockEnabled ||\n getters.isDangerousOrOversizedCargo ||\n getters.isAlternateOffersLoadingState ||\n getters.ignoreMultiContainerCheck ||\n getters.isPromotionalCard\n )\n return false;\n\n return (\n (getters.anyNonContractProductOffersPresent ||\n getters.anyOfferedFilteredReasonPresent ||\n getters.isSoftStopAlternateState) &&\n state.isShowAfterSeeTheOffer\n );\n },\n /**\n * @description returns true only when we are showing alternate offers\n * @returns {boolean}\n */\n isShowAlternatesOffersState(state, getters) {\n /**\n * we show offers list when lock is not enabled and we have some valid alternate offers\n */\n if (\n state.isLockEnabled ||\n getters.isDangerousOrOversizedCargo ||\n getters.ignoreMultiContainerCheck ||\n state.isShowAfterSeeTheOffer ||\n getters.isSoftStopState ||\n getters.isSearchAgain ||\n getters.isPromotionalCard\n )\n return false;\n return getters.anyAlternateOffersPresent;\n },\n /**\n * @description returns true only when for the particular params we don't have any valid offers and alternates\n * @returns {boolean}\n */\n isSoftStopState(state, getters) {\n /**\n * we show offers list when the lock is not enabled and though we don't have any valid offers or alternates but we did call and have some data in product offers\n */\n if (\n state.isLockEnabled ||\n getters.isDangerousOrOversizedCargo ||\n getters.ignoreMultiContainerCheck ||\n getters.hasAlternateOffersError ||\n getters.hasProductOffersError ||\n getters.isSearchAgain ||\n getters.isPromotionalCard ||\n state.isShowAfterSeeTheOffer\n )\n return false;\n\n if (!!getters.getAlternateOfferData) {\n return !getters.anyAlternateOffersPresent;\n }\n\n return (\n !!getters.getProductOfferData && !getters.anyProductOffersPresent && !getters.anyOfferedFilteredReasonPresent\n );\n },\n /**\n * @description returns true only when for the particular params we don't have any valid offers and alternates\n * @returns {boolean}\n */\n isSoftStopAlternateState(state, getters) {\n /**\n * we show offers list when the lock is not enabled and though we don't have any valid offers or alternates but we did call and have some data in product offers\n */\n if (\n state.isLockEnabled ||\n getters.isDangerousOrOversizedCargo ||\n getters.ignoreMultiContainerCheck ||\n getters.hasAlternateOffersError ||\n getters.hasProductOffersError ||\n getters.isSearchAgain ||\n getters.isPromotionalCard ||\n !state.isShowAfterSeeTheOffer\n )\n return false;\n\n return (\n !!getters.getProductOfferData && !getters.anyProductOffersPresent && !getters.anyOfferedFilteredReasonPresent\n );\n },\n /**\n * @description returns true only when user has clicked see the offer\n * @returns {boolean}\n */\n isShowAfterSeeTheOffersState(state, getters) {\n if (getters.ignoreMultiContainerCheck || getters.isDangerousOrOversizedCargo) return false;\n return state.isShowAfterSeeTheOffer;\n },\n /**\n * @description returns time for which UI form should be disabled for the first offers call\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {number}\n */\n getInputDisable(state, getters, rootState, rootGetters) {\n return rootGetters[\"boFlags/getFlag\"](constants.featureFlags.pricingJourneyConfig.name)?.inputDisable ?? 2;\n },\n /**\n * @description Gets the product offers per page\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {number}\n */\n getProductOffersPerPage(state, getters, rootState, rootGetters) {\n return (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.pricingJourneyConfig.name)?.productOffersPerPage ??\n OFFERS_PER_PAGE.DEFAULT_OFFERS_PER_PAGE\n );\n },\n /**\n * @description Gets the alternate offers per page\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {number}\n */\n getAlternateOffersPerPage(state, getters, rootState, rootGetters) {\n return (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.pricingJourneyConfig.name)?.alternateOffersPerPage ??\n OFFERS_PER_PAGE.ALTERNATE_OFFERS_PER_PAGE\n );\n },\n /**\n * @description returns timeout after which we need to discard the network response\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {number}\n */\n getNetworkTimeout(state, getters, rootState, rootGetters) {\n return rootGetters[\"boFlags/getFlag\"](constants.featureFlags.pricingJourneyConfig.name)?.networkTimeout ?? 8;\n },\n /**\n * Sets the loading status for alternate offers\n * @param {Object} state\n * @returns {Boolean} The status\n */\n isAlternateOffersLoadingState(state) {\n return state.isAlternateOffersLoading;\n },\n /**\n * Sets the loading status for alternate offers\n * @param {Object} state\n * @returns {Boolean} The status\n */\n isMultipleTypeOrSizeContainers(state, getters, rootState, rootGetters) {\n return rootGetters[\"OD3CP/getContainerSelect\"]?.length > 1;\n },\n /**\n * Gets search again state\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean} The status\n */\n isSearchAgain(state, getters) {\n if (getters.ignoreMultiContainerCheck || state.isShowAfterSeeTheOffer || getters.isDangerousOrOversizedCargo)\n return false;\n\n const formSource = constants.pricingOffersTriggerSources.od3cpForm;\n const searchSource = constants.pricingOffersTriggerSources.searchAgain;\n const autoTriggerSource = constants.pricingOffersTriggerSources.autoTriggerLoadMore;\n\n return (\n [formSource, searchSource, autoTriggerSource].includes(state.timeOutReason) ||\n getters.hasProductOffersErrorTriggeredBy(formSource) ||\n getters.hasProductOffersErrorTriggeredBy(searchSource) ||\n getters.hasProductOffersErrorTriggeredBy(autoTriggerSource) ||\n getters.hasAlternateOffersError\n );\n },\n /**\n * Gets search again state when product offers from alternate\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean} The status\n */\n isSearchAgainInAlternateProduct(state, getters) {\n const source = constants.pricingOffersTriggerSources.seeTheOffer;\n const searchSource = constants.pricingOffersTriggerSources.searchAlternateProductAgain;\n if (\n getters.ignoreMultiContainerCheck ||\n getters.getSelectedAlternateOffer?.productOfferData ||\n getters.isDangerousOrOversizedCargo\n )\n return false;\n\n return (\n ([source, searchSource].includes(state.timeOutReason) ||\n getters.hasProductOffersErrorTriggeredBy(source) ||\n getters.hasProductOffersErrorTriggeredBy(searchSource)) &&\n state.isShowAfterSeeTheOffer\n );\n },\n /**\n * Gets if error in load more\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean} The status\n */\n isErrorInLoadMore(state, getters) {\n const source = constants.pricingOffersTriggerSources.loadMore;\n const alternateSource = constants.pricingOffersTriggerSources.alternateLoadMore;\n return (\n [source, alternateSource].includes(state.timeOutReason) ||\n getters.hasProductOffersErrorTriggeredBy(source) ||\n getters.hasProductOffersErrorTriggeredBy(alternateSource)\n );\n },\n /**\n * Checks if to show promotional card\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean} The status\n */\n isPromotionalCard(state, getters) {\n if (getters.ignoreMultiContainerCheck || getters.isDangerousOrOversizedCargo) return false;\n\n return getters.isAllContractOffersForFirstBatch || getters.isAllSpotScopeForFirstBatch;\n },\n /**\n * Checks has any offers\n * @param {Object} state\n * @param {Object} getters\n * @returns {Boolean} The status\n */\n hasAnyOffers(state, getters) {\n return getters.isShowOffersState || getters.isShowAlternatesOffersState || getters.isShowOffersFromAlternateState;\n },\n\n /**\n * Returns True if passed reason type exists in the Offered Filtered List\n * @param {Object} state\n * @param {Object} getters\n * @param {String} reasonType check parameter for the method\n * @returns {Boolean} If Filtered matches reasonType\n */\n hasSpecificFilteredReason: (state, getters) => reasonType => {\n return !!getters.getOfferedFilteredReasonList?.find(reason => reason?.offer?.filteredReason === reasonType);\n },\n\n /**\n * @description returns true if the container quanity is more than 45\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {Boolean}\n */\n isContainerQuantityMoreThan40(state, getters, rootState, rootGetters) {\n const isForceInland = rootGetters[\"boFlags/getFlag\"](\n constants.featureFlags.pricingJourneyWidgetForceInlandReason.name\n );\n return (\n isForceInland &&\n rootGetters[\"OD3CP/getContainerSelect\"]?.length === 1 &&\n rootGetters[\"OD3CP/getContainerSelect\"]?.[0]?.quantity > 40\n );\n },\n /**\n * @description returns true if multi container feature flag is enabled or disabled\n * @param {object} state\n * @param {object} getters\n * @param {object} rootState\n * @param {object} rootGetters\n * @returns {Boolean}\n */\n isPricingJourneyMultiContainerAPIEnabled(state, getters, rootState, rootGetters) {\n return rootGetters[\"boFlags/getFlag\"](constants.featureFlags.pricingJourneyMultiContainerApiTrigger.name);\n },\n\n /**\n * @description returns false if multi container feature flag is on and ignore further check for multi container\n * @param {object} state\n * @param {object} getters\n * @returns {Boolean}\n */\n ignoreMultiContainerCheck(state, getters) {\n return !getters.isPricingJourneyMultiContainerAPIEnabled && getters.isMultipleTypeOrSizeContainers;\n },\n\n isPricingSubscriptionEnabled(state, getters, rootState, rootGetters) {\n return (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.pricingSubscriptionJourney.name) &&\n getters.isSubscriptionInSpotScope\n );\n }\n};\n","import { initialState } from \"@/store/modules/pricingJourney/state\";\nimport actions from \"@/store/modules/pricingJourney/actions\";\nimport mutations from \"@/store/modules/pricingJourney/mutations\";\nimport getters from \"@/store/modules/pricingJourney/getters/getters\";\nimport od3cpDataGetters from \"@/store/modules/pricingJourney/getters/od3cpDataGetters\";\nimport pricingStatesGetters from \"@/store/modules/pricingJourney/getters/pricingStatesGetters\";\n\nexport default {\n namespaced: true,\n state: initialState,\n getters: {\n ...getters,\n ...od3cpDataGetters,\n ...pricingStatesGetters\n },\n mutations,\n actions\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion } from \"@/common/utils/generic/featureFlagService\";\nimport { ContainerProfileWithDimensionLimit } from \"@/lib/oogCargo/interfaces/dimension\";\n/**\n *\n * @returns Inline telemetry attribute used for checking bots using Akamai BOTMAN\n */\nfunction setInlineTelemetry() {\n return !(window as any).bmak ? null : { \"Akamai-BM-Telemetry\": (window as any).bmak?.get_telemetry() };\n}\n\nexport const fetchOOGDimensionsLimits = (\n correlationId: string,\n payload: string\n): Promise> => {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.oogDimensionsLimits}`,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n ...getFeatureVersion(),\n correlationId: correlationId,\n \"Correlation-Id\": correlationId,\n ...setInlineTelemetry()\n }\n });\n};\n","import { deepClone } from \"@/common/utils/generic/deepClone\";\nimport {\n generateContainerSetting,\n filterContainerSettingsOtherThanType,\n checkIfStateIrrelevant,\n generateOogSettingFromBookingData,\n generateBookingDataForOog\n} from \"@/lib/oogCargo/oogUtilities\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport Vue from \"vue\";\nimport { fetchOOGDimensionsLimits } from \"@/common/service/oogCargoService\";\nimport { deepEqual } from \"@/common/utils/generic/objectDeepComparison\";\n\nexport default {\n namespaced: true,\n state: {\n // For all the 3 different container types (Max 3)\n sameOogDetailsAllContainers: Array.from({ length: constants.maximumNumberOfContainers }, () => false),\n oogContainerSettings: [],\n brMappingInProgress: false,\n isQuoteReferenceClearedForAmend: false,\n oogDataLoaded: false\n },\n getters: {\n /**\n * @description Checks if the OOG data is loaded\n * @param {Object} state\n * @returns {Boolean}\n */\n isOogDataLoaded(state) {\n return state.oogDataLoaded;\n },\n /**\n * @description This method gets all settings for a container type\n * @param {Object} state\n * @param {number} typeIndex\n * @returns {Array}\n */\n getOogContainerSettings: state => typeIndex => {\n return state.oogContainerSettings.filter(setting => setting.typeIndex === typeIndex);\n },\n getContainerSelectWeightRule: (state, getters, rootState, rootGetters) => containerSelectIndex => {\n const isMdsContainerEnabled = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.mdsContainer.name);\n return isMdsContainerEnabled\n ? rootGetters[\"OD3CP/getContainerSelectRules\"]?.[`${containerSelectIndex}`]\n : rootGetters[\"OD3CP/getContainerSelectRules\"]?.[`${constants.containerSelectId}${containerSelectIndex}`];\n },\n /**\n * @description This method returns if same settings is used for all instances of a container type\n * @param {Object} state\n * @param {number} typeIndex\n * @returns {Boolean}\n */\n getIsSameSettingsForContainerType: state => typeIndex => state.sameOogDetailsAllContainers[typeIndex],\n\n isContainerTypeChangedInAmend: (state, getters, rootState, rootGetters) => typeIndex => {\n const isOogAmendBookingEnabled = rootGetters[\"OD3CP/isOogAmendBookingEnabled\"];\n if (!isOogAmendBookingEnabled) return false;\n\n const originalBookingContainer =\n rootGetters[\"OD3CP/getOriginalBookingData\"]?.cargoDetails?.[0]?.containers?.[typeIndex] || {};\n const amendBookingContainer = rootGetters[\"OD3CP/getAmendData\"]?.cargoDetails?.[0]?.containers?.[typeIndex] || {};\n const { isoCode: originalIsoCode, isOutOfGauge: originalIsOutOfGauge } = originalBookingContainer;\n const { isoCode: currentIsoCode, isOutOfGauge: currentIsOutOfGauge } = amendBookingContainer;\n return !deepEqual(\n { isoCode: originalIsoCode, isOutOfGauge: originalIsOutOfGauge },\n { isoCode: currentIsoCode, isOutOfGauge: currentIsOutOfGauge }\n );\n },\n isEDDChangedForAmendWhenNotGatedInPickedUp(state, getters, rootState, rootGetters) {\n const isGatedInOrPickedUp =\n rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerGateInStatus ||\n rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerPickupStatus;\n return !!(\n rootGetters[\"OD3CP/isOogAmendBookingEnabled\"] &&\n rootGetters[\"OD3CP/isEarliestDepartureDateChangedInAmend\"] &&\n !isGatedInOrPickedUp\n );\n },\n\n isEDDChangedForAmendWhenNotGatedInButPickedUp(state, getters, rootState, rootGetters) {\n const notGatedInButPickedUp =\n !rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerGateInStatus &&\n rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerPickupStatus;\n\n return !!(\n rootGetters[\"OD3CP/isOogAmendBookingEnabled\"] &&\n rootGetters[\"OD3CP/isEarliestDepartureDateChangedInAmend\"] &&\n notGatedInButPickedUp\n );\n },\n\n getOogContainerSettingsAllTypes(state) {\n return state.oogContainerSettings;\n },\n getIsQuoteReferenceClearedForAmend(state) {\n return state.isQuoteReferenceClearedForAmend;\n },\n clearQuoteReferenceInAmendWhenNotGatedInPickedUp: (state, getters, rootState, rootGetters) => typeIndex => {\n const isGatedInOrPickedUp =\n rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerGateInStatus ||\n rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerPickupStatus;\n const isAnyAmendDataChanged =\n rootGetters[\"OD3CP/isOriginChangedInAmend\"] ||\n rootGetters[\"OD3CP/isDestinationChangedInAmend\"] ||\n rootGetters[\"OD3CP/isExportSrvcModeChangedInAmend\"] ||\n rootGetters[\"OD3CP/isEarliestDepartureDateChangedInAmend\"] ||\n getters.isContainerTypeChangedInAmend(typeIndex);\n return !!(rootGetters[\"OD3CP/isOogAmendBookingEnabled\"] && isAnyAmendDataChanged && !isGatedInOrPickedUp);\n },\n clearQuoteReferenceInAmendWhenNotGatedInButPickedUp(state, getters, rootState, rootGetters) {\n const notGatedInButPickedUp =\n !rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerGateInStatus &&\n rootGetters[\"OD3CP/getAmendContainerStatus\"]?.containerPickupStatus;\n const isAnyAmendDataChanged =\n rootGetters[\"OD3CP/isDestinationChangedInAmend\"] || rootGetters[\"OD3CP/isEarliestDepartureDateChangedInAmend\"];\n\n return rootGetters[\"OD3CP/isOogAmendBookingEnabled\"] && notGatedInButPickedUp && isAnyAmendDataChanged;\n },\n /**\n * @description Don't increase the OOG cards, upon clicking on cancel in DgOogContainerSelectModal\n * @returns {Boolean}\n */\n shouldStopOogCardsReduction: (state, getters, rootState, rootGetters) => (typeIndex, containerQty) => {\n return (\n rootGetters[\"OD3CP/isOogAmendBookingEnabled\"] &&\n rootGetters[\"OD3CP/shouldStopDgOogCardsReduction\"](typeIndex, containerQty, true)\n );\n }\n },\n mutations: {\n /**\n * @description This method sets if same settings is selected for a container type\n * @param {Object} state\n * @param {boolean} value\n * @param {number} typeIndex\n */\n setSameOogDetailsAllContainers(state, { value, typeIndex }) {\n Vue.set(state.sameOogDetailsAllContainers, typeIndex, value);\n },\n /**\n * @description This method updates the complete sameOogDetailsAllContainers array when an container deletion happens\n * @param {Object} state\n * @param {Array} settings\n */\n updateCompleteSameSettings(state, settings) {\n state.sameOogDetailsAllContainers = settings;\n },\n /**\n * @description This method sets all container settings with received value\n * @param {Object} state\n * @param {Array} settings\n */\n updateCompleteSettings(state, settings) {\n state.oogContainerSettings = settings;\n },\n /**\n * @description This method updates a field value of a specific container instance\n * @param {Object} state\n * @param {number} containerIndexToUpdate\n * @param {string} property\n * @param {string} value\n */\n updateContainerSettingData(state, { containerIndexToUpdate, property, value }) {\n if (!(property in constants.oogFields)) {\n return;\n }\n const container = state.oogContainerSettings[containerIndexToUpdate];\n container.settings[constants.oogFields[property]] = value;\n Vue.set(state.oogContainerSettings, containerIndexToUpdate, container);\n },\n setBrOogMappingInProgress(state, value) {\n state.brMappingInProgress = value;\n },\n setIsQuoteReferenceClearedForAmend(state, value) {\n state.isQuoteReferenceClearedForAmend = value;\n },\n setOogDataLoaded(state, value) {\n state.oogDataLoaded = value;\n }\n },\n actions: {\n /**\n * @description This method updates all container instances of a specific type with received data\n * If no settings received, all container instances will be updated with the settings from the first instance\n * @param {Object}\n * @param {number} quantity\n * @param {number} typeIndex\n * @param {string} typeName\n * @param {Array} settings\n */\n updateContainerDataByType({ commit, getters, state }, { quantity, typeIndex, typeName, settings }) {\n const currentContainerSetting = getters.getOogContainerSettings(typeIndex);\n if (!currentContainerSetting.length) {\n return;\n }\n const updateSettings = [\n ...filterContainerSettingsOtherThanType(deepClone(state.oogContainerSettings), typeIndex),\n ...Array.from({ length: quantity }, (_, index) =>\n generateContainerSetting(\n index,\n typeIndex,\n typeName,\n settings ? settings[index] : currentContainerSetting[0].settings\n )\n )\n ];\n commit(\"updateCompleteSettings\", updateSettings);\n },\n /**\n * @description This method removes a specific container instance(s) if quantity param is passed else it removes all container instances settings\n * @param {Object}\n * @param {number} typeIndex\n * @param {number} quantity\n */\n removeContainer({ commit, getters, state }, { typeIndex, quantity }) {\n const filteredSettings = filterContainerSettingsOtherThanType(state.oogContainerSettings, typeIndex);\n const updateSettings = !quantity\n ? filteredSettings\n : [...filteredSettings, ...getters.getOogContainerSettings(typeIndex).slice(0, -quantity)];\n commit(\"updateCompleteSettings\", updateSettings);\n },\n /**\n * @description This method updates adds settings by bulk\n * @param {Object}\n * @param {number} typeIndex\n * @param {number} quantity\n * @param {string} typeName\n */\n addSettingsByQuantity({ commit, state, getters }, { quantity, typeIndex, typeName }) {\n const currentContainerSetting = getters.getOogContainerSettings(typeIndex);\n // If use same is checked and quantity is incremented\n if (currentContainerSetting.length > 0 && state.sameOogDetailsAllContainers[typeIndex]) {\n return;\n }\n const filteredOtherTypeSettings = filterContainerSettingsOtherThanType(state.oogContainerSettings, typeIndex);\n const newSetting = Array.from(\n { length: state.sameOogDetailsAllContainers[typeIndex] ? 1 : quantity },\n (_, index) => generateContainerSetting(currentContainerSetting.length + index, typeIndex, typeName)\n );\n const updateSettings = [...filteredOtherTypeSettings, ...currentContainerSetting, ...newSetting];\n commit(\"updateCompleteSettings\", updateSettings);\n },\n /**\n * @description This method compresses all container instance settings to be as same default single setting\n * @param {Object}\n * @param {number} typeIndex\n * @param {string} typeName\n */\n updateDifferentToSameDefaultSettings({ commit, state }, { typeIndex, typeName }) {\n const updateSettings = [\n ...filterContainerSettingsOtherThanType(deepClone(state.oogContainerSettings), typeIndex),\n generateContainerSetting(0, typeIndex, typeName)\n ];\n commit(\"updateCompleteSettings\", updateSettings);\n },\n /**\n * @description This method triggers separate actions once same setting is updated\n * @param {number} quantity\n * @param {number} typeIndex\n * @param {string} typeName\n * @param {boolean} value\n */\n updateOogSettingsOnSetSameCheck({ commit, dispatch }, { quantity, typeIndex, typeName, value }) {\n commit(\"setSameOogDetailsAllContainers\", { value, typeIndex });\n if (value) {\n dispatch(\"updateDifferentToSameDefaultSettings\", { typeIndex, typeName });\n return;\n }\n dispatch(\"updateContainerDataByType\", { quantity, typeIndex, typeName });\n },\n async getOOGDimensionsLimits({ commit, rootGetters }, payload) {\n commit(\"error/clearErrorsForSource\", constants.errorSource.getOOGDimensionsLimits, { root: true });\n try {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n const dimensionLimitResponse = await fetchOOGDimensionsLimits(correlationId, payload);\n return dimensionLimitResponse[0];\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: Vue.prototype.$t(\"od3cp.service.error\"),\n page: constants.errorPage.od3cp,\n source: constants.errorSource.getOOGDimensionsLimits,\n statusCode: error?.status,\n showError: true,\n prefersMessage: false\n },\n { root: true }\n );\n }\n },\n /**\n * @description This will reset / clear oog state's when container selection changes\n * @param {Array} containerSelectNew\n * @param {Array} containerSelectOld\n */\n resetOnContainerSelect({ dispatch, state, commit, getters }, { containerSelectNew, containerSelectOld }) {\n if (containerSelectNew?.length !== containerSelectOld?.length) return;\n containerSelectNew.forEach((_, typeIndex) => {\n // Update same settings and add/remove settings for the containerSelect typeIndex when quantity changes\n const containerNew = containerSelectNew[typeIndex],\n containerOld = containerSelectOld[typeIndex];\n dispatch(\"updateSameOog\", { containerNew, containerOld, typeIndex });\n dispatch(\"addRemoveOogSettings\", { containerNew, containerOld, typeIndex });\n\n dispatch(\"updateOogSettingsOnOogCheckChange\", { containerOld, containerNew, typeIndex });\n });\n dispatch(\"removeIrrelevantData\", { containerSelectNew });\n },\n /**\n * @description Add/update a container in oog state when OOG check changes\n * @param {Array} oldContainer\n * @param {Array} newContainer\n * @param {number} typeIndex\n */\n updateOogSettingsOnOogCheckChange({ dispatch, state, commit, getters }, { containerOld, containerNew, typeIndex }) {\n // If oog checked then add/update a container in oog state\n if (containerNew?.overSizedCargo?.checked && !containerOld?.overSizedCargo?.checked) {\n // Just update the name when previous container type was also OOG\n if (getters.getOogContainerSettings(typeIndex).length) {\n dispatch(\"updateContainerDataByType\", {\n quantity: getters.getOogContainerSettings(typeIndex).length,\n typeIndex,\n typeName: containerNew?.containerType?.sizeTypeDisplayName,\n settings: getters.getOogContainerSettings(typeIndex).map(containers => containers.settings)\n });\n // Add a new one when previous container type was not OOG\n } else {\n dispatch(\"addSettingsByQuantity\", {\n quantity: 1,\n typeIndex: typeIndex,\n typeName: containerNew?.containerType?.sizeTypeDisplayName\n });\n commit(\"setSameOogDetailsAllContainers\", { value: containerNew?.quantity > 1, typeIndex });\n }\n }\n },\n /**\n * @description Remove irrelevant data (entire container or type name) when selecting a new container type\n * @param {Array} containerSelectNew\n */\n removeIrrelevantData({ dispatch, state, commit, getters }, { containerSelectNew }) {\n // Get all the container typeIndex's for which there are saved oog settings\n const oogTypeIndexes = [...new Set(state.oogContainerSettings.map(containers => containers.typeIndex))];\n oogTypeIndexes.forEach(typeIndex => {\n if (checkIfStateIrrelevant(typeIndex, containerSelectNew)) {\n // Remove containers by typeIndex when selecting a container type different from OOG\n if (containerSelectNew[typeIndex].containerType) {\n dispatch(\"resetStateByType\", { typeIndex });\n }\n // Clear typeName value when removing any existing OOG container (to have the possibility to recover it)\n else {\n dispatch(\"updateContainerDataByType\", {\n quantity: getters.getOogContainerSettings(typeIndex).length,\n typeIndex,\n typeName: undefined,\n settings: getters.getOogContainerSettings(typeIndex).map(containers => containers.settings)\n });\n }\n }\n });\n },\n /**\n * @description Reset / clear oog state's for the irrelevant container type\n * @param {number} typeIndex\n * @param {boolean} isContainerDeleted\n */\n resetStateByType({ commit, state }, { typeIndex, isContainerDeleted = false }) {\n let updatedSettings = filterContainerSettingsOtherThanType(deepClone(state.oogContainerSettings), typeIndex);\n if (isContainerDeleted) {\n // Readjust the typeIndex's of oog container settings to match the one remaining of contaier select's\n updatedSettings = updatedSettings.map(container => {\n if (container.typeIndex > typeIndex) container.typeIndex--;\n return container;\n });\n // Readjust the same settings for container types to point to the correct container select's\n const updatedSameSettings = state.sameOogDetailsAllContainers.map((type, index, sameArray) => {\n if (typeIndex <= index) return sameArray[index + 1] ?? false;\n return type;\n });\n commit(\"updateCompleteSameSettings\", updatedSameSettings);\n commit(\"updateCompleteSettings\", updatedSettings);\n return;\n }\n commit(\"updateCompleteSettings\", updatedSettings);\n commit(\"setSameOogDetailsAllContainers\", { value: false, typeIndex });\n },\n /**\n * @description Update the same oog settings for the particular container types when the quantity changes\n * @param {Object} containerNew\n * @param {Object} containerOld\n * @param {number} typeIndex\n */\n updateSameOog({ commit, getters }, { containerNew, containerOld, typeIndex }) {\n if (getters.shouldStopOogCardsReduction(typeIndex, containerNew?.quantity)) return;\n let value = null;\n if (containerNew?.quantity > 1 && !containerOld?.quantity) value = true;\n if (containerNew?.quantity > 1 && containerOld?.quantity <= 1) value = true;\n if (containerNew?.quantity <= 1 && containerOld?.quantity > 1) value = false;\n if (typeof value !== \"boolean\") return false;\n commit(\"setSameOogDetailsAllContainers\", { value, typeIndex });\n },\n /**\n * @description Add or remove oog containers in settings for the particular container types when the quantity changes\n * @param {Object} containerNew\n * @param {Object} containerOld\n * @param {number} typeIndex\n */\n addRemoveOogSettings({ dispatch, getters, rootGetters }, { containerNew, containerOld, typeIndex }) {\n if (\n getters.shouldStopOogCardsReduction(typeIndex, containerNew?.quantity) ||\n containerNew?.quantity === containerOld?.quantity\n ) {\n return false;\n }\n if (!containerOld || containerNew?.quantity > containerOld?.quantity) {\n const addedQuantity = containerNew?.quantity - (containerOld?.quantity ?? 0);\n dispatch(\"addSettingsByQuantity\", {\n quantity: addedQuantity,\n typeIndex: typeIndex,\n typeName: containerNew?.containerType?.sizeTypeDisplayName\n });\n return;\n }\n if (rootGetters[\"OD3CP/canRetainContainerSettings\"](typeIndex)) return;\n const isSettingRemovalRequired =\n !getters.getIsSameSettingsForContainerType(typeIndex) &&\n !(containerNew.quantity === 1 && getters.getOogContainerSettings(typeIndex).length === 1);\n if (isSettingRemovalRequired) {\n const removedQuantity = containerOld?.quantity - containerNew.quantity;\n dispatch(\"removeContainer\", { typeIndex, ...(containerNew.quantity && { quantity: removedQuantity }) });\n }\n },\n mapOogSettingsData({ commit, getters, rootGetters, dispatch, state }, bookingData) {\n const oogDataLoad = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.oogDataLoad.name);\n const initialData = [...state.oogContainerSettings];\n if (oogDataLoad) {\n // We are doing this just to make sure the default value added on checking the oog checkbox is reset\n commit(\"updateCompleteSettings\", []);\n }\n const measurementUnitPreference = rootGetters[\"userSettings/unitPreference\"];\n (bookingData?.containerDetails || []).forEach((container, index) => {\n const isSameOverSizedCargoDetails = container?.isSameOverSizedCargoDetails;\n if (isSameOverSizedCargoDetails) {\n const payload = generateBookingDataForOog(\n container,\n index,\n measurementUnitPreference,\n container.containerInstanceIds[0]\n );\n if (container.quantity > 1) commit(\"setSameOogDetailsAllContainers\", { value: true, typeIndex: index });\n if (payload.oogData) dispatch(\"mapOogSameSettingsData\", payload);\n return;\n }\n const updateSettings = [...state.oogContainerSettings];\n\n container.containerInstanceIds.forEach((containerInstanceId, instanceIndex) => {\n const payload = generateBookingDataForOog(container, index, measurementUnitPreference, containerInstanceId);\n if (payload.oogData) {\n const containerSetting = generateOogSettingFromBookingData(payload);\n updateSettings.push(\n generateContainerSetting(\n instanceIndex,\n index,\n constants.isoCodeSizeTypeMapping[payload.isoCode],\n containerSetting\n )\n );\n }\n });\n if (oogDataLoad && index === bookingData.containerDetails.length - 1 && !updateSettings.length) {\n updateSettings.push(initialData);\n }\n commit(\"updateCompleteSettings\", updateSettings);\n });\n },\n mapOogSameSettingsData({ commit, getters, rootGetters, state }, bookingData) {\n const containerSetting = generateOogSettingFromBookingData(bookingData);\n const updateSettings = [\n ...filterContainerSettingsOtherThanType(deepClone(state.oogContainerSettings), bookingData.typeIndex),\n generateContainerSetting(\n 0,\n bookingData.typeIndex,\n constants.isoCodeSizeTypeMapping[bookingData.isoCode],\n containerSetting\n )\n ];\n commit(\"updateCompleteSettings\", updateSettings);\n },\n clearQuoteReferenceForAmendWhenEDDChanged({ commit, getters, rootGetters, dispatch, state }) {\n if (\n !(getters.isEDDChangedForAmendWhenNotGatedInPickedUp || getters.isEDDChangedForAmendWhenNotGatedInButPickedUp)\n )\n return;\n\n dispatch(\"clearQuoteReference\");\n },\n clearQuoteReference({ commit, getters, rootGetters, state }) {\n const allContainerSetting = deepClone(getters.getOogContainerSettingsAllTypes);\n if (!allContainerSetting.length) {\n return;\n }\n allContainerSetting.forEach(containerSetting => {\n containerSetting.settings.quoteReferenceNumber = null;\n });\n commit(\"updateCompleteSettings\", allContainerSetting);\n commit(\"setIsQuoteReferenceClearedForAmend\", true);\n },\n /**\n @description This action removes specific container(s) OOG cards\n * @param {*} commit\n * @param {*} getters\n * @param {*} state\n * @param {Number} typeIndex\n * @param {Array[Number]} containerInstances\n */\n removeContainerInstanceOog({ commit, getters, state }, { typeIndex, containerInstances = [] }) {\n if (!Array.isArray(containerInstances) || !containerInstances?.length) return;\n const filteredOtherTypeSettings = filterContainerSettingsOtherThanType(state.oogContainerSettings, typeIndex);\n const updateSettings = [\n ...filteredOtherTypeSettings,\n ...getters\n .getOogContainerSettings(typeIndex)\n .filter((_, index) => !containerInstances.includes(index))\n .map((setting, index) => ({ ...setting, index }))\n ];\n commit(\"updateCompleteSettings\", updateSettings);\n }\n }\n};\n","export const packingStructure = {\n id: null,\n type: null,\n code: null,\n quantity: null\n};\n\nconst pristineSettings = {\n // IMO details\n imoDetails: {\n amendment: null,\n classification: null,\n unNumber: null,\n naNumber: false,\n shippingName: null,\n technicalName: null,\n subrisk1: null,\n subrisk2: null,\n marinePollutant: false,\n emergencyCode1: null,\n emergencyCode2: null,\n segregation: [],\n additionalSegregation: [],\n originalAdditionalSegregation: [],\n variant: null,\n variation: null,\n displayUNNumber: null,\n displayShippingName: null,\n suffix: null\n },\n // Packing Information\n packingInformation: {\n outerPacking: { ...packingStructure, quantity: 1 },\n outerPackingType: null,\n outerPackingTypeQuantity: 1,\n innerPackingType: null,\n innerPackingTypeQuantity: 0,\n packingGroup: null,\n packingGroupQuantity: null,\n displayOuterPacking: null,\n selectedOuterPackingInstanceId: null,\n displayInnerPacking: null,\n selectedInnerPackingInstanceId: null,\n innerPackings: [{ ...packingStructure }]\n },\n // Weights and measures\n weightsMeasuresInformation: {\n grossWeight: null,\n netWeight: null,\n netExplosiveContent: null,\n volume: null\n },\n // Additonal Information\n additionalInformation: {\n flashPoint: null,\n sadt: null,\n controlTemperature: null,\n emergencyTemperature: null,\n emergencyContact: null,\n countryCode: null,\n contactNumber: null\n },\n containerIndex: 0,\n settingIndex: 0\n};\n\n/**\n *\n * @returns {Object} pristineSettings\n */\nexport function fetchPristineSettings() {\n return JSON.parse(JSON.stringify(pristineSettings));\n}\n","import { constants } from \"@/lib/CONSTANTS\";\nimport { fetchPristineSettings } from \"./helper\";\n\nexport const initialState = {\n sameDangerousDetailsAllContainers: Array.from({ length: constants.maximumNumberOfContainers }, () => false),\n showDangerousDetailsModal: false,\n showDangerousDetailsModalReview: false,\n dgContainers: [],\n currentSettings: fetchPristineSettings(),\n reviewSetting: {\n containerIndex: null,\n settingIndex: null\n },\n imdgAmendmentsResponse: [],\n isImdgAmendmentsLoading: false,\n isUnNumberListLoading: false,\n isUnNumberLoading: false,\n classifications: [],\n filteredClassifications: [],\n unNumbers: [],\n filteredUnNumbers: [],\n unNumberResponse: [],\n filteredShippingName: [],\n technicalNameLoadingStatus: false,\n filteredTechnicalNameList: [],\n segregationGroups: [],\n additionalSegregationOptions: [],\n sadtUnNumbers: null,\n controlEmergencyTemperatures: null,\n enabledgSettingRequiredError: false,\n filteredPackingGroups: [],\n packingType: [],\n expiredAmendmentSsp: false\n};\n","import Vue from \"vue\";\nimport fallbackSegregationGroups from \"@/common/utils/generic/segregationGroups.json\";\nimport fallbackPackingTypeResponse from \"@/common/utils/generic/packagingTypesResponse.json\";\nimport { deepClone } from \"@/common/utils/generic/deepClone\";\nimport {\n getSegregationGroups,\n getSadtUnNumbers,\n getUnNumberList,\n getUnNumber,\n getControlEmergencyTemperatures,\n fetchPackagingTypes\n} from \"@/common/service/dangerousGoodsService\";\nimport { filterContainerSettingsOtherThanType, generateContainerSetting } from \"@/lib/dangerousGoods/dgUtilities\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\nexport default {\n /**\n * This action will be called on edit of existing event and when the user clicks save inside the modal\n * @param {*} commit\n */\n updateDGContainerSettings({ commit }) {\n commit(\"updateDGContainerSettings\");\n commit(\"clearDangerousGoodsState\");\n },\n /**\n * This action will be called on add new setting event and when the user clicks save inside the modal\n * @param {*} commit\n * */\n saveDGContainerSettings({ commit }) {\n commit(\"saveDGContainerSettings\");\n commit(\"clearDangerousGoodsState\");\n },\n /**\n * This action makes an API call to get the segregation groups\n * In case of failure, fallback data from generic utils will be used as segregation groups\n * @param {*} commit\n * */\n async getSegregationGroups({ commit }) {\n try {\n const segregationGroups = await getSegregationGroups();\n commit(\"setSegregationGroups\", segregationGroups);\n } catch (e) {\n commit(\"setSegregationGroups\", fallbackSegregationGroups);\n }\n },\n async updateShippingName({ state, commit, dispatch, getters, rootGetters }, shippingNameParams) {\n if (state.unNumberResponse?.error !== undefined) return;\n const classification = state.currentSettings.imoDetails.classification;\n const unNumber = state.currentSettings.imoDetails.unNumber;\n const shippingNameOnClass =\n state.unNumberResponse?.filter(p => p.class === classification && p.unNo === unNumber) || [];\n let shippingNameList = [];\n let psn, variation, techName, variant, suffix, additionalSegregation;\n const isDgAmendEnabled = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.dgAmend.name);\n shippingNameOnClass.forEach(item => {\n psn = item.psn;\n variation = item.variation;\n techName = item.techName;\n additionalSegregation = isDgAmendEnabled ? item?.additionalSegregation : \"\";\n variant = item.variant;\n suffix = item.suffix;\n shippingNameList.push({\n label: [psn, variation].filter(x => typeof x === \"string\" && x.length > 0 && x.trim() !== \"\").join(\", \"),\n value: psn,\n variant: variant,\n techNameRequiredStatus: techName === \"*\",\n additionalSegregationRequiredStatus: additionalSegregation === \"*\",\n suffix: suffix,\n variation\n });\n });\n if (classification && unNumber) {\n commit(\"setFilteredShippingName\", shippingNameList);\n if (shippingNameList.length === 1 && !shippingNameParams?.isEdit) {\n commit(\"setDisplayShippingName\", shippingNameList[0].label);\n commit(\"setShippingName\", shippingNameList[0].value);\n commit(\"setVariant\", shippingNameList[0].variant);\n commit(\"setVariation\", shippingNameList[0].variation);\n commit(\"setSuffix\", shippingNameList[0].suffix);\n dispatch(\"populateDataOnPSNChange\", {\n shippingName: { ...shippingNameList[0] }\n });\n }\n dispatch(\"populateDataShipmentBinder\", { isEdit: shippingNameParams?.isEdit });\n }\n },\n /**\n * This action covers the logic to update the variant, segregationOptions and additionalSegregationOptions for shipment binder\n * @param {*} state\n * @param {*} commit\n * @param {*} dispatch\n * @param {*} rootGetters\n * @param {Boolean} isEdit\n * */\n populateDataShipmentBinder({ state, commit, dispatch, getters, rootGetters }, { isEdit }) {\n if (!isEdit || !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.bookingInfoFromBookingRequestDG.name)) return;\n const UNObject = state.unNumberResponse?.find?.(\n unObj =>\n unObj?.psn === state.currentSettings.imoDetails?.shippingName &&\n (!unObj?.variation || unObj?.variation === state.currentSettings.imoDetails?.variation)\n );\n if (!UNObject) return;\n if (!!!state.currentSettings.imoDetails?.variant) commit(\"setVariant\", UNObject?.variant);\n if (!state.additionalSegregationOptions?.length || getters.isAdditionalSegregationRequired)\n dispatch(\"updateSegregations\", UNObject);\n },\n /**\n * This action covers the logic to set/reset Marine pollutant, Sub-risk1, Sub-risk2, ems, segregationsand Packing Group based on PSN selection\n * @param {*} commit\n * */\n populateDataOnPSNChange({ commit, getters, state, dispatch }, { shippingName }) {\n if (!shippingName?.value) {\n commit(\"setMarinePollutant\", false);\n commit(\"setSubrisk1\", null);\n commit(\"setSubrisk2\", null);\n commit(\"setEmergencyCode1\", null);\n commit(\"setEmergencyCode2\", null);\n commit(\"setSegregation\", []);\n commit(\"setAdditionalSegregationOptions\", []);\n commit(\"clearAdditionalSegregation\");\n commit(\"clearOriginalAdditionalSegregation\");\n commit(\"setPackingGroup\", null);\n commit(\"setFilteredPackingGroups\", []);\n return;\n }\n const UNObject = state.unNumberResponse?.find?.(\n unObj => unObj?.psn === shippingName?.value && unObj?.variation === shippingName?.variation\n );\n dispatch(\"updateMarinePollutant\", UNObject);\n dispatch(\"updateSubRisks\", UNObject);\n dispatch(\"updateEMS\", UNObject);\n dispatch(\"updateSegregations\", UNObject);\n // Packing Group object\n const UNObjectPG = state.unNumberResponse\n .filter(unObj => {\n return unObj?.psn === shippingName?.value && unObj?.variation === shippingName?.variation && unObj?.pg;\n })\n .map(unObj => {\n return unObj?.pg;\n });\n dispatch(\"updatePackingGroup\", UNObjectPG);\n if (UNObjectPG.length === 1) commit(\"setPackingGroup\", UNObjectPG[0]);\n },\n updateMarinePollutant({ commit }, UNObject) {\n commit(\"setMarinePollutant\", UNObject?.mp === \"P\");\n },\n updatePackingGroup({ commit }, UNObjectPG) {\n commit(\"setFilteredPackingGroups\", UNObjectPG);\n },\n updateSubRisks({ commit }, UNObject) {\n commit(\"setSubrisk1\", Boolean(UNObject?.subHazard1) ? UNObject.subHazard1 : null);\n commit(\"setSubrisk2\", Boolean(UNObject?.subHazard2) ? UNObject.subHazard2 : null);\n },\n updateEMS({ commit }, unObject) {\n const [ems1, ems2] = (unObject?.ems || \"\").split(\",\");\n commit(\"setEmergencyCode1\", !!ems1 ? ems1 : null);\n commit(\"setEmergencyCode2\", !!ems2 ? ems2 : null);\n },\n updateSegregations({ commit, getters, state }, unObject) {\n const segGroupsWithNone = deepClone(state.segregationGroups);\n const noneItemIndex = segGroupsWithNone?.findIndex(group => group.instanceId === 99);\n if (noneItemIndex > -1) {\n segGroupsWithNone.unshift(segGroupsWithNone.splice(noneItemIndex, 1)[0]);\n } else {\n // TODO: Remove this else condition once the story OME-29418 is in production\n segGroupsWithNone.unshift({\n instanceId: 99,\n safeBookSegregationGroup: \"\",\n segregationGroup: \"99\",\n segregationName: \"None\"\n });\n }\n\n if (unObject.segs?.length) {\n const seg = state.segregationGroups\n .filter(group => unObject.segs.includes(group.safeBookSegregationGroup))\n .map(obj => ({ instanceId: obj.instanceId, segregationName: obj.segregationName }));\n const additionalSegregationOptions = segGroupsWithNone.filter(\n segGroup => !(unObject?.segs || []).includes(segGroup.safeBookSegregationGroup)\n );\n commit(\"setSegregation\", seg);\n commit(\"setAdditionalSegregationOptions\", additionalSegregationOptions);\n return;\n }\n commit(\"setSegregation\", []);\n commit(\"setAdditionalSegregationOptions\", segGroupsWithNone);\n },\n async getUnNumberList({ commit, getters, rootGetters }, cfrAmendmentId) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n // cfrAmendmentId when coming from shipment binder incase of NA number\n const imdgAmendmentId = cfrAmendmentId ?? getters[\"getAmendmentId\"];\n commit(\"error/clearErrorsForSource\", constants.errorSource.getUnNumberList, { root: true });\n commit(\"dangerousSettingsData/setUnNumberListLoadingStatus\", true, { root: true });\n try {\n const response = await getUnNumberList(correlationId, imdgAmendmentId);\n commit(\n \"dangerousSettingsData/updateImdgAmendmentsResponse\",\n { unNumbers: response, amendmentId: imdgAmendmentId },\n { root: true }\n );\n commit(\"dangerousSettingsData/updateClassifications\", false, { root: true });\n commit(\"dangerousSettingsData/updateUnNumbers\", { unNumber: null, updateUnNumber: false }, { root: true });\n commit(\"dangerousSettingsData/setUnNumberListLoadingStatus\", false, { root: true });\n } catch (error) {\n commit(\"dangerousSettingsData/setUnNumberListLoadingStatus\", false, { root: true });\n commit(\n \"error/setError\",\n {\n error,\n message: Vue.prototype.$t(\"od3cp.service.imdgAmendments.errorMsg\"),\n page: constants.errorPage.od3cp,\n source: constants.errorSource.getUnNumberList,\n statusCode: error?.status,\n showError: true,\n prefersMessage: false\n },\n { root: true }\n );\n }\n },\n async getUnNumberData({ commit, dispatch, getters, rootGetters }, unDataParams) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n const unNumber = getters[\"getCurrentSettings\"].imoDetails.unNumber;\n const imdgAmendmentId = getters[\"getAmendmentId\"];\n commit(\"error/clearErrorsForSource\", constants.errorSource.getUnNumberData, { root: true });\n commit(\"dangerousSettingsData/setUnNumberLoadingStatus\", true, { root: true });\n try {\n const unNumberData = getters[\"isUnNumberDataUpdated\"]\n ? getters[\"getUnNumberResponse\"]\n : await getUnNumber(correlationId, unNumber, imdgAmendmentId);\n const mappedUnNumberData = unNumberData.map(un => ({ ...un, amendmentId: imdgAmendmentId }));\n commit(\"dangerousSettingsData/setUnNumbersResponse\", mappedUnNumberData, { root: true });\n commit(\"dangerousSettingsData/setUnNumberLoadingStatus\", false, { root: true });\n dispatch(\"dangerousSettingsData/updateShippingName\", { isEdit: unDataParams?.isEdit }, { root: true });\n } catch (error) {\n commit(\"dangerousSettingsData/setUnNumbersResponse\", null, { root: true });\n commit(\"dangerousSettingsData/setUnNumberLoadingStatus\", false, { root: true });\n commit(\n \"error/setError\",\n {\n error,\n message: Vue.prototype.$t(\"od3cp.service.imdgAmendments.errorMsg\"),\n page: constants.errorPage.od3cp,\n source: constants.errorSource.getUnNumberData,\n statusCode: error?.status,\n showError: true,\n prefersMessage: false\n },\n { root: true }\n );\n }\n },\n async fetchControlEmergencyTemperatures({ commit, rootGetters, state }) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n commit(\"error/clearErrorsForSource\", constants.errorSource.controlEmergencyTemperatures, { root: true });\n commit(\"dangerousSettingsData/setTechnicalNameLoadingStatus\", true, { root: true });\n try {\n if (state.controlEmergencyTemperatures === null) {\n const response = await getControlEmergencyTemperatures(correlationId);\n commit(\"dangerousSettingsData/setControlEmergencyTemperatures\", response, { root: true });\n commit(\"dangerousSettingsData/setFilteredTechnicalNameList\", null, { root: true });\n }\n commit(\"dangerousSettingsData/setTechnicalNameLoadingStatus\", false, { root: true });\n } catch (error) {\n commit(\"dangerousSettingsData/setFilteredTechnicalNameList\", null, { root: true });\n commit(\"dangerousSettingsData/setTechnicalNameLoadingStatus\", false, { root: true });\n commit(\n \"error/setError\",\n {\n error,\n message: Vue.prototype.$t(\"od3cp.service.imdgAmendments.errorMsg\"),\n page: constants.errorPage.od3cp,\n source: constants.errorSource.controlEmergencyTemperatures,\n statusCode: error?.status,\n showError: true,\n prefersMessage: false\n },\n { root: true }\n );\n }\n },\n async fetchSadtUnNumbers({ commit, rootGetters, state }) {\n try {\n if (state.sadtUnNumbers === null) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n const sadtUnNumbers = await getSadtUnNumbers(correlationId);\n commit(\"setSadtUnNumbers\", sadtUnNumbers);\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: Vue.prototype.$t(\"od3cp.service.imdgAmendments.errorMsg\"),\n page: constants.errorPage.od3cp,\n source: constants.errorSource.sadtUnNumbers,\n statusCode: error?.status,\n showError: true,\n prefersMessage: false\n },\n { root: true }\n );\n }\n },\n /**\n * This action makes an API call to get the packing types\n * In case of failure, fallback data from generic utils will be used as packing types\n * @param {*} commit\n * */\n async getPackagingTypes({ commit }) {\n try {\n const packingTypeResponse = await fetchPackagingTypes();\n commit(\"setPackingTypes\", packingTypeResponse);\n } catch (e) {\n commit(\"setPackingTypes\", fallbackPackingTypeResponse);\n }\n },\n /**\n * If more than one container count then dg setting should default for all containers\n * @param {*} commit\n * @param {*} rootGetters\n * @param {*} state\n * @param {*} newContainerSelect\n * @param {*} oldContainerSelect\n */\n updateDgDataOnContainerSelect({ commit, dispatch, rootGetters, state }, { newContainerSelect, oldContainerSelect }) {\n if (!rootGetters[\"OD3CP/isDangerous\"]) {\n commit(\"clearSameDangerousDetailsForAll\");\n return;\n }\n newContainerSelect.forEach((_, typeIndex) => {\n const containerNew = newContainerSelect[typeIndex],\n containerOld = oldContainerSelect[typeIndex];\n dispatch(\"updateSameDg\", {\n containerNew,\n containerOld,\n typeIndex\n });\n dispatch(\"addRemoveDgSettings\", {\n containerNew,\n containerOld,\n typeIndex\n });\n dispatch(\"updateContainerTypeName\", {\n containerNew,\n containerOld,\n typeIndex\n });\n });\n\n // Get all the container typeIndex's for which there are saved dg settings\n const dgTypeIndexes = [...new Set(state.dgContainers.map(containers => containers.typeIndex))];\n dgTypeIndexes.forEach(typeIndex => {\n if (!newContainerSelect[typeIndex]?.quantity) {\n dispatch(\"resetDgStateByType\", {\n typeIndex\n });\n }\n });\n },\n /**\n * @description Reset / clear dg state's for the irrelevant container type\n * @param {number} typeIndex\n * @param {boolean} isContainerDeleted\n */\n resetDgStateByType({ commit, state }, { typeIndex, isContainerDeleted = false }) {\n let updatedSettings = filterContainerSettingsOtherThanType(deepClone(state.dgContainers), typeIndex);\n if (isContainerDeleted) {\n // Readjust the typeIndex's of dg container settings to match the one remaining of contaier select's\n updatedSettings = updatedSettings.map(container => {\n if (container.typeIndex > typeIndex) container.typeIndex--;\n return container;\n });\n // Readjust the same settings for container types to point to the correct container select's\n const updatedSameSettings = state.sameDangerousDetailsAllContainers.map((type, index, sameArray) => {\n if (typeIndex <= index) return sameArray[index + 1] ?? false;\n return type;\n });\n commit(\"updateCompleteSameDgSettings\", updatedSameSettings);\n commit(\"setDGContainers\", updatedSettings);\n return;\n }\n commit(\"setDGContainers\", updatedSettings);\n commit(\"setSameDgDetailsForAllByType\", { value: false, typeIndex });\n },\n updateSameDg({ commit, getters }, { containerNew, containerOld, typeIndex }) {\n if (getters.shouldStopDgCardsReduction(typeIndex, containerNew?.quantity)) return;\n let value = null;\n if (containerNew?.quantity > 1 && !containerOld?.quantity) value = true;\n if (containerNew?.quantity > 1 && containerOld?.quantity <= 1) value = true;\n if (containerNew?.quantity <= 1 && containerOld?.quantity > 1) value = false;\n if (typeof value !== \"boolean\") return false;\n commit(\"setSameDgDetailsForAllByType\", { value, typeIndex });\n },\n addRemoveDgSettings({ dispatch, getters, rootGetters }, { containerNew, containerOld, typeIndex }) {\n if (getters.shouldStopDgCardsReduction(typeIndex, containerNew?.quantity)) return;\n if (containerNew?.quantity === containerOld?.quantity) return false;\n if (!containerOld || containerNew?.quantity > containerOld?.quantity) {\n const addedQuantity = containerNew?.quantity - (containerOld?.quantity ?? 0);\n dispatch(\"addSettingsByQuantity\", {\n quantity: addedQuantity,\n typeIndex: typeIndex,\n typeName: containerNew?.containerType?.sizeTypeDisplayName\n });\n return;\n }\n if (rootGetters[\"OD3CP/canRetainContainerSettings\"](typeIndex)) return;\n const isSettingRemovalRequired =\n !getters.getIsSameSettingsForDgContainerType(typeIndex) &&\n !(containerNew.quantity === 1 && getters.getDgContainerSettingsByType(typeIndex).length === 1);\n if (isSettingRemovalRequired) {\n const removedQuantity = containerOld?.quantity - containerNew.quantity;\n dispatch(\"removeContainer\", { typeIndex, ...(containerNew.quantity && { quantity: removedQuantity }) });\n }\n },\n addSettingsByQuantity({ commit, state, getters }, { quantity, typeIndex, typeName }) {\n const currentContainerSetting = getters.getDgContainerSettingsByType(typeIndex);\n // If use same is checked and quantity is incremented\n if (currentContainerSetting.length > 0 && state.sameDangerousDetailsAllContainers[typeIndex]) {\n return;\n }\n const filteredOtherTypeSettings = filterContainerSettingsOtherThanType(state.dgContainers, typeIndex);\n const newSetting = Array.from(\n { length: state.sameDangerousDetailsAllContainers[typeIndex] ? 1 : quantity },\n (_, index) => generateContainerSetting(currentContainerSetting.length + index, typeIndex, typeName)\n );\n const updateSettings = [...filteredOtherTypeSettings, ...currentContainerSetting, ...newSetting];\n commit(\"setDGContainers\", updateSettings);\n },\n updateSameToDifferentSettings({ commit, state, getters }, { quantity, typeIndex, typeName }) {\n const currentContainerSetting = getters.getDgContainerSettingsByType(typeIndex);\n if (!currentContainerSetting.length) {\n return;\n }\n const updateSettings = [\n ...filterContainerSettingsOtherThanType(deepClone(state.dgContainers), typeIndex),\n ...Array.from({ length: quantity }, (_, index) =>\n generateContainerSetting(index, typeIndex, typeName, currentContainerSetting[0].settings)\n )\n ];\n commit(\"setDGContainers\", updateSettings);\n },\n updateDifferentToSameSelectedSettings({ commit, state, getters }, { selectedIndex, typeIndex, typeName }) {\n const currentSettingByTypeAndIndex = getters\n .getDgContainerSettingsByType(typeIndex)\n .filter(item => item.index === selectedIndex);\n const updateSettings = [\n ...filterContainerSettingsOtherThanType(deepClone(state.dgContainers), typeIndex),\n generateContainerSetting(0, typeIndex, typeName, currentSettingByTypeAndIndex[0].settings)\n ];\n commit(\"setDGContainers\", updateSettings);\n },\n removeContainer({ commit, getters, state }, { typeIndex, quantity }) {\n const filteredSettings = filterContainerSettingsOtherThanType(state.dgContainers, typeIndex);\n const updateSettings = !quantity\n ? filteredSettings\n : [...filteredSettings, ...getters.getDgContainerSettingsByType(typeIndex).slice(0, -quantity)];\n commit(\"setDGContainers\", updateSettings);\n },\n resetDGContainerSettingForEachType({ commit, getters, rootGetters }) {\n const initialSetting = [];\n rootGetters[\"OD3CP/getContainerSelect\"].forEach((container, index) => {\n initialSetting.push(generateContainerSetting(0, index, container.containerType?.sizeTypeDisplayName));\n });\n commit(\"setDGContainers\", initialSetting);\n },\n checkAndSetSameDangerousDetailsForAllTypes({ commit, rootGetters }) {\n rootGetters[\"OD3CP/getContainerSelect\"].forEach((container, index) => {\n if (container?.quantity > 1) {\n commit(\"setSameDgDetailsForAllByType\", { value: true, typeIndex: index });\n }\n });\n },\n updateContainerTypeName({ commit, getters, state }, { containerNew, containerOld, typeIndex }) {\n const filteredOtherTypeSettings = filterContainerSettingsOtherThanType(state.dgContainers, typeIndex);\n let currentContainerSetting = JSON.parse(JSON.stringify(getters.getDgContainerSettingsByType(typeIndex)));\n if ((containerNew.containerType && !containerOld.containerType) || !containerNew.containerType) {\n currentContainerSetting.forEach(item => {\n item.typeName = containerNew.containerType?.sizeTypeDisplayName;\n });\n const updateSettings = [...filteredOtherTypeSettings, ...currentContainerSetting];\n commit(\"setDGContainers\", updateSettings);\n }\n },\n /**\n @description This action removes specific container(s) DG cards\n * @param {*} commit\n * @param {*} getters\n * @param {*} state\n * @param {Number} typeIndex\n * @param {Array[Number]} containerInstances\n */\n removeContainerInstanceSettings({ commit, getters, state }, { typeIndex, containerInstances = [] }) {\n if (!Array.isArray(containerInstances) || !containerInstances?.length) return;\n const filteredOtherTypeSettings = filterContainerSettingsOtherThanType(state.dgContainers, typeIndex);\n const updateSettings = [\n ...filteredOtherTypeSettings,\n ...getters\n .getDgContainerSettingsByType(typeIndex)\n .filter((_, index) => !containerInstances.includes(index))\n .map((setting, index) => ({ ...setting, index }))\n ];\n commit(\"setDGContainers\", updateSettings);\n },\n /**\n * @description Set empty DG containers in store when there is expired IMDG for amend / duplicate bookings\n * @param {Function} commit\n * @param {Object} getters\n * @param {Object} state\n * @param {Object} bookingData\n */\n updateDgSettingsExpiredImdg({ commit, state }, bookingData) {\n const containerDetails = bookingData?.equipmentAndHaulage?.containerDetails;\n if (!Array.isArray(containerDetails)) return;\n // Populate empty dg settings\n commit(\n \"setDGContainers\",\n containerDetails.map((container, typeIndex) => ({\n index: 0,\n typeIndex,\n settings: [],\n typeName: constants.isoCodeSizeTypeMapping[container.isoCode]\n }))\n );\n // Populate same settings state based on the quantity for each of the container types\n commit(\n \"updateCompleteSameDgSettings\",\n state.sameDangerousDetailsAllContainers.map((_, i) => Number(containerDetails?.[i]?.quantity) > 1)\n );\n },\n /**\n * @description Set the dg state when there is dg details missing / expired imdg in retrieval response\n * @param {Function} dispatch\n * @param {Object} rootGetters\n * @param {Object} state\n */\n updateDgSettingsNoDgInBr({ state, dispatch, rootGetters }) {\n if (!rootGetters[\"OD3CP/isDangerousInPopulatedBookingData\"]) return;\n const bookingData = rootGetters[\"OD3CP/getBookingDataFromBookingRequest\"];\n\n if (\n state.expiredAmendmentSsp ||\n (rootGetters[\"OD3CP/bookingType\"] === constants.bookingType.duplicate &&\n !bookingData?.equipmentAndHaulage?.dangerousDetails)\n ) {\n dispatch(\"updateDgSettingsExpiredImdg\", bookingData);\n }\n }\n};\n","import Vue from \"vue\";\nimport {\n filterClassificationsByCurrentSettings,\n filterUnNumbersByCurrentSettings,\n getCurrentAmendmentByDgSettings\n} from \"@/lib/dangerousGoods/dgUtilities\";\nimport { clearState } from \"@/common/utils/generic/stateManagement\";\nimport { fetchPristineSettings, packingStructure } from \"./helper\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\nconst initialDGContainerSettings = { index: 0, typeIndex: 0, typeName: null, settings: [] };\nexport default {\n // IMO details\n setAmendment(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"amendment\", value);\n },\n setClassification(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"classification\", value);\n },\n setUNNumber(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"unNumber\", value);\n },\n setDisplayUNNumber(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"displayUNNumber\", value);\n },\n setNANumber(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"naNumber\", value);\n },\n setShippingName(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"shippingName\", value);\n },\n setTechnicalName(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"technicalName\", value);\n },\n setSubrisk1(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"subrisk1\", value);\n },\n setSubrisk2(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"subrisk2\", value);\n },\n setMarinePollutant(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"marinePollutant\", value);\n },\n setEmergencyCode1(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"emergencyCode1\", value);\n },\n setEmergencyCode2(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"emergencyCode2\", value);\n },\n setSegregation(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"segregation\", value);\n },\n setAdditionalSegregation(state, value) {\n Vue.set(\n state.currentSettings.imoDetails,\n \"additionalSegregation\",\n state.currentSettings.imoDetails.additionalSegregation.concat(value)\n );\n },\n removeAdditionalSegregation(state, index) {\n state.currentSettings.imoDetails.additionalSegregation.splice(index, 1);\n Vue.set(\n state.currentSettings.imoDetails,\n \"additionalSegregation\",\n state.currentSettings.imoDetails.additionalSegregation\n );\n },\n clearAdditionalSegregation(state) {\n Vue.set(state.currentSettings.imoDetails, \"additionalSegregation\", []);\n },\n clearOriginalAdditionalSegregation(state) {\n Vue.set(state.currentSettings.imoDetails, \"originalAdditionalSegregation\", []);\n },\n setDangerousDetailsModal(state, value) {\n Vue.set(state, \"showDangerousDetailsModal\", value);\n },\n setDangerousDetailsModalReview(state, value) {\n Vue.set(state, \"showDangerousDetailsModalReview\", value);\n },\n setDisplayShippingName(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"displayShippingName\", value);\n },\n setVariant(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"variant\", value);\n },\n setVariation(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"variation\", value);\n },\n setSuffix(state, value) {\n Vue.set(state.currentSettings.imoDetails, \"suffix\", value);\n },\n // Packing information\n setOuterPackingType(state, value) {\n Vue.set(state.currentSettings.packingInformation, \"outerPackingType\", value);\n },\n setOuterPackingTypeQuantity(state, value) {\n Vue.set(state.currentSettings.packingInformation, \"outerPackingTypeQuantity\", value);\n },\n setInnerPackingType(state, value) {\n Vue.set(state.currentSettings.packingInformation, \"innerPackingType\", value);\n },\n setInnerPackingTypeQuantity(state, value) {\n Vue.set(state.currentSettings.packingInformation, \"innerPackingTypeQuantity\", value);\n },\n setPackingGroup(state, value) {\n Vue.set(state.currentSettings.packingInformation, \"packingGroup\", value);\n },\n setPackingGroupType(state, value) {\n Vue.set(state.currentSettings.packingInformation, \"packingGroupQuantity\", value);\n },\n // Weights and measures\n setGrossWeight(state, value) {\n Vue.set(state.currentSettings.weightsMeasuresInformation, \"grossWeight\", value);\n },\n setNetWeight(state, value) {\n Vue.set(state.currentSettings.weightsMeasuresInformation, \"netWeight\", value);\n },\n setNetExplosiveContent(state, value) {\n Vue.set(state.currentSettings.weightsMeasuresInformation, \"netExplosiveContent\", value);\n },\n setVolume(state, value) {\n Vue.set(state.currentSettings.weightsMeasuresInformation, \"volume\", value);\n },\n // Additional information\n setflashPoint(state, value) {\n Vue.set(state.currentSettings.additionalInformation, \"flashPoint\", value);\n },\n setSADT(state, value) {\n Vue.set(state.currentSettings.additionalInformation, \"sadt\", value);\n },\n setControlTemperature(state, value) {\n Vue.set(state.currentSettings.additionalInformation, \"controlTemperature\", value);\n },\n setEmergencyTemperature(state, value) {\n Vue.set(state.currentSettings.additionalInformation, \"emergencyTemperature\", value);\n },\n setEmergencyContact(state, value) {\n Vue.set(state.currentSettings.additionalInformation, \"emergencyContact\", value);\n },\n setCountryCode(state, value) {\n Vue.set(state.currentSettings.additionalInformation, \"countryCode\", value);\n },\n setContactNumber(state, value) {\n Vue.set(state.currentSettings.additionalInformation, \"contactNumber\", value);\n },\n /**\n * This mutation clears the current setting when the user click reset inside the modal or closes the modal after save\n * @param {*} state\n */\n clearDangerousGoodsState(state) {\n clearState(state.currentSettings);\n },\n /**\n * This mutation will be called on edit of existing event and when the user clicks save inside the modal\n * @param {*} state\n */\n updateDGContainerSettings(state) {\n const { containerSettingIndex, containerIndex, settingIndex, isEdit, ...settingsData } = state.currentSettings;\n const dgContainer = state.dgContainers[containerSettingIndex];\n const tempSetting = JSON.parse(JSON.stringify(dgContainer.settings));\n tempSetting[state.currentSettings.settingIndex] = settingsData;\n Vue.set(dgContainer, \"settings\", tempSetting);\n },\n /**\n * This mutation will be called on add new setting event and when the user clicks save inside the modal\n * @param {*} state\n */\n saveDGContainerSettings(state) {\n const { containerSettingIndex, settingIndex, isEdit, containerIndex, ...settingsData } = state.currentSettings;\n //TODO: remove containerIndex from all instance's of current settings as it is obsolete\n const dgContainer = state.dgContainers[containerSettingIndex];\n const tempSetting = JSON.parse(JSON.stringify(dgContainer.settings));\n tempSetting.push(settingsData);\n Vue.set(dgContainer, \"settings\", tempSetting);\n },\n /**\n * This mutation will be called to populate the modal and copy from permanent state to current state\n * @param {*} state\n * @param {*} payload\n */\n populateCurrentSettings(state, { containerSettingIndex, settingIndex }) {\n state.currentSettings = JSON.parse(\n JSON.stringify(state.dgContainers[containerSettingIndex].settings[settingIndex])\n );\n /*\n * If additional segregation (selected) options contains None option along with other options,\n * remove None option keeping the others as is in the pre-selected options.\n * */\n if (!!state?.currentSettings?.imoDetails?.additionalSegregation) {\n state.currentSettings.imoDetails.additionalSegregation = state.currentSettings.imoDetails.additionalSegregation.filter(\n segOption =>\n !(\n Number(segOption.instanceId) === constants.dangerousSettings.imoDetails.noneInstanceId &&\n state?.currentSettings?.imoDetails?.additionalSegregation?.length > 1\n )\n );\n }\n state.currentSettings.containerSettingIndex = containerSettingIndex;\n state.currentSettings.settingIndex = settingIndex;\n state.currentSettings.isEdit = true;\n },\n /**\n * This mutation will be called to remove an exisiting setting in delete event\n * @param {*} state\n * @param {*} payload\n */\n removeDGContainerSettings(state, { containerSettingIndex, settingIndex }) {\n const dgContainer = state.dgContainers[containerSettingIndex];\n const tempSetting = JSON.parse(JSON.stringify(dgContainer.settings));\n tempSetting.splice(settingIndex, 1);\n Vue.set(dgContainer, \"settings\", tempSetting);\n },\n /**\n * This will be called from od3cp page when user clicks add new settings for a container. This initializes current settings.\n * @param {*} state\n * @param {*} payload\n */\n addDGContainerSettings(state, containerSettingIndex) {\n const settingIndex = state.dgContainers[containerSettingIndex].settings.length;\n const imoDetails = state.currentSettings.imoDetails;\n state.currentSettings = { ...fetchPristineSettings(), imoDetails, containerSettingIndex, settingIndex };\n },\n /**\n * This will be called to add a dg container when container count changes and if relavant container not found in dg store.\n * @param {*} state\n * @param {*} payload\n */\n addDgContainer(state, { containerIndex, settingObject }) {\n Vue.set(state.dgContainers, containerIndex, settingObject);\n },\n /**\n * Update container type name for all DG containers\n * @param {*} state\n * @param {Number} index\n * @param {Stromg} typeName\n */\n updateDgContainersTypeName(state, { index, typeName }) {\n state.dgContainers.map(c => (c.typeName = c.typeIndex === index ? typeName : c.typeName));\n },\n /**\n * Update container index for all DG containers\n * @param {*} state\n */\n updateDgContainersIndex(state) {\n state.dgContainers = state.dgContainers.map((c, i) => {\n return {\n ...c,\n index: i\n };\n });\n },\n /**\n * Remove associated DG containers to last removed container type\n * @param {*} state\n * @param {Array} newContainers\n * @param {Array} containerTypes\n */\n removeDgContainersFromRemovedContainerType(state, { newContainers, containerTypes }) {\n const containerTypeCount = Math.max(...state.dgContainers.map(c => c.typeIndex)) + 1;\n if (containerTypeCount <= newContainers.length) return;\n\n const typeIndex = state.dgContainers.find(container => !containerTypes.includes(container.typeName)).typeIndex;\n state.dgContainers = state.dgContainers.filter(c => c.typeIndex !== typeIndex);\n state.dgContainers.forEach(c => (c.typeIndex = c.typeIndex > typeIndex ? c.typeIndex - 1 : c.typeIndex));\n },\n /**\n * Insert new DG containers when container type quantity has been increased\n * @param {*} state\n * @param {Number} currentQuantity\n * @param {Number} finalQuantity\n * @param {String} typeName\n * @param {Number} index\n */\n insertDgContainers(state, { currentQuantity, finalQuantity, typeName, index }) {\n const containerToAdd = {\n index: 0,\n typeIndex: index,\n typeName: typeName,\n settings: []\n };\n let lastIndex = state.dgContainers.map(c => c.typeIndex === index).lastIndexOf(true);\n lastIndex = lastIndex === -1 ? state.dgContainers.length : lastIndex + 1;\n\n while (currentQuantity < finalQuantity) {\n state.dgContainers.splice(lastIndex, 0, containerToAdd);\n currentQuantity++;\n lastIndex++;\n }\n },\n /**\n * Remove DG containers when container type quantity has been decreased\n * @param {*} state\n * @param {Number} currentQuantity\n * @param {Number} finalQuantity\n * @param {Number} index\n */\n removeDgContainers(state, { currentQuantity, finalQuantity, index }) {\n const firstContainerIndex = state.dgContainers.map(c => c.typeIndex === index).indexOf(true);\n state.dgContainers.splice(firstContainerIndex + finalQuantity, currentQuantity - finalQuantity);\n },\n /**\n * This mutation will be called from od3cp when container quantity is reduced\n * @param {*} state\n * @param {number} number\n */\n removeLastDgContainers(state, number) {\n state.dgContainers = state.dgContainers.slice(0, -number);\n },\n setReviewSettingContainerIndex(state, index) {\n Vue.set(state.reviewSetting, \"containerIndex\", index);\n },\n setReviewSettingSettingIndex(state, index) {\n Vue.set(state.reviewSetting, \"settingIndex\", index);\n },\n setImdgAmendmentsResponse(state, value) {\n state.imdgAmendmentsResponse = value;\n },\n setImdgAmendmentsLoadingStatus(state, value) {\n state.isImdgAmendmentsLoading = value;\n },\n setUnNumberListLoadingStatus(state, value) {\n state.isUnNumberListLoading = value;\n },\n setUnNumberLoadingStatus(state, value) {\n state.isUnNumberLoading = value;\n },\n setFilteredClassifications(state, classifications) {\n state.filteredClassifications = classifications;\n },\n setFilteredUnNumbers(state, unNumbers) {\n state.filteredUnNumbers = unNumbers;\n },\n setUnNumbersResponse(state, value) {\n state.unNumberResponse = value?.error ? [] : value;\n },\n setFilteredShippingName(state, value) {\n state.filteredShippingName = value;\n },\n setFilteredPackingGroups(state, value) {\n state.filteredPackingGroups = value;\n },\n /**\n * This will be called when user clicks and confirms reset / discard action inside dg side panel\n * @param {*} state\n */\n resetCurrrentSettings(state, { isReset }) {\n const { containerSettingIndex, settingIndex, isEdit } = state.currentSettings;\n state.currentSettings = isReset\n ? { ...fetchPristineSettings(), containerSettingIndex, settingIndex, ...(isEdit && { isEdit }) }\n : fetchPristineSettings();\n\n // Once user saves the first ever setting, the same setting's amendment version will apply for all the container settings\n state.currentSettings.imoDetails.amendment = getCurrentAmendmentByDgSettings(\n false,\n state.dgContainers,\n [],\n state.imdgAmendmentsResponse\n );\n state.filteredClassifications = state.classifications;\n const unnos = filterUnNumbersByCurrentSettings(\n state.imdgAmendmentsResponse,\n state.currentSettings.imoDetails.amendment,\n state.currentSettings.imoDetails.classification,\n state.currentSettings.imoDetails.naNumber\n );\n state.filteredUnNumbers = unnos.slice(0, 10);\n state.filteredShippingName = [];\n state.filteredTechnicalNameList = [];\n },\n updateImdgAmendmentsResponse(state, { unNumbers, amendmentId }) {\n state.imdgAmendmentsResponse.find(a => a.amendmentId === amendmentId).substances = unNumbers;\n },\n updateClassifications(state, updateClass) {\n const amendment = state.currentSettings.imoDetails.amendment;\n const unNumber = state.currentSettings.imoDetails.unNumber;\n const naNumber = state.currentSettings.imoDetails.naNumber;\n let filteredClassifications = filterClassificationsByCurrentSettings(\n state.imdgAmendmentsResponse,\n amendment,\n unNumber,\n naNumber\n );\n state.filteredClassifications = filteredClassifications;\n if (!unNumber) state.classifications = filteredClassifications;\n if (filteredClassifications.length === 1 && updateClass)\n state.currentSettings.imoDetails.classification = filteredClassifications[0].label;\n },\n updateUnNumbers(state, { unNumber, updateUnNumber }) {\n const amendment = state.currentSettings.imoDetails.amendment;\n const classification = state.currentSettings.imoDetails.classification;\n const unno =\n unNumber === null || !unNumber ? null : typeof unNumber === \"object\" ? unNumber.value : unNumber.toUpperCase();\n const naNumber = state.currentSettings.imoDetails.naNumber;\n let unnos = filterUnNumbersByCurrentSettings(state.imdgAmendmentsResponse, amendment, classification, naNumber);\n if (classification === null || classification === undefined) state.unNumbers = unnos;\n if (unno !== null) unnos = unnos.filter(u => u.label.indexOf(unno) >= 0);\n state.filteredUnNumbers = unnos.slice(0, 10);\n if (unnos.length === 1 && updateUnNumber) {\n state.currentSettings.imoDetails.unNumber = unnos[0].value;\n state.currentSettings.imoDetails.displayUNNumber = unnos[0].label;\n }\n },\n setTechnicalNameLoadingStatus(state, value) {\n state.technicalNameLoadingStatus = value;\n },\n setFilteredTechnicalNameList(state) {\n const unNumber = state.currentSettings.imoDetails.unNumber;\n const naNumber = state.currentSettings.imoDetails.naNumber;\n const variant = state.currentSettings.imoDetails.variant;\n const displayShippingName = state.currentSettings.imoDetails.displayShippingName;\n let techNameList = [];\n const filteredTechnicalName = state.controlEmergencyTemperatures?.filter(\n p => p.unNo === unNumber && (p.variant === variant || (!variant && (p.variant?.trim() === \"\" || !p.variant)))\n );\n if (!naNumber) {\n techNameList = (filteredTechnicalName || []).map(item => ({\n label: item.technicalName,\n value: item.technicalName\n }));\n }\n\n if (displayShippingName && techNameList.length === 1) {\n Vue.set(state.currentSettings.imoDetails, \"technicalName\", techNameList[0].value);\n }\n state.filteredTechnicalNameList = techNameList;\n },\n setSegregationGroups(state, payload) {\n state.segregationGroups = payload;\n },\n setDgSettingRequiredError(state, value) {\n state.enabledgSettingRequiredError = value;\n },\n setAdditionalSegregationOptions(state, payload) {\n state.additionalSegregationOptions = payload;\n },\n /**\n * This mutation will be called in duplicate booking to reset dg details,\n * when an expired IMDG amendment version was used in the original booking.\n * @param {*} state\n */\n resetExpiredDgResponses(state) {\n state.imdgAmendmentsResponse = [];\n state.classifications = [];\n state.unNumbers = [];\n state.filteredUnNumbers = [];\n state.filteredClassifications = [];\n state.unNumberResponse = [];\n state.filteredShippingName = [];\n state.controlEmergencyTemperatures = [];\n state.filteredTechnicalNameList = [];\n state.segregationGroups = [];\n state.additionalSegregationOptions = [];\n state.filteredPackingGroups = [];\n // Erase the settings inside each dg containers, but keep the container count as it is\n state.dgContainers = state.dgContainers.map(container => {\n container.settings = [];\n return container;\n });\n },\n setSadtUnNumbers(state, sadtUnNumbers) {\n state.sadtUnNumbers = sadtUnNumbers;\n },\n setControlEmergencyTemperatures(state, controlEmergencyTemperatures) {\n state.controlEmergencyTemperatures = controlEmergencyTemperatures;\n },\n setPackingTypes(state, packingType) {\n state.packingType = packingType;\n },\n setDisplayOuterPackingType(state, value) {\n Vue.set(state.currentSettings.packingInformation, \"displayOuterPacking\", value);\n },\n setOuterPackingInstanceId(state, value) {\n Vue.set(state.currentSettings.packingInformation, \"selectedOuterPackingInstanceId\", value);\n },\n setDisplayInnerPackingType(state, value) {\n Vue.set(state.currentSettings.packingInformation, \"displayInnerPacking\", value);\n },\n setInnerPackingInstanceId(state, value) {\n Vue.set(state.currentSettings.packingInformation, \"selectedInnerPackingInstanceId\", value);\n },\n setDGContainers(state, value) {\n state.dgContainers = value;\n },\n resetDGContainersSettings(state) {\n state.dgContainers = [{ ...initialDGContainerSettings }];\n },\n setOuterPacking(state, { id, type, code }) {\n state.currentSettings.packingInformation.outerPacking.id = id;\n state.currentSettings.packingInformation.outerPacking.type = type;\n state.currentSettings.packingInformation.outerPacking.code = code;\n },\n setInnerPacking(state, { index, id, type, code }) {\n state.currentSettings.packingInformation.innerPackings[index].id = id;\n state.currentSettings.packingInformation.innerPackings[index].type = type;\n state.currentSettings.packingInformation.innerPackings[index].code = code;\n },\n setOuterPackingQuantity(state, qty) {\n state.currentSettings.packingInformation.outerPacking.quantity = qty;\n },\n setInnerPackingQuantity(state, { index, qty }) {\n state.currentSettings.packingInformation.innerPackings[index].quantity = qty;\n },\n addAdditionalInnerPacking(state) {\n state.currentSettings.packingInformation.innerPackings.push({ ...packingStructure });\n },\n removeAdditionalInnerPacking(state, packingLevelIndex) {\n // Clearing level3 packing should remove level3, Clearing level2 should remove level2 and level3 packing\n state.currentSettings.packingInformation.innerPackings.splice(1, packingLevelIndex < 2 ? 2 : 1);\n },\n resetInnerPackingLevel1(state) {\n // Clearing level1 should reset level1 packing to default state and remove other inner packings\n state.currentSettings.packingInformation.innerPackings.splice(\n 0,\n state.currentSettings.packingInformation.innerPackings.length,\n { ...packingStructure }\n );\n },\n updateInnerPackingsQuantity(state, quantity) {\n state.currentSettings.packingInformation.innerPackings = state.currentSettings.packingInformation.innerPackings.map(\n packing => {\n // only update those which have quantity lesser than outerPacking quantity\n if (packing.type && packing.quantity < quantity) {\n packing.quantity = quantity;\n }\n return packing;\n }\n );\n },\n setExpiredAmendmentSsp(state, value) {\n state.expiredAmendmentSsp = value;\n },\n\n updateCompleteSameDgSettings(state, settings) {\n state.sameDangerousDetailsAllContainers = settings;\n },\n clearSameDangerousDetailsForAll(state) {\n state.sameDangerousDetailsAllContainers = Array.from({ length: constants.maximumNumberOfContainers }, () => false);\n },\n setSameDgDetailsForAllByType(state, { value, typeIndex }) {\n Vue.set(state.sameDangerousDetailsAllContainers, typeIndex, value);\n }\n};\n","import { dangerousSettingsContainers } from \"@/common/utils/labels/dangerousGoodsLabels\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\nexport default {\n /**\n * Check the container quantity selected by user, and return true if it is greater than 1\n * @param {*} state\n * @param {*} getters\n * @param {*} rootState\n * @param {*} rootGetters\n */\n showSameDgDetailsCheckbox(state, getters, rootState, rootGetters) {\n const isCommodityDangerous = rootGetters[\"OD3CP/isDangerous\"],\n containerCount = rootGetters[\"OD3CP/getNumberOfContainers\"];\n return isCommodityDangerous && containerCount > 1;\n },\n /**\n * Return the array of DG containers\n * @param {*} state\n */\n getDgContainers(state) {\n return state.dgContainers;\n },\n /**\n * Check the container quantity selected by user, and returns the same\n * @param {*} state\n * @param {*} getters\n * @param {*} rootState\n * @param {*} rootGetters\n */\n getDgContainersCount(state, getters, rootState, rootGetters) {\n return rootGetters[\"OD3CP/getNumberOfContainers\"];\n },\n /**\n * Check the container type selected by user, and returns the same\n * @param {*} state\n * @param {*} getters\n * @param {*} rootState\n */\n getDgContainerType(state, getters, rootState) {\n const containerType = rootState.OD3CP.od3cpFormData?.containerSelect?.[0]?.containerType?.sizeTypeDisplayName;\n return containerType ? containerType : null;\n },\n /**\n * Check if all dangerous details are same and return the same\n * @param {*} state\n * @param {*} getters\n * @param {*} rootState\n * @param {*} rootGetters\n */\n getIsCombineDangerousDetails(state, getters, rootState, rootGetters) {\n const containerCount = rootGetters[\"OD3CP/getNumberOfContainers\"];\n return state.sameDangerousDetailsAllContainers && containerCount > 1;\n },\n /**\n * Return if common DG container is in used\n * @param {*} state\n */\n getSameDangerousDetailsAllContainers(state) {\n return state.sameDangerousDetailsAllContainers;\n },\n\n getSameDangerousDetailsCount(state, getters, rootState, rootGetters) {\n const containerCount = rootGetters[\"OD3CP/getNumberOfContainers\"];\n return state.sameDangerousDetailsAllContainers ? containerCount : 1;\n },\n getCurrentSettings(state) {\n return state.currentSettings;\n },\n isNetExplosiveMandatory(state) {\n return [\n state.currentSettings.imoDetails.classification,\n state.currentSettings.imoDetails.subrisk1,\n state.currentSettings.imoDetails.subrisk2\n ].some(item => (item || \"\").toString().startsWith(1));\n },\n isSettingsCountIsMax(state, getters) {\n return (\n state.dgContainers.find(container => container.name === getters.getCurrentSettings?.containerName)?.settings\n ?.length >= dangerousSettingsContainers.maxContainerSettingLimit\n );\n },\n isAmendmentDisabled(state) {\n return state.dgContainers.some(c => c.settings.length > 0);\n },\n getActiveAmendment(state) {\n const amendment = state.currentSettings.imoDetails.amendment;\n const naNumber = state.currentSettings.imoDetails.naNumber;\n return state.imdgAmendmentsResponse.find(a =>\n !naNumber ? a.versionName === amendment : a.type === constants.imdgAmendmentTypes.cfr && a.isDefault\n );\n },\n getAmendmentId(state, getters) {\n return getters.getActiveAmendment?.amendmentId;\n },\n getSimplifiedAmendmentId(state, getters) {\n return getters.getActiveAmendment.simpleId;\n },\n getImdgAmendments(state) {\n return state.imdgAmendmentsResponse\n ?.filter(i => i.type === constants.imdgAmendmentTypes.imdg)\n .map(a => {\n return {\n label: a.versionName,\n value: a.amendmentId\n };\n });\n },\n getImdgAmendmentsResponse(state) {\n return state.imdgAmendmentsResponse;\n },\n getImdgAmendmentsLoadingStatus(state) {\n return state.isImdgAmendmentsLoading;\n },\n getUnNumberListLoadingStatus(state) {\n return state.isUnNumberListLoading;\n },\n getUnNumberLoadingStatus(state) {\n return state.isUnNumberLoading;\n },\n getFilteredClassifications(state) {\n return state.filteredClassifications;\n },\n getFilteredUnNumbers(state) {\n return state.filteredUnNumbers;\n },\n getActiveUnNumbers(state, getters) {\n return getters.getActiveAmendment.substances;\n },\n getAdditionalSegregation(state) {\n return state.currentSettings.imoDetails.additionalSegregation;\n },\n getOriginalAdditionalSegregationOptions(state) {\n return state.currentSettings.imoDetails.originalAdditionalSegregation;\n },\n getFilteredShippingName(state) {\n return state.filteredShippingName;\n },\n getUnNumberResponse(state) {\n return state.unNumberResponse;\n },\n /**\n * @description Check if current UN Number data matches with current UN Number\n * @param {object} state\n * @param {object} getters\n * @returns {boolean}\n */\n isUnNumberDataUpdated(state, getters) {\n return state.unNumberResponse?.some(\n un => un.unNo === getters.getCurrentSettings?.imoDetails?.unNumber && un.amendmentId === getters.getAmendmentId\n );\n },\n isTechnicalNameRequired(state) {\n return !!(\n state.filteredShippingName &&\n state.filteredShippingName.find(p => p.label === state.currentSettings.imoDetails.displayShippingName)\n ?.techNameRequiredStatus\n );\n },\n isAdditionalSegregationRequired(state) {\n return !!(\n state.filteredShippingName &&\n state.filteredShippingName.find(p => p.label === state.currentSettings.imoDetails.displayShippingName)\n ?.additionalSegregationRequiredStatus\n );\n },\n isTechicalNameFieldTypeText(state) {\n return !!(\n state.currentSettings.imoDetails.naNumber ||\n (state.filteredTechnicalNameList && state.filteredTechnicalNameList.length === 0)\n );\n },\n getTechnicalNameLoadingStatus(state) {\n return state.technicalNameLoadingStatus;\n },\n getFilteredTechnicalNameList(state) {\n return state.filteredTechnicalNameList;\n },\n /**\n * Get the data from imdg response, based on selected PSN\n * @param {*} state\n */\n getPrepopulationData(state) {\n if (!state.currentSettings.imoDetails.shippingName) {\n return null;\n }\n return state.unNumberResponse.find(obj => obj.psn === state.currentSettings.imoDetails.shippingName);\n },\n /**\n * Get the commodity packing groups from unNumberResponse, based on selected PSN\n * @param {*} state\n */\n getFilteredPackingGroups(state) {\n return state.filteredPackingGroups;\n },\n isSegregationGroupsAvailable(state) {\n return state.segregationGroups.length;\n },\n isDgContainerSettingNotAddedForAnyContainer(state) {\n return !state.dgContainers.length || state.dgContainers.some(container => !container.settings.length);\n },\n getDgSettingRequiredError(state) {\n return state.enabledgSettingRequiredError;\n },\n /**\n * Get the activeUNObject from unNumberResponse, based on selected PSN and variation combination\n * @param {*} state\n * @param {*} getters\n */\n getActiveUNObject(state, getters) {\n return state.unNumberResponse?.find?.(\n unObj =>\n unObj?.psn === getters.getCurrentSettings?.imoDetails?.shippingName &&\n unObj?.variation === getters.getCurrentSettings?.imoDetails?.variation\n );\n },\n getAdditionalSegregationOptions(state) {\n return state.currentSettings.imoDetails.shippingName ? state.additionalSegregationOptions : [];\n },\n getSadtUnNumbers(state) {\n return state.sadtUnNumbers;\n },\n getControlEmergencyTemperatures(state) {\n return state.controlEmergencyTemperatures;\n },\n getPackingTypeList(state) {\n return state.packingType;\n },\n getOuterPackingTypeOptions(state, getters) {\n return getters.getPackingTypeList\n ?.filter(i => i.innerPackaging === false)\n .map(s => {\n return {\n label: `${s.description} (${s.packageStyleCode})`,\n value: s.instanceId,\n description: s.description,\n code: s.packageStyleCode\n };\n });\n },\n getMDSOuterPackingTypeOptions(state, getters) {\n return getters.getPackingTypeList\n ?.filter(i => i.innerPackaging === false)\n .map(s => {\n return {\n label: `${s.description} (${s.packageStyleCode})`,\n value: `${s.description} (${s.packageStyleCode})`,\n valueCode: s.instanceId,\n description: s.description,\n code: s.packageStyleCode\n };\n });\n },\n getInnerPackingTypeOptions(state, getters) {\n return getters.getPackingTypeList\n ?.filter(i => i.innerPackaging === true)\n .map(s => {\n return {\n label: `${s.description} (${s.packageStyleCode})`,\n value: s.instanceId,\n description: s.description,\n code: s.packageStyleCode\n };\n });\n },\n getMDSInnerPackingTypeOptions(state, getters) {\n return getters.getPackingTypeList\n ?.filter(i => i.innerPackaging === true)\n .map(s => {\n return {\n label: `${s.description} (${s.packageStyleCode})`,\n value: `${s.description} (${s.packageStyleCode})`,\n valueCode: s.instanceId,\n description: s.description,\n code: s.packageStyleCode\n };\n });\n },\n getInnerPackings(state) {\n return state.currentSettings.packingInformation.innerPackings;\n },\n getMDSFilteredPackingGroups(state, getters) {\n return getters.getFilteredPackingGroups.map(s => {\n return {\n label: s,\n value: s\n };\n });\n },\n /**\n * @description This method returns if same settings is used for all instances of a container type\n * @param {Object} state\n * @param {number} typeIndex\n * @returns {Boolean}\n */\n getIsSameSettingsForDgContainerType: state => typeIndex => state.sameDangerousDetailsAllContainers[typeIndex],\n\n getDgContainerSettingsByType: state => typeIndex => {\n return state.dgContainers.filter(setting => setting.typeIndex === typeIndex);\n },\n isDgdReceived(state, getters, rootState, rootGetters) {\n return (\n rootGetters[\"OD3CP/isAmendBooking\"] &&\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.dgAmend.name) &&\n (rootGetters[\"OD3CP/getBookingData\"]?.equipmentAndHaulage?.containerDetails || []).some(\n container => container.isDGDReceived\n )\n );\n },\n disabledDueToDgdReceived(state, getters, rootState, rootGetters) {\n return !!(rootGetters[\"OD3CP/showCargoDetails\"] && getters.isDgdReceived);\n },\n getDgContainerCardsCountByType: (state, getters) => typeIndex => {\n return (getters.getDgContainerSettingsByType(typeIndex) || []).length;\n },\n /**\n * @description returns boolean value whether dangerous settings are valid (from UI validation POV)\n * @param {object} state\n * @returns {boolean}\n */\n areDangerousSettingsValid(state) {\n //verify dg containers length is greater than 1\n if (!state?.dgContainers?.length) return false;\n\n return state.dgContainers.every(container => {\n return !!container?.settings && Array.isArray(container.settings) && container.settings.length >= 1;\n });\n },\n shouldStopDgCardsReduction: (state, getters, rootState, rootGetters) => (typeIndex, containerQty) => {\n return (\n rootGetters[\"OD3CP/isDgAmendBookingEnabled\"] &&\n rootGetters[\"OD3CP/shouldStopDgOogCardsReduction\"](typeIndex, containerQty)\n );\n }\n};\n","import { initialState } from \"./dangerousSettings/state\";\nimport actions from \"@/store/modules/dangerousSettings/actions\";\nimport mutations from \"@/store/modules/dangerousSettings/mutations\";\nimport getters from \"@/store/modules/dangerousSettings/getters\";\nexport default {\n namespaced: true,\n state: initialState,\n getters,\n mutations,\n actions\n};\n","import { constants } from \"@/lib/CONSTANTS\";\n\nexport default {\n namespaced: true,\n\n // initial state\n state: {\n loadPorts: null,\n dischargePorts: null,\n selectedLoadPort: null,\n queriedLoadPort: null,\n selectedDischargePort: null,\n isBespokeSearchInProgress: false,\n queriedDischargePort: null,\n portListUpdated: false\n },\n\n getters: {\n /**\n * The list of Load Ports\n * @param {Object} state Vuex State\n */\n loadPortList: state => {\n return state.loadPorts;\n },\n /**\n * The list of Discharge Ports\n * @param {Object} state Vuex State\n */\n dischargePortList: state => {\n return state.dischargePorts;\n },\n /**\n * @description returns selected loading port\n * @param {Object} state\n * @return {string}\n */\n getSelectedLoadPort: state => {\n return state.selectedLoadPort;\n },\n /**\n * @description returns selected discharge port\n * @param {Object} state\n * @return {string}\n */\n getSelectedDischargePort: state => {\n return state.selectedDischargePort;\n },\n /**\n * @description returns previously searched loading port\n * @param {Object} state\n * @return {string}\n */\n getQueriedLoadPort: state => {\n return state.queriedLoadPort;\n },\n /**\n * @description returns previously searched discharge port\n * @param {Object} state\n * @return {string}\n */\n getQueriedDischargePort: state => {\n return state.queriedDischargePort;\n },\n /**\n * @description Contains details of the load port for the tag. Data is only available AFTER search is triggered\n */\n queriedLoadPortDetails(state) {\n return (state.loadPorts || []).find(port => port.geoId === state.queriedLoadPort);\n },\n /**\n * @description Contains details of the discharge port for the tag. Data is only available AFTER search is triggered\n */\n queriedDischargePortDetails(state) {\n return (state.dischargePorts || []).find(port => port.geoId === state.queriedDischargePort);\n },\n /**\n * @description returns true, if Bespoke search is in progress\n * @param {Object} state\n * @return {boolean}\n */\n isBespokeSearchInProgress: state => {\n return state.isBespokeSearchInProgress;\n },\n /**\n * @description returns true, if port list is updated this happens when we got R2, batch 1 call response\n * @param {Object} state\n * @return {boolean}\n */\n isPortListUpdated: state => {\n return state.portListUpdated;\n },\n /**\n * @description returns load ports, discharge ports, preferred load port and preferred discharge port\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @return {{}}\n */\n generatePortDetailsForGA: (state, getters, rootState, rootGetters) => {\n return rootGetters[\"boFlags/getFlag\"](constants.featureFlags.e2eBespokeRouteCustomization.name)\n ? {\n ...(getters.loadPortList && { loadPorts: getters.loadPortList }),\n ...(getters.dischargePortList && { dischargePorts: getters.dischargePortList }),\n ...(getters.queriedLoadPortDetails && { preferredLoadPort: getters.queriedLoadPortDetails }),\n ...(getters.queriedDischargePortDetails && { preferredDischargePort: getters.queriedDischargePortDetails })\n }\n : {};\n }\n },\n\n //mutations\n mutations: {\n /**\n * Sets the load and discharge ports, updates portListUpdated flag to true\n * @param {Object} state Vuex State\n * @param {[]} response The list of ports from the api(R2)\n */\n setLoadAndDischargePorts(state, response) {\n state.loadPorts = response.loadPorts;\n state.dischargePorts = response.dischargePorts;\n state.portListUpdated = true;\n },\n /**\n * Resets the load, discharge ports and portListUpdated\n * @param {Object} state Vuex State\n */\n resetLoadAndDischargePorts(state) {\n state.loadPorts = null;\n state.dischargePorts = null;\n state.portListUpdated = false;\n },\n /**\n * Sets the searched load port geoid\n * @param {Object} state Vuex State\n * @param {?String} value The geoid as a string\n */\n setQueriedLoadPort(state, value) {\n state.queriedLoadPort = value || null;\n },\n /**\n * Sets the searched discharge port geoid\n * @param {Object} state Vuex State\n * @param {?String} value The geoid as a string\n */\n setQueriedDischargePort(state, value) {\n state.queriedDischargePort = value || null;\n },\n /**\n * Resets the searched load & discharge ports\n * @param {Object} state Vuex State\n */\n resetQueriedPorts(state) {\n state.queriedLoadPort = null;\n state.queriedDischargePort = null;\n },\n /**\n * Sets the selected load port geoid (This is only selection in the UI and not the final queried load port)\n * @param {Object} state Vuex State\n * @param {?String} value The geoid as a string\n */\n setSelectedLoadPort(state, value) {\n state.selectedLoadPort = value || null;\n },\n /**\n * Sets the selected discharge port geoid (This is only selection in the UI and not the final queried discharge port)\n * @param {Object} state Vuex State\n * @param {?String} value The geoid as a string\n */\n setSelectedDischargePort(state, value) {\n state.selectedDischargePort = value || null;\n },\n /**\n * Sets whether bespoke search is currently in progress.\n * @param {Object} state Vuex State\n * @param {Boolean} value True || false\n */\n setBespokeSearchStatus(state, value) {\n state.isBespokeSearchInProgress = value;\n },\n /**\n * Sets whether port list changed or not.\n * @param {Object} state Vuex State\n * @param {Boolean} value True || false\n */\n setPortListUpdated(state, value) {\n state.portListUpdated = Boolean(value);\n }\n },\n\n //actions\n actions: {}\n};\n","import Vue from \"vue\";\nimport { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { constants, getCurrentEnvironmentVariables } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion } from \"@/common/utils/generic/featureFlagService\";\nimport { InlandRecommendationType } from \"@/common/utils/types/inlandRecommendationTypes\";\nimport { generateFakeCorrelationId } from \"@/common/utils/generic/correlationIdGenerator\";\n\n/**\n *\n * @returns Inline telemetry attribute used for checking bots using Akamai BOTMAN\n */\nfunction setInlineTelemetry() {\n return !(window as any).bmak ? null : { \"Akamai-BM-Telemetry\": (window as any).bmak?.get_telemetry() };\n}\n\n/**\n * Send request to effect a change of destination (CoD) of a booking\n * A CoD is issued when a gated-in container's destination is amended.\n */\nexport const requestInlandRecommendation = (payload: InlandRecommendationType): Promise => {\n const controller = new AbortController();\n const signal = controller.signal;\n const timeout = Number(Vue.prototype.$t(\"od3cp.component.inlandRecommendation.abortTimeout\"));\n const addAbortTimeout = !!timeout && timeout > 0;\n if (addAbortTimeout) {\n setTimeout(() => {\n controller.abort();\n }, timeout);\n }\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.inlandRecommendation}`,\n method: \"POST\",\n body: JSON.stringify(payload),\n consumerKey: getCurrentEnvironmentVariables().inlandRecConsumerKey,\n headers: {\n traceID: generateFakeCorrelationId(),\n ...getFeatureVersion(),\n ...setInlineTelemetry()\n },\n ...(addAbortTimeout && { signal })\n });\n};\n","import { clearState } from \"@/common/utils/generic/stateManagement\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { requestInlandRecommendation } from \"@/common/service/inlandRecommendationService\";\nimport { isFeatureEnabled } from \"@/common/utils/generic/featureFlagService\";\nimport { addRUMAction } from \"@/common/utils/analytics/mopRum.js\";\nimport { sendGAEvent } from \"@/common/utils/analytics/ga\";\n\nexport default {\n namespaced: true,\n state: {\n recommendationList: null,\n isLoading: false,\n selectedRecommendationOriginGeoId: null,\n selectedRecommendationOriginServiceMode: null,\n searchedLocation: null\n },\n getters: {\n /**\n * @description Get the list of inland recommendations fetched from the API\n * @param {Object} state\n * @returns {Array}\n */\n getRecommendationList(state) {\n return Array.isArray(state.recommendationList) ? state.recommendationList : [];\n },\n /**\n * @description Gets the selected InlandRecommendation's ID\n * Return the recommendationId only if user has selected a recommendation from the list,\n * and the origin-GeoLocationId matches with the selected recommendation's origin-GeoLocationId,\n * and the service mode matches with the selected recommendation's service mode.\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {String}\n */\n getSelectedRecommendationId(state, getters, rootState, rootGetters) {\n const lsm = rootGetters[\"OD3CP/getLocationServiceMode\"];\n const selectedOriginGeoId = lsm?.origin?.location?.maerskGeoLocationId;\n const selectedOriginServiceMode = lsm?.origin?.serviceMode;\n return !!selectedOriginGeoId &&\n !!state.selectedRecommendationOriginGeoId &&\n selectedOriginServiceMode === state.selectedRecommendationOriginServiceMode &&\n selectedOriginGeoId === state.selectedRecommendationOriginGeoId\n ? state.recommendationList?.find(\n item =>\n item?.location?.maerskGeoLocationId === selectedOriginGeoId &&\n item?.serviceMode === lsm?.origin?.serviceMode\n )?.recommendationId ?? null\n : null;\n },\n /**\n * @description Gets the selected InlandRecommendation's ID in required format for departures payload.\n * @param {Object} state\n * @param {Object} getters\n * @returns {Object} {recommendationId}\n */\n getSelectedRecommendationIdForPayload(state, getters) {\n if (!isFeatureEnabled(constants.featureFlags.inlandRecommendation.name)) return {};\n const selectedRecommendationId = getters.getSelectedRecommendationId;\n return !!selectedRecommendationId ? { recommendationId: selectedRecommendationId } : {};\n },\n /**\n * @description Check for if inland recommendation api call is still loading\n * @param {Object} state\n * @returns {Boolean}\n */\n getIsLoading(state) {\n return state.isLoading;\n },\n /**\n * @description Gets the payload for inland recommendation API\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object} payload\n */\n getInlandRecommendationPayload(state, getters, rootState, rootGetters) {\n return {\n fromLocation: rootGetters[\"pricingJourney/getOriginLocationDetails\"],\n toLocation: rootGetters[\"pricingJourney/getDestinationLocationDetails\"]\n };\n },\n /**\n * @description Get the details of location with which the inland recommendation query got triggered.\n * @param {Object} state\n */\n getSearchedLocation(state) {\n return state.searchedLocation ?? {};\n }\n },\n mutations: {\n /**\n * @description Sets the list of inland recommendations fetched from the API\n * @param {*} state\n * @param {Array} value\n */\n setRecommendationList(state, value) {\n state.recommendationList = value;\n },\n /**\n * @description Sets the location details(originGeoId, originServiceMode, destinationGeoId, destinationServiceMode) with which the inland recommendation query got triggered.\n * @param {*} state\n * @param {Object} value\n */\n setSearchedLocation(state, value) {\n state.searchedLocation = value;\n },\n /**\n * @description Sets the loading state for inland recommendation API call\n * @param {*} state\n * @param {Boolean} value\n */\n setIsLoading(state, value) {\n state.isLoading = value;\n },\n /**\n * @description Clears the state to initial state\n * @param {*} state\n */\n resetToInitialState(state) {\n clearState(state);\n },\n /**\n * @description Sets selected inland recommendation's origin-geoid\n * @param {*} state\n * @param {String} value\n */\n setSelectedRecommendationOriginGeoId(state, value) {\n state.selectedRecommendationOriginGeoId = value;\n },\n /**\n * @description Sets selected inland recommendation's origin service mode\n * @param {*} state\n * @param {String} value\n */\n setSelectedRecommendationOriginServiceMode(state, value) {\n state.selectedRecommendationOriginServiceMode = value;\n }\n },\n actions: {\n /**\n * @description Set the recommended origin location in the OD3CP store\n * Also store the selected recommendation's origin-geoid and service mode in the inlandRecommendation store\n * @returns {Promise}\n */\n setRecommendedOriginLocation({ commit, getters, rootGetters }, locationData) {\n commit(\"OD3CP/setLocationServiceMode\", rootGetters[\"pricingJourney/getLsmForSelectedOffer\"](locationData), {\n root: true\n });\n commit(\"setSelectedRecommendationOriginGeoId\", locationData?.lsm?.origin?.geoId ?? null);\n commit(\"setSelectedRecommendationOriginServiceMode\", locationData?.lsm?.origin?.serviceMode ?? null);\n },\n /**\n * @description Sets the location details with which the with which the inland recommendation query was triggered..\n */\n setSearchedLocation({ commit }, locationData) {\n commit(\"setSearchedLocation\", locationData);\n },\n /**\n * @description Fetch the inland recommendations from the API\n * @returns {Promise}\n */\n async fetchInlandRecommendation({ getters, commit }) {\n try {\n commit(\"setIsLoading\", true);\n commit(\"error/clearErrorsForSource\", constants.errorSource.inlandRecommendation, { root: true });\n commit(\"setRecommendationList\", null);\n const responseData = await requestInlandRecommendation(getters.getInlandRecommendationPayload);\n const recommendations = responseData?.recommendations ?? [];\n commit(\"setRecommendationList\", recommendations);\n commit(\"setSelectedRecommendationOriginGeoId\", null);\n commit(\"setSelectedRecommendationOriginServiceMode\", null);\n // when we get the response of the api, event log the location count on SD and CY for Grafana RUM and GA.\n const logData = {\n SDlocationCount:\n recommendations.filter(loc => loc.serviceMode === constants.serviceMode.carrierHaulage)?.length ?? 0,\n CYLocationCount:\n recommendations.filter(loc => loc.serviceMode === constants.serviceMode.merchantHaulage)?.length ?? 0,\n totalLocationCount: recommendations.length ?? 0\n };\n addRUMAction(\"inlandRecommendationShow\", logData, true);\n sendGAEvent(\"InlandRecommendationShow\", logData);\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message ?? \"\",\n page: constants.errorPage.od3cp,\n source: constants.errorSource.inlandRecommendation,\n statusCode: error?.status,\n showError: false,\n prefersMessage: false\n },\n { root: true }\n );\n } finally {\n commit(\"setIsLoading\", false);\n }\n },\n /**\n * @description Clears the state to initial state\n */\n resetInlandRecommendationData({ commit }) {\n commit(\"resetToInitialState\");\n },\n /**\n * @description After selecting a recomended location, if destination is changed, then reset the recommendation data.\n */\n resetRecommendationOnDestinationChange({ commit, getters }, locData) {\n const searchedLocation = getters.getSearchedLocation;\n Object.keys(searchedLocation).length > 0 &&\n (searchedLocation?.destinationGeoId !== locData?.destination?.location?.maerskGeoLocationId ||\n searchedLocation?.destinationServiceMode !== locData?.destination?.serviceMode) &&\n commit(\"resetToInitialState\");\n }\n }\n};\n","import Vue from \"vue\";\nimport { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\n\nexport async function getValidationRuleset(countryCode) {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.globalMdm}${\n constants.ENDPOINTS.customersRuleSet\n }/${countryCode}?entityType=FACILITY`,\n method: \"GET\",\n headers: {\n \"API-version\": 1\n },\n consumerKey: getCurrentEnvironmentVariables().globalMdmConsumerKey,\n signal: AbortSignal?.timeout(\n Number(Vue.prototype.$t(\"details.component.containerLoadingAddress.timeouts.masterDataManagementRuleset\")) ||\n constants.masterDataManagementRulesetTimeout\n )\n });\n}\n\nexport async function createNewFacilityRequest(data) {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.globalMdm}${\n constants.ENDPOINTS.customerFacilityIngestion\n }`,\n method: \"POST\",\n headers: {\n \"API-version\": 1\n },\n consumerKey: getCurrentEnvironmentVariables().globalMdmConsumerKey,\n signal: AbortSignal?.timeout(\n Number(\n Vue.prototype.$t(\"details.component.containerLoadingAddress.timeouts.masterDataManagementFacilityIngestion\")\n ) || constants.masterDataManagementFacilityIngestionTimeout\n ),\n body: JSON.stringify(data),\n rawResponse: true\n });\n}\n\nexport async function assignFacilityToCustomerRequest(data) {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.globalMdm}${\n constants.ENDPOINTS.customerFacilityIngestion\n }`,\n method: \"PATCH\",\n headers: {\n \"API-version\": 1\n },\n rawResponse: true,\n consumerKey: getCurrentEnvironmentVariables().globalMdmConsumerKey,\n body: JSON.stringify(data)\n });\n}\n","import Vue from \"vue\";\nimport {\n createNewFacilityRequest,\n getValidationRuleset,\n assignFacilityToCustomerRequest\n} from \"@/common/service/masterDataManagementService\";\nimport { addRUMAction } from \"@/common/utils/analytics/mopRum.js\";\nimport { getUserCredential } from \"@maersk-global/shared-js\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\nexport default {\n namespaced: true,\n state: {\n validationRuleset: [],\n validationRulesetLoaded: false,\n createNewFacilityLoading: false,\n createNewFacilityStatus: {},\n assignFacilityToCustomerLoading: false,\n assignFacilityToCustomerStatus: {}\n },\n mutations: {\n /**\n * @description The validation ruleset for the customer's facility (based on country)\n * @param {Object} state\n * @param {*} ruleset\n */\n setCustomerRuleset(state, ruleset) {\n state.validationRuleset = ruleset;\n },\n setCustomerRulesetLoaded(state, loaded) {\n state.validationRulesetLoaded = loaded;\n },\n setCreateFacilityLoading(state, loading) {\n state.createNewFacilityLoading = loading;\n },\n setCreateFacilityStatus(state, status) {\n state.createNewFacilityStatus = status;\n },\n setAssignFacilityToCustomerLoading(state, loading) {\n state.assignFacilityToCustomerLoading = loading;\n },\n setAssignFacilityToCustomerStatus(state, status) {\n state.assignFacilityToCustomerStatus = status;\n }\n },\n getters: {\n getCreateFacilityStatus(state) {\n return state.createNewFacilityStatus?.ok ? state.createNewFacilityStatus?.status : null;\n }\n },\n actions: {\n /**\n * @description Call API to get the ruleset for the customer, then save transformed ruleset to store\n * @param {Store} store\n * @param {String} countryCode the 2-letter country code\n */\n async fetchCustomerRuleset({ commit }, countryCode) {\n try {\n const ruleset = await getValidationRuleset(countryCode);\n commit(\"setCustomerRuleset\", mapRulesetToValidationRules(ruleset));\n commit(\"setCustomerRulesetLoaded\", true);\n addRUMAction(\"rulesetLoaded\", { countryCode: countryCode });\n } catch (error) {\n commit(\"setCustomerRuleset\", mapRulesetToValidationRules([]));\n commit(\"setCustomerRulesetLoaded\", true);\n commit(\n \"error/setError\",\n {\n error,\n message: error?.message,\n page: constants.errorPage.details,\n source: constants.errorSource.ruleSet,\n showError: false\n },\n { root: true }\n );\n }\n },\n\n async createNewFacility({ commit }, data) {\n commit(\"setCreateFacilityLoading\", true);\n let createNewFacilityStatus;\n try {\n const facilityData = {\n customerFacilityAuditData: {\n user: getUserCredential(\"email\"),\n sourceSystem: \"SSIB\"\n },\n customerFacilityCode: data.detail?.facility?.geographicDetails?.locationDetails?.facilityCode,\n customerFacilityName: data.detail?.facility?.geographicDetails?.locationDetails?.facilityName,\n streetName: data.detail?.facility?.geographicDetails?.postalAddress?.streetName,\n streetNumber: data.detail?.facility?.geographicDetails?.postalAddress?.buildingNo,\n apartmentOrFloor: data.detail?.facility?.geographicDetails?.postalAddress?.apartmentOrFloor,\n postalCode: data.detail?.facility?.geographicDetails?.postalAddress?.postCode,\n city: {\n cityId: data.detail?.facility?.geographicDetails?.locationDetails?.cityGeoId,\n cityCode: data.detail?.facility?.geographicDetails?.locationDetails?.cityRKSTCode,\n cityName: data.detail?.facility?.geographicDetails?.locationDetails?.cityName\n },\n region: {\n regionCode: data.detail?.facility?.geographicDetails?.locationDetails?.regionGeoId,\n regionName: data.detail?.facility?.geographicDetails?.locationDetails?.regionName\n },\n country: {\n isoCountryCode: data.detail?.facility?.geographicDetails?.locationDetails?.isoCountryCode,\n countryName: data.detail?.facility?.geographicDetails?.locationDetails?.countryName\n },\n statusCode: \"A\"\n };\n const response = await createNewFacilityRequest(facilityData);\n const text = await response.text().then(text => {\n const match = text.match(/Customer facility record (\\w+) created successfully/);\n return match ? match[1] : null;\n });\n if (text) {\n createNewFacilityStatus = {\n status: text,\n ok: true\n };\n addRUMAction(\"newFacilityCreated\", { facilityCode: text });\n } else throw new Error(\"Failed to create facility. API returned unexpected response\");\n } catch (error) {\n createNewFacilityStatus = {\n status: error.status,\n ok: false\n };\n commit(\n \"error/setError\",\n {\n error,\n message: error.message,\n page: constants.errorPage.details,\n source: constants.errorSource.facilities,\n showError: false\n },\n { root: true }\n );\n } finally {\n commit(\"setCreateFacilityStatus\", createNewFacilityStatus);\n commit(\"setCreateFacilityLoading\", false);\n }\n },\n\n async assignFacilityToCustomer({ commit, rootState }, newFacilityId) {\n commit(\"setAssignFacilityToCustomerLoading\", true);\n let assignFacilityToCustomerStatus;\n try {\n const facilityData = {\n customerFacilityAuditData: {\n user: getUserCredential(\"email\"),\n sourceSystem: constants.ssib\n },\n customerFacilityAssignment: {\n customerFacilityCode: newFacilityId,\n customerCode: rootState.priceOwnerData?.priceOwnerData?.customerCodes?.customerCode,\n isDeletedFlag: false\n }\n };\n const response = await assignFacilityToCustomerRequest(facilityData);\n const text = await response.text();\n if (text) {\n assignFacilityToCustomerStatus = {\n status: text,\n ok: true\n };\n addRUMAction(\"facilityAssigned\", {\n facilityStatus: text,\n customerCode: rootState.priceOwnerData?.priceOwnerData?.customerCodes?.customerCode,\n customerFacilityCode: newFacilityId\n });\n } else throw new Error(\"Failed to assign facility. API returned unexpected response\");\n } catch (error) {\n assignFacilityToCustomerStatus = {\n status: error.status,\n ok: false\n };\n commit(\n \"error/setError\",\n {\n error,\n message: error.message,\n page: constants.errorPage.details,\n source: constants.errorSource.assignFacility,\n showError: false\n },\n { root: true }\n );\n } finally {\n commit(\"setAssignFacilityToCustomerStatus\", assignFacilityToCustomerStatus);\n commit(\"setAssignFacilityToCustomerLoading\", false);\n }\n },\n\n handleDuplicateApiError({ commit }, errorEvent) {\n const errorDetail = errorEvent?.detail;\n const errorMessage = (errorDetail?.message || errorDetail?.error?.errorMessage) ?? \"duplicate facility error\";\n commit(\n \"error/setError\",\n {\n error: errorDetail,\n message: errorMessage,\n page: constants.errorPage.details,\n source: constants.errorSource.duplicateFacility,\n showError: false\n },\n { root: true }\n );\n },\n clearNewFacilityStatus({ commit }) {\n commit(\"setCreateFacilityStatus\", {});\n },\n // Clears the store\n clearState({ commit }) {\n commit(\"setCustomerRuleset\", []);\n commit(\"setCustomerRulesetLoaded\", false);\n }\n }\n};\n\n/**\n * Iterate over the given ruleset and create an array of validation rules, applying custom business rules for specific fields\n * @param {array} ruleset\n * @returns mapped ruleset of validation rules\n */\nexport function mapRulesetToValidationRules(ruleset) {\n const validationRules = ruleset.map(rule => {\n return {\n id: mapRulesetFieldToValidationField(rule.fieldType),\n regex: rule.formatCheck ? new RegExp(rule.formatCheck) : undefined,\n required: rule.isMandatory,\n validationErrorMessage: rule.formatCheckDescription\n };\n });\n\n // Set custom business rules\n const fields = {\n required: [\"facilityName\", \"streetName\", \"city\"],\n readonly: [\"city\"],\n optional: [\"apartmentName\"]\n };\n\n const fieldTypes = Object.keys(fields);\n\n fieldTypes.forEach(type => {\n fields[type].forEach(field => {\n let rule = validationRules.find(rule => rule.id === field);\n // Rule doesn't already exist = create it\n if (!rule) {\n rule = {\n id: field,\n validationErrorMessage: Vue.prototype.$t(\"details.component.containerLoadingAddress.errors.required\")\n };\n validationRules.push(rule);\n }\n if (type === \"required\") rule.required = true;\n if (type === \"readonly\") rule.readonly = true;\n // Implementing facility name validation from swagger regex rules OME-35235\n if (rule.id === \"facilityName\") {\n rule.regex = constants.regExpressions.facilityName;\n rule.validationErrorMessage = Vue.prototype.$t(\"details.component.containerLoadingAddress.errors.facilityName\");\n }\n });\n });\n\n return validationRules;\n}\n\nexport function mapRulesetFieldToValidationField(id) {\n switch (id) {\n case \"STREET_NUMBER\":\n return \"streetNumber\";\n case \"PCODE\":\n return \"postalCode\";\n case \"REGION\":\n return \"city\";\n default:\n return id;\n }\n}\n","import Vue from \"vue\";\nimport Vuex from \"vuex\";\nimport error from \"@/store/modules/error\";\nimport commonData from \"@/store/modules/commonData\";\nimport history from \"@/store/modules/history\";\nimport userSettings from \"@/store/modules/userSettings\";\nimport boFlags from \"@/store/modules/boFlags\";\nimport priceOwnerData from \"@/store/modules/priceOwnerData\";\nimport reeferSettingsData from \"@/store/modules/reeferSettingsData\";\nimport OD3CP from \"@/store/modules/od3cp\";\nimport nacAndAllocations from \"@/store/modules/nacAndAllocations\";\nimport parties from \"@/store/modules/parties\";\nimport bookedByContact from \"@/store/modules/bookedByContact\";\nimport offices from \"@/store/modules/offices\";\nimport configurableItems from \"@/store/modules/configurableItems\";\nimport bookingRequests from \"@/store/modules/bookingRequests\";\nimport workflowLog from \"@/store/modules/workflowLog\";\nimport bookingSession from \"@/store/modules/bookingSession\";\nimport pricingJourney from \"@/store/modules/pricingJourney\";\nimport oogSettingsData from \"@/store/modules/oog/oogSettingsData\";\nimport dangerousSettingsData from \"@/store/modules/dangerousSettings\";\nimport loadAndDischargePorts from \"@/store/modules/loadAndDischargePorts\";\nimport sailings from \"@/store/modules/sailings\";\nimport inlandRecommendation from \"@/store/modules/inlandRecommendation\";\nimport masterDataManagement from \"@/store/modules/masterDataManagement\";\n\nVue.use(Vuex);\n\nexport default new Vuex.Store({\n namespaced: true,\n strict: process.env.NODE_ENV !== \"production\",\n modules: {\n error,\n commonData,\n history,\n userSettings,\n boFlags,\n priceOwnerData,\n reeferSettingsData,\n OD3CP,\n nacAndAllocations,\n offices,\n parties,\n bookedByContact,\n workflowLog,\n bookingSession,\n configurableItems,\n bookingRequests,\n pricingJourney,\n oogSettingsData,\n dangerousSettingsData,\n loadAndDischargePorts,\n sailings,\n inlandRecommendation,\n masterDataManagement\n }\n});\n","import { deepEqual } from \"@/common/utils/generic/objectDeepComparison\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { Amendment } from \"@/lib/dangerousGoods/interfaces/imdg\";\n\ninterface ImoDetail {\n classification: number;\n unNumber: string;\n naNumber: boolean;\n}\ninterface Setting {\n name: string;\n settings: Array;\n}\n\ninterface SelectOption {\n label: string;\n value: string;\n}\n\ninterface Segregation {\n instanceId: number;\n segregationName: string;\n}\n\ninterface Package {\n id: string;\n type: string;\n code: string;\n quantity: number;\n}\n\ninterface DGSetting {\n instanceId: string;\n imoDetails: {\n amendment: string;\n amendmentId: string;\n classification: string;\n imoClassificationId: string;\n unNumber: string;\n unNumberId: string;\n naNumber: boolean;\n shippingName: string;\n technicalName: string;\n subrisk1: string;\n subrisk2: string;\n marinePollutant: boolean;\n emergencyCode1: string;\n emergencyCode2: string;\n segregation: Array;\n additionalSegregation: Array;\n originalAdditionalSegregation: Array;\n variant: string;\n variation: string;\n suffix: string;\n suffixId: string;\n };\n packingInformation: {\n packingGroup: string;\n packingGroupQuantity: string;\n outerPacking: Package;\n innerPackings: Array;\n };\n weightsMeasuresInformation: {\n grossWeight: number;\n netWeight: number;\n netExplosiveContent: number;\n volume: number;\n };\n additionalInformation: {\n flashPoint: number;\n sadt: number;\n controlTemperature: number;\n emergencyTemperature: number;\n emergencyContact: string;\n countryCode: string;\n contactNumber: string;\n };\n}\n\ninterface TransformedDGSetting {\n instanceId: string;\n containerRef: string;\n amendment: number;\n amendmentId: string;\n imoClassification: string;\n imoClassificationId: string;\n unNumber: string;\n unNumberId: string;\n naNumber: boolean;\n properShippingName: string;\n variation: string;\n technicalName: string;\n subRisk1: string;\n subRisk2: string;\n marinePollutant: boolean;\n ems: string;\n segregationGroups: Array;\n additionalSegregationGroups: Array;\n suffix: number;\n suffixId: string;\n outerPackaging: TransformedPackage;\n innerPackaging: Array;\n commodityPackaging: TransformedCommodityPackaging;\n grossWeight: number;\n netWeight: number;\n netExplosiveContent: number;\n volume: number;\n flashpoint: number;\n sadt: number;\n controlTemperature: number;\n emergencyTemperature: number;\n emergencyContact: EmergencyContact;\n}\n\ninterface EmergencyContact {\n name: string;\n countryCode: string;\n number: string;\n}\n\ninterface TransformedSegregation {\n id: number;\n name: string;\n}\n\ninterface TransformedPackage {\n quantity: number;\n type: string;\n code: string;\n id: string;\n}\n\ninterface TransformedCommodityPackaging {\n packagingGroup: string;\n packQuantityType: string;\n}\n\ninterface ContainerSetting {\n index: number;\n typeIndex: number;\n typeName: string;\n settings: Array;\n}\n\ninterface BrAdditionalSegregationGroup {\n instanceId?: string;\n id: number;\n name: string;\n}\n\n/**\n * @summary To check all the dangerous goods containers have same settings or not.\n * @param {Array} dgContainers\n * @returns {boolean}\n */\nexport const isAllDangerousContainerSettingsSame = (dgContainers: Array) => {\n // When there is only one container return true\n if (dgContainers?.length === 1) return true;\n\n // Checking if all the containers have same count of settings inside or not\n const isContainerSettingsCountDifferent = dgContainers.some(\n (container, _, dgContainersArray) => dgContainersArray?.[0]?.settings?.length !== container?.settings?.length\n );\n\n if (!isContainerSettingsCountDifferent) {\n const firstContainerSettings = dgContainers?.[0]?.settings;\n const fromSecondToNthContainerSettings = dgContainers.filter((_, i) => i > 0).map(container => container.settings);\n\n function isIncludesThisSetting(firstContainerCurrentSetting: object) {\n return fromSecondToNthContainerSettings.every(settings =>\n settings.some(setting => deepEqual(setting, firstContainerCurrentSetting))\n );\n }\n\n // Check if every settings in first container matches settings in other contianers\n return firstContainerSettings.every(isIncludesThisSetting);\n }\n\n // If all the above cases are not met, then dangerous settings are not same among containers\n return false;\n};\n\n/**\n * @summary Get the DG Settings payload to validate DG Booking against SafeBook\n * @param {any} rootGetters\n * @param {number} quantity\n * @param {number} containerTypeIndex\n * @param {Array} containerRefs\n * @returns {Array}\n */\nexport const getDGPayload = (\n rootGetters: any,\n quantity: number,\n containerTypeIndex: number,\n containerRefs: Array\n): Array => {\n const settingsPerContainer = rootGetters[\"dangerousSettingsData/getDgContainerSettingsByType\"](containerTypeIndex);\n const isSameSettings = rootGetters[\"dangerousSettingsData/getIsSameSettingsForDgContainerType\"](containerTypeIndex);\n const dgContainers = isSameSettings ? copyContainerSettings(settingsPerContainer, quantity) : settingsPerContainer;\n return (\n dgContainers?.map((container: any, containerIndex: number) => {\n return container.settings.map((setting: DGSetting) => {\n return mapDGSetting(\n setting,\n rootGetters[\"dangerousSettingsData/getSimplifiedAmendmentId\"],\n containerRefs[containerIndex]\n );\n });\n }) || []\n );\n};\n\n/**\n * @summary Copy the first container settings to all other containers when using same DG for all of them\n * @param {Array} dgContainers\n * @param {Number} containersCount\n * @returns {Array}\n */\nexport const copyContainerSettings = (dgContainers: any[], containersCount = 1): Array => {\n const firstContainerSettingCopy = JSON.parse(JSON.stringify(dgContainers[0]));\n dgContainers = JSON.parse(\n JSON.stringify(\n Array.from({ length: containersCount }, (_, i) => ({\n ...firstContainerSettingCopy,\n index: i\n }))\n )\n );\n return dgContainers;\n};\n\n/**\n * @summary This method returns the DG setting mapping to be included in the DG payload\n * @param {DGSetting} dgSetting\n * @param {number} simplifiedAmendmentId\n * @param {string} containerRef\n * @returns {TransformedDGSetting}\n */\nexport const mapDGSetting = (\n dgSetting: DGSetting,\n simplifiedAmendmentId: number,\n containerRef: string\n): TransformedDGSetting => {\n return {\n containerRef: containerRef,\n instanceId: dgSetting.instanceId,\n amendment: simplifiedAmendmentId,\n amendmentId: dgSetting.imoDetails?.amendmentId,\n imoClassification: dgSetting.imoDetails?.classification,\n imoClassificationId: dgSetting.imoDetails?.imoClassificationId,\n unNumber: dgSetting.imoDetails?.unNumber,\n unNumberId: dgSetting.imoDetails?.unNumberId,\n naNumber: dgSetting.imoDetails?.naNumber,\n properShippingName: dgSetting.imoDetails?.shippingName,\n variation: dgSetting.imoDetails?.variation,\n technicalName: dgSetting.imoDetails?.technicalName,\n subRisk1: dgSetting.imoDetails?.subrisk1,\n subRisk2: dgSetting.imoDetails?.subrisk2,\n marinePollutant: dgSetting.imoDetails?.marinePollutant,\n ems: `${dgSetting.imoDetails?.emergencyCode1 ?? \"-\"}, ${dgSetting.imoDetails?.emergencyCode2 ?? \"-\"}`,\n segregationGroups: getTransformedSegregations(dgSetting.imoDetails?.segregation),\n additionalSegregationGroups: [\n ...getTransformedSegregations(dgSetting.imoDetails?.additionalSegregation),\n ...getTransformedSegregations(dgSetting.imoDetails?.originalAdditionalSegregation)\n ],\n suffix: parseInt(dgSetting.imoDetails?.suffix),\n suffixId: dgSetting.imoDetails?.suffixId,\n outerPackaging: dgSetting.packingInformation.outerPacking,\n innerPackaging: dgSetting.packingInformation.innerPackings.filter(pi => pi.quantity > 0),\n commodityPackaging: {\n packagingGroup: dgSetting.packingInformation?.packingGroup,\n packQuantityType: dgSetting.packingInformation?.packingGroupQuantity\n },\n grossWeight: dgSetting.weightsMeasuresInformation?.grossWeight,\n netWeight: dgSetting.weightsMeasuresInformation?.netWeight,\n netExplosiveContent: dgSetting.weightsMeasuresInformation?.netExplosiveContent,\n volume: dgSetting.weightsMeasuresInformation?.volume,\n flashpoint: dgSetting.additionalInformation?.flashPoint,\n sadt: dgSetting.additionalInformation?.sadt,\n controlTemperature: dgSetting.additionalInformation?.controlTemperature,\n emergencyTemperature: dgSetting.additionalInformation?.emergencyTemperature,\n emergencyContact: {\n name: dgSetting.additionalInformation?.emergencyContact,\n countryCode: dgSetting.additionalInformation?.countryCode,\n number: dgSetting.additionalInformation?.contactNumber\n }\n };\n};\n\n/**\n * @summary This method returns segregations in the desired format\n * @param {Array} segregations\n * @returns {Array}\n */\nexport const getTransformedSegregations = (segregations: Array): Array | [] =>\n (segregations || []).map(seg => ({ id: seg.instanceId, name: seg.segregationName }));\n\n/**\n * @summary This method returns the list of Classifications for current settings\n * @param {Array} amendmentList\n * @param {string} amendment\n * @param {string} unNumber\n * @param {boolean} naNumber\n * @returns {Array}\n */\nexport const filterClassificationsByCurrentSettings = (\n amendmentList: Array,\n amendment: string,\n unNumber: string,\n naNumber: boolean\n): Array => {\n const currentAmendment = getCurrentAmendmentByName(amendmentList, amendment, naNumber);\n const classifications = currentAmendment?.substances.filter(s => !unNumber || s.unNo === unNumber).map(s => s.class);\n return >[...new Set(classifications)]\n .map(c => {\n return {\n label: c,\n value: c\n };\n })\n .sort((a, b) => a.label.localeCompare(b.label));\n};\n\n/**\n * @summary This method returns the list of Un Numbers for current settings\n * @param {Array} amendmentList\n * @param {string} amendment\n * @param {string} classification\n * @param {boolean} naNumber\n * @returns {Array} Un Numbers for current settings\n */\nexport const filterUnNumbersByCurrentSettings = (\n amendmentList: Array,\n amendment: string,\n classification: string,\n naNumber: boolean\n): Array => {\n const currentAmendment = getCurrentAmendmentByName(amendmentList, amendment, naNumber);\n const unNumbers = >currentAmendment?.substances\n .filter(s => !classification || s.class === classification)\n .map(s => {\n return {\n label: `(${s.unNo}) ${s.psn}`,\n value: s.unNo\n };\n });\n return Array.from(new Set(unNumbers.map(n => JSON.stringify(n)))).map(n => JSON.parse(n));\n};\n\n/**\n * @summary This method returns the current amendment\n * @param {Array} amendmentList\n * @param {string} amendmentName\n * @param {boolean} naNumber\n * @returns {Amendment} Amendment current settings\n */\nexport const getCurrentAmendmentByName = (\n amendmentList: Array,\n amendmentName: string,\n naNumber: boolean\n): Amendment => {\n return (\n amendmentList.find(a =>\n naNumber ? a.type === constants.imdgAmendmentTypes.cfr && a.isDefault : a.versionName === amendmentName\n ) || amendmentList[0]\n );\n};\n\n/**\n * @summary This method returns previously selected amendment\n * @param {boolean} sameDgContainer\n * @param {Array} dgContainers\n * @param {any} commonDgContainer\n * @param {Array} amendmentList\n * @returns {string}\n */\nexport const getCurrentAmendmentByDgSettings = (\n sameDgContainer: boolean,\n dgContainers: Array,\n commonDgContainer: any,\n amendmentList: Array\n): string => {\n return (\n (sameDgContainer\n ? commonDgContainer?.settings?.[0]?.imoDetails?.amendment\n : dgContainers?.find?.(container => container?.settings?.length)?.settings?.[0]?.imoDetails?.amendment) ??\n amendmentList?.find?.(a => a?.type === constants.imdgAmendmentTypes.imdg && a?.isDefault)?.versionName ??\n null\n );\n};\n\n/**\n * @description Generates basic container setting structure for dg\n * @param {number} index - Container Quantity\n * @param {number} typeIndex - Container Level i.e 0, 1 or 2\n * @param {string} typeName - Container Name\n * @param {DefaultSetting} settings - If passed settings will be applied, else []\n * @returns {ContainerSetting}\n */\nexport const generateContainerSetting = (\n index: number,\n typeIndex: number,\n typeName: string,\n settings?: Array\n): ContainerSetting => ({\n typeIndex,\n index,\n typeName,\n settings: settings && settings.length ? JSON.parse(JSON.stringify(settings)) : []\n});\n\n/**\n * @description This method helps to filter out all the settings but not settings that matches typeIndex\n * @param {Array} settings\n * @param {number} typeIndex\n * @returns {Array}\n */\nexport const filterContainerSettingsOtherThanType = (\n settings: Array,\n typeIndex: number\n): Array => (settings || []).filter(setting => setting.typeIndex !== typeIndex);\n\nexport const getAdditionaSegFromBrData = (additionalSegregationGroup: Array) => {\n return (additionalSegregationGroup || []).map?.((seg: BrAdditionalSegregationGroup): {\n instanceId: number;\n segregationName: string;\n } => ({\n instanceId: Number(seg.id),\n segregationName: seg.name\n }));\n};\n","/**\n * Compares two objects\n * Note: We are not using shared js deepcompareobjectproperties as it does not compare values\n * @param {Object|Array|String|Number} a\n * @param {Object|Array|String|Number} b\n * @return {Boolean}\n */\nexport const deepEqual = (a, b) => {\n if (a === b) return true;\n\n if (a == null || typeof a != \"object\" || b == null || typeof b != \"object\") return false;\n\n let keysA = Object.keys(a),\n keysB = Object.keys(b);\n\n if (keysA.length != keysB.length) return false;\n\n for (let key of keysA) {\n if (!keysB.includes(key) || !deepEqual(a[key], b[key])) return false;\n }\n\n return true;\n};\n\nconst itemsForFalsyValues = [undefined, null, \"\", \"undefined\", \"null\"];\n\nfunction isEmpty(input) {\n let isEmptyObject = false;\n if (typeof input === \"object\" && !itemsForFalsyValues.includes(input)) {\n isEmptyObject = Array.isArray(input) ? input.length === 0 : Object.values(input).length === 0;\n }\n return itemsForFalsyValues.includes(input) || isEmptyObject;\n}\n\n/**\n * Deep check for falsy values in an object\n * @param {Object|Array|String|Number} input\n * @return {Boolean}\n */\nexport const isDeepEmpty = input => {\n if (isEmpty(input)) {\n return true;\n }\n\n if (typeof input === \"object\") {\n const items = Array.isArray(input) ? input : Object.values(input);\n for (const item of items) {\n // if item is not in cleanup items and is a primitive, return false\n // otherwise dig deeper\n if ((isEmpty(item) && typeof item !== \"object\") || isDeepEmpty(item)) {\n return true;\n }\n }\n return false;\n }\n\n return isEmpty(input);\n};\n","import {\n productOfferLabels,\n alternateOfferLabels,\n offerFilteredReasonLabels,\n errorOfferLabels,\n noOfferLabels\n} from \"@/common/utils/labels/pricingJourneyLabels\";\n/**\n * An interface for offer card configuration\n */\ninterface CardConfig {\n showRouteNotification: boolean;\n showPrice: boolean;\n showTags: boolean;\n showButton: boolean;\n showFilteredReason: boolean;\n buttonIcon?: string;\n cardHoverColor?: CARD_COLORS;\n cardColor?: CARD_COLORS;\n labels?: object;\n textColor?: TEXT_COLORS;\n showFromLabel: boolean;\n hasError?: boolean;\n showDate: boolean;\n}\n/**\n * An enum to hold the offer card types\n */\nexport enum PRICING_JOURNEY_OFFER_CARDS {\n PRODUCT_OFFER = \"productOffer\",\n ALTERNATE_OFFER = \"alternateOffer\",\n ALTERNATE_PRODUCT_OFFER = \"alternateProductOffer\",\n PRODUCT_OFFER_FILTERED_REASON = \"productOfferFilteredReason\",\n ALTERNATE_PRODUCT_OFFER_FILTERED_REASON = \"alternateProductOfferFilteredReason\",\n ERROR_OFFER = \"errorOffer\",\n NO_OFFER = \"noOffer\"\n}\n\n/**\n * An enum to hold the offer card variant types\n */\nexport enum OFFER_CARD_VARIANT_TYPES {\n BORDERED = \"bordered\",\n BORDERLESS = \"borderless\"\n}\n\n/**\n * An enum to hold the offer card colors\n */\nexport enum CARD_COLORS {\n BLUE = \"blue\",\n LIGHT_BLUE = \"lightBlue\",\n GREEN = \"green\",\n YELLOW = \"yellow\",\n RED = \"red\",\n NONE = \"none\"\n}\n\n/**\n * An enum to hold the offer text colors\n */\nexport enum TEXT_COLORS {\n BLUE = \"blue\",\n WARNING = \"warning\",\n NONE = \"none\"\n}\n\n/**\n * An enum to hold the number of offer card per page\n */\nexport enum OFFERS_PER_PAGE {\n DEFAULT_OFFERS_PER_PAGE = 4,\n OFFERS_PER_PAGE_MOBILE = 1,\n OFFERS_PER_PAGE_TAB = 2,\n ALTERNATE_OFFERS_PER_PAGE = 4\n}\n\n/**\n * List of accepted card colors\n */\nexport const acceptedColors = [\n CARD_COLORS.BLUE,\n CARD_COLORS.GREEN,\n CARD_COLORS.YELLOW,\n CARD_COLORS.LIGHT_BLUE,\n CARD_COLORS.RED\n];\n\n/**\n * Map containing a list of configuration related to an offer card\n */\nexport const PRICING_JOURNEY_CARD_CONFIG_MAPPER = new Map([\n [\n PRICING_JOURNEY_OFFER_CARDS.PRODUCT_OFFER,\n {\n showRouteNotification: false,\n showPrice: true,\n showTags: true,\n showButton: true,\n buttonIcon: \"expand\",\n showFilteredReason: false,\n cardHoverColor: CARD_COLORS.BLUE,\n cardColor: CARD_COLORS.LIGHT_BLUE,\n labels: productOfferLabels,\n showFromLabel: false,\n showDate: true\n }\n ],\n [\n PRICING_JOURNEY_OFFER_CARDS.ALTERNATE_OFFER,\n {\n showRouteNotification: true,\n showPrice: false,\n showTags: true,\n showButton: true,\n showFilteredReason: false,\n buttonIcon: \"dollar-circle\",\n cardHoverColor: CARD_COLORS.GREEN,\n cardColor: CARD_COLORS.LIGHT_BLUE,\n labels: alternateOfferLabels,\n showFromLabel: true,\n showDate: false\n }\n ],\n [\n PRICING_JOURNEY_OFFER_CARDS.ALTERNATE_PRODUCT_OFFER,\n {\n showRouteNotification: true,\n showPrice: true,\n showTags: true,\n showButton: true,\n buttonIcon: \"expand\",\n showFilteredReason: false,\n cardHoverColor: CARD_COLORS.GREEN,\n cardColor: CARD_COLORS.LIGHT_BLUE,\n labels: productOfferLabels,\n showFromLabel: false,\n showDate: true\n }\n ],\n [\n PRICING_JOURNEY_OFFER_CARDS.PRODUCT_OFFER_FILTERED_REASON,\n {\n showRouteNotification: false,\n showPrice: false,\n showTags: true,\n showButton: false,\n showFilteredReason: true,\n cardHoverColor: CARD_COLORS.YELLOW,\n cardColor: CARD_COLORS.YELLOW,\n labels: offerFilteredReasonLabels,\n showFromLabel: false,\n textColor: TEXT_COLORS.WARNING,\n showDate: true\n }\n ],\n [\n PRICING_JOURNEY_OFFER_CARDS.ALTERNATE_PRODUCT_OFFER_FILTERED_REASON,\n {\n showRouteNotification: true,\n showPrice: false,\n showTags: true,\n showButton: false,\n showFilteredReason: true,\n cardHoverColor: CARD_COLORS.YELLOW,\n cardColor: CARD_COLORS.YELLOW,\n labels: offerFilteredReasonLabels,\n showFromLabel: false,\n textColor: TEXT_COLORS.WARNING,\n showDate: true\n }\n ],\n [\n PRICING_JOURNEY_OFFER_CARDS.ERROR_OFFER,\n {\n showRouteNotification: false,\n showPrice: false,\n showTags: false,\n showButton: false,\n showFilteredReason: false,\n labels: errorOfferLabels,\n showFromLabel: false,\n hasError: true,\n showDate: false\n }\n ],\n [\n PRICING_JOURNEY_OFFER_CARDS.NO_OFFER,\n {\n showRouteNotification: false,\n showPrice: false,\n showTags: false,\n showButton: false,\n showFilteredReason: false,\n labels: noOfferLabels,\n showFromLabel: false,\n hasError: true,\n showDate: false\n }\n ]\n]);\n","/**\n * An interface for customer facility\n */\ninterface CustomerFacility {\n facilityCode: string;\n facilityScvCode: string;\n customerCode: string;\n customerScvCode: string;\n cityName: string;\n cityGeoId: string;\n facilityGeoId: string;\n facilityName: string;\n regionName?: string;\n countryName?: string;\n countryGeoId?: string;\n postalAddress: PostalAddress;\n}\n\n/**\n * An interface for postal address\n */\ninterface PostalAddress {\n streetName: string;\n building: string;\n buildingNo: string;\n suburb: string;\n postCode: string;\n}\n\ninterface HistoricalFacility {\n facilityContactAddress: {\n city: string;\n country: string;\n customerCode: string;\n customerName: string;\n facilityCode: string;\n facilityName: string;\n line1Address: string;\n line2Address: string;\n line3Address: string;\n postalAddressCode: string;\n streetNumber: string;\n };\n facilityContactPerson: {\n email: Array;\n firstName: string;\n lastName: string;\n phoneNumber: Array;\n };\n}\n\n/**\n * An interface for loading address\n */\nexport interface LoadingAddress {\n id: string;\n customerName?: string | null;\n streetName: string;\n houseNumber: string;\n city: string;\n postalCode: string;\n country?: string;\n facilityName?: string;\n facilityCode?: string;\n customerCode?: string;\n suburb?: string;\n type?: FACILITY_TYPES;\n}\n\n/**\n * An enum to hold the type of facilities\n */\nexport enum FACILITY_TYPES {\n CUSTOMER_FACILITY = \"customerFacility\"\n}\n/**\n * @summary To get transformed customer facility\n * @param {CustomerFacility} facility\n * @returns {LoadingAddress | null}\n */\nexport const transformCustomerFacility = (facility: CustomerFacility): LoadingAddress | null => {\n if (!facility) return null;\n return {\n id: facility.facilityGeoId,\n customerName: null,\n streetName: facility.postalAddress?.streetName,\n houseNumber: facility.postalAddress?.buildingNo,\n city: facility.cityName,\n postalCode: facility.postalAddress?.postCode,\n suburb: facility.postalAddress?.suburb,\n country: facility.countryName,\n facilityName: facility.facilityName,\n facilityCode: facility.facilityCode,\n customerCode: facility.customerScvCode,\n type: FACILITY_TYPES.CUSTOMER_FACILITY\n };\n};\n/**\n * An enum to hold the confirm button types\n */\nexport enum CONFIRM_BUTTON_TYPES {\n ADD = \"Add\",\n EDIT = \"Edit\"\n}\n/**\n * @summary Gets the loading addresses\n * @param facilitiesData Response from bo api\n * @returns {Array | []}\n */\nexport const transformLoadingAddresses = (facilitiesData: Array): Array | [] => {\n if (!facilitiesData) {\n return [];\n }\n const loadingAddresses: Array = [];\n facilitiesData\n .filter(facility => facility.facilityContactAddress?.facilityCode && facility.facilityContactAddress?.customerCode)\n .forEach(facility => {\n loadingAddresses.push({\n id: facility.facilityContactAddress?.facilityCode,\n customerName: facility.facilityContactAddress?.customerName,\n customerCode: facility.facilityContactAddress?.customerCode,\n facilityName: facility.facilityContactAddress?.facilityName,\n facilityCode: facility.facilityContactAddress?.facilityCode,\n streetName:\n (facility.facilityContactAddress?.line1Address ? `${facility.facilityContactAddress?.line1Address}` : \"\") +\n (facility.facilityContactAddress?.line2Address ? `, ${facility.facilityContactAddress?.line2Address}` : \"\") +\n (facility.facilityContactAddress?.line3Address ? `, ${facility.facilityContactAddress?.line3Address}` : \"\"),\n houseNumber: facility.facilityContactAddress?.streetNumber,\n city: facility.facilityContactAddress?.city,\n country: facility.facilityContactAddress?.country,\n postalCode: facility.facilityContactAddress?.postalAddressCode\n });\n });\n\n return loadingAddresses;\n};\n\n/**\n * An enum to hold the reference type\n */\nexport enum REFERENCE {\n UCR = \"UCR\",\n BOOKING_COMMODITY = \"bookingCommodity\",\n DUBAI_TRADE_CODE = \"dubaiTradeCode\",\n CUSTOMER_HS_CODE = \"customerHSCode\"\n}\n","var map = {\n\t\"./accessError.vue\": [\n\t\t\"627f\",\n\t\t\"view-accessError-vue\"\n\t],\n\t\"./additionalDetails.vue\": [\n\t\t\"c3e8\",\n\t\t\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\",\n\t\t\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\",\n\t\t\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-sailings-vue~view-vasView-vue\",\n\t\t\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-vasView-vue\",\n\t\t\"view-additionalDetails-vue\"\n\t],\n\t\"./cancelBooking.vue\": [\n\t\t\"a991\",\n\t\t\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\",\n\t\t\"view-cancelBooking-vue\"\n\t],\n\t\"./changeOfDestination.vue\": [\n\t\t\"a2ee\",\n\t\t\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\",\n\t\t\"view-changeOfDestination-vue\"\n\t],\n\t\"./confirmation.vue\": [\n\t\t\"6b23\",\n\t\t\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\",\n\t\t\"view-confirmation-vue~view-sailings-vue\",\n\t\t\"view-confirmation-vue\"\n\t],\n\t\"./featureFlagSettings.vue\": [\n\t\t\"5b21\",\n\t\t\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\",\n\t\t\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\",\n\t\t\"view-featureFlagSettings-vue\"\n\t],\n\t\"./od3cp.vue\": [\n\t\t\"4cbd\",\n\t\t\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\",\n\t\t\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\",\n\t\t\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-sailings-vue~view-vasView-vue\",\n\t\t\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-vasView-vue\",\n\t\t\"view-od3cp\"\n\t],\n\t\"./review.vue\": [\n\t\t\"7e28\",\n\t\t\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\",\n\t\t\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\",\n\t\t\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-sailings-vue~view-vasView-vue\",\n\t\t\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-vasView-vue\",\n\t\t\"view-review-vue\"\n\t],\n\t\"./sailings.vue\": [\n\t\t\"1530\",\n\t\t\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\",\n\t\t\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-sailings-vue~view-vasView-vue\",\n\t\t\"view-confirmation-vue~view-sailings-vue\",\n\t\t\"view-sailings-vue\"\n\t],\n\t\"./vasView.vue\": [\n\t\t\"0a79\",\n\t\t\"view-additionalDetails-vue~view-confirmation-vue~view-featureFlagSettings-vue~view-od3cp~view-review~2b218ea8\",\n\t\t\"view-additionalDetails-vue~view-cancelBooking-vue~view-changeOfDestination-vue~view-featureFlagSetti~a1983911\",\n\t\t\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-sailings-vue~view-vasView-vue\",\n\t\t\"view-additionalDetails-vue~view-od3cp~view-review-vue~view-vasView-vue\",\n\t\t\"view-vasView-vue\"\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"1a5d\";\nmodule.exports = webpackAsyncContext;","import { StatusInfo } from \"./common\";\n\ninterface Surcharge {\n freightType: string;\n containerQuantity: number;\n instanceId: string;\n action: string;\n currency: string;\n description: string;\n equipmentInstanceId: string;\n entityTypeRelates: string;\n quantity: number;\n quoteId: number;\n additionalInformation: string;\n isMaerskAccelerate: boolean;\n lineItemNumber: string;\n additionalFreeDays: string;\n amendmentNumber: string;\n effectivePeriod: {\n dateRangeBegin: string;\n dateRangeEnd: string;\n };\n offeredLevel: string;\n isAdditionalInfoRequired: boolean;\n additionalInfo: string;\n isQuantityRequired: boolean;\n rateId: string;\n rateUnit: string;\n rateAsFiled: number;\n conversionRate: number;\n amountInRequestCurrency: number;\n amount: number;\n shipmentEquipmentAssignmentIds: Array;\n totalFreeDays: string;\n containerGrade: string;\n isRestricted: boolean;\n isContract: boolean;\n isSupportedVas: boolean;\n state?: string;\n}\n\ninterface CustomSurcharge {\n productGroupId: CUSTOM_SURCHARGE_PRODUCT_IDS;\n productGroupName: string;\n productId: string;\n productName: string;\n productDescription: string;\n preContractedCustomer: boolean;\n totalPrice: {\n amount: number;\n currencyIsoCode: string;\n };\n references?: [\n {\n reference: string;\n referenceType: {\n referenceTypeName: string;\n };\n }\n ];\n}\n\nexport enum CUSTOM_SURCHARGE_PRODUCT_IDS {\n EXPORT_CLEARANCE = \"exportCustomsClearance\",\n IMPORT_CLEARANCE = \"importCustomsClearance\"\n}\n\nexport interface VasDetails {\n surcharges: Array;\n customSurcharges: Array;\n statusInfos?: Array;\n isNoVasesPriceAvailable: boolean;\n}\n","import { getUserCredential, getJwt, decodeJwtBody, redirectToLogin } from \"@maersk-global/shared-js\";\n\nconst accessErrorPageOffice = { name: \"accessError\", params: { errorType: \"office\" } };\nconst accessErrorPagePermission = { name: \"accessError\", params: { errorType: \"permission\" } };\n\n/**\n * Checks whether the user can access this application\n * Redirects to Login or an error page depending on what is missing\n * @param {*} next The next route\n * @param {*} redirectPath Where to redirect to after login success\n */\nexport const checkAccess = function(next, redirectPath, params) {\n if (isLoggedIn()) {\n if (!hasOffice()) {\n return next(accessErrorPageOffice);\n }\n if (!hasBookingRole()) {\n return next(accessErrorPagePermission);\n }\n return next();\n } else {\n redirectToLogin(`${redirectPath}${params ?? \"\"}`);\n }\n};\n\nfunction isLoggedIn() {\n const jwt = getJwt();\n const jwtDecoded = decodeJwtBody(jwt);\n const error = jwt && jwt.error;\n const expired = jwtDecoded && jwtDecoded.exp && jwtDecoded.exp < Date.now() / 1000;\n return jwt && !error && !expired;\n}\n\n/**\n * Does the user have an office param in their JWT?\n */\nexport const hasOffice = function() {\n return !!getUserCredential(\"office\");\n};\n\n/**\n * Does the user have the roles of \"booking\"\n */\nexport const hasBookingRole = function() {\n return !!getUserCredential(\"roles\")?.find(role => role.toLowerCase() === \"booking\");\n};\n\n/**\n * Does the user have the role of \"militarybooking\"\n */\nexport const hasMilitaryBookingRole = function() {\n return !!getUserCredential(\"roles\")?.find(role => role.toLowerCase() === \"militarybooking\");\n};\n\n/**\n * @description reads the jwt and identifies if user is internal or not.\n * @returns {boolean}\n */\nexport const isInternalUser = function() {\n return !!getUserCredential(\"roles\")?.find(role => role.toLowerCase() === \"maerskinternal\");\n};\n","import { kgsToLbs, lbsToKgs, getCustomerCode } from \"@maersk/shared-js\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { getCityGeoId } from \"@/lib/od3cp/od3cpUtilities\";\nimport { getCargoWeight, getContainer, getMappedPriceOwner } from \"./mappersUtilities\";\nimport { PARTY_KEYS_DATASET } from \"../../enums\";\n\n/**\n * Map the Dataset API's response to od3cpFormData\n */\n\n/**\n * @description\n * Maps alternate pickup location from Dataset API into od3cpFormData\n * @param {Object} dataSet - response object from DataSet API\n * @returns {{location: null, defaultLocation: (*|null)}}\n */\nexport function mapAlternatePickupLocation(dataSet) {\n return {\n location: null,\n defaultLocation: getCityGeoId(dataSet?.alternatePickupLocation?.cityGeoId) || null\n };\n}\n\n/**\n * @description\n * Maps location service (origin, destination) info from Dataset API into od3cpFormData\n * @param {Object} dataSet - response object from DataSet API\n * @returns {{origin: {serviceMode: string, location: null, defaultLocation: (*|null)}, destination: {serviceMode: string, location: null, defaultLocation: (*|null)}}}\n */\nexport function mapLocationServiceMode(dataSet) {\n return {\n origin: {\n location: null,\n defaultLocation: dataSet?.originLocation?.cityGeoId || null,\n serviceMode: dataSet?.exportServiceMode || \"CY\"\n },\n destination: {\n location: null,\n defaultLocation: dataSet?.destinationLocation?.cityGeoId || null,\n serviceMode: dataSet?.importServiceMode || \"CY\"\n }\n };\n}\n\n/**\n * @description\n * Maps commodity info from Dataset API into od3cpFormData\n * @param {Object} dataSet - response object from DataSet API\n * @param {Object} defaultCommodity - commodity model from initial state\n * @return {{commodity: {commodityCode: [*]|string|*}, dangerousCargo: *, temperatureControl: *}|*}\n */\nexport function mapCommodity(dataSet, defaultCommodity) {\n if (!defaultCommodity) {\n return null;\n }\n if (!dataSet) {\n return defaultCommodity;\n }\n if (dataSet.cargoDetails && Array.isArray(dataSet.cargoDetails)) {\n const cargoDetailsData = dataSet.cargoDetails[0];\n if (cargoDetailsData && cargoDetailsData.commodityCode) {\n return {\n ...defaultCommodity,\n commodity: {\n commodityCode: cargoDetailsData.commodityCode\n }\n };\n }\n }\n return defaultCommodity;\n}\n\n/**\n * @description\n * Maps container info from Dataset API into od3cpFormData\n * @param {Array} dataSet - full Dataset API response\n * @param {String} measurementUnitPreference - user measurements unit preference (KGS or LBS)\n * @return {Object} mapped container info for od3cpFormData\n */\nexport function mapContainers(dataSet, measurementUnitPreference) {\n const containers = (dataSet?.cargoDetails || [])[0]?.containers;\n const convertWeight = measurementUnitPreference === constants.weightUnits.kgs ? lbsToKgs : kgsToLbs;\n\n return (containers || []).map(c => {\n let cargoWeight = getCargoWeight({\n cargoWeight: c.cargoWeights[0].cargoWeight,\n weightMeasurementUnit: c.cargoWeights[0].weightMeasurementUnit,\n convertWeight,\n measurementUnitPreference\n });\n\n const container = getContainer({\n containerDetails: c,\n cargoWeight\n });\n return {\n ...container,\n shipmentEquipmentAssignmentIds: c.shipmentEquipmentAssignmentIds,\n sspId: c.sspId\n };\n });\n}\n\n/* Maps price owner information\n * @param {Object} brData Full booking request API response\n * @return {SelectedPriceOwner} Selected Price owner data\n */\nexport function mapPriceOwner(dataSet) {\n return getMappedPriceOwner({\n parties: dataSet?.parties,\n partyCodeKey: PARTY_KEYS_DATASET.PARTY_CODE,\n referenceKey: PARTY_KEYS_DATASET.REFERENCE\n });\n}\n\nexport function mapBookedBy(dataSet) {\n return {\n contactCodes: {\n contactScvCode: dataSet?.bookedByContactScvCode\n },\n customerCodes: {}, // the PartyCard component needs this\n name: dataSet?.bookedByContactName // amend shows this as name\n };\n}\n\n/**\n * Maps party information for the Parties store\n * They will have to be verified first and only the valid ones gets displayed in the UI\n * @param {Object} dataSet - full Dataset API response\n * @param {boolean} mapReferences - is passed as true it would store references\n * @return {Array} List of { scvCode, roleCode , reference}. Last is dependent of second param\n */\nexport function mapParties(dataSet, mapReferences = false) {\n return (dataSet?.parties || []).map(({ scvCode, roleCode, reference }) =>\n mapReferences ? { scvCode, roleCode, reference } : { scvCode, roleCode }\n );\n}\n","import {\n ContainerCoachMarkDataType,\n ContainerSelect,\n ContainerSelectWithId,\n ContainerType\n} from \"@/common/utils/types\";\n\n/**\n * @description returns true if any of the container has change in soc. We do this by comparing of all containers by old and new\n * @param {Array} old\n * @param {Array} new\n * @returns {boolean}\n */\nexport const anyChangeInSoc = function(old: Array, _new: Array): boolean {\n if (old.length !== _new.length) return false;\n return old.some((containerSelect: ContainerSelect, index: number) => {\n return containerSelect.shipperOwnContainer.checked !== _new[index].shipperOwnContainer.checked;\n });\n};\n\n/**\n * @description returns true if any of the container display name has changed. We do this by comparing of all containers by old and new\n * @param {Array} old\n * @param {Array} new\n * @returns {boolean}\n */\nexport const anyChangeInContainerTypeDisplayName = function(old: Array, _new: Array) {\n if (old.length !== _new.length) return false;\n return old.some((containerSelect, index) => {\n return (\n containerSelect?.containerType?.sizeTypeDisplayName &&\n containerSelect?.containerType?.sizeTypeDisplayName !== _new[index]?.containerType?.sizeTypeDisplayName\n );\n });\n};\n\n/**\n * @description Maps containers\n * @param {Array} containers\n * @returns {Array}\n * Note: This can be removed once we release(containerDepartures) the new API\n */\nexport const mapDepartureContainers = function(containers: Array): Array {\n if (!containers?.length) return [];\n const isDepartureContainers = containers.some(\n (containerSelect: ContainerSelect) => !!containerSelect.containerType?.heightCd\n );\n if (!isDepartureContainers) return containers;\n return containers.map((containerSelect: ContainerSelect) => {\n return {\n ...containerSelect,\n ...(containerSelect.containerType && {\n containerType: {\n ...containerSelect.containerType,\n unitOfMeasurementAbbreviationVal: containerSelect.containerType.heightCd\n }\n })\n };\n });\n};\n\n/**\n * @description Maps containers\n * @param {Array} containers\n * @returns {Array}\n * Note: This can be removed once we release (containerDepartures) the new API\n */\nexport const mapDepartureContainerTypes = function(containerTypes: Array): Array {\n if (!containerTypes?.length) return [];\n const isDepartureContainerTypes = containerTypes.some((containerType: ContainerType) => !!containerType?.heightCd);\n if (!isDepartureContainerTypes) return containerTypes;\n return containerTypes.map((containerType: ContainerType) => {\n return {\n ...containerType,\n unitOfMeasurementAbbreviationVal: containerType.heightCd\n };\n });\n};\n\n/**\n * Extracts container data from the given query parameters.\n *\n * This function iterates over the keys of the `queryParams` object. If a key starts with \"b.lines\",\n * it splits the key into parts and extracts the index and property name. It then adds the property\n * to the corresponding object in the `containers` array. If the object doesn't exist yet, it creates\n * a new one.\n *\n * @param {Object.} queryParams - The query parameters to extract container data from.\n * @returns {Object.[]} An array of container objects. Each object represents a line\n * with properties extracted from the query parameters.\n */\nexport const getContainersFromQueryParams = (queryParams: { [key: string]: string }): { [key: string]: string }[] => {\n const containers: { [key: string]: string }[] = [];\n for (const key in queryParams) {\n if (key.startsWith(\"b.lines\")) {\n const parts = key.split(\".\");\n const indexMatch = parts[1].match(/\\d+/);\n const index = indexMatch ? parseInt(indexMatch[0]) : 0;\n const property = parts[2];\n if (!containers[index]) {\n containers[index] = {};\n }\n containers[index][property] = queryParams[key];\n }\n }\n return containers;\n};\n\n/**\n * @description in case we are using MDS ContainerSelect then we need to add container type details\n * @param containers\n * @param containerTypes\n * @returns\n */\nexport const decorateContainerType = (\n containers: ContainerSelectWithId[] | ContainerSelectWithId[],\n containerTypes: ContainerType[]\n): ContainerSelect[] => {\n return containers.map(container => {\n if (Object.keys(container.containerType).length != 1) return container as ContainerSelect;\n //else we need to decorate it\n\n const containerType = containerTypes.find(\n e => e.isoContainerSizeTypeCd === container.containerType.isoContainerSizeTypeCd\n );\n if (!containerType)\n throw new Error(`Container type not found for ${container.containerType.isoContainerSizeTypeCd}`);\n container.containerType = containerType;\n return container as ContainerSelect;\n });\n};\nexport const getNewContainerConfiguration = (containers: ContainerSelect[] = []) => {\n //What if user is duplicating the booking and wants to add new container??\n const anySocContainer = containers.some(e => e.shipperOwnContainer.checked);\n const anyIrtContainer = containers.some(e => e.importReturnContainer.checked);\n const anyFlexiContainer = containers.some(e => e.flexiTankContainer?.checked);\n return {\n shipperOwnContainer: {\n checked: anySocContainer,\n //we want new container to be disabled since we would have 1 container and this configuration is used for 2(and onwards) container\n disabled: true\n },\n importReturnContainer: {\n //we want new container to be disabled since we would have 1 container and this configuration is used for 2(and onwards) container\n checked: anyIrtContainer,\n disabled: true\n },\n overSizedCargo: {\n checked: false,\n disabled: false\n },\n flexiTankContainer: {\n //since this is configuration and controls are on component this configuration is fine.\n checked: anyFlexiContainer,\n disabled: false,\n show: false\n }\n };\n};\n\n/**\n * @description marks all checkboxes as disabled. Call this function when we want to disable all checkboxes and mark them as consistent\n * @param {ContainerSelect[]} containers\n * @returns {ContainerSelect[]}\n */\nexport const markContainerCheckboxesAsDisabled = (containers: ContainerSelect[]): ContainerSelect[] => {\n const isSocChecked = containers.some(e => e.shipperOwnContainer.checked);\n const isIrtChecked = containers.some(e => e.importReturnContainer.checked);\n const values = containers.map(container => {\n return {\n ...container,\n shipperOwnContainer: {\n ...container.shipperOwnContainer,\n checked: isSocChecked,\n disabled: true\n },\n importReturnContainer: {\n ...container.importReturnContainer,\n disabled: true,\n checked: isIrtChecked\n }\n };\n });\n return values;\n};\n\nexport const updateSocAndIrtChecksForAmend = (containers: ContainerSelect[]): ContainerSelect[] => {\n const isSocChecked = containers.some(e => e.shipperOwnContainer.checked);\n const isIrtChecked = containers.some(e => e.importReturnContainer.checked);\n const values = containers.map(container => {\n return {\n ...container,\n shipperOwnContainer: {\n ...container.shipperOwnContainer,\n checked: isSocChecked,\n disabled: isSocChecked || containers?.length > 1 // we can do non soc to soc (single container type) but not vice versa\n },\n importReturnContainer: {\n ...container.importReturnContainer,\n disabled: true, //in amend we can can't change it\n checked: isIrtChecked //if even one is checked then all should be checked\n }\n };\n });\n return values;\n};\n\nexport const mapContainersForMdsContainerSelect = (\n containers: ContainerSelectWithId[] | ContainerSelectWithId[],\n containerTypes: ContainerType[],\n { isAmendBooking }: { isAmendBooking: boolean }\n): ContainerSelect[] => {\n const decorated = decorateContainerType(containers, containerTypes);\n if (isAmendBooking) return updateSocAndIrtChecksForAmend(decorated);\n if (decorated.length > 1) return markContainerCheckboxesAsDisabled(decorated);\n return decorated;\n};\n\n/**\n * @description handles checkbox state for flexi tank container\n * @param {ContainerSelect[]} containers\n * @param {number} index container index\n * @returns {ContainerSelect[]}\n */\nexport const updateFlexiTankChecks = (containers: ContainerSelect[], index: number): ContainerSelect[] => {\n if (index < 0 || index >= containers.length) {\n throw new Error(\"Index out of bounds flexi tank checks\");\n }\n\n return containers.map((container, cid) => {\n if (cid !== index) return container;\n\n const isFirstContainer = index === 0;\n const shouldShowFlexiTank = isFlexiTankContainer(container);\n const previousChecked = isFirstContainer ? false : containers[index - 1]?.flexiTankContainer?.checked ?? false;\n\n return {\n ...container,\n flexiTankContainer: {\n ...container.flexiTankContainer,\n show: shouldShowFlexiTank,\n checked: isFirstContainer ? Boolean(container?.flexiTankContainer?.checked) : Boolean(previousChecked),\n disabled: Boolean(container.flexiTankContainer?.disabled) // Ensure disabled is always a boolean\n }\n };\n });\n};\n\nexport const isFlexiTankContainer = (container: ContainerSelect): boolean => {\n return !!container?.containerType?.flexiTankFlag;\n};\n\n/**\n * @description handles checkbox state for oog container\n * @param {ContainerSelect[]} containers\n * @param {number} index container index\n * @returns {ContainerSelect[]}\n */\nexport const updateOogChecks = (containers: ContainerSelect[], index: number): ContainerSelect[] => {\n if (index < 0 || index >= containers.length) {\n throw new Error(\"Index out of bounds oog checks\");\n }\n\n return containers.map((container, cid) => {\n if (cid !== index) return container;\n\n const shouldShowOog = isOogContainer(container);\n\n return {\n ...container,\n overSizedCargo: {\n ...container.overSizedCargo,\n show: shouldShowOog,\n checked: shouldShowOog,\n disabled: Boolean(container.overSizedCargo?.disabled) // Ensure disabled is always a boolean\n }\n };\n });\n};\n\nexport const isOogContainer = (container: ContainerSelect): boolean => {\n return !!container?.containerType?.outOfGaugeCargoFlag;\n};\n\n/**\n * @description Handles coachmark data for a container and stores it in localStorage.\n * @param {string} personId The ID of the person\n * @param {ContainerCoachMarkDataType} data The coachmark data to be stored\n * @returns {void} This function does not return anything.\n */\nexport const storeCoachmarkData = (personId: string, data: ContainerCoachMarkDataType): void => {\n const storageData = {\n displayCount: data.displayCount || 0,\n userClosed: !!data.userClosed,\n jwt: data.jwt || null,\n personId: data.personId || personId,\n previousJwt: data.previousJwt || null\n };\n localStorage.setItem(personId, JSON.stringify(storageData));\n};\n\n/**\n * @description Retrieves coachmark data for a container from localStorage.\n * @param {string} personId - The ID of the person.\n * @returns {ContainerCoachMarkDataType | null} The parsed coachmark data if available, otherwise null.\n */\nexport const getStoredCoachmarkData = (personId: string): ContainerCoachMarkDataType | null => {\n const storedData = localStorage.getItem(personId);\n if (!storedData) return null;\n return JSON.parse(storedData) as ContainerCoachMarkDataType;\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { constants, getCurrentEnvironmentVariables } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion } from \"@/common/utils/generic/featureFlagService\";\nimport { cleanup } from \"@/common/utils/http/payloadCleaner\";\nimport { getQueryStringParams } from \"@/common/utils/generic/queryParamBuilder.js\";\n\n/**\n * Booking Requests API\n */\n\n/**\n * Releases (abandons) details associated with a booking\n * @param {String} correlationId\n * @param {Object} payload - { routeScheduleId, bookingJourneyPage, date, code, reason }\n * @returns {Promise}\n */\nexport async function releaseBooking(correlationId, payload) {\n if (!correlationId) {\n throw new Error(\"releaseBooking: correlationId is missing\");\n }\n\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.bookingRequests}/${correlationId}/release`,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n correlationId: correlationId,\n ...getFeatureVersion()\n }\n });\n}\n\n/**\n * Creates additional details associated with a booking\n * @param {String} correlationId\n * @param {String} bookingType\n * @param {Object} payload\n * @returns {Promise}\n */\nexport async function createAdditionalDetails({ correlationId }, payload) {\n if (!correlationId) {\n throw new Error(\"additionalDetails: correlationId is missing\");\n }\n payload = cleanup(payload);\n // Cleanup is all fine, however, references can't be null, it's an array\n if (!payload.additionalReferences) {\n payload.additionalReferences = [];\n }\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${\n constants.ENDPOINTS.bookingRequests\n }/${correlationId}/additionalDetails`,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n correlationId: correlationId,\n ...getFeatureVersion()\n }\n });\n}\n\n/**\n * Submits the booking to the booking request service for confirmation\n * @param {String} correlationId\n * @param {{routeScheduleId: String, bookingType: String, additionalEmail: String, isInsuranceAcknowledged: Boolean}} payload\n * @returns {Promise} API response\n */\nexport async function triggerSubmitProcess(correlationId, payload) {\n if (!correlationId) {\n throw new Error(\"triggerSubmitProcess: correlationId is missing\");\n }\n payload = cleanup(payload);\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${\n constants.ENDPOINTS.bookingRequests\n }/${correlationId}/triggerSubmitProcess`,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n correlationId: correlationId,\n ...getFeatureVersion()\n }\n });\n}\n\n/**\n * Submits the booking in offline mode\n * @param {String} correlationId\n * @param {Object} payload\n * @return {Promise}\n */\nexport function offlineSubmitProcess(correlationId, payload) {\n if (!correlationId) {\n throw new Error(\"offlineSubmitProcess: correlationId is missing\");\n }\n payload = cleanup(payload);\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${\n constants.ENDPOINTS.bookingRequests\n }/${correlationId}/offlineSubmitProcess`,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n ...getFeatureVersion()\n }\n });\n}\n\n/**\n * Submits the booking in offline mode\n * @param {String} correlationId\n * @return {Promise}\n */\nexport function amendmentsBookingDeltaInformation(correlationId) {\n if (!correlationId) {\n throw new Error(\"amendmentBookingDeltaInformation: correlationId is missing\");\n }\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${\n constants.ENDPOINTS.bookingRequests\n }/${correlationId}/amendments`,\n method: \"GET\",\n headers: {\n ...getFeatureVersion()\n }\n });\n}\n\n/**\n * Gets the booking information\n * @param {String} bookingNumber\n * @returns {Promise}\n */\nexport async function getBookingInfo(bookingNumber, params = {}) {\n if (!bookingNumber) {\n throw new Error(\"getBookingInfo: bookingNumber is missing\");\n }\n\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${\n constants.ENDPOINTS.bookingRequests\n }/bookings/${bookingNumber}${getQueryStringParams(params)}`,\n method: \"GET\",\n headers: {\n \"Application-Id\": \"SSIB\",\n ...getFeatureVersion()\n }\n });\n}\n\n/**\n * Booking Options API\n * Gets the booking options for the vas & additional details page\n * @param {string} correlationId\n * @param {bookingOptionsPayload} payload\n * @returns {Promise}\n */\nexport const fetchBookingOptions = (correlationId, payload) => {\n if (!correlationId || !payload) {\n throw new Error(\"Booking options payload or cid is missing\");\n }\n\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${\n constants.ENDPOINTS.bookingRequests\n }/${correlationId}/booking-options`,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n correlationId: correlationId,\n \"Application-Id\": \"SSIB\",\n ...getFeatureVersion()\n }\n });\n};\n","interface ErrorMetadata {\n code: string;\n description: string;\n name?: string;\n}\n\nexport const errorList: { [key: string]: ErrorMetadata } = {\n //OD3CP Exception Codes\n cargoWeightValidationFailure: {\n code: \"BI_CW_W_1\",\n description: \"Cargo weight limits could not be validated due to service unavailability\"\n },\n nacExceptionType1: {\n code: \"BI_NA_BE_1\",\n description: \"Customer selected previously used NAC due to No NAC found\"\n },\n nacExceptionType2: {\n code: \"BI_NA_BE_2\",\n description: \"Customer selected previously used NAC due to NAC service unavailable\"\n },\n nacExceptionType3: {\n code: \"BI_NA_BE_3\",\n description: \"Customer selected NAC from CMD\"\n },\n nacExceptionType4: {\n code: \"BI_NA_BE_4\",\n description: \"Customer selected NAC from CMD due to NAC service unavailability\"\n },\n nacInfoType1: {\n code: \"BI_NA_I_1\",\n description: \"Customer did not select any NAC\"\n },\n nacInfoType2: {\n code: \"BI_NA_I_2\",\n description: \"Customer did not select any NAC due to NAC service unavailability\"\n },\n contractInfoType1: {\n code: \"BI_CM_I_1\",\n description: \"Service Contract entered manually\"\n },\n contractChangeWarningType1: {\n code: \"BI_CM_W_1\",\n description: \"Service contract changed from {ServiceContractNumberInSourceBooking} to {ServiceContractSelected}\",\n name: \"Contract\"\n },\n adfUnavailableFacilitiesDown: {\n code: \"RD_FM_TE_1\",\n description: \"Depot details not found because of service unavailability {API_code}\"\n },\n configurableItems: {\n code: \"BI_CI_W_1\",\n description: \"Configurable items service unavailability\"\n },\n containerLimitExceeded: {\n code: \"BI_BE_01\",\n description: \"Number of containers selected exceeds maximum threshold currently set as {value}\"\n },\n vasDown: {\n code: \"RD_VAS_W_1\",\n description: \"Value added services could not be fetched {API_code}\"\n },\n rulesReferencesDown: {\n code: \"RD_SR_W_1\",\n description: \"Business rules for references could not be validated {API_code}\"\n },\n rulesPartiesDown: {\n code: \"RD_PR_W_1\",\n description: \"Business rules for parties could not be validated {API_code}\"\n },\n manualPartyAdded: {\n code: \"RD_CM_TE_39\",\n description: \"Manual party was added\"\n },\n cargoInsuranceStatusType1: {\n code: \"BI_CI_I_1\",\n description: \"Insurance available and customer does not have PAYG agreement\"\n },\n cargoInsuranceStatusType2: {\n code: \"BI_CI_I_2\",\n description: \"Insurance available and customer has PAYG agreement\"\n },\n cargoInsuranceStatusType3: {\n code: \"BI_CI_I_3\",\n description: \"Insurance not available for the Price Owners Country\"\n },\n cargoInsuranceStatusType4: {\n code: \"BI_CI_I_4\",\n description: \"Insurance not available for the commodity\"\n },\n cargoInsuranceStatusType5: {\n code: \"BI_CI_I_5\",\n description: \"Insurance not available for the origin\"\n },\n cargoInsuranceStatusType6: {\n code: \"BI_CI_I_6\",\n description: \"Insurance not available for the destination\"\n },\n cargoInsuranceStatusError: {\n code: \"BI_CI_W_2\",\n description: \"Unable to check for insurance availability\"\n },\n dangerousCargoException: {\n code: \"BI_DG_1\",\n description: \"Commodity type change\"\n },\n\n // Reefer Settings Exception Codes\n nonOperationalReeferException: {\n code: \"RF_NR_X_1\",\n description: \"The booking was not instantly confirmed online because NOR booking\"\n },\n reeferSubTypeException: {\n code: \"RF_TP_X_1\",\n description: \"The booking was not instantly confirmed online because reefer sub-type is other than Standard\"\n },\n gensetImportException: {\n code: \"RF_GS_X_1\",\n description: \"The booking was not instantly confirmed online because including Genset Import\"\n },\n gensetExportException: {\n code: \"RF_GS_X_2\",\n description: \"The booking was not instantly confirmed online because including Genset Export\"\n },\n\n // Reefer Settings API Exception Codes\n reeferSettingsApiNotAvailable: {\n code: \"RF_MD_X_1\",\n description:\n \"Reefer Template could not be retrieved due to SMDS technical issues. See Reefer settings for further details\"\n },\n\n //Sailings Exception Codes\n aflsRatesError: {\n code: \"SS_RM_W_1\",\n description: \"Rates unavailable {API_code}\"\n },\n aflsRatesErrorForFts: {\n code: \"SS_PMA_I_3\",\n description: \"AFLS Ratemanager call failure\"\n },\n aflsCLIRatesForFts: {\n code: \"SS_PMA_I_2\",\n description: \"Call to PMA not triggered due to contract rate returned from AFLS\"\n },\n\n //Details Exception Codes\n cargoInsuranceQuoteType1: {\n code: \"RD_CI_W_1\",\n description: \"Unable to retrieve quote due to service unavailability\"\n },\n cargoInsuranceQuoteType2: {\n code: \"RD_CI_W_2\",\n description: \"Unable to retrieve quote due to service time out\"\n },\n cargoInsuranceQuoteType3: {\n code: \"RD_CI_I_1\",\n description:\n \"{errorCode} Insurance coverage is not available for selected value(s) – Origin, Destination, Commodity, Route, Cargo value\"\n },\n cargoInsuranceQuoteType4: {\n code: \"RD_CI_I_2\",\n description: \"API error {errorCode}\"\n },\n manualSDLoadAddress: {\n code: \"RD_SD_BE_2\",\n description: \"User had selected any manual SD load address in forward journey\"\n },\n SDLoadDateTime: {\n code: \"RD_SD_BE_1\",\n description: \"The selected load date/time does not meet instant criteria\"\n },\n\n //Review Exception Codes\n sanctions: {\n code: \"RB_SM_TE_1\",\n description: \"Business rules for sanctions could not be validated {API_code}\"\n },\n cargoInsuranceBindFailed: {\n code: \"RB_CI_W_1\",\n description: \"[API code] Failed to bind quote to policy due to service error\"\n },\n cargoInsuranceBindServiceTimeout: {\n code: \"RB_CI_W_2\",\n description: \"Bind policy Service timeout\"\n },\n cargoInsuranceBindServiceError: {\n code: \"RB_CI_W_3\",\n description: \"Failed to bind quote to policy due to service unavailability\"\n },\n\n // Not an exception code but we send this code in case /workflowLogs fails of errorType 'error' or 'exception'\n workflowFailureErrorOrException: {\n code: \"WKFX02\",\n description: \"Audit log service unavailability\",\n name: \"workflow\"\n },\n containerGateInError: {\n code: \"BI_BE_1\",\n name: \"containerGatedIn\",\n description: \"The Amendment was not instantly confirmed online as a container has already been gated in\"\n },\n ftsFailure: {\n code: \"SS_PMA_W_1\",\n description: \"Technical issue. Reply from PMA was not received/could not be read. Booking journey continued on SSIB\"\n },\n // error code for Container pickedUp/gatedIn staus along with OD3C Change for Amend\n // Stop redirecting to SSP\n containerPickedUpError: {\n code: \"AM_CM_TE_01\",\n name: \"Booking details was amended after container pick-up\",\n description: \"Booking details was amended after container pick-up\"\n }\n};\n","/**\n * The party keys used to filter or map parties from dataset\n */\nexport enum PARTY_KEYS_DATASET {\n PARTY_CODE = \"scvCode\",\n NAME = \"customerTradingName\",\n REFERENCE = \"reference\",\n CMD_CODE = \"cmdCode\",\n ROLE_CODE = \"roleCode\",\n CMD_ADDRESS = \"cmdAddress\",\n SSP_ADDRESS = \"sspAddress\"\n}\n\n/**\n * The party keys used to filter or map parties from booking request\n */\nexport enum PARTY_KEYS_BOOKING_REQUEST {\n PARTY_CODE = \"maerskPartyCode\",\n NAME = \"companyName\",\n REFERENCE = \"partyReference\",\n CMD_CODE = \"cmdCode\",\n ROLE_CODE = \"roleCode\",\n COMPANY_ADDRESS = \"companyAddress\"\n}\n\n/**\n * The party keys used to filter or map in the booking journey(e.g used by community components)\n */\nexport enum PARTY_KEYS_BOOKING {\n PARTY_CODE = \"scvCode\",\n REFERENCE = \"reference\"\n}\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion } from \"@/common/utils/generic/featureFlagService\";\n\n/**\n * Gets the cargo insurance status for the given route and price owner\n * @param { Object:{carrierCode:String,origin:String,destination:String,commodityCode:Array[String],priceOwnerCode:String}} payload\n * @returns {Promise} API response\n */\nexport const cargoInsuranceStatus = async function({\n carrierCode,\n origin,\n destination,\n commodityCode = [],\n priceOwnerCode\n}) {\n const urlBase = `${getCurrentEnvironmentVariables().apiDomain}/cargoInsurancePolicies/-/cargoInsuranceStatus`;\n\n const payload = {\n carrierCode: carrierCode.toUpperCase(),\n origin,\n destination,\n commodityCode,\n priceOwnerCode\n };\n const headers = {\n requestDate: new Date().toISOString(),\n ...getFeatureVersion()\n };\n const commodityCodes = commodityCode.map(c => `commodityCode=${c}`).join(\"&\");\n let url = `${urlBase}?carrierCode=${payload.carrierCode}&origin=${origin}&destination=${destination}&priceOwnerCode=${priceOwnerCode}&${commodityCodes}`;\n\n return executeRequest({ url, headers });\n};\n\n/**\n * Retrieves a quote for cargo insurance\n * @param {Object} payload\n * @param {String} userId\n * @returns API response. If good, this will include a quoteId which is needed when accepting the quote\n */\nexport const getInsuranceQuote = async function(\n userId,\n payload = {\n carrierCode,\n shipmentNumber,\n priceOwnerCode,\n quoteId,\n origin,\n destination,\n commoditiesBooked: [\n {\n commodityCode,\n currencyCode,\n cargoValue,\n frozenChilled\n }\n ],\n country,\n agreementId,\n captainPeter\n }\n) {\n const url = `${getCurrentEnvironmentVariables().apiDomain}/cargoInsurancePolicies/-/cargoInsuranceQuoteRequests`;\n\n const headers = {\n requestDate: new Date().toISOString(),\n userId: userId,\n ...getFeatureVersion()\n };\n\n return executeRequest({\n url,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers\n });\n};\n\n/**\n * Note - this API times out after a set number of seconds and throws an error\n * @param {Integer} quoteId The unique identifier for an insurance quote\n * @param {Object} payload AcceptQuote payload\n * @param {String} userId The userid of the person making the booking.\n * @returns {Promise} API response\n */\nexport async function acceptInsuranceQuote(quoteId, payload, userId) {\n if (!quoteId) {\n throw new Error(\"acceptInsuranceQuote: quoteId is missing\");\n }\n if (!userId) {\n throw new Error(\"acceptInsuranceQuote: userId is missing\");\n }\n\n const headers = {\n requestDate: new Date().toISOString(),\n userId: userId,\n ...getFeatureVersion()\n };\n\n return await timeout(\n constants.bindCargoInsuranceTimeout,\n Promise.resolve(\n executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}/cargoInsurancePolicies/-/cargoInsuranceQuotes/${quoteId}`,\n method: \"PATCH\",\n body: JSON.stringify(payload),\n headers\n })\n )\n );\n}\n\n// Timeout code from https://stackoverflow.com/questions/46946380/fetch-api-request-timeout\nfunction timeout(ms, promise) {\n return new Promise((resolve, reject) => {\n const timer = setTimeout(() => {\n reject(new Error(\"TIMEOUT\"));\n }, ms);\n\n promise\n .then(value => {\n clearTimeout(timer);\n resolve(value);\n })\n .catch(reason => {\n clearTimeout(timer);\n reject(reason);\n });\n });\n}\n","const cleanupItems: Array = [\n undefined,\n null,\n `\"\"`,\n `''`,\n \"undefined\",\n \"null\",\n \"\",\n \"{}\",\n \"[]\"\n];\n\n/***\n * @param {Object} payload\n */\nexport const cleanup = (payload: any): any => {\n if (!(!payload || typeof payload !== \"object\")) {\n Object.keys(payload).forEach(key => {\n if (typeof payload[key] === \"object\") {\n cleanup(payload[key]);\n }\n payload = checkAndDeleteProp(payload, key);\n });\n }\n return payload;\n};\nconst checkAndDeleteProp = (payload: any, key: any): any => {\n if (Array.isArray(payload[key])) {\n payload[key] = payload[key].filter((item: any) => item !== null || item !== undefined);\n }\n if (payload.hasOwnProperty(key) && cleanupItems.includes(JSON.stringify(payload[key]))) {\n delete payload[key];\n }\n return payload;\n};\n","import {\n BrParty,\n CargoWeightInput,\n GetContainerInput,\n GetMappedNacFromBookingDataInput,\n GetMappedPriceOwnerFromBookingDataInput,\n MappedBookedByContactFromBrData,\n MappedContainerToCompare,\n SelectedContainer,\n SelectedPriceOwner,\n SelectedNac,\n GetMappedPartyFromBookingDataInput,\n MappedPartyFromBookingData,\n ImoDetailsDangerousGoods,\n AdditionalInformationDangerousGoods,\n PackingInformationDangerousGoods,\n WeightsMeasuresInformationDangerousGoods,\n UnitsBrDgResponse,\n MappedBookedByForDepartures,\n MappedPartyForDataset,\n BrLocation,\n MappedLocationForDataset,\n PackagingBrResponse,\n PackagingTypeResponse,\n Substance,\n ReeferDetails,\n BrContainer,\n DangerousGoodContainer,\n DangerousGoodsSetting,\n BrDgMapperData\n} from \"../../types\";\nimport { getCustomerCode } from \"@maersk/shared-js\";\nimport { getCityGeoId, transformNacInfo } from \"@/lib/od3cp/od3cpUtilities\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { PARTY_KEYS_DATASET, PARTY_KEYS_BOOKING_REQUEST } from \"../../enums\";\nimport {\n ActiveTemplate,\n GcssUnit,\n getCargoProbesRangeValues,\n getUnitTemperature,\n getUnitVolume,\n ReeferData,\n ReeferStateDetails\n} from \"@/lib/reefer/reeferUtilities\";\nimport { deepClone } from \"@/common/utils/generic/deepClone\";\nimport {\n BookingDataForOogWithType,\n generateBookingDataForOogWithType,\n generateOutOfGaugeDataWithType\n} from \"@/lib/oogCargo/oogUtilities\";\nimport { getAdditionaSegFromBrData } from \"@/lib/dangerousGoods/dgUtilities\";\nimport departureContainers from \"@/common/utils/generic/departureContainers.json\";\nimport { isFeatureEnabled } from \"@/common/utils/generic/featureFlagService\";\n\n/**\n * @description\n * Gets the container info\n * @param {GetContainerInput} containerInput - container input\n * @return {SelectedContainer}\n */\nexport function getContainer(containerInput: GetContainerInput): SelectedContainer {\n if (!containerInput?.containerDetails) return {} as SelectedContainer;\n return {\n containerType: {\n isoContainerSizeTypeCd: containerInput.containerDetails.isoCode\n },\n quantity: Number(containerInput.containerDetails.quantity),\n weightPerContainer: containerInput.cargoWeight,\n shipperOwnContainer: {\n checked: Boolean(containerInput.containerDetails?.isShipperOwned),\n disabled: false\n },\n importReturnContainer: {\n checked: Boolean(containerInput.containerDetails?.isImportReturned),\n disabled: false\n },\n overSizedCargo: {\n checked: Boolean(containerInput.containerDetails?.isOutOfGauge),\n disabled: false,\n show: containerInput.containerDetails?.allowedOogContainers?.includes(containerInput?.containerDetails?.isoCode)\n },\n ...(isFeatureEnabled(constants.featureFlags.enableFlexiTank.name) && {\n flexiTankContainer: {\n checked: Boolean(containerInput.containerDetails?.isFlexiTank),\n disabled: false,\n show: containerInput?.containerDetails?.allowedFlexiTankContainers?.includes(\n containerInput?.containerDetails?.isoCode\n )\n }\n })\n };\n}\n\n/**\n * @description\n * Gets the cargo weight\n * @param {GetContainerInput} cargoWeightDetails - cargo weight details input\n * @return {CargoWeightInput}\n */\nexport function getCargoWeight(cargoWeightDetails: CargoWeightInput): number {\n const cargoWeightFromDB = Number(cargoWeightDetails.cargoWeight);\n const measurementUnitFromDB = cargoWeightDetails.weightMeasurementUnit;\n\n let cargoWeight = cargoWeightFromDB;\n if (cargoWeightDetails.measurementUnitPreference !== measurementUnitFromDB) {\n cargoWeight = Math.round(cargoWeightDetails.convertWeight(cargoWeightFromDB));\n }\n return cargoWeight;\n}\n\n/**\n * @description\n * Gets the origin service mode from br data\n * @param {Object} brData - booking request data\n * @return {String | null}\n */\nexport function getOriginServiceModeFromBrData(brData: any): string | null {\n return brData?.transport?.exportServiceMode ?? null;\n}\n\n/**\n * @description\n * Gets the destination service mode from br data\n * @param {Object} brData - booking request data\n * @return {String | null}\n */\nexport function getDestinationServiceModeFromBrData(brData: any): string | null {\n return brData?.transport?.importServiceMode ?? null;\n}\n\n/**\n * @description\n * Gets the origin location mode from br data\n * @param {Object} brData - booking request data\n * @return {String | null}\n */\nexport function getOriginLocationFromBrData(brData: any): string | null {\n return brData?.transport?.routeDetails?.placeOfReceipt?.maerskCityGeoId ?? null;\n}\n\n/**\n * @description\n * Gets the origin location mode from br data\n * @param {Object} brData - booking request data\n * @return {String | null}\n */\nexport function getDestinationLocationFromBrData(brData: any): string | null {\n return brData?.transport?.routeDetails?.placeOfDelivery?.maerskCityGeoId ?? null;\n}\n\n/**\n * @description\n * Gets the alternate pickup location mode from br data\n * @param {Object} brData - booking request data\n * @return {String | null}\n */\nexport function getAlternatePickupLocationFromBrData(brData: any): string | null {\n return getCityGeoId(brData?.transport?.routeDetails?.alternatePickupLocation?.maerskCityGeoId) ?? null;\n}\n\n/**\n * @description\n * Gets the alternate pickup location mode from br data\n * @param {Object} brData - booking request data\n * @return {String | null}\n */\nexport function getCommodityCodeFromBrData(brData: any): string | null {\n return brData?.cargo?.maerskCommodityCode ?? null;\n}\n\n/**\n * @description\n * Gets the mapped container details from original booking data\n * @param {Object} brData - booking request data\n * @return {String | null}\n */\nexport function getMappedContainersDetailsFromOriginalData(\n containers: SelectedContainer[]\n): MappedContainerToCompare[] {\n return (containers || []).map(container => {\n return {\n isoCode: container.containerType.isoContainerSizeTypeCd,\n quantity: container.quantity,\n cargoWeight: container.weightPerContainer.toString(),\n isShipperOwned: container.shipperOwnContainer.checked,\n isOutOfGauge: container.overSizedCargo.checked,\n isImportReturned: container.importReturnContainer.checked\n };\n });\n}\n\n/**\n * Maps price owner information\n * If the loggedIn users svcCode is the same as the PO from the response, I am the price owner is\n * selected in the UI. Maps into priceOwner store\n * @param {Object} data Parties object from dataset OR booking request API response\n * @return {SelectedPriceOwner} Selected Price owner data\n */\nexport function getMappedPriceOwner(\n data: GetMappedPriceOwnerFromBookingDataInput\n): SelectedPriceOwner | null {\n const priceOwner = (data?.parties || []).find(\n party => Number(party.roleCode) === constants.userRolesByName[\"Price Owner\"]\n );\n\n if (!priceOwner) return null; // no Price owner\n return {\n selectedOption:\n priceOwner[data.partyCodeKey] === getCustomerCode()\n ? constants.priceOwnerRadioOptions.PO\n : constants.priceOwnerRadioOptions.SELECT,\n scvCode: priceOwner[data.partyCodeKey] ?? null,\n reference: priceOwner[data.referenceKey] ?? null\n };\n}\n\n/**\n * @description\n * Gets the booked by contact from booking request data\n * @param {Object} brData - booking request data\n * @return {MappedBookedByContactFromBrData}\n */\nexport function getBookedByContactFromBrData(brData: any): MappedBookedByContactFromBrData {\n const bookedByContact: BrParty = brData?.parties?.find(\n (party: BrParty) => party.roleName === constants.bookedByContact\n );\n return {\n maerskPartyCode: bookedByContact?.maerskPartyCode ?? null,\n cmdCode: bookedByContact?.cmdCode ?? null,\n name: bookedByContact?.name ?? null\n };\n}\n\n/**\n * @description\n * Gets the NAC from booking request/ dataset data\n * @param {GetMappedNacFromBookingDataInput} data\n * @return {SelectedNac | {}}\n */\nexport function getMappedNacFromBookingData(\n data: GetMappedNacFromBookingDataInput\n): SelectedNac | {} {\n const nacData = data.parties?.find(party => {\n return party?.roleCode?.toString() === constants.userRoles.NAC;\n });\n if (nacData) {\n return transformNacInfo({\n maerskPartyCode: nacData[data.partyCodeKey],\n fullName: nacData[data.nameKey]\n }) as SelectedNac;\n }\n return {};\n}\n\n/**\n * Maps the party PO and NAC\n * @param {GetMappedPartyFromBookingDataInput} data\n * @returns {MappedPartyFromBookingData[]}\n */\nexport const mapParty = (\n data: GetMappedPartyFromBookingDataInput\n): MappedPartyFromBookingData[] => {\n return data?.parties\n ?.filter(party => {\n return [constants.userRoles.NAC, constants.userRoles.PRICE_OWNER].includes(party?.roleCode?.toString());\n })\n .map(filteredParty => {\n return {\n roleCode: filteredParty.roleCode.toString(),\n scvCode: filteredParty[data.partyCodeKey]\n };\n })\n .sort((a, b) => {\n return Number(a.roleCode) > Number(b.roleCode) ? 1 : -1;\n });\n};\n\n/**\n * @description Get the selected amendment from the amendments response\n */\nconst getAmendment = (amendment: { [key: string]: string }, naNumber: boolean, brDgSetting: any) =>\n naNumber\n ? amendment.type === constants.imdgAmendmentTypes.cfr && amendment.isDefault\n : amendment?.versionName?.split?.(\"-\")?.[1] === brDgSetting?.imdgAmendment;\n\nconst getImoValue = (value: string | undefined, field?: string): string | null => {\n // Backend sends '-' for empty ems values, hence we need to save it in store as null\n if (field === constants.EMS && value === \"-\") return null;\n return value ?? null;\n};\n/***\n * Maps the IMO details\n * @params {Object} brDgSetting - booking request data\n * @params {Array} imdgAmendmentsResponse\n * @returns {ImoDetailsDangerousGoods}\n */\nexport function getImoDetails(\n brDgSetting: any,\n imdgAmendmentsResponse: any,\n isAmendBookingAndDgAmendEnabled: boolean\n): ImoDetailsDangerousGoods {\n const naNumber: boolean = !!brDgSetting?.naNumber;\n\n const splitPsnFullText = (psnFull: string): [string | null, string | null] => {\n const substances = imdgAmendmentsResponse?.find?.((amendment: { [key: string]: string }) =>\n getAmendment(amendment, naNumber, brDgSetting)\n )?.substances;\n\n // Edge case scenario in case of an expired IMDG version used in original booking or when this Fn is called before amendment api gets resolved\n if (!substances) return [null, null];\n\n const sortedSubstances = JSON.parse(JSON.stringify(substances))?.sort?.(\n (s1: any, s2: any) => s2?.psn?.length - s1?.psn?.length\n );\n\n // Eg.: When psnFull is \"CARTRIDGES FOR WEAPONS, Division 1.1A.\", _psn is CARTRIDGES FOR WEAPONS, _variation is Division 1.1A.\n const _psn = sortedSubstances?.find?.((s: Substance) => psnFull.startsWith?.(s?.psn))?.psn;\n let _variation;\n if (!_psn || _psn?.length === psnFull?.length) _variation = null;\n else _variation = psnFull?.substring?.(_psn?.length + 2);\n return [getImoValue(_variation?.trim()), getImoValue(_psn?.trim())];\n };\n\n const unNumber = brDgSetting?.[naNumber ? \"naNumber\" : \"unNumber\"] ?? null;\n const substance: Substance = imdgAmendmentsResponse\n ?.find?.((amendment: { [key: string]: string }) => getAmendment(amendment, naNumber, brDgSetting))\n ?.substances?.find((s: { [key: string]: string }) => s.class === brDgSetting?.imoClass && s.unNo === unNumber);\n\n const [variation, shippingName]: [string | null, string | null] = splitPsnFullText(\n brDgSetting?.otherInformation?.properShippingName\n );\n\n return {\n additionalSegregation: isAmendBookingAndDgAmendEnabled\n ? []\n : getAdditionaSegFromBrData(brDgSetting?.otherInformation?.additionalSegregationGroup),\n originalAdditionalSegregation: isAmendBookingAndDgAmendEnabled\n ? getAdditionaSegFromBrData(brDgSetting?.otherInformation?.additionalSegregationGroup)\n : [],\n amendment: imdgAmendmentsResponse.find?.(\n (amendment: { [key: string]: string }) => amendment.versionName?.split?.(\"-\")?.[1] === brDgSetting?.imdgAmendment\n )?.versionName,\n amendmentId: brDgSetting?.imdgAmendmentId,\n classification: brDgSetting?.imoClass,\n imoClassificationId: brDgSetting?.imoClassId,\n displayShippingName: getImoValue(brDgSetting?.otherInformation?.properShippingName),\n displayUNNumber: `(${substance?.unNo}) ${substance?.psn}`,\n unNumberId: brDgSetting?.unNumberId,\n emergencyCode1: getImoValue(brDgSetting?.otherInformation?.emsRangeStart, constants.EMS),\n emergencyCode2: getImoValue(brDgSetting?.otherInformation?.emsRangeEnd, constants.EMS),\n marinePollutant: brDgSetting?.otherInformation?.marinePollutant === \"P\",\n naNumber,\n segregation: (brDgSetting?.otherInformation?.segregationGroup || [])?.map?.((seg: { [key: string]: string }): {\n instanceId: number;\n segregationName: string;\n } => ({\n instanceId: Number(seg.id),\n segregationName: seg.name\n })),\n shippingName,\n subrisk1: getImoValue(brDgSetting?.otherInformation?.subRisk1),\n subrisk2: getImoValue(brDgSetting?.otherInformation?.subRisk2),\n suffix: brDgSetting?.otherInformation?.suffix ?? null,\n suffixId: brDgSetting?.otherInformation?.suffixId,\n technicalName: getImoValue(brDgSetting?.otherInformation?.technicalName),\n unNumber,\n variant: null,\n variation\n };\n}\n\n// Extract either metric or imperial values based on the user settings of unit for weights, measures and temperatures of dangerous goods\nfunction getUnitValue(responseArray: UnitsBrDgResponse[], unit: string): string | null {\n return responseArray?.find?.((unitObject: UnitsBrDgResponse) => unitObject?.unit === unit)?.value ?? null;\n}\n\n/***\n * Maps the additional information details\n * @params {Object} brDgSetting - booking request data\n * @params {boolean} useMetric\n * @returns {AdditionalInformationDangerousGoods}\n */\nexport function getAdditionalInformation(brDgSetting: any, useMetric: boolean): AdditionalInformationDangerousGoods {\n const unit: string = useMetric ? constants.temperatureUnits.celsius : constants.temperatureUnits.fahrenheit;\n\n return {\n contactNumber: brDgSetting?.otherInformation?.emergencyContact?.contactPhoneNumber?.phoneNumber ?? null,\n controlTemperature: getUnitValue(brDgSetting?.otherInformation?.controlTemperature, unit),\n countryCode: brDgSetting?.otherInformation?.emergencyContact?.contactPhoneNumber?.countryCallingCode ?? null,\n emergencyContact: brDgSetting?.otherInformation?.emergencyContact?.contactName ?? null,\n emergencyTemperature: getUnitValue(brDgSetting?.otherInformation?.emergencyTemperature, unit),\n flashPoint: getUnitValue(brDgSetting?.otherInformation?.flashPointTemperature, unit),\n sadt: getUnitValue(brDgSetting?.otherInformation?.sadtTemperature, unit)\n };\n}\n\n/***\n * Maps the Packaging details\n * @params {Object} brDgSetting - booking request data\n * @params {Array} packagingType\n * @returns {PackingInformationDangerousGoods}\n */\nexport function getPackingInformation(brDgSetting: any, packagingType: any): PackingInformationDangerousGoods {\n const outerPackingType: string = brDgSetting?.packagingDetails?.outerPackaging?.packageStyle;\n const outerPackagingObject: PackagingTypeResponse = packagingType?.find(\n (pType: { description: string }) => pType?.description === outerPackingType\n );\n const displayOuterPacking: string = `${outerPackagingObject?.description} (${outerPackagingObject?.packageStyleCode})`;\n return {\n displayInnerPacking: \"\",\n displayOuterPacking,\n innerPackingType: \"\",\n innerPackingTypeQuantity: 0,\n innerPackings: brDgSetting?.packagingDetails?.innerPackaging?.map?.((p: PackagingBrResponse) => ({\n code: p?.packageStyleCode,\n id: p?.packageStyleKey,\n quantity: Number(p?.packageCount),\n type: p?.packageStyle,\n instanceId: p?.instanceId,\n fkCargoPackageOuterPackage: p?.fkCargoPackageOuterPackage\n })) ?? [\n {\n code: null,\n id: null,\n quantity: null,\n type: null\n }\n ],\n outerPacking: {\n code: brDgSetting?.packagingDetails?.outerPackaging?.packageStyleCode,\n id: brDgSetting?.packagingDetails?.outerPackaging?.packageStyleKey,\n quantity: Number(brDgSetting?.packagingDetails?.outerPackaging?.packageCount),\n type: brDgSetting?.packagingDetails?.outerPackaging?.packageStyle,\n instanceId: brDgSetting.packagingDetails?.outerPackaging?.instanceId\n },\n outerPackingType: \"\",\n outerPackingTypeQuantity: 0,\n packingGroup: brDgSetting?.packagingDetails?.commodityPackagingGroup ?? null,\n packingGroupQuantity:\n constants.packingQuantityTypeOptions.find((p: string): boolean =>\n p.startsWith(brDgSetting?.packagingDetails?.commodityPackagingType)\n ) ?? null,\n selectedInnerPackingInstanceId: \"\",\n selectedOuterPackingInstanceId: \"\"\n };\n}\n\n/***\n * Maps the Weights and Measures details\n * @params {Object} brDgSetting - booking request data\n * @param {boolean} useMetric\n * @returns {WeightsMeasuresInformationDangerousGoods}\n */\nexport function getWeightsMeasuresInformation(\n brDgSetting: any,\n useMetric: boolean\n): WeightsMeasuresInformationDangerousGoods {\n const unit: string = useMetric ? constants.weightUnits.kgs : constants.weightUnits.lbs;\n return {\n grossWeight: getUnitValue(brDgSetting?.weightsAndMeasures?.grossWeight, unit),\n netExplosiveContent: getUnitValue(brDgSetting?.weightsAndMeasures?.netExplosiveContentWeight, unit),\n netWeight: getUnitValue(brDgSetting?.weightsAndMeasures?.netWeight, unit),\n volume: brDgSetting?.weightsAndMeasures?.volume?.[0]?.value ?? null\n };\n}\n/**\n * @description\n * Gets the booked by from booking data for departures payload\n * @param {Object} party - party data\n * @param {String} dataSource - booking requests or dataset\n * @return {MappedBookedByForDepartures}\n */\nexport function getBookedByForDepartures(\n party: { [key: string]: any },\n dataSource: string\n): MappedBookedByForDepartures {\n const partyKey =\n dataSource === constants.bookingDataSource.bookingRequest ? PARTY_KEYS_BOOKING_REQUEST : PARTY_KEYS_DATASET;\n return {\n roleName: constants.bookedBy,\n roleCode: constants.userRolesByName[constants.bookedBy],\n companyAddress: (party?.sspAddress || party?.companyAddress)?.replace(/\\n/g, \" , \") || null,\n scvCode: party[partyKey.PARTY_CODE],\n cmdCode: party[partyKey.CMD_CODE],\n companyName: party[partyKey.NAME],\n partyReference: party[partyKey.REFERENCE]\n };\n}\n\n/**\n * @description\n * Gets the mapped party data for dataset payload\n * @param {Object} party - The party data\n * @param {String} dataSource - The original dats source (booking requests or dataset)\n * @return {MappedPartyForDataset}\n */\nexport function mapPartiesForDataset(party: { [key: string]: any }, dataSource: string): MappedPartyForDataset {\n const partyKey =\n dataSource === constants.bookingDataSource.bookingRequest ? PARTY_KEYS_BOOKING_REQUEST : PARTY_KEYS_DATASET;\n return {\n scvCode: party[partyKey.PARTY_CODE],\n customerTradingName: party[partyKey.NAME],\n roleCode: party[partyKey.ROLE_CODE],\n reference: party[partyKey.REFERENCE],\n cmdCode: party[partyKey.CMD_CODE] || undefined,\n ...(dataSource === constants.bookingDataSource.bookingRequest && {\n sspAddress: party[PARTY_KEYS_BOOKING_REQUEST.COMPANY_ADDRESS] || undefined\n }),\n ...(dataSource !== constants.bookingDataSource.bookingRequest && {\n sspAddress: party[PARTY_KEYS_DATASET.SSP_ADDRESS],\n cmdAddress: party[PARTY_KEYS_DATASET.CMD_ADDRESS] || undefined\n })\n };\n}\n\n/**\n * @description\n * Gets the mapped location data for dataset payload\n * @param {BrLocation} location - The location data\n * @return {MappedLocationForDataset}\n */\nexport function mapLocationFromBrForDataset(location: BrLocation): MappedLocationForDataset | {} {\n if (!location) return {};\n return {\n cityRkstCode: location.maerskCityCode,\n cityGeoId: location.maerskCityGeoId,\n cityName: location.cityName,\n siteRkstCode: location.maerskSiteCode,\n siteGeoId: location.maerskSiteGeoId,\n siteName: location.siteName,\n countryCode: location.countryCode,\n countryGeoId: location.maerskCountryGeoId,\n countryName: location.countryName\n };\n}\n\n/**\n * @description Returns the relevant reefer container code for the reefer container type from booking request API\n * @param {ReeferData} reeferData\n * @returns {string}\n */\nexport function mapReeferContainerCode(reeferData: ReeferData): string | null {\n return (\n constants.gcssReeferContainerCodes.get(`${reeferData.reeferContainerType}, ${reeferData.coldTreatment}`) ?? null\n );\n}\n\n/**\n * @description Maps the reefer cargo probes data from booking request API to reefer store\n * @param {ReeferData} reeferData\n * @param {ActiveTemplate} activeTemplate\n * @param {boolean} isOriginalContainerTypePresent\n * @returns { number | null }\n */\nexport function mapReeferCargoProbes(\n reeferData: ReeferData,\n activeTemplate: ActiveTemplate,\n isOriginalContainerTypePresent: boolean\n): number | null {\n if (!activeTemplate?.commodityCode) return 0;\n const { min, max } = getCargoProbesRangeValues(activeTemplate);\n if (min !== 0 && !min) return null;\n\n if (\n !isOriginalContainerTypePresent ||\n (min && reeferData?.noOfCargoProbes < min) ||\n (min && max && reeferData?.noOfCargoProbes > max)\n )\n return min;\n return reeferData?.noOfCargoProbes ?? null;\n}\n\n/**\n * @description Maps the reefer humidity data from booking request API to reefer store\n * @param {ReeferData} reeferData\n * @param {ActiveTemplate} activeTemplate\n * @returns { string }\n */\nexport function mapReeferHumidity(reeferData: ReeferData, activeTemplate: ActiveTemplate): string {\n return activeTemplate.humidityIndicator\n ? String(reeferData?.humidity)?.toUpperCase() ?? null\n : constants.radioOptions.disable;\n}\n\n/**\n * @description Maps the reefer Ethylene filter data from booking request API to reefer store\n * @param {ReeferData} reeferData\n * @param {ActiveTemplate} activeTemplate\n * @param {boolean} isOriginalContainerTypePresent\n * @returns {string | null }\n */\nexport function mapReeferEthyleneFilter(\n reeferData: ReeferData,\n activeTemplate: ActiveTemplate,\n isOriginalContainerTypePresent: boolean\n): string | null {\n const etheleneFilterInteger = Number(activeTemplate.ethyleneFilter);\n const validEthyleneFilter = !!etheleneFilterInteger && etheleneFilterInteger >= Number(reeferData?.ethyleneFilter);\n if (isOriginalContainerTypePresent && validEthyleneFilter) return String(reeferData?.ethyleneFilter);\n return etheleneFilterInteger > 0 ? activeTemplate.ethyleneFilter : null;\n}\n\n/**\n * @description Maps the reefer temperature data from booking request API to reefer store\n * @param {ReeferData} reeferData\n * @param {boolean} isOriginalContainerTypePresent\n * @param {boolean} useMetric\n * @returns {string | null }\n */\nexport function mapReeferTemperature(\n reeferData: ReeferData,\n isOriginalContainerTypePresent: boolean,\n useMetric: boolean\n): string | null {\n if (!isOriginalContainerTypePresent) return null;\n const [celsiusValue, fahrenheitValue] = getUnitTemperature(\n reeferData?.temperature?.value,\n reeferData?.temperature?.unit\n );\n return useMetric ? celsiusValue?.toFixed(1) ?? null : fahrenheitValue?.toFixed(1) ?? null;\n}\n\n/**\n * @description Maps the reefer ventilation data from booking request API to reefer store\n * @param {ReeferData} reeferData\n * @param {boolean} isOriginalContainerTypePresent\n * @param {boolean} useMetric\n * @returns {string | null }\n */\nexport function mapReeferVentilationVolume(\n reeferData: ReeferData,\n isOriginalContainerTypePresent: boolean,\n useMetric: boolean\n) {\n if (!isOriginalContainerTypePresent) return null;\n const [cuMeterValue, cuFeetValue] = getUnitVolume(reeferData?.ventilation?.value, reeferData?.ventilation?.unit);\n return useMetric ? cuMeterValue?.toFixed(0) ?? null : cuFeetValue?.toFixed(0) ?? null;\n}\n\n/**\n * @description Maps the reefer drain hole data from booking request API to reefer store\n * @param {ReeferData} reeferData\n * @param {ActiveTemplate} activeTemplate\n * @returns {string | null }\n */\nexport function mapReeferDrainHoles(reeferData: ReeferData, activeTemplate: ActiveTemplate): string {\n if (typeof activeTemplate?.drainHoles !== \"boolean\")\n return reeferData?.drainHoles ?? constants.openClosedRadioOptions.closed;\n return activeTemplate?.drainHoles ? constants.openClosedRadioOptions.open : constants.openClosedRadioOptions.closed;\n}\n\n/**\n * @description returns temperature and ventilation as number to compare against original & amend data\n * @param {string | GcssUnit}reeferData\n * @param {boolean} isVentilation\n * @param {boolean} useMetric\n * @returns {number | null}\n */\nconst getFormattedTemperatureOrVentilation = (\n reeferData: string | GcssUnit,\n isVentilation: boolean,\n precision: number = 0,\n useMetric: boolean = true\n): number | null => {\n if (!reeferData) return null;\n if (typeof reeferData === \"string\") {\n const value: number | null = !isNaN(+reeferData) ? +reeferData : null;\n return reeferData?.trim().length ? value : null;\n }\n const [metricValue, imperialValue] = isVentilation\n ? getUnitVolume(reeferData.value, reeferData.unit)\n : getUnitTemperature(reeferData.value, reeferData.unit);\n const formattedValue = useMetric\n ? metricValue?.toFixed(precision) ?? null\n : imperialValue?.toFixed(precision) ?? null;\n return formattedValue ? +formattedValue : null;\n};\n\n/**\n * @description Maps the reefer details from booking request and returns in the format to compare between original and amend data\n * @param {ReeferData} reeferData\n * @param {boolean} useMetric\n * @returns {ReeferDetails | null}\n */\nexport const getMappedReeferDetailsFromBookingRequest = (\n reeferData: ReeferData,\n useMetric: boolean\n): ReeferDetails | null => {\n if (!reeferData) return null;\n const { hotStuffing, instanceId, commodityReeferSettingsId, ventilation, ...restData } = deepClone(reeferData);\n const containerCode = mapReeferContainerCode(restData);\n const getKeyValue = (value: string | number): string | number | null => value ?? null;\n const reeferDetails: ReeferDetails = {\n ...restData,\n temperature: getFormattedTemperatureOrVentilation(\n restData.temperature,\n false,\n constants.numberPrecisions.temperature,\n useMetric\n ),\n ventilationVolume: getFormattedTemperatureOrVentilation(\n ventilation,\n true,\n constants.numberPrecisions.ventilation,\n useMetric\n ),\n reeferContainerType: containerCode,\n controlledAtmosphere: containerCode ? constants.controlledAtmosphereContainerCodes.includes(containerCode) : false,\n humidityPercentage: getKeyValue(restData.humidityPercentage),\n oxygenPercentage: getKeyValue(restData.oxygenPercentage),\n carbonDioxidePercentage: getKeyValue(restData.carbonDioxidePercentage),\n ethyleneFilter: getKeyValue(restData.ethyleneFilter),\n noOfCargoProbes: getKeyValue(restData.noOfCargoProbes)\n };\n return reeferDetails;\n};\n\n/**\n * @description Maps the oog details from booking request and returns in the format to compare between original and amend data\n * @param {Array} containerDetails\n * @param {string} measurementUnitPreference\n * @returns {Array | null }\n */\n\nexport const getMappedOogDetailsFromBookingRequest = (\n containerDetails: Array,\n measurementUnitPreference: string\n): Array | null => {\n const oogDetails: Array = [];\n containerDetails.forEach((container: BrContainer, index: number) => {\n if (!container?.isOutOfGauge) return;\n const currentTypeOogDetails: BookingDataForOogWithType = generateBookingDataForOogWithType(\n container,\n index,\n measurementUnitPreference\n );\n oogDetails.push(currentTypeOogDetails);\n });\n if (oogDetails.length) return oogDetails;\n return null;\n};\n\n/**\n * @description Maps the oog details from store and returns in the format to compare between original and amend data\n * @param {any} rootGetters\n * @returns {Array | null}\n */\n\nexport const getMappedOogDetailsFromCurrentState = (rootGetters: any): Array | null => {\n const oogDetails: Array = [];\n const containerSelect = rootGetters[\"OD3CP/getContainerSelect\"];\n containerSelect.forEach((container: SelectedContainer, index: number) => {\n if (!container?.overSizedCargo?.checked) return;\n const currentTypeOogDetails: BookingDataForOogWithType = generateOutOfGaugeDataWithType(\n rootGetters,\n index,\n container?.quantity\n );\n oogDetails.push(currentTypeOogDetails);\n });\n if (oogDetails.length) return oogDetails;\n return null;\n};\n\n/**\n * @description Maps the reefer details from store and returns in the format to compare between original and amend data\n * @param {ReeferStateDetails} reeferData\n * @param {string | null} containerCode\n * @returns {ReeferDetails | null}\n */\nexport const getMappedReeferDetailsFromCurrentState = (\n reeferData: ReeferStateDetails,\n containerCode: string | null\n): ReeferDetails | null => {\n if (!reeferData) return null;\n const { commodityReeferSettingsId, ...restData } = reeferData;\n const reeferDetails: ReeferDetails = {\n ...restData,\n temperature: getFormattedTemperatureOrVentilation(\n restData.temperature,\n false,\n constants.numberPrecisions.temperature\n ),\n ventilationVolume: getFormattedTemperatureOrVentilation(\n restData.ventilationVolume,\n true,\n constants.numberPrecisions.ventilation\n ),\n reeferContainerType: containerCode,\n humidityPercentage: restData.humidityPercentage ?? null,\n ethyleneFilter: restData.ethyleneFilter ?? 0,\n noOfCargoProbes: restData.noOfCargoProbes ?? 0\n };\n return reeferDetails;\n};\n\n/**\n * @description Maps the Dg details from store and returns in the format in which it was originally loaded to the store with isSame false\n * @param {any} rootGetters\n * @returns {Array}\n */\nexport const mapDgContainersFromCurrentState = (rootGetters: any): Array => {\n const dgContainers: Array = [];\n rootGetters[\"dangerousSettingsData/getSameDangerousDetailsAllContainers\"].forEach(\n (isSameForCurrentType: boolean, typeIndex: number) => {\n const currentContainerSetting: Array = rootGetters[\n \"dangerousSettingsData/getDgContainerSettingsByType\"\n ](typeIndex);\n if (!isSameForCurrentType) {\n dgContainers.push(...currentContainerSetting);\n return;\n }\n const currentTypeQuantity = rootGetters[\"OD3CP/getContainerSelect\"]?.[typeIndex]?.quantity;\n const typeName = rootGetters[\"OD3CP/getContainerSelect\"]?.[typeIndex]?.containerType?.sizeTypeDisplayName;\n dgContainers.push(\n ...Array.from({ length: currentTypeQuantity }, (_, index) => ({\n typeIndex,\n index,\n typeName,\n settings: currentContainerSetting[0]?.settings?.length ? deepClone(currentContainerSetting[0].settings) : []\n }))\n );\n }\n );\n return dgContainers;\n};\n\n/**\n * @description Utility method to map dg details from booking endpoint\n * @returns {DangerousGoodContainer[]}\n */\nexport function getSortedDgSettings({\n settings,\n currentSetting,\n i,\n dgDetails,\n imdgAmendmentsResponse,\n isAmendBookingAndDgAmendEnabled,\n useMetric,\n packingType,\n bookingData\n}: BrDgMapperData): DangerousGoodContainer[] {\n const settingObject: DangerousGoodsSetting | null =\n Object.keys(dgDetails[i]).length === 1\n ? null\n : {\n instanceId: currentSetting.instanceId,\n imoDetails: {\n ...getImoDetails(currentSetting, imdgAmendmentsResponse, isAmendBookingAndDgAmendEnabled)\n },\n additionalInformation: { ...getAdditionalInformation(currentSetting, useMetric) },\n packingInformation: { ...getPackingInformation(currentSetting, packingType) },\n weightsMeasuresInformation: { ...getWeightsMeasuresInformation(currentSetting, useMetric) }\n };\n\n const [index, typeIndex, typeName]: [number, number, string | null] = getContainerIndexes(\n bookingData.equipmentAndHaulage.containerDetails,\n currentSetting.containerInstanceId\n );\n const containerIndex: number = settings.findIndex(\n (cont: DangerousGoodContainer) => cont.index === index && cont.typeIndex === typeIndex\n );\n if (containerIndex > -1 && !!settingObject) settings[containerIndex].settings.push(settingObject);\n else settings.push({ index, typeIndex, typeName, settings: !!settingObject ? [settingObject] : [] });\n\n return settings.sort((c1: DangerousGoodContainer, c2: DangerousGoodContainer) => {\n if (c1.typeIndex === c2.typeIndex) {\n return c1.index > c2.index ? 1 : -1;\n }\n return 0;\n });\n}\n\nfunction getContainerIndexes(containerDetails: BrContainer[], containerId?: string): [number, number, string | null] {\n if (!Array.isArray(containerDetails)) return [0, 0, \"\"];\n\n let index = 0;\n let typeIndex = 0;\n\n const containerType = containerDetails.find((containerDetail: BrContainer, containerTypeIndex: number) => {\n typeIndex = containerTypeIndex;\n index = containerDetail.containerInstanceIds?.findIndex((instanceId: string) => instanceId === containerId);\n return index != -1;\n });\n\n return [index, typeIndex, getContainerName(containerType)];\n}\n\nfunction getContainerName(container: BrContainer | undefined) {\n return (\n departureContainers.find((_container: any) => _container.isoContainerSizeTypeCd === container?.isoCode)\n ?.sizeTypeDisplayName ?? null\n );\n}\n","import { sendGAEvent } from \"@/common/utils/analytics/ga\";\nimport { isFeatureEnabled } from \"@/common/utils/generic/featureFlagService\";\nimport { constants } from \"@/lib/CONSTANTS.js\";\n\n/**\n * Creating an object to store global context for RUM events\n */\nconst globalContext = {};\nconst selectedSailingContext = {\n selectedOffer: {},\n selectedAdditionalDetails: {}\n};\nconst selectedRecommendationContext = {\n inlandRecommendationSelect: {},\n inlandRecommendationSubmit: {},\n inlandRecommendationSearch: {}\n};\nconst inlandKeys = {\n inlandRecommendationSelect: { rumKey: \"inlandRecommendationSelect\", gaKey: \"InlandRecommendationSelect\" },\n inlandRecommendationSubmit: { rumKey: \"inlandRecommendationSubmit\", gaKey: \"InlandRecommendationSubmit\" },\n inlandRecommendationSearch: { rumKey: \"inlandRecommendationSearch\", gaKey: \"InlandRecommendationSearch\" }\n};\n\n// function to stringify nested objects\nfunction stringifyNestedObj(data) {\n const result = {};\n for (const key in data) {\n if (data.hasOwnProperty(key)) {\n const value = data[key];\n if (typeof value === \"object\" && value !== null) {\n // Check if the value is an object or array, then convert it to a JSON string\n result[key] = JSON.stringify(value);\n } else {\n // If not an object or array, keep the original value\n result[key] = value;\n }\n }\n }\n return result;\n}\n/**\n * Sends an action to MOP Grafana along with the entire RUM context\n * Only functions if the MOP script has been loaded first. This is done via RumInit function in the src/main.ts file\n * Use this to send key metrics to DD at certain points in the journey\n * See https://docs.mop.maersk.io/rum/index.html\n * @param {String} name The name of the action\n * @param {Object} details Object of key/value pairs for different items to measure in this action\n */\nexport const addRUMAction = (name, details, isRumOnly = false) => {\n if (!!window.MOP?.api?.pushEvent) {\n const prefix = \"mop_rum_\";\n const stringifiedDetails = Object.entries(details).reduce(\n (acc, [key, value]) => {\n acc[key] = String(value);\n return acc;\n },\n { ...globalContext }\n );\n window.MOP.api.pushEvent(prefix + name, stringifiedDetails);\n }\n // Send the event to GA if isRumOnly is not true and the feature flag is enabled\n if (!isRumOnly && isFeatureEnabled(constants.featureFlags.sendEventsToDQCS.name)) {\n const gaPrefix = \"SSIB_DQCS_\";\n sendGAEvent(gaPrefix + name, details);\n }\n};\n\n/**\n * Add global context to RUM events collected from this application\n * @param {*} key context key\n * @param {*} value context value\n */\nexport const addRUMGlobalContext = (key, value) => {\n globalContext[key] = value;\n};\n/**\n * Send Sailings journey data chosen by the user\n * @param {*} key context key\n * @param {*} data context data object\n */\nexport const addRUMSailingsJourney = (key, data) => {\n const stringifiedData = stringifyNestedObj(data);\n addRUMAction(key, {\n ...stringifiedData,\n ...selectedSailingContext.selectedOffer,\n ...selectedSailingContext.selectedAdditionalDetails\n });\n if (key === \"submitOffer\") {\n selectedSailingContext.selectedOffer = {};\n selectedSailingContext.selectedAdditionalDetails = {};\n return;\n }\n selectedSailingContext[key] = stringifiedData;\n};\n/**\n * Send Inland Recommendation data chosen by the user\n * @param {*} key context key\n * @param {*} data context data object\n */\nexport const addRUMInlandRecommendation = (key, data) => {\n const stringifiedData = stringifyNestedObj(data);\n const logData = {\n ...stringifiedData,\n ...selectedRecommendationContext.inlandRecommendationSelect,\n ...selectedRecommendationContext.inlandRecommendationSearch,\n ...selectedRecommendationContext.inlandRecommendationSubmit\n };\n addRUMAction(inlandKeys[key]?.rumKey, logData, true);\n sendGAEvent(inlandKeys[key]?.gaKey, logData);\n if (key === \"inlandRecommendationSubmit\") {\n selectedRecommendationContext.inlandRecommendationSelect = {};\n selectedRecommendationContext.inlandRecommendationSubmit = {};\n selectedRecommendationContext.inlandRecommendationSearch = {};\n return;\n }\n selectedRecommendationContext[key] = stringifiedData;\n};\n\n/**\n * Send error logs using pushEvent\n * @param {*} errorObj context object containing error details\n */\nexport const addRUMErrorLog = errorObj => {\n const errorData = {\n message: errorObj?.message ?? null,\n source: errorObj?.source ?? null,\n page: errorObj?.page ?? null,\n statusCode: errorObj?.statusCode ?? null,\n triggeredBy: errorObj?.triggeredBy ?? null,\n prefersMessage: errorObj?.prefersMessage ?? null,\n showError: errorObj?.showError ?? null,\n critical: errorObj?.error?.critical ?? null,\n disableNavigation: errorObj?.error?.disableNavigation ?? null,\n url: errorObj?.error?.nativeError?.url ?? null,\n errorMessage: errorObj?.error?.message ?? null,\n errorStack: errorObj?.error?.stack ?? null,\n error: JSON.stringify(errorObj?.error),\n ...getErrorStatusInfoObj(errorObj?.error?.statusInfos?.[0])\n };\n addRUMAction(\"error\", errorData);\n};\n\n/**\n * Set User data for logs in Grafana RUM dashboard from this application\n * @param {*} key context key\n * @param {*} value context value\n */\nexport const setRUMUserData = (id, internalUser, militaryUser, customerCode, brand) => {\n if (!!window.MOP?.api?.setUser) {\n window.MOP.api.setUser({\n id,\n attributes: {\n customerCode,\n internalUser,\n militaryUser,\n brand\n }\n });\n }\n};\n/**\n * Set view data for logs in Grafana RUM dashboard from this application\n * @param {*} viewName context page name\n */\nexport const setRUMViewPage = viewName => {\n if (!!window.MOP?.api?.setView) {\n window.MOP.api.setView({\n name: viewName\n });\n }\n};\n\n/**\n * A list of points in the journey to be marked\n */\nexport const timingPoints = {\n loadOd3cp: \"loadOd3cp\",\n submitOd3cp: \"submitOd3cp\",\n fromOd3cp: \"fromOd3cp\",\n nac: \"nacShown\",\n contract: \"contractsShown\",\n sailings: \"sailingsPageShown\",\n departures: \"departuresShown\",\n prices: \"pricesShown\",\n book: \"bookClick\",\n vas: \"vasPageShown\",\n details: \"detailsPageShown\",\n review: \"reviewPageShown\",\n confirm: \"confirmPageShown\",\n reeferEnabled: \"reeferEnabled\",\n dangerousCargoEnabled: \"dangerousCargoEnabled\",\n OOGEnabled: \"OOGEnabled\",\n cancelBooking: \"cancelBooking\",\n cancelEmail: \"cancelEmail\",\n changeOfDestination: \"changeOfDestination\",\n changeOfDestinationEmail: \"changeOfDestinationEmail\",\n sailingsExited: \"sailingsPageExited\",\n vasExited: \"vasPageExited\",\n detailsExited: \"detailsPageExited\",\n reviewExited: \"reviewPageExited\",\n confirmationExited: \"confirmationPageExited\"\n};\n/**\n * A list of points whose counts would be tracked. Such as how many times user clicked on a button. To add simply add a key and default value\n */\nconst counts = {\n showPreviousBookings: 0,\n selectPreviousBookings: 0\n};\n\nexport const flags = {\n isBookingByPreviousHistoryWidget: false,\n isBookingFromQueryParams: false\n};\n\nfunction incrementCount(key) {\n if (!Object.keys(counts).includes(key)) {\n throw new Error(\"key not found\");\n }\n //else just increment the key\n counts[key]++;\n}\n\n/**\n * List of the measurement points in the journey\n */\nexport const measurements = {\n subToNac: \"submitToNAC\",\n showPreviousBookings: \"showPreviousBookings\",\n selectPreviousBookings: \"selectPreviousBookings\",\n od3cpToSail: \"od3cpToSailings\",\n od3cpToDep: \"od3cpToDepartures\",\n od3cpToSailRteDisp: \"od3cpToAllRoutesDisplay\",\n subToSail: \"submitToSailings\",\n subToSailRteDisp: \"submitToAllRoutesDisplay\",\n subToDep: \"submitToDepartures\",\n subToCon: \"submitToContracts\",\n conToDep: \"contractsToDepartures\",\n sailToPrice: \"sailingsToPrices\",\n bookToDetails: \"bookToDetails\",\n bookingTime: \"bookingTime\",\n reeferToSail: \"reeferToSail\",\n dangerousCargoToSail: \"dangerousCargoToSail\",\n OOGToSail: \"OOGToSail\",\n cancelPageToCancelEmail: \"cancelPageToCancelEmail\",\n changeOfDestinationEmail: \"changeOfDestinationEmail\",\n od3cpStartToEnd: \"od3cpStartToEnd\",\n sailingsStartToEnd: \"sailingsStartToEnd\",\n vasesStartToEnd: \"vasesStartToEnd\",\n detailsStartToEnd: \"detailsStartToEnd\",\n reviewStartToEnd: \"reviewStartToEnd\",\n confirmStartToEnd: \"confirmStartToEnd\"\n};\n\n/**\n * Creates performance entries that can be used in Grafana dashboard.\n * Designed to be called before each call to Grafana\n */\nconst updateMeasurements = () => {\n const measures = [\n { name: measurements.subToNac, start: timingPoints.submitOd3cp, end: timingPoints.nac },\n { name: measurements.od3cpToSail, start: timingPoints.fromOd3cp, end: timingPoints.sailings }, //Od3cp to Sailings load\n { name: measurements.od3cpToDep, start: timingPoints.fromOd3cp, end: timingPoints.departures }, //Od3cp to R1\n { name: measurements.od3cpToSailRteDisp, start: timingPoints.fromOd3cp, end: timingPoints.prices }, //Od3cp to R2\n { name: measurements.subToSail, start: timingPoints.submitOd3cp, end: timingPoints.sailings }, //Od3cp submit button click to Sailings load\n { name: measurements.subToSailRteDisp, start: timingPoints.submitOd3cp, end: timingPoints.prices }, //Od3cp submit button click to R2\n { name: measurements.subToDep, start: timingPoints.submitOd3cp, end: timingPoints.departures }, //Od3cp submit button click to R1\n { name: measurements.subToCon, start: timingPoints.submitOd3cp, end: timingPoints.contract },\n { name: measurements.conToDep, start: timingPoints.contract, end: timingPoints.departures },\n { name: measurements.sailToPrice, start: timingPoints.sailings, end: timingPoints.prices }, //Sailings load to R2\n { name: measurements.bookToDetails, start: timingPoints.book, end: timingPoints.details },\n { name: measurements.bookingTime, start: timingPoints.loadOd3cp, end: timingPoints.confirm },\n { name: measurements.reeferToSail, start: timingPoints.reeferEnabled, end: timingPoints.submitOd3cp }, // Temperature control button click to R1\n { name: measurements.od3cpStartToEnd, start: timingPoints.loadOd3cp, end: timingPoints.submitOd3cp }, // Od3c page load to submit button click\n { name: measurements.sailingsStartToEnd, start: timingPoints.sailings, end: timingPoints.sailingsExited }, // Sailings page load to exit\n { name: measurements.vasesStartToEnd, start: timingPoints.vas, end: timingPoints.vasExited }, // Vases page page load to exit\n { name: measurements.detailsStartToEnd, start: timingPoints.details, end: timingPoints.detailsExited }, // Additional details page page load to exit\n { name: measurements.reviewStartToEnd, start: timingPoints.review, end: timingPoints.reviewExited }, // Review page load to exit\n {\n name: measurements.confirmStartToEnd,\n start: timingPoints.confirm,\n end: timingPoints.confirmationExited\n }, // Confirmation page load to exit\n {\n name: measurements.dangerousCargoToSail,\n start: timingPoints.dangerousCargoEnabled,\n end: timingPoints.submitOd3cp\n }, // Cargo considered dangerous checkbox selection to R1\n { name: measurements.OOGToSail, start: timingPoints.OOGEnabled, end: timingPoints.submitOd3cp }, // OOG checkbox to R1\n { name: measurements.cancelPageToCancelEmail, start: timingPoints.cancelBooking, end: timingPoints.cancelEmail }, // From redirection to SSIB cancellation page until cancellation email\n {\n name: measurements.changeOfDestinationEmail,\n start: timingPoints.changeOfDestination,\n end: timingPoints.changeOfDestinationEmail\n } // From redirection to SSIB CoD page until CoD email\n ];\n measures.forEach(measure => {\n try {\n // Ensure this is only added once and that they both exist\n if (\n window.performance.getEntriesByName(measure.name).length === 0 &&\n window.performance.getEntriesByName(measure.start).length === 1 &&\n window.performance.getEntriesByName(measure.end).length === 1\n ) {\n window.performance.measure(measure.name, measure.start, measure.end);\n }\n } catch (e) {\n // If the measures don't exist yet, then you get DOMExceptions Shouldn't happen given the if statement but it's here anyway\n }\n });\n};\n\nexport const sailingsLoadedAction = () => {\n updateMeasurements();\n let details = {};\n // We're able to select the first item here because the measurements are only added once in the function above\n // Loop through the object except for the excludedKeys, because that definitely won't be there\n const excludedKeys = [\n measurements.bookToDetails,\n measurements.bookingTime,\n measurements.od3cpStartToEnd,\n measurements.sailingsStartToEnd,\n measurements.vasesStartToEnd,\n measurements.detailsStartToEnd,\n measurements.reviewStartToEnd,\n measurements.confirmStartToEnd\n ];\n Object.keys(measurements).forEach(key => {\n if (!excludedKeys.includes(key)) {\n const entry = window.performance.getEntriesByName(measurements[key]);\n // Only add the measurements if they've been fired. Not guaranteed\n if (entry && entry.length === 1) {\n details[key] = entry[0].duration;\n }\n }\n });\n\n addRUMAction(\"sailings\", details);\n sendPreviousBookingHistoryCounts();\n};\n\nconst getContextDetails = point => {\n updateMeasurements();\n let details = {};\n const entry = window.performance.getEntriesByName(point);\n if (entry && entry.length === 1) {\n // We're able to select the first item here because the measurements are only added once in the function above\n details[point] = entry[0].duration;\n }\n return details;\n};\n\nexport const clearMopRumFlags = () => {\n // reset each flag to false\n Object.keys(flags).forEach(key => {\n flags[key] = false;\n });\n};\n\nexport const od3cpLoadedWithQueryParams = queryParams => {\n if (!!queryParams?.[\"b.from\"] && !!queryParams?.[\"b.to\"]) {\n flags.isBookingFromQueryParams = true;\n addRUMAction(\"bookByQueryParams\", queryParams);\n }\n};\n\nexport const sendPreviousBookingHistoryCounts = () => {\n //identify possible candidates to send\n\n if (counts.showPreviousBookings == 0) return;\n addRUMAction(\"previousBookingWidget\", { ...counts });\n if (counts.selectPreviousBookings > 0) {\n flags.isBookingByPreviousHistoryWidget = true;\n }\n counts.showPreviousBookings = 0;\n\n counts.selectPreviousBookings = 0;\n};\nexport const detailsLoadedAction = () => {\n addRUMAction(\"additionalDetails\", getContextDetails(measurements.bookToDetails));\n};\nexport const showPreviousBookingsAction = () => {\n incrementCount(measurements.showPreviousBookings);\n};\nexport const selectPreviousBookingsAction = () => {\n incrementCount(measurements.selectPreviousBookings);\n};\n\nexport const completedJourneyAction = () => {\n //This captures the duration from the od3cp page load to the confirmation page display\n addRUMAction(\"journeyLength\", getContextDetails(measurements.bookingTime));\n};\n\nexport const reeferToSailingJourney = () => {\n //This captures the duration from reefer temperature control check till user click on continue\n addRUMAction(\"reeferToSailingJourney\", getContextDetails(measurements.reeferToSail));\n};\n\nexport const dangerousCargoToSailingJourneyAction = () => {\n //This captures the duration from dangerous cargo checked till user click on continue\n addRUMAction(\"dangerousCargoToSailingJourney\", getContextDetails(measurements.dangerousCargoToSail));\n};\n\nexport const OOGToSailingJourneyAction = () => {\n //This captures the duration from OOG checked till user click on continue\n addRUMAction(\"OOGToSailingJourney\", getContextDetails(measurements.OOGToSail));\n};\n\nexport const cancelPageToCancelMailJourneyAction = () => {\n //This captures the duration from redirection to SSIB cancellation page until cancellation email has been invoked\n addRUMAction(\"cancelJourney\", getContextDetails(measurements.cancelPageToCancelEmail));\n};\n\nexport const changeOfDestinationInAmendJourneyAction = () => {\n //This captures the duration from redirection to SSIB CoD page until the CoD email has been invoked\n addRUMAction(\"changeOfDestinationJourney\", getContextDetails(measurements.changeOfDestinationEmail));\n};\nexport const timeSpentOnOD3C = () => {\n addRUMAction(\"durationOnOd3c\", getContextDetails(measurements.od3cpStartToEnd));\n};\nexport const timeSpentOnSailings = () => {\n addRUMAction(\"durationOnSailings\", getContextDetails(measurements.sailingsStartToEnd));\n};\nexport const timeSpentOnVases = () => {\n addRUMAction(\"durationOnVases\", getContextDetails(measurements.vasesStartToEnd));\n};\nexport const timeSpentOnDetails = () => {\n addRUMAction(\"durationOnDetails\", getContextDetails(measurements.detailsStartToEnd));\n};\nexport const timeSpentOnReview = () => {\n addRUMAction(\"durationOnReview\", getContextDetails(measurements.reviewStartToEnd));\n};\nexport const timeSpentOnConfirmation = () => {\n addRUMAction(\"durationOnConfirmation\", getContextDetails(measurements.confirmStartToEnd));\n};\n\n/**\n * Creates debug action that can be used in Grafana dashboard to analyse issues.\n * @param {String} action\n * @param {*} details\n */\nexport const debugAction = (action, details) => {\n addRUMAction(action, details);\n};\n\nfunction getErrorStatusInfoObj(satusInfo) {\n return {\n ...(satusInfo?.code && { statusInfoCode: satusInfo.code }),\n ...(satusInfo?.name && { statusInfoName: satusInfo.name }),\n ...(satusInfo?.description && { statusInfoDescription: satusInfo.description }),\n ...(satusInfo?.type && { statusInfoType: satusInfo.type }),\n ...(satusInfo?.serviceChecked && { statusInfoServiceChecked: satusInfo.serviceChecked })\n };\n}\n","import { InterceptorRequest } from \"@/common/utils/types\";\n\n/**\n * Name of the database\n */\nconst dbName = \"interceptor\";\n/**\n * change the version when the schema InterceptorRequest changes\n */\nconst dbVersion = 2;\n/**\n * table name which we are going to access\n */\nconst interceptorRequestsStore = \"interceptorRequests\";\n/**\n * List of all tables which we are going to use\n */\nconst tablesList = [interceptorRequestsStore];\nconst transactionMode = \"readwrite\";\n/**\n * @description returns underlying access to IndexDB without wrapper. Given the event mechanism of the indexDB we are have to pass the callback\n * @param {Function}callback\n * @returns {void}\n */\nfunction _getEngine(callback: Function): void {\n const onerror = (e: any) => {\n throw new Error(e);\n };\n const onsuccess = (event: any) => {\n callback(event.target.result);\n };\n /**\n * @description update this param whenever we need to upgrade the schema. Need to implement this\n */\n const onupgradeneeded = (event: any) => {\n const db: IDBDatabase = event.target.result;\n db.onerror = (event: Event) => {\n throw new Error(\"not able to access the database\");\n };\n\n db.createObjectStore(interceptorRequestsStore, { autoIncrement: true });\n };\n const request = indexedDB.open(dbName, dbVersion);\n request.onerror = onerror;\n request.onsuccess = onsuccess;\n request.onupgradeneeded = onupgradeneeded;\n}\n\nasync function getEngine(): Promise {\n return new Promise((resolve, reject) => {\n const runner = function(server: IDBDatabase | null) {\n if (server !== null && server instanceof IDBDatabase) resolve(server);\n reject(\"Not able to access database!\");\n };\n _getEngine(runner);\n });\n}\n\nasync function setItem(payload: InterceptorRequest): Promise {\n //TODO: why then has an error\n const engine = await getEngine();\n getTransaction(engine).put(payload);\n}\n\nasync function create(payload: InterceptorRequest): Promise {\n //TODO: why then has an error\n const engine = await getEngine();\n getTransaction(engine).add(payload);\n}\n\nfunction getTransaction(server: IDBDatabase) {\n return server.transaction(tablesList, transactionMode).objectStore(interceptorRequestsStore);\n}\n\n//NOTE: given we are not going to deal with lot of data maybe we use getAll and then filter it.\nasync function getItem(id: number): Promise {\n return new Promise(async (resolve, reject) => {\n const engine = await getEngine();\n const request = getTransaction(engine).get(id);\n request.onsuccess = function() {\n if (request.result === undefined) resolve(null);\n resolve(request.result);\n };\n request.onerror = function() {\n reject(null);\n };\n });\n}\n\nasync function getAll(): Promise> {\n return new Promise(async (resolve, reject) => {\n const engine = await getEngine();\n const request = getTransaction(engine).getAll();\n request.onsuccess = function() {\n resolve(request.result);\n };\n request.onerror = function() {\n reject([]);\n };\n });\n}\n\nasync function removeItem(id: number): Promise {\n const engine = await getEngine();\n getTransaction(engine).delete(id);\n}\n\nasync function deleteAll(): Promise {\n const engine = await getEngine();\n getTransaction(engine).clear();\n}\n\nexport default { setItem, getItem, removeItem, getEngine, create, getAll, deleteAll };\n","/**\n * @description Release name SuperHornet F18.\n * Couple of assumptions\n * 1. 95% percentile of size is 20KB\n * 2. Per domain web browser allow is 5120KB(firefox)\n */\n\nimport { InterceptorRequest } from \"@/common/utils/types\";\nimport StorageDriver from \"./storage\";\n\nconst engine = StorageDriver;\nconst prefix = \"interceptorRequests\";\n\n/**\n * @description finds all the interceptor responses\n * @returns {Array}\n */\nasync function getAll(): Promise {\n return engine.getAll();\n}\n\n/**\n * @description tries to create api response\n * @param {string} url\n * @param {object} response\n * @returns {void}\n */\nasync function create(url: string, response: object): Promise {\n const payload: InterceptorRequest = {\n url,\n response,\n enabled: true\n };\n engine.create(payload);\n}\n\nasync function update(response: InterceptorRequest): Promise {\n await StorageDriver.setItem(response);\n}\nasync function deleteById(id: number): Promise {\n await StorageDriver.removeItem(id);\n}\nasync function deleteAll(): Promise {\n await StorageDriver.deleteAll();\n}\n\nasync function getById(id: number): Promise {\n //TODO: need to add better error handling\n return engine.getItem(id);\n}\n\nexport default {\n getById,\n create,\n getAll,\n update,\n deleteAll,\n deleteById\n};\n","import gaEventsConfig from \"@/common/utils/analytics/gaEventsConfig.json\";\n\nexport const GAConfig = {\n applicationName: \"Booking\",\n GAeventType: \"UXEvent\",\n GAEvents: gaEventsConfig\n};\n","import { constants } from \"@/lib/CONSTANTS\";\n\n/**\n * Creates cleared Vuex state object from provided Vuex state object.\n * @description This function will initial each object property based on it's type. Boolean data type will be initialised\n * as false, Arrays as empty Array, and all other properties as null.\n * @param {Object} state\n * @return {{}}\n */\nexport function getClearedState(state) {\n if (!state) return {};\n let newState = {};\n Object.keys(state).forEach(key => {\n if (typeof state[key] === \"boolean\") {\n newState[key] = false;\n } else if (Array.isArray(state[key])) {\n newState[key] = [];\n } else {\n newState[key] = null;\n }\n });\n return newState;\n}\n\n/**\n * @description This function will update each key in the state to its default value based on key type\n * @param {Object} state\n * @return {{}}\n */\nexport const clearState = state => {\n if (!state) return {};\n const clearedState = getClearedState(state);\n Object.keys(state).forEach(key => {\n state[key] = clearedState[key];\n });\n};\n\n/**\n * Creates initial OD3CP Vuex state object\n * @return {{cargoInsurance: {insuranceAvailable: *[], agreementId: null}, od3cpFormData: {commoditySelected: {commodity: null, dangerousCargo: {show: boolean, checked: boolean, disabled: boolean}, temperatureControl: {show: boolean, checked: boolean, disabled: boolean}, governmentalCargoControl: {show: boolean, checked: boolean, disabled: boolean}}, locationServiceMode: {origin: {serviceMode: string, location: null, defaultLocation: null}, destination: {serviceMode: string, location: null, defaultLocation: null}}, customerAllocationAgreement: boolean, bookingType: string, earliestDepartureDate: null, bookingFlowResponse: null, containerSelect: *[], alternatePickupLocation: {location: null, defaultLocation: null}}, duplicateOrAmendBookingData: {originalShipmentNumber: null}, isInOfflineMode: boolean, containerSelectRules: {}, containerDefaultRules: {quantity: {min: number, maxValue: number, required: boolean}, weightPerContainer: {ciMin: number, ciMax: number, required: boolean}, containerType: {required: boolean}},bookingDataFromDataset:null,originalLocationServiceMode: null, shouldUpdateOriginalLocation:boolean, prePopulatedBookingData:null, bookingDataSource:null, containerSspIdCollection: *[], bookingFlowError:boolean}}\n */\n\nexport function getInitialLocationServiceMode() {\n return {\n origin: {\n location: null,\n defaultLocation: null,\n serviceMode: \"CY\"\n },\n destination: {\n location: null,\n defaultLocation: null,\n serviceMode: \"CY\"\n }\n };\n}\n\nexport function getInitialAlternatePickupLocation() {\n return {\n location: null,\n defaultLocation: null\n };\n}\nexport function getInitialCommoditySelected() {\n return {\n commodity: null,\n temperatureControl: {\n show: true,\n checked: false,\n disabled: true\n },\n dangerousCargo: {\n show: true,\n checked: false,\n disabled: true\n },\n governmentalCargoControl: {\n show: false,\n checked: false,\n disabled: false\n }\n };\n}\nexport function getInitialContainerSelect() {\n return [];\n}\n\nexport function getInitialContainerRules() {\n return {\n containerSelectRules: {},\n containerDefaultRules: {\n containerType: {\n required: true\n },\n quantity: {\n required: true,\n quantityMin: constants.containerQuantityMin,\n quantityMax: constants.containerQuantityMax\n },\n weightPerContainer: {\n required: true,\n ciMin: constants.containerWeightMin,\n ciMax: constants.containerWeightMax\n }\n }\n };\n}\n\nexport function getInitialOD3CPState() {\n return {\n od3cpFormData: {\n bookingType: \"NEW\",\n bookingSourceSystem: null,\n bookingFlowResponse: null,\n locationServiceMode: getInitialLocationServiceMode(),\n alternatePickupLocation: getInitialAlternatePickupLocation(),\n commoditySelected: getInitialCommoditySelected(),\n containerSelect: getInitialContainerSelect(),\n earliestDepartureDate: null,\n customerAllocationAgreement: false\n },\n cargoInsurance: {\n insuranceAvailable: [],\n agreementId: null\n },\n duplicateOrAmendBookingData: {\n originalShipmentNumber: null\n },\n additionalPayload: {\n existingBookingCorrelationId: null,\n isExistingBookingDangerous: null\n },\n ...getInitialContainerRules(),\n isInOfflineMode: false,\n isServiceModeCFS: false,\n bookingDataFromDataset: null,\n bookingDataFromBookingRequest: null,\n bookingDataFromLegacy: null,\n originalLocationServiceMode: null,\n shouldUpdateOriginalLocation: false,\n prePopulatedBookingData: null,\n bookingDataSource: null,\n containerSspIdCollection: [], // for storing the sspId of the containers coming from dataset call\n bookingFlowError: false,\n previousContainerSelectData: [],\n widgetControls: {\n isExpanded: true\n },\n containerInstances: [],\n originalContainers: [],\n preSelectedCommodityCode: null,\n previousOD3CPDataForGA: [],\n searchRetryId: null,\n websiteBusyRetryId: null,\n mepcAlternates: null,\n alternateDetails: null,\n showAdvancedOptionsPopOver: true,\n coachMarkData: null,\n maxViews: 3\n };\n}\n","import Vue from \"vue\";\nimport Router from \"vue-router\";\nimport { getEnvironmentLabel } from \"@maersk/shared-js\";\nimport { constants } from \"@/lib/CONSTANTS.js\";\nimport { checkAccess } from \"@/common/utils/auth/authRules\";\nimport { getFeatureValue } from \"@/common/utils/generic/featureFlagService\";\nimport { setRUMViewPage } from \"@/common/utils/analytics/mopRum.js\";\nimport store from \"@/store/store\";\n\nVue.use(Router);\n\nfunction loadView(view) {\n // This doesn't use template literals because Jest complains it can't map the view for coverage\n return () => import(/* webpackChunkName: \"view-[request]\" */ \"@/views/\" + view + \".vue\");\n}\n\nconst router = new Router({\n mode: \"history\",\n base: constants.APP_BASE + \"/\",\n // See https://router.vuejs.org/guide/advanced/scroll-behavior.html\n // Provides smooth scrolling back-to-top behaviour on page transition\n scrollBehavior(to, from, savedPosition) {\n if (savedPosition) {\n return { ...savedPosition };\n } else {\n return { x: 0, y: 0, behaviour: \"smooth\" };\n }\n },\n routes: [\n {\n path: `/`,\n name: \"od3cp\",\n // This is a separate import otherwise webpack gets confused and all dynamic imports are prefetched\n component: () => import(/* webpackPrefetch: true, webpackChunkName: \"view-od3cp\" */ \"@/views/od3cp.vue\"),\n props: true\n },\n {\n path: `/sailings`,\n name: \"sailings\",\n component: loadView(\"sailings\")\n },\n {\n path: `/additional-details`,\n name: \"details\",\n component: loadView(\"additionalDetails\")\n },\n {\n path: `/additional-services`,\n name: \"vas\",\n component: loadView(\"vasView\")\n },\n {\n path: `/review`,\n name: \"review\",\n component: loadView(\"review\")\n },\n {\n path: `/confirmation`,\n name: \"confirmation\",\n component: loadView(\"confirmation\")\n },\n {\n path: \"/accessError/:errorType\",\n name: \"accessError\",\n component: loadView(\"accessError\"),\n props: true\n },\n {\n path: \"/featureFlagSettings\",\n name: \"featureFlagSettings\",\n component: loadView(\"featureFlagSettings\"),\n beforeEnter: (to, from, next) => {\n if ([\"localhost\", \"test\", \"preprod\"].includes(getEnvironmentLabel())) {\n next();\n } else {\n next(from);\n }\n }\n },\n {\n path: \"/cancel/:bookingId\",\n name: \"cancelBooking\",\n component: loadView(\"cancelBooking\"),\n beforeEnter: (to, from, next) => {\n if (getFeatureValue(constants.featureFlags.cancelBooking.name)) {\n next();\n } else {\n next(from);\n }\n },\n props: true\n },\n {\n path: \"/destination-amend\",\n name: \"changeOfDestination\",\n component: loadView(\"changeOfDestination\"),\n beforeEnter: (to, from, next) => {\n if (!getFeatureValue(constants.featureFlags[\"gatedInDestinationAmend\"].name)) {\n next(from);\n return;\n }\n return next();\n },\n props: true\n },\n {\n path: \"*\",\n redirect: \"/\"\n }\n ]\n});\n\nrouter.beforeEach((to, from, next) => {\n // If on the accessError pages, just continue, otherwise check access\n if (to.name !== \"accessError\" && process.env.NODE_ENV !== \"test\" && getEnvironmentLabel() !== \"localhost\") {\n checkAccess(next, constants.APP_BASE, to.fullPath);\n } else {\n next();\n }\n});\n\nfunction getCalculatedNavigation(toName, fromName) {\n // going back to od3cp from any page and not from 'confirmation'\n const returningToOd3cp = \"od3cp\" === toName && \"confirmation\" !== fromName;\n // going back to sailings\n const returningToSailings = !!(fromName && \"sailings\" === toName && \"od3cp\" !== fromName);\n // going back to od3cp or sailings\n const returningToOd3cpOrSailings = !!(fromName && (returningToOd3cp || returningToSailings));\n // going forward from od3cp or sailings: shouldn't do with the browser's Back button\n const isForwardNav =\n \"od3cp\" === fromName ||\n (\"sailings\" === fromName && \"od3cp\" !== toName) ||\n (\"confirmation\" === fromName && \"review\" === toName);\n // going from review to details\n const returningToDetailsFromReview = \"details\" === toName && \"review\" === fromName;\n\n return [returningToSailings, returningToOd3cpOrSailings, isForwardNav, returningToDetailsFromReview];\n}\n\nrouter.beforeEach((to, from, next) => {\n const [\n returningToSailings,\n returningToOd3cpOrSailings,\n isForwardNav,\n returningToDetailsFromReview\n ] = getCalculatedNavigation(to.name, from.name);\n\n if (window.isPopstateDetected && isForwardNav) {\n // prevent the user from going forward with the browser's Back button\n // to sailings, details, review and confirmation pages from od3cp or sailings\n history.pushState(history.state, \"\");\n window.isPopstateDetected = false; // see main.js's onPopstate event handler on window\n next(from.name);\n return;\n }\n\n window.isPopstateDetected = false;\n\n // going back to od3cp from any page\n if (\"od3cp\" === to.name) {\n window.localStorage.removeItem(\"correlationId\");\n store.dispatch(\"workflowLog/resetLoggedOd3cpErrors\", null, { root: true });\n store.commit(\"workflowLog/reTriggerOd3cpErrorLogsOnSailings\", false, {\n root: true\n });\n store.commit(\"reeferSettingsData/setPreserveVentilation\", true, { root: true });\n store.commit(\"pricingJourney/setOfferInUseStatus\", false, { root: true });\n }\n\n if (returningToSailings) {\n store.commit(\"workflowLog/reTriggerOd3cpErrorLogsOnSailings\", true, {\n root: true\n });\n }\n\n if (returningToOd3cpOrSailings) {\n const releaseReason = to.params?.bookingReleaseReason || \"navigation\";\n const correlationId = store.getters[\"commonData/getCorrelationId\"];\n\n // erase all workflow logs erros related to previous correlationId\n store.commit(\"error/clearWorkflowLogErrorsForSpecificCorrelationId\", correlationId, { root: true });\n // erase errors logged for loadMore(required for spike arrest back & forth)\n store.commit(\"error/clearErrorsForSource\", constants.ENDPOINTS.validate, { root: true });\n\n // release the booking data if the user has already started the booking journey but goes back to a previous step\n store.dispatch(\"bookingRequests/releaseBooking\", { routeFrom: from.name, reason: releaseReason }, { root: true });\n\n // remove manually added parties\n store.dispatch(\"parties/removeManualParties\", null, { root: true });\n store.commit(\"parties/setShouldRefreshParties\", true, { root: true });\n store.commit(\"parties/setShouldClearSelectedParties\", false, { root: true });\n\n // remove all booking options so that we re-trigger the api\n if (store.hasModule(\"bookingOptions\")) {\n store.commit(\"bookingOptions/resetBookingOptions\", null, { root: true });\n }\n if (store.hasModule(\"valueAddedServices\")) {\n store.commit(\"valueAddedServices/setTrialVases\", [], { root: true });\n }\n }\n\n if (returningToDetailsFromReview) {\n store.dispatch(\"workflowLog/deleteFromWorkflowLog\", null, { root: true });\n // don't reload the party roles again, they're still valid\n store.commit(\"parties/setShouldRefreshParties\", false, { root: true });\n }\n\n next();\n});\n\nrouter.beforeEach((to, from, next) => {\n const returningToDetailsOrSailingsFromReview = [\"sailings\", \"details\"].includes(to.name) && from.name === \"review\";\n // Stops the user navigating to sailings or additional details page if sanction is NOT_ALLOWED\n if (returningToDetailsOrSailingsFromReview && store.getters[\"review/isSanctioned\"]) {\n next(false);\n } else {\n next();\n }\n});\n\n// error handler:\nrouter.onError(() => {\n // the build for production does not allow console logs ....\n // console.error(\"Handling this error\", err.message);\n});\n\nrouter.afterEach(to => {\n // Log the view change event for RUM\n setRUMViewPage(typeof to?.name === \"string\" ? to.name : \"\");\n});\n\nexport default router;\n","import { constants } from \"@/lib/CONSTANTS\";\nimport { isFeatureEnabled } from \"@/common/utils/generic/featureFlagService\";\n\n/**\n * Determines is specific route is visible on UI.\n * @description Show routes with status \"AVAILABLE\", \"UNAVAILABLE\", \"PROSPECTIVE\" and also \"SUBSTITUTECONTAINER\" (which shows substitute card)\n * @param {String} routeStatus\n * @param {boolean} anyPriceApplicable\n * @param {boolean} showUnavailableCard\n * @param {boolean} isOriginalRoute\n * @param {boolean} showWarningCard\n * @return {boolean}\n */\nexport function isRouteVisible({\n routeStatus,\n anyPriceApplicable,\n showUnavailableCard,\n isOriginalRoute,\n showWarningCard\n}) {\n if (isOriginalRoute) return false; //Dont show the original route under new sailings.\n if (routeStatus === constants.sailings.routeStatus.states.PROSPECTIVE) return true;\n return (\n constants.sailings.routeStatus.visible.includes(routeStatus) &&\n !!(anyPriceApplicable || showUnavailableCard || showWarningCard)\n );\n}\n\n/**\n * @description Finds first vessel in provided schedules.\n * @param {Array} schedules\n * @return {{departureVesselName: string|null, departureVesselVoyage: string|null}}\n */\nexport function findVessel(schedules) {\n const fallback = {\n departureVesselVoyage: null,\n departureVesselName: null,\n departureVesselCode: null\n };\n if (!Array.isArray(schedules)) {\n return fallback;\n }\n const scheduleWithVessel = schedules.find(\n schedule =>\n Boolean(schedule?.transport?.vessel) &&\n (Boolean(schedule.transport?.voyageNumber) ||\n Boolean(schedule.transport?.vessel?.name) ||\n Boolean(schedule.transport?.vessel?.code))\n );\n if (!scheduleWithVessel) return fallback;\n\n return {\n departureVesselVoyage: scheduleWithVessel.transport?.voyageNumber || null,\n departureVesselName: scheduleWithVessel.transport?.vessel?.name || null,\n departureVesselCode: scheduleWithVessel.transport?.vessel?.code || null\n };\n}\n\n/**\n * Gets Vessel Data from bookingSchedules in booking requests\n * @param {bookingSchedules} vessel\n * @return {{departureVesselName: null, departureVesselVoyage: null}|{departureVesselName, departureVesselVoyage}}\n */\nexport function getVesselInfoFromBrData(bookingSchedules) {\n let vessel = {\n departureVesselVoyage: null,\n departureVesselName: null,\n departureVesselCode: null\n };\n if (!Array.isArray(bookingSchedules)) {\n return vessel;\n }\n //\n const scheduleWithVessel = bookingSchedules.find(\n schedule =>\n Boolean(schedule?.transportMode?.vessel) &&\n (Boolean(schedule.transportMode?.exportVoyageNumber) ||\n Boolean(schedule.transportMode?.vessel?.name) ||\n Boolean(schedule.transportMode?.vessel?.callSign))\n );\n if (scheduleWithVessel) {\n vessel.departureVesselVoyage = scheduleWithVessel.transportMode?.exportVoyageNumber || null;\n vessel.departureVesselName = scheduleWithVessel.transportMode?.vessel?.name || null;\n vessel.departureVesselCode = scheduleWithVessel.transportMode?.vessel?.callSign || null;\n }\n\n return vessel;\n}\n\n/**\n * Determines if Offline mode should be turned on.\n * @description If R1 API (Routes) returns special exception (MEPC Adapter Exception), it should be switched to offline mode,\n * which means to provide possibility for User to be able to continue the flow with minimal inputs.\n * @param {Object} R1ApiResponse\n * @return {boolean}\n */\nexport function shouldSwitchToOfflineMode(R1ApiResponse) {\n if (!R1ApiResponse) return false;\n return (\n Boolean(R1ApiResponse.statusInfos) &&\n R1ApiResponse.statusInfos.some(statusInfo => constants.adfExceptions.MEPC.includes(statusInfo.code))\n );\n}\n\n/**\n * Maps the route schedule details from dataSets\n * @description Route schedule details can be mapped to a particular structure from /dataset API and getRoutes so that route card etc can be used as a common component\n * @param {Object} details\n * @return {[{routeLinkId: String, startLocation: Object, endLocation: Object, transportModeCode: String, transport: Object, originDepartureDatetime: String, destinationArrivalDatetime: String}]|[]}\n */\nexport function routeScheduleMapper(details) {\n if (!details) return [];\n // In dataset it comes as shipmentRoute but in getRoutes it comes as schedules\n const { shipmentRoute, schedules } = details;\n const routeSchedules = !!shipmentRoute ? shipmentRoute : schedules;\n return (routeSchedules || []).map((routeSchedule, index) => {\n // dataset is sending as transport and API team is planning to send the same as sailing in getRoutes\n // NOTE: Till 22nd June 2021, as per available info all the structure will be same except the transport/sailing\n // If nested objects will also change we can create sub mappers and club it here\n const { transport, sailing, ...rest } = routeSchedule;\n const { routeLinkId } = routeSchedule;\n return {\n ...rest,\n routeLinkId: !routeLinkId ? `originalRoute${index}` : routeLinkId,\n startLocation: routeSchedule.startLocation,\n endLocation: routeSchedule.endLocation,\n transportModeCode: routeSchedule.transportModeCode,\n transport: !!transport ? transport : sailing,\n originDepartureDatetime: routeSchedule.originDepartureDatetime,\n destinationArrivalDatetime: routeSchedule.destinationArrivalDatetime\n };\n });\n}\n\n/**\n * Maps the route schedule details from bookingRequests\n * @description Maps the route schedule information for display in the original sailings card\n * @param {Object} selectedRoute\n * @return {[{routeLinkId: String, startLocation: Object, endLocation: Object, transportModeCode: String, transport: Object, originDepartureDatetime: String, destinationArrivalDatetime: String}]|[]}\n */\nexport function getRouteSchedulesFromBrData(selectedRoute) {\n if (!selectedRoute) return [];\n const routeSchedules = selectedRoute.bookingSchedules;\n return (routeSchedules || []).map((routeSchedule, index) => {\n const { transportMode, routeLinkId, ...rest } = routeSchedule;\n return {\n ...rest,\n routeLinkId: !routeLinkId ? `originalRoute${index}` : routeLinkId,\n startLocation: routeSchedule.startLocation,\n endLocation: routeSchedule.endLocation,\n transportModeCode: routeSchedule.transportModeCode,\n transport: transportMode,\n originDepartureDatetime: routeSchedule.originDepartureDateTimeLocal,\n destinationArrivalDatetime: routeSchedule.destinationArrivalDateTimeLocal\n };\n });\n}\n\n/**\n * @description given route conditions it determines whether it has detention or not\n * @param {Object} conditions import DnDConditions passed by pma system\n */\nexport function routeHasDetention(conditions) {\n return conditions.some(condition => condition.chargeType === constants.chargeTypes.detention);\n}\n/**\n * @description given route conditions it determines whether it has demurrage or not\n * @param {Object} conditions import DnDConditions passed by pma system\n * @returns {Boolean}\n */\nexport function routeHasDemurrage(conditions) {\n return conditions.some(condition => condition.chargeType === constants.chargeTypes.demurrage);\n}\n/**\n * @param {boolean} isFlexContract\n * @param {boolean} isContractRate\n * @param {number} fixedPrice\n * @param {number} dynamicPrice\n */\nexport function getHasErrors(isFlexContract, isContractRate, fixedPrice, dynamicPrice) {\n return (isFlexContract && (!isContractRate || !fixedPrice)) || (!isFlexContract && !dynamicPrice);\n}\n\n/**\n * @description Formats consumption week string for AFLS contracts, if isCommittedCustomer is true. Eg. 202203 => '2022/Week 03'\n * @param {Object} getters\n * @param {Object} route\n * @param {String} routeId\n * @return {String}\n */\nexport function constructConsumptionPerWeekStringForAFLSContracts(getters, route, routeId) {\n if (getters.isUTMDown(routeId)) return null;\n\n const commitmentWeek = route?.routeScheduleAvailability?.yieldCheckDetails?.commitmentWeek;\n if (!commitmentWeek || commitmentWeek?.toString().length !== 6) return null;\n\n return `${String(commitmentWeek).substring(0, 4)}/${constants.sailings.week} ${String(commitmentWeek).substring(4)}`;\n}\n\n/**\n * @description Formats consumption week string for Flex and BlockSpace contracts. Eg. AllocationWeek-2021/28-VesselName-MSC DIANA-B8L => '2021/Week 28'\n * @param {Object} route\n * @return {String}\n */\nexport function constructConsumptionPerWeekStringForFlexOrBlockspace(route) {\n const productAttributes = route?.routePrices?.dynamicPrice?.productAttributes;\n if (!productAttributes?.length) return null;\n const allocationWeekFullText = productAttributes[0].proformaAllocationWeek;\n if (allocationWeekFullText) {\n const yearAndWeek = allocationWeekFullText.split(\"-\")[1].split(\"/\");\n return yearAndWeek[0] + \"/\" + constants?.sailings?.week + \" \" + yearAndWeek[1];\n }\n return null;\n}\n\n/**\n * @description For given contract type, fixed price and route whether it is contract\n * @param {String} contractType\n * @param {Object} fixedPrice\n * @param {Object} route\n * @return {boolean}\n */\nexport function isContract(contractType, fixedPrice, route) {\n return !!(\n (contractType === constants.sailings.contractType.contract && fixedPrice?.contractNumber) ||\n route.contractNumber\n );\n}\n\nexport function getSailingsGroupHeader(route, routeAvailability) {\n const schedules = route.schedules || [];\n const firstSchedule = schedules[0];\n const lastSchedule = schedules[schedules.length - 1];\n const cccDeadline = routeAvailability?.deadlines?.find(deadline => deadline.code === constants.gateInDeadlineCode);\n const mappedSchedules = schedules &&\n schedules.length > 0 && {\n schedules: routeScheduleMapper(route)\n };\n let sailingsGroupHeader = {\n ...route,\n ...mappedSchedules,\n cccDate: cccDeadline ? cccDeadline.date : \"\",\n ...findVessel(mappedSchedules?.schedules)\n };\n if (firstSchedule) {\n sailingsGroupHeader.departure = firstSchedule.originDepartureDatetime;\n }\n if (lastSchedule) {\n sailingsGroupHeader.arrival = lastSchedule.destinationArrivalDatetime;\n }\n return sailingsGroupHeader;\n}\n\nexport const findCorrectEquipmentDetailsByIsoCode = (equipmentList, isoCode) => {\n return equipmentList?.find(item => item?.requestedContainer?.isoCode === isoCode);\n};\n\n/**\n * @description returns boolean value to determine if price is restricted\n * @param {Object} price\n * @returns {boolean}\n **/\nexport function isPriceRestricted(price) {\n // use guard clause\n if (!price?.priceRestrictionStatus) return false;\n\n const isFlexFloating =\n price?.routeType === constants.sailings.routeType.flex &&\n price?.productName === constants.sailings.contractType.floating;\n\n return isFeatureEnabled(constants.featureFlags.flexFloatingPriceRestrictedFix.name) ? !isFlexFloating : true;\n}\n\n/**\n * @description returns the text to be displayed in the booking status info tooltip (tooltip text for late booking/over allocation/within allocation)\n * @param {String} productAttribute - The type of route\n * @param {$t} Vue.prototype.$t\n * @returns {String} - The text to be displayed\n **/\nexport const getBookingStatusInfoTooltip = (productAttribute, $t) => {\n const preAppendKey = \"sailings.component.sailingscard\";\n if (\n [\n constants.sailings.flexProductAttribute.allocationUsed,\n constants.sailings.flexProductAttribute.lateBooking\n ].includes(productAttribute)\n ) {\n return $t(`${preAppendKey}.${productAttribute}InfoFlexAmend`);\n }\n return $t(`${preAppendKey}.${productAttribute}Info`);\n};\n/**\n * @description converts the time in minutes to hours and returns the rounded hours.\n * @param {String} minutes\n * @returns {Integer} - rounded hours\n **/\nexport const getRoundedHours = minutes => {\n if (isNaN(minutes)) return 0;\n let hours = Math.floor(minutes / 60);\n return minutes % 60 > 29 ? hours + 1 : hours;\n};\n/**\n * @description Gets notification config\n * @param {$t}\n * @returns {Object} - notification config\n **/\nexport const getNotificationConfig = $t => {\n return {\n NO_ALLOCATION_MAERSK_ACCELERATE: {\n type: \"info\",\n icon: \"info-circle\",\n key: \"no-allocation-maersk-accelerate\",\n body: $t(\"sailings.component.sailingscard.noAllocationMacNotification\")\n }\n };\n};\n\n/**\n * @description Gets the allocation week of the year\n * @param {String} proformaAllocationWeek\n * @returns {String}\n **/\nexport const getAllocationWeekOfTheYear = proformaAllocationWeek => {\n if (!proformaAllocationWeek) return null;\n const yearAndWeek = proformaAllocationWeek.split(\"-\")[1]?.split(\"/\");\n if (!yearAndWeek) return null;\n return yearAndWeek[0] + \"/\" + yearAndWeek[1];\n};\n\n/**\n * @description Formats the allocation week of the year\n * @param {String} input\n * @returns {String}\n **/\nexport const convertToYearWeekFormat = input => {\n if (!input) return null;\n const parts = input.split(\"/Week \");\n if (parts.length === 2) {\n const year = parts[0];\n const week = parts[1];\n return `${year}/${week}`;\n }\n return null;\n};\n","export default class ErrorPayload {\n constructor(_nativeError, _message, _status) {\n this.nativeError = _nativeError;\n this.message = _message;\n this.status = _status;\n }\n}\n","import ErrorPayload from \"@/common/utils/error/errorPayload\";\nimport Vue from \"vue\";\n\nexport function createErrorPayload(error) {\n return new ErrorPayload(error, Vue.prototype.$t(\"od3cp.service.error\"), error.status || -1);\n}\n","import { redirectToLogin, getJwt } from \"@maersk-global/shared-js\";\nimport { createErrorPayload } from \"@/common/utils/error/errorHandler\";\nimport { constants, getCurrentEnvironmentVariables } from \"@/lib/CONSTANTS\";\n\nexport enum HTTP_METHODS {\n GET = \"GET\",\n POST = \"POST\",\n PUT = \"PUT\",\n PATCH = \"PATCH\",\n DELETE = \"DELETE\"\n}\n\nexport interface HttpRequest {\n url: string;\n method?: keyof typeof HTTP_METHODS;\n body?: BodyInit | any;\n headers?: { [key: string]: any };\n credentials?: RequestCredentials;\n authorizedRequest?: boolean;\n consumerKey?: string;\n rawResponse?: boolean;\n signal?: AbortSignal | null;\n}\n\nexport const executeRequest = async ({\n url,\n method = HTTP_METHODS.GET,\n body,\n headers = {},\n credentials = \"same-origin\",\n authorizedRequest = true,\n consumerKey = getCurrentEnvironmentVariables().consumerKey,\n rawResponse = false,\n signal = null\n}: HttpRequest): Promise => {\n if (typeof authorizedRequest !== \"boolean\") {\n throw new Error(\"authorizedRequest is missing\");\n }\n if (!headers[\"Accept\"]) {\n headers[\"Accept\"] = \"application/json\";\n }\n if (!headers[\"Content-Type\"]) {\n headers[\"Content-Type\"] = \"application/json\";\n }\n\n let response: any;\n try {\n if (!headers[\"Authorization\"] && authorizedRequest) {\n const jwt = getJwt();\n headers[\"Authorization\"] = `Bearer ${jwt}`;\n }\n headers[\"Consumer-Key\"] = consumerKey || \"\";\n response = await fetch(url, {\n method,\n body,\n headers,\n credentials,\n ...(!!signal && { signal })\n });\n if (!checkResponse(response)) {\n throw response;\n }\n } catch (error) {\n throw createErrorPayload(error);\n }\n try {\n if (rawResponse) {\n return response;\n } else {\n return await response.json();\n // Only return the json if there is a body in the response\n }\n } catch (jsonError) {\n const status = response?.status;\n return { status };\n }\n};\n\nconst checkResponse = (response: any): boolean => {\n if (!response) {\n throw new Error(\"checkResponse: response is missing\");\n }\n if ([401, 403].includes(response.status)) {\n if (isResponseBlocked(response)) return response.ok;\n\n redirectToLogin(constants.APP_BASE);\n return false;\n } else {\n return response.ok;\n }\n};\n\n/**\n * @description tells whether the response is blocked\n * @param {Response} response\n * @returns {boolean}\n */\nexport const isResponseBlocked = (response: any): boolean => {\n return isDeparturesBlocked(response) || isPricingJourneyBlocked(response);\n};\n\n/**\n * @description tells whether the response is blocked from departures and it sends NON-JSON response. PS this is middleware code should be in a separate file\n * @param {Response} response\n * @returns {boolean}\n */\nexport const isDeparturesBlocked = (response: any): boolean => {\n //it must contain text/html; charset=utf-8\n const isText = !!response.headers.get(\"Content-Type\")?.includes(\"text/html\");\n return response.status === 403 && isText;\n};\n\n/**\n * @description Checks if pricing journey APIs giving 403\n * @param {Response} response\n * @returns {boolean}\n */\nexport const isPricingJourneyBlocked = (response: any): boolean => {\n const isPricingUrl = !!Object.values(constants.ENDPOINTS.pricingJourney).find(endpoint =>\n (response?.url ?? \"\").includes(endpoint)\n );\n return response.status === 403 && isPricingUrl;\n};\n","export const initialState = {\n loadingStatusKey: null,\n batch: 0,\n loadMore: false,\n routes: null,\n routesLoadingStatus: false,\n routesAvailability: null,\n routesAvailabilityLoadingStatus: false,\n substituteContainerStatus: null,\n selectedRoute: null,\n selectedPriceType: null,\n routesPriceBreakdown: null,\n deliveryPromises: null,\n selectedPrice: null,\n isOriginalRouteSticky: false,\n isOriginalRouteRollableSelected: false,\n isOriginalRouteFlexHubSelected: false,\n isOriginalRouteOptionalMACSelected: false,\n containerNotAvailableForAllRoutes: false,\n loadPorts: null,\n dischargePorts: null,\n loadRouteCalled: false,\n offersAvailableToShow: false,\n zeroContainerHardStop: false\n};\n","import { constants } from \"@/lib/CONSTANTS\";\nimport {\n getContractType,\n transformPriceType,\n mapPriceBreakdown,\n isContractRateUnavailable,\n mapDeliveryPromises,\n mapPenaltyFees\n} from \"@/lib/sailings/priceTransformers\";\nimport Vue from \"vue\";\nimport {\n isRouteVisible,\n getVesselInfoFromBrData,\n findVessel,\n getRouteSchedulesFromBrData,\n routeScheduleMapper,\n getHasErrors,\n constructConsumptionPerWeekStringForAFLSContracts,\n constructConsumptionPerWeekStringForFlexOrBlockspace,\n isContract,\n getSailingsGroupHeader,\n findCorrectEquipmentDetailsByIsoCode,\n getAllocationWeekOfTheYear,\n convertToYearWeekFormat\n} from \"@/lib/sailings/routesUtilities\";\nimport { getBrandFromHostname } from \"@maersk/shared-js\";\nimport dayjs from \"dayjs\";\nimport { cleanup } from \"@/common/utils/http/payloadCleaner\";\n\nexport default {\n getBatch(state) {\n return state.batch;\n },\n routeById: state => routeId => {\n return state.routes?.find(route => route.routeId === routeId);\n },\n getRoutesAvailabilityLoadingStatus: state => {\n return !!state.routesAvailabilityLoadingStatus;\n },\n getRoutePollingStatus: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return !!route?.isPollingCompleted;\n },\n isRouteAvailabilityStatusDone: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return [\n constants.sailings.routeStatus.states.AVAILABLE,\n constants.sailings.routeStatus.states.UNAVAILABLE\n ].includes(route?.routeScheduleAvailability?.availabilityStatus);\n },\n /**\n * @description Used to display new sailings on the sailings page\n * @returns {object} list of new sailings routes\n */\n routesList: (state, getters, rootState, rootGetters) => {\n return state.routes\n ?.filter(route => {\n return isRouteVisible({\n routeStatus: route.routeStatus,\n anyPriceApplicable: getters.anyPriceApplicableForRoute(route.routeScheduleId),\n showUnavailableCard: getters.showUnavailableCardForRoute(route.routeScheduleId),\n isOriginalRoute: getters.isOriginalRoute(route.routeScheduleId),\n showWarningCard:\n getters.isSpotAmendOfferChangedToContract(route.routeScheduleId) ||\n getters.isPMAContractOfferFoundForContractAmend(route.routeScheduleId) ||\n getters.isPMADownAmend(route.routeScheduleId) ||\n (rootGetters[\"boFlags/getFlag\"](constants.featureFlags.blockSpaceAmend.name) &&\n (getters.isFlexAmendOfferChanged(route.routeScheduleId) ||\n getters.isNoOfferApplicableForOriginalRoute(route.routeScheduleId)))\n });\n })\n .map(route => {\n const availableRoute = state.routesAvailability?.find(\n routeAvailable => routeAvailable.routeScheduleId === route.routeScheduleId\n );\n return getSailingsGroupHeader(route, availableRoute);\n });\n },\n /**\n * @description Returns a list of routes with the original route data.\n * @returns {object} list of new sailings routes along with original route\n */\n routesListWithOriginalRoute: state => {\n return (state?.routes ?? []).map(route => {\n const availableRoute = state.routesAvailability?.find(\n routeAvailable => routeAvailable.routeScheduleId === route.routeScheduleId\n );\n return getSailingsGroupHeader(route, availableRoute);\n });\n },\n\n anyPriceApplicableForRoute: (state, getters, rootState, rootGetters) => routeScheduleId => {\n return !!(\n getters.isFixedPriceApplicable(routeScheduleId) ||\n getters.isDynamicPriceApplicable(routeScheduleId) ||\n getters.isFlexPriceApplicable(routeScheduleId) ||\n getters.isFlexNowPriceApplicable(routeScheduleId) ||\n (rootGetters[\"boFlags/getFlag\"](constants.featureFlags.blockSpaceAmend.name) &&\n getters.isFixedBlockSpaceApplicable(routeScheduleId))\n );\n },\n\n showUnavailableCardForRoute: (state, getters) => routeScheduleId => {\n return !!(getters.showSpotUnavailableCard(routeScheduleId) || getters.showContractUnavailableCard(routeScheduleId));\n },\n\n dynamicPriceDetails: (state, getters, rootState, rootGetters) => routeId => {\n // Get the route availability info\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n if (!route || (route && !route.routePrices)) return {};\n const spotPrice = route.routePrices.dynamicPrice;\n const isAmend = rootGetters[\"OD3CP/isAmendBooking\"];\n const rollableOptionData = getters.getRollableOptionDefaults(routeId);\n //isSpotType will be true when route has productVariance with gcssDeliveryAgreementType for spot.\n const isSpotType = spotPrice?.productVariances?.some(prodVariance =>\n constants.SPOTDeliveryAgreementTypes.includes(prodVariance.gcssDeliveryAgreementType)\n );\n //With OME-34108 changes, we should always display the rollable feature for spot type in the amend journey.\n const shouldEnableRollableInAmend = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.norBookingFlow.name)\n ? !!isSpotType && !rootGetters[\"OD3CP/isNorBooking\"]\n : !!isSpotType;\n const rollableOptionEnabled = isAmend ? shouldEnableRollableInAmend : rollableOptionData?.enabled;\n const mandatorySpotRollableEnabled = rootGetters[\"boFlags/getFlag\"](\n constants.featureFlags.mandatorySpotRollable.name\n );\n const rollable = mandatorySpotRollableEnabled ? rollableOptionEnabled : !!route.routePrices.rollableOptionEnabled;\n const rollableData = {\n ...(rollable && { rollableCompensation: getters.getRollableCompensation(routeId) }),\n ...(rollable && (isAmend || mandatorySpotRollableEnabled) && { rollableDefaults: rollableOptionData })\n };\n //Card heading should be \"Maersk Spot Rollable\" for mandatory rollable, else it should be \"Maersk Spot\".\n const typeKey =\n mandatorySpotRollableEnabled && rollable && rollableOptionData?.mandatory\n ? `${constants.sailings.translationKeyPrefix.sailings}${constants.sailings.contractType.spotRollable}`\n : `${constants.sailings.translationKeyPrefix.sailings}${constants.sailings.contractType.spot}`;\n // OK, got the route availability - let's make the dynamic price object\n return {\n routeId: route.routeScheduleId,\n type: constants.sailings.contractType.spot,\n productCode: route?.routePrices?.dynamicPrice?.productCode,\n typeKey: typeKey,\n routeType: constants.sailings.routeType.spot,\n available: getters.isDynamicPriceAvailable(routeId),\n applicable: getters.isDynamicPriceApplicable(routeId),\n totalPrice: spotPrice?.total,\n totalPriceCurrency: spotPrice?.currency,\n penaltyFeeKey: spotPrice?.penaltyFeeKey,\n penaltyFeeAmount: spotPrice?.penaltyFeeAmount,\n isPriceMissing: !spotPrice?.total,\n dynamicRateAvailabilityMessage: route.routePrices.dynamicRateAvailabilityMessage,\n isFmcApplicable: !!route.routePrices?.fmcRegulationApplies,\n isDndApplicable: true,\n rollable,\n ...rollableData\n };\n },\n /**\n * @description Generates a price object for oog sailings card\n * @param {*} state\n * @param {*} getters\n * @returns {object}\n */\n getOogPriceObject: (state, getters) => routeId => {\n // Get the route\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n const isFixed = getters.isFixedPriceApplicable(routeId);\n return {\n routeId: route.routeScheduleId,\n available: isFixed ? getters.isFixedPriceAvailable(routeId) : getters.isDynamicPriceAvailable(routeId),\n rateAvailabilityMessage: isFixed\n ? route.routePrices?.fixedRateAvailabilityMessage\n : route.routePrices?.dynamicRateAvailabilityMessage\n };\n },\n fixedPriceDetails: (state, getters, rootState, rootGetters) => routeId => {\n // Get the route\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n if (!route?.routePrices) return {};\n const flexHub = state.routes?.find(r => r.routeScheduleId === routeId)?.flexHub === \"Y\";\n // OK, got the route availability - let's make an object - called fRouteInfo - formatted Route Info\n let fRouteInfo = {\n routeId: route.routeScheduleId,\n rollable: false,\n typeKey: `${constants.sailings.translationKeyPrefix.sailings}${constants.sailings.contractType.markettariff}`\n };\n let fixedPrice = route.routePrices.fixedPrice;\n let fixedPricePresent = !!(fixedPrice && Object.keys(fixedPrice).length > 0 && fixedPrice?.priceId);\n let contractType = getContractType(fixedPrice?.priceId, fixedPricePresent);\n if (isContract(contractType, fixedPrice, route)) {\n fRouteInfo.contractNumber = fixedPrice?.contractNumber || route?.contractNumber; // Note: Backend implementation required\n }\n // If permission to view is not there a status code will be returned from back end 'BORMI01'\n // Check only for Fixed Price and Contract type 'Contract'\n if (\n (fixedPricePresent && contractType === constants.sailings.contractType.contract) ||\n route.priceRestrictionStatus\n ) {\n const statusCode = route.statusInfos?.find(sCode => sCode.code === constants.sailings.codes.priceRestriction);\n fRouteInfo.priceRestrictionStatus = !!(statusCode || route.priceRestrictionStatus);\n }\n fRouteInfo.typeKey = `${constants.sailings.translationKeyPrefix.sailings}${contractType}`;\n fRouteInfo.type = contractType;\n fRouteInfo.isDndApplicable = true;\n fRouteInfo.isFlexHub = contractType === constants.sailings.contractType.contract && flexHub;\n fRouteInfo.routeType = constants.sailings.routeType.afls;\n fRouteInfo.totalPrice = fixedPrice?.total;\n fRouteInfo.totalPriceCurrency = fixedPrice?.currency;\n fRouteInfo.available = getters.isFixedPriceAvailable(routeId);\n fRouteInfo.applicable = getters.isFixedPriceApplicable(routeId);\n fRouteInfo.isPriceMissing = !fixedPricePresent;\n fRouteInfo.fixedRateAvailabilityMessage = route.routePrices?.fixedRateAvailabilityMessage;\n const maerskAccelerateDetails = getters.getMaerskAccelerateDetails(routeId);\n if (fixedPricePresent && !!maerskAccelerateDetails?.isMaerskAccelerate) {\n fRouteInfo.maerskAccelerate = maerskAccelerateDetails;\n }\n return fRouteInfo;\n },\n flexPriceDetails: (state, getters, rootState, rootGetters) => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n if (!route || (route && !route.routePrices)) return {};\n const flexHub = state.routes?.find(r => r.routeScheduleId === routeId)?.flexHub === \"Y\";\n let productName = getters.getFlexProductName(routeId),\n aflsPrice = getters.fixedPriceDetails(routeId),\n spotPrice = getters.dynamicPriceDetails(routeId),\n productVariances = route.routePrices?.dynamicPrice?.productVariances,\n contractNumber = route.routePrices?.fixedPrice?.contractNumber || aflsPrice.contractNumber;\n let deliveryPromises = productVariances?.length > 0 ? mapDeliveryPromises(productVariances, routeId) : null;\n let { priceRestrictionStatus, isPriceMissing, maerskAccelerate } = aflsPrice,\n fixedPrice = aflsPrice.totalPrice,\n fixedPriceCurrency = aflsPrice.totalPriceCurrency,\n isContractRate = aflsPrice.type === constants.sailings.contractType.contract,\n { isFmcApplicable } = spotPrice,\n dynamicPrice = spotPrice.totalPrice,\n dynamicPriceCurrency = spotPrice.totalPriceCurrency,\n deliveryPromiseSelected = getters.getDeliveryPromise(routeId),\n isFlexContract = productName === constants.sailings.contractType.fixed,\n isFlexHub = flexHub && (isFlexContract || isContractRate),\n hasError = getHasErrors(isFlexContract, isContractRate, fixedPrice, dynamicPrice),\n showFlexPenaltyFeeDisclaimer = route.statusInfos?.some(\n info => info.code === constants.sailings.flexPenaltyFeeCode\n ),\n available = isFlexContract ? getters.isFixedPriceAvailable(routeId) : getters.isDynamicPriceAvailable(routeId),\n totalPrice = isFlexContract ? fixedPrice : dynamicPrice,\n totalPriceCurrency = isFlexContract ? fixedPriceCurrency : dynamicPriceCurrency,\n fixedRateAvailabilityMessage = route.routePrices?.fixedRateAvailabilityMessage,\n dynamicRateAvailabilityMessage = route.routePrices?.dynamicRateAvailabilityMessage;\n\n //calculate total price when totalPrice, deliveryPromises and deliveryPromiseSelected are available\n if (!!totalPrice && !!deliveryPromises && !!deliveryPromiseSelected) {\n totalPrice += deliveryPromises[deliveryPromiseSelected]?.amount;\n }\n return {\n type: productName,\n isDndApplicable: true,\n productCode: route?.routePrices?.dynamicPrice?.productCode,\n routeType: constants.sailings.routeType.flex,\n typeKey: `${constants.sailings.translationKeyPrefix.sailings}${productName}`,\n productAttribute: getters.getFlexProductAttribute(routeId),\n isPriceMissing,\n isContractRate,\n isFlexHub,\n deliveryPromises,\n productName,\n priceRestrictionStatus,\n contractNumber,\n fixedPrice,\n fixedPriceCurrency,\n dynamicPrice,\n dynamicPriceCurrency,\n isFmcApplicable,\n available,\n totalPrice,\n totalPriceCurrency,\n fixedRateAvailabilityMessage,\n dynamicRateAvailabilityMessage,\n hasError,\n showFlexPenaltyFeeDisclaimer,\n routeId,\n maerskAccelerate\n };\n },\n getFlexProductName: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n const flexProductName = constants.sailings.flexProductName;\n if (\n route?.routePrices?.dynamicPrice?.productCode?.toLowerCase() ===\n constants.sailings.contractType.flexNow.toLowerCase()\n ) {\n return flexProductName.flexNow;\n }\n return !route?.routePrices?.dynamicPrice?.productCode\n ?.toLowerCase()\n .includes(constants.sailings.contractType.floating)\n ? flexProductName.fixed\n : flexProductName.floating;\n },\n /**\n * @description Returns a product attribute\n * 1. For flex now this is not applicable.\n * 2. For Block space plus this returns unavailable, even though routes has product attributes\n * @param {*} state\n * @param {*} getters\n * @returns {string} product attribute\n */\n getFlexProductAttribute: (state, getters) => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n const flexProductAttribute = constants.sailings.flexProductAttribute;\n let attributes =\n route?.routePrices?.dynamicPrice?.productAttributes &&\n route?.routePrices?.dynamicPrice?.productAttributes.length > 0\n ? route?.routePrices?.dynamicPrice?.productAttributes[0]\n : false;\n if (!attributes || getters.isBlockSpacePlus(routeId)) {\n return flexProductAttribute.unavailable;\n } else if (!!attributes?.isWithinAllocation && !attributes?.isLateBooking) {\n return flexProductAttribute.withinAllocation;\n } else if (!attributes?.isWithinAllocation && !attributes?.isLateBooking) {\n return flexProductAttribute.allocationUsed;\n } else if (!!attributes?.isLateBooking) {\n return flexProductAttribute.lateBooking;\n }\n },\n flexNowPriceDetails: (state, getters) => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n if (!route || (route && !route.routePrices)) return {};\n const type = constants.sailings.flexProductName.flexNow,\n routeType = type,\n typeKey = `${constants.sailings.translationKeyPrefix.sailings}${type}`;\n const isPriceMissing = false;\n return { ...getters.flexPriceDetails(routeId), type, routeType, typeKey, isPriceMissing };\n },\n getProformaAllocationWeek: (state, getters) => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n\n if (getters.isFlexPriceApplicable(routeId) || getters.isFixedBlockSpaceApplicable(routeId)) {\n //FlexPrice or BlockSpace\n return constructConsumptionPerWeekStringForFlexOrBlockspace(route);\n } else if (getters.isFixedPriceApplicable(routeId)) {\n //AFLS contract\n return constructConsumptionPerWeekStringForAFLSContracts(getters, route, routeId);\n } else return null;\n },\n /**\n * @description Gets the allocation details for the Maersk Accelerate\n * @param {*} state\n * @param {*} getters\n * @returns {Object} allocation details\n */\n getMaerskAccelerateAllocationDetails: (state, getters, rootState, rootGetters) => routeId => {\n const allocationDetails = getters.getMaerskAccelerateDetails(routeId)?.allocationData;\n if (!allocationDetails) return null;\n if (rootGetters[\"OD3CP/isAmendBooking\"]) {\n return getters.getAmendMacAllocationDetails(routeId);\n }\n return getters.calculateMacAllocationDetails(allocationDetails);\n },\n /**\n * @description Gets the allocation details for the Maersk Accelerate for amend journey\n * @param {*} state\n * @param {*} getters\n * @returns {Object} allocation details\n */\n getAmendMacAllocationDetails: (state, getters, rootState, rootGetters) => routeId => {\n // Get allocation week from PMA first i.e inside MAC allocation data and then if not found, get from UTM, if UTM also down we have to show unavailable\n // To compare the allocation week we need to get the allocation week for the original route and compare with the current route\n const originalAllocationData = getters.getMaerskAccelerateDetails(\n getters.getValidatedOriginalRoute?.routeScheduleId\n )?.allocationData;\n const routeAllocationData = getters.getMaerskAccelerateDetails(routeId)?.allocationData;\n const originalAllocationWeekFromPMA = getAllocationWeekOfTheYear(originalAllocationData?.proformaAllocationWeek);\n const originalAllocationWeekFromUTM = getters.getProformaAllocationWeek(\n getters.getValidatedOriginalRoute?.routeScheduleId\n );\n const originalAllocationWeek = originalAllocationWeekFromPMA ?? originalAllocationWeekFromUTM;\n const routeAllocationWeekFromPMA = getAllocationWeekOfTheYear(routeAllocationData?.proformaAllocationWeek);\n const routeAllocationWeekFromUTM = convertToYearWeekFormat(getters.getProformaAllocationWeek(routeId));\n const allocationWeek = routeAllocationWeekFromPMA ?? routeAllocationWeekFromUTM;\n const isOriginalRoute = getters.isOriginalRoute(routeId);\n // If original or current route allocation week is not there we can't decide what allocation data to show\n if (!originalAllocationWeek || !allocationWeek) return {};\n if (isOriginalRoute || originalAllocationWeek === allocationWeek) {\n // If original or current route allocation week is same then ffe consumed should be the difference between allocation consumed and original ffe consumed(booking retrieval)\n // If original has no mac info then don't consider original ffe consumed\n const originalFfeConsumed = !!getters.getOriginalMacInfo?.isMac ? rootGetters[\"OD3CP/getOriginalFfe\"] : 0;\n const ffeConsumed = routeAllocationData?.allocationConsumed - originalFfeConsumed;\n return getters.calculateMacAllocationDetails({ ...routeAllocationData, ffeConsumed });\n }\n return getters.calculateMacAllocationDetails(routeAllocationData);\n },\n /**\n * @description Calculates the allocation details for the Maersk Accelerate\n * @param {*} state\n * @param {*} getters\n * @returns {Object} allocation details\n */\n calculateMacAllocationDetails: (state, getters, rootState, rootGetters) => allocationDetails => {\n const initialAllocation = allocationDetails?.initialAllocation;\n const ffeConsumed = allocationDetails?.ffeConsumed ?? allocationDetails?.allocationConsumed;\n const currentFfeAllocation = rootGetters[\"OD3CP/getCurrentFfe\"];\n const availableFfe = initialAllocation - ffeConsumed;\n const ffeAllocated = availableFfe >= currentFfeAllocation ? currentFfeAllocation : 0;\n const remainingFfe = availableFfe - ffeAllocated;\n return {\n ffeAllocation: allocationDetails?.initialAllocation,\n ffeConsumed,\n ffeUsed: allocationDetails?.allocationConsumed,\n ffeAllocated,\n ffeNonAllocated: ffeAllocated > 0 ? 0 : currentFfeAllocation,\n remainingFfe\n };\n },\n isFlexContractOfferFilterException: (state, getters, rootState, rootGetters) => routeId => {\n const isFlexContractORBlockSpacePlus =\n (getters.isFlexPriceApplicable(routeId) &&\n getters.getFlexProductName(routeId) === constants.sailings.contractType.fixed) ||\n (rootGetters[\"boFlags/getFlag\"](constants.featureFlags.blockSpaceAmend.name) &&\n getters.isBlockSpacePlus(routeId));\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n const isPenaltyMissing = !route?.routePrices?.dynamicPrice?.penaltyFees?.length > 0;\n const penaltyException = route?.statusInfos?.find(\n statusCode =>\n statusCode.code === constants.sailings.penaltyException.code &&\n statusCode.serviceChecked &&\n statusCode.type === constants.sailings.penaltyException.type\n );\n return !!(isFlexContractORBlockSpacePlus && isPenaltyMissing && penaltyException);\n },\n isFixedPriceAvailable: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return !!route?.routePrices?.isFixedPriceAvailable;\n },\n isFixedPriceApplicable: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return !!route?.routePrices?.isFixedPriceApplicable;\n },\n isCliRate: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return !!route?.routePrices?.fixedPrice?.contractNumber;\n },\n /**\n * @description Gets the validated original route info for display on the sailings page.\n * In most cases the route is returned in a 1:1 match from r1 & r2, however in the case of container substitution\n * we receive 2 routes with the isOriginalRoute flag. One for the original route and another for the substitute route.\n * @param {Store} state\n * @param {Store} getters\n * @returns {Object} Formatted data used by the template to display the sailing\n */\n getValidatedOriginalRoute(state, getters) {\n const originalRoutes = state.routesAvailability?.filter(r => r.isOriginalRoute);\n const originalRouteSchedules = (originalRoutes || []).map(r => r.routeScheduleId);\n if (originalRouteSchedules.length === 0) return null;\n const firstRoute = getters.routesListWithOriginalRoute?.find(route =>\n originalRouteSchedules.includes(route.routeScheduleId)\n );\n return firstRoute || null;\n },\n /**\n * @description Handles a corner case where the user has booked an alternate route but that route is not available\n * for amendment as the preferred route is now available. Hence the back end sends the alternate route(original route)\n * with the substitute flag. In new sailings routes with routeStatus of SUBSTITUTE are always hidden(see isRouteVisible),\n * however in the case of the original route, we cannot hide it, hence we mark the route as `No longer available`\n * @param {Store} state\n * @return {Boolean}\n */\n isOriginalRouteSubstituted: state => {\n const originalRouteAvailability = state.routesAvailability?.find(r => r.isOriginalRoute);\n return !!(\n originalRouteAvailability?.routeScheduleAvailability.availabilityStatus ===\n constants.sailings.routeStatus.states.SUBSTITUTE\n );\n },\n /**\n * @description Check if DnD is down or is Data available (status code = DNDFW01, DNDFW02)\n * @param {Store} state\n * @return {Boolean}\n */\n isDnDDown: state => routeId => {\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === routeId);\n const dndDown = route?.statusInfos?.find(statusCode => constants.sailings.codes.dndDown.includes(statusCode.code));\n return !!dndDown;\n },\n /**\n * @description Check if Origin || Dest. country is part of FMC country list (status code = DNDFI01)\n * @param {Store} state\n * @return {Boolean}\n */\n isDndFmc: state => routeId => {\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === routeId);\n const isFMCCountry = route?.statusInfos?.find(\n statusCode => statusCode.code === constants.sailings.codes.fmcCountry\n );\n return !!isFMCCountry;\n },\n // Check if PMA is down (status code = OFPMW01)\n isPMADown: state => routeId => {\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === routeId);\n const pmaDown = route?.statusInfos?.find(statusCode => statusCode.code === constants.sailings.codes.pmaDown);\n return !!pmaDown;\n },\n // Check if PMA is down for SPOT Amend (status code = PMADE01) and isFixedPriceApplicable, isFixedPriceAvailable, isDynamicPriceApplicable, isDynamicPriceAvailable - all are false\n isPMADownAmend: (state, getters, rootState, rootGetters) => routeId => {\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === routeId);\n const isCodePresent = route?.statusInfos?.find(\n statusCode =>\n statusCode.code === constants.sailings.codes.pmaDownAmend &&\n statusCode?.type.toUpperCase() === constants.exceptionTypes.exception.toUpperCase()\n );\n const pmaDownAmend =\n Boolean(rootGetters[\"boFlags/getFlag\"](constants.featureFlags.blockSpaceAmend.name)) && isCodePresent\n ? !!route?.routePrices?.isFixedPriceApplicable === false &&\n !!route?.routePrices?.isFixedPriceAvailable === false &&\n !!route?.routePrices?.isDynamicPriceApplicable === false &&\n !!route?.routePrices?.isDynamicPriceAvailable === false\n : isCodePresent;\n return !!pmaDownAmend;\n },\n isUTMDown: state => routeId => {\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === routeId);\n const utmDown = route?.statusInfos?.find(statusCode => constants.sailings.codes.utmDown.includes(statusCode.code));\n return !!utmDown;\n },\n /**\n * @description Check if Spot offer is changed to offers given below for Spot Amend\n * isFixedPriceApplicable, isFixedPriceAvailable, isDynamicPriceApplicable, isDynamicPriceAvailable\n * (status code = AMPMI01)\n * @param {Store} state\n * @param {String} routeId\n * @return {Boolean}\n */\n isSpotAmendOfferChangedToContract: state => routeId => {\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === routeId);\n const spotAmendOfferChangedToContract = route?.statusInfos?.find(\n statusCode => statusCode.code === constants.sailings.codes.spotToContractOfferChanged\n );\n return !!spotAmendOfferChangedToContract;\n },\n /**\n * @description Check if contractual offer is available from PMA while amending contract offer\n * isFixedPriceApplicable, isFixedPriceAvailable, isDynamicPriceApplicable, isDynamicPriceAvailable\n * (status code = AMPMI02)\n * @param {Store} state\n * @param {String} routeId\n * @return {Boolean}\n */\n isPMAContractOfferFoundForContractAmend: state => routeId => {\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === routeId);\n const PMAContractOfferFoundForContractAmend = route?.statusInfos?.find(\n statusCode => statusCode.code === constants.sailings.codes.pmaContractOfferFound\n );\n return !!PMAContractOfferFoundForContractAmend;\n },\n /**\n * @description Check if FlexContract or FlexFloating offer is changed in Flex amend journey\n * isFixedPriceApplicable, isFixedPriceAvailable, isDynamicPriceApplicable, isDynamicPriceAvailable - all are false\n * (status code = PMADE03)\n * @param {Store} state\n * @param {String} routeId\n * @return {Boolean}\n */\n isFlexAmendOfferChanged: state => routeId => {\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === routeId);\n return !!route?.statusInfos?.find(statusCode => statusCode.code === constants.sailings.codes.flexAmendOfferChanged);\n },\n /**\n * @description Check if it an original route and status code is PMADE05\n * isFixedPriceApplicable, isFixedPriceAvailable, isDynamicPriceApplicable, isDynamicPriceAvailable - all are false\n * (status code = PMADE05)\n * @param {Store} state\n * @param {String} routeId\n * @return {Boolean}\n */\n isNoOfferApplicableForOriginalRoute: (state, getters) => routeId => {\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === routeId);\n return (\n !!route?.statusInfos?.find(\n statusCode => statusCode.code === constants.sailings.codes.originalRouteNoOfferApplicable\n ) && getters.isOriginalRoute(route.routeScheduleId)\n );\n },\n /**\n * @description Returns the state to be set on the spot rollable checkbox as per pma flags\n * @param {Store} state\n * @param {String} routeScheduleId Id of the route\n * @returns {Object}\n */\n getRollableOptionDefaults: (state, getters, rootState, rootGetters) => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n const rollableSpotVariance = route?.routePrices?.dynamicPrice?.productVariances?.find(price =>\n constants.SPOTRollableDeliveryAgreementTypes.includes(price.gcssDeliveryAgreementType)\n );\n const spotVariance = route?.routePrices?.dynamicPrice?.productVariances?.find(price =>\n [constants.SPOTDeliveryAgreementTypes[0], constants.SPOTDeliveryAgreementTypes[2]].includes(\n price.gcssDeliveryAgreementType\n )\n );\n return {\n enabled: !!rollableSpotVariance?.enabled,\n selected: !!rollableSpotVariance?.defaultSelected,\n ...(rootGetters[\"boFlags/getFlag\"](constants.featureFlags.mandatorySpotRollable.name) && {\n //For mandatory to be true:\n //In both New and Ammend scenarios, productVariance for spot should have \"enabled:false\".\n //In Amend scenario, productVariance for rollableSpot should have \"defaultSelected:true\".\n //In New Booking scenario, productVariance for rollableSpot should have \"enabled:true\".\n mandatory: rootGetters[\"OD3CP/isAmendBooking\"]\n ? !spotVariance?.enabled && !!rollableSpotVariance?.defaultSelected\n : !spotVariance?.enabled && !!rollableSpotVariance?.enabled\n })\n };\n },\n /**\n * @description Returns true for below one of the conditions valid\n *\n * 1. if price type is spot, it's available and for all booking types\n * 2. if price type is flex now, it's available and for not amend booking\n * 3. if all contractual prices, non fmc countries, it's available and for not amend booking\n *\n * @param {Store} state\n * @param {Store} getters\n * @param {Store} rootState\n * @param {Store} rootGetters\n * @returns {boolean}\n */\n isFreeTimeAvailableForSailings: (state, getters, rootState, rootGetters) => price => {\n let allowedTypes = [\n constants.sailings.contractType.contract,\n constants.sailings.contractType.floating,\n constants.sailings.contractType.fixed,\n constants.sailings.contractType.blockSpace\n ];\n // DnD check is not required for any product type, backend is not sending fmc status for any product type\n let isAllowedTypes = allowedTypes.includes(price?.type) && !getters.isDndFmc(price?.routeId);\n\n allowedTypes = [\n ...allowedTypes,\n constants.sailings.contractType.market,\n constants.sailings.contractType.tariff,\n constants.sailings.contractType.markettariff\n ];\n isAllowedTypes = allowedTypes.includes(price?.type);\n\n const allowedContractTypes = [\n constants.sailings.contractType.spot,\n constants.sailings.contractType.flexNow\n ].includes(price?.type);\n\n if (!price?.available) return false;\n\n if (!(allowedContractTypes || isAllowedTypes)) return false;\n\n return rootGetters[\"boFlags/getFlag\"](constants.featureFlags.vasOnAmend.name)\n ? true\n : !!(price?.type === constants.sailings.contractType.spot || !rootGetters[\"OD3CP/isAmendBooking\"]);\n },\n // Show Spot Unavailable card if PMA is down and isFixedPriceApplicable is false\n // Dont show if areOffersAvailableToShow R2 response param is false\n showSpotUnavailableCard: (state, getters, rootState, rootGetters) => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return (\n getters.isPMADown(routeId) && route?.routePrices?.isFixedPriceApplicable === false && state.offersAvailableToShow\n );\n },\n // Check offeredFilteredReasonType is SPOTEXCLUSION and both isFixedPriceApplicable, isFixedPriceAvailable false\n isPMATypeSpotExclusionApplicable: state => routeId => {\n const routePrices = state.routesAvailability?.find(r => r.routeScheduleId === routeId)?.routePrices;\n return (\n routePrices?.dynamicPrice?.offeredFilteredReasonType ===\n constants.sailings.offeredFilteredReasonType.SPOTEXCLUSION &&\n routePrices?.isFixedPriceApplicable === false &&\n routePrices?.isFixedPriceAvailable === false\n );\n },\n // Check if rate is down (status code = RMESW01)\n isRateDown: (state, getters, rootState, rootGetters) => routeId => {\n // Ignore status code RMESW01 for mll users as isFixedPriceApplicable would always be true for them\n if (rootGetters[\"OD3CP/isMilitaryUserWithCarrierMll\"]) return false;\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === routeId);\n const rateDown = route?.statusInfos?.find(\n statusCode =>\n statusCode?.code === constants.sailings.codes.rateDown &&\n statusCode?.type.toUpperCase() === constants.exceptionTypes.warning.toUpperCase()\n );\n return !!rateDown;\n },\n // Check if rates are not available (status code = RMESW02)\n isRatesNotFound: (state, getters, rootState, rootGetters) => routeId => {\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === routeId);\n const ratesNotFound = route?.statusInfos?.find(\n statusCode => statusCode?.code === constants.sailings.codes.rateNotFound\n );\n return !!ratesNotFound;\n },\n // Check if RMV3 call is skipped (status code = RMESW03)\n isRMV3CallSkipped: (state, getters, rootState, rootGetters) => routeId => {\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === routeId);\n const callSkipped = route?.statusInfos?.find(\n statusCode => statusCode?.code === constants.sailings.codes.rmv3CallSkipped\n );\n return !!callSkipped;\n },\n // Show Contract Unavailable if rate is down, or SPOTEXCLUSION applicable\n // Consider rates unavailable(RMESW02) or RMV3 call skipped(RMESW03) only in the case of Amend journey and original route\n showContractUnavailableCard: (state, getters, rootState, rootGetters) => routeId => {\n return (\n (getters.isRateDown(routeId) ||\n (rootGetters[\"OD3CP/isAmendBooking\"] &&\n getters.isOriginalRoute(routeId) &&\n (getters.isRatesNotFound(routeId) || getters.isRMV3CallSkipped(routeId))) ||\n getters.isPMATypeSpotExclusionApplicable(routeId)) &&\n !rootGetters[\"OD3CP/isSpotInOriginalBooking\"] && // Dont show for SPOT Amend journey if AFLS is down\n state.offersAvailableToShow // Dont show if areOffersAvailableToShow R2 response param is false\n );\n },\n isDynamicPriceAvailable: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return !!route?.routePrices?.isDynamicPriceAvailable;\n },\n isDynamicPriceApplicable: (state, getters, rootState, rootGetters) => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n // If offerFilteredReasonType is spotscope we hide sailings card\n if (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.spotScope.name) &&\n route?.routePrices?.dynamicPrice?.offeredFilteredReasonType?.toUpperCase() ===\n constants.sailings.offeredFilteredReasonType.SPOTSCOPE\n ) {\n return false;\n }\n // This will need to be cleaned up with flex now release\n return !!(\n route?.routePrices?.isDynamicPriceApplicable &&\n !route?.routePrices?.dynamicPrice?.productCode\n ?.toLowerCase()\n ?.includes(constants.sailings.contractType.flexNow.toLowerCase())\n );\n },\n isFlexNowPriceApplicable: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return (\n !!route?.routePrices?.isDynamicPriceApplicable &&\n !!route?.routePrices?.dynamicPrice?.productCode\n ?.toLowerCase()\n ?.includes(constants.sailings.contractType.flexNow.toLowerCase())\n );\n },\n isFlexPriceApplicable: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return !!(\n route?.routePrices?.dynamicPrice?.productCode?.toLowerCase()?.includes(constants.sailings.contractType.flex) &&\n !route?.routePrices?.dynamicPrice?.productCode\n ?.toLowerCase()\n ?.includes(constants.sailings.contractType.flexNow.toLowerCase())\n );\n },\n isFixedBlockSpaceApplicable: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return !!route?.routePrices?.dynamicPrice?.productCode\n ?.toLowerCase()\n ?.includes(constants.sailings.contractType.blockSpace.toLowerCase());\n },\n blockSpacePriceDetails: (state, getters) => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n if (!route || (route && !route.routePrices)) return {};\n const type = constants.sailings.contractType.blockSpace,\n routeType = type,\n typeKey = `${constants.sailings.translationKeyPrefix.sailings}${type}`;\n return { ...getters.flexPriceDetails(routeId), type, routeType, typeKey };\n },\n isBlockSpaceSpot: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n //productAttributes is an array which contains a single element!\n let attributes =\n route?.routePrices?.dynamicPrice?.productAttributes &&\n route?.routePrices?.dynamicPrice?.productAttributes.length > 0\n ? route?.routePrices?.dynamicPrice?.productAttributes[0]\n : null;\n return !attributes ? false : attributes.isWithinAllocation === false;\n },\n /**\n * @description returns true if route has blockSpacePlus productCode\n * @param {Object} state\n * @returns {function(*): boolean}\n */\n isBlockSpacePlus: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return route?.routePrices?.dynamicPrice?.productCode\n ?.toLowerCase()\n ?.includes(constants.sailings.contractType.blockSpacePlus.toLowerCase());\n },\n getSubstituteContainer: state => routeId => {\n const route = state?.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return route?.routeScheduleAvailability?.equipmentCheckDetails?.equipmentList[0]?.equipmentDetails;\n },\n /**\n * @description Get all the selected containers with isSubstituted flag ON and return the details\n * @param {Object} state\n * @returns {Array}\n */\n getMultipleSubstituteContainers: state => routeId => {\n const route = state?.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return (\n route?.routeScheduleAvailability?.equipmentCheckDetails?.equipmentList\n .filter?.(equipment => equipment.isSubstituted)\n .map?.(equipment => ({\n equipmentDetails: equipment?.equipmentDetails,\n requestedContainer: equipment?.requestedContainer\n })) ?? []\n );\n },\n getSubstituteContainerByIndex: (state, getters, rootState, rootGetters) => (routeId, containerIndex) => {\n const route = state?.routesAvailability?.find(r => r.routeScheduleId === routeId);\n if (!rootGetters[\"OD3CP/isMultiContainerAndFlagEnabled\"])\n return route?.routeScheduleAvailability?.equipmentCheckDetails?.equipmentList[containerIndex]?.equipmentDetails;\n const currentTypeIsoCode =\n rootGetters[\"OD3CP/getContainerSelect\"]?.[containerIndex]?.containerType?.isoContainerSizeTypeCd;\n const currentTypeDetails = findCorrectEquipmentDetailsByIsoCode(\n route?.routeScheduleAvailability?.equipmentCheckDetails?.equipmentList,\n currentTypeIsoCode\n );\n if (!currentTypeDetails.isSubstituted) return currentTypeDetails?.requestedContainer;\n return currentTypeDetails?.equipmentDetails;\n },\n getSubstituteContainerDetails: (state, getters, rootState, rootGetters) => routeId => {\n const subContainer = getters.getSubstituteContainer(routeId);\n return !subContainer ? null : rootGetters[\"commonData/getContainerByTypeSize\"](subContainer);\n },\n getSubstituteContainerDetailsByIndex: (state, getters, rootState, rootGetters) => (routeId, containerIndex) => {\n const subContainer = getters.getSubstituteContainerByIndex(routeId, containerIndex);\n return !subContainer ? null : rootGetters[\"commonData/getContainerByTypeSize\"](subContainer);\n },\n getSubstituteContainerStatus: state => routeId => {\n return !!state?.substituteContainerStatus?.[routeId];\n },\n getSelectedContainerName(state, getters, rootState, rootGetters) {\n const selectedRouteId = getters.getSelectedRoute?.routeScheduleId;\n const isContainerSubstituted = getters.getSubstituteContainerStatus(selectedRouteId);\n return !isContainerSubstituted\n ? rootGetters[\"OD3CP/cargoDetails\"][0].containers[0].displayName\n : getters.getSubstituteContainerDetails(selectedRouteId).sizeTypeDisplayName;\n },\n getSelectedContainerNameByIndex: (state, getters, rootState, rootGetters) => containerIndex => {\n const selectedRouteId = getters.getSelectedRoute?.routeScheduleId;\n const isContainerSubstituted = getters.getSubstituteContainerStatus(selectedRouteId);\n return !isContainerSubstituted\n ? rootGetters[\"OD3CP/cargoDetails\"][0].containers[containerIndex].displayName\n : getters.getSubstituteContainerDetailsByIndex(selectedRouteId, containerIndex)?.sizeTypeDisplayName;\n },\n getSelectedRoute(state) {\n return state.selectedRoute;\n },\n // return a list of all ports from the selected route's schedules array\n getSelectedPorts(state, getters) {\n return (getters.getSelectedRoute?.schedules || []).filter(leg =>\n constants.routeIconsByTransportModeCode.vessel.includes(leg.transportModeCode)\n );\n },\n // return the last port from the selected route's schedules array\n getSelectedPortOfDischarge(state, getters) {\n return getters.getSelectedPorts.slice(-1)[0];\n },\n // return the first port from the selected route's schedules array\n getSelectedPortOfLoading(state, getters) {\n return getters.getSelectedPorts[0];\n },\n getSelectedRouteForGroupHeader(state, getters, rootState, rootGetters) {\n if (rootGetters[\"OD3CP/isInOfflineMode\"]) {\n const notAvailable = Vue.prototype.$t(\"common.notAvailable\");\n return {\n departure: notAvailable,\n arrival: notAvailable,\n transitTime: notAvailable,\n cccDate: notAvailable,\n departureVesselName: notAvailable\n };\n }\n if (!state.selectedRoute) {\n return null;\n }\n if (getters.isOriginalDummyRouteSelected) {\n return getters.getOriginalRouteForAmend;\n }\n if (!!getters.isOriginalValidatedRouteSelected) {\n return getters.getValidatedOriginalRoute;\n }\n return getters.routesList?.find(route => route.routeScheduleId === state.selectedRoute.routeScheduleId);\n },\n getSelectedPrice: (state, getters) => {\n // Price from the selected route based on the price type\n // For AFLS prices, they are not returned in the selected route object\n // This will need to come from finding the selected route\n // and we'll re-use the existing getters here\n if (!state.selectedPrice) return;\n\n // We are storing selected price on book, so it will have to info if it's fixed, dynamic or retrieved\n // We will get all price information already mapped that can be used in sanctions and payment details price breakdown\n return getters.getRoutePriceBreakdown(state.selectedPrice);\n },\n /**\n * Gets the objects for when containers are available from a given facility\n */\n getAvailableEquipment: state => facilityCode => {\n return state.selectedRoute?.equipmentAvailabilities.filter(\n equipment => equipment.siteCode === facilityCode && equipment.available\n );\n },\n getRoutePriceBreakdown: (state, getters, rootState, rootGetters) => price => {\n let priceBreakdown = { ...price, priceBreakdown: [] };\n const routePriceBreakdown = state.routesPriceBreakdown ? state.routesPriceBreakdown[price.routeId] : null;\n if (routePriceBreakdown) {\n const transformedPriceType = transformPriceType(price.type);\n const priceBreakdownForPriceType = routePriceBreakdown[transformedPriceType];\n if (!priceBreakdownForPriceType) return priceBreakdown;\n // If API error occurs, priceBreakdown object will have hasError property,\n // valid one won't have it - it will be undefined (falsy)\n if (priceBreakdownForPriceType.hasError) return { ...priceBreakdown, hasError: true };\n priceBreakdown.priceBreakdown = mapPriceBreakdown(priceBreakdownForPriceType, transformedPriceType, rootGetters);\n priceBreakdown.isInlandHaulage = getters.isInlandHaulage(price.routeId);\n priceBreakdown.isContractRateUnavailable = isContractRateUnavailable(price.type);\n }\n\n return priceBreakdown;\n },\n /**\n * Gets the flag for if price is retrieved\n */\n isPriceRetrieved: state => price => {\n const routePriceBreakdown = state.routesPriceBreakdown ? state.routesPriceBreakdown[price.routeId] : null;\n if (routePriceBreakdown) {\n const transformedPriceType = transformPriceType(price.type);\n return routePriceBreakdown[transformedPriceType]?.isPriceRetrieved;\n }\n return false;\n },\n /**\n * Gets the Import D&D Conditions for Dynamic (Spot) price of specific route\n * @param state\n * @param getters\n * @return {function(*): []}\n */\n getImportDndConditions: (state, getters) => price => {\n if (!constants.sailings.dynamicPriceContractTypes.includes(price?.type)) {\n return getters.getImportDndConditionsFromFixedPrice(price);\n }\n return getters.getImportDndConditionsFromDynamicPrice(price);\n },\n /**\n * Gets the Import D&D Conditions for Dynamic (Spot and Flex Now) price of specific route\n * @param state\n * @return {function(*): []}\n */\n getImportDndConditionsFromDynamicPrice: state => price => {\n let dynamicPriceForRoute;\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === price.routeId);\n if (state.routesPriceBreakdown && state.routesPriceBreakdown[price.routeId]) {\n dynamicPriceForRoute = state.routesPriceBreakdown[price.routeId][constants.ENDPOINTS.dynamicPrice];\n }\n return (\n route?.routePrices?.dynamicPrice?.importDnDConditions ||\n dynamicPriceForRoute?.productPrice?.importDnDConditions ||\n []\n );\n },\n /**\n * Gets the Import D&D Conditions for Fixed (Contract, Fixed, Floating, BlockSpace) price of specific route\n * @param state\n * @return {function(*): []}\n */\n getImportDndConditionsFromFixedPrice: state => price => {\n let fixedPriceForRoute;\n const route = state.routesAvailability?.find(r => r?.routeScheduleId === price.routeId);\n if (state.routesPriceBreakdown && state.routesPriceBreakdown[price.routeId]) {\n fixedPriceForRoute = state.routesPriceBreakdown[price.routeId][constants.ENDPOINTS.fixedPrice];\n }\n return (\n route?.routePrices?.fixedPrice?.importDnDConditions || fixedPriceForRoute?.productPrice?.importDnDConditions || []\n );\n },\n /**\n * Gets the D&D free time grant in days for Dynamic (Spot) price of specific route\n * @param {*} state\n * @param {*} getters\n * @param {*} rootState\n * @param {*} rootGetters\n */\n getRouteDetentionDemurrage(state, getters, rootState, rootGetters) {\n const conditions = getters.getImportDndConditions(getters.getSelectedPrice);\n const addedDetentionFreetime = rootGetters[\"valueAddedServices/getSelectedDetentionFreetime\"];\n\n const addedDemurrageFreetime = rootGetters[\"valueAddedServices/getSelectedDemurrageFreetime\"];\n const totalDetentionFreetime = addedDetentionFreetime?.additionalFreeDays\n ? addedDetentionFreetime?.freeDays + addedDetentionFreetime.additionalFreeDays\n : addedDetentionFreetime?.freeDays;\n\n const totalDemurrageFreetime = addedDemurrageFreetime?.additionalFreeDays\n ? addedDemurrageFreetime?.freeDays + addedDemurrageFreetime.additionalFreeDays\n : addedDemurrageFreetime?.freeDays;\n const demurrageConditions = conditions.find(condition => condition.chargeType === constants.chargeTypes.demurrage);\n const detentionConditions = conditions.find(condition => condition.chargeType === constants.chargeTypes.detention);\n let freetimeConditionsObj = {\n freeTimeTranslationKey: \"\",\n freeTimeTranslationKeyValues: {}\n };\n if (!!detentionConditions?.freeTimeGrantInDays) {\n freetimeConditionsObj.freeTimeTranslationKey = \"onlyDetentionFreetime\";\n freetimeConditionsObj.freeTimeTranslationKeyValues[\"detentionFreetime\"] = !!addedDetentionFreetime\n ? totalDetentionFreetime\n : detentionConditions?.freeTimeGrantInDays;\n }\n if (!!demurrageConditions?.freeTimeGrantInDays) {\n freetimeConditionsObj.freeTimeTranslationKey = \"onlyDemurrageFreetime\";\n freetimeConditionsObj.freeTimeTranslationKeyValues[\"demurrageFreetime\"] = !!addedDemurrageFreetime\n ? totalDemurrageFreetime\n : demurrageConditions?.freeTimeGrantInDays;\n }\n if (Object.keys(freetimeConditionsObj.freeTimeTranslationKeyValues).length === 2) {\n freetimeConditionsObj.freeTimeTranslationKey = \"bothDnDFreetime\";\n }\n return freetimeConditionsObj;\n },\n /**\n * Gets the Penalty Fees for Dynamic (Spot) and Flex prices of specific route\n * @param state\n * @return {function(*): []}\n */\n getPenaltyFees: (state, getters, rootState, rootGetters) => price => {\n const isMultiFlagEnabled = rootGetters[\"OD3CP/isMultiContainerEnabled\"];\n let transformedPenaltyFees, penaltyFees;\n if (state.routesPriceBreakdown && state.routesPriceBreakdown[price.routeId]) {\n const dynamicPriceForRoute = state.routesPriceBreakdown[price.routeId][constants.ENDPOINTS.dynamicPrice];\n penaltyFees = dynamicPriceForRoute?.productPrice?.penaltyFees;\n transformedPenaltyFees = mapPenaltyFees(penaltyFees, isMultiFlagEnabled);\n }\n const contractType = constants.sailings.contractType;\n if ((price.type === contractType.fixed || price.type === contractType.floating) && !transformedPenaltyFees) {\n // Get the route availability info\n const route = state.routesAvailability?.find(r => r.routeScheduleId === price.routeId);\n if (!route || (route && !route.routePrices)) return [];\n //penaltyFees is an array which contains a single element!\n penaltyFees = route?.routePrices?.dynamicPrice?.penaltyFees;\n transformedPenaltyFees = mapPenaltyFees(penaltyFees, isMultiFlagEnabled);\n }\n\n return !transformedPenaltyFees ? [] : transformedPenaltyFees;\n },\n /**\n * Determines if route is committed customer, for customer allocation\n * @param state\n * @return {function(*): boolean}\n */\n isCommittedCustomer: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return !!route?.routeScheduleAvailability?.isCommittedCustomer;\n },\n /**\n * Get priceId value from the contract offer of the route selected\n * @param {Object} state\n * @param {String} routeId - routeScheduleId of the route\n * @returns {String} priceId of the fixedPrice data object\n */\n getFixedPriceId: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return route?.routePrices?.fixedPrice?.priceId ?? null;\n },\n /**\n * Get additional params for VAS api payload needed for Athena VAS service integration\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @returns {Object} isSpot and contractId\n */\n getAthenaVasParams(state, getters) {\n const isSpot = getters?.getSelectedPrice?.type === constants.sailings.routeType.spot;\n return cleanup({\n isSpot,\n ...(!isSpot && {\n contractId: getters?.getSelectedPrice?.contractNumber\n })\n });\n },\n /**\n * Get lineItemNumber param for VAS api payload needed for Athena VAS service integration\n * @param {Object} state\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Object} rootGetters\n * @param {String} selectedRouteId - routeScheduleId of the route\n * @returns {Object} lineItemNumber\n */\n getAthenaVasLineItemNumber: (state, getters) => selectedRouteId => {\n return !getters.getAthenaVasParams?.isSpot &&\n !!getters.getAthenaVasParams?.contractId &&\n !!getters.getFixedPriceId?.(selectedRouteId)\n ? { lineItemNumber: getters.getFixedPriceId?.(selectedRouteId) }\n : {};\n },\n /**\n * Determines if route is committed customer, for customer allocation from PMA response\n * @return {function(*): boolean}\n */\n isCommittedCustomerFromPMAResponse: (state, getters) => routeId => {\n return !!getters.isFlexPriceApplicable(routeId) || !!getters.isFixedBlockSpaceApplicable(routeId);\n },\n /**\n * Gets the Customer allocation\n * @param state\n * @return {function(*): (undefined|{ffeNonCommitted: *, ffeCommittedOnBooking: *, ffeCommitted: *, consumedFfeWeek: *, ffeUnused: *, type: *})}\n */\n getCustomerAllocationCommitment: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n const uptakeValidationDetails = route?.routeScheduleAvailability?.yieldCheckDetails?.uptakeValidationDetails;\n if (uptakeValidationDetails && uptakeValidationDetails.length) {\n // Take the first one for now\n const allocationCommitmentDetails = uptakeValidationDetails[0];\n if (!allocationCommitmentDetails.commitmentDetails) return;\n\n const commitmentType = allocationCommitmentDetails.commitmentDetails.commitmentTypeInd;\n const isIrregularType = commitmentType === constants.customerAllocationCommitmentType.irregular;\n const propertyBasedOnCommitmentType = isIrregularType ? \"irregularCommitment\" : \"regularCommitment\";\n\n let allocationCommitment = {\n type: commitmentType,\n ffeCommitted: allocationCommitmentDetails.commitmentDetails[propertyBasedOnCommitmentType].ffe,\n consumedFfeWeek: allocationCommitmentDetails.commitmentDetails[propertyBasedOnCommitmentType].consumedFfeWeek,\n ffeUnused: allocationCommitmentDetails.commitmentDetails[propertyBasedOnCommitmentType].unusedFfe,\n ffeCommittedOnBooking: allocationCommitmentDetails.totalFFEConsumed,\n ffeNonCommitted: allocationCommitmentDetails.totalFFENotConsumed\n };\n if (isIrregularType) {\n allocationCommitment.ffeUnusedWeekly =\n allocationCommitmentDetails.commitmentDetails[propertyBasedOnCommitmentType].unusedWeeklyLimitFfe;\n allocationCommitment.ffeUsedForPeriod =\n allocationCommitmentDetails.commitmentDetails[propertyBasedOnCommitmentType].consumedFfePeriod;\n }\n return allocationCommitment;\n }\n },\n /**\n * Determines if reducible containers quantity is applicable for specific route\n * @param state\n * @return {function(*): boolean}\n */\n isReducibleApplicable: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return !!route?.isReducibleApplicable;\n },\n /**\n * Gets total FFE consumed for specific route\n * @param state\n * @return {function(*): *}\n */\n getTotalFFEConsumed: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return route?.routeScheduleAvailability?.yieldCheckDetails?.uptakeValidationDetails[0]?.totalFFEConsumed;\n },\n /**\n * Determines if specific route is inland haulage\n * @param state\n * @return {function(*): (*|boolean)}\n */\n isInlandHaulage: state => routeId => {\n const route = state.routes?.find(r => r.routeScheduleId === routeId);\n if (route && route.statusInfos && route.statusInfos.length) {\n return route.statusInfos.some(statusInfo => statusInfo.code === constants.inlandHaulageCode);\n }\n return false;\n },\n getDeadlinesFromValidatedResponseForSpecificRoute: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return route?.deadlines ? route.deadlines : null;\n },\n getDeliveryPromise: state => routeId => {\n return state.deliveryPromises?.[routeId];\n },\n /**\n * Determines offer type\n * @param state\n * @return {String}\n */\n getOfferType(state) {\n // Need to handle BLOCKSPACE offer type in future\n const { contractType, offerType } = constants.sailings;\n const mapGaOfferType = {\n [contractType.contract]: offerType.aflsContract,\n [contractType.market]: offerType.aflsNonContract,\n [contractType.tariff]: offerType.aflsNonContract,\n [contractType.markettariff]: offerType.aflsNonContract,\n [contractType.spot]: offerType.spot,\n [contractType.fixed]: offerType.flex,\n [contractType.floating]: offerType.flex,\n [contractType.blockSpace]: offerType.blockSpace\n };\n return mapGaOfferType[state.selectedPriceType];\n },\n\n /**\n * Creates payload for status infos in offline mode for offline submission\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {*}\n */\n getStatusInfosPayloadInOfflineMode(state, getters, rootState, rootGetters) {\n const mepcErrors = rootGetters[\"error/getErrorsBySource\"](constants.errorSource.mepc);\n return mepcErrors.flatMap(exception => {\n return exception.error.statusInfos?.filter(statusInfo => constants.adfExceptions.MEPC.includes(statusInfo.code));\n });\n },\n\n /**\n * For specific route, finds last schedule with vessel (water leg) - which is Port of Discharge.\n * @param state\n * @return {function(*): {}|undefined}\n */\n getPortOfDischargeByRouteId: state => routeId => {\n const route = state.routes?.filter(r => r.routeScheduleId === routeId);\n if (!route || !route.length) return {};\n //Don't consider barge transfers for discharge as they are only used for minor internal transportation.\n const waterLegsWithoutBarge = constants.routeIconsByTransportModeCode.vessel.filter(\n i => i !== constants.transportModeCodes.barge\n );\n const schedulesWithVessel = (route[0].schedules || []).filter(leg =>\n waterLegsWithoutBarge.includes(leg.transportModeCode)\n );\n if (schedulesWithVessel?.length) {\n return schedulesWithVessel[schedulesWithVessel.length - 1];\n }\n },\n\n /**\n * For selected route creates array of trans-shipment ports for References API payload\n * @description For selected route, removes first and last schedule (first as origin and last as destination),\n * then filters out water legs schedules and collects an array of objects (cityCode, countryCode pairs) for each\n * schedule from startLocation object, except the last schedule - it uses endLocation object as well\n * @param {Store} state\n * @param {Store} getters\n * @return {*[]}\n */\n getTransShipmentPortsForSelectedRoute(state, getters) {\n const selectedRoute = getters.getSelectedRoute;\n if (!selectedRoute && !selectedRoute?.schedules?.length) {\n return [];\n }\n // remove the first and last schedule since they are origin and destination,\n // and get the trans-shipment schedules (the middle ones)\n const middleSchedules = selectedRoute.schedules.slice(1, -1);\n // filter out only water leg schedules - vessels\n const waterLegSchedules = middleSchedules.filter(leg =>\n constants.routeIconsByTransportModeCode.vessel.includes(leg.transportModeCode)\n );\n const transShipmentPorts = [];\n waterLegSchedules.forEach((waterLeg, index) => {\n const lastElementIndex = waterLegSchedules.length - 1;\n // start location\n transShipmentPorts.push({\n cityCode: waterLeg.startLocation.cityRkstCode,\n countryCode: waterLeg.startLocation.countryCode\n });\n // end location - only for last water leg\n if (index === lastElementIndex) {\n transShipmentPorts.push({\n cityCode: waterLeg.endLocation.cityRkstCode,\n countryCode: waterLeg.endLocation.countryCode\n });\n }\n });\n return transShipmentPorts;\n },\n\n /**\n * Creates route schedule payload in offline mode for offline submission\n * @param {Store} state\n * @return {{routeSchedule: {schedules: [{startLocation: {countryGeoId, cityName, cityGeoId, countryCode, cityRKSTCode, countryName}, endLocation: {countryGeoId, cityName, cityGeoId, countryCode, cityRKSTCode, countryName}}]}}|{}}\n */\n getRouteSchedulePayloadInOfflineMode(state) {\n const selectedRoute = state.selectedRoute;\n // selected route in offline mode has only 2 schedules - origin and destination from od3cp page\n if (!selectedRoute && selectedRoute?.schedules?.length !== 2) {\n return {};\n }\n const startLocation = selectedRoute.schedules[0].startLocation;\n const endLocation = selectedRoute.schedules[1].endLocation;\n return {\n schedules: [\n {\n startLocation: {\n cityGeoId: startLocation.cityGeoId,\n cityRkstCode: startLocation.cityCode,\n cityName: startLocation.cityName,\n countryGeoId: startLocation.countryGeoId,\n countryCode: startLocation.countryCode,\n countryName: startLocation.countryName\n },\n endLocation: {\n cityGeoId: endLocation.cityGeoId,\n cityRkstCode: endLocation.cityCode,\n cityName: endLocation.cityName,\n countryGeoId: endLocation.countryGeoId,\n countryCode: endLocation.countryCode,\n countryName: endLocation.countryName\n }\n }\n ]\n };\n },\n /**\n * Gets contract details for original route\n * @param {Store} state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {{ contractNumber: String, contractIndicator: string} | undefined}\n */\n getContractDetailsForOriginalRoute(state, getters, rootState, rootGetters) {\n return rootGetters[\"OD3CP/getBookingDataSource\"] === constants.bookingDataSource.bookingRequest\n ? rootGetters[\"OD3CP/getContractDetailsFromBookingRequest\"][0]\n : rootGetters[\"OD3CP/getContractDetailFromDataset\"];\n },\n /**\n * Creates original route schedule for amend\n * @param {Store} state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {{routeSchedule: {schedules: [{startLocation: {countryGeoId, cityName, cityGeoId, countryCode, cityRKSTCode, countryName}, endLocation: {countryGeoId, cityName, cityGeoId, countryCode, cityRKSTCode, countryName}}]}}|{}}\n */\n getOriginalRouteForAmend(state, getters, rootState, rootGetters) {\n const bookingData = rootGetters[\"OD3CP/getBookingData\"];\n if (!bookingData) return {};\n const isBrData = rootGetters[\"OD3CP/getBookingDataSource\"] === constants.bookingDataSource.bookingRequest;\n const vesselInfo = isBrData\n ? getVesselInfoFromBrData(bookingData.transport.routeDetails.selectedRoute.bookingSchedules)\n : findVessel(bookingData.shipmentRoute);\n const schedules = isBrData\n ? getRouteSchedulesFromBrData(bookingData.transport.routeDetails.selectedRoute)\n : routeScheduleMapper(bookingData);\n const departureAndArrival = {\n departure: rootGetters[\"OD3CP/getDepartureDetailsFromBookingData\"]?.originDepartureDatetime ?? null,\n arrival: rootGetters[\"OD3CP/getArrivalDetailsFromBookingData\"]?.destinationArrivalDatetime ?? null\n };\n // Calculate the difference between arrival and departure\n const showHoursInTransitTime = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.showHoursInTransitTime.name);\n const arrival = showHoursInTransitTime\n ? dayjs(departureAndArrival.arrival)\n : dayjs(departureAndArrival.arrival).startOf(\"d\");\n const transitTime = showHoursInTransitTime\n ? arrival.diff(departureAndArrival.departure, \"minutes\")\n : arrival.diff(departureAndArrival.departure, \"hours\") / 24;\n const contract = getters.getContractDetailsForOriginalRoute;\n const contractNumber = contract?.contractNumber ?? null;\n const type = rootGetters[\"OD3CP/getOriginalRouteType\"](contractNumber);\n return {\n ...departureAndArrival,\n ...vesselInfo,\n lsm: rootGetters[\"OD3CP/getOriginalLocationServiceMode\"],\n contract,\n transitTime,\n schedules,\n type,\n typeKey: `${constants.sailings.translationKeyPrefix.sailings}${type}`,\n contractNumber,\n deliveryAgreementType: bookingData?.references?.deliveryAgreementType ?? \"\",\n productCode: bookingData?.references?.productCode ?? \"\",\n isFmcApplicable: !!bookingData?.fmcDetails\n };\n },\n\n /**\n * Creates rollable compensation for rollable price\n * @param {Store} state\n * @return {(function(*): ({}))|*}\n */\n getRollableCompensation: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n if (!route || (route && !route.routePrices)) return {};\n let rollableCompensation = {\n currency: \"\",\n amount: \"\"\n };\n const penaltyFees = route.routePrices?.dynamicPrice?.penaltyFees;\n if (penaltyFees && penaltyFees.length) {\n const compensation = penaltyFees[0]?.charges?.find(penaltyFee => penaltyFee.penaltyType === \"CompensationFee\");\n rollableCompensation.currency = penaltyFees[0].currency || \"\";\n rollableCompensation.amount = compensation?.chargeFee ? compensation?.chargeFee * -1 : \"\"; // rare scenario if compensation fee is not there display only currency\n }\n return rollableCompensation;\n },\n\n /**\n * Gets for maersk accelerate details\n * @param {Store} state\n * @return {(function(*): ({}))|*}\n */\n getMaerskAccelerateDetails: (state, getters, rootState, rootGetters) => routeId => {\n if (!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.maerskAccelerate.name)) return {};\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n if (!route || (route && !route.routePrices)) return {};\n const fixedPrice = route.routePrices.fixedPrice;\n const mac = (fixedPrice?.productVases || []).find(vas =>\n Object.values(constants.maerskControl.codes).includes(vas?.code)\n );\n if (!mac) return {};\n const isAmend = rootGetters[\"OD3CP/isAmendBooking\"];\n const isWithinAllocation = !!mac?.allocationData?.isWithinAllocation;\n const isMandatory = mac?.applicability === constants.maerskControl.applicability.mandatory;\n const isOptional = mac?.applicability === constants.maerskControl.applicability.optional;\n const isOptionalSelected = isOptional && getters.getSelectedRoute?.isMaerskAccelerateSelected;\n const isPreSelectedMac = !!(\n isAmend &&\n route?.isOriginalRoute &&\n isOptional &&\n isWithinAllocation &&\n getters.getOriginalMacInfo?.macCodes?.includes(mac.code)\n );\n return {\n isMaerskAccelerate: !!mac,\n isMac: mac?.code === constants.maerskControl.codes.mac,\n isMandatory: isMandatory,\n shouldAddMaerskAccelerateInBO: !!(isWithinAllocation && (isMandatory || isOptionalSelected)),\n isWithinAllocation,\n isOptional: isOptional,\n macCode: mac?.code,\n price: mac?.amountInConvertedCurrency ?? 0,\n isPreSelectedMac,\n allocationData: mac?.allocationData\n };\n },\n\n /**\n * Gets additional services for sailings\n * @param {Store} state\n * @return {Array}\n */\n getAdditionalServices: (state, getters, rootState, rootGetters) => (price, additionalServicesConfig) => {\n if (!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.maerskAccelerate.name)) return [];\n const priceBreakdown = getters.getRoutePriceBreakdown(price)?.priceBreakdown || [];\n const isOptionalMacSelected = Boolean(\n additionalServicesConfig?.isMaerskAccelerateSelected &&\n price.maerskAccelerate.isWithinAllocation &&\n price.maerskAccelerate.isOptional\n );\n return priceBreakdown.filter(\n service => Object.values(constants.maerskControl.codes).includes(service.code) && isOptionalMacSelected\n );\n },\n\n /**\n * Gets status for optional mac selection and can be used after route selection\n * @param {Store} state\n * @return {Boolean}\n */\n isOptionalMacSelected: (state, getters) => {\n const price = getters.getSelectedPrice;\n return (\n price?.maerskAccelerate?.isOptional &&\n price?.maerskAccelerate?.isWithinAllocation &&\n getters.getSelectedRoute?.isMaerskAccelerateSelected\n );\n },\n /**\n * Gets MAC services in sailings for review\n * @param {Store} state\n * @return {Array}\n */\n getMacServicesForVas(state, getters, rootState, rootGetters) {\n if (!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.maerskAccelerate.name)) return [];\n const price = getters.getSelectedPrice;\n const services = price?.priceBreakdown?.filter(charge => {\n return Object.values(constants.maerskControl.codes).includes(charge?.code) && getters.isOptionalMacSelected;\n });\n services?.forEach(s => {\n s.title = s.name;\n s.qty = s.quantity;\n s.formattedCurrency = s.currency;\n s.formattedAmount = s.unitPriceFormatted;\n s.totalAmount = s.totalPriceFormatted;\n s.unitPrice = s.formattedAmount;\n s.totalPrice = !s.isRestricted ? s.totalAmount : this.labels.restricted;\n });\n return services;\n },\n /**\n * Gets DP services in sailings for review\n * @param {Store} state\n * @return {Array}\n */\n getDpForVas(state, getters) {\n const price = getters.getSelectedPrice;\n const selectedPromise = !price?.deliveryPromises\n ? null\n : price.deliveryPromises[getters.getDeliveryPromise(price.routeId)];\n const displayDeliveryPromise =\n selectedPromise?.amount !== null &&\n selectedPromise?.amount !== undefined &&\n !getters.isBlockSpacePlus(price.routeId);\n return !!displayDeliveryPromise ? getters.getSelectedDPForVas : [];\n },\n /**\n * Gets additional services for sailings for review\n * @param {Store} state\n * @return {Array}\n */\n getAdditionalSailingServicesForVas(state, getters, rootState, rootGetters) {\n if (!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.maerskAccelerate.name)) return [];\n return [...getters.getMacServicesForVas, ...getters.getDpForVas];\n },\n /**\n * Gets selected dp\n * @param {Store} state\n * @return {Array}\n */\n getSelectedPromise(state, getters) {\n return !getters.getSelectedPrice?.deliveryPromises\n ? null\n : getters.getSelectedPrice.deliveryPromises[getters.getDeliveryPromise(getters.getSelectedPrice.routeId)];\n },\n /**\n * Gets selected dp review\n * @param {Store} state\n * @return {Array}\n */\n getSelectedDPForVas(state, getters) {\n let dpDataList = [];\n const selectedPromise = getters.getSelectedPromise;\n if (selectedPromise != null && selectedPromise != undefined) {\n dpDataList = [\n {\n title: selectedPromise?.name,\n basis: constants.DELIVERY_PROMISE.BASIS,\n formattedCurrency: selectedPromise?.currency,\n formattedAmount: selectedPromise?.amount,\n quantity: constants.DELIVERY_PROMISE.QUANTITY,\n totalPrice: selectedPromise?.amount,\n unitPrice: selectedPromise?.amount\n }\n ];\n }\n return dpDataList;\n },\n\n /**\n * @description Gets the detention free time\n * @param {Object} state\n * @param {Object} getters\n * @returns {function(*=): Number | undefined }\n */\n getDetentionFreetime: (state, getters) => price => {\n let detentionFreetime = getters\n .getImportDndConditions(price)\n ?.find(r => r?.chargeType === constants.chargeTypes.detention);\n return detentionFreetime?.freeTimeGrantInDays;\n },\n\n /**\n * @description Gets the demurrage free time\n * @param {Object} state\n * @param {Object} getters\n * @returns {function(*=): Number | undefined }\n */\n getDemurrageFreetime: (state, getters) => price => {\n let demurrageFreetime = getters\n .getImportDndConditions(price)\n ?.find(r => r?.chargeType === constants.chargeTypes.demurrage);\n return demurrageFreetime?.freeTimeGrantInDays;\n },\n /**\n * @description Check if dnd free time validity periods are different for container types\n * @param {Object} state\n * @param {Object} getters\n * @returns { Boolean }\n */\n isDifferentDnDFreeTime: (_, getters) => price => {\n const conditions = getters.getImportDndConditions(price);\n const isDemurrageDifferent =\n new Set(\n conditions\n ?.filter?.(condition => condition?.chargeType === constants.chargeTypes.detention)\n ?.map(conditionDetention => conditionDetention?.freeTimeGrantInDays)\n ).size > 1;\n const isDetentionDifferent =\n new Set(\n conditions\n ?.filter?.(condition => condition?.chargeType === constants.chargeTypes.demurrage)\n ?.map(conditionDetention => conditionDetention?.freeTimeGrantInDays)\n ).size > 1;\n return isDemurrageDifferent || isDetentionDifferent;\n },\n /**\n * Checks if original route selected in AMEND\n * @param {*} state\n * @param {*} getters\n * @param {*} rootState\n * @param {*} rootGetters\n */\n isOriginalRouteSelectedInAmend(state, getters, rootState, rootGetters) {\n return !!(\n rootGetters[\"OD3CP/isAmendBooking\"] && Boolean(rootGetters[\"sailings/getSelectedRoute\"]?.isOriginalRouteSelected)\n );\n },\n /**\n * Checks if new route selected in AMEND or in new booking\n * @param {Store} state\n * @param {Store} getters\n * @param {Store} rootState\n * @param {Store} rootGetters\n * @return {boolean}\n */\n isNewRoute(state, getters, rootState, rootGetters) {\n return !!(\n !rootGetters[\"OD3CP/isAmendBooking\"] ||\n (rootGetters[\"OD3CP/isAmendBooking\"] &&\n !Boolean(rootGetters[\"sailings/getSelectedRoute\"]?.isOriginalRouteSelected))\n );\n },\n /**\n * @description Creates warning info for service contract change in amend journey\n * Note: The getContractChangeInfo will be used after adf redisgn and sailing store needs to be used, so sailing getters is the right place for it\n * @param state\n * @param getters\n * @param rootState\n * @param rootGetters\n * @return {Object}\n */\n getContractChangeInfo(state, getters, rootState, rootGetters) {\n const defaultInfo = { isRequiredToSend: false };\n if (!rootGetters[\"OD3CP/isAmendBooking\"]) {\n return defaultInfo;\n }\n const bookingDataContract = rootGetters[\"OD3CP/getBookingData\"]?.contractDetails;\n const sailingSelectedContract = getters.getSelectedPrice?.contractNumber;\n\n const userEnteredContractFromOriginal = bookingDataContract?.find(\n contract => contract?.contractIndicator === constants.contractIndicators.userEntered\n );\n\n if (userEnteredContractFromOriginal) {\n return {\n isRequiredToSend: sailingSelectedContract !== userEnteredContractFromOriginal?.contractNumber,\n originalContractNumber: userEnteredContractFromOriginal?.contractNumber,\n newContractNumber: sailingSelectedContract ? sailingSelectedContract : \"\"\n };\n }\n // If original data i.e GET /dataset has NO_CONTRACT, only PRICING or the contract details is missing treat them same\n return {\n isRequiredToSend: Boolean(sailingSelectedContract),\n originalContractNumber: \"\",\n newContractNumber: sailingSelectedContract ? sailingSelectedContract : \"\"\n };\n },\n /**\n * @description Returns true if it is aflsContract, flex, floating, blockSapce\n * @returns boolean\n */\n isContractRoute: () => price => {\n const priceType = price?.type;\n const priceTypeArray = [\n constants.sailings.contractType.contract,\n constants.sailings.contractType.fixed,\n constants.sailings.contractType.floating,\n constants.sailings.contractType.blockSpace\n ];\n return priceTypeArray.includes(priceType);\n },\n isOriginalRoute: state => routeId => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === routeId);\n return !!route?.isOriginalRoute;\n },\n isSelectedRouteOrgRouteRetrieved: (state, getters) => {\n const route = state.routesAvailability?.find(r => r.routeScheduleId === getters.getSelectedRoute?.routeScheduleId);\n return !!route?.isOriginalRoute;\n },\n isOriginalRouteSticky(state) {\n return state.isOriginalRouteSticky;\n },\n getRoutesAvailability(state) {\n return state.routesAvailability;\n },\n /**\n * @description Returns true if priceRestrictionStatus is true ( when statuses have BORMI01 code) and anyone of the dealTypes is not standard\n * @returns boolean\n */\n isPriceRestrictedWithDealTypes: () => (priceRestrictionStatus, dealTypes) => {\n return (\n !!priceRestrictionStatus &&\n dealTypes?.some(dealType => constants.sailings.deliveryPromises.standard !== dealType?.toLowerCase())\n );\n },\n /**\n * @description returns true if CP2 or BASCP2 surcharge code identified in the fixed prices\n * @param {*} state\n * @param {*} getters\n * @param {*} rootState\n * @param {*} rootGetters\n * @returns boolean\n */\n isCaptainPeterSurchargeApplicable(state, getters, rootState, rootGetters) {\n return getters.getSelectedPrice?.priceBreakdown?.some(\n price =>\n constants.valueAddedServices.captainPeterChargeCodes.reeferMonitoring === price.code ||\n constants.valueAddedServices.captainPeterChargeCodes.oceanColdChain === price.code\n );\n },\n isOriginalRouteRollableSelected(state) {\n return state.isOriginalRouteRollableSelected;\n },\n isOriginalRouteFlexHubSelected(state) {\n return state.isOriginalRouteFlexHubSelected;\n },\n isOriginalRouteOptionalMACSelected(state) {\n return state.isOriginalRouteOptionalMACSelected;\n },\n isAnyOfferAvailableToBook: state => {\n return !!state?.routesAvailability?.some(route =>\n Boolean(route?.routePrices?.isDynamicPriceAvailable || route?.routePrices?.isFixedPriceAvailable)\n );\n },\n hasOfferFilterReason: (state, getters, rootState, rootGetters) => routeId => {\n const routePrices = state.routesAvailability?.find(r => r.routeScheduleId === routeId)?.routePrices;\n return Boolean(\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.blockSpaceAmend.name) &&\n !!routePrices?.dynamicPrice?.offeredFilteredReasonType\n );\n },\n /**\n * @description Used to display Zero Container Hard Stop modal popup\n * @returns {boolean}\n */\n getZeroContainerHardStop: state => {\n return state.zeroContainerHardStop;\n },\n /**\n * @description returns Import DnD conditions for Detention\n */\n detentionConditions(state, getters) {\n return getters\n .getImportDndConditions(getters.getSelectedPrice)\n .filter(condition => condition.chargeType === constants.chargeTypes.detention);\n },\n /**\n * @description returns Import DnD conditions for Demurrage\n */\n demurrageConditions(state, getters) {\n return getters\n .getImportDndConditions(getters.getSelectedPrice)\n .filter(condition => condition.chargeType === constants.chargeTypes.demurrage);\n },\n /**\n * @description counts total free days received from detention DND and as fallback returns 0 to avoid NAN\n * @returns {Number}\n */\n freeDaysFromApi: (state, getters) => isDetention => {\n return isDetention\n ? getters.detentionConditions[0]?.freeTimeGrantInDays || 0\n : getters.demurrageConditions[0]?.freeTimeGrantInDays || 0;\n },\n /**\n * @description whether to show total freetime days or not\n * @returns {boolean}\n */\n showTotalFreetime: (state, getters) => isDetention => {\n return isDetention\n ? getters.detentionConditions[0]?.freeTimeGrantInDays !== undefined\n : getters.demurrageConditions[0]?.freeTimeGrantInDays !== undefined;\n },\n /**\n * @description whether to show buy extra days or not\n * @returns {boolean}\n */\n isBuyExtraDaysApplicable(state, getters, rootState, rootGetters) {\n return (\n (rootGetters[\"boFlags/getFlag\"](constants.featureFlags.vasOnAmend.name) ||\n !rootGetters[\"OD3CP/isAmendBooking\"]) &&\n getBrandFromHostname(window.location)?.brandCode !== constants.brandCodes.maersklinelimited\n );\n },\n /**\n * @description returns true if selected route is either market/tariff/markettariff\n * @returns {boolean}\n */\n isMarketOrTariff(state, getters) {\n return [\n constants.sailings.contractType.markettariff,\n constants.sailings.contractType.market,\n constants.sailings.contractType.tariff\n ].includes(getters.getSelectedPrice?.type);\n },\n /**\n * @description returns true if selected route is either flex/fixed/floating/flexNow\n * @returns {boolean}\n */\n isFlex(state, getters) {\n return [\n constants.sailings.contractType.flex,\n constants.sailings.contractType.fixed,\n constants.sailings.contractType.floating,\n constants.sailings.contractType.flexNow\n ].includes(getters.getSelectedPrice?.type);\n },\n /**\n * @description whether to show buy extra days or not\n * @returns {boolean}\n */\n getOriginalMacInfo(state, getters, rootState, rootGetters) {\n const bookingData = rootGetters[\"OD3CP/getBookingData\"];\n const macs = bookingData?.surcharges?.filter(surcharge =>\n Object.values(constants.maerskControl.codes).includes(surcharge?.freightType)\n );\n return {\n isMac: !!macs?.length,\n macCodes: (macs || [])?.map(mac => mac?.freightType)\n };\n },\n /**\n * @description Gets the context till sailings for LD\n * @returns {Object}\n */\n getSailingsContextForLD(state, getters, rootState, rootGetters) {\n return {\n ...rootGetters[\"OD3CP/getOd3cpContextForLD\"],\n booking_sailings_data: {\n key: \"booking_sailings_data\",\n deliveryAgreementType: getters.getSelectedRoute?.gcssDeliveryAgreementType || \"1\"\n }\n };\n },\n hasSetLDContextError(state, getters, rootState, rootGetters) {\n return rootGetters[\"error/getErrorsBySource\"](constants.errorSource.setLDContextSailing)?.length > 0;\n },\n isOriginalDummyRouteSelected(state, getters) {\n return getters.isOriginalRouteSelectedInAmend && !getters.getValidatedOriginalRoute;\n },\n isOriginalValidatedRouteSelected(state, getters) {\n return Boolean(getters.isOriginalRouteSelectedInAmend && getters.getValidatedOriginalRoute);\n },\n getFirstWaterLegFromSelectedRoute(state, getters) {\n return getters.getSelectedRoute?.schedules?.find(schedule =>\n constants.waterLegTranportModeCode.includes(schedule.transportModeCode)\n );\n },\n isMACEnabled(state, getters, rootState, rootGetters) {\n return rootGetters[\"boFlags/getFlag\"](constants.featureFlags.maerskAccelerate.name);\n }\n};\n","import { getRoutes, getRoutesAvailability } from \"@/common/service/adfService\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { sendGAEvent } from \"@/common/utils/analytics/ga\";\nimport { timingPoints } from \"@/common/utils/analytics/mopRum.js\";\nimport dayjs from \"dayjs\";\nimport { pollingTimer } from \"@/common/utils/generic/timerFunctionalities\";\nimport Vue from \"vue\";\nimport { shouldSwitchToOfflineMode } from \"@/lib/sailings/routesUtilities\";\n\n/**\n *\n * @param availabilities\n * @param routes\n * @returns {object} updatedRoute\n */\nexport function generateSailingRoutesGAData(availabilities, routes) {\n return availabilities?.validatedRouteSchedules?.map(route => {\n const reason = updateVesselBookedReason(route);\n if (reason) {\n route.vesselBookedReason = reason;\n }\n // Add in the routeSchedule data\n const routeSchedule = routes.find(r => r.routeScheduleId === route.routeScheduleId);\n if (routeSchedule) {\n route.routeSchedule = routeSchedule;\n }\n\n return route;\n });\n}\n\nconst maxRetryAttempt = 60;\nlet routeRetryAttempt = 1,\n availabilityRetryAttempt = 1;\n\nexport async function populateRoutes(correlationId, batch, commit, state, rootGetters) {\n try {\n const routes = await getRoutes(correlationId, batch);\n //this is for fixing out of sync, if while the we are calling r1 call , somehow user hit departures call again then we need to simply abort the call\n //throw an\n if (rootGetters[\"commonData/getCorrelationId\"] !== correlationId) {\n let error = {\n error: \"NA\",\n message: \"Out of sync CorrelationId\",\n source: constants.errorSource.networkDelay,\n page: constants.errorPage.sailings,\n showError: false\n };\n commit(\"error/setError\", error, { root: true });\n commit(\"setRoutesLoadingStatus\", false);\n throw error;\n }\n const latestStatus = routes.status;\n let noContentAvailable = latestStatus === constants.statusCode.noContent && routeRetryAttempt < maxRetryAttempt;\n if (noContentAvailable) {\n await pollingTimer(constants.pollingTimer.sailingsWaitTime);\n routeRetryAttempt++;\n await populateRoutes(correlationId, batch, commit, state, rootGetters);\n } else {\n let timedOut = latestStatus === constants.statusCode.noContent && routeRetryAttempt >= maxRetryAttempt;\n let sailings;\n if (!timedOut) {\n sailings = await routes.json();\n }\n if (shouldSwitchToOfflineMode(sailings)) {\n handleMepcException(commit, rootGetters, sailings);\n }\n const exceptionsFound = exceptionsWhilePopulating(sailings, rootGetters, state, latestStatus, timedOut);\n if (exceptionsFound.length > 0) {\n routeRetryAttempt = 1;\n commit(\"setRoutesLoadingStatus\", false);\n\n function userException() {\n return {\n statusInfos: sailings?.statusInfos,\n message: exceptionsFound[0].message,\n critical: true,\n prefersMessage: true,\n disableNavigation: true\n };\n }\n\n throw userException();\n }\n commit(\"appendRoutes\", sailings);\n window?.performance?.mark(timingPoints.departures);\n routeRetryAttempt = 1;\n commit(\"setRoutesLoadingStatus\", false);\n }\n } catch (error) {\n routeRetryAttempt = 1;\n commit(\"setRoutesLoadingStatus\", false);\n throw error;\n }\n}\n\n/**\n * @description calculate and return exceptions Array while populating the route details\n * @param {Object} sailings\n * @param {Object} state\n * @param {String} latestStatus\n * @param {Boolean} timedOut\n * @return {Array}\n */\nfunction exceptionsWhilePopulating(sailings, rootGetters, state, latestStatus, timedOut) {\n let noSchedulesFound =\n latestStatus === constants.statusCode.success && !sailings?.routeSchedules && !state?.routes?.length,\n noScheduleException =\n noSchedulesFound &&\n !!sailings?.statusInfos?.some(exception => exception.code === constants.adfExceptions.noRoutes),\n noScheduleForMultipleContainerException =\n noSchedulesFound &&\n !!sailings?.statusInfos?.some(exception => exception.code === constants.adfExceptions.noCombinationRoutes),\n adfUnavailableException =\n noSchedulesFound &&\n !!sailings?.statusInfos?.some(exception =>\n constants.adfExceptions.unavailable.includes(exception.code.toString())\n ),\n commodityException =\n noSchedulesFound &&\n !!sailings?.statusInfos?.some(exception =>\n constants.commodityRestrictionCodes.includes(exception.code.toString())\n ),\n commodityStatusInfos = sailings?.statusInfos?.filter(exception =>\n constants.commodityRestrictionCodes.includes(exception.code.toString())\n ),\n exceptions = [\n {\n condition: commodityException,\n message:\n commodityException && commodityStatusInfos\n ? commodityStatusInfos[0]?.description?.split(`${commodityStatusInfos[0]?.code}: `).pop()\n : \"\"\n },\n {\n condition: noScheduleException,\n message: rootGetters[\"boFlags/getFlag\"](constants.featureFlags.brandUnification.name)\n ? Vue.prototype.$t(constants.sailings.translationKeyPrefix.newRoutesError)\n : Vue.prototype.$t(constants.sailings.translationKeyPrefix.routesError)\n },\n {\n condition: noScheduleForMultipleContainerException,\n message: Vue.prototype.$t(constants.sailings.translationKeyPrefix.routesCombinationError)\n },\n {\n condition: timedOut || adfUnavailableException,\n message: Vue.prototype.$t(constants.sailings.translationKeyPrefix.technicalError)\n }\n ];\n return exceptions.filter(e => e.condition);\n}\n\nexport async function populateRoutesAvailability(correlationId, batch, commit, rootGetters, routes = []) {\n let timer = null;\n try {\n clearTimeout(timer);\n //Sometimes this API is returning - Unknown error but returns success when requested again\n const response = await getRoutesAvailability(correlationId, batch);\n const latestStatus = response.status;\n const availabilities = response.ok && latestStatus !== constants.statusCode.noContent ? await response.json() : {};\n const validationStatus = availabilities?.routeValidationsComplete ?? constants.adfResponses.YES;\n\n //Route status change may happen in more than one iteration, therefore try updating each time.\n commit(\"appendRoutesAvailability\", availabilities);\n let availabilityStillLoading =\n (validationStatus?.toUpperCase() === constants.adfResponses.NO ||\n latestStatus === constants.statusCode.noContent) &&\n availabilityRetryAttempt < maxRetryAttempt,\n timedOut =\n (validationStatus?.toUpperCase() === constants.adfResponses.NO ||\n latestStatus === constants.statusCode.noContent) &&\n availabilityRetryAttempt >= maxRetryAttempt;\n if (availabilityStillLoading) {\n await pollingTimer(constants.pollingTimer.sailingsWaitTime);\n availabilityRetryAttempt++;\n await populateRoutesAvailability(correlationId, batch, commit, rootGetters, routes);\n } else if (validationStatus?.toUpperCase() === constants.adfResponses.ERROR || timedOut) {\n availabilityRetryAttempt = 1;\n commit(\"setRoutesLoadingStatus\", false);\n\n function userException() {\n return {\n message: Vue.prototype.$t(constants.sailings.translationKeyPrefix.technicalError),\n critical: true,\n prefersMessage: true,\n disableNavigation: true\n };\n }\n\n throw userException();\n } else {\n // Exit the loop successfully - we have a good R2 response\n saveLoadAndDischargePorts(rootGetters, batch, commit, availabilities);\n // set the status of areOffersAvailableToShow to show no sailings available notification\n saveOffersAvailableToShowStatus(commit, availabilities);\n const sailingRoutesGAData = generateSailingRoutesGAData(availabilities, routes);\n availabilityRetryAttempt = 1;\n window?.performance?.mark(timingPoints.prices);\n commit(\"setAvailabilityLoadingStatus\", false);\n // Will not have the price breakdown.\n sendGAEvent(\n \"SelectSailingRoutes\",\n {\n correlationId,\n routes: sailingRoutesGAData,\n ...rootGetters[\"loadAndDischargePorts/generatePortDetailsForGA\"]\n },\n {\n isAmend: rootGetters[\"OD3CP/isAmendBooking\"],\n ...rootGetters[\"OD3CP/generateConfigWithDeliveryAgreementType\"]\n }\n );\n }\n } catch (error) {\n availabilityRetryAttempt = 1;\n commit(\"setAvailabilityLoadingStatus\", false);\n throw error;\n }\n}\n\nexport function clearRoutes(state) {\n state.routes = [];\n state.loadMore = false;\n}\n\nexport function updateRouteStatus(state, routesAvailability) {\n state.routes = state.routes?.map(route => {\n let routeItem = routesAvailability.find(status => status.routeScheduleId === route.routeScheduleId);\n let routeStatus = routeItem?.routeScheduleAvailability?.availabilityStatus?.toUpperCase();\n let isSubstituteContainer =\n routeStatus === constants.sailings.routeStatus.states.SUBSTITUTECONTAINER ||\n route.routeStatus === constants.sailings.routeStatus.states.SUBSTITUTECONTAINER;\n // This is ugly but necessary because backend provides routesAvailability details of a substitutecontainer with _sub suffixed to routeScheduleId\n // logic:\n // If the status is SUBSTITUTECONTAINER update routeScheduleId of the route\n // For other cases update the routeStatus\n // Assumption here is that SUBSTITUTECONTAINER would always change to AVAILABLE, else this logic would break\n if (isSubstituteContainer) {\n // changed to and condition from or\n let routeScheduleId = routeItem?.substitutedRouteScheduleId;\n return routeScheduleId ? { ...route, routeScheduleId, routeStatus } : route;\n } else {\n return !routeStatus ? route : { ...route, routeStatus };\n }\n });\n}\n\nexport function routeMapper(route) {\n if (!route?.schedules || !Array.isArray(route.schedules)) return;\n return route?.schedules.map((schedule, index) => {\n return {\n linkSequenceId: index + 1,\n maerskRoutingTypeCode: schedule?.routingType,\n maerskServiceCode: schedule?.service,\n estimatedDepartureDate: dayjs(schedule?.originDepartureDatetime).format(\"YYYY-MM-DD\"),\n maerskTransportModeCode: schedule?.transportModeCode,\n startPoint: {\n maerskGeoLocationId: schedule?.startLocation?.cityGeoId,\n maerskRKSTCode: schedule?.startLocation?.cityRkstCode\n },\n endPoint: {\n maerskGeoLocationId: schedule?.endLocation?.cityGeoId,\n maerskRKSTCode: schedule?.endLocation?.cityRkstCode\n }\n };\n });\n}\n\nexport function containerMapper(container) {\n if (!container) return;\n return {\n container: {\n containerId: (\"\" + Math.random()).substring(2, 14), // We need to have a proper containerId mapping in future if needed, as the API is expecting containerId\n quantity: container?.quantity,\n size: container?.containerType?.sizeCd,\n type: container?.containerType?.typeCd,\n containerISOSizeTypeCode: container?.containerType?.isoContainerSizeTypeCd,\n isShipperOwned: false,\n isNonOperating: true,\n isEmpty: false\n },\n stuffing: [\n {\n propertyType: \"WEIGHT\",\n propertyValue: container?.weightPerContainer,\n propertyMeasurementUnit: container?.containerType?.payloadWeightUnits\n }\n ]\n };\n}\n\nexport function getFirstWaterLeg(schedules) {\n return schedules?.find(schedule => [\"FEF\", \"FEO\", \"MVS\", \"VSF\", \"VSL\", \"VSM\"].includes(schedule.transportMode));\n}\n\nexport function getSelectedRouteDetails(price, type, rollable, isFlexHubOptionSelected, gcssDeliveryAgreementType) {\n let routeDetails = {\n routeId: price.routeId,\n offerSelected: type\n };\n if (price.rollable) {\n routeDetails.isRollableOptionSelected = rollable;\n }\n if (price.isFlexHub) {\n routeDetails.isFlexHubOptionSelected = isFlexHubOptionSelected;\n }\n if (gcssDeliveryAgreementType) {\n routeDetails.gcssDeliveryAgreementType = gcssDeliveryAgreementType;\n }\n return routeDetails;\n}\n\nexport function getRouteOptions(\n isSpotOffer,\n isRollableOptionSelected,\n isFlexHubOptionSelected,\n gcssDeliveryAgreementType\n) {\n return {\n isSpotOffer,\n isRollableOptionSelected,\n gcssDeliveryAgreementType,\n isFlexHubOptionSelected\n };\n}\n\nexport function getGcssDeliveryAgreementType(\n deliveryPromises,\n getters,\n isSpot,\n spotDp,\n isSpotRollable,\n spotRollableDp,\n price\n) {\n // gcssDeliveryAgreementType for flex and block space contract offers\n let agreementType =\n deliveryPromises?.length > 0 && !isNaN(getters.getDeliveryPromise(price.routeId))\n ? deliveryPromises[getters.getDeliveryPromise(price.routeId)]?.gcssDeliveryAgreementType\n : null;\n\n // gcssDeliveryAgreementType for block space spot and spot offers\n agreementType = !isSpot ? agreementType : spotDp?.gcssDeliveryAgreementType;\n\n // gcssDeliveryAgreementType for block space spot rollable and spot rollable offers\n agreementType = !isSpotRollable ? agreementType : spotRollableDp?.gcssDeliveryAgreementType;\n return agreementType;\n}\n\n//Compose vessel fully booked reason to send to GA\nfunction updateVesselBookedReason(route) {\n let vesselBookedReason = \"\";\n if (!route.routeScheduleAvailability) {\n return;\n }\n //Vessel fully booked reason when equipment check fails\n if (route.routeScheduleAvailability.validationResults?.equipmentCheckOutcome === \"false\") {\n vesselBookedReason += constants.sailings.vesselBookedReason.equipmentUnavailable;\n }\n //Vessel fully booked reason when deadline check fails\n if (route.routeScheduleAvailability.validationResults?.deadlineCheckOutcome === \"false\") {\n vesselBookedReason += constants.sailings.vesselBookedReason.deadlineCheck;\n }\n //Vessel fully booked reason in case of physical space rejection \"spacecheckdetails code is 99\"\n if (\n route.routeScheduleAvailability.spaceCheckDetails &&\n constants.sailings.phySpaceRejCode.includes(route.routeScheduleAvailability.spaceCheckDetails.code)\n ) {\n vesselBookedReason += constants.sailings.vesselBookedReason.phySpaceRejection;\n }\n //Vessel fully booked reason in case of allocation line rejection \"spacecheckdetails code are 91, 92, 93, 94\"\n if (\n route.routeScheduleAvailability.spaceCheckDetails &&\n constants.sailings.allocLineRejCode.includes(route.routeScheduleAvailability.spaceCheckDetails.code)\n ) {\n vesselBookedReason += constants.sailings.vesselBookedReason.ALR;\n }\n //Vessel fully booked reason for vessel not open\n if (route.routeScheduleAvailability.isVesselNotOpen) {\n vesselBookedReason += constants.sailings.vesselBookedReason.VNO;\n }\n //Vessel fully booked reason when yield check fails\n if (route.routeScheduleAvailability.validationResults?.yieldCheckOutcome === \"false\") {\n vesselBookedReason += constants.sailings.vesselBookedReason.yield;\n }\n //Vessel fully booked reason yield check passes but allocation line rejection\n if (\n route.routeScheduleAvailability.spaceCheckDetails &&\n constants.sailings.allocLineRejCode.includes(route.routeScheduleAvailability.spaceCheckDetails.code) &&\n route.routeScheduleAvailability.validationResults?.yieldCheckOutcome === \"true\" &&\n !route.routeScheduleAvailability.isCommittedCustomer\n ) {\n vesselBookedReason = constants.sailings.vesselBookedReason.yieldAndALR;\n }\n //Vessel fully booked reason when technical error in yield & allocation line rejection\n if (\n route.routeScheduleAvailability.spaceCheckDetails &&\n constants.sailings.allocLineRejCode.includes(route.routeScheduleAvailability.spaceCheckDetails.code) &&\n route.routeScheduleAvailability.validationResults?.yieldCheckOutcome === \"unknown\"\n ) {\n vesselBookedReason = constants.sailings.vesselBookedReason.technicalYieldAndALR;\n }\n return vesselBookedReason;\n}\n\nexport function calculateFixedPrice(routePrice, route, priceId, contractNumber, containerRates) {\n if (routePrice?.shipmentRates?.grandTotal) {\n route.routePrices.fixedPrice = {\n total: routePrice.shipmentRates?.grandTotal,\n currency: routePrice.shipmentRates?.grandTotalCurrencyISOCode,\n priceId,\n contractNumber\n };\n }\n if (containerRates && containerRates[0] && containerRates[0]?.status && containerRates[0]?.status.length > 0) {\n const isRestricted = containerRates[0]?.status.find(\n item => item.code === constants.sailings.codes.priceRestriction\n );\n if (isRestricted) {\n route.priceRestrictionStatus = true;\n }\n }\n if (routePrice?.shipmentRates?.contractNumber) {\n route.contractNumber = routePrice.shipmentRates.contractNumber;\n }\n return route;\n}\n\n/**\n * Sends GA Event for entering in offline mode\n * @private\n * @param {Object} R1Response\n * @param {string} correlationId\n */\nfunction sendGaEventForOfflineMode(R1Response, correlationId) {\n const offlineModeStatusInfo = R1Response.statusInfos.find(statusInfo =>\n constants.adfExceptions.MEPC.includes(statusInfo.code)\n );\n sendGAEvent(\"OfflineJourney\", { statusCode: offlineModeStatusInfo.code, correlationId }, { isOffline: true });\n}\n\n/**\n * Saves the load & discharge ports only from batch 1 to the store if the flag is on and don't read when portList is already updated\n * like when we search routes with preferred ports, we don't need to read again\n * @private\n * @param {Object} rootGetters\n * @param {Number} batch\n * @param {function} commit\n * @param {Object} availabilities\n */\nfunction saveLoadAndDischargePorts(rootGetters, batch, commit, availabilities) {\n const loadPorts = availabilities.loadPorts || null;\n const dischargePorts = availabilities.dischargePorts || null;\n if (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.e2eBespokeRouteCustomization.name) &&\n batch === 1 &&\n !rootGetters[\"loadAndDischargePorts/isPortListUpdated\"]\n ) {\n commit(\n \"loadAndDischargePorts/setLoadAndDischargePorts\",\n {\n loadPorts,\n dischargePorts\n },\n { root: true }\n );\n }\n}\nfunction saveOffersAvailableToShowStatus(commit, availabilities) {\n // set the status of areOffersAvailableToShow to show no sailings available notification\n commit(\"setOffersAvailableToShowStatus\", availabilities?.areOffersAvailableToShow ?? true);\n}\n\n/**\n * Sends GA Event for entering in offline mode\n * @private\n * @param {function} commit\n * @param {Object} rootGetters\n * @param {Object} sailings\n */\nfunction handleMepcException(commit, rootGetters, sailings) {\n let isAmend = !!rootGetters[\"OD3CP/isAmendBooking\"];\n let message = isAmend\n ? Vue.prototype.$t(constants.sailings.translationKeyPrefix.technicalError)\n : \"MEPC error for offline mode\";\n // save exception in store for later usage in /offlineSubmitProcess endpoint call\n let error = {\n error: sailings,\n message: message,\n source: constants.errorSource.mepc,\n page: constants.errorPage.sailings,\n disableNavigation: false,\n showError: false\n };\n if (!isAmend) {\n commit(\"OD3CP/setIsInOfflineMode\", true, { root: true });\n commit(\"error/setError\", error, { root: true });\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n sendGaEventForOfflineMode(sailings, correlationId);\n }\n throw error;\n}\n\n/**\n * @description Helper method to check for container_not_available message on all route availabilities\n * @param {Array} routesAvailabilities\n * @returns {Boolean}\n */\nexport function isContainerNotAvailableForRoutes(routesAvailabilities) {\n if (!routesAvailabilities?.length) {\n return false;\n }\n return routesAvailabilities.every(route => {\n const {\n isFixedPriceApplicable = false,\n isDynamicPriceApplicable = false,\n isFixedPriceAvailable = false,\n isDynamicPriceAvailable = false,\n fixedRateAvailabilityMessage = \"\",\n dynamicRateAvailabilityMessage = \"\"\n } = route?.routePrices ?? {};\n\n const shouldCheckAvailabilityMessage = (priceApplicable, priceAvailable) => priceApplicable && !priceAvailable;\n\n let isContainerNotAvailableInFixed = false,\n isContainerNotAvailableInDynamic = false;\n\n if (shouldCheckAvailabilityMessage(isFixedPriceApplicable, isFixedPriceAvailable)) {\n isContainerNotAvailableInFixed =\n fixedRateAvailabilityMessage === constants.routePriceMessage.containerNotAvailable;\n }\n if (shouldCheckAvailabilityMessage(isDynamicPriceApplicable, isDynamicPriceAvailable)) {\n isContainerNotAvailableInDynamic =\n dynamicRateAvailabilityMessage === constants.routePriceMessage.containerNotAvailable;\n }\n\n if (isFixedPriceApplicable && isDynamicPriceApplicable) {\n return isContainerNotAvailableInFixed && isContainerNotAvailableInDynamic;\n }\n if (isFixedPriceApplicable) return isContainerNotAvailableInFixed;\n if (isDynamicPriceApplicable) return isContainerNotAvailableInDynamic;\n\n return false;\n });\n}\n\nexport function isMacSelected(price, isSelected) {\n return !!(isSelected && price?.maerskAccelerate?.isWithinAllocation && price?.maerskAccelerate?.isOptional);\n}\n\nexport function getPriceWithServices(price) {\n const totalPrice = price?.totalPrice || 0;\n const maerskAcceleratePrice = price?.maerskAccelerate?.price || 0;\n return totalPrice + maerskAcceleratePrice;\n}\n","import { getClearedState } from \"@/common/utils/generic/stateManagement\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { clearRoutes, updateRouteStatus, calculateFixedPrice } from \"./helper\";\nimport Vue from \"vue\";\n\nexport default {\n // Sets the routes, and handles any errors returned from the API\n setRoutes(state, routes) {\n if (routes) {\n state.routes = routes.routes;\n state.loadMore = routes.loadMore;\n } else {\n clearRoutes(state);\n }\n },\n // Populates routes information on the store\n appendRoutes(state, routes) {\n let sailings = routes?.routeSchedules;\n if (!!sailings && sailings.length > 0) {\n let routesState = !state.routes ? [] : state.routes;\n let routesList = [...routesState, ...sailings];\n // To remove duplicates and update existing route if an updated status is recived\n let routesMap = new Map(routesList.map(obj => [obj.routeScheduleId, obj]));\n state.routes = [...routesMap.values()];\n }\n },\n appendRoutesAvailability(state, routeAvailabilities) {\n let sailingsAvailability = routeAvailabilities?.validatedRouteSchedules;\n if (!!sailingsAvailability && sailingsAvailability.length > 0) {\n //Map the polling status into each route\n sailingsAvailability = sailingsAvailability.map(sailing => {\n return {\n ...sailing,\n isPollingCompleted: Boolean(\n routeAvailabilities.routeValidationsComplete === constants.adfResponses.YES ||\n routeAvailabilities.routeValidationsComplete === constants.adfResponses.TRUE ||\n routeAvailabilities.routeValidationsComplete === constants.adfResponses.ERROR\n )\n };\n });\n //update the routesStatus which is alreay stored in state.routes\n updateRouteStatus(state, sailingsAvailability);\n let availabilities = !state.routesAvailability ? [] : state.routesAvailability;\n let availabilitiesList = [...availabilities, ...sailingsAvailability];\n // To remove duplicates and update existing route if an updated status is recived\n let availabilitiesMap = new Map(availabilitiesList.map(obj => [obj.routeScheduleId, obj]));\n state.routesAvailability = [...availabilitiesMap.values()];\n }\n state.loadMore = !!routeAvailabilities?.moreRoutesAvailable;\n state.loadRouteCalled = true;\n },\n setLoadingStatusKey(state, key) {\n state.loadingStatusKey = key;\n },\n setRoutesAvailability(state, response) {\n state.routesAvailability = response;\n },\n setDeliveryPromise(state, { routeScheduleId, value }) {\n let selected = { [routeScheduleId]: value };\n state.deliveryPromises = { ...state.deliveryPromises, ...selected };\n },\n setSelectedRoute(state, route) {\n state.selectedRoute = route;\n },\n setSelectedPriceType(state, type) {\n state.selectedPriceType = type;\n },\n setRoutesLoadingStatus(state, value) {\n state.routesLoadingStatus = !!value;\n },\n /**\n * Set offersAvailableToShow,\n * once set to true, cannot be changed back to false for subsequest R2 batch response\n * offersAvailableToShow value wil be reset to false on back and forth journey\n * @param {Object} state Vuex State\n * @param {?Boolean} value The boolean state whether offer is available to show\n */\n setOffersAvailableToShowStatus(state, value) {\n if (!state.offersAvailableToShow) {\n state.offersAvailableToShow = !!value;\n }\n },\n /**\n * Resets LoadRouteCalled state\n * @param {Object} state Vuex State\n */\n resetLoadRouteCalled(state) {\n state.loadRouteCalled = false;\n },\n setAvailabilityLoadingStatus(state, value) {\n state.routesAvailabilityLoadingStatus = !!value;\n },\n setSubstituteContainerStatus(state, { routeScheduleId, value }) {\n let status = { [routeScheduleId]: !!value };\n state.substituteContainerStatus = { ...state.substituteContainerStatus, ...status };\n },\n incrementBatch(state) {\n state.batch++;\n },\n resetBatch(state) {\n state.batch = 1;\n },\n setLoadMore(state, value) {\n state.loadMore = value;\n },\n setOriginalRouteSticky(state, value) {\n state.isOriginalRouteSticky = value;\n },\n setOriginalRouteRollable(state, value) {\n state.isOriginalRouteRollableSelected = value;\n },\n setOriginalOptionalMacSelection(state, value) {\n state.isOriginalRouteOptionalMACSelected = value;\n },\n setOriginalRouteFlexHub(state, value) {\n state.isOriginalRouteFlexHubSelected = value;\n },\n setPriceBreakdownForRoute(state, { routeScheduleId, priceType, routePrice }) {\n if (!state.routesPriceBreakdown) {\n state.routesPriceBreakdown = {};\n }\n if (!state.routesPriceBreakdown[routeScheduleId]) {\n state.routesPriceBreakdown[routeScheduleId] = {};\n }\n state.routesPriceBreakdown[routeScheduleId][priceType] = routePrice;\n },\n setFixedPrice(state, { routePrice, routeId }) {\n let priceId;\n const containerRates = routePrice.shipmentRates?.containerRates;\n const contractNumber = routePrice.shipmentRates?.contractNumber;\n if (containerRates && Array.isArray(containerRates) && containerRates.length) {\n priceId = containerRates[0].rates?.find(rate => rate.maerskChargeType === \"BAS\")?.lineItemNumber;\n }\n state.routesAvailability = state.routesAvailability?.map(route => {\n if (route.routeScheduleId === routeId) {\n route = calculateFixedPrice(routePrice, route, priceId, contractNumber, containerRates);\n }\n return route;\n });\n },\n clearState(state) {\n const clearedStateObject = getClearedState(state);\n Object.keys(state).forEach(key => {\n state[key] = clearedStateObject[key];\n if (key === \"batch\") {\n state[key] = 0;\n }\n });\n },\n setSelectedPrice(state, price) {\n state.selectedPrice = price;\n },\n /**\n * Appends 'statusInfos' array of routesAvailability from 'status' array of Rates API response.\n * @param {Store} state\n * @param {Object} ratesResponse\n * @param {string} routeId\n */\n appendStatusInfosFromRates(state, { ratesResponse, routeId }) {\n let status = ratesResponse.shipmentRates?.status || [];\n const containerRates = ratesResponse.shipmentRates?.containerRates;\n if (containerRates && Array.isArray(containerRates)) {\n containerRates.forEach(containerRate => {\n if (containerRate.status) {\n status = [...status, ...containerRate.status];\n }\n });\n }\n const routeIndex = state.routesAvailability?.findIndex(route => route.routeScheduleId === routeId);\n if (routeIndex !== undefined && routeIndex !== -1) {\n // append status from Rates API to routesAvailability statusInfos\n const existingStatusInfos = state.routesAvailability[routeIndex].statusInfos;\n Vue.set(state.routesAvailability[routeIndex], \"statusInfos\", [...existingStatusInfos, ...status]);\n }\n },\n setContainerNotAvailableForAllRoutes(state, value) {\n state.containerNotAvailableForAllRoutes = value;\n },\n setZeroContainerHardStop(state, value) {\n state.zeroContainerHardStop = value;\n }\n};\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion } from \"@/common/utils/generic/featureFlagService\";\nimport { cleanup } from \"@/common/utils/http/payloadCleaner\";\n\n/**\n * Calls the API to formally select the route\n * @param {*} correlationId\n * @param {*} routeScheduleId\n * @param {*} routeOptions Object with routeOptions\n */\nexport async function selectRoute(correlationId, routeScheduleId, routeOptions) {\n if (!correlationId) {\n throw new Error(\"selectRoute: correlationId is missing\");\n }\n if (!routeScheduleId) {\n throw new Error(\"selectRoute: routeScheduleId is missing\");\n }\n\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.departures}/${correlationId}/${\n constants.ENDPOINTS.sailings\n }/${routeScheduleId}/${constants.ENDPOINTS.selectedRoute}`,\n method: \"POST\",\n body: JSON.stringify(cleanup(routeOptions)),\n headers: {\n ...getFeatureVersion(),\n correlationId: correlationId\n }\n });\n}\n\n/**\n * Calls the API to formally select the original route in amend journey\n * @param {*} correlationId\n * @param {*} earliestDepartureDate\n */\nexport async function selectOriginalRoute(correlationId, earliestDepartureDate) {\n if (!correlationId) {\n throw new Error(\"selectOriginalRoute: correlationId is missing\");\n }\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.departures}/${correlationId}/${\n constants.ENDPOINTS.selectedRoute\n }`,\n method: \"POST\",\n body: JSON.stringify(cleanup(earliestDepartureDate)),\n headers: {\n ...getFeatureVersion()\n }\n });\n}\n","import { selectRoute, selectOriginalRoute } from \"@/common/service/routesAvailabilityService\";\nimport { validateLoadMore, getRoutePrice } from \"@/common/service/adfService\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { transformPriceType } from \"@/lib/sailings/priceTransformers\";\nimport { sendGAEvent } from \"@/common/utils/analytics/ga\";\nimport dayjs from \"dayjs\";\nimport {\n populateRoutes,\n populateRoutesAvailability,\n generateSailingRoutesGAData,\n getSelectedRouteDetails,\n getRouteOptions, //TODO: Remove as part of OME-26497(Booking Options) OME-31390\n getGcssDeliveryAgreementType,\n isContainerNotAvailableForRoutes,\n isMacSelected,\n getPriceWithServices\n} from \"./helper\";\nimport Vue from \"vue\";\n\nexport default {\n /**\n * Calls the select route API on continue on the original route for amend\n * @param {Store} store\n * @param {String} priceType\n */\n async selectOriginalRoute({ commit, dispatch, rootGetters, getters }, priceType) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n const departureDetails = rootGetters[\"OD3CP/getDepartureDetailsFromDataset\"];\n const useBookingOptions = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.useBookingOptions.name); //TODO: Remove as part of OME-26497(Booking Options) OME-31390\n const bookingId = rootGetters[\"OD3CP/getBookingId\"];\n const dummyRouteScheduleId = `${correlationId}_${bookingId}`;\n let response; //TODO: Remove as part of OME-26497(Booking Options) OME-31390\n let payload = {\n earliestDepartureDate: departureDetails\n ? dayjs(departureDetails.originDepartureDatetime).format(\"YYYY-MM-DD\")\n : null\n };\n //isRouteChanged is always false for the original route\n payload = { ...payload, isRouteChanged: false };\n\n try {\n //TODO: Remove as part of OME-26497(Booking Options) OME-31390\n if (!useBookingOptions) response = await selectOriginalRoute(correlationId, payload);\n // Creates selected route for original route.\n // Since user selected original route and we do not have regular selectedRoute\n commit(\"setSelectedRoute\", {\n isOriginalRouteSelected: true,\n schedules: getters.getOriginalRouteForAmend?.schedules,\n transitTime: getters.getOriginalRouteForAmend?.transitTime, // Note: transitTime may be removed for original route discussions are on\n ...(useBookingOptions && { routeScheduleId: dummyRouteScheduleId }),\n ...(!useBookingOptions && { ...response }) //TODO: Remove as part of OME-26497(Booking Options) OME-31390\n });\n commit(\"setSelectedPriceType\", priceType);\n // Need to show the respective t&c, fmc check and product selection info along with contract no.\n // so setting original route data as we need price type for the checks in review page\n commit(\"setSelectedPrice\", getters.getOriginalRouteForAmend);\n // Make the booking options api call for the original route\n if (useBookingOptions) {\n await dispatch(\"bookingOptions/fetchBookingOptions\", null, { root: true });\n }\n // GA event needs to be implemented\n sendGAEvent(\n \"SelectSailingData\",\n {\n correlationId,\n isOriginalRouteSelected: getters.isOriginalRouteSelectedInAmend,\n routeScheduleId: useBookingOptions ? dummyRouteScheduleId : response.routeScheduleId\n },\n {\n isAmend: rootGetters[\"OD3CP/isAmendBooking\"],\n ...rootGetters[\"OD3CP/generateConfigWithDeliveryAgreementType\"]\n }\n );\n // Note: We don't set price info for original route as it's not available\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: \"Could not select this route\",\n source: constants.errorSource.departures,\n page: constants.errorPage.od3cp,\n statusCode: error.status,\n showError: true,\n critical: true\n },\n { root: true }\n );\n throw error;\n }\n },\n /**\n * Clear sailing state, update state by loading APIs in the right order\n * @param {Store} store\n * @param {Object} { isAdditionalDetails, isHaulage, isVAS }\n */\n async clearStateForNewRoutes({ commit, dispatch, rootGetters }, { isAdditionalDetails, isHaulage, isVAS }) {\n // Before we start, clear out the errors and clear the existing routes\n commit(\"error/clearErrorsForSource\", constants.errorSource.departures, { root: true });\n commit(\"clearState\");\n commit(\"error/clearErrorsForPage\", constants.errorPage.details, { root: true });\n // Clear error source for facilities api returning 500 and getting redirected to OD3CP page\n commit(\"error/clearErrorsForSource\", constants.errorSource.facilities, { root: true });\n if (isHaulage) {\n dispatch(\"haulage/clearState\", null, { root: true });\n }\n if (isVAS) {\n dispatch(\"valueAddedServices/clearState\", null, { root: true });\n }\n commit(\"setLoadingStatusKey\", \"sailings.loading.initiate\");\n if (rootGetters[\"parties/shouldClearSelectedParties\"]) {\n commit(\"parties/resetParties\", null, { root: true });\n }\n if (!rootGetters[\"parties/shouldClearSelectedParties\"]) {\n commit(\"parties/resetPartiesNotAddedViaPartySection\", null, { root: true });\n }\n commit(\"OD3CP/setIsInOfflineMode\", false, { root: true });\n\n // check if the ADF correlation id is present\n // if there is none saved, try to obtain a new one\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n const commonDataCorrelationId = rootGetters[\"commonData/getCommonDataCorrelationId\"];\n if (!correlationId || correlationId === commonDataCorrelationId) {\n // if any of these throws, we cannot continue with the journey because there is no correlation id, the user is sent back to od3cp page\n await dispatch(\"OD3CP/setDepartures\", constants.errorPage.sailings, { root: true }); // get a new correlation id\n await dispatch(\"nacAndAllocations/setNacInfo\", null, { root: true });\n }\n\n try {\n commit(\"setLoadingStatusKey\", \"sailings.loading.setData\");\n if (\n !rootGetters[\"OD3CP/isAmendBooking\"] &&\n !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.reduceDependencyOfLegacyCalls.name)\n ) {\n dispatch(\"OD3CP/setOd3cpData\", null, { root: true });\n }\n // save data to DataSets API\n dispatch(\"OD3CP/saveBookingData\", null, { root: true });\n } catch (error) {\n commit(\"setLoadingStatusKey\", \"sailings.loading.error\");\n } finally {\n // this is being cleared later on as data has to be passed to saveBookingData in the back & forth journey.\n if (isAdditionalDetails) {\n dispatch(\"additionalDetails/clearState\", null, { root: true });\n }\n }\n },\n /**\n * Loads the routes\n * @param {*} commit\n * @param {*} dispatch\n * @param {*} rootGetters\n * @param {*} state\n */\n async loadRoutes({ commit, dispatch, rootGetters, state }) {\n commit(\"incrementBatch\");\n commit(\"setLoadingStatusKey\", \"sailings.loading.routes\");\n try {\n await dispatch(\"getRoutes\");\n await dispatch(\"getRoutesAvailability\");\n } catch (e) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n const error = {\n ...e,\n message:\n e?.status === 429\n ? Vue.prototype.$t(\"od3cp.service.busyError\")\n : e?.message || `Validated endpoint failed for id: ${correlationId}, batch: ${state.batch}`\n };\n commit(\n \"error/setError\",\n {\n ...error,\n source: e?.source || constants.ENDPOINTS.validate,\n page: constants.errorPage.sailings,\n statusCode: e?.status\n },\n { root: true }\n );\n throw error;\n }\n commit(\"setLoadingStatusKey\", null);\n },\n\n /**\n * load data in the sailings page\n * @param {Store} store\n * @param {Object} { isAdditionalDetails, isHaulage, isVAS }\n */\n async loadSailingsPageData({ commit, dispatch, rootGetters, state }, { isAdditionalDetails, isHaulage, isVAS }) {\n await dispatch(\"clearStateForNewRoutes\", { isAdditionalDetails, isHaulage, isVAS });\n await dispatch(\"loadRoutes\");\n },\n /**\n * Gets the routes that can be taken\n * @param {*} commit\n * @param {*} rootGetters\n * @param {*} getters\n */\n async getRoutes({ commit, rootGetters, state }) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"],\n batch = state.batch;\n if (rootGetters[\"commonData/getIsFakeCorrelationId\"]) {\n return;\n }\n commit(\"setRoutesLoadingStatus\", true);\n await populateRoutes(correlationId, batch, commit, state, rootGetters);\n },\n /**\n * Gets the routes Availability information\n * @param {*} commit\n * @param {*} rootGetters\n * @param {*} getters\n */\n async getRoutesAvailability({ commit, rootGetters, state }) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"],\n batch = state.batch;\n if (rootGetters[\"commonData/getIsFakeCorrelationId\"]) {\n return;\n }\n commit(\"setAvailabilityLoadingStatus\", true);\n // When it is in offline mode there is no need to call API\n await populateRoutesAvailability(correlationId, batch, commit, rootGetters, state.routes);\n },\n\n async selectRoute(\n { commit, rootGetters, state, getters, dispatch },\n { price, type, rollable, flexHub, isFmcApplicable, isMaerskAccelerateSelected }\n ) {\n dispatch(\"workflowLog/resetAflsFtsErrors\", null, { root: true });\n const route = state?.routes?.find(r => r.routeScheduleId === price.routeId),\n availability = state?.routesAvailability?.find(r => r.routeScheduleId === price.routeId),\n correlationId = rootGetters[\"commonData/getCorrelationId\"],\n isDeadlinesApiCalled = rootGetters[\"deadlines/getIsApiCalled\"];\n // Delivery promises for Flex and Block space\n const deliveryPromises = price.deliveryPromises,\n // data to extract gcssDeliveryAgreementType for Block space Spot\n spotDps = availability?.routePrices?.dynamicPrice?.productVariances,\n spotDpCode = \"maerskspot\",\n spotRollableDpCode = \"maerskspotwithvr\",\n sealandSpotDpCode = \"sealandspot\",\n sealandRollableDpCode = \"sealandspotwithvr\",\n //Delivery Promise for block space spot and classic spot\n spotDp = !!spotDps && spotDps?.find(dp => [spotDpCode, sealandSpotDpCode].includes(dp?.code?.toLowerCase())),\n //Delivery Promise for block space spot rollable and classic spot rollable\n spotRollableDp =\n !!spotDps && spotDps?.find(dp => [spotRollableDpCode, sealandRollableDpCode].includes(dp?.code?.toLowerCase())),\n isSpotOffer = type === \"spot\",\n isRollableOptionSelected = rollable,\n isFlexHubOptionSelected = !!flexHub,\n isSpotRollable = isSpotOffer && rollable,\n isRouteChanged = !getters.isOriginalRoute(price.routeId),\n isAmendBooking = rootGetters[\"OD3CP/isAmendBooking\"];\n\n const ratesStatusCode =\n state?.routesPriceBreakdown &&\n state.routesPriceBreakdown[price.routeId] &&\n state.routesPriceBreakdown[price.routeId]?.FIXEDPRICE?.status\n ? state?.routesPriceBreakdown[price.routeId]?.FIXEDPRICE?.status\n : null;\n\n // gcssDeliveryAgreementType for spot, flex and block space contract offers\n const gcssDeliveryAgreementType = getGcssDeliveryAgreementType(\n deliveryPromises,\n getters,\n isSpotOffer,\n spotDp,\n isSpotRollable,\n spotRollableDp,\n price\n );\n\n //TODO: Remove as part of OME-26497(Booking Options) OME-31390\n let routeOptions = getRouteOptions(\n isSpotOffer,\n isRollableOptionSelected,\n isFlexHubOptionSelected,\n gcssDeliveryAgreementType\n );\n\n if (isAmendBooking) routeOptions = { ...routeOptions, isRouteChanged };\n\n //For Google Analytics Payload\n const selectedRouteDetails = getSelectedRouteDetails(\n price,\n type,\n rollable,\n isFlexHubOptionSelected,\n gcssDeliveryAgreementType\n );\n\n // Now try and call the API\n try {\n //TODO: Remove as part of OME-26497(Booking Options) OME-31390\n if (!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.useBookingOptions.name)) {\n await selectRoute(correlationId, price.routeId, routeOptions);\n }\n\n if (!isDeadlinesApiCalled) dispatch(\"deadlines/loadDeadlines\", route, { root: true });\n // Log non 200 responses from rates api for the selected route\n if (ratesStatusCode && ratesStatusCode !== 200) {\n dispatch(\"workflowLog/aflsRatesErrors\", ratesStatusCode, { root: true });\n if (isAmendBooking) {\n dispatch(\"workflowLog/aflsRatesErrorsForFts\", null, { root: true });\n }\n }\n let selectedRoute = {\n ...route,\n isFmcApplicable,\n isRollableOptionSelected: rollable,\n isFlexHubOptionSelected,\n gcssDeliveryAgreementType,\n isMaerskAccelerateSelected: !!isMaerskAccelerateSelected\n };\n if (isAmendBooking && !isRouteChanged) {\n selectedRoute = { ...selectedRoute, isOriginalRouteSelected: true };\n }\n\n commit(\"setSelectedRoute\", { ...selectedRoute });\n sendGAEvent(\n \"SelectSailingData\",\n {\n correlationId,\n selectedRouteDetails: selectedRouteDetails,\n routes: generateSailingRoutesGAData({ validatedRouteSchedules: state.routesAvailability }, state.routes)\n },\n {\n isAmend: rootGetters[\"OD3CP/isAmendBooking\"],\n ...rootGetters[\"OD3CP/generateConfigWithDeliveryAgreementType\"]\n }\n );\n commit(\"setSelectedPriceType\", type);\n commit(\"setSelectedPrice\", {\n ...price,\n totalPrice: isMacSelected(price, isMaerskAccelerateSelected) ? getPriceWithServices(price) : price.totalPrice\n });\n //Remove this workflow log as a part of blockSpaceAmend release\n if (\n !rootGetters[\"boFlags/getFlag\"](constants.featureFlags.blockSpaceAmend.name) &&\n rootGetters[\"OD3CP/isAmendBooking\"] &&\n type === constants.sailings.contractType.contract\n ) {\n dispatch(\"workflowLog/aflsCLIRatesErrorForFts\", null, { root: true });\n }\n // Make the booking options api call for additional details\n if (rootGetters[\"boFlags/getFlag\"](constants.featureFlags.useBookingOptions.name)) {\n await dispatch(\"bookingOptions/fetchBookingOptions\", null, { root: true });\n }\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n status: error?.status,\n message: \"Could not select this route\",\n source: constants.errorSource.departures,\n page: constants.errorPage.od3cp,\n statusCode: error.status,\n showError: true,\n critical: true\n },\n { root: true }\n );\n throw error;\n }\n },\n\n async loadMoreSailings({ commit, dispatch, rootGetters, state }) {\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n try {\n commit(\"incrementBatch\");\n //Commit setAvailabilityLoadingStatus, setRoutesLoadingStatus early in this case as we need to\n //immediately disable the 'Load More sailings options' button to prevent multiple clicks & api calls.\n commit(\"setAvailabilityLoadingStatus\", true);\n commit(\"setRoutesLoadingStatus\", true);\n try {\n await validateLoadMore(correlationId, state.batch);\n await dispatch(\"getRoutes\");\n await dispatch(\"getRoutesAvailability\");\n if (rootGetters[\"OD3CP/isMultiContainerAndFlagEnabled\"] && !state.loadMore) {\n dispatch(\"checkContainersAvailability\");\n }\n } catch (error) {\n function userException() {\n return {\n error,\n message: error?.message || `Validated endpoint failed for id: ${correlationId}, batch: ${state.batch}`,\n source: error?.source || constants.ENDPOINTS.validate\n };\n }\n\n throw userException();\n }\n } catch (error) {\n commit(\"resetBatch\");\n commit(\"setLoadMore\", false);\n commit(\"setAvailabilityLoadingStatus\", false);\n commit(\"setRoutesLoadingStatus\", false);\n commit(\n \"error/setError\",\n {\n error,\n message:\n error?.error?.status === 429\n ? Vue.prototype.$t(\"sailings.view.loadMoreSpikeArrest\")\n : error?.message || `Validated endpoint failed for id: ${correlationId}, batch: ${state.batch}`,\n source: error?.source || constants.ENDPOINTS.validate,\n page: constants.errorPage.sailings,\n showError: error?.error?.status === 429,\n statusCode: error?.error?.status\n },\n { root: true }\n );\n if (error?.error?.status === 429) window.scrollTo({ top: 0, behavior: \"smooth\" });\n throw error;\n }\n },\n /**\n * @description Check availability of containers on routes with routePrices and set error message in case of unavailability only\n * @param {*} commit\n * @param {*} dispatch\n * @param {*} rootGetters\n * @param {*} getters\n */\n checkContainersAvailability({ commit, dispatch, rootGetters, state }) {\n const routesWithRoutePrices = (state.routesAvailability || []).filter(route => route?.routePrices);\n if (!isContainerNotAvailableForRoutes(routesWithRoutePrices)) {\n return;\n }\n commit(\"setContainerNotAvailableForAllRoutes\", true);\n commit(\n \"error/setError\",\n {\n message: Vue.prototype.$t(\"od3cp.view.notification.noCommonRouteForMultiContainers\"),\n page: constants.errorPage.od3cp,\n source: constants.errorSource.noCommonRouteForMultiContainers,\n showError: true,\n prefersMessage: false\n },\n { root: true }\n );\n },\n async loadRoutePriceBreakdown({ commit, rootGetters, state }, price) {\n const priceType = transformPriceType(price.type);\n // If we already have price breakdown for specific routeId and priceType, no need to call API\n if (\n state.routesPriceBreakdown &&\n state.routesPriceBreakdown[price.routeId] &&\n state.routesPriceBreakdown[price.routeId][priceType]\n ) {\n return;\n }\n\n // Otherwise make an API call\n const correlationId = rootGetters[\"commonData/getCorrelationId\"];\n try {\n const priceBreakdown = !price.totalPrice\n ? { hasError: true }\n : await getRoutePrice(correlationId, price.routeId, priceType);\n commit(\"setPriceBreakdownForRoute\", {\n routeScheduleId: price.routeId,\n priceType: priceType,\n routePrice: priceBreakdown\n });\n } catch (error) {\n commit(\n \"error/setError\",\n {\n error,\n message: `Could not load price for route: ${price.routeId}`,\n source: constants.errorSource.price,\n page: constants.errorPage.sailings,\n statusCode: error.status,\n showError: false\n },\n { root: true }\n );\n // Set error for particular routeScheduleId and priceType,\n // so the error message can be displayed when price breakdown is expanded\n commit(\"setPriceBreakdownForRoute\", {\n routeScheduleId: price.routeId,\n priceType: priceType,\n routePrice: { ...error, hasError: true }\n });\n }\n },\n\n /**\n * Creates fake selected route in offline mode.\n * @description Since we are in offline mode and we do not have regular selectedRoute,\n * we need to create a fake one, from User selections on OD3CP page, in purpose of using it in additional-details page\n * @param commit\n * @param rootGetters\n */\n createSelectedRouteInOfflineMode({ commit, rootGetters }) {\n const locationServiceMode = rootGetters[\"OD3CP/getTransformedLocationServiceMode\"];\n const firstSchedule = {\n startLocation: { ...locationServiceMode.origin.location }\n };\n const lastSchedule = {\n endLocation: {\n ...locationServiceMode.destination.location\n }\n };\n const offlineSelectedRoute = {\n schedules: [firstSchedule, lastSchedule]\n };\n commit(\"setSelectedRoute\", offlineSelectedRoute);\n },\n setOriginalRouteSticky({ commit }, value) {\n commit(\"sailings/setOriginalRouteSticky\", value, { root: true });\n }\n};\n","import { initialState } from \"./sailings/state\";\nimport getters from \"./sailings/getters\";\nimport mutations from \"./sailings/mutations\";\nimport actions from \"./sailings/actions\";\n\nexport default {\n namespaced: true,\n state: initialState,\n getters: getters,\n mutations: mutations,\n actions: actions\n};\n","const productOfferPrefix: string = \"pricingJourney.component.prdCard.prdOffer\";\nconst productCardPrefix: string = \"pricingJourney.component.prdCard\";\nconst alternateOfferPrefix: string = \"pricingJourney.component.prdCard.alternateOffer\";\nconst errorOfferPrefix: string = \"pricingJourney.component.prdCard.errorOffer\";\nconst noOfferPrefix: string = \"pricingJourney.component.prdCard.noOffer\";\n\n/* Pricing journey card */\nexport const errorOfferLabels = {\n errorOffer: {\n heading: `${errorOfferPrefix}.heading`,\n info: `${errorOfferPrefix}.info`\n }\n};\n\nexport const noOfferLabels = {\n errorOffer: {\n heading: `${noOfferPrefix}.heading`,\n info: `${noOfferPrefix}.info`\n }\n};\n\nexport const productCard = {\n allInclusive: `${productCardPrefix}.allInclusive`,\n alternateRoutes: `${productCardPrefix}.alternateRoutes`,\n spotRollable: `${productCardPrefix}.spotRollable`,\n fromLabel: `${productCardPrefix}.fromLabel`,\n rollableText: `${productCardPrefix}.rollableText`\n};\n\nexport const productOfferLabels = {\n heading: `${productOfferPrefix}.heading`,\n buttonLabel: `${productOfferPrefix}.buttonLabel`,\n ...productCard\n};\n\nexport const alternateOfferLabels = {\n heading: `${alternateOfferPrefix}.heading`,\n buttonLabel: `${alternateOfferPrefix}.buttonLabel`,\n seeMore: `${alternateOfferPrefix}.seeMore`,\n search: {\n message: `${alternateOfferPrefix}.search.message`,\n info: `${alternateOfferPrefix}.search.info`\n },\n ...productCard\n};\n\nexport const offerFilteredReasonLabels = {\n ...productCard\n};\n","import {\n OfferDto,\n Surcharge,\n Offer,\n Charge,\n PricesPerContainer,\n PenaltyCharge,\n PenaltyFee as SailingsPenaltyFee,\n PenaltyFees,\n DNDFeeLocation,\n ChargePerDiem,\n DNDFee,\n Deadline,\n ScheduleDetails,\n ScheduleVM,\n DateDisplay,\n Location,\n LocationRoute,\n DeadlineInfo,\n SpotPenaltyFees\n} from \"@/common/utils/types\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport { currencyFormat } from \"@/common/utils/generic/currencyTransform\";\nimport { deepClone } from \"@/common/utils/generic/deepClone\";\nimport dayjs from \"dayjs\";\nimport { getFeatureValue, isFeatureEnabled } from \"@/common/utils/generic/featureFlagService\";\n\n/***\n * Maps the product offer to offer DTO to use in product card\n * @params {Object} offer - The product offer\n * @returns {OfferDto}\n */\nexport function mapProductOffer(offer: any): OfferDto {\n if (!offer || typeof offer !== \"object\" || Array.isArray(offer)) return {} as OfferDto;\n return {\n offer: {\n date: offer.routeScheduleWithPrices?.routeScheduleFull?.fromLocation?.date ?? null,\n spotRollable: offer?.routeScheduleWithPrices?.rollableOptionEnabled ? constants.spotRollable : null,\n rollableStatus: offer?.routeScheduleWithPrices?.rollableOptionStatus ?? null\n },\n priceDetails: {\n currency: offer.routeScheduleWithPrices?.price?.totalPriceCurrency ?? \"USD\",\n totalPrice: Number(offer.routeScheduleWithPrices?.price?.total)\n },\n offerModal: {\n header: {\n gateInDeadline: getGateInDeadline(offer),\n ...mapArrivalAndDeparture(offer)\n },\n priceDetails: {\n type: getOfferType(offer),\n deliveryPromises: null,\n penaltyFees: mapSpotPenaltyFees(offer),\n importDndFees: mapImportDnDConditions(offer),\n price: {\n //we can give any value, so why not be number 1!!\n routeId: 1,\n priceBreakdown: mapPriceBreakDown(offer),\n totalPriceCurrency: offer?.routeScheduleWithPrices?.price?.totalPriceCurrency ?? \"USD\",\n totalPrice: offer?.routeScheduleWithPrices?.price?.total ?? \"00\"\n }\n },\n offerId: getFeatureValue(constants.featureFlags.oipoProductOffer.name)\n ? offer.routeScheduleWithPrices?.price?.pricesPerContainer?.[0]?.priceId ?? \"\"\n : offer.routeScheduleWithPrices?.price?.prices_per_container?.[0]?.priceid ?? \"\",\n schedules: mapTransitDetails(offer),\n deadlines: getDeadlines(offer)\n },\n lsm: {\n origin: {\n geoId: offer?.routeScheduleWithPrices?.routeScheduleFull?.fromLocation?.cityGeoId ?? \"\",\n name: offer?.productOffer?.originDisplayName ?? \"\",\n serviceMode: offer?.productOffer?.originServiceMode ?? constants.serviceMode.merchantHaulage\n },\n destination: {\n geoId: offer?.routeScheduleWithPrices?.routeScheduleFull?.toLocation?.cityGeoId ?? \"\",\n name: offer?.productOffer?.destinationDisplayName ?? \"\",\n serviceMode: offer?.productOffer?.destinationServiceMode ?? constants.serviceMode.merchantHaulage\n }\n },\n nor: getNorDetails(offer)\n };\n}\n\n/**\n * @description generates date-time from date and time.\n * @param {date} date\n * @param {date} time\n * @returns {dateTime}\n */\nfunction generateDateTime(date: string, time: string): DateDisplay {\n return dayjs(`${date} ${time}`).format();\n}\n\n/**\n * @description generates the arrival and departure dates\n * @param {Offer} offer\n * @returns { { departureDate: string; arrivalDate: string;departureDateTime: string;arrivalDateTime: string} }\n */\nexport function mapArrivalAndDeparture(\n offer: Offer\n): { departureDate: string; arrivalDate: string; departureDateTime: DateDisplay; arrivalDateTime: DateDisplay } {\n const routeScheduleFull = offer.routeScheduleWithPrices?.routeScheduleFull;\n\n const departureDate = routeScheduleFull?.fromLocation?.date ?? routeScheduleFull?.firstLoadPort?.date;\n const arrivalDate = routeScheduleFull?.toLocation?.date ?? routeScheduleFull?.lastDischargePort?.date;\n const departureTime = routeScheduleFull?.fromLocation?.time ?? routeScheduleFull?.firstLoadPort?.time;\n const arrivalTime = routeScheduleFull?.toLocation?.time ?? routeScheduleFull?.lastDischargePort?.time;\n const departureDateTime = generateDateTime(departureDate, departureTime);\n const arrivalDateTime = generateDateTime(arrivalDate, arrivalTime);\n return {\n departureDate: departureDate ?? null,\n arrivalDate: arrivalDate ?? null,\n departureDateTime: departureDateTime ?? null,\n arrivalDateTime: arrivalDateTime ?? null\n };\n}\n\n/***\n * Maps the alternate offer to offer DTO to use in product card\n * @params {Object} alternateOffer - The product offer\n * @returns {OfferDto}\n */\nexport function mapAlternateOffer(alternateOffer: any): OfferDto {\n if (!alternateOffer || typeof alternateOffer !== \"object\" || Array.isArray(alternateOffer)) return {} as OfferDto;\n const origin = alternateOffer.originLabel ?? \"\";\n const destination = alternateOffer.destinationLabel ?? \"\";\n return {\n offer: {\n date: alternateOffer.etd ?? null,\n origin\n },\n alternateRoute: {\n routeInfo: `${origin} - ${destination}`\n }\n };\n}\n\n/***\n * Maps the product offer to offer DTO to use in product card\n * @params {Object} productOffer - The product offer\n * @returns {OfferDto}\n */\nexport function mapOfferedFilteredReason(productOffer: any): OfferDto {\n if (!productOffer || typeof productOffer !== \"object\" || Array.isArray(productOffer)) return {} as OfferDto;\n return {\n offer: {\n date: productOffer.offerFilteredReasons?.departureDate ?? null,\n filteredReason: productOffer?.offerFilteredReasons?.type ?? null\n }\n };\n}\n\n/***\n * Decorate offers with unique ids\n * @params {Array} offers - The offers list\n * @returns {Array}\n */\nexport function decorateWithIds(offers: any[]): any[] {\n return offers?.map((offer, index) => {\n return {\n ...offer,\n id: index\n };\n });\n}\n\n/***\n * Returns Gate in Deadline time\n * @params {Object} productOffer - The offers list\n * @returns {string} gate in time\n */\nexport function getGateInDeadline(productOffer: Offer): string {\n const gateInDeadline = productOffer?.routeScheduleWithPrices?.routeScheduleFull?.scheduleDetails\n ?.map((schedule: any) => {\n return schedule?.deadlines;\n })\n .flat(1)\n .filter((deadline: any) => {\n return deadline?.deadlineKey === \"CY\";\n });\n return gateInDeadline?.length ? gateInDeadline[0].deadline.split(\" \")[0] : \"\";\n}\n\nexport function mapPriceBreakDown(offer: Offer): Array {\n const fromPerDoc = getFeatureValue(constants.featureFlags.oipoProductOffer.name)\n ? (offer.routeScheduleWithPrices?.price?.surchargesPerDoc ?? []).map(charge => mapChargeToSurcharge(charge))\n : (offer.routeScheduleWithPrices?.price?.surcharges_per_doc ?? []).map(charge => mapChargeToSurcharge(charge));\n\n const accumulator = function(charges: Array, curr: PricesPerContainer): Array {\n const surcharge = getFeatureValue(constants.featureFlags.oipoProductOffer.name)\n ? [...curr.surchargesPerContainer]\n : [...curr.surcharges_per_container];\n const containerTypes = getFeatureValue(constants.featureFlags.oipoProductOffer.name)\n ? curr.containerSizeType\n : curr.containersizetype;\n return [\n ...charges,\n {\n ...curr.bas,\n containerType:\n constants.dndApiContainerSizeTypeMap[containerTypes as keyof typeof constants.dndApiContainerSizeTypeMap],\n containerIsoCode: curr.containerIsoCode\n },\n ...surcharge.map(charge => ({\n ...charge,\n containerType:\n constants.dndApiContainerSizeTypeMap[containerTypes as keyof typeof constants.dndApiContainerSizeTypeMap],\n containerIsoCode: curr.containerIsoCode\n }))\n ];\n };\n const priceObj = offer?.routeScheduleWithPrices?.price;\n const pricePerContainer = getFeatureValue(constants.featureFlags.oipoProductOffer.name)\n ? priceObj?.pricesPerContainer ?? []\n : priceObj?.prices_per_container ?? [];\n const chargesFromContainer = pricePerContainer\n .reduce(accumulator, [])\n .map(charge => mapChargeToSurcharge(charge, charge.containerType, charge.containerIsoCode));\n return [...fromPerDoc, ...chargesFromContainer];\n}\n/**\n * @description transformer function which converts charge to surcharge\n * @param {Charge} charge\n * @returns {Surcharge}\n */\nfunction mapChargeToSurcharge(charge: Charge, containerType?: string, containerIsoCode?: string): Surcharge {\n const cloned = deepClone(constants.priceBreakdownRateBasisMapper);\n const oipoProductOffer = getFeatureValue(constants.featureFlags.oipoProductOffer.name);\n return {\n id: oipoProductOffer ? charge.chargeCode : charge.chargecode,\n name: oipoProductOffer ? charge.chargeDescription : charge.chargedescription,\n basis: cloned[oipoProductOffer ? charge.rateBasis : charge.ratebasis],\n currency: charge.currency,\n quantity: Number(charge.qty),\n unitPriceFormatted: currencyFormat(charge.rate, charge.currency),\n totalPriceFormatted: currencyFormat(charge.amount, charge.currency),\n code: oipoProductOffer ? charge.chargeCode : charge.chargecode,\n rateType: oipoProductOffer ? charge.rateType : charge.ratetype,\n unitPrice: Number(charge.rate),\n totalPrice: Number(charge.amount),\n containerType,\n containerIsoCode\n };\n}\n\n/**\n * @description Maps the offer penalty fees to spot penalty fees\n * @param {Offer} offer\n * @returns {Array}\n */\nfunction mapSpotPenaltyFees(offer: Offer): Array {\n const penaltyFees = offer.routeScheduleWithPrices?.penaltyFees || [];\n const result: SpotPenaltyFees[] = [];\n const feeDetails = penaltyFees.map(item => {\n return {\n ...item,\n length: item?.charges?.length\n };\n });\n const feeDetailsPerCharges = feeDetails.flatMap(item =>\n Array(item.length).fill({ currency: item.currency, containerSizeType: item.containerSizeType })\n );\n const chargesArray = penaltyFees.flatMap(item => item.charges);\n chargesArray.forEach((charge, index) => {\n const containerType =\n constants.dndApiContainerSizeTypeMap[\n feeDetailsPerCharges[index].containerSizeType as keyof typeof constants.dndApiContainerSizeTypeMap\n ];\n const formattedPrice = currencyFormat(charge.chargeFee, feeDetailsPerCharges[index].currency);\n\n const existingFee = result.find(fee => fee.id === charge.penaltyType);\n\n if (existingFee) {\n existingFee.costs.push({ containerType, currency: feeDetailsPerCharges[index].currency, formattedPrice });\n } else {\n result.push({\n name: charge.displayName,\n id: charge.penaltyType,\n costs: [{ containerType, currency: feeDetailsPerCharges[index].currency, formattedPrice }]\n });\n }\n });\n return result;\n}\n\nexport function getOfferType(offer: Offer): string {\n if (offer?.routeScheduleWithPrices?.productPriceType === \"spot\") return constants.sailings.contractType.spot;\n //maybe it's market or tariff\n if (offer?.routeScheduleWithPrices?.productPriceType === \"market\") return constants.sailings.contractType.market;\n if (offer?.routeScheduleWithPrices?.productPriceType === \"tariff\") return constants.sailings.contractType.tariff;\n //else use the fallback\n return \"\";\n}\n\nfunction extractDischargePortLocation(offer: Offer): DNDFeeLocation {\n const dischargePort = offer?.routeScheduleWithPrices?.routeScheduleFull?.lastDischargePort;\n if (!dischargePort) return { cityName: \"\", countryName: \"\" };\n return {\n cityName: dischargePort.cityName ?? \"\",\n countryName: dischargePort.countryName ?? \"\"\n };\n}\nexport function mapImportDnDConditions(offer: Offer) {\n const location = extractDischargePortLocation(offer);\n return (offer?.routeScheduleWithPrices?.importDnDConditions || [])?.map((dnd: DNDFee) => {\n return {\n freeTimeStartEvent: dnd.freetimeStartEvent,\n freeTimeGrantInDays: dnd.freetimeGrantInDays,\n chargeType: dnd.chargeType,\n containerSizeType: dnd.containerSizeType,\n commodity: dnd.commodity,\n rkstCode: dnd.rkstCode,\n displayName: \"Import \" + dnd.chargeType,\n tradeDirection: \"Import\",\n location,\n chargePerDiemAfterFreetime: dnd.chargePerDiemAfterFreetime.map((charge: ChargePerDiem) => {\n return {\n ...charge,\n currency: charge.currencyOfCharge\n };\n })\n };\n });\n}\nexport function getDeadlines(offer: Offer): Array {\n const firstLoadPortGeoId = offer?.routeScheduleWithPrices?.routeScheduleFull?.firstLoadPort?.cityGeoId;\n const schedules = (offer?.routeScheduleWithPrices?.routeScheduleFull?.scheduleDetails || [])?.find(\n (schedule: ScheduleDetails) => {\n return schedule?.fromLocation?.cityGeoId === firstLoadPortGeoId && schedule?.deadlines?.length;\n }\n );\n return (schedules?.deadlines || [])\n ?.filter((deadline: Deadline) => {\n return constants.deadlineCodes.includes(deadline.deadlineKey);\n })\n .map((deadline: Deadline) => {\n return {\n code: constants.deadlineMapper[deadline.deadlineKey],\n name: deadline.name,\n date: deadline.deadline\n };\n });\n}\n\nexport function mapTransitDetails(offer: Offer): Array {\n const routeScheduleFull = offer?.routeScheduleWithPrices?.routeScheduleFull;\n if (!routeScheduleFull) return [];\n return (routeScheduleFull.scheduleDetails || []).map(\n (scheduleDetails: ScheduleDetails, index: number): ScheduleVM => {\n return {\n routeLinkId: String(index),\n originArrivalDatetime: null, //hard coded as we don't have information\n originDepartureDatetime: generateDateTime(scheduleDetails.fromLocation.date, scheduleDetails.fromLocation.time),\n destinationArrivalDatetime: generateDateTime(scheduleDetails.toLocation.date, scheduleDetails.toLocation.time),\n destinationDepartureDatetime: null, //hard coded as we don't have information,\n startLocation: mapLocation(scheduleDetails.fromLocation),\n endLocation: mapLocation(scheduleDetails.toLocation),\n layoverTime: null, //hard coded as we don't have information\n routingType: scheduleDetails.routingType ?? null,\n service: scheduleDetails.serviceCode,\n sequence: null, //hard coded as we don't have information\n carrier: scheduleDetails.carrierCode,\n transportModeCode: scheduleDetails.transport.transportMode,\n transitTime: null, //hard coded as we don't have information\n transport: {\n voyageNumber: scheduleDetails.transport.voyageNumber,\n vessel: {\n name: scheduleDetails?.transport?.vessel?.name ?? null,\n code: scheduleDetails?.transport?.vessel?.code ?? null,\n flag: scheduleDetails?.transport?.vessel?.flagCode ?? null,\n imoNumber: scheduleDetails?.transport?.vessel?.imoNumber ?? null,\n buildYear: scheduleDetails?.transport?.vessel?.buildYear ?? null\n }\n }\n };\n }\n );\n function mapLocation(location: Location): LocationRoute {\n return {\n countryCode: location.countryCode,\n cityGeoId: location.cityGeoId,\n siteGeoId: location.siteGeoId,\n cityRkstCode: null, //we don't have that response in payload and also we don't show it yet so we can make it hardcoded\n cityName: location.cityName,\n siteRkstCode: location.rkstCode,\n siteName: location.siteName,\n countryGeoId: null, //we don't have that response in payload and also we don't show it yet so we can make it hardcoded\n countryName: location.countryName\n };\n }\n}\n\n/**\n * Checks if the offer is valid and non contract\n * @param {Object} offer\n * @returns {Boolean}\n */\nexport function isNonContractOffer(offer: Offer): boolean {\n return (\n !!offer?.productOffer &&\n offer?.routeScheduleWithPrices?.productPriceType !== constants.sailings.contractType.contract\n );\n}\n\n/**\n * Checks if the offer is no valid offers for load more\n * @param {Array} offers\n * @returns {Boolean}\n */\nexport function hasNoOffersForLoadMore(offers: Offer[], batch: number, timeOutReason: string): boolean {\n // This is only applicable for load more and batch > 1\n if (\n batch <= 1 ||\n ![constants.pricingOffersTriggerSources.loadMore, constants.pricingOffersTriggerSources.alternateLoadMore].includes(\n timeOutReason\n )\n )\n return false;\n // If no offers return true, no need to check further\n if (!offers || offers?.length === 0) return true;\n // Filter non contract offers and offer filtered reasons and none is present consider it as no offer\n return (offers || [])?.filter(offer => isNonContractOffer(offer) || !!offer?.offerFilteredReasons)?.length === 0;\n}\n\nexport const getNorDetails = (\n offer: any\n): { isAvailable: boolean; additionalOffers: any[]; isSwapped: boolean; isNorPresent: boolean; containers: any[] } => {\n const additionalOffers = offer?.additionalOffers?.[0] ?? null;\n const isAvailable = additionalOffers?.isAvailable ?? false;\n const isSwapped =\n isAvailable === false &&\n [constants.containerTypes.dry, constants.containerTypes.dryHigh].includes(additionalOffers?.containers?.[0]?.type);\n const isNorPresent = isAvailable || isSwapped;\n const containers = isSwapped ? offer?.productOffer?.containers : additionalOffers?.containers;\n const norContainers = isNorPresent ? containers : [];\n return {\n isAvailable,\n additionalOffers,\n isSwapped,\n isNorPresent,\n containers: norContainers\n };\n};\n\nexport const mapOfferContainer = (\n container: any,\n quantity?: number\n): { type: string; size: string; quantity?: number; name: string; isoContainerSizeTypeCd: string } => {\n return {\n type: container?.type,\n size: container?.size,\n ...(quantity !== undefined && quantity !== null && { quantity }),\n isoContainerSizeTypeCd: container?.iso,\n name: constants.dndApiContainerSizeTypeMap[container?.name as keyof typeof constants.dndApiContainerSizeTypeMap]\n };\n};\n","import { constants } from \"@/lib/CONSTANTS\";\nimport { constructReeferContainerOptions } from \"@/lib/reefer/reeferUtilities\";\n\nconst prefix = \"od3cp.component.reefer\";\n\nexport const multiSizedContainers = () =>\n constructReeferContainerOptions([\n {\n name: constants.reeferContainerNames.standard,\n size: constants.reeferContainerSizes.multi,\n groupName: constants.groupNameForReefer,\n group: constants.groupNameForReefer,\n code: constants.reeferContainerCodes.standard,\n celsiusTempRange: constants.reeferContainerTempRanges.standard.celsius,\n fahrenheitTempRange: constants.reeferContainerTempRanges.standard.fahrenheit\n },\n {\n name: constants.reeferContainerNames.magnum,\n size: constants.reeferContainerSizes.multi,\n groupName: constants.groupNameForReefer,\n group: constants.groupNameForReefer,\n code: constants.reeferContainerCodes.magnum,\n celsiusTempRange: constants.reeferContainerTempRanges.magnum.celsius,\n fahrenheitTempRange: constants.reeferContainerTempRanges.magnum.fahrenheit\n }\n ]);\n\nexport const twentySizedContainers = () =>\n constructReeferContainerOptions([\n {\n name: constants.reeferContainerNames.standard,\n size: constants.reeferContainerSizes.twenty,\n groupName: constants.groupNameForReefer,\n group: constants.groupNameForReefer,\n code: constants.reeferContainerCodes.standard,\n celsiusTempRange: constants.reeferContainerTempRanges.standard.celsius,\n fahrenheitTempRange: constants.reeferContainerTempRanges.standard.fahrenheit\n },\n {\n name: constants.reeferContainerNames.magnum,\n size: constants.reeferContainerSizes.twenty,\n groupName: constants.groupNameForReefer,\n group: constants.groupNameForReefer,\n code: constants.reeferContainerCodes.magnum,\n celsiusTempRange: constants.reeferContainerTempRanges.magnum.celsius,\n fahrenheitTempRange: constants.reeferContainerTempRanges.magnum.fahrenheit\n }\n ]);\n\nexport const fortySizedContainers = () =>\n constructReeferContainerOptions([\n {\n name: constants.reeferContainerNames.standard,\n size: constants.reeferContainerSizes.forty,\n groupName: constants.groupNameForReefer,\n group: constants.groupNameForReefer,\n code: constants.reeferContainerCodes.standard,\n celsiusTempRange: constants.reeferContainerTempRanges.standard.celsius,\n fahrenheitTempRange: constants.reeferContainerTempRanges.standard.fahrenheit\n },\n {\n name: constants.reeferContainerNames.magnum,\n size: constants.reeferContainerSizes.forty,\n groupName: constants.groupNameForReefer,\n group: constants.groupNameForReefer,\n code: constants.reeferContainerCodes.magnum,\n celsiusTempRange: constants.reeferContainerTempRanges.magnum.celsius,\n fahrenheitTempRange: constants.reeferContainerTempRanges.magnum.fahrenheit\n },\n {\n name: constants.reeferContainerNames.starcare,\n size: constants.reeferContainerSizes.forty,\n groupName: constants.groupNameForReefer,\n group: constants.groupNameForReefer,\n code: constants.reeferContainerCodes.starcare,\n celsiusTempRange: constants.reeferContainerTempRanges.starcare.celsius,\n fahrenheitTempRange: constants.reeferContainerTempRanges.starcare.fahrenheit\n },\n {\n name: constants.reeferContainerNames.starfresh,\n size: constants.reeferContainerSizes.forty,\n groupName: constants.groupNameForReefer,\n group: constants.groupNameForReefer,\n code: constants.reeferContainerCodes.starfresh,\n celsiusTempRange: constants.reeferContainerTempRanges.starfresh.celsius,\n fahrenheitTempRange: constants.reeferContainerTempRanges.starfresh.fahrenheit\n },\n {\n name: constants.reeferContainerNames.superFreezer,\n size: constants.reeferContainerSizes.forty,\n groupName: constants.groupNameForReefer,\n group: constants.groupNameForReefer,\n code: constants.reeferContainerCodes.superfreezer,\n celsiusTempRange: constants.reeferContainerTempRanges.superFreezer.celsius,\n fahrenheitTempRange: constants.reeferContainerTempRanges.superFreezer.fahrenheit\n }\n ]);\n\n/* Reefer Settings */\nexport const reeferSettings = {\n containerSelectLabels: [\n { value: null, label: \"\" },\n {\n label: \"REEFER CONTAINER\",\n options: []\n }\n ],\n labels: t => ({\n containerTypeLabel: t(`${prefix}.containerTypeLabel`),\n tempOrHumidityChangeToolTip: t(`${prefix}.tempOrHumidityChangeToolTip`),\n controlledAtmosphere: t(`${prefix}.controlledAtmosphereLabel`),\n containerRequiredError: t(`${prefix}.containerTypeLabel`) + \" \" + t(`${prefix}.requiredError`),\n containerLabels: {\n label: t(`${prefix}.containerTypeLabel`),\n optionalLabel: \"\",\n placeholder: t(`${prefix}.placeholderText`),\n noResultsMessage: t(`${prefix}.noResultsMsg`),\n dataErrorMessage: \"\",\n errorMessage: \"\"\n },\n commodityDatabaseLabel: t(`${prefix}.commodityDatabase.label`),\n commodityLink: t(`${prefix}.commodityDatabase.link.href`),\n commodityDatabaseLinkLabel: t(`${prefix}.commodityDatabase.link.label`)\n })\n};\n\n/* Reefer Cargo Probes */\nexport const reeferCargoProbes = {\n options: [\n { value: 0, label: \"0\" },\n { value: 1, label: \"1\" },\n { value: 2, label: \"2\" },\n { value: 3, label: \"3\" },\n { value: 4, label: \"4\" }\n ],\n radioOptions: t => [\n {\n id: \"drainHolesOpen\",\n label: t(`${prefix}.drainHoles.openLabel`),\n value: constants.openClosedRadioOptions.open,\n dataTest: \"reeferSettings-drainHolesRadioOpen\"\n },\n {\n id: \"drainHolesClosed\",\n label: t(`${prefix}.drainHoles.closedLabel`),\n value: constants.openClosedRadioOptions.closed,\n dataTest: \"reeferSettings-drainHolesRadioClosed\"\n }\n ],\n labels: t => ({\n cargoProbesLabel: t(`${prefix}.cargoProbes.label`),\n cargoProbesTooltipLabel: t(`${prefix}.cargoProbes.tooltip.label`),\n cargoProbesRequiredError: t(`${prefix}.cargoProbes.label`) + \" \" + t(`${prefix}.requiredError`),\n cargoProbesRangeError: t(`${prefix}.cargoProbes.label`) + \" \" + t(`${prefix}.rangeMsg`),\n drainHolesLabel: t(`${prefix}.drainHoles.label`),\n drainHolesTooltipLabel: t(`${prefix}.drainHoles.tooltip.label`),\n rangeMsgSeparator: t(`${prefix}.rangeMsgSeparator`)\n })\n};\n\n/* Reefer Temperature */\nexport const reeferTemperature = {\n radioOptions: t => [\n {\n id: \"coldTreatmentYes\",\n label: t(`${prefix}.coldTreatment.yesLabel`),\n value: constants.radioOptions.enable,\n dataTest: \"reeferSettings-coldTreatmentRadioYes\"\n },\n {\n id: \"coldTreatmentNo\",\n label: t(`${prefix}.coldTreatment.noLabel`),\n value: constants.radioOptions.disable,\n dataTest: \"reeferSettings-coldTreatmentRadioNo\"\n }\n ],\n labels: t => ({\n coldTreatmentLabel: t(`${prefix}.coldTreatment.label`),\n coldTreatmentLinkLabel: t(`${prefix}.coldTreatment.link.label`),\n coldTreatmentLink: t(`${prefix}.coldTreatment.link.href`),\n coldTreatmentTooltipLabel: t(`${prefix}.coldTreatment.tooltip.label`),\n temperatureLabel: t(`${prefix}.temperature.label`),\n temperatureRequiredError: t(`${prefix}.temperature.label`) + \" \" + t(`${prefix}.requiredError`),\n temperatureRangeError: t(`${prefix}.temperature.label`) + \" \" + t(`${prefix}.rangeMsg`),\n temperatureSymbolCelsius: t(`${prefix}.temperature.symbol.celsius`),\n temperatureSymbolFahrenheit: t(`${prefix}.temperature.symbol.fahrenheit`),\n temperatureLinkLabel: t(`${prefix}.temperature.link.label`),\n temperatureLink: t(`${prefix}.temperature.link.href`),\n temperatureTooltipLabel: t(`${prefix}.temperature.tooltip.label`),\n rangeMsgSeparator: t(`${prefix}.rangeMsgSeparator`),\n invalidInput: t(`${prefix}.invalidInput`),\n invalidTemperatureFormat: t(`${prefix}.invalidTemperatureFormat`)\n })\n};\nexport const reeferSetPoints = {\n labels: t => ({\n multipleSetPointsLabel: t(`${prefix}.multipleSetPoints.label`),\n multipleSetPointsTooltipLabel: t(`${prefix}.multipleSetPoints.tooltip.label`),\n setPointTemperatureLabel: t(`${prefix}.temperature.label`),\n setPointDaysLabel: t(`${prefix}.multipleSetPoints.days`),\n setPointRemoveButtonLabel: t(\"common.remove\"),\n temperatureSymbolCelsius: t(`${prefix}.temperature.symbol.celsius`),\n temperatureSymbolFahrenheit: t(`${prefix}.temperature.symbol.fahrenheit`),\n temperatureRequiredError: t(`${prefix}.multipleSetPoints.errors.temperatureRequired`),\n invalidInput: t(`${prefix}.invalidInput`),\n invalidTemperatureFormat: t(`${prefix}.invalidTemperatureFormat`),\n numberOfDaysRequiredError: t(`${prefix}.multipleSetPoints.errors.numberOfDaysRequired`),\n numberOfDaysRangeError: t(`${prefix}.multipleSetPoints.errors.numberOfDaysRange`),\n addSetpointLabel: t(`${prefix}.multipleSetPoints.addMore`),\n deleteSetpointLabel: t(\"common.remove\"),\n valueLessThanError: t(`${prefix}.multipleSetPoints.errors.valueLessThanError`),\n temperatureRangeError: t(`${prefix}.temperature.label`) + \" \" + t(`${prefix}.rangeMsg`),\n rangeMsgSeparator: t(`${prefix}.rangeMsgSeparator`)\n })\n};\n\n/* Reefer Atmosphere */\nexport const reeferAtmosphere = {\n ethyleneOptions: [\n { value: \"0\", label: \"0\" },\n { value: \"1\", label: \"1\" },\n { value: \"2\", label: \"2\" }\n ],\n labels: t => ({\n o2Label: t(`${prefix}.o2.label`),\n o2Symbol: t(`${prefix}.o2.symbol`),\n o2RequiredError: t(`${prefix}.o2.label`) + \" \" + t(`${prefix}.requiredError`),\n o2RangeError: t(`${prefix}.o2.label`) + \" \" + t(`${prefix}.rangeMsg`),\n co2Label: t(`${prefix}.co2.label`),\n co2Symbol: t(`${prefix}.co2.symbol`),\n co2RequiredError: t(`${prefix}.co2.label`) + \" \" + t(`${prefix}.requiredError`),\n co2RangeError: t(`${prefix}.co2.label`) + \" \" + t(`${prefix}.rangeMsg`),\n ethyleneLabel: t(`${prefix}.ethylene.label`),\n ethyleneTooltipLabel: t(`${prefix}.ethylene.tooltip.label`),\n rangeMsgSeparator: t(`${prefix}.rangeMsgSeparator`),\n o2Co2SumExceedError: t(`${prefix}.o2.o2Co2SumExceedError`, {\n o2Co2SumMaxAllowed: constants.maximumAllowedO2CO2combinedPercentage\n })\n })\n};\n\n/* Reefer Additional Equipment */\nexport const reeferAdditionalEquipment = {\n labels: t => ({\n additionalEquipmentLabel: t(`${prefix}.additionalEquipment.label`),\n additionalEquipmentTooltipLabel: t(`${prefix}.additionalEquipment.tooltip.label`),\n gensetExportLabel: t(`${prefix}.additionalEquipment.gensetExportLabel`),\n gensetImportLabel: t(`${prefix}.additionalEquipment.gensetImportLabel`),\n gensetRequired: t(`${prefix}.additionalEquipment.gensetRequired`),\n duringExport: t(`${prefix}.additionalEquipment.duringExport`),\n duringImport: t(`${prefix}.additionalEquipment.duringImport`),\n yes: t(\"common.yes\"),\n no: t(\"common.no\"),\n errorMessage: t(\"common.errors.required\")\n })\n};\n\n/* Reefer Ventilator */\nexport const reeferVentilator = {\n radioOptions: t => [\n {\n id: \"freshAirOpen\",\n label: t(`${prefix}.freshAirExchange.openLabel`),\n value: constants.openClosedRadioOptions.open,\n dataTest: \"reeferSettings-ventilationRadioOpen\"\n },\n {\n id: \"freshAirClosed\",\n label: t(`${prefix}.freshAirExchange.closedLabel`),\n value: constants.openClosedRadioOptions.closed,\n dataTest: \"reeferSettings-ventilationRadioClosed\"\n }\n ],\n labels: t => ({\n freshAirLabel: t(`${prefix}.freshAirExchange.label`),\n freshAirLinkLabel: t(`${prefix}.freshAirExchange.link.label`),\n freshAirLink: t(`${prefix}.freshAirExchange.link.href`),\n freshAirTooltipLabel: t(`${prefix}.freshAirExchange.tooltip.label`),\n ventilationVolumeLabel: t(`${prefix}.ventilationVolume.label`),\n ventilationVolumeSymbolMeterPerHour: t(`${prefix}.ventilationVolume.symbol.meterPerHour`),\n ventilationVolumeSymbolCuFtPerHour: t(`${prefix}.ventilationVolume.symbol.cuFtPerHour`),\n ventilationVolumeRequiredError: t(`${prefix}.ventilationVolume.label`) + \" \" + t(`${prefix}.requiredError`),\n ventilationRangeError: t(`${prefix}.ventilationVolume.label`) + \" \" + t(`${prefix}.rangeMsg`),\n cubicMtrLabel: t(`${prefix}.ventilationVolume.rangeMsgUnitInrMtrs`),\n rangeMsgSeparator: t(`${prefix}.rangeMsgSeparator`),\n ventilationVolumeSymbolMeterPerHourMDS: t(`${prefix}.ventilationVolume.mdsSymbol.meterPerHour`),\n ventilationVolumeSymbolCuFtPerHourMDS: t(`${prefix}.ventilationVolume.mdsSymbol.cuFtPerHour`)\n })\n};\n\n/* Reefer Humidity */\nexport const reeferHumidity = {\n radioOptions: t => [\n {\n id: \"humidityYes\",\n label: t(`${prefix}.humidity.yesLabel`),\n value: constants.radioOptions.enable,\n dataTest: \"reeferSettings-humidityRadioYes\",\n disabled: false\n },\n {\n id: \"humidityNo\",\n label: t(`${prefix}.humidity.noLabel`),\n value: constants.radioOptions.disable,\n dataTest: \"reeferSettings-humidityRadioNo\",\n disabled: false\n }\n ],\n labels: t => ({\n humidityLabel: t(`${prefix}.humidity.label`),\n humiditySymbol: t(`${prefix}.humidity.symbol`),\n humidityLinkLabel: t(`${prefix}.humidity.link.label`),\n humidityLink: t(`${prefix}.humidity.link.href`),\n humidityTooltipLabel: t(`${prefix}.humidity.tooltip.label`),\n humidityRequiredError: t(`${prefix}.humidity.label`) + \" \" + t(`${prefix}.requiredError`),\n rangeMsgSeparator: t(`${prefix}.rangeMsgSeparator`),\n humidityRangeError:\n t(`${prefix}.humidity.label`) + \" \" + t(`${prefix}.humidity.percent`) + \" \" + t(`${prefix}.rangeMsg`),\n humiditySymbolPercent: t(`${prefix}.humidity.symbol`),\n humidityPercentLabel: t(`${prefix}.humidity.label`) + \" \" + t(`${prefix}.humidity.percent`)\n })\n};\n\nexport const defaultValues = {\n maxTempInCelsius: \"30\",\n minTempInCelsius: \"-30\",\n maxTempInFahrenheit: \"86\",\n minTempInFahrenheit: \"-22\",\n defaultMinCargoProbesWhenColdTreatment: 3,\n defaultCargoProbes: 0,\n defaultMaxCargoProbes: 4,\n defaultDrainHoles: false\n};\n\nexport const defaultTemperatureRange = {\n minInMetrics: \"-30\",\n maxInMetrics: \"30\",\n minInImperial: \"-22\",\n maxInImperial: \"86\"\n};\n\nexport const defaultVentilationRange = {\n minInMetrics: \"10\",\n maxInMetrics: \"30\",\n minInImperial: \"353\",\n maxInImperial: \"1059\"\n};\n\nexport const defaultTemperatureForVentilation = {\n minInMetrics: \"-4.9\",\n minInImperial: \"23.2\"\n};\n","import {\n SelectedServiceMode,\n SelectedAlternativeLocation,\n SelectedCommodity,\n SelectedContainer,\n BrEquipmentAndHaulage,\n SelectedPriceOwner,\n SelectedBookedByContact,\n MappedPartyFromBrData,\n BrParty,\n BrContainer,\n DangerousGoodContainer,\n BrDgSettings,\n BrMissedDgSetting,\n BrDgMapper\n} from \"../../types\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport {\n getContainer,\n getOriginServiceModeFromBrData,\n getDestinationServiceModeFromBrData,\n getOriginLocationFromBrData,\n getDestinationLocationFromBrData,\n getAlternatePickupLocationFromBrData,\n getCommodityCodeFromBrData,\n getBookedByContactFromBrData,\n getMappedPriceOwner,\n getSortedDgSettings\n} from \"./mappersUtilities\";\nimport { PARTY_KEYS_BOOKING_REQUEST } from \"../../enums\";\nimport { deepClone } from \"@/common/utils/generic/deepClone\";\n\n/**\n * #### LSM ###\n */\n/**\n/**\n * @description\n * Maps location service (origin, destination) info from booking request API into od3cpFormData\n * @param {Object} brData - response object from booking request API\n * @returns {SelectedServiceMode}\n */\nexport function mapLocationServiceMode(brData: any): SelectedServiceMode {\n return {\n origin: {\n location: null,\n defaultLocation: getOriginLocationFromBrData(brData),\n serviceMode: getOriginServiceModeFromBrData(brData) || \"CY\"\n },\n destination: {\n location: null,\n defaultLocation: getDestinationLocationFromBrData(brData),\n serviceMode: getDestinationServiceModeFromBrData(brData) || \"CY\"\n }\n };\n}\n/* @description\n * Maps alternate pickup location from booking request API into od3cpFormData\n * @param {Object} brData - response object from booking request API\n * @returns {SelectedAlternativeLocation}\n */\nexport function mapAlternatePickupLocation(brData: any): SelectedAlternativeLocation {\n return {\n location: null,\n defaultLocation: getAlternatePickupLocationFromBrData(brData)\n };\n}\n/**\n * #### Commodity ###\n */\n\n/**\n * @description\n * Maps commodity info from booking request API into od3cpFormData\n * @param {Object} brData - response object from booking request API\n * @param {SelectedCommodity} defaultCommodity - commodity model from initial state\n * @return {SelectedCommodity | null}\n */\nexport function mapCommodity(brData: any, defaultCommodity: SelectedCommodity): SelectedCommodity | null {\n if (!defaultCommodity) {\n return null;\n }\n if (!brData) {\n return defaultCommodity;\n }\n\n return {\n ...defaultCommodity,\n ...(brData?.cargo?.maerskCommodityCode && {\n commodity: {\n commodityCode: getCommodityCodeFromBrData(brData)\n }\n })\n };\n}\n\n/**\n * #### Container ###\n */\n\n/**\n * @description\n * Maps container info from booking request API into od3cpFormData\n * @param {Object} brData - full booking request API response\n * @param {String} measurementUnitPreference - user measurements unit preference (KGS or LBS)\n * @return {SelectedContainer[]} mapped containers info for od3cpFormData\n */\nexport function mapContainers(brData: any, measurementUnitPreference: string): SelectedContainer[] {\n if (!brData) return [];\n const equipmentAndHaulage = brData?.equipmentAndHaulage as BrEquipmentAndHaulage;\n const convertWeightUnit =\n measurementUnitPreference === constants.weightUnits.kgs ? constants.weightUnits.kgs : constants.weightUnits.lbs;\n\n return (equipmentAndHaulage?.containerDetails || []).map((container: BrContainer) => {\n const cargoWeight =\n container.stuffing.find(s => s.propertyMeasurementUnit === convertWeightUnit)?.propertyValue ?? 0;\n return getContainer({\n containerDetails: {\n ...container,\n allowedFlexiTankContainers: brData.allowedFlexiTankContainers,\n allowedOogContainers: brData.allowedOogContainers\n },\n cargoWeight: Math.round(cargoWeight)\n });\n });\n}\n\n/**\n * #### Price Owner ###\n */\n/**\n * Maps price owner information\n * @param {Object} brData Full booking request API response\n * @return {SelectedPriceOwner} Selected Price owner data\n */\nexport function mapPriceOwner(brData: any): SelectedPriceOwner | null {\n return getMappedPriceOwner({\n parties: brData?.parties as BrParty[],\n partyCodeKey: PARTY_KEYS_BOOKING_REQUEST.PARTY_CODE,\n referenceKey: PARTY_KEYS_BOOKING_REQUEST.REFERENCE\n });\n}\n/**\n * #### Booked by contact ###\n */\nexport function mapBookedBy(brData: any): SelectedBookedByContact {\n const bookByContact = getBookedByContactFromBrData(brData);\n return {\n contactCodes: {\n contactScvCode: bookByContact.maerskPartyCode,\n contactCode: bookByContact.cmdCode\n },\n customerCodes: {}, // the PartyCard component needs this\n name: bookByContact.name // amend shows this as name\n };\n}\n\n/**\n * Maps party information from the booking request endpoint into defaultParties in the parties store.\n * These are initialised as default parties and are validated in the details page and then used further.\n * @param {Object} brData\n * @param {boolean} mapReferences - if passed as true it will map references, default false\n * @return {MappedPartiesFromBrData[]} List of formatted parties\n */\n//Todo: confirm if scvCode or maerskPartyCode is to be mapped. Currently maerskPartyCode is being sent with scvCode values\nexport function mapParties(brData: any, mapReferences: boolean = false): MappedPartyFromBrData[] {\n return (brData?.parties || []).map(({ scvCode, roleCode, maerskPartyCode, partyReference }: BrParty) =>\n mapReferences\n ? { scvCode: scvCode || maerskPartyCode, roleCode, reference: partyReference }\n : { scvCode: scvCode || maerskPartyCode, roleCode }\n );\n}\n\n/**\n * Maps dg container information from the booking request endpoint dg store.\n * @param {Object} brData\n * @param {boolean} useMetric\n * @param {Array} imdgAmendmentsResponse\n * @param {Array} packingType\n * @param {string} bookingType\n * @return {DangerousGoodContainer[]} Dg container settings\n */\nexport function mapDgContainers({\n bookingData,\n useMetric = false,\n imdgAmendmentsResponse,\n packingType,\n isAmendBookingAndDgAmendEnabled = false,\n bookingType\n}: BrDgMapper): DangerousGoodContainer[] {\n if (!Array.isArray(bookingData?.equipmentAndHaulage?.dangerousDetails)) return [];\n\n const dangerousDetails = deepClone(bookingData.equipmentAndHaulage.dangerousDetails);\n if (bookingType === constants.bookingType.duplicate) {\n // Currently GCSS is not able to save all the dg settings (eg. settings with na numbers).\n // We should not hard stop such bookings in the duplicate journey.\n // Check if for any container instance, dg setting not present and add an object with settings = [] inside dg state\n const allInstanceIds: string[] = deepClone(bookingData?.equipmentAndHaulage?.containerDetails)?.flatMap?.(\n (container: { containerInstanceIds: string[] }) => container.containerInstanceIds\n );\n allInstanceIds?.forEach?.((id: string) => {\n if (\n dangerousDetails?.findIndex?.(\n (detail: { containerInstanceId: string }) => detail.containerInstanceId === id\n ) === -1\n )\n dangerousDetails.push({ containerInstanceId: id });\n });\n }\n return dangerousDetails.reduce(\n (\n settings: DangerousGoodContainer[],\n currentSetting: DangerousGoodContainer,\n i: number,\n dgDetails: (BrDgSettings | BrMissedDgSetting)[]\n ): DangerousGoodContainer[] =>\n getSortedDgSettings({\n settings,\n currentSetting,\n i,\n dgDetails,\n useMetric,\n bookingData,\n imdgAmendmentsResponse,\n packingType,\n isAmendBookingAndDgAmendEnabled\n }),\n []\n );\n}\n","import { constants } from \"@/lib/CONSTANTS\";\nimport { getUserCredential, getCustomerCode, getBrandFromHostname } from \"@maersk/shared-js\";\nimport * as datasetMappers from \"@/common/utils/mappers/od3cp/dataSetToOd3cpFormDataMapper\";\nimport * as legacyMappers from \"@/common/utils/mappers/od3cp/legacyToOd3cpFormDataMapper\";\nimport * as bookingRequestMappers from \"@/common/utils/mappers/od3cp/bookingRequestToOd3cpFormDataMapper\";\nimport { getDGPayload } from \"@/lib/dangerousGoods/dgUtilities\";\nimport { getOogPayload } from \"@/lib/oogCargo/oogUtilities\";\n\n/**\n * This function used within the od3cp Payload getter to cater for unavailability of contact code or name\n * @returns {{code: String, name: String}}\n */\nexport const getBookedByContactForMissingCodeOrName = () => {\n return {\n code: getCustomerCode(),\n name: `${getUserCredential(\"firstname\")} ${getUserCredential(\"lastname\")}`\n };\n};\n\n/**\n * This function used within the od3cp Payload getter\n * @param {String} ood Origin or destination as a string\n * @param {Object} od Origin or Destination object\n * @param {Boolean} withTransportMode Add the transport mode parameter\n */\nexport const makeODObject = (ood, od, withTransportMode = true) => {\n if (!od) return {};\n let response = {};\n let suffix = \"\";\n if (ood === \"alternatePickup\") {\n suffix = \"Location\";\n }\n response[`${ood}CountryName`] = od.location?.countryName || \"\";\n response[`${ood}StateName`] = od.location?.regionCode; // This one is optional, even for alternate pickup locaion\n response[`${ood}CountryCode`] = od.location?.countryCode || \"\";\n response[`${ood}CountryGeoId`] = od.location?.countryGeoId || \"\";\n response[`${ood}CityName`] = od.location?.cityName || \"\";\n response[`${ood}${suffix}GeoId`] = od.location?.maerskGeoLocationId || \"\";\n response[`${ood}${suffix}`] = od.location?.maerskRkstCode || \"\";\n if (withTransportMode) {\n response[`${ood}TransportMode`] = od.serviceMode;\n }\n return response;\n};\n\n/**\n * This function used to populate destination details /departures Payload getter\n * @param {String} ood Origin or destination as a string\n * @param {Object} od Origin or Destination object\n */\nexport const makeODObjectForDepartures = (ood, od) => {\n if (!od) return { [ood]: null };\n let isLocation = !!(od.location?.maerskGeoLocationId || od.location?.maerskRkstCode || od.location?.countryCode);\n return {\n [ood]: !isLocation\n ? null\n : {\n geoId: od.location?.maerskGeoLocationId || \"\",\n rkstCode: od.location?.maerskRkstCode || \"\",\n countryCode: od.location?.countryCode || \"\"\n // unLocode: \"\",\n // Universal location code is required to integrate with applications other than Maersk\n // It is NA as of now but might be required later therefore commented\n }\n };\n};\n\n/**\n * This function used to populate cargo details for /departures Payload getter\n * @param {*} getters Store getters\n * @param {*} rootGetters Store root getters\n */\nexport const getCargoDetails = (getters, rootGetters) => {\n const isOOGSettingsEnabled = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.oog.name);\n const cargoType =\n getters.getCargoType === constants.oogCargo && isOOGSettingsEnabled ? constants.dryCargo : getters.getCargoType;\n return {\n commodityCode: getters.getCommodity.commodity.commodityCode,\n cargoType: cargoType,\n isDangerous: getters.isDangerous,\n isTempControlled: getters.isTemperatureControlled\n // Below items are commented for the time being. It might be required in future\n // imdgClass: \"\", // International Maritime Dangerous Goods (IMDG).\n // unNumber: \"\",\n };\n};\n\n/**\n * This function used to populate container details for /departures Payload getter, or\n * first container selected for offline submission if the offline mode is on\n * @param {*} state Store's state\n * @param {*} rootGetters Store root getters\n */\nexport const getContainerDetails = (state, rootGetters) => {\n if (!state) return [];\n //Using state.od3cpFormData.containerSelect instead of getters.cargoDetails[0].containers\n //to populate the data because the latter does not have unitOfMeasurementAbbreviationVal value populated\n const isInOfflineMode = state.isInOfflineMode;\n return (\n state.od3cpFormData?.containerSelect?.map((cs, index) => {\n const containerType = cs.containerType?.typeCd !== \"HDRY\" ? cs.containerType?.typeCd : constants.dryCargo; //typeCd from containerAPI , where we have HDRY send DRY\n const isOutOfGauge = cs.overSizedCargo?.checked || false;\n const isOogSettingsNeccessary = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.oog.name) && isOutOfGauge;\n const containerRefs = rootGetters[\"commonData/getContainerRefs\"]?.[index];\n return {\n size: cs.containerType?.sizeCd, //sizeCd from containerAPI\n type: containerType,\n height: cs.containerType?.unitOfMeasurementAbbreviationVal, //unitOfMeasurementAbbreviationVal from container API\n quantity: cs.quantity,\n cargoWeight: isOogSettingsNeccessary ? 0 : cs.weightPerContainer,\n weightMeasurementUnit: rootGetters[\"userSettings/unitPreference\"],\n ...(!isInOfflineMode && {\n isNOR: isContainerNor(containerType, rootGetters),\n isFoodGrade: false //Sending false for now.\n }), // add isNOR, isFoodGrade if it is NOT offline mode\n isoCode: cs.containerType?.isoContainerSizeTypeCd,\n isShipperOwned: cs.shipperOwnContainer?.checked || !cs.containerType?.carrierOwnedFlag || false,\n isOutOfGauge,\n isImportReturned: cs.importReturnContainer?.checked || false,\n ...(isInOfflineMode &&\n cs.shipmentEquipmentAssignmentIds?.length && {\n shipmentEquipmentAssignmentId: cs.shipmentEquipmentAssignmentIds[0]\n }), // send shipmentEquipmentAssignmentId in offline mode\n ...(rootGetters[\"boFlags/getFlag\"](constants.featureFlags.enableFlexiTank.name) && {\n isFlexiTank: cs.flexiTankContainer?.checked || false\n }),\n containerRefs,\n ...getDgAndOogPayload(rootGetters, index, cs.quantity, isOogSettingsNeccessary, containerRefs)\n };\n }) || []\n ); // Or empty if the map function fails\n};\n\n/**\n * This function used to check if a specific container type is NOR or not\n * @param {*} containerType Specify the container type\n * @param {*} rootGetters Store root getters\n */\nexport const isContainerNor = (containerType, rootGetters) => {\n const reeferFlag = rootGetters[\"boFlags/getFlag\"](constants.featureFlags.reeferSettings.name);\n return !!reeferFlag\n ? !rootGetters[\"OD3CP/isTemperatureControlled\"] && (containerType === \"HREF\" || containerType === \"REEF\")\n : false; // Sending true when is not temp controlled but container selected is HREF or REEF.\n};\n\n/**\n * This function used to populate reefer details for /departures Payload getter\n * @param rootGetters\n */\nexport const getReeferDetails = rootGetters => {\n if (!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.reeferSettings.name)) return null;\n\n return {\n carbonDioxidePercentage: rootGetters[\"reeferSettingsData/getCarbonDioxidePercentage\"],\n coldTreatment: rootGetters[\"reeferSettingsData/getColdTreatment\"],\n commodityReeferSettingsId: rootGetters[\"reeferSettingsData/getCommodityReeferSettingsId\"],\n controlledAtmosphere: rootGetters[\"reeferSettingsData/getControlledAtmosphere\"],\n drainHoles: rootGetters[\"reeferSettingsData/getDrainHoles\"],\n ethyleneFilter: rootGetters[\"reeferSettingsData/getEthyleneFilter\"],\n freshAirExchange: rootGetters[\"reeferSettingsData/getFreshAirExchange\"],\n genSetExport: Boolean(rootGetters[\"reeferSettingsData/getGenSetExport\"]),\n genSetImport: Boolean(rootGetters[\"reeferSettingsData/getGenSetImport\"]),\n humidity: rootGetters[\"reeferSettingsData/getHumidity\"],\n humidityPercentage: rootGetters[\"reeferSettingsData/getHumidityPercentage\"],\n multipleSetPoints: rootGetters[\"reeferSettingsData/getMultipleSetPoints\"],\n noOfCargoProbes: rootGetters[\"reeferSettingsData/getNoOfCargoProbes\"],\n oxygenPercentage: rootGetters[\"reeferSettingsData/getOxygenPercentage\"],\n reeferContainerType: rootGetters[\"reeferSettingsData/getReeferContainerCode\"],\n temperature: rootGetters[\"reeferSettingsData/getTemperature\"]\n ? Number(rootGetters[\"reeferSettingsData/getTemperature\"])\n : rootGetters[\"reeferSettingsData/getTemperature\"],\n ventilationVolume: rootGetters[\"reeferSettingsData/getVentilationVolume\"],\n ...(rootGetters[\"reeferSettingsData/getMultipleSetPoints\"] && {\n multipleSetPointDetails: rootGetters[\"reeferSettingsData/getMultipleSetPointDetailsForDepartures\"]\n })\n };\n};\n\n/**\n * This function used to find cargoType\n * @param {String []} types An array of cargoTypes\n * @param {*} getters Store getters\n * @param rootGetters\n */\nexport const findCargoType = (types, getters, rootGetters) => {\n const cargoTypes = constants.cargoTypes;\n const cTypes = types.map(t => t.toUpperCase());\n const isDangerous = getters.isDangerous && cTypes.includes(cargoTypes[3]);\n const isDangerousSettingsEnabled = !!rootGetters[\"boFlags/getFlag\"](constants.featureFlags.dangerousGoods.name);\n\n if (isDangerous && !isDangerousSettingsEnabled) return cargoTypes[3];\n if (!(isDangerous && isDangerousSettingsEnabled) && getters.isContainerOverSized && cTypes.includes(cargoTypes[2]))\n return cargoTypes[2];\n if (getters.isTemperatureControlled && cTypes.includes(cargoTypes[1])) return cargoTypes[1];\n if (\n rootGetters[\"boFlags/getFlag\"](constants.featureFlags.dgCargoOnly.name) &&\n isDangerous &&\n isDangerousSettingsEnabled &&\n cTypes.length === 1\n )\n return cargoTypes[0];\n\n cTypes.sort((item, nextItem) => cargoTypes.indexOf(item.toUpperCase()) - cargoTypes.indexOf(nextItem.toUpperCase()));\n return cTypes[0];\n};\n\n/**\n * This function used to find cityGeoId from a string\n * @param {String} cityGeoId A string from where city geo Id to be extracted\n * @returns {String} A city geo Id\n */\nexport const getCityGeoId = cityGeoId => {\n if (typeof cityGeoId !== \"string\") return;\n // cityGeoId can be of 'Felixstowe, United Kingdom (21X0YL36747LQ)' or '21X0YL36747LQ' format\n // Note: This will extract the string from the last paranthesis e.g 'Felixstowe(124), United Kingdom (21X0YL36747LQ)'\n const matches = cityGeoId?.match(/\\(([^)]*)\\)[^(]*$/);\n if (!!matches) {\n cityGeoId = matches[1];\n }\n return cityGeoId;\n};\n\n/**\n * Checks if there is any errorCode retrieved from the API or from the URL parameters sent back from SSP\n * @param {Object} bookingData A string from where city geo Id to be extracted\n * @param {String} errorCodeQueryParam The error code in query param\n */\nexport const handleBookingDataError = (bookingData, errorCodeQueryParam) => {\n if (!bookingData.errorCode || !errorCodeQueryParam) return;\n const errorCodes = [101, 102, 103, 104, 105, 106];\n const resBodyErrorCode = Number(\n (bookingData.errorCode ? bookingData.errorCode : errorCodeQueryParam).toString().replace(\"E\", \"\")\n );\n if (errorCodes.includes(resBodyErrorCode)) {\n // Add disableNavigation parameter if the error code is 103\n // And disable continure button until he changes one of the form elements\n function userException() {\n return {\n message: `od3cp.service.dataset.${resBodyErrorCode}`,\n disableNavigation: resBodyErrorCode === 103\n };\n }\n throw userException();\n }\n};\n\n/**\n * @param instanceIdAndQuantityMapper\n * @param {object} selectedContainer A container object from container select\n * @returns {array|undefined} An array of instance ids or undefined\n */\nexport const mapContainerInstanceIds = (instanceIdAndQuantityMapper, selectedContainer) => {\n let instanceIds;\n const containerIndex = instanceIdAndQuantityMapper.findIndex(\n item =>\n item?.isoCode === selectedContainer?.containerType?.isoContainerSizeTypeCd &&\n item?.quantity === selectedContainer?.quantity\n );\n if (\n containerIndex > -1 &&\n (instanceIdAndQuantityMapper?.[containerIndex]?.containerInstanceIds ||\n instanceIdAndQuantityMapper?.[containerIndex]?.sspReferenceId)\n ) {\n instanceIds = [\n ...(instanceIdAndQuantityMapper?.[containerIndex]?.containerInstanceIds ||\n instanceIdAndQuantityMapper?.[containerIndex]?.sspReferenceId)\n ];\n //Below line is to prevent mapping of the same data when 2 rows of containers are an exact match\n instanceIdAndQuantityMapper[containerIndex] = [];\n }\n return instanceIds;\n};\n\n/**\n * Helper function for the loadBookingData action to get the bookingType\n * @param {Object} bookingData\n * @returns {String} booking type\n */\nexport const getBookingType = bookingData => {\n return bookingData.originalBookingNumber ? constants.bookingType.duplicate : constants.bookingType.new;\n};\n\n/**\n * Helper function to transform the NAC information\n * @param {Object} nac\n * @returns {Object} The transformed NAC info\n */\nexport const transformNacInfo = nac => {\n return {\n customerCodes: {\n customerCode: null,\n scvCode: nac?.maerskPartyCode || null\n },\n tradingName: nac?.fullName || null,\n customerAddressDetails: {\n city: null,\n countryIdentifier: {\n isoCountryFullName: null,\n isoCountryCode: null\n },\n streetName: null,\n buildingNo: null,\n postalCode: null\n }\n };\n};\n\nexport const mappersMap = {\n LEGACY: legacyMappers,\n DATASET: datasetMappers,\n BOOKING_REQUEST: bookingRequestMappers\n};\n\n/**\n * @description This function returns checkEquipmentAvailability value required for departures payload\n * @param {object} getters Store getters\n * @param {object} rootGetters Store rootGetters\n * @returns {boolean}\n **/\n\nconst getCheckEquipmentAvailability = getters => {\n return getters.isMultipleContainer ? !getters.isAllContainersEitherSocOrIrt : !getters.isSocOrIrtSelected;\n};\n\n/**\n * @description This function returns validationflags required for departures payload\n * @param {object} getters Store getters\n * @param {object} rootGetters Store rootGetters\n * @returns {object}\n **/\n\nexport const getDepartuesValidationFlags = getters => {\n return {\n checkEquipmentAvailability: getCheckEquipmentAvailability(getters),\n checkDeadlines: true,\n checkSpace: !getters.isMilitaryUserWithCarrierMll && !getters.anyODDSizedContainerWithOOGChecked,\n checkYield: !getters.anyODDSizedContainerWithOOGChecked && !getters.isMilitaryUserWithCarrierMll,\n checkFixedPrices: !getters.isOOGEnabledAndCargoOverSizeChecked\n };\n};\n\n/**\n * @description This function returns inches equivalent of cm value\n * @param {number|undefined} amount\n * @param {boolean} conversionRequired\n * @returns {number}\n **/\n\nexport const cmToInches = (amount, conversionRequired) =>\n conversionRequired && amount ? amount * constants.cmToInchesConversionFactor : amount;\n\n/**\n * Helper function that takes container select object and return payload props\n * @param {Object} cs\n * @returns {Object}\n */\nexport const getContainerInfoForAdditionalDetailsPayload = cs => {\n return {\n isoCode: cs?.containerType?.isoContainerSizeTypeCd,\n size: cs?.containerType?.sizeCd,\n type: cs?.containerType?.typeCd,\n height: cs?.containerType?.unitOfMeasurementAbbreviationVal,\n isShipperOwned: !!cs?.shipperOwnContainer?.checked,\n isOutOfGauge: !!cs?.overSizedCargo?.checked,\n isImportReturned: !!cs?.importReturnContainer?.checked\n };\n};\n/**\n * Helper function that takes container select object when substituted and return payload props\n * @param {Object} container\n * @returns {Object}\n */\nexport const getContainerInfoForSubstitutedAdditionalDetailsPayload = container => {\n return {\n isoCode: container?.isoContainerSizeTypeCd,\n size: container?.sizeCd,\n type: container?.typeCd,\n height: container?.unitOfMeasurementAbbreviationVal,\n isShipperOwned: container?.shipperOwnedFlag || !container?.carrierOwnedFlag || false,\n isOutOfGauge: !!container?.outOfGaugeCargoFlag,\n isImportReturned: !!container?.importReturnFlag\n };\n};\n\n/**\n * @summary This method returns a randomly generated reference string\n * @param {number} refLength\n * @returns {string}\n */\nexport const getRandomReference = (refLength = constants.containerReferencesLength) => {\n return Array.from(Array(refLength), () => Math.floor(Math.random() * 36).toString(36))\n .join(\"\")\n .toUpperCase();\n};\n\n/**\n * @description This method constructs DG and OOG payload\n * @param {Object} rootGetters\n * @param {Number} containerIndex\n * @param {Number} quantity\n * @param {Boolean} isOogSettingsNecessary\n * @param {Array} containerRefs\n * @returns {Object}\n */\nconst getDgAndOogPayload = (rootGetters, containerIndex, quantity, isOogSettingsNecessary, containerRefs) => {\n return {\n dangerousGoods: rootGetters[\"OD3CP/isDGSettingsNecessary\"]\n ? getDGPayload(rootGetters, quantity, containerIndex, containerRefs).flatMap(dg => dg)\n : [],\n outOfGauge: isOogSettingsNecessary ? getOogPayload(rootGetters, containerIndex, quantity, containerRefs) : []\n };\n};\n\n/**\n * @description This method returns first OOG container weight\n * @param {Object} getters\n * @param {Object} rootState\n * @param {Boolean} isOfflineMode\n * @returns {String | null}\n */\n// TODO: This method would need some refactor / clean up once oog amend or / and multicontainer amend is supported.\nexport const getFirstOogContainerWeight = (getters = {}, rootState = {}, isOfflineMode = false) => {\n if (\n isOfflineMode ||\n (!getters.isMultiContainerAmendBookingEnabled && getters.getContainerSelect?.length > 1) ||\n !getters.isOogAmendBookingEnabled\n ) {\n return rootState?.oogSettingsData?.oogContainerSettings?.[0]?.settings?.cargoWeight ?? null;\n }\n return null;\n};\n\n/**\n * @description This method checks if the url has maersklinelimited and for local it will always default to maersklinelimited\n * @returns {Boolean}\n */\nexport const isCurrentCarrierMLL = (localBrandOverride = \"maersklinelimited\") => {\n const carrierCode = getBrandFromHostname(window.location, localBrandOverride).brandCode;\n return Boolean(carrierCode === constants.brandCodes.maersklinelimited);\n};\n\n/**\n * @description This method returns a default container object\n * @param {Object} config - The config object.\n * @param {boolean} config.isFlexiTankEnabled - Indicates whether the FlexiTank feature is enabled.\n * @returns {Array}\n */\nexport const defaultContainer = ({ isFlexiTankEnabled } = { isFlexiTankEnabled: false }) => {\n const container = {\n containerType: { isoContainerSizeTypeCd: \"\" },\n quantity: 0,\n weightPerContainer: 0,\n shipperOwnContainer: {\n checked: false,\n disabled: false\n },\n importReturnContainer: {\n checked: false,\n disabled: false\n },\n overSizedCargo: {\n checked: false,\n disabled: false\n },\n ...(isFlexiTankEnabled && {\n flexiTankContainer: {\n checked: false,\n disabled: false,\n show: false\n }\n })\n };\n return [container];\n};\n\n/**\n * @description This method returns if the amend and booking containers are equal but quantity is less than original\n * @param {Object} booked containers array\n * @param {Object} amend containers array\n * @returns {Boolean}\n */\nexport const containersEqualButQtyLessThanOrig = (arrA, arrB) => {\n if (!arrA || !arrB || arrA.length !== arrB.length) {\n return false; // If arrays have different lengths, they're not equal\n }\n\n // Create an object with unique key values from arrA and arrB\n // eg. {42G1-10000-false-false-false: 3, 22G1-5000-false-false-false: 1}\n const arrAUniqueKeyValues = arrA.reduce((acc, obj) => {\n const { quantity, ...rest } = obj;\n const key = Object.values(rest).join(\"-\");\n acc[key] = quantity;\n return acc;\n }, {});\n const arrBUniqueKeyValues = arrB.reduce((acc, obj) => {\n const { quantity, ...rest } = obj;\n const key = Object.values(rest).join(\"-\");\n acc[key] = quantity;\n return acc;\n }, {});\n\n // check if the containers are less than or equal to the original booking\n for (const key in arrAUniqueKeyValues) {\n if (!(arrAUniqueKeyValues[key] <= arrBUniqueKeyValues[key])) {\n return false;\n }\n }\n\n return true;\n};\n\n/**\n * @description This method returns ffe value\n * @param {Array} containers containers array\n * @returns {Number}\n */\nexport const calculateFfe = containers => {\n if (!Array.isArray(containers)) {\n return 0;\n }\n return containers.reduce((acc, item) => {\n if ([constants.containerSizes.size_40, constants.containerSizes.size_45].includes(item.containerType.sizeCd)) {\n return acc + item.quantity;\n } else if (item.containerType.sizeCd === constants.containerSizes.size_20) {\n return acc + item.quantity * 0.5;\n }\n return acc;\n }, 0);\n};\n\n/**\n * @description This method returns transformed od3cp facilities history\n * @param {Array} facilities facilities array\n * @param {Function} $t translation function\n * @returns {Array}\n */\nexport const transformOd3cpFacilities = (facilities, $t) => {\n if (!Array.isArray(facilities)) {\n return [];\n }\n return facilities\n .filter(facility => !!facility?.facilityContactAddress?.cityGeoId)\n .map(facility => {\n const address = facility?.facilityContactAddress;\n const city = address?.city;\n const region = address?.regionName;\n const country = address?.country;\n return {\n ...facility,\n facilityContactAddress: {\n ...address,\n addressCode: address?.facilityCode,\n maerskGeoLocationId: address?.cityGeoId,\n cityName: city,\n countryName: country,\n regionName: region,\n customDisplayName: address?.faciltyName,\n facilityName: address?.faciltyName,\n group: $t(\"common.previouslyUsed.loadAddresses\"),\n secondaryDisplayName: getCityDisplayName(city, region, country),\n groupOrder: 1,\n useHint: true\n }\n };\n });\n};\n\n/**\n * @description This method returns transformed od3cp origin/destination locations history\n * @param {Array} locations locations array\n * @param {Function} $t translation function\n * @returns {Array}\n */\nexport const transformOd3cpLocations = (locations, $t) => {\n if (!Array.isArray(locations)) {\n return [];\n }\n return locations.map(location => {\n return {\n ...location,\n maerskGeoLocationId: location?.city?.geoIdCode,\n countryGeoId: location?.country?.geoIdCode,\n maerskRkstCode: location?.city?.rkstCode,\n cityName: location?.city?.name,\n countryName: location?.country?.name,\n regionName: location?.state?.name,\n group: $t(\"common.previouslyUsed.cities\"),\n groupOrder: 2\n };\n });\n};\n\n/**\n * @description This method returns transformed od3cp commodities history\n * @param {Array} commodities commodities array\n * @returns {Array}\n */\nexport const transformOd3cpCommodities = commodities => {\n if (!Array.isArray(commodities)) {\n return [];\n }\n return commodities.map(commodity => {\n return { ...commodity, commodityName: commodity?.name, commodityCode: commodity?.code };\n });\n};\n\nexport const getCityDisplayName = (city, region, country) => {\n const regionNameDividerPrefix = \"(\";\n const regionNameDividerSuffix = \")\";\n const countryNameDivider = \", \";\n return region\n ? `${city} ${regionNameDividerPrefix}${region}${regionNameDividerSuffix}${countryNameDivider}${country}`\n : `${city}${countryNameDivider}${country}`;\n};\n","// This will resolve to undefined\nexport async function pollingTimer(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n}\n\n// This will resolve to any specific value\nexport async function pollingTimerWithValue(ms, val) {\n return new Promise(resolve => setTimeout(() => resolve(val), ms));\n}\n\nexport const sleep = delay => {\n const start = new Date().getTime();\n while (new Date().getTime() < start + delay);\n};\n","/**\n * @description Mapper of PMA error reasons with SSIB\n * @return {Boolean}\n */\nexport const errorReasonsList: { [key: string]: string } = {\n EQUIPMENT: \"equipment_sold_out\",\n EQUIPMENTSYSTEM: \"equipment_sold_out\",\n CAPACITY: \"vessel_sold_out\",\n ALLOCATION_CAPACITY: \"vessel_sold_out\",\n DEADLINE: \"deadline_has_passed\",\n NO_MATCH: \"not_available\"\n};\n\n/**\n * @description Mapper of PMA deadline codes with SSIB\n * @return {Boolean}\n */\nexport const deadlineMapper: { [key: string]: string } = {\n CY: \"CCC\",\n VGM: \"CVG\",\n SINONAMS: \"SID\",\n SIAMS: \"SAC\"\n};\n\nexport const pricingOfferTypes: { [key: string]: string } = {\n MARKET: \"Market\",\n TARIFF: \"Tariff\",\n SPOT: \"Spot\",\n MARKET_LOWER_CASE: \"market\",\n TARIFF_LOWER_CASE: \"tariff\",\n SPOT_LOWER_CASE: \"spot\"\n};\n\nexport const rollableOptionTypes: { [key: string]: string } = {\n MANDATORY: \"MANDATORY\",\n OPTIONAL: \"OPTIONAL\",\n NOT_ALLOWED: \"NOT_ALLOWED\"\n};\n","import {\n globalBaseConfig,\n getBrandFromHostname,\n getEnvironmentLabel,\n getEnvironmentIdentifier,\n isChinaDomain\n} from \"@maersk/shared-js\";\nimport { errorList } from \"@/lib/errorList\";\nimport { errorReasonsList, deadlineMapper, pricingOfferTypes, rollableOptionTypes } from \"@/lib/pricingPMAMapper\";\nimport amendRedirectionList from \"@/lib/amendRedirectionList.json\";\nimport featureFlags from \"@/lib/featureFlags.json\";\nimport { version } from \"@/../package.json\";\n\nconst protocol = globalBaseConfig.DEFAULT_PROTOCOL;\nconst isBeta = getEnvironmentIdentifier() === \"beta\";\nconst brandFromHostname = getBrandFromHostname(window.location);\nconst domain = isChinaDomain(window.location.hostname) ? `${brandFromHostname.domain}.cn` : brandFromHostname.domain;\n\nexport function getCurrentEnvironmentVariables() {\n return constants.ENVIRONMENTS[getEnvironmentLabel()];\n}\n\nexport const constants = {\n APP_BASE: \"book\",\n SSP_BOOKING: \"/booking/od3cp/\",\n SSP_BOOKING_AFTER_BR: \"/booking/od3cp\",\n SSP_AMEND_BOOKING: \"/booking/sharedbooking/amend\",\n SSIB_BOOKING: \"/ibooking\",\n SSIB_AMEND_BOOKING: \"/ibooking-amend/\",\n LD_PREFIX: \"book\",\n LD_PREFIX_BE: \"booking_be\",\n LD_PREFIX_TRIAL_VAS: \"book-vasexp\",\n SITECORE_KEY_ROOT_ID: {\n root: \"E6DA28CA-7BB5-485E-B0FA-1A03C75E9E79\",\n upsell: \"5A1EEA2D-0FFD-4E57-A5FB-892E000A3018\",\n api: \"88169BD8-2B9A-4811-B6B9-6237B387956C\"\n },\n brandCode: brandFromHostname.brandCode,\n ENVIRONMENTS: {\n localhost: {\n apiDomain: \"http://localhost:8080\",\n // apiDomain: \"https://api-cdt.maersk.com\",\n webDomain: `${protocol}cdt.${domain}`,\n assetsDomain: `${protocol}assetst.maerskline.com/`,\n synergyConsumerKey: \"wCBOeQuUiJMrtaJrJjeckQts57NPDE6A\",\n consumerKey: \"xXIXujnYnqne1yiEnRfIAY7UMAWsbh7J\",\n contractsConsumerKey: \"b1h51pSuExeQnzCFySTKdTVPzKjSoeEV\",\n //special key don't change. This is hardcoded as per library requirements.\n FTSConsumerKey: \"Atmosphere atmosphere_app_id=ssib-8D6NfwS5FwdmtX5BfxwdTBmMwfVtmWEs\",\n globalMdmConsumerKey: \"wCBOeQuUiJMrtaJrJjeckQts57NPDE6A\",\n inlandRecConsumerKey: \"U9jMMBAg7K0mAKzoAFqAjDoGiEBDiqot\",\n odmConsumerKey: \"KOKYixjSOiSKcu6rxARofZWOVU2BvAMy\",\n offersConsumerKey: \"4d3yfgADGPhccLLfl1w1QhefwCdhzcFj\",\n officeConsumerKey: \"Urume3RjIHw7RKYRJ0h6YoYgSd3KjNjS\",\n previousBookingsConsumerKey: \"Fi7aKaXX8CSleAZtjsm7TGcjfwp4oQSX\",\n subscriptionConsumerKey: \"dPmmITMXXmn2dGbNvAh7R32KSbJ8kNoQ\",\n mopRumDashboardConfig: {\n app: {\n name: \"Booking-SSIB-UI-Dev\",\n version,\n environment: \"dev\"\n },\n debug: true,\n traceLog: true,\n apiKey: \"fPmo3a/AuB2gdB5GNUj3qsFb/jOclRHYK9NBSfn6cJC2DfUnvlBeZoEdv2om6w==\",\n useSendBeacon: false,\n ignoreUrls: [\"http://localhost:8080/\"],\n propagateTraceHeaderCorsUrls: [new RegExp(\".*api-cdt\\\\.maersk\\\\.com*\")]\n }\n },\n test: {\n apiDomain: \"https://api-cdt.maersk.com\",\n webDomain: `${protocol}cdt.${domain}`,\n assetsDomain: `${protocol}assetst.maerskline.com/`,\n synergyConsumerKey: \"wCBOeQuUiJMrtaJrJjeckQts57NPDE6A\",\n consumerKey: \"xXIXujnYnqne1yiEnRfIAY7UMAWsbh7J\",\n contractsConsumerKey: \"b1h51pSuExeQnzCFySTKdTVPzKjSoeEV\",\n FTSConsumerKey: \"Atmosphere atmosphere_app_id=ssib-8D6NfwS5FwdmtX5BfxwdTBmMwfVtmWEs\",\n globalMdmConsumerKey: \"wCBOeQuUiJMrtaJrJjeckQts57NPDE6A\",\n inlandRecConsumerKey: \"U9jMMBAg7K0mAKzoAFqAjDoGiEBDiqot\",\n odmConsumerKey: \"KOKYixjSOiSKcu6rxARofZWOVU2BvAMy\",\n offersConsumerKey: \"4d3yfgADGPhccLLfl1w1QhefwCdhzcFj\",\n officeConsumerKey: \"Urume3RjIHw7RKYRJ0h6YoYgSd3KjNjS\",\n previousBookingsConsumerKey: \"Fi7aKaXX8CSleAZtjsm7TGcjfwp4oQSX\",\n subscriptionConsumerKey: \"dPmmITMXXmn2dGbNvAh7R32KSbJ8kNoQ\",\n mopRumDashboardConfig: {\n app: {\n name: \"Booking-SSIB-UI-CDT\",\n version,\n environment: \"cdt\"\n },\n debug: true,\n traceLog: true,\n apiKey: \"fPmo3a3EuhmhcBQdNxik+tmBb8ExY4pQlQEQa+F6a/1PQHA6uXB6FGVLTo3zbw==\",\n useSendBeacon: false,\n propagateTraceHeaderCorsUrls: [new RegExp(\".*api-cdt\\\\.maersk\\\\.com*\")]\n }\n },\n preprod: {\n apiDomain: \"https://api-stage.maersk.com\",\n webDomain: `${protocol}demo.${domain}`,\n assetsDomain: `${protocol}assetsd.maerskline.com/`,\n synergyConsumerKey: \"Nl0mDdtA1iwS8lvndYrvxuGCeenp2edH\",\n consumerKey: \"xXIXujnYnqne1yiEnRfIAY7UMAWsbh7J\",\n contractsConsumerKey: \"b1h51pSuExeQnzCFySTKdTVPzKjSoeEV\",\n FTSConsumerKey: \"Atmosphere atmosphere_app_id=ssib-CMcsPkgvfzKhJ6hcah5Tp9UHCMT36qHz\",\n inlandRecConsumerKey: \"8A6fcRrhAfH3nxk3XqoFGNcS5AQK282T\",\n globalMdmConsumerKey: \"Nl0mDdtA1iwS8lvndYrvxuGCeenp2edH\",\n odmConsumerKey: \"KOKYixjSOiSKcu6rxARofZWOVU2BvAMy\",\n offersConsumerKey: \"4d3yfgADGPhccLLfl1w1QhefwCdhzcFj\",\n officeConsumerKey: \"40hlrbREIA9LPOLiVO77MXlOqDUR8p6l\",\n previousBookingsConsumerKey: \"l32IBdFrOGmUBquKAzJS87uumWhNIU2i\",\n subscriptionConsumerKey: \"fOS6ITA7HlUHrDUNREUKIglZ4LiK0gIz\",\n mopRumDashboardConfig: {\n app: {\n name: \"Booking-SSIB-UI-PP\",\n version,\n environment: \"preprod\"\n },\n debug: false,\n traceLog: true,\n apiKey: \"FoKhEzfu8FHE4mbFWPlLwQCshhNkdp8azZFqNeJ0oskbokF6Wt0ILapgc9lFiw==\",\n useSendBeacon: true,\n propagateTraceHeaderCorsUrls: [new RegExp(\".*api-stage\\\\.maersk\\\\.com*\")]\n }\n },\n prod: {\n apiDomain: \"https://api.maersk.com\",\n webDomain: `${protocol}${isBeta ? \"beta\" : \"www\"}.${domain}`,\n assetsDomain: `${protocol}assets.maerskline.com/`,\n synergyConsumerKey: \"Q09VmiYvj4ifBOa72Z0ekxkq9tLZCVYI\",\n consumerKey: \"xXIXujnYnqne1yiEnRfIAY7UMAWsbh7J\",\n contractsConsumerKey: \"b1h51pSuExeQnzCFySTKdTVPzKjSoeEV\",\n FTSConsumerKey: \"Atmosphere atmosphere_app_id=ssib-883F4q4v8uaut28CDPJXbwnS8mVNKpXY\",\n globalMdmConsumerKey: \"Q09VmiYvj4ifBOa72Z0ekxkq9tLZCVYI\",\n inlandRecConsumerKey: \"QfQmSqQc2oUZPGADF4qNVGcNtEwzAuOu\",\n offersConsumerKey: \"4d3yfgADGPhccLLfl1w1QhefwCdhzcFj\",\n odmConsumerKey: \"KOKYixjSOiSKcu6rxARofZWOVU2BvAMy\",\n officeConsumerKey: \"WLaaBSki1Z5OX5iK0NjjZBGBSRKZyQRb\",\n previousBookingsConsumerKey: \"mfEFzA3Z259eu56wVtCECJnaKbckPVrq\",\n subscriptionConsumerKey: \"Ge9508aQB7rFFlp8PUiEdxK9HhGyhavn\",\n mopRumDashboardConfig: {\n app: {\n name: \"Booking-SSIB-UI-PROD\",\n version,\n environment: \"prod\"\n },\n debug: false,\n traceLog: true,\n apiKey: \"40ZGVYbwB9bYgWlKGyRGNFBXTsBzVh1W+17jtR5uPmCTEvUQc6cVauGJ9+obGQ==\",\n useSendBeacon: true,\n propagateTraceHeaderCorsUrls: [new RegExp(\".*api\\\\.maersk\\\\.com*\")]\n }\n }\n },\n ENDPOINTS: {\n location: \"/locations\",\n synergyLocation: \"/synergy/reference-data/geography/locations\",\n reeferTemplates: \"/reefer-templates\",\n imdgAmendments: \"/dg/imdg/amendments\",\n unno: \"/dg/imdg/substances\",\n departures: \"/v2/departures\",\n nacInfo: \"/nacInfo\",\n containers: \"/v2/departures/containerTypes\",\n routesFinderBatch: \"batch\",\n validated: \"validated\",\n validate: \"validate\",\n sailings: \"sailings\",\n prices: \"prices\",\n fixedPrice: \"FIXEDPRICE\",\n dynamicPrice: \"DYNAMICPRICE\",\n deadlines: \"deadlines\",\n selectedRoute: \"selectedRoute\",\n facilities: \"facilities\",\n configurableItems: \"/configurable-items\",\n bookingRequests: \"/booking-request\",\n chbOfferComponentLoader: \"ui-chb-offer-component/green/latest/chb-offer-loader.js\",\n fullTradeSwitch: `/offers/v4/spotscope/brand/${brandFromHostname.brandCode.toUpperCase()}/routeschedule/internal`,\n segregationGroups: \"/booking-business-rules/dangerousGoods/segregationGroups\",\n packingTypes: \"/dg/imdg/packagingTypes\",\n oogDimensionsLimits: \"/booking-business-rules/oogDimensionsLimits\",\n cancellation: \"/bookings\",\n pricingJourney: {\n offers: \"/productoffer/v2/productoffers\",\n oipoOffers: \"/productoffer/v2/oipo/productoffers\", //TODO: Need to remove the older end points after testing and flag enablement in prod\n oipoNORProductOffer: \"/productoffer/v3/oipo/productoffers\",\n alternativeOffers: \"/productoffer/v2/productalternativeoffers\",\n subscription: \"/notifications-subscriptions/private/v2/unified/subscriptions\"\n },\n ciam: {\n publicData: \"/customer-identity/customer/manage/public-data\",\n contactPublicData: \"/customer-identity/customer/manage/contact-public-data/\",\n userSettings: \"/customer-identity/user/manage/account/me/user-settings\",\n oAuth: \"/customer-identity/oauth2/user/token\"\n },\n amend: \"/bookings\",\n changeOfDestinationSuffix: \"change-destination\",\n inlandRecommendation: \"/od-recommendations/inland-recommendations-queries\",\n globalMdm: \"/global-mdm\",\n customersRuleSet: \"/customer-reference/customers/reference-data/rule-sets\",\n customerFacilityIngestion: \"/customer-facility-ingestion/facilities\"\n },\n brandCodes: {\n maersk: \"maeu\",\n sealand: \"seau\",\n sealandAsia: \"mcpu\",\n maersklinelimited: \"maei\",\n sealandAmericas: \"seau\",\n sealandEurope: \"sejj\"\n },\n DELIVERY_PROMISE: {\n BASIS: \"Bill of Lading\",\n QUANTITY: 1\n },\n SPOTPrimaryCurrency: \"USD\",\n SPOTDeliveryAgreementTypes: [\"2\", \"5\", \"20\", \"22\"],\n SPOTRollableDeliveryAgreementTypes: [\"5\", \"22\"],\n flexContractDeliveryAgreementTypes: [\"25\", \"26\", \"27\", \"35\", \"36\"],\n flexFloatingDeliveryAgreementTypes: [\"41\", \"42\", \"43\", \"44\", \"45\"],\n flexNowDeliveryAgreementType: \"55\",\n blockSpaceDeliveryAgreementType: \"65\",\n bookingJourneyPages: {\n od3cp: \"BOOKINGINFO\",\n sailings: \"SAILINGS\",\n details: \"ADDITIONALINFO\",\n vas: \"ADDITIONALINFO\",\n review: \"REVIEW\",\n confirmation: \"CONFIRMATION\"\n },\n bookingReleaseReasons: {\n navigation: {\n code: \"AB_NAVIGATION\",\n name: \"CUSTOMERNAVIGATION\",\n reason: \"navigation\"\n },\n sessionTimeout: {\n code: \"AB_SESSION\",\n name: \"BOOKINGSESSIONTIMEOUT\",\n reason: \"sessionTimeout\"\n },\n browserClosed: {\n code: \"AB_CLOSE\",\n name: \"BROWSERCLOSED\",\n reason: \"browserClosed\"\n },\n sanction: {\n code: \"AB_SANCTIONS\",\n name: \"SANCTIONIDENTIFIED\",\n reason: \"sanction\"\n },\n apiError: {\n code: \"AB_ERROR\",\n name: \"APIERROR\",\n reason: \"apiError\"\n },\n fts: {\n code: \"AB_FTS\",\n name: \"CUSTOMERNAVIGATION\",\n reason: \"fts\"\n },\n chs: {\n code: \"CHS_REJECTED\",\n name: \"CHS_REJECTED\",\n reason: \"chs\"\n }\n },\n dataLayer: {\n messages: {\n noContractSelected: \"No contract selected\",\n insuranceStatusUnavailable: \"Cargo insurance status not available\"\n }\n },\n Active: \"A\",\n officeType: \"BK_NEW\",\n amendOfficeType: \"BK_AMEND\",\n militaryScvCode: \"331S4019201\",\n cargoTypes: [\"DRY\", \"REEFER\", \"OOG\", \"DANGEROUS\"],\n dryCargo: \"DRY\",\n reeferCargo: \"REEFER\",\n dangerousCargo: \"DANGEROUS\",\n reeferCargoType: \"REEF\",\n oogCargo: \"OOG\",\n exportCustomsClearance: \"exportCustomsClearance\",\n importCustomsClearance: \"importCustomsClearance\",\n valueAddedServices: {\n newKey: \"new\",\n components: {\n vas: \"Vas\",\n freetimeExtension: \"FreetimeExtension\",\n detention: \"Detention\",\n demurrage: \"Demurrage\",\n dnd: \"DndFreeTime\",\n valueProtect: \"VasValueProtect\",\n cargoInsurance: \"CargoInsurance\",\n ecoDelivery: \"VasEcoDelivery\",\n vasRevamp: \"VasRevamp\"\n },\n featuredKey: \"featured\",\n featuredVasList: [],\n newVasList: [\"VasEcoDelivery\", \"LG01\", \"WAV\"],\n OCG: {\n defaultCurrency: \"USD\",\n amount: \"120.000\"\n },\n valueProtect: {\n defaultCurrency: \"USD\",\n codes: [\"vp1\", \"vp2\", \"vp3\", \"vp4\", \"vp5\", \"vp6\", \"vp9\", \"v10\", \"v11\"]\n },\n ecoDelivery: {\n defaultCurrency: \"USD\",\n codes: [\"ecx\", \"ec3\", \"ec4\", \"ec5\"],\n mostPopular: \"ECX\",\n labelSuffixes: {\n percent: \"Percent\",\n image: \"Image\",\n alt: \"AltText\",\n text: \"Text\"\n },\n media: {\n folder: \"ecoDelivery\",\n ext: \"png\"\n }\n },\n captainPeterChargeCodes: {\n reeferMonitoring: \"CP2\",\n oceanColdChain: \"BASCP2\"\n },\n captainPeterInsurance: {\n cpPremium: \"CP Premium\",\n no: \"No\"\n }\n },\n defaultVisiblePickupDepots: 3,\n loadMorePickupDepotsBatch: 6,\n maximumLoadingDetailsSD: 10,\n maximumNumberOfContainers: 3,\n containerQuantityMin: 1,\n containerQuantityMax: 999,\n containerWeightMin: 1,\n containerWeightMax: 99000,\n maxNumberOfSetpoints: 4,\n hardStopBookingFlow: \"hardStop\",\n ssp: \"SSP\",\n ssib: \"SSIB\",\n weightUnits: {\n kgs: \"KGS\",\n lbs: \"LBS\"\n },\n temperatureUnits: {\n celsius: \"Celsius\",\n fahrenheit: \"Fahrenheit\"\n },\n temperatureUnitsShortHand: {\n celsius: \"C\",\n fahrenheit: \"F\"\n },\n dimensionUnits: {\n cm: \"cm\",\n inches: \"in\"\n },\n modalDimensions: {\n small: \"small\",\n medium: \"medium\",\n large: \"large\"\n },\n containerSelectId: \"od3cpContainerSelect\",\n setPointId: \"multipleSetPointId\",\n roleNameNAC: \"NAMED_ACCOUNT_CUSTOMER\",\n ciphPartyCode: \"50\",\n errorSource: {\n departures: \"departures\",\n offices: \"offices\",\n amendOffices: \"amendOffices\",\n dataset: \"dataset\",\n boFlags: \"boFlags\",\n commonData: \"commonData\",\n history: \"loadBookingHistory\",\n nacHistory: \"loadNACHistory\",\n partiesAndFacilitiesHistory: \"loadPartiesAndFacilitiesHistory\",\n setNacInfo: \"setNacInfo\",\n nac: \"getNamedAccountAvailability\",\n cargoInsuranceStatus: \"cargoInsuranceStatus\",\n bookedByParty: \"bookedByParty\",\n priceOwnerData: \"priceOwnerData\",\n userSettings: \"userSettings\",\n sailings: \"loadSailings\",\n price: \"loadRoutePriceBreakdown\",\n surcharges: \"fetchSurcharges\",\n cargoWeightLimit: \"cargoWeightLimit\",\n cargoInsurance: \"cargoInsurance\",\n vas: \"fetchValueAddedServices\",\n currency: \"fetchCurrencies\",\n configurableItems: \"loadConfigurableItems\",\n bookingRules: \"loadBookingRules\",\n sanctions: \"sanctions\",\n releaseBooking: \"releaseBooking\",\n bookingOptions: \"bookingOptions\",\n createAdditionalDetails: \"createAdditionalDetails\",\n validateDefaultParties: \"validateDefaultParties\",\n parties: \"parties\",\n facilities: \"facilities\",\n assignFacility: \"assignFacility\",\n duplicateFacility: \"duplicateFacility\",\n ruleSet: \"ruleSet\",\n shipmentReferences: \"shipmentReferences\",\n triggerSubmitProcess: \"triggerSubmitProcess\",\n mepc: \"MEPC\",\n networkDelay: \"network delay\",\n workflowLog: \"workflowLog\",\n getFullTradeSwitchDetails: \"getFullTradeSwitchDetails\",\n getReeferTemplates: \"getReeferTemplates\",\n getImdgData: \"getImdgData\",\n getUnNumberList: \"getUnNumberList\",\n getUnNumberData: \"getUnNumberData\",\n sadtUnNumbers: \"sadtUnNumbers\",\n controlEmergencyTemperatures: \"controlEmergencyTemperatures\",\n getOOGDimensionsLimits: \"getOOGDimensionsLimits\",\n sdAmends: \"sdAmends\",\n bookingRequestData: \"bookingRequestData\",\n initBookingRequestData: \"initBookingRequestData\",\n bookingRequestInBackAndForth: \"getBookingRequestInBackAndForth\",\n bookingRequestReeferSettings: \"getReeferSettingsShipmentBinder\",\n requestBookingCancellation: \"requestBookingCancellation\",\n requestChangeOfDestination: \"requestChangeOfDestination\",\n noCommonRouteForMultiContainers: \"noCommonRouteForMultiContainers\",\n pricingJourney: {\n productOffers: \"productOffers\",\n alternateOffers: \"alternateOffers\",\n subscription: \"subscriptionOffer\"\n },\n bookingFlow: \"bookingFlow\",\n bookingRequestOogSettings: \"getOogSettingsShipmentBinder\",\n gatedInAmends: \"gatedInAmends\",\n previousBookings: \"previousBookings\",\n inlandRecommendation: \"inlandRecommendation\",\n setLDContextSailing: \"setLDContextSailing\"\n },\n errorPage: {\n sailings: \"sailings\",\n od3cp: \"od3cp\",\n details: \"details\",\n review: \"review\",\n confirmation: \"confirmation\",\n cancel: \"cancel\",\n changeOfDestination: \"changeOfDestination\"\n },\n apis: {\n history: \"/historical-data/booking-history\",\n sanctions: \"/booking-business-rules/-/sanctions\",\n facilities: \"departures/:correlationId:/sailings/:routeScheduleId:/facilities\",\n configurableItems: \"/configurable-items\",\n bookingRules: \"/booking-rules/retrieve\",\n vas: \"/vas\",\n rulesReferences: \"booking-business-rules/-/references\",\n rulesParty: \"/booking-business-rules/-/parties\",\n cargoInsuranceStatus: \"/cargoInsurancePolicies/-/cargoInsuranceStatus\",\n cargoWeightLimits: \"/booking-business-rules/-/cargoWeightLimits\",\n bookingFlow: \"/booking-business-rules/-/bookingFlow\",\n sadtUnNumbers: \"/booking-business-rules/-/dangerousGoods/sadtUnNumbers\",\n controlEmergencyTemperatures: \"/booking-business-rules/-/dangerousGoods/controlEmergencyTemperatures\",\n cargoWeightRestrictionsODM: \"/dp/ssibrules/CargoWeightRestrictions\",\n // Need to refactor and relace the below block inside \"standardized\" with the above after OME-12412 in prod\n standardized: {\n sanctions: \"/booking-business-rules/sanctions\",\n rulesReferences: \"booking-business-rules/references\",\n rulesParty: \"/booking-business-rules/parties\",\n cargoWeightLimits: \"/booking-business-rules/cargoWeightLimits\",\n sadtUnNumbers: \"/booking-business-rules/dangerousGoods/sadtUnNumbers\",\n controlEmergencyTemperatures: \"/booking-business-rules/dangerousGoods/controlEmergencyTemperatures\"\n }\n },\n exceptionTypes: {\n error: \"Error\",\n warning: \"Warning\",\n info: \"Info\",\n exception: \"Exception\"\n },\n errorsForWorkflow: errorList,\n odcrcErrors: [\"LOC003\", \"LOC004\", \"POL005\", \"POL006\", \"POL007\", \"POL009\", \"POL002\", \"POL011\"],\n userRoles: {\n PRICE_OWNER: \"44\",\n NAC: \"45\",\n BOOKED_BY: \"1\",\n SHIPPER: \"3\",\n CONSIGNEE: \"4\"\n },\n // map user roles by their names like { \"Booked By\": 1, \"Shipper\": 3, \"Price Owner\": 44, ... }\n userRolesByName: [...globalBaseConfig.USER_ROLES].reduce((acc, r) => ({ ...acc, [r[1]]: r[0] }), {}),\n bookedByContact: \"Booked By Contact\",\n bookedBy: \"Booked By\",\n priceOwnerRadioOptions: {\n PO: \"PO\",\n SELECT: \"select\"\n },\n radioOptions: {\n enable: \"TRUE\",\n disable: \"FALSE\"\n },\n openClosedRadioOptions: {\n open: \"OPEN\",\n closed: \"CLOSED\"\n },\n nonEditableFields: {\n originLocation: \"originLocation.geoId\",\n destinationLocation: \"destinationLocation\",\n exportServiceMode: \"exportServiceMode\",\n importServiceMode: \"importServiceMode\",\n alternatePickUpLocation: \"alternatePickupLocation.geoId\",\n commodityCode: \"cargoDetails.commodityCode\",\n isTempControlled: \"cargoDetails.isTempControlled\",\n isDangerous: \"cargoDetails.isDangerous\",\n containerType: \"containerDetails.isoCode\",\n containerQuantity: \"containerDetails.quantity\",\n containerWeight: \"containerDetails.cargoWeight\",\n isShipperOwned: \"containerDetails.isShipperOwned\",\n isImportReturned: \"containerDetails.isImportReturnContainer\",\n isOutOfGauge: \"containerDetails.isOutOfGauge\",\n bookedByContact: \"parties.bookedByContact\",\n priceOwner: \"parties.priceOwner\",\n departureDate: \"earliestDepartureDate\"\n },\n sailings: {\n contractType: {\n markettariff: \"markettariff\",\n contract: \"contract\",\n market: \"market\",\n tariff: \"tariff\",\n spot: \"spot\",\n spotRollable: \"spotRollable\",\n flex: \"flex\",\n fixed: \"fixed\",\n floating: \"floating\",\n blockSpace: \"blockSpace\",\n blockSpacePlus: \"blockSpacePlus\",\n flexNow: \"alwaysSpace\"\n },\n dynamicPriceContractTypes: [\"spot\", \"alwaysSpace\", \"floating\"],\n fixedPriceContractTypes: [\"contract\", \"fixed\", \"blockSpace\"],\n routeType: {\n spot: \"spot\",\n afls: \"afls\",\n flex: \"flex\",\n blockSpace: \"blockSpace\",\n flexNow: \"alwaysSpace\",\n maerskGo: \"twillspot\"\n },\n productType: {\n preffered: \"P\",\n alternate: \"A\"\n },\n productCode: {\n reeferFlex: \"ReeferFlex\"\n },\n codes: {\n priceRestriction: \"BORMI01\",\n pmaDown: \"OFPMW01\",\n pmaDownAmend: \"PMADE01\",\n rateDown: \"RMESW01\",\n utmDown: [\"YDESX01\", \"YDESX02\", \"YDESX03\"],\n dndDown: [\"DNDFW01\", \"DNDFW02\"],\n fmcCountry: \"DNDFI01\",\n spotToContractOfferChanged: \"AMPMI01\",\n pmaContractOfferFound: \"AMPMI02\",\n flexAmendOfferChanged: \"PMADE03\",\n originalRouteNoOfferApplicable: \"PMADE05\",\n rateNotFound: \"RMESW02\",\n rmv3CallSkipped: \"RMESW03\"\n },\n penaltyException: {\n code: \"OFPMI01\",\n type: \"Info\"\n },\n routeStatus: {\n states: {\n PROSPECTIVE: \"PROSPECTIVE\",\n AVAILABLE: \"AVAILABLE\",\n UNAVAILABLE: \"UNAVAILABLE\",\n SUBSTITUTE: \"SUBSTITUTE\",\n SUBSTITUTECONTAINER: \"SUBSTITUTECONTAINER\"\n },\n visible: [\"AVAILABLE\", \"UNAVAILABLE\", \"PROSPECTIVE\", \"SUBSTITUTECONTAINER\"]\n },\n offeredFilteredReasonType: {\n SPOTEXCLUSION: \"SPOTEXCLUSION\",\n SPOTSCOPE: \"SPOTSCOPE\",\n SCHEDULE: \"SCHEDULE\"\n },\n translationKeyPrefix: {\n sailings: \"sailings.component.card.heading.\",\n routesError: \"od3cp.service.departures.error\", //TODO: Remove once sealand is unified.\n newRoutesError: \"od3cp.service.departures.newError\",\n routesCombinationError: \"od3cp.service.departures.combinationError\",\n technicalError: \"od3cp.component.alternativeloc.errors.error\"\n },\n flexProductName: { fixed: \"fixed\", floating: \"floating\", flexNow: \"alwaysSpace\" },\n flexProductAttribute: {\n lateBooking: \"lateBooking\",\n allocationUsed: \"allocationUsed\",\n withinAllocation: \"withinAllocation\",\n unavailable: \"unavailable\"\n },\n flexPenaltyFeeCode: \"PMADE04\",\n deliveryPromises: {\n premium: \"premium\",\n standard: \"standard\",\n essential: \"essential\",\n loadAsBooked: \"loadAsBooked\",\n withinOneDay: \"withinOneDay\",\n withinThreeDays: \"withinThreeDays\",\n withinTenDays: \"withinTenDays\",\n onboardOrWithinThreeDays: \"onboardOrWithinThreeDays\",\n onboardOrWithinTenDays: \"onboardOrWithinTenDays\",\n onboardOrWithinFourteenDays: \"onboardOrWithinFourteenDays\"\n },\n offerType: {\n spot: \"SPOT\",\n flex: \"FLEX\",\n blockSpace: \"BLOCKSPACE\",\n aflsContract: \"AFLS CONTRACT\",\n aflsNonContract: \"AFLS NON CONTRACT\"\n },\n vesselBookedReason: {\n equipmentUnavailable: \"equipment unavailability |\",\n deadlineCheck: \"deadline check |\",\n phySpaceRejection: \"physical space rejection |\",\n yieldAndALR: \"yield accept but allocation line rejected\",\n technicalYieldAndALR: \"technical exception from yield and allocation line rejected\",\n VNO: \"vessel not open(UTM) |\",\n ALR: \"allocation line rejection |\",\n yield: \"yield rejection |\",\n phySpaceAndVNO: \"physical space rejection |vessel not open(UTM) |\",\n ALRandVNO: \"allocation line rejection |vessel not open(UTM) |\",\n phySpaceAndYield: \"physical space rejection |yield rejection |\",\n ALRandYield: \"allocation line rejection |yield rejection |\"\n },\n phySpaceRejCode: [\"99\"],\n allocLineRejCode: [\"91\", \"92\", \"93\", \"94\"],\n week: \"Week\"\n },\n additionalDetails: {\n loadAddressMaxLength: 200,\n maxLength500: 500,\n haulageInstructionsMaxLength: 800,\n sdHaulageInstructionsMaxLength: 760,\n loadIntervalOptions: [\"I do not want to add breaks\", \"15\", \"30\", \"60\", \"120\"],\n addressLimit: 5,\n same: \"same\",\n manual: \"manual\"\n },\n statusCode: {\n processing: 102,\n pageNotFound: 404,\n noContent: 204,\n success: 200,\n temporarilyMoved: 302,\n failedDependency: 424\n },\n adfResponses: { YES: \"YES\", NO: \"NO\", ERROR: \"ERROR\", TRUE: \"true\" },\n adfExceptions: {\n MEPC: [\"SPSBT01\", \"SPSBT03\", \"SPEST01\"], // For offline mode\n noRoutes: \"SPSBT02\",\n noCombinationRoutes: \"MULTI_X_1\",\n unavailable: [\"ADFUV01\", \"ADFUV02\", \"ADFUV03\"]\n },\n commodityRestrictionCodes: [\"1074\", \"1075\", \"1076\", \"1077\", \"1078\", \"1079\", \"1080\", \"1081\"],\n pollingTimer: {\n sailingsWaitTime: 2000,\n bookingSession: 60000\n },\n noOfRecordsFromHistory: 5,\n noOfRecordsFromHistoryNew: 8,\n priceBreakdownRateBasisMapper: {\n PER_CONTAINER: \"Container\",\n PER_DOC: \"Bill of Lading\",\n \"%\": \"Percent\"\n },\n USATariffLinkPerBrand: {\n maeu: \"https://www.maersk.com/local-information/north-america/united-states-of-america/import\",\n seau: \"https://terms.sealandmaersk.com/americas/terms-spot-booking-fmc\"\n // TODO: add other brands and links\n },\n customerAllocationCommitmentType: {\n regular: \"Regular\",\n irregular: \"Irregular\"\n },\n gateInDeadlineCode: \"CCC\",\n alternativeCardType: {\n substituteContainers: \"substitute\",\n reduceContainers: \"reduce\"\n },\n fmcDetails: {\n status: {\n priceOwner: \"priceOwner\",\n agent: \"agent\",\n nvocc: \"nvocc\",\n cargoOwner: \"cargoOwner\",\n bookByCustomerStatus: \"bookByCustomerStatus\",\n priceOwnerStatus: \"priceOwnerStatus\"\n },\n brandNames: {\n maeu: \"Maersk\",\n seau: \"Sealand\"\n }\n },\n sanctions: {\n allowed: \"ALLOWED\",\n notAllowed: \"NOT_ALLOWED\",\n error: \"sanctionNotAllowed\"\n },\n inlandHaulageCode: \"SPESW03\",\n references: {\n UCR: \"UCR (Shipper Unique Consignment Ref)\",\n confirmShipment: \"Confirm Shipment\",\n flexHub: \"VAS Flex Hub\",\n flexHubValue: \"Y\",\n bookingCommodity: \"Booking Commodity\",\n dubaiTradeCode: \"Dubai trade code\",\n customerHSCode: \"Customer HS code\"\n },\n routeIconsByTransportModeCode: {\n vessel: [\"FEF\", \"FEO\", \"MVS\", \"VSF\", \"VSL\", \"VSM\", \"BAR\"],\n rail: [\"REI\", \"RSD\", \"RCO\", \"RR\"],\n land: [\"TRK\"]\n },\n inlandHaulageTransportModeCodes: [\"RR\", \"SSH\", \"TRK\", \"RCO\", \"COM\", \"BCO\", \"BAR\", \"RSD\", \"REI\", \"DST\"],\n transportModeCodes: {\n barge: \"BAR\"\n },\n facilities: {\n facilityTypes: {\n pickupDepot: \"PICKUP_DEPOT\",\n returnDepot: \"RETURN_DEPOT\"\n },\n roles: {\n emptyEquipmentPickup: \"EMPTY_EQUIPMENT_PICKUP\",\n emptyEquipmentReturn: \"EMPTY_EQUIPMENT_RETURN\",\n cargoPickup: \"CARGO_PICKUP\",\n fullReturn: \"FULL_RETURN\"\n }\n },\n insuranceErrorPolicyCodes: [\"POL012\", \"API007\", \"API008\"],\n bindCargoInsuranceTimeout: 15000, // Timeout for bind call in milliseconds\n masterDataManagementRulesetTimeout: 2000, // Timeout for MDM ruleset call in milliseconds. Fallback for sitecore\n masterDataManagementFacilityIngestionTimeout: 5000, // Timeout for MDM facility ingestion call in milliseconds. Fallback for sitecore\n bookingType: {\n new: \"NEW\",\n duplicate: \"DUPLICATE\",\n amend: \"AMEND\"\n },\n nacSource: {\n NOT_AVAILABLE: 0,\n NAC_FROM_CMD: 1,\n NAC_FROM_RECENTLY_USED: 2,\n NAC_FROM_AFLS_SOURCES: 3\n },\n review: {\n sailingsTab: \"sailingDetailsTab\",\n insuranceTab: \"insuranceDetailsTab\",\n insuranceCount: 1\n },\n serviceMode: {\n merchantHaulage: \"CY\",\n carrierHaulage: \"SD\",\n containerFreightStation: \"CFS\"\n },\n maerskControl: {\n codes: {\n mac: \"MAC\",\n ma2: \"MA2\"\n },\n applicability: {\n optional: \"OPTIONAL\",\n mandatory: \"MANDATORY\"\n }\n },\n\n freetimeSurcharges: [\n \"F01\",\n \"F02\",\n \"F03\",\n \"F04\",\n \"F05\",\n \"F06\",\n \"F07\",\n \"F08\",\n \"F09\",\n \"F10\",\n \"F11\",\n \"F12\",\n \"F13\",\n \"F14\",\n \"F15\",\n \"F16\",\n \"F17\",\n \"F18\",\n \"F19\",\n \"F20\",\n \"F21\",\n \"F22\",\n \"F23\",\n \"F24\",\n \"F25\",\n \"F26\",\n \"F27\",\n \"F28\",\n \"F29\",\n \"F30\",\n \"FA4\",\n \"FA8\",\n \"FB4\"\n ],\n demurrageSurcharges: [\"D01\", \"D02\", \"D03\", \"D07\", \"D10\"],\n allowedSurcharges: [\n [\"CP1\", true],\n [\"CPP\", true],\n [\"CNS\", true],\n [\"HEC\", true],\n [\"IWO\", true],\n [\"PQC\", true],\n [\"OCG\", true],\n [\"TLE\", true],\n [\"VP1\", true],\n [\"VP2\", true],\n [\"VP3\", true],\n [\"VP4\", true],\n [\"VP5\", true],\n [\"VP6\", true],\n [\"VP9\", true],\n [\"V10\", true],\n [\"V11\", true],\n [\"MA2\", true],\n [\"MAC\", true],\n [\"VGM\", true],\n [\"LG01\", true],\n [\"ECX\", true],\n [\"EC3\", true],\n [\"EC4\", true],\n [\"EC5\", true]\n ],\n mllAllowedSurcharges: [\n [\"CP1\", false],\n [\"CPP\", true],\n [\"CNS\", true],\n [\"HEC\", true],\n [\"IWO\", true],\n [\"PQC\", true],\n [\"OCG\", false],\n [\"TLE\", false],\n [\"VP1\", true],\n [\"VP2\", true],\n [\"VP3\", true],\n [\"VP4\", true],\n [\"VP5\", false],\n [\"VP6\", false],\n [\"VP9\", false],\n [\"V10\", false],\n [\"V11\", false],\n [\"MA2\", true],\n [\"MAC\", true],\n [\"VGM\", true],\n [\"LG01\", false]\n ],\n featureFlags,\n featureFlagKeys: {\n key: \"featureFlags.\",\n prefix: \"feat-book-\",\n bePrefix: \"booking_be-\"\n },\n featureFlagTabs: {\n feFlags: \"feFlags\",\n beFlags: \"beFlags\",\n interceptor: \"interceptor\"\n },\n contractIndicators: {\n userEntered: \"USER_ENTERED\",\n pricing: \"PRICING\",\n noContract: \"NO_CONTRACT\",\n selectedFromList: \"SELECTED_FROM_LIST\",\n noContractNumber: \"NOCONTRACTNUMBER\"\n },\n containerMovesForGatedIn: {\n direction: \"EXP\",\n type: \"GATE-IN\",\n containerIsEmpty: \"N\"\n },\n chargeTypes: {\n detention: \"Detention\",\n demurrage: \"Demurrage\"\n },\n containerMovesForPickedUp: {\n direction: \"EXP\",\n type: \"GATE-OUT\",\n containerIsEmpty: \"Y\"\n },\n specialAmendPartyCodes: [\"3\", \"4\", \"22\"],\n bookingDataSource: {\n legacy: \"LEGACY\",\n dataset: \"DATASET\",\n bookingRequest: \"BOOKING_REQUEST\"\n },\n unavailable: \"_\",\n regExpressions: {\n haulageReferencePattern: /^[a-zA-Z0-9-!\"#$%&'()*+’,./:;><=?@_\\s]+$/,\n digitsPattern: /[\\d]+/,\n decimalDigitsPattern: /^[\\d-.]+$/,\n decimalDigitsPatternWithoutSign: /^[\\d.]+$/,\n temperaturePattern: /^-?\\d{1,3}(\\.\\d{1})?$/,\n negativeTemperaturePattern: /^-?\\d+(?:\\.\\d+)?$/,\n reeferTemperaturePattern: /^-?\\d+(\\.\\d?)?$/,\n phoneNumber: /^[\\d+-]+$/,\n alphaNumSpecailCharsPattern: /^[A-Za-z0-9\\s!\"#$%&'()*+,-./:;><=?@_]+$/,\n specialCharacters: \"!\\\"#$%&'()*+,-./:;><=?@_\",\n technicalNameReferencePattern: /^[^À-ž{}\\\\`~[\\]£½§|^¨]+$/,\n dangerousEMSInputPattern: /^[A-Za-z](-)[A-Za-z]$/,\n dangerousGoodsWeightsPattern: /^\\d{1,6}(\\.\\d{1,3})?$/,\n gcssSpecialChar: \"<{}\\\\`~[]£½§|~^¨>\",\n dangerousGoodsSubriskPattern: /^\\d{1}(\\.\\d{1})?$/,\n oogDimensionPattern: /(^\\d{1,6}(\\.\\d{1,4})?$)/,\n tcnPattern: /^\\w{11}\\d{3}\\w*$/,\n facilityName: /^[a-zA-Z0-9-,*'/()&+ ]{3,128}$/\n },\n amendRedirectionList,\n reeferContainerCodes: {\n standard: [\"RFSD\", \"RFCT\"],\n magnum: [\"MGRF\"],\n starfresh: [\"RFCA\", \"CACT\"],\n starcare: [\"RSCA\", \"SCCT\"],\n superfreezer: [\"RFSF\"]\n },\n gcsssReeferContainerTypes: {\n Standard: \"Standard\",\n \"Super Freezer\": \"Super Freezer\",\n \"Starcare CA\": \"Starcare\",\n Starfresh: \"Starfresh\",\n Magnum: \"Magnum\"\n },\n reeferCodeAndTypeMap: {\n RFSD: \"Standard\",\n RFCT: \"Standard\",\n MGRF: \"Magnum\",\n RFCA: \"Starfresh\",\n CACT: \"Starfresh\",\n RSCA: \"Starcare\",\n SCCT: \"Starcare\",\n RFSF: \"Super Freezer\"\n },\n reeferColdTreatmentContainerCode: \"CT\",\n dgContainerCodes: [\"RFSD\"],\n controlledAtmosphereContainerCodes: [\"RFCA\", \"RSCA\", \"CACT\", \"SCCT\"],\n maximumAllowedO2CO2combinedPercentage: 25,\n reeferContainerSizes: {\n twenty: \"(20´)\",\n forty: \"(40´)\",\n multi: \"\"\n },\n reeferContainerNames: {\n standard: \"Standard\",\n magnum: \"Magnum\",\n starcare: \"Starcare\",\n starfresh: \"Starfresh\",\n superFreezer: \"Super Freezer\"\n },\n reeferContainerTempRanges: {\n standard: { celsius: \"-30ºC to +30ºC\", fahrenheit: \"-22ºF to +86ºF\" },\n magnum: { celsius: \"-35ºC to +30ºC\", fahrenheit: \"-31ºF to +86ºF\" },\n starcare: { celsius: \"-30ºC to +30ºC\", fahrenheit: \"-22ºF to +86ºF\" },\n starfresh: { celsius: \"-30ºC to +30ºC\", fahrenheit: \"-22ºF to +86ºF\" },\n superFreezer: { celsius: \"-60ºC to -10ºC\", fahrenheit: \"-76ºF to +14ºF\" }\n },\n containerProps: {\n celsius: \"celsiusTempRange\",\n fahrenheit: \"fahrenheitTempRange\"\n },\n PRICES_TYPE: {\n VAS_PRICE: \"VAS_PRICE\",\n ROUTE_PRICE: \"ROUTE_PRICE\",\n INSURANCE_PRICE: \"INSURANCE_PRICE\",\n CUSTOMS_PRICE: \"CUSTOMS_PRICE\",\n TRIAL_VAS_PRICE: \"TRIAL_VAS_PRICE\"\n },\n basis: {\n billOfLading: \"Bill of Lading\",\n container: \"Container\"\n },\n groupNameForReefer: \"REEFER CONTAINER\",\n packingQuantityTypeOptions: [\"Limited\", \"Excepted\", \"Reportable (CFR49)\"],\n dangerousSettings: {\n temperatureRules: {\n min: -999.9,\n maxValue: 999.9\n },\n maxInnerPackingLevels: 3,\n imoDetails: {\n noneInstanceId: 99\n }\n },\n imdgAmendmentTypes: {\n imdg: \"IMDG\",\n cfr: \"CFR\"\n },\n oogCargoRules: {\n defaultCargoMin: 0.0001,\n defaultCargoMax: Infinity\n },\n oogFields: {\n quoteReferenceNumber: \"quoteReferenceNumber\",\n cargoWeight: \"cargoWeight\",\n cargoLength: \"cargoLength\",\n cargoWidth: \"cargoWidth\",\n cargoHeight: \"cargoHeight\"\n },\n maxQuoteRefLength: 100,\n dgValidationStatuses: {\n prohibited: \"Prohibited\",\n restricted: \"Restricted\",\n accepted: \"Accepted\",\n na: \"N/A\"\n },\n haulageDateTimeFormat: \"YYYY-MM-DDTHH:mm:ss\",\n MAX_SD_DEPOTS_PRE_POPULATION_ALLOWED: 10,\n cmToInchesConversionFactor: 0.3937,\n allowedTimeIntervals: [0, 15, 30, 60, 120],\n haulageDateTimeKeys: [\"haulageStartTimestampLocal\", \"haulageEndTimestampLocal\"],\n cuFootToCuMeterConversionFactor: 35.315,\n gcssReeferContainerCodes: new Map([\n [\"Standard, false\", \"RFSD\"],\n [\"Standard, true\", \"RFCT\"],\n [\"Super Freezer, false\", \"RFSF\"],\n [\"Starcare CA, false\", \"RSCA\"],\n [\"Starcare CA, true\", \"SCCT\"],\n [\"Starfresh, false\", \"RFCA\"],\n [\"Starfresh, true\", \"CACT\"],\n [\"Magnum, false\", \"MGRF\"]\n ]),\n celsiusToFahrenheit: celsiusValue => celsiusValue * 1.8 + 32,\n fahrenheitToCelsius: fahrenheitValue => (fahrenheitValue - 32) * (5 / 9),\n convertCuFeetToCuMeter: cuFeetValue => cuFeetValue / 35.315,\n convertCuMeterToCuFeet: cuMeterValue => cuMeterValue * 35.315,\n cookies: {\n prefix: \"book-\",\n abandoned: {\n key: \"abandoned\",\n maxAge: 120\n }\n },\n EMS: \"ems\",\n color: {\n darkGrey: \"#CFCFCF\",\n lightGrey: \"#f7f7f7\",\n grey: \"#545454\",\n black: \"#141414\",\n white: \"#FFFFFF\",\n blue: \"#0073AB\"\n },\n spacing: {\n negative_spacing_3: \"-12px\",\n spacing_1: \"4px\",\n spacing_2: \"8px\",\n spacing_3: \"12px\",\n spacing_4: \"16px\",\n spacing_5: \"20px\",\n spacing_6: \"24px\",\n negative_spacing_6: \"-24px\"\n },\n vas: {\n pqc: \"PQC\",\n vgm: \"VGM\",\n containerProtect: \"CP1\",\n captainPeter: \"CP2\",\n vp1: \"VP1\",\n hec: \"HEC\",\n lab: \"LG01\",\n wav: \"WAV\"\n },\n routePriceMessage: {\n containerNotAvailable: \"container_not_available\"\n },\n icons: {\n chevronDown: \"chevron-down\",\n chevronUp: \"chevron-up\",\n vesselFront: \"vessel-front\"\n },\n // OME-36679: Added Athena DnD list\n dndApiContainerSizeTypeMap: {\n \"20DRY\": \"20 Dry Standard\",\n \"40DRY\": \"40 Dry Standard\",\n \"40HDRY\": \"40 Dry High\",\n \"40HIGH\": \"40 Dry High\",\n \"45HDRY\": \"45 Dry High\",\n \"45HIGH\": \"45 Dry High\",\n \"20REEF\": \"20 Reefer Standard\",\n \"40REEF\": \"40 Reefer Standard\",\n \"40HREF\": \"40 Reefer High\",\n \"40HCRF\": \"40 Reefer High\",\n \"20SPECIAL\": \"20 Feet Container\",\n \"20OPEN\": \"20 Open Top\",\n \"20TANK\": \"20 Tank (SOC)\",\n \"20FLAT\": \"20 Flat (SOC)\",\n \"40SPECIAL\": \"40 Feet Container\",\n \"40TANK\": \"40 Tank (SOC)\",\n \"40HSPECIAL\": \"40 Feet High Container\",\n \"40HCOT\": \"40 Open Top High\",\n \"40OPEN\": \"40 Open Top\",\n \"40FLAT\": \"40 Flat Standard\",\n \"40HCFD\": \"40 Flat High\"\n },\n dndSpecialContainerMap: {\n \"20SPECIAL\": [\"22T3\", \"22U1\", \"22P1\"],\n \"40SPECIAL\": [\"42T3\", \"42U1\", \"42P1\"],\n \"40HSPECIAL\": [\"45U1\", \"45P3\"]\n },\n dndRegularContainerMap: {\n \"20DRY\": \"22G1\",\n \"40DRY\": \"42G1\",\n \"40HDRY\": \"45G1\",\n \"45HDRY\": \"L5G1\",\n \"20REEF\": \"22R1\",\n \"40REEF\": \"45R1\"\n },\n containerIsoSizeTypeMapper: {\n \"22G1\": \"20 DRY\",\n \"42G1\": \"40 DRY\",\n \"45G1\": \"40 HIGH\",\n L5G1: \"45 HIGH\"\n },\n mobileScreenMaxWidth: 700,\n largeScreenMinWidth: 1000,\n stepIndicatorStates: {\n COMPLETED: \"completed\",\n CURRENT: \"current\",\n PENDING: \"pending\"\n },\n facilitiesAndAddresses: {\n tabs: {\n previouslyUsedAddresses: \"PREVIOUSLY_USED_ADDRESSES\",\n ownFacilities: \"OWN_FACILITIES\",\n addNewAddress: \"ADD_NEW_ADDRESS\"\n },\n resultsPerPage: 9\n },\n containerReferencesLength: 13,\n /**\n * To Debounce the validation of mc-c-typeahead for .3s, as there appears an error message\n * for a split of a second after selecting option for the first time\n */\n typeAheadValidationDebounce: 300,\n isoCodeSizeTypeMapping: {\n \"22G1\": \"20 Dry Standard\",\n \"42G1\": \"40 Dry Standard\",\n \"45G1\": \"40 Dry High\",\n \"22T3\": \"20 Tank\",\n \"42T3\": \"40 Tank\",\n \"22R1\": \"20 Reefer Standard\",\n \"45R1\": \"40 Reefer High\",\n \"22U1\": \"20 Open Top\",\n \"42U1\": \"40 Open Top\",\n \"45U1\": \"40 Open Top High\",\n \"42P1\": \"40 Flat Standard\",\n \"45P3\": \"40 Flat High\",\n \"22P1\": \"20 Flat\",\n L5G1: \"45 Dry High\"\n },\n isoCodeHeightMapping: {\n \"22G1\": \"8 6\",\n \"42G1\": \"8 6\",\n \"45G1\": \"9 6\",\n \"22T3\": \"8 6\",\n \"42T3\": \"8 6\",\n \"22R1\": \"8 6\",\n \"45R1\": \"9 6\",\n \"22U1\": \"8 6\",\n \"42U1\": \"8 6\",\n \"45U1\": \"9 6\",\n \"42P1\": \"8 6\",\n \"45P3\": \"9 6\",\n \"22P1\": \"8 6\",\n L5G1: \"9 6\"\n },\n containerSizes: {\n size_40: \"40\",\n size_45: \"45\",\n size_20: \"20\"\n },\n //TODO: give better appropriate name\n PRICING_JOURNEY_STATES: {\n DEFAULT: 0, //when we tell customer that he can search for offers on first page\n SEARCHING: 1, //when we are in suspended state while we are searching and blocked the user\n\n SOFT_STOP: 2, //if we get no offers\n HARD_STOP: 3 //if user is in spot exclusion\n },\n pricingOffersTriggerSources: {\n od3cpForm: \"od3cpForm\",\n seeTheOffer: \"seeTheOffer\",\n loadMore: \"loadMore\",\n searchAgain: \"searchAgain\",\n searchAlternateProductAgain: \"searchAlternateProductAgain\",\n alternateLoadMore: \"alternateLoadMore\",\n autoTriggerLoadMore: \"autoTriggerLoadMore\"\n },\n all: \"All\",\n spotRollable: \"Spot rollable\",\n offline: \"OFFLINE\",\n dgRestrictionsIgnoreStatus: [\"maerskValidationStatus\", \"imdgValidationStatus\", \"bookingValidationStatus\"],\n numberPrecisions: {\n temperature: 1,\n ventilation: 0\n },\n pmaErrorReasons: errorReasonsList,\n dgContainerSelectModals: {\n copyContainerSettings: \"DG_COPY_CONTAINER_SETTINGS\",\n removeContainerSettings: \"DG_REMOVE_CONTAINER_SETTINGS\"\n },\n deadlineMapper: deadlineMapper,\n deadlineCodes: [\"CY\", \"SINONAMS\", \"VGM\", \"SIAMS\"],\n // TCN - Transport Control Number\n tcn: {\n numberOfChars: 17,\n sequence: {\n startIndex: 11,\n endIndex: 14,\n max: 999,\n reset: 1\n }\n },\n mllCommercialDescLimit: 4,\n excludedContainerTypesForMll: [\"22R1\"],\n deviceType: {\n mobile: \"MOBILE\",\n tab: \"TAB\",\n desktop: \"DESKTOP\"\n },\n governmentDetailsRules: {\n consigneeDodaac: {\n charCount: 6\n },\n tcn: {\n charCount: 17\n }\n },\n activityTasks: {\n taskStatusNameClosed: \"Closed\",\n confirmShipment: \"Confirm Shipment\"\n },\n localBrandOverride: \"maersk\",\n mllTerms: {\n termsConditions: \"https://terms.maersklinelimited.com/booking-web\",\n termsCarriage: \"https://terms.maersklinelimited.com/\"\n },\n changeOfDestination: {\n type: {\n locationAndServiceMode: \"locationAndServiceMode\",\n location: \"location\",\n serviceMode: \"serviceMode\"\n }\n },\n mimDiscriminators: {\n city: \"CITY\"\n },\n locationFunctionCodes: {\n portOfDischarge: \"PODI\"\n },\n bookingOptionsCriticalErrors: [\"BOCRPFHX02\"],\n errorsToLog: {\n createAdditionalDetails: [\n \"BI_CW_W_1\",\n \"BI_CI_W_1\",\n \"BI_CI_I_1\",\n \"BI_CI_I_2\",\n \"BI_CI_I_3\",\n \"BI_CI_I_4\",\n \"BI_CI_I_5\",\n \"BI_CI_I_6\",\n \"BI_CI_W_2\",\n \"RD_CI_W_1\",\n \"RD_CI_W_2\",\n \"RD_CI_I_1\",\n \"RD_CI_I_2\"\n ],\n triggerSubmitProcess: [\"RB_CI_W_1\", \"RB_CI_W_2\", \"RB_CI_W_3\"]\n },\n priceBreakdown: {\n headerChargesID: \"chargesHeading\",\n freight: \"freight\",\n origin: \"origin\",\n destination: \"destination\"\n },\n freightTypeVas: { ma2: \"ma2\", mac: \"mac\" },\n brandUnification: {\n allowedCountries: [\"ID\", \"PH\"]\n },\n forceInlandReasonType: \"INLAND_FORCE\",\n forceInlandContactEmail: \"CACInland1stmileProduct@maersk.com\",\n reeferSummary: {\n reeferContainerType: \"reeferContainerType\",\n controlledAtmosphere: \"controlledAtmosphere\",\n coldTreatment: \"coldTreatment\",\n temperature: \"temperature\",\n setPoints: \"setPoints\",\n noOfCargoProbes: \"noOfCargoProbes\",\n drainHoles: \"drainHoles\",\n freshAirExchange: \"freshAirExchange\",\n humidityPercentage: \"humidityPercentage\",\n oxygenPercentage: \"oxygenPercentage\",\n carbonDioxidePercentage: \"carbonDioxidePercentage\",\n ethyleneFilter: \"ethyleneFilter\",\n genSetExport: \"genSetExport\",\n genSetImport: \"genSetImport\"\n },\n pricingOfferTypes: pricingOfferTypes,\n containerIsoSizeTypeForHeavyWtSurcharge: [\"22G1\", \"42G1\", \"45G1\"],\n rollableOptionTypes: rollableOptionTypes,\n trialVases: [\"LG01\"],\n waterLegTranportModeCode: [\"MVS\", \"FEO\", \"VSL\", \"VSF\", \"VSM\", \"FEF\"],\n rateBasis: {\n container: \"PER_CONTAINER\",\n doc: \"PER_DOC\"\n },\n offeredLevel: {\n shipment: \"SHIPMENT\",\n container: \"CONTAINER\"\n },\n tooltipWidth: {\n mobile: 200,\n desktop: 400\n },\n containerTypes: {\n reefer: \"REEF\",\n reeferHigh: \"HREF\",\n dry: \"DRY\",\n dryHigh: \"HDRY\"\n },\n partyType: {\n exporter: \"EXPORTER\",\n importer: \"IMPORTER\"\n }\n};\n","import { constants } from \"@/lib/CONSTANTS\";\n\nconst prefix: string = \"od3cp.component.dangerous\";\n\n/* Dangerous Cargo Settings */\nexport const dangerousSettingsContainers = {\n labels: (t: Function) => ({\n useSameDgDetailsLabel: t(`${prefix}.useSameDgdetailsAllContainersLabel`),\n description: t(`${prefix}.containerCard.description`),\n addButtonLabel: t(`${prefix}.containerCard.addButtonLabel`),\n titleSingleContainer(containerIndex: number) {\n return t(`${prefix}.containerCard.titleSingleContainer`, {\n containerNumber: `${containerIndex + 1}`.padStart(2, \"0\")\n });\n },\n titleAllContainer: t(`${prefix}.containerCard.titleAllContainer`),\n containerLabels: {\n label: t(`${prefix}.containerCard.selectLabel`),\n optionalLabel: \"\",\n placeholder: t(`${prefix}.containerCard.selectPlaceholder`),\n noResultsMessage: \"\",\n dataErrorMessage: \"\",\n errorMessage: \"\"\n },\n modalDelete: {\n header: t(`${prefix}.containerCard.modalDelete.header`),\n descriptionDeleteLine1: t(`${prefix}.containerCard.modalDelete.description.line1`),\n descriptionDeleteLine2: t(`${prefix}.containerCard.modalDelete.description.line2`)\n },\n modalUseSame: {\n header: t(`${prefix}.containerCard.modalUseSame.header`),\n description: t(`${prefix}.containerCard.modalUseSame.description`)\n },\n removeContainerModal: {\n header: t(`${prefix}.containerCard.removeContainerModal.header`),\n description: t(`${prefix}.containerCard.removeContainerModal.description`)\n },\n buttonCancelLabel: t(`${prefix}.containerCard.buttonCancelLabel`),\n buttonDeleteLabel: t(`${prefix}.containerCard.buttonDeleteLabel`),\n buttonConfirmLabel: t(`${prefix}.containerCard.buttonConfirmLabel`),\n imoClassLabel: t(`${prefix}.containerCard.imoClassLabel`),\n naLabel: t(`${prefix}.containerCard.naLabel`),\n unLabel: t(`${prefix}.containerCard.unLabel`),\n buttonViewAllLabel: t(`${prefix}.containerCard.buttonViewAllLabel`),\n buttonEditLabel: t(`${prefix}.containerCard.buttonEditLabel`),\n requiredError: t(`${prefix}.containerCard.requiredError`),\n loading: t(`${prefix}.containerCard.loading`)\n }),\n selectDgContainerRadioOptions: (t: Function, dgContainersCount: number) => {\n function prependZero(num: number) {\n num++;\n return num < 10 ? `0${num}` : String(num);\n }\n return Array.from({ length: dgContainersCount }, (_, i) => ({\n id: `dgContainerSelectRadio-${i}`,\n label: t(`${prefix}.containerCard.titleSingleContainer`, { containerNumber: prependZero(i) }),\n value: String(i),\n dataTest: `dangerousSettings-containerSelectRadio-${i}`\n }));\n },\n maxContainerSettingLimit: 20\n};\n\n/* IMO Details */\nexport const imoDetailsLabels = {\n labels: (t: Function, isAdditionalSegRequired: boolean, isTechnicalNameRequired: boolean) => ({\n header: t(`${prefix}.imoDetails.header`),\n optionalLabel: t(`${prefix}.imoDetails.optionalLabel`),\n errorMessage: {\n technicalName: t(`${prefix}.imoDetails.errorMessage.technicalName`),\n segregation: t(`${prefix}.imoDetails.errorMessage.segregation`),\n maxLimit: t(`${prefix}.imoDetails.errorMessage.maxLimit`),\n refInputPatternError: t(`${prefix}.imoDetails.errorMessage.refInputPatternError`, {\n gcssSpecialChar: constants.regExpressions.gcssSpecialChar\n }),\n emsRequired: t(`${prefix}.imoDetails.errorMessage.ems.required`),\n emsPattern: t(`${prefix}.imoDetails.errorMessage.ems.pattern`)\n },\n amendment: {\n label: t(`${prefix}.imoDetails.amendment.label`),\n optionalLabel: \"\",\n placeholder: t(`${prefix}.imoDetails.amendment.placeholder`),\n noResultsMessage: t(`${prefix}.imoDetails.noResultsMessage`),\n dataErrorMessage: \"\",\n errorMessage: t(`${prefix}.imoDetails.errorMessage.amendment`),\n options: []\n },\n classification: {\n label: t(`${prefix}.imoDetails.classification.label`),\n optionalLabel: \"\",\n placeholder: t(`${prefix}.imoDetails.classification.placeholder`),\n noResultsMessage: t(`${prefix}.imoDetails.noResultsMessage`),\n dataErrorMessage: \"\",\n errorMessage: t(`${prefix}.imoDetails.errorMessage.classification`),\n options: []\n },\n unNumber: {\n label: t(`${prefix}.imoDetails.unNumber.label`),\n optionalLabel: \"\",\n placeholder: t(`${prefix}.imoDetails.unNumber.placeholder`),\n noResultsMessage: t(`${prefix}.imoDetails.noResultsMessage`),\n dataErrorMessage: \"\",\n options: [],\n searchCriteriaNotLongEnoughMessage: t(`${prefix}.imoDetails.errorMessage.typing`),\n errorMessage: t(`${prefix}.imoDetails.errorMessage.unNumber`)\n },\n shippingName: {\n label: t(`${prefix}.imoDetails.shippingName.label`),\n optionalLabel: \"\",\n placeholder: t(`${prefix}.imoDetails.shippingName.placeholder`),\n noResultsMessage: t(`${prefix}.imoDetails.noResultsMessage`),\n dataErrorMessage: \"\",\n errorMessage: t(`${prefix}.imoDetails.errorMessage.shippingName`),\n options: []\n },\n technicalName: {\n label: t(`${prefix}.imoDetails.technicalName.label`),\n placeholder: t(`${prefix}.imoDetails.technicalName.placeholder`),\n optionalLabel: isTechnicalNameRequired ? \"\" : t(`${prefix}.imoDetails.optionalLabel`),\n noResultsMessage: t(`${prefix}.imoDetails.noResultsMessage`),\n dataErrorMessage: \"\",\n errorMessage: t(`${prefix}.imoDetails.errorMessage.technicalName`),\n options: []\n },\n subrisk1: {\n label: t(`${prefix}.imoDetails.subrisk1.label`),\n placeholder: t(`${prefix}.imoDetails.subrisk1.placeholder`),\n noResultsMessage: t(`${prefix}.imoDetails.noResultsMessage`),\n dataErrorMessage: \"\",\n errorMessageMandatory: t(`${prefix}.imoDetails.errorMessage.subrisk1`),\n errorMessageInvalid: t(`${prefix}.imoDetails.errorMessage.subriskInvalid`)\n },\n subrisk2: {\n label: t(`${prefix}.imoDetails.subrisk2.label`),\n placeholder: t(`${prefix}.imoDetails.subrisk2.placeholder`),\n noResultsMessage: t(`${prefix}.imoDetails.noResultsMessage`),\n dataErrorMessage: \"\",\n errorMessageMandatory: t(`${prefix}.imoDetails.errorMessage.subrisk2`),\n errorMessageInvalid: t(`${prefix}.imoDetails.errorMessage.subriskInvalid`)\n },\n ems: {\n label: t(`${prefix}.imoDetails.ems.label`),\n placeholder: t(`${prefix}.imoDetails.ems.placeholder`)\n },\n additionalSegregation: {\n label: t(`${prefix}.imoDetails.additionalSegregation.label`),\n optionalLabel: isAdditionalSegRequired ? \"\" : t(`${prefix}.imoDetails.optionalLabel`),\n placeholder: t(`${prefix}.imoDetails.additionalSegregation.placeholder`),\n noResultsMessage: t(`${prefix}.imoDetails.noResultsMessage`),\n dataErrorMessage: \"\",\n errorMessage: t(`${prefix}.imoDetails.errorMessage.additionalSegregation`),\n removeTagLabel: t(`${prefix}.imoDetails.additionalSegregation.removeTagLabel`),\n options: []\n },\n originalAdditionalSegregation: t(`${prefix}.imoDetails.originalAdditionalSegregation`),\n marinePollutant: t(`${prefix}.imoDetails.marinePollutant`),\n naNumber: t(`${prefix}.imoDetails.naNumber`),\n unNumberTooltipText: t(`${prefix}.imoDetails.unNumberTooltipText`),\n unNaNumber: t(`${prefix}.imoDetails.unNaNumber`),\n segregation: t(`${prefix}.imoDetails.segregation`),\n searchCriteriaNotLongEnoughMessage: t(`${prefix}.errors.typing`)\n })\n};\n\n/* Dangerous Cargo Settings */\nexport const dangerousSettingsPopup = {\n labels: (t: Function, warningType: string = \"\", notificationType: string = \"\") => ({\n heading: t(`${prefix}.dangerousGoodsPopup.heading`),\n description: {\n line1: {\n label: t(`${prefix}.dangerousGoodsPopup.description.line1.label`),\n link: {\n label: t(`${prefix}.dangerousGoodsPopup.description.line1.link.label`),\n href: t(`${prefix}.dangerousGoodsPopup.description.line1.link.href`)\n }\n },\n line2: {\n label: t(`${prefix}.dangerousGoodsPopup.description.line2.label`),\n link: {\n label: t(`${prefix}.dangerousGoodsPopup.description.line2.link.label`),\n href: t(`${prefix}.dangerousGoodsPopup.description.line2.link.href`)\n }\n }\n },\n addMoreButtonLabel: t(`${prefix}.dangerousGoodsPopup.addMoreButtonLabel`),\n resetButtonLabel: t(`${prefix}.dangerousGoodsPopup.resetButtonLabel`),\n saveCloseButtonLabel: t(`${prefix}.dangerousGoodsPopup.saveCloseButtonLabel`),\n cancelButtonLabel: t(`${prefix}.dangerousGoodsPopup.cancelButtonLabel`),\n closeButtonLabel: t(`${prefix}.dangerousGoodsPopup.closeButtonLabel`),\n warningModel: {\n header:\n warningType === \"reset\"\n ? t(`${prefix}.dangerousGoodsPopup.resetModalHeader`)\n : t(`${prefix}.dangerousGoodsPopup.closeModalHeader`),\n description:\n warningType === \"reset\"\n ? t(`${prefix}.dangerousGoodsPopup.resetModalDescription`)\n : t(`${prefix}.dangerousGoodsPopup.closeModalDescription`),\n action:\n warningType === \"reset\"\n ? t(`${prefix}.dangerousGoodsPopup.resetButtonLabel`)\n : t(`${prefix}.dangerousGoodsPopup.closeButtonLabel`)\n },\n notificationMessage:\n notificationType === \"addMore\"\n ? t(`${prefix}.dangerousGoodsPopup.addMoreDgSuccessMessage`)\n : t(`${prefix}.dangerousGoodsPopup.maxLimitReached`, {\n max: dangerousSettingsContainers.maxContainerSettingLimit\n })\n })\n};\n\n/* Packing Information */\nexport const packingInformation = {\n labels: (t: Function) => ({\n outerPackingHeader: t(`${prefix}.packingInformation.outerPackingHeader`),\n innerPackingHeader: t(`${prefix}.packingInformation.innerPackingHeader`),\n commodityPackingHeader: t(`${prefix}.packingInformation.commodityPackingHeader`),\n commodityPackingGroupTooltipText: t(`${prefix}.packingInformation.commodityPackingGroupTooltipText`),\n optionalLabel: t(`${prefix}.packingInformation.optionalLabel`),\n outerPackingType: {\n label: t(`${prefix}.packingInformation.packingType.label`),\n placeholder: t(`${prefix}.packingInformation.packingType.placeholder`),\n noResultsMessage: t(`${prefix}.packingInformation.noResultsMessage`),\n optionalLabel: \"\",\n dataErrorMessage: \"\",\n errorMessage: t(`${prefix}.packingInformation.errorMessage.packingType`),\n options: []\n },\n innerPackingType: {\n label: t(`${prefix}.packingInformation.packingType.label`),\n placeholder: t(`${prefix}.packingInformation.packingType.placeholder`),\n noResultsMessage: t(`${prefix}.packingInformation.noResultsMessage`),\n optionalLabel: \"\",\n dataErrorMessage: \"\",\n errorMessage: \"\",\n options: [],\n addAdditionalBtnLabel: t(`${prefix}.packingInformation.addAdditionalBtnLabel`),\n additionalLimitMsg: t(`${prefix}.packingInformation.additionalLimitMsg`)\n },\n quantity: {\n label: t(`${prefix}.packingInformation.quantity.label`)\n },\n packingGroup: {\n label: t(`${prefix}.packingInformation.packingGroup.label`),\n placeholder: t(`${prefix}.packingInformation.packingGroup.placeholder`),\n optionalLabel: \"\",\n noResultsMessage: t(`${prefix}.packingInformation.noResultsMessage`),\n dataErrorMessage: \"\",\n errorMessage: t(`${prefix}.packingInformation.errorMessage.packingGroup`),\n packingGroupTooltipText: t(`${prefix}.packingInformation.commodityPackingGroupTooltipText`),\n options: []\n },\n packingQuantityType: {\n label: t(`${prefix}.packingInformation.packQuantityType.label`),\n placeholder: t(`${prefix}.packingInformation.packQuantityType.placeholder`),\n optionalLabel: t(`${prefix}.packingInformation.packQuantityType.optionalLabel`),\n noResultsMessage: t(`${prefix}.packingInformation.noResultsMessage`),\n dataErrorMessage: \"\",\n errorMessage: \"\",\n options: constants.packingQuantityTypeOptions\n },\n errorMessage: {\n quantity: t(`${prefix}.packingInformation.errorMessage.quantity`),\n max: t(`${prefix}.packingInformation.errorMessage.max`),\n min: t(`${prefix}.packingInformation.errorMessage.min`),\n innerMin: t(`${prefix}.packingInformation.errorMessage.innerMin`)\n }\n })\n};\n\n/* Weights and measures */\nexport const weightsMeasuresInformation = {\n labels: (t: Function) => ({\n header: t(`${prefix}.weightsMeasuresInformation.header`),\n grossWeight: {\n label: t(`${prefix}.weightsMeasuresInformation.grossWeight.label`),\n placeholder: t(`${prefix}.weightsMeasuresInformation.grossWeight.placeholder`)\n },\n netWeight: {\n label: t(`${prefix}.weightsMeasuresInformation.netWeight.label`),\n placeholder: t(`${prefix}.weightsMeasuresInformation.netWeight.placeholder`)\n },\n netExplosiveContent: {\n label: t(`${prefix}.weightsMeasuresInformation.netExplosiveContent.label`),\n placeholder: t(`${prefix}.weightsMeasuresInformation.netExplosiveContent.placeholder`)\n },\n volume: {\n label: t(`${prefix}.weightsMeasuresInformation.volume.label`),\n placeholder: t(`${prefix}.weightsMeasuresInformation.volume.placeholder`)\n },\n errorMessage: {\n grossWeight: t(`${prefix}.weightsMeasuresInformation.errorMessage.grossWeight`),\n netWeight: t(`${prefix}.weightsMeasuresInformation.errorMessage.netWeight`),\n netExplosiveContent: t(`${prefix}.weightsMeasuresInformation.errorMessage.netExplosiveContent`),\n volume: t(`${prefix}.weightsMeasuresInformation.errorMessage.volume`),\n maxLimit: {\n netWeight: t(`${prefix}.weightsMeasuresInformation.errorMessage.maxLimit.netWeight`),\n netExplosiveContent: t(`${prefix}.weightsMeasuresInformation.errorMessage.maxLimit.netExplosiveContent`)\n },\n weightsPattern: t(`${prefix}.weightsMeasuresInformation.errorMessage.weightsPattern`),\n minLimit: t(`${prefix}.weightsMeasuresInformation.errorMessage.minLimit`)\n },\n weightSymbolMetric: t(`${prefix}.weights.symbol.metric`),\n weightSymbolImperial: t(`${prefix}.weights.symbol.imperial`),\n measureSymbolMetric: t(`${prefix}.measures.symbol.metric`),\n measureSymbolImperial: t(`${prefix}.measures.symbol.imperial`)\n })\n};\n\n/* Additional Details */\nexport const additionalInformation = {\n labels: (t: Function) => ({\n header: t(`${prefix}.additionalInformation.header`),\n flashPoint: {\n label: t(`${prefix}.additionalInformation.flashPoint.label`),\n placeholder: t(`${prefix}.additionalInformation.flashPoint.placeholder`)\n },\n sadtInput: {\n label: t(`${prefix}.additionalInformation.sadt.label`),\n placeholder: t(`${prefix}.additionalInformation.sadt.placeholder`)\n },\n controlTemperature: {\n label: t(`${prefix}.additionalInformation.controlTemperature.label`),\n placeholder: t(`${prefix}.additionalInformation.controlTemperature.placeholder`)\n },\n emergencyTemperature: {\n label: t(`${prefix}.additionalInformation.emergencyTemperature.label`),\n placeholder: t(`${prefix}.additionalInformation.emergencyTemperature.placeholder`)\n },\n emergencyContact: {\n label: t(`${prefix}.additionalInformation.emergencyContact.label`),\n placeholder: t(`${prefix}.additionalInformation.emergencyContact.placeholder`)\n },\n countryCode: {\n label: t(`${prefix}.additionalInformation.countryCode.label`),\n placeholder: t(`${prefix}.additionalInformation.countryCode.placeholder`)\n },\n contactNumber: {\n placeholder: t(`${prefix}.additionalInformation.contactNumber.placeholder`)\n },\n errorMessage: {\n flashPoint: t(`${prefix}.additionalInformation.errorMessage.flashPoint`),\n sadt: t(`${prefix}.additionalInformation.errorMessage.sadt`),\n controlTemperature: t(`${prefix}.additionalInformation.errorMessage.controlTemperature`),\n emergencyTemperature: t(`${prefix}.additionalInformation.errorMessage.emergencyTemperature`),\n emergencyContact: t(`${prefix}.additionalInformation.errorMessage.emergencyContact`),\n countryCode: t(`${prefix}.additionalInformation.errorMessage.countryCode`),\n countryCodeFormat: t(`${prefix}.additionalInformation.errorMessage.countryCodeFormat`),\n contactNumber: t(`${prefix}.additionalInformation.errorMessage.contactNumber`),\n contactNumberFormat: t(`${prefix}.additionalInformation.errorMessage.contactNumberFormat`),\n maxLimit: t(`${prefix}.additionalInformation.errorMessage.maxLimit`),\n invalidInput: t(`${prefix}.additionalInformation.errorMessage.invalidInput`),\n invalidTemperatureFormat: t(`${prefix}.additionalInformation.errorMessage.invalidTemperatureFormat`)\n },\n temperatureSymbolCelsius: t(`${prefix}.temperature.symbol.celsius`),\n temperatureSymbolFahrenheit: t(`${prefix}.temperature.symbol.fahrenheit`)\n })\n};\n","import { constants } from \"@/lib/CONSTANTS\";\nimport { UnitsBrDgResponse } from \"../../common/utils/types/od3cpTypes\";\ninterface DefaultSetting {\n quoteReferenceNumber: string | null;\n cargoWeight: number | null;\n cargoLength: number | null;\n cargoWidth: number | null;\n cargoHeight: number | null;\n}\n\ninterface OverSizedCargo {\n checked: boolean;\n disabled: boolean;\n}\n\ninterface ContainerSetting {\n index: number;\n typeIndex: number;\n typeName: string;\n settings: DefaultSetting;\n}\n\ninterface OogPayload extends DefaultSetting {\n containerRef: string;\n}\ninterface ContainerSelect {\n containerType: string | null;\n quantity: number;\n overSizedCargo: OverSizedCargo;\n}\n\nexport interface OogDataFromBookingRequest {\n containerInstanceIds: Array;\n quoteReferenceNumber: string;\n cargoHeight: Array;\n cargoLength: Array;\n cargoWidth: Array;\n cargoWeight: Array;\n}\n\ninterface BookingDataForOog {\n oogData: OogDataFromBookingRequest;\n typeIndex: number;\n quantity: string;\n isoCode: string;\n measurementUnitPreference: string;\n}\n\nexport interface BookingDataForOogWithType {\n oogData: Array;\n typeIndex: number;\n}\n\nexport const defaultSettings: DefaultSetting = {\n quoteReferenceNumber: null,\n cargoWeight: null,\n cargoLength: null,\n cargoWidth: null,\n cargoHeight: null\n};\n\nconst generateOogPayload = (setting: DefaultSetting, containerRef: string): OogPayload => ({\n containerRef,\n quoteReferenceNumber: setting.quoteReferenceNumber,\n cargoWeight: Number(setting.cargoWeight),\n cargoLength: Number(setting.cargoLength),\n cargoWidth: Number(setting.cargoWidth),\n cargoHeight: Number(setting.cargoHeight)\n});\n\n/**\n * @description Generates basic container setting structure for oog\n * @param {number} index - Container Quantity\n * @param {number} typeIndex - Container Level i.e 0, 1 or 2\n * @param {string} typeName - Container Name\n * @param {DefaultSetting} settings - If passed this settings will be applied, else default settings\n * @returns {ContainerSetting}\n */\nexport const generateContainerSetting = (\n index: number,\n typeIndex: number,\n typeName: string,\n settings: DefaultSetting\n): ContainerSetting => ({\n typeIndex,\n index,\n typeName,\n settings: settings && Object.keys(settings).length ? { ...settings } : { ...defaultSettings }\n});\n\n/**\n * @description This method helps to filter out all the settings but not settings that matches typeIndex\n * @param {Array} settings\n * @param {number} typeIndex\n * @returns {Array}\n */\nexport const filterContainerSettingsOtherThanType = (\n settings: Array,\n typeIndex: number\n): Array => (settings || []).filter(setting => setting.typeIndex !== typeIndex);\n\n/**\n * @description This method returns oog payload for departures\n * @param {Object} rootGetters\n * @param {number} index\n * @param {number} quantity\n * @param {Array} containerRefs\n * @returns {Array}\n */\nexport const getOogPayload = (\n rootGetters: any,\n index: number,\n quantity: number,\n containerRefs: Array\n): Array => {\n const containerSettings = rootGetters[\"oogSettingsData/getOogContainerSettings\"](index);\n const isSameSettings = rootGetters[\"oogSettingsData/getIsSameSettingsForContainerType\"](index);\n if (isSameSettings) {\n // for same settings, only one setting will be present in store for a container type, so safe to access with [0]\n return Array.from({ length: quantity }, (_, i: number) =>\n generateOogPayload(containerSettings[0].settings, containerRefs[i])\n );\n }\n return containerSettings.map((container: ContainerSetting, i: number) =>\n generateOogPayload(container.settings, containerRefs[i])\n );\n};\n\n/**\n * @description Helper method to decide whether to keep or reset the oog setting state based on the typeIndex\n * @param {Array} containerSelects\n * @param {number} typeIndex\n * @returns {boolean}\n */\nexport const checkIfStateIrrelevant = (typeIndex: number, containerSelects: Array): boolean => {\n const containerSelect = containerSelects[typeIndex];\n return !containerSelect || !containerSelect?.overSizedCargo?.checked || !containerSelect?.quantity;\n};\n\n/**\n * @description Get the formatted heading for common dg and oog cards\n * @param {string} containerType\n * @param {number} quantity\n * @returns {string}\n */\nexport const getFormattedSameContainerType = (containerType: string, quantity: number): string => {\n return `${quantity} X ${containerType}`;\n};\n\nexport const generateOogSettingFromBookingData = (bookingData: any): DefaultSetting => {\n const convertWeightUnit =\n bookingData.measurementUnitPreference === constants.weightUnits.kgs\n ? constants.weightUnits.kgs\n : constants.weightUnits.lbs;\n const convertDimensionUnit =\n bookingData.measurementUnitPreference === constants.weightUnits.kgs\n ? constants.dimensionUnits.cm\n : constants.dimensionUnits.inches;\n return {\n quoteReferenceNumber: bookingData.oogData.quoteReferenceNumber,\n cargoWeight:\n bookingData.oogData.cargoWeight?.find((s: UnitsBrDgResponse) => s.unit === convertWeightUnit)?.value ?? 0,\n cargoLength:\n bookingData.oogData.cargoLength?.find((s: UnitsBrDgResponse) => s.unit === convertDimensionUnit)?.value ?? 0,\n cargoWidth:\n bookingData.oogData.cargoWidth?.find((s: UnitsBrDgResponse) => s.unit === convertDimensionUnit)?.value ?? 0,\n cargoHeight:\n bookingData.oogData.cargoHeight?.find((s: UnitsBrDgResponse) => s.unit === convertDimensionUnit)?.value ?? 0\n };\n};\nexport const generateBookingDataForOog = (\n container: any,\n typeIndex: number,\n measurementUnitPreference: string,\n containerInstanceId: string\n): BookingDataForOog => {\n return {\n oogData: container?.outOfGauge?.find((oog: OogDataFromBookingRequest) =>\n oog.containerInstanceIds.includes(containerInstanceId)\n ),\n typeIndex,\n quantity: container?.quantity,\n isoCode: container?.isoCode,\n measurementUnitPreference\n };\n};\n\nexport const generateBookingDataForOogWithType = (\n container: any,\n typeIndex: number,\n measurementUnitPreference: string\n): BookingDataForOogWithType => {\n const oogData: Array = [];\n container.containerInstanceIds.forEach((instanceId: string) => {\n const currentOogData =\n container?.outOfGauge?.find((oog: OogDataFromBookingRequest) => oog.containerInstanceIds.includes(instanceId)) ??\n [];\n const outOfGaugeDetailsWithUnit = { oogData: currentOogData, measurementUnitPreference };\n const mappedOogSetting: DefaultSetting = generateOogSettingFromBookingData(outOfGaugeDetailsWithUnit);\n oogData.push(mappedOogSetting);\n });\n return { oogData, typeIndex };\n};\n\nexport const generateOutOfGaugeDataWithType = (\n rootGetters: any,\n index: number,\n quantity: number\n): BookingDataForOogWithType => {\n const containerSettings = rootGetters[\"oogSettingsData/getOogContainerSettings\"](index);\n const isSameSettings = rootGetters[\"oogSettingsData/getIsSameSettingsForContainerType\"](index);\n if (isSameSettings) {\n // for same settings, only one setting will be present in store for a container type, so safe to access with [0]\n const mappedSameOogSetting: Array = Array.from(\n { length: quantity },\n () => containerSettings[0].settings\n );\n return {\n oogData: mappedSameOogSetting,\n typeIndex: index\n };\n }\n const mappedOogSetting = containerSettings.map((container: ContainerSetting) => container.settings);\n return { oogData: mappedOogSetting, typeIndex: index };\n};\n","/**\n * An interface for config for VAS types\n */\ninterface VasTypeConfig {\n showError?: boolean;\n isRadioApplicable?: boolean;\n}\n/**\n * An enum to hold the VAS types\n */\nexport enum VAS_TYPES {\n RADIO_OPTIONS_MANDATORY = \"radioOptionsMandatory\",\n RADIO_OPTIONS_OPTIONAL = \"radioOptionsOptional\"\n}\n/**\n * Map containing a list of fields related to a vas type\n */\nexport const VAS_TYPE_FIELDS = new Map([\n [\n VAS_TYPES.RADIO_OPTIONS_MANDATORY,\n {\n isRadioApplicable: true,\n showError: true\n }\n ],\n [\n VAS_TYPES.RADIO_OPTIONS_OPTIONAL,\n {\n isRadioApplicable: true,\n showError: false\n }\n ]\n]);\n\n/**\n * An interface for VAS config\n */\ninterface VasConfig extends VasTypeConfig {\n icon: string;\n layoutClass?: string;\n}\n\n/**\n * An enum to hold the VASes\n */\nexport enum VAS_ITEMS {\n PQC = \"PQC\",\n VGM = \"VGM\",\n IWO = \"IWO\",\n CPP = \"CPP\",\n CNS = \"CNS\",\n TLE = \"TLE\",\n CP2 = \"CP2\"\n}\n\n/**\n * Map containing a list of config fields related to a vas\n */\nexport const VAS_FIELDS = new Map([\n [\n VAS_ITEMS.VGM,\n {\n icon: \"scale\"\n }\n ],\n [\n VAS_ITEMS.PQC,\n {\n icon: \"container-link\",\n layoutClass: \"layout-3\",\n ...VAS_TYPE_FIELDS.get(VAS_TYPES.RADIO_OPTIONS_MANDATORY)\n }\n ],\n [\n VAS_ITEMS.IWO,\n {\n icon: \"scale-balance\"\n }\n ],\n [\n VAS_ITEMS.CPP,\n {\n icon: \"container-hook\"\n }\n ],\n [\n VAS_ITEMS.CNS,\n {\n icon: \"container-out\"\n }\n ],\n [\n VAS_ITEMS.TLE,\n {\n icon: \"\"\n }\n ],\n [\n VAS_ITEMS.CP2,\n {\n icon: \"Captain Peter icon\"\n }\n ]\n]);\n","import { getFeatureValue, isFeatureEnabled } from \"@/common/utils/generic/featureFlagService\";\nimport { VasDetails, CUSTOM_SURCHARGE_PRODUCT_IDS } from \"@/common/utils/types/bookingOptions/vasDetailsTypes\";\nimport { constants } from \"@/lib/CONSTANTS\";\nimport Vue from \"vue\";\nimport { deepClone } from \"@/common/utils/generic/deepClone\";\nimport { VAS_FIELDS } from \"@/lib/additional-details/vasConfig\";\n\n/**\n * An interface for customs VAS product from API as custom surcharge\n */\ninterface CustomSurcharge {\n productId: string;\n productGroupId?: string;\n productGroupName?: string;\n productName: string;\n productDescription: string;\n preContractedCustomer: boolean;\n totalPrice: {\n amount: number;\n currencyIsoCode: string;\n };\n references?: [\n {\n reference: string;\n referenceType: {\n referenceTypeName: string;\n };\n }\n ];\n}\n\n/**\n * An interface for transformed custom surcharge that will be used in UI\n */\ninterface CustomSurchargeDTO {\n rateId: string;\n vasName: string | undefined;\n productName: string;\n productId: string;\n productGroupId?: string;\n productGroupName?: string;\n amountInRequestCurrency: string;\n requestedCurrency: string;\n amount: string;\n currency: string;\n isAdditionalInfoRequired: boolean;\n productDescription: string | undefined;\n useProductName: boolean;\n useProductDescription: boolean;\n isQuantityRequired: boolean;\n customerSelection: {\n isAdded: boolean;\n };\n disabled: boolean;\n isPartyApplicable: boolean;\n party: {\n selected: any;\n addedNew: any;\n role: partyRole | null;\n };\n type: string;\n previouslyUsedParty: null;\n preContractedCustomer: boolean;\n references?: [\n {\n reference: string;\n referenceType: {\n referenceTypeName: string;\n };\n }\n ];\n}\n\ninterface FormattedCustomsVas extends CustomSurchargeDTO {\n freightType: string;\n translatedName: string;\n}\n\n/**\n * @summary Return customs clearance VAS products.\n * @param {Object} vasDetails\n * @param {Object} getters\n * @returns {Array}\n */\nexport const getCustomsClearanceVas = (vasDetails: VasDetails, getters: any): Array => {\n const importFeatureEnabled = !!isFeatureEnabled(constants.featureFlags.importCustomsVas.name);\n return (vasDetails?.customSurcharges || [])\n .filter(\n vas =>\n vas.productGroupId === CUSTOM_SURCHARGE_PRODUCT_IDS.EXPORT_CLEARANCE ||\n (vas.productGroupId === CUSTOM_SURCHARGE_PRODUCT_IDS.IMPORT_CLEARANCE && importFeatureEnabled)\n )\n .map(vas => {\n const role = getters.getRoleLinkedToVas(vas.productGroupId);\n return {\n ...transformCustomsClearanceVas(vas, role),\n freightType: vas.productGroupId,\n translatedName: Vue.prototype\n .$t(`details.component.valueAddedServices.service.${vas.productGroupId?.toLowerCase()}.title`)\n .trim()\n };\n });\n};\n/**\n * @summary To get transformed customs clearance vases\n * @param {Object} vas\n * @param {partyRole} role\n * @returns {Object}\n */\nexport const transformCustomsClearanceVas = (vas: CustomSurcharge, role: partyRole): CustomSurchargeDTO => {\n const shouldUseFromApi =\n !vas.preContractedCustomer && !!isFeatureEnabled(constants.featureFlags.exportCustomsVasWording.name);\n\n return {\n rateId: vas.productId,\n vasName: vas.productGroupId, //This will be used to uniquely identify this VAS and it's related items e.g parties\n productId: vas.productId,\n productGroupId: vas.productGroupId,\n productGroupName: vas.productGroupName,\n productName: vas.productName,\n amountInRequestCurrency: vas.totalPrice?.amount?.toString(),\n requestedCurrency: vas.totalPrice?.currencyIsoCode,\n amount: vas.totalPrice?.amount?.toString(),\n currency: vas.totalPrice?.currencyIsoCode,\n isAdditionalInfoRequired: false,\n productDescription: vas.productDescription,\n useProductName: shouldUseFromApi,\n useProductDescription: shouldUseFromApi,\n isQuantityRequired: false,\n customerSelection: {\n isAdded: false\n },\n disabled: false,\n isPartyApplicable: true,\n party: {\n role: role,\n selected: null,\n addedNew: null\n },\n type: \"customsVas\",\n previouslyUsedParty: null,\n preContractedCustomer: Boolean(vas.preContractedCustomer),\n references: vas.references\n };\n};\n\n/**\n * An interface for custom surcharge that will be used for /additionalDetails payload\n */\ninterface CustomSurchargePayload {\n productName: string;\n productId: string;\n productGroupId: string;\n productGroupName: string;\n totalPrice: {\n amount: number;\n currencyIsoCode: string;\n };\n}\n\n/**\n * @summary Mapping custom vas for addition detail payload\n * @param {Object} customVas\n * @returns {Object}\n */\nexport const mapCustomSurcharges = (\n customVas: CustomSurchargeDTO,\n shouldGetOriginalCustomVas = false\n): CustomSurchargePayload | CustomSurcharge => {\n return {\n productName: customVas.productName,\n productId: customVas.productId,\n productGroupId: customVas.productGroupId as string,\n productGroupName: customVas.productGroupName as string,\n ...(shouldGetOriginalCustomVas && {\n preContractedCustomer: customVas.preContractedCustomer,\n productDescription: customVas.productDescription\n }),\n totalPrice: {\n amount: Number(customVas.amount),\n currencyIsoCode: customVas.currency\n },\n references: customVas.references\n };\n};\n\n//TODO: maybe rename it\ninterface partyRole {\n code: string;\n name: string;\n scope?: string;\n}\n\n/**\n * An interface for action item for VAS notification\n */\ninterface actionItem {\n type: string;\n icon: string;\n key: string;\n style?: string;\n dataTestId?: string;\n}\n\n/**\n * An interface for featured VAS\n */\ninterface featured {\n isFeatured: boolean;\n isNew: boolean;\n key: string;\n}\n\n/**\n * An interface for status info\n */\ninterface statusInfo {\n type: string;\n name: string;\n serviceChecked: boolean;\n code: string;\n description: string;\n}\n\n/**\n * @summary To get party role for a vas\n * @param {string} vasName\n * @returns {Object}\n */\nexport const getRole = (vasName?: string): partyRole | null => {\n if (!vasName) return null;\n const partyType = VAS_PARTY_MAPPER.get(vasName);\n if (partyType === undefined) return null;\n return PARTY_FIELDS.get(partyType) || null;\n};\n\n/**\n * @summary Checks if party is applicable for VAS\n * @param {string} roleCode\n * @returns {Boolean}\n */\nexport const isPartyApplicableForVas = (roleCode: string): boolean => {\n return Array.from(VAS_PARTY_MAPPER.values()).some(value => {\n return PARTY_FIELDS.get(value)?.code === roleCode;\n });\n};\n\n/**\n * @summary To get status info for Custom vas\n * @param {object} config\n * @returns {object}\n */\nexport const getStatusInfoForVas = (config: {\n isPreContractedCustomerForExportCustoms: boolean;\n isPreContractedCustomerForImportCustoms: boolean;\n statusInfos: statusInfo[];\n}): statusInfo[] | null => {\n const customsStatusInfo: statusInfo[] = [];\n if (config?.isPreContractedCustomerForExportCustoms) {\n const statusInfo = VAS_STATUS_INFO_MAPPER.get(\"preContractedExportCustomsClearance\");\n if (statusInfo) customsStatusInfo.push(statusInfo);\n }\n if (config?.isPreContractedCustomerForImportCustoms) {\n const statusInfo = VAS_STATUS_INFO_MAPPER.get(\"preContractedImportCustomsClearance\");\n if (statusInfo) customsStatusInfo.push(statusInfo);\n }\n if (customsStatusInfo.length > 0) return customsStatusInfo;\n else if (config?.statusInfos?.length > 0) return config.statusInfos;\n return [];\n};\n\n/**\n * An enum to hold the parties\n */\nenum PARTY_TYPES {\n SHIPPER,\n CONSIGNEE\n}\n\n/**\n * Map containing a list of fields related to a party\n * Note: The party scope we will get from API\n */\nconst PARTY_FIELDS = new Map([\n [\n PARTY_TYPES.SHIPPER,\n {\n code: \"3\",\n name: \"Shipper\"\n }\n ],\n [\n PARTY_TYPES.CONSIGNEE,\n {\n code: \"4\",\n name: \"Consignee\"\n }\n ]\n]);\n\n/**\n * Map containing VAS and related party\n */\nconst VAS_PARTY_MAPPER = new Map([\n [CUSTOM_SURCHARGE_PRODUCT_IDS.EXPORT_CLEARANCE, PARTY_TYPES.SHIPPER],\n [CUSTOM_SURCHARGE_PRODUCT_IDS.IMPORT_CLEARANCE, PARTY_TYPES.CONSIGNEE]\n]);\n\n/**\n * An enum to hold the VAS action types\n */\nexport enum VAS_ACTION_TYPES {\n ADD = \"add\",\n CONTRACT = \"contract\",\n REQUEST = \"request\"\n}\n\n/**\n * An enum to hold the VAS page level notification types\n */\nexport enum VAS_PAGE_LEVEL_NOTIFICATION_TYPES {\n GATED_IN = \"gatedIn\",\n SERVICE_DOWN = \"serviceDown\"\n}\n\n/**\n * An enum to hold the VAS level notification types\n */\nexport enum VAS_LEVEL_NOTIFICATION_TYPES {\n INACTIVE = \"inactive\",\n CONTAINER_PICKED_UP = \"containerPickedUp\",\n PARTIAL_INACTIVE_FREE_TIME = \"partialInactiveFreeTime\",\n PARTIAL_INACTIVE_VALUE_PROTECT = \"partialInactiveValueProtect\",\n INACTIVE_FREE_TIME_AMEND = \"inactiveFreeTimeAmend\",\n PARTIAL_INACTIVE_ECO_DELIVERY = \"partialInactiveEcoDelivery\"\n}\n\n/**\n * An enum to hold the VAS state types\n */\nexport enum VAS_STATE_TYPES {\n NEW = \"NEW\",\n AMEND = \"AMEND\",\n INACTIVE = \"INACTIVE\"\n}\n\n/**\n * Map containing a list of fields related to a vas notification\n */\nexport const VAS_NOTIFICATION_FIELDS = new Map([\n [\n VAS_ACTION_TYPES.ADD,\n {\n type: \"success\",\n icon: \"check-circle\",\n key: \"added\",\n style: \"corner-notification\"\n }\n ],\n [\n VAS_ACTION_TYPES.CONTRACT,\n {\n type: \"warning\",\n icon: \"exclamation-circle\",\n key: \"preContractMsg\",\n style: \"full-notification\"\n }\n ],\n [\n VAS_ACTION_TYPES.REQUEST,\n {\n type: \"success\",\n icon: \"check-circle\",\n key: \"requested\",\n style: \"corner-notification\"\n }\n ]\n]);\n\n/**\n * Map containing a list of fields related to a vas level notification\n */\nexport const VAS_LEVEL_NOTIFICATION_FIELDS = new Map([\n [\n VAS_LEVEL_NOTIFICATION_TYPES.INACTIVE,\n {\n type: \"warning\",\n icon: \"exclamation-triangle\",\n key: \"inactiveVasNotification\",\n dataTestId: \"inactive-vas-notification\"\n }\n ],\n [\n VAS_LEVEL_NOTIFICATION_TYPES.CONTAINER_PICKED_UP,\n {\n type: \"info\",\n icon: \"info-circle\",\n key: \"containerPickedUpNotification\",\n dataTestId: \"container-picked-up-vas-notification\"\n }\n ],\n [\n VAS_LEVEL_NOTIFICATION_TYPES.PARTIAL_INACTIVE_FREE_TIME,\n {\n type: \"warning\",\n icon: \"exclamation-triangle\",\n key: \"partialInactiveVasNotificationFreeTime\",\n dataTestId: \"partial-inactive-vas-notification-free-time\"\n }\n ],\n [\n VAS_LEVEL_NOTIFICATION_TYPES.PARTIAL_INACTIVE_VALUE_PROTECT,\n {\n type: \"warning\",\n icon: \"exclamation-triangle\",\n key: \"partialInactiveVasNotificationValueProtect\",\n dataTestId: \"partial-inactive-vas-notification-value-protect\"\n }\n ],\n [\n VAS_LEVEL_NOTIFICATION_TYPES.INACTIVE_FREE_TIME_AMEND,\n {\n type: \"info\",\n icon: \"info-circle\",\n key: \"inactiveFreeTimeAmend\",\n dataTestId: \"inactive-free-time-amend\"\n }\n ],\n [\n VAS_LEVEL_NOTIFICATION_TYPES.PARTIAL_INACTIVE_ECO_DELIVERY,\n {\n type: \"warning\",\n icon: \"exclamation-triangle\",\n key: \"partialInactiveVasNotificationEcoDelivery\",\n dataTestId: \"partial-inactive-vas-notification-eco-delivery\"\n }\n ]\n]);\n\n/**\n * Map containing a list of fields related to a page level notification\n */\nexport const VAS_PAGE_LEVEL_NOTIFICATION_FIELDS = new Map([\n [\n VAS_PAGE_LEVEL_NOTIFICATION_TYPES.GATED_IN,\n {\n type: \"info\",\n icon: \"info-circle\",\n key: \"gatedInInfoNotification\",\n dataTestId: \"gatedIn-Info-notification\"\n }\n ],\n [\n VAS_PAGE_LEVEL_NOTIFICATION_TYPES.SERVICE_DOWN,\n {\n type: \"error\",\n icon: \"times-circle\",\n key: \"loadingError\",\n dataTestId: \"vas-error-notification\"\n }\n ]\n]);\n\n/**\n * Map containing status info related to a VAS\n */\nexport const VAS_STATUS_INFO_MAPPER = new Map([\n [\n \"preContractedExportCustomsClearance\",\n {\n type: \"Info\",\n name: \"Customs\",\n serviceChecked: true,\n code: \"VAS_I_1\",\n description: \"Customer has a pre-contracted export agreement with My Customs\"\n }\n ],\n [\n \"preContractedImportCustomsClearance\",\n {\n type: \"Info\",\n name: \"Customs\",\n serviceChecked: true,\n code: \"VAS_I_2\",\n description: \"Customer has a pre-contracted import agreement with My Customs\"\n }\n ]\n]);\n\nexport const isVasBeforeDetails = (isAmendBooking: boolean): boolean => {\n return (\n (!isAmendBooking &&\n getFeatureValue(constants.featureFlags.vasOnSeparatePage.name) &&\n getFeatureValue(constants.featureFlags.vasBeforeDetails.name)) ||\n isFeatureEnabled(constants.featureFlags.vasOnAmend.name)\n );\n};\n/**\n * An interface for container grade options for PQC Vas\n */\ninterface containerGradeOptions {\n id: string;\n label: string;\n value: string;\n}\n/**\n * An enum to hold the container grade options for PQC Vas\n */\nenum CONTAINER_GRADE_OPTIONS {\n FOOD_GRADE = \"foodGrade\",\n FLEXI_BAG = \"flexiBag\"\n}\n/**\n * @summary Generates radio button options for container grade for PQC Vas\n * @param {Function} t - translation function\n * @returns {Array<{id: string, label: string, value: string}>}\n */\nexport const getContainerGradeOptions = (t: Function): Array<{ id: string; label: string; value: string }> => {\n const langKey = `details.component.valueAddedServices.service.pqc.`;\n const CONTAINER_GRADE_FIELDS = new Map([\n [\n CONTAINER_GRADE_OPTIONS.FOOD_GRADE,\n {\n id: CONTAINER_GRADE_OPTIONS.FOOD_GRADE,\n label: t(`${langKey}foodGrade`),\n value: \"Grade M\"\n }\n ],\n [\n CONTAINER_GRADE_OPTIONS.FLEXI_BAG,\n {\n id: CONTAINER_GRADE_OPTIONS.FLEXI_BAG,\n label: t(`${langKey}flexiBags`),\n value: \"Grade S\"\n }\n ]\n ]);\n return [...CONTAINER_GRADE_FIELDS.values()];\n};\n\n/**\n * @summary Generates vas config\n * @param {Object} vas - the vas\n * @returns {Object}\n */\nexport const getVasConfig = (vas: any) => {\n if (vas?.freightType === constants.vas.pqc) {\n return {\n key: \"containerGrade\",\n containerGrade: null,\n isErrorApplicable: true,\n containerGradeError: false\n };\n }\n if (vas?.isQuantityRequired) {\n return {\n quantityKey: `${vas.freightType.toLowerCase()}Quantity`,\n isQuantityErrorApplicable: vas?.isEditable !== false,\n isMandatoryQuantity: vas.freightType === constants.vas.hec\n };\n }\n return null;\n};\n\n/**\n * @summary Generates decorated surcharges\n * @param {Array} vases - list of vases\n * @param {Object} config\n * @returns {Array}\n */\nexport const decorateSurcharges = (vases: any[], config: any) => {\n const shouldShowValues = config.isAmendBooking && config.isVasOnAmend;\n return (vases || []).map(item => {\n const isVasAdded = !!(shouldShowValues && getVasState(item.state).isAmend);\n const vasConfig = VAS_FIELDS.get(item.freightType.toUpperCase()) || {};\n item.id = item.freightType.toLowerCase();\n item.disabled = isVasAdded;\n item.invalid = false;\n item.customerSelection = {\n value: config.containerQuantity,\n isAdded: isVasAdded,\n ...(shouldShowValues && {\n value: item.containerQuantity ?? 1\n }),\n ...(config.isVasOnAmend && {\n isEditable: item.isEditable ?? true\n }),\n isLinkClicked: false\n };\n item.customerSelection.originalValue = item.customerSelection.value;\n //Add additional user input fields if the vas requires them\n if (item.isQuantityRequired) {\n // This is quantity per container e.g HEC and will only applicable if isQuantityRequired is true\n const quantity = item?.quantity || 1;\n const amendStateQuantity = item?.quantity ?? null;\n item.customerSelection.quantityPerContainer = isVasAdded ? amendStateQuantity : quantity;\n item.customerSelection.originalQtyPerContainer = item.customerSelection.quantityPerContainer;\n }\n if (item.isAdditionalInfoRequired) {\n item.customerSelection.additionalDetails = \"\";\n }\n // All common props for vas can be added here. e.g reset can be applicable to all vases\n item.shouldShowReset = false;\n if (getVasConfig(item)) {\n item.customerSelection = {\n ...item.customerSelection,\n ...getVasConfig(item)\n };\n }\n return { ...item, ...vasConfig };\n });\n};\n\n/**\n * @summary Formats the vas to be saved in the store and displayed in the UI\n * @param {VasDetails} vasDetails - list of vases\n * @param {Object} getters\n * @param {Boolean} isMLLBooking\n * @param {Number} containerQuantity\n * @returns {Object}\n */\nexport const formatVas = (\n vasDetails: VasDetails,\n getters: any,\n isMLLBooking: boolean,\n containerQuantity: number,\n config: any\n): object => {\n const permittedSurcharges = new Map(\n getters.getNormalAllowedSurcharges(isMLLBooking, { isInactiveCp2: isInactiveCp2(vasDetails) })\n );\n const isNoVasesPriceAvailable = vasDetails?.isNoVasesPriceAvailable;\n const isValueProtectAdded = false;\n const isEcoDeliveryAdded = false;\n const isAmendBooking = config?.isAmendBooking ?? false;\n const isVasOnAmend = config?.isVasOnAmend ?? false;\n\n //Create array containing unsupported vases\n const unsupportedVases = (vasDetails?.surcharges || []).filter(surcharge => !surcharge.isSupportedVas) || [];\n\n // Create array containing VAS options without Value Protect and Eco Delivery (VP and EC vases are non-standard & handled separately)\n const items = (vasDetails?.surcharges || []).filter(\n surcharge =>\n ![...constants.valueAddedServices.valueProtect.codes, ...constants.valueAddedServices.ecoDelivery.codes].includes(\n surcharge.freightType.toLowerCase()\n )\n );\n\n //API may return surcharges which are not supported. filter them out.\n const allowedSurcharges = items.filter(item => permittedSurcharges.get(item.freightType));\n\n //Add user editable fields to each surcharge and config.\n const surchargesWithFields = decorateSurcharges(deepClone(allowedSurcharges), {\n containerQuantity,\n isAmendBooking,\n isVasOnAmend\n });\n\n // Add human readable surcharge names to each vas\n const surcharges = surchargesWithFields.map(function(item) {\n item.translatedName = Vue.prototype\n .$t(`details.component.valueAddedServices.service.${item.freightType.toLowerCase()}.title`)\n .trim();\n return item;\n });\n\n // Sort them alphabetically\n surcharges.sort((a, b) => a.translatedName.localeCompare(b.translatedName));\n\n // Create array containing only Value Protect VAS options\n const valueProtect = (vasDetails?.surcharges || []).filter(surcharge =>\n constants.valueAddedServices.valueProtect.codes.includes(surcharge.freightType.toLowerCase())\n );\n\n // Create array containing only Eco Delivery VAS options\n const ecoDelivery = isFeatureEnabled(constants.featureFlags.vasEcoDelivery.name)\n ? (vasDetails?.surcharges || []).filter(surcharge =>\n constants.valueAddedServices.ecoDelivery.codes.includes(surcharge.freightType.toLowerCase())\n )\n : [];\n\n return {\n surcharges,\n unsupportedVases,\n valueProtect,\n ecoDelivery,\n isNoVasesPriceAvailable,\n isValueProtectAdded,\n isEcoDeliveryAdded\n };\n};\n\n/**\n * @summary Gets the vas state status\n * @param {String} stateType - The state of vas\n * @returns {Object}\n */\nexport const getVasState = (stateType?: string): { isAmend: boolean; isInactive: boolean; isNew: boolean } => {\n return {\n isAmend: stateType === VAS_STATE_TYPES.AMEND,\n isInactive: stateType === VAS_STATE_TYPES.INACTIVE,\n isNew: stateType === VAS_STATE_TYPES.NEW\n };\n};\n\nexport const isInactiveCp2 = (vasDetails: VasDetails): boolean => {\n const cp2 = vasDetails?.surcharges?.find(surcharge => surcharge.freightType === constants.vas.captainPeter);\n return getVasState(cp2?.state).isInactive;\n};\n","import { formatCurrency } from \"@maersk/shared-js\";\n\nexport function currencyFormat(amount, currency) {\n if (currency && currency !== \"\" && amount != null && amount !== undefined) {\n return formatCurrency(amount, currency);\n }\n return amount;\n}\n","import Vue from \"vue\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\n/**\n * @description Checks if feature is enabled Local, LD or Sitecore\n * Note - once LD is tested in prod, the LD enabled check from Sitecore should be removed\n * @param {String} feature\n * @returns {Boolean}\n */\nexport function isFeatureEnabled(feature) {\n return getFeatureValueForTesting(feature) || getFeatureFlagValue(feature);\n}\n\n/**\n * Returns the value of a feature flag.\n * @param {string} feature\n * @returns {*} value of feature flag\n */\nexport function getFeatureValue(feature) {\n const testingValue = getFeatureValueForTesting(feature);\n if (testingValue === null) {\n return getFeatureFlagValue(feature);\n } else {\n return testingValue;\n }\n}\n\n/**\n * @description Checks if LD feature flag is enabled so that all the feature flags are feteched from LD\n * Note - once LD is enabled in Sitecore, feature flags from Sitecore would not be applicable anymore\n * @returns {Boolean}\n */\nexport function isLDEnabled() {\n return (\n isFeatureEnabledForTesting(constants.featureFlags.launchDarkly.name) ||\n getFeatureValueFromSiteCore(constants.featureFlags.launchDarkly.name)\n );\n}\n\n/**\n * @description Checks if feature flag is added in sitecore\n * @param {String} feature\n * @returns {Boolean}\n */\nexport function isFeatureFlagAddedInSiteCore(feature) {\n let value = Vue.prototype.$t(`${constants.featureFlagKeys.key}${feature}`);\n let parent = \"featureFlags.\";\n return value !== parent + feature;\n}\n\n/**\n * @description Checks if feature is enabled in sitecore\n * @param {String} feature\n * @returns {Boolean}\n */\nexport function getFeatureValueFromSiteCore(feature) {\n const flag = Vue.prototype.$t(`${constants.featureFlagKeys.key}${feature}`);\n return isFeatureFlagAddedInSiteCore(feature) && flag;\n}\n\n/**\n * @description Gets feature value from LD, site core and local as fall back\n * @param {String} feature\n * @returns {Object | Boolean | Array | String}\n */\nexport function getFeatureValueFromLD(feature) {\n if (Vue.prototype?.$featureFlags?.ready && constants.featureFlags[feature] !== undefined) {\n return Vue.prototype?.$featureFlags?.getFlag(feature, getFallback(feature)).value;\n }\n return isFeatureFlagAddedInSiteCore(feature)\n ? getFeatureValueFromSiteCore(feature)\n : constants.featureFlags[feature]?.fallback;\n}\n\n/**\n * @description Gets to decide whether to use local fall back or site core fallback value\n * @param {String} feature\n * @returns {Object | Boolean | Array | String}\n */\nfunction getFallback(feature) {\n if (constants.featureFlags[feature] === undefined) return false;\n return constants.featureFlags[feature]?.useLocalFallback === true || !isFeatureFlagAddedInSiteCore(feature)\n ? constants.featureFlags[feature].fallback\n : getFeatureValueFromSiteCore(feature);\n}\n\n/**\n * @description Checks if feature Flag is enabled in LD/Sitecore\n * @param {String} feature\n * @returns {Boolean}\n */\nexport function getFeatureFlagValue(feature) {\n return isLDEnabled() ? getFeatureValueFromLD(feature) : getFeatureValueFromSiteCore(feature);\n}\n\n/**\n * @description Checks if feature is enabled local for testing\n * @param {String} feature\n * @returns {Boolean}\n */\nexport function isFeatureEnabledForTesting(feature) {\n return Boolean(getFeatureValueForTesting(feature)) === true;\n}\n\n/**\n * Gets the value of the feature flag for testing\n * @param {string} feature\n * @returns {*} value of local feature flag\n */\nexport function getFeatureValueForTesting(feature) {\n return JSON.parse(localStorage.getItem(constants.featureFlagKeys.prefix + feature));\n}\n\n/**\n * @description Gets the feature which needs to send API-Version\n * @returns {String|undefined}\n */\nexport function getVersionApplicableFeatureEnabledForTesting() {\n return Object.keys(constants.featureFlags).find(feature => {\n return (\n constants.featureFlags[feature].isVersionApplicable &&\n (Boolean(JSON.parse(localStorage.getItem(constants.featureFlagKeys.prefix + feature))) === true ||\n isDefaultVersionRequiredForTesting(feature))\n );\n });\n}\n\n/**\n * @description Checks if defaultVersion is required for testing,\n * If defaultVersion > 0, and feature is enabled in sitecore,\n * then the api-verion header will have defaultVersion value\n * @param {String} feature\n * @returns {Boolean}\n */\nexport function isDefaultVersionRequiredForTesting(feature) {\n return constants.featureFlags[feature].defaultVersion > 0 && getFeatureFlagValue(feature);\n}\n\n/**\n * @description Gets the features list\n * @returns {Array}\n */\nexport const getFeatureList = () => {\n // Note: Vue.prototype.$t(`${constants.featureFlagKeys.key}${feature}`) will return the key itself if it does not find the key in sitecore\n // So keep sitecore and featureflags in constants in sync\n return Object.keys(constants.featureFlags)?.map(feature => {\n return {\n ...constants.featureFlags[feature],\n isFeatureEnabledLocally: !!getFeatureValueForTesting(feature),\n isFeatureFlagEnabled: !!getFeatureFlagValue(feature),\n isFeatureEnabled: !!isFeatureEnabled(feature)\n };\n });\n};\n\n/**\n * Gets the API version for the feature\n * @param {String} feature\n * @returns {{\"API-Version\": number} | {}}\n */\nexport const getFeatureVersion = () => {\n const feature = getVersionApplicableFeatureEnabledForTesting();\n if (!feature) return {};\n if (isFeatureEnabled(feature)) {\n // If in sitecore feature is enabled that means all API version changes are already merged\n // So we are only checking if testing feature is enabled so that we can send appropriate version\n const key = isFeatureEnabledForTesting(feature) ? \"enabledVersion\" : \"defaultVersion\";\n const currFeature = constants.featureFlags[feature];\n const version = currFeature && currFeature.isVersionApplicable ? currFeature[key] : null;\n return version ? { \"API-Version\": version } : {};\n }\n return {};\n};\n\n/**\n * Sets the context for LD client\n */\nexport const setLDContext = async (ldClient, context = {}) => {\n // There is no point in setting single context for LD client as might override the existing context so this method will allow setting only multi context\n if (!ldClient) {\n return;\n }\n let featureContext = { ...context, kind: \"multi\" };\n const existingContext = ldClient.getContext();\n const { kind, ...rest } = existingContext;\n if (kind === \"multi\") {\n featureContext = {\n ...rest,\n ...featureContext\n };\n } else {\n featureContext = {\n ...featureContext,\n [kind]: {\n ...rest\n }\n };\n }\n await ldClient.identify(featureContext);\n await ldClient.waitForInitialization();\n};\n\n/**\n * Gets the trial vases from feature flags (flags starting with prefix book-vasexp)\n */\nexport const getTrialVases = () => {\n if (!Vue.prototype?.$featureFlags?.ready) return [];\n const featureList = [];\n for (const flag in Vue.prototype.$featureFlags.flags ?? {}) {\n if (\n flag.startsWith(`${constants.LD_PREFIX_TRIAL_VAS}`) &&\n ![null, undefined].includes(Vue.prototype.$featureFlags.flags[flag]?.vas)\n ) {\n featureList.push(Vue.prototype.$featureFlags.flags[flag].vas);\n }\n }\n return JSON.parse(JSON.stringify(featureList));\n};\n","import { GAConfig } from \"@/gaConfig\";\nimport { getCustomerCode, getUserCredential } from \"@maersk-global/shared-js\";\nimport { isInternalUser } from \"@/common/utils/auth/authRules\";\n\n/**\n * Booking does not use the standard Vue sendGAEvent method\n * It has a custom dataLayer that needs to be maintained here.\n * It still uses the event config, but not to the same extent\n * @param {*} name the event name key\n * @param {*} data data to pass to the ibooking property\n * @param {Object} config The config e.g if offline journey passed as { isOffline: true }, if amend passed as { isAmend: true, deliveryAgreementType: \"1\"}\n */\nexport const sendGAEvent = (name, data, config = {}) => {\n // Standard properties\n const standardProps = {\n event: name,\n ibooking: {\n ...(journeyInstance.getId() && { journeyId: journeyInstance.getId() }),\n ...JSON.parse(JSON.stringify(data))\n },\n src: \"web\",\n personid: getUserCredential(\"personid\"),\n internal: isInternalUser(),\n customerCode: getCustomerCode(),\n bookingTypes: config.isAmend ? \"Amend Booking\" : \"New Booking\",\n ...(journeyInstance.getBookingNumber() && { bookingNumber: journeyInstance.getBookingNumber() }),\n journey: \"Vue\",\n ...(config.deliveryAgreementType && { deliveryAgreementType: config.deliveryAgreementType }),\n ...(config.pricingJourneyTagId && { pricingJourneyTagId: config.pricingJourneyTagId })\n };\n if (config.isOffline === true) {\n standardProps.offline = config.isOffline;\n }\n\n // Merge between the config in the config and the provided data\n let evt = GAConfig.GAEvents.find(event => event.name === name);\n let toSend;\n if (evt) {\n toSend = {\n ...evt,\n ...standardProps\n };\n } else {\n toSend = standardProps;\n }\n // If we are in test mode, don't replace the mock, but still add the dataLayer if it needs to be added when we're not testing\n if (\n (process.env.NODE_ENV === \"test\" && !window.dataLayer) ||\n (process.env.NODE_ENV !== \"test\" && (!window.dataLayer || !Array.isArray(window.dataLayer)))\n ) {\n window.dataLayer = [];\n }\n window.dataLayer.push(toSend);\n};\n\n/**\n * Empties the GA Datalayer\n * Should be called before the BookingInfoData call is made\n * This needs to be done without killing the whole array\n */\nexport const clearDataLayer = () => {\n while (window.dataLayer.length > 0) {\n window.dataLayer.pop();\n }\n};\n\n/**\n * Adds an ABTest event to the datalayer\n * @param {string} action The action that caused the event\n * @param {string} label The label - should be a stringified JSON object\n */\nexport const sendABTestEvent = (action, label) => {\n // If we are in test mode, don't replace the mock, but still add the dataLayer if it needs to be added when we're not testing\n if (\n (process.env.NODE_ENV === \"test\" && !window.dataLayer) ||\n (process.env.NODE_ENV !== \"test\" && (!window.dataLayer || !Array.isArray(window.dataLayer)))\n ) {\n window.dataLayer = [];\n }\n window.dataLayer.push({\n event: \"ABTest\",\n action,\n label\n });\n};\n\n/**\n * @description this function having journey id, booking number getters and setters\n */\nconst journey = () => {\n let id;\n let bookingNumber;\n\n /**\n * @description set journey id, whenever user starts form od3cp page\n * @param {string} uniqueJourneyId\n */\n const setId = uniqueJourneyId => {\n id = uniqueJourneyId;\n };\n\n /**\n * @description set booking number\n * @param {string} bookingNumberInAmendJourney\n */\n const setBookingNumber = bookingNumberInAmendJourney => {\n bookingNumber = bookingNumberInAmendJourney;\n };\n\n /**\n * @description gets journeyId\n */\n const getId = () => {\n return id;\n };\n\n /**\n * @description gets booking Number\n */\n const getBookingNumber = () => {\n return bookingNumber;\n };\n\n return {\n setId,\n getId,\n setBookingNumber,\n getBookingNumber\n };\n};\n\nexport const journeyInstance = journey();\n\n/**\n * It sends the GA event for pricing journey\n * @param {String} name the event name key\n * @param {Object} data data to pass to the details property\n * @param {Object} config config The config to send different property\n */\nexport const sendGAEventForPricingJourney = (name, data, config = {}, selectedSearchCategory = {}) => {\n const standardProps = {\n app: \"SSIB\",\n event: name,\n ...(selectedSearchCategory &&\n selectedSearchCategory.searchCategory && {\n searchCategory: selectedSearchCategory.searchCategory\n }),\n ...(selectedSearchCategory &&\n selectedSearchCategory.searchCategoryDesc && {\n searchCategoryDesc: selectedSearchCategory.searchCategoryDesc\n }),\n ...(!config.isError && {\n details: {\n ...JSON.parse(JSON.stringify(data))\n }\n }),\n ...(config.isError && {\n error_details: {\n ...JSON.parse(JSON.stringify(data))\n }\n }),\n ...(config.action && { action: config.action }),\n ibooking: {\n ...(journeyInstance.getId() && { journeyId: journeyInstance.getId() })\n }\n };\n window.dataLayer.push(standardProps);\n};\n","import { kgsToLbs, lbsToKgs, getCustomerCode } from \"@maersk/shared-js\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\n/**\n * @description\n * Maps alternate pickup location from Legacy API into od3cpFormData\n * @param {Object} dataSet - response object from Legacy API\n * @returns {{location: null, defaultLocation: (*|null)}}\n */\nexport function mapAlternatePickupLocation(dataSet) {\n return {\n location: null,\n defaultLocation: dataSet?.alternatePickupLocationGeoId || null\n };\n}\n\n/**\n * @description\n * Maps location service (origin, destination) info from Legacy API into od3cpFormData\n * @param {Object} dataSet - response object from Legacy API\n * @returns {{origin: {serviceMode: string, location: null, defaultLocation: (*|null)}, destination: {serviceMode: string, location: null, defaultLocation: (*|null)}}}\n */\nexport function mapLocationServiceMode(dataSet) {\n return {\n origin: {\n location: null,\n defaultLocation: dataSet?.originGeoId || null,\n serviceMode: dataSet?.originTransportMode || \"CY\"\n },\n destination: {\n location: null,\n defaultLocation: dataSet?.destinationGeoId || null,\n serviceMode: dataSet?.destinationTransportMode || \"CY\"\n }\n };\n}\n\n/**\n * @description\n * Maps commodity info from Legacy API into od3cpFormData\n * @param {Object} dataSet - response object from Legacy API\n * @param {Object} defaultCommodity - commodity model from initial state\n * @return {{commodity: {commodityCode: [*]|string|*}, dangerousCargo: *, temperatureControl: *}|*}\n */\nexport function mapCommodity(dataSet, defaultCommodity) {\n if (!defaultCommodity) {\n return null;\n }\n if (!dataSet) {\n return defaultCommodity;\n }\n if (dataSet.cargo && Array.isArray(dataSet.cargo)) {\n const cargoDetailsData = dataSet.cargo[0];\n if (cargoDetailsData && cargoDetailsData.commodityCode) {\n return {\n ...defaultCommodity,\n commodity: {\n commodityCode: cargoDetailsData.commodityCode\n }\n };\n }\n }\n return defaultCommodity;\n}\n\n/**\n * @description\n * Maps container info from Legacy API into od3cpFormData\n * @param {Array} dataSet - full Legacy API response\n * @param {String} measurementUnitPreference - user measurements unit preference (KGS or LBS)\n * @return {Object} mapped container info for od3cpFormData\n */\nexport function mapContainers(dataSet, measurementUnitPreference) {\n const containers = (dataSet?.cargo || [])[0]?.containers;\n const convertWeight = measurementUnitPreference === constants.weightUnits.kgs ? lbsToKgs : kgsToLbs;\n\n return (containers || []).map(c => {\n const cargoWeightFromDB = Number(c.weight);\n const measurementUnitFromDB = c.unitOfMeasure;\n\n let cargoWeight = cargoWeightFromDB;\n if (measurementUnitPreference !== measurementUnitFromDB) {\n cargoWeight = Math.round(convertWeight(cargoWeightFromDB));\n }\n\n return {\n containerType: {\n isoContainerSizeTypeCd: c.isoCode\n },\n quantity: c.quantity,\n weightPerContainer: cargoWeight,\n shipmentEquipmentAssignmentIds: c.shipmentEquipmentAssignmentIds,\n sspId: c.sspId,\n shipperOwnContainer: {\n checked: c.shipperOwned || false,\n disabled: false\n },\n importReturnContainer: {\n checked: c.importReturned || false,\n disabled: false\n },\n overSizedCargo: {\n checked: c.outOfGauge || false,\n disabled: false\n }\n };\n });\n}\n\n/**\n * @description\n * Maps Price Owner from Legacy API into od3cpFormData.\n * If Logged in User's customer code is same like Price Owner's (role 44) from Dataset API\n * it will check \"I am the price owner\" radio button in PriceOwner component.\n * @param {Object} dataSet - full Legacy API response\n * @return {string|null}\n */\nexport function mapPriceOwner(dataSet) {\n const priceOwner = {\n scvCode: dataSet?.priceOwnerScvCode,\n reference: dataSet?.priceOwnerReference\n };\n\n if (!priceOwner.scvCode) return; // no Price owner\n\n if (priceOwner.scvCode === getCustomerCode()) {\n // the current user is the Price owner\n return {\n selectedOption: constants.priceOwnerRadioOptions.PO,\n scvCode: priceOwner.scvCode,\n reference: priceOwner.reference\n };\n } else {\n // there is a Price owner, but we need to validate it first\n return {\n selectedOption: constants.priceOwnerRadioOptions.SELECT,\n scvCode: priceOwner.scvCode,\n reference: priceOwner.reference\n };\n }\n}\n\nexport function mapBookedBy(dataSet) {\n return {\n contactCodes: {\n contactScvCode: dataSet.bookedByContactScvId,\n contactCode: null\n },\n customerCodes: {} // the PartyCard component needs this\n };\n}\n\n/**\n * Maps party information for the Parties store\n * They will have to be verified first and only the valid ones gets displayed in the UI\n * @param {Object} dataSet - full Legacy API response\n * @return {Array} List of { scvCode, roleCode }\n */\nexport function mapParties(dataSet) {\n return (dataSet?.parties || []).map(party => ({\n scvCode: party.scvCode,\n roleCode: party.role.code\n }));\n}\n","/*\nDeep clones objects, arrays and primitives. Wont work on symbols, methods and objects containing methods.\nThis won't work:\nconst test = {0: () => \"Hello\"}; test[0]() => \"Hello\"\ndeepClone(test) => Error!\n*/\nexport function deepClone(object) {\n return window.structuredClone ? structuredClone(object) : JSON.parse(JSON.stringify(object));\n}\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion } from \"@/common/utils/generic/featureFlagService\";\n\n/**\n * Gets the party detail requirements for the booking\n * @param {*} correlationId\n * @param {*} param Object with placeOfReceiptCountryCode and placeOfDeliveryCountryCode\n */\nexport async function getPartyRoles(correlationId, { placeOfReceiptCountryCode, placeOfDeliveryCountryCode }) {\n const path = constants.apis.standardized.rulesParty;\n const url = `${\n getCurrentEnvironmentVariables().apiDomain\n }${path}?placeOfReceiptCountryCode=${placeOfReceiptCountryCode}&placeOfDeliveryCountryCode=${placeOfDeliveryCountryCode}`;\n const headers = {\n // eslint-disable-next-line prettier/prettier\n correlationId: correlationId,\n \"Correlation-Id\": correlationId,\n ...getFeatureVersion()\n };\n return executeRequest({ url, method: \"GET\", headers });\n}\n\n/**\n * Gets the mandatory shipment references given placeOfReceipt, placeOfDelivery, firstLoadPort, lastDischargePort and any transhipmentPorts\n * @param {*} correlationId\n * @param {*} payload\n */\n////TODO: Remove as part of OME-26497\nexport async function getShipmentReferences(correlationId, payload) {\n if (!correlationId) {\n throw new Error(\"getShipmentReferences: correlationId is missing\");\n }\n const path = constants.apis.standardized.rulesReferences;\n const headers = {\n // eslint-disable-next-line prettier/prettier\n correlationId: correlationId,\n \"Correlation-Id\": correlationId,\n ...getFeatureVersion()\n };\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}/${path}`,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers\n });\n}\n\n/**\n * Gets the sanctions\n * @param {*} correlationId\n * @param {*} payload\n */\nexport async function getSanctions(correlationId, payload) {\n if (!correlationId) {\n throw new Error(\"getSanctions: correlationId is missing\");\n }\n const path = constants.apis.standardized.sanctions;\n const headers = {\n // eslint-disable-next-line prettier/prettier\n correlationId: correlationId,\n \"Correlation-Id\": correlationId,\n ...getFeatureVersion()\n };\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${path}`,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers\n });\n}\n","import { executeRequest } from \"@/common/utils/http/httpClient\";\nimport { getCurrentEnvironmentVariables, constants } from \"@/lib/CONSTANTS\";\nimport { getFeatureVersion } from \"@/common/utils/generic/featureFlagService\";\nimport { cleanup } from \"@/common/utils/http/payloadCleaner\";\n/**\n *\n * @returns Inline telemetry attribute used for checking bots using Akamai BOTMAN\n */\nfunction setInlineTelemetry() {\n return !window.bmak ? null : { \"Akamai-BM-Telemetry\": bmak?.get_telemetry() };\n}\n/**\n * ADF API\n */\n\n/**\n * This function posts the data required by /departures API\n * @param {String} correlationId\n * @param {*} payload\n */\nexport async function setDepartures(correlationId, payload) {\n payload = cleanup(payload);\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.departures}`,\n method: \"POST\",\n body: JSON.stringify(payload),\n headers: {\n \"booking-trackingid\": correlationId,\n ...getFeatureVersion(),\n correlationId: correlationId,\n ...setInlineTelemetry()\n }\n });\n}\n\n/**\n * This function posts the data required by nacInfo API\n * @param {String} correlationId\n * @param {*} payload\n */\nexport async function setNacInfo(correlationId, payload) {\n payload = cleanup(payload);\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.departures}/${correlationId}${\n constants.ENDPOINTS.nacInfo\n }`,\n method: \"PUT\",\n body: JSON.stringify(payload),\n headers: {\n ...getFeatureVersion(),\n correlationId: correlationId,\n ...setInlineTelemetry()\n }\n });\n}\n\n/**\n * This function gets the routes\n * @param {String} correlationId\n * @param {Number} batch - the page number or batch number\n */\nexport function getRoutes(correlationId, batch) {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.departures}/${correlationId}?${\n constants.ENDPOINTS.routesFinderBatch\n }=${batch}`,\n method: \"GET\",\n rawResponse: true,\n headers: {\n ...getFeatureVersion(),\n correlationId: correlationId,\n ...setInlineTelemetry()\n }\n });\n}\n\n/**\n * This function gets the routes availability\n * @param {String} correlationId\n * @param {Number} batch - the page number or batch number\n */\nexport function getRoutesAvailability(correlationId, batch) {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.departures}/${correlationId}/${\n constants.ENDPOINTS.validated\n }?${constants.ENDPOINTS.routesFinderBatch}=${batch}`,\n method: \"GET\",\n rawResponse: true,\n headers: {\n ...getFeatureVersion(),\n correlationId: correlationId,\n ...setInlineTelemetry()\n }\n });\n}\n\n/**\n * Validates if more sailings are available for fetching.\n * @param {String} correlationId\n * @param {Number} batch - the page number or batch number\n * @return {Promise<*|{}|undefined>}\n */\nexport function validateLoadMore(correlationId, batch) {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.departures}/${correlationId}/${\n constants.ENDPOINTS.routesFinderBatch\n }/${batch}/${constants.ENDPOINTS.validate}`,\n method: \"PUT\",\n headers: {\n ...getFeatureVersion(),\n correlationId: correlationId,\n ...setInlineTelemetry()\n }\n });\n}\n\n/**\n * Loads fixed or dynamic prices for specific route by routeScheduleId.\n * @param {String} correlationId\n * @param {String} routeScheduleId\n * @param {String} priceType - can be FIXEDPRICE or DYNAMICPRICE\n * @return {Promise<*|{}|undefined>}\n */\nexport function getRoutePrice(correlationId, routeScheduleId, priceType) {\n const url = `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.departures}/${correlationId}/${\n constants.ENDPOINTS.sailings\n }/${routeScheduleId}/${constants.ENDPOINTS.prices}/v2/${priceType}`;\n return executeRequest({\n url,\n method: \"GET\",\n headers: {\n ...getFeatureVersion(),\n correlationId\n }\n });\n}\n\n/**\n * Loads deadlines for specific route by routeScheduleId.\n * @param {String} correlationId\n * @param {String} routeScheduleId\n * @return {Promise<*|{}|undefined>}\n */\nexport function getDeadlines(correlationId, routeScheduleId) {\n return executeRequest({\n url: `${getCurrentEnvironmentVariables().apiDomain}${constants.ENDPOINTS.departures}/${correlationId}/${\n constants.ENDPOINTS.sailings\n }/${routeScheduleId}/${constants.ENDPOINTS.deadlines}`,\n method: \"GET\",\n rawResponse: true,\n headers: {\n ...getFeatureVersion(),\n correlationId: correlationId\n }\n });\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('main',{staticClass:\"booking-app p-page__section theme--light--alt\",attrs:{\"data-test\":\"booking\"}},[_c('router-view'),_c('booking-session'),_c('BookingSubmittedToast')],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"booking-session\"},[(_vm.isWarnModalOpen)?_c('mc-modal',{attrs:{\"open\":_vm.isWarnModalOpen,\"dimension\":\"small\",\"backdropcloseactiondisabled\":\"\",\"entercloseactiondisabled\":\"\",\"escapecloseactiondisabled\":\"\",\"data-test\":\"booking-session-warning-modal\",\"id\":\"booking-session-warning-modal\",\"height\":\"275px\"},on:{\"closed\":_vm.onWarningConfirm}},[_c('h2',{staticClass:\"mds-popup-heading\",attrs:{\"data-test\":\"booking-session-modal-header\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"bookingSession.popupWindow.warn.title\"))+\" \")]),_c('div',{attrs:{\"data-test\":\"booking-session-modal-content\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"bookingSession.popupWindow.warn.content\", { elapsedMinutes: _vm.getSessionConfig.warnAfter, remainingMinutes: _vm.getSessionConfig.timeoutAfter - _vm.getSessionConfig.warnAfter }))+\" \")]),_c('div',{attrs:{\"slot\":\"primaryAction\",\"data-test\":\"booking-session-modal-footer\"},slot:\"primaryAction\"},[_c('mc-button',{attrs:{\"role\":\"button\",\"data-test\":\"booking-session-modal-button-confirm\",\"variant\":\"filled\",\"appearance\":\"primary\",\"label\":`${_vm.$t('bookingSession.popupWindow.warn.confirmButton')}`},on:{\"click\":_vm.onWarningConfirm}})],1)]):_vm._e(),(_vm.isTimeoutModalOpen)?_c('mc-modal',{attrs:{\"open\":_vm.isTimeoutModalOpen,\"dimension\":\"small\",\"backdropcloseactiondisabled\":\"\",\"entercloseactiondisabled\":\"\",\"escapecloseactiondisabled\":\"\",\"data-test\":\"booking-session-timeout-modal\",\"id\":\"booking-session-timeout-modal\"},on:{\"closed\":_vm.onTimeoutConfirm}},[_c('h2',{staticClass:\"mds-popup-heading\",attrs:{\"data-test\":\"booking-session-modal-header\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"bookingSession.popupWindow.timeout.title\"))+\" \")]),_c('div',{attrs:{\"data-test\":\"booking-session-modal-content\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"bookingSession.popupWindow.timeout.content\"))+\" \")]),_c('div',{attrs:{\"slot\":\"primaryAction\",\"data-test\":\"booking-session-modal-footer\"},slot:\"primaryAction\"},[_c('mc-button',{attrs:{\"role\":\"button\",\"data-test\":\"booking-session-modal-button-confirm\",\"variant\":\"filled\",\"appearance\":\"primary\",\"label\":`${_vm.$t('bookingSession.popupWindow.timeout.confirmButton')}`},on:{\"click\":_vm.onTimeoutConfirm}})],1)]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingSession.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingSession.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BookingSession.vue?vue&type=template&id=3b2313a8&\"\nimport script from \"./BookingSession.vue?vue&type=script&lang=js&\"\nexport * from \"./BookingSession.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.shouldShow)?_c('mc-toast',{staticClass:\"booking-submitted-toast\",attrs:{\"open\":_vm.shouldShow,\"duration\":\"10000\",\"appearance\":\"success\",\"position\":\"top-center\",\"data-test\":\"booking-submitted-toast\"},on:{\"close\":_vm.handleCloseToast}},[_c('mc-notification',{attrs:{\"body\":_vm.labels.message}})],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingSubmittedToast.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BookingSubmittedToast.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BookingSubmittedToast.vue?vue&type=template&id=6b84674f&\"\nimport script from \"./BookingSubmittedToast.vue?vue&type=script&lang=js&\"\nexport * from \"./BookingSubmittedToast.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { constants } from \"@/lib/CONSTANTS\";\n/**\n * @description Checks if mobile device screen\n * @return {Boolean}\n */\nexport function isMobileScreen(): boolean {\n return window.innerWidth <= constants.mobileScreenMaxWidth;\n}\n\n/**\n * @description Checks if tab device screen\n * @return {Boolean}\n */\nexport function isTabScreen(): boolean {\n return window.innerWidth > constants.mobileScreenMaxWidth && window.innerWidth < constants.largeScreenMinWidth;\n}\n","import { mapMutations } from \"vuex\";\nimport { isMobileScreen, isTabScreen } from \"@/lib/deviceInfo.ts\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\nexport default {\n methods: {\n ...mapMutations(\"commonData\", [\"setDeviceType\"]),\n /**\n * @description Checks the screen size and sets the offers per page\n */\n checkScreenWidth() {\n if (isMobileScreen() || isTabScreen()) {\n this.setDeviceType(isMobileScreen() ? constants.deviceType.mobile : constants.deviceType.tab);\n return;\n }\n this.setDeviceType(constants.deviceType.desktop);\n }\n },\n mounted() {\n this.checkScreenWidth();\n },\n created() {\n window.addEventListener(\"resize\", this.checkScreenWidth);\n },\n beforeDestroy() {\n window.removeEventListener(\"resize\", this.checkScreenWidth);\n }\n};\n","\nimport Vue from \"vue\";\nimport BookingSession from \"@/components/BookingSession.vue\";\nimport BookingSubmittedToast from \"@/components/BookingSubmittedToast.vue\";\nimport DeviceInfoMixin from \"@/mixins/DeviceInfoMixin.js\";\n\ndeclare module \"vue/types/vue\" {\n // 3. Declare augmentation for Vue\n interface Vue {\n $config: any;\n }\n}\nexport default Vue.extend({\n name: \"App\",\n components: { BookingSession, BookingSubmittedToast },\n mixins: [DeviceInfoMixin],\n created() {\n document.title = `${this.$config.brand.commercialName} Booking`;\n }\n});\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--15-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--15-3!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--15-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--15-3!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=2d884cee&\"\nimport script from \"./App.vue?vue&type=script&lang=ts&\"\nexport * from \"./App.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { extend } from \"vee-validate\";\nimport dayjs from \"dayjs\";\nimport {\n required,\n min_value,\n max_value,\n email,\n numeric,\n integer,\n regex,\n min,\n alpha_num,\n length\n} from \"vee-validate/dist/rules.umd\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\nexport function initValidation() {\n extend(\"required\", required);\n extend(\"min\", min_value);\n extend(\"maxValue\", max_value);\n extend(\"email\", email);\n extend(\"numeric\", numeric);\n extend(\"integer\", integer);\n extend(\"regex\", regex);\n extend(\"alphaNumeric\", alpha_num);\n extend(\"exactNumberOfItems\", length); // Allowed Iterable values are: string, array and any object that can be used with Array.from\n extend(\"minChar\", min);\n extend(\"maxChar\", {\n validate(value, args) {\n return value.length <= args.length;\n },\n params: [\"length\"]\n });\n extend(\"isFreetimeValidationError\", {\n params: [\"isFreetimeValidationError\"],\n validate(value) {\n return value;\n }\n });\n extend(\"isContainerGradeError\", {\n params: [\"isContainerGradeError\"],\n validate(value) {\n return value;\n }\n });\n //TODO: Need to check in future the posibility of another way\n extend(\"oxygenCarbonCombinedRule\", {\n validate: () => false\n });\n extend(\"selectBetween\", {\n params: [\"selectBetween\"],\n validate(value, { selectBetween: { min, max } }) {\n // in mds v2.3 value is expected as an array for = min && value?.value <= max;\n return false;\n }\n });\n\n /**\n * @description returns true if selected / typed value is one of the option for the typaehead\n */\n extend(\"isValidIntegerSelection\", {\n params: [\"options\"],\n validate(value, { options }) {\n return options.map(option => +option).includes(+value);\n }\n });\n\n /**\n * @description checks if value does not match DG weights pattern\n */\n extend(\"weightPattern\", {\n params: [\"options\"],\n validate(value) {\n return constants.regExpressions.dangerousGoodsWeightsPattern.test(value);\n }\n });\n /**\n * @description checks if value matches DG/reefer temperature pattern\n */\n extend(\"temperaturePattern\", {\n params: [\"options\"],\n validate(value) {\n return constants.regExpressions.temperaturePattern.test(value);\n }\n });\n\n /**\n * @description checks for stray negative sign for temperature pattern\n */\n extend(\"negativeSignError\", {\n params: [\"options\"],\n validate(value) {\n return constants.regExpressions.negativeTemperaturePattern.test(value);\n }\n });\n\n extend(\"noDuplicate\", {\n params: [\"items\"],\n validate(value, { items }) {\n return items.filter(item => String(item).toLowerCase() === String(value).toLowerCase()).length === 1;\n }\n });\n\n /**\n * @description checks if the value is less than the given item\n */\n extend(\"valueLessThan\", {\n params: [\"item\"],\n validate(value, { item }) {\n if (value !== undefined && value !== null) return Number(value) > Number(item);\n return false;\n }\n });\n\n /**\n * @description checks for any turkish characters\n */\n extend(\"alphaNumSpecialChars\", {\n ...regex,\n validate: value => {\n return constants.regExpressions.alphaNumSpecailCharsPattern.test(value);\n }\n });\n\n /**\n * @description origin & destination required\n */\n extend(\"origindestinationcombined\", {\n params: [\"options\"],\n validate(value, { options }) {\n return !!value?.origin?.location || !!value?.destination?.location;\n },\n message: \"Origin & destination required\"\n });\n /**\n * @description origin required\n */\n extend(\"originrequired\", {\n params: [\"options\"],\n validate(value, { options }) {\n return !!value?.origin?.location;\n },\n message: \"Origin required\"\n });\n /**\n * @description destination required\n */\n extend(\"destinationrequired\", {\n params: [\"options\"],\n validate(value, { options }) {\n return !!value?.destination?.location;\n },\n message: \"Destination required\"\n });\n /**\n * @description minimum date validation\n */\n extend(\"date-min\", {\n params: [\"options\"],\n validate(value, { options }) {\n return dayjs(value).isSameOrAfter(options.min);\n },\n message: \"Please enter a valid date\"\n });\n /**\n * @description Invalid containerType\n */\n extend(\"firstContainerType\", {\n params: [\"options\"],\n validate(value, { options }) {\n return !!value?.[0]?.containerType;\n },\n message: \"Invalid containerType\"\n });\n /**\n * @description Invalid Quantity\n */\n extend(\"firstContainerQuantity\", {\n params: [\"options\"],\n validate(value, { options }) {\n const { quantity } = value?.[0] || {};\n const { quantityMin, quantityMax } = options[0]?.quantity || {};\n return quantity && quantity >= quantityMin && quantity <= quantityMax;\n },\n message: \"Invalid Quantity\"\n });\n /**\n * @description Invalid Weight\n */\n extend(\"firstContainerWeight\", {\n params: [\"options\"],\n validate(value, { options }) {\n const { weightPerContainer, overSizedCargo } = value?.[0] || {};\n if (overSizedCargo?.checked) return true;\n const { ciMin, ciMax } = options[0]?.weightPerContainer || {};\n return weightPerContainer && weightPerContainer >= ciMin && weightPerContainer <= ciMax;\n },\n message: \"Invalid Weight\"\n });\n /**\n * @description Any Invalid containerType\n */\n extend(\"allContainerType\", {\n params: [\"options\"],\n validate(value, { options }) {\n return value?.every(container => !!container.containerType);\n },\n message: \"Invalid containerType\"\n });\n /**\n * @description Any Invalid Quantity\n */\n extend(\"allContainerQuantity\", {\n params: [\"options\"],\n validate(value, { options }) {\n return value?.every((container, i) => {\n const { quantityMin, quantityMax } = options[i]?.quantity || {};\n return container.quantity && container.quantity >= quantityMin && container.quantity <= quantityMax;\n });\n },\n message: \"Invalid Quantity\"\n });\n /**\n * @description Any Invalid Weight\n */\n extend(\"allContainerWeight\", {\n params: [\"options\"],\n validate(value, { options }) {\n return value?.every((container, i) => {\n if (container.overSizedCargo?.checked) return true;\n const { ciMin, ciMax } = options[i]?.weightPerContainer || {};\n return (\n container.weightPerContainer && container.weightPerContainer >= ciMin && container.weightPerContainer <= ciMax\n );\n });\n },\n message: \"Invalid Weight\"\n });\n}\n","import router from \"@/router\";\nimport { sleep } from \"./timerFunctionalities.js\";\nimport store from \"@/store/store.js\";\nimport { isFeatureEnabled } from \"@/common/utils/generic/featureFlagService\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\nconst clearLocalStorage = () => {\n window.localStorage.removeItem(\"correlationId\");\n};\n\nconst isAllowedToRelease = () => {\n if (router.currentRoute.name === \"confirmation\" || !window.localStorage.getItem(\"correlationId\")) {\n clearLocalStorage();\n return false;\n }\n return true;\n};\n\nexport const confirmExitListener = event => {\n if (isAllowedToRelease()) {\n event.preventDefault();\n event.returnValue = \"Are you sure you want to exit? Changes that you made may not be saved\";\n return event.returnValue;\n }\n};\n\nexport const releaseBookingAPIListener = event => {\n if (!isAllowedToRelease()) {\n return;\n }\n const correlationId = window.localStorage.getItem(\"correlationId\");\n store.dispatch(\n \"bookingRequests/releaseBooking\",\n {\n routeFrom: router.currentRoute.name,\n reason: constants.bookingReleaseReasons.browserClosed.reason,\n localCorrelationId: correlationId ? correlationId : null\n },\n { root: true }\n );\n clearLocalStorage();\n // It won't affect the load time as we are checking for correlationId in local storage\n // correlationId won't be added in the first page and we are clearing out if release on unload\n // User on next load won't have to wait\n sleep(999);\n};\n\nexport const initUnloadEvents = () => {\n // If confirmOnExit feature flag is enabled > implement confirm exit feature\n if (isFeatureEnabled(constants.featureFlags.confirmOnExit.name)) {\n window.addEventListener(\"beforeunload\", confirmExitListener, { capture: true });\n window.addEventListener(\"unload\", releaseBookingAPIListener, { capture: true });\n } else {\n window.addEventListener(\"beforeunload\", releaseBookingAPIListener, false);\n }\n};\n","import { isFeatureEnabled } from \"@/common/utils/generic/featureFlagService\";\nimport { constants } from \"@/lib/CONSTANTS\";\nexport default {\n install(Vue, options) {\n Vue.mixin({\n data: function() {\n return {\n get isMdsFlagOn() {\n return isFeatureEnabled(constants.featureFlags.mdsComponentUpgrade.name) ?? false;\n }\n };\n }\n });\n Vue.prototype.$isFeatureFlagOn = function(flag) {\n const feature = isFeatureEnabled(flag);\n return feature !== undefined ? feature : null;\n };\n }\n};\n","import { getSelectedLocale, getSelectedLanguage } from \"@maersk-global/shared-js\";\nexport default {\n install(Vue, options) {\n Vue.mixin({\n computed: {\n selectedLocale() {\n return getSelectedLocale(\"en\");\n },\n selectedLanguage() {\n //Returns selected language in format: \"tr\" | \"en\" | \"es\" | \"pt\" | \"fr\" | \"de\" | \"zh_hans\" | \"zh_hant\" | \"jp\" | \"ru\" | \"ko\" | \"it\".\n return getSelectedLanguage(\"en\");\n }\n }\n });\n }\n};\n","import StorageEngine from \"@/lib/featureFlags/storageEngine\";\nimport { isFeatureEnabled } from \"@/common/utils/generic/featureFlagService\";\nimport { constants } from \"@/lib/CONSTANTS.js\";\nimport { InterceptorRequest } from \"@/common/utils/types\";\n\n/**\n * @description determines if url can be intercepted or not. It will only and only intercept if following conditions are true\n * 1. Interceptor flag is on\n * 2. There is a match request with that url\n * 3. Matching request is enabled\n * @param {string} url\n * @returns {boolean}\n */\nasync function canIntercept(url: string): Promise {\n if (!isFeatureEnabled(constants.featureFlags.interceptor.name)) return false;\n const matched = await findRequestByUrl(url);\n if (matched === null || matched?.enabled === false) return false;\n return true;\n}\n\nasync function findRequestByUrl(toMatch: string): Promise {\n const finder = (request: InterceptorRequest): boolean => {\n if (request.url === toMatch) return true;\n\n return new RegExp(\"^\" + request.url.replace(/\\*/g, \".*\") + \"$\").test(toMatch);\n };\n const requests = await StorageEngine.getAll();\n return requests.find((r: InterceptorRequest) => finder(r)) || null;\n}\n\n/**\n * @description matches the payload for a url. If no url is matched then it throws an error\n * @param {string} url\n */\nasync function intercept(url: string): Promise {\n const matched = await findRequestByUrl(url);\n if (matched === null || matched?.enabled === false) {\n throw new Error(\"Payload not found or not request is not enabled for the matching request\");\n }\n return matched.response;\n}\n\nexport default {\n canIntercept,\n intercept\n};\n","// apex.ts\nimport { Apex } from \"@maersk-global/apex-client\";\n\nlet apex: Apex;\n\nexport const initApex = () => {\n try {\n const apexOptions = { templatedExperimentsEnabled: true };\n apex = new Apex(apexOptions);\n } catch (e) {\n // error\n }\n};\n\nexport { apex };\n","import Vue from \"vue\";\nimport mcModel from \"@maersk-global/mds-vue-mc-model\";\nimport { NativeEventSource, EventSourcePolyfill } from \"event-source-polyfill/src/eventsource.min.js\";\nimport { globalBaseConfig, getBrandFromHostname } from \"@maersk/shared-js\";\nimport { MaerskVueApp, MaerskGAEventsDispatcher, VueLanguageHandler } from \"@maersk/vue-plugin-core\";\nimport { FeatureFlags } from \"@maersk/vue-plugin-featureflags\";\nimport { constants, getCurrentEnvironmentVariables } from \"@/lib/CONSTANTS\";\nimport App from \"@/App.vue\";\nimport router from \"@/router\";\nimport store from \"@/store/store\";\nimport { initValidation } from \"@/common/utils/validation/validationRules\";\nimport { GAConfig } from \"@/gaConfig\";\nimport { getFeatureList } from \"@/common/utils/generic/featureFlagService\";\nimport { initUnloadEvents } from \"@/common/utils/generic/bookingRelease\";\nimport featureFlagLocalPlugin from \"./plugins/featureFlagLocalPlugin\";\nimport userLocale from \"./plugins/userLocale\";\nimport InterceptorEngine from \"@/lib/featureFlags/InterceptorEngine\";\nimport { RumInit } from \"@maersk-global/telemetry-web-sdk\";\nimport { initApex } from \"./apex\";\n\ndeclare global {\n interface Window {\n isPopstateDetected: boolean;\n MOP: any;\n EventSource: Function;\n bmak?: {\n get_telemetry: Function;\n };\n }\n}\n\n// EventSource polyfil for Launch Darkly plugin\nwindow.EventSource = NativeEventSource || EventSourcePolyfill;\n\n// disable forward (and sometimes back) button\nwindow.isPopstateDetected = false;\n/*NOSONAR*/ window.addEventListener(\"popstate\", event => {\n window.isPopstateDetected = true; // most probably the Back button\n\n if (event.state?.obsolete !== true) {\n history.replaceState({ obsolete: true }, \"\"); // mark the state as obsolete (duplicated)\n history.pushState(event.state, \"\"); // insert new state into the history: make the current one the latest (disable Forward button)\n }\n if (event.state?.obsolete === true) {\n history.back(); // jump over the duplicated (obsolete) state\n }\n});\n\n// This will help us reset the feature flags\nconst resetFeatureFlags = () => {\n getFeatureList()?.forEach(feature => {\n if (feature?.isFeatureFlagEnabled) {\n window.localStorage.removeItem(constants.featureFlagKeys.prefix + feature?.name);\n }\n });\n};\n\n//Brand style from shared-vue\nconst branding = {\n maeuCSS: () => import(/* webpackChunkName: \"maeu-css\" */ \"@/scss/maeu.scss\"),\n seauCSS: () => import(/* webpackChunkName: \"seau-css\" */ \"@/scss/seau.scss\")\n};\n\nconst config = {\n ...globalBaseConfig,\n ...constants,\n multiBranding: branding\n};\ndeclare module \"vue/types/vue\" {\n interface VueConfiguration {\n debug: boolean;\n }\n}\n\nif (process.env.NODE_ENV === \"production\") {\n Vue.config.productionTip = false;\n Vue.config.devtools = false;\n Vue.config.debug = false;\n Vue.config.silent = true;\n} else if (process.env.NODE_ENV === \"development\") {\n // Local vue config\n Vue.config.productionTip = false;\n Vue.config.devtools = true;\n Vue.config.performance = true;\n //This is a switch to the branding\n config.brandParam = \"maeu\"; // Values: 'seau', 'safm', 'maeu' or 'maei'\n //set jwt token for use in authorized api requests\n const customerCode = process.env.VUE_APP_CUSTOMER_CODE || \"10000007951\";\n const frJwt = process.env.VUE_APP_JWT || \"\";\n // window.localStorage.setItem(\"customerCode\", customerCode);\n window.localStorage.setItem(\"frJwt\", frJwt);\n}\n\ntry {\n /* MOP Rum Dashboard */\n window.MOP = RumInit(getCurrentEnvironmentVariables().mopRumDashboardConfig);\n /* END MOP Rum Dashboard */\n} catch (e) {\n // error initializing MOP Rum scripts\n}\n\nVue.use(MaerskVueApp, config);\nVue.use(MaerskGAEventsDispatcher, GAConfig);\nVue.directive(\"mc-model\", mcModel);\nVue.config.ignoredElements = [/^mc-/];\nconst brandFromHostname = getBrandFromHostname(window.location);\nVue.use(FeatureFlags, {\n options: {\n evaluationReasons: true\n },\n user: {\n brand: brandFromHostname.brandCode\n },\n prefix: constants.LD_PREFIX\n});\n// Custom vue plugins:\nVue.use(featureFlagLocalPlugin); //get global method $isFeatureFlagOn and isMdsFlagOn\nVue.use(userLocale); //saves the locale selected by the user into `selectedLocale`\n\n// Check query String to enable or disable Feature Flags\n// Example: https://cdt.maersk.com/book/?version=1.1\nconst queryParams = new URL(document.location.href).searchParams;\nconst sitecoreVersion = parseFloat(queryParams.get(\"version\") || \"\"); // \"version\" query determines which featureflag to use on sitecore.\nconst keyRootVersion = sitecoreVersion > 1 ? queryParams.get(\"version\") : undefined;\n\nconst regionMap = { sejj: \"europe\", mcpu: \"asia\" };\n// @ts-ignore\nconst regionTag = regionMap[brandFromHostname.brandCode] ?? \"americas\";\n\n// i18n\nif (process.env.NODE_ENV === \"development\") {\n // In localhost mode, always use the local environment\n Vue.use(VueLanguageHandler, {\n langFilePathWeb: \"/book/assets/languages\",\n // Uncomment below 4 keys to test remote keys in dev\n // keyRootId: constants.SITECORE_KEY_ROOT_ID.root,\n // keyRootVersion,\n // tags: [regionTag],\n // brandCode: brandFromHostname?.brandCode,\n langFilePathLocal: \"/book/assets/languages\"\n });\n} else {\n // In production mode, always use Sitecore\n Vue.use(VueLanguageHandler, {\n keyRootId: constants.SITECORE_KEY_ROOT_ID.root,\n langFilePathLocal: \"/book/assets/languages\",\n keyRootVersion,\n tags: [regionTag]\n });\n}\n\n// Global event bus\nVue.prototype.$eventBus = new Vue();\n\ninitValidation();\n\nVueLanguageHandler.loadLanguageData().then(() => {\n new Vue({\n router,\n store,\n render: h => h(App),\n mounted: () => {\n // Init unload events after the VUE object is initialiased\n initUnloadEvents();\n // Resets the feature flags\n /* feature flag plugin is not ready in the first quick load, so delaying by 200ms\n * to give time for the plugin to be initialized properly\n */\n setTimeout(() => {\n resetFeatureFlags();\n }, 1500);\n }\n }).$mount(\"#booking_app\");\n});\n\n// Initialize Apex\ntry {\n initApex();\n} catch (e) {\n // error initApex\n}\n\nconst { fetch: originalFetch } = window;\n\nwindow.fetch = async (...args) => {\n const [resource, config] = args;\n //check for prod\n\n const url = resource.toString();\n if (\n process.env.NODE_ENV !== \"production\" &&\n localStorage.getItem(\"feat-book-interceptor\") == \"true\" &&\n (await InterceptorEngine.canIntercept(url))\n ) {\n const response = await InterceptorEngine.intercept(url);\n const init = { status: 200, ok: true };\n return new Response(JSON.stringify(response), init);\n }\n return await originalFetch(resource, config);\n};\n","import { currencyFormat } from \"@/common/utils/generic/currencyTransform\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\n/**\n * @typedef {Object} MappedPriceItem\n * @property {string} id\n * @property {string} name\n * @property {string} basis\n * @property {string} currency\n * @property {number} quantity\n * @property {number} unitPrice\n * @property {number} totalPrice\n * @property {string} code\n * @property {string} unitPriceFormatted\n * @property {string} totalPriceFormatted\n * @property {string} [containerType] - optional\n **/\n\n/**\n * Possible contract types for Fixed (AFLS) Price\n * @type {(string)[]}\n */\nconst fixedPriceContractTypes = [\n constants.sailings.contractType.markettariff,\n constants.sailings.contractType.market,\n constants.sailings.contractType.tariff,\n constants.sailings.contractType.contract\n];\n\nconst dynamicPriceContractTypes = [\n constants.sailings.contractType.spot,\n constants.sailings.contractType.floating,\n constants.sailings.contractType.flexNow\n];\n\n/**\n * Transforms price type to FIXEDPRICE or DYNAMICPRICE.\n * Price type \"spot\" will be transformed into DYNAMICPRICE, every other type is FIXEDPRICE:\n * [\"tariff\", \"market\", \"markettariff, \"contract\"]\n * @param {String} priceType\n * @return {String}\n */\nexport const transformPriceType = priceType => {\n if (!priceType || typeof priceType === \"object\") throw new Error(\"priceType is missing\");\n\n let transformedPriceType = \"\",\n contractType = constants.sailings.contractType;\n if (dynamicPriceContractTypes.includes(priceType)) {\n transformedPriceType = constants.ENDPOINTS.dynamicPrice;\n }\n if (\n fixedPriceContractTypes.includes(priceType) ||\n priceType === contractType.fixed ||\n priceType === contractType.blockSpace\n ) {\n transformedPriceType = constants.ENDPOINTS.fixedPrice;\n }\n return transformedPriceType;\n};\n\n/**\n * @description Maps price breakdown from price object\n * @param {Object} price\n * @param {String} priceType\n * @return {[] | [MappedPriceItem]}\n */\nexport const mapPriceBreakdown = (price, priceType) => {\n if (!price || !priceType) return [];\n const charges = price.productPrice?.price?.charges;\n if (!charges?.length) return [];\n return charges.map(charge => mapPriceItemBasedOnPriceType(charge, priceType));\n};\n\n/**\n * Maps the price breakdown item for \"spot\" (Dynamic) or \"AFLS\" (Fixed) price based on priceType parameter\n * @param {Object} item\n * @param {String} priceType\n * @return {{}| MappedPriceItem}\n */\nconst mapPriceItemBasedOnPriceType = (item, priceType) => {\n if (!item || !priceType) return {};\n return {\n id: item.chargeCode,\n name: item.chargeDescription ?? (item.chargeCode || \"\"),\n basis: constants.priceBreakdownRateBasisMapper[item.rateBasis],\n currency: item.currency,\n quantity: item.quantity,\n unitPrice: item.rate,\n totalPrice: item.amount,\n code: item.chargeCode,\n rateType: item.rateType,\n unitPriceFormatted: currencyFormat(item.rate, item.currency),\n totalPriceFormatted: currencyFormat(item.amount, item.currency),\n ...(item.isoCode && { containerType: `${constants.isoCodeSizeTypeMapping[item.isoCode]}` })\n };\n};\n\n/**\n * Helper function for getContractType to map Fixed price' contract type based on price Id\n * @param {String} input\n * @return {string}\n */\nexport const getContractTypeForFixedPrice = input => {\n let contractType = constants.sailings.contractType.markettariff;\n const item = !input ? \"\" : input.toString();\n if (item.startsWith(\"MLI-\")) {\n contractType = constants.sailings.contractType.market;\n } else if (item.startsWith(\"TLI-\")) {\n contractType = constants.sailings.contractType.tariff;\n } else if (item.startsWith(\"CLI-\")) {\n contractType = constants.sailings.contractType.contract;\n }\n return contractType;\n};\n\n/**\n * Maps Fixed price' contract type based on price Id, fixedPricePresent\n * @param {String} input\n * @param {Boolean} fixedPricePresent\n * @return {string}\n */\nexport const getContractType = (input, fixedPricePresent) => {\n //Conditions covered by below initialization (!fixedPricePresent, isContractsApiDown)\n let contractType = constants.sailings.contractType.markettariff;\n\n // Sometimes fixed prices section is missing because backend doesn't have the data yet.\n if (fixedPricePresent) {\n contractType = getContractTypeForFixedPrice(input);\n }\n return contractType;\n};\n\n/**\n * Determines if contract rate is unavailable for AFLS rate types\n * @description AFLS or Fixed rate can have a type of Market, Tariff and Contract. Markettariff as default.\n * If concrete rate price is a type of Market, Tariff, or Markettariff that means Contract is unavailable.\n * @param {String} priceType\n * @return {boolean}\n */\nexport const isContractRateUnavailable = priceType => {\n return [\n constants.sailings.contractType.market,\n constants.sailings.contractType.tariff,\n constants.sailings.contractType.markettariff\n ].includes(priceType);\n};\n\n/**\n * Get delivery promises type and info\n * @param {Object} gcssDeliveryAgreementType\n * @return {Object} containing type and info text\n */\nexport const getDeliveryPromiseTypeInfo = gcssDeliveryAgreementType => {\n const dp = constants.sailings.deliveryPromises;\n const dpType = {\n \"25\": { type: dp.premium, info: dp.withinOneDay },\n \"26\": { type: dp.standard, info: dp.withinThreeDays },\n \"27\": { type: dp.essential, info: dp.withinTenDays },\n \"29\": { type: dp.premium, info: dp.withinOneDay },\n \"30\": { type: dp.standard, info: dp.withinThreeDays },\n \"31\": { type: dp.essential, info: dp.withinTenDays },\n \"32\": { type: dp.standard, info: dp.withinThreeDays },\n \"33\": { type: dp.essential, info: dp.withinTenDays },\n \"34\": { type: dp.loadAsBooked, info: dp.onboardOrWithinThreeDays },\n \"35\": { type: dp.loadAsBooked, info: dp.onboardOrWithinThreeDays },\n \"36\": { type: dp.loadAsBooked, info: dp.onboardOrWithinTenDays },\n \"37\": { type: dp.loadAsBooked, info: dp.onboardOrWithinThreeDays },\n \"38\": { type: dp.loadAsBooked, info: dp.onboardOrWithinTenDays },\n \"39\": { type: dp.loadAsBooked, info: dp.onboardOrWithinThreeDays },\n \"40\": { type: dp.loadAsBooked, info: dp.onboardOrWithinTenDays },\n \"41\": { type: dp.premium, info: dp.withinOneDay },\n \"42\": { type: dp.standard, info: dp.withinThreeDays },\n \"43\": { type: dp.loadAsBooked, info: dp.onboardOrWithinThreeDays },\n \"44\": { type: dp.essential, info: dp.withinTenDays },\n \"45\": { type: dp.loadAsBooked, info: dp.onboardOrWithinTenDays },\n \"46\": { type: dp.premium, info: dp.withinOneDay },\n \"47\": { type: dp.standard, info: dp.withinThreeDays },\n \"48\": { type: dp.loadAsBooked, info: dp.onboardOrWithinThreeDays },\n \"49\": { type: dp.essential, info: dp.withinTenDays },\n \"50\": { type: dp.loadAsBooked, info: dp.onboardOrWithinTenDays },\n \"52\": { type: dp.standard, info: dp.withinThreeDays },\n \"53\": { type: dp.loadAsBooked, info: dp.onboardOrWithinThreeDays },\n \"54\": { type: dp.loadAsBooked, info: dp.onboardOrWithinThreeDays },\n \"55\": { type: dp.essential, info: dp.withinTenDays },\n \"56\": { type: dp.loadAsBooked, info: dp.onboardOrWithinFourteenDays }\n };\n return {\n type: dpType[gcssDeliveryAgreementType]?.type,\n info: dpType[gcssDeliveryAgreementType]?.info\n };\n};\n\n/**\n * Maps delivery promises into an appropriate structure to be used by the component\n * @param {Object} promises An array of delivery promise types supported\n * @param {String} routeId routeScheduleId of the sailing\n * @return {Object} An array of fomatted delivery promises ready to be consumed by the component\n */\nexport const mapDeliveryPromises = (promises, routeId) => {\n return promises.map((promise, index) => {\n return {\n id: routeId + \"promise\" + index,\n name: promise.name,\n value: index,\n ...getDeliveryPromiseTypeInfo(promise.gcssDeliveryAgreementType),\n amount: promise.amount,\n gcssDeliveryAgreementType: promise.gcssDeliveryAgreementType,\n currency: promise.currency,\n enabled: promise.enabled,\n defaultSelected: promise.defaultSelected\n };\n });\n};\n\n/**\n * Maps the Penalty Fees to an appropriate format ready to be displayed on the UI\n * @param {Object} penaltyFees extracted from the backend response\n * @return {Object} Formatted structure\n */\nexport const mapPenaltyFees = (penaltyFees, isMultiFlagEnabled = false) => {\n if (penaltyFees && penaltyFees.length) {\n const penaltyFee = penaltyFees[0];\n const currency = penaltyFee.currency;\n if (!isMultiFlagEnabled) {\n return penaltyFee.charges?.map(charge => ({\n id: charge.penaltyType,\n name: charge.displayName,\n formattedPrice: currencyFormat(charge.chargeFee, currency),\n currency\n }));\n }\n return mapPenaltyFeesMultiContainer(penaltyFees);\n }\n return null;\n};\n\n/**\n * Maps the Penalty Fees to an appropriate format ready to be displayed on the UI for multiple types containers\n * @param {Array} penaltyFees extracted from the backend response\n * @return {Array} Formatted structure\n */\nconst mapPenaltyFeesMultiContainer = penaltyFees => {\n return penaltyFees\n .map(fees => {\n return fees.charges.map(charge => ({\n id: charge.penaltyType,\n name: charge.displayName,\n formattedPrice: currencyFormat(charge.chargeFee, fees.currency),\n currency: fees.currency,\n isoCode: fees.isoCode,\n containerType: constants.isoCodeSizeTypeMapping[fees.isoCode]\n }));\n })\n .flat()\n .reduce((chargesAll, charge) => {\n const penaltyTypeIndex = chargesAll.findIndex(cost => cost.name === charge.name);\n if (penaltyTypeIndex === -1) {\n chargesAll.push({\n name: charge.name,\n id: charge.id,\n costs: [\n { containerType: charge.containerType, currency: charge.currency, formattedPrice: charge.formattedPrice }\n ]\n });\n } else {\n chargesAll[penaltyTypeIndex].costs.push({\n containerType: charge.containerType,\n currency: charge.currency,\n formattedPrice: charge.formattedPrice\n });\n }\n return chargesAll;\n }, []);\n};\n","import { cleanup } from \"@/common/utils/http/payloadCleaner\";\n\n/**\n * Creates query parameter string\n * @param {Object} params\n * @return {String}\n */\nexport const getQueryStringParams = params => {\n let qsParams = null;\n\n if (params && typeof params === \"object\") {\n // Map the parameters to the query string\n qsParams = Object.keys(cleanup(params))\n .map(key => `${key}=${params[key]}`)\n .join(\"&\");\n }\n\n return qsParams ? `?${qsParams}` : \"\";\n};\n\n/**\n * Creates a list of query parameters\n * @param {Object} params\n * @return {Array} The list of params\n */\nexport const getListOfQueryStringParams = params => {\n let qsParams = [];\n\n if (params && typeof params === \"object\") {\n // Map the parameters to the query string\n qsParams = Object.keys(cleanup(params)).map(key => `${key}`);\n }\n\n return qsParams;\n};\n","import { defaultValues, defaultTemperatureForVentilation } from \"@/common/utils/labels/reeferLabels\";\nimport { constants } from \"@/lib/CONSTANTS\";\n\ninterface Template {\n reeferContainerType: string;\n coldTreatment: null | boolean;\n isDefaultTemplate: boolean;\n numberOfProbs: string;\n drainHoles: boolean | null;\n}\n\ninterface Range {\n min: number | null;\n max: number | null;\n}\n\ninterface Container {\n name: string;\n size: string;\n groupName: string;\n code: Array;\n celsiusTempRange: string;\n fahrenheitTempRange: string;\n}\n\ninterface RContainer {\n value: string;\n label: string;\n groupName: string;\n group: string;\n code: Array;\n celsiusTempRange: string;\n fahrenheitTempRange: string;\n}\ninterface SRange {\n min: string | null;\n max: string | null;\n}\n\ninterface HumidityRange {\n humidityInPercentMin: number;\n humidityInPercentMax: number;\n}\ninterface MetricsImperialRange {\n minInMetrics: string;\n maxInMetrics: string;\n minInImperial: string;\n maxInImperial: string;\n}\n\ninterface SetPoint {\n numberOfDays: number;\n temperatures: Array;\n isDisabled: boolean;\n}\n\ninterface TransformedSetPoint {\n setPointDays: number;\n setPointTemp: string;\n isDisabled: boolean;\n}\n\n/**\n * Types for GCSS unit formats for temperature, volume...\n */\nexport interface GcssUnit {\n value: string;\n unit: string;\n}\n\n/**\n * Type for Active reefer template stored in reefer store\n */\nexport interface ActiveTemplate {\n commodityCode: string;\n numberOfProbs: string;\n coldTreatment: boolean;\n humidityIndicator: boolean;\n ethyleneFilter: string;\n reeferContainerType: string;\n isDefaultTemplate: boolean;\n drainHoles: boolean | null;\n}\n\n/**\n * Type for reefer data received from GCSS\n */\nexport interface ReeferData extends CommonReeferData {\n temperature: GcssUnit;\n ventilation: GcssUnit;\n}\n\nexport interface CommonReeferData {\n reeferContainerType: string | null;\n controlledAtmosphere: boolean;\n coldTreatment: boolean;\n multipleSetPoints: boolean;\n noOfCargoProbes: number;\n drainHoles: string;\n freshAirExchange: string;\n humidity: boolean;\n humidityPercentage: number | null;\n oxygenPercentage: number | null;\n carbonDioxidePercentage: number | null;\n genSetExport: boolean;\n genSetImport: boolean;\n instanceId?: string;\n hotStuffing?: boolean;\n ethyleneFilter: number | null;\n commodityReeferSettingsId?: string;\n}\n\nexport interface ReeferStateDetails extends CommonReeferData {\n temperature: string | GcssUnit;\n ventilationVolume: string | GcssUnit;\n}\n\n/**\n * @typedef {Object} Range\n * @property {string} min - The minimum value\n * @property {string} max - The maximum value\n */\n\n/**\n * @typedef {MetricsImperialRange} MetricsImperialRange\n * @property {string} minInMetrics - The minimum metrics value\n * @property {string} maxInMetrics - The maximum metrics value\n * @property {string} minInImperial - The minimum imperial value\n * @property {string} maxInImperial - The maximum imperial value\n */\n\n/**\n * @summary To get range validation error message.\n * @param {string} prefix\n * @param {number} min\n * @param {number} max\n * @param {string} unit\n * @param {string} separator\n * @param {boolean} unitsOnlyAtEnd\n * @returns {string}\n */\nexport const getRangeErrorMessage = (\n prefix: string,\n min: string,\n max: string,\n unit: string,\n separator: string,\n unitsOnlyAtEnd: boolean = false\n): string => {\n if (unitsOnlyAtEnd) {\n return `${prefix} (${min} ${separator} ${max} ${unit})`;\n }\n return `${prefix} (${min}${unit} ${separator} ${max}${unit})`;\n};\n\n/**\n * @summary To get cargo probes min and max values.\n * @param {Object} template\n * @returns {Object}\n */\nexport const getCargoProbesRangeValues = (template: Template) => {\n const { defaultCargoProbes, defaultMaxCargoProbes, defaultMinCargoProbesWhenColdTreatment } = defaultValues;\n if (template && !template.isDefaultTemplate) {\n const { numberOfProbs, coldTreatment } = template;\n let result = !isNaN(parseInt(numberOfProbs)) ? parseInt(numberOfProbs) : null;\n if (coldTreatment) result = defaultMinCargoProbesWhenColdTreatment;\n if (parseInt(numberOfProbs) === defaultCargoProbes) result = defaultCargoProbes;\n return {\n min: result,\n max: result === null ? result : defaultMaxCargoProbes,\n coldTreatment: coldTreatment\n };\n }\n return {\n min: defaultCargoProbes,\n max: defaultCargoProbes\n };\n};\n\n/**\n * @summary To get drain holes possible values.\n * @param {Object} template\n * @returns {Object}\n */\nexport const getDrainHolesRules = (template: Template) => {\n const value = template ? template?.drainHoles : defaultValues.defaultDrainHoles;\n if (value === false || value === undefined) return [constants.openClosedRadioOptions.closed];\n if (value === true) return [constants.openClosedRadioOptions.open];\n return [constants.openClosedRadioOptions.closed, constants.openClosedRadioOptions.open];\n};\n\n/**\n * @description To fetch required template from available reefer templates\n * @param {Array} templates\n * @param {string} containerCode\n * @param {boolean} coldTreatment\n * @param {boolean} isMultiStandard\n * @returns {Object}\n */\nexport const fetchReeferTemplate = (\n templates: Array