@bookolosystem/engine 4.4.3 → 4.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/{37ae337/AsideFeatures.Bn6OX8X1.js → 8a7a0fd/AsideFeatures.9cRHrh-J.js} +1 -1
- package/assets/{f785e42/AsideOrderSummary.D8e93W2R.js → 8a7a0fd/AsideOrderSummary.B6kKVLCV.js} +1 -1
- package/assets/{f785e42/AsideSummary.BgeuEsGw.js → 8a7a0fd/AsideSummary.jYDUD8st.js} +1 -1
- package/assets/{c55b348/AuthInfo.DPnrKoxC.js → 8a7a0fd/AuthInfo.Cs9-sGOo.js} +1 -1
- package/assets/{37ae337/AuthRegistrationForm.CWzvAhJs.js → 8a7a0fd/AuthRegistrationForm.BRMzVBa2.js} +1 -1
- package/assets/{37ae337/Button.DjXcbhf2.js → 8a7a0fd/Button.CKXY2Ugp.js} +1 -1
- package/assets/8a7a0fd/ButtonBordered.GIHYvmKS.js +1 -0
- package/assets/8a7a0fd/ButtonBorderedThin.Euxu7q4G.js +1 -0
- package/assets/8a7a0fd/ButtonGhosted.Dpwt8cxY.js +1 -0
- package/assets/8a7a0fd/ButtonMuted.DIWenn9q.js +1 -0
- package/assets/{37ae337/CalendarFlexible.CCiOjyil.js → 8a7a0fd/CalendarFlexible.q_XFFSeS.js} +1 -1
- package/assets/{37ae337/Check.Cv3qyxMH.js → 8a7a0fd/Check.CFnaMvH_.js} +1 -1
- package/assets/{37ae337/CheckinApp.CVJRRwUU.js → 8a7a0fd/CheckinApp.DNlh6P9p.js} +1 -1
- package/assets/{37ae337/Circle.BtLb3JzE.js → 8a7a0fd/Circle.BnPhqLNb.js} +1 -1
- package/assets/{37ae337/Control.CZtZo0Py.js → 8a7a0fd/Control.De0vcBnx.js} +1 -1
- package/assets/{37ae337/ControlTelCountryCode.Czos6Mgw.js → 8a7a0fd/ControlTelCountryCode.Buiy19PV.js} +1 -1
- package/assets/{37ae337/DatePicker.CCz-aQ-y.js → 8a7a0fd/DatePicker.BFHppUUx.js} +1 -1
- package/assets/{37ae337/Details.CGdV4AhO.js → 8a7a0fd/Details.BH30MPjd.js} +1 -1
- package/assets/{37ae337/DialogContent.DuBbZWv4.js → 8a7a0fd/DialogContent.DL8B_3Qp.js} +1 -1
- package/assets/{37ae337/Drawer.DvUFlRWs.js → 8a7a0fd/Drawer.Cl2wZb5G.js} +1 -1
- package/assets/{37ae337/Field.CIDrEgMb.js → 8a7a0fd/Field.CMB5tkmi.js} +1 -1
- package/assets/{37ae337/Footer.CyquPHpx.js → 8a7a0fd/Footer.BBZEze1H.js} +1 -1
- package/assets/{37ae337/FooterLogo.B_rtNmap.js → 8a7a0fd/FooterLogo.CHWJ9i2-.js} +1 -1
- package/assets/8a7a0fd/Header.lzXDyULB.js +1 -0
- package/assets/{37ae337/HeaderLanguagePopover.CNiL1OQO.js → 8a7a0fd/HeaderLanguagePopover.BY532wko.js} +1 -1
- package/assets/{37ae337/Image.DiBWf8gB.js → 8a7a0fd/Image.B3eCZ2k2.js} +1 -1
- package/assets/{37ae337/InputMask.DHv3IpcY.js → 8a7a0fd/InputMask.DuD1_OSP.js} +1 -1
- package/assets/8a7a0fd/Main.Dl9IXehT.js +1 -0
- package/assets/{f785e42/OrderAccommodation.BUC3iHY0.js → 8a7a0fd/OrderAccommodation.CF430JXQ.js} +1 -1
- package/assets/{37ae337/OrderConfirmedStatus.Cg0rMibQ.js → 8a7a0fd/OrderConfirmedStatus.wX-A2uQZ.js} +1 -1
- package/assets/{37ae337/OrderHeader.ButiozkR.js → 8a7a0fd/OrderHeader.CTXkr8tP.js} +1 -1
- package/assets/{37ae337/PackageDetailDialogContent.DztdTGOx.js → 8a7a0fd/PackageDetailDialogContent.ESzjs3GI.js} +1 -1
- package/assets/{37ae337/Popover.CkuHkyXz.js → 8a7a0fd/Popover.Dk86yYtq.js} +1 -1
- package/assets/{f785e42/ReservationEditInfo.CIGUHBBu.js → 8a7a0fd/ReservationEditInfo.Dlbvcdfq.js} +1 -1
- package/assets/{f785e42/RoomDetailDialog.CwCxDUXv.js → 8a7a0fd/RoomDetailDialog.B455jFsn.js} +1 -1
- package/assets/{f785e42/RoomDetailDialogContent.Br2LC7Su.js → 8a7a0fd/RoomDetailDialogContent.quvpaAJa.js} +1 -1
- package/assets/{f785e42/RoomSelect.D3n_KWfl.js → 8a7a0fd/RoomSelect.gYMOa6ff.js} +1 -1
- package/assets/{37ae337/TextContent.B1_R7T_-.js → 8a7a0fd/TextContent.hl3Ok2v4.js} +1 -1
- package/assets/{f785e42/TooltipCursor.ifkFvkBI.js → 8a7a0fd/TooltipCursor.DgTstLTX.js} +1 -1
- package/assets/{f785e42/WellnessDetailDialog.sOgi7LNq.js → 8a7a0fd/WellnessDetailDialog.BMHH5PLR.js} +1 -1
- package/assets/{37ae337/_...path_.BF7_9hC1.js → 8a7a0fd/_...path_.M5OOhTlJ.js} +1 -1
- package/assets/{37ae337/_code_.d-qY5cf3.js → 8a7a0fd/_code_.CUHpviU0.js} +1 -1
- package/assets/{37ae337/_id_.BqE0XdkV.js → 8a7a0fd/_id_.D_9gHIOP.js} +1 -1
- package/assets/{f785e42/_id_.BTfZK9z2.js → 8a7a0fd/_id_.DgPIqJqk.js} +1 -1
- package/assets/{37ae337/_uuid_.CCbRLbE9.js → 8a7a0fd/_uuid_.B0eyffXc.js} +1 -1
- package/assets/{c55b348/_uuid_.MMEKFhbI.js → 8a7a0fd/_uuid_.CL8Vw4Q_.js} +1 -1
- package/assets/{f785e42/_uuid_.CJYs3QhI.js → 8a7a0fd/_uuid_.CcVOT4L2.js} +1 -1
- package/assets/{f785e42/_uuid_.C3heoeT9.js → 8a7a0fd/_uuid_.Cglisq2v.js} +1 -1
- package/assets/{f785e42/_uuid_.KBA_xyl7.js → 8a7a0fd/_uuid_.DOPfn1CW.js} +1 -1
- package/assets/{37ae337/_uuid_.BIgwUfT0.js → 8a7a0fd/_uuid_.OEABwTgV.js} +1 -1
- package/assets/{37ae337/_uuid_.avh6zqvJ.js → 8a7a0fd/_uuid_.OIGGbVQx.js} +1 -1
- package/assets/8a7a0fd/accommodation-terms.CVdofO44.js +1 -0
- package/assets/{37ae337/account.u7xsv1G4.js → 8a7a0fd/account.B0IHJFbn.js} +1 -1
- package/assets/{37ae337/account.Dd-61vSX.js → 8a7a0fd/account.pzvOuS1X.js} +1 -1
- package/assets/{f785e42/app.ce.COA0DnRK.js → 8a7a0fd/app.ce.0ZBOlMhv.js} +2 -2
- package/assets/{37ae337/calendar.5axckObs.js → 8a7a0fd/calendar.DM5cTRxY.js} +1 -1
- package/assets/{37ae337/calendar.CODO87Ih.js → 8a7a0fd/calendar.xG50PS_p.js} +1 -1
- package/assets/{f785e42/calendarFlexibleDialog.Lm32GQ8D.js → 8a7a0fd/calendarFlexibleDialog.cWc35lGC.js} +1 -1
- package/assets/{f785e42/chain.BeYCgXY7.js → 8a7a0fd/chain.B08iwkcX.js} +1 -1
- package/assets/8a7a0fd/client.Dd6D7_nR.js +1 -0
- package/assets/8a7a0fd/config.DFdAYjda.js +1 -0
- package/assets/8a7a0fd/countries.Dl9CHnv3.js +1 -0
- package/assets/{f785e42/dateFormatter.dDaZZox0.js → 8a7a0fd/dateFormatter.CcezmeSD.js} +1 -1
- package/assets/8a7a0fd/details.BS0cl-OK.js +1 -0
- package/assets/{f785e42/dist.DK8rat2p.js → 8a7a0fd/dist.Cn9zxikV.js} +1 -1
- package/assets/{f785e42/edit.CjQiqXKN.js → 8a7a0fd/edit.CVBtoj1P.js} +1 -1
- package/assets/{37ae337/fancybox.CjHAUL-W.js → 8a7a0fd/fancybox.XoCNdO2d.js} +1 -1
- package/assets/8a7a0fd/faq.DnS8R_Ev.js +1 -0
- package/assets/8a7a0fd/formatPrice.C0HwFs5b.js +1 -0
- package/assets/{37ae337/hotel.sfwaKnsb.js → 8a7a0fd/hotel.CxDPnlTY.js} +1 -1
- package/assets/{c55b348/location.CbgTxSzw.js → 8a7a0fd/location.tb5NBGh3.js} +2 -2
- package/assets/{c55b348/login.CeeqfJoq.js → 8a7a0fd/login.2vIqwvsL.js} +1 -1
- package/assets/{37ae337/marketing-terms.BZD6FkTj.js → 8a7a0fd/marketing-terms.BEr9eoDA.js} +1 -1
- package/assets/{37ae337/nav.TbdzdWfT.js → 8a7a0fd/nav.C_6Mjn3F.js} +1 -1
- package/assets/{37ae337/order.DdUl5Ymh.js → 8a7a0fd/order.Dw_0KguY.js} +1 -1
- package/assets/{f785e42/orders.CNYo8UXg.js → 8a7a0fd/orders.D5OpTxH-.js} +1 -1
- package/assets/{c55b348/packages.k8m_QyJq.js → 8a7a0fd/packages.BPKKrE9I.js} +1 -1
- package/assets/{37ae337/packages.BrLOZSyA.js → 8a7a0fd/packages.YRDruxsv.js} +1 -1
- package/assets/8a7a0fd/pages.BhkkOlnJ.js +1 -0
- package/assets/{37ae337/pages.BgqWbfTj.js → 8a7a0fd/pages.CbFfN-ku.js} +1 -1
- package/assets/{f785e42/params.DR2mabOE.js → 8a7a0fd/params.B5U1fWY_.js} +1 -1
- package/assets/{37ae337/playground.mCw3TwZS.js → 8a7a0fd/playground.DuufiPNU.js} +1 -1
- package/assets/{37ae337/points.BUs1szRu.js → 8a7a0fd/points.LFHc-sM8.js} +1 -1
- package/assets/8a7a0fd/privacy-policy.BSmc3ivn.js +1 -0
- package/assets/{37ae337/ratings.CyJJQOsV.js → 8a7a0fd/ratings.B6Q-KE01.js} +1 -1
- package/assets/{37ae337/register.IhTWCTFM.js → 8a7a0fd/register.DQR3G8xd.js} +1 -1
- package/assets/{f785e42/request.CQ1-ZILq.js → 8a7a0fd/request.C7iDva7W.js} +1 -1
- package/assets/{37ae337/reservation.BAokspVx.js → 8a7a0fd/reservation.B3j3ug4h.js} +1 -1
- package/assets/{37ae337/reservation.LErn_217.js → 8a7a0fd/reservation.BFTvl-za.js} +1 -1
- package/assets/{c55b348/rewards.BXFIuU_m.js → 8a7a0fd/rewards.C-fDoP2-.js} +1 -1
- package/assets/{37ae337/rooms.C7k0KENY.js → 8a7a0fd/rooms.C-kk8WUq.js} +1 -1
- package/assets/{c55b348/rooms.DSSlAdwN.js → 8a7a0fd/rooms.D1XKrP_H.js} +1 -1
- package/assets/8a7a0fd/routeParams.DdhKhtHk.js +1 -0
- package/assets/{f785e42/sentry.DCbmNEQc.js → 8a7a0fd/sentry.DDshANkS.js} +1 -1
- package/assets/{37ae337/statusDialog.BMFZb8uS.js → 8a7a0fd/statusDialog.BJbIyGW_.js} +1 -1
- package/assets/{37ae337/summary.DjOdnvL2.js → 8a7a0fd/summary.CXTIziXn.js} +1 -1
- package/assets/8a7a0fd/terms._bj9RHb7.js +1 -0
- package/assets/{37ae337/toaster.9OCxubzF.js → 8a7a0fd/toaster.y5BGn2KR.js} +1 -1
- package/assets/8a7a0fd/trade-terms.DxCrqgDL.js +1 -0
- package/assets/{37ae337/validateFields.D7LGamj-.js → 8a7a0fd/validateFields.BUL0VIdV.js} +1 -1
- package/assets/{37ae337/vendor.n_snLx4J.js → 8a7a0fd/vendor.C2hYIv8R.js} +4 -4
- package/assets/8a7a0fd/vouchers-terms.Bapv3lFR.js +1 -0
- package/assets/{f785e42/vouchers.1OVsKP0Z.js → 8a7a0fd/vouchers.BzWrUZIY.js} +1 -1
- package/assets/{f785e42/vue-router.Ba_I7p6z.js → 8a7a0fd/vue-router.bJUqbwkk.js} +1 -1
- package/assets/8a7a0fd/wellness-terms.VN1_6LOK.js +1 -0
- package/assets/{f785e42/wellness.Cl3cM2OC.js → 8a7a0fd/wellness.U6947Bes.js} +1 -1
- package/assets/{c55b348/AsideFeatures.CTG7wiM4.js → 9abc863/AsideFeatures.BQVvz4cG.js} +1 -1
- package/assets/{37ae337/AsideOrderSummary.lO1Yuedc.js → 9abc863/AsideOrderSummary.WKel7SKl.js} +1 -1
- package/assets/{c55b348/AsideSummary.DoC9fRzB.js → 9abc863/AsideSummary.BCq7srtx.js} +1 -1
- package/assets/{f785e42/AuthInfo.jJe7rHuW.js → 9abc863/AuthInfo.BpaWz9kZ.js} +1 -1
- package/assets/{f785e42/AuthRegistrationForm.D9yqI16w.js → 9abc863/AuthRegistrationForm.BQEOkh8P.js} +1 -1
- package/assets/{c55b348/Button.BrYX2zWI.js → 9abc863/Button.DENQlfoV.js} +1 -1
- package/assets/9abc863/ButtonBordered.Buog5XUd.js +1 -0
- package/assets/9abc863/ButtonBorderedThin.DQtk8ygl.js +1 -0
- package/assets/9abc863/ButtonGhosted.DtSQuUqd.js +1 -0
- package/assets/9abc863/ButtonMuted.ClTzhmGk.js +1 -0
- package/assets/{c55b348/CalendarFlexible.D7MYK613.js → 9abc863/CalendarFlexible.BFUsglcP.js} +1 -1
- package/assets/{c55b348/Check.DRKnQJnO.js → 9abc863/Check.CGkdXv8U.js} +1 -1
- package/assets/{c55b348/CheckinApp.D4tULy5B.js → 9abc863/CheckinApp.XKpaXHHH.js} +1 -1
- package/assets/{c55b348/Circle.Bk8K3Yyo.js → 9abc863/Circle.BqRlZ-Ni.js} +1 -1
- package/assets/{c55b348/Control.BJcNbGb_.js → 9abc863/Control.DQeuvn0T.js} +1 -1
- package/assets/{f785e42/ControlTelCountryCode.CcdH-ptn.js → 9abc863/ControlTelCountryCode.DCl_oZNm.js} +1 -1
- package/assets/{f785e42/DatePicker.Cc0EtZjK.js → 9abc863/DatePicker.CNLqAKwS.js} +1 -1
- package/assets/{c55b348/Details.SQ9MeAfP.js → 9abc863/Details.CB4_wNS3.js} +1 -1
- package/assets/{f785e42/DialogContent.tdqsNrXE.js → 9abc863/DialogContent.oj4AjH0A.js} +1 -1
- package/assets/{c55b348/Drawer.CVRpgR99.js → 9abc863/Drawer.DGoXFBU0.js} +1 -1
- package/assets/{c55b348/Field.BXufwr4B.js → 9abc863/Field.BhjqVj0S.js} +1 -1
- package/assets/{c55b348/Footer.CScgS1AB.js → 9abc863/Footer.C7h8sj-G.js} +1 -1
- package/assets/{f785e42/FooterLogo.CLtj0dj2.js → 9abc863/FooterLogo.DrkuhAUv.js} +1 -1
- package/assets/9abc863/Header.DEPnf9q8.js +1 -0
- package/assets/{c55b348/HeaderLanguagePopover.BxjweViF.js → 9abc863/HeaderLanguagePopover.DegpljKt.js} +1 -1
- package/assets/{c55b348/Image.Dr65HoJw.js → 9abc863/Image.3wpjIV-N.js} +1 -1
- package/assets/{c55b348/InputMask.DMCMETMS.js → 9abc863/InputMask.B7-_JM_a.js} +1 -1
- package/assets/9abc863/Main.CK41faK0.js +1 -0
- package/assets/{c55b348/OrderAccommodation.BqaLmTnB.js → 9abc863/OrderAccommodation.C9VudX_y.js} +1 -1
- package/assets/{c55b348/OrderConfirmedStatus.D4LJ-lli.js → 9abc863/OrderConfirmedStatus.DG6GhTD-.js} +1 -1
- package/assets/{c55b348/OrderHeader.nJOjNX8o.js → 9abc863/OrderHeader.DkonsBL9.js} +1 -1
- package/assets/{c55b348/PackageDetailDialogContent.BjZfE9KD.js → 9abc863/PackageDetailDialogContent.C7QuaUVb.js} +1 -1
- package/assets/{c55b348/Popover.L-SYUclw.js → 9abc863/Popover.-1SUGtsh.js} +1 -1
- package/assets/{37ae337/ReservationEditInfo.Di5z8rIY.js → 9abc863/ReservationEditInfo.CFwOVwT6.js} +1 -1
- package/assets/{37ae337/RoomDetailDialog.DpNeVkWA.js → 9abc863/RoomDetailDialog.kQfSl3kd.js} +1 -1
- package/assets/{c55b348/RoomDetailDialogContent.BNRSW008.js → 9abc863/RoomDetailDialogContent.D7S_QzBs.js} +1 -1
- package/assets/{c55b348/RoomSelect.BLAnT9_u.js → 9abc863/RoomSelect.Cq_p2m-f.js} +1 -1
- package/assets/{c55b348/TextContent.BE7a464u.js → 9abc863/TextContent.CXeKtNsr.js} +1 -1
- package/assets/{37ae337/TooltipCursor.fsZuWnZL.js → 9abc863/TooltipCursor.DlKId_P9.js} +1 -1
- package/assets/{37ae337/WellnessDetailDialog.DtfWEqId.js → 9abc863/WellnessDetailDialog.BwawOmjk.js} +1 -1
- package/assets/{c55b348/_...path_.CGzPFsCz.js → 9abc863/_...path_.dEILBLU0.js} +1 -1
- package/assets/{f785e42/_code_.iRJURqUl.js → 9abc863/_code_.C_7B6t1P.js} +1 -1
- package/assets/{37ae337/_id_.CL7_qnhB.js → 9abc863/_id_.DCUz1r6c.js} +1 -1
- package/assets/{f785e42/_id_.CoI4Q5Am.js → 9abc863/_id_.dW09gnWq.js} +1 -1
- package/assets/{37ae337/_uuid_.URs138x3.js → 9abc863/_uuid_.6n3lifxQ.js} +1 -1
- package/assets/{c55b348/_uuid_.BT8p9tt0.js → 9abc863/_uuid_.BJQtn71-.js} +1 -1
- package/assets/{c55b348/_uuid_.ubhmm4Mm.js → 9abc863/_uuid_.BLIrenyi.js} +1 -1
- package/assets/{c55b348/_uuid_.DGxN4Vns.js → 9abc863/_uuid_.CYTCmn3C.js} +1 -1
- package/assets/{c55b348/_uuid_.CXpdSVMx.js → 9abc863/_uuid_.Ce6nw3Xr.js} +1 -1
- package/assets/{c55b348/_uuid_.Ce7KfdCq.js → 9abc863/_uuid_.D1OQ86_l.js} +1 -1
- package/assets/{f785e42/_uuid_.DmWjDAcd.js → 9abc863/_uuid_.tIDrKfzc.js} +1 -1
- package/assets/9abc863/accommodation-terms.CnlV_Dzs.js +1 -0
- package/assets/{c55b348/account.3IMZeA3D.js → 9abc863/account.7ZB6Hvpd.js} +1 -1
- package/assets/{c55b348/account.Byb-YtMN.js → 9abc863/account.BDzjPnm1.js} +1 -1
- package/assets/{37ae337/app.ce.CBoCmcxi.js → 9abc863/app.ce.G58KVpNh.js} +1 -1
- package/assets/{f785e42/calendar.CvOiTvHK.js → 9abc863/calendar.CTxPficj.js} +1 -1
- package/assets/{c55b348/calendar.CRIOy4dB.js → 9abc863/calendar.DrZjOG3Q.js} +1 -1
- package/assets/{37ae337/calendarFlexibleDialog.CCPmtYUa.js → 9abc863/calendarFlexibleDialog.CiT3ybyU.js} +1 -1
- package/assets/{c55b348/chain.CQB7d8zV.js → 9abc863/chain.CE4fk6RC.js} +1 -1
- package/assets/9abc863/client.B35Zk1Vj.js +1 -0
- package/assets/9abc863/config.DN5PrzYj.js +1 -0
- package/assets/9abc863/countries.DHA-CuXb.js +1 -0
- package/assets/{c55b348/dateFormatter.BQpLwk6L.js → 9abc863/dateFormatter.Cdnyqc1C.js} +1 -1
- package/assets/9abc863/details.BEoQsFfe.js +1 -0
- package/assets/{37ae337/dist.B-Aj-1h6.js → 9abc863/dist.BBvqMcN_.js} +1 -1
- package/assets/{c55b348/edit.BqmSLxSB.js → 9abc863/edit.C-Yrw0TG.js} +1 -1
- package/assets/{c55b348/fancybox.DXfUnRxc.js → 9abc863/fancybox.BbYneWyM.js} +1 -1
- package/assets/9abc863/faq.CwgUlk2b.js +1 -0
- package/assets/9abc863/formatPrice.BoNSJ3UV.js +1 -0
- package/assets/{c55b348/hotel._j1G89r-.js → 9abc863/hotel.CHXHOAo8.js} +1 -1
- package/assets/{f785e42/location.C9x6vzg-.js → 9abc863/location.BTumxy6W.js} +2 -2
- package/assets/{37ae337/login.CukmWtsD.js → 9abc863/login.C22c1Cam.js} +1 -1
- package/assets/{c55b348/marketing-terms.BessFCMN.js → 9abc863/marketing-terms.BNJlh6LS.js} +1 -1
- package/assets/{c55b348/nav.DbxEbk7C.js → 9abc863/nav.aNfcLnKd.js} +1 -1
- package/assets/{c55b348/order.Dc8H4m8G.js → 9abc863/order.Bi7Btnb0.js} +1 -1
- package/assets/{37ae337/orders.CIWoOtuo.js → 9abc863/orders.C46CRk3R.js} +1 -1
- package/assets/{f785e42/packages.DoaTmGZq.js → 9abc863/packages.DsjMQe5W.js} +1 -1
- package/assets/{c55b348/packages.D_qiN3mU.js → 9abc863/packages.T-RS_YY1.js} +1 -1
- package/assets/9abc863/pages.BSv8hla_.js +1 -0
- package/assets/9abc863/pages.CIiNQ8uX.js +1 -0
- package/assets/{c55b348/params.C4l_dMrB.js → 9abc863/params.BYxK9z6w.js} +1 -1
- package/assets/{c55b348/playground.DjnbHM_w.js → 9abc863/playground.WhUjfMIP.js} +1 -1
- package/assets/{c55b348/points.D5CbkzTi.js → 9abc863/points.CVjznhdz.js} +1 -1
- package/assets/9abc863/privacy-policy.CGT50KhE.js +1 -0
- package/assets/{f785e42/ratings.DoQpk5ST.js → 9abc863/ratings.BI2RiPA4.js} +1 -1
- package/assets/{c55b348/register.DWdVP-_I.js → 9abc863/register.hz6QMgCO.js} +1 -1
- package/assets/{37ae337/request.UOBtDNVx.js → 9abc863/request.TS94V7b8.js} +1 -1
- package/assets/{c55b348/reservation.BMuBrj8P.js → 9abc863/reservation.C4YvgAfn.js} +1 -1
- package/assets/{c55b348/reservation.Cl2uQjsA.js → 9abc863/reservation.DewbR-PT.js} +1 -1
- package/assets/{37ae337/rewards.CmcAqnv_.js → 9abc863/rewards.DjhBa_UN.js} +1 -1
- package/assets/{c55b348/rooms.L668F0pR.js → 9abc863/rooms.6URoZiB2.js} +1 -1
- package/assets/{37ae337/rooms.gRAC5fTr.js → 9abc863/rooms.C22-gNSF.js} +1 -1
- package/assets/9abc863/routeParams.DU9zPEL5.js +1 -0
- package/assets/{c55b348/sentry.Dw3n0UXr.js → 9abc863/sentry.BdrnpOuv.js} +1 -1
- package/assets/{c55b348/statusDialog.Dsir9iNI.js → 9abc863/statusDialog.CHyOH2aw.js} +1 -1
- package/assets/{f785e42/summary.H2NC_tWl.js → 9abc863/summary.Cxx9UDVw.js} +1 -1
- package/assets/9abc863/terms.cTHjnWYb.js +1 -0
- package/assets/{c55b348/toaster.CCMii1bQ.js → 9abc863/toaster.Duospl3o.js} +1 -1
- package/assets/9abc863/trade-terms.C80Kz5m2.js +1 -0
- package/assets/{c55b348/validateFields.BwE0p18l.js → 9abc863/validateFields.D6KwIc71.js} +1 -1
- package/assets/{f785e42/vendor.BGu2qkTq.js → 9abc863/vendor.UEAfe26O.js} +4 -4
- package/assets/9abc863/vouchers-terms.BWQYzdtq.js +1 -0
- package/assets/{37ae337/vouchers.Cyb8nCrq.js → 9abc863/vouchers.B4XC4q7V.js} +1 -1
- package/assets/{c55b348/vue-router.CTntrroE.js → 9abc863/vue-router.Bw-Vu8cJ.js} +1 -1
- package/assets/9abc863/wellness-terms.CiXxdQXm.js +1 -0
- package/assets/{37ae337/wellness.Dww8scGf.js → 9abc863/wellness.LEkcp4oM.js} +1 -1
- package/assets/{f785e42/AsideFeatures.COiwmqdD.js → bc0a81e/AsideFeatures.DY8oBEXm.js} +1 -1
- package/assets/{c55b348/AsideOrderSummary.UKWB5LKL.js → bc0a81e/AsideOrderSummary.DaO-i-wC.js} +1 -1
- package/assets/{37ae337/AsideSummary.BE9NeaZE.js → bc0a81e/AsideSummary.cwNy2tTh.js} +1 -1
- package/assets/{37ae337/AuthInfo.Bt5BU0F0.js → bc0a81e/AuthInfo.ZWekujuP.js} +1 -1
- package/assets/{c55b348/AuthRegistrationForm.-cE_CLMI.js → bc0a81e/AuthRegistrationForm.CSwHzqrK.js} +1 -1
- package/assets/{f785e42/Button.DSwXM1vM.js → bc0a81e/Button.Bi4uv-lE.js} +1 -1
- package/assets/bc0a81e/ButtonBordered.BTIgYtld.js +1 -0
- package/assets/bc0a81e/ButtonBorderedThin.CYLFI4uR.js +1 -0
- package/assets/bc0a81e/ButtonGhosted.BUW9MnYB.js +1 -0
- package/assets/bc0a81e/ButtonMuted.CPrNWjHf.js +1 -0
- package/assets/{f785e42/CalendarFlexible.CEVBs1eN.js → bc0a81e/CalendarFlexible.MPJgQtpS.js} +1 -1
- package/assets/{f785e42/Check.1kttjrU5.js → bc0a81e/Check.BP91pUqk.js} +1 -1
- package/assets/{f785e42/CheckinApp.BEzPf4Yi.js → bc0a81e/CheckinApp.Dhy-L8vd.js} +1 -1
- package/assets/{f785e42/Circle.ByhP73-w.js → bc0a81e/Circle.DOeW1c4e.js} +1 -1
- package/assets/{f785e42/Control.l_F0QhcO.js → bc0a81e/Control.CSebJLvO.js} +1 -1
- package/assets/{c55b348/ControlTelCountryCode.BV2zANBM.js → bc0a81e/ControlTelCountryCode.3_jmbYhg.js} +1 -1
- package/assets/{c55b348/DatePicker.D0v9LNXw.js → bc0a81e/DatePicker.C7H5Njqw.js} +1 -1
- package/assets/{f785e42/Details.y2CqCSTf.js → bc0a81e/Details.PDpOygH7.js} +1 -1
- package/assets/{c55b348/DialogContent.kPndQa9E.js → bc0a81e/DialogContent.BDyFs5O2.js} +1 -1
- package/assets/{f785e42/Drawer.BtODZWBW.js → bc0a81e/Drawer.D4R3b8f2.js} +1 -1
- package/assets/{f785e42/Field.Bw7PCeQ1.js → bc0a81e/Field.DZCcYz7P.js} +1 -1
- package/assets/{f785e42/Footer.C6I-AoKD.js → bc0a81e/Footer.Ft24Wpck.js} +1 -1
- package/assets/{c55b348/FooterLogo.Cq6U4Rxy.js → bc0a81e/FooterLogo.DtwOd9AX.js} +1 -1
- package/assets/bc0a81e/Header.B3JtUCTn.js +1 -0
- package/assets/{f785e42/HeaderLanguagePopover.nkhRe96-.js → bc0a81e/HeaderLanguagePopover.ByxBkKhW.js} +1 -1
- package/assets/{f785e42/Image.D7YhPEgz.js → bc0a81e/Image.BbmLv0Ug.js} +1 -1
- package/assets/{f785e42/InputMask.Bjs0czKj.js → bc0a81e/InputMask.C2LzTRAy.js} +1 -1
- package/assets/bc0a81e/Main.0JDwcGbb.js +1 -0
- package/assets/{37ae337/OrderAccommodation.CCY7yu5T.js → bc0a81e/OrderAccommodation.DD792ezR.js} +1 -1
- package/assets/{f785e42/OrderConfirmedStatus.DymNVdn6.js → bc0a81e/OrderConfirmedStatus.c2XN-if2.js} +1 -1
- package/assets/{f785e42/OrderHeader.B-gKOwxl.js → bc0a81e/OrderHeader.DHpkWQ_l.js} +1 -1
- package/assets/bc0a81e/PackageDetailDialogContent.BVm6elV1.js +1 -0
- package/assets/{f785e42/Popover.Cd-ly7x7.js → bc0a81e/Popover.AS3bvD-d.js} +1 -1
- package/assets/{c55b348/ReservationEditInfo.zaNw_QUV.js → bc0a81e/ReservationEditInfo.BDMgMOku.js} +1 -1
- package/assets/{c55b348/RoomDetailDialog.aRP3wn_t.js → bc0a81e/RoomDetailDialog.tzHbPHE_.js} +1 -1
- package/assets/bc0a81e/RoomDetailDialogContent.-DlkNVAB.js +1 -0
- package/assets/{37ae337/RoomSelect.2lSrNit8.js → bc0a81e/RoomSelect.DeT5rFYA.js} +1 -1
- package/assets/{f785e42/TextContent.D8bbLDgx.js → bc0a81e/TextContent.CIUZWaJn.js} +1 -1
- package/assets/{c55b348/TooltipCursor.B7qMvECa.js → bc0a81e/TooltipCursor.Ciaf4NQq.js} +1 -1
- package/assets/bc0a81e/WellnessDetailDialog.H0O1f-nC.js +2 -0
- package/assets/{f785e42/_...path_.B1vQ0yTt.js → bc0a81e/_...path_.BMfSJ_ZI.js} +1 -1
- package/assets/{c55b348/_code_.BA3VKbEG.js → bc0a81e/_code_.C15hx1P3.js} +1 -1
- package/assets/{c55b348/_id_.BX3vBLH0.js → bc0a81e/_id_.3upK_Doe.js} +1 -1
- package/assets/{c55b348/_id_.CE0H8NqJ.js → bc0a81e/_id_.CbZ1dHSW.js} +1 -1
- package/assets/{f785e42/_uuid_.Ccr7O8pm.js → bc0a81e/_uuid_.4YN18F-C.js} +1 -1
- package/assets/bc0a81e/_uuid_.BG2fq9Dz.js +1 -0
- package/assets/{f785e42/_uuid_.DuAZY6Zm.js → bc0a81e/_uuid_.BM-_NuLN.js} +1 -1
- package/assets/{f785e42/_uuid_._2C6HTjE.js → bc0a81e/_uuid_.Bv56HnAR.js} +1 -1
- package/assets/{c55b348/_uuid_.lu-YDeRh.js → bc0a81e/_uuid_.Cmp_486q.js} +1 -1
- package/assets/{37ae337/_uuid_.DSzRF2pQ.js → bc0a81e/_uuid_.D0EfY1xB.js} +1 -1
- package/assets/{37ae337/_uuid_.CdoiFDrF.js → bc0a81e/_uuid_.LhXHSisb.js} +1 -1
- package/assets/bc0a81e/accommodation-terms.DUA4HUd0.js +1 -0
- package/assets/{f785e42/account.BsTL4CgW.js → bc0a81e/account.DFwU1TOn.js} +1 -1
- package/assets/{f785e42/account.BwfUSF-Q.js → bc0a81e/account.HD-R6MuR.js} +1 -1
- package/assets/{c55b348/app.ce.DkC-0-iA.js → bc0a81e/app.ce.C6Vjqcdr.js} +2 -2
- package/assets/{c55b348/calendar.BpmKKg9e.js → bc0a81e/calendar.C0ZnJLJR.js} +1 -1
- package/assets/{f785e42/calendar.Cij86reI.js → bc0a81e/calendar.sVbQ5o_M.js} +1 -1
- package/assets/{c55b348/calendarFlexibleDialog.Cqt35vGT.js → bc0a81e/calendarFlexibleDialog.BPPiKocL.js} +1 -1
- package/assets/{37ae337/chain.B5iS_gpx.js → bc0a81e/chain.aON_ZDjv.js} +1 -1
- package/assets/bc0a81e/client.MaZPHh6g.js +1 -0
- package/assets/bc0a81e/config.CL0QsYzP.js +1 -0
- package/assets/bc0a81e/countries.C4zoFLww.js +1 -0
- package/assets/{37ae337/dateFormatter.CGHUXzCe.js → bc0a81e/dateFormatter.Bn_XV_PD.js} +1 -1
- package/assets/bc0a81e/details.Bdcarj2b.js +1 -0
- package/assets/{c55b348/dist.D_R18qcr.js → bc0a81e/dist.BlDNT38V.js} +1 -1
- package/assets/{37ae337/edit.CgZGcHIA.js → bc0a81e/edit.Cx08v4Lh.js} +1 -1
- package/assets/{f785e42/fancybox.CJsv9BnL.js → bc0a81e/fancybox.BR8b-4ax.js} +1 -1
- package/assets/bc0a81e/faq.BKJ5yyI7.js +1 -0
- package/assets/bc0a81e/formatPrice.BkMw7JGC.js +1 -0
- package/assets/bc0a81e/hotel.DRLrihvI.js +1 -0
- package/assets/{37ae337/location.NPVmgtic.js → bc0a81e/location.CHnfdXyG.js} +2 -2
- package/assets/{f785e42/login.BXgUxwJJ.js → bc0a81e/login.CZX74gBA.js} +1 -1
- package/assets/{f785e42/marketing-terms.BvAQfWVF.js → bc0a81e/marketing-terms.ZunTctZ_.js} +1 -1
- package/assets/{f785e42/nav.CGVHoM59.js → bc0a81e/nav.DlxfSEw3.js} +1 -1
- package/assets/{f785e42/order.LEc70bzD.js → bc0a81e/order.B6vkGjYg.js} +1 -1
- package/assets/{c55b348/orders.DDqR1hsa.js → bc0a81e/orders.DTIiQiro.js} +1 -1
- package/assets/bc0a81e/packages.EwKxyp_e.js +1 -0
- package/assets/{f785e42/packages.C83hDrok.js → bc0a81e/packages.lZSoskEz.js} +1 -1
- package/assets/bc0a81e/pages.Cf5cmjae.js +1 -0
- package/assets/bc0a81e/pages.CqjwfkEY.js +1 -0
- package/assets/{37ae337/params.AdxM2Q8O.js → bc0a81e/params.CKLHNS06.js} +1 -1
- package/assets/{f785e42/playground.8Tm_qVVL.js → bc0a81e/playground.CgdT-HNX.js} +1 -1
- package/assets/{f785e42/points.eiYNquqf.js → bc0a81e/points.DhtPgG5Y.js} +1 -1
- package/assets/bc0a81e/privacy-policy.B_WAUOXU.js +1 -0
- package/assets/{c55b348/ratings.DPE77IiP.js → bc0a81e/ratings.Sivvhk30.js} +1 -1
- package/assets/{f785e42/register.DmmCNM-C.js → bc0a81e/register.B0qXnwcm.js} +1 -1
- package/assets/{c55b348/request.BOq893DA.js → bc0a81e/request.k0EKjinQ.js} +1 -1
- package/assets/{f785e42/reservation.BzOjnZgI.js → bc0a81e/reservation.BraqRP6X.js} +1 -1
- package/assets/{f785e42/reservation.Co3PKchx.js → bc0a81e/reservation.CSsbKUmJ.js} +1 -1
- package/assets/{f785e42/rewards.PwxwPzjy.js → bc0a81e/rewards.Bx415064.js} +1 -1
- package/assets/{f785e42/rooms.CgrX_Ptg.js → bc0a81e/rooms.C3UHMLNl.js} +1 -1
- package/assets/{f785e42/rooms.CzYCycWd.js → bc0a81e/rooms.rHp9gBMo.js} +1 -1
- package/assets/bc0a81e/routeParams.DErXguzA.js +1 -0
- package/assets/{37ae337/sentry.QMf-gMv2.js → bc0a81e/sentry.ugBcnVAv.js} +1 -1
- package/assets/{f785e42/statusDialog.CWPzBABk.js → bc0a81e/statusDialog.BFK0xH3r.js} +1 -1
- package/assets/bc0a81e/summary.BZK0Nydb.js +1 -0
- package/assets/bc0a81e/terms.Bhv2CwVy.js +1 -0
- package/assets/{f785e42/toaster.DOHhVfsI.js → bc0a81e/toaster.CrL6hWG8.js} +1 -1
- package/assets/bc0a81e/trade-terms.C8Jid9KT.js +1 -0
- package/assets/{f785e42/validateFields.Jh9WdbVA.js → bc0a81e/validateFields.Bf-0Jigp.js} +1 -1
- package/assets/{c55b348/vendor.hO2fYZhy.js → bc0a81e/vendor.Do_VFRcJ.js} +4 -4
- package/assets/bc0a81e/vouchers-terms.DiqoYOFs.js +1 -0
- package/assets/bc0a81e/vouchers.BX36aBGM.js +1 -0
- package/assets/{37ae337/vue-router.DD36fIW3.js → bc0a81e/vue-router.Cd4b305L.js} +1 -1
- package/assets/bc0a81e/wellness-terms.Du-vcIRp.js +1 -0
- package/assets/{c55b348/wellness.55cRIGZB.js → bc0a81e/wellness.vaYS3EYk.js} +1 -1
- package/assets/versions.json +1 -1
- package/index.min.js +2 -2
- package/package.json +1 -1
- package/assets/37ae337/ButtonBordered.C0ptE6DP.js +0 -1
- package/assets/37ae337/ButtonBorderedThin.N-mFWnxL.js +0 -1
- package/assets/37ae337/ButtonGhosted.Bmr7Szm_.js +0 -1
- package/assets/37ae337/ButtonMuted.DWEYYkz4.js +0 -1
- package/assets/37ae337/Header.mWd6IIf2.js +0 -1
- package/assets/37ae337/Main.DTUDPOqZ.js +0 -1
- package/assets/37ae337/RoomDetailDialogContent.DYW1YuKO.js +0 -1
- package/assets/37ae337/_uuid_.ADeW861T.js +0 -1
- package/assets/37ae337/accommodation-terms.ByfT8_ph.js +0 -1
- package/assets/37ae337/client.BkI9CFDA.js +0 -1
- package/assets/37ae337/config.CfT3Empr.js +0 -1
- package/assets/37ae337/countries.BS1T1mQF.js +0 -1
- package/assets/37ae337/details.DXQa3o26.js +0 -1
- package/assets/37ae337/faq.DMUiiUne.js +0 -1
- package/assets/37ae337/formatPrice.CyV0FsvV.js +0 -1
- package/assets/37ae337/packages.BnlD5as1.js +0 -1
- package/assets/37ae337/pages.BZ-wzX0r.js +0 -1
- package/assets/37ae337/privacy-policy.t0bfIcye.js +0 -1
- package/assets/37ae337/routeParams.C-rg2eQ0.js +0 -1
- package/assets/37ae337/terms.-yTaU-k1.js +0 -1
- package/assets/37ae337/trade-terms.CoeKlsiQ.js +0 -1
- package/assets/37ae337/vouchers-terms.ChKtfaqo.js +0 -1
- package/assets/37ae337/wellness-terms.Btzpjojd.js +0 -1
- package/assets/c55b348/ButtonBordered.DMI-aEe6.js +0 -1
- package/assets/c55b348/ButtonBorderedThin.GfjkE5vb.js +0 -1
- package/assets/c55b348/ButtonGhosted.C3pz1gOn.js +0 -1
- package/assets/c55b348/ButtonMuted.CmtusFQv.js +0 -1
- package/assets/c55b348/Header.DPju4Cwz.js +0 -1
- package/assets/c55b348/Main.BfYIjmR0.js +0 -1
- package/assets/c55b348/WellnessDetailDialog.CUbpWSh-.js +0 -2
- package/assets/c55b348/accommodation-terms.Bu3sivM9.js +0 -1
- package/assets/c55b348/client.T5Px7Q15.js +0 -1
- package/assets/c55b348/config.5TeOFwa3.js +0 -1
- package/assets/c55b348/countries.BrsghvY0.js +0 -1
- package/assets/c55b348/details.BoRKuFOa.js +0 -1
- package/assets/c55b348/faq.DBtn59TP.js +0 -1
- package/assets/c55b348/formatPrice.B8YEcqih.js +0 -1
- package/assets/c55b348/pages.U-9HwgAG.js +0 -1
- package/assets/c55b348/pages.nkFY1TxW.js +0 -1
- package/assets/c55b348/privacy-policy.C49MI74u.js +0 -1
- package/assets/c55b348/routeParams.CNzOlJfv.js +0 -1
- package/assets/c55b348/summary.CBeP1A_J.js +0 -1
- package/assets/c55b348/terms.Dstd_9ST.js +0 -1
- package/assets/c55b348/trade-terms.6uZh3KPr.js +0 -1
- package/assets/c55b348/vouchers-terms.CubjUoaY.js +0 -1
- package/assets/c55b348/vouchers.CPVEoOBo.js +0 -1
- package/assets/c55b348/wellness-terms.BsLQ4tbJ.js +0 -1
- package/assets/f785e42/ButtonBordered.CP-VyF36.js +0 -1
- package/assets/f785e42/ButtonBorderedThin.jONrcTDH.js +0 -1
- package/assets/f785e42/ButtonGhosted.E76FJ-Mf.js +0 -1
- package/assets/f785e42/ButtonMuted.ClXJRdlP.js +0 -1
- package/assets/f785e42/Header.CxfzOuTi.js +0 -1
- package/assets/f785e42/Main.B6URJ_XN.js +0 -1
- package/assets/f785e42/PackageDetailDialogContent.BOOjo_oC.js +0 -1
- package/assets/f785e42/accommodation-terms.meT5Ns8_.js +0 -1
- package/assets/f785e42/client.DrMpyevc.js +0 -1
- package/assets/f785e42/config.tpbdABlZ.js +0 -1
- package/assets/f785e42/countries.CE6bN6gS.js +0 -1
- package/assets/f785e42/details.BGQ4YYFa.js +0 -1
- package/assets/f785e42/faq.BVEgi7EE.js +0 -1
- package/assets/f785e42/formatPrice.BEcRqhQn.js +0 -1
- package/assets/f785e42/hotel.BmQNwmkI.js +0 -1
- package/assets/f785e42/pages.DIf-_Lwj.js +0 -1
- package/assets/f785e42/pages._B8SYS_w.js +0 -1
- package/assets/f785e42/privacy-policy.K7_5U-6w.js +0 -1
- package/assets/f785e42/routeParams.6hpnfcMT.js +0 -1
- package/assets/f785e42/terms.BqOMJDFo.js +0 -1
- package/assets/f785e42/trade-terms.D83lptj5.js +0 -1
- package/assets/f785e42/vouchers-terms.Dg-QZY_H.js +0 -1
- package/assets/f785e42/wellness-terms.D9DPXL0C.js +0 -1
- /package/assets/{37ae337/_plugin-vue_export-helper.BKrxtfM6.js → 8a7a0fd/_plugin-vue_export-helper.BiWT7g7K.js} +0 -0
- /package/assets/{37ae337 → 8a7a0fd}/app.CJTXFzvz.png +0 -0
- /package/assets/{37ae337/basePath.Cbe3ywOU.js → 8a7a0fd/basePath.DpJdvDm-.js} +0 -0
- /package/assets/{37ae337/closeDetails.Uf38s8CE.js → 8a7a0fd/closeDetails.C3q7bD28.js} +0 -0
- /package/assets/{37ae337/dist.CyL1TWIu.js → 8a7a0fd/dist.CYmCdqLk.js} +0 -0
- /package/assets/{37ae337/dist.C3zbh59W.js → 8a7a0fd/dist.CgJyCM6y.js} +0 -0
- /package/assets/{37ae337 → 8a7a0fd}/erv.CerNAezh.svg +0 -0
- /package/assets/{37ae337/esm.Du4xPrm0.js → 8a7a0fd/esm.DYxDqYRg.js} +0 -0
- /package/assets/{37ae337/experimental.DpaPShJ5.js → 8a7a0fd/experimental.DutZX3Ew.js} +0 -0
- /package/assets/{37ae337/getPaymentUrl.DuHKmnhT.js → 8a7a0fd/getPaymentUrl.ncex814j.js} +0 -0
- /package/assets/{37ae337/index.es.D_rMut9w.js → 8a7a0fd/index.es.CXSzlnDY.js} +0 -0
- /package/assets/{37ae337/localeRules.Dwj99WAc.js → 8a7a0fd/localeRules.CKQLmUcY.js} +0 -0
- /package/assets/{37ae337/patterns.BwiOr3S3.js → 8a7a0fd/patterns.BwTMHFOm.js} +0 -0
- /package/assets/{37ae337/plainText.DQdtg9hH.js → 8a7a0fd/plainText.CJEWnNlp.js} +0 -0
- /package/assets/{37ae337/preload.BAriOEPp.js → 8a7a0fd/preload.CTEq7NUK.js} +0 -0
- /package/assets/{37ae337/rolldown-runtime.BGRWIqI_.js → 8a7a0fd/rolldown-runtime.CYqaXOiW.js} +0 -0
- /package/assets/{37ae337/signature_pad.DM7dotBa.js → 8a7a0fd/signature_pad.3VGRTa8w.js} +0 -0
- /package/assets/{37ae337/staleTimes.CSax4Rlv.js → 8a7a0fd/staleTimes.emgtWykL.js} +0 -0
- /package/assets/{37ae337/togglePassword.BIf3dozy.js → 8a7a0fd/togglePassword.BVbU1ilq.js} +0 -0
- /package/assets/{c55b348/_plugin-vue_export-helper.CJFXl7fz.js → 9abc863/_plugin-vue_export-helper.C0ijDkGT.js} +0 -0
- /package/assets/{c55b348 → 9abc863}/app.CJTXFzvz.png +0 -0
- /package/assets/{c55b348/basePath.DvLIwwfa.js → 9abc863/basePath.DKl9za_V.js} +0 -0
- /package/assets/{c55b348/closeDetails.C1vTIQ1E.js → 9abc863/closeDetails.C8zZD3SJ.js} +0 -0
- /package/assets/{c55b348/dist.BNOXBOmN.js → 9abc863/dist.D9SLCwI7.js} +0 -0
- /package/assets/{c55b348/dist.DkFDwBXW.js → 9abc863/dist.b2zlMDTZ.js} +0 -0
- /package/assets/{c55b348 → 9abc863}/erv.CerNAezh.svg +0 -0
- /package/assets/{c55b348/esm.DAAUlV4n.js → 9abc863/esm.CgggN1_U.js} +0 -0
- /package/assets/{c55b348/experimental.CorvSm6c.js → 9abc863/experimental.Cr2dpMSf.js} +0 -0
- /package/assets/{c55b348/getPaymentUrl.BoKSW2s_.js → 9abc863/getPaymentUrl.DOaXoJD3.js} +0 -0
- /package/assets/{c55b348/index.es.GF6RwZKY.js → 9abc863/index.es.DgL25r8U.js} +0 -0
- /package/assets/{c55b348/localeRules.Cmrt9pbJ.js → 9abc863/localeRules.ISFWYFF6.js} +0 -0
- /package/assets/{c55b348/patterns.BmO4lxbY.js → 9abc863/patterns.CeNuhuLC.js} +0 -0
- /package/assets/{c55b348/plainText.B5Ot-Z58.js → 9abc863/plainText.B_aBSoJ2.js} +0 -0
- /package/assets/{c55b348/preload.CbzMOkp8.js → 9abc863/preload.DxhQL6ww.js} +0 -0
- /package/assets/{c55b348/rolldown-runtime.OUxXC3AW.js → 9abc863/rolldown-runtime.BQa96kB2.js} +0 -0
- /package/assets/{c55b348/signature_pad.CNewFF5L.js → 9abc863/signature_pad.C07Egmsk.js} +0 -0
- /package/assets/{c55b348/staleTimes.C4g5-gQd.js → 9abc863/staleTimes.BFpWFXo3.js} +0 -0
- /package/assets/{c55b348/togglePassword.DOftSz_E.js → 9abc863/togglePassword.DhXSbA19.js} +0 -0
- /package/assets/{f785e42/_plugin-vue_export-helper.CVuqnCex.js → bc0a81e/_plugin-vue_export-helper.BZ8SKbXu.js} +0 -0
- /package/assets/{f785e42 → bc0a81e}/app.CJTXFzvz.png +0 -0
- /package/assets/{f785e42/basePath.CZNYxQU8.js → bc0a81e/basePath.kGPkk3rO.js} +0 -0
- /package/assets/{f785e42/closeDetails.Rl_Xi9VJ.js → bc0a81e/closeDetails.DVcvAgRR.js} +0 -0
- /package/assets/{f785e42/dist.CR4ffK8_.js → bc0a81e/dist.BkBUEQAB.js} +0 -0
- /package/assets/{f785e42/dist.DRl7vaHS.js → bc0a81e/dist.C8A6yobf.js} +0 -0
- /package/assets/{f785e42 → bc0a81e}/erv.CerNAezh.svg +0 -0
- /package/assets/{f785e42/esm.DHoAkVBq.js → bc0a81e/esm.BIm-ADfn.js} +0 -0
- /package/assets/{f785e42/experimental.DlhmGXKW.js → bc0a81e/experimental.Cy57_TL0.js} +0 -0
- /package/assets/{f785e42/getPaymentUrl.xa_1GwGz.js → bc0a81e/getPaymentUrl.C7Lf7XFh.js} +0 -0
- /package/assets/{f785e42/index.es.BBH8jX4Z.js → bc0a81e/index.es._VatIz9-.js} +0 -0
- /package/assets/{f785e42/localeRules.DuB-8maD.js → bc0a81e/localeRules.BVjMhTeP.js} +0 -0
- /package/assets/{f785e42/patterns.Bgl0jWnL.js → bc0a81e/patterns.BawwaaO4.js} +0 -0
- /package/assets/{f785e42/plainText.CC3Vidi5.js → bc0a81e/plainText.Dx0MK4Yj.js} +0 -0
- /package/assets/{f785e42/preload.vcDpiZHI.js → bc0a81e/preload.D47q6Y6C.js} +0 -0
- /package/assets/{f785e42/rolldown-runtime.CY69pHGU.js → bc0a81e/rolldown-runtime.DZwckR-S.js} +0 -0
- /package/assets/{f785e42/signature_pad.DvPpdb2r.js → bc0a81e/signature_pad.3AG_4O-y.js} +0 -0
- /package/assets/{f785e42/staleTimes.BuCDd__I.js → bc0a81e/staleTimes.DzrC_Y6z.js} +0 -0
- /package/assets/{f785e42/togglePassword.D7dAyG22.js → bc0a81e/togglePassword.BF9Py_jQ.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./preload.CbzMOkp8.js";import{An as t,Dn as n,Hn as r,In as i,Jn as a,Kn as o,Mn as s,Pn as c,Rt as l,Vn as u,Xn as d,Zn as f,bn as p,er as m,f as h,gn as g,hn as _,jt as v,kn as y,ln as b,mn as x,p as S,pn as C,u as w,un as T,ut as E,vn as D,yn as O}from"./vendor.hO2fYZhy.js";import{W as k,t as A}from"./params.C4l_dMrB.js";import"./localeRules.Cmrt9pbJ.js";import{n as j,t as M}from"./DialogContent.kPndQa9E.js";import{n as N,t as P}from"./Field.BXufwr4B.js";import{t as F}from"./Button.BrYX2zWI.js";import{t as I}from"./Control.BJcNbGb_.js";import"./client.T5Px7Q15.js";import"./staleTimes.C4g5-gQd.js";import"./countries.BrsghvY0.js";import{t as L}from"./config.5TeOFwa3.js";import{n as R,t as ee}from"./ControlTelCountryCode.BV2zANBM.js";import{t as te}from"./Check.DRKnQJnO.js";import{t as z}from"./toaster.CCMii1bQ.js";import{t as B}from"./patterns.BmO4lxbY.js";import{t as V}from"./validateFields.BwE0p18l.js";import{t as H}from"./ButtonGhosted.C3pz1gOn.js";import{t as ne}from"./ButtonBordered.DMI-aEe6.js";import{o as U,r as W}from"./reservation.Cl2uQjsA.js";import{t as G}from"./hotel._j1G89r-.js";import{t as K}from"./Main.BfYIjmR0.js";import{t as q}from"./routeParams.CNzOlJfv.js";import{t as J}from"./CheckinApp.D4tULy5B.js";import{i as Y}from"./reservation.BMuBrj8P.js";import{t as X}from"./InputMask.DMCMETMS.js";var Z={class:`border-b border-b-main-secondary`},re={key:0,class:`x-info text-error validity mt-1`},ie=p({__name:`ControlSignature`,props:{invalid:{type:Boolean},value:{type:String}},setup(n,{expose:i}){let c=n,{t:l}=v(),p=A(),h=o(),b=o(),x=a(c.invalid??!1),S;function w(){let e=Math.max(window.devicePixelRatio||1,1);h.value.width=h.value.offsetWidth*e,h.value.height=h.value.offsetHeight*e,h.value.getContext(`2d`).scale(e,e)}function E(){b.value=S.toDataURL(`image/png`),x.value=!1}let D=()=>{S.clear()};return u(()=>c.invalid,e=>{x.value=e}),y(async()=>{let{default:t}=await e(async()=>{let{default:e}=await import(`./signature_pad.CNewFF5L.js`);return{default:e}},[]);S=new t(h.value,{penColor:p.theme===`dark`?`rgb(255 255 255)`:`rgb(0 0 0)`}),w(),c.value&&await S.fromDataURL(c.value),window.addEventListener(`resize`,w),S.addEventListener(`endStroke`,E)}),t(()=>{window.removeEventListener(`resize`,w),S.removeEventListener(`endStroke`,E)}),i({output:b}),(e,t)=>{let n=H;return s(),g(T,null,[C(`div`,{class:f([`x-control-signature pb-6 px-6 rounded-md bg-body-primary border relative`,{"border-error":x.value,"border-main-tertiary":!x.value}])},[C(`div`,Z,[C(`canvas`,{ref_key:`canvas`,ref:h,class:`w-full h-[82px]`},null,512),O(n,{class:`accent-main absolute right-1.5 top-1.5`,size:`xs`,variant:`circle`,type:`button`,"aria-label":d(l)(`clear`),onClick:D},{default:r(()=>[...t[0]||=[C(`svg`,{"aria-hidden":`true`,class:`size-4`},[C(`use`,{href:`#icon-arrow-uturn-left-micro`})],-1)]]),_:1},8,[`aria-label`])])],2),x.value?(s(),g(`div`,re,m(d(l)(`fillThisField`)),1)):_(``,!0)],64)}}});const ae=e=>{navigator.clipboard.writeText(e)};var oe={class:`x-heading sm mb-6`},se=[`placeholder`],ce={class:`flex flex-wrap gap-2 justify-between text-main-secondary`},le={class:`x-title sm`},ue=p({__name:`CheckinShareDialog`,props:{uuid:{type:[String,null]}},setup(e,{expose:t}){let n=e,{t:i}=v(),a=E(),c=q(),l=z(),f=o(),p=o(),g=o(!1),{data:_,mutate:y,error:T,asyncStatus:k}=U(),A=({currentTarget:e})=>{let t=Object.fromEntries(new FormData(e));y(Object.assign(t,{uuid:n?.uuid}))};u(_,e=>{e?.response?.status===200&&(f.value.close(),l.add({class:`accent-success`,title:i(`success`),text:i(`checkinSuccessInfo`)}))}),u([_,T],()=>{!T.value&&!_?.value?.error||(V(p.value?.$el,_?.value?.error?.params),l.add({class:`accent-error`,title:i(`error`),text:T?.value?.toString()??_.value?.error?.message}))});let L=()=>{ae(`${a.value.origin+a.value.pathname}#/reservation/checkin/${c.value.id}/${n.uuid}`),g.value=!0,setTimeout(()=>{g.value=!1},750)};return t({root:f}),(e,t)=>{let n=H,o=I,c=P,l=F,u=N,_=M,v=j;return s(),x(v,{ref_key:`root`,ref:f},{default:r(()=>[O(_,{class:`flex flex-col p-6 rounded-xl`},{default:r(()=>[O(n,{class:`accent-main absolute right-4 top-4`,size:`xs`,variant:`circle`,"aria-label":d(i)(`close`),onClick:t[0]||=e=>f.value.close()},{default:r(()=>[...t[1]||=[C(`svg`,{"aria-hidden":`true`},[C(`use`,{href:`#icon-x-mark-mini`})],-1)]]),_:1},8,[`aria-label`]),C(`h1`,oe,m(d(i)(`reservationShare`)),1),O(u,{ref_key:`form`,ref:p,class:`flex gap-2.5 mb-6`,onSubmit:b(A,[`prevent`])},{default:r(()=>[O(c,{class:`grow`},{default:r(()=>[O(o,{size:`md`,class:`not-has-user-invalid:border-accent`},{default:r(()=>[C(`input`,{type:`email`,name:`email`,placeholder:d(i)(`enterEmail`),required:``,autofocus:``},null,8,se)]),_:1})]),_:1}),O(l,{size:`md`,type:`submit`,loading:d(k)===`loading`},{default:r(()=>[D(m(d(i)(`shareCheckin`)),1)]),_:1},8,[`loading`])]),_:1},512),C(`div`,ce,[C(`div`,le,m(d(i)(`orCopyLink`))+`: `,1),O(d(S),{open:g.value},{default:r(()=>[O(d(w),{"as-child":``},{default:r(()=>[C(`button`,{class:`x-link sm flex items-center gap-1 underline underline-transparent`,onClick:L},[D(m(d(a).host+d(a).pathname)+` `,1),t[2]||=C(`svg`,{class:`size-3 text-accent shrink-0`,"aria-hidden":`true`},[C(`use`,{href:`#icon-square-2-stack-micro`})],-1)])]),_:1}),O(d(h),{sideOffset:4,side:`top`,class:`x-popover-content tooltip shadow`},{default:r(()=>[D(m(d(i)(`copiedToClipboard`)),1)]),_:1})]),_:1},8,[`open`])])]),_:1})]),_:1},512)}}}),de=[`data-open`],fe={class:`p-3 min-h-16.5 flex items-center max-md:flex-wrap transition-all group-data-open:p-4 group-data-open:md:p-6 max-md:gap-y-1`},pe={class:`x-title sm mr-2 order-first`},me={key:0,class:`text-normal`},he={key:0,class:`x-title sm text-primary md:ml-auto`},ge={key:1,class:`md:ml-auto flex items-center gap-5 max-md:contents`},_e={key:2,class:`md:ml-auto flex gap-4 max-md:mt-1 max-md:gap-2`},ve={class:`x-heading xs mb-6`},ye={class:`grid md:grid-cols-2 gap-3 md:gap-6`},be=[`id`,`value`],xe=[`for`],Se=[`id`,`value`],Ce=[`for`],we=[`id`,`value`],Te=[`for`],Ee=[`id`,`value`,`required`],De=[`for`],Oe=[`id`,`value`],ke=[`for`],Ae=[`id`],je=[`for`],Me={class:`x-heading xs mb-6`},Ne={class:`grid md:grid-cols-2 gap-3 md:gap-6`},Pe=[`id`,`value`],Fe=[`for`],Ie=[`id`,`value`],Le=[`for`],Re=[`id`,`value`],ze=[`for`],Be={class:`x-heading xs mb-6`},Ve={class:`grid md:grid-cols-2 gap-3 md:gap-6`},He={class:`x-group rounded-sm w-full`},Ue=[`id`,`value`,`pattern`],We=[`for`],Ge=[`id`,`value`],Ke=[`for`],qe={key:0},Je={class:`x-heading xs mb-6`},Ye={class:`grid md:grid-cols-12 gap-3 md:gap-6`},Xe=[`id`],Ze=[`for`],Qe=[`id`],$e=[`for`],et=[`id`],tt=[`for`],nt={class:`x-heading xs mb-6`},rt={class:`flex flex-col gap-2.5`},it=[`id`,`checked`],at=[`id`,`checked`],Q=!0,ot=p({__name:`CheckinRoomItem`,props:{checkinCompleted:{type:Boolean},checkinClosed:{type:Boolean},index:{type:Number},guest:{type:Object}},setup(e){let t={BASE_URL:`https://v4.bookoloengine.com/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_API_URL:`https://api.bookoloengine.com/desktop/v1`,VITE_BASE_URL:`https://v4.bookoloengine.com/`,VITE_DEBUG:`false`,VITE_FONT_URL:`https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap`,VITE_GOOGLE_MAPS_API_KEY:`AIzaSyDMusEQNO0rIJ86vZoowmPD2U2g5Ma8LOQ`,VITE_LOCALES_URL:`https://www.bookoloengine.com/userfiles/api/desktop/locales`,VITE_NAME:`bookolosystem-engine`,VITE_NAME_BANNER:`bookolosystem-banner`,VITE_PLAUSIBLE_URL:`https://plausible.newlogic.cz/js/script.outbound-links.js`,VITE_SENTRY_DSN:`https://015bded0d2216dceb2c50582f80e5f83@sentry.newlogic.cz/58`},{t:c}=v(),p=l(),h=e,y=z(),{data:S}=L(),w=a(!1),E=a(),k=a(h.checkinCompleted),A=o(),j=a(!1),M=o(),H=o({uuid:``}),{data:U,mutate:G,error:K,asyncStatus:q}=W(),J=()=>{w.value=!w.value},Y=({currentTarget:e})=>{let t=Object.fromEntries(new FormData(e));if(!A.value.output){j.value=!0;return}G(Object.assign(t,{uuid:h?.guest?.uuid,id:h?.guest?.id,signature:A.value.output}))};return u(U,e=>{e?.response?.status===200&&(w.value=!1,k.value=!0,p.invalidateQueries({key:[`reservation`]}))}),u([U,K],()=>{!K.value&&!U?.value?.error||(V(E.value?.$el,U?.value?.error?.params),y.add({class:`accent-error`,title:c(`error`),text:K?.value?.toString()??U.value?.error?.message}))}),(a,o)=>{let l=F,u=ne,p=ue,h=I,v=P,y=R,L=ee,z=X,V=ie,U=i(`RouterLink`),W=i(`i18n-t`),G=te,K=N;return s(),g(`div`,{class:f([`x-checkin-room-item outline outline-transparent -outline-offset-1 rounded-md group`,`transition-all data-open:outline-primary has-[+[data-open]]:border-transparent`]),"data-open":w.value?``:null},[C(`div`,fe,[C(`div`,pe,[e.guest?.firstName||e.guest?.lastName?(s(),g(T,{key:0},[D(m(e.guest?.firstName)+` `+m(e.guest?.lastName),1)],64)):(s(),g(T,{key:1},[D(m(d(c)(`guest`))+` `+m(e.index)+` `,1),e.guest?.type===`child`?(s(),g(`span`,me,` (`+m(d(c)(`childrenSingular`))+`) `,1)):_(``,!0)],64))]),C(`div`,{class:f([`x-badge md muted order-first`,{"accent-error":!k.value,"accent-success":k.value}])},[k.value?(s(),g(T,{key:1},[D(m(d(c)(`filled`)),1)],64)):(s(),g(T,{key:0},[D(m(d(c)(`notFilled`)),1)],64))],2),e.checkinClosed?(s(),g(`div`,he,m(d(c)(`onlineCheckinClosed`)),1)):k.value?(s(),g(`div`,ge,[C(`button`,{class:`x-title sm flex items-center gap-1.5 underline underline-transparent hocus:text-primary`,onClick:J},[o[1]||=C(`svg`,{"aria-hidden":`true`,class:`size-4`},[C(`use`,{href:`#icon-pencil-micro`})],-1),D(` `+m(d(c)(`editCheckin`)),1)]),o[2]||=C(`svg`,{"aria-hidden":`true`,class:`size-7 text-success max-md:order-first max-md:ml-auto`},[C(`use`,{href:`#icon-check-circle-solid`})],-1)])):(s(),g(`div`,_e,[w.value?_(``,!0):(s(),x(l,{key:0,size:`md`,onClick:J},{default:r(()=>[D(m(d(c)(`fillCheckin`)),1)]),_:1})),O(u,{size:`md`,class:`accent-main`,onClick:o[0]||=t=>[H.value={uuid:e.guest?.uuid},M.value.root.show()]},{default:r(()=>[D(m(d(c)(`shareCheckin`)),1)]),_:1}),O(p,n({ref_key:`checkinShareDialog`,ref:M},{...H.value}),null,16)]))]),w.value?(s(),x(K,{key:0,ref_key:`form`,ref:E,class:`p-4 md:p-6 flex flex-col gap-8`,onSubmit:b(Y,[`prevent`])},{default:r(()=>[C(`fieldset`,null,[C(`legend`,ve,m(d(c)(`personalDetails`)),1),C(`div`,ye,[O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.firstName,type:`text`,name:`firstName`,autocomplete:`given-name`,placeholder:` `,required:Q},null,8,be),C(`label`,{for:t},m(d(c)(`yourFirstname`)),9,xe)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.lastName,type:`text`,name:`lastName`,autocomplete:`family-name`,placeholder:` `,required:Q},null,8,Se),C(`label`,{for:t},m(d(c)(`yourLastname`)),9,Ce)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.birthDate,type:`date`,name:`birthDate`,autocomplete:`bday`,placeholder:` `,required:Q},null,8,we),C(`label`,{for:t},m(d(c)(`birthdate`)),9,Te)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.idNumber,type:`text`,name:`idNumber`,placeholder:` `,required:e.guest?.onlineCheckinIdNumberRequired},null,8,Ee),C(`label`,{for:t},m(d(c)(`idNumber`)),9,De)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(y,{name:`citizenship`,value:e.guest?.citizenship,required:Q,label:d(c)(`stateCitizenship`)},null,8,[`value`,`label`])]),_:1}),e.guest?.onlineCheckinShowLicensePlate||d(t).VITE_DEBUG===`true`?(s(),x(v,{key:0},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.licensePlate,type:`text`,name:`licensePlate`,placeholder:` `},null,8,Oe),C(`label`,{for:t},m(d(c)(`licencePlate`)),9,ke)]),_:1})]),_:1})):_(``,!0),e.guest?.onlineCheckinShowVisa||d(t).VITE_DEBUG===`true`?(s(),x(v,{key:1},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[C(`input`,{id:e,type:`text`,name:`visa`,placeholder:` `},null,8,Ae),C(`label`,{for:e},m(d(c)(`visaNumber`)),9,je)]),_:1})]),_:1})):_(``,!0)])]),C(`fieldset`,null,[C(`legend`,Me,m(d(c)(`residence`)),1),C(`div`,Ne,[O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.street,type:`text`,name:`street`,autocomplete:`street-address`,placeholder:` `,required:Q},null,8,Pe),C(`label`,{for:t},m(d(c)(`streetAddress`)),9,Fe)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.city,type:`text`,name:`city`,autocomplete:`address-level2`,placeholder:` `,required:Q},null,8,Ie),C(`label`,{for:t},m(d(c)(`city`)),9,Le)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.postalCode,type:`text`,name:`postalCode`,autocomplete:`postal-code`,placeholder:` `,required:Q},null,8,Re),C(`label`,{for:t},m(d(c)(`postalCode`)),9,ze)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(y,{value:e.guest?.country,required:Q},null,8,[`value`])]),_:1})])]),C(`fieldset`,null,[C(`legend`,Be,m(d(c)(`contactDetails`)),1),C(`div`,Ve,[O(v,null,{default:r(()=>[C(`div`,He,[O(L,{value:e.guest?.telCountryCode},null,8,[`value`]),O(h,{class:`grow`,size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.telNational,name:`telNational`,type:`tel`,pattern:d(B).telNational,placeholder:` `,autocomplete:`tel-national`,required:Q},null,8,Ue),C(`label`,{for:t},m(d(c)(`tel`)),9,We)]),_:1})])]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.email,name:`email`,type:`email`,placeholder:` `,autocomplete:`email`,required:Q},null,8,Ge),C(`label`,{for:t},m(d(c)(`email`)),9,Ke)]),_:1})]),_:1})])]),e.guest?.onlineCheckinShowCreditCard||d(t).VITE_DEBUG===`true`?(s(),g(`fieldset`,qe,[C(`legend`,Je,m(d(c)(`creditCard`)),1),C(`div`,Ye,[O(v,{class:`col-span-8`},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[O(z,{"allowed-card-types":d(S)?.creditCardTypes,type:`cc-number`},{default:r(({setRef:t})=>[C(`input`,{id:e,ref:t,type:`text`,name:`cardNumber`,placeholder:` `,autocomplete:`cc-number`,required:Q},null,8,Xe)]),_:2},1032,[`allowed-card-types`]),C(`label`,{for:e},m(d(c)(`cardNumber`)),9,Ze)]),_:1})]),_:1}),O(v,{class:`col-span-4`},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[O(z,{type:`cc-exp`},{default:r(({setRef:t})=>[C(`input`,{id:e,ref:t,name:`cardExpiry`,type:`text`,placeholder:`__/__`,maxlength:`5`,autocomplete:`cc-exp`,class:`focus:placeholder:text-main-secondary`,required:Q},null,8,Qe)]),_:2},1024),C(`label`,{for:e},m(d(c)(`expDate`)),9,$e)]),_:1})]),_:1}),O(v,{class:`col-span-12`},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[C(`input`,{id:e,type:`text`,name:`cardName`,placeholder:` `,autocomplete:`cc-name`,required:Q},null,8,et),C(`label`,{for:e},m(d(c)(`nameOnCard`)),9,tt)]),_:1})]),_:1})])])):_(``,!0),C(`fieldset`,null,[C(`legend`,nt,m(d(c)(`signature`)),1),O(v,null,{default:r(()=>[O(V,{ref_key:`signature`,ref:A,value:e.guest?.signature,invalid:j.value},null,8,[`value`,`invalid`])]),_:1})]),C(`fieldset`,rt,[O(v,null,{default:r(()=>[O(G,null,{default:r(({uid:t})=>[C(`input`,{id:t,type:`checkbox`,checked:e.guest?.onlineCheckinCompleted,required:Q},null,8,it),O(W,{for:t,keypath:`agreeWith`,tag:`label`},{default:r(()=>[O(U,{class:`underline transition hocus:text-primary`,to:`/text/privacy-policy`},{default:r(()=>[D(m(d(c)(`agreeWithSlot.personalData`)),1)]),_:1})]),_:1},8,[`for`])]),_:1})]),_:1}),e.guest?.onlineCheckinShowTradeTerms||d(t).VITE_DEBUG===`true`?(s(),x(v,{key:0},{default:r(()=>[O(G,null,{default:r(({uid:t})=>[C(`input`,{id:t,checked:e.guest?.onlineCheckinCompleted,type:`checkbox`,required:Q},null,8,at),O(W,{for:t,keypath:`agreeWith`,tag:`label`},{default:r(()=>[O(U,{class:`underline transition hocus:text-primary`,to:`/text/trade-terms`},{default:r(()=>[D(m(d(c)(`agreeWithSlot.termsConditions`)),1)]),_:1})]),_:1},8,[`for`])]),_:1})]),_:1})):_(``,!0)]),O(l,{size:`md`,class:`mr-auto`,type:`submit`,loading:d(q)===`loading`},{default:r(()=>[D(m(d(c)(`saveCheckin`)),1)]),_:1},8,[`loading`])]),_:1},512)):_(``,!0)],8,de)}}}),st={class:`x-checkin-room card p-3 md:p-6 bg-body-primary rounded-xl flex flex-col gap-6.5`},ct={class:`flex gap-5`},lt={class:`x-image rounded-md before:skeleton h-17.5`},ut=[`src`,`alt`],dt={class:`flex flex-col gap-1`},ft={class:`x-heading sm`},pt={class:`x-text xs`},mt={class:`x-title sm text-primary mt-auto`},ht={class:`flex flex-col divide-y divide-main-tertiary`},gt=p({__name:`CheckinRoom`,props:{room:{type:Object}},setup(e){let t={BASE_URL:`https://v4.bookoloengine.com/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_API_URL:`https://api.bookoloengine.com/desktop/v1`,VITE_BASE_URL:`https://v4.bookoloengine.com/`,VITE_DEBUG:`false`,VITE_FONT_URL:`https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap`,VITE_GOOGLE_MAPS_API_KEY:`AIzaSyDMusEQNO0rIJ86vZoowmPD2U2g5Ma8LOQ`,VITE_LOCALES_URL:`https://www.bookoloengine.com/userfiles/api/desktop/locales`,VITE_NAME:`bookolosystem-engine`,VITE_NAME_BANNER:`bookolosystem-banner`,VITE_PLAUSIBLE_URL:`https://plausible.newlogic.cz/js/script.outbound-links.js`,VITE_SENTRY_DSN:`https://015bded0d2216dceb2c50582f80e5f83@sentry.newlogic.cz/58`},{t:n}=v();return(r,i)=>{let a=ot;return s(),g(`div`,st,[C(`div`,ct,[C(`div`,lt,[C(`img`,{src:e.room?.roomImage?.[`1x`],class:`aspect-4/3 object-cover`,loading:`lazy`,alt:e.room?.roomImage?.alt},null,8,ut)]),C(`div`,dt,[C(`h2`,ft,m(e.room?.roomName),1),C(`div`,pt,[D(m(e.room?.rateName)+` `,1),e.room?.prices?.finalPriceExtraBeds?(s(),g(T,{key:0},[D(` (+`+m(d(n)(`extraBed`))+`) `,1)],64)):_(``,!0)]),C(`div`,mt,m(d(n)(`filled`))+` `+m(e.room?.guests?.filter(e=>e?.onlineCheckinCompleted)?.length)+`/`+m(e.room?.guests?.length),1)])]),C(`div`,ht,[(s(!0),g(T,null,c(e.room?.guests,(e,n)=>(s(),x(a,{key:n,ref_for:!0,ref:`rooms`,index:n+1,guest:e,"checkin-completed":e?.onlineCheckinCompleted,"checkin-closed":!e?.onlineCheckinAllowed&&d(t).VITE_DEBUG!==`true`},null,8,[`index`,`guest`,`checkin-completed`,`checkin-closed`]))),128))])])}}}),_t={class:`x-checkin-info card p-4 md:p-6 bg-body-primary rounded-xl flex flex-col gap-5`},vt={class:`x-heading sm flex items-center`},yt={key:0,class:`x-badge md muted accent-success ml-auto -my-0.5`},$={class:`flex flex-col gap-5`},bt={class:`flex gap-4`},xt={class:`flex flex-col gap-1 grow`},St={class:`x-title sm font-medium`},Ct={key:0,class:`x-title`},wt={key:1,class:`skeleton h-5 rounded-md w-full max-w-2/5`},Tt={class:`flex gap-4`},Et={class:`flex flex-col gap-1 grow`},Dt={key:0,class:`x-title sm font-medium`},Ot={key:1,class:`skeleton h-4 rounded-md w-full max-w-32`},kt={key:2,class:`x-title`},At={key:3,class:`skeleton h-5 rounded-md w-3/4`},jt={class:`x-text xs`},Mt=p({__name:`CheckinInfo`,props:{checkInDate:{type:[String,null]},checkOutDate:{type:[String,null]},completed:{type:Boolean}},setup(e){let{data:t}=L(),{t:n,d:r}=v(),{data:i,isPending:a}=G();return(o,c)=>(s(),g(`div`,_t,[C(`h1`,vt,[D(m(d(n)(`onlineCheckin`))+` `,1),e.completed?(s(),g(`div`,yt,m(d(n)(`completed`)),1)):_(``,!0)]),C(`ul`,$,[C(`li`,bt,[c[0]||=C(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[C(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[C(`use`,{href:`#icon-clock-mini`})])],-1),C(`div`,xt,[C(`div`,St,m(d(n)(`dateOfStay`)),1),e.checkInDate&&e.checkOutDate?(s(),g(`div`,Ct,m(d(r)(e.checkInDate,{timeZone:d(t)?.timeZone}))+` – `+m(d(r)(e.checkOutDate,{timeZone:d(t)?.timeZone})),1)):(s(),g(`div`,wt))])]),C(`li`,Tt,[c[1]||=C(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[C(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[C(`use`,{href:`#icon-map-pin-mini`})])],-1),C(`div`,Et,[d(a)?(s(),g(`div`,Ot)):(s(),g(`div`,Dt,m(d(i)?.name),1)),d(a)?(s(),g(`div`,At)):(s(),g(`div`,kt,m(d(i)?.street)+` `+m(d(i)?.postalCode)+` `+m(d(i)?.city)+` - `+m(d(i)?.country),1))])])]),C(`div`,jt,m(d(n)(`checkinDescription`)),1)]))}}),Nt={class:`flex flex-col gap-2.5`},Pt=p({__name:`[uuid]`,setup(e){let t=k(),{t:n}=v(),i=z(),{data:a,error:o}=Y({guestUuid:q().value.uuid});return u([a,o],()=>{!o.value&&!a?.value?.error||(t.push(`/`),i.add({class:`accent-error`,title:n(`error`),text:o?.value?.toString()??a.value?.error?.message}))}),(e,t)=>{let n=Mt,i=gt,o=J,l=K;return s(),x(l,{class:`grid lg:grid-cols-[1fr_28.25rem] gap-3 lg:gap-6`},{default:r(()=>[C(`div`,Nt,[O(n,{"check-in-date":d(a)?.accommodation?.checkInDate,"check-out-date":d(a)?.accommodation?.checkOutDate,completed:d(a)?.accommodation?.onlineCheckinCompleted},null,8,[`check-in-date`,`check-out-date`,`completed`]),(s(!0),g(T,null,c(d(a)?.accommodation?.rooms,(e,t)=>(s(),x(i,{key:t,room:e},null,8,[`room`]))),128))]),O(o,{class:`transition-all md:sticky md:top-[calc(var(--x-main-sticky-top)+1rem)] self-start`})]),_:1})}}});export{Pt as default};
|
|
1
|
+
import{t as e}from"./preload.DxhQL6ww.js";import{An as t,Dn as n,Hn as r,In as i,Jn as a,Kn as o,Mn as s,Pn as c,Rt as l,Vn as u,Xn as d,Zn as f,bn as p,er as m,f as h,gn as g,hn as _,jt as v,kn as y,ln as b,mn as x,p as S,pn as C,u as w,un as T,ut as E,vn as D,yn as O}from"./vendor.UEAfe26O.js";import{W as k,t as A}from"./params.BYxK9z6w.js";import"./localeRules.ISFWYFF6.js";import{n as j,t as M}from"./DialogContent.oj4AjH0A.js";import{n as N,t as P}from"./Field.BhjqVj0S.js";import{t as F}from"./Button.DENQlfoV.js";import{t as I}from"./Control.DQeuvn0T.js";import"./client.B35Zk1Vj.js";import"./staleTimes.BFpWFXo3.js";import"./countries.DHA-CuXb.js";import{t as L}from"./config.DN5PrzYj.js";import{n as R,t as ee}from"./ControlTelCountryCode.DCl_oZNm.js";import{t as te}from"./Check.CGkdXv8U.js";import{t as z}from"./toaster.Duospl3o.js";import{t as B}from"./patterns.CeNuhuLC.js";import{t as V}from"./validateFields.D6KwIc71.js";import{t as H}from"./ButtonGhosted.DtSQuUqd.js";import{t as ne}from"./ButtonBordered.Buog5XUd.js";import{o as U,r as W}from"./reservation.DewbR-PT.js";import{t as G}from"./hotel.CHXHOAo8.js";import{t as K}from"./Main.CK41faK0.js";import{t as q}from"./routeParams.DU9zPEL5.js";import{t as J}from"./CheckinApp.XKpaXHHH.js";import{i as Y}from"./reservation.C4YvgAfn.js";import{t as X}from"./InputMask.B7-_JM_a.js";var Z={class:`border-b border-b-main-secondary`},re={key:0,class:`x-info text-error validity mt-1`},ie=p({__name:`ControlSignature`,props:{invalid:{type:Boolean},value:{type:String}},setup(n,{expose:i}){let c=n,{t:l}=v(),p=A(),h=o(),b=o(),x=a(c.invalid??!1),S;function w(){let e=Math.max(window.devicePixelRatio||1,1);h.value.width=h.value.offsetWidth*e,h.value.height=h.value.offsetHeight*e,h.value.getContext(`2d`).scale(e,e)}function E(){b.value=S.toDataURL(`image/png`),x.value=!1}let D=()=>{S.clear()};return u(()=>c.invalid,e=>{x.value=e}),y(async()=>{let{default:t}=await e(async()=>{let{default:e}=await import(`./signature_pad.C07Egmsk.js`);return{default:e}},[]);S=new t(h.value,{penColor:p.theme===`dark`?`rgb(255 255 255)`:`rgb(0 0 0)`}),w(),c.value&&await S.fromDataURL(c.value),window.addEventListener(`resize`,w),S.addEventListener(`endStroke`,E)}),t(()=>{window.removeEventListener(`resize`,w),S.removeEventListener(`endStroke`,E)}),i({output:b}),(e,t)=>{let n=H;return s(),g(T,null,[C(`div`,{class:f([`x-control-signature pb-6 px-6 rounded-md bg-body-primary border relative`,{"border-error":x.value,"border-main-tertiary":!x.value}])},[C(`div`,Z,[C(`canvas`,{ref_key:`canvas`,ref:h,class:`w-full h-[82px]`},null,512),O(n,{class:`accent-main absolute right-1.5 top-1.5`,size:`xs`,variant:`circle`,type:`button`,"aria-label":d(l)(`clear`),onClick:D},{default:r(()=>[...t[0]||=[C(`svg`,{"aria-hidden":`true`,class:`size-4`},[C(`use`,{href:`#icon-arrow-uturn-left-micro`})],-1)]]),_:1},8,[`aria-label`])])],2),x.value?(s(),g(`div`,re,m(d(l)(`fillThisField`)),1)):_(``,!0)],64)}}});const ae=e=>{navigator.clipboard.writeText(e)};var oe={class:`x-heading sm mb-6`},se=[`placeholder`],ce={class:`flex flex-wrap gap-2 justify-between text-main-secondary`},le={class:`x-title sm`},ue=p({__name:`CheckinShareDialog`,props:{uuid:{type:[String,null]}},setup(e,{expose:t}){let n=e,{t:i}=v(),a=E(),c=q(),l=z(),f=o(),p=o(),g=o(!1),{data:_,mutate:y,error:T,asyncStatus:k}=U(),A=({currentTarget:e})=>{let t=Object.fromEntries(new FormData(e));y(Object.assign(t,{uuid:n?.uuid}))};u(_,e=>{e?.response?.status===200&&(f.value.close(),l.add({class:`accent-success`,title:i(`success`),text:i(`checkinSuccessInfo`)}))}),u([_,T],()=>{!T.value&&!_?.value?.error||(V(p.value?.$el,_?.value?.error?.params),l.add({class:`accent-error`,title:i(`error`),text:T?.value?.toString()??_.value?.error?.message}))});let L=()=>{ae(`${a.value.origin+a.value.pathname}#/reservation/checkin/${c.value.id}/${n.uuid}`),g.value=!0,setTimeout(()=>{g.value=!1},750)};return t({root:f}),(e,t)=>{let n=H,o=I,c=P,l=F,u=N,_=M,v=j;return s(),x(v,{ref_key:`root`,ref:f},{default:r(()=>[O(_,{class:`flex flex-col p-6 rounded-xl`},{default:r(()=>[O(n,{class:`accent-main absolute right-4 top-4`,size:`xs`,variant:`circle`,"aria-label":d(i)(`close`),onClick:t[0]||=e=>f.value.close()},{default:r(()=>[...t[1]||=[C(`svg`,{"aria-hidden":`true`},[C(`use`,{href:`#icon-x-mark-mini`})],-1)]]),_:1},8,[`aria-label`]),C(`h1`,oe,m(d(i)(`reservationShare`)),1),O(u,{ref_key:`form`,ref:p,class:`flex gap-2.5 mb-6`,onSubmit:b(A,[`prevent`])},{default:r(()=>[O(c,{class:`grow`},{default:r(()=>[O(o,{size:`md`,class:`not-has-user-invalid:border-accent`},{default:r(()=>[C(`input`,{type:`email`,name:`email`,placeholder:d(i)(`enterEmail`),required:``,autofocus:``},null,8,se)]),_:1})]),_:1}),O(l,{size:`md`,type:`submit`,loading:d(k)===`loading`},{default:r(()=>[D(m(d(i)(`shareCheckin`)),1)]),_:1},8,[`loading`])]),_:1},512),C(`div`,ce,[C(`div`,le,m(d(i)(`orCopyLink`))+`: `,1),O(d(S),{open:g.value},{default:r(()=>[O(d(w),{"as-child":``},{default:r(()=>[C(`button`,{class:`x-link sm flex items-center gap-1 underline underline-transparent`,onClick:L},[D(m(d(a).host+d(a).pathname)+` `,1),t[2]||=C(`svg`,{class:`size-3 text-accent shrink-0`,"aria-hidden":`true`},[C(`use`,{href:`#icon-square-2-stack-micro`})],-1)])]),_:1}),O(d(h),{sideOffset:4,side:`top`,class:`x-popover-content tooltip shadow`},{default:r(()=>[D(m(d(i)(`copiedToClipboard`)),1)]),_:1})]),_:1},8,[`open`])])]),_:1})]),_:1},512)}}}),de=[`data-open`],fe={class:`p-3 min-h-16.5 flex items-center max-md:flex-wrap transition-all group-data-open:p-4 group-data-open:md:p-6 max-md:gap-y-1`},pe={class:`x-title sm mr-2 order-first`},me={key:0,class:`text-normal`},he={key:0,class:`x-title sm text-primary md:ml-auto`},ge={key:1,class:`md:ml-auto flex items-center gap-5 max-md:contents`},_e={key:2,class:`md:ml-auto flex gap-4 max-md:mt-1 max-md:gap-2`},ve={class:`x-heading xs mb-6`},ye={class:`grid md:grid-cols-2 gap-3 md:gap-6`},be=[`id`,`value`],xe=[`for`],Se=[`id`,`value`],Ce=[`for`],we=[`id`,`value`],Te=[`for`],Ee=[`id`,`value`,`required`],De=[`for`],Oe=[`id`,`value`],ke=[`for`],Ae=[`id`],je=[`for`],Me={class:`x-heading xs mb-6`},Ne={class:`grid md:grid-cols-2 gap-3 md:gap-6`},Pe=[`id`,`value`],Fe=[`for`],Ie=[`id`,`value`],Le=[`for`],Re=[`id`,`value`],ze=[`for`],Be={class:`x-heading xs mb-6`},Ve={class:`grid md:grid-cols-2 gap-3 md:gap-6`},He={class:`x-group rounded-sm w-full`},Ue=[`id`,`value`,`pattern`],We=[`for`],Ge=[`id`,`value`],Ke=[`for`],qe={key:0},Je={class:`x-heading xs mb-6`},Ye={class:`grid md:grid-cols-12 gap-3 md:gap-6`},Xe=[`id`],Ze=[`for`],Qe=[`id`],$e=[`for`],et=[`id`],tt=[`for`],nt={class:`x-heading xs mb-6`},rt={class:`flex flex-col gap-2.5`},it=[`id`,`checked`],at=[`id`,`checked`],Q=!0,ot=p({__name:`CheckinRoomItem`,props:{checkinCompleted:{type:Boolean},checkinClosed:{type:Boolean},index:{type:Number},guest:{type:Object}},setup(e){let t={BASE_URL:`https://v4.bookoloengine.com/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_API_URL:`https://api.bookoloengine.com/desktop/v1`,VITE_BASE_URL:`https://v4.bookoloengine.com/`,VITE_DEBUG:`false`,VITE_FONT_URL:`https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap`,VITE_GOOGLE_MAPS_API_KEY:`AIzaSyDMusEQNO0rIJ86vZoowmPD2U2g5Ma8LOQ`,VITE_LOCALES_URL:`https://www.bookoloengine.com/userfiles/api/desktop/locales`,VITE_NAME:`bookolosystem-engine`,VITE_NAME_BANNER:`bookolosystem-banner`,VITE_PLAUSIBLE_URL:`https://plausible.newlogic.cz/js/script.outbound-links.js`,VITE_SENTRY_DSN:`https://015bded0d2216dceb2c50582f80e5f83@sentry.newlogic.cz/58`},{t:c}=v(),p=l(),h=e,y=z(),{data:S}=L(),w=a(!1),E=a(),k=a(h.checkinCompleted),A=o(),j=a(!1),M=o(),H=o({uuid:``}),{data:U,mutate:G,error:K,asyncStatus:q}=W(),J=()=>{w.value=!w.value},Y=({currentTarget:e})=>{let t=Object.fromEntries(new FormData(e));if(!A.value.output){j.value=!0;return}G(Object.assign(t,{uuid:h?.guest?.uuid,id:h?.guest?.id,signature:A.value.output}))};return u(U,e=>{e?.response?.status===200&&(w.value=!1,k.value=!0,p.invalidateQueries({key:[`reservation`]}))}),u([U,K],()=>{!K.value&&!U?.value?.error||(V(E.value?.$el,U?.value?.error?.params),y.add({class:`accent-error`,title:c(`error`),text:K?.value?.toString()??U.value?.error?.message}))}),(a,o)=>{let l=F,u=ne,p=ue,h=I,v=P,y=R,L=ee,z=X,V=ie,U=i(`RouterLink`),W=i(`i18n-t`),G=te,K=N;return s(),g(`div`,{class:f([`x-checkin-room-item outline outline-transparent -outline-offset-1 rounded-md group`,`transition-all data-open:outline-primary has-[+[data-open]]:border-transparent`]),"data-open":w.value?``:null},[C(`div`,fe,[C(`div`,pe,[e.guest?.firstName||e.guest?.lastName?(s(),g(T,{key:0},[D(m(e.guest?.firstName)+` `+m(e.guest?.lastName),1)],64)):(s(),g(T,{key:1},[D(m(d(c)(`guest`))+` `+m(e.index)+` `,1),e.guest?.type===`child`?(s(),g(`span`,me,` (`+m(d(c)(`childrenSingular`))+`) `,1)):_(``,!0)],64))]),C(`div`,{class:f([`x-badge md muted order-first`,{"accent-error":!k.value,"accent-success":k.value}])},[k.value?(s(),g(T,{key:1},[D(m(d(c)(`filled`)),1)],64)):(s(),g(T,{key:0},[D(m(d(c)(`notFilled`)),1)],64))],2),e.checkinClosed?(s(),g(`div`,he,m(d(c)(`onlineCheckinClosed`)),1)):k.value?(s(),g(`div`,ge,[C(`button`,{class:`x-title sm flex items-center gap-1.5 underline underline-transparent hocus:text-primary`,onClick:J},[o[1]||=C(`svg`,{"aria-hidden":`true`,class:`size-4`},[C(`use`,{href:`#icon-pencil-micro`})],-1),D(` `+m(d(c)(`editCheckin`)),1)]),o[2]||=C(`svg`,{"aria-hidden":`true`,class:`size-7 text-success max-md:order-first max-md:ml-auto`},[C(`use`,{href:`#icon-check-circle-solid`})],-1)])):(s(),g(`div`,_e,[w.value?_(``,!0):(s(),x(l,{key:0,size:`md`,onClick:J},{default:r(()=>[D(m(d(c)(`fillCheckin`)),1)]),_:1})),O(u,{size:`md`,class:`accent-main`,onClick:o[0]||=t=>[H.value={uuid:e.guest?.uuid},M.value.root.show()]},{default:r(()=>[D(m(d(c)(`shareCheckin`)),1)]),_:1}),O(p,n({ref_key:`checkinShareDialog`,ref:M},{...H.value}),null,16)]))]),w.value?(s(),x(K,{key:0,ref_key:`form`,ref:E,class:`p-4 md:p-6 flex flex-col gap-8`,onSubmit:b(Y,[`prevent`])},{default:r(()=>[C(`fieldset`,null,[C(`legend`,ve,m(d(c)(`personalDetails`)),1),C(`div`,ye,[O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.firstName,type:`text`,name:`firstName`,autocomplete:`given-name`,placeholder:` `,required:Q},null,8,be),C(`label`,{for:t},m(d(c)(`yourFirstname`)),9,xe)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.lastName,type:`text`,name:`lastName`,autocomplete:`family-name`,placeholder:` `,required:Q},null,8,Se),C(`label`,{for:t},m(d(c)(`yourLastname`)),9,Ce)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.birthDate,type:`date`,name:`birthDate`,autocomplete:`bday`,placeholder:` `,required:Q},null,8,we),C(`label`,{for:t},m(d(c)(`birthdate`)),9,Te)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.idNumber,type:`text`,name:`idNumber`,placeholder:` `,required:e.guest?.onlineCheckinIdNumberRequired},null,8,Ee),C(`label`,{for:t},m(d(c)(`idNumber`)),9,De)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(y,{name:`citizenship`,value:e.guest?.citizenship,required:Q,label:d(c)(`stateCitizenship`)},null,8,[`value`,`label`])]),_:1}),e.guest?.onlineCheckinShowLicensePlate||d(t).VITE_DEBUG===`true`?(s(),x(v,{key:0},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.licensePlate,type:`text`,name:`licensePlate`,placeholder:` `},null,8,Oe),C(`label`,{for:t},m(d(c)(`licencePlate`)),9,ke)]),_:1})]),_:1})):_(``,!0),e.guest?.onlineCheckinShowVisa||d(t).VITE_DEBUG===`true`?(s(),x(v,{key:1},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[C(`input`,{id:e,type:`text`,name:`visa`,placeholder:` `},null,8,Ae),C(`label`,{for:e},m(d(c)(`visaNumber`)),9,je)]),_:1})]),_:1})):_(``,!0)])]),C(`fieldset`,null,[C(`legend`,Me,m(d(c)(`residence`)),1),C(`div`,Ne,[O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.street,type:`text`,name:`street`,autocomplete:`street-address`,placeholder:` `,required:Q},null,8,Pe),C(`label`,{for:t},m(d(c)(`streetAddress`)),9,Fe)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.city,type:`text`,name:`city`,autocomplete:`address-level2`,placeholder:` `,required:Q},null,8,Ie),C(`label`,{for:t},m(d(c)(`city`)),9,Le)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.postalCode,type:`text`,name:`postalCode`,autocomplete:`postal-code`,placeholder:` `,required:Q},null,8,Re),C(`label`,{for:t},m(d(c)(`postalCode`)),9,ze)]),_:1})]),_:1}),O(v,null,{default:r(()=>[O(y,{value:e.guest?.country,required:Q},null,8,[`value`])]),_:1})])]),C(`fieldset`,null,[C(`legend`,Be,m(d(c)(`contactDetails`)),1),C(`div`,Ve,[O(v,null,{default:r(()=>[C(`div`,He,[O(L,{value:e.guest?.telCountryCode},null,8,[`value`]),O(h,{class:`grow`,size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.telNational,name:`telNational`,type:`tel`,pattern:d(B).telNational,placeholder:` `,autocomplete:`tel-national`,required:Q},null,8,Ue),C(`label`,{for:t},m(d(c)(`tel`)),9,We)]),_:1})])]),_:1}),O(v,null,{default:r(()=>[O(h,{size:`md`},{default:r(({uid:t})=>[C(`input`,{id:t,value:e.guest?.email,name:`email`,type:`email`,placeholder:` `,autocomplete:`email`,required:Q},null,8,Ge),C(`label`,{for:t},m(d(c)(`email`)),9,Ke)]),_:1})]),_:1})])]),e.guest?.onlineCheckinShowCreditCard||d(t).VITE_DEBUG===`true`?(s(),g(`fieldset`,qe,[C(`legend`,Je,m(d(c)(`creditCard`)),1),C(`div`,Ye,[O(v,{class:`col-span-8`},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[O(z,{"allowed-card-types":d(S)?.creditCardTypes,type:`cc-number`},{default:r(({setRef:t})=>[C(`input`,{id:e,ref:t,type:`text`,name:`cardNumber`,placeholder:` `,autocomplete:`cc-number`,required:Q},null,8,Xe)]),_:2},1032,[`allowed-card-types`]),C(`label`,{for:e},m(d(c)(`cardNumber`)),9,Ze)]),_:1})]),_:1}),O(v,{class:`col-span-4`},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[O(z,{type:`cc-exp`},{default:r(({setRef:t})=>[C(`input`,{id:e,ref:t,name:`cardExpiry`,type:`text`,placeholder:`__/__`,maxlength:`5`,autocomplete:`cc-exp`,class:`focus:placeholder:text-main-secondary`,required:Q},null,8,Qe)]),_:2},1024),C(`label`,{for:e},m(d(c)(`expDate`)),9,$e)]),_:1})]),_:1}),O(v,{class:`col-span-12`},{default:r(()=>[O(h,{size:`md`},{default:r(({uid:e})=>[C(`input`,{id:e,type:`text`,name:`cardName`,placeholder:` `,autocomplete:`cc-name`,required:Q},null,8,et),C(`label`,{for:e},m(d(c)(`nameOnCard`)),9,tt)]),_:1})]),_:1})])])):_(``,!0),C(`fieldset`,null,[C(`legend`,nt,m(d(c)(`signature`)),1),O(v,null,{default:r(()=>[O(V,{ref_key:`signature`,ref:A,value:e.guest?.signature,invalid:j.value},null,8,[`value`,`invalid`])]),_:1})]),C(`fieldset`,rt,[O(v,null,{default:r(()=>[O(G,null,{default:r(({uid:t})=>[C(`input`,{id:t,type:`checkbox`,checked:e.guest?.onlineCheckinCompleted,required:Q},null,8,it),O(W,{for:t,keypath:`agreeWith`,tag:`label`},{default:r(()=>[O(U,{class:`underline transition hocus:text-primary`,to:`/text/privacy-policy`},{default:r(()=>[D(m(d(c)(`agreeWithSlot.personalData`)),1)]),_:1})]),_:1},8,[`for`])]),_:1})]),_:1}),e.guest?.onlineCheckinShowTradeTerms||d(t).VITE_DEBUG===`true`?(s(),x(v,{key:0},{default:r(()=>[O(G,null,{default:r(({uid:t})=>[C(`input`,{id:t,checked:e.guest?.onlineCheckinCompleted,type:`checkbox`,required:Q},null,8,at),O(W,{for:t,keypath:`agreeWith`,tag:`label`},{default:r(()=>[O(U,{class:`underline transition hocus:text-primary`,to:`/text/trade-terms`},{default:r(()=>[D(m(d(c)(`agreeWithSlot.termsConditions`)),1)]),_:1})]),_:1},8,[`for`])]),_:1})]),_:1})):_(``,!0)]),O(l,{size:`md`,class:`mr-auto`,type:`submit`,loading:d(q)===`loading`},{default:r(()=>[D(m(d(c)(`saveCheckin`)),1)]),_:1},8,[`loading`])]),_:1},512)):_(``,!0)],8,de)}}}),st={class:`x-checkin-room card p-3 md:p-6 bg-body-primary rounded-xl flex flex-col gap-6.5`},ct={class:`flex gap-5`},lt={class:`x-image rounded-md before:skeleton h-17.5`},ut=[`src`,`alt`],dt={class:`flex flex-col gap-1`},ft={class:`x-heading sm`},pt={class:`x-text xs`},mt={class:`x-title sm text-primary mt-auto`},ht={class:`flex flex-col divide-y divide-main-tertiary`},gt=p({__name:`CheckinRoom`,props:{room:{type:Object}},setup(e){let t={BASE_URL:`https://v4.bookoloengine.com/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,VITE_API_URL:`https://api.bookoloengine.com/desktop/v1`,VITE_BASE_URL:`https://v4.bookoloengine.com/`,VITE_DEBUG:`false`,VITE_FONT_URL:`https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap`,VITE_GOOGLE_MAPS_API_KEY:`AIzaSyDMusEQNO0rIJ86vZoowmPD2U2g5Ma8LOQ`,VITE_LOCALES_URL:`https://www.bookoloengine.com/userfiles/api/desktop/locales`,VITE_NAME:`bookolosystem-engine`,VITE_NAME_BANNER:`bookolosystem-banner`,VITE_PLAUSIBLE_URL:`https://plausible.newlogic.cz/js/script.outbound-links.js`,VITE_SENTRY_DSN:`https://015bded0d2216dceb2c50582f80e5f83@sentry.newlogic.cz/58`},{t:n}=v();return(r,i)=>{let a=ot;return s(),g(`div`,st,[C(`div`,ct,[C(`div`,lt,[C(`img`,{src:e.room?.roomImage?.[`1x`],class:`aspect-4/3 object-cover`,loading:`lazy`,alt:e.room?.roomImage?.alt},null,8,ut)]),C(`div`,dt,[C(`h2`,ft,m(e.room?.roomName),1),C(`div`,pt,[D(m(e.room?.rateName)+` `,1),e.room?.prices?.finalPriceExtraBeds?(s(),g(T,{key:0},[D(` (+`+m(d(n)(`extraBed`))+`) `,1)],64)):_(``,!0)]),C(`div`,mt,m(d(n)(`filled`))+` `+m(e.room?.guests?.filter(e=>e?.onlineCheckinCompleted)?.length)+`/`+m(e.room?.guests?.length),1)])]),C(`div`,ht,[(s(!0),g(T,null,c(e.room?.guests,(e,n)=>(s(),x(a,{key:n,ref_for:!0,ref:`rooms`,index:n+1,guest:e,"checkin-completed":e?.onlineCheckinCompleted,"checkin-closed":!e?.onlineCheckinAllowed&&d(t).VITE_DEBUG!==`true`},null,8,[`index`,`guest`,`checkin-completed`,`checkin-closed`]))),128))])])}}}),_t={class:`x-checkin-info card p-4 md:p-6 bg-body-primary rounded-xl flex flex-col gap-5`},vt={class:`x-heading sm flex items-center`},yt={key:0,class:`x-badge md muted accent-success ml-auto -my-0.5`},$={class:`flex flex-col gap-5`},bt={class:`flex gap-4`},xt={class:`flex flex-col gap-1 grow`},St={class:`x-title sm font-medium`},Ct={key:0,class:`x-title`},wt={key:1,class:`skeleton h-5 rounded-md w-full max-w-2/5`},Tt={class:`flex gap-4`},Et={class:`flex flex-col gap-1 grow`},Dt={key:0,class:`x-title sm font-medium`},Ot={key:1,class:`skeleton h-4 rounded-md w-full max-w-32`},kt={key:2,class:`x-title`},At={key:3,class:`skeleton h-5 rounded-md w-3/4`},jt={class:`x-text xs`},Mt=p({__name:`CheckinInfo`,props:{checkInDate:{type:[String,null]},checkOutDate:{type:[String,null]},completed:{type:Boolean}},setup(e){let{data:t}=L(),{t:n,d:r}=v(),{data:i,isPending:a}=G();return(o,c)=>(s(),g(`div`,_t,[C(`h1`,vt,[D(m(d(n)(`onlineCheckin`))+` `,1),e.completed?(s(),g(`div`,yt,m(d(n)(`completed`)),1)):_(``,!0)]),C(`ul`,$,[C(`li`,bt,[c[0]||=C(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[C(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[C(`use`,{href:`#icon-clock-mini`})])],-1),C(`div`,xt,[C(`div`,St,m(d(n)(`dateOfStay`)),1),e.checkInDate&&e.checkOutDate?(s(),g(`div`,Ct,m(d(r)(e.checkInDate,{timeZone:d(t)?.timeZone}))+` – `+m(d(r)(e.checkOutDate,{timeZone:d(t)?.timeZone})),1)):(s(),g(`div`,wt))])]),C(`li`,Tt,[c[1]||=C(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[C(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[C(`use`,{href:`#icon-map-pin-mini`})])],-1),C(`div`,Et,[d(a)?(s(),g(`div`,Ot)):(s(),g(`div`,Dt,m(d(i)?.name),1)),d(a)?(s(),g(`div`,At)):(s(),g(`div`,kt,m(d(i)?.street)+` `+m(d(i)?.postalCode)+` `+m(d(i)?.city)+` - `+m(d(i)?.country),1))])])]),C(`div`,jt,m(d(n)(`checkinDescription`)),1)]))}}),Nt={class:`flex flex-col gap-2.5`},Pt=p({__name:`[uuid]`,setup(e){let t=k(),{t:n}=v(),i=z(),{data:a,error:o}=Y({guestUuid:q().value.uuid});return u([a,o],()=>{!o.value&&!a?.value?.error||(t.push(`/`),i.add({class:`accent-error`,title:n(`error`),text:o?.value?.toString()??a.value?.error?.message}))}),(e,t)=>{let n=Mt,i=gt,o=J,l=K;return s(),x(l,{class:`grid lg:grid-cols-[1fr_28.25rem] gap-3 lg:gap-6`},{default:r(()=>[C(`div`,Nt,[O(n,{"check-in-date":d(a)?.accommodation?.checkInDate,"check-out-date":d(a)?.accommodation?.checkOutDate,completed:d(a)?.accommodation?.onlineCheckinCompleted},null,8,[`check-in-date`,`check-out-date`,`completed`]),(s(!0),g(T,null,c(d(a)?.accommodation?.rooms,(e,t)=>(s(),x(i,{key:t,room:e},null,8,[`room`]))),128))]),O(o,{class:`transition-all md:sticky md:top-[calc(var(--x-main-sticky-top)+1rem)] self-start`})]),_:1})}}});export{Pt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Dn as e,Hn as t,Kn as n,Mn as r,Pn as i,Qn as a,Rt as o,Sn as s,Vn as c,Xn as l,Yn as u,Zn as ee,bn as d,er as f,fn as p,gn as m,hn as h,jt as g,mn as _,pn as v,un as y,vn as b,yn as x}from"./vendor.hO2fYZhy.js";import{W as S,t as C}from"./params.C4l_dMrB.js";import"./localeRules.Cmrt9pbJ.js";import{n as te,t as ne}from"./DialogContent.kPndQa9E.js";import{t as re}from"./Button.BrYX2zWI.js";import{_ as w,b as T,c as E,d as D,f as O,g as ie,h as ae,m as oe,o as se,p as k,u as ce,v as A,x as le,y as ue}from"./client.T5Px7Q15.js";import"./staleTimes.C4g5-gQd.js";import"./countries.BrsghvY0.js";import{t as de}from"./config.5TeOFwa3.js";import{t as fe}from"./toaster.CCMii1bQ.js";import{t as pe}from"./Circle.Bk8K3Yyo.js";import{t as j}from"./ButtonBordered.DMI-aEe6.js";import{t as M}from"./formatPrice.B8YEcqih.js";import{t as me}from"./hotel._j1G89r-.js";import{t as he}from"./Main.BfYIjmR0.js";import{i as ge,n as N,r as P,t as F}from"./OrderConfirmedStatus.D4LJ-lli.js";import{t as I}from"./routeParams.CNzOlJfv.js";import{t as L}from"./CheckinApp.D4tULy5B.js";import{a as _e}from"./order.Dc8H4m8G.js";import{t as R}from"./getPaymentUrl.BoKSW2s_.js";var z={class:`x-order-confirmed-vouchers flex flex-col gap-6`},B={class:`x-heading sm`},V={class:`flex flex-col divide-y divide-main-tertiary divide-gap-y-6`},H={class:`flex items-start justify-between mb-4 md:mb-6 gap-4`},U={class:`flex flex-col`},W={class:`x-badge self-start mb-2`},G={class:`x-heading sm`},K={class:`flex flex-col gap-1.5`},q={key:0,class:`flex items-center justify-between`},J={class:`x-title`},Y={class:`x-text sm`},X={class:`flex items-center justify-between`},Z={class:`x-title`},Q={class:`x-text sm`},ve={key:1,class:`flex items-center justify-between`},ye={class:`x-title`},be={class:`x-text sm`},xe={key:2,class:`flex flex-col gap-2.5`},Se={class:`x-title`},Ce=[`innerHTML`],we={class:`flex items-baseline gap-2 justify-end max-md:flex-wrap border-t border-main-tertiary pt-6`},Te={class:`x-heading sm`},Ee={class:`x-title lg font-normal`},De=d({__name:`OrderConfirmedVouchers`,props:{id:{type:[String,null]},uuid:{type:[String,null]},finalPrice:{type:[Number,null]},currency:{type:String},promoCode:{type:[String,null]},guest:{type:[Object,null]},accommodation:{type:[Object,null]},vouchers:{type:[Object,null]},wellness:{type:[Object,null]}},setup(e){let{t:n}=g();return(a,o)=>{let s=j;return r(),m(`div`,z,[v(`h2`,B,f(l(n)(`vouchers`)),1),v(`div`,V,[(r(!0),m(y,null,i(e.vouchers?.items,(i,a)=>(r(),m(`div`,{key:a,class:`flex flex-col`},[v(`div`,H,[v(`div`,U,[v(`div`,W,f(i.type?.name),1),v(`h2`,G,f(i.name),1)]),i?.pdfLink?(r(),_(s,{key:0,download:``,as:`a`,href:i?.pdfLink,target:`_blank`,size:`md`},{default:t(()=>[b(f(l(n)(`download`)),1)]),_:1},8,[`href`])):h(``,!0)]),v(`ul`,K,[i.price?(r(),m(`li`,q,[v(`div`,J,f(l(n)(`price`)),1),v(`div`,Y,f(l(M)(i.price,e.vouchers?.currency)),1)])):h(``,!0),v(`li`,X,[v(`div`,Z,f(l(n)(`deliveryType`)),1),v(`div`,Q,f(i.voucherDelivery===`virtual`?l(n)(`email`):e.vouchers?.deliveryTypeName),1)]),i.voucherFormat?(r(),m(`li`,ve,[v(`div`,ye,f(l(n)(`format`)),1),v(`div`,be,f(i.voucherFormat),1)])):h(``,!0),i.voucherDedicationText?(r(),m(`li`,xe,[v(`div`,Se,f(l(n)(`dedicationText`)),1),v(`div`,{class:`x-text sm`,innerHTML:i.voucherDedicationText},null,8,Ce)])):h(``,!0)])]))),128))]),v(`div`,we,[v(`div`,Te,f(l(n)(`total`)),1),v(`div`,Ee,f(l(M)(e.vouchers?.finalPrice,e.vouchers?.currency)),1)])])}}}),Oe={key:0,class:`x-order-confirmed-wellness flex flex-col gap-6`},ke={class:`x-heading sm`},Ae={class:`x-text`},je={class:`x-title sm mb-6`},Me={class:`grid lg:grid-cols-2 gap-3 lg:gap-6`},Ne={class:`flex gap-4`},Pe={class:`flex flex-col gap-1`},Fe={class:`x-title sm font-medium`},Ie={key:0,class:`x-title`},Le={class:`flex gap-4`},Re={class:`flex flex-col gap-1`},ze={class:`x-title sm font-medium`},Be={class:`x-title`},Ve={class:`flex gap-4`},He={class:`flex flex-col gap-1`},Ue={class:`x-title sm font-medium`},We={class:`x-title`},Ge={class:`flex gap-4`},Ke={class:`flex flex-col gap-1`},qe={class:`x-title sm font-medium`},Je={class:`x-title`},Ye={key:0,class:`flex gap-4 col-span-full`},Xe={class:`flex flex-col gap-1`},Ze={class:`x-title sm font-medium`},Qe={class:`x-title`},$e={key:0,class:`flex flex-col`},et={class:`x-heading sm mb-6`},tt={class:`x-text`},nt={class:`flex flex-col divide-y divide-main-tertiary divide-gap-y-3`},rt={key:0,class:`flex items-center justify-between`},it={class:`x-title`},at={class:`x-text sm font-medium`},ot={key:1,class:`flex items-center justify-between`},st={class:`x-title`},ct={class:`x-text sm font-medium`},lt={key:2,class:`flex items-center justify-between`},ut={class:`x-title`},dt={class:`x-text sm font-medium`},ft={class:`flex items-center gap-2 justify-end max-md:flex-wrap`},pt={class:`x-heading sm`},mt={class:`x-text lg`},ht=d({__name:`OrderConfirmedWellness`,props:{id:{type:[String,null]},uuid:{type:[String,null]},finalPrice:{type:[Number,null]},currency:{type:String},promoCode:{type:[String,null]},guest:{type:[Object,null]},accommodation:{type:[Object,null]},vouchers:{type:[Object,null]},wellness:{type:[Object,null]}},setup(e){let{t,d:n}=g(),a=e;return(o,s)=>e.wellness?(r(),m(`div`,Oe,[v(`h2`,ke,[b(f(l(t)(`wellnessReservation`))+` `,1),v(`span`,Ae,`#`+f(e.wellness?.vs),1)]),(r(!0),m(y,null,i(e.wellness?.items,(e,i)=>(r(),m(`div`,{key:i,class:`flex flex-col mb-2`},[v(`h3`,je,f(l(t)(`nthReservation`,i+1)),1),v(`ul`,Me,[v(`li`,Ne,[s[0]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-calendar-days-mini`})])],-1),v(`div`,Pe,[v(`div`,Fe,f(l(t)(`date`)),1),e?.date?(r(),m(`div`,Ie,f(l(n)(new Date(e.date))),1)):h(``,!0)])]),v(`li`,Le,[s[1]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-clock-mini`})])],-1),v(`div`,Re,[v(`div`,ze,f(l(t)(`time`)),1),v(`div`,Be,[b(f(e?.timeFrom)+` `,1),e?.timeTo?(r(),m(y,{key:0},[b(` – `+f(e?.timeTo),1)],64)):h(``,!0)])])]),v(`li`,Ve,[s[2]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-user-group-mini`})])],-1),v(`div`,He,[v(`div`,Ue,f(l(t)(`numberOfPersons`)),1),v(`div`,We,f(e?.adults),1)])]),v(`li`,Ge,[s[3]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-wellness-solid`})])],-1),v(`div`,Ke,[v(`div`,qe,f(l(t)(`item`)),1),v(`div`,Je,f(e?.wellnessName),1)])]),e?.services&&e.services.length>0?(r(),m(`li`,Ye,[s[4]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-wellness-solid`})])],-1),v(`div`,Xe,[v(`div`,Ze,f(l(t)(`extraServices`)),1),v(`div`,Qe,f(e.services.map(e=>e.name).join(`, `)),1)])])):h(``,!0)])]))),128)),e.guest?(r(),m(`div`,$e,[v(`h2`,et,[b(f(l(t)(`reservingPerson`))+` `,1),v(`span`,tt,`(`+f(e.guest?.firstName)+` `+f(e.guest?.lastName)+`)`,1)]),v(`ul`,nt,[e.guest?.email?(r(),m(`li`,rt,[v(`div`,it,f(l(t)(`email`)),1),v(`div`,at,f(e.guest.email),1)])):h(``,!0),e.guest?.tel?(r(),m(`li`,ot,[v(`div`,st,f(l(t)(`phone`)),1),v(`div`,ct,f(e.guest.tel),1)])):h(``,!0),e.guest?.street||e.guest?.city||e.guest?.postalCode?(r(),m(`li`,lt,[v(`div`,ut,f(l(t)(`address`)),1),v(`div`,dt,f(e.guest?.street)+`, `+f(e.guest?.city)+` `+f(e.guest?.postalCode),1)])):h(``,!0)])])):h(``,!0),v(`div`,ft,[v(`div`,pt,f(l(t)(`total`)),1),v(`div`,mt,f(l(M)(e.wellness.finalPrice,a.currency)),1)])])):h(``,!0)}}),gt={key:0,class:`p-6 bg-body-primary rounded-xl flex items-center max-md:flex-col gap-8 md:gap-6 justify-between col-span-full`},_t={class:`flex flex-col items-start`},vt={class:`x-heading`},yt={class:`flex flex-col gap-5 lg:pr-10`},bt={key:0,class:`flex flex-col gap-1`},xt={class:`x-title sm font-medium text-main-secondary`},St={class:`x-title flex items-center gap-3`},Ct={key:1,class:`flex flex-col gap-1`},wt={class:`x-title sm font-medium text-main-secondary`},Tt={class:`x-title flex items-center gap-3`},Et={key:2,class:`flex flex-col gap-1`},$={class:`x-title sm font-medium text-main-secondary`},Dt={class:`x-title flex items-center gap-3`},Ot={key:1,class:`py-12 px-2.5 bg-body-primary rounded-xl flex flex-col items-center gap-3 col-span-full`},kt={class:`x-heading lg text-center`},At={key:0,class:`bg-body-primary p-3 md:p-6 rounded-xl flex flex-col gap-6`},jt={key:1,class:`skeleton h-svh rounded-xl`},Mt={key:2,class:`bg-body-primary p-3 md:p-6 rounded-xl flex flex-col gap-6`},Nt={key:3,class:`bg-body-primary p-3 md:p-6 rounded-xl flex flex-col gap-6`},Pt={class:`x-heading mb-2`},Ft={class:`x-text`},It=d({__name:`[uuid]`,setup(i){let{t:d}=g(),j=o(),M=S(),z=C(),B=se(),V=E(),H=fe(),U=le(),W=I(),{data:G}=de(),{data:K,error:q,isLoading:J}=_e(W.value.uuid),{data:Y}=me(),X=n(!1),Z=u(V.trackOrder);U.resetPromo(),B.$reset(),V.$reset(),j.invalidateQueries({key:[`account/orders`]}),j.invalidateQueries({key:[`account/points`]}),j.invalidateQueries({key:[`account/rewards`]});let Q=p(()=>K?.value?.accommodation?.paymentType===`payment-online-card`&&!K?.value?.accommodation?.paymentUrlOpened?K?.value?.accommodation?.paymentUrl:K?.value?.vouchers?.paymentType===`payment-online-card`&&!K?.value?.vouchers?.paymentUrlOpened?K?.value?.vouchers?.paymentUrl:K?.value?.wellness?.paymentType===`payment-online-card`&&!K?.value?.wellness?.paymentUrlOpened?K?.value?.wellness?.paymentUrl:null);return c([K,q],()=>{!q?.value&&!K?.value?.error||(M.push(`/`),H.add({class:`accent-error`,title:d(`error`),text:q?.value?.toString()??K.value?.error?.message}))}),c(()=>K.value?.accommodation?.paymentUrl,e=>{e&&(K?.value?.accommodation?.paymentUrlOpened||K?.value?.accommodation?.paymentType!==`payment-online-card`||K?.value?.accommodation?.paid||setTimeout(()=>{X.value=!0,window.location.replace(R(e,z.url))},750))},{immediate:!0}),c(()=>K.value?.vouchers?.paymentUrl,e=>{e&&(K?.value?.vouchers?.paymentUrlOpened||K?.value?.accommodation?.paymentType===`payment-online-card`&&!K?.value?.accommodation?.paymentUrlOpened||K?.value?.vouchers?.paymentType!==`payment-online-card`||K?.value?.vouchers?.paid||setTimeout(()=>{X.value=!0,window.location.replace(R(e,z.url))},750))},{immediate:!0}),c(()=>K.value?.wellness?.paymentUrl,e=>{e&&(K?.value?.wellness?.paymentUrlOpened||K?.value?.accommodation?.paymentType===`payment-online-card`&&!K?.value?.accommodation?.paymentUrlOpened||K?.value?.vouchers?.paymentType===`payment-online-card`&&!K?.value?.vouchers?.paymentUrlOpened||K?.value?.wellness?.paymentType!==`payment-online-card`||K?.value?.wellness?.paid||setTimeout(()=>{X.value=!0,window.location.replace(R(e,z.url))},750))},{immediate:!0}),c(K,e=>{if(!(!e&&K?.value?.error)&&Z){Z=!1;let e=K?.value?.accommodation?.rooms?.map(e=>({item_id:e.roomId,item_name:e.roomName,item_variant:e.packageName||e.rateName,item_category:`Reservation`,item_brand:Y.value?.chainName,affiliation:Y.value?.name,currency:K?.value?.accommodation?.currency,price:Math.round(((e.prices?.finalPrice??NaN)/(K?.value?.accommodation?.totalNights??NaN)+2**-52)*100)/100,quantity:K?.value?.accommodation?.totalNights}))??[],t=K?.value?.vouchers?.items?.map(e=>({item_id:e.voucherId??e.productId,item_name:e.name,item_variant:e.voucherFormat,item_category:e.voucherId?`Voucher`:`Product`,item_brand:Y.value?.chainName,affiliation:Y.value?.name,currency:K?.value?.vouchers?.currency,price:e.price,quantity:1}))??[],n=K?.value?.wellness?.items?.map(e=>({item_id:e.wellnessId,item_name:e.wellnessName,item_category:`Wellness`,item_brand:Y.value?.chainName,affiliation:Y.value?.name,currency:K?.value?.wellness?.currency,price:e.price,quantity:1}))??[],r=(e=>K?.value?.accommodation?.number&&(!K?.value.vouchers||!K?.value.wellness)?e:`${e}_ORDER`)(K?.value?.accommodation?.number??K?.value?.id),i=[...e,...t,...n],a={transaction_id:r,value:K?.value?.finalPrice,currency:K?.value?.currency,check_in:K?.value?.accommodation?.checkInDate,check_out:K?.value?.accommodation?.checkOutDate,email:K?.value?.guest?.email,coupon:K?.value?.promoCode,items:i};if(ae(`Purchase`,{props:{hotelId:Y?.value?.id,...a}}),(G.value?.tracking?.googleGa4||G.value?.tracking?.googleGtm)&&k(`event`,`purchase`,a),G.value?.tracking?.googleAdsId&&G.value?.tracking?.googleAdsLabel&&(k(`set`,`user_data`,{email:K?.value?.guest?.email,phone_number:K?.value?.guest?.tel,address:{first_name:K?.value?.guest?.firstName,last_name:K?.value?.guest?.lastName,city:K?.value?.guest?.city,postal_code:K?.value?.guest?.postalCode,country:K?.value?.guest?.country,street:K?.value?.guest?.street}}),k(`event`,`conversion`,{send_to:`${G.value?.tracking?.googleAdsId}/${G.value?.tracking?.googleAdsLabel}`,value:K?.value?.finalPrice,currency:K?.value?.currency,transaction_id:r})),G.value?.tracking?.thnHotelId&&K?.value?.accommodation&&k(`event`,`thnBookingConfirmation`,{thn:{languageCode:K?.value?.accommodation?.lang,currencyCode:K?.value?.accommodation?.currency,hotelId:Y?.value?.id,hotelName:Y?.value?.name,booking:{id:K?.value?.accommodation?.number,checkIn:K?.value?.accommodation?.checkInDate,checkOut:K?.value?.accommodation?.checkOutDate,totalCost:K?.value?.accommodation?.finalPriceSecondary,promoCode:K?.value?.accommodation?.promoCode}}}),G.value?.tracking?.sklik&&(A.updateIdentities({eid:K.value?.guest?.email,aid:{a1:K?.value?.guest?.country,a2:K?.value?.guest?.city,a3:K?.value?.guest?.street,a5:K?.value?.guest?.postalCode},tid:K?.value?.guest?.tel}),A.conversionHit({id:G.value?.tracking?.sklik,orderId:r,value:K?.value?.finalPrice,consent:z.consent})),G.value?.tracking?.facebookPixel&&O(`track`,`Purchase`,{currency:K?.value?.currency,value:K?.value?.finalPrice},{eventID:K.value?.uuid}),G.value?.tracking?.xPixel&&ue(`track`,`Purchase`,{value:K?.value?.finalPrice,currency:K?.value?.currency,num_items:i.length}),G.value?.tracking?.microsoftAds&&T(`event`,`PRODUCT_PURCHASE`,{ecomm_prodid:r,ecomm_pagetype:`PURCHASE`,revenue_value:K?.value?.finalPrice,currency:K?.value?.currency}),G.value?.tracking?.sojernConversion&&K?.value?.accommodation&&w({id:G.value?.tracking?.sojernConversion,checkIn:K?.value?.accommodation?.checkInDate,checkOut:K?.value?.accommodation?.checkOutDate,guests:K?.value?.accommodation?.totalGuests,hotelCity:Y?.value?.city,hotelName:Y?.value?.name,hotelId:Y?.value?.id,hotelCountry:Y?.value?.country,price:K?.value?.accommodation?.finalPriceSecondary,currency:K?.value?.accommodation?.currencySecondary,reservationNumber:K?.value?.accommodation?.number,rooms:K?.value?.accommodation?.totalRooms}),G.value?.tracking?.leadhub&&K?.value?.accommodation){let e=[...(K?.value?.accommodation?.rooms??[]).map(e=>({product_id:e.roomId,quantity:K?.value?.accommodation?.totalNights}))];oe(`Purchase`,{value:K?.value?.accommodation?.finalPriceSecondary,currency:K?.value?.accommodation?.currencySecondary,email:K?.value?.guest?.email,first_name:K?.value?.guest?.firstName,last_name:K?.value?.guest?.lastName,phone:K?.value?.guest?.tel,order_id:r,products:e})}G.value?.tracking?.quicktextLicense&&K?.value?.accommodation&&ie({event:`confirm`,partner:`Bookolo`,price:K?.value?.accommodation?.finalPriceSecondary,currency:K?.value?.accommodation?.currencySecondary,checkIn:K?.value?.accommodation?.checkInDate,checkOut:K?.value?.accommodation?.checkOutDate,adults:K?.value?.accommodation?.totalAdults,children:K?.value?.accommodation?.totalChildren,rooms:K?.value?.accommodation?.totalRooms}),G.value?.tracking?.dialogShiftClientId&&K?.value?.accommodation&&D({clientId:G.value?.tracking?.dialogShiftClientId,bookingAmount:K?.value?.accommodation?.finalPriceSecondary,roomCount:K?.value?.accommodation?.totalRooms,nightCount:K?.value?.accommodation?.totalNights,currencyCode:K?.value?.accommodation?.currencySecondary}),G.value?.tracking?.dedgeTrackingHotelId&&K?.value?.accommodation&&ce({hotelId:Y?.value?.id,currency:K?.value?.accommodation?.currencySecondary,amount:K?.value?.accommodation?.finalPriceSecondary,amountWithoutTax:K?.value?.accommodation?.finalPriceSecondary,arrival:K?.value?.accommodation?.checkInDate,departure:K?.value?.accommodation?.checkOutDate,bookingReference:K?.value?.accommodation?.number})}},{immediate:!0}),(n,i)=>{let o=pe,c=re,u=F,p=N,g=P,S=ge,C=ht,w=De,T=L,E=he,D=ne,O=te;return r(),m(y,null,[x(E,{class:`grid lg:grid-cols-[1fr_28.25rem] gap-3 mg:gap-6`},{default:t(()=>[[l(K)?.accommodation,l(K)?.vouchers,l(K)?.wellness].filter(Boolean).length>=2?(r(),m(`div`,gt,[v(`div`,_t,[x(o,{class:`accent-success before:bg-accent/15 mb-3`,size:`md`,icon:`#icon-check`}),v(`h1`,vt,f(l(K)?.accommodation?l(d)(`reservationIsConfirmed`):l(d)(`orderIsCompleted`)),1),x(c,{size:`md`,to:`/`,class:`mt-5 md:mt-10`},{default:t(()=>[b(f(l(d)(`backToMainPage`)),1)]),_:1})]),v(`ul`,yt,[l(K)?.accommodation&&(l(K)?.accommodation?.paymentType===`payment-online-card`||l(K)?.accommodation?.paymentType===`bank-transfer`||l(K)?.accommodation?.paid)?(r(),m(`li`,bt,[v(`div`,xt,f(l(d)(`accommodationAndPackages`)),1),v(`div`,St,[l(K)?.accommodation?.paymentType===`payment-online-card`&&!l(K)?.accommodation?.paid?(r(),m(y,{key:0},[x(o,{class:`accent-error before:bg-accent/20`,size:`xs`,icon:`#icon-x-mark-micro`}),b(` `+f(l(d)(`paymentWithCardFailed`)),1)],64)):l(K)?.accommodation?.paymentType===`bank-transfer`&&!l(K)?.accommodation?.paid?(r(),m(y,{key:1},[b(f(l(d)(`waitingForBankTransferPayment`)),1)],64)):l(K)?.accommodation?.paid?(r(),m(y,{key:2},[x(o,{class:`accent-success before:bg-accent/20`,size:`xs`,icon:`#icon-check-micro`}),b(` `+f(l(d)(`paymentSuccessful`)),1)],64)):h(``,!0)])])):h(``,!0),l(K)?.wellness&&(l(K)?.wellness?.paymentType===`payment-online-card`||l(K)?.wellness?.paymentType===`bank-transfer`||l(K)?.wellness?.paid)?(r(),m(`li`,Ct,[v(`div`,wt,f(l(d)(`wellness`)),1),v(`div`,Tt,[l(K)?.wellness?.paymentType===`payment-online-card`&&!l(K)?.wellness?.paid?(r(),m(y,{key:0},[x(o,{class:`accent-error before:bg-accent/20`,size:`xs`,icon:`#icon-x-mark-micro`}),b(` `+f(l(d)(`paymentWithCardFailed`)),1)],64)):l(K)?.wellness?.paymentType===`bank-transfer`&&!l(K)?.wellness?.paid?(r(),m(y,{key:1},[b(f(l(d)(`waitingForBankTransferPayment`)),1)],64)):l(K)?.wellness?.paid?(r(),m(y,{key:2},[x(o,{class:`accent-success before:bg-accent/20`,size:`xs`,icon:`#icon-check-micro`}),b(` `+f(l(d)(`paymentSuccessful`)),1)],64)):h(``,!0)])])):h(``,!0),l(K)?.vouchers&&(l(K)?.vouchers?.paymentType===`payment-online-card`||l(K)?.vouchers?.paymentType===`bank-transfer`||l(K)?.vouchers?.paid)?(r(),m(`li`,Et,[v(`div`,$,f(l(d)(`vouchers`)),1),v(`div`,Dt,[l(K)?.vouchers?.paymentType===`payment-online-card`&&!l(K)?.vouchers?.paid?(r(),m(y,{key:0},[x(o,{class:`accent-error before:bg-accent/20`,size:`xs`,icon:`#icon-x-mark-micro`}),b(` `+f(l(d)(`paymentWithCardFailed`)),1)],64)):l(K)?.vouchers?.paymentType===`bank-transfer`&&!l(K)?.vouchers?.paid?(r(),m(y,{key:1},[b(f(l(d)(`waitingForBankTransferPayment`)),1)],64)):l(K)?.vouchers?.paid?(r(),m(y,{key:2},[x(o,{class:`accent-success before:bg-accent/20`,size:`xs`,icon:`#icon-check-micro`}),b(` `+f(l(d)(`paymentSuccessful`)),1)],64)):h(``,!0)])])):h(``,!0)])])):(r(),m(`div`,Ot,[x(o,{class:`accent-success before:bg-accent/15`,icon:`#icon-check`}),v(`h1`,kt,f(l(K)?.accommodation?l(d)(`reservationIsConfirmed`):l(d)(`orderIsCompleted`)),1),x(c,{size:`md`,to:`/`,class:`mt-7`},{default:t(()=>[b(f(l(d)(`backToMainPage`)),1)]),_:1})])),v(`div`,{class:ee([`flex flex-col gap-6`,{"col-span-full":!l(G)?.showBookoloAppDownload}])},[!l(J)&&l(K)?.accommodation?(r(),m(`div`,At,[l(K)?.accommodation?.paymentType===`payment-online-card`&&!l(K)?.accommodation?.paid&&l(K)?.accommodation?.paymentUrlOpened?(r(),_(u,{key:0,title:l(d)(`paymentWithCardFailed`),status:`error`,icon:`#icon-x-mark-micro`},{default:t(()=>[x(c,{as:`a`,size:`md`,class:`ml-auto max-md:w-full`,href:l(R)(l(K)?.accommodation?.paymentUrl,l(z).url)},{default:t(()=>[b(f(l(d)(`payAccommodation`)),1)]),_:1},8,[`href`])]),_:1},8,[`title`])):h(``,!0),l(K)?.accommodation?.paymentType===`bank-transfer`&&!l(K)?.accommodation?.paid?(r(),_(u,{key:1,title:l(d)(`waitingForBankTransferPayment`),status:`warning`,icon:`#icon-question-mark`},null,8,[`title`])):h(``,!0),l(K)?.accommodation?.paid?(r(),_(u,{key:2,title:l(d)(`paymentSuccessful`),status:`success`,icon:`#icon-check-micro`},null,8,[`title`])):h(``,!0),!l(J)&&l(K)?.accommodation?.bank?(r(),_(p,a(e({key:3},{...l(K)?.accommodation?.bank})),null,16)):h(``,!0),x(g,a(s({...l(K)})),null,16),l(G)?.showBookoloAppReservationScan?(r(),_(S,{key:4,qrCode:l(K)?.accommodation?.qrCode,code:l(K)?.accommodation?.code},null,8,[`qrCode`,`code`])):h(``,!0)])):l(J)?(r(),m(`div`,jt)):h(``,!0),!l(J)&&l(K)?.wellness?(r(),m(`div`,Mt,[l(K)?.wellness?.paymentType===`payment-online-card`&&!l(K)?.wellness?.paid&&l(K)?.wellness?.paymentUrlOpened?(r(),_(u,{key:0,title:l(d)(`paymentWithCardFailed`),status:`error`,icon:`#icon-x-mark-micro`},{default:t(()=>[x(c,{as:`a`,size:`md`,class:`ml-auto max-md:w-full`,href:l(R)(l(K)?.wellness?.paymentUrl,l(z).url)},{default:t(()=>[b(f(l(d)(`payWellness`)),1)]),_:1},8,[`href`])]),_:1},8,[`title`])):h(``,!0),l(K)?.wellness?.paymentType===`bank-transfer`&&!l(K)?.wellness?.paid?(r(),_(u,{key:1,title:l(d)(`waitingForBankTransferPayment`),status:`warning`,icon:`#icon-question-mark`},null,8,[`title`])):h(``,!0),l(K)?.wellness?.paid?(r(),_(u,{key:2,title:l(d)(`paymentSuccessful`),status:`success`,icon:`#icon-check-micro`},null,8,[`title`])):h(``,!0),!l(J)&&l(K)?.wellness?.bank?(r(),_(p,a(e({key:3},{...l(K)?.wellness?.bank})),null,16)):h(``,!0),x(C,a(s({...l(K)})),null,16)])):h(``,!0),!l(J)&&l(K)?.vouchers?(r(),m(`div`,Nt,[l(K)?.vouchers?.paymentType===`payment-online-card`&&!l(K)?.vouchers?.paid&&l(K)?.vouchers?.paymentUrlOpened?(r(),_(u,{key:0,title:l(d)(`paymentWithCardFailed`),status:`error`,icon:`#icon-x-mark-micro`},{default:t(()=>[x(c,{as:`a`,size:`md`,class:`ml-auto max-md:w-full`,href:l(R)(l(K)?.vouchers?.paymentUrl,l(z).url)},{default:t(()=>[b(f(l(K)?.vouchers?.items?.length>1?l(d)(`payVouchers`):l(d)(`payVoucher`)),1)]),_:1},8,[`href`])]),_:1},8,[`title`])):h(``,!0),l(K)?.vouchers?.paymentType===`bank-transfer`&&!l(K)?.vouchers?.paid?(r(),_(u,{key:1,title:l(d)(`waitingForBankTransferPayment`),status:`warning`,icon:`#icon-question-mark`},null,8,[`title`])):h(``,!0),l(K)?.vouchers?.paid?(r(),_(u,{key:2,title:l(d)(`paymentSuccessful`),status:`success`,icon:`#icon-check-micro`},null,8,[`title`])):h(``,!0),!l(J)&&l(K)?.vouchers?.bank?(r(),_(p,a(e({key:3},{...l(K)?.vouchers?.bank})),null,16)):h(``,!0),x(w,a(s({...l(K)})),null,16)])):h(``,!0)],2),l(G)?.showBookoloAppDownload?(r(),_(T,{key:2,class:`transition-all md:sticky md:top-[calc(var(--x-main-sticky-top)+1rem)] self-start`})):h(``,!0)]),_:1}),x(O,{open:l(K)?.accommodation?.paymentType===`payment-online-card`&&!l(K)?.accommodation?.paid&&!l(K)?.accommodation?.paymentUrlOpened||l(K)?.vouchers?.paymentType===`payment-online-card`&&!l(K)?.vouchers?.paid&&!l(K)?.vouchers?.paymentUrlOpened||l(K)?.wellness?.paymentType===`payment-online-card`&&!l(K)?.wellness?.paid&&!l(K)?.wellness?.paymentUrlOpened,closable:!1},{default:t(()=>[x(D,{size:`xs`,class:`flex flex-col text-center items-center py-8 px-16`},{default:t(()=>[x(o,{class:`before:bg-accent/15 mb-4`,icon:`#icon-credit-card-solid`}),v(`div`,Pt,f(l(d)(`momentOfPatience`)),1),v(`div`,Ft,f(l(d)(`paymentGatewayRedirection`)),1),x(c,{as:`a`,class:`mt-6`,size:`md`,href:l(R)(Q.value,l(z).url),disabled:X.value},{default:t(()=>[b(f(l(d)(`redirectNow`)),1)]),_:1},8,[`href`,`disabled`])]),_:1})]),_:1},8,[`open`])],64)}}});export{It as default};
|
|
1
|
+
import{Dn as e,Hn as t,Kn as n,Mn as r,Pn as i,Qn as a,Rt as o,Sn as s,Vn as c,Xn as l,Yn as u,Zn as ee,bn as d,er as f,fn as p,gn as m,hn as h,jt as g,mn as _,pn as v,un as y,vn as b,yn as x}from"./vendor.UEAfe26O.js";import{W as S,t as C}from"./params.BYxK9z6w.js";import"./localeRules.ISFWYFF6.js";import{n as te,t as ne}from"./DialogContent.oj4AjH0A.js";import{t as re}from"./Button.DENQlfoV.js";import{_ as w,b as T,c as E,d as D,f as O,g as ie,h as ae,m as oe,o as se,p as k,u as ce,v as A,x as le,y as ue}from"./client.B35Zk1Vj.js";import"./staleTimes.BFpWFXo3.js";import"./countries.DHA-CuXb.js";import{t as de}from"./config.DN5PrzYj.js";import{t as fe}from"./toaster.Duospl3o.js";import{t as pe}from"./Circle.BqRlZ-Ni.js";import{t as j}from"./ButtonBordered.Buog5XUd.js";import{t as M}from"./formatPrice.BoNSJ3UV.js";import{t as me}from"./hotel.CHXHOAo8.js";import{t as he}from"./Main.CK41faK0.js";import{i as ge,n as N,r as P,t as F}from"./OrderConfirmedStatus.DG6GhTD-.js";import{t as I}from"./routeParams.DU9zPEL5.js";import{t as L}from"./CheckinApp.XKpaXHHH.js";import{a as _e}from"./order.Bi7Btnb0.js";import{t as R}from"./getPaymentUrl.DOaXoJD3.js";var z={class:`x-order-confirmed-vouchers flex flex-col gap-6`},B={class:`x-heading sm`},V={class:`flex flex-col divide-y divide-main-tertiary divide-gap-y-6`},H={class:`flex items-start justify-between mb-4 md:mb-6 gap-4`},U={class:`flex flex-col`},W={class:`x-badge self-start mb-2`},G={class:`x-heading sm`},K={class:`flex flex-col gap-1.5`},q={key:0,class:`flex items-center justify-between`},J={class:`x-title`},Y={class:`x-text sm`},X={class:`flex items-center justify-between`},Z={class:`x-title`},Q={class:`x-text sm`},ve={key:1,class:`flex items-center justify-between`},ye={class:`x-title`},be={class:`x-text sm`},xe={key:2,class:`flex flex-col gap-2.5`},Se={class:`x-title`},Ce=[`innerHTML`],we={class:`flex items-baseline gap-2 justify-end max-md:flex-wrap border-t border-main-tertiary pt-6`},Te={class:`x-heading sm`},Ee={class:`x-title lg font-normal`},De=d({__name:`OrderConfirmedVouchers`,props:{id:{type:[String,null]},uuid:{type:[String,null]},finalPrice:{type:[Number,null]},currency:{type:String},promoCode:{type:[String,null]},guest:{type:[Object,null]},accommodation:{type:[Object,null]},vouchers:{type:[Object,null]},wellness:{type:[Object,null]}},setup(e){let{t:n}=g();return(a,o)=>{let s=j;return r(),m(`div`,z,[v(`h2`,B,f(l(n)(`vouchers`)),1),v(`div`,V,[(r(!0),m(y,null,i(e.vouchers?.items,(i,a)=>(r(),m(`div`,{key:a,class:`flex flex-col`},[v(`div`,H,[v(`div`,U,[v(`div`,W,f(i.type?.name),1),v(`h2`,G,f(i.name),1)]),i?.pdfLink?(r(),_(s,{key:0,download:``,as:`a`,href:i?.pdfLink,target:`_blank`,size:`md`},{default:t(()=>[b(f(l(n)(`download`)),1)]),_:1},8,[`href`])):h(``,!0)]),v(`ul`,K,[i.price?(r(),m(`li`,q,[v(`div`,J,f(l(n)(`price`)),1),v(`div`,Y,f(l(M)(i.price,e.vouchers?.currency)),1)])):h(``,!0),v(`li`,X,[v(`div`,Z,f(l(n)(`deliveryType`)),1),v(`div`,Q,f(i.voucherDelivery===`virtual`?l(n)(`email`):e.vouchers?.deliveryTypeName),1)]),i.voucherFormat?(r(),m(`li`,ve,[v(`div`,ye,f(l(n)(`format`)),1),v(`div`,be,f(i.voucherFormat),1)])):h(``,!0),i.voucherDedicationText?(r(),m(`li`,xe,[v(`div`,Se,f(l(n)(`dedicationText`)),1),v(`div`,{class:`x-text sm`,innerHTML:i.voucherDedicationText},null,8,Ce)])):h(``,!0)])]))),128))]),v(`div`,we,[v(`div`,Te,f(l(n)(`total`)),1),v(`div`,Ee,f(l(M)(e.vouchers?.finalPrice,e.vouchers?.currency)),1)])])}}}),Oe={key:0,class:`x-order-confirmed-wellness flex flex-col gap-6`},ke={class:`x-heading sm`},Ae={class:`x-text`},je={class:`x-title sm mb-6`},Me={class:`grid lg:grid-cols-2 gap-3 lg:gap-6`},Ne={class:`flex gap-4`},Pe={class:`flex flex-col gap-1`},Fe={class:`x-title sm font-medium`},Ie={key:0,class:`x-title`},Le={class:`flex gap-4`},Re={class:`flex flex-col gap-1`},ze={class:`x-title sm font-medium`},Be={class:`x-title`},Ve={class:`flex gap-4`},He={class:`flex flex-col gap-1`},Ue={class:`x-title sm font-medium`},We={class:`x-title`},Ge={class:`flex gap-4`},Ke={class:`flex flex-col gap-1`},qe={class:`x-title sm font-medium`},Je={class:`x-title`},Ye={key:0,class:`flex gap-4 col-span-full`},Xe={class:`flex flex-col gap-1`},Ze={class:`x-title sm font-medium`},Qe={class:`x-title`},$e={key:0,class:`flex flex-col`},et={class:`x-heading sm mb-6`},tt={class:`x-text`},nt={class:`flex flex-col divide-y divide-main-tertiary divide-gap-y-3`},rt={key:0,class:`flex items-center justify-between`},it={class:`x-title`},at={class:`x-text sm font-medium`},ot={key:1,class:`flex items-center justify-between`},st={class:`x-title`},ct={class:`x-text sm font-medium`},lt={key:2,class:`flex items-center justify-between`},ut={class:`x-title`},dt={class:`x-text sm font-medium`},ft={class:`flex items-center gap-2 justify-end max-md:flex-wrap`},pt={class:`x-heading sm`},mt={class:`x-text lg`},ht=d({__name:`OrderConfirmedWellness`,props:{id:{type:[String,null]},uuid:{type:[String,null]},finalPrice:{type:[Number,null]},currency:{type:String},promoCode:{type:[String,null]},guest:{type:[Object,null]},accommodation:{type:[Object,null]},vouchers:{type:[Object,null]},wellness:{type:[Object,null]}},setup(e){let{t,d:n}=g(),a=e;return(o,s)=>e.wellness?(r(),m(`div`,Oe,[v(`h2`,ke,[b(f(l(t)(`wellnessReservation`))+` `,1),v(`span`,Ae,`#`+f(e.wellness?.vs),1)]),(r(!0),m(y,null,i(e.wellness?.items,(e,i)=>(r(),m(`div`,{key:i,class:`flex flex-col mb-2`},[v(`h3`,je,f(l(t)(`nthReservation`,i+1)),1),v(`ul`,Me,[v(`li`,Ne,[s[0]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-calendar-days-mini`})])],-1),v(`div`,Pe,[v(`div`,Fe,f(l(t)(`date`)),1),e?.date?(r(),m(`div`,Ie,f(l(n)(new Date(e.date))),1)):h(``,!0)])]),v(`li`,Le,[s[1]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-clock-mini`})])],-1),v(`div`,Re,[v(`div`,ze,f(l(t)(`time`)),1),v(`div`,Be,[b(f(e?.timeFrom)+` `,1),e?.timeTo?(r(),m(y,{key:0},[b(` – `+f(e?.timeTo),1)],64)):h(``,!0)])])]),v(`li`,Ve,[s[2]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-user-group-mini`})])],-1),v(`div`,He,[v(`div`,Ue,f(l(t)(`numberOfPersons`)),1),v(`div`,We,f(e?.adults),1)])]),v(`li`,Ge,[s[3]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-wellness-solid`})])],-1),v(`div`,Ke,[v(`div`,qe,f(l(t)(`item`)),1),v(`div`,Je,f(e?.wellnessName),1)])]),e?.services&&e.services.length>0?(r(),m(`li`,Ye,[s[4]||=v(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[v(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[v(`use`,{href:`#icon-wellness-solid`})])],-1),v(`div`,Xe,[v(`div`,Ze,f(l(t)(`extraServices`)),1),v(`div`,Qe,f(e.services.map(e=>e.name).join(`, `)),1)])])):h(``,!0)])]))),128)),e.guest?(r(),m(`div`,$e,[v(`h2`,et,[b(f(l(t)(`reservingPerson`))+` `,1),v(`span`,tt,`(`+f(e.guest?.firstName)+` `+f(e.guest?.lastName)+`)`,1)]),v(`ul`,nt,[e.guest?.email?(r(),m(`li`,rt,[v(`div`,it,f(l(t)(`email`)),1),v(`div`,at,f(e.guest.email),1)])):h(``,!0),e.guest?.tel?(r(),m(`li`,ot,[v(`div`,st,f(l(t)(`phone`)),1),v(`div`,ct,f(e.guest.tel),1)])):h(``,!0),e.guest?.street||e.guest?.city||e.guest?.postalCode?(r(),m(`li`,lt,[v(`div`,ut,f(l(t)(`address`)),1),v(`div`,dt,f(e.guest?.street)+`, `+f(e.guest?.city)+` `+f(e.guest?.postalCode),1)])):h(``,!0)])])):h(``,!0),v(`div`,ft,[v(`div`,pt,f(l(t)(`total`)),1),v(`div`,mt,f(l(M)(e.wellness.finalPrice,a.currency)),1)])])):h(``,!0)}}),gt={key:0,class:`p-6 bg-body-primary rounded-xl flex items-center max-md:flex-col gap-8 md:gap-6 justify-between col-span-full`},_t={class:`flex flex-col items-start`},vt={class:`x-heading`},yt={class:`flex flex-col gap-5 lg:pr-10`},bt={key:0,class:`flex flex-col gap-1`},xt={class:`x-title sm font-medium text-main-secondary`},St={class:`x-title flex items-center gap-3`},Ct={key:1,class:`flex flex-col gap-1`},wt={class:`x-title sm font-medium text-main-secondary`},Tt={class:`x-title flex items-center gap-3`},Et={key:2,class:`flex flex-col gap-1`},$={class:`x-title sm font-medium text-main-secondary`},Dt={class:`x-title flex items-center gap-3`},Ot={key:1,class:`py-12 px-2.5 bg-body-primary rounded-xl flex flex-col items-center gap-3 col-span-full`},kt={class:`x-heading lg text-center`},At={key:0,class:`bg-body-primary p-3 md:p-6 rounded-xl flex flex-col gap-6`},jt={key:1,class:`skeleton h-svh rounded-xl`},Mt={key:2,class:`bg-body-primary p-3 md:p-6 rounded-xl flex flex-col gap-6`},Nt={key:3,class:`bg-body-primary p-3 md:p-6 rounded-xl flex flex-col gap-6`},Pt={class:`x-heading mb-2`},Ft={class:`x-text`},It=d({__name:`[uuid]`,setup(i){let{t:d}=g(),j=o(),M=S(),z=C(),B=se(),V=E(),H=fe(),U=le(),W=I(),{data:G}=de(),{data:K,error:q,isLoading:J}=_e(W.value.uuid),{data:Y}=me(),X=n(!1),Z=u(V.trackOrder);U.resetPromo(),B.$reset(),V.$reset(),j.invalidateQueries({key:[`account/orders`]}),j.invalidateQueries({key:[`account/points`]}),j.invalidateQueries({key:[`account/rewards`]});let Q=p(()=>K?.value?.accommodation?.paymentType===`payment-online-card`&&!K?.value?.accommodation?.paymentUrlOpened?K?.value?.accommodation?.paymentUrl:K?.value?.vouchers?.paymentType===`payment-online-card`&&!K?.value?.vouchers?.paymentUrlOpened?K?.value?.vouchers?.paymentUrl:K?.value?.wellness?.paymentType===`payment-online-card`&&!K?.value?.wellness?.paymentUrlOpened?K?.value?.wellness?.paymentUrl:null);return c([K,q],()=>{!q?.value&&!K?.value?.error||(M.push(`/`),H.add({class:`accent-error`,title:d(`error`),text:q?.value?.toString()??K.value?.error?.message}))}),c(()=>K.value?.accommodation?.paymentUrl,e=>{e&&(K?.value?.accommodation?.paymentUrlOpened||K?.value?.accommodation?.paymentType!==`payment-online-card`||K?.value?.accommodation?.paid||setTimeout(()=>{X.value=!0,window.location.replace(R(e,z.url))},750))},{immediate:!0}),c(()=>K.value?.vouchers?.paymentUrl,e=>{e&&(K?.value?.vouchers?.paymentUrlOpened||K?.value?.accommodation?.paymentType===`payment-online-card`&&!K?.value?.accommodation?.paymentUrlOpened||K?.value?.vouchers?.paymentType!==`payment-online-card`||K?.value?.vouchers?.paid||setTimeout(()=>{X.value=!0,window.location.replace(R(e,z.url))},750))},{immediate:!0}),c(()=>K.value?.wellness?.paymentUrl,e=>{e&&(K?.value?.wellness?.paymentUrlOpened||K?.value?.accommodation?.paymentType===`payment-online-card`&&!K?.value?.accommodation?.paymentUrlOpened||K?.value?.vouchers?.paymentType===`payment-online-card`&&!K?.value?.vouchers?.paymentUrlOpened||K?.value?.wellness?.paymentType!==`payment-online-card`||K?.value?.wellness?.paid||setTimeout(()=>{X.value=!0,window.location.replace(R(e,z.url))},750))},{immediate:!0}),c(K,e=>{if(!(!e&&K?.value?.error)&&Z){Z=!1;let e=K?.value?.accommodation?.rooms?.map(e=>({item_id:e.roomId,item_name:e.roomName,item_variant:e.packageName||e.rateName,item_category:`Reservation`,item_brand:Y.value?.chainName,affiliation:Y.value?.name,currency:K?.value?.accommodation?.currency,price:Math.round(((e.prices?.finalPrice??NaN)/(K?.value?.accommodation?.totalNights??NaN)+2**-52)*100)/100,quantity:K?.value?.accommodation?.totalNights}))??[],t=K?.value?.vouchers?.items?.map(e=>({item_id:e.voucherId??e.productId,item_name:e.name,item_variant:e.voucherFormat,item_category:e.voucherId?`Voucher`:`Product`,item_brand:Y.value?.chainName,affiliation:Y.value?.name,currency:K?.value?.vouchers?.currency,price:e.price,quantity:1}))??[],n=K?.value?.wellness?.items?.map(e=>({item_id:e.wellnessId,item_name:e.wellnessName,item_category:`Wellness`,item_brand:Y.value?.chainName,affiliation:Y.value?.name,currency:K?.value?.wellness?.currency,price:e.price,quantity:1}))??[],r=(e=>K?.value?.accommodation?.number&&(!K?.value.vouchers||!K?.value.wellness)?e:`${e}_ORDER`)(K?.value?.accommodation?.number??K?.value?.id),i=[...e,...t,...n],a={transaction_id:r,value:K?.value?.finalPrice,currency:K?.value?.currency,check_in:K?.value?.accommodation?.checkInDate,check_out:K?.value?.accommodation?.checkOutDate,email:K?.value?.guest?.email,coupon:K?.value?.promoCode,items:i};if(ae(`Purchase`,{props:{hotelId:Y?.value?.id,...a}}),(G.value?.tracking?.googleGa4||G.value?.tracking?.googleGtm)&&k(`event`,`purchase`,a),G.value?.tracking?.googleAdsId&&G.value?.tracking?.googleAdsLabel&&(k(`set`,`user_data`,{email:K?.value?.guest?.email,phone_number:K?.value?.guest?.tel,address:{first_name:K?.value?.guest?.firstName,last_name:K?.value?.guest?.lastName,city:K?.value?.guest?.city,postal_code:K?.value?.guest?.postalCode,country:K?.value?.guest?.country,street:K?.value?.guest?.street}}),k(`event`,`conversion`,{send_to:`${G.value?.tracking?.googleAdsId}/${G.value?.tracking?.googleAdsLabel}`,value:K?.value?.finalPrice,currency:K?.value?.currency,transaction_id:r})),G.value?.tracking?.thnHotelId&&K?.value?.accommodation&&k(`event`,`thnBookingConfirmation`,{thn:{languageCode:K?.value?.accommodation?.lang,currencyCode:K?.value?.accommodation?.currency,hotelId:Y?.value?.id,hotelName:Y?.value?.name,booking:{id:K?.value?.accommodation?.number,checkIn:K?.value?.accommodation?.checkInDate,checkOut:K?.value?.accommodation?.checkOutDate,totalCost:K?.value?.accommodation?.finalPriceSecondary,promoCode:K?.value?.accommodation?.promoCode}}}),G.value?.tracking?.sklik&&(A.updateIdentities({eid:K.value?.guest?.email,aid:{a1:K?.value?.guest?.country,a2:K?.value?.guest?.city,a3:K?.value?.guest?.street,a5:K?.value?.guest?.postalCode},tid:K?.value?.guest?.tel}),A.conversionHit({id:G.value?.tracking?.sklik,orderId:r,value:K?.value?.finalPrice,consent:z.consent})),G.value?.tracking?.facebookPixel&&O(`track`,`Purchase`,{currency:K?.value?.currency,value:K?.value?.finalPrice},{eventID:K.value?.uuid}),G.value?.tracking?.xPixel&&ue(`track`,`Purchase`,{value:K?.value?.finalPrice,currency:K?.value?.currency,num_items:i.length}),G.value?.tracking?.microsoftAds&&T(`event`,`PRODUCT_PURCHASE`,{ecomm_prodid:r,ecomm_pagetype:`PURCHASE`,revenue_value:K?.value?.finalPrice,currency:K?.value?.currency}),G.value?.tracking?.sojernConversion&&K?.value?.accommodation&&w({id:G.value?.tracking?.sojernConversion,checkIn:K?.value?.accommodation?.checkInDate,checkOut:K?.value?.accommodation?.checkOutDate,guests:K?.value?.accommodation?.totalGuests,hotelCity:Y?.value?.city,hotelName:Y?.value?.name,hotelId:Y?.value?.id,hotelCountry:Y?.value?.country,price:K?.value?.accommodation?.finalPriceSecondary,currency:K?.value?.accommodation?.currencySecondary,reservationNumber:K?.value?.accommodation?.number,rooms:K?.value?.accommodation?.totalRooms}),G.value?.tracking?.leadhub&&K?.value?.accommodation){let e=[...(K?.value?.accommodation?.rooms??[]).map(e=>({product_id:e.roomId,quantity:K?.value?.accommodation?.totalNights}))];oe(`Purchase`,{value:K?.value?.accommodation?.finalPriceSecondary,currency:K?.value?.accommodation?.currencySecondary,email:K?.value?.guest?.email,first_name:K?.value?.guest?.firstName,last_name:K?.value?.guest?.lastName,phone:K?.value?.guest?.tel,order_id:r,products:e})}G.value?.tracking?.quicktextLicense&&K?.value?.accommodation&&ie({event:`confirm`,partner:`Bookolo`,price:K?.value?.accommodation?.finalPriceSecondary,currency:K?.value?.accommodation?.currencySecondary,checkIn:K?.value?.accommodation?.checkInDate,checkOut:K?.value?.accommodation?.checkOutDate,adults:K?.value?.accommodation?.totalAdults,children:K?.value?.accommodation?.totalChildren,rooms:K?.value?.accommodation?.totalRooms}),G.value?.tracking?.dialogShiftClientId&&K?.value?.accommodation&&D({clientId:G.value?.tracking?.dialogShiftClientId,bookingAmount:K?.value?.accommodation?.finalPriceSecondary,roomCount:K?.value?.accommodation?.totalRooms,nightCount:K?.value?.accommodation?.totalNights,currencyCode:K?.value?.accommodation?.currencySecondary}),G.value?.tracking?.dedgeTrackingHotelId&&K?.value?.accommodation&&ce({hotelId:Y?.value?.id,currency:K?.value?.accommodation?.currencySecondary,amount:K?.value?.accommodation?.finalPriceSecondary,amountWithoutTax:K?.value?.accommodation?.finalPriceSecondary,arrival:K?.value?.accommodation?.checkInDate,departure:K?.value?.accommodation?.checkOutDate,bookingReference:K?.value?.accommodation?.number})}},{immediate:!0}),(n,i)=>{let o=pe,c=re,u=F,p=N,g=P,S=ge,C=ht,w=De,T=L,E=he,D=ne,O=te;return r(),m(y,null,[x(E,{class:`grid lg:grid-cols-[1fr_28.25rem] gap-3 mg:gap-6`},{default:t(()=>[[l(K)?.accommodation,l(K)?.vouchers,l(K)?.wellness].filter(Boolean).length>=2?(r(),m(`div`,gt,[v(`div`,_t,[x(o,{class:`accent-success before:bg-accent/15 mb-3`,size:`md`,icon:`#icon-check`}),v(`h1`,vt,f(l(K)?.accommodation?l(d)(`reservationIsConfirmed`):l(d)(`orderIsCompleted`)),1),x(c,{size:`md`,to:`/`,class:`mt-5 md:mt-10`},{default:t(()=>[b(f(l(d)(`backToMainPage`)),1)]),_:1})]),v(`ul`,yt,[l(K)?.accommodation&&(l(K)?.accommodation?.paymentType===`payment-online-card`||l(K)?.accommodation?.paymentType===`bank-transfer`||l(K)?.accommodation?.paid)?(r(),m(`li`,bt,[v(`div`,xt,f(l(d)(`accommodationAndPackages`)),1),v(`div`,St,[l(K)?.accommodation?.paymentType===`payment-online-card`&&!l(K)?.accommodation?.paid?(r(),m(y,{key:0},[x(o,{class:`accent-error before:bg-accent/20`,size:`xs`,icon:`#icon-x-mark-micro`}),b(` `+f(l(d)(`paymentWithCardFailed`)),1)],64)):l(K)?.accommodation?.paymentType===`bank-transfer`&&!l(K)?.accommodation?.paid?(r(),m(y,{key:1},[b(f(l(d)(`waitingForBankTransferPayment`)),1)],64)):l(K)?.accommodation?.paid?(r(),m(y,{key:2},[x(o,{class:`accent-success before:bg-accent/20`,size:`xs`,icon:`#icon-check-micro`}),b(` `+f(l(d)(`paymentSuccessful`)),1)],64)):h(``,!0)])])):h(``,!0),l(K)?.wellness&&(l(K)?.wellness?.paymentType===`payment-online-card`||l(K)?.wellness?.paymentType===`bank-transfer`||l(K)?.wellness?.paid)?(r(),m(`li`,Ct,[v(`div`,wt,f(l(d)(`wellness`)),1),v(`div`,Tt,[l(K)?.wellness?.paymentType===`payment-online-card`&&!l(K)?.wellness?.paid?(r(),m(y,{key:0},[x(o,{class:`accent-error before:bg-accent/20`,size:`xs`,icon:`#icon-x-mark-micro`}),b(` `+f(l(d)(`paymentWithCardFailed`)),1)],64)):l(K)?.wellness?.paymentType===`bank-transfer`&&!l(K)?.wellness?.paid?(r(),m(y,{key:1},[b(f(l(d)(`waitingForBankTransferPayment`)),1)],64)):l(K)?.wellness?.paid?(r(),m(y,{key:2},[x(o,{class:`accent-success before:bg-accent/20`,size:`xs`,icon:`#icon-check-micro`}),b(` `+f(l(d)(`paymentSuccessful`)),1)],64)):h(``,!0)])])):h(``,!0),l(K)?.vouchers&&(l(K)?.vouchers?.paymentType===`payment-online-card`||l(K)?.vouchers?.paymentType===`bank-transfer`||l(K)?.vouchers?.paid)?(r(),m(`li`,Et,[v(`div`,$,f(l(d)(`vouchers`)),1),v(`div`,Dt,[l(K)?.vouchers?.paymentType===`payment-online-card`&&!l(K)?.vouchers?.paid?(r(),m(y,{key:0},[x(o,{class:`accent-error before:bg-accent/20`,size:`xs`,icon:`#icon-x-mark-micro`}),b(` `+f(l(d)(`paymentWithCardFailed`)),1)],64)):l(K)?.vouchers?.paymentType===`bank-transfer`&&!l(K)?.vouchers?.paid?(r(),m(y,{key:1},[b(f(l(d)(`waitingForBankTransferPayment`)),1)],64)):l(K)?.vouchers?.paid?(r(),m(y,{key:2},[x(o,{class:`accent-success before:bg-accent/20`,size:`xs`,icon:`#icon-check-micro`}),b(` `+f(l(d)(`paymentSuccessful`)),1)],64)):h(``,!0)])])):h(``,!0)])])):(r(),m(`div`,Ot,[x(o,{class:`accent-success before:bg-accent/15`,icon:`#icon-check`}),v(`h1`,kt,f(l(K)?.accommodation?l(d)(`reservationIsConfirmed`):l(d)(`orderIsCompleted`)),1),x(c,{size:`md`,to:`/`,class:`mt-7`},{default:t(()=>[b(f(l(d)(`backToMainPage`)),1)]),_:1})])),v(`div`,{class:ee([`flex flex-col gap-6`,{"col-span-full":!l(G)?.showBookoloAppDownload}])},[!l(J)&&l(K)?.accommodation?(r(),m(`div`,At,[l(K)?.accommodation?.paymentType===`payment-online-card`&&!l(K)?.accommodation?.paid&&l(K)?.accommodation?.paymentUrlOpened?(r(),_(u,{key:0,title:l(d)(`paymentWithCardFailed`),status:`error`,icon:`#icon-x-mark-micro`},{default:t(()=>[x(c,{as:`a`,size:`md`,class:`ml-auto max-md:w-full`,href:l(R)(l(K)?.accommodation?.paymentUrl,l(z).url)},{default:t(()=>[b(f(l(d)(`payAccommodation`)),1)]),_:1},8,[`href`])]),_:1},8,[`title`])):h(``,!0),l(K)?.accommodation?.paymentType===`bank-transfer`&&!l(K)?.accommodation?.paid?(r(),_(u,{key:1,title:l(d)(`waitingForBankTransferPayment`),status:`warning`,icon:`#icon-question-mark`},null,8,[`title`])):h(``,!0),l(K)?.accommodation?.paid?(r(),_(u,{key:2,title:l(d)(`paymentSuccessful`),status:`success`,icon:`#icon-check-micro`},null,8,[`title`])):h(``,!0),!l(J)&&l(K)?.accommodation?.bank?(r(),_(p,a(e({key:3},{...l(K)?.accommodation?.bank})),null,16)):h(``,!0),x(g,a(s({...l(K)})),null,16),l(G)?.showBookoloAppReservationScan?(r(),_(S,{key:4,qrCode:l(K)?.accommodation?.qrCode,code:l(K)?.accommodation?.code},null,8,[`qrCode`,`code`])):h(``,!0)])):l(J)?(r(),m(`div`,jt)):h(``,!0),!l(J)&&l(K)?.wellness?(r(),m(`div`,Mt,[l(K)?.wellness?.paymentType===`payment-online-card`&&!l(K)?.wellness?.paid&&l(K)?.wellness?.paymentUrlOpened?(r(),_(u,{key:0,title:l(d)(`paymentWithCardFailed`),status:`error`,icon:`#icon-x-mark-micro`},{default:t(()=>[x(c,{as:`a`,size:`md`,class:`ml-auto max-md:w-full`,href:l(R)(l(K)?.wellness?.paymentUrl,l(z).url)},{default:t(()=>[b(f(l(d)(`payWellness`)),1)]),_:1},8,[`href`])]),_:1},8,[`title`])):h(``,!0),l(K)?.wellness?.paymentType===`bank-transfer`&&!l(K)?.wellness?.paid?(r(),_(u,{key:1,title:l(d)(`waitingForBankTransferPayment`),status:`warning`,icon:`#icon-question-mark`},null,8,[`title`])):h(``,!0),l(K)?.wellness?.paid?(r(),_(u,{key:2,title:l(d)(`paymentSuccessful`),status:`success`,icon:`#icon-check-micro`},null,8,[`title`])):h(``,!0),!l(J)&&l(K)?.wellness?.bank?(r(),_(p,a(e({key:3},{...l(K)?.wellness?.bank})),null,16)):h(``,!0),x(C,a(s({...l(K)})),null,16)])):h(``,!0),!l(J)&&l(K)?.vouchers?(r(),m(`div`,Nt,[l(K)?.vouchers?.paymentType===`payment-online-card`&&!l(K)?.vouchers?.paid&&l(K)?.vouchers?.paymentUrlOpened?(r(),_(u,{key:0,title:l(d)(`paymentWithCardFailed`),status:`error`,icon:`#icon-x-mark-micro`},{default:t(()=>[x(c,{as:`a`,size:`md`,class:`ml-auto max-md:w-full`,href:l(R)(l(K)?.vouchers?.paymentUrl,l(z).url)},{default:t(()=>[b(f(l(K)?.vouchers?.items?.length>1?l(d)(`payVouchers`):l(d)(`payVoucher`)),1)]),_:1},8,[`href`])]),_:1},8,[`title`])):h(``,!0),l(K)?.vouchers?.paymentType===`bank-transfer`&&!l(K)?.vouchers?.paid?(r(),_(u,{key:1,title:l(d)(`waitingForBankTransferPayment`),status:`warning`,icon:`#icon-question-mark`},null,8,[`title`])):h(``,!0),l(K)?.vouchers?.paid?(r(),_(u,{key:2,title:l(d)(`paymentSuccessful`),status:`success`,icon:`#icon-check-micro`},null,8,[`title`])):h(``,!0),!l(J)&&l(K)?.vouchers?.bank?(r(),_(p,a(e({key:3},{...l(K)?.vouchers?.bank})),null,16)):h(``,!0),x(w,a(s({...l(K)})),null,16)])):h(``,!0)],2),l(G)?.showBookoloAppDownload?(r(),_(T,{key:2,class:`transition-all md:sticky md:top-[calc(var(--x-main-sticky-top)+1rem)] self-start`})):h(``,!0)]),_:1}),x(O,{open:l(K)?.accommodation?.paymentType===`payment-online-card`&&!l(K)?.accommodation?.paid&&!l(K)?.accommodation?.paymentUrlOpened||l(K)?.vouchers?.paymentType===`payment-online-card`&&!l(K)?.vouchers?.paid&&!l(K)?.vouchers?.paymentUrlOpened||l(K)?.wellness?.paymentType===`payment-online-card`&&!l(K)?.wellness?.paid&&!l(K)?.wellness?.paymentUrlOpened,closable:!1},{default:t(()=>[x(D,{size:`xs`,class:`flex flex-col text-center items-center py-8 px-16`},{default:t(()=>[x(o,{class:`before:bg-accent/15 mb-4`,icon:`#icon-credit-card-solid`}),v(`div`,Pt,f(l(d)(`momentOfPatience`)),1),v(`div`,Ft,f(l(d)(`paymentGatewayRedirection`)),1),x(c,{as:`a`,class:`mt-6`,size:`md`,href:l(R)(Q.value,l(z).url),disabled:X.value},{default:t(()=>[b(f(l(d)(`redirectNow`)),1)]),_:1},8,[`href`,`disabled`])]),_:1})]),_:1},8,[`open`])],64)}}});export{It as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{An as e,Hn as t,Mn as n,Rn as r,Vn as i,Xn as a,bn as o,jt as s,kn as c,ln as l,mn as u,pn as d,yn as f}from"./vendor.
|
|
1
|
+
import{An as e,Hn as t,Mn as n,Rn as r,Vn as i,Xn as a,bn as o,jt as s,kn as c,ln as l,mn as u,pn as d,yn as f}from"./vendor.UEAfe26O.js";import{W as p}from"./params.BYxK9z6w.js";import"./localeRules.ISFWYFF6.js";import"./DialogContent.oj4AjH0A.js";import{n as m}from"./Field.BhjqVj0S.js";import{c as h,o as g}from"./client.B35Zk1Vj.js";import"./staleTimes.BFpWFXo3.js";import"./countries.DHA-CuXb.js";import"./config.DN5PrzYj.js";import"./ControlTelCountryCode.DCl_oZNm.js";import{t as _}from"./toaster.Duospl3o.js";import"./calendarFlexibleDialog.CiT3ybyU.js";import"./formatPrice.BoNSJ3UV.js";import{a as v}from"./reservation.DewbR-PT.js";import"./dateFormatter.Cdnyqc1C.js";import"./hotel.CHXHOAo8.js";import{t as y}from"./Main.CK41faK0.js";import{t as b}from"./statusDialog.CHyOH2aw.js";import"./fancybox.BbYneWyM.js";import"./PackageDetailDialogContent.C7QuaUVb.js";import{t as x}from"./routeParams.DU9zPEL5.js";import"./RoomDetailDialogContent.D7S_QzBs.js";import"./order.Bi7Btnb0.js";import{t as S}from"./AsideOrderSummary.WKel7SKl.js";import{i as C,t as w}from"./reservation.C4YvgAfn.js";import{t as T}from"./OrderAccommodation.C9VudX_y.js";import"./RoomDetailDialog.kQfSl3kd.js";import{t as E}from"./ReservationEditInfo.CFwOVwT6.js";var D={class:`grid md:grid-cols-[1fr_var(--x-main-aside-width)] gap-3 md:gap-6`},O={class:`flex flex-col gap-3`,"data-slot":`content`},k={class:`flex flex-col gap-3 transition-all sticky top-[calc(var(--x-main-sticky-top)+1rem)] self-start`,"data-slot":`aside`},A=o({__name:`[uuid]`,setup(o){let{t:A}=s(),j=p(),M=h(),N=g(),P=_(),F=b(),I=r(),{data:L,error:R,refetch:z}=C({uuid:x().value.uuid}),{data:B,refetch:V}=w(),{data:H,error:U,mutate:W,isLoading:G}=v(),K=()=>{W(M.order)};return i(H,e=>{e?.response?.status===200&&(N.$reset(),M.$reset(),j.push(`/`),P.add({class:`accent-success`,title:A(`success`),text:A(`reservationSuccessfullyChanged`)}))}),i([H,U],()=>{!U.value&&!H?.value?.error||(F.heading=H.value?.error?.messageTitle??A(`error`),F.text=U?.value?.toString()??H.value?.error?.message,F.show())}),i(L,async e=>{if(e){if(!e?.accommodation?.isEditable){F.heading=A(`notEditableTitle`),F.text=e?.accommodation?.notEditableText,F.show(),j.push(`/`);return}M.order.accommodation.uuid=e?.accommodation?.uuid,M.order.accommodation.checkInDate=e?.accommodation?.checkInDate,M.order.accommodation.checkOutDate=e?.accommodation?.checkOutDate,e?.guest&&(M.order.guest=e?.guest),e?.accommodation?.rooms?.forEach((e,t)=>{M.order.accommodation.items[t]={uuid:e?.uuid,guestName:e?.guestName,bedType:e?.bedType,roomId:e?.roomId,rateId:e?.rateId,services:e?.services,packageId:e?.packageId,children:e?.children,adults:e?.adults,mealPlan:e?.mealPlan},M.accommodation[t]={entity:null}}),V()}}),i(B,e=>{e?.forEach((e,t)=>{M.accommodation?.[t]&&(M.accommodation[t].minAdults=L.value?.accommodation?.rooms?.[t]?.minAdults,M.accommodation[t].maxAdults=L.value?.accommodation?.rooms?.[t]?.maxAdults)})}),i([()=>[M.order.accommodation.checkInDate,M.order.accommodation.checkOutDate],M.order.accommodation.items],(e,t)=>{let[n,r]=e?.[0],[i,a]=t?.[0],o=e?.[1];o.some((e,t)=>{let n=M.accommodation?.[t]?.minAdults,r=M.accommodation?.[t]?.maxAdults;return typeof e.adults!=`number`||typeof n!=`number`||typeof r!=`number`?!1:e.adults<n||e.adults>r})||o.find(e=>e.adults===0)||!i&&!a||n===i&&r===a&&t?.[1]===e?.[1]||V()}),i([L,R],()=>{!R.value&&!L?.value?.error||(F.heading=L.value?.error?.messageTitle??A(`error`),F.text=R?.value?.toString()??L.value?.error?.message,F.show(),j.push(`/`))}),c(()=>{L.value&&z()}),e(()=>{N.$reset(),M.$reset()}),(e,r)=>{let i=E,o=T,s=S,c=m,p=y;return n(),u(p,{class:``},{default:t(()=>[f(c,{id:a(I),onSubmit:l(K,[`prevent`])},{default:t(()=>[f(i,{class:`mb-3 md:mb-6`,accommodation:a(L)?.accommodation,guest:a(L)?.guest,"check-in-date":a(M).order.accommodation.checkInDate,"check-out-date":a(M).order.accommodation.checkOutDate},null,8,[`accommodation`,`guest`,`check-in-date`,`check-out-date`]),d(`div`,D,[d(`div`,O,[f(o,{edit:!0})]),d(`aside`,k,[f(s,{form:a(I),edit:!0,isLoading:a(G)},null,8,[`form`,`isLoading`])])])]),_:1},8,[`id`])]),_:1})}}});export{A as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Hn as e,In as t,Kn as n,Mn as r,Pn as i,Vn as a,Xn as o,bn as s,er as c,fn as l,gn as u,hn as d,jt as f,ln as ee,mn as p,pn as m,un as h,vn as g,yn as _}from"./vendor.hO2fYZhy.js";import{W as v,t as y}from"./params.C4l_dMrB.js";import"./localeRules.Cmrt9pbJ.js";import{n as te,t as ne}from"./Field.BXufwr4B.js";import{t as re}from"./Button.BrYX2zWI.js";import"./client.T5Px7Q15.js";import"./staleTimes.C4g5-gQd.js";import{t as b}from"./countries.BrsghvY0.js";import{t as x}from"./config.5TeOFwa3.js";import{t as ie}from"./Check.DRKnQJnO.js";import{t as S}from"./toaster.CCMii1bQ.js";import{t as C}from"./formatPrice.B8YEcqih.js";import{i as ae}from"./reservation.Cl2uQjsA.js";import{t as w}from"./hotel._j1G89r-.js";import{t as T}from"./Main.BfYIjmR0.js";import{t as E}from"./routeParams.CNzOlJfv.js";import{t as oe}from"./getPaymentUrl.BoKSW2s_.js";import{i as D,n as se}from"./reservation.BMuBrj8P.js";var ce={key:0,class:`flex flex-col gap-5`},O={class:`x-heading xs`},k={key:1,class:`flex flex-col gap-5`},A={class:`x-heading xs`},j={class:`flex flex-col gap-3`},M={class:`x-title sm`},N={class:`x-title sm`},P={key:0,class:`x-title text-right`},F={class:`py-2.5 px-3 bg-accent/15 rounded-md`},I={class:`flex items-center justify-between mb-3`},L={class:`x-heading xs`},R={class:`x-heading xs text-accent`},z={class:`x-text xs`},B={key:2,class:`flex flex-col gap-5`},V={class:`x-heading xs`},H={class:`x-text xs`},U={key:3,class:`flex flex-col gap-5`},W={class:`x-heading xs`},G={class:`x-text xs`},le={key:4,class:`flex flex-col gap-2 pr-4`},ue=[`id`],de=[`id`],K=s({__name:`CheckoutSummary`,props:{uuid:{type:String},paymentUrl:{type:String},completed:{type:Boolean}},setup(s){let v=s,{t:b}=f(),x=n(v.completed),w=n(!1),T=S(),E=y(),{data:D,isPending:K}=se({uuid:v.uuid}),{mutate:q,data:J,error:Y,isLoading:X}=ae();a(J,e=>{e?.response?.status===200&&(x.value=!0)}),a([J,Y],()=>{!Y.value&&!J?.value?.error||T.add({class:`accent-error`,title:b(`error`),text:Y?.value?.toString()??J.value?.error?.message})}),a(()=>v.completed,e=>{x.value||=e});let Z=()=>{D.value&&D.value?.length>0?(w.value=!0,window.location.replace(oe(v.paymentUrl,E.url))):q({accommodation:{uuid:v.uuid}})},Q=l(()=>D?.value?.reduce((e,t)=>e+(t.price??0)*(t.count??1),0));return(n,a)=>{let s=t(`RouterLink`),l=t(`i18n-t`),f=ie,v=ne,y=re,S=te;return r(),p(S,{class:`x-checkout-summary card p-4 md:p-6 bg-body-primary rounded-xl flex flex-col gap-4 md:gap-8`,onSubmit:ee(Z,[`prevent`])},{default:e(()=>[o(K)&&!x.value?(r(),u(`div`,ce,[a[0]||=m(`div`,{class:`rounded-md bg-accent text-accent-foreground size-10 flex justify-center items-center`},[m(`span`,{class:`spinner`})],-1),m(`h2`,O,c(o(b)(`momentOfPatience`)),1)])):o(D)?.length>0&&!x.value?(r(),u(`div`,k,[m(`h2`,A,c(o(b)(`additionalServicesToPay`)),1),m(`div`,j,[(r(!0),u(h,null,i(o(D),(e,t)=>(r(),u(`div`,{key:t,class:`grid items-center grid-cols-[3fr_2rem_1fr]`},[m(`div`,M,[g(c(e.text)+` - `,1),a[1]||=m(`span`,{class:`font-medium text-main-secondary`},`zvíře/noc`,-1)]),m(`div`,N,c(e.count),1),e.price>=0?(r(),u(`div`,P,c(o(C)(e.price,e.currency)),1)):d(``,!0)]))),128))]),m(`div`,F,[m(`div`,I,[m(`div`,L,c(o(b)(`totalAmount`)),1),m(`div`,R,c(o(C)(Q.value,o(D)?.[0]?.currency)),1)]),m(`div`,z,c(o(b)(`includingVat`)),1)])])):x.value?(r(),u(`div`,U,[a[3]||=m(`div`,{class:`rounded-md bg-accent text-accent-foreground size-10 flex justify-center items-center`},[m(`svg`,null,[m(`use`,{href:`#icon-check-mini`})])],-1),m(`h2`,W,c(o(b)(`status.checkoutSuccess`)),1),m(`div`,G,c(o(b)(`checkoutPaidInfoCompleted`)),1)])):(r(),u(`div`,B,[a[2]||=m(`div`,{class:`rounded-md bg-accent text-accent-foreground size-10 flex justify-center items-center`},[m(`svg`,null,[m(`use`,{href:`#icon-check-mini`})])],-1),m(`h2`,V,c(o(b)(`everythingIsPaid`)),1),m(`div`,H,c(o(b)(`checkoutPaidInfo`)),1)])),!x.value&&x.value!==void 0?(r(),u(`div`,le,[_(v,null,{default:e(()=>[_(f,null,{default:e(({uid:t})=>[m(`input`,{id:t,type:`checkbox`,required:``},null,8,ue),_(l,{for:t,keypath:`agreeWith`,tag:`label`},{default:e(()=>[_(s,{class:`underline transition hocus:text-primary`,to:`/text/privacy-policy`},{default:e(()=>[g(c(o(b)(`agreeWithSlot.personalData`)),1)]),_:1})]),_:1},8,[`for`])]),_:1})]),_:1}),_(v,null,{default:e(()=>[_(f,null,{default:e(({uid:t})=>[m(`input`,{id:t,type:`checkbox`,required:``},null,8,de),_(l,{for:t,keypath:`agreeWith`,tag:`label`},{default:e(()=>[_(s,{class:`underline transition hocus:text-primary`,to:`/text/trade-terms`},{default:e(()=>[g(c(o(b)(`agreeWithSlot.termsConditions`)),1)]),_:1})]),_:1},8,[`for`])]),_:1})]),_:1})])):d(``,!0),!x.value&&x.value!==void 0?(r(),p(y,{key:5,disabled:o(K)||void 0,loading:o(X)||w.value,type:`submit`,class:`self-start`},{default:e(()=>[g(c(o(b)(`completeOnlineCheckout`)),1)]),_:1},8,[`disabled`,`loading`])):d(``,!0)]),_:1})}}}),q={class:`x-checkout-room card p-3 md:p-6 bg-body-primary rounded-xl flex flex-col gap-6.5`},J={class:`flex gap-5`},Y={class:`x-image rounded-md before:skeleton h-17.5`},X=[`src`,`alt`],Z={class:`flex flex-col justify-center gap-1`},Q={class:`x-heading sm`},fe={class:`x-text xs`},pe={key:0,class:`flex flex-col`},me={class:`x-heading xs pb-5 mb-3 border-b border-b-main-tertiary`},he={class:`flex flex-col divide-y divide-main-tertiary divide-gap-y-3`},ge={class:`flex items-center justify-between`},_e={class:`x-title`},ve={class:`x-text sm font-medium`},ye={class:`flex items-center justify-between`},be={class:`x-title`},xe={class:`x-text sm font-medium`},Se={class:`flex items-center justify-between`},Ce={class:`x-title`},we={class:`x-text sm font-medium`},Te={class:`flex items-center justify-between`},Ee={class:`x-title`},De={class:`x-text sm font-medium`},Oe=s({__name:`CheckoutRoom`,props:{guest:{type:[Object,null]},room:{type:Object}},setup(e){let{t}=f(),{data:n}=b();return(i,a)=>(r(),u(`div`,q,[m(`div`,J,[m(`div`,Y,[m(`img`,{src:e.room?.roomImage?.[`1x`],class:`aspect-4/3 object-cover`,loading:`lazy`,alt:e.room?.roomImage?.alt},null,8,X)]),m(`div`,Z,[m(`h2`,Q,c(e.room?.roomName),1),m(`div`,fe,[g(c(e.room?.rateName)+` `,1),e.room?.prices?.finalPriceExtraBeds?(r(),u(h,{key:0},[g(` (+`+c(o(t)(`extraBed`))+`) `,1)],64)):d(``,!0)])])]),e.guest?(r(),u(`div`,pe,[m(`h2`,me,c(e.guest?.firstName)+` `+c(e.guest?.lastName),1),m(`ul`,he,[m(`li`,ge,[m(`div`,_e,c(o(t)(`email`)),1),m(`div`,ve,c(e.guest?.email),1)]),m(`li`,ye,[m(`div`,be,c(o(t)(`tel`)),1),m(`div`,xe,c(e.guest?.tel),1)]),m(`li`,Se,[m(`div`,Ce,c(o(t)(`country`)),1),m(`div`,we,c(o(n)?.find(t=>t.code===e.guest?.country)?.name),1)]),m(`li`,Te,[m(`div`,Ee,c(o(t)(`address`)),1),m(`div`,De,c(e.guest?.street)+`, `+c(e.guest?.city)+`, `+c(e.guest?.postalCode),1)])])])):d(``,!0)]))}}),ke={class:`x-checkin-info card p-4 md:p-6 bg-body-primary rounded-xl flex flex-col gap-5`},Ae={class:`x-heading sm`},je={class:`x-text`},Me={class:`grid lg:grid-cols-2 gap-3 lg:gap-6`},Ne={class:`flex gap-4`},Pe={class:`flex flex-col gap-1 grow`},Fe={class:`x-title sm font-medium`},Ie={key:0,class:`x-title`},Le={key:1,class:`skeleton h-5 rounded-md w-full max-w-2/5`},Re={class:`flex gap-4`},ze={class:`flex flex-col gap-1`},Be={class:`x-title sm font-medium`},Ve={class:`x-title`},$={class:`flex gap-4`},He={class:`flex flex-col gap-1`},Ue={class:`x-title sm font-medium`},We={class:`x-title`},Ge={class:`flex gap-4`},Ke={class:`flex flex-col gap-1 grow`},qe={key:0,class:`x-title sm font-medium`},Je={key:1,class:`skeleton h-4 rounded-md w-full max-w-32`},Ye={key:2,class:`x-title`},Xe={key:3,class:`skeleton h-5 rounded-md w-3/4`},Ze=s({__name:`CheckoutInfo`,props:{accommodation:{type:[Object,null]},checkInDate:{type:[String,null]},checkOutDate:{type:[String,null]},completed:{type:Boolean}},setup(e){let{data:t}=x(),{t:n,d:i}=f(),{data:a,isPending:s}=w();return(l,f)=>(r(),u(`div`,ke,[m(`h1`,Ae,[g(c(o(n)(`onlineCheckout`))+` `,1),m(`span`,je,`#`+c(e.accommodation?.number),1)]),m(`ul`,Me,[m(`li`,Ne,[f[0]||=m(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[m(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[m(`use`,{href:`#icon-clock-mini`})])],-1),m(`div`,Pe,[m(`div`,Fe,c(o(n)(`dateOfStay`)),1),e.checkInDate&&e.checkOutDate?(r(),u(`div`,Ie,c(o(i)(e.checkInDate,{timeZone:o(t)?.timeZone}))+` – `+c(o(i)(e.checkOutDate,{timeZone:o(t)?.timeZone})),1)):(r(),u(`div`,Le))])]),m(`li`,Re,[f[1]||=m(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[m(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[m(`use`,{href:`#icon-user-group-mini`})])],-1),m(`div`,ze,[m(`div`,Be,c(o(n)(`guests`)),1),m(`div`,Ve,[g(c(e.accommodation?.totalAdults)+` `+c(o(n)(`adultsPlural`,e.accommodation?.totalAdults??0))+` `,1),e.accommodation?.totalChildren>0?(r(),u(h,{key:0},[g(` + `+c(e.accommodation?.totalChildren)+` `+c(o(n)(`childrenPlural`,e.accommodation?.totalChildren))+` (`+c(e.accommodation?.rooms?.flatMap(e=>(e.children??[]).map(e=>e.age)).join(`,`))+`) `,1)],64)):d(``,!0)])])]),m(`li`,$,[f[2]||=m(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[m(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[m(`use`,{href:`#icon-bed-mini`})])],-1),m(`div`,He,[m(`div`,Ue,c(o(n)(`numberOfRooms`)),1),m(`div`,We,c(e.accommodation?.totalRooms),1)])]),m(`li`,Ge,[f[3]||=m(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[m(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[m(`use`,{href:`#icon-map-pin-mini`})])],-1),m(`div`,Ke,[o(s)?(r(),u(`div`,Je)):(r(),u(`div`,qe,c(o(a)?.name),1)),o(s)?(r(),u(`div`,Xe)):(r(),u(`div`,Ye,c(o(a)?.street)+` `+c(o(a)?.postalCode)+` `+c(o(a)?.city)+` - `+c(o(a)?.country),1))])])])]))}}),Qe={class:`flex flex-col gap-2.5`},$e=s({__name:`[uuid]`,setup(t){let n=v(),{t:s}=f(),c=S(),{data:l,error:d}=D({uuid:E().value.uuid});return a([l,d],()=>{!d.value&&!l?.value?.error||(n.push(`/`),c.add({class:`accent-error`,title:s(`error`),text:d?.value?.toString()??l.value?.error?.message}))}),(t,n)=>{let a=Ze,s=Oe,c=K,d=T;return r(),p(d,{class:`grid lg:grid-cols-[1fr_28.25rem] gap-3 lg:gap-6`},{default:e(()=>[m(`div`,Qe,[_(a,{"check-in-date":o(l)?.accommodation?.checkInDate,"check-out-date":o(l)?.accommodation?.checkOutDate,accommodation:o(l)?.accommodation,guest:o(l)?.guest},null,8,[`check-in-date`,`check-out-date`,`accommodation`,`guest`]),(r(!0),u(h,null,i(o(l)?.accommodation?.rooms,(e,t)=>(r(),p(s,{key:t,room:e,guest:e.guests?.[0]},null,8,[`room`,`guest`]))),128))]),_(c,{uuid:o(l)?.accommodation?.uuid,paymentUrl:o(l)?.accommodation?.checkoutPaymentUrl,completed:o(l)?.accommodation?.onlineCheckoutCompleted,class:`transition-all md:sticky md:top-[calc(var(--x-main-sticky-top)+1rem)] self-start`},null,8,[`uuid`,`paymentUrl`,`completed`])]),_:1})}}});export{$e as default};
|
|
1
|
+
import{Hn as e,In as t,Kn as n,Mn as r,Pn as i,Vn as a,Xn as o,bn as s,er as c,fn as l,gn as u,hn as d,jt as f,ln as ee,mn as p,pn as m,un as h,vn as g,yn as _}from"./vendor.UEAfe26O.js";import{W as v,t as y}from"./params.BYxK9z6w.js";import"./localeRules.ISFWYFF6.js";import{n as te,t as ne}from"./Field.BhjqVj0S.js";import{t as re}from"./Button.DENQlfoV.js";import"./client.B35Zk1Vj.js";import"./staleTimes.BFpWFXo3.js";import{t as b}from"./countries.DHA-CuXb.js";import{t as x}from"./config.DN5PrzYj.js";import{t as ie}from"./Check.CGkdXv8U.js";import{t as S}from"./toaster.Duospl3o.js";import{t as C}from"./formatPrice.BoNSJ3UV.js";import{i as ae}from"./reservation.DewbR-PT.js";import{t as w}from"./hotel.CHXHOAo8.js";import{t as T}from"./Main.CK41faK0.js";import{t as E}from"./routeParams.DU9zPEL5.js";import{t as oe}from"./getPaymentUrl.DOaXoJD3.js";import{i as D,n as se}from"./reservation.C4YvgAfn.js";var ce={key:0,class:`flex flex-col gap-5`},O={class:`x-heading xs`},k={key:1,class:`flex flex-col gap-5`},A={class:`x-heading xs`},j={class:`flex flex-col gap-3`},M={class:`x-title sm`},N={class:`x-title sm`},P={key:0,class:`x-title text-right`},F={class:`py-2.5 px-3 bg-accent/15 rounded-md`},I={class:`flex items-center justify-between mb-3`},L={class:`x-heading xs`},R={class:`x-heading xs text-accent`},z={class:`x-text xs`},B={key:2,class:`flex flex-col gap-5`},V={class:`x-heading xs`},H={class:`x-text xs`},U={key:3,class:`flex flex-col gap-5`},W={class:`x-heading xs`},G={class:`x-text xs`},le={key:4,class:`flex flex-col gap-2 pr-4`},ue=[`id`],de=[`id`],K=s({__name:`CheckoutSummary`,props:{uuid:{type:String},paymentUrl:{type:String},completed:{type:Boolean}},setup(s){let v=s,{t:b}=f(),x=n(v.completed),w=n(!1),T=S(),E=y(),{data:D,isPending:K}=se({uuid:v.uuid}),{mutate:q,data:J,error:Y,isLoading:X}=ae();a(J,e=>{e?.response?.status===200&&(x.value=!0)}),a([J,Y],()=>{!Y.value&&!J?.value?.error||T.add({class:`accent-error`,title:b(`error`),text:Y?.value?.toString()??J.value?.error?.message})}),a(()=>v.completed,e=>{x.value||=e});let Z=()=>{D.value&&D.value?.length>0?(w.value=!0,window.location.replace(oe(v.paymentUrl,E.url))):q({accommodation:{uuid:v.uuid}})},Q=l(()=>D?.value?.reduce((e,t)=>e+(t.price??0)*(t.count??1),0));return(n,a)=>{let s=t(`RouterLink`),l=t(`i18n-t`),f=ie,v=ne,y=re,S=te;return r(),p(S,{class:`x-checkout-summary card p-4 md:p-6 bg-body-primary rounded-xl flex flex-col gap-4 md:gap-8`,onSubmit:ee(Z,[`prevent`])},{default:e(()=>[o(K)&&!x.value?(r(),u(`div`,ce,[a[0]||=m(`div`,{class:`rounded-md bg-accent text-accent-foreground size-10 flex justify-center items-center`},[m(`span`,{class:`spinner`})],-1),m(`h2`,O,c(o(b)(`momentOfPatience`)),1)])):o(D)?.length>0&&!x.value?(r(),u(`div`,k,[m(`h2`,A,c(o(b)(`additionalServicesToPay`)),1),m(`div`,j,[(r(!0),u(h,null,i(o(D),(e,t)=>(r(),u(`div`,{key:t,class:`grid items-center grid-cols-[3fr_2rem_1fr]`},[m(`div`,M,[g(c(e.text)+` - `,1),a[1]||=m(`span`,{class:`font-medium text-main-secondary`},`zvíře/noc`,-1)]),m(`div`,N,c(e.count),1),e.price>=0?(r(),u(`div`,P,c(o(C)(e.price,e.currency)),1)):d(``,!0)]))),128))]),m(`div`,F,[m(`div`,I,[m(`div`,L,c(o(b)(`totalAmount`)),1),m(`div`,R,c(o(C)(Q.value,o(D)?.[0]?.currency)),1)]),m(`div`,z,c(o(b)(`includingVat`)),1)])])):x.value?(r(),u(`div`,U,[a[3]||=m(`div`,{class:`rounded-md bg-accent text-accent-foreground size-10 flex justify-center items-center`},[m(`svg`,null,[m(`use`,{href:`#icon-check-mini`})])],-1),m(`h2`,W,c(o(b)(`status.checkoutSuccess`)),1),m(`div`,G,c(o(b)(`checkoutPaidInfoCompleted`)),1)])):(r(),u(`div`,B,[a[2]||=m(`div`,{class:`rounded-md bg-accent text-accent-foreground size-10 flex justify-center items-center`},[m(`svg`,null,[m(`use`,{href:`#icon-check-mini`})])],-1),m(`h2`,V,c(o(b)(`everythingIsPaid`)),1),m(`div`,H,c(o(b)(`checkoutPaidInfo`)),1)])),!x.value&&x.value!==void 0?(r(),u(`div`,le,[_(v,null,{default:e(()=>[_(f,null,{default:e(({uid:t})=>[m(`input`,{id:t,type:`checkbox`,required:``},null,8,ue),_(l,{for:t,keypath:`agreeWith`,tag:`label`},{default:e(()=>[_(s,{class:`underline transition hocus:text-primary`,to:`/text/privacy-policy`},{default:e(()=>[g(c(o(b)(`agreeWithSlot.personalData`)),1)]),_:1})]),_:1},8,[`for`])]),_:1})]),_:1}),_(v,null,{default:e(()=>[_(f,null,{default:e(({uid:t})=>[m(`input`,{id:t,type:`checkbox`,required:``},null,8,de),_(l,{for:t,keypath:`agreeWith`,tag:`label`},{default:e(()=>[_(s,{class:`underline transition hocus:text-primary`,to:`/text/trade-terms`},{default:e(()=>[g(c(o(b)(`agreeWithSlot.termsConditions`)),1)]),_:1})]),_:1},8,[`for`])]),_:1})]),_:1})])):d(``,!0),!x.value&&x.value!==void 0?(r(),p(y,{key:5,disabled:o(K)||void 0,loading:o(X)||w.value,type:`submit`,class:`self-start`},{default:e(()=>[g(c(o(b)(`completeOnlineCheckout`)),1)]),_:1},8,[`disabled`,`loading`])):d(``,!0)]),_:1})}}}),q={class:`x-checkout-room card p-3 md:p-6 bg-body-primary rounded-xl flex flex-col gap-6.5`},J={class:`flex gap-5`},Y={class:`x-image rounded-md before:skeleton h-17.5`},X=[`src`,`alt`],Z={class:`flex flex-col justify-center gap-1`},Q={class:`x-heading sm`},fe={class:`x-text xs`},pe={key:0,class:`flex flex-col`},me={class:`x-heading xs pb-5 mb-3 border-b border-b-main-tertiary`},he={class:`flex flex-col divide-y divide-main-tertiary divide-gap-y-3`},ge={class:`flex items-center justify-between`},_e={class:`x-title`},ve={class:`x-text sm font-medium`},ye={class:`flex items-center justify-between`},be={class:`x-title`},xe={class:`x-text sm font-medium`},Se={class:`flex items-center justify-between`},Ce={class:`x-title`},we={class:`x-text sm font-medium`},Te={class:`flex items-center justify-between`},Ee={class:`x-title`},De={class:`x-text sm font-medium`},Oe=s({__name:`CheckoutRoom`,props:{guest:{type:[Object,null]},room:{type:Object}},setup(e){let{t}=f(),{data:n}=b();return(i,a)=>(r(),u(`div`,q,[m(`div`,J,[m(`div`,Y,[m(`img`,{src:e.room?.roomImage?.[`1x`],class:`aspect-4/3 object-cover`,loading:`lazy`,alt:e.room?.roomImage?.alt},null,8,X)]),m(`div`,Z,[m(`h2`,Q,c(e.room?.roomName),1),m(`div`,fe,[g(c(e.room?.rateName)+` `,1),e.room?.prices?.finalPriceExtraBeds?(r(),u(h,{key:0},[g(` (+`+c(o(t)(`extraBed`))+`) `,1)],64)):d(``,!0)])])]),e.guest?(r(),u(`div`,pe,[m(`h2`,me,c(e.guest?.firstName)+` `+c(e.guest?.lastName),1),m(`ul`,he,[m(`li`,ge,[m(`div`,_e,c(o(t)(`email`)),1),m(`div`,ve,c(e.guest?.email),1)]),m(`li`,ye,[m(`div`,be,c(o(t)(`tel`)),1),m(`div`,xe,c(e.guest?.tel),1)]),m(`li`,Se,[m(`div`,Ce,c(o(t)(`country`)),1),m(`div`,we,c(o(n)?.find(t=>t.code===e.guest?.country)?.name),1)]),m(`li`,Te,[m(`div`,Ee,c(o(t)(`address`)),1),m(`div`,De,c(e.guest?.street)+`, `+c(e.guest?.city)+`, `+c(e.guest?.postalCode),1)])])])):d(``,!0)]))}}),ke={class:`x-checkin-info card p-4 md:p-6 bg-body-primary rounded-xl flex flex-col gap-5`},Ae={class:`x-heading sm`},je={class:`x-text`},Me={class:`grid lg:grid-cols-2 gap-3 lg:gap-6`},Ne={class:`flex gap-4`},Pe={class:`flex flex-col gap-1 grow`},Fe={class:`x-title sm font-medium`},Ie={key:0,class:`x-title`},Le={key:1,class:`skeleton h-5 rounded-md w-full max-w-2/5`},Re={class:`flex gap-4`},ze={class:`flex flex-col gap-1`},Be={class:`x-title sm font-medium`},Ve={class:`x-title`},$={class:`flex gap-4`},He={class:`flex flex-col gap-1`},Ue={class:`x-title sm font-medium`},We={class:`x-title`},Ge={class:`flex gap-4`},Ke={class:`flex flex-col gap-1 grow`},qe={key:0,class:`x-title sm font-medium`},Je={key:1,class:`skeleton h-4 rounded-md w-full max-w-32`},Ye={key:2,class:`x-title`},Xe={key:3,class:`skeleton h-5 rounded-md w-3/4`},Ze=s({__name:`CheckoutInfo`,props:{accommodation:{type:[Object,null]},checkInDate:{type:[String,null]},checkOutDate:{type:[String,null]},completed:{type:Boolean}},setup(e){let{data:t}=x(),{t:n,d:i}=f(),{data:a,isPending:s}=w();return(l,f)=>(r(),u(`div`,ke,[m(`h1`,Ae,[g(c(o(n)(`onlineCheckout`))+` `,1),m(`span`,je,`#`+c(e.accommodation?.number),1)]),m(`ul`,Me,[m(`li`,Ne,[f[0]||=m(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[m(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[m(`use`,{href:`#icon-clock-mini`})])],-1),m(`div`,Pe,[m(`div`,Fe,c(o(n)(`dateOfStay`)),1),e.checkInDate&&e.checkOutDate?(r(),u(`div`,Ie,c(o(i)(e.checkInDate,{timeZone:o(t)?.timeZone}))+` – `+c(o(i)(e.checkOutDate,{timeZone:o(t)?.timeZone})),1)):(r(),u(`div`,Le))])]),m(`li`,Re,[f[1]||=m(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[m(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[m(`use`,{href:`#icon-user-group-mini`})])],-1),m(`div`,ze,[m(`div`,Be,c(o(n)(`guests`)),1),m(`div`,Ve,[g(c(e.accommodation?.totalAdults)+` `+c(o(n)(`adultsPlural`,e.accommodation?.totalAdults??0))+` `,1),e.accommodation?.totalChildren>0?(r(),u(h,{key:0},[g(` + `+c(e.accommodation?.totalChildren)+` `+c(o(n)(`childrenPlural`,e.accommodation?.totalChildren))+` (`+c(e.accommodation?.rooms?.flatMap(e=>(e.children??[]).map(e=>e.age)).join(`,`))+`) `,1)],64)):d(``,!0)])])]),m(`li`,$,[f[2]||=m(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[m(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[m(`use`,{href:`#icon-bed-mini`})])],-1),m(`div`,He,[m(`div`,Ue,c(o(n)(`numberOfRooms`)),1),m(`div`,We,c(e.accommodation?.totalRooms),1)])]),m(`li`,Ge,[f[3]||=m(`div`,{class:`size-10 bg-primary flex justify-center items-center rounded-md shrink-0`,"aria-hidden":`true`},[m(`svg`,{"aria-hidden":`true`,class:`size-5 text-primary-foreground`},[m(`use`,{href:`#icon-map-pin-mini`})])],-1),m(`div`,Ke,[o(s)?(r(),u(`div`,Je)):(r(),u(`div`,qe,c(o(a)?.name),1)),o(s)?(r(),u(`div`,Xe)):(r(),u(`div`,Ye,c(o(a)?.street)+` `+c(o(a)?.postalCode)+` `+c(o(a)?.city)+` - `+c(o(a)?.country),1))])])])]))}}),Qe={class:`flex flex-col gap-2.5`},$e=s({__name:`[uuid]`,setup(t){let n=v(),{t:s}=f(),c=S(),{data:l,error:d}=D({uuid:E().value.uuid});return a([l,d],()=>{!d.value&&!l?.value?.error||(n.push(`/`),c.add({class:`accent-error`,title:s(`error`),text:d?.value?.toString()??l.value?.error?.message}))}),(t,n)=>{let a=Ze,s=Oe,c=K,d=T;return r(),p(d,{class:`grid lg:grid-cols-[1fr_28.25rem] gap-3 lg:gap-6`},{default:e(()=>[m(`div`,Qe,[_(a,{"check-in-date":o(l)?.accommodation?.checkInDate,"check-out-date":o(l)?.accommodation?.checkOutDate,accommodation:o(l)?.accommodation,guest:o(l)?.guest},null,8,[`check-in-date`,`check-out-date`,`accommodation`,`guest`]),(r(!0),u(h,null,i(o(l)?.accommodation?.rooms,(e,t)=>(r(),p(s,{key:t,room:e,guest:e.guests?.[0]},null,8,[`room`,`guest`]))),128))]),_(c,{uuid:o(l)?.accommodation?.uuid,paymentUrl:o(l)?.accommodation?.checkoutPaymentUrl,completed:o(l)?.accommodation?.onlineCheckoutCompleted,class:`transition-all md:sticky md:top-[calc(var(--x-main-sticky-top)+1rem)] self-start`},null,8,[`uuid`,`paymentUrl`,`completed`])]),_:1})}}});export{$e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Mn as e,Vn as t,Xn as n,bn as r,er as i,gn as a,jt as o,pn as s}from"./vendor.
|
|
1
|
+
import{Mn as e,Vn as t,Xn as n,bn as r,er as i,gn as a,jt as o,pn as s}from"./vendor.UEAfe26O.js";import{W as c,t as l}from"./params.BYxK9z6w.js";import{c as u}from"./client.B35Zk1Vj.js";import"./staleTimes.BFpWFXo3.js";import{t as d}from"./statusDialog.CHyOH2aw.js";import{t as f}from"./routeParams.DU9zPEL5.js";import{r as p,t as m}from"./reservation.C4YvgAfn.js";var h={class:`p-3 md:p-6 bg-body-primary rounded-xl card min-h-[50dvh] flex flex-col`},g={class:`m-auto`},_={class:`x-title mt-4`},v=r({__name:`[uuid]`,setup(r){let{t:v}=o(),y=c(),b=f(),x=d(),S=u(),C=l(),{data:w,error:T}=p({uuid:b.value.uuid}),{data:E,refetch:D}=m();return t(w,async e=>{!e&&!w?.value?.error||(C.currency=w.value?.accommodation?.currency,S.order.accommodation.offerVariantUuid=e?.accommodation?.offerVariantUuid,S.order.accommodation.checkInDate=e?.accommodation?.checkInDate,S.order.accommodation.checkOutDate=e?.accommodation?.checkOutDate,e?.guest&&(S.order.guest=e?.guest),e?.accommodation?.rooms?.forEach((e,t)=>{S.order.accommodation.items[t]={offerItemUuid:e?.offerItemUuid,guestName:e?.guestName,bedType:e?.bedType,roomId:e?.roomId,rateId:e?.rateId,services:e?.services,packageId:e?.packageId,children:e?.children,adults:e?.adults,mealPlan:e?.mealPlan},S.accommodation[t]={entity:null}}),D())}),t(E,e=>{e?.forEach((e,t)=>{S.accommodation?.[t]&&(S.accommodation[t].minAdults=w.value?.accommodation?.rooms?.[t]?.minAdults,S.accommodation[t].maxAdults=w.value?.accommodation?.rooms?.[t]?.maxAdults)}),y.push(`/order/summary`)},{once:!0}),t([w,T],()=>{!T.value&&!w?.value?.error||(x.heading=w.value?.error?.messageTitle??v(`error`),x.text=T?.value?.toString()??w.value?.error?.message,x.show(),y.replace(`/`))}),(t,r)=>(e(),a(`div`,h,[s(`div`,g,[r[0]||=s(`div`,{class:`spinner text-accent m-auto`,style:{"--spinner-inline-size":`1.5rem`,"--spinner-block-size":`1.5rem`,"--spinner-border-width":`0.1875rem`}},null,-1),s(`div`,_,i(n(v)(`momentOfPatience`)),1)])]))}});export{v as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{An as e,Hn as t,Mn as n,Rn as r,Vn as i,Xn as a,bn as o,jt as s,kn as c,ln as l,mn as u,pn as d,yn as f}from"./vendor.
|
|
1
|
+
import{An as e,Hn as t,Mn as n,Rn as r,Vn as i,Xn as a,bn as o,jt as s,kn as c,ln as l,mn as u,pn as d,yn as f}from"./vendor.UEAfe26O.js";import{W as p}from"./params.BYxK9z6w.js";import"./localeRules.ISFWYFF6.js";import"./DialogContent.oj4AjH0A.js";import{n as m}from"./Field.BhjqVj0S.js";import{c as h,o as g}from"./client.B35Zk1Vj.js";import"./staleTimes.BFpWFXo3.js";import"./countries.DHA-CuXb.js";import"./config.DN5PrzYj.js";import"./ControlTelCountryCode.DCl_oZNm.js";import{t as _}from"./toaster.Duospl3o.js";import"./calendarFlexibleDialog.CiT3ybyU.js";import"./formatPrice.BoNSJ3UV.js";import{a as v}from"./reservation.DewbR-PT.js";import"./dateFormatter.Cdnyqc1C.js";import"./hotel.CHXHOAo8.js";import{t as y}from"./Main.CK41faK0.js";import{t as b}from"./statusDialog.CHyOH2aw.js";import"./fancybox.BbYneWyM.js";import"./PackageDetailDialogContent.C7QuaUVb.js";import{t as x}from"./routeParams.DU9zPEL5.js";import"./RoomDetailDialogContent.D7S_QzBs.js";import"./order.Bi7Btnb0.js";import{t as S}from"./AsideOrderSummary.WKel7SKl.js";import{i as C,t as w}from"./reservation.C4YvgAfn.js";import{t as T}from"./OrderAccommodation.C9VudX_y.js";import"./RoomDetailDialog.kQfSl3kd.js";import{t as E}from"./ReservationEditInfo.CFwOVwT6.js";var D={class:`grid md:grid-cols-[1fr_var(--x-main-aside-width)] gap-3 md:gap-6`},O={class:`flex flex-col gap-3`,"data-slot":`content`},k={class:`flex flex-col gap-3 transition-all sticky top-[calc(var(--x-main-sticky-top)+1rem)] self-start`,"data-slot":`aside`},A=o({__name:`[uuid]`,setup(o){let{t:A}=s(),j=p(),M=h(),N=g(),P=_(),F=b(),I=r(),{data:L,error:R,refetch:z}=C({uuid:x().value.uuid}),{data:B,refetch:V}=w(),{data:H,error:U,mutate:W,isLoading:G}=v(),K=()=>{W(M.order)};return i(H,e=>{e?.response?.status===200&&(N.$reset(),M.$reset(),j.push(`/`),P.add({class:`accent-success`,title:A(`success`),text:A(`reservationSuccessfullyChanged`)}))}),i([H,U],()=>{!U.value&&!H?.value?.error||(F.heading=H.value?.error?.messageTitle??A(`error`),F.text=U?.value?.toString()??H.value?.error?.message,F.show())}),i(L,async e=>{if(e){if(!e?.accommodation?.isEditable){F.heading=A(`notEditableTitle`),F.text=e?.accommodation?.notEditableText,F.show(),j.push(`/`);return}M.order.accommodation.uuid=e?.accommodation?.uuid,M.order.accommodation.checkInDate=e?.accommodation?.checkInDate,M.order.accommodation.checkOutDate=e?.accommodation?.checkOutDate,e?.guest&&(M.order.guest=e?.guest),e?.accommodation?.rooms?.forEach((e,t)=>{M.order.accommodation.items[t]={uuid:e?.uuid,guestName:e?.guestName,bedType:e?.bedType,roomId:e?.roomId,rateId:e?.rateId,services:e?.services,packageId:e?.packageId,children:e?.children,adults:e?.adults,mealPlan:e?.mealPlan},M.accommodation[t]={entity:null}}),V()}}),i(B,e=>{e?.forEach((e,t)=>{M.accommodation?.[t]&&(M.accommodation[t].minAdults=L.value?.accommodation?.rooms?.[t]?.minAdults,M.accommodation[t].maxAdults=L.value?.accommodation?.rooms?.[t]?.maxAdults)})}),i([()=>[M.order.accommodation.checkInDate,M.order.accommodation.checkOutDate],M.order.accommodation.items],(e,t)=>{let[n,r]=e?.[0],[i,a]=t?.[0],o=e?.[1];o.some((e,t)=>{let n=M.accommodation?.[t]?.minAdults,r=M.accommodation?.[t]?.maxAdults;return typeof e.adults!=`number`||typeof n!=`number`||typeof r!=`number`?!1:e.adults<n||e.adults>r})||o.find(e=>e.adults===0)||!i&&!a||n===i&&r===a&&t?.[1]===e?.[1]||V()}),i([L,R],()=>{!R.value&&!L?.value?.error||(F.heading=L.value?.error?.messageTitle??A(`error`),F.text=R?.value?.toString()??L.value?.error?.message,F.show(),j.push(`/`))}),c(()=>{L.value&&z()}),e(()=>{N.$reset(),M.$reset()}),(e,r)=>{let i=E,o=T,s=S,c=m,p=y;return n(),u(p,{class:``},{default:t(()=>[f(c,{id:a(I),onSubmit:l(K,[`prevent`])},{default:t(()=>[f(i,{class:`mb-3 md:mb-6`,accommodation:a(L)?.accommodation,edit:!1},null,8,[`accommodation`]),d(`div`,D,[d(`div`,O,[f(o,{upgrade:!0})]),d(`aside`,k,[f(s,{form:a(I),upgrade:!0,isLoading:a(G)},null,8,[`form`,`isLoading`])])])]),_:1},8,[`id`])]),_:1})}}});export{A as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Mn as e,Xn as t,bn as n,jt as r,mn as i}from"./vendor.UEAfe26O.js";import"./params.BYxK9z6w.js";import"./client.B35Zk1Vj.js";import"./staleTimes.BFpWFXo3.js";import{t as a}from"./pages.BSv8hla_.js";import{t as o}from"./TextContent.CXeKtNsr.js";var s=n({__name:`accommodation-terms`,setup(n){let{t:s}=r(),{data:c,isLoading:l}=a();return(n,r)=>{let a=o;return e(),i(a,{title:t(s)(`accommodationTerms`),text:t(c)?.agreement,isPending:t(l)},null,8,[`title`,`text`,`isPending`])}}});export{s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ft as e}from"./vendor.
|
|
1
|
+
import{Ft as e}from"./vendor.UEAfe26O.js";import{n as t,t as n}from"./client.B35Zk1Vj.js";import{t as r}from"./staleTimes.BFpWFXo3.js";const i=e({key:[`account`],query:async()=>{if(t().isAuthenticated())return await n().GET(`/account`).then(({data:e})=>e)},staleTime:r.never}),a=e({key:[`account/orders`],query:async()=>await n().GET(`/account/orders`).then(({data:e})=>e),staleTime:r.long}),o=e({key:[`account/points`],query:async()=>await n().GET(`/account/points`).then(({data:e})=>e),staleTime:r.long}),s=e({key:[`account/rewards`],query:async()=>await n().GET(`/account/rewards`).then(({data:e})=>e),staleTime:r.long}),c=e({key:[`account/registration-advantage`],query:async()=>await n().GET(`/account/registration-advantages`).then(({data:e})=>e),staleTime:r.never,refetchOnWindowFocus:!1});export{s as a,c as i,o as n,i as r,a as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{It as e}from"./vendor.
|
|
1
|
+
import{It as e}from"./vendor.UEAfe26O.js";import{n as t,t as n}from"./client.B35Zk1Vj.js";import{r}from"./account.7ZB6Hvpd.js";const i=()=>({...e({key:[`account`],mutation:async e=>await n().PATCH(`/account`,{body:e}),async onSuccess(){await r().refetch()}})}),a=()=>({...e({key:[`account/login`],mutation:async e=>await n().POST(`/account/login`,{body:e})})}),o=()=>({...e({key:[`account/logout`],mutation:async()=>await n().POST(`/account/logout`),async onSuccess(){t().logout()}})}),s=()=>({...e({key:[`account/registration`],mutation:async e=>await n().POST(`/account/registration`,{body:e})})}),c=()=>({...e({key:[`account/reset-password-request`],mutation:async e=>await n().POST(`/account/reset-password-request`,{body:e})})}),l=()=>({...e({key:[`account/reset-password`],mutation:async e=>await n().POST(`/account/reset-password`,{body:e})})}),u=()=>({...e({key:[`account/reward-buy`],mutation:async e=>await n().POST(`/account/reward-buy`,{body:e})})});export{l as a,s as i,o as n,c as o,i as r,u as s,a as t};
|