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KAAS,IAAM,EACtBhB,EAAAA,EAAAA,IAAaqZ,EAAa,CACxB1oC,MAAO0tB,EAAK6B,GAAG,kBACd,KAAM,EAAG,CAAC,WACbnB,EAAAA,EAAAA,IAAoB,MAAO3B,EAAY,EACrC2B,EAAAA,EAAAA,IAAoB,IAAK,MAAMC,EAAAA,EAAAA,IAAiBX,EAAK6B,GAAG,4BAA6B,IACrFF,EAAAA,EAAAA,IAAac,EAAAA,EAAY,CACvBlC,SAASwB,EAAAA,EAAAA,IAAOn1B,GAChB81B,SAASX,EAAAA,EAAAA,IAAO+Y,GAChB9b,MAAO,mBACPlZ,KAAM,kBACL,CACDgb,SAAS6B,EAAAA,EAAAA,KAAS,IAAM,EACtBC,EAAAA,EAAAA,KAAiBjC,EAAAA,EAAAA,IAAiBX,EAAK6B,GAAG,kBAAmB,MAE/DgB,EAAG,GACF,EAAG,CAAC,UAAW,aAClBlB,EAAAA,EAAAA,IAAac,EAAAA,EAAY,CACvBlC,QAASN,EAAO,KAAOA,EAAO,GAAMoC,GAAiBzuB,EAAKzL,OAAQ,GAClE62B,MAAO,oBACN,CACD8B,SAAS6B,EAAAA,EAAAA,KAAS,IAAM,EACtBC,EAAAA,EAAAA,KAAiBjC,EAAAA,EAAAA,IAAiBX,EAAK6B,GAAG,gCAAiC,MAE7EgB,EAAG,SAITA,EAAG,GACF,EAAG,CAAC,eAET,IElEA,MAAM,GAA2B,OAAgB,EAAQ,CAAC,CAAC,YAAY,qBAEvE,O","sources":["webpack://destgotlandclient/./src/composables/login/useCreateAccount.ts","webpack://destgotlandclient/./src/composables/login/useForgotPassword.ts","webpack://destgotlandclient/./src/composables/login/useIsLoggedInQuery.ts","webpack://destgotlandclient/./src/composables/login/useLogin.ts","webpack://destgotlandclient/./src/composables/login/useLoginModal.ts","webpack://destgotlandclient/./src/composables/useApi.ts","webpack://destgotlandclient/./src/composables/useDialog.ts","webpack://destgotlandclient/./src/composables/useGiftCard.ts","webpack://destgotlandclient/./src/models/front/PostSale.ts","webpack://destgotlandclient/./src/composables/usePayment.ts","webpack://destgotlandclient/./src/composables/useRedirect.ts","webpack://destgotlandclient/./src/composables/useRuntimeConfig.ts","webpack://destgotlandclient/./src/composables/useSendMessage.ts","webpack://destgotlandclient/./src/composables/useSnackbar.ts","webpack://destgotlandclient/./src/composables/useUnloadBookings.ts","webpack://destgotlandclient/./src/config/accommodationTypes.ts","webpack://destgotlandclient/./src/config/calendarAttributes.ts","webpack://destgotlandclient/./src/config/countries.ts","webpack://destgotlandclient/./src/config/i18n.ts","webpack://destgotlandclient/./src/config/passengers.ts","webpack://destgotlandclient/./src/config/routes.ts","webpack://destgotlandclient/./src/config/storageKeys.ts","webpack://destgotlandclient/./src/helpers/appHelper.ts","webpack://destgotlandclient/./src/helpers/dateHelpers.ts","webpack://destgotlandclient/./src/helpers/idHelper.ts","webpack://destgotlandclient/./src/helpers/localeHelper.ts","webpack://destgotlandclient/./src/helpers/messageHandler.ts","webpack://destgotlandclient/./src/helpers/passengerHelper.ts","webpack://destgotlandclient/./src/helpers/phoneHelper.ts","webpack://destgotlandclient/./src/helpers/priceHelpers.ts","webpack://destgotlandclient/./src/helpers/storageHelper.ts","webpack://destgotlandclient/./src/helpers/urlHelper.ts","webpack://destgotlandclient/./src/helpers/validators.ts","webpack://destgotlandclient/./src/models/Constants.ts","webpack://destgotlandclient/./src/models/Enums.ts","webpack://destgotlandclient/./src/models/Symbols/BookingSummary.ts","webpack://destgotlandclient/./src/models/Symbols/Dialog.ts","webpack://destgotlandclient/./src/models/Symbols/Eventbus.ts","webpack://destgotlandclient/./src/models/Symbols/LoginModal.ts","webpack://destgotlandclient/./src/models/Symbols/Snackbar.ts","webpack://destgotlandclient/./src/models/front/Passenger.ts","webpack://destgotlandclient/./src/models/front/PaymentAlternative.ts","webpack://destgotlandclient/./src/models/front/PaymentInfo.ts","webpack://destgotlandclient/./src/models/front/SiteSearch.ts","webpack://destgotlandclient/./src/models/front/TimetableDeparture.ts","webpack://destgotlandclient/./src/models/front/TimetableRoute.ts","webpack://destgotlandclient/./src/models/front/Vehicle.ts","webpack://destgotlandclient/./src/models/front/agent/AgentAccount.ts","webpack://destgotlandclient/./src/models/front/basket/BasketGroup.ts","webpack://destgotlandclient/./src/models/front/customer/AddressInformation.ts","webpack://destgotlandclient/./src/models/front/customer/CoPassengers.ts","webpack://destgotlandclient/./src/models/front/customer/CoVehicles.ts","webpack://destgotlandclient/./src/models/front/customer/CreditCard.ts","webpack://destgotlandclient/./src/models/front/customer/MyBooking.ts","webpack://destgotlandclient/./src/models/store/User.ts","webpack://destgotlandclient/./src/modules/BookingFlow/composables/useBookingNavigation.ts","webpack://destgotlandclient/./src/modules/BookingFlow/composables/useCalculatePriceQuery.ts","webpack://destgotlandclient/./src/models/front/Checkout.ts","webpack://destgotlandclient/./src/modules/BookingFlow/composables/useCheckoutQuery.ts","webpack://destgotlandclient/./src/modules/BookingFlow/composables/useRoutesQuery.ts","webpack://destgotlandclient/./src/models/front/customer/Transaction.ts","webpack://destgotlandclient/./src/models/front/customer/CustomerCard.ts","webpack://destgotlandclient/./src/modules/MyPages/composables/useCustomerCardsQuery.ts","webpack://destgotlandclient/./src/modules/MyPages/composables/useMyCoVehiclesQuery.ts","webpack://destgotlandclient/./src/modules/MyPages/composables/useMyCreditCardsQuery.ts","webpack://destgotlandclient/./src/modules/MyPages/composables/useOpenBooking.ts","webpack://destgotlandclient/./src/modules/SiteSearch/composables/useSiteSearchQuery.ts","webpack://destgotlandclient/./src/plugins/eventbus.ts","webpack://destgotlandclient/./src/models/api/BookingRoute.ts","webpack://destgotlandclient/./src/store/booking.ts","webpack://destgotlandclient/./src/store/checkoutStore.ts","webpack://destgotlandclient/./src/store/departure.ts","webpack://destgotlandclient/./src/store/index.ts","webpack://destgotlandclient/./src/store/passenger.ts","webpack://destgotlandclient/./src/store/queue.ts","webpack://destgotlandclient/./src/store/resource.ts","webpack://destgotlandclient/./src/store/resourceSplit.ts","webpack://destgotlandclient/./src/store/seatingStore.ts","webpack://destgotlandclient/./src/store/siteSearch.ts","webpack://destgotlandclient/./src/store/transferStore.ts","webpack://destgotlandclient/./src/store/user.ts","webpack://destgotlandclient/./src/store/vehicle.ts","webpack://destgotlandclient/./src/components/Dropdown.vue?da19","webpack://destgotlandclient/./src/components/Dropdown.vue","webpack://destgotlandclient/./src/components/Dropdown.vue?65e4","webpack://destgotlandclient/./src/components/SendSMS.vue?dc7e","webpack://destgotlandclient/./src/components/SendSMS.vue","webpack://destgotlandclient/./src/components/SendSMS.vue?8504","webpack://destgotlandclient/./src/components/onebasket/accommodation-search/AccommodationSearchChildAge.vue?a5ac","webpack://destgotlandclient/./src/components/onebasket/accommodation-search/AccommodationSearchChildAge.vue","webpack://destgotlandclient/./src/components/onebasket/accommodation-search/AccommodationSearchChildAge.vue?9b52","webpack://destgotlandclient/./src/components/accommodation/GuestSelectRow.vue?1939","webpack://destgotlandclient/./src/components/accommodation/GuestSelectRow.vue","webpack://destgotlandclient/./src/components/accommodation/GuestSelectRow.vue?e9c4","webpack://destgotlandclient/./src/components/base/BaseAlert.vue?0863","webpack://destgotlandclient/./src/components/base/BaseAlert.vue","webpack://destgotlandclient/./src/components/base/BaseAlert.vue?ae62","webpack://destgotlandclient/./src/components/base/BaseButton.vue?8e30","webpack://destgotlandclient/./src/components/base/BaseButton.vue","webpack://destgotlandclient/./src/components/base/BaseCheckbox.vue?2f8f","webpack://destgotlandclient/./src/components/base/BaseCheckbox.vue","webpack://destgotlandclient/./src/components/base/BaseCheckbox.vue?56f5","webpack://destgotlandclient/./src/components/base/BaseCountrySelect.vue?bed4","webpack://destgotlandclient/./src/components/base/BaseCountrySelect.vue","webpack://destgotlandclient/./src/components/base/BaseCountrySelect.vue?0f3e","webpack://destgotlandclient/./src/components/base/BaseDropdown.vue?199b","webpack://destgotlandclient/./src/components/base/BaseDropdown.vue","webpack://destgotlandclient/./src/components/base/BaseDropdown.vue?5fe9","webpack://destgotlandclient/./src/components/base/BaseExpansionPanel.vue?4dab","webpack://destgotlandclient/./src/components/base/BaseExpansionPanel.vue","webpack://destgotlandclient/./src/components/base/BaseExpansionPanel.vue?60e6","webpack://destgotlandclient/./src/components/base/BaseGenderSelect.vue?e828","webpack://destgotlandclient/./src/components/base/BaseGenderSelect.vue","webpack://destgotlandclient/./src/config/genders.ts","webpack://destgotlandclient/./src/components/base/BaseGenderSelect.vue?c7f5","webpack://destgotlandclient/./src/components/base/BaseInput.vue?c0ba","webpack://destgotlandclient/./src/components/base/BaseInput.vue","webpack://destgotlandclient/./src/components/base/BaseInput.vue?bb9b","webpack://destgotlandclient/./src/components/base/BaseLightbox.vue?9d83","webpack://destgotlandclient/./src/components/base/BaseLightbox.vue","webpack://destgotlandclient/./src/components/base/BaseLightbox.vue?70ed","webpack://destgotlandclient/./src/components/base/BaseMessages.vue?dfe1","webpack://destgotlandclient/./src/components/base/BaseMessages.vue","webpack://destgotlandclient/./src/components/base/BaseMessages.vue?cb7c","webpack://destgotlandclient/./src/components/base/BasePanel.vue?20c6","webpack://destgotlandclient/./src/components/base/BasePanel.vue","webpack://destgotlandclient/./src/components/base/BaseQuantity.vue?135f","webpack://destgotlandclient/./src/components/base/BaseQuantity.vue","webpack://destgotlandclient/./src/components/base/BaseQuantity.vue?7df6","webpack://destgotlandclient/./src/components/base/BaseRadio.vue?4d3e","webpack://destgotlandclient/./src/components/base/BaseRadio.vue","webpack://destgotlandclient/./src/components/base/BaseRadio.vue?ac9e","webpack://destgotlandclient/./src/components/base/BaseSection.vue?9442","webpack://destgotlandclient/./src/components/base/BaseSection.vue","webpack://destgotlandclient/./src/components/base/BaseSection.vue?7c08","webpack://destgotlandclient/./src/components/base/BaseSpinner.vue?64c9","webpack://destgotlandclient/./src/components/base/BaseSpinner.vue","webpack://destgotlandclient/./src/components/base/BaseSpinner.vue?fa87","webpack://destgotlandclient/./src/components/base/BaseTextarea.vue?ac88","webpack://destgotlandclient/./src/components/base/BaseTextarea.vue","webpack://destgotlandclient/./src/components/base/BaseTextarea.vue?ed36","webpack://destgotlandclient/./src/components/base/BaseToggleSwitch.vue?c4bd","webpack://destgotlandclient/./src/components/base/BaseToggleSwitch.vue","webpack://destgotlandclient/./src/components/base/BaseToggleSwitch.vue?77e3","webpack://destgotlandclient/./src/components/base/BaseTransitionExpand.vue?1b90","webpack://destgotlandclient/./src/components/base/BaseTransitionExpand.vue","webpack://destgotlandclient/./src/config/viewBoxes.ts","webpack://destgotlandclient/./src/components/base/SvgIcon.vue?886c","webpack://destgotlandclient/./src/components/base/SvgIcon.vue","webpack://destgotlandclient/./src/components/base/SvgIcon.vue?ddb4","webpack://destgotlandclient/./src/components/basket/BasketTransitionExpand.vue?a272","webpack://destgotlandclient/./src/components/basket/BasketTransitionExpand.vue","webpack://destgotlandclient/./src/components/basket/Basket.vue?3daa","webpack://destgotlandclient/./src/components/basket/Basket.vue","webpack://destgotlandclient/./src/components/basket/Basket.vue?d826","webpack://destgotlandclient/./src/components/basket/ResourceList.vue?9f5b","webpack://destgotlandclient/./src/components/basket/ResourceList.vue","webpack://destgotlandclient/./src/components/basket/renderers/FerrySectionRenderer.vue?d961","webpack://destgotlandclient/./src/components/basket/renderers/FerrySectionRenderer.vue","webpack://destgotlandclient/./src/components/basket/renderers/BusSectionRenderer.vue?dfec","webpack://destgotlandclient/./src/components/basket/renderers/BusSectionRenderer.vue","webpack://destgotlandclient/./src/components/basket/BasketGroup.vue?6a8f","webpack://destgotlandclient/./src/components/basket/BasketGroup.vue","webpack://destgotlandclient/./src/components/basket/BasketGroup.vue?7896","webpack://destgotlandclient/./src/components/customer/CustomerDetailsForm.vue?fee3","webpack://destgotlandclient/./src/components/customer/CustomerDetailsForm.vue","webpack://destgotlandclient/./src/components/customer/CustomerDetailsForm.vue?f738","webpack://destgotlandclient/./src/components/customer/IslanderBox.vue?05d9","webpack://destgotlandclient/./src/components/customer/IslanderBox.vue","webpack://destgotlandclient/./src/components/customer/IslanderBox.vue?c45d","webpack://destgotlandclient/./src/components/maintenance/MaintenanceWrapper.vue?477f","webpack://destgotlandclient/./src/components/maintenance/MaintenanceWrapper.vue","webpack://destgotlandclient/./src/components/maintenance/MaintenanceWrapper.vue?c1c6","webpack://destgotlandclient/./src/components/base/BaseInfo.vue?4ba4","webpack://destgotlandclient/./src/components/base/BaseInfo.vue","webpack://destgotlandclient/./src/components/base/BaseInfo.vue?59a6","webpack://destgotlandclient/./src/components/payment/SavedCreditCards.vue?75d1","webpack://destgotlandclient/./src/components/payment/SavedCreditCards.vue","webpack://destgotlandclient/./src/components/payment/SavedCreditCards.vue?863f","webpack://destgotlandclient/./src/components/payment/PaymentOptions.vue?0c71","webpack://destgotlandclient/./src/components/payment/PaymentOptions.vue","webpack://destgotlandclient/./src/components/payment/PaymentOptions.vue?0e0a","webpack://destgotlandclient/./src/components/refund/BankAccountRefund.vue?0687","webpack://destgotlandclient/./src/components/refund/BankAccountRefund.vue","webpack://destgotlandclient/./src/components/refund/BankAccountRefund.vue?3d29","webpack://destgotlandclient/./src/components/refund/GiroRefund.vue?b091","webpack://destgotlandclient/./src/components/refund/GiroRefund.vue","webpack://destgotlandclient/./src/components/refund/GiroRefund.vue?e94a","webpack://destgotlandclient/./src/composables/useSiteSearch.ts","webpack://destgotlandclient/./src/components/site-search/SearchInput.vue?4604","webpack://destgotlandclient/./src/components/site-search/SearchInput.vue","webpack://destgotlandclient/./src/components/site-search/SearchInput.vue?e2aa","webpack://destgotlandclient/./src/modules/BookingFlow/components/steps/BookingContinue.vue?8af8","webpack://destgotlandclient/./src/modules/BookingFlow/components/steps/BookingContinue.vue","webpack://destgotlandclient/./src/modules/BookingFlow/components/steps/BookingContinue.vue?aa52","webpack://destgotlandclient/./src/modules/BookingFlow/components/steps/BookingSpacer.vue","webpack://destgotlandclient/./src/modules/BookingFlow/components/steps/BookingSpacer.vue?6f07","webpack://destgotlandclient/./src/modules/BookingFlow/components/steps/checkout/GiftcardSection.vue?1b38","webpack://destgotlandclient/./src/modules/BookingFlow/components/steps/checkout/GiftcardSection.vue","webpack://destgotlandclient/./src/modules/BookingFlow/components/steps/checkout/GiftcardSection.vue?4c32","webpack://destgotlandclient/./src/modules/BookingFlow/components/steps/checkout/Checkout.vue?8cc8","webpack://destgotlandclient/./src/modules/BookingFlow/components/steps/checkout/Checkout.vue","webpack://destgotlandclient/./src/modules/BookingFlow/components/steps/checkout/Checkout.vue?3f70","webpack://destgotlandclient/./src/modules/Login/components/LoginBooking.vue?c6e2","webpack://destgotlandclient/./src/modules/Login/components/LoginBooking.vue","webpack://destgotlandclient/./src/modules/Login/components/LoginBooking.vue?d5c6","webpack://destgotlandclient/./src/components/base/BasePopper.vue?d65c","webpack://destgotlandclient/./src/components/base/BasePopper.vue","webpack://destgotlandclient/./src/components/base/BasePopper.vue?30bd","webpack://destgotlandclient/./src/modules/Login/components/LoginForgotPassword.vue?207a","webpack://destgotlandclient/./src/modules/Login/components/LoginForgotPassword.vue","webpack://destgotlandclient/./src/modules/Login/components/LoginForgotPassword.vue?3d41","webpack://destgotlandclient/./src/modules/Login/components/LoginAccomodation.vue?cd96","webpack://destgotlandclient/./src/modules/Login/components/LoginAccomodation.vue","webpack://destgotlandclient/./src/modules/Login/components/LoginAccomodation.vue?65ba","webpack://destgotlandclient/./src/modules/Login/components/LoginAgent.vue?1673","webpack://destgotlandclient/./src/modules/Login/components/LoginAgent.vue","webpack://destgotlandclient/./src/modules/Login/components/LoginAgent.vue?9374","webpack://destgotlandclient/./src/modules/Login/components/LoginFerry.vue?59c5","webpack://destgotlandclient/./src/modules/Login/components/LoginFerry.vue","webpack://destgotlandclient/./src/modules/Login/components/LoginFerry.vue?bbf4","webpack://destgotlandclient/./src/modules/Login/components/LoginTab.vue?f093","webpack://destgotlandclient/./src/modules/Login/components/LoginTab.vue","webpack://destgotlandclient/./src/modules/Login/components/LoginTab.vue?d84b","webpack://destgotlandclient/./src/modules/Login/components/LoginForm.vue?0ae9","webpack://destgotlandclient/./src/modules/Login/components/LoginForm.vue","webpack://destgotlandclient/./src/modules/Login/components/LoginForm.vue?fb0e","webpack://destgotlandclient/./src/composables/login/useIslanderVerification.ts","webpack://destgotlandclient/./src/modules/Login/components/VerifyIslander.vue?4935","webpack://destgotlandclient/./src/modules/Login/components/VerifyIslander.vue","webpack://destgotlandclient/./src/modules/Login/components/VerifyIslander.vue?2afa","webpack://destgotlandclient/./src/modules/Login/components/LoginUser.vue?b360","webpack://destgotlandclient/./src/modules/Login/components/LoginUser.vue","webpack://destgotlandclient/./src/modules/Login/components/LoginUser.vue?b42e","webpack://destgotlandclient/./src/modules/MyPages/components/CustomerCardInfo.vue?6858","webpack://destgotlandclient/./src/modules/MyPages/components/CustomerCardInfo.vue","webpack://destgotlandclient/./src/modules/MyPages/components/CustomerCardInfo.vue?b3f3","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingBox.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingBox.vue?c494","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingAmend.vue?789e","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingAmend.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingAmend.vue?b347","webpack://destgotlandclient/./src/models/front/cancelBooking/CancelBookingResult.ts","webpack://destgotlandclient/./src/modules/MyPages/composables/useCancelBooking.ts","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingCancelLightbox.vue?8200","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingCancelLightbox.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingCancelLightbox.vue?94c7","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingCancel.vue?941a","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingCancel.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingCancel.vue?1333","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingPayment.vue?d837","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingPayment.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingPayment.vue?9b10","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingRefund.vue?ea0e","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingRefund.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingRefund.vue?06c9","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingActions.vue?3cf5","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingActions.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookingActions/MyBookingActions.vue?81e8","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookings/MyBookingItem.vue?e7e1","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookings/MyBookingItem.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyBookings/MyBookingItem.vue?745b","webpack://destgotlandclient/./src/modules/MyPages/components/MyProfile.vue?f7be","webpack://destgotlandclient/./src/modules/MyPages/components/MyProfile.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyProfile.vue?b176","webpack://destgotlandclient/./src/components/base/BaseHeading.vue?fe3a","webpack://destgotlandclient/./src/components/base/BaseHeading.vue","webpack://destgotlandclient/./src/components/base/BaseHeading.vue?6f11","webpack://destgotlandclient/./src/composables/login/useLogout.ts","webpack://destgotlandclient/./src/modules/MyPages/components/MyProfileLogOut.vue?cff7","webpack://destgotlandclient/./src/modules/MyPages/components/MyProfileLogOut.vue","webpack://destgotlandclient/./src/modules/MyPages/components/MyProfileLogOut.vue?5c0d"],"sourcesContent":["import { CustomerResponse } from \"@/models/api/customer/CustomerResponse\";\r\nimport { AddressInformation } from \"@/models/front/customer/AddressInformation\";\r\nimport { mapFromCustomerLoginResponse } from \"@/models/store/User\";\r\nimport { ref } from \"vue\";\r\nimport { useQueryClient } from \"vue-query\";\r\nimport useApi from \"../useApi\";\r\nimport useLogin from \"./useLogin\";\r\n\r\nconst useCreateAccount = () => {\r\n const { post } = useApi();\r\n const { setUserState } = useLogin();\r\n const queryClient = useQueryClient();\r\n\r\n const isLoading = ref(false);\r\n\r\n const error = ref();\r\n\r\n const createAccount = (address: AddressInformation) => {\r\n error.value = undefined;\r\n isLoading.value = true;\r\n return post(\"customer/create\", address)\r\n .then((resp) => {\r\n queryClient.invalidateQueries(\"address-info\");\r\n setUserState(mapFromCustomerLoginResponse(resp.data));\r\n return resp.data;\r\n })\r\n .catch((err) => {\r\n error.value = err;\r\n return Promise.reject(err);\r\n })\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n return {\r\n createAccount,\r\n isLoading,\r\n error,\r\n };\r\n};\r\n\r\nexport default useCreateAccount;\r\n","import { ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport useApi from \"../useApi\";\r\n\r\nconst useForgotPassword = () => {\r\n const isLoading = ref(false);\r\n const isSuccess = ref(false);\r\n const { post } = useApi();\r\n const { locale } = useI18n();\r\n\r\n const sendForgotPassword = (email: string) => {\r\n if (isSuccess.value) return Promise.resolve();\r\n isLoading.value = true;\r\n return post(\"reset-password\", { userName: email, language: locale.value })\r\n .then(() => {\r\n isSuccess.value = true;\r\n })\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n return {\r\n sendForgotPassword,\r\n isLoading,\r\n isSuccess,\r\n };\r\n};\r\n\r\nexport default useForgotPassword;\r\n","import { UserType } from \"@/models/Enums\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { computed } from \"vue\";\r\nimport { useQuery } from \"vue-query\";\r\nimport useApi from \"../useApi\";\r\n\r\nconst useIsLoggedInQuery = () => {\r\n const { get } = useApi();\r\n\r\n const userStore = useUserStore();\r\n\r\n const isAgent = computed(() => userStore.isAgent);\r\n\r\n const isAgentLoggedIn = () => {\r\n return get(\"agent/isLoggedIn\", \"\");\r\n };\r\n\r\n const isCustomerLoggedIn = () => {\r\n return get(\"customer/isLoggedIn\", \"\");\r\n };\r\n\r\n const fetcher = (): Promise => {\r\n const promise = isAgent.value ? isAgentLoggedIn() : isCustomerLoggedIn();\r\n return promise.then(() => {\r\n return true;\r\n });\r\n };\r\n\r\n const cacheKey = computed(() => {\r\n return [\"isLoggedIn\", userStore.getUserType, userStore.getUser.email];\r\n });\r\n\r\n return {\r\n ...useQuery(cacheKey.value, fetcher, {\r\n staleTime: 1000 * 60,\r\n retry: false,\r\n enabled: computed(() => userStore.isLoggedIn && userStore.getUserType !== UserType.Booking),\r\n }),\r\n };\r\n};\r\n\r\nexport default useIsLoggedInQuery;\r\n","import { UserType } from \"@/models/Enums\";\r\nimport { LoginRequest } from \"@/models/api/LoginRequest\";\r\nimport { AgentLoginResponse, CustomerLoginResponse } from \"@/models/api/LoginResponse\";\r\nimport { OpenBookingResult } from \"@/models/api/OpenBookingResult\";\r\nimport { User, mapFromAgentLoginResponse, mapFromCustomerLoginResponse } from \"@/models/store/User\";\r\nimport { useBookingStore } from \"@/store/booking\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { AxiosResponse } from \"axios\";\r\nimport Cookies from \"js-cookie\";\r\nimport { inject, ref } from \"vue\";\r\nimport useApi from \"../useApi\";\r\nimport { eventBusKey } from \"@/models/Symbols/Eventbus\";\r\nimport { whoamiKey } from \"@/config/storageKeys\";\r\n\r\nconst useLogin = () => {\r\n const { post, removeToken, get } = useApi({ displayErrors: false });\r\n const userStore = useUserStore();\r\n const isLoading = ref(false);\r\n const bookingStore = useBookingStore();\r\n\r\n const eventBus = inject(eventBusKey);\r\n\r\n const setCookies = (firstName?: string) => {\r\n if (firstName) {\r\n Cookies.set(whoamiKey, firstName);\r\n eventBus?.emit(\"update-whoami\", firstName);\r\n }\r\n };\r\n\r\n const bookingLogin = (bookingNumber: number, phone: string) => {\r\n isLoading.value = true;\r\n return post(\"auth/phone\", {\r\n bookingNumber,\r\n phoneNumber: phone,\r\n })\r\n .then((resp) => {\r\n setUserState({\r\n type: UserType.Booking,\r\n mobilePhone: resp.data.phone,\r\n });\r\n\r\n bookingStore.setFromApi(resp.data, true);\r\n return resp.data;\r\n })\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n const agentLogin = (email: string, password: string, force: boolean) => {\r\n isLoading.value = true;\r\n return post(\"auth/agent\", {\r\n userName: email,\r\n password,\r\n force,\r\n } as LoginRequest)\r\n .then((resp) => {\r\n const agentUser = mapFromAgentLoginResponse(resp.data.agent);\r\n\r\n setUserState(agentUser);\r\n\r\n return { agent: agentUser, url: resp.data.url };\r\n })\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n const customerLogin = (email: string, password: string, force: boolean): Promise> => {\r\n isLoading.value = true;\r\n return post(\"auth/customer\", {\r\n userName: email,\r\n password,\r\n force,\r\n } as LoginRequest)\r\n .then((resp) => {\r\n // 202 if product code mismatch (need to login before starting booking process)\r\n if (force || resp.status === 202) {\r\n bookingStore.resetBookingState();\r\n }\r\n\r\n setUserState(mapFromCustomerLoginResponse(resp.data.customer));\r\n return resp;\r\n })\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n const logoutBooking = () => {\r\n isLoading.value = true;\r\n get(\"logout\", \"\")\r\n .finally(() => {\r\n removeToken();\r\n userStore.logout();\r\n })\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n const setUserState = (user: User) => {\r\n eventBus?.emit(\"user-login\", user);\r\n userStore.login(user);\r\n setCookies(user.firstName ?? user.name);\r\n };\r\n\r\n return {\r\n isLoading,\r\n bookingLogin,\r\n logoutBooking,\r\n agentLogin,\r\n setUserState,\r\n customerLogin,\r\n };\r\n};\r\n\r\nexport default useLogin;\r\n","import { eventBusKey } from \"@/models/Symbols/Eventbus\";\r\nimport { loginModalKey } from \"@/models/Symbols/LoginModal\";\r\nimport { inject, onMounted, ref } from \"vue\";\r\n\r\nconst isOpen = ref(false);\r\n\r\nconst useLoginModal = () => {\r\n const loginRef = ref();\r\n const eventBus = inject(eventBusKey);\r\n\r\n eventBus?.on(loginModalKey, (e: any) => {\r\n isOpen.value = !!e;\r\n })\r\n\r\n const showLoginModal = (event: Event) => {\r\n event.preventDefault();\r\n eventBus?.emit(loginModalKey, true);\r\n };\r\n\r\n onMounted(() => {\r\n // adding some delay here because the i18n-string is not inserted instantly..\r\n setTimeout(() => {\r\n if (!loginRef.value) return;\r\n loginRef.value.querySelectorAll(\"a\").forEach((item: HTMLElement) => {\r\n item.addEventListener(\"click\", showLoginModal);\r\n });\r\n }, 500);\r\n });\r\n\r\n return {\r\n loginRef,\r\n isOpen\r\n }\r\n}\r\n\r\nexport default useLoginModal;","import i18n from \"@/config/i18n\";\r\nimport { apiTokenKey, whoamiKey } from \"@/config/storageKeys\";\r\nimport { storageWithExpiration } from \"@/helpers/storageHelper\";\r\nimport { ErrorCodes, PageUrl } from \"@/models/Enums\";\r\nimport { RuntimeConfig } from \"@/models/RuntimeConfig\";\r\nimport { DialogType } from \"@/models/Symbols/Dialog\";\r\nimport { eventBusKey } from \"@/models/Symbols/Eventbus\";\r\nimport { useQueueStore } from \"@/store/queue\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport axios, { AxiosError, AxiosResponse, Method } from \"axios\";\r\nimport Cookies from \"js-cookie\";\r\nimport { inject, readonly, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport useDialog from \"./useDialog\";\r\nimport useRuntimeConfig from \"./useRuntimeConfig\";\r\nimport useSnackbar from \"./useSnackbar\";\r\nimport useRedirect from \"./useRedirect\";\r\nimport { postMessage } from \"@/helpers/messageHandler\";\r\nimport { translateIfExists } from \"@/helpers/localeHelper\";\r\n\r\ntype ApiOptions = {\r\n displayErrors?: boolean;\r\n useBaseUrl?: boolean;\r\n suppressSessionExpired?: boolean;\r\n};\r\n\r\naxios.defaults.withCredentials = true;\r\n\r\nconst devMode = process.env.NODE_ENV !== \"production\";\r\nconst serviceUnavailable = ref(false);\r\nconst tokenStorage = storageWithExpiration(localStorage);\r\n\r\nconst setServiceUnavailable = (value: boolean) => {\r\n serviceUnavailable.value = value;\r\n};\r\n\r\nconst defaultOptions: ApiOptions = {\r\n displayErrors: true,\r\n useBaseUrl: true,\r\n suppressSessionExpired: false,\r\n};\r\n\r\nconst useApi = (options?: ApiOptions) => {\r\n const { displayErrors, suppressSessionExpired, useBaseUrl } = { ...defaultOptions, ...(options ?? {}) };\r\n\r\n const { getRuntimeConfig } = useRuntimeConfig();\r\n const { t } = useI18n();\r\n const { displaySnack } = useSnackbar();\r\n const { displayDialog } = useDialog();\r\n const userStore = useUserStore();\r\n const queueStore = useQueueStore();\r\n const { redirect } = useRedirect();\r\n\r\n const eventBus = inject(eventBusKey);\r\n\r\n const getToken = () => tokenStorage.getItem(apiTokenKey);\r\n const setToken = (value: string) => tokenStorage.setItem(apiTokenKey, value);\r\n const removeToken = () => {\r\n tokenStorage.removeItem(apiTokenKey);\r\n Cookies.remove(whoamiKey);\r\n eventBus?.emit(\"update-whoami\", \"\");\r\n };\r\n\r\n const setTokenFromResponse = (resp: AxiosResponse) => {\r\n if (resp?.headers[\"x-dg-token\"]) {\r\n setToken(resp.headers[\"x-dg-token\"]);\r\n userStore.$persist();\r\n }\r\n };\r\n\r\n const getBaseUrl = (c: RuntimeConfig) => {\r\n return useBaseUrl ? c.apiBaseUrl : \"\";\r\n };\r\n\r\n const post = (url: string, data: unknown, headers: Record = {}, signal?: AbortSignal): Promise> => {\r\n return getRuntimeConfig().then((c) =>\r\n execute(axios.post(`${getBaseUrl(c)}${url}`, data, getRequestConfig(\"POST\", data, headers, signal)))\r\n );\r\n };\r\n\r\n const get = (url: string, data: unknown, headers: Record = {}, signal?: AbortSignal): Promise> => {\r\n return getRuntimeConfig().then((c) =>\r\n execute(axios.get(`${getBaseUrl(c)}${url}`, getRequestConfig(\"GET\", data, headers, signal)))\r\n );\r\n };\r\n\r\n const del = (url: string, data: unknown, headers: Record = {}): Promise> => {\r\n return getRuntimeConfig().then((c) => execute(axios.delete(`${getBaseUrl(c)}${url}`, getRequestConfig(\"DELETE\", data, headers))));\r\n };\r\n\r\n const put = (url: string, data: unknown, headers: Record = {}): Promise> => {\r\n return getRuntimeConfig().then((c) => execute(axios.put(`${getBaseUrl(c)}${url}`, data, getRequestConfig(\"PUT\", data, headers))));\r\n };\r\n\r\n const patch = (url: string, data: unknown, headers: Record = {}): Promise> => {\r\n return getRuntimeConfig().then((c) =>\r\n execute(axios.patch(`${getBaseUrl(c)}${url}`, data, getRequestConfig(\"PATCH\", data, headers)))\r\n );\r\n };\r\n\r\n const execute = (fetcher: Promise>): Promise> => {\r\n return new Promise((resolve, reject) => {\r\n fetcher\r\n .then((resp) => {\r\n setTokenFromResponse(resp);\r\n resolve(resp as AxiosResponse);\r\n })\r\n .catch((err) => {\r\n if (!suppressSessionExpired && err?.response?.status === 401) {\r\n onSessionExpired();\r\n } else {\r\n handleError(err);\r\n }\r\n\r\n reject(err);\r\n }) as Promise | void>;\r\n });\r\n };\r\n\r\n const getRequestConfig = (method: Method, data: unknown, headers: Record, signal?: AbortSignal) => {\r\n if (method == \"GET\") {\r\n return { ...getHeaders(headers), params: data, signal };\r\n }\r\n if (method == \"DELETE\") {\r\n return {\r\n ...getHeaders(headers),\r\n data,\r\n signal,\r\n };\r\n }\r\n return { ...getHeaders(headers), signal };\r\n };\r\n\r\n const getHeaders = (optionalHeaders: Record) => {\r\n const token = getToken();\r\n return {\r\n headers: {\r\n ...(token\r\n ? {\r\n \"x-dg-token\": token,\r\n }\r\n : {}),\r\n ...optionalHeaders,\r\n \"Accept-Language\": i18n.global.locale.value,\r\n \"X-DG-ID\": userStore.getUser.number?.toString() ?? \"\",\r\n },\r\n };\r\n };\r\n\r\n const authenticate = () => {\r\n return getRuntimeConfig().then(() => {\r\n if (!getToken()) {\r\n return post(\"auth\", {}).catch((err) => {\r\n removeToken();\r\n return Promise.reject(err);\r\n });\r\n }\r\n });\r\n };\r\n\r\n const setErrorMessage = (err: AxiosError) => {\r\n if (i18n.global.te(`errors.${err.response?.data?.errorCode}`)) {\r\n err.message = i18n.global.t(`errors.${err.response?.data?.errorCode}`, {\r\n message: translateIfExists(`apiMessages.${err?.response?.data?.message}`) ?? \"\",\r\n });\r\n } else if (devMode) {\r\n err.message = err.toString();\r\n } else {\r\n err.message = i18n.global.t(\"errors.1\");\r\n }\r\n };\r\n\r\n const handleError = (err: AxiosError) => {\r\n if (err?.response?.status === 420) {\r\n serviceUnavailable.value = true;\r\n } else if (err?.response?.status === 429) {\r\n queueStore.setIsQueue(true);\r\n redirect(PageUrl.Queue, `?returnUrl=${window.location.href}`);\r\n }\r\n setErrorMessage(err);\r\n if ((!displayErrors && err.response) || serviceUnavailable.value) {\r\n return;\r\n }\r\n\r\n const errorCode = (err.response?.data as any)?.errorCode;\r\n if (errorCode) {\r\n switch (errorCode) {\r\n case ErrorCodes.BookingLocked:\r\n displayDialog({\r\n title: t(\"messages.bookingLocked.title\"),\r\n message: err.message,\r\n yes: t(\"button.ok\"),\r\n type: DialogType.info,\r\n });\r\n break;\r\n }\r\n }\r\n\r\n if (err.message && err.code !== \"ERR_CANCELED\" && !serviceUnavailable.value) {\r\n displaySnack({\r\n type: \"danger\",\r\n message: err.message,\r\n id: Date.now().toString(),\r\n });\r\n }\r\n };\r\n\r\n const delay = (t: number, value: unknown = undefined) => {\r\n return new Promise(function (resolve) {\r\n setTimeout(resolve.bind(null, value), t);\r\n });\r\n };\r\n\r\n type PromiseFunction = () => Promise;\r\n const reAuthenticate = (call: PromiseFunction, count = 3): Promise => {\r\n let lastError: AxiosError;\r\n return new Promise((resolve, reject) => {\r\n if (count > 0) {\r\n authenticate().then(() => {\r\n call()\r\n .then((data: T) => resolve(data))\r\n .catch((err) => {\r\n lastError = err;\r\n removeToken();\r\n reAuthenticate(call, count - 1);\r\n });\r\n });\r\n } else {\r\n reject(lastError ?? \"\");\r\n }\r\n });\r\n };\r\n\r\n const retry = (call: PromiseFunction, count = 3): Promise => {\r\n let lastError: AxiosError;\r\n return new Promise((resolve, reject) => {\r\n if (count > 0) {\r\n call()\r\n .then((data: T) => resolve(data))\r\n .catch((err) => {\r\n lastError = err;\r\n delay(500).then(() => retry(call, count - 1));\r\n });\r\n } else {\r\n reject(lastError);\r\n }\r\n });\r\n };\r\n\r\n const onSessionExpired = () => {\r\n displayDialog({\r\n title: t(\"messages.sessionExpired.title\"),\r\n message: t(\"messages.sessionExpired.body\"),\r\n yes: t(\"button.ok\"),\r\n callback: () => {\r\n userStore.$reset();\r\n sessionStorage.clear();\r\n localStorage.clear();\r\n removeToken();\r\n\r\n if (postMessage(\"sessionexpired\") === false) {\r\n window.location.replace(location.origin);\r\n }\r\n },\r\n type: DialogType.redirect,\r\n });\r\n };\r\n\r\n return {\r\n post,\r\n get,\r\n del,\r\n patch,\r\n put,\r\n removeToken,\r\n authenticate,\r\n getToken,\r\n reAuthenticate,\r\n delay,\r\n retry,\r\n setToken,\r\n serviceUnavailable: readonly(serviceUnavailable),\r\n onSessionExpired,\r\n setServiceUnavailable,\r\n };\r\n};\r\n\r\nexport default useApi;\r\n","import { dialogKey, DialogMessage } from \"@/models/Symbols/Dialog\";\r\nimport { eventBusKey } from \"@/models/Symbols/Eventbus\";\r\nimport { inject, ref } from \"vue\";\r\n\r\nconst useDialog = () => {\r\n const eventBus = inject(eventBusKey);\r\n\r\n const data = ref();\r\n const show = ref(false);\r\n\r\n eventBus?.on(dialogKey, (event) => {\r\n const e = event as DialogMessage;\r\n show.value = true;\r\n data.value = e;\r\n });\r\n\r\n const displayDialog = (message: DialogMessage, timeout = 10) => {\r\n setTimeout(() => {\r\n eventBus?.emit(dialogKey, message);\r\n }, timeout);\r\n };\r\n\r\n return {\r\n displayDialog,\r\n show,\r\n data,\r\n };\r\n};\r\n\r\nexport default useDialog;\r\n","import { GiftCardBalanceRequest } from \"@/models/api/GiftCardBalanceRequest\";\r\nimport { GiftCardBalanceResponse } from \"@/models/api/GiftCardBalanceResponse\";\r\nimport { GiftCardPurchaseRequest } from \"@/models/api/GiftCardPurchaseRequest\";\r\nimport { GiftCardPurchaseResponse } from \"@/models/api/GiftCardPurchaseResponse\";\r\nimport { ref } from \"vue\";\r\nimport useApi from \"./useApi\";\r\n\r\nconst useGiftCard = () => {\r\n const isLoading = ref(false);\r\n const { post, get } = useApi({ displayErrors: false });\r\n\r\n //Buying a giftcard\r\n const giftCardPurchase = (req: GiftCardPurchaseRequest) => {\r\n isLoading.value = true;\r\n return post(\"giftcard/init\", req)\r\n .then((resp) => resp.data)\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n //Get giftcard balance and expiry date\r\n const giftCardBalance = (state: GiftCardBalanceRequest) => {\r\n isLoading.value = true;\r\n\r\n return get(\"giftcard/balance\", state)\r\n .then((resp) => resp.data)\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n return {\r\n giftCardPurchase,\r\n giftCardBalance,\r\n isLoading,\r\n };\r\n};\r\n\r\nexport default useGiftCard;\r\n","import { CheckoutType, PostSaleResponse } from \"../api/PostSaleResponse\";\r\nimport { PaymentInfo } from \"./PaymentInfo\";\r\nimport { BasketSection, mapFromBasketSectionResponse } from \"./basket/BasketGroup\";\r\nimport { AddressInformation, mapFromAddressInformationResponse } from \"./customer/AddressInformation\";\r\n\r\ntype SaleType = \"Card\" | \"Booking\";\r\n\r\nexport class PostSale {\r\n accessToken: string;\r\n bookingNumber: number;\r\n sections: BasketSection[];\r\n address: AddressInformation;\r\n id: string;\r\n isRebook: boolean;\r\n paymentInfo: PaymentInfo;\r\n confirmationUrl: string;\r\n currency: string;\r\n type: SaleType;\r\n checkoutType: CheckoutType;\r\n smsText?: string;\r\n voucherUrl?: string;\r\n\r\n constructor(resp: PostSaleResponse) {\r\n this.accessToken = resp.accessToken;\r\n this.bookingNumber = resp.bookingNumber;\r\n this.sections = resp.sections.map((p) => mapFromBasketSectionResponse(p));\r\n this.address = mapFromAddressInformationResponse(resp.address);\r\n this.id = resp.id;\r\n this.isRebook = resp.isRebook ?? false;\r\n this.paymentInfo = new PaymentInfo(resp.paymentInfo);\r\n this.confirmationUrl = resp.confirmationUrl;\r\n this.currency = resp.currency;\r\n this.checkoutType = resp.type ?? \"Payment\";\r\n this.type = getSaleType(this.sections);\r\n this.smsText = resp.sms;\r\n this.voucherUrl = resp.voucherUrl;\r\n }\r\n}\r\n\r\nfunction getSaleType(sections: BasketSection[]): SaleType {\r\n if (!sections.length) return \"Booking\";\r\n\r\n if (sections[0].route.toString() == \"KORT\") {\r\n return \"Card\";\r\n }\r\n\r\n return \"Booking\";\r\n}\r\n","import useApi from \"@/composables/useApi\";\r\nimport { InitPaymentResponse } from \"@/models/api/InitPaymentResponse\";\r\nimport { PostSaleResponse } from \"@/models/api/PostSaleResponse\";\r\nimport { PostSale } from \"@/models/front/PostSale\";\r\nimport { ref } from \"vue\";\r\n\r\nconst usePayment = () => {\r\n const isLoading = ref(false);\r\n const { post, reAuthenticate } = useApi();\r\n\r\n const registerSale = (reference: string): Promise => {\r\n isLoading.value = true;\r\n return post(\"sale\", { transactionId: reference })\r\n .then((resp) => new PostSale(resp.data))\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n const setPayment = (reference: string): Promise => {\r\n const fn = () => {\r\n return registerSale(reference);\r\n };\r\n isLoading.value = true;\r\n return new Promise((resolve, reject) => {\r\n reAuthenticate(fn)\r\n .then((data) => {\r\n resolve(data);\r\n })\r\n .catch((err) => reject(err))\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n });\r\n };\r\n\r\n const getCancelUrl = (): string => {\r\n const baseUrl = window.location.href.split(\"?\")[0];\r\n const param = location.search.length > 0 ? \"&\" : \"?\";\r\n return `${baseUrl}${location.search}${param}error=paymentCancelled`;\r\n };\r\n\r\n const initPayment = (type: string, bookingNumber: number, paymentMethod: string, terms: boolean): Promise => {\r\n isLoading.value = true;\r\n return post(type + \"/init\", {\r\n bookingNumber,\r\n ...(paymentMethod ? { paymentMethod } : {}),\r\n terms,\r\n cancelUrl: getCancelUrl(),\r\n })\r\n .then((resp) => resp.data)\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n return {\r\n setPayment,\r\n getCancelUrl,\r\n initPayment,\r\n isLoading,\r\n };\r\n};\r\n\r\nexport default usePayment;\r\n","import { PageUrl } from \"@/models/Enums\";\r\nimport { LocaleString } from \"@/models/RuntimeConfig\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport useRuntimeConfig from \"./useRuntimeConfig\";\r\n\r\nconst useRedirect = () => {\r\n const { locale } = useI18n();\r\n const { getRuntimeConfig } = useRuntimeConfig();\r\n\r\n const redirectToPage = (path: LocaleString, query: string) => {\r\n window.location.href = path[locale.value as keyof LocaleString] + query\r\n }\r\n\r\n const redirect = (url: PageUrl, query = '') => {\r\n getRuntimeConfig().then((x) => { redirectToPage(x[url], query) });\r\n }\r\n\r\n return {\r\n redirect\r\n }\r\n}\r\n\r\nexport default useRedirect;","import { RuntimeConfig } from \"@/models/RuntimeConfig\";\r\nimport axios from \"axios\";\r\nimport PQueue from \"p-queue\";\r\nimport { ref } from \"vue\";\r\n\r\nconst version = process.env.PACKAGE_VERSION;\r\nconst url = process.env.RUNTIME_CONFIG_URL ?? \"/vue/dg/dist/runtimeConfig.json\";\r\n\r\nconst config = ref({\r\n apiBaseUrl: \"https://api.destinationgotland.se/api/v2/\",\r\n account_path: {\r\n en: \"/en/ferry/book/my-pages\",\r\n sv: \"/sv/farja/boka/mina-sidor\",\r\n de: \"/de/fahre/buchen/meine-seiten/\",\r\n },\r\n booking_path: {\r\n en: \"/en/ferry/book\",\r\n sv: \"/sv/farja/boka\",\r\n de: \"/de/fahre/buchen\",\r\n },\r\n queue_path: {\r\n en: \"/en/ferry/queue\",\r\n sv: \"/sv/farja/queue\",\r\n de: \"/de/fahre/queue\",\r\n },\r\n});\r\n\r\nconst read = ref(false);\r\nconst queue = new PQueue({ concurrency: 1 });\r\n\r\nconst useRuntimeConfig = () => {\r\n const fetcher = async () => {\r\n if (read.value) return config.value;\r\n\r\n const runtimeConfig = await axios.get(url + \"?version=\" + version);\r\n const json = runtimeConfig.data;\r\n config.value = {\r\n apiBaseUrl: json.api_base_url,\r\n account_path: json.account_path,\r\n booking_path: json.booking_path,\r\n queue_path: json.queue_path,\r\n };\r\n\r\n read.value = true;\r\n\r\n return config.value;\r\n };\r\n\r\n const getRuntimeConfig = async () => {\r\n return queue.add(fetcher) as Promise;\r\n };\r\n\r\n return {\r\n getRuntimeConfig,\r\n };\r\n};\r\n\r\nexport default useRuntimeConfig;\r\n","import { MessageType } from \"@/models/Enums\";\r\nimport { ref } from \"vue\";\r\nimport useApi from \"./useApi\";\r\n\r\ntype SendSmsRequest = {\r\n accessToken: string;\r\n phoneNumber: string;\r\n bookingNumber: number;\r\n type: string;\r\n message: string;\r\n}\r\n\r\nconst useSendMessage = () => {\r\n const isLoading = ref(false);\r\n const { post } = useApi();\r\n\r\n const sendEmail = (bookingNumber: number, type: MessageType, message: string, replyTo: string): Promise => {\r\n isLoading.value = true;\r\n return post(\"message/mail\", {\r\n bookingNumber,\r\n type,\r\n message,\r\n replyTo,\r\n }).then((resp) => resp.data)\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n }\r\n\r\n const sendSms = (req: SendSmsRequest): Promise => {\r\n isLoading.value = true;\r\n return post(\"message/sms\", req).then((resp) => resp.data)\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n return {\r\n isLoading,\r\n sendEmail,\r\n sendSms\r\n }\r\n\r\n};\r\n\r\nexport default useSendMessage;","import { eventBusKey } from \"@/models/Symbols/Eventbus\";\r\nimport { SnackbarMessage, snackbarMessageKey } from \"@/models/Symbols/Snackbar\";\r\nimport { inject } from \"vue\";\r\n\r\nconst useSnackbar = () => {\r\n const eventBus = inject(eventBusKey);\r\n const displaySnack = (data: SnackbarMessage) => {\r\n eventBus?.emit(snackbarMessageKey, data);\r\n }\r\n\r\n return {\r\n displaySnack\r\n }\r\n}\r\n\r\nexport default useSnackbar;","import { DialogType } from \"@/models/Symbols/Dialog\";\r\nimport { useBookingStore } from \"@/store/booking\";\r\nimport { ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport { useQueryClient } from \"vue-query\";\r\nimport useApi from \"./useApi\";\r\nimport useSnackbar from \"./useSnackbar\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { UserType } from \"@/models/Enums\";\r\n\r\nconst useUnloadBookings = (displaySnackbarOnUnload = true) => {\r\n const { post } = useApi();\r\n const isLoading = ref(false);\r\n const bookingStore = useBookingStore();\r\n const userStore = useUserStore();\r\n\r\n const { displaySnack } = useSnackbar();\r\n const { t } = useI18n();\r\n const queryClient = useQueryClient();\r\n\r\n const unload = ( productcode?: string) => {\r\n isLoading.value = true;\r\n return post(\"auth/unload\", { productcode } )\r\n .then(() => {\r\n bookingStore.resetBookingState();\r\n // If 'logged in' to a booking, reset userStore as well\r\n if (userStore.getUserType === UserType.Booking) {\r\n userStore.$reset();\r\n }\r\n\r\n if (displaySnackbarOnUnload) {\r\n displaySnack({\r\n id: \"close\",\r\n message: t(\"booking.bookingClosed\"),\r\n type: DialogType.info,\r\n });\r\n }\r\n })\r\n .finally(() => {\r\n queryClient.invalidateQueries(\"calc\");\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n return {\r\n unload,\r\n isLoading,\r\n };\r\n};\r\n\r\nexport default useUnloadBookings;\r\n","import i18n from \"./i18n\";\r\n\r\n\r\nexport const accommodationConfig = [\r\n {\r\n type: 0,\r\n multipleRooms: false,\r\n },\r\n {\r\n type: 34938,\r\n multipleRooms: true,\r\n\r\n },\r\n {\r\n type: 14865,\r\n multipleRooms: false,\r\n },\r\n {\r\n type: 4632,\r\n multipleRooms: false\r\n }\r\n].map((o) => ({\r\n ...o,\r\n value: o.type,\r\n label: i18n.global.t(`onebasket.accommodation.types.${o.type}`)\r\n}));","export const rangeHighlights = {\r\n highlight: {\r\n start: {\r\n style: {\r\n backgroundColor: \"var(--blue-600)\", // blue\r\n },\r\n contentStyle: {\r\n color: \"#ffffff\", // color of the text\r\n },\r\n },\r\n base: {\r\n style: {\r\n backgroundColor: \"#dcecf2\", // light blue\r\n },\r\n },\r\n end: {\r\n style: {\r\n backgroundColor: \"var(--blue-600)\", // blue\r\n },\r\n contentStyle: {\r\n color: \"#ffffff\", // color of the text\r\n },\r\n },\r\n },\r\n};","import { getLocaleString } from \"@/helpers/localeHelper\";\r\nimport countryListJson from \"./countrylist.json\";\r\n\r\nexport const countryList = countryListJson;\r\n\r\ninterface Country {\r\n label: TranslatedString;\r\n countryCode: string;\r\n phoneCode: string;\r\n}\r\n\r\ninterface TranslatedString {\r\n en: string;\r\n de: string;\r\n sv: string;\r\n}\r\n\r\nexport const countryCodes = countryListJson.map((c: Country) => ({\r\n label: `${c.label[getLocaleString() as keyof TranslatedString]} +${c.phoneCode}`,\r\n value: c.phoneCode\r\n}))\r\n\r\nexport const countries = countryListJson.map((c: Country) => ({\r\n label: c.label[getLocaleString() as keyof TranslatedString],\r\n value: c.countryCode\r\n}))","import { createI18n } from \"vue-i18n\";\r\nimport de from \"../locales/de.json\";\r\nimport en from \"../locales/en.json\";\r\nimport sv from \"../locales/sv.json\";\r\n\r\nconst getLocale = () => {\r\n // Read language from user agent if we're on the app\r\n const userAgent = navigator.userAgent.trim();\r\n const userAgentLang = userAgent.substring(userAgent.length - 2);\r\n\r\n if ([\"sv\", \"en\"].includes(userAgentLang)) {\r\n return userAgentLang;\r\n }\r\n return document.getElementsByTagName(\"html\")[0].getAttribute(\"lang\");\r\n};\r\n\r\nconst locale = getLocale();\r\n\r\nconst i18n = createI18n({\r\n legacy: false,\r\n locale: locale || \"sv\",\r\n fallbackLocale: process.env.VUE_APP_I18N_FALLBACK_LOCALE || \"sv\",\r\n globalInjection: true,\r\n messages: { sv, en, de },\r\n});\r\n\r\nexport default i18n;\r\n","import { PassengerType } from \"@/models/Enums\";\r\nimport i18n from \"~/config/i18n\";\r\n\r\ninterface PassengerOption {\r\n value: string;\r\n label: string;\r\n min: number;\r\n max: number;\r\n type: string;\r\n}\r\n\r\nexport const passengerOptions = [\r\n {\r\n value: PassengerType.Adult,\r\n label: i18n.global.t(\"passengerType.A\"),\r\n min: 26,\r\n type: 'standard',\r\n },\r\n {\r\n value: PassengerType.Teen,\r\n label: i18n.global.t(\"passengerType.T\"),\r\n min: 13,\r\n max: 18,\r\n type: 'standard',\r\n },\r\n {\r\n value: PassengerType.Youth,\r\n label: i18n.global.t(\"passengerType.U\"),\r\n min: 19,\r\n max: 25,\r\n type: 'standard',\r\n },\r\n {\r\n value: PassengerType.Child,\r\n label: i18n.global.t(\"passengerType.C\"),\r\n min: 3,\r\n max: 12,\r\n type: 'standard',\r\n },\r\n {\r\n value: PassengerType.Infant,\r\n label: i18n.global.t(\"passengerType.I\"),\r\n min: 0,\r\n max: 2,\r\n type: 'standard',\r\n },\r\n {\r\n value: PassengerType.Senior,\r\n label: i18n.global.t(\"passengerType.P\"),\r\n min: 26,\r\n type: 'standard',\r\n },\r\n {\r\n value: PassengerType.Student,\r\n label: i18n.global.t(\"passengerType.S\"),\r\n min: 16,\r\n type: 'standard',\r\n },\r\n {\r\n value: PassengerType.Commuter,\r\n label: i18n.global.t(\"passengerType.F\"),\r\n min: 0,\r\n type: 'commuter'\r\n },\r\n {\r\n value: PassengerType.DiscountCard,\r\n label: i18n.global.t('passengerType.K'),\r\n min: 0,\r\n type: 'commuter'\r\n },\r\n {\r\n value: PassengerType.CabinCommuter,\r\n label: i18n.global.t(\"passengerType.H\"),\r\n min: 0,\r\n type: 'commuter'\r\n },\r\n {\r\n value: PassengerType.CarPackage,\r\n label: i18n.global.t(\"passengerType.M\"),\r\n min: 0,\r\n type: 'strange',\r\n }\r\n] as PassengerOption[];\r\n","import { OptionItem } from \"@/models/OptionItem\";\r\n\r\nexport const departureRoutes = {\r\n\tNYVI: \"NYVI\",\r\n\tVINY: \"VINY\",\r\n\tOSVI: \"OSVI\",\r\n\tVIOS: \"VIOS\",\r\n\tVIVA: \"VIVA\",\r\n\tVAVI: \"VAVI\"\r\n}\r\n\r\nexport const getReturnRoutes = (route: string, routes: OptionItem[]) => {\r\n\tconst origin = route.substring(0, 2)\r\n\tconst destination = route.substring(2, 4);\r\n\treturn routes.filter(r => {\r\n\t\tif (destination == 'VI') {\r\n\t\t\treturn r.value.startsWith(destination);\r\n\t\t}\r\n\r\n\t\tif (origin == 'VI') {\r\n\t\t\treturn r.value.endsWith(origin)\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t})\r\n}\r\n\r\nexport const getReverseRoute = (route: string) => {\r\n\treturn `${route.substring(2, 4)}${route.substring(0, 2)}`\r\n}","export const apiTokenKey = \"DESTGOTLAND\";\r\nexport const whoamiKey = \"dg_whoami\";","export const userAgentIsApp = () => {\r\n return window.navigator.userAgent.includes(\"App 2\")\r\n}","import { eachDayOfInterval, endOfWeek, startOfToday, startOfWeek, parseISO, max, min, isValid, isBefore, startOfHour } from \"date-fns\";\r\nimport { getLocale } from \"./localeHelper\";\r\nimport { formatInTimeZone } from \"date-fns-tz\";\r\n\r\nexport const formatDate = (date: string | Date, dateFormat: string): string => {\r\n return formatInTimeZone(new Date(date), \"Europe/Stockholm\", dateFormat, { locale: getLocale() });\r\n};\r\n\r\nexport const dateAndTime = (date: string | Date): string => {\r\n return formatDate(date, \"yyyy-MM-dd HH:mm\");\r\n};\r\n\r\nexport const YYYYMMDD = (date: string | Date): string => {\r\n return formatDate(date, \"yyyy-MM-dd\");\r\n};\r\n\r\nexport const ddMMM = (date: string | Date): string => {\r\n return formatDate(date, \"dd MMM\");\r\n};\r\n\r\nexport const ddMMYYYY = (date: string | Date): string => {\r\n return formatDate(date, \"dd/MM/yyyy\");\r\n};\r\n\r\nexport const HHmm = (date: string | Date): string => {\r\n return formatDate(date, \"HH:mm\");\r\n};\r\n\r\nexport const HHmmss = (date: string | Date): string => {\r\n return formatDate(date, \"HH:mm:ss\");\r\n};\r\n\r\nexport const EEEddM = (date: string | Date): string => {\r\n return formatDate(date, \"EEE dd/M\");\r\n};\r\n\r\nexport const EEEEddM = (date: string | Date): string => {\r\n return formatDate(date, \"EEEE dd/M\");\r\n};\r\n\r\nexport const EEEEddMMMM = (date: string | Date): string => {\r\n return formatDate(date, \"EEEE dd MMMM\");\r\n};\r\n\r\nexport const ddMMMMEEEE = (date: string | Date): string => {\r\n return formatDate(date, \"dd MMMM EEEE\");\r\n};\r\nexport const ddMMMM = (date: string | Date): string => {\r\n return formatDate(date, \"dd MMMM\");\r\n};\r\n\r\nexport const EEddMMMM = (date: string | Date): string => {\r\n return formatDate(date, \"EE dd MMMM\");\r\n};\r\n\r\nexport const EEEE = (date: string | Date): string => {\r\n return formatDate(date, \"EEEE\");\r\n};\r\n\r\nexport const DDMM = (date: string | Date): string => {\r\n return formatDate(date, \"dd/M\");\r\n};\r\n\r\nexport const today = (): Date => {\r\n return startOfToday();\r\n};\r\n\r\nexport const dMMM = (date: string | Date): string => {\r\n return formatDate(date, \"d MMM\");\r\n};\r\n\r\nexport const getStartOfThisWeek = () => {\r\n return startOfWeek(today(), { locale: getLocale() });\r\n};\r\n\r\nexport const getEndOfThisWeek = () => {\r\n return endOfWeek(today(), { locale: getLocale() });\r\n};\r\n\r\nexport const parseDate = (date: string) => {\r\n return parseISO(date);\r\n};\r\nexport const getShortWeekdays = () => {\r\n const start = getStartOfThisWeek();\r\n const end = getEndOfThisWeek();\r\n\r\n const days = eachDayOfInterval({ start, end });\r\n\r\n return days.map((d) => formatDate(d, \"E\"));\r\n};\r\n\r\nexport const maxDate = (dates: Date[]) => {\r\n return max(dates);\r\n};\r\n\r\nexport const minDate = (dates: Date[]) => {\r\n return min(dates);\r\n};\r\n\r\nexport const isValidDate = (date: string): Boolean => {\r\n return isValid(parseISO(date));\r\n};\r\n\r\nexport const firstDateOfWeek = (date: Date): Date => {\r\n return startOfWeek(date, { locale: getLocale() });\r\n};\r\n\r\nexport const lastDateOfWeek = (date: Date): Date => {\r\n return endOfWeek(date, { locale: getLocale() });\r\n};\r\n\r\nexport const hourHasPassed = (date: Date): boolean => {\r\n return isBefore(startOfHour(date), Date.now());\r\n};\r\n\r\nexport const eachDayBetween = (start: Date, end: Date): Date[] => {\r\n return eachDayOfInterval({\r\n start,\r\n end\r\n });\r\n}\r\n","import { HHmm, YYYYMMDD } from \"./dateHelpers\";\r\n\r\nexport const createId = (): string => {\r\n\tconst id = Math.random().toString();\r\n\treturn id.substring(2);\r\n};\r\n\r\nexport const getDepartureId = (route: string, departureDate: string) => {\r\n\treturn `${route}|${YYYYMMDD(departureDate)}T${HHmm(departureDate)}`;\r\n}","import i18n from \"@/config/i18n\";\r\nimport { de, enGB, sv } from \"date-fns/locale\";\r\n\r\nconst locales = { en: enGB, sv, de };\r\n\r\nexport const getLocale = () => {\r\n switch (i18n.global.locale.value) {\r\n case \"sv\":\r\n return locales.sv;\r\n case \"de\":\r\n return locales.de;\r\n default:\r\n return locales.en;\r\n }\r\n};\r\n\r\nexport const getLocaleString = () => {\r\n return i18n.global.locale.value;\r\n};\r\n\r\nexport const getBookitLocaleStringForCurrentLocale = () => {\r\n switch (i18n.global.locale.value) {\r\n case \"sv\":\r\n return \"SE\";\r\n case \"de\":\r\n return \"DE\";\r\n default:\r\n return \"\"; \r\n }\r\n};\r\n\r\nexport const getPhoneCodeForCurrentLocale = () => {\r\n switch (i18n.global.locale.value) {\r\n case \"sv\":\r\n return \"46\";\r\n case \"de\":\r\n return \"49\";\r\n default:\r\n return \"\"; \r\n }\r\n};\r\n\r\n\r\nexport const translateIfExists = (key: string) => {\r\n return i18n.global.te(key) ? i18n.global.t(key) : undefined;\r\n};","export const postMessage = (msg: any) => {\r\n \r\n const wk = (window as any).webkit;\r\n\r\n\tif (wk && \r\n\t\twk.messageHandlers && \r\n\t\twk.messageHandlers.ios) { \r\n wk.messageHandlers.ios.postMessage(msg);\r\n \r\n return true;\r\n }\r\n \r\n if ((window as any).appInterface != undefined) {\r\n (window as any).appInterface.postMessage(msg)\r\n\r\n return true;\r\n }\r\n \r\n return false;\r\n};","export const getPassengerType = (type: string, isIslander?: boolean) => {\r\n return isIslander ? `${type}G` : type;\r\n}","import { countryList } from \"@/config/countries\";\r\n\r\nexport const format = (number: string, phoneCode: string) => {\r\n\r\n if (!phoneCode) {\r\n return number;\r\n }\r\n\r\n if (number.includes('+')) {\r\n number = number.replace(`+${phoneCode}`, \"\");\r\n }\r\n\r\n if (number.indexOf('0') == 0) {\r\n number = number.substring(1);\r\n }\r\n\r\n return `+${phoneCode}${number}`;\r\n}\r\n\r\nexport const getPhoneCode = (mobilePhone?: string): string => {\r\n if (!mobilePhone) return \"\";\r\n\r\n if (!mobilePhone.startsWith('+')) {\r\n return \"\";\r\n }\r\n\r\n for (const country of countryList) {\r\n const number = mobilePhone.replace(\"+\", \"\");\r\n if (number.startsWith(country.phoneCode)) {\r\n return country.phoneCode;\r\n }\r\n }\r\n\r\n return \"\";\r\n}\r\n\r\nexport const getPhoneWithoutCode = (mobilePhone?: string): string => {\r\n if (!mobilePhone) return \"\";\r\n const phoneCode = getPhoneCode(mobilePhone);\r\n return mobilePhone.replace('+' + phoneCode, '');\r\n}","import i18n from \"@/config/i18n\";\r\n\r\nconst locale = i18n.global.locale;\r\n\r\nexport const getCurrency = (locale: string) => {\r\n return \"SEK\"; // always default to SEK\r\n}\r\n\r\nexport const formatPrice = (price?: number, currency?: string) => {\r\n if (typeof price === 'undefined') return \"-\";\r\n\r\n const curr = currency ?? getCurrency(locale.value);\r\n\r\n if (curr === \"EUR\") {\r\n return `${getCurrencySymbol(curr)}${price}`\r\n }\r\n return `${price}${getCurrencySymbol(curr)}`\r\n}\r\n\r\nexport const getCurrencySymbol = (currency: string) => {\r\n switch (currency) {\r\n case \"EUR\":\r\n return '€';\r\n default:\r\n return ':-';\r\n }\r\n}","export function storageWithExpiration(storage: Storage, ttl = 1500000) {\r\n return {\r\n setItem(key: string, value: string): void {\r\n const now = new Date();\r\n const item = {\r\n value,\r\n expiry: now.getTime() + ttl,\r\n };\r\n\r\n storage.setItem(key, JSON.stringify(item));\r\n },\r\n getItem(key: string): string {\r\n const itemStr = storage.getItem(key);\r\n // if the item doesn't exist\r\n if (!itemStr) {\r\n return \"\";\r\n }\r\n try {\r\n const item = JSON.parse(itemStr);\r\n const now = new Date();\r\n // compare the expiry time of the item with the current time\r\n if (now.getTime() > item.expiry) {\r\n // If the item is expired, delete the item from storage\r\n storage.removeItem(key);\r\n return \"\";\r\n }\r\n return item.value;\r\n } catch (err: any) {\r\n storage.removeItem(key);\r\n return \"\";\r\n }\r\n },\r\n removeItem(key: string) {\r\n storage.removeItem(key);\r\n },\r\n };\r\n}\r\n","export const getQueryParamValue = (param: string) => {\r\n const url = new URL(document.location.href);\r\n const paramValue = url.searchParams.get(param) || false;\r\n return paramValue ? paramValue : \"\";\r\n}\r\n\r\nexport const removeQueryParam = (param: string) => {\r\n const url = new URL(document.location.href);\r\n url.searchParams.delete(param);\r\n window.history.replaceState({}, document.title, url.href);\r\n}","import i18n from \"@/config/i18n\";\r\nimport { PassengerType } from \"@/models/Enums\";\r\nimport { PassengerState } from \"@/models/store/BookingState\";\r\nimport * as validators from \"@vuelidate/validators\";\r\nimport { addHours, startOfDay } from \"date-fns\";\r\nimport { today } from \"./dateHelpers\";\r\n\r\nconst { createI18nMessage } = validators;\r\nconst withI18nMessage = createI18nMessage({ t: i18n.global.t.bind(i18n) });\r\n\r\nexport const required = withI18nMessage(validators.required);\r\nexport const integer = withI18nMessage(validators.integer);\r\nexport const email = withI18nMessage(validators.email);\r\nexport const numeric = withI18nMessage(validators.numeric);\r\nexport const maxLength = withI18nMessage(validators.maxLength, { withArguments: true });\r\nexport const minLength = withI18nMessage(validators.minLength, { withArguments: true });\r\n\r\nconst nonAdultPassengerTypes = [\r\n PassengerType.Infant, \r\n PassengerType.Child, \r\n PassengerType.InfantIslander, \r\n PassengerType.ChildIslander,\r\n PassengerType.Teen,\r\n PassengerType.TeenIslander\r\n]\r\n\r\nconst childPassengerTypes = [\r\n PassengerType.Infant, \r\n PassengerType.Child, \r\n PassengerType.InfantIslander, \r\n PassengerType.ChildIslander,\r\n];\r\n\r\nconst teenPassengerTypes = [\r\n PassengerType.Teen,\r\n PassengerType.TeenIslander\r\n];\r\n\r\nexport const hasAdultPassenger = (passengers: PassengerState[]) => {\r\n return passengers.filter((p) => !nonAdultPassengerTypes.includes(p.type)).length > 0;\r\n};\r\n\r\nexport const hasChildPassenger = (passengers: PassengerState[]) => {\r\n return passengers.filter((p) => childPassengerTypes.includes(p.type)).length > 0;\r\n};\r\n\r\nexport const hasTeenPassenger = (passengers: PassengerState[]) => {\r\n return passengers.filter((p) => teenPassengerTypes.includes(p.type)).length > 0;\r\n};\r\n\r\nexport const passengersRequired = (passengers: PassengerState[]) => {\r\n return passengers.length > 0;\r\n};\r\n\r\nexport const outwardDateRequired = (outwardDate?: Date) => {\r\n return !!outwardDate && outwardDate >= today();\r\n};\r\n\r\nexport const returnDateRequired = (isReturn: boolean, returnDate?: Date, outwardDate?: Date) => {\r\n return !isReturn || (!!returnDate && startOfDay(returnDate) >= startOfDay(outwardDate ?? new Date()));\r\n};\r\n\r\nexport const dateOfBirthIsValid = (value: string, min: number, max: number, departureDate?: Date) => {\r\n const birthDate = new Date(value);\r\n const dateOfDeparture = departureDate ?? new Date();\r\n\r\n let diff = Math.abs(dateOfDeparture.getFullYear() - birthDate.getFullYear());\r\n // Check if date has passed\r\n const m = dateOfDeparture.getMonth() - birthDate.getMonth();\r\n if (m < 0 || (m === 0 && dateOfDeparture.getDate() < birthDate.getDate())) {\r\n diff--;\r\n }\r\n\r\n return diff >= (min ?? 0) && diff <= (max ?? 150);\r\n};\r\n\r\nexport function validGreeting(greeting: string) {\r\n if (greeting.length > 20) return false;\r\n const validGreeting = new RegExp('^[a-öA-Ö0-9!@#$%^&*(),. ?\":{}|<>]*$');\r\n return validGreeting.test(greeting);\r\n}\r\n\r\nexport function validName(greeting: string) {\r\n const validGreeting = new RegExp(\"^[a-öA-Ö]\");\r\n return validGreeting.test(greeting);\r\n}\r\n\r\nexport function validCardNumber(cardnumber?: string) {\r\n return !cardnumber || cardnumber.replace(/\\s/g, \"\").length == 19;\r\n}\r\n\r\nexport function validCvc(cvc?: string) {\r\n return !cvc || cvc.length == 3;\r\n}\r\n\r\nexport function returnAfterOutward(outwardDepartureDate?: Date, returnDepartureDate?: Date) {\r\n // Not yet chosen or single\r\n if (!outwardDepartureDate || !returnDepartureDate) {\r\n return true;\r\n }\r\n\r\n // Add 3.5 hours to departure date, so ship has time to arrive\r\n return addHours(new Date(outwardDepartureDate), 3.5).getTime() < new Date(returnDepartureDate).getTime();\r\n}\r\n\r\nexport function seatsForAllOrNone(passengers: PassengerState[], seats: string[]) {\r\n const selectedSeats = seats.filter((s) => s !== \"?\");\r\n return selectedSeats.length === 0 || passengers.length === selectedSeats.length;\r\n}\r\n","export const AllRoutesCode = \"All\";","export enum MessageType {\r\n CustomerService,\r\n BookingInfo,\r\n}\r\n\r\nexport enum TripType {\r\n Single,\r\n Return,\r\n}\r\n\r\nexport enum Direction {\r\n Outward,\r\n Return,\r\n}\r\n\r\nexport enum BusDirection {\r\n From = 1,\r\n To = 2,\r\n}\r\n\r\nexport enum PassengerType {\r\n Adult = \"A\",\r\n Teen = \"T\",\r\n Youth = \"U\",\r\n Child = \"C\",\r\n Infant = \"I\",\r\n Senior = \"P\",\r\n Student = \"S\",\r\n Commuter = \"F\",\r\n CabinCommuter = \"H\",\r\n DiscountCard = \"K\",\r\n CarPackage = \"M\",\r\n AdultIslander = \"AG\",\r\n TeenIslander = \"TG\",\r\n YouthIslander = \"UG\",\r\n ChildIslander = \"CG\",\r\n InfantIslander = \"IG\",\r\n SeniorIslander = \"PG\",\r\n CommuterIslander = \"FG\",\r\n CabinCommuterIslander = \"HG\",\r\n CarPackageIslander = \"MG\",\r\n}\r\n\r\nexport enum UserType {\r\n Unknown,\r\n Customer,\r\n Agent,\r\n Booking,\r\n}\r\n\r\nexport enum PageUrl {\r\n Booking = \"booking_path\",\r\n Account = \"account_path\",\r\n Queue = \"queue_path\"\r\n}\r\n\r\nexport enum PaymentStatus {\r\n Undefined = \"Undefined\",\r\n FullyPaid = \"FullyPaid\",\r\n Unpaid = \"Unpaid\",\r\n PartlyPaid = \"PartlyPaid\",\r\n}\r\n\r\nexport enum BookingDataType {\r\n Passenger = 1,\r\n Vehicle = 2,\r\n Extra = 8,\r\n Transfer = 16,\r\n Cabin = 64,\r\n}\r\n\r\nexport enum BaseMessageType {\r\n Info = \"info\",\r\n Success = \"success\",\r\n Warning = \"warning\",\r\n Error = \"danger\",\r\n}\r\n\r\nexport enum BookingActivity {\r\n Checkout = \"checkout\",\r\n}\r\n\r\nexport type OpenBookingType = \"Amend\" | \"Payment\" | \"Refund\";\r\n\r\nexport enum ErrorCodes {\r\n BookingLocked = 1512,\r\n InvalidIslander = 11001,\r\n CommuterInvalid = 11007,\r\n InvalidPassword = 11006,\r\n}\r\n","import { EventBusKey } from \"@vueuse/core\";\r\n\r\nexport const openBookingSummaryKey: EventBusKey = Symbol();\r\n","\r\nexport const dialogKey = \"display-dialog\"\r\n\r\nexport interface DialogMessage {\r\n title: string;\r\n message: string;\r\n yes: string;\r\n no?: string;\r\n callback?: Function;\r\n type: DialogType;\r\n}\r\n\r\nexport enum DialogType {\r\n danger = \"danger\",\r\n info = \"info\",\r\n redirect = \"redirect\",\r\n warning = \"warning\"\r\n}","import { Emitter, EventType } from \"mitt\";\r\nimport { InjectionKey } from \"vue\";\r\n\r\nexport const eventBusKey: InjectionKey>> = Symbol('eventBus');\r\n","\r\nexport const loginModalKey = 'open-login-modal';","\r\nexport const snackbarMessageKey = \"display-snack\"\r\n\r\nexport interface SnackbarMessage {\r\n message: string;\r\n type: string;\r\n id: string;\r\n}","import { getPassengerType } from \"@/helpers/passengerHelper\";\r\nimport { PassengerResultDto } from \"../api/PassengerResponse\";\r\n\r\nexport class Passenger {\r\n country: string;\r\n dateOfBirth?: string;\r\n disability?: string;\r\n firstName: string;\r\n lastName: string;\r\n gender: string;\r\n id: string;\r\n title: string;\r\n type: string;\r\n route: string;\r\n isEmpty?: boolean;\r\n isEditable?: boolean;\r\n isIslander: boolean;\r\n needsValidation: boolean;\r\n\r\n constructor(resp: PassengerResultDto) {\r\n this.country = resp.country;\r\n this.dateOfBirth = resp.dateOfBirth;\r\n this.disability = resp.disability;\r\n this.firstName = resp.firstName;\r\n this.lastName = resp.lastName;\r\n this.gender = resp.gender;\r\n this.id = resp.id;\r\n this.title = resp.title;\r\n this.type = getPassengerType(resp.passengerType, resp.isIslander);\r\n this.route = resp.route;\r\n this.isEmpty = resp.isEmpty;\r\n this.isEditable = resp.isEditable ?? true;\r\n this.isIslander = resp.isIslander ?? false;\r\n this.needsValidation = resp.needsValidation ?? false;\r\n }\r\n}","import i18n from \"@/config/i18n\";\r\nimport { PaymentAlternativeResponse } from \"../api/PaymentAlternativeResponse\";\r\n\r\nexport type PaymentAlternative = {\r\n id: string;\r\n paymentMethod: string;\r\n label: string;\r\n description: string;\r\n icon?: string;\r\n};\r\n\r\nexport const mapFromPaymentAlternativeResponse = (resp: PaymentAlternativeResponse) => {\r\n const lowerCaseName = resp.name.toLowerCase();\r\n\r\n return {\r\n id: resp.name,\r\n paymentMethod: resp.paymentMethod,\r\n label: i18n.global.t(`booking.checkout.paymentMethod.${lowerCaseName}.title`),\r\n description: i18n.global.t(`booking.checkout.paymentMethod.${lowerCaseName}.description`),\r\n icon: lowerCaseName === \"trustly\" ? `booking/${lowerCaseName}` : undefined,\r\n };\r\n};\r\n\r\nexport const mapFromRefundAlternativeResponse = (resp: string) => {\r\n const lowerCaseName = resp.toLowerCase();\r\n\r\n return {\r\n id: resp,\r\n paymentMethod: resp,\r\n label: i18n.global.t(`booking.refund.refundMethod.${lowerCaseName}.title`),\r\n description: i18n.global.t(`booking.refund.refundMethod.${lowerCaseName}.description`),\r\n };\r\n};\r\n","import { PaymentInfoResponse } from \"../api/PaymentInfoResponse\";\r\n\r\nexport class PaymentInfo {\r\n currency: string;\r\n paid: number;\r\n leftToPay: number;\r\n total: number;\r\n VAT: number;\r\n totalExcludingVAT: number;\r\n paymentStatus: string;\r\n\r\n constructor(resp: PaymentInfoResponse) {\r\n this.currency = resp.currency;\r\n this.paid = resp.paid;\r\n this.leftToPay = resp.leftToPay;\r\n this.total = resp.total;\r\n this.VAT = resp.vat;\r\n this.totalExcludingVAT = resp.totalExcludingVAT;\r\n this.paymentStatus = resp.paymentStatus;\r\n }\r\n}\r\n","import { ElasticSearch, ElasticSearchResponse } from \"../api/SiteSearchResponse\";\r\n\r\nexport class SiteSearch {\r\n results: SiteSearchItem[];\r\n page: number;\r\n resultCount: number;\r\n pageCount: number;\r\n\r\n constructor(response: ElasticSearchResponse) {\r\n this.page = response.meta.page.current;\r\n this.resultCount = response.meta.page.total_results;\r\n this.pageCount = response.meta.page.total_pages;\r\n this.results = response.results.map(r => new SiteSearchItem(r));\r\n }\r\n}\r\n\r\nexport class SiteSearchItem {\r\n imageUrl?: string;\r\n body: string;\r\n description: string;\r\n title: string;\r\n urlSnippet: string;\r\n url: string;\r\n id: string;\r\n\r\n constructor(response: ElasticSearch) {\r\n this.body = response.body_content?.snippet ?? response.body_content?.raw;\r\n this.title = response.dg_title?.snippet ?? response.title?.raw;\r\n this.url = response.url?.raw;\r\n this.urlSnippet = response.url?.snippet;\r\n this.id = response.id?.raw;\r\n this.imageUrl = response.dg_image?.raw;\r\n this.description = response.dg_description?.snippet;\r\n }\r\n}","import { HHmm, YYYYMMDD } from \"@/helpers/dateHelpers\";\r\nimport { TimetableDepartureResponse } from \"../api/TimetableDepartureResponse\";\r\nimport { departureRoutes } from \"@/config/routes\";\r\nimport { addMinutes } from \"date-fns\";\r\n\r\nexport class TimetableDeparture {\r\n id: string;\r\n departureDate: string;\r\n arrivalDateTime: Date;\r\n departureDateTime: Date;\r\n isFreight: boolean;\r\n route: string;\r\n ship: string;\r\n departureTime: string;\r\n arrivalTime: string;\r\n busDeparture?: Date;\r\n busDepartureIsLocked?: boolean;\r\n isOldTransfer: boolean;\r\n\r\n constructor(resp: TimetableDepartureResponse) {\r\n this.id = `${resp.route}|${resp.departureDateTime}`;\r\n this.arrivalDateTime = new Date(resp.arrivalDateTime);\r\n this.departureDateTime = new Date(resp.departureDateTime);\r\n this.departureDate = YYYYMMDD(this.departureDateTime);\r\n this.isFreight = resp.isFreight;\r\n this.route = resp.route;\r\n this.ship = resp.ship;\r\n this.departureTime = HHmm(resp.departureDateTime);\r\n this.arrivalTime = HHmm(resp.arrivalDateTime);\r\n this.isOldTransfer = false;\r\n\r\n if (this.departureDateTime > new Date(2024, 4, 3)) {\r\n this.busDeparture = resp.busTimeTableItem?.departureDateTime;\r\n this.busDepartureIsLocked = resp.busTimeTableItem?.isLocked;\r\n } else if ([departureRoutes.NYVI, departureRoutes.VINY].includes(this.route)) {\r\n this.isOldTransfer = true;\r\n if (this.route === departureRoutes.NYVI) {\r\n //Bus leaves 1 hour 45 minutes before departure\r\n this.busDeparture = addMinutes(this.departureDateTime, -105);\r\n } else {\r\n //Bus leaves 1 hour 15 minutes after arrival\r\n this.busDeparture = addMinutes(this.arrivalDateTime, 75);\r\n }\r\n }\r\n }\r\n}","import { TimetableRouteResponse, TimetableRouteStopResponse } from \"../api/TimetableRouteResponse\";\r\n\r\nexport class TimetableRoute {\r\n routeCode: string;\r\n busStops: TimetableRouteStop[];\r\n\r\n constructor(resp: TimetableRouteResponse) {\r\n this.routeCode = resp.routeCode;\r\n this.busStops = resp.busStops.map((bs) => new TimetableRouteStop(bs))\r\n }\r\n}\r\n\r\nexport class TimetableRouteStop {\r\n id: number;\r\n name: string;\r\n\r\n constructor(resp: TimetableRouteStopResponse) {\r\n this.id = resp.id;\r\n this.name = resp.name;\r\n }\r\n}\r\n","import { VehicleResultDto } from \"../api/VehicleResponse\";\r\n\r\nexport class Vehicle {\r\n code: string;\r\n license: string;\r\n isGasOrElectric: boolean;\r\n requiresLicense?: boolean;\r\n route: string;\r\n petInVehicle: boolean;\r\n\r\n constructor(resp: VehicleResultDto) {\r\n this.code = resp.resourceCode;\r\n this.license = resp.licenseNumber;\r\n this.requiresLicense = resp.requiresLicenseNumber;\r\n this.isGasOrElectric = resp.isGasOrElectric;\r\n this.route = resp.route;\r\n this.petInVehicle = resp.hasPet ?? false;\r\n }\r\n}","import { AgentAccountResponse } from \"../../api/AgentAccountResponse\";\r\n\r\nexport class AgentAccount {\r\n name: string;\r\n address: string;\r\n city: string;\r\n company: string;\r\n email: string;\r\n zipCode: string;\r\n productCode: string;\r\n\r\n constructor(resp: AgentAccountResponse) {\r\n this.name = resp.name;\r\n this.address = resp.address;\r\n this.city = resp.city;\r\n this.company = resp.company;\r\n this.email = resp.email;\r\n this.zipCode = resp.zipCode;\r\n this.productCode = resp.productCode;\r\n }\r\n}","import i18n from \"@/config/i18n\";\r\nimport { departureRoutes } from \"@/config/routes\";\r\nimport { parseDate } from \"@/helpers/dateHelpers\";\r\nimport { translateIfExists } from \"@/helpers/localeHelper\";\r\nimport { BookingDataType } from \"@/models/Enums\";\r\nimport { BasketDialogItemResponse, BasketResourceResponse, BasketSectionResponse } from \"@/models/api/basket/BasketResponse\";\r\n\r\ntype Basket = {\r\n bookingNumber: number;\r\n bookingSections: BasketSection[];\r\n leftToPay?: number;\r\n paid?: number;\r\n total?: number;\r\n};\r\n\r\nexport type BasketSection = {\r\n price?: number;\r\n discount?: number;\r\n campaignName?: string;\r\n route: string;\r\n ship?: string;\r\n flexibility: BasketResource;\r\n arrivalDateTime?: Date;\r\n departureDateTime?: Date;\r\n passengers: BasketResource[];\r\n vehicles: BasketResource[];\r\n food: BasketResource[];\r\n other: BasketResource[];\r\n isCancelled?: boolean;\r\n isLocked?: boolean;\r\n type: BasketGroupType;\r\n};\r\n\r\nexport type BasketResource = {\r\n name?: string;\r\n description: string;\r\n information?: string;\r\n price?: number;\r\n seat?: string;\r\n amount: number;\r\n isPrepaid?: boolean;\r\n isRefundable?: boolean;\r\n};\r\n\r\nexport const mapFromBasketSectionResponse = (resp: BasketSectionResponse): BasketSection => {\r\n // Determine if the route is a bus transfer route by checking that it doesn't match any known departureRoutes\r\n\r\n return {\r\n price: resp.price,\r\n route: resp.route,\r\n discount: resp.discount,\r\n campaignName: resp.campaginName,\r\n arrivalDateTime: resp.arrivalDateTime ? parseDate(resp.arrivalDateTime) : undefined,\r\n departureDateTime: parseDate(resp.departureDateTime),\r\n ship: i18n.global.t(`ships.${resp.ship}`),\r\n flexibility: mapFromBasketResourceResponse(resp.flexibility),\r\n passengers: getItems(resp.passengers ?? []),\r\n vehicles: getItems(resp.vehicles ?? [], BookingDataType.Vehicle),\r\n food: getItems(resp?.food ?? []),\r\n other: getItems(resp.other?.filter((o) => o.name !== \"FLEX\").concat(resp.transfer ?? []) ?? [], undefined, getBasketGroupType(resp)),\r\n isLocked: resp.isLocked,\r\n type: getBasketGroupType(resp),\r\n };\r\n};\r\n\r\nexport enum BasketGroupType {\r\n Ferry,\r\n Bus,\r\n Card,\r\n}\r\n\r\nexport const getBasketGroupType = (section: BasketSectionResponse): BasketGroupType => {\r\n const isBusRoute = !new RegExp(Object.values(departureRoutes).join(\"|\")).test(section.route);\r\n const isCardRoute = section.route === \"KORT\";\r\n\r\n if (isCardRoute) return BasketGroupType.Card;\r\n else if (isBusRoute) return BasketGroupType.Bus;\r\n\r\n return BasketGroupType.Ferry;\r\n};\r\n\r\nconst mapFromBasketResourceResponse = (\r\n resp: BasketResourceResponse,\r\n dialog?: BasketDialogItemResponse,\r\n type?: BookingDataType,\r\n groupType?: BasketGroupType\r\n): BasketResource => {\r\n return {\r\n name: getName(resp, dialog),\r\n description: getDescription(resp, dialog, type, groupType),\r\n information: resp.information ?? \"\",\r\n price: dialog?.price ?? resp.price,\r\n amount: resp.amount,\r\n isPrepaid: dialog?.isPrepaid ?? false,\r\n seat: dialog?.seat,\r\n isRefundable: !resp.name?.toLowerCase().includes(\"mini\") && !resp.name?.toLowerCase().includes(\"alla+bil\"),\r\n };\r\n};\r\n\r\nconst getItems = (items: BasketResourceResponse[], type?: BookingDataType, groupType?: BasketGroupType): BasketResource[] => {\r\n return items?.flatMap((i) =>\r\n i.items.length > 0\r\n ? i.items.map((dialog) => mapFromBasketResourceResponse(i, dialog, type))\r\n : [mapFromBasketResourceResponse(i, undefined, type, groupType)]\r\n );\r\n};\r\n\r\nconst getName = (item: BasketResourceResponse, dialog?: BasketDialogItemResponse) => {\r\n const amount = `${item.amount > 1 ? item.amount : \"\"} `;\r\n\r\n switch (item.group) {\r\n case \"F\":\r\n return `${amount}${translateIfExists(`resources.${item.name}.label`) ?? item.description}`;\r\n case \"H\":\r\n return `${amount}${translateIfExists(`resources.${item.name}.label`) ?? item.description}`;\r\n case \"P\":\r\n case \"V\":\r\n return dialog?.type ? `${translateIfExists(`passengerType.${dialog.type}`) ?? dialog.type}` : \"\";\r\n case \"S\":\r\n return `${amount}${item.description}`;\r\n default:\r\n return `${amount}${translateIfExists(`resources.${item.name}.label`) ?? item.name ?? \"\"}`;\r\n }\r\n};\r\n\r\nconst getDescription = (\r\n item: BasketResourceResponse,\r\n dialog?: BasketDialogItemResponse,\r\n type?: BookingDataType,\r\n groupType?: BasketGroupType\r\n) => {\r\n if (groupType === BasketGroupType.Card) return item.description ?? \"\";\r\n if (groupType === BasketGroupType.Bus) return item.description ?? \"\";\r\n if (!dialog || type === BookingDataType.Vehicle) {\r\n return translateIfExists(`booking.${item.subType.charAt(0).toLowerCase()}${item.subType.slice(1)}`) ?? \"\";\r\n }\r\n\r\n return translateIfExists(`resources.${item.name}.label`) ?? item.description ?? \"\";\r\n};\r\n","import { countries } from \"@/config/countries\";\r\nimport { getPhoneCode, getPhoneWithoutCode } from \"@/helpers/phoneHelper\";\r\nimport { AddressInformationResponse } from \"@/models/api/customer/AddressInformationResponse\";\r\nimport { DropdownOption } from \"~/models/DropdownOption\";\r\n\r\nexport type AddressInformation = {\r\n acceptsContact?: boolean;\r\n allowUpdateIslander?: boolean;\r\n title?: string;\r\n firstName: string;\r\n lastName: string;\r\n address: string;\r\n zip: string;\r\n city: string;\r\n county?: string;\r\n countryCode: string;\r\n country?: string;\r\n homePhone?: string;\r\n workPhone?: string;\r\n mobilePhone: string;\r\n phoneCode: string;\r\n internalReference?: string;\r\n email: string;\r\n contact: string;\r\n iban?: string;\r\n isIslander?: boolean;\r\n isCommuter?: boolean;\r\n};\r\n\r\nexport const mapFromAddressInformationResponse = (resp: AddressInformationResponse) => {\r\n const split = resp.name.split(\" \");\r\n\r\n return {\r\n acceptsContact: resp.acceptsContact,\r\n allowUpdateIslander: resp.allowUpdateIslander,\r\n title: resp.title,\r\n firstName: resp.firstName ?? split[0],\r\n lastName: resp.lastName ?? split[1],\r\n address: resp.address,\r\n zip: resp.zip,\r\n city: resp.city,\r\n county: resp.county,\r\n countryCode: resp.countryCode,\r\n country: getCountry(resp.countryCode),\r\n homePhone: resp.homePhone,\r\n workPhone: resp.workPhone,\r\n phoneCode: getPhoneCode(resp.mobilePhone),\r\n mobilePhone: getPhoneWithoutCode(resp.mobilePhone),\r\n internalReference: resp.internalReference,\r\n email: resp.email,\r\n contact: resp.contact,\r\n iban: resp.iban,\r\n isIslander: resp.isIslander,\r\n };\r\n};\r\n\r\nfunction getCountry(countryCode: string) {\r\n return countries.find((c: DropdownOption) => c.value === countryCode)?.label ?? countryCode;\r\n}\r\n","import { CoPassengerResponse } from \"~/models/api/customer/CoPassengerResponse\";\r\nimport { countries } from \"~/config/countries\";\r\nimport { DropdownOption } from \"~/models/DropdownOption\";\r\nimport { PassengerType } from \"~/models/Enums\";\r\nimport { parseDate } from \"@/helpers/dateHelpers\";\r\n\r\nexport class CoPassenger {\r\n title: string;\r\n firstName: string;\r\n lastName: string;\r\n countryCode: string;\r\n country: string;\r\n dateOfBirth: Date;\r\n gender: string;\r\n note: string;\r\n email: string;\r\n passengerType: PassengerType;\r\n coPaxId: string;\r\n delete: Boolean;\r\n frequentTravellerNumber: string;\r\n name: string;\r\n needsValidation: boolean;\r\n isEditable: boolean;\r\n\r\n constructor(resp: CoPassengerResponse) {\r\n this.title = resp.title;\r\n this.firstName = resp.firstName;\r\n this.lastName = resp.lastName;\r\n this.countryCode = resp.countryCode;\r\n this.country = this.getCountry();\r\n this.dateOfBirth = parseDate(resp.dateOfBirth);\r\n this.gender = resp.gender;\r\n this.note = resp.note;\r\n this.email = resp.email;\r\n this.title = resp.title;\r\n this.passengerType = resp.passengerType;\r\n this.coPaxId = resp.coPaxId;\r\n this.delete = resp.delete;\r\n this.frequentTravellerNumber = resp.frequentTravellerNumber;\r\n this.name = resp.name;\r\n this.needsValidation = resp.needsValidation;\r\n this.isEditable = resp.isEditable;\r\n }\r\n\r\n getCountry() {\r\n return countries.find((c: DropdownOption) => c.value === this.countryCode)?.label ?? this.countryCode;\r\n }\r\n}\r\n","import { CoVehicleResponse } from \"~/models/api/customer/CoVehiclesResponse\";\r\n\r\nexport class CoVehicle {\r\n vehicleId: number;\r\n licenseNumber: string;\r\n make: string;\r\n length: number;\r\n resourceCode: string;\r\n description: string;\r\n isDefault: boolean;\r\n vehicleType: string;\r\n delete: boolean\r\n isEditable: boolean;\r\n\r\n constructor(resp: CoVehicleResponse) {\r\n this.vehicleId = resp.vehicleId;\r\n this.licenseNumber = resp.licenseNumber;\r\n this.make = resp.make;\r\n this.length = resp.length;\r\n this.resourceCode = resp.resourceCode;\r\n this.description = resp.description;\r\n this.isDefault = resp.isDefault;\r\n this.vehicleType = resp.vehicleType;\r\n this.delete = resp.delete;\r\n this.isEditable = resp.isEditable ?? true;\r\n }\r\n}\r\n\r\n","\r\nimport { CreditCardResponse } from \"~/models/api/customer/CreditCardResponse\";\r\n\r\nexport class CreditCard {\r\n cardId: string;\r\n cardType: string;\r\n expiryDate: string;\r\n maskedNumber: string;\r\n description: string\r\n isEditable: boolean;\r\n tokenId: string;\r\n\r\n constructor(resp: CreditCardResponse) {\r\n this.cardId = resp.cardId;\r\n this.cardType = resp.cardType;\r\n this.expiryDate = resp.expiryDate;\r\n this.maskedNumber = resp.maskedNumber;\r\n this.description = resp.description;\r\n this.isEditable = resp.isEditable ?? true;\r\n this.tokenId = resp.tokenId;\r\n }\r\n}\r\n","import { MyBookingResponse } from \"~/models/api/customer/MyBookingResponse\";\r\nimport { BasketSection, mapFromBasketSectionResponse } from \"../basket/BasketGroup\";\r\nimport { PaymentInfo } from \"../PaymentInfo\";\r\n\r\nexport class MyBooking {\r\n bookingNumber: number;\r\n sections: BasketSection[];\r\n paymentInfo: PaymentInfo;\r\n confirmationUrl: string;\r\n voucherUrl?: string;\r\n accessToken: string;\r\n canCancel: boolean;\r\n canEdit: boolean;\r\n canPay: boolean;\r\n isCancelled: boolean;\r\n isPaymentBooking: boolean;\r\n isCreatedInWeb4: boolean;\r\n\r\n constructor(resp: MyBookingResponse) {\r\n this.bookingNumber = resp.bookingNumber;\r\n this.sections = resp.sections.filter((s) => s.flexibility.name).map((s) => mapFromBasketSectionResponse(s));\r\n this.paymentInfo = new PaymentInfo(resp.paymentInfo);\r\n this.confirmationUrl = resp.confirmationUrl;\r\n this.voucherUrl = resp.voucherUrl;\r\n this.accessToken = resp.accessToken;\r\n this.canCancel = resp.canCancel;\r\n this.canEdit = resp.canEdit;\r\n this.canPay = resp.canPay;\r\n this.isCancelled = !resp.sections.length;\r\n this.isPaymentBooking = resp.isPaymentBooking;\r\n this.isCreatedInWeb4 = resp.isCreatedInWeb4;\r\n }\r\n}\r\n","import { UserType } from \"../Enums\";\r\nimport { AgentUserResponse } from \"../api/AgentUserResponse\";\r\nimport { CustomerResponse } from \"../api/customer/CustomerResponse\";\r\nimport { AgentAccount } from \"../front/agent/AgentAccount\";\r\n\r\nexport type User = {\r\n email?: string;\r\n type: UserType;\r\n number?: number | string;\r\n defaultProductCode?: string;\r\n accountTitle?: string;\r\n name?: string;\r\n firstName?: string;\r\n lastName?: string;\r\n mobilePhone?: string;\r\n zip?: string;\r\n address?: string;\r\n address2?: string;\r\n city?: string;\r\n country?: string;\r\n isIslander?: boolean;\r\n isCardCustomer?: boolean;\r\n customerType?: \"Commuter\" | \"Discount\" | \"Staff\" | \"TravelCard\" | \"Regular\";\r\n selectedProductCode?: string;\r\n contact?: string;\r\n agentAccount?: AgentAccount;\r\n};\r\n\r\nexport function mapFromCustomerLoginResponse(data: CustomerResponse): User {\r\n return {\r\n type: UserType.Customer,\r\n name: `${data.firstName} ${data.lastName}`,\r\n firstName: data.firstName,\r\n lastName: data.lastName,\r\n number: data.customerNumber,\r\n email: data.email,\r\n address: data.address,\r\n address2: data.address2,\r\n city: data.city,\r\n country: data.country,\r\n zip: data.zip,\r\n mobilePhone: data.mobilePhone,\r\n customerType: data.customerType,\r\n isIslander: data.isIslander,\r\n isCardCustomer: [\"Commuter\", \"TravelCard\", \"Discount\", \"Staff\"].includes(data.customerType),\r\n };\r\n}\r\n\r\nexport function mapFromAgentLoginResponse(agent: AgentUserResponse): User {\r\n return {\r\n type: UserType.Agent,\r\n name: agent.name,\r\n number: agent.agentNumber,\r\n defaultProductCode: agent.account.productCode,\r\n selectedProductCode: agent.account.productCode,\r\n agentAccount: new AgentAccount(agent.account),\r\n };\r\n}\r\n","import useDialog from \"@/composables/useDialog\";\r\nimport useRedirect from \"@/composables/useRedirect\";\r\nimport useUnloadBookings from \"@/composables/useUnloadBookings\";\r\nimport { BookingStep } from \"@/models/BookingStep\";\r\nimport { BookingActivity, PageUrl } from \"@/models/Enums\";\r\nimport { DialogType } from \"@/models/Symbols/Dialog\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { computed } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport { useRouter } from \"vue-router\";\r\n\r\nconst useBookingNavigation = () => {\r\n const { t } = useI18n();\r\n const router = useRouter();\r\n const userStore = useUserStore();\r\n\r\n const isAccommodationActivated = document.body.dataset.accommodationEnabled === \"True\";\r\n\r\n const steps = computed(() => {\r\n const defaultSteps: BookingStep[] = [\r\n {\r\n number: 1,\r\n title: t(`booking.steps.1`),\r\n },\r\n {\r\n number: 2,\r\n title: t(`booking.steps.2`),\r\n },\r\n {\r\n number: 3,\r\n title: t(`booking.steps.3`),\r\n },\r\n {\r\n number: 4,\r\n title: t(`booking.steps.4`),\r\n },\r\n {\r\n number: 5,\r\n title: t(`booking.steps.5`),\r\n },\r\n ];\r\n\r\n if (isAccommodationActivated) {\r\n defaultSteps.push({\r\n number: 6,\r\n title: t(`booking.steps.6`),\r\n });\r\n }\r\n\r\n defaultSteps.push({\r\n number: defaultSteps.length + 1,\r\n title: t(`booking.steps.7`),\r\n activity: BookingActivity.Checkout,\r\n });\r\n\r\n return defaultSteps;\r\n });\r\n\r\n const currentStep = computed(() => {\r\n const step = parseInt(router.currentRoute.value.query.s?.toString() ?? \"1\");\r\n return steps.value.find((v) => v.number === step) ?? steps.value[0];\r\n });\r\n\r\n const nextStep = () => {\r\n goToStep(currentStep.value.number + 1);\r\n };\r\n\r\n const prevStep = () => {\r\n goToStep(currentStep.value.number - 1 || 1);\r\n };\r\n\r\n const goToStep = (step: number) => {\r\n router.push({\r\n path: router.currentRoute.value.path,\r\n query: {\r\n s: step,\r\n },\r\n });\r\n };\r\n\r\n const { unload, isLoading } = useUnloadBookings(false);\r\n const { redirect } = useRedirect();\r\n const cancel = () => {\r\n isLoading.value = true;\r\n return unload().then(() => {\r\n if (userStore.isLoggedIn) {\r\n redirect(PageUrl.Account);\r\n } else {\r\n // remove query params\r\n window.location.href = \"/\";\r\n }\r\n });\r\n };\r\n\r\n const { displayDialog } = useDialog();\r\n\r\n const closeBookingAndRedirect = () => {\r\n displayDialog({\r\n title: t(\"messages.cancel.title\"),\r\n message: t(\"messages.cancel.body\"),\r\n yes: t(\"button.yes\"),\r\n no: t(\"button.no\"),\r\n callback: () => cancel(),\r\n type: DialogType.warning,\r\n });\r\n };\r\n\r\n const isCheckout = computed(() => {\r\n return currentStep.value.activity === BookingActivity.Checkout;\r\n });\r\n\r\n return { nextStep, prevStep, goToStep, cancel, steps, currentStep, isCheckout, closeBookingAndRedirect, isAccommodationActivated };\r\n};\r\n\r\nexport default useBookingNavigation;\r\n","import useApi from \"@/composables/useApi\";\r\nimport { BookingDataType, Direction } from \"@/models/Enums\";\r\nimport { BasketReponse } from \"@/models/api/basket/BasketResponse\";\r\nimport { mapFromBasketSectionResponse } from \"@/models/front/basket/BasketGroup\";\r\nimport { useBookingStore } from \"@/store/booking\";\r\nimport { useDepartureStore } from \"@/store/departure\";\r\nimport { usePassengerStore } from \"@/store/passenger\";\r\nimport { useResourceStore } from \"@/store/resource\";\r\nimport { useSeatingStore } from \"@/store/seatingStore\";\r\nimport { watchDebounced } from \"@vueuse/core\";\r\nimport { computed, ref } from \"vue\";\r\nimport { useQuery } from \"vue-query\";\r\nimport useBookingNavigation from \"./useBookingNavigation\";\r\nimport { useTransferStore } from \"../../../store/transferStore\";\r\n\r\nconst useCalculatePriceQuery = (isCheckout = false) => {\r\n const { post } = useApi();\r\n const departureStore = useDepartureStore();\r\n const resourceStore = useResourceStore();\r\n const bookingStore = useBookingStore();\r\n const transferStore = useTransferStore();\r\n const seatingStore = useSeatingStore();\r\n const passengerStore = usePassengerStore();\r\n const { currentStep } = useBookingNavigation();\r\n\r\n const anyDepartureSelected = () => {\r\n return !!departureStore.getDeparture(Direction.Outward).identifier || !!departureStore.getDeparture(Direction.Return).identifier;\r\n };\r\n\r\n const accessToken = computed(() => bookingStore.getAccessToken);\r\n\r\n const queryEnabled = computed(() => {\r\n if (isCheckout) return true;\r\n\r\n if (bookingStore.isAmendment) {\r\n // wait for a departure to be selected before calculating\r\n return currentStep.value.number !== 2 || anyDepartureSelected();\r\n }\r\n\r\n if (accessToken.value) {\r\n return true;\r\n }\r\n\r\n return currentStep.value.number > 1 && anyDepartureSelected();\r\n });\r\n\r\n const getIdentifiers = () => {\r\n if (currentStep.value.number === 2) {\r\n return bookingStore.getTrips.flatMap((d) => departureStore.getDeparture(d).identifier).filter((i) => !!i);\r\n } else if (currentStep.value.number === 5) {\r\n const transferIdentifiers = [...bookingStore.getTrips.flatMap((d) => transferStore.getPassengers(d).map((p) => p.identifier))];\r\n\r\n const seatingIdentifiers = [\r\n ...new Set(\r\n bookingStore.getTrips.flatMap((d) =>\r\n seatingStore.getSelectedSeats(d).seats?.some((s) => s != \"?\") ? seatingStore.getSelectedSeats(d).identifier : \"\"\r\n )\r\n ),\r\n ];\r\n\r\n return bookingStore.getTrips\r\n .flatMap((d) => resourceStore.getResources(d).map((r) => r.identifier))\r\n .concat(transferIdentifiers)\r\n .concat(seatingIdentifiers)\r\n .filter((i) => !!i);\r\n }\r\n return [];\r\n };\r\n\r\n const params = computed(() => {\r\n const identifiers = getIdentifiers();\r\n return {\r\n identifiers,\r\n accessToken: accessToken.value,\r\n includeCurrentBooking: isCheckout || bookingStore.isAmendment || currentStep.value.number > 2,\r\n currentStep: currentStep.value.number,\r\n type: typeToRecalc(currentStep.value.number),\r\n includePayments: bookingStore.isAmendment || isCheckout,\r\n calculateAMD: isCheckout,\r\n passengers: bookingStore.getTrips.map((t) => passengerStore.getPassengers(t).map((p) => p.type)),\r\n };\r\n });\r\n\r\n const typeToRecalc = (step: number) => {\r\n switch (step) {\r\n case 2:\r\n return BookingDataType.Passenger | BookingDataType.Vehicle | BookingDataType.Cabin;\r\n case 5:\r\n return BookingDataType.Extra | BookingDataType.Transfer;\r\n default:\r\n return 0;\r\n }\r\n };\r\n\r\n const cacheKey = ref();\r\n\r\n watchDebounced(\r\n params,\r\n (current) => {\r\n cacheKey.value = current;\r\n },\r\n { debounce: 400 }\r\n );\r\n\r\n return {\r\n ...useQuery({\r\n queryKey: [\"calc\", cacheKey],\r\n queryFn: ({ signal }) => {\r\n return post(\"calculate\", params.value, {}, signal).then((resp) => {\r\n return {\r\n bookingNumber: resp.data.bookingNumber,\r\n bookingSections: resp.data.bookingSections.map((s) => mapFromBasketSectionResponse(s)),\r\n leftToPay: resp.data.leftToPay,\r\n paid: resp.data.paid,\r\n total: resp.data.total,\r\n amd: resp.data.amd,\r\n };\r\n });\r\n },\r\n enabled: queryEnabled,\r\n refetchOnWindowFocus: false,\r\n keepPreviousData: true,\r\n staleTime: 1000 * 60,\r\n retry: false,\r\n }),\r\n };\r\n};\r\n\r\nexport default useCalculatePriceQuery;\r\n","import { CheckoutResponse } from \"../api/CheckoutResponse\";\r\nimport { PaymentAlternative, mapFromPaymentAlternativeResponse, mapFromRefundAlternativeResponse } from \"./PaymentAlternative\";\r\nimport { AgentAccount } from \"./agent/AgentAccount\";\r\nimport { BasketSection, mapFromBasketSectionResponse } from \"./basket/BasketGroup\";\r\nimport { AddressInformation, mapFromAddressInformationResponse } from \"./customer/AddressInformation\";\r\n\r\nexport class Checkout {\r\n bookingNumber: number;\r\n leftToPay: number;\r\n paid: number;\r\n address: AddressInformation;\r\n refundAlternatives: PaymentAlternative[];\r\n paymentAlternatives: PaymentAlternative[];\r\n paymentReference?: string;\r\n sections: BasketSection[];\r\n currency: string;\r\n account?: AgentAccount;\r\n isPayment: boolean;\r\n isRefund: boolean;\r\n showGiftCard: boolean;\r\n postInvoicing: boolean;\r\n\r\n constructor(resp: CheckoutResponse) {\r\n this.bookingNumber = resp.bookingNumber;\r\n this.leftToPay = resp.leftToPay;\r\n this.paid = resp.paid;\r\n this.address = mapFromAddressInformationResponse(resp.address);\r\n this.refundAlternatives = resp.refundAlternatives?.map((r) => mapFromRefundAlternativeResponse(r)) ?? [];\r\n this.paymentAlternatives = resp.paymentAlternatives?.map((p) => mapFromPaymentAlternativeResponse(p)) ?? [];\r\n this.paymentReference = resp.paymentReference ?? '';\r\n this.sections = resp.sections.map((p) => mapFromBasketSectionResponse(p));\r\n this.currency = resp.currency;\r\n this.account = resp.account ? new AgentAccount(resp.account) : undefined;\r\n\r\n this.isPayment = resp.isPayment;\r\n this.isRefund = resp.isRefund;\r\n this.showGiftCard = resp.showGiftCard;\r\n\r\n this.postInvoicing = !!resp.account && !resp.paymentAlternatives?.length;\r\n }\r\n}\r\n","import useApi from \"@/composables/useApi\";\r\nimport { CheckoutResponse } from \"@/models/api/CheckoutResponse\";\r\nimport { InitPaymentResponse } from \"@/models/api/InitPaymentResponse\";\r\nimport { PaymentGiftCardDto } from \"@/models/api/giftCard/PaymentGiftCardDto\";\r\nimport { Checkout } from \"@/models/front/Checkout\";\r\nimport { RefundParam } from \"@/modules/MyPages/composables/useCancelBooking\";\r\nimport { useBookingStore } from \"@/store/booking\";\r\nimport { useMutation, useQuery } from \"vue-query\";\r\n\r\ntype SavedCardRequest = {\r\n selectedCard?: string;\r\n saveCard: boolean;\r\n};\r\n\r\nexport type InitPaymentParams = {\r\n type: string;\r\n bookingNumber: number;\r\n paymentMethod?: string;\r\n terms: boolean;\r\n giftCards: PaymentGiftCardDto[];\r\n creditCard?: SavedCardRequest;\r\n refund?: RefundParam;\r\n};\r\n\r\nconst useCheckoutQuery = (type: string, id?: string) => {\r\n const { get, post } = useApi();\r\n const bookingStore = useBookingStore();\r\n\r\n const fetcher = () => {\r\n return get(`checkout/${type}`, { id }).then((resp) => {\r\n const data = new Checkout(resp.data);\r\n bookingStore.setBookingNumber(data.bookingNumber);\r\n return data;\r\n });\r\n };\r\n\r\n const getCancelUrl = (): string => {\r\n const baseUrl = window.location.href.split(\"?\")[0];\r\n const param = location.search.length > 0 ? \"&\" : \"?\";\r\n return `${baseUrl}${location.search}${param}error=paymentCancelled`;\r\n };\r\n\r\n const initPaymentMutation = useMutation((params: InitPaymentParams) => {\r\n return post((type === \"moto\" ? type : \"confirm\") + \"/init\", {\r\n bookingNumber: params.bookingNumber,\r\n giftCards: params.giftCards,\r\n terms: params.terms,\r\n cancelUrl: getCancelUrl(),\r\n creditCard: params.creditCard,\r\n ...(params.paymentMethod ? { paymentMethod: params.paymentMethod } : {}),\r\n ...(params.refund ? { refundMethod: params.refund } : {}),\r\n type: params.type,\r\n }).then((resp) => resp.data);\r\n });\r\n\r\n return {\r\n ...useQuery(\"checkout\", fetcher, {\r\n staleTime: 1000,\r\n retry: false,\r\n refetchOnWindowFocus: false,\r\n }),\r\n initPaymentMutation,\r\n };\r\n};\r\n\r\nexport default useCheckoutQuery;\r\n","import useApi from \"@/composables/useApi\";\r\nimport { TimetableRouteResponse } from \"@/models/api/TimetableRouteResponse\";\r\nimport { TimetableRoute } from \"@/models/front/TimetableRoute\";\r\nimport { useQuery } from \"vue-query\";\r\n\r\n\r\nconst useRoutesQuery = () => {\r\n const { get } = useApi();\r\n\r\n const fetcher = () => {\r\n return get('timetable/routes', '').then((resp) => resp.data.map(d => new TimetableRoute(d)))\r\n }\r\n\r\n return {\r\n ...useQuery(['routes'], fetcher, {\r\n refetchOnWindowFocus: false,\r\n staleTime: 1000 * 60\r\n }),\r\n }\r\n}\r\n\r\nexport default useRoutesQuery;\r\n\r\n","import { YYYYMMDD } from \"@/helpers/dateHelpers\";\r\nimport { CardTransactionResponse } from \"@/models/api/customer/CustomerCardResponse\";\r\n\r\nexport class Transaction {\r\n date: Date;\r\n amount: number;\r\n note: string;\r\n currency: string;\r\n bookingNumber: number;\r\n link: string;\r\n constructor(resp: CardTransactionResponse) {\r\n this.date = new Date(YYYYMMDD(resp.date));\r\n this.amount = resp.amount;\r\n this.note = resp.note;\r\n this.currency = resp.currency;\r\n this.bookingNumber = resp.bookingNumber;\r\n this.link = resp.link;\r\n }\r\n}\r\n","import { parseDate } from \"@/helpers/dateHelpers\";\r\nimport { CustomerCardResponse, TravelCardResponse } from \"@/models/api/customer/CustomerCardResponse\";\r\nimport { Transaction } from \"./Transaction\";\r\n\r\nexport class CustomerCard {\r\n leftToPay: number;\r\n paid: number;\r\n travelCard: TravelCard;\r\n\r\n constructor(resp: CustomerCardResponse) {\r\n this.leftToPay = resp.leftToPay;\r\n this.paid = resp.paid;\r\n this.travelCard = new TravelCard(resp.travelCard);\r\n }\r\n}\r\n\r\nclass TravelCard {\r\n status: string;\r\n cardName: string;\r\n balance: number;\r\n cardNumber: string;\r\n validFrom?: Date;\r\n validTo?: Date;\r\n active: boolean;\r\n transactions: Transaction[];\r\n\r\n constructor(resp: TravelCardResponse) {\r\n this.status = resp.status;\r\n this.cardName = resp.cardName;\r\n this.balance = resp.balance;\r\n this.cardNumber = resp.cardNumber;\r\n this.validFrom = resp.validFrom ? parseDate(resp.validFrom) : undefined;\r\n this.validTo = resp.validTo ? parseDate(resp.validTo) : undefined;\r\n this.active = resp.active;\r\n this.transactions = resp.transactions.map((t) => new Transaction(t));\r\n }\r\n}\r\n","import useApi from \"@/composables/useApi\";\r\nimport { CustomerCardResponse } from \"@/models/api/customer/CustomerCardResponse\";\r\nimport { CustomerCard } from \"@/models/front/customer/CustomerCard\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { computed } from \"vue\";\r\nimport { useQuery } from \"vue-query\";\r\n\r\nconst useCustomerCardsQuery = () => {\r\n const { get } = useApi();\r\n const userStore = useUserStore();\r\n\r\n const fetcher = () => {\r\n return get(\"customer/cards\", \"\").then((resp) => {\r\n if (resp.data) {\r\n return new CustomerCard(resp.data);\r\n }\r\n return undefined;\r\n });\r\n };\r\n\r\n return {\r\n ...useQuery([\"cards\", userStore.getUser.number], fetcher, {\r\n refetchOnWindowFocus: false,\r\n staleTime: 60 * 1000,\r\n enabled: computed(() => !!userStore.getUser?.isCardCustomer),\r\n }),\r\n };\r\n};\r\n\r\nexport default useCustomerCardsQuery;\r\n","import useApi from \"@/composables/useApi\";\r\nimport { UserType } from \"@/models/Enums\";\r\nimport { CoVehicleResponse } from \"@/models/api/customer/CoVehiclesResponse\";\r\nimport { CoVehicle } from \"@/models/front/customer/CoVehicles\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { computed } from \"vue\";\r\nimport { useMutation, useQuery, useQueryClient } from \"vue-query\";\r\n\r\nconst useMyCoVehiclesQuery = () => {\r\n const userStore = useUserStore();\r\n const { get, post } = useApi();\r\n const queryClient = useQueryClient();\r\n\r\n const fetcher = () => {\r\n return get(\"customer/covehicles\", \"\").then((resp) => resp.data?.map((d) => new CoVehicle(d)) ?? []);\r\n };\r\n\r\n const updateMutation = useMutation(\r\n (req: CoVehicleResponse[]) => {\r\n return post(\"customer/covehicles\", { vehicles: req });\r\n },\r\n {\r\n onSuccess: () => {\r\n queryClient.invalidateQueries(\"myCoVehicles\");\r\n },\r\n }\r\n );\r\n\r\n return {\r\n ...useQuery([\"myCoVehicles\", userStore.getUser.number], fetcher, {\r\n staleTime: Infinity,\r\n enabled: computed(() => userStore.getUserType === UserType.Customer),\r\n }),\r\n updateMutation,\r\n };\r\n};\r\n\r\nexport default useMyCoVehiclesQuery;\r\n","import useApi from \"@/composables/useApi\";\r\nimport { UserType } from \"@/models/Enums\";\r\nimport { CreditCardResponse } from \"@/models/api/customer/CreditCardResponse\";\r\nimport { CreditCard } from \"@/models/front/customer/CreditCard\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { computed } from \"vue\";\r\nimport { useMutation, useQuery, useQueryClient } from \"vue-query\";\r\n\r\nconst useMyCreditCardsQuery = () => {\r\n const userStore = useUserStore();\r\n const { patch, get, del } = useApi();\r\n\r\n const queryClient = useQueryClient();\r\n\r\n const fetcher = () => {\r\n return get(`customer/creditcards`, \"\").then((resp) => resp.data?.map((d) => new CreditCard(d)) ?? []);\r\n };\r\n\r\n const updateMutation = useMutation(\r\n (req: CreditCardResponse) => {\r\n return patch(`customer/creditcards`, req);\r\n },\r\n {\r\n onSuccess: () => {\r\n queryClient.invalidateQueries(\"myCreditCards\");\r\n },\r\n }\r\n );\r\n\r\n const deleteMutation = useMutation(\r\n (req: CreditCardResponse) => {\r\n return del(`customer/creditcards`, req);\r\n },\r\n {\r\n onSuccess: () => {\r\n queryClient.invalidateQueries(\"myCreditCards\");\r\n },\r\n }\r\n );\r\n\r\n return {\r\n ...useQuery([\"myCreditCards\", userStore.getUser.number], fetcher, {\r\n staleTime: Infinity,\r\n enabled: computed(() => userStore.getUserType === UserType.Customer),\r\n }),\r\n updateMutation,\r\n deleteMutation,\r\n };\r\n};\r\n\r\nexport default useMyCreditCardsQuery;\r\n","import useApi from \"@/composables/useApi\";\r\nimport { OpenBookingResult } from \"@/models/api/OpenBookingResult\";\r\nimport { useBookingStore } from \"@/store/booking\";\r\nimport { ref } from \"vue\";\r\nimport { OpenBookingType } from \"@/models/Enums\";\r\n\r\nconst useOpenBooking = () => {\r\n const { post } = useApi();\r\n const isLoading = ref(false);\r\n const bookingStore = useBookingStore();\r\n\r\n const openBooking = (accessToken: string, type : OpenBookingType) => {\r\n isLoading.value = true;\r\n bookingStore.resetBookingState();\r\n return post(\"amend/open\", { accessToken, type })\r\n .then((resp) => {\r\n bookingStore.setFromApi(resp.data, true);\r\n \r\n return resp.data;\r\n })\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n return {\r\n isLoading,\r\n openBooking,\r\n };\r\n};\r\n\r\nexport default useOpenBooking;\r\n","import useApi from \"@/composables/useApi\";\r\nimport { SiteSearchRequest } from \"@/models/api/SiteSearchRequest\";\r\nimport { ElasticSearchResponse } from \"@/models/api/SiteSearchResponse\";\r\nimport { SiteSearch } from \"@/models/front/SiteSearch\";\r\nimport { useSiteSearchStore } from \"@/store/siteSearch\";\r\nimport { computed } from \"vue\";\r\nimport { useQuery } from \"vue-query\";\r\n\r\nconst useSiteSearchQuery = () => {\r\n const { post } = useApi({ displayErrors: false, useBaseUrl: false });\r\n\r\n const store = useSiteSearchStore();\r\n\r\n const params = computed(() => {\r\n return {\r\n query: store.getQuery,\r\n page: store.getPage,\r\n size: 10,\r\n } as SiteSearchRequest;\r\n });\r\n\r\n const enabled = computed(() => params.value.query.length > 2);\r\n\r\n const fetcher = () => {\r\n return post(`/api/site/search`, params.value).then((resp) => {\r\n const result = new SiteSearch(resp.data);\r\n return result;\r\n });\r\n };\r\n\r\n return {\r\n ...useQuery([\"siteSearch\", params], fetcher, {\r\n staleTime: Infinity,\r\n enabled,\r\n keepPreviousData: true,\r\n }),\r\n };\r\n};\r\n\r\nexport default useSiteSearchQuery;\r\n","import { eventBusKey } from '@/models/Symbols/Eventbus';\r\nimport mitt, { Emitter, EventType } from 'mitt';\r\nimport { Plugin } from 'vue';\r\n\r\nconst emitter = (window as any).mitt || mitt();\r\n(window as any).mitt = emitter;\r\n\r\ndeclare module 'vue' {\r\n export interface ComponentCustomProperties {\r\n $eventBus: Emitter>\r\n }\r\n}\r\n\r\nconst eventbusPlugin: Plugin = {\r\n install: (app) => {\r\n app.config.globalProperties.$eventBus = emitter;\r\n app.provide(eventBusKey, emitter);\r\n }\r\n}\r\n\r\nexport default eventbusPlugin;","import { parseDate } from \"@/helpers/dateHelpers\";\r\nimport { getDepartureId } from \"@/helpers/idHelper\";\r\nimport { BookingRouteDto } from \"./OpenBookingResult\";\r\n\r\nexport class BookingRoute {\r\n id: string;\r\n departureId: string;\r\n route: string;\r\n departureDate: Date;\r\n arrivalDate?: Date;\r\n isLocked: boolean;\r\n isSplit: boolean;\r\n ticketGroup: string;\r\n\r\n constructor(resp: BookingRouteDto) {\r\n this.id = resp.id;\r\n this.departureId = getDepartureId(resp.route, resp.departureDateTime);\r\n this.route = resp.route;\r\n this.departureDate = parseDate(resp.departureDateTime);\r\n this.arrivalDate = parseDate(resp.arrivalDateTime);\r\n this.isLocked = resp.isLocked ?? false;\r\n this.isSplit = resp.isSplit ?? false;\r\n this.ticketGroup = resp.ticketGroup;\r\n }\r\n}","import { departureRoutes } from \"@/config/routes\";\r\nimport { getCurrency } from \"@/helpers/priceHelpers\";\r\nimport { Direction, TripType } from \"@/models/Enums\";\r\nimport { BookingRoute } from \"@/models/api/BookingRoute\";\r\nimport { OpenBookingResult } from \"@/models/api/OpenBookingResult\";\r\nimport { CurrentCampaign } from \"@/models/front/CurrentCampaign\";\r\nimport { Passenger } from \"@/models/front/Passenger\";\r\nimport { Vehicle } from \"@/models/front/Vehicle\";\r\nimport { BookingPart, BookingState, PassengerState } from \"@/models/store/BookingState\";\r\nimport { defineStore } from \"pinia\";\r\nimport { useDepartureStore } from \"./departure\";\r\nimport { usePassengerStore } from \"./passenger\";\r\nimport { useResourceStore } from \"./resource\";\r\nimport { useResourceSplitStore } from \"./resourceSplit\";\r\nimport { useSeatingStore } from \"./seatingStore\";\r\nimport { useUserStore } from \"./user\";\r\nimport { useVehicleStore } from \"./vehicle\";\r\nimport { storageWithExpiration } from \"@/helpers/storageHelper\";\r\nimport { useTransferStore } from \"@/store/transferStore\";\r\nconst locale = document.getElementsByTagName(\"html\")[0].getAttribute(\"lang\");\r\n\r\nconst getInitialState = () => {\r\n const userStore = useUserStore();\r\n return {\r\n productCode: \"\",\r\n bookingNumber: -1,\r\n isAmendment: false,\r\n accessToken: \"\",\r\n campaign: {\r\n title: \"\",\r\n description: \"\",\r\n couponCode: \"\",\r\n },\r\n differentDetailsReturn: false,\r\n tripType: TripType.Return,\r\n outward: {\r\n route: userStore.getUser.isIslander ? departureRoutes.VINY : departureRoutes.NYVI,\r\n date: undefined,\r\n isLocked: false,\r\n } as BookingPart,\r\n return: {\r\n route: userStore.getUser.isIslander ? departureRoutes.NYVI : departureRoutes.VINY,\r\n date: undefined,\r\n isLocked: false,\r\n } as BookingPart,\r\n } as BookingState;\r\n};\r\n\r\nexport const useBookingStore = defineStore(\"booking\", {\r\n state: () => getInitialState(),\r\n getters: {\r\n getBookingNumber(): number {\r\n return this.bookingNumber;\r\n },\r\n getIsAmending(): boolean {\r\n return this.isAmendment;\r\n },\r\n getBooking(state): BookingState {\r\n return state as BookingState;\r\n },\r\n getRoute:\r\n (state) =>\r\n (direction: Direction): string => {\r\n if (direction === Direction.Outward) {\r\n return state.outward.route;\r\n }\r\n return state.return.route;\r\n },\r\n getDate:\r\n (state) =>\r\n (direction: Direction): Date | undefined => {\r\n if (direction === Direction.Outward) {\r\n return state.outward.date ? new Date(state.outward.date as Date) : undefined;\r\n }\r\n return state.return.date ? new Date(state.return.date as Date) : undefined;\r\n },\r\n getDifferentDetailsReturn(): boolean {\r\n return this.differentDetailsReturn;\r\n },\r\n getProductCode(): string {\r\n return this.productCode;\r\n },\r\n getCampaign(): CurrentCampaign {\r\n return this.campaign;\r\n },\r\n hasCampaign(): boolean {\r\n return !!this.campaign.description;\r\n },\r\n getCurrency(): string {\r\n return getCurrency(locale ?? \"sv\");\r\n },\r\n getTrips(): Direction[] {\r\n const trips = [];\r\n\r\n if (!this.outward.isLocked) {\r\n trips.push(Direction.Outward);\r\n }\r\n\r\n if (this.tripType === TripType.Return) {\r\n trips.push(Direction.Return);\r\n }\r\n\r\n return trips;\r\n },\r\n getIsLocked:\r\n (state) =>\r\n (direction: Direction): boolean => {\r\n if (direction === Direction.Outward) {\r\n return state.outward.isLocked ?? false;\r\n }\r\n return state.return.isLocked ?? false;\r\n },\r\n getAccessToken: (state) => {\r\n return state.accessToken;\r\n },\r\n },\r\n actions: {\r\n setBookingNumber(bookingNumber: number) {\r\n this.bookingNumber = bookingNumber;\r\n },\r\n setIsAmendment(isAmendment: boolean) {\r\n this.isAmendment = isAmendment;\r\n },\r\n setTripType(tripType: TripType) {\r\n this.tripType = tripType;\r\n if(tripType === TripType.Single){\r\n this.setDate(Direction.Return, undefined)\r\n }\r\n },\r\n setRoute(direction: Direction, route: string) {\r\n if (direction === Direction.Outward) {\r\n this.outward.route = route;\r\n } else {\r\n this.return.route = route;\r\n }\r\n },\r\n setDate(direction: Direction, date?: Date) {\r\n if (direction === Direction.Outward) {\r\n this.outward.date = date;\r\n } else {\r\n this.return.date = date;\r\n }\r\n },\r\n setIsDifferentDetails(isDifferentDetailsReturn: boolean) {\r\n this.differentDetailsReturn = isDifferentDetailsReturn;\r\n },\r\n setProductCode(productCode: string) {\r\n this.productCode = productCode;\r\n },\r\n setCampaign(campaign: CurrentCampaign) {\r\n this.campaign = campaign;\r\n },\r\n setAccessToken(accessToken: string) {\r\n this.accessToken = accessToken;\r\n },\r\n setOutwardDetailsOnReturn() {\r\n const passengerStore = usePassengerStore();\r\n const vehicleStore = useVehicleStore();\r\n const outwardPassengers = passengerStore.getPassengers(Direction.Outward);\r\n const returnPassengers = passengerStore.getPassengers(Direction.Return);\r\n\r\n const newPassengers: PassengerState[] = [];\r\n for (let i = 0; i < returnPassengers.length; i++) {\r\n newPassengers.push({\r\n ...outwardPassengers[i],\r\n type: returnPassengers[i].type,\r\n number: returnPassengers[i].number,\r\n id: returnPassengers[i].id,\r\n });\r\n }\r\n passengerStore.setPassengers(Direction.Return, newPassengers);\r\n vehicleStore.setVehicle(Direction.Return, vehicleStore.getVehicle(Direction.Outward));\r\n },\r\n setFromApi(data: OpenBookingResult, isAmendment = false) {\r\n const routes = data.routes.map((r) => new BookingRoute(r));\r\n\r\n if (!routes.length) return;\r\n\r\n const outwardRoute = routes[0];\r\n this.outward.route = outwardRoute.route;\r\n this.outward.date = outwardRoute.departureDate;\r\n this.outward.isLocked = outwardRoute.isLocked;\r\n this.tripType = TripType.Single;\r\n\r\n if (routes.length > 1) {\r\n const returnRoute = routes[1];\r\n this.return.route = returnRoute.route;\r\n this.return.date = returnRoute.departureDate;\r\n this.return.isLocked = returnRoute.isLocked;\r\n this.tripType = TripType.Return;\r\n }\r\n\r\n if (this.outward.isLocked || this.return.isLocked) {\r\n this.differentDetailsReturn = true;\r\n }\r\n\r\n if (data.campaign) {\r\n this.campaign.title = data.campaign.name;\r\n this.campaign.description = data.campaign.description;\r\n }\r\n\r\n this.isAmendment = isAmendment;\r\n this.bookingNumber = data.bookingNumber;\r\n this.productCode = data.productCode;\r\n\r\n usePassengerStore().setFromApi(data.passengers.map((p) => new Passenger(p)));\r\n useVehicleStore().setFromApi(data.vehicles.map((p) => new Vehicle(p)));\r\n useDepartureStore().setFromApi(routes);\r\n useResourceSplitStore().setFromApi(routes);\r\n },\r\n resetBookingState() {\r\n usePassengerStore().$reset();\r\n useDepartureStore().$reset();\r\n useResourceStore().$reset();\r\n useVehicleStore().$reset();\r\n useResourceSplitStore().$reset();\r\n useSeatingStore().$reset();\r\n useTransferStore().$reset();\r\n this.$reset();\r\n },\r\n },\r\n persist: {\r\n storage: storageWithExpiration(localStorage),\r\n },\r\n});\r\n","import { defineStore } from \"pinia\";\r\n\r\ntype SavedCardState = {\r\n selectedCard?: string;\r\n saveCard: boolean;\r\n};\r\n\r\ntype CheckoutState = {\r\n savedCard: SavedCardState;\r\n};\r\n\r\nexport const useCheckoutStore = defineStore(\"checkout\", {\r\n state: () => {\r\n return {\r\n savedCard: {\r\n selectedCard: undefined,\r\n saveCard: false,\r\n },\r\n } as CheckoutState;\r\n },\r\n getters: {\r\n getSavedCard: (state) => {\r\n return state.savedCard;\r\n },\r\n },\r\n actions: {\r\n setSelectedCard(selectedCard?: string) {\r\n this.savedCard.selectedCard = selectedCard;\r\n },\r\n setSaveCard(saveCard: boolean) {\r\n this.savedCard.saveCard = saveCard;\r\n },\r\n },\r\n});\r\n","import { storageWithExpiration } from \"@/helpers/storageHelper\";\r\nimport { BookingRoute } from \"@/models/api/BookingRoute\";\r\nimport { Direction } from \"@/models/Enums\";\r\nimport { DepartureState } from \"@/models/store/BookingState\";\r\nimport { defineStore } from \"pinia\";\r\n\r\nconst getInitialState = () => {\r\n return {\r\n outward: {\r\n id: \"\",\r\n departureId: \"\",\r\n identifier: \"\",\r\n ticketGroup: \"\",\r\n departureDate: undefined\r\n } as DepartureState,\r\n return: {\r\n id: \"\",\r\n departureId: \"\",\r\n identifier: \"\",\r\n ticketGroup: \"\",\r\n departureDate: undefined\r\n } as DepartureState,\r\n };\r\n};\r\n\r\nexport const useDepartureStore = defineStore(\"departure\", {\r\n state: () => {\r\n return getInitialState();\r\n },\r\n getters: {\r\n getDeparture:\r\n (state) =>\r\n (direction: Direction): DepartureState => {\r\n if (direction === Direction.Outward) {\r\n return state.outward;\r\n } else {\r\n return state.return;\r\n }\r\n },\r\n getDepartureState: (state) => {\r\n return state;\r\n },\r\n },\r\n actions: {\r\n setDeparture(direction: Direction, departure: DepartureState) {\r\n if (direction === Direction.Outward) {\r\n return (this.outward = departure);\r\n } else {\r\n return (this.return = departure);\r\n }\r\n },\r\n setFromApi(routes: BookingRoute[]) {\r\n if (!routes.length) return;\r\n const outwardRoute = routes[0];\r\n this.outward.id = outwardRoute.id;\r\n this.outward.departureId = outwardRoute.departureId;\r\n this.outward.departureDate = outwardRoute.departureDate;\r\n this.outward.ticketGroup = outwardRoute.ticketGroup;\r\n\r\n if (routes.length > 1) {\r\n const returnRoute = routes[1];\r\n this.return.id = returnRoute.id;\r\n this.return.departureId = returnRoute.departureId;\r\n this.return.departureDate = returnRoute.departureDate;\r\n this.return.ticketGroup = returnRoute.ticketGroup;\r\n }\r\n },\r\n },\r\n persist: {\r\n storage: storageWithExpiration(localStorage),\r\n },\r\n});\r\n","import { createPinia } from 'pinia';\r\nimport piniaPluginPersistedstate from 'pinia-plugin-persistedstate'\r\n\r\nexport const pinia = createPinia();\r\npinia.use(piniaPluginPersistedstate);\r\n","import { groupBy } from \"@/helpers/groupBy\";\r\nimport { getBookitLocaleStringForCurrentLocale } from \"@/helpers/localeHelper\";\r\nimport { Direction, PassengerType } from \"@/models/Enums\";\r\nimport { Passenger } from \"@/models/front/Passenger\";\r\nimport { PassengerState } from \"@/models/store/BookingState\";\r\nimport { defineStore } from \"pinia\";\r\nimport { useBookingStore } from \"./booking\";\r\nimport { storageWithExpiration } from \"@/helpers/storageHelper\";\r\n// eslint-disable-next-line @typescript-eslint/no-var-requires\r\nconst isEqual = require(\"lodash.isequal\");\r\n\r\nconst getInitialState = () => {\r\n return {\r\n outward: [] as PassengerState[],\r\n return: [] as PassengerState[],\r\n };\r\n};\r\n\r\nexport const usePassengerStore = defineStore(\"passenger\", {\r\n state: () => {\r\n return getInitialState();\r\n },\r\n getters: {\r\n getPassengers:\r\n (state) =>\r\n (direction: Direction): PassengerState[] => {\r\n const bookingStore = useBookingStore();\r\n switch (direction) {\r\n case Direction.Outward:\r\n return state.outward as PassengerState[];\r\n case Direction.Return:\r\n if (!bookingStore.differentDetailsReturn) {\r\n const newPassengers: PassengerState[] = [];\r\n for (let i = 0; i < state.return.length; i++) {\r\n newPassengers.push({\r\n ...state.outward[i],\r\n type: state.return[i].type,\r\n number: state.return[i].number,\r\n id: state.return[i].id,\r\n isIslander: state.return[i].isIslander,\r\n needsValidation: state.return[i].needsValidation,\r\n });\r\n }\r\n return newPassengers as PassengerState[];\r\n }\r\n return state.return as PassengerState[];\r\n }\r\n },\r\n isMixed: (state) => {\r\n const passengers = state.outward.concat(state.return);\r\n\r\n return passengers.some((o) => o.isIslander) && passengers.some((o) => !o.isIslander);\r\n }\r\n },\r\n actions: {\r\n setPassenger(direction: Direction, passenger: PassengerState) {\r\n const passengerArray = this.getPassengers(direction);\r\n const count = passengerArray.filter((p) => p.type === passenger.type).length;\r\n if (count > passenger.number) {\r\n this.removePassenger(direction, passenger.type, passenger.number);\r\n } else {\r\n this.addPassenger(direction, passenger);\r\n }\r\n },\r\n addPassenger(direction: Direction, passenger: PassengerState) {\r\n if (passenger.number === 0) return;\r\n\r\n const getId = (index: number) => {\r\n return `${passenger.type}|${index}`;\r\n };\r\n for (let i = 0; i < passenger.number; i++) {\r\n if (direction === Direction.Outward) {\r\n if (!this.outward.find((p) => p.type === passenger.type && p.number === i + 1)) {\r\n this.outward.push({ ...passenger, id: getId(i), number: i + 1, unknownDetails: false });\r\n }\r\n } else {\r\n if (!this.return.find((p) => p.type === passenger.type && p.number === i + 1)) {\r\n this.return.push({ ...passenger, id: getId(i), number: i + 1, unknownDetails: false });\r\n }\r\n }\r\n }\r\n },\r\n removePassenger(direction: Direction, type: PassengerType, value: number) {\r\n if (direction === Direction.Outward && this.outward.length > 0) {\r\n this.outward = this.outward.filter((p) => p.number <= value || p.type !== type);\r\n } else if (this.return.length > 0) {\r\n this.return = this.return.filter((p) => p.number <= value || p.type !== type);\r\n }\r\n },\r\n setPassengers(direction: Direction, passengers: PassengerState[]) {\r\n if (direction === Direction.Outward) {\r\n this.outward = passengers;\r\n } else {\r\n this.return = passengers;\r\n }\r\n },\r\n updatePassenger(direction: Direction, passenger: PassengerState) {\r\n if (direction === Direction.Outward) {\r\n const index = this.outward.findIndex((p) => p.id === passenger.id);\r\n this.outward.splice(index, 1, passenger);\r\n } else {\r\n const index = this.return.findIndex((p) => p.id === passenger.id);\r\n this.return.splice(index, 1, passenger);\r\n }\r\n },\r\n setFromApi(travelers: Passenger[]) {\r\n if (travelers.length < 1) {\r\n this.setPassengers(Direction.Outward, []);\r\n this.setPassengers(Direction.Return, []);\r\n }\r\n\r\n const routes = groupBy(travelers, \"route\");\r\n const bookingStore = useBookingStore();\r\n\r\n for (const route in routes) {\r\n const direction = route === bookingStore.getBooking.outward.route ? Direction.Outward : Direction.Return;\r\n const passengers: PassengerState[] = [];\r\n const travelersInAPI = routes[route] as Passenger[];\r\n\r\n const groupedPassengers = groupBy(\r\n travelersInAPI.filter((traveler) => traveler.route == route),\r\n \"type\"\r\n );\r\n\r\n for (const key in groupedPassengers) {\r\n const resources = groupedPassengers[key] as Passenger[];\r\n resources.forEach((p, index) => {\r\n passengers.push({\r\n country: p.country ? p.country : getBookitLocaleStringForCurrentLocale(),\r\n dateOfBirth: p.dateOfBirth,\r\n disability: p.disability,\r\n firstName: p.firstName,\r\n gender: p.gender,\r\n lastName: p.lastName,\r\n title: p.title,\r\n type: p.type,\r\n number: index + 1,\r\n id: p.id,\r\n route,\r\n isEditable: p.isEditable,\r\n isIslander: p.isIslander,\r\n needsValidation: p.needsValidation,\r\n } as PassengerState);\r\n });\r\n }\r\n\r\n this.setPassengers(direction, passengers);\r\n }\r\n\r\n const outwardPassengers = this.outward.map((p) => ({\r\n firstName: p.firstName,\r\n lastName: p.lastName,\r\n dateOfBirth: p.dateOfBirth,\r\n country: p.country,\r\n gender: p.gender,\r\n }));\r\n\r\n const returnPassengers = this.return.map((p) => ({\r\n firstName: p.firstName,\r\n lastName: p.lastName,\r\n dateOfBirth: p.dateOfBirth,\r\n country: p.country,\r\n gender: p.gender,\r\n }));\r\n\r\n if (!isEqual(outwardPassengers, returnPassengers)) {\r\n bookingStore.setIsDifferentDetails(true);\r\n }\r\n },\r\n },\r\n persist: {\r\n storage: storageWithExpiration(localStorage),\r\n },\r\n});\r\n","import { defineStore } from \"pinia\";\r\n\r\ntype QueueState = {\r\n key: string;\r\n isQueue: boolean;\r\n};\r\n\r\nexport const useQueueStore = defineStore(\"queue\", {\r\n state: () => {\r\n return {\r\n key: \"\",\r\n isQueue: false,\r\n } as QueueState;\r\n },\r\n getters: {\r\n getKey(state) {\r\n return state.key;\r\n },\r\n getIsQueue(state) {\r\n return state.isQueue;\r\n },\r\n },\r\n actions: {\r\n setKey(key: string) {\r\n this.key = key;\r\n },\r\n setIsQueue(val: boolean) {\r\n this.isQueue = val;\r\n },\r\n },\r\n persist: {\r\n storage: sessionStorage,\r\n },\r\n});\r\n","import { storageWithExpiration } from \"@/helpers/storageHelper\";\r\nimport { Direction } from \"@/models/Enums\";\r\nimport { ExtrasResource, ExtrasSection } from \"@/models/Extras\";\r\nimport { ResourceState } from \"@/models/store/BookingState\";\r\nimport { defineStore } from \"pinia\";\r\n\r\nconst getInitialState = () => {\r\n return {\r\n outward: [] as ResourceState[],\r\n return: [] as ResourceState[],\r\n };\r\n};\r\n\r\nexport const useResourceStore = defineStore(\"resource\", {\r\n state: () => {\r\n return getInitialState();\r\n },\r\n getters: {\r\n getResources:\r\n (state) =>\r\n (direction: Direction): ResourceState[] => {\r\n if (direction === Direction.Outward) {\r\n return state.outward as ResourceState[];\r\n }\r\n return state.return as ResourceState[];\r\n },\r\n getResourceState: (state) => {\r\n return state;\r\n },\r\n },\r\n actions: {\r\n setResource(direction: Direction, resource: ExtrasResource, value: number) {\r\n const resourceArray = this.getResources(direction);\r\n const count = resourceArray.filter((p) => p.identifier === resource.identifier).length;\r\n if (count > value) {\r\n this.removeResource(direction, resource, value);\r\n } else {\r\n this.addResource(direction, resource, value);\r\n }\r\n },\r\n addResource(direction: Direction, resource: ExtrasResource, value: number) {\r\n if (value === 0) return;\r\n\r\n for (let i = 0; i < value; i++) {\r\n if (direction === Direction.Outward) {\r\n if (!this.outward.find((p) => p.identifier === resource.identifier && p.number === i + 1)) {\r\n this.outward.push({ id: resource.id, identifier: resource.identifier, code: resource.code, number: i + 1 });\r\n }\r\n } else {\r\n if (!this.return.find((p) => p.identifier === resource.identifier && p.number === i + 1)) {\r\n this.return.push({ id: resource.id, identifier: resource.identifier, code: resource.code, number: i + 1 });\r\n }\r\n }\r\n }\r\n },\r\n removeResource(direction: Direction, resource: ExtrasResource, value: number) {\r\n if (direction === Direction.Outward && this.outward.length > 0) {\r\n this.outward = this.outward.filter((p) => p.number <= value || p.identifier !== resource.identifier);\r\n } else if (this.return.length > 0) {\r\n this.return = this.return.filter((p) => p.number <= value || p.identifier !== resource.identifier);\r\n }\r\n },\r\n setResources(direction: Direction, value: ResourceState[]) {\r\n if (direction === Direction.Outward) {\r\n this.outward = value;\r\n } else if (direction === Direction.Return) {\r\n this.return = value;\r\n }\r\n },\r\n setFromApi(direction: Direction, sections: ExtrasSection[]) {\r\n const mapState = (r: ExtrasResource): ResourceState[] => {\r\n const resources: ResourceState[] = [];\r\n for (let i = 1; i <= r.amount; i++) {\r\n resources.push({\r\n id: r.id,\r\n identifier: r.identifier,\r\n code: r.code,\r\n number: i,\r\n });\r\n }\r\n\r\n return resources;\r\n };\r\n\r\n if (direction === Direction.Outward) {\r\n this.outward = sections.flatMap((s) => s.resources).flatMap((r) => mapState(r as ExtrasResource)) ?? [];\r\n } else if (direction === Direction.Return) {\r\n this.return = sections.flatMap((s) => s.resources).flatMap((r) => mapState(r as ExtrasResource)) ?? [];\r\n }\r\n },\r\n },\r\n persist: {\r\n storage: storageWithExpiration(localStorage),\r\n },\r\n});\r\n","import { storageWithExpiration } from \"@/helpers/storageHelper\";\r\nimport { Direction } from \"@/models/Enums\";\r\nimport { BookingRoute } from \"@/models/api/BookingRoute\";\r\nimport { defineStore } from \"pinia\";\r\n\r\ntype SplitState = {\r\n outward: SplitPart;\r\n return: SplitPart;\r\n};\r\n\r\ntype SplitPart = {\r\n isSplit: boolean;\r\n splitPassengerIds: string[];\r\n};\r\n\r\nexport const useResourceSplitStore = defineStore(\"resourceSplit\", {\r\n state: () => {\r\n return {\r\n outward: {\r\n isSplit: false,\r\n splitPassengerIds: [],\r\n },\r\n return: {\r\n isSplit: false,\r\n splitPassengerIds: [],\r\n },\r\n } as SplitState;\r\n },\r\n getters: {\r\n getIsSplit: (state) => (direction: Direction) => {\r\n if (direction === Direction.Outward) {\r\n return state.outward.isSplit;\r\n } else {\r\n return state.return.isSplit;\r\n }\r\n },\r\n getPassengerIds: (state) => (direction: Direction) => {\r\n if (direction === Direction.Outward) {\r\n return state.outward.splitPassengerIds;\r\n } else {\r\n return state.return.splitPassengerIds;\r\n }\r\n },\r\n },\r\n actions: {\r\n setFromApi(routes: BookingRoute[]) {\r\n if (!routes.length) return;\r\n\r\n const outwardRoute = routes[0];\r\n this.outward.isSplit = outwardRoute.isSplit;\r\n\r\n if (routes.length > 1) {\r\n const returnRoute = routes[1];\r\n this.return.isSplit = returnRoute.isSplit;\r\n } else {\r\n this.return.isSplit = false;\r\n }\r\n },\r\n setIsSplit(direction: Direction, isSplit: boolean) {\r\n if (direction === Direction.Outward) {\r\n return (this.outward.isSplit = isSplit);\r\n } else {\r\n return (this.return.isSplit = isSplit);\r\n }\r\n },\r\n setSplitPassengers(direction: Direction, passengerIds: string[]) {\r\n if (direction === Direction.Outward) {\r\n return (this.outward.splitPassengerIds = passengerIds);\r\n } else {\r\n return (this.return.splitPassengerIds = passengerIds);\r\n }\r\n },\r\n },\r\n persist: {\r\n storage: storageWithExpiration(localStorage),\r\n },\r\n});\r\n","import { storageWithExpiration } from \"@/helpers/storageHelper\";\r\nimport { Direction } from \"@/models/Enums\";\r\nimport { SeatingReservation } from \"@/models/api/ExtrasResponse\";\r\nimport { defineStore } from \"pinia\";\r\n\r\ntype SeatingState = {\r\n outward: PartialSeatingState;\r\n return: PartialSeatingState;\r\n};\r\n\r\ntype PartialSeatingState = {\r\n seats: string[];\r\n resourceCode: string;\r\n identifier: string;\r\n};\r\n\r\nexport const useSeatingStore = defineStore(\"seating\", {\r\n state: () => {\r\n return {\r\n outward: {},\r\n return: {},\r\n } as SeatingState;\r\n },\r\n getters: {\r\n getSelectedSeats: (state) => (direction: Direction) => {\r\n if (direction === Direction.Outward) {\r\n return state.outward;\r\n } else {\r\n return state.return;\r\n }\r\n },\r\n },\r\n actions: {\r\n setFromApi(direction: Direction, reservation?: SeatingReservation) {\r\n const selectedSeats = {\r\n identifier: reservation?.identifier ?? \"\",\r\n resourceCode: reservation?.resourceCode ?? \"\",\r\n seats: reservation?.reservations ?? [],\r\n };\r\n\r\n if (direction === Direction.Outward) {\r\n this.outward = selectedSeats;\r\n } else {\r\n this.return = selectedSeats;\r\n }\r\n },\r\n setSelectedSeats(direction: Direction, selectedSeats: PartialSeatingState) {\r\n if (direction === Direction.Outward) {\r\n return (this.outward = selectedSeats);\r\n } else {\r\n return (this.return = selectedSeats);\r\n }\r\n },\r\n },\r\n persist: {\r\n storage: storageWithExpiration(localStorage),\r\n },\r\n});\r\n","import { SiteSearch } from '@/models/front/SiteSearch';\r\nimport { defineStore } from 'pinia';\r\n\r\nexport const useSiteSearchStore = defineStore('siteSearchStore', {\r\n\tstate: () => {\r\n\t\treturn {\r\n\t\t\tquery: '',\r\n\t\t\tresult: {\r\n\t\t\t\tpage: 1,\r\n\t\t\t\tpageCount: 1,\r\n\t\t\t\tresultCount: 1,\r\n\t\t\t\tresults: []\r\n\t\t\t} as SiteSearch,\r\n\t\t\tpage: 1\r\n\t\t};\r\n\t},\r\n\tgetters: {\r\n\t\tgetQuery(state) {\r\n\t\t\treturn state.query;\r\n\t\t},\r\n\t\tgetPage(state) {\r\n\t\t\treturn state.page;\r\n\t\t},\r\n\t\tgetResult(state) {\r\n\t\t\treturn state.result;\r\n\t\t}\r\n\t},\r\n\tactions: {\r\n\t\tsetQuery(query: string) {\r\n\t\t\tthis.query = query;\r\n\t\t},\r\n\t\tsetPage(page: number) {\r\n\t\t\tthis.page = page;\r\n\t\t},\r\n\t\tsetResults(result: SiteSearch) {\r\n\t\t\tthis.result = result;\r\n\t\t}\r\n\t}\r\n});\r\n","import { storageWithExpiration } from \"@/helpers/storageHelper\";\r\nimport { Direction } from \"@/models/Enums\";\r\nimport { TransferPassengerInfo, TransferResource } from \"@/models/api/ExtrasResponse\";\r\nimport { ResourceState, TransferState } from \"@/models/store/BookingState\";\r\nimport { defineStore } from \"pinia\";\r\n\r\nconst getInitialState = () => {\r\n return {\r\n outward: {\r\n stationId: \"\",\r\n passengers: [],\r\n } as TransferState,\r\n return: {\r\n stationId: \"\",\r\n passengers: [],\r\n } as TransferState,\r\n };\r\n};\r\n\r\nexport const useTransferStore = defineStore(\"transfer\", {\r\n state: () => {\r\n return getInitialState();\r\n },\r\n getters: {\r\n getPassengers:\r\n (state) =>\r\n (direction: Direction): ResourceState[] => {\r\n if (direction === Direction.Outward) {\r\n return state.outward.passengers;\r\n }\r\n return state.return.passengers;\r\n },\r\n getTransferState: (state) => {\r\n return state;\r\n },\r\n getStationId:\r\n (state) =>\r\n (direction: Direction): string => {\r\n if (direction === Direction.Outward) {\r\n return state.outward.stationId;\r\n }\r\n return state.return.stationId;\r\n },\r\n },\r\n actions: {\r\n setStationId(direction: Direction, stationId: string) {\r\n if (direction === Direction.Outward) {\r\n this.outward.stationId = stationId;\r\n } else {\r\n this.return.stationId = stationId;\r\n }\r\n },\r\n setPassenger(direction: Direction, passengerResource: TransferPassengerInfo, value: number) {\r\n const passengers = this.getPassengers(direction);\r\n const count = passengers.filter((p) => p.identifier === passengerResource.identifier).length;\r\n if (count > value) {\r\n this.removePassenger(direction, passengerResource, value);\r\n } else {\r\n this.addPassenger(direction, passengerResource, value);\r\n }\r\n },\r\n addPassenger(direction: Direction, passengerResource: TransferPassengerInfo, value: number) {\r\n if (value === 0) return;\r\n\r\n for (let i = 0; i < value; i++) {\r\n if (direction === Direction.Outward) {\r\n if (!this.outward.passengers.find((p) => p.identifier === passengerResource.identifier && p.number === i + 1)) {\r\n this.outward.passengers.push({\r\n id: passengerResource.passengerType,\r\n identifier: passengerResource.identifier,\r\n code: passengerResource.passengerType,\r\n number: i + 1,\r\n });\r\n }\r\n } else {\r\n if (!this.return.passengers.find((p) => p.identifier === passengerResource.identifier && p.number === i + 1)) {\r\n this.return.passengers.push({\r\n id: passengerResource.passengerType,\r\n identifier: passengerResource.identifier,\r\n code: passengerResource.passengerType,\r\n number: i + 1,\r\n });\r\n }\r\n }\r\n }\r\n },\r\n removePassenger(direction: Direction, passengerResource: TransferPassengerInfo, value: number) {\r\n if (direction === Direction.Outward && this.outward.passengers.length > 0) {\r\n this.outward.passengers = this.outward.passengers.filter(\r\n (p) => p.number <= value || p.identifier !== passengerResource.identifier\r\n );\r\n } else if (this.return.passengers.length > 0) {\r\n this.return.passengers = this.return.passengers.filter(\r\n (p) => p.number <= value || p.identifier !== passengerResource.identifier\r\n );\r\n }\r\n },\r\n setPassengers(direction: Direction, value: ResourceState[]) {\r\n if (direction === Direction.Outward) {\r\n this.outward.passengers = value;\r\n } else if (direction === Direction.Return) {\r\n this.return.passengers = value;\r\n }\r\n },\r\n setFromApi(direction: Direction, resources: TransferResource[]) {\r\n const mapState = (r: TransferResource): TransferState => {\r\n const state: TransferState = {\r\n stationId: r.id,\r\n passengers: [],\r\n };\r\n\r\n const selectedPassengers = r.passengerInfo.filter((pi) => pi.amount > 0);\r\n\r\n selectedPassengers.forEach((p) => {\r\n for (let i = 1; i <= p.amount; i++) {\r\n state.passengers.push({\r\n id: p.identifier,\r\n identifier: p.identifier,\r\n code: p.passengerType,\r\n number: i,\r\n });\r\n }\r\n });\r\n\r\n return state;\r\n };\r\n\r\n const selectedStops = resources?.filter((tr) => tr.amount > 0) ?? [];\r\n\r\n if (direction === Direction.Outward) {\r\n if (selectedStops.length) {\r\n this.outward = mapState(selectedStops[0]);\r\n } else {\r\n this.outward = { stationId: \"\", passengers: [] };\r\n }\r\n } else if (direction === Direction.Return) {\r\n if (selectedStops.length) {\r\n this.return = mapState(selectedStops[0]);\r\n } else {\r\n this.return = { stationId: \"\", passengers: [] };\r\n }\r\n }\r\n },\r\n },\r\n persist: {\r\n storage: storageWithExpiration(localStorage),\r\n },\r\n});\r\n","import { getPhoneCode, getPhoneWithoutCode } from \"@/helpers/phoneHelper\";\r\nimport { UserType } from \"@/models/Enums\";\r\nimport { AgentAccount } from \"@/models/front/agent/AgentAccount\";\r\nimport { AddressInformation } from \"@/models/front/customer/AddressInformation\";\r\nimport { User } from \"@/models/store/User\";\r\nimport { UserState } from \"@/models/store/UserStore\";\r\nimport { defineStore } from \"pinia\";\r\nimport { useBookingStore } from \"./booking\";\r\nimport { storageWithExpiration } from \"@/helpers/storageHelper\";\r\n\r\nconst getInitialState = () => {\r\n return {\r\n user: {\r\n type: UserType.Unknown,\r\n },\r\n } as UserState;\r\n};\r\n\r\nexport const useUserStore = defineStore(\"user\", {\r\n state: () => {\r\n return getInitialState();\r\n },\r\n getters: {\r\n getUserType(): UserType {\r\n return this.user.type;\r\n },\r\n isLoggedIn(): boolean {\r\n return this.user.type !== UserType.Unknown;\r\n },\r\n getUser(): User {\r\n return this.user;\r\n },\r\n getUserAddress(): AddressInformation {\r\n return {\r\n address: this.user.address ?? \"\",\r\n contact: this.user.contact ?? \"\",\r\n city: this.user.city ?? \"\",\r\n countryCode: this.user.country ?? \"\",\r\n email: this.user.email ?? \"\",\r\n firstName: this.user.firstName ?? \"\",\r\n lastName: this.user.lastName ?? \"\",\r\n mobilePhone: getPhoneWithoutCode(this.user.mobilePhone),\r\n phoneCode: getPhoneCode(this.user.mobilePhone),\r\n internalReference: \"\",\r\n zip: this.user.zip ?? \"\",\r\n };\r\n },\r\n isAgent(): boolean {\r\n return this.user.type === UserType.Agent;\r\n },\r\n getSelectedProductCode(): string | undefined {\r\n return this.user.selectedProductCode;\r\n },\r\n getAgentAccount(): AgentAccount | undefined {\r\n return this.user.agentAccount;\r\n },\r\n getIsNameReadonly(): boolean {\r\n return !!this.user.isCardCustomer;\r\n },\r\n },\r\n actions: {\r\n login(user: User) {\r\n this.user = user;\r\n const bookingStore = useBookingStore();\r\n bookingStore.setProductCode(user.defaultProductCode ?? \"\");\r\n },\r\n logout() {\r\n this.$state = getInitialState();\r\n },\r\n setSelectedProductCode(productCode?: string) {\r\n this.user.selectedProductCode = productCode;\r\n },\r\n },\r\n persist: {\r\n storage: storageWithExpiration(localStorage),\r\n paths: [\"user\"],\r\n },\r\n});\r\n","import { groupBy } from \"@/helpers/groupBy\";\r\nimport { Direction } from \"@/models/Enums\";\r\nimport { Vehicle } from \"@/models/front/Vehicle\";\r\nimport { VehicleState } from \"@/models/store/BookingState\";\r\nimport { defineStore } from \"pinia\";\r\nimport { useBookingStore } from \"./booking\";\r\nimport { storageWithExpiration } from \"@/helpers/storageHelper\";\r\n// eslint-disable-next-line @typescript-eslint/no-var-requires\r\nconst isEqual = require(\"lodash.isequal\");\r\n\r\nconst getInitialState = () => {\r\n return {\r\n outward: {\r\n code: \"\",\r\n amount: 1,\r\n license: \"\",\r\n isGasOrElectric: false,\r\n unknownLicense: false,\r\n requiresLicense: false,\r\n petInVehicle: false,\r\n } as VehicleState,\r\n return: {\r\n code: \"\",\r\n amount: 1,\r\n license: \"\",\r\n isGasOrElectric: false,\r\n unknownLicense: false,\r\n requiresLicense: false,\r\n petInVehicle: false,\r\n } as VehicleState,\r\n };\r\n};\r\n\r\nexport const useVehicleStore = defineStore(\"vehicle\", {\r\n state: () => {\r\n return getInitialState();\r\n },\r\n getters: {\r\n getVehicle:\r\n (state) =>\r\n (direction: Direction): VehicleState => {\r\n const bookingStore = useBookingStore();\r\n switch (direction) {\r\n case Direction.Outward:\r\n return state.outward as VehicleState;\r\n case Direction.Return:\r\n return (bookingStore.differentDetailsReturn ? state.return : state.outward) as VehicleState;\r\n }\r\n },\r\n },\r\n actions: {\r\n setVehicle(direction: Direction, vehicle: VehicleState) {\r\n if (direction === Direction.Outward) {\r\n this.outward = vehicle;\r\n } else {\r\n this.return = vehicle;\r\n }\r\n },\r\n resetVehicle(direction: Direction) {\r\n const defaultVehicle = {\r\n code: \"\",\r\n amount: 1,\r\n license: \"\",\r\n isGasOrElectric: false,\r\n unknownLicense: false,\r\n petInVehicle: false,\r\n } as VehicleState;\r\n if (direction === Direction.Outward) {\r\n this.outward = defaultVehicle;\r\n } else {\r\n this.return = defaultVehicle;\r\n }\r\n },\r\n hasVehicle(direction: Direction) {\r\n if (direction === Direction.Outward) {\r\n return !!this.outward.code && this.outward.amount > 0;\r\n } else {\r\n return !!this.return.code && this.return.amount > 0;\r\n }\r\n },\r\n setFromApi(details: Vehicle[]) {\r\n const routes = groupBy(details, \"route\");\r\n const bookingStore = useBookingStore();\r\n\r\n for (const route in routes) {\r\n const vehicles = details.filter((detail) => detail.route == route);\r\n\r\n const direction = route === bookingStore.getBooking.outward.route ? Direction.Outward : Direction.Return;\r\n\r\n const storedVehicle = this.getVehicle(direction);\r\n\r\n if (vehicles.length) {\r\n const veh = vehicles[0];\r\n\r\n this.setVehicle(direction, {\r\n ...storedVehicle,\r\n ...veh,\r\n amount: veh.requiresLicense ? 1 : vehicles.length,\r\n });\r\n }\r\n }\r\n\r\n const outwardVehicle = {\r\n ...this.outward,\r\n route: \"\",\r\n };\r\n\r\n const returnVehicle = {\r\n ...this.return,\r\n route: \"\",\r\n };\r\n\r\n if (!isEqual(outwardVehicle, returnVehicle)) {\r\n bookingStore.setIsDifferentDetails(true);\r\n }\r\n },\r\n },\r\n persist: {\r\n storage: storageWithExpiration(localStorage),\r\n },\r\n});\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4c916d76\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"dropdown__content\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { class: \"dropdown__scroll\" }\n\nimport { onClickOutside } from \"@vueuse/core\";\r\nimport { ref } from \"vue\";\r\n\r\ninterface Props {\r\n mobileModal?: boolean;\r\n modalTitle?: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Dropdown',\n props: {\n mobileModal: { type: Boolean },\n modalTitle: {}\n },\n setup(__props: any, { expose: __expose }) {\n\r\n\r\n\r\nconst isOpen = ref(false);\r\n\r\nconst toggle = () => {\r\n isOpen.value = !isOpen.value;\r\n};\r\n\r\nconst dropdownRef = ref();\r\n\r\nonClickOutside(dropdownRef, () => {\r\n isOpen.value = false;\r\n});\r\n\r\n__expose({\r\n toggle,\r\n isOpen\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"dropdown-container\",\n ref_key: \"dropdownRef\",\n ref: dropdownRef\n }, [\n _renderSlot(_ctx.$slots, \"trigger\", {\n toggle: toggle,\n isOpen: isOpen.value\n }),\n (_ctx.mobileModal && isOpen.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n onClick: toggle,\n class: \"dropdown__overlay\"\n }))\n : _createCommentVNode(\"\", true),\n (isOpen.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass([\"dropdown\", { 'dropdown--modal': _ctx.mobileModal }])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.mobileModal && _ctx.modalTitle)\n ? (_openBlock(), _createElementBlock(\"header\", _hoisted_2, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.modalTitle), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"default\", { toggle: toggle })\n ]),\n _createElementVNode(\"footer\", null, [\n _renderSlot(_ctx.$slots, \"close\", { toggle: toggle })\n ])\n ])\n ], 2))\n : _createCommentVNode(\"\", true)\n ], 512))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./Dropdown.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Dropdown.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Dropdown.vue?vue&type=style&index=0&id=4c916d76&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4c916d76\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-70941f9e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"send-sms__field\" }\nconst _hoisted_2 = { class: \"send-sms__field\" }\nconst _hoisted_3 = { class: \"send-sms__field\" }\nconst _hoisted_4 = { class: \"send-sms__alert\" }\n\nimport useSendMessage from \"@/composables/useSendMessage\";\r\nimport { countryCodes } from \"@/config/countries\";\r\nimport { format } from \"@/helpers/phoneHelper\";\r\nimport { integer, required } from \"@/helpers/validators\";\r\nimport { MessageType } from \"@/models/Enums\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { reactive, ref } from \"vue\";\r\nimport BaseButton from \"~/components/base/BaseButton.vue\";\r\nimport BaseInput from \"~/components/base/BaseInput.vue\";\r\nimport BaseAlert from \"./base/BaseAlert.vue\";\r\nimport BaseDropdown from \"./base/BaseDropdown.vue\";\r\n\r\ninterface Props {\r\n phoneCode?: string;\r\n phoneNumber?: string;\r\n type?: MessageType;\r\n bookingNumber: number;\r\n accessToken: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SendSMS',\n props: {\n phoneCode: {},\n phoneNumber: {},\n type: { default: MessageType.BookingInfo },\n bookingNumber: {},\n accessToken: {}\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst state = reactive({\r\n phoneCode: props.phoneCode ?? \"\",\r\n phoneNumber: props.phoneNumber ?? \"\",\r\n});\r\n\r\nconst rules = {\r\n phoneCode: { required },\r\n phoneNumber: { required, integer },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst { sendSms, isLoading } = useSendMessage();\r\nconst success = ref(false);\r\nconst error = ref(\"\");\r\n\r\nconst submitForm = async () => {\r\n const isFormCorrect = await v$.value.$validate();\r\n if (!isFormCorrect) return;\r\n error.value = \"\";\r\n success.value = false;\r\n\r\n const req = {\r\n bookingNumber: props.bookingNumber,\r\n accessToken: props.accessToken,\r\n type: MessageType[props.type],\r\n phoneNumber: format(state.phoneNumber as string, state.phoneCode as string),\r\n message: \"\",\r\n };\r\n\r\n sendSms(req)\r\n .then(() => {\r\n success.value = true;\r\n })\r\n .catch((err: Error) => {\r\n error.value = err.message;\r\n });\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"form\", {\n class: \"send-sms\",\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(BaseDropdown, {\n label: _ctx.$t('fields.phoneCode.label'),\n name: \"phoneCode\",\n hasError: _unref(v$).phoneCode.$error,\n errors: _unref(v$).phoneCode.$errors,\n modelValue: _unref(v$).phoneCode.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).phoneCode.$model) = $event)),\n options: _unref(countryCodes),\n searchable: \"\"\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"modelValue\", \"options\"])\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.mobilePhone.label'),\n type: \"tel\",\n name: \"phone\",\n hasError: _unref(v$).phoneNumber.$error,\n errors: _unref(v$).phoneNumber.$errors,\n modelValue: _unref(v$).phoneNumber.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).phoneNumber.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(BaseButton, { loading: _unref(isLoading) }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.send\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ], 32),\n _createElementVNode(\"div\", _hoisted_4, [\n (error.value)\n ? (_openBlock(), _createBlock(BaseAlert, {\n key: 0,\n type: \"danger\",\n message: error.value,\n noMargin: \"\"\n }, null, 8, [\"message\"]))\n : (success.value)\n ? (_openBlock(), _createBlock(BaseAlert, {\n key: 1,\n type: \"success\",\n message: _ctx.$t('booking.thankYou.sms.success'),\n noMargin: \"\"\n }, null, 8, [\"message\"]))\n : _createCommentVNode(\"\", true)\n ])\n ], 64))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./SendSMS.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./SendSMS.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./SendSMS.vue?vue&type=style&index=0&id=70941f9e&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-70941f9e\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BaseQuantity = _resolveComponent(\"BaseQuantity\")!\n\n return (_openBlock(), _createBlock(_component_BaseQuantity, {\n id: Math.random.toString(),\n name: Math.random.toString(),\n minValue: 0,\n maxValue: 17,\n modelValue: _ctx.childAge,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.childAge) = $event))\n }, null, 8, [\"id\", \"name\", \"modelValue\"]))\n}","\r\n\r\n\r\n\r\n","import { render } from \"./AccommodationSearchChildAge.vue?vue&type=template&id=e19888da&ts=true\"\nimport script from \"./AccommodationSearchChildAge.vue?vue&type=script&lang=ts\"\nexport * from \"./AccommodationSearchChildAge.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, normalizeClass as _normalizeClass, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-86cbc770\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"room\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { class: \"room__row\" }\nconst _hoisted_4 = { class: \"room__row\" }\nconst _hoisted_5 = { class: \"age-container\" }\n\nimport BaseQuantity from \"@/components/base/BaseQuantity.vue\";\r\nimport { repeat } from \"@/composables/useUtilities\";\r\nimport { Room } from \"@/models/front/rooms/Room\";\r\nimport { computed, ref } from \"vue\";\r\nimport BaseButton from \"../base/BaseButton.vue\";\r\nimport ChildAge from \"../onebasket/accommodation-search/AccommodationSearchChildAge.vue\";\r\n\r\ninterface Props {\r\n id: string;\r\n index: number;\r\n deletable: boolean;\r\n room: Room;\r\n allowMultipleRooms: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'GuestSelectRow',\n props: {\n id: {},\n index: {},\n deletable: { type: Boolean },\n room: {},\n allowMultipleRooms: { type: Boolean }\n },\n emits: [\"update:room\", \"onRemove\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\nconst emit = __emit;\r\n\r\nconst childrenAges = ref(props.room.childrenAges ?? []);\r\n\r\nconst updateAges = () => {\r\n emit(\"update:room\", { ...props.room, childrenAges: childrenAges.value });\r\n};\r\n\r\nconst adults = computed({\r\n get(): number {\r\n return props.room.adults;\r\n },\r\n set(value: number) {\r\n emit(\"update:room\", { ...props.room, adults: value });\r\n },\r\n});\r\n\r\nconst handleAge = (a: number, b: number) => {\r\n childrenAges.value[b] = a;\r\n\r\n updateAges();\r\n};\r\n\r\nconst children = computed({\r\n get(): number {\r\n return props.room.childrenAges?.length ?? 0;\r\n },\r\n set(value: number) {\r\n if (childrenAges.value.length > value) {\r\n childrenAges.value.splice(value);\r\n } else if (childrenAges.value.length < value) {\r\n childrenAges.value.push(...repeat(value - childrenAges.value.length, 10));\r\n }\r\n\r\n updateAges();\r\n },\r\n});\r\n\r\nconst remove = () => {\r\n emit(\"onRemove\", props.id);\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"room__row\", { oneRoom: !_ctx.allowMultipleRooms }])\n }, [\n (_ctx.allowMultipleRooms)\n ? (_openBlock(), _createElementBlock(\"label\", _hoisted_2, [\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.$t(\"onebasket.accommodation.search.rooms.room\")) + \" \" + _toDisplayString(_ctx.index), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.deletable)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 1,\n type: \"button\",\n class: \"btn--transparent\",\n onClick: remove\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"onebasket.accommodation.search.rooms.remove\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ], 2),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"label\", null, _toDisplayString(_ctx.$t(\"onebasket.accommodation.search.rooms.adults\")), 1),\n _createVNode(BaseQuantity, {\n id: 'room1',\n name: 'room1',\n minValue: 1,\n maxValue: 9,\n modelValue: adults.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((adults).value = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"label\", null, _toDisplayString(_ctx.$t(\"onebasket.accommodation.search.rooms.children\")), 1),\n _createVNode(BaseQuantity, {\n id: 'room2',\n name: 'room2',\n minValue: 0,\n maxValue: 9,\n modelValue: children.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((children).value = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(childrenAges.value, (i, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"room__row\",\n key: index\n }, [\n _createElementVNode(\"label\", null, _toDisplayString(_ctx.$t(\"onebasket.accommodation.search.rooms.age\")) + \" \" + _toDisplayString(_ctx.$t(\"onebasket.accommodation.search.rooms.child\")) + \" \" + _toDisplayString(index + 1), 1),\n _createVNode(ChildAge, {\n id: index,\n onAgeChanged: handleAge,\n age: i\n }, null, 8, [\"id\", \"age\"])\n ]))\n }), 128))\n ])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./GuestSelectRow.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./GuestSelectRow.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./GuestSelectRow.vue?vue&type=style&index=0&id=86cbc770&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-86cbc770\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-d3a7f042\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"sr-only\" }\n\nimport SvgIcon from \"./SvgIcon.vue\";\r\n\r\ninterface Props {\r\n message: string;\r\n type: string;\r\n closable?: boolean;\r\n id?: string;\r\n noMargin?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseAlert',\n props: {\n message: {},\n type: {},\n closable: { type: Boolean },\n id: {},\n noMargin: { type: Boolean }\n },\n emits: [\"close\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\nconst emit = __emit;\r\nconst close = () => emit(\"close\", props.id);\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"alert\", [`alert--${_ctx.type}`, { 'alert--no-margin': _ctx.noMargin }]]),\n role: \"alert\"\n }, [\n _createVNode(SvgIcon, {\n icon: `alert/${_ctx.type}`\n }, null, 8, [\"icon\"]),\n _createElementVNode(\"span\", _hoisted_1, _toDisplayString(_ctx.type), 1),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.message), 1)\n ]),\n (_ctx.closable)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n onClick: close,\n class: \"close\"\n }, \"✕\"))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseAlert.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseAlert.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BaseAlert.vue?vue&type=style&index=0&id=d3a7f042&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-d3a7f042\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, vShow as _vShow, createVNode as _createVNode, withDirectives as _withDirectives, normalizeClass as _normalizeClass, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7be092e3\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"type\", \"disabled\"]\nconst _hoisted_2 = { class: \"btn__content\" }\n\nimport Spinner from \"~/components/base/BaseSpinner.vue\";\r\nimport SvgIcon from \"./SvgIcon.vue\";\r\n\r\ninterface Props {\r\n loading?: boolean;\r\n disabled?: boolean;\r\n type?: \"button\" | \"submit\" | \"reset\";\r\n icon?: string;\r\n iconSize?: \"sm\" | \"md\" | \"auto\";\r\n iconPosition?: \"left\" | \"right\";\r\n hasError?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseButton',\n props: {\n loading: { type: Boolean },\n disabled: { type: Boolean },\n type: { default: \"submit\" },\n icon: {},\n iconSize: { default: \"md\" },\n iconPosition: { default: \"right\" },\n hasError: { type: Boolean }\n },\n setup(__props: any) {\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n type: _ctx.type,\n class: _normalizeClass([\"btn\", [\r\n { loading: _ctx.loading },\r\n { disabled: _ctx.disabled },\r\n { 'btn--icon-sm': _ctx.iconSize === 'sm' },\r\n { 'btn--icon-md': _ctx.iconSize === 'md' },\r\n { 'btn--icon-left': _ctx.iconPosition === 'left' },\r\n { 'btn--icon-right': _ctx.iconPosition === 'right' },\r\n { error: _ctx.hasError },\r\n ]]),\n disabled: _ctx.loading || _ctx.disabled\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\"),\n (_ctx.icon)\n ? (_openBlock(), _createBlock(SvgIcon, {\n key: 0,\n icon: _ctx.icon\n }, null, 8, [\"icon\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _withDirectives(_createVNode(Spinner, null, null, 512), [\n [_vShow, _ctx.loading]\n ])\n ], 10, _hoisted_1))\n}\n}\n\n})","import script from \"./BaseButton.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseButton.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BaseButton.vue?vue&type=style&index=0&id=7be092e3&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7be092e3\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { vModelCheckbox as _vModelCheckbox, createElementVNode as _createElementVNode, withDirectives as _withDirectives, renderSlot as _renderSlot, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5a128039\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"id\", \"name\", \"disabled\"]\nconst _hoisted_2 = [\"for\"]\n\nimport { computed } from \"vue\";\r\n\r\ninterface Props {\r\n id: string;\r\n name?: string;\r\n modelValue?: any;\r\n hasError?: boolean;\r\n label?: string;\r\n disabled?: boolean;\r\n valid?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseCheckbox',\n props: {\n id: {},\n name: {},\n modelValue: {},\n hasError: { type: Boolean },\n label: {},\n disabled: { type: Boolean },\n valid: { type: Boolean }\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst inputValue = computed({\r\n get(): any {\r\n return props.modelValue ?? false;\r\n },\r\n set(value: any) {\r\n emit(\"update:modelValue\", value);\r\n },\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"checkbox\", { 'checkbox--error': _ctx.hasError, disabled: _ctx.disabled, 'checkbox--valid': _ctx.valid }])\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n id: _ctx.id,\n name: _ctx.name,\n disabled: _ctx.disabled,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((inputValue).value = $event)),\n tabindex: \"0\"\n }, null, 8, _hoisted_1), [\n [_vModelCheckbox, inputValue.value]\n ]),\n _createElementVNode(\"label\", { for: _ctx.id }, [\n _renderSlot(_ctx.$slots, \"default\", { label: _ctx.label }, () => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.label), 1)\n ])\n ], 8, _hoisted_2)\n ], 2))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseCheckbox.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseCheckbox.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BaseCheckbox.vue?vue&type=style&index=0&id=5a128039&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5a128039\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BaseDropdown = _resolveComponent(\"BaseDropdown\")!\n\n return (_openBlock(), _createBlock(_component_BaseDropdown, {\n label: _ctx.label,\n options: _ctx.countries,\n name: _ctx.name,\n hasError: _ctx.hasError,\n errors: _ctx.errors,\n disabled: _ctx.disabled,\n modelValue: _ctx.inputValue,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.inputValue) = $event)),\n searchable: true,\n autocomplete: \"off\"\n }, null, 8, [\"label\", \"options\", \"name\", \"hasError\", \"errors\", \"disabled\", \"modelValue\"]))\n}","\r\n\r\n\r\n\r\n\r\n","import { render } from \"./BaseCountrySelect.vue?vue&type=template&id=3c6db852&ts=true\"\nimport script from \"./BaseCountrySelect.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseCountrySelect.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, normalizeClass as _normalizeClass, withCtx as _withCtx, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f2a8c426\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"input-wrapper\" }\nconst _hoisted_2 = { class: \"caret\" }\nconst _hoisted_3 = { key: 0 }\n\nimport { DropdownOption } from \"@/models/DropdownOption\";\r\nimport Multiselect from \"@vueform/multiselect\";\r\nimport \"@vueform/multiselect/themes/default.css\";\r\nimport { computed, ref } from \"vue\";\r\nimport SvgIcon from \"./SvgIcon.vue\";\r\n\r\ninterface Props {\r\n name?: string;\r\n modelValue: any;\r\n options?: Readonly;\r\n hasError?: boolean;\r\n errors?: any[];\r\n label?: string;\r\n disabled?: boolean;\r\n searchable?: boolean;\r\n canClear?: boolean;\r\n placeholder?: string;\r\n mode?: string;\r\n closeOnSelect?: boolean;\r\n loading?: boolean;\r\n hideSelected?: boolean;\r\n multipleLabelMaxLength?: number;\r\n canDeselect?: boolean;\r\n createOption?: boolean;\r\n allowAbsent?: boolean;\r\n max?: number;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseDropdown',\n props: {\n name: {},\n modelValue: {},\n options: {},\n hasError: { type: Boolean },\n errors: {},\n label: {},\n disabled: { type: Boolean },\n searchable: { type: Boolean },\n canClear: { type: Boolean },\n placeholder: {},\n mode: { default: \"single\" },\n closeOnSelect: { type: Boolean, default: true },\n loading: { type: Boolean },\n hideSelected: { type: Boolean },\n multipleLabelMaxLength: { default: 200 },\n canDeselect: { type: Boolean },\n createOption: { type: Boolean },\n allowAbsent: { type: Boolean },\n max: {}\n },\n emits: [\"update:modelValue\", \"select\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst inputValue = computed({\r\n get(): any {\r\n return props.modelValue;\r\n },\r\n set(value: any) {\r\n emit(\"update:modelValue\", value);\r\n },\r\n});\r\n\r\nconst active = ref(false);\r\nconst onFocus = () => {\r\n active.value = true;\r\n};\r\n\r\nconst onBlur = () => {\r\n active.value = false;\r\n};\r\n\r\nconst isActive = computed(() => {\r\n return (inputValue.value ?? \"\").toString().length > 0 || active.value;\r\n});\r\n\r\nconst getMultipleLabel = () => {\r\n const label = props.options\r\n ?.filter((o) => (props.modelValue as any).includes(o.value))\r\n .map((o) => o.label)\r\n .join(\", \");\r\n\r\n if ((label?.length ?? 0) > props.multipleLabelMaxLength) {\r\n return label?.substring(0, props.multipleLabelMaxLength) + \"...\";\r\n }\r\n return label;\r\n};\r\n\r\nconst onSelect = (e: any) => {\r\n active.value = true;\r\n emit(\"select\", e);\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"input-field\", { active: isActive.value, error: _ctx.hasError }])\n }, [\n _createVNode(_unref(Multiselect), {\n onOpen: onFocus,\n onClose: onBlur,\n modelValue: inputValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((inputValue).value = $event)),\n options: _ctx.options,\n canDeselect: _ctx.canDeselect,\n canClear: _ctx.canClear,\n disabled: _ctx.disabled,\n searchable: _ctx.searchable,\n class: _normalizeClass({ disabled: _ctx.disabled, 'has-label': _ctx.label }),\n multipleLabel: getMultipleLabel,\n placeholder: _ctx.placeholder,\n mode: _ctx.mode,\n nativeSupport: \"\",\n name: _ctx.name,\n closeOnSelect: _ctx.closeOnSelect,\n hideSelected: _ctx.hideSelected,\n onSelect: onSelect,\n createOption: _ctx.createOption,\n allowAbsent: _ctx.allowAbsent,\n max: _ctx.max\n }, {\n caret: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_2, [\n _createVNode(SvgIcon, { icon: \"chevron/chevron-down\" })\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"options\", \"canDeselect\", \"canClear\", \"disabled\", \"searchable\", \"class\", \"placeholder\", \"mode\", \"name\", \"closeOnSelect\", \"hideSelected\", \"createOption\", \"allowAbsent\", \"max\"]),\n (_ctx.label)\n ? (_openBlock(), _createElementBlock(\"label\", _hoisted_3, _toDisplayString(_ctx.label), 1))\n : _createCommentVNode(\"\", true)\n ], 2)\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseDropdown.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseDropdown.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BaseDropdown.vue?vue&type=style&index=0&id=f2a8c426&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f2a8c426\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4b81bce4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"expansion-panel\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"default-header\"\n}\nconst _hoisted_3 = {\n key: 0,\n class: \"default-header__icon\"\n}\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"svg\", {\n xmlns: \"http://www.w3.org/2000/svg\",\n preserveAspectRatio: \"none\",\n viewBox: \"0 0 100 100\",\n class: \"diagonal\"\n}, [\n /*#__PURE__*/_createElementVNode(\"rect\", {\n width: \"100\",\n height: \"100\",\n style: {\"fill\":\"#f3f3f3\"}\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M 100 0 L 100 100 L 5 100 L 100 0 Z\",\n style: {\"fill\":\"#ffffff\"}\n }),\n /*#__PURE__*/_createElementVNode(\"path\", {\n d: \"M 0 -100 L 0 0 L -95 0 L 0 -100 Z\",\n style: {\"fill\":\"#ffffff\"},\n transform: \"matrix(-1, 0, 0, -1, 0, 0)\"\n })\n], -1))\nconst _hoisted_5 = {\n key: 0,\n class: \"notification\"\n}\nconst _hoisted_6 = { class: \"default-header__text\" }\nconst _hoisted_7 = [\"innerHTML\"]\nconst _hoisted_8 = {\n key: 0,\n class: \"default-header__badge\"\n}\nconst _hoisted_9 = [\"innerHTML\"]\nconst _hoisted_10 = { class: \"default-header__buttons\" }\nconst _hoisted_11 = {\n key: 0,\n class: \"content\"\n}\n\nimport BaseTransitionExpand from \"@/components/base/BaseTransitionExpand.vue\";\r\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\nimport { watch } from \"vue\";\r\nimport { computed } from \"vue\";\r\nimport { ref } from \"vue\";\r\n\r\ninterface Props {\r\n title?: string;\r\n subtitle?: string;\r\n icon?: string;\r\n notifications?: number;\r\n badge?: string;\r\n disabled?: boolean;\r\n isOpen?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseExpansionPanel',\n props: {\n title: {},\n subtitle: {},\n icon: {},\n notifications: {},\n badge: {},\n disabled: { type: Boolean },\n isOpen: { type: Boolean }\n },\n emits: [\"toggled\", \"update:isOpen\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst internalValue = ref(props.isOpen ?? false);\r\n\r\nconst emit = __emit;\r\n\r\nconst toggle = () => {\r\n isExpanded.value = !isExpanded.value;\r\n};\r\n\r\nconst isExpanded = computed({\r\n get() {\r\n return internalValue.value;\r\n },\r\n set(val: boolean) {\r\n internalValue.value = val;\r\n emit(\"update:isOpen\", val);\r\n emit(\"toggled\", val);\r\n },\r\n});\r\n\r\nwatch(\r\n () => props.isOpen,\r\n (current) => {\r\n if (typeof current !== \"undefined\") {\r\n internalValue.value = current;\r\n }\r\n }\r\n);\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(!!_ctx.$slots.default ? 'button' : 'div'), {\n onClick: toggle,\n class: _normalizeClass([\"expansion-panel__header\", {\r\n compact: !_ctx.icon && !_ctx.$slots['header'],\r\n 'has-button': !!_ctx.$slots.buttons,\r\n active: _ctx.$slots.default && isExpanded.value,\r\n }]),\n disabled: _ctx.disabled\n }, {\n default: _withCtx(() => [\n (!_ctx.$slots['header'])\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (_ctx.icon)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createVNode(SvgIcon, { icon: _ctx.icon }, null, 8, [\"icon\"]),\n _hoisted_4,\n (_ctx.notifications)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.notifications), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"h4\", null, [\n _createElementVNode(\"span\", { innerHTML: _ctx.title }, null, 8, _hoisted_7),\n (_ctx.badge)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(_ctx.badge), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"p\", { innerHTML: _ctx.subtitle }, null, 8, _hoisted_9)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _renderSlot(_ctx.$slots, \"buttons\"),\n (_ctx.$slots.default)\n ? (_openBlock(), _createElementBlock(\"i\", {\n key: 0,\n class: _normalizeClass([\"icon gg-chevron-right\", { active: _ctx.$slots.default && isExpanded.value }])\n }, null, 2))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"header\")\n ]),\n _: 3\n }, 8, [\"disabled\", \"class\"])),\n (_ctx.$slots.default)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createVNode(BaseTransitionExpand, { expanded: isExpanded.value }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 8, [\"expanded\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseExpansionPanel.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseExpansionPanel.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BaseExpansionPanel.vue?vue&type=style&index=0&id=4b81bce4&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4b81bce4\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_BaseDropdown = _resolveComponent(\"BaseDropdown\")!\n\n return (_openBlock(), _createBlock(_component_BaseDropdown, {\n label: _ctx.label,\n options: _ctx.genders,\n name: _ctx.name,\n hasError: _ctx.hasError,\n errors: _ctx.errors,\n modelValue: _ctx.inputValue,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.inputValue) = $event)),\n disabled: _ctx.disabled\n }, null, 8, [\"label\", \"options\", \"name\", \"hasError\", \"errors\", \"modelValue\", \"disabled\"]))\n}","\r\n\r\n\r\n\r\n\r\n","import i18n from \"./i18n\";\r\n\r\nexport const genders = [\r\n {\r\n label: i18n.global.t('genders.M'),\r\n value: \"M\"\r\n },\r\n {\r\n label: i18n.global.t('genders.F'),\r\n value: \"F\"\r\n },\r\n]","import { render } from \"./BaseGenderSelect.vue?vue&type=template&id=6dd69e9b&ts=true\"\nimport script from \"./BaseGenderSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseGenderSelect.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, vModelDynamic as _vModelDynamic, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, withDirectives as _withDirectives, createBlock as _createBlock, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6468ea1a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"input-wrapper\" }\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = [\"id\", \"name\", \"type\", \"disabled\", \"placeholder\", \"step\", \"autocomplete\", \"title\", \"tabindex\", \"data-maska\"]\nconst _hoisted_4 = [\"for\"]\n\nimport { computed, ref } from \"vue\";\r\nimport SvgIcon from \"./SvgIcon.vue\";\r\nimport uniqueId from \"lodash.uniqueid\";\r\nimport { vMaska } from \"maska\";\r\n\r\ninterface Props {\r\n id?: string,\r\n name?: string;\r\n modelValue?: string | number;\r\n hasError?: boolean;\r\n label?: string;\r\n disabled?: boolean;\r\n placeholder?: string;\r\n type?: string;\r\n step?: number;\r\n icon?: string;\r\n outerLabel?: string;\r\n autocomplete?: string;\r\n title?: string;\r\n tabindex?: string;\r\n mask?: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseInput',\n props: {\n id: {},\n name: {},\n modelValue: {},\n hasError: { type: Boolean },\n label: {},\n disabled: { type: Boolean },\n placeholder: {},\n type: { default: \"text\" },\n step: { default: 0.01 },\n icon: {},\n outerLabel: {},\n autocomplete: {},\n title: {},\n tabindex: {},\n mask: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst inputId = props.id ? props.id : `${props.name}-${uniqueId()}`;\r\n\r\nconst emit = __emit;\r\n\r\nconst inputValue = computed({\r\n get(): string | number {\r\n return props.modelValue ?? \"\";\r\n },\r\n set(value: string | number) {\r\n if (typeof value === \"number\") {\r\n value = +value.toFixed(2);\r\n }\r\n emit(\"update:modelValue\", value);\r\n },\r\n});\r\n\r\nconst active = ref(false);\r\nconst onFocus = () => {\r\n active.value = true;\r\n};\r\nconst onBlur = () => {\r\n active.value = false;\r\n};\r\n\r\nconst isActive = computed(() => {\r\n return inputValue.value.toString().length > 0 || !!props.placeholder || active.value;\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.outerLabel)\n ? (_openBlock(), _createElementBlock(\"label\", {\n key: 0,\n for: _unref(inputId)\n }, _toDisplayString(_ctx.outerLabel), 9, _hoisted_2))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"input-field\", { active: isActive.value || _ctx.type === 'date', error: _ctx.hasError }])\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n id: _unref(inputId),\n name: _ctx.name,\n onFocus: onFocus,\n onBlur: onBlur,\n type: _ctx.type,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((inputValue).value = $event)),\n disabled: _ctx.disabled,\n class: _normalizeClass({ disabled: _ctx.disabled, 'has-label': _ctx.label }),\n placeholder: _ctx.placeholder,\n step: _ctx.step,\n autocomplete: _ctx.autocomplete,\n title: _ctx.title,\n tabindex: _ctx.tabindex,\n \"data-maska\": _ctx.mask\n }, null, 42, _hoisted_3), [\n [_vModelDynamic, inputValue.value],\n [_unref(vMaska)]\n ]),\n (_ctx.label)\n ? (_openBlock(), _createElementBlock(\"label\", {\n key: 0,\n for: _unref(inputId),\n class: _normalizeClass({ disabled: _ctx.disabled })\n }, _toDisplayString(_ctx.label), 11, _hoisted_4))\n : _createCommentVNode(\"\", true),\n (_ctx.icon)\n ? (_openBlock(), _createBlock(SvgIcon, {\n key: 1,\n icon: _ctx.icon\n }, null, 8, [\"icon\"]))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\")\n ], 2)\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseInput.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseInput.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BaseInput.vue?vue&type=style&index=0&id=6468ea1a&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6468ea1a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveDynamicComponent as _resolveDynamicComponent, createElementBlock as _createElementBlock, renderSlot as _renderSlot, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, mergeProps as _mergeProps, withModifiers as _withModifiers, normalizeClass as _normalizeClass, withKeys as _withKeys, Transition as _Transition, Teleport as _Teleport, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-05ac0280\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 1 }\nconst _hoisted_2 = { key: 0 }\n\nimport { onKeyStroke } from \"@vueuse/core\";\r\nimport { computed } from \"vue\";\r\nimport BaseButton from \"./BaseButton.vue\";\r\nimport SvgIcon from \"./SvgIcon.vue\";\r\nimport { watch } from \"vue\";\r\nimport { ref } from \"vue\";\r\nimport { nextTick } from \"vue\";\r\n\r\ninterface Props {\r\n title?: string;\r\n icon?: string;\r\n subtitle?: string;\r\n modelValue: boolean;\r\n closable?: boolean;\r\n height?: number;\r\n maxWidth?: number;\r\n align?: string;\r\n headerLevel?: string;\r\n hideOverflow?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseLightbox',\n props: {\n title: { default: \"\" },\n icon: {},\n subtitle: { default: \"\" },\n modelValue: { type: Boolean },\n closable: { type: Boolean, default: true },\n height: {},\n maxWidth: { default: 800 },\n align: { default: \"center\" },\n headerLevel: { default: \"h2\" },\n hideOverflow: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst show = computed({\r\n get() {\r\n return props.modelValue;\r\n },\r\n set(value: boolean) {\r\n emit(\"update:modelValue\", value);\r\n },\r\n});\r\n\r\nconst close = () => {\r\n if (props.closable) {\r\n show.value = false;\r\n }\r\n};\r\n\r\nonKeyStroke(\"Escape\", (e) => {\r\n show.value = false;\r\n e.preventDefault();\r\n});\r\n\r\nconst closeBtnRef = ref();\r\n\r\nlet previousElement: unknown;\r\n\r\nwatch(show, (current) => {\r\n if (current && props.closable) {\r\n previousElement = document.activeElement;\r\n nextTick(() => {\r\n if (closeBtnRef.value) {\r\n closeBtnRef.value.$el.focus();\r\n }\r\n });\r\n } else if (previousElement) {\r\n (previousElement as HTMLElement).focus();\r\n }\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_Teleport, { to: \"body\" }, [\n _createVNode(_Transition, {\n name: \"fade\",\n mode: \"out-in\"\n }, {\n default: _withCtx(() => [\n (show.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n tabindex: \"0\",\n class: \"dialog-overlay\",\n onKeydown: _cache[2] || (_cache[2] = _withKeys(($event: any) => (close()), [\"esc\"]))\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"dialog-container\", { hideOverflow: _ctx.hideOverflow }]),\n onMousedown: _cache[1] || (_cache[1] = _withModifiers(($event: any) => (close()), [\"self\"]))\n }, [\n _createElementVNode(\"div\", _mergeProps({ class: \"dialog\" }, _ctx.$attrs, {\n style: `max-width: ${_ctx.maxWidth}px;`\n }), [\n _createElementVNode(\"header\", {\n style: _normalizeStyle(`text-align: ${_ctx.align};`)\n }, [\n (_ctx.closable)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n ref_key: \"closeBtnRef\",\n ref: closeBtnRef,\n class: \"close\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (show.value = !show.value))\n }, {\n default: _withCtx(() => [\n _createVNode(SvgIcon, { icon: 'booking/close-circle' })\n ]),\n _: 1\n }, 512))\n : _createCommentVNode(\"\", true),\n (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.headerLevel), null, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.title), 1)\n ]),\n _: 1\n })),\n (_ctx.subtitle)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_1, _toDisplayString(_ctx.subtitle), 1))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"header\")\n ], 4),\n _createElementVNode(\"div\", {\n class: \"dialog__body\",\n style: _normalizeStyle(_ctx.height ? `height: ${_ctx.height}px;` : '')\n }, [\n _renderSlot(_ctx.$slots, \"default\")\n ], 4),\n (_ctx.$slots.footer)\n ? (_openBlock(), _createElementBlock(\"footer\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"footer\")\n ]))\n : _createCommentVNode(\"\", true)\n ], 16)\n ], 34)\n ], 32))\n : _createCommentVNode(\"\", true)\n ]),\n _: 3\n })\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseLightbox.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseLightbox.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BaseLightbox.vue?vue&type=style&index=0&id=05ac0280&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-05ac0280\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-327f3328\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"messages\" }\n\nimport { computed } from \"vue\";\r\nimport { BaseMessageType } from \"@/models/Enums\";\r\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\n\r\ninterface Props {\r\n messages: any[];\r\n messageType?: BaseMessageType;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseMessages',\n props: {\n messages: {},\n messageType: { default: BaseMessageType.Error }\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst iconType = computed(() => {\r\n switch (props.messageType) {\r\n case BaseMessageType.Info:\r\n return \"info\";\r\n case BaseMessageType.Success:\r\n case BaseMessageType.Warning:\r\n case BaseMessageType.Error:\r\n default:\r\n return \"alert\";\r\n }\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.messages.filter((m) => !!m), (message) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n class: _normalizeClass([\"message\", 'message--' + _ctx.messageType.toString()]),\n key: message\n }, [\n _createVNode(SvgIcon, {\n icon: 'booking/' + iconType.value\n }, null, 8, [\"icon\"]),\n _createElementVNode(\"span\", null, _toDisplayString(message), 1)\n ], 2))\n }), 128))\n ])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseMessages.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseMessages.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BaseMessages.vue?vue&type=style&index=0&id=327f3328&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-327f3328\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0c10816a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"error\"\n}\n\ninterface Props {\r\n alignLeft?: boolean;\r\n hasError?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BasePanel',\n props: {\n alignLeft: { type: Boolean },\n hasError: { type: Boolean }\n },\n setup(__props: any) {\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"panel\", { 'align-left': _ctx.alignLeft, error: _ctx.hasError }])\n }, [\n (_ctx.hasError)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\")\n ], 2))\n}\n}\n\n})","import script from \"./BasePanel.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BasePanel.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BasePanel.vue?vue&type=style&index=0&id=0c10816a&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0c10816a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, normalizeClass as _normalizeClass, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e1b8a070\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"quantity-input\" }\n\nimport VueNumberInput from \"@chenfengyuan/vue-number-input\";\r\nimport { computed } from \"vue\";\r\n\r\ninterface Props {\r\n id: any;\r\n name?: string;\r\n modelValue: number;\r\n minValue?: number;\r\n maxValue?: number;\r\n disabled?: boolean;\r\n active?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseQuantity',\n props: {\n id: {},\n name: {},\n modelValue: {},\n minValue: {},\n maxValue: {},\n disabled: { type: Boolean },\n active: { type: Boolean }\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst inputValue = computed({\r\n get(): number {\r\n return props.modelValue ?? 0;\r\n },\r\n set(value: number) {\r\n emit(\"update:modelValue\", value);\r\n },\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_unref(VueNumberInput), {\n id: _ctx.id,\n name: _ctx.name,\n modelValue: inputValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((inputValue).value = $event)),\n disabled: _ctx.disabled,\n min: _ctx.minValue,\n max: _ctx.maxValue,\n controls: \"\",\n class: _normalizeClass({ active: _ctx.active })\n }, null, 8, [\"id\", \"name\", \"modelValue\", \"disabled\", \"min\", \"max\", \"class\"])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseQuantity.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseQuantity.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BaseQuantity.vue?vue&type=style&index=0&id=e1b8a070&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-e1b8a070\"]])\n\nexport default __exports__","import { vModelRadio as _vModelRadio, createElementVNode as _createElementVNode, withDirectives as _withDirectives, renderSlot as _renderSlot, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-8c37ae56\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"radio-button\" }\nconst _hoisted_2 = [\"id\", \"name\", \"disabled\", \"value\", \"step\"]\nconst _hoisted_3 = [\"for\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"radio\",\n id: _ctx.id,\n name: _ctx.name,\n disabled: _ctx.disabled,\n value: _ctx.value,\n step: _ctx.step,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.inputValue) = $event)),\n tabindex: \"0\"\n }, null, 8, _hoisted_2), [\n [_vModelRadio, _ctx.inputValue]\n ]),\n _createElementVNode(\"label\", { for: _ctx.id }, [\n _renderSlot(_ctx.$slots, \"default\", { label: _ctx.label }, () => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.label), 1)\n ], true)\n ], 8, _hoisted_3)\n ]))\n}","\r\n\r\n\r\n\r\n\r\n","import { render } from \"./BaseRadio.vue?vue&type=template&id=8c37ae56&scoped=true&ts=true\"\nimport script from \"./BaseRadio.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseRadio.vue?vue&type=script&lang=ts\"\n\nimport \"./BaseRadio.vue?vue&type=style&index=0&id=8c37ae56&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8c37ae56\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createBlock as _createBlock, renderSlot as _renderSlot, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-78998746\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"section\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"section__header\"\n}\nconst _hoisted_3 = [\"innerHTML\"]\nconst _hoisted_4 = { key: 1 }\nconst _hoisted_5 = {\n key: 0,\n class: \"default\"\n}\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = {\n key: 2,\n class: \"content\"\n}\n\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\n\r\ninterface Props {\r\n title?: string;\r\n subtitle?: string;\r\n subtitleTrigger?: string;\r\n infoIcon?: string;\r\n infoText?: string;\r\n infoClass?: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseSection',\n props: {\n title: {},\n subtitle: {},\n subtitleTrigger: {},\n infoIcon: {},\n infoText: {},\n infoClass: {}\n },\n emits: [\"event\"],\n setup(__props: any, { emit: __emit }) {\n\r\n\r\n\r\nconst emit = __emit;\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"section\", _hoisted_1, [\n (_ctx.title)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"h1\", null, _toDisplayString(_ctx.title), 1),\n (_ctx.subtitle && !_ctx.subtitleTrigger)\n ? (_openBlock(), _createElementBlock(\"p\", {\n key: 0,\n innerHTML: _ctx.subtitle\n }, null, 8, _hoisted_3))\n : (_ctx.subtitle && _ctx.subtitleTrigger)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_4, [\n _createTextVNode(_toDisplayString(_ctx.subtitle) + \" \", 1),\n _createElementVNode(\"span\", {\n onClick: _cache[0] || (_cache[0] = () => emit('event'))\n }, _toDisplayString(_ctx.subtitleTrigger), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.infoIcon || _ctx.infoText || _ctx.$slots['info'])\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: _normalizeClass([\"info\", _ctx.infoClass])\n }, [\n (!_ctx.$slots['info'])\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n (_ctx.infoIcon)\n ? (_openBlock(), _createBlock(SvgIcon, {\n key: 0,\n icon: _ctx.infoIcon\n }, null, 8, [\"icon\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.infoText)\n ? (_openBlock(), _createElementBlock(\"h2\", _hoisted_6, _toDisplayString(_ctx.infoText), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"info\")\n ], 2))\n : _createCommentVNode(\"\", true),\n (_ctx.$slots.default)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseSection.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseSection.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BaseSection.vue?vue&type=style&index=0&id=78998746&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-78998746\"]])\n\nexport default __exports__","import { normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-49ca8d7e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"spinner\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: \"bounce1\",\n style: _normalizeStyle(`background-color: ${_ctx.colorCode}; width: ${_ctx.size}px; height: ${_ctx.size}px;`)\n }, null, 4),\n _createElementVNode(\"div\", {\n class: \"bounce2\",\n style: _normalizeStyle(`background-color: ${_ctx.colorCode}; width: ${_ctx.size}px; height: ${_ctx.size}px;`)\n }, null, 4),\n _createElementVNode(\"div\", {\n class: \"bounce3\",\n style: _normalizeStyle(`background-color: ${_ctx.colorCode}; width: ${_ctx.size}px; height: ${_ctx.size}px;`)\n }, null, 4)\n ]))\n}","\r\n\r\n\r\n\r\n","import { render } from \"./BaseSpinner.vue?vue&type=template&id=49ca8d7e&scoped=true&ts=true\"\nimport script from \"./BaseSpinner.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseSpinner.vue?vue&type=script&lang=ts\"\n\nimport \"./BaseSpinner.vue?vue&type=style&index=0&id=49ca8d7e&scoped=true&lang=css\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-49ca8d7e\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, vModelText as _vModelText, normalizeClass as _normalizeClass, withDirectives as _withDirectives, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-264be1f2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"for\"]\nconst _hoisted_2 = [\"name\", \"disabled\", \"placeholder\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"field__container\", { active: _ctx.active }])\n }, [\n _createElementVNode(\"label\", {\n class: \"field__label\",\n for: _ctx.name\n }, _toDisplayString(_ctx.label), 9, _hoisted_1),\n _withDirectives(_createElementVNode(\"textarea\", {\n name: _ctx.name,\n onFocus: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_ctx.onFocus && _ctx.onFocus(...args))),\n onBlur: _cache[1] || (_cache[1] = \n//@ts-ignore\n(...args) => (_ctx.onBlur && _ctx.onBlur(...args))),\n class: _normalizeClass([\"field__input\", { 'field__input--error': _ctx.hasError, disabled: _ctx.disabled, 'field__input--valid': _ctx.valid }]),\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.inputValue) = $event)),\n disabled: _ctx.disabled,\n placeholder: _ctx.placeholder\n }, null, 42, _hoisted_2), [\n [_vModelText, _ctx.inputValue]\n ]),\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ], 2))\n}","\r\n\r\n\r\n\r\n\r\n","import { render } from \"./BaseTextarea.vue?vue&type=template&id=264be1f2&scoped=true&ts=true\"\nimport script from \"./BaseTextarea.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseTextarea.vue?vue&type=script&lang=ts\"\n\nimport \"./BaseTextarea.vue?vue&type=style&index=0&id=264be1f2&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-264be1f2\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { vModelCheckbox as _vModelCheckbox, createElementVNode as _createElementVNode, withDirectives as _withDirectives, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2a14ddee\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"for\"]\nconst _hoisted_2 = [\"name\", \"id\"]\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"toggle-switch__slider\" }, null, -1))\nconst _hoisted_4 = { class: \"toggle-switch__label\" }\n\nimport { computed } from \"vue\";\r\n\r\ninterface Props {\r\n id?: string;\r\n label?: string;\r\n modelValue: boolean;\r\n name?: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseToggleSwitch',\n props: {\n id: {},\n label: {},\n modelValue: { type: Boolean },\n name: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst inputValue = computed({\r\n get(): boolean {\r\n return props.modelValue ?? false;\r\n },\r\n set(value: boolean) {\r\n emit(\"update:modelValue\", value);\r\n },\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"label\", {\n for: _ctx.id,\n class: \"toggle-switch\"\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n name: _ctx.name,\n id: _ctx.id,\n type: \"checkbox\",\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((inputValue).value = $event))\n }, null, 8, _hoisted_2), [\n [_vModelCheckbox, inputValue.value]\n ]),\n _hoisted_3,\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(_ctx.label), 1)\n ], 8, _hoisted_1))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseToggleSwitch.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BaseToggleSwitch.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./BaseToggleSwitch.vue?vue&type=style&index=0&id=2a14ddee&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2a14ddee\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = {\n key: 0,\n class: \"transition-expand\"\n}\n\nimport TransitionExpand from \"@/components/expand/TransitionExpand.vue\";\r\n\r\ninterface Props {\r\n expanded: Boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseTransitionExpand',\n props: {\n expanded: {}\n },\n setup(__props: any) {\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_ctx.expanded)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","import script from \"./BaseTransitionExpand.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseTransitionExpand.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","export const viewBoxes: Record = {\r\n\t\"booking/360\": \"0 0 100 35\",\r\n\t\"booking/alert-outline\": \"0 0 100 100\",\r\n\t\"booking/alert\": \"0 0 100 100\",\r\n\t\"booking/arrows-round-trip\": \"0 0 100 29\",\r\n\t\"booking/arrows-single-trip\": \"0 0 100 29\",\r\n\t\"booking/avatar\": \"0 0 100 92\",\r\n\t\"booking/avatars\": \"0 0 100 57\",\r\n\t\"booking/bed\": \"0 0 100 62\",\r\n\t\"booking/booking\": \"0 0 100 119\",\r\n\t\"booking/bus\": \"0 0 100 124\",\r\n\t\"booking/calendar\": \"0 0 100 88\",\r\n\t\"booking/car-full\": \"0 0 100 100\",\r\n\t\"booking/car\": \"0 0 100 91\",\r\n\t\"booking/card\": \"0 0 100 60\",\r\n\t\"booking/close-circle\": \"0 0 100 100\",\r\n\t\"booking/close\": \"0 0 100 100\",\r\n\t\"booking/conference\": \"0 0 100 60\",\r\n\t\"booking/daycabin\": \"0 0 100 70\",\r\n\t\"booking/delete\": \"0 0 100 126\",\r\n\t\"booking/details\": \"0 0 100 120\",\r\n\t\"booking/edit\": \"0 0 100 92\",\r\n\t\"booking/ferry\": \"0 0 100 38\",\r\n\t\"booking/food\": \"0 0 100 170\",\r\n\t\"booking/info\": \"0 0 100 100\",\r\n\t\"booking/link\": \"0 0 100 100\",\r\n\t\"booking/logout\": \"0 0 100 104\",\r\n\t\"booking/lounge-chair\": \"0 0 100 126\",\r\n\t\"booking/person-full\": \"0 0 100 104\",\r\n\t\"booking/person\": \"0 0 100 347\",\r\n\t\"booking/pet\": \"0 0 100 90\",\r\n\t\"booking/point\": \"0 0 100 136\",\r\n\t\"booking/search\": \"0 0 100 103\",\r\n\t\"booking/settings\": \"0 0 100 87\",\r\n\t\"booking/shift\": \"0 0 100 101\",\r\n\t\"booking/ticket-outline\": \"0 0 100 100\",\r\n\t\"booking/ticket\": \"0 0 100 100\",\r\n\t\"booking/travellers\": \"0 0 100 108\",\r\n\t\"booking/trustly\": \"0 0 100 21\",\r\n\t\"chevron/chevron-down\": \"0 0 100 61\",\r\n};\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-14b6a0be\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"viewBox\", \"height\", \"width\"]\nconst _hoisted_2 = [\"href\"]\n\nimport { viewBoxes } from \"@/config/viewBoxes\";\r\n\r\ninterface Props {\r\n icon: string;\r\n spin?: boolean;\r\n height?: string;\r\n width?: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SvgIcon',\n props: {\n icon: {},\n spin: { type: Boolean },\n height: {},\n width: {}\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst viewBox = viewBoxes[props.icon];\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"svg\", {\n class: _normalizeClass([\"icon\", { 'icon-spin': _ctx.spin, 'icon-viewbox': _unref(viewBox) }]),\n viewBox: _unref(viewBox),\n height: _ctx.height,\n width: _ctx.width\n }, [\n _createElementVNode(\"use\", {\n href: `#${_ctx.icon}`\n }, null, 8, _hoisted_2)\n ], 10, _hoisted_1))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./SvgIcon.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SvgIcon.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./SvgIcon.vue?vue&type=style&index=0&id=14b6a0be&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-14b6a0be\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, vShow as _vShow, withDirectives as _withDirectives, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"basket__transition-expand\" }\n\nimport TransitionExpand from \"@/components/expand/TransitionExpand.vue\";\r\n\r\ninterface Props {\r\n expanded: Boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BasketTransitionExpand',\n props: {\n expanded: {}\n },\n setup(__props: any) {\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return _withDirectives((_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\")\n ], 512)), [\n [_vShow, _ctx.expanded]\n ])\n}\n}\n\n})","import script from \"./BasketTransitionExpand.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BasketTransitionExpand.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, createBlock as _createBlock, unref as _unref, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, withCtx as _withCtx, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-24c730de\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"basket__summary\" }\nconst _hoisted_3 = {\n key: 1,\n class: \"total\"\n}\nconst _hoisted_4 = { class: \"total-price\" }\nconst _hoisted_5 = { class: \"basket__content\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"product-code\"\n}\nconst _hoisted_7 = {\n key: 1,\n class: \"basket__total\"\n}\nconst _hoisted_8 = { key: 0 }\nconst _hoisted_9 = { key: 0 }\nconst _hoisted_10 = { key: 1 }\nconst _hoisted_11 = { key: 1 }\nconst _hoisted_12 = { key: 2 }\n\nimport BasePanel from \"@/components/base/BasePanel.vue\";\r\nimport BaseSpinner from \"@/components/base/BaseSpinner.vue\";\r\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\nimport BasketGroup from \"@/components/basket/BasketGroup.vue\";\r\nimport BasketTransitionExpand from \"@/components/basket/BasketTransitionExpand.vue\";\r\nimport { formatPrice } from \"@/helpers/priceHelpers\";\r\nimport { Direction } from \"@/models/Enums\";\r\nimport { openBookingSummaryKey } from \"@/models/Symbols/BookingSummary\";\r\nimport { BasketGroupType, BasketResource, BasketSection } from \"@/models/front/basket/BasketGroup\";\r\nimport { useBookingStore } from \"@/store/booking\";\r\nimport { usePassengerStore } from \"@/store/passenger\";\r\nimport { useVehicleStore } from \"@/store/vehicle\";\r\nimport { useEventBus } from \"@vueuse/core\";\r\nimport { computed, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\n\r\ninterface Props {\r\n sections?: BasketSection[];\r\n isFetching: boolean;\r\n leftToPay?: number;\r\n paid?: number;\r\n total?: number;\r\n amd?: number;\r\n productCode?: string;\r\n isSticky?: boolean;\r\n isCheckout?: boolean;\r\n displayEmptySections?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Basket',\n props: {\n sections: {},\n isFetching: { type: Boolean },\n leftToPay: {},\n paid: {},\n total: {},\n amd: {},\n productCode: {},\n isSticky: { type: Boolean },\n isCheckout: { type: Boolean },\n displayEmptySections: { type: Boolean }\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst isExpanded = ref(false);\r\n\r\nconst eventBus = useEventBus(openBookingSummaryKey);\r\n\r\neventBus.on((e) => {\r\n isExpanded.value = e;\r\n});\r\n\r\nconst totalDiscount = computed(() => {\r\n return props.sections?.reduce((sum, section) => sum + (section.discount ?? 0), 0) ?? 0;\r\n});\r\n\r\nconst bookingStore = useBookingStore();\r\nconst passengerStore = usePassengerStore();\r\nconst vehicleStore = useVehicleStore();\r\nconst { t } = useI18n();\r\n\r\nconst bookingNumber = computed(() => bookingStore.getBookingNumber);\r\n\r\nconst isAmendment = computed(() => bookingStore.getBooking.isAmendment);\r\n\r\nconst getEmptySection = (d: Direction): BasketSection => {\r\n const passengers = !bookingStore.getDifferentDetailsReturn\r\n ? passengerStore.getPassengers(Direction.Outward)\r\n : passengerStore.getPassengers(d);\r\n\r\n const vehicle = !bookingStore.getDifferentDetailsReturn ? vehicleStore.getVehicle(Direction.Outward) : vehicleStore.getVehicle(d);\r\n\r\n const basketVehicle: BasketResource[] = [];\r\n if (vehicle.code && vehicle.amount > 0) {\r\n const label = vehicle.amount > 1 ? `${vehicle.amount} ` + t(`resources.${vehicle.code}.label`) : t(`resources.${vehicle.code}.label`);\r\n\r\n basketVehicle.push({\r\n name: label,\r\n description: \"-\",\r\n amount: vehicle.amount,\r\n });\r\n }\r\n\r\n return {\r\n route: bookingStore.getRoute(d),\r\n departureDateTime: bookingStore.getDate(d),\r\n flexibility: {\r\n name: \"-\",\r\n description: \"-\",\r\n amount: 1,\r\n },\r\n passengers: passengers.map((p) => ({\r\n name: t(`passengerType.${p.type}`),\r\n description: \"-\",\r\n amount: 1,\r\n })),\r\n vehicles: basketVehicle,\r\n food: [],\r\n other: [],\r\n type: BasketGroupType.Ferry,\r\n };\r\n};\r\n\r\n// Add outward/return if we do not have it from the API yet\r\nconst combinedSections = computed(() => {\r\n // create a shallow copy of \"props.sections\" since we cannot push to it otherwise\r\n const sections: BasketSection[] = [...(props.sections ?? [])];\r\n\r\n if (!props.displayEmptySections) return sections;\r\n\r\n const trips = bookingStore.getTrips;\r\n\r\n trips.forEach((d) => {\r\n if (sections.findIndex((s) => s.route === bookingStore.getRoute(d)) < 0) {\r\n const emptySection = getEmptySection(d);\r\n sections.push(emptySection);\r\n }\r\n });\r\n\r\n let filteredSections = sections;\r\n\r\n if (sections.filter((s) => s.type === BasketGroupType.Ferry).length > 2) {\r\n const routes = trips.map((t) => bookingStore.getRoute(t));\r\n filteredSections = sections.filter((s) => routes.includes(s.route));\r\n }\r\n\r\n return filteredSections.sort((a, b) => {\r\n return (a.departureDateTime?.getTime() ?? 0) - (b.departureDateTime?.getTime() ?? 0);\r\n });\r\n});\r\n\r\nconst price = computed(() => {\r\n return combinedSections.value.reduce((sum, curr) => sum + (curr.price ?? 0), 0) + (props.amd ?? 0);\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"basket\", { 'basket--sticky': _ctx.isSticky }])\n }, [\n _createElementVNode(\"div\", {\n class: \"basket__header\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (isExpanded.value = !isExpanded.value))\n }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"basket-title\", { isAmendment: isAmendment.value }])\n }, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.title\")), 1),\n (isAmendment.value)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_1, [\n _createElementVNode(\"b\", null, _toDisplayString(bookingNumber.value), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ], 2),\n _createElementVNode(\"div\", _hoisted_2, [\n (_ctx.isFetching)\n ? (_openBlock(), _createBlock(BaseSpinner, { key: 0 }))\n : (price.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.total\")), 1),\n _createElementVNode(\"span\", _hoisted_4, [\n _createElementVNode(\"b\", null, _toDisplayString(_unref(formatPrice)(price.value - totalDiscount.value)), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(SvgIcon, {\n icon: 'chevron/chevron-down',\n class: _normalizeClass({ active: isExpanded.value })\n }, null, 8, [\"class\"])\n ])\n ]),\n _createVNode(BasketTransitionExpand, { expanded: isExpanded.value }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BasePanel, null, {\n default: _withCtx(() => [\n (_ctx.productCode)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, _toDisplayString(_ctx.productCode), 1))\n : _createCommentVNode(\"\", true),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(combinedSections.value, (section) => {\n return (_openBlock(), _createBlock(BasketGroup, {\n key: section.route,\n section: section\n }, null, 8, [\"section\"]))\n }), 128)),\n (price.value)\n ? (_openBlock(), _createElementBlock(\"ul\", _hoisted_7, [\n (_ctx.amd)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_8, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.amd\")), 1),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(formatPrice)(_ctx.amd)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"li\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.total\")), 1),\n _createElementVNode(\"span\", null, [\n _createElementVNode(\"b\", null, _toDisplayString(_unref(formatPrice)(price.value - totalDiscount.value)), 1)\n ])\n ]),\n (isAmendment.value)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n (_ctx.isCheckout)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createElementVNode(\"li\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.paid\")) + \": \", 1),\n _createElementVNode(\"span\", null, [\n _createElementVNode(\"b\", null, _toDisplayString(_unref(formatPrice)(_ctx.paid)), 1)\n ])\n ]),\n ((_ctx.leftToPay ?? 0) < 0)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_9, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.toBeRefunded\")) + \": \", 1),\n _createElementVNode(\"span\", null, [\n _createElementVNode(\"b\", null, _toDisplayString(_unref(formatPrice)(Math.abs(_ctx.leftToPay as number))), 1)\n ])\n ]))\n : ((_ctx.leftToPay ?? 0) > 0)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_10, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.leftToPay\")) + \": \", 1),\n _createElementVNode(\"span\", null, [\n _createElementVNode(\"b\", null, _toDisplayString(_unref(formatPrice)(_ctx.leftToPay)), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n : (_openBlock(), _createElementBlock(\"li\", _hoisted_11, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.unknownpayment\")), 1)\n ]))\n ], 64))\n : (_ctx.leftToPay)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_12, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.leftToPay\")) + \": \", 1),\n _createElementVNode(\"span\", null, [\n _createElementVNode(\"b\", null, _toDisplayString(_unref(formatPrice)(_ctx.leftToPay)), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _renderSlot(_ctx.$slots, \"after\")\n ])\n ]),\n _: 3\n }, 8, [\"expanded\"])\n ], 2),\n (isExpanded.value)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"basket__overlay\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (isExpanded.value = !isExpanded.value))\n }))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./Basket.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Basket.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Basket.vue?vue&type=style&index=0&id=24c730de&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-24c730de\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, unref as _unref, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-a7f5ca4a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"resource-list\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"resource-list__header\"\n}\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"line\" }, null, -1))\nconst _hoisted_4 = { class: \"resource-item\" }\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = { key: 1 }\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = {\n key: 0,\n class: \"seat\"\n}\n\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\nimport { formatPrice } from \"@/helpers/priceHelpers\";\r\nimport { BasketResource } from \"@/models/front/basket/BasketGroup\";\r\n\r\ninterface Props {\r\n icon: string;\r\n resources: BasketResource[];\r\n isCard?: boolean;\r\n isBus?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'ResourceList',\n props: {\n icon: {},\n resources: {},\n isCard: { type: Boolean },\n isBus: { type: Boolean }\n },\n setup(__props: any) {\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.icon)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(SvgIcon, {\n height: \"24px\",\n width: \"24px\",\n icon: _ctx.icon\n }, null, 8, [\"icon\"]),\n _hoisted_3\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.resources, (resourceItem, index) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: `${resourceItem.name}-${index}`\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n (!_ctx.isCard && !_ctx.isBus)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_5, _toDisplayString(resourceItem.name), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", null, _toDisplayString(resourceItem.description), 1),\n (!resourceItem.isPrepaid)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_6, _toDisplayString(_unref(formatPrice)(resourceItem.price)), 1))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 2 }, [\n (resourceItem.price)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_7, _toDisplayString(_unref(formatPrice)(resourceItem.price)) + \" \" + _toDisplayString(_ctx.$t(\"bookingSummary.prepaidCard\")), 1))\n : (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(_ctx.$t(\"bookingSummary.prepaid\")), 1))\n ], 64))\n ]),\n (resourceItem.seat)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, _toDisplayString(_ctx.$t(\"bookingSummary.seat\")) + \" \" + _toDisplayString(resourceItem.seat), 1))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ])\n ]))\n}\n}\n\n})","import script from \"./ResourceList.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ResourceList.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ResourceList.vue?vue&type=style&index=0&id=a7f5ca4a&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-a7f5ca4a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"basket-summary\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = { key: 2 }\n\nimport SvgIcon from '@/components/base/SvgIcon.vue';\r\nimport { HHmm, YYYYMMDD } from '@/helpers/dateHelpers';\r\nimport { BasketSection } from '@/models/front/basket/BasketGroup';\r\n\r\ninterface Props {\r\n section: BasketSection\r\n condensed?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'FerrySectionRenderer',\n props: {\n section: {},\n condensed: { type: Boolean, default: false }\n },\n setup(__props: any) {\n\r\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(SvgIcon, {\n height: \"16px\",\n width: \"40px\",\n icon: \"booking/ferry\"\n }),\n _createElementVNode(\"ul\", null, [\n _createElementVNode(\"li\", null, [\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.$t(`routes.${_ctx.section.route}`)), 1)\n ]),\n (_ctx.condensed && _ctx.section.departureDateTime)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_2, _toDisplayString(_unref(YYYYMMDD)(_ctx.section.departureDateTime)) + \" | \" + _toDisplayString(_ctx.$t(\"bookingSummary.departure\")) + \" \" + _toDisplayString(_unref(HHmm)(_ctx.section.departureDateTime)), 1))\n : (_ctx.section.departureDateTime)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createElementVNode(\"li\", null, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.outwardDate\")) + \" \" + _toDisplayString(_unref(YYYYMMDD)(_ctx.section.departureDateTime)), 1)\n ]),\n (_ctx.section.arrivalDateTime)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_3, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.departure\")) + \" \" + _toDisplayString(_unref(HHmm)(_ctx.section.departureDateTime)) + \" - \" + _toDisplayString(_ctx.$t(\"bookingSummary.arrival\")) + \" \" + _toDisplayString(_unref(HHmm)(_ctx.section.arrivalDateTime)), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n : _createCommentVNode(\"\", true),\n (_ctx.section.ship && !_ctx.condensed)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_4, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.ship\")) + \" - \" + _toDisplayString(_ctx.section.ship), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","import script from \"./FerrySectionRenderer.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./FerrySectionRenderer.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { class: \"basket-summary\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { key: 2 }\n\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\nimport { HHmm, YYYYMMDD } from \"@/helpers/dateHelpers\";\r\nimport { BasketSection } from \"@/models/front/basket/BasketGroup\";\r\n\r\ninterface Props {\r\n section: BasketSection;\r\n condensed?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BusSectionRenderer',\n props: {\n section: {},\n condensed: { type: Boolean, default: false }\n },\n setup(__props: any) {\n\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(SvgIcon, {\n height: \"22px\",\n width: \"18px\",\n icon: \"booking/bus\"\n }),\n _createElementVNode(\"ul\", null, [\n (_ctx.section.other.length > 0)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_2, [\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.section.other[0].information), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.section.arrivalDateTime && _ctx.section.departureDateTime)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createElementVNode(\"li\", null, _toDisplayString(_unref(YYYYMMDD)(_ctx.section.departureDateTime)), 1),\n _createElementVNode(\"li\", null, _toDisplayString(_ctx.$t(\"bookingSummary.departure\")) + \" \" + _toDisplayString(_unref(HHmm)(_ctx.section.departureDateTime)) + \" - \" + _toDisplayString(_ctx.$t(\"bookingSummary.arrival\")) + \" \" + _toDisplayString(_unref(HHmm)(_ctx.section.arrivalDateTime)), 1)\n ], 64))\n : (_ctx.section.departureDateTime)\n ? (_openBlock(), _createElementBlock(\"li\", _hoisted_3, _toDisplayString(_unref(YYYYMMDD)(_ctx.section.departureDateTime)) + \" | \" + _toDisplayString(_ctx.$t(\"bookingSummary.departure\")) + \" \" + _toDisplayString(_unref(HHmm)(_ctx.section.departureDateTime)), 1))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","import script from \"./BusSectionRenderer.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BusSectionRenderer.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveDynamicComponent as _resolveDynamicComponent, openBlock as _openBlock, createBlock as _createBlock, renderSlot as _renderSlot, createCommentVNode as _createCommentVNode, unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-13ebe2ea\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 4,\n class: \"basket-group__extra\"\n}\nconst _hoisted_2 = {\n key: 5,\n class: \"basket-group__sum\"\n}\nconst _hoisted_3 = { class: \"price\" }\nconst _hoisted_4 = {\n key: 6,\n class: \"basket-group__sum campaign\"\n}\nconst _hoisted_5 = { class: \"code\" }\nconst _hoisted_6 = { class: \"basket-group__sum\" }\nconst _hoisted_7 = { class: \"price\" }\n\nimport ResourceList from \"@/components/basket/ResourceList.vue\";\r\nimport { formatPrice } from \"@/helpers/priceHelpers\";\r\nimport { BasketGroupType, BasketSection } from \"@/models/front/basket/BasketGroup\";\r\nimport FerrySectionRenderer from \"./renderers/FerrySectionRenderer.vue\";\r\nimport { computed } from \"vue\";\r\nimport BusSectionRenderer from \"./renderers/BusSectionRenderer.vue\";\r\n\r\ninterface Props {\r\n section: BasketSection;\r\n condensed?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BasketGroup',\n props: {\n section: {},\n condensed: { type: Boolean, default: false }\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst renderers = {\r\n [BasketGroupType.Ferry]: FerrySectionRenderer,\r\n [BasketGroupType.Bus]: BusSectionRenderer,\r\n [BasketGroupType.Card]: \"div\",\r\n};\r\n\r\nconst basketGroupRenderer = computed(() => renderers[props.section.type ?? 0]);\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"basket-group\", { 'is-locked': _ctx.section.isLocked }])\n }, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(basketGroupRenderer.value), {\n section: _ctx.section,\n condensed: _ctx.condensed\n }, null, 8, [\"section\", \"condensed\"])),\n _renderSlot(_ctx.$slots, \"default\", { section: _ctx.section }, () => [\n (_ctx.section.passengers.length)\n ? (_openBlock(), _createBlock(ResourceList, {\n key: 0,\n icon: \"booking/travellers\",\n resources: _ctx.section.passengers\n }, null, 8, [\"resources\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.section.vehicles.length)\n ? (_openBlock(), _createBlock(ResourceList, {\n key: 1,\n icon: \"booking/car\",\n resources: _ctx.section.vehicles\n }, null, 8, [\"resources\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.section.food.length)\n ? (_openBlock(), _createBlock(ResourceList, {\n key: 2,\n icon: \"booking/food\",\n resources: _ctx.section.food\n }, null, 8, [\"resources\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.section.other.length)\n ? (_openBlock(), _createBlock(ResourceList, {\n key: 3,\n icon: \"booking/other\",\n resources: _ctx.section.other,\n isCard: _ctx.section.type === _unref(BasketGroupType).Card,\n isBus: _ctx.section.type === _unref(BasketGroupType).Bus\n }, null, 8, [\"resources\", \"isCard\", \"isBus\"]))\n : _createCommentVNode(\"\", true),\n (_ctx.section.flexibility.name?.trim()?.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.flexibility\")) + \": \" + _toDisplayString(_ctx.section.flexibility.name), 1),\n _createElementVNode(\"span\", null, _toDisplayString(_unref(formatPrice)(_ctx.section.flexibility.price)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.section.discount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.discount\")), 1),\n _createElementVNode(\"span\", _hoisted_3, \"-\" + _toDisplayString(_unref(formatPrice)(_ctx.section.discount)), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.section.campaignName)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.campaignCode\")), 1),\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.section.campaignName), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"bookingSummary.sum\")), 1),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_unref(formatPrice)(_ctx.section.price && _ctx.section.discount ? _ctx.section.price - _ctx.section.discount : _ctx.section.price)), 1)\n ])\n ])\n ], 2))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BasketGroup.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BasketGroup.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BasketGroup.vue?vue&type=style&index=0&id=13ebe2ea&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-13ebe2ea\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, withCtx as _withCtx, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-516821ce\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"row\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"col--12\"\n}\nconst _hoisted_3 = { class: \"input-group\" }\nconst _hoisted_4 = { class: \"radio-container\" }\nconst _hoisted_5 = { class: \"col--12 col-md--8\" }\nconst _hoisted_6 = { class: \"input-group\" }\nconst _hoisted_7 = { class: \"input-group\" }\nconst _hoisted_8 = { class: \"input-group\" }\nconst _hoisted_9 = { class: \"input-group\" }\nconst _hoisted_10 = { class: \"input-group\" }\nconst _hoisted_11 = { class: \"row\" }\nconst _hoisted_12 = { class: \"col--4\" }\nconst _hoisted_13 = { class: \"col--8\" }\nconst _hoisted_14 = { class: \"input-group\" }\nconst _hoisted_15 = { class: \"input-group\" }\nconst _hoisted_16 = { class: \"row\" }\nconst _hoisted_17 = { class: \"col--4\" }\nconst _hoisted_18 = { class: \"col--8\" }\nconst _hoisted_19 = { class: \"input-group\" }\nconst _hoisted_20 = {\n key: 1,\n class: \"col--12 col-md--8\"\n}\nconst _hoisted_21 = { class: \"customer-details__password\" }\nconst _hoisted_22 = { class: \"input-group\" }\nconst _hoisted_23 = { class: \"input-group\" }\nconst _hoisted_24 = { class: \"col--12 col-md--8\" }\nconst _hoisted_25 = { class: \"button-container\" }\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport BaseRadio from \"@/components/base/BaseRadio.vue\";\r\nimport IslanderBox from \"@/components/customer/IslanderBox.vue\";\r\nimport { countryCodes } from \"@/config/countries\";\r\nimport { getBookitLocaleStringForCurrentLocale, getPhoneCodeForCurrentLocale } from \"@/helpers/localeHelper\";\r\nimport { format } from \"@/helpers/phoneHelper\";\r\nimport { email, required } from \"@/helpers/validators\";\r\nimport { AddressInformation } from \"@/models/front/customer/AddressInformation\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { reactive } from \"vue\";\r\nimport BaseAlert from \"../base/BaseAlert.vue\";\r\nimport BaseCountrySelect from \"../base/BaseCountrySelect.vue\";\r\nimport BaseDropdown from \"../base/BaseDropdown.vue\";\r\nimport { helpers, maxLength, minLength } from \"@vuelidate/validators\";\r\nimport { useI18n } from \"vue-i18n\";\r\n\r\ninterface Props {\r\n includeIslander?: boolean;\r\n includePassword?: boolean;\r\n address?: AddressInformation;\r\n error?: Error;\r\n isLoading?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CustomerDetailsForm',\n props: {\n includeIslander: { type: Boolean },\n includePassword: { type: Boolean },\n address: {},\n error: {},\n isLoading: { type: Boolean }\n },\n emits: [\"submit\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst { t } = useI18n();\r\n\r\nconst emit = __emit;\r\n\r\nconst validPassword = () => {\r\n return !props.includePassword || state.password.length >= 6;\r\n};\r\n\r\nconst state = reactive({\r\n isIslander: false,\r\n islanderSSN: \"\",\r\n firstName: props.address?.firstName,\r\n lastName: props.address?.lastName,\r\n contact: props.address?.contact,\r\n address: props.address?.address,\r\n zip: props.address?.zip,\r\n city: props.address?.city,\r\n countryCode: props.address?.countryCode ? props.address?.countryCode : getBookitLocaleStringForCurrentLocale(),\r\n phoneCode: props.address?.phoneCode ? props.address?.phoneCode : getPhoneCodeForCurrentLocale(),\r\n mobilePhone: props.address?.mobilePhone ?? \"\",\r\n email: props.address?.email,\r\n password: \"\",\r\n passwordRepeat: \"\",\r\n});\r\n\r\nconst rules = {\r\n isIslander: {},\r\n islanderSSN: {\r\n v: (value: string) => !state.isIslander || value.length == 12,\r\n },\r\n firstName: { \r\n required, \r\n valid: helpers.withMessage(() => t(\"validations.maxLength\"), maxLength(30))\r\n },\r\n lastName: { \r\n required, \r\n valid: helpers.withMessage(() => t(\"validations.maxLength\"), maxLength(30))\r\n },\r\n contact: {},\r\n address: { required },\r\n zip: { required },\r\n city: { required },\r\n countryCode: { required },\r\n phoneCode: { required },\r\n mobilePhone: { required, minLength: minLength(6) },\r\n email: { required, email },\r\n password: { v: validPassword },\r\n passwordRepeat: { v: (val: string) => !props.includePassword || val === state.password },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst submitForm = async () => {\r\n const isFormCorrect = await v$.value.$validate();\r\n if (!isFormCorrect) return;\r\n\r\n emit(\"submit\", { ...state, mobilePhone: format(state.mobilePhone, state.phoneCode) });\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"form\", {\n class: \"customer-details__form\",\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(\"fields.title\")), 1),\n _createElementVNode(\"div\", _hoisted_1, [\n (_ctx.includeIslander)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"fields.isIslander.label\")), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseRadio, {\n modelValue: _unref(v$).isIslander.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).isIslander.$model) = $event)),\n id: \"islander-false\",\n name: \"islander\",\n label: _ctx.$t('fields.isIslander.no'),\n value: false\n }, null, 8, [\"modelValue\", \"label\"]),\n _createVNode(BaseRadio, {\n modelValue: _unref(v$).isIslander.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).isIslander.$model) = $event)),\n id: \"islander-true\",\n name: \"islander\",\n label: _ctx.$t('fields.isIslander.yes'),\n value: true\n }, null, 8, [\"modelValue\", \"label\"])\n ]),\n (_unref(v$).isIslander.$model)\n ? (_openBlock(), _createBlock(IslanderBox, {\n key: 0,\n hasError: _unref(v$).islanderSSN.$error,\n modelValue: _unref(v$).islanderSSN.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(v$).islanderSSN.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"hasError\", \"modelValue\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(BaseInput, {\n name: \"firstName\",\n label: _ctx.$t('fields.firstName.label'),\n hasError: _unref(v$).firstName.$error,\n errors: _unref(v$).firstName.$errors,\n valid: !_unref(v$).firstName.$invalid,\n modelValue: _unref(v$).firstName.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(v$).firstName.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"valid\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(BaseInput, {\n name: \"lastName\",\n label: _ctx.$t('fields.lastName.label'),\n hasError: _unref(v$).lastName.$error,\n errors: _unref(v$).lastName.$errors,\n valid: !_unref(v$).lastName.$invalid,\n modelValue: _unref(v$).lastName.$model,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(v$).lastName.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"valid\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(BaseInput, {\n name: \"contact\",\n label: _ctx.$t('fields.company.label'),\n hasError: _unref(v$).contact.$error,\n valid: !_unref(v$).contact.$invalid,\n modelValue: _unref(v$).contact.$model,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(v$).contact.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"valid\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(BaseInput, {\n name: \"address\",\n label: _ctx.$t('fields.address.label'),\n hasError: _unref(v$).address.$error,\n valid: !_unref(v$).address.$invalid,\n modelValue: _unref(v$).address.$model,\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => ((_unref(v$).address.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"valid\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(BaseInput, {\n type: \"tel\",\n name: \"zip\",\n label: _ctx.$t('fields.zip.label'),\n hasError: _unref(v$).zip.$error,\n valid: !_unref(v$).zip.$invalid,\n modelValue: _unref(v$).zip.$model,\n \"onUpdate:modelValue\": _cache[7] || (_cache[7] = ($event: any) => ((_unref(v$).zip.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"valid\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(BaseInput, {\n name: \"city\",\n label: _ctx.$t('fields.city.label'),\n hasError: _unref(v$).city.$error,\n valid: !_unref(v$).city.$invalid,\n modelValue: _unref(v$).city.$model,\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => ((_unref(v$).city.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"valid\", \"modelValue\"])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createVNode(BaseCountrySelect, {\n label: _ctx.$t('fields.country.label'),\n name: \"country\",\n hasError: _unref(v$).countryCode.$error,\n valid: !_unref(v$).countryCode.$invalid,\n modelValue: _unref(v$).countryCode.$model,\n \"onUpdate:modelValue\": _cache[9] || (_cache[9] = ($event: any) => ((_unref(v$).countryCode.$model) = $event))\n }, null, 8, [\"label\", \"hasError\", \"valid\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _createElementVNode(\"div\", _hoisted_17, [\n _createVNode(BaseDropdown, {\n options: _unref(countryCodes),\n name: \"phoneCode\",\n label: _ctx.$t('fields.phoneCode.label'),\n hasError: _unref(v$).phoneCode.$error,\n valid: !_unref(v$).phoneCode.$invalid,\n modelValue: _unref(v$).phoneCode.$model,\n \"onUpdate:modelValue\": _cache[10] || (_cache[10] = ($event: any) => ((_unref(v$).phoneCode.$model) = $event)),\n modelModifiers: { trim: true },\n searchable: \"\"\n }, null, 8, [\"options\", \"label\", \"hasError\", \"valid\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(BaseInput, {\n name: \"mobilePhone\",\n label: _ctx.$t('fields.mobilePhone.label'),\n type: \"tel\",\n hasError: _unref(v$).mobilePhone.$error,\n errors: _unref(v$).mobilePhone.$errors,\n valid: !_unref(v$).mobilePhone.$invalid,\n modelValue: _unref(v$).mobilePhone.$model,\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => ((_unref(v$).mobilePhone.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"valid\", \"modelValue\"])\n ])\n ]),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"fields.mobilePhone.info\")), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createVNode(BaseInput, {\n name: \"email\",\n label: _ctx.$t('fields.email.label'),\n hasError: _unref(v$).email.$error,\n valid: !_unref(v$).email.$invalid,\n modelValue: _unref(v$).email.$model,\n \"onUpdate:modelValue\": _cache[12] || (_cache[12] = ($event: any) => ((_unref(v$).email.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"valid\", \"modelValue\"])\n ])\n ]),\n (_ctx.includePassword)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(\"fields.password.title\")), 1),\n _createElementVNode(\"div\", _hoisted_22, [\n _createVNode(BaseInput, {\n hasError: _unref(v$).password.$error,\n valid: !_unref(v$).password.$invalid,\n modelValue: _unref(v$).password.$model,\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => ((_unref(v$).password.$model) = $event)),\n modelModifiers: { trim: true },\n type: \"password\",\n name: \"password\",\n label: _ctx.$t('fields.password.label')\n }, null, 8, [\"hasError\", \"valid\", \"modelValue\", \"label\"])\n ]),\n _createElementVNode(\"div\", _hoisted_23, [\n _createVNode(BaseInput, {\n hasError: _unref(v$).passwordRepeat.$error,\n valid: !_unref(v$).passwordRepeat.$invalid,\n modelValue: _unref(v$).passwordRepeat.$model,\n \"onUpdate:modelValue\": _cache[14] || (_cache[14] = ($event: any) => ((_unref(v$).passwordRepeat.$model) = $event)),\n modelModifiers: { trim: true },\n type: \"password\",\n name: \"repeatPassword\",\n label: _ctx.$t('fields.passwordRepeat.label')\n }, null, 8, [\"hasError\", \"valid\", \"modelValue\", \"label\"])\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_24, [\n (_ctx.error)\n ? (_openBlock(), _createBlock(BaseAlert, {\n key: 0,\n message: _ctx.error.message,\n type: \"danger\"\n }, null, 8, [\"message\"]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_25, [\n _createVNode(BaseButton, {\n loading: _ctx.isLoading,\n class: \"btn--secondary btn--fixed-width\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.includePassword ? _ctx.$t(\"button.register\") : _ctx.$t(\"button.continue\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ])\n ])\n ])\n ], 32))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./CustomerDetailsForm.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./CustomerDetailsForm.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./CustomerDetailsForm.vue?vue&type=style&index=0&id=516821ce&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-516821ce\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-49f6db4c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"islander-box\" }\nconst _hoisted_2 = { class: \"islander-box__section\" }\nconst _hoisted_3 = { class: \"islander-box__icon\" }\nconst _hoisted_4 = { class: \"islander-box__content\" }\nconst _hoisted_5 = [\"innerHTML\"]\nconst _hoisted_6 = { class: \"islander-box__input\" }\nconst _hoisted_7 = { class: \"islander-box__section\" }\nconst _hoisted_8 = { class: \"islander-box__icon\" }\nconst _hoisted_9 = { class: \"islander-box__content\" }\nconst _hoisted_10 = [\"innerHTML\"]\n\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\nimport { computed } from \"vue\";\r\nimport BaseMessages from \"../base/BaseMessages.vue\";\r\n\r\ninterface Props {\r\n hasError?: boolean;\r\n modelValue: string;\r\n errorMessage?: string;\r\n}\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'IslanderBox',\n props: {\n hasError: { type: Boolean },\n modelValue: {},\n errorMessage: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst inputValue = computed({\r\n get() {\r\n return props.modelValue;\r\n },\r\n set(value: string) {\r\n emit(\"update:modelValue\", value);\r\n },\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(SvgIcon, { icon: 'booking/info' })\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"p\", {\n innerHTML: _ctx.$t('islander.description')\n }, null, 8, _hoisted_5),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(BaseInput, {\n name: 'personalNumber',\n label: 'ÅÅÅÅMMDDXXXX',\n hasError: _ctx.hasError,\n mask: \"############\",\n modelValue: inputValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((inputValue).value = $event))\n }, null, 8, [\"hasError\", \"modelValue\"])\n ]),\n (_ctx.errorMessage)\n ? (_openBlock(), _createBlock(BaseMessages, {\n key: 0,\n class: \"islander-box__error\",\n type: \"danger\",\n messages: [_ctx.errorMessage]\n }, null, 8, [\"messages\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(SvgIcon, { icon: 'booking/travellers' })\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"p\", {\n innerHTML: _ctx.$t('islander.disclaimer')\n }, null, 8, _hoisted_10)\n ])\n ])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./IslanderBox.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./IslanderBox.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./IslanderBox.vue?vue&type=style&index=0&id=49f6db4c&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-49f6db4c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { key: 1 }\n\nimport useApi from \"@/composables/useApi\";\r\nimport { defineAsyncComponent } from \"vue\";\r\n\r\ninterface Props {\r\n hideAnimation?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MaintenanceWrapper',\n props: {\n hideAnimation: { type: Boolean }\n },\n setup(__props: any) {\n\r\n\r\n\r\nconst Maintenance = defineAsyncComponent(() => import(\"./Maintenance.vue\"));\r\nconst { serviceUnavailable } = useApi();\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_unref(serviceUnavailable))\n ? (_openBlock(), _createBlock(_unref(Maintenance), {\n key: 0,\n hideAnimation: _ctx.hideAnimation\n }, null, 8, [\"hideAnimation\"]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MaintenanceWrapper.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MaintenanceWrapper.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeStyle as _normalizeStyle, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport useDialog from \"@/composables/useDialog\";\r\nimport { DialogType } from \"@/models/Symbols/Dialog\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport BaseButton from \"./BaseButton.vue\";\r\nimport SvgIcon from \"./SvgIcon.vue\";\r\n\r\ninterface Props {\r\n title: string;\r\n body: string;\r\n size?: number;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BaseInfo',\n props: {\n title: {},\n body: {},\n size: {}\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst { t } = useI18n();\r\nconst { displayDialog } = useDialog();\r\n\r\nconst open = () => {\r\n displayDialog({\r\n title: props.title,\r\n message: props.body,\r\n yes: t(\"button.ok\"),\r\n type: DialogType.info,\r\n });\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseButton, {\n onClick: open,\n class: \"btn--info\",\n type: \"button\"\n }, {\n default: _withCtx(() => [\n _createVNode(SvgIcon, {\n style: _normalizeStyle(`height: ${_ctx.size}px`),\n class: \"icon--info\",\n icon: \"booking/info\"\n }, null, 8, [\"style\"])\n ]),\n _: 1\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BaseInfo.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BaseInfo.vue?vue&type=script&lang=ts&setup=true\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, createTextVNode as _createTextVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-25180e7a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"saved-cards\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = {\n key: 0,\n class: \"saved-card__description\"\n}\nconst _hoisted_4 = { class: \"saved-card__title\" }\nconst _hoisted_5 = { class: \"saved-card__subtitle\" }\nconst _hoisted_6 = { class: \"saved-card__title\" }\nconst _hoisted_7 = { class: \"saved-card__subtitle\" }\nconst _hoisted_8 = { class: \"save-card\" }\n\nimport BaseCheckbox from \"@/components/base/BaseCheckbox.vue\";\r\nimport BaseInfo from \"@/components/base/BaseInfo.vue\";\r\nimport BaseRadio from \"@/components/base/BaseRadio.vue\";\r\nimport useMyCreditCardsQuery from \"@/modules/MyPages/composables/useMyCreditCardsQuery\";\r\nimport { useCheckoutStore } from \"@/store/checkoutStore\";\r\nimport { reactive, watch } from \"vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SavedCreditCards',\n setup(__props) {\n\r\nconst checkoutStore = useCheckoutStore();\r\n\r\nconst { data } = useMyCreditCardsQuery();\r\n\r\nconst state = reactive({\r\n selectedCard: undefined,\r\n saveCard: false,\r\n});\r\n\r\nwatch(state, (current) => {\r\n checkoutStore.setSelectedCard(current.selectedCard);\r\n checkoutStore.setSaveCard(current.saveCard);\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(data) && _unref(data).length > 0)\n ? (_openBlock(), _createElementBlock(\"fieldset\", _hoisted_2, [\n _createElementVNode(\"legend\", null, _toDisplayString(_ctx.$t(\"booking.checkout.savedCards.title\")), 1),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(data), (card) => {\n return (_openBlock(), _createBlock(BaseRadio, {\n class: \"saved-card\",\n key: card.cardId,\n id: card.cardId,\n value: card.cardId,\n name: \"saved-cards\",\n modelValue: state.selectedCard,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((state.selectedCard) = $event))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n (card.description)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _toDisplayString(card.description), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString(`${card.cardType} ${card.maskedNumber}`), 1),\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(_ctx.$t(\"booking.checkout.savedCards.expires\")) + \" \" + _toDisplayString(card.expiryDate), 1)\n ])\n ]),\n _: 2\n }, 1032, [\"id\", \"value\", \"modelValue\"]))\n }), 128)),\n _createVNode(BaseRadio, {\n class: \"saved-card\",\n id: \"new\",\n value: '',\n name: \"saved-cards\",\n modelValue: state.selectedCard,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((state.selectedCard) = $event))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_ctx.$t(\"booking.checkout.savedCards.addCard.title\")), 1),\n _createElementVNode(\"div\", _hoisted_7, _toDisplayString(_ctx.$t(\"booking.checkout.savedCards.addCard.subtitle\")), 1)\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(BaseCheckbox, {\n id: \"save-card\",\n disabled: !!state.selectedCard,\n modelValue: state.saveCard,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((state.saveCard) = $event)),\n label: _ctx.$t('booking.checkout.savedCards.saveCard')\n }, {\n default: _withCtx(({ label }) => [\n _createTextVNode(_toDisplayString(label) + \" \", 1),\n _createVNode(BaseInfo, {\n class: \"save-card__info\",\n title: _ctx.$t('booking.checkout.savedCards.saveCardInfo.title'),\n body: _ctx.$t('booking.checkout.savedCards.saveCardInfo.body')\n }, null, 8, [\"title\", \"body\"])\n ]),\n _: 1\n }, 8, [\"disabled\", \"modelValue\", \"label\"])\n ])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./SavedCreditCards.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./SavedCreditCards.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./SavedCreditCards.vue?vue&type=style&index=0&id=25180e7a&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-25180e7a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createBlock as _createBlock, withCtx as _withCtx, createVNode as _createVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ecf6c06a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"payment-options\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"payment-options__loading\"\n}\nconst _hoisted_3 = { class: \"payment-option__type\" }\nconst _hoisted_4 = { class: \"payment-option__description\" }\nconst _hoisted_5 = { key: 0 }\nconst _hoisted_6 = [\"innerHTML\"]\n\nimport BaseRadio from \"@/components/base/BaseRadio.vue\";\r\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\nimport { PaymentAlternative } from \"@/models/front/PaymentAlternative\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { computed } from \"vue\";\r\nimport SavedCreditCards from \"./SavedCreditCards.vue\";\r\n\r\ninterface Props {\r\n paymentAlternatives?: PaymentAlternative[];\r\n hasError?: boolean;\r\n modelValue?: string;\r\n isLoading?: boolean;\r\n disabled?: boolean;\r\n expectedNumber?: number;\r\n reference?: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'PaymentOptions',\n props: {\n paymentAlternatives: {},\n hasError: { type: Boolean },\n modelValue: {},\n isLoading: { type: Boolean },\n disabled: { type: Boolean },\n expectedNumber: { default: 0 },\n reference: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst inputValue = computed({\r\n get() {\r\n return props.modelValue;\r\n },\r\n set(val: string | undefined) {\r\n emit(\"update:modelValue\", val);\r\n },\r\n});\r\n\r\nconst userStore = useUserStore();\r\n\r\nconst showSavedCards = (paymentOptionId: string) => {\r\n return inputValue.value === \"Card\" && paymentOptionId === inputValue.value && userStore.isLoggedIn && !userStore.isAgent;\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.isLoading)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"ul\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.expectedNumber, (i) => {\n return (_openBlock(), _createElementBlock(\"li\", { key: i }))\n }), 128))\n ])\n ]))\n : (_ctx.paymentAlternatives)\n ? (_openBlock(), _createElementBlock(\"ul\", {\n key: 1,\n class: _normalizeClass({ error: _ctx.hasError })\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.paymentAlternatives, (paymentOption, index) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: index,\n class: _normalizeClass([\"payment-option\", { active: inputValue.value === paymentOption.id }])\n }, [\n _createVNode(BaseRadio, {\n disabled: _ctx.disabled,\n modelValue: inputValue.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((inputValue).value = $event)),\n value: paymentOption.id,\n id: paymentOption.id,\n name: \"payment-option\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_3, _toDisplayString(paymentOption.label), 1),\n _createElementVNode(\"span\", _hoisted_4, [\n (paymentOption.paymentMethod === 'CC' && _ctx.reference)\n ? (_openBlock(), _createElementBlock(\"b\", _hoisted_5, _toDisplayString(_ctx.$t('booking.refund.refundMethod.option.usedCard')) + \" \" + _toDisplayString(_ctx.reference), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"span\", {\n innerHTML: paymentOption.description\n }, null, 8, _hoisted_6),\n (paymentOption.icon)\n ? (_openBlock(), _createBlock(SvgIcon, {\n key: 1,\n class: \"payment-option__icon\",\n icon: paymentOption.icon\n }, null, 8, [\"icon\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 2\n }, 1032, [\"disabled\", \"modelValue\", \"value\", \"id\"]),\n (showSavedCards(paymentOption.id))\n ? (_openBlock(), _createBlock(SavedCreditCards, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (inputValue.value === paymentOption.id)\n ? _renderSlot(_ctx.$slots, \"default\", {\n key: 1,\n option: paymentOption\n })\n : _createCommentVNode(\"\", true)\n ], 2))\n }), 128))\n ], 2))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./PaymentOptions.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./PaymentOptions.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./PaymentOptions.vue?vue&type=style&index=0&id=ecf6c06a&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-ecf6c06a\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-48446604\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"bank-refund\" }\n\nimport { reactive } from \"vue\";\r\nimport BaseInput from \"../base/BaseInput.vue\";\r\nimport { required } from \"@/helpers/validators\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BankAccountRefund',\n setup(__props, { expose: __expose }) {\n\r\nconst state = reactive({\r\n bank: \"\",\r\n accountNumber: \"\",\r\n clearingNumber: \"\",\r\n accountHolder: \"\",\r\n});\r\n\r\nconst rules = {\r\n bank: {\r\n required,\r\n },\r\n accountNumber: {\r\n required,\r\n },\r\n clearingNumber: {\r\n required,\r\n },\r\n accountHolder: {\r\n required,\r\n },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\n__expose({\r\n state,\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.bank.label'),\n modelValue: _unref(v$).bank.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).bank.$model) = $event)),\n hasError: _unref(v$).bank.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.clearingNumber.label'),\n modelValue: _unref(v$).clearingNumber.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).clearingNumber.$model) = $event)),\n hasError: _unref(v$).clearingNumber.$error,\n type: \"tel\"\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.accountNumber.label'),\n modelValue: _unref(v$).accountNumber.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(v$).accountNumber.$model) = $event)),\n hasError: _unref(v$).accountNumber.$error,\n type: \"tel\"\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.accountHolder.label'),\n modelValue: _unref(v$).accountHolder.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(v$).accountHolder.$model) = $event)),\n hasError: _unref(v$).accountHolder.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BankAccountRefund.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BankAccountRefund.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./BankAccountRefund.vue?vue&type=style&index=0&id=48446604&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-48446604\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-14360101\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"giro-refund\" }\n\nimport { reactive } from \"vue\";\r\nimport BaseInput from \"../base/BaseInput.vue\";\r\nimport { required } from \"@/helpers/validators\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'GiroRefund',\n setup(__props, { expose: __expose }) {\n\r\nconst state = reactive({\r\n name: \"\",\r\n giro: \"\",\r\n});\r\n\r\nconst rules = {\r\n name: {\r\n required,\r\n },\r\n giro: {\r\n required,\r\n },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\n__expose({\r\n state,\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.giroName.label'),\n modelValue: _unref(v$).name.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).name.$model) = $event)),\n hasError: _unref(v$).name.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('fields.giroNumber.label'),\n modelValue: _unref(v$).giro.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).giro.$model) = $event)),\n hasError: _unref(v$).giro.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./GiroRefund.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./GiroRefund.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./GiroRefund.vue?vue&type=style&index=0&id=14360101&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-14360101\"]])\n\nexport default __exports__","import { useSiteSearchStore } from '@/store/siteSearch';\r\nimport useSiteSearchQuery from '@/modules/SiteSearch/composables/useSiteSearchQuery';\r\n\r\nconst useSiteSearch = () => {\r\n\tconst siteSearchStore = useSiteSearchStore();\r\n\r\n\tconst goToPage = () => {\r\n\t\tconst url = document.getElementById('sitesearchwidget')?.dataset.link ?? '/site-search';\r\n\t\twindow.location.href = `${url}?query=${siteSearchStore.getQuery}`;\r\n\t};\r\n\r\n\treturn { goToPage, ...useSiteSearchQuery() };\r\n};\r\n\r\nexport default useSiteSearch;\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { withModifiers as _withModifiers, withKeys as _withKeys, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-27b4b52f\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = [\"href\", \"onKeydown\", \"tabindex\"]\nconst _hoisted_3 = [\"tabindex\"]\nconst _hoisted_4 = { class: \"more\" }\nconst _hoisted_5 = { class: \"title\" }\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\nimport useSiteSearch from \"@/composables/useSiteSearch\";\r\nimport { getQueryParamValue } from \"@/helpers/urlHelper\";\r\nimport { useSiteSearchStore } from \"@/store/siteSearch\";\r\nimport { watchDebounced } from \"@vueuse/core\";\r\nimport { computed, onBeforeUpdate, onMounted, ref } from \"vue\";\r\n\r\ninterface Props {\r\n redirectToPage?: boolean;\r\n showDropdown?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'SearchInput',\n props: {\n redirectToPage: { type: Boolean },\n showDropdown: { type: Boolean }\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst siteSearchStore = useSiteSearchStore();\r\nconst { goToPage, data, isFetching } = useSiteSearch();\r\nconst activeIndex = ref();\r\n\r\n// used for selecting focus\r\n// on elements\r\nconst searchInput = ref();\r\n\r\nconst siteSearchResults = computed(() => data.value?.results.slice(0, 8) ?? []);\r\n\r\n// used for reset selected item if\r\n// user clicks in input field again\r\nconst clearSelectedItem = () => {\r\n activeIndex.value = undefined;\r\n};\r\n\r\nconst activateNext = (index: number) => {\r\n activeIndex.value = (index ?? -1) + 1;\r\n const nextElement = elements.value[activeIndex.value];\r\n if (nextElement) {\r\n nextElement.focus();\r\n }\r\n};\r\n\r\nconst activatePrevious = (index: number) => {\r\n activeIndex.value = index - 1;\r\n const nextElement = elements.value[activeIndex.value];\r\n if (nextElement) {\r\n nextElement.focus();\r\n } else {\r\n searchInput.value.focus();\r\n }\r\n};\r\n\r\nconst isSelected = (index: number) => activeIndex.value === index;\r\n\r\nconst elements = ref([]);\r\n\r\nconst setElements = (el: HTMLElement, index: number) => {\r\n elements.value[index] = el;\r\n};\r\n\r\nonBeforeUpdate(() => (elements.value = []));\r\n\r\nconst searchQuery = ref(siteSearchStore.getQuery);\r\n\r\nwatchDebounced(\r\n searchQuery,\r\n (value) => {\r\n siteSearchStore.setQuery(value);\r\n siteSearchStore.setPage(1);\r\n },\r\n { debounce: 100 }\r\n);\r\n\r\nconst submitForm = () => {\r\n if (props.redirectToPage) {\r\n goToPage();\r\n }\r\n};\r\n\r\nonMounted(() => {\r\n const query = getQueryParamValue(\"query\");\r\n if (query) {\r\n searchQuery.value = query;\r\n }\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"form\", {\n onSubmit: _cache[7] || (_cache[7] = _withModifiers(($event: any) => (submitForm()), [\"prevent\"])),\n class: \"search\"\n }, [\n _createVNode(BaseInput, {\n onKeydown: _cache[0] || (_cache[0] = _withKeys(_withModifiers(($event: any) => (activateNext(-1)), [\"prevent\"]), [\"down\"])),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (clearSelectedItem())),\n ref_key: \"searchInput\",\n ref: searchInput,\n tabindex: \"0\",\n modelValue: searchQuery.value,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((searchQuery).value = $event)),\n autofocus: \"\"\n }, null, 8, [\"modelValue\"]),\n _createVNode(BaseButton, {\n class: \"btn--secondary\",\n tabindex: \"0\",\n loading: _unref(isFetching)\n }, {\n default: _withCtx(() => [\n _createVNode(SvgIcon, { icon: 'search/outline' })\n ]),\n _: 1\n }, 8, [\"loading\"]),\n ((_unref(data)?.results?.length ?? 0) > 0 && _ctx.showDropdown && searchQuery.value.length > 2)\n ? (_openBlock(), _createElementBlock(\"ul\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(siteSearchResults.value, (item, index) => {\n return (_openBlock(), _createElementBlock(\"li\", {\n key: item.id\n }, [\n _createElementVNode(\"a\", {\n class: _normalizeClass([\"item\", { active: isSelected(index) }]),\n href: item.url,\n onKeydown: [\n _withKeys(_withModifiers(($event: any) => (activatePrevious(index)), [\"prevent\"]), [\"up\"]),\n _withKeys(_withModifiers(($event: any) => (activateNext(index)), [\"prevent\"]), [\"down\"])\n ],\n tabindex: isSelected(index) ? 0 : -1,\n ref_for: true,\n ref: (el) => setElements(el, index)\n }, [\n _createTextVNode(_toDisplayString(item.title) + \" \", 1),\n _createVNode(SvgIcon, { icon: 'search/arrow-right' })\n ], 42, _hoisted_2)\n ]))\n }), 128)),\n _createElementVNode(\"li\", {\n onKeydown: [\n _cache[3] || (_cache[3] = _withKeys(_withModifiers(($event: any) => (submitForm()), [\"prevent\"]), [\"enter\"])),\n _cache[4] || (_cache[4] = _withKeys(_withModifiers(($event: any) => (submitForm()), [\"prevent\"]), [\"space\"])),\n _cache[6] || (_cache[6] = _withKeys(_withModifiers(($event: any) => (activatePrevious(siteSearchResults.value.length)), [\"prevent\"]), [\"up\"]))\n ],\n onClick: _cache[5] || (_cache[5] = ($event: any) => (submitForm())),\n tabindex: isSelected(siteSearchResults.value.length) ? 0 : -1,\n ref: (el) => setElements(el, siteSearchResults.value.length),\n class: _normalizeClass({ active: isSelected(siteSearchResults.value.length) })\n }, [\n _createElementVNode(\"a\", _hoisted_4, [\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(_ctx.$t(\"siteSearch.showMore\")), 1)\n ])\n ], 42, _hoisted_3)\n ]))\n : _createCommentVNode(\"\", true)\n ], 32))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./SearchInput.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./SearchInput.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./SearchInput.vue?vue&type=style&index=0&id=27b4b52f&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-27b4b52f\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-59fbff20\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"booking-continue\"\n}\n\nimport useBookingNavigation from '../../composables/useBookingNavigation';\r\n\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BookingContinue',\n setup(__props) {\n\r\nconst { nextStep } = useBookingNavigation();\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_ctx.$slots.default)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _renderSlot(_ctx.$slots, \"default\", { nextStep: _unref(nextStep) })\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BookingContinue.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./BookingContinue.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./BookingContinue.vue?vue&type=style&index=0&id=59fbff20&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-59fbff20\"]])\n\nexport default __exports__","\r\n\r\n","import { render } from \"./BookingSpacer.vue?vue&type=template&id=34af847e&scoped=true\"\nconst script = {}\n\nimport \"./BookingSpacer.vue?vue&type=style&index=0&id=34af847e&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-34af847e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, unref as _unref, createTextVNode as _createTextVNode, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5394ceed\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"giftcard\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"giftcard__expanded\"\n}\nconst _hoisted_3 = { class: \"giftcard__inputs\" }\nconst _hoisted_4 = {\n key: 1,\n class: \"giftcard_valid\"\n}\nconst _hoisted_5 = { class: \"info\" }\nconst _hoisted_6 = { class: \"checkmark-box\" }\nconst _hoisted_7 = { class: \"numbers\" }\nconst _hoisted_8 = { class: \"label\" }\nconst _hoisted_9 = { class: \"number\" }\nconst _hoisted_10 = { class: \"payment-info\" }\nconst _hoisted_11 = { class: \"balance\" }\nconst _hoisted_12 = {\n key: 0,\n class: \"label\"\n}\nconst _hoisted_13 = [\"onClick\"]\nconst _hoisted_14 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1))\nconst _hoisted_15 = {\n key: 2,\n class: \"giftcard__bottom\"\n}\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport BaseMessages from \"@/components/base/BaseMessages.vue\";\r\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\nimport useGiftCard from \"@/composables/useGiftCard\";\r\nimport { validCardNumber, validCvc } from \"@/helpers/validators\";\r\nimport { GiftCardBalanceRequest } from \"@/models/api/GiftCardBalanceRequest\";\r\nimport { GiftCardDetails } from \"@/models/front/GiftCard\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { computed, reactive, ref } from \"vue\";\r\n\r\ninterface Props {\r\n leftToPay: number;\r\n modelValue: GiftCardDetails[];\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'GiftcardSection',\n props: {\n leftToPay: {},\n modelValue: {}\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\nconst emit = __emit;\r\nconst showGiftCard = ref(false);\r\nconst { giftCardBalance, isLoading } = useGiftCard();\r\nconst giftcardbalance = ref(props.leftToPay);\r\n\r\nconst giftcards = computed({\r\n get(): GiftCardDetails[] {\r\n return props.modelValue;\r\n },\r\n set(value: GiftCardDetails[]) {\r\n emit(\"update:modelValue\", value);\r\n },\r\n});\r\n\r\nconst showGiftCardForm = ref(true);\r\n\r\nconst remainingSum = computed(() => {\r\n let sum = props.leftToPay;\r\n giftcards.value.forEach((card) => {\r\n if (!card.balance) return;\r\n sum = sum - card.balance;\r\n });\r\n return sum <= 0 ? 0 : sum;\r\n});\r\n\r\nconst state = reactive({\r\n cardNumber: \"\",\r\n cvc: \"\",\r\n});\r\n\r\nconst rules = {\r\n cardNumber: { validCardNumber },\r\n cvc: { validCvc },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\nconst error = ref();\r\n\r\nconst removeCard = (card: GiftCardDetails) => {\r\n const index = giftcards.value.findIndex((c) => c === card);\r\n giftcards.value.splice(index, 1);\r\n};\r\n\r\nconst addNewCard = () => {\r\n error.value = \"\";\r\n giftCardBalance({\r\n cardNumber: state.cardNumber.replace(/\\s/g, \"\"),\r\n cvc: state.cvc,\r\n } as GiftCardBalanceRequest)\r\n .then((resp) => {\r\n if (resp.giftCardBalance <= 0) return;\r\n giftcardbalance.value = resp.giftCardBalance;\r\n\r\n giftcards.value.push({\r\n pan: state.cardNumber,\r\n cvc: state.cvc,\r\n balance: resp.giftCardBalance,\r\n balanceAfterUse: resp.giftCardBalance - remainingSum.value <= 0 ? 0 : resp.giftCardBalance - remainingSum.value,\r\n });\r\n\r\n state.cardNumber = \"\";\r\n state.cvc = \"\";\r\n v$.value.$reset();\r\n showGiftCardForm.value = false;\r\n return giftcardbalance;\r\n })\r\n .catch((err) => {\r\n error.value = err.message;\r\n });\r\n};\r\n\r\nconst submitForm = async () => {\r\n const isValid = await v$.value.$validate();\r\n if (!isValid) {\r\n return;\r\n }\r\n\r\n const alreadyAdded = giftcards.value.find((card) => card.pan === state.cardNumber);\r\n if (alreadyAdded) return;\r\n\r\n addNewCard();\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(BaseButton, {\n type: \"button\",\n class: _normalizeClass([\"btn--transparent\", { active: showGiftCard.value }]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (showGiftCard.value = !showGiftCard.value)),\n icon: \"chevron/chevron-down\",\n iconSize: \"sm\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.$t(\"booking.checkout.paymentMethod.giftcard.title\")), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"booking.checkout.paymentMethod.giftcard.subtitle\")), 1)\n ])\n ]),\n _: 1\n }, 8, [\"class\"]),\n (showGiftCard.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n (showGiftCardForm.value || !giftcards.value.length)\n ? (_openBlock(), _createElementBlock(\"form\", {\n key: 0,\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(BaseInput, {\n label: _ctx.$t('booking.checkout.paymentMethod.giftcard.labels.number'),\n name: \"cardNumber\",\n type: \"tel\",\n mask: \"#### #### #### #### ###\",\n class: \"number\",\n modelValue: _unref(v$).cardNumber.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).cardNumber.$model) = $event)),\n hasError: _unref(v$).cardNumber.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"]),\n _createVNode(BaseInput, {\n label: _ctx.$t('booking.checkout.paymentMethod.giftcard.labels.cvc'),\n name: \"cvc\",\n type: \"tel\",\n mask: \"###\",\n class: \"cvc\",\n modelValue: _unref(v$).cvc.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(v$).cvc.$model) = $event)),\n hasError: _unref(v$).cvc.$error\n }, null, 8, [\"label\", \"modelValue\", \"hasError\"])\n ]),\n _createVNode(BaseButton, {\n loading: _unref(isLoading),\n disabled: !_unref(v$).cvc.$model.length || !_unref(v$).cardNumber.$model.length\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"booking.checkout.paymentMethod.giftcard.button\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ], 32))\n : _createCommentVNode(\"\", true),\n _createVNode(BaseMessages, {\n messages: [...new Set(_unref(v$).$errors.map((e) => e.$message)), error.value]\n }, null, 8, [\"messages\"]),\n (giftcards.value.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(giftcards.value, (card, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: index,\n class: \"giftcard_valid__card\"\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(SvgIcon, {\n icon: \"checkmark\",\n class: \"check\"\n })\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"p\", _hoisted_8, _toDisplayString(_ctx.$t(\"booking.checkout.paymentMethod.giftcard.labels.number\")), 1),\n _createElementVNode(\"p\", _hoisted_9, _toDisplayString(card.pan), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"p\", _hoisted_11, _toDisplayString(card.balance) + \":-\", 1),\n (card.balance)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_12, \" (\" + _toDisplayString(_ctx.$t(\"booking.checkout.paymentMethod.giftcard.labels.sumAfterUse\")) + \" \" + _toDisplayString(card.balanceAfterUse) + \":-) \", 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", {\n class: \"remove-box\",\n onClick: ($event: any) => (removeCard(card))\n }, [\n _createVNode(SvgIcon, {\n icon: \"x\",\n class: \"remove\"\n })\n ], 8, _hoisted_13)\n ]))\n }), 128)),\n (remainingSum.value > 0 && !showGiftCardForm.value)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n onClick: _cache[3] || (_cache[3] = ($event: any) => (showGiftCardForm.value = true)),\n class: \"button\",\n type: \"button\",\n icon: \"booking/plus\",\n iconSize: \"sm\",\n iconPosition: \"left\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"booking.checkout.paymentMethod.giftcard.labels.addNew\")), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_14,\n (_ctx.leftToPay)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_15, _toDisplayString(_ctx.$t(\"booking.checkout.paymentMethod.giftcard.remainingSum\")) + \" \" + _toDisplayString(remainingSum.value) + \":- \" + _toDisplayString(_ctx.$t(\"booking.checkout.paymentMethod.giftcard.chooseMethod\")), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./GiftcardSection.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./GiftcardSection.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./GiftcardSection.vue?vue&type=style&index=0&id=5394ceed&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5394ceed\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, withModifiers as _withModifiers, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-774e3ce8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"checkout__to-pay\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"checkout__header\"\n}\nconst _hoisted_3 = [\"innerHTML\"]\nconst _hoisted_4 = [\"innerHTML\"]\nconst _hoisted_5 = { key: 1 }\nconst _hoisted_6 = {\n key: 3,\n class: \"checkout__info\"\n}\nconst _hoisted_7 = [\"innerHTML\"]\nconst _hoisted_8 = { class: \"checkout__to-refund\" }\nconst _hoisted_9 = { class: \"checkout__header\" }\nconst _hoisted_10 = [\"innerHTML\"]\nconst _hoisted_11 = { class: \"checkout__info\" }\nconst _hoisted_12 = [\"innerHTML\"]\nconst _hoisted_13 = {\n key: 0,\n class: \"checkout__header\"\n}\nconst _hoisted_14 = [\"innerHTML\"]\n\nimport BaseAlert from \"@/components/base/BaseAlert.vue\";\r\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseCheckbox from \"@/components/base/BaseCheckbox.vue\";\r\nimport BaseLightbox from \"@/components/base/BaseLightbox.vue\";\r\nimport BaseMessages from \"@/components/base/BaseMessages.vue\";\r\nimport BasePanel from \"@/components/base/BasePanel.vue\";\r\nimport BaseSection from \"@/components/base/BaseSection.vue\";\r\nimport PaymentOptions from \"@/components/payment/PaymentOptions.vue\";\r\nimport BankAccountRefund from \"@/components/refund/BankAccountRefund.vue\";\r\nimport GiroRefund from \"@/components/refund/GiroRefund.vue\";\r\nimport { getQueryParamValue } from \"@/helpers/urlHelper\";\r\nimport { GiftCardDetails } from \"@/models/front/GiftCard\";\r\nimport useCheckoutQuery, { InitPaymentParams } from \"@/modules/BookingFlow/composables/useCheckoutQuery\";\r\nimport { useCheckoutStore } from \"@/store/checkoutStore\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { helpers, sameAs } from \"@vuelidate/validators\";\r\nimport { computed, reactive, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport BookingContinue from \"../BookingContinue.vue\";\r\nimport BookingSpacer from \"../BookingSpacer.vue\";\r\nimport GiftcardSection from \"./GiftcardSection.vue\";\r\nimport { formatPrice } from \"@/helpers/priceHelpers\";\r\nimport { useEventBus } from \"@vueuse/core\";\r\nimport { openBookingSummaryKey } from \"@/models/Symbols/BookingSummary\";\r\n\r\ninterface Props {\r\n type?: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'Checkout',\n props: {\n type: { default: \"payment\" }\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst id = getQueryParamValue(\"id\");\r\nconst { data, initPaymentMutation, error, isLoading } = useCheckoutQuery(props.type, id);\r\nconst { error: paymentError, isLoading: isConfirming } = initPaymentMutation;\r\nconst { t } = useI18n();\r\n\r\nconst eventBus = useEventBus(openBookingSummaryKey);\r\n\r\nconst openBasket = () => {\r\n eventBus.emit(true);\r\n};\r\n\r\nconst userStore = useUserStore();\r\nconst isAgent = computed(() => userStore.isAgent);\r\n\r\nconst infoText = computed(() => {\r\n if (data.value?.postInvoicing) {\r\n return t(\"booking.postInvoicing.info\");\r\n }\r\n\r\n if (isRefund.value) {\r\n return t(\"booking.refund.info\");\r\n } else {\r\n return t(\"booking.checkout.info\");\r\n }\r\n});\r\n\r\nconst giftcardsToUse = ref([]);\r\n\r\nconst errorMessage = computed(() => {\r\n const message = (paymentError?.value as Error)?.message;\r\n if (message) {\r\n return message;\r\n }\r\n\r\n const errorCode = getQueryParamValue(\"error\");\r\n return errorCode ? t(`errors.${errorCode}`) : \"\";\r\n});\r\n\r\nconst leftToPay = computed(() => {\r\n return (data.value?.leftToPay ?? 0) - giftcardsToUse.value.map((gc) => gc.balance ?? 0).reduce((a, b) => a + b, 0);\r\n});\r\n\r\nconst isRefund = computed(() => {\r\n return (data.value?.leftToPay ?? 0) < 0 && !!data.value?.refundAlternatives.length;\r\n});\r\n\r\nconst state = reactive({\r\n termsAccepted: false,\r\n paymentMethod: \"\",\r\n});\r\n\r\nconst noNeedToPay = computed(() => {\r\n return (!isRefund.value && leftToPay.value <= 0) || (!data.value?.paymentAlternatives.length && isAgent.value);\r\n});\r\n\r\nconst rules = {\r\n termsAccepted: { sameAs: helpers.withMessage(t(\"validations.acceptTerms\"), sameAs(true)) },\r\n paymentMethod: {\r\n v: helpers.withMessage(\r\n () => (isRefund.value ? t(\"validations.refundMethodRequired\") : t(\"validations.paymentMethodRequired\")),\r\n (value: string) => value.length > 0 || noNeedToPay.value\r\n ),\r\n },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\nconst checkoutStore = useCheckoutStore();\r\n\r\nconst bankRefundRef = ref();\r\nconst giroRefundRef = ref();\r\n\r\nconst submitForm = async () => {\r\n const isValid = await v$.value.$validate();\r\n if (!isValid) return;\r\n\r\n let params = {};\r\n\r\n if (bankRefundRef.value) {\r\n params = bankRefundRef.value.state;\r\n }\r\n\r\n if (giroRefundRef.value) {\r\n params = giroRefundRef.value.state;\r\n }\r\n\r\n const request: InitPaymentParams = {\r\n bookingNumber: data.value?.bookingNumber ?? -1,\r\n terms: state.termsAccepted,\r\n type: props.type,\r\n giftCards: giftcardsToUse.value.map((g) => ({\r\n cvc: g.cvc,\r\n cardNumber: g.pan,\r\n })),\r\n creditCard: checkoutStore.getSavedCard,\r\n };\r\n\r\n if (isRefund.value && state.paymentMethod) {\r\n request.refund = { refundMethod: state.paymentMethod, ...params };\r\n } else if (leftToPay.value > 0) {\r\n request.paymentMethod = state.paymentMethod;\r\n }\r\n\r\n initPaymentMutation.mutateAsync(request).then((resp) => {\r\n window.location.replace(resp.paymentUrl);\r\n });\r\n};\r\n\r\nconst showPaymentServicesLightbox = ref(false);\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(BookingSpacer),\n _createVNode(BaseSection, {\n title: _ctx.$t('booking.checkout.title'),\n subtitle: _ctx.$t('booking.checkout.subtitle'),\n infoText: infoText.value\n }, {\n default: _withCtx(() => [\n (!_unref(error))\n ? (_openBlock(), _createElementBlock(\"form\", {\n key: 0,\n class: \"checkout\",\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n (_unref(data)?.isPayment || _unref(isLoading))\n ? (_openBlock(), _createBlock(BasePanel, {\n key: 0,\n alignLeft: \"\",\n hasError: _unref(v$).paymentMethod.$error\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"p\", null, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"bookingSummary.leftToPay\")) + \": \", 1),\n _createElementVNode(\"strong\", null, _toDisplayString(_unref(formatPrice)(_unref(data)?.leftToPay)), 1)\n ]),\n _createVNode(BaseButton, {\n onClick: openBasket,\n class: \"btn--secondary\",\n type: \"button\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('booking.checkout.openBasket')), 1)\n ]),\n _: 1\n })\n ]),\n (!_unref(data)?.postInvoicing)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"h3\", null, _toDisplayString(_ctx.$t(\"booking.checkout.paymentMethod.subtitle\")), 1),\n _createElementVNode(\"p\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (showPaymentServicesLightbox.value = true)),\n innerHTML: _ctx.$t('booking.checkout.paymentMethod.readMore')\n }, null, 8, _hoisted_3),\n _createVNode(BaseLightbox, {\n align: \"start\",\n title: _ctx.$t('messages.paymentServices.title'),\n modelValue: showPaymentServicesLightbox.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((showPaymentServicesLightbox).value = $event)),\n maxWidth: 500\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", {\n class: \"payment-services\",\n innerHTML: _ctx.$t('messages.paymentServices.body')\n }, null, 8, _hoisted_4)\n ]),\n _: 1\n }, 8, [\"title\", \"modelValue\"])\n ]))\n : _createCommentVNode(\"\", true),\n _createVNode(PaymentOptions, {\n modelValue: _unref(v$).paymentMethod.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(v$).paymentMethod.$model) = $event)),\n paymentAlternatives: _unref(data)?.paymentAlternatives,\n hasError: _unref(v$).paymentMethod.$error,\n disabled: leftToPay.value <= 0,\n isLoading: _unref(isLoading),\n expectedNumber: 4\n }, null, 8, [\"modelValue\", \"paymentAlternatives\", \"hasError\", \"disabled\", \"isLoading\"]),\n (_unref(data)?.postInvoicing)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(\"booking.checkout.paymentMethod.postInvoicing\")), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(data)?.showGiftCard)\n ? (_openBlock(), _createBlock(GiftcardSection, {\n key: 2,\n modelValue: giftcardsToUse.value,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((giftcardsToUse).value = $event)),\n leftToPay: _unref(data)?.leftToPay ?? 0\n }, null, 8, [\"modelValue\", \"leftToPay\"]))\n : _createCommentVNode(\"\", true),\n (!_unref(data)?.postInvoicing)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createElementVNode(\"p\", {\n innerHTML: _ctx.$t('booking.checkout.paymentMethod.info')\n }, null, 8, _hoisted_7)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"hasError\"]))\n : (_unref(data)?.isRefund)\n ? (_openBlock(), _createBlock(BasePanel, { key: 1 }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_8, [\n _createElementVNode(\"p\", null, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"bookingSummary.toBeRefunded\")) + \": \", 1),\n _createElementVNode(\"strong\", null, _toDisplayString(_unref(formatPrice)(Math.abs(_unref(data)?.leftToPay))), 1)\n ]),\n _createVNode(BaseButton, {\n onClick: openBasket,\n class: \"btn--secondary\",\n type: \"button\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t('booking.checkout.openBasket')), 1)\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(\"booking.refund.refundMethod.subtitle\")), 1),\n _createElementVNode(\"p\", {\n innerHTML: _ctx.$t('booking.checkout.paymentMethod.readMore')\n }, null, 8, _hoisted_10)\n ]),\n _createVNode(PaymentOptions, {\n modelValue: _unref(v$).paymentMethod.$model,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(v$).paymentMethod.$model) = $event)),\n paymentAlternatives: _unref(data)?.refundAlternatives,\n hasError: _unref(v$).paymentMethod.$error,\n reference: _unref(data).paymentReference\n }, {\n default: _withCtx(({ option }) => [\n (option.paymentMethod === 'BANK')\n ? (_openBlock(), _createBlock(BankAccountRefund, {\n key: 0,\n ref_key: \"bankRefundRef\",\n ref: bankRefundRef\n }, null, 512))\n : (option.paymentMethod === 'GIRO')\n ? (_openBlock(), _createBlock(GiroRefund, {\n key: 1,\n ref_key: \"giroRefundRef\",\n ref: giroRefundRef\n }, null, 512))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"paymentAlternatives\", \"hasError\", \"reference\"]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"p\", {\n innerHTML: _ctx.$t('booking.checkout.paymentMethod.info')\n }, null, 8, _hoisted_12)\n ])\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(BasePanel, {\n key: 2,\n alignLeft: \"\"\n }, {\n default: _withCtx(() => [\n (!isAgent.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_13, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(\"booking.checkout.paymentMethod.paid\")), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })),\n _createVNode(BasePanel, {\n alignLeft: \"\",\n hasError: _unref(v$).termsAccepted.$error\n }, {\n default: _withCtx(() => [\n _createVNode(BaseCheckbox, {\n modelValue: _unref(v$).termsAccepted.$model,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((_unref(v$).termsAccepted.$model) = $event)),\n class: \"terms\",\n id: \"terms\",\n name: \"terms\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"booking.checkout.paymentMethod.acceptTerms\")), 1),\n _createElementVNode(\"span\", {\n innerHTML: _ctx.$t('booking.checkout.paymentMethod.readTerms')\n }, null, 8, _hoisted_14)\n ]),\n _: 1\n }, 8, [\"modelValue\"])\n ]),\n _: 1\n }, 8, [\"hasError\"]),\n _createVNode(BaseMessages, {\n class: \"booking-messages\",\n messages: [...new Set(_unref(v$).$errors.map((e) => e.$message))]\n }, null, 8, [\"messages\"]),\n (errorMessage.value)\n ? (_openBlock(), _createBlock(BaseAlert, {\n key: 3,\n message: errorMessage.value,\n type: \"danger\"\n }, null, 8, [\"message\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(BookingContinue, null, {\n default: _withCtx(() => [\n _createVNode(BaseButton, { loading: _unref(isConfirming) }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(leftToPay.value > 0 && !_unref(data)?.postInvoicing ? _ctx.$t(\"booking.checkout.pay\") : _ctx.$t(\"booking.checkout.submit\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _: 1\n })\n ], 32))\n : (_openBlock(), _createBlock(BasePanel, { key: 1 }, {\n default: _withCtx(() => [\n _createVNode(BaseAlert, {\n message: (_unref(error) as Error).message,\n type: \"danger\"\n }, null, 8, [\"message\"])\n ]),\n _: 1\n }))\n ]),\n _: 1\n }, 8, [\"title\", \"subtitle\", \"infoText\"])\n ], 64))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./Checkout.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./Checkout.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./Checkout.vue?vue&type=style&index=0&id=774e3ce8&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-774e3ce8\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, createVNode as _createVNode, withCtx as _withCtx, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b365bd88\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"login-form\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = { class: \"row\" }\nconst _hoisted_5 = { class: \"col--12 col-sm--6 col-md--4\" }\nconst _hoisted_6 = { class: \"col--12 col-sm--6 col-md--3\" }\nconst _hoisted_7 = { class: \"col--12 col-md--5\" }\nconst _hoisted_8 = { class: \"button-container\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"col--12\"\n}\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport BaseMessages from \"@/components/base/BaseMessages.vue\";\r\nimport useLogin from \"@/composables/login/useLogin\";\r\nimport { numeric, required } from \"@/helpers/validators\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { reactive, ref } from \"vue\";\r\n\r\ninterface Props {\r\n title: string;\r\n subtitle?: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LoginBooking',\n props: {\n title: {},\n subtitle: {}\n },\n emits: [\"onSuccess\"],\n setup(__props: any, { emit: __emit }) {\n\r\n\r\n\r\nconst loadingForm = ref(false);\r\nconst { bookingLogin } = useLogin();\r\n\r\nconst state = reactive({\r\n bookingForm: {\r\n bookingNumber: undefined,\r\n phoneNumber: \"\",\r\n },\r\n});\r\n\r\nconst rules = {\r\n bookingForm: {\r\n phoneNumber: { required },\r\n bookingNumber: { required, numeric },\r\n },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst loginError = ref(\"\");\r\n\r\nconst emit = __emit;\r\n\r\nconst loginBooking = async () => {\r\n const isValidForm = await v$.value.bookingForm.$validate();\r\n\r\n if (!isValidForm) return;\r\n\r\n loadingForm.value = true;\r\n if (state.bookingForm.bookingNumber) {\r\n bookingLogin(state.bookingForm.bookingNumber, state.bookingForm.phoneNumber)\r\n .then((resp) => {\r\n console.log(\"emit success\");\r\n emit(\"onSuccess\", resp);\r\n })\r\n .catch((err) => {\r\n loginError.value = err.message;\r\n })\r\n .finally(() => {\r\n loadingForm.value = false;\r\n });\r\n }\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"section\", _hoisted_1, [\n (_ctx.title)\n ? (_openBlock(), _createElementBlock(\"header\", _hoisted_2, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.title), 1),\n (_ctx.subtitle)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, _toDisplayString(_ctx.subtitle), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(loginBooking, [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseInput, {\n label: _ctx.$t('login.form.ferryLogin.bookingNumber.label'),\n type: \"tel\",\n name: \"bookingnumber\",\n hasError: _unref(v$).bookingForm.bookingNumber.$error,\n errors: _unref(v$).bookingForm.bookingNumber.$errors,\n modelValue: _unref(v$).bookingForm.bookingNumber.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).bookingForm.bookingNumber.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(BaseInput, {\n label: _ctx.$t('login.form.ferryLogin.bookingNumber.phoneNumber'),\n type: \"tel\",\n name: \"phone\",\n hasError: _unref(v$).bookingForm.phoneNumber.$error,\n errors: _unref(v$).bookingForm.phoneNumber.$errors,\n modelValue: _unref(v$).bookingForm.phoneNumber.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).bookingForm.phoneNumber.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(BaseButton, {\n loading: loadingForm.value,\n disabled: loadingForm.value,\n class: \"btn--secondary btn--fixed-width\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"button.login\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ])\n ]),\n (loginError.value?.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createVNode(BaseMessages, {\n messages: [loginError.value]\n }, null, 8, [\"messages\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ], 32)\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./LoginBooking.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./LoginBooking.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./LoginBooking.vue?vue&type=style&index=0&id=b365bd88&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-b365bd88\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, normalizeProps as _normalizeProps, guardReactiveProps as _guardReactiveProps, unref as _unref, mergeProps as _mergeProps, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport { ref } from \"vue\";\r\nimport Popper from \"vue3-popper\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'BasePopper',\n setup(__props) {\n\r\nconst popperRef = ref();\r\nconst close = (event: any) => {\r\n if (event.target.classList.contains(\"popper\")) {\r\n if (popperRef.value && popperRef.value.close) {\r\n popperRef.value.close();\r\n }\r\n }\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_unref(Popper), _mergeProps({\n ref_key: \"popperRef\",\n ref: popperRef,\n onClick: close,\n class: \"popper-container\"\n }, _ctx.$attrs, { arrow: true }), {\n content: _withCtx((props) => [\n _renderSlot(_ctx.$slots, \"content\", _normalizeProps(_guardReactiveProps(props)))\n ]),\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n _: 3\n }, 16))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./BasePopper.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./BasePopper.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./BasePopper.vue?vue&type=style&index=0&id=473c8ce8&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-473c8ce8\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-8affccea\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"forgot-password\" }\n\nimport { reactive, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport { required } from \"@/helpers/validators\";\r\nimport { BaseMessageType } from \"@/models/Enums\";\r\nimport BaseMessages from \"@/components/base/BaseMessages.vue\";\r\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport BasePopper from \"@/components/base/BasePopper.vue\";\r\nimport useForgotPassword from \"@/composables/login/useForgotPassword\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LoginForgotPassword',\n setup(__props) {\n\r\nconst { sendForgotPassword, isLoading } = useForgotPassword();\r\nconst { t } = useI18n();\r\nconst success = ref();\r\nconst error = ref();\r\n\r\nconst state = reactive({\r\n email: \"\",\r\n});\r\n\r\nconst rules = {\r\n email: {\r\n required,\r\n },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state, { $stopPropagation: true });\r\n\r\nconst submitForm = async () => {\r\n v$.value.$touch();\r\n const valid = await v$.value.$validate();\r\n if (valid) {\r\n error.value = \"\";\r\n sendForgotPassword(state.email)\r\n .then(() => {\r\n success.value = t(\"login.forgotPassword.success\");\r\n })\r\n .catch(() => (error.value = t(\"login.forgotPassword.error\")));\r\n }\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BasePopper, {\n trigger: \"clickToOpen\",\n placement: \"top\"\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\")\n ]),\n content: _withCtx(() => [\n _createElementVNode(\"section\", _hoisted_1, [\n _createElementVNode(\"header\", null, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(\"login.forgotPassword.header\")), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"login.forgotPassword.body\")), 1)\n ]),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n _createVNode(BaseInput, {\n name: \"email\",\n label: \"Email\",\n type: \"email\",\n modelValue: _unref(v$).email.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).email.$model) = $event)),\n hasError: _unref(v$).email.$error\n }, null, 8, [\"modelValue\", \"hasError\"]),\n (error.value)\n ? (_openBlock(), _createBlock(BaseMessages, {\n key: 0,\n messages: [error.value],\n messageType: _unref(BaseMessageType).Error\n }, null, 8, [\"messages\", \"messageType\"]))\n : _createCommentVNode(\"\", true),\n (success.value)\n ? (_openBlock(), _createBlock(BaseMessages, {\n key: 1,\n messages: [success.value],\n messageType: _unref(BaseMessageType).Success\n }, null, 8, [\"messages\", \"messageType\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(BaseButton, {\n disabled: !!success.value,\n loading: _unref(isLoading),\n class: \"btn--primary\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"button.send\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\", \"loading\"])\n ], 32)\n ])\n ]),\n _: 3\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./LoginForgotPassword.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./LoginForgotPassword.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./LoginForgotPassword.vue?vue&type=style&index=0&id=8affccea&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-8affccea\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, withModifiers as _withModifiers, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2ed15828\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n id: \"booking-login\",\n class: \"login-form\"\n}\nconst _hoisted_2 = { class: \"form__group\" }\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col--12 col-sm--6 col-md--4\" }\nconst _hoisted_5 = { class: \"col--12 col-sm--6 col-md--3\" }\nconst _hoisted_6 = { class: \"col--12 col-md--5\" }\nconst _hoisted_7 = { class: \"button-container\" }\nconst _hoisted_8 = {\n href: \"#\",\n class: \"link\"\n}\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport { email, required } from \"@/helpers/validators\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { reactive, ref } from \"vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LoginAccomodation',\n setup(__props) {\n\r\nconst loading = ref(false);\r\n\r\nconst state = reactive({\r\n email: \"\",\r\n password: \"\",\r\n});\r\n\r\nconst rules = {\r\n email: { required, e: email },\r\n password: { required },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst submitForm = async () => {\r\n const isFormCorrect = await v$.value.$validate();\r\n if (!isFormCorrect) return;\r\n\r\n loading.value = true;\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return false\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n _createElementVNode(\"header\", null, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(\"login.form.accomodationLogin.title\")), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"login.form.accomodationLogin.subtitle\")), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseInput, {\n label: _ctx.$t('login.form.email'),\n type: \"email\",\n name: \"email\",\n hasError: _unref(v$).email.$error,\n errors: _unref(v$).email.$errors,\n modelValue: _unref(v$).email.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).email.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseInput, {\n label: _ctx.$t('login.form.password'),\n type: \"password\",\n name: \"password\",\n hasError: _unref(v$).password.$error,\n errors: _unref(v$).password.$errors,\n modelValue: _unref(v$).password.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).password.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(BaseButton, {\n loading: loading.value,\n disabled: loading.value,\n class: \"btn--primary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.login\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]),\n _createElementVNode(\"a\", _hoisted_8, _toDisplayString(_ctx.$t(\"login.form.forgottenPassword\")), 1)\n ])\n ])\n ])\n ])\n ], 32)\n ]))\n : _createCommentVNode(\"\", true)\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./LoginAccomodation.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./LoginAccomodation.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./LoginAccomodation.vue?vue&type=style&index=0&id=2ed15828&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2ed15828\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, createVNode as _createVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withModifiers as _withModifiers, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-69768484\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"form__group\" }\nconst _hoisted_2 = { class: \"row\" }\nconst _hoisted_3 = { class: \"col--12 col-sm--6 col-md--4\" }\nconst _hoisted_4 = { class: \"col--12 col-sm--6 col-md--3\" }\nconst _hoisted_5 = { class: \"col--12 col-md--5\" }\nconst _hoisted_6 = { class: \"button-container\" }\nconst _hoisted_7 = {\n href: \"#\",\n class: \"link\"\n}\nconst _hoisted_8 = {\n key: 0,\n class: \"col--12 col-sm--12 col-md--7\"\n}\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseMessages from \"@/components/base/BaseMessages.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport useLogin from \"@/composables/login/useLogin\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { required } from \"@/helpers/validators\";\r\nimport { reactive, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport LoginForgotPassword from \"./LoginForgotPassword.vue\";\r\nimport MaintenanceWrapper from \"@/components/maintenance/MaintenanceWrapper.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LoginAgent',\n setup(__props) {\n\r\nconst { agentLogin, isLoading } = useLogin();\r\nconst { t } = useI18n();\r\n\r\nconst state = reactive({\r\n userName: \"\",\r\n password: \"\",\r\n});\r\n\r\nconst rules = {\r\n userName: { required },\r\n password: { required },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst loginAgentError = ref(\"\");\r\n\r\nconst submitForm = async () => {\r\n const isFormCorrect = await v$.value.$validate();\r\n if (!isFormCorrect) return;\r\n\r\n agentLogin(state.userName, state.password, true)\r\n .then((resp) => {\r\n if (process.env.NODE_ENV === \"production\") {\r\n window.location.href = resp.url;\r\n } else {\r\n window.location.href = \"/my-pages\";\r\n }\r\n })\r\n .catch((err) => (loginAgentError.value = t(`errors.${err.response.data.code}`)));\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MaintenanceWrapper, {\n hideAnimation: \"\",\n id: \"booking-login\",\n class: \"login-form\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n _createElementVNode(\"header\", null, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(\"login.form.agentLogin.title\")), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"login.form.agentLogin.subtitle\")), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(BaseInput, {\n label: _ctx.$t('login.form.agentEmail'),\n type: \"username\",\n name: \"username\",\n hasError: _unref(v$).userName.$error,\n errors: _unref(v$).userName.$errors,\n modelValue: _unref(v$).userName.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).userName.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(BaseInput, {\n label: _ctx.$t('login.form.password'),\n type: \"password\",\n name: \"password\",\n hasError: _unref(v$).password.$error,\n errors: _unref(v$).password.$errors,\n modelValue: _unref(v$).password.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).password.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(BaseButton, {\n loading: _unref(isLoading),\n disabled: _unref(isLoading),\n class: \"btn--fixed-width btn--secondary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.login\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]),\n _createVNode(LoginForgotPassword, null, {\n default: _withCtx(() => [\n _createElementVNode(\"a\", _hoisted_7, _toDisplayString(_ctx.$t(\"login.form.forgottenPassword\")), 1)\n ]),\n _: 1\n })\n ])\n ]),\n (loginAgentError.value?.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _createVNode(BaseMessages, {\n messages: [loginAgentError.value]\n }, null, 8, [\"messages\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ], 32)\n ]),\n _: 1\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./LoginAgent.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./LoginAgent.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./LoginAgent.vue?vue&type=style&index=0&id=69768484&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-69768484\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-bbd7fb8e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"ferry-login__group\" }\nconst _hoisted_2 = { class: \"ferry-login__group\" }\nconst _hoisted_3 = { class: \"ferry-login__group\" }\nconst _hoisted_4 = { class: \"registration-link__text\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"customer-details\"\n}\n\nimport SvgIcon from \"@/components/base/SvgIcon.vue\";\r\nimport CustomerDetailsForm from \"@/components/customer/CustomerDetailsForm.vue\";\r\nimport MaintenanceWrapper from \"@/components/maintenance/MaintenanceWrapper.vue\";\r\nimport useCreateAccount from \"@/composables/login/useCreateAccount\";\r\nimport { getQueryParamValue } from \"@/helpers/urlHelper\";\r\nimport { OpenBookingResult } from \"@/models/api/OpenBookingResult\";\r\nimport { AddressInformation } from \"@/models/front/customer/AddressInformation\";\r\nimport { computed, ref } from \"vue\";\r\nimport LoginBooking from \"./LoginBooking.vue\";\r\nimport LoginUser from \"./LoginUser.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LoginFerry',\n setup(__props) {\n\r\nconst showSignUp = ref(false);\r\n\r\nconst redirectToBooking = (resp: OpenBookingResult) => {\r\n window.location.href = resp.url;\r\n};\r\n\r\nconst campaignParam = getQueryParamValue(\"campaign\");\r\nconst mmidParam = getQueryParamValue(\"mmid\");\r\nconst voucherParam = getQueryParamValue(\"voucher\");\r\n\r\nconst hasCampaignRoute = computed(()=> !!campaignParam.length || !!mmidParam.length || !!voucherParam.length)\r\n\r\nconst redirect = (url: string) => {\r\n if(hasCampaignRoute.value){\r\n window.location.reload(); \r\n }\r\n else if (process.env.NODE_ENV === \"production\") {\r\n window.location.href = url;\r\n } else {\r\n window.location.href = \"/my-pages\";\r\n }\r\n};\r\n\r\nconst { createAccount, isLoading: isCreatingCustomer, error } = useCreateAccount();\r\n\r\nconst registerCustomer = (state: AddressInformation) => {\r\n createAccount(state).then(() => {\r\n redirect(`${document.getElementById(\"login\")?.dataset.link}`);\r\n });\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MaintenanceWrapper, {\n hideAnimation: \"\",\n class: \"ferry-login\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(LoginUser, {\n force: \"\",\n title: _ctx.$t('login.form.ferryLogin.normal.title'),\n subtitle: _ctx.$t('login.form.ferryLogin.registration.subtitle'),\n onOnSuccess: redirect\n }, null, 8, [\"title\", \"subtitle\"])\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(LoginBooking, {\n title: _ctx.$t('login.form.ferryLogin.bookingNumber.title'),\n subtitle: _ctx.$t('login.form.ferryLogin.bookingNumber.subtitle'),\n onOnSuccess: redirectToBooking\n }, null, 8, [\"title\", \"subtitle\"])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"a\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (showSignUp.value = !showSignUp.value)),\n class: \"registration-link\",\n href: \"#\"\n }, [\n _createVNode(SvgIcon, { icon: \"booking/avatar\" }),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(\"login.form.ferryLogin.registration.title\")), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"login.form.ferryLogin.registration.subtitle\")), 1)\n ])\n ]),\n (showSignUp.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createVNode(CustomerDetailsForm, {\n onSubmit: registerCustomer,\n includeIslander: \"\",\n includePassword: \"\",\n error: _unref(error),\n isLoading: _unref(isCreatingCustomer)\n }, null, 8, [\"error\", \"isLoading\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./LoginFerry.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./LoginFerry.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./LoginFerry.vue?vue&type=style&index=0&id=bbd7fb8e&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-bbd7fb8e\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-8858da7e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"href\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_SvgIcon = _resolveComponent(\"SvgIcon\")!\n\n return (_openBlock(), _createElementBlock(\"a\", {\n href: _ctx.linkUrl,\n class: _normalizeClass([\"tab\", { active: _ctx.active }])\n }, [\n _createVNode(_component_SvgIcon, { icon: _ctx.icon }, null, 8, [\"icon\"]),\n _createElementVNode(\"h3\", null, _toDisplayString(_ctx.title), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.subtitle), 1)\n ], 10, _hoisted_1))\n}","\r\n\r\n\r\n\r\n","import { render } from \"./LoginTab.vue?vue&type=template&id=8858da7e&scoped=true&ts=true\"\nimport script from \"./LoginTab.vue?vue&type=script&lang=ts\"\nexport * from \"./LoginTab.vue?vue&type=script&lang=ts\"\n\nimport \"./LoginTab.vue?vue&type=style&index=0&id=8858da7e&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-8858da7e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, resolveDynamicComponent as _resolveDynamicComponent, openBlock as _openBlock, createBlock as _createBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4278a162\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"login-container\" }\nconst _hoisted_2 = { class: \"login__tabs\" }\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col--6 col-sm--4\" }\nconst _hoisted_5 = { class: \"col--6 col-sm--4\" }\nconst _hoisted_6 = { class: \"col--6 col-sm--4 d--none d-sm--block\" }\nconst _hoisted_7 = { class: \"login__content\" }\nconst _hoisted_8 = { class: \"booking\" }\n\nimport { ref } from \"vue\";\r\nimport LoginAccomodation from \"./LoginAccomodation.vue\";\r\nimport LoginAgent from \"./LoginAgent.vue\";\r\nimport LoginFerry from \"./LoginFerry.vue\";\r\nimport LoginTab from \"./LoginTab.vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LoginForm',\n setup(__props) {\n\r\nconst components = { LoginFerry, LoginAgent, LoginAccomodation };\r\nconst activeComponent = ref(\"LoginFerry\");\r\n\r\nconst accommodationLoginUrl = ref(`${document.getElementById(\"login\")?.dataset.linkAccommodation}`);\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createVNode(LoginTab, {\n title: _ctx.$t('login.form.ferryLogin.tab.title'),\n subtitle: _ctx.$t('login.form.ferryLogin.tab.subtitle'),\n active: activeComponent.value === 'LoginFerry',\n icon: 'booking/ferry',\n onClick: _cache[0] || (_cache[0] = ($event: any) => (activeComponent.value = 'LoginFerry'))\n }, null, 8, [\"title\", \"subtitle\", \"active\"])\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(LoginTab, {\n title: _ctx.$t('login.form.agentLogin.tab.title'),\n subtitle: _ctx.$t('login.form.agentLogin.tab.subtitle'),\n active: activeComponent.value === 'LoginAgent',\n icon: 'booking/avatars',\n onClick: _cache[1] || (_cache[1] = ($event: any) => (activeComponent.value = 'LoginAgent'))\n }, null, 8, [\"title\", \"subtitle\", \"active\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(LoginTab, {\n class: \"accomodation\",\n title: _ctx.$t('login.form.accomodationLogin.tab.title'),\n subtitle: _ctx.$t('login.form.accomodationLogin.tab.subtitle'),\n active: activeComponent.value === 'LoginAccomodation',\n icon: 'booking/bed',\n onClick: _cache[2] || (_cache[2] = ($event: any) => (activeComponent.value = 'LoginAccomodation')),\n linkUrl: accommodationLoginUrl.value\n }, null, 8, [\"title\", \"subtitle\", \"active\", \"linkUrl\"])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n (_openBlock(), _createBlock(_resolveDynamicComponent((components as any)[activeComponent.value])))\n ])\n ])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./LoginForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LoginForm.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./LoginForm.vue?vue&type=style&index=0&id=4278a162&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4278a162\"]])\n\nexport default __exports__","import { ref } from \"vue\";\r\nimport useApi from \"../useApi\";\r\n\r\ntype IslanderVerificationRequest = {\r\n id: string;\r\n number: string;\r\n notIslander?: boolean;\r\n}\r\n\r\ntype IslanderVerificationResponse = {\r\n isIslander: boolean;\r\n}\r\n\r\nconst useIslanderVerification = () => {\r\n const { post } = useApi();\r\n const isLoading = ref(false);\r\n\r\n const verifyIslander = (req: IslanderVerificationRequest): Promise => {\r\n isLoading.value = true;\r\n return post('customer/islander/verify', req)\r\n .then((resp) => resp.data).finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n return {\r\n verifyIslander,\r\n isLoading\r\n }\r\n}\r\n\r\nexport default useIslanderVerification;","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, normalizeClass as _normalizeClass, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-4b552802\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"verify-islander__info\"\n}\nconst _hoisted_2 = [\"innerHTML\"]\nconst _hoisted_3 = {\n key: 1,\n class: \"verify-islander__info\"\n}\nconst _hoisted_4 = [\"innerHTML\"]\nconst _hoisted_5 = { class: \"verify-islander__info\" }\nconst _hoisted_6 = [\"innerHTML\"]\nconst _hoisted_7 = { class: \"verify-islander__field\" }\nconst _hoisted_8 = {\n key: 0,\n class: \"verify-islander__error\"\n}\nconst _hoisted_9 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"hr\", null, null, -1))\nconst _hoisted_10 = { class: \"verify-islander__info\" }\nconst _hoisted_11 = [\"innerHTML\"]\nconst _hoisted_12 = { class: \"not-islander\" }\nconst _hoisted_13 = { class: \"radios\" }\n\nimport BaseRadio from \"@/components/base/BaseRadio.vue\";\r\nimport useIslanderVerification from \"@/composables/login/useIslanderVerification\";\r\nimport { BaseMessageType } from \"@/models/Enums\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { computed, reactive, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport BaseButton from \"~/components/base/BaseButton.vue\";\r\nimport BaseInput from \"~/components/base/BaseInput.vue\";\r\nimport BaseMessages from \"~/components/base/BaseMessages.vue\";\r\nimport SvgIcon from \"~/components/base/SvgIcon.vue\";\r\n\r\ninterface Props {\r\n id: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'VerifyIslander',\n props: {\n id: {}\n },\n emits: [\"login\", \"success\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst state = reactive({\r\n ssn: \"\",\r\n notIslander: false,\r\n});\r\n\r\nconst rules = {\r\n ssn: {\r\n v: (val: string) => val.length === 12 || state.notIslander,\r\n },\r\n notIslander: {},\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst { verifyIslander, isLoading } = useIslanderVerification();\r\nconst verificationStatus = ref<\"\" | \"success\" | \"error\" | \"verificationError\" | \"successNotIslander\">(\"\");\r\n\r\nconst verify = async () => {\r\n const isValid = await v$.value.$validate();\r\n if (!isValid) return;\r\n\r\n verificationStatus.value = \"\";\r\n\r\n const req = {\r\n id: props.id,\r\n number: state.ssn !== \"\" ? state.ssn : \"0\",\r\n notIslander: state.notIslander,\r\n };\r\n\r\n verifyIslander(req)\r\n .then((resp) => {\r\n emit(\"success\");\r\n if (resp.isIslander) {\r\n verificationStatus.value = \"success\";\r\n } else {\r\n verificationStatus.value = \"successNotIslander\";\r\n }\r\n })\r\n .catch((err) => {\r\n if (err.response.status === 400) {\r\n verificationStatus.value = \"verificationError\";\r\n } else {\r\n verificationStatus.value = \"error\";\r\n }\r\n });\r\n};\r\n\r\nconst { t } = useI18n();\r\nconst errorMessages = computed(() => {\r\n switch (verificationStatus.value) {\r\n case \"verificationError\":\r\n return [t(\"islander.verify.error\")];\r\n case \"error\":\r\n return [t(\"errors.0\")];\r\n default:\r\n return [];\r\n }\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"form\", {\n onSubmit: _withModifiers(verify, [\"prevent\"]),\n class: \"verify-islander\"\n }, [\n (verificationStatus.value === 'success' || verificationStatus.value === 'successNotIslander')\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n (verificationStatus.value === 'success')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(SvgIcon, {\n class: \"success\",\n icon: \"checkmark\"\n }),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", {\n innerHTML: _ctx.$t('islander.verify.success')\n }, null, 8, _hoisted_2),\n _createElementVNode(\"a\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emit('login')))\n }, _toDisplayString(_ctx.$t(\"islander.verify.continueToLogin\")), 1)\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createVNode(SvgIcon, {\n class: \"success\",\n icon: \"checkmark\"\n }),\n _createElementVNode(\"div\", null, [\n _createElementVNode(\"span\", {\n innerHTML: _ctx.$t('islander.verify.successNotIslander')\n }, null, 8, _hoisted_4),\n _createElementVNode(\"a\", {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (emit('login')))\n }, _toDisplayString(_ctx.$t(\"islander.verify.continueToLogin\")), 1)\n ])\n ]))\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"form\", { disabled: state.notIslander }])\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(SvgIcon, { icon: 'booking/info' }),\n _createElementVNode(\"p\", {\n innerHTML: _ctx.$t('islander.verify.description')\n }, null, 8, _hoisted_6)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createVNode(BaseInput, {\n class: \"verify-islander__input\",\n name: 'personalNumber',\n label: _ctx.$t('islander.verify.number.label'),\n placeholder: _ctx.$t('islander.verify.number.placeholder'),\n hasError: _unref(v$).ssn.$error,\n modelValue: _unref(v$).ssn.$model,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_unref(v$).ssn.$model) = $event)),\n mask: \"############\"\n }, null, 8, [\"label\", \"placeholder\", \"hasError\", \"modelValue\"]),\n _createVNode(BaseButton, {\n type: \"submit\",\n class: \"btn--fixed-width\",\n loading: _unref(isLoading)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.verify\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n (errorMessages.value.length)\n ? (_openBlock(), _createBlock(BaseMessages, {\n key: 0,\n messages: errorMessages.value,\n messageType: _unref(BaseMessageType).Error\n }, null, 8, [\"messages\", \"messageType\"]))\n : _createCommentVNode(\"\", true)\n ], 2),\n (verificationStatus.value === 'verificationError' && !_unref(isLoading))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_8, [\n _hoisted_9,\n _createElementVNode(\"div\", _hoisted_10, [\n _createVNode(SvgIcon, { icon: 'booking/info' }),\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.$t(\"islander.verify.changeStatus.title\")), 1)\n ]),\n _createElementVNode(\"p\", {\n innerHTML: _ctx.$t('islander.verify.changeStatus.description')\n }, null, 8, _hoisted_11),\n _createElementVNode(\"div\", _hoisted_12, [\n _createElementVNode(\"div\", _hoisted_13, [\n _createVNode(BaseRadio, {\n modelValue: _unref(v$).notIslander.$model,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_unref(v$).notIslander.$model) = $event)),\n label: _ctx.$t('islander.verify.changeStatus.isIslander'),\n name: \"notIslander\",\n id: \"notIslander\",\n value: false\n }, null, 8, [\"modelValue\", \"label\"]),\n _createVNode(BaseRadio, {\n modelValue: _unref(v$).notIslander.$model,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((_unref(v$).notIslander.$model) = $event)),\n label: _ctx.$t('islander.verify.changeStatus.notIslander'),\n name: \"notIslander\",\n id: \"isIslander\",\n value: true\n }, null, 8, [\"modelValue\", \"label\"])\n ]),\n (state.notIslander)\n ? (_openBlock(), _createBlock(BaseButton, {\n key: 0,\n class: \"btn--fixed-width\",\n type: \"submit\",\n loading: _unref(isLoading)\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.confirm\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n ], 32))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import script from \"./VerifyIslander.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./VerifyIslander.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./VerifyIslander.vue?vue&type=style&index=0&id=4b552802&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4b552802\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, createVNode as _createVNode, withCtx as _withCtx, withModifiers as _withModifiers, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-5b7d0c70\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"login-form\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = { class: \"row\" }\nconst _hoisted_5 = { class: \"col--12 col-sm--6 col-md--4\" }\nconst _hoisted_6 = { class: \"col--12 col-sm--6 col-md--3\" }\nconst _hoisted_7 = { class: \"col--12 col-md--5\" }\nconst _hoisted_8 = { class: \"button-container\" }\nconst _hoisted_9 = { class: \"link\" }\nconst _hoisted_10 = {\n key: 0,\n class: \"col--12\"\n}\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseInput from \"@/components/base/BaseInput.vue\";\r\nimport BaseMessages from \"@/components/base/BaseMessages.vue\";\r\nimport useLogin from \"@/composables/login/useLogin\";\r\nimport { required } from \"@/helpers/validators\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { computed, reactive, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport LoginForgotPassword from \"./LoginForgotPassword.vue\";\r\nimport VerifyIslander from \"./VerifyIslander.vue\";\r\nimport useDialog from \"@/composables/useDialog\";\r\nimport { DialogType } from \"@/models/Symbols/Dialog\";\r\n\r\ninterface Props {\r\n title: string;\r\n subtitle?: string;\r\n force?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'LoginUser',\n props: {\n title: {},\n subtitle: {},\n force: { type: Boolean }\n },\n emits: [\"onSuccess\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst loadingForm = ref(false);\r\nconst { customerLogin } = useLogin();\r\nconst { t } = useI18n();\r\n\r\nconst state = reactive({\r\n userForm: {\r\n userName: \"\",\r\n password: \"\",\r\n },\r\n});\r\n\r\nconst rules = {\r\n userForm: {\r\n userName: { required },\r\n password: { required },\r\n },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst loginError = ref(\"\");\r\n\r\nconst emit = __emit;\r\n\r\nconst { displayDialog } = useDialog();\r\n\r\nconst onBookingReset = (url: string, isIslander: boolean) => {\r\n const message = isIslander ? t(\"messages.bookingResetIslander.body\") : t(\"messages.bookingResetCardCustomer.body\");\r\n const title = isIslander ? t(\"messages.bookingResetIslander.title\") : t(\"messages.bookingResetCardCustomer.title\");\r\n displayDialog({\r\n message,\r\n title,\r\n type: DialogType.redirect,\r\n yes: t(\"button.ok\"),\r\n callback: () => {\r\n if (process.env.NODE_ENV === \"production\") {\r\n window.location.href = url;\r\n } else {\r\n window.location.href = \"/my-pages\";\r\n }\r\n },\r\n });\r\n};\r\n\r\nconst islanderVerificationId = ref(\"\");\r\nconst verificationDone = ref(false);\r\n\r\nconst verificationActive = computed(() => (!!islanderVerificationId.value ? !verificationDone.value : false));\r\n\r\nconst loginUser = async () => {\r\n const isFormCorrect = await v$.value.userForm.$validate();\r\n if (!isFormCorrect) return;\r\n\r\n loadingForm.value = true;\r\n islanderVerificationId.value = \"\";\r\n customerLogin(state.userForm.userName, state.userForm.password, props.force ?? false)\r\n .then((resp) => {\r\n if (resp.status === 202) {\r\n onBookingReset(resp.data.url, resp.data.customer.isIslander);\r\n } else {\r\n emit(\"onSuccess\", resp.data.url);\r\n }\r\n })\r\n .catch((err) => {\r\n if (err.response?.data?.errorCode === 11005) {\r\n islanderVerificationId.value = err.response?.data?.id;\r\n } else {\r\n loginError.value = t(`errors.${err.response.data.errorCode}`);\r\n }\r\n })\r\n .finally(() => (loadingForm.value = false));\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"section\", _hoisted_1, [\n (_ctx.title)\n ? (_openBlock(), _createElementBlock(\"header\", _hoisted_2, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.title), 1),\n (_ctx.subtitle)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, _toDisplayString(_ctx.subtitle), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(loginUser, [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseInput, {\n label: _ctx.$t('login.form.email'),\n type: \"username\",\n name: \"username\",\n hasError: _unref(v$).userForm.userName.$error,\n errors: _unref(v$).userForm.userName.$errors,\n modelValue: _unref(v$).userForm.userName.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).userForm.userName.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(BaseInput, {\n label: _ctx.$t('login.form.password'),\n type: \"password\",\n name: \"password\",\n hasError: _unref(v$).userForm.password.$error,\n errors: _unref(v$).userForm.password.$errors,\n modelValue: _unref(v$).userForm.password.$model,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(v$).userForm.password.$model) = $event)),\n modelModifiers: { trim: true }\n }, null, 8, [\"label\", \"hasError\", \"errors\", \"modelValue\"])\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(BaseButton, {\n loading: loadingForm.value,\n disabled: loadingForm.value || verificationActive.value,\n class: \"btn--secondary btn--fixed-width\",\n type: \"submit\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"button.login\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"]),\n _createVNode(LoginForgotPassword, null, {\n default: _withCtx(() => [\n _createElementVNode(\"a\", _hoisted_9, _toDisplayString(_ctx.$t(\"login.form.forgottenPassword\")), 1)\n ]),\n _: 1\n })\n ])\n ]),\n (loginError.value?.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n _createVNode(BaseMessages, {\n messages: [loginError.value]\n }, null, 8, [\"messages\"])\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ], 32),\n (islanderVerificationId.value)\n ? (_openBlock(), _createBlock(VerifyIslander, {\n key: 1,\n onSuccess: _cache[2] || (_cache[2] = ($event: any) => (verificationDone.value = true)),\n onLogin: loginUser,\n class: \"islander-verification\",\n id: islanderVerificationId.value\n }, null, 8, [\"id\"]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./LoginUser.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./LoginUser.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./LoginUser.vue?vue&type=style&index=0&id=5b7d0c70&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-5b7d0c70\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createVNode as _createVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-34324e97\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"card-info__amounts\"\n}\nconst _hoisted_2 = { class: \"card-info__amounts-balance\" }\nconst _hoisted_3 = { class: \"card-info__amounts-leftToPay\" }\nconst _hoisted_4 = { class: \"card-info__amounts-paid\" }\nconst _hoisted_5 = {\n key: 1,\n class: \"card-info__expiration-loading\"\n}\nconst _hoisted_6 = {\n key: 2,\n class: \"card-info__expiration\"\n}\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = { key: 1 }\nconst _hoisted_9 = { key: 2 }\n\nimport BaseSpinner from \"@/components/base/BaseSpinner.vue\";\r\nimport { YYYYMMDD } from \"@/helpers/dateHelpers\";\r\nimport useCustomerCardsQuery from \"@/modules/MyPages/composables/useCustomerCardsQuery\";\r\n\r\ninterface Props {\r\n centered?: boolean;\r\n hideBalance?: boolean;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'CustomerCardInfo',\n props: {\n centered: { type: Boolean },\n hideBalance: { type: Boolean }\n },\n setup(__props: any) {\n\r\n\r\n\r\nconst { data, isLoading } = useCustomerCardsQuery();\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"card-info\", { 'card-info--center': _ctx.centered }])\n }, [\n (!_ctx.hideBalance && _unref(data)?.travelCard.balance !== null)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.$t(\"myPages.commuter.currentBalance\")), 1),\n _createElementVNode(\"b\", null, _toDisplayString(_unref(data)?.travelCard.balance) + \":- \", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"myPages.commuter.notPayed\")), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_unref(data)?.leftToPay) + \":- \", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"myPages.commuter.paid\")), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_unref(data)?.paid) + \":-\", 1)\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(isLoading))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", null, [\n _createVNode(BaseSpinner, { color: \"dark\" })\n ])\n ]))\n : (_unref(data)?.travelCard)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.commuter.cardExpiration\")) + \" \", 1),\n (_unref(data)?.travelCard.validTo && _unref(data)?.travelCard.validTo < new Date())\n ? (_openBlock(), _createElementBlock(\"b\", _hoisted_7, _toDisplayString(_ctx.$t(\"myPages.commuter.cardExpired\")), 1))\n : (_unref(data)?.travelCard.validTo)\n ? (_openBlock(), _createElementBlock(\"b\", _hoisted_8, _toDisplayString(_unref(YYYYMMDD)(_unref(data)?.travelCard.validTo)), 1))\n : (_openBlock(), _createElementBlock(\"b\", _hoisted_9, _toDisplayString(_ctx.$t('myPages.commuter.cardActivating')), 1))\n ]))\n : _createCommentVNode(\"\", true)\n ], 2))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./CustomerCardInfo.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CustomerCardInfo.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CustomerCardInfo.vue?vue&type=style&index=0&id=34324e97&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-34324e97\"]])\n\nexport default __exports__","\r\n\r\n\r\n\r\n","import { render } from \"./MyBookingBox.vue?vue&type=template&id=283f0a27\"\nconst script = {}\n\nimport \"./MyBookingBox.vue?vue&type=style&index=0&id=283f0a27&lang=scss\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, withCtx as _withCtx, withModifiers as _withModifiers, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseDropdown from \"@/components/base/BaseDropdown.vue\";\r\nimport { MyBooking } from \"@/models/front/customer/MyBooking\";\r\nimport { ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport useOpenBooking from \"../../composables/useOpenBooking\";\r\nimport MyBookingBox from \"./MyBookingBox.vue\";\r\nimport useBookingNavigation from \"@/modules/BookingFlow/composables/useBookingNavigation\";\r\nimport { computed } from \"vue\";\r\n\r\ninterface Props {\r\n booking: MyBooking;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyBookingAmend',\n props: {\n booking: {}\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst { t } = useI18n();\r\n\r\nconst { steps } = useBookingNavigation();\r\n\r\nconst options = computed(() =>\r\n steps.value.map((v) => ({\r\n label: `${t(\"booking.steps.title\")} ${v.number} - ${v.title}`,\r\n value: v.number,\r\n }))\r\n);\r\n\r\nconst selectedOption = ref(1);\r\n\r\nconst { isLoading, openBooking } = useOpenBooking();\r\n\r\nconst submitForm = () => {\r\n openBooking(props.booking.accessToken, \"Amend\").then((resp) => {\r\n if (process.env.NODE_ENV === \"production\") {\r\n window.location.href = `${resp.url}?s=${selectedOption.value}`;\r\n } else {\r\n window.location.href = `/?s=${selectedOption.value}`;\r\n }\r\n });\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MyBookingBox, { class: \"booking-amend\" }, {\n header: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.myBookingAmend.subtitle\")), 1)\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n _createVNode(BaseDropdown, {\n class: \"booking-amend__dropdown\",\n name: \"s\",\n modelValue: selectedOption.value,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((selectedOption).value = $event)),\n options: options.value\n }, null, 8, [\"modelValue\", \"options\"]),\n _createVNode(BaseButton, {\n class: \"btn--primary\",\n loading: _unref(isLoading)\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.$t(\"booking.steps.title\")) + \" \" + _toDisplayString(selectedOption.value), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ], 32)\n ]),\n _: 1\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyBookingAmend.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyBookingAmend.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyBookingAmend.vue?vue&type=style&index=0&id=56dcf2c7&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-56dcf2c7\"]])\n\nexport default __exports__","import { CancelBookingResultDto } from \"@/models/api/CancelBookingResultDto\";\r\nimport { PaymentAlternative, mapFromRefundAlternativeResponse } from \"../PaymentAlternative\";\r\nimport { BasketSection, mapFromBasketSectionResponse } from \"../basket/BasketGroup\";\r\n\r\nexport class CancelBookingResult {\r\n bookingNumber: number;\r\n sections: BasketSection[];\r\n paid: number;\r\n cancellationFee: number;\r\n refund: number;\r\n paymentAlternatives: PaymentAlternative[];\r\n paymentReference: string;\r\n\r\n constructor(resp: CancelBookingResultDto) {\r\n this.bookingNumber = resp.bookingNumber;\r\n this.paid = resp.paid;\r\n this.refund = resp.refund;\r\n this.cancellationFee = resp.cancellationFee;\r\n this.sections = resp.cancellationBookingSections.map((s) => ({\r\n ...mapFromBasketSectionResponse(s),\r\n isCancelled: true,\r\n }));\r\n\r\n this.paymentAlternatives = resp.refundAlternatives.map((r) => mapFromRefundAlternativeResponse(r));\r\n this.paymentReference = resp.paymentReference;\r\n }\r\n}\r\n","import useApi from \"@/composables/useApi\";\r\nimport { AllRoutesCode } from \"@/models/Constants\";\r\nimport { CancelBookingResultDto } from \"@/models/api/CancelBookingResultDto\";\r\nimport { CancelBookingResult } from \"@/models/front/cancelBooking/CancelBookingResult\";\r\nimport { MyBooking } from \"@/models/front/customer/MyBooking\";\r\nimport { ref } from \"vue\";\r\nimport { useQueryClient } from \"vue-query\";\r\n\r\nexport type RefundParam = {\r\n refundMethod: string;\r\n bank?: string;\r\n accountNumber?: string;\r\n accountHolder?: string;\r\n clearingNumber?: string;\r\n name?: string;\r\n giro?: string;\r\n};\r\n\r\nconst useCancelBooking = (accessToken: string, route: string) => {\r\n const booking = ref();\r\n const isLoading = ref(false);\r\n const isConfirming = ref(false);\r\n const data = ref();\r\n const error = ref(\"\");\r\n\r\n const routeToCancel = route === AllRoutesCode ? undefined : route;\r\n\r\n const queryClient = useQueryClient();\r\n\r\n const { post } = useApi();\r\n\r\n const prepareForCancellation = () => {\r\n isLoading.value = true;\r\n\r\n return post(`booking/cancel/prepare`, {\r\n accessToken,\r\n route: routeToCancel,\r\n })\r\n .then((resp) => {\r\n data.value = new CancelBookingResult(resp.data);\r\n return data.value;\r\n })\r\n .catch((err) => {\r\n error.value = err.message;\r\n })\r\n .finally(() => {\r\n isLoading.value = false;\r\n });\r\n };\r\n\r\n const confirmCancellation = (refund: RefundParam) => {\r\n isConfirming.value = true;\r\n return post(\"booking/cancel/confirm\", {\r\n accessToken,\r\n route: routeToCancel,\r\n refund,\r\n })\r\n .then(() => {\r\n // If we update straight away the lightbox will be closed too fast\r\n setTimeout(() => {\r\n queryClient.invalidateQueries(\"myBookings\");\r\n }, 2500);\r\n })\r\n .catch((err) => {\r\n error.value = err.message;\r\n return Promise.reject();\r\n })\r\n .finally(() => {\r\n isConfirming.value = false;\r\n });\r\n };\r\n\r\n return {\r\n prepareForCancellation,\r\n confirmCancellation,\r\n booking,\r\n isLoading,\r\n isConfirming,\r\n data,\r\n error,\r\n };\r\n};\r\n\r\nexport default useCancelBooking;\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, withCtx as _withCtx, createBlock as _createBlock, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7397a9f1\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"cancellation\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"success\"\n}\nconst _hoisted_3 = {\n key: 1,\n class: \"cancellation__loading\"\n}\nconst _hoisted_4 = {\n key: 2,\n class: \"cancellation__sections\"\n}\nconst _hoisted_5 = { class: \"type\" }\nconst _hoisted_6 = { class: \"summary\" }\nconst _hoisted_7 = { class: \"summary__paid\" }\nconst _hoisted_8 = { class: \"summary__fees\" }\nconst _hoisted_9 = { class: \"summary__refund\" }\nconst _hoisted_10 = { key: 0 }\n\nimport BaseAlert from \"@/components/base/BaseAlert.vue\";\r\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseMessages from \"@/components/base/BaseMessages.vue\";\r\nimport BaseSpinner from \"@/components/base/BaseSpinner.vue\";\r\nimport BasketGroup from \"@/components/basket/BasketGroup.vue\";\r\nimport PaymentOptions from \"@/components/payment/PaymentOptions.vue\";\r\nimport BankAccountRefund from \"@/components/refund/BankAccountRefund.vue\";\r\nimport GiroRefund from \"@/components/refund/GiroRefund.vue\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { helpers } from \"@vuelidate/validators\";\r\nimport { reactive, ref, watch, computed } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport useCancelBooking from \"../../composables/useCancelBooking\";\r\n\r\ninterface Props {\r\n accessToken: string;\r\n route: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyBookingCancelLightbox',\n props: {\n accessToken: {},\n route: {}\n },\n emits: [\"close\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst { t } = useI18n();\r\n\r\nconst state = reactive({\r\n paymentMethod: \"\",\r\n});\r\n\r\nconst rules = {\r\n paymentMethod: {\r\n v: helpers.withMessage(\r\n () => t(\"validations.paymentMethodRequired\"),\r\n (val: string) => !!val || data.value?.refund === 0\r\n ),\r\n },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\n\r\nconst { prepareForCancellation, confirmCancellation, data, isLoading, isConfirming, error } = useCancelBooking(props.accessToken, props.route);\r\n\r\nconst isTravelCardRefund = ref(false);\r\n\r\nprepareForCancellation().then((resp) => {\r\n if (resp) {\r\n isTravelCardRefund.value = resp.refund < 0 && resp.paymentAlternatives.every((pa) => pa.id === \"RK\");\r\n \r\n if (isTravelCardRefund.value) {\r\n state.paymentMethod = \"RK\";\r\n }\r\n }\r\n});\r\n\r\nconst paymentAlternatives = computed(() => data.value?.paymentAlternatives?.filter((p) => p.id !== \"RK\") ?? []);\r\n\r\nwatch(data, () => {\r\n v$.value.$reset();\r\n});\r\n\r\nconst success = ref(false);\r\n\r\nconst bankRefundRef = ref();\r\nconst giroRefundRef = ref();\r\n\r\nconst cancelConfirmed = ref(false);\r\n\r\nconst confirm = async () => {\r\n const isValid = await v$.value.$validate();\r\n if (!isValid) return;\r\n\r\n let params = {};\r\n if (bankRefundRef.value) {\r\n params = bankRefundRef.value.state;\r\n }\r\n\r\n if (giroRefundRef.value) {\r\n params = giroRefundRef.value.state;\r\n }\r\n\r\n confirmCancellation({\r\n refundMethod: state.paymentMethod,\r\n ...params,\r\n })\r\n .then(() => {\r\n success.value = true;\r\n setTimeout(() => {\r\n emit(\"close\");\r\n }, 2000);\r\n })\r\n .finally(() => {\r\n cancelConfirmed.value = true;\r\n });\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (success.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(BaseAlert, {\n type: \"success\",\n message: _ctx.$t('myPages.myBookingCancel.bookingCancelled')\n }, null, 8, [\"message\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(isLoading))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createVNode(BaseSpinner, { color: \"dark\" })\n ]))\n : (_unref(data))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(data).sections, (section) => {\n return (_openBlock(), _createBlock(BasketGroup, {\n key: section.route,\n section: section,\n condensed: \"\",\n class: _normalizeClass({ 'cancelled-route': section.isCancelled })\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\"cancellation-section\", { danger: section.flexibility.isRefundable === false }])\n }, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"strong\", null, _toDisplayString(section.flexibility.name), 1),\n (section.isCancelled)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(\" - \" + _toDisplayString(section.flexibility.isRefundable ? _ctx.$t(\"myPages.myBookingCancel.refund\") : _ctx.$t(\"myPages.myBookingCancel.noRefund\")), 1)\n ], 64))\n : _createCommentVNode(\"\", true)\n ])\n ], 2)\n ]),\n _: 2\n }, 1032, [\"section\", \"class\"]))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.myBookingCancel.amountPaid\")) + \" \", 1),\n _createElementVNode(\"strong\", null, _toDisplayString(_unref(data).paid) + \":-\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.myBookingCancel.amountFees\")) + \" \", 1),\n _createElementVNode(\"strong\", null, _toDisplayString(_unref(data).cancellationFee) + \":-\", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.myBookingCancel.amountRefunded\")) + \" \", 1),\n _createElementVNode(\"strong\", null, _toDisplayString(Math.abs(_unref(data).refund)) + \":-\", 1)\n ])\n ]),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(confirm, [\"prevent\"])\n }, [\n (isTravelCardRefund.value)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_10, _toDisplayString(_ctx.$t(\"myPages.myBookingCancel.refundToCard\")), 1))\n : (_unref(data).refund < 0 && paymentAlternatives.value.length)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"myPages.myBookingCancel.alternatives\")), 1),\n _createVNode(PaymentOptions, {\n class: \"payment-options\",\n modelValue: _unref(v$).paymentMethod.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).paymentMethod.$model) = $event)),\n hasError: _unref(v$).paymentMethod.$error,\n paymentAlternatives: _unref(data).paymentAlternatives,\n reference: _unref(data).paymentReference\n }, {\n default: _withCtx(({ option }) => [\n (option.paymentMethod === 'BANK')\n ? (_openBlock(), _createBlock(BankAccountRefund, {\n key: 0,\n ref_key: \"bankRefundRef\",\n ref: bankRefundRef\n }, null, 512))\n : (option.paymentMethod === 'GIRO')\n ? (_openBlock(), _createBlock(GiroRefund, {\n key: 1,\n ref_key: \"giroRefundRef\",\n ref: giroRefundRef\n }, null, 512))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"modelValue\", \"hasError\", \"paymentAlternatives\", \"reference\"])\n ], 64))\n : _createCommentVNode(\"\", true),\n _createVNode(BaseMessages, {\n messages: [...new Set(_unref(v$).$errors.map((e) => e.$message))]\n }, null, 8, [\"messages\"]),\n _createVNode(BaseButton, {\n loading: _unref(isConfirming),\n disabled: cancelConfirmed.value,\n class: \"btn--fixed-width confirm\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.myBookingCancel.confirmCancel\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\", \"disabled\"])\n ], 32)\n ]))\n : _createCommentVNode(\"\", true),\n (_unref(error))\n ? (_openBlock(), _createBlock(BaseAlert, {\n key: 3,\n type: \"danger\",\n message: _unref(error)\n }, null, 8, [\"message\"]))\n : _createCommentVNode(\"\", true),\n _createVNode(BaseButton, {\n class: \"btn--link cancel\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (emit('close')))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.myBookingCancel.abortCancellation\")), 1)\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyBookingCancelLightbox.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyBookingCancelLightbox.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyBookingCancelLightbox.vue?vue&type=style&index=0&id=7397a9f1&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7397a9f1\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, unref as _unref, createBlock as _createBlock, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, withModifiers as _withModifiers, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-08f55ee8\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"options\" }\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseLightbox from \"@/components/base/BaseLightbox.vue\";\r\nimport BaseRadio from \"@/components/base/BaseRadio.vue\";\r\nimport { AllRoutesCode } from \"@/models/Constants\";\r\nimport { OptionItem } from \"@/models/OptionItem\";\r\nimport { MyBooking } from \"@/models/front/customer/MyBooking\";\r\nimport useVuelidate from \"@vuelidate/core\";\r\nimport { computed, reactive, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport MyBookingBox from \"./MyBookingBox.vue\";\r\nimport MyBookingCancelLightbox from \"./MyBookingCancelLightbox.vue\";\r\nimport useUnloadBookings from \"@/composables/useUnloadBookings\";\r\n\r\ninterface Props {\r\n booking: MyBooking;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyBookingCancel',\n props: {\n booking: {}\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst { t } = useI18n();\r\n\r\nconst options = computed(() => {\r\n const getOptionLabel = (index: number) => {\r\n return index == 0 ? t(\"myPages.myBookingCancel.cancelTrip\") : t(\"myPages.myBookingCancel.cancelReturnTrip\");\r\n };\r\n\r\n const options: (OptionItem & { disabled: boolean })[] = [];\r\n\r\n if (props.booking.sections.length > 1) {\r\n options.push(\r\n ...props.booking.sections.map((s, i) => ({\r\n value: s.route,\r\n label: getOptionLabel(i),\r\n disabled: s.isLocked ?? false,\r\n }))\r\n );\r\n }\r\n\r\n if (!props.booking.sections.some((s) => s.isLocked)) {\r\n options.push({\r\n value: AllRoutesCode,\r\n label: t(\"myPages.myBookingCancel.cancelRoundTrip\"),\r\n disabled: false,\r\n });\r\n }\r\n\r\n return options;\r\n});\r\n\r\nconst state = reactive({\r\n action: \"\",\r\n});\r\nconst rules = {\r\n action: {\r\n v: (value: string) => !!value,\r\n },\r\n};\r\n\r\nconst v$ = useVuelidate(rules, state);\r\nconst show = ref(false);\r\n\r\nconst openLightbox = () => {\r\n show.value = true;\r\n};\r\n\r\nconst submitForm = async () => {\r\n const isFormCorrect = await v$.value.$validate();\r\n if (!isFormCorrect) return;\r\n\r\n show.value = true;\r\n};\r\n\r\nconst { unload } = useUnloadBookings(false);\r\n\r\nconst onLightboxClosed = () => {\r\n unload();\r\n show.value = false;\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MyBookingBox, { class: \"booking-cancel\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"myPages.myBookingCancel.subtitle\")), 1),\n _createElementVNode(\"form\", {\n onSubmit: _withModifiers(submitForm, [\"prevent\"])\n }, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(options.value, (option) => {\n return (_openBlock(), _createBlock(BaseRadio, {\n key: option.value,\n label: option.label,\n value: option.value,\n id: `${_ctx.booking.bookingNumber}-${option.value}`,\n modelValue: _unref(v$).action.$model,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(v$).action.$model) = $event)),\n name: `${_ctx.booking.bookingNumber}-action`,\n disabled: option.disabled\n }, null, 8, [\"label\", \"value\", \"id\", \"modelValue\", \"name\", \"disabled\"]))\n }), 128))\n ]),\n _createVNode(BaseButton, {\n disabled: !_unref(v$).action.$model,\n class: \"btn--secondary\",\n onClick: openLightbox\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.myBookings.cancel\")), 1)\n ]),\n _: 1\n }, 8, [\"disabled\"])\n ], 32),\n _createVNode(BaseLightbox, {\n modelValue: show.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((show).value = $event)),\n title: _ctx.$t('myPages.myBookingCancel.title'),\n subtitle: _ctx.booking.bookingNumber.toString(),\n maxWidth: 650,\n closable: false\n }, {\n default: _withCtx(() => [\n _createVNode(MyBookingCancelLightbox, {\n onClose: onLightboxClosed,\n accessToken: _ctx.booking.accessToken,\n route: state.action,\n booking: _ctx.booking\n }, null, 8, [\"accessToken\", \"route\", \"booking\"])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"title\", \"subtitle\"])\n ]),\n _: 1\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyBookingCancel.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyBookingCancel.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyBookingCancel.vue?vue&type=style&index=0&id=08f55ee8&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-08f55ee8\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, unref as _unref, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport { MyBooking } from \"@/models/front/customer/MyBooking\";\r\nimport useOpenBooking from \"../../composables/useOpenBooking\";\r\nimport MyBookingBox from \"./MyBookingBox.vue\";\r\n\r\ninterface Props {\r\n booking: MyBooking;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyBookingPayment',\n props: {\n booking: {}\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst { openBooking, isLoading } = useOpenBooking();\r\n\r\nconst goToCheckout = () => {\r\n openBooking(props.booking.accessToken, \"Payment\").then((resp) => {\r\n window.location.href = resp.url;\r\n });\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MyBookingBox, null, {\n header: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.myBookings.payBooking\")), 1)\n ]),\n default: _withCtx(() => [\n _createVNode(BaseButton, {\n onClick: goToCheckout,\n loading: _unref(isLoading),\n class: \"btn--primary btn--fixed-width btn--secondary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.myBookings.goToPayment\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _: 1\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyBookingPayment.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyBookingPayment.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyBookingPayment.vue?vue&type=style&index=0&id=26290c92&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-26290c92\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, unref as _unref, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport { MyBooking } from \"@/models/front/customer/MyBooking\";\r\nimport useOpenBooking from \"../../composables/useOpenBooking\";\r\nimport MyBookingBox from \"./MyBookingBox.vue\";\r\n\r\ninterface Props {\r\n booking: MyBooking;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyBookingRefund',\n props: {\n booking: {}\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst { openBooking, isLoading } = useOpenBooking();\r\n\r\nconst goToRefund = () => {\r\n openBooking(props.booking.accessToken, \"Refund\").then((resp) => {\r\n window.location.href = resp.url;\r\n });\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(MyBookingBox, null, {\n header: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.myBookings.refund.text\")), 1)\n ]),\n default: _withCtx(() => [\n _createVNode(BaseButton, {\n onClick: goToRefund,\n loading: _unref(isLoading),\n class: \"btn--primary btn--fixed-width btn--secondary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.myBookings.refund.button\")), 1)\n ]),\n _: 1\n }, 8, [\"loading\"])\n ]),\n _: 1\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyBookingRefund.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyBookingRefund.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyBookingRefund.vue?vue&type=style&index=0&id=2ba3bfb3&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2ba3bfb3\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock, createCommentVNode as _createCommentVNode, unref as _unref, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0ffac543\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"booking-actions\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"booking-actions__primary\"\n}\nconst _hoisted_3 = { class: \"tabs\" }\nconst _hoisted_4 = { class: \"booking-actions__secondary\" }\nconst _hoisted_5 = { class: \"send-sms\" }\nconst _hoisted_6 = {\n key: 0,\n class: \"send-sms__expanded\"\n}\nconst _hoisted_7 = { class: \"booking-confirmation\" }\nconst _hoisted_8 = [\"href\"]\nconst _hoisted_9 = {\n key: 0,\n class: \"booking-confirmation\"\n}\nconst _hoisted_10 = [\"href\"]\n\nimport SendSMS from \"@/components/SendSMS.vue\";\r\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport { MyBooking } from \"@/models/front/customer/MyBooking\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { computed, ref } from \"vue\";\r\nimport { useI18n } from \"vue-i18n\";\r\nimport { getPhoneCode, getPhoneWithoutCode } from \"~/helpers/phoneHelper\";\r\nimport MyBookingAmend from \"./MyBookingAmend.vue\";\r\nimport MyBookingCancel from \"./MyBookingCancel.vue\";\r\nimport MyBookingPayment from \"./MyBookingPayment.vue\";\r\nimport MyBookingRefund from \"./MyBookingRefund.vue\";\r\n\r\ninterface Props {\r\n item: MyBooking;\r\n}\r\n\r\ntype BookingTab = {\r\n component: keyof typeof tabComponents;\r\n name: string;\r\n};\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyBookingActions',\n props: {\n item: {}\n },\n setup(__props: any) {\n\r\nconst props = __props;\r\n\r\nconst tabComponents = { MyBookingAmend, MyBookingCancel, MyBookingPayment, MyBookingRefund };\r\n\r\nconst { t } = useI18n();\r\nconst userStore = useUserStore();\r\nconst user = computed(() => userStore.getUser);\r\nconst isOpen = ref(false);\r\n\r\nconst tabs: BookingTab[] = [];\r\n\r\nif (props.item.canEdit) {\r\n tabs.push({\r\n component: \"MyBookingAmend\",\r\n name: t(\"myPages.myBookings.amend\"),\r\n });\r\n}\r\n\r\nif (props.item.canCancel) {\r\n tabs.push({\r\n component: \"MyBookingCancel\",\r\n name: t(\"myPages.myBookings.cancel\"),\r\n });\r\n}\r\n\r\nif (props.item.canPay) {\r\n tabs.unshift({\r\n component: \"MyBookingPayment\",\r\n name: t(\"myPages.myBookings.payment\"),\r\n });\r\n}\r\n\r\nif (props.item.paymentInfo.leftToPay < 0) {\r\n tabs.unshift({\r\n component: \"MyBookingRefund\",\r\n name: t(\"myPages.myBookings.refund.title\"),\r\n });\r\n}\r\n\r\nconst selected = ref(tabs.length ? tabs[0].component : \"MyBookingAmend\");\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (tabs.length)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(tabs, (tab) => {\n return _createVNode(BaseButton, {\n key: tab.name,\n onClick: ($event: any) => (selected.value = tab.component),\n class: _normalizeClass([\"btn--primary tab-btn\", { active: selected.value === tab.component }])\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(tab.name), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\", \"class\"])\n }), 64))\n ]),\n (_openBlock(), _createBlock(_resolveDynamicComponent(tabComponents[selected.value]), {\n class: \"tab\",\n booking: _ctx.item,\n key: _ctx.item.bookingNumber\n }, null, 8, [\"booking\"]))\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(BaseButton, {\n type: \"button\",\n class: _normalizeClass([\"btn--transparent\", { active: isOpen.value }]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (isOpen.value = !isOpen.value)),\n icon: \"chevron/chevron-down\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.myBookings.sendSms\")), 1)\n ]),\n _: 1\n }, 8, [\"class\"]),\n (isOpen.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_6, [\n _createVNode(SendSMS, {\n accessToken: _ctx.item.accessToken,\n bookingNumber: _ctx.item.bookingNumber,\n phoneNumber: _unref(getPhoneWithoutCode)(user.value.mobilePhone),\n phoneCode: _unref(getPhoneCode)(user.value.mobilePhone)\n }, null, 8, [\"accessToken\", \"bookingNumber\", \"phoneNumber\", \"phoneCode\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"a\", {\n target: \"_blank\",\n href: _ctx.item.confirmationUrl\n }, _toDisplayString(_ctx.$t(\"myPages.myBookings.showConfirmation\")), 9, _hoisted_8)\n ]),\n (_ctx.item.voucherUrl)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createElementVNode(\"a\", {\n target: \"_blank\",\n href: _ctx.item.voucherUrl\n }, _toDisplayString(_ctx.$t(\"myPages.myBookings.showVoucher\")), 9, _hoisted_10)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyBookingActions.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyBookingActions.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyBookingActions.vue?vue&type=style&index=0&id=0ffac543&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0ffac543\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6baebdc4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"disabled\"]\nconst _hoisted_2 = { class: \"booking__container\" }\nconst _hoisted_3 = { class: \"booking__info\" }\nconst _hoisted_4 = { class: \"booking-number\" }\nconst _hoisted_5 = {\n key: 0,\n class: \"refund\"\n}\nconst _hoisted_6 = { class: \"booking__routes\" }\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = {\n key: 1,\n class: \"flexibility\"\n}\nconst _hoisted_9 = {\n key: 0,\n class: \"booking__route\"\n}\nconst _hoisted_10 = { class: \"flexibility\" }\nconst _hoisted_11 = {\n key: 1,\n class: \"booking__route\"\n}\nconst _hoisted_12 = { class: \"flexibility\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", {\n type: \"button\",\n class: \"booking__chevron\"\n}, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"gg-chevron-right\" })\n], -1))\n\nimport BaseTransitionExpand from \"@/components/base/BaseTransitionExpand.vue\";\r\nimport { dateAndTime } from \"@/helpers/dateHelpers\";\r\nimport { PaymentStatus } from \"@/models/Enums\";\r\nimport { MyBooking } from \"@/models/front/customer/MyBooking\";\r\nimport { computed } from \"vue\";\r\nimport MyBookingActions from \"../MyBookingActions/MyBookingActions.vue\";\r\nimport { formatPrice } from \"@/helpers/priceHelpers\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyBookingItem',\n props: {\n item: {},\n activeBookingNumber: {}\n },\n emits: [\"toggle\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst isOpen = computed(() => {\r\n return props.activeBookingNumber === props.item.bookingNumber;\r\n});\r\n\r\nconst toggleBooking = () => {\r\n emit(\"toggle\", props.item.bookingNumber);\r\n};\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"button\", {\n type: \"button\",\n class: _normalizeClass([\"booking\", { 'booking--active': isOpen.value }]),\n onClick: toggleBooking,\n disabled: _ctx.item.isCreatedInWeb4\n }, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"h4\", _hoisted_4, _toDisplayString(_ctx.item.bookingNumber), 1),\n _createElementVNode(\"p\", {\n class: _normalizeClass({ danger: _ctx.item.paymentInfo.paymentStatus === _unref(PaymentStatus).Unpaid })\n }, _toDisplayString(_ctx.$t(`paymentStatus.${_ctx.item.paymentInfo.paymentStatus}`)), 3),\n (_ctx.item.paymentInfo.leftToPay < 0)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_5, _toDisplayString(_ctx.$t(\"myPages.myBookings.refund.willBeRefunded\")) + \": \" + _toDisplayString(_unref(formatPrice)(Math.abs(_ctx.item.paymentInfo.leftToPay))), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.item.sections, (section) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\"booking__route\", { disabled: section.isLocked }]),\n key: section.route\n }, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.$t(`routes.${section.route}`)), 1),\n (section.departureDateTime)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_7, _toDisplayString(_unref(dateAndTime)(section.departureDateTime)), 1))\n : _createCommentVNode(\"\", true),\n (section.flexibility)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_8, _toDisplayString(section.flexibility.name), 1))\n : _createCommentVNode(\"\", true)\n ], 2))\n }), 128)),\n (_ctx.item.isPaymentBooking)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createElementVNode(\"p\", _hoisted_10, _toDisplayString(_ctx.$t(\"myPages.myBookings.cardPurchase\")), 1)\n ]))\n : (_ctx.item.isCancelled)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n _createElementVNode(\"p\", _hoisted_12, _toDisplayString(_ctx.$t(\"myPages.myBookings.noBooking\")), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _hoisted_13\n ], 10, _hoisted_1),\n _createVNode(BaseTransitionExpand, { expanded: isOpen.value }, {\n default: _withCtx(() => [\n (_openBlock(), _createBlock(MyBookingActions, {\n item: _ctx.item,\n key: _ctx.item.bookingNumber\n }, null, 8, [\"item\"]))\n ]),\n _: 1\n }, 8, [\"expanded\"])\n ], 64))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyBookingItem.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyBookingItem.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyBookingItem.vue?vue&type=style&index=0&id=6baebdc4&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6baebdc4\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode } from \"vue\"\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BasePanel from \"@/components/base/BasePanel.vue\";\r\nimport BaseSection from \"@/components/base/BaseSection.vue\";\r\nimport { useUserStore } from \"@/store/user\";\r\nimport { computed, ref } from \"vue\";\r\nimport useCustomerCardsQuery from \"../composables/useCustomerCardsQuery\";\r\nimport CustomerCardInfo from \"./CustomerCardInfo.vue\";\r\nimport MyProfileLogOut from \"./MyProfileLogOut.vue\";\r\n\r\ninterface Props {\r\n username?: string;\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyProfile',\n props: {\n username: {}\n },\n setup(__props: any) {\n\r\n\r\n\r\nconst { data } = useCustomerCardsQuery();\r\n\r\nconst showAlertBox = ref(false);\r\nconst userStore = useUserStore();\r\n\r\nconst user = computed(() => {\r\n return userStore.user;\r\n});\r\n\r\nconst isCardCustomer = computed(() => !!data.value && user.value.isCardCustomer);\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseSection, { class: \"my-profile\" }, {\n info: _withCtx(() => [\n _createElementVNode(\"header\", null, [\n _createElementVNode(\"h4\", null, _toDisplayString(_ctx.username), 1)\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(BasePanel, null, {\n default: _withCtx(() => [\n (isCardCustomer.value)\n ? (_openBlock(), _createBlock(CustomerCardInfo, {\n key: 0,\n class: \"my-profile__card\"\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(BaseButton, {\n class: \"btn--transparent my-profile__link\",\n icon: \"booking/logout\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (showAlertBox.value = true))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.logout\")), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(MyProfileLogOut, {\n modelValue: showAlertBox.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((showAlertBox).value = $event))\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyProfile.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./MyProfile.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./MyProfile.vue?vue&type=style&index=0&id=73f77306&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-73f77306\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7dbb9915\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"heading\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"heading__title\"\n}\nconst _hoisted_3 = {\n key: 1,\n class: \"heading__subtitle\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"section\", _hoisted_1, [\n (_ctx.title)\n ? (_openBlock(), _createElementBlock(\"h1\", _hoisted_2, _toDisplayString(_ctx.title), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.subtitle)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"h2\", null, _toDisplayString(_ctx.subtitle), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\r\n\r\n\r\n\r\n","import { render } from \"./BaseHeading.vue?vue&type=template&id=7dbb9915&scoped=true&ts=true\"\nimport script from \"./BaseHeading.vue?vue&type=script&lang=ts\"\nexport * from \"./BaseHeading.vue?vue&type=script&lang=ts\"\n\nimport \"./BaseHeading.vue?vue&type=style&index=0&id=7dbb9915&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7dbb9915\"]])\n\nexport default __exports__","import { readonly, ref } from \"vue\";\r\nimport useApi from \"../useApi\";\r\nimport i18n from \"@/config/i18n\";\r\nimport { postMessage } from \"@/helpers/messageHandler\";\r\n\r\nconst loggingOut = ref(false);\r\n\r\nconst useLogout = () => {\r\n const { removeToken } = useApi();\r\n const { get } = useApi();\r\n\r\n const logout = (redirect = true) => {\r\n loggingOut.value = true;\r\n //api call logout\r\n get(\"logout\", \"\").finally(() => {\r\n sessionStorage.clear();\r\n localStorage.clear();\r\n removeToken();\r\n\r\n if (postMessage('logout') === false) {\r\n window.location.replace(location.origin);\r\n }\r\n\r\n if (redirect) {\r\n window.location.href = \"/\" + i18n.global.locale.value;\r\n } else {\r\n loggingOut.value = false;\r\n }\r\n });\r\n };\r\n\r\n return { logout, loggingOut: readonly(loggingOut) };\r\n};\r\n\r\nexport default useLogout;\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, createTextVNode as _createTextVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-061ade9b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"center\" }\n\nimport BaseButton from \"@/components/base/BaseButton.vue\";\r\nimport BaseHeading from \"@/components/base/BaseHeading.vue\";\r\nimport BaseLightbox from \"@/components/base/BaseLightbox.vue\";\r\nimport useLogout from \"@/composables/login/useLogout\";\r\nimport { computed } from \"vue\";\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'MyProfileLogOut',\n props: {\n modelValue: { type: Boolean }\n },\n emits: [\"update:modelValue\"],\n setup(__props: any, { emit: __emit }) {\n\r\nconst props = __props;\r\n\r\nconst emit = __emit;\r\n\r\nconst { logout, loggingOut } = useLogout();\r\n\r\nconst show = computed({\r\n get() {\r\n return props.modelValue;\r\n },\r\n set(value: boolean) {\r\n emit(\"update:modelValue\", value);\r\n },\r\n});\r\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(BaseLightbox, {\n modelValue: show.value,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((show).value = $event))\n }, {\n default: _withCtx(() => [\n _createVNode(BaseHeading, {\n title: _ctx.$t('button.logout')\n }, null, 8, [\"title\"]),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(\"myPages.logout.subtitle\")), 1),\n _createVNode(BaseButton, {\n onClick: _unref(logout),\n loading: _unref(loggingOut),\n class: \"btn--fixed-width\",\n icon: \"booking/logout\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"button.logout\")), 1)\n ]),\n _: 1\n }, 8, [\"onClick\", \"loading\"]),\n _createVNode(BaseButton, {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (show.value = false)),\n class: \"btn--link return\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"myPages.logout.cancelLogOut\")), 1)\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n}\n}\n\n})","\r\n\r\n\r\n\r\n\r\n","import script from \"./MyProfileLogOut.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MyProfileLogOut.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MyProfileLogOut.vue?vue&type=style&index=0&id=061ade9b&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/.pnpm/vue-loader@17.4.2_@vue+comp_ad735c9fab31b483aaa8e1d5a8657100/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-061ade9b\"]])\n\nexport default __exports__"],"names":["useCreateAccount","post","useApi","setUserState","useLogin","queryClient","useQueryClient","isLoading","ref","error","createAccount","address","value","undefined","then","resp","invalidateQueries","mapFromCustomerLoginResponse","data","catch","err","Promise","reject","finally","useForgotPassword","isSuccess","locale","useI18n","sendForgotPassword","email","resolve","userName","language","useIsLoggedInQuery","get","userStore","useUserStore","isAgent","computed","isAgentLoggedIn","isCustomerLoggedIn","fetcher","promise","cacheKey","getUserType","getUser","useQuery","staleTime","retry","enabled","isLoggedIn","UserType","Booking","removeToken","displayErrors","bookingStore","useBookingStore","eventBus","inject","eventBusKey","setCookies","firstName","Cookies","set","whoamiKey","emit","bookingLogin","bookingNumber","phone","phoneNumber","type","mobilePhone","setFromApi","agentLogin","password","force","agentUser","mapFromAgentLoginResponse","agent","url","customerLogin","status","resetBookingState","customer","logoutBooking","logout","user","login","name","isOpen","useLoginModal","loginRef","on","loginModalKey","e","showLoginModal","event","preventDefault","onMounted","setTimeout","querySelectorAll","forEach","item","addEventListener","axios","defaults","withCredentials","devMode","process","serviceUnavailable","tokenStorage","storageWithExpiration","localStorage","setServiceUnavailable","defaultOptions","useBaseUrl","suppressSessionExpired","options","getRuntimeConfig","useRuntimeConfig","t","displaySnack","useSnackbar","displayDialog","useDialog","queueStore","useQueueStore","redirect","useRedirect","getToken","getItem","apiTokenKey","setToken","setItem","removeItem","remove","setTokenFromResponse","headers","$persist","getBaseUrl","c","apiBaseUrl","signal","execute","getRequestConfig","del","delete","put","patch","response","handleError","onSessionExpired","method","getHeaders","params","optionalHeaders","token","i18n","global","number","toString","authenticate","setErrorMessage","te","errorCode","message","translateIfExists","setIsQueue","PageUrl","Queue","window","location","href","ErrorCodes","BookingLocked","title","yes","DialogType","info","code","id","Date","now","delay","bind","reAuthenticate","call","count","lastError","callback","$reset","sessionStorage","clear","postMessage","replace","origin","readonly","show","dialogKey","timeout","useGiftCard","giftCardPurchase","req","giftCardBalance","state","PostSale","constructor","_defineProperty","this","accessToken","sections","map","p","mapFromBasketSectionResponse","mapFromAddressInformationResponse","isRebook","paymentInfo","PaymentInfo","confirmationUrl","currency","checkoutType","getSaleType","smsText","sms","voucherUrl","length","route","usePayment","registerSale","reference","transactionId","setPayment","fn","getCancelUrl","baseUrl","split","param","search","initPayment","paymentMethod","terms","cancelUrl","redirectToPage","path","query","x","version","config","account_path","en","sv","de","booking_path","queue_path","read","queue","PQueue","concurrency","async","runtimeConfig","json","api_base_url","add","useSendMessage","sendEmail","replyTo","sendSms","snackbarMessageKey","useUnloadBookings","displaySnackbarOnUnload","unload","productcode","accommodationConfig","multipleRooms","o","label","rangeHighlights","highlight","start","style","backgroundColor","contentStyle","color","base","end","countryList","countryListJson","countryCodes","getLocaleString","phoneCode","countries","countryCode","getLocale","userAgent","navigator","trim","userAgentLang","substring","includes","document","getElementsByTagName","getAttribute","createI18n","legacy","fallbackLocale","VUE_APP_I18N_FALLBACK_LOCALE","globalInjection","messages","passengerOptions","PassengerType","Adult","min","Teen","max","Youth","Child","Infant","Senior","Student","Commuter","DiscountCard","CabinCommuter","CarPackage","departureRoutes","NYVI","VINY","OSVI","VIOS","VIVA","VAVI","getReturnRoutes","routes","destination","filter","r","startsWith","endsWith","getReverseRoute","userAgentIsApp","formatDate","date","dateFormat","formatInTimeZone","dateAndTime","YYYYMMDD","ddMMM","HHmm","HHmmss","EEEddM","EEEEddM","ddMMMM","EEEE","DDMM","today","startOfToday","dMMM","getStartOfThisWeek","startOfWeek","getEndOfThisWeek","endOfWeek","parseDate","parseISO","getShortWeekdays","days","eachDayOfInterval","d","minDate","dates","hourHasPassed","isBefore","startOfHour","createId","Math","random","getDepartureId","departureDate","locales","enGB","getBookitLocaleStringForCurrentLocale","getPhoneCodeForCurrentLocale","key","msg","wk","webkit","messageHandlers","ios","appInterface","getPassengerType","isIslander","format","indexOf","getPhoneCode","country","getPhoneWithoutCode","getCurrency","formatPrice","price","curr","getCurrencySymbol","storage","ttl","expiry","getTime","JSON","stringify","itemStr","parse","getQueryParamValue","URL","paramValue","searchParams","createI18nMessage","validators","withI18nMessage","required","integer","numeric","maxLength","withArguments","minLength","nonAdultPassengerTypes","InfantIslander","ChildIslander","TeenIslander","childPassengerTypes","teenPassengerTypes","hasAdultPassenger","passengers","hasChildPassenger","hasTeenPassenger","passengersRequired","outwardDateRequired","outwardDate","returnDateRequired","isReturn","returnDate","startOfDay","dateOfBirthIsValid","birthDate","dateOfDeparture","diff","abs","getFullYear","m","getMonth","getDate","validGreeting","greeting","RegExp","test","validName","validCardNumber","cardnumber","validCvc","cvc","returnAfterOutward","outwardDepartureDate","returnDepartureDate","addHours","seatsForAllOrNone","seats","selectedSeats","s","AllRoutesCode","MessageType","TripType","Direction","BusDirection","PaymentStatus","BookingDataType","BaseMessageType","BookingActivity","openBookingSummaryKey","Symbol","Passenger","dateOfBirth","disability","lastName","gender","passengerType","isEmpty","isEditable","needsValidation","mapFromPaymentAlternativeResponse","lowerCaseName","toLowerCase","description","icon","mapFromRefundAlternativeResponse","paid","leftToPay","total","VAT","vat","totalExcludingVAT","paymentStatus","SiteSearch","page","meta","current","resultCount","total_results","pageCount","total_pages","results","SiteSearchItem","body","body_content","snippet","raw","dg_title","urlSnippet","imageUrl","dg_image","dg_description","TimetableDeparture","departureDateTime","arrivalDateTime","isFreight","ship","departureTime","arrivalTime","isOldTransfer","busDeparture","busTimeTableItem","busDepartureIsLocked","isLocked","addMinutes","TimetableRoute","routeCode","busStops","bs","TimetableRouteStop","Vehicle","resourceCode","license","licenseNumber","requiresLicense","requiresLicenseNumber","isGasOrElectric","petInVehicle","hasPet","AgentAccount","city","company","zipCode","productCode","discount","campaignName","campaginName","flexibility","mapFromBasketResourceResponse","getItems","vehicles","food","other","concat","transfer","getBasketGroupType","BasketGroupType","section","isBusRoute","Object","values","join","isCardRoute","Card","Bus","Ferry","dialog","groupType","getName","getDescription","information","amount","isPrepaid","seat","isRefundable","items","flatMap","i","group","subType","charAt","slice","acceptsContact","allowUpdateIslander","zip","county","getCountry","homePhone","workPhone","internalReference","contact","iban","find","CoPassenger","note","coPaxId","frequentTravellerNumber","CoVehicle","vehicleId","make","isDefault","vehicleType","CreditCard","cardId","cardType","expiryDate","maskedNumber","tokenId","MyBooking","canCancel","canEdit","canPay","isCancelled","isPaymentBooking","isCreatedInWeb4","Customer","customerNumber","address2","customerType","isCardCustomer","Agent","agentNumber","defaultProductCode","account","selectedProductCode","agentAccount","useBookingNavigation","router","useRouter","isAccommodationActivated","dataset","accommodationEnabled","steps","defaultSteps","push","activity","Checkout","currentStep","step","parseInt","currentRoute","v","nextStep","goToStep","prevStep","cancel","Account","closeBookingAndRedirect","no","warning","isCheckout","useCalculatePriceQuery","departureStore","useDepartureStore","resourceStore","useResourceStore","transferStore","useTransferStore","seatingStore","useSeatingStore","passengerStore","usePassengerStore","anyDepartureSelected","getDeparture","Outward","identifier","Return","getAccessToken","queryEnabled","isAmendment","getIdentifiers","getTrips","transferIdentifiers","getPassengers","seatingIdentifiers","Set","getSelectedSeats","some","getResources","identifiers","includeCurrentBooking","typeToRecalc","includePayments","calculateAMD","Cabin","Extra","Transfer","watchDebounced","debounce","queryKey","queryFn","bookingSections","amd","refetchOnWindowFocus","keepPreviousData","refundAlternatives","paymentAlternatives","paymentReference","isPayment","isRefund","showGiftCard","postInvoicing","useCheckoutQuery","setBookingNumber","initPaymentMutation","useMutation","giftCards","creditCard","refund","refundMethod","useRoutesQuery","Transaction","link","CustomerCard","travelCard","TravelCard","cardName","balance","cardNumber","validFrom","validTo","active","transactions","useCustomerCardsQuery","useMyCoVehiclesQuery","updateMutation","onSuccess","Infinity","useMyCreditCardsQuery","deleteMutation","useOpenBooking","openBooking","useSiteSearchQuery","store","useSiteSearchStore","getQuery","getPage","size","result","emitter","mitt","eventbusPlugin","install","app","globalProperties","$eventBus","provide","BookingRoute","departureId","arrivalDate","isSplit","ticketGroup","getInitialState","campaign","couponCode","differentDetailsReturn","tripType","outward","return","defineStore","getters","getBookingNumber","getIsAmending","getBooking","getRoute","direction","getDifferentDetailsReturn","getProductCode","getCampaign","hasCampaign","trips","getIsLocked","actions","setIsAmendment","setTripType","Single","setDate","setRoute","setIsDifferentDetails","isDifferentDetailsReturn","setProductCode","setCampaign","setAccessToken","setOutwardDetailsOnReturn","vehicleStore","useVehicleStore","outwardPassengers","returnPassengers","newPassengers","setPassengers","setVehicle","getVehicle","outwardRoute","returnRoute","useResourceSplitStore","persist","useCheckoutStore","savedCard","selectedCard","saveCard","getSavedCard","setSelectedCard","setSaveCard","getDepartureState","setDeparture","departure","pinia","createPinia","use","piniaPluginPersistedstate","isEqual","require","isMixed","setPassenger","passenger","passengerArray","removePassenger","addPassenger","getId","index","unknownDetails","updatePassenger","findIndex","splice","travelers","groupBy","travelersInAPI","groupedPassengers","traveler","resources","isQueue","getKey","getIsQueue","setKey","val","getResourceState","setResource","resource","resourceArray","removeResource","addResource","setResources","mapState","splitPassengerIds","getIsSplit","getPassengerIds","setIsSplit","setSplitPassengers","passengerIds","reservation","reservations","setSelectedSeats","getResult","setQuery","setPage","setResults","stationId","getTransferState","getStationId","setStationId","passengerResource","selectedPassengers","passengerInfo","pi","selectedStops","tr","Unknown","getUserAddress","getSelectedProductCode","getAgentAccount","getIsNameReadonly","$state","setSelectedProductCode","paths","unknownLicense","vehicle","resetVehicle","defaultVehicle","hasVehicle","details","detail","storedVehicle","veh","outwardVehicle","returnVehicle","_hoisted_1","class","_hoisted_2","_hoisted_3","_defineComponent","__name","props","mobileModal","Boolean","modalTitle","setup","__props","expose","__expose","toggle","dropdownRef","onClickOutside","_ctx","_cache","_openBlock","_createElementBlock","ref_key","_renderSlot","$slots","onClick","_createCommentVNode","_normalizeClass","_createElementVNode","_toDisplayString","__exports__","_hoisted_4","default","BookingInfo","reactive","rules","v$","useVuelidate","success","submitForm","isFormCorrect","$validate","_Fragment","onSubmit","_withModifiers","_createVNode","BaseDropdown","$t","hasError","_unref","$error","errors","$errors","modelValue","$model","$event","searchable","BaseInput","modelModifiers","BaseButton","loading","_withCtx","_createTextVNode","_","_createBlock","BaseAlert","noMargin","render","$props","$setup","$data","$options","_component_BaseQuantity","_resolveComponent","minValue","maxValue","childAge","defineComponent","components","BaseQuantity","Number","age","_hoisted_5","deletable","room","allowMultipleRooms","emits","__emit","childrenAges","updateAges","adults","handleAge","a","b","children","repeat","oneRoom","_renderList","ChildAge","onAgeChanged","closable","close","role","SvgIcon","disabled","iconSize","iconPosition","_withDirectives","Spinner","_vShow","valid","inputValue","tabindex","_vModelCheckbox","for","_component_BaseDropdown","autocomplete","String","Array","canClear","placeholder","mode","closeOnSelect","hideSelected","multipleLabelMaxLength","canDeselect","createOption","allowAbsent","onFocus","onBlur","isActive","getMultipleLabel","onSelect","Multiselect","onOpen","onClose","multipleLabel","nativeSupport","caret","_withScopeId","n","_pushScopeId","_popScopeId","xmlns","preserveAspectRatio","viewBox","width","height","transform","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","subtitle","notifications","badge","internalValue","isExpanded","watch","_resolveDynamicComponent","compact","buttons","innerHTML","BaseTransitionExpand","expanded","genders","outerLabel","mask","inputId","uniqueId","toFixed","_vModelDynamic","vMaska","maxWidth","align","headerLevel","hideOverflow","onKeyStroke","closeBtnRef","previousElement","activeElement","nextTick","$el","focus","_Teleport","to","_Transition","onKeydown","_withKeys","onMousedown","_mergeProps","$attrs","_normalizeStyle","footer","messageType","Error","iconType","Info","Success","Warning","alignLeft","VueNumberInput","controls","_vModelRadio","subtitleTrigger","infoIcon","infoText","infoClass","colorCode","args","_vModelText","viewBoxes","spin","_hoisted_12","isFetching","isSticky","displayEmptySections","useEventBus","totalDiscount","reduce","sum","getEmptySection","basketVehicle","combinedSections","emptySection","filteredSections","sort","BaseSpinner","BasketTransitionExpand","BasePanel","BasketGroup","isCard","isBus","resourceItem","condensed","renderers","FerrySectionRenderer","BusSectionRenderer","basketGroupRenderer","ResourceList","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","includeIslander","includePassword","validPassword","islanderSSN","passwordRepeat","helpers","withMessage","BaseRadio","IslanderBox","$invalid","BaseCountrySelect","errorMessage","BaseMessages","hideAnimation","Maintenance","defineAsyncComponent","open","checkoutStore","card","BaseCheckbox","BaseInfo","expectedNumber","showSavedCards","paymentOptionId","paymentOption","SavedCreditCards","option","bank","accountNumber","clearingNumber","accountHolder","giro","useSiteSearch","siteSearchStore","goToPage","getElementById","showDropdown","activeIndex","searchInput","siteSearchResults","clearSelectedItem","activateNext","nextElement","elements","activatePrevious","isSelected","setElements","el","onBeforeUpdate","searchQuery","autofocus","ref_for","script","giftcardbalance","giftcards","showGiftCardForm","remainingSum","removeCard","addNewCard","pan","balanceAfterUse","isValid","alreadyAdded","$message","paymentError","isConfirming","openBasket","giftcardsToUse","gc","termsAccepted","noNeedToPay","sameAs","bankRefundRef","giroRefundRef","request","g","mutateAsync","paymentUrl","showPaymentServicesLightbox","BookingSpacer","BaseSection","BaseLightbox","PaymentOptions","GiftcardSection","BankAccountRefund","GiroRefund","BookingContinue","loadingForm","bookingForm","loginError","loginBooking","isValidForm","console","log","popperRef","target","classList","contains","Popper","arrow","content","_normalizeProps","_guardReactiveProps","$stopPropagation","$touch","BasePopper","trigger","placement","loginAgentError","MaintenanceWrapper","LoginForgotPassword","showSignUp","redirectToBooking","campaignParam","mmidParam","voucherParam","hasCampaignRoute","reload","isCreatingCustomer","registerCustomer","LoginUser","onOnSuccess","LoginBooking","CustomerDetailsForm","_component_SvgIcon","linkUrl","LoginFerry","LoginAgent","LoginAccomodation","activeComponent","accommodationLoginUrl","linkAccommodation","LoginTab","useIslanderVerification","verifyIslander","ssn","notIslander","verificationStatus","verify","errorMessages","userForm","onBookingReset","islanderVerificationId","verificationDone","verificationActive","loginUser","VerifyIslander","onLogin","centered","hideBalance","booking","selectedOption","MyBookingBox","header","CancelBookingResult","cancellationFee","cancellationBookingSections","useCancelBooking","routeToCancel","prepareForCancellation","confirmCancellation","isTravelCardRefund","every","pa","cancelConfirmed","confirm","danger","getOptionLabel","action","openLightbox","onLightboxClosed","MyBookingCancelLightbox","goToCheckout","goToRefund","tabComponents","MyBookingAmend","MyBookingCancel","MyBookingPayment","MyBookingRefund","tabs","component","unshift","selected","tab","SendSMS","activeBookingNumber","toggleBooking","Unpaid","MyBookingActions","username","showAlertBox","CustomerCardInfo","MyProfileLogOut","loggingOut","useLogout","BaseHeading"],"sourceRoot":""}