@bookolosystem/engine 4.4.25 → 4.4.26

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.
Files changed (151) hide show
  1. package/assets/{f38dd3c/AsideFeatures.WA8sD2us.js → 2f3b73f/AsideFeatures.BEbYUFtN.js} +1 -1
  2. package/assets/{f38dd3c/AsideOrderSummary.DYy5C7Pb.js → 2f3b73f/AsideOrderSummary.cuH5LpTG.js} +1 -1
  3. package/assets/{f38dd3c/AsideSummary.CG1x4Qid.js → 2f3b73f/AsideSummary.BMez41fG.js} +1 -1
  4. package/assets/{f38dd3c/AuthInfo.EdQVe48N.js → 2f3b73f/AuthInfo.5GBlPv-1.js} +1 -1
  5. package/assets/{f38dd3c/AuthRegistrationForm.BCqigFXO.js → 2f3b73f/AuthRegistrationForm.D3cYmiQD.js} +1 -1
  6. package/assets/{f38dd3c/Button.B7O9SjUc.js → 2f3b73f/Button.DPwfdGVl.js} +1 -1
  7. package/assets/2f3b73f/ButtonBordered.CF6JgKso.js +1 -0
  8. package/assets/2f3b73f/ButtonBorderedThin.DZd44KVx.js +1 -0
  9. package/assets/2f3b73f/ButtonGhosted.CaXSN-6k.js +1 -0
  10. package/assets/2f3b73f/ButtonMuted.BxeBI9T9.js +1 -0
  11. package/assets/{f38dd3c/CalendarFlexible.Csiu3eOj.js → 2f3b73f/CalendarFlexible.CFp7mSDy.js} +1 -1
  12. package/assets/{f38dd3c/Check.CpHrMvcd.js → 2f3b73f/Check.BG9ag0r9.js} +1 -1
  13. package/assets/{f38dd3c/CheckinApp.BkQ8pX-T.js → 2f3b73f/CheckinApp.BUXuY8zp.js} +1 -1
  14. package/assets/{f38dd3c/Circle.DLvL-CUy.js → 2f3b73f/Circle.BxutekHR.js} +1 -1
  15. package/assets/{f38dd3c/Control.BSL504pv.js → 2f3b73f/Control.BgVhBWNg.js} +1 -1
  16. package/assets/2f3b73f/ControlTelCountryCode.B8Z-STxu.js +1 -0
  17. package/assets/{f38dd3c/DatePicker.BQl5bQ6i.js → 2f3b73f/DatePicker.D4LSFFPx.js} +1 -1
  18. package/assets/{f38dd3c/Details.D87nhbdw.js → 2f3b73f/Details.DioO86Lh.js} +1 -1
  19. package/assets/{f38dd3c/DialogContent.BMGIjpQQ.js → 2f3b73f/DialogContent.CA97bpsV.js} +1 -1
  20. package/assets/{f38dd3c/Drawer.DVond6lb.js → 2f3b73f/Drawer.B_j8oklh.js} +1 -1
  21. package/assets/{f38dd3c/Field.Bk5XaplP.js → 2f3b73f/Field.BGRtDQxW.js} +1 -1
  22. package/assets/{f38dd3c/Footer.DM-fkkPR.js → 2f3b73f/Footer.CRFaxuRW.js} +1 -1
  23. package/assets/{f38dd3c/FooterLogo.DV2SwuQC.js → 2f3b73f/FooterLogo.DCbGs_Qd.js} +1 -1
  24. package/assets/{f38dd3c/Header.BBbV1Jcf.js → 2f3b73f/Header.Bf8TCNTJ.js} +1 -1
  25. package/assets/{f38dd3c/HeaderLanguagePopover.BOFhuFm4.js → 2f3b73f/HeaderLanguagePopover.DcsugSYT.js} +1 -1
  26. package/assets/{f38dd3c/Image.BO4HeHRD.js → 2f3b73f/Image.BGQdhHoo.js} +1 -1
  27. package/assets/{f38dd3c/InputMask.C47XH33x.js → 2f3b73f/InputMask.BONqwUGl.js} +1 -1
  28. package/assets/2f3b73f/Main.BMwBWlT4.js +1 -0
  29. package/assets/{f38dd3c/OrderAccommodation.BNBVOIdn.js → 2f3b73f/OrderAccommodation.C8l58Arl.js} +1 -1
  30. package/assets/{f38dd3c/OrderConfirmedStatus.c5cHnC4t.js → 2f3b73f/OrderConfirmedStatus.DQ5hJk8c.js} +1 -1
  31. package/assets/{f38dd3c/OrderHeader.de-l2X4V.js → 2f3b73f/OrderHeader.Bx3rgsbR.js} +1 -1
  32. package/assets/2f3b73f/PackageDetailDialogContent.AjOYOIGD.js +1 -0
  33. package/assets/{f38dd3c/Popover.Cio4dz-4.js → 2f3b73f/Popover.CzYbCFL0.js} +1 -1
  34. package/assets/{f38dd3c/ReservationEditInfo.DdIbZqk3.js → 2f3b73f/ReservationEditInfo.A6BVDsNM.js} +1 -1
  35. package/assets/{f38dd3c/RoomDetailDialog.B7K9jAfB.js → 2f3b73f/RoomDetailDialog.JTYRXxcE.js} +1 -1
  36. package/assets/2f3b73f/RoomDetailDialogContent.BuYs9_cL.js +1 -0
  37. package/assets/{f38dd3c/RoomSelect.D-hvUjZ1.js → 2f3b73f/RoomSelect.CQWiHUQg.js} +1 -1
  38. package/assets/{f38dd3c/TextContent.C-_3oOJz.js → 2f3b73f/TextContent.Bsn2Pprz.js} +1 -1
  39. package/assets/{f38dd3c/TooltipCursor.CoNl6Ngn.js → 2f3b73f/TooltipCursor.BzuDAU4D.js} +1 -1
  40. package/assets/{f38dd3c/WellnessDetailDialog.C8aJ8CZf.js → 2f3b73f/WellnessDetailDialog.B1qjEpW3.js} +1 -1
  41. package/assets/{f38dd3c/_...path_.D2_nFR34.js → 2f3b73f/_...path_.CVokfbpj.js} +1 -1
  42. package/assets/{f38dd3c/_code_.CFh9Z89Y.js → 2f3b73f/_code_.DY-yOBjN.js} +1 -1
  43. package/assets/{f38dd3c/_id_.CHNatxbU.js → 2f3b73f/_id_.CHHgd2V4.js} +1 -1
  44. package/assets/{f38dd3c/_id_.Bg3RpMaa.js → 2f3b73f/_id_.KyzPSV7H.js} +1 -1
  45. package/assets/{f38dd3c/_uuid_.Chj_S9-x.js → 2f3b73f/_uuid_.Cf0-eZly.js} +1 -1
  46. package/assets/{f38dd3c/_uuid_.BKYyEH49.js → 2f3b73f/_uuid_.Cn9uH4tX.js} +1 -1
  47. package/assets/{f38dd3c/_uuid_.DOOfeDdS.js → 2f3b73f/_uuid_.Cnwd1dYX.js} +1 -1
  48. package/assets/{f38dd3c/_uuid_.B8IyjPpk.js → 2f3b73f/_uuid_.D96QM5Eq.js} +1 -1
  49. package/assets/{f38dd3c/_uuid_.DtY4DZ1P.js → 2f3b73f/_uuid_.DLpyaTJx.js} +1 -1
  50. package/assets/{f38dd3c/_uuid_.CsoFMUaI.js → 2f3b73f/_uuid_.L_yB71w5.js} +1 -1
  51. package/assets/{f38dd3c/_uuid_.-VmmtZwR.js → 2f3b73f/_uuid_.qmRsh7dN.js} +1 -1
  52. package/assets/2f3b73f/accommodation-terms.DWV7tmzW.js +1 -0
  53. package/assets/{f38dd3c/account.BuN95x4D.js → 2f3b73f/account.DTIKhRWK.js} +1 -1
  54. package/assets/{f38dd3c/account.DaWx16aj.js → 2f3b73f/account.KMMr2J43.js} +1 -1
  55. package/assets/2f3b73f/app.ce.CIUH_XgN.js +2 -0
  56. package/assets/{f38dd3c/calendar.RelwBuMK.js → 2f3b73f/calendar.CoFOPCMM.js} +1 -1
  57. package/assets/{f38dd3c/calendar.DDSudtdu.js → 2f3b73f/calendar.zu6fTnZL.js} +1 -1
  58. package/assets/{f38dd3c/calendarFlexibleDialog.Cc7XGzQX.js → 2f3b73f/calendarFlexibleDialog.DkLbIYt3.js} +1 -1
  59. package/assets/{f38dd3c/chain.BM08NNli.js → 2f3b73f/chain.NIByenZl.js} +1 -1
  60. package/assets/2f3b73f/client.YSYe-gnP.js +1 -0
  61. package/assets/2f3b73f/config.D0GomxvB.js +1 -0
  62. package/assets/2f3b73f/countries.COKPodWG.js +1 -0
  63. package/assets/{f38dd3c/dateFormatter.BfRrebw5.js → 2f3b73f/dateFormatter.COguAfcn.js} +1 -1
  64. package/assets/{f38dd3c/details.DfX7VMnR.js → 2f3b73f/details.DwC0WoPu.js} +1 -1
  65. package/assets/{f38dd3c/dist._o0IydpU.js → 2f3b73f/dist.Cwtd7WWt.js} +1 -1
  66. package/assets/{f38dd3c/edit.CVRLHWXP.js → 2f3b73f/edit.DoByE1rS.js} +1 -1
  67. package/assets/{f38dd3c/fancybox.D0ygPbMl.js → 2f3b73f/fancybox.u85NAYGZ.js} +1 -1
  68. package/assets/2f3b73f/faq.CHZ9K8sF.js +1 -0
  69. package/assets/2f3b73f/formatPrice.B9KBqHGy.js +1 -0
  70. package/assets/{f38dd3c/hotel.CDoQmV7W.js → 2f3b73f/hotel.Bp4tOqfg.js} +1 -1
  71. package/assets/{f38dd3c/localeRules.CTQiljAA.js → 2f3b73f/localeRules.CFM61cuX.js} +1 -1
  72. package/assets/{f38dd3c/location.Bgn2FeKg.js → 2f3b73f/location.C7qYBGxn.js} +2 -2
  73. package/assets/{f38dd3c/login.Bn6jIqFe.js → 2f3b73f/login.CaHSZYhu.js} +1 -1
  74. package/assets/{f38dd3c/marketing-terms.B-X6r6pE.js → 2f3b73f/marketing-terms.C0tpjRn5.js} +1 -1
  75. package/assets/{f38dd3c/nav.Cjt3ooUT.js → 2f3b73f/nav.DXrAYmmA.js} +1 -1
  76. package/assets/{f38dd3c/order.ByWoGr3D.js → 2f3b73f/order.HlVVnC1X.js} +1 -1
  77. package/assets/{f38dd3c/orders.SAyKLeq-.js → 2f3b73f/orders.DHjWNKqW.js} +1 -1
  78. package/assets/{f38dd3c/packages.nLGp-7A_.js → 2f3b73f/packages.BcMpDJpx.js} +1 -1
  79. package/assets/{f38dd3c/packages.Dy6FatLf.js → 2f3b73f/packages.TZkgSe-j.js} +1 -1
  80. package/assets/{f38dd3c/pages.DJMQcViC.js → 2f3b73f/pages.ClokS3FF.js} +1 -1
  81. package/assets/2f3b73f/pages.h8vAqQ33.js +1 -0
  82. package/assets/{f38dd3c/params.BMC4ybL3.js → 2f3b73f/params.C7yshxa3.js} +1 -1
  83. package/assets/{f38dd3c/playground.4ONrtQeP.js → 2f3b73f/playground.BEUFORX9.js} +1 -1
  84. package/assets/{f38dd3c/points.B8-2FJ3U.js → 2f3b73f/points.C3VqskUW.js} +1 -1
  85. package/assets/2f3b73f/privacy-policy.CBfrfVTJ.js +1 -0
  86. package/assets/{f38dd3c/ratings.CnLHb7pq.js → 2f3b73f/ratings.CtFhNHw9.js} +1 -1
  87. package/assets/{f38dd3c/register.Bp1d5J8G.js → 2f3b73f/register.2pXseSFz.js} +1 -1
  88. package/assets/{f38dd3c/request.D5a2vDmA.js → 2f3b73f/request.3A9c7UXd.js} +1 -1
  89. package/assets/{f38dd3c/reservation.Ba228kue.js → 2f3b73f/reservation.B1s70yq6.js} +1 -1
  90. package/assets/{f38dd3c/reservation.BYI2Kr8w.js → 2f3b73f/reservation.BS-OyJbA.js} +1 -1
  91. package/assets/{f38dd3c/rewards.DEHSgrdR.js → 2f3b73f/rewards.DJX9sTRn.js} +1 -1
  92. package/assets/{f38dd3c/rooms.DQs4tJOR.js → 2f3b73f/rooms.Dws55-nk.js} +1 -1
  93. package/assets/{f38dd3c/rooms.BlxtjjHQ.js → 2f3b73f/rooms.M6c7NPaN.js} +1 -1
  94. package/assets/2f3b73f/routeParams.C-ZfuCbt.js +1 -0
  95. package/assets/2f3b73f/sentry.gFOESSeO.js +8 -0
  96. package/assets/{f38dd3c/statusDialog.Ar1JXohv.js → 2f3b73f/statusDialog.9eyhKcvk.js} +1 -1
  97. package/assets/{f38dd3c/summary.RZy3IA4d.js → 2f3b73f/summary.d5SCQqHs.js} +1 -1
  98. package/assets/2f3b73f/terms.cEaqP9lQ.js +1 -0
  99. package/assets/{f38dd3c/toaster.Ldl16_Qr.js → 2f3b73f/toaster.mjZbKjSu.js} +1 -1
  100. package/assets/2f3b73f/trade-terms.BjB0bmb7.js +1 -0
  101. package/assets/{f38dd3c/validateFields.Dl36_eUe.js → 2f3b73f/validateFields.B_jgYMcg.js} +1 -1
  102. package/assets/{f38dd3c/vendor.B05959Kg.js → 2f3b73f/vendor.BGPsxGKn.js} +5 -5
  103. package/assets/2f3b73f/vouchers-terms.t-40GkyK.js +1 -0
  104. package/assets/{f38dd3c/vouchers.C-swk9mu.js → 2f3b73f/vouchers._ckO1h0e.js} +1 -1
  105. package/assets/{f38dd3c/vue-router.JZBfxmEu.js → 2f3b73f/vue-router.hjePctRa.js} +1 -1
  106. package/assets/2f3b73f/wellness-terms.D5Q6efc5.js +1 -0
  107. package/assets/{f38dd3c/wellness.BlitXIzZ.js → 2f3b73f/wellness.BMnHPVbM.js} +1 -1
  108. package/assets/versions.json +1 -1
  109. package/index.min.js +2 -2
  110. package/package.json +1 -1
  111. package/assets/f38dd3c/ButtonBordered.CU6bRJjh.js +0 -1
  112. package/assets/f38dd3c/ButtonBorderedThin.B-bVEjvv.js +0 -1
  113. package/assets/f38dd3c/ButtonGhosted.wjQvK3VN.js +0 -1
  114. package/assets/f38dd3c/ButtonMuted.C89eUKtB.js +0 -1
  115. package/assets/f38dd3c/ControlTelCountryCode.BbAsr5pX.js +0 -1
  116. package/assets/f38dd3c/Main.DCK4LILu.js +0 -1
  117. package/assets/f38dd3c/PackageDetailDialogContent.Bd2HI33X.js +0 -1
  118. package/assets/f38dd3c/RoomDetailDialogContent.Bps7zeth.js +0 -1
  119. package/assets/f38dd3c/accommodation-terms.CRtPpO78.js +0 -1
  120. package/assets/f38dd3c/app.ce.Dn4eh9gs.js +0 -2
  121. package/assets/f38dd3c/client.Do8P3Q1y.js +0 -1
  122. package/assets/f38dd3c/config.BwVfTZTB.js +0 -1
  123. package/assets/f38dd3c/countries.CpNwWSEl.js +0 -1
  124. package/assets/f38dd3c/faq.qkIRwybh.js +0 -1
  125. package/assets/f38dd3c/formatPrice.SXnrraGg.js +0 -1
  126. package/assets/f38dd3c/pages.D2aHYSGs.js +0 -1
  127. package/assets/f38dd3c/privacy-policy.pBBraI3Y.js +0 -1
  128. package/assets/f38dd3c/routeParams.DKopvxtq.js +0 -1
  129. package/assets/f38dd3c/sentry.CUPUgCb7.js +0 -11
  130. package/assets/f38dd3c/terms.DOGNP3P_.js +0 -1
  131. package/assets/f38dd3c/trade-terms.C62BOBV2.js +0 -1
  132. package/assets/f38dd3c/vouchers-terms.DwtXX_EA.js +0 -1
  133. package/assets/f38dd3c/wellness-terms.Gn7rvn01.js +0 -1
  134. /package/assets/{f38dd3c/_plugin-vue_export-helper.B9snQITJ.js → 2f3b73f/_plugin-vue_export-helper.VW66L60x.js} +0 -0
  135. /package/assets/{f38dd3c/basePath.KhDO2UFa.js → 2f3b73f/basePath.CBqcTekK.js} +0 -0
  136. /package/assets/{f38dd3c/breakpoints.kiAvQX21.js → 2f3b73f/breakpoints.D3l1jzS3.js} +0 -0
  137. /package/assets/{f38dd3c/closeDetails.Dsp1ZLRE.js → 2f3b73f/closeDetails.fEVrBGH4.js} +0 -0
  138. /package/assets/{f38dd3c/dist.CTHVOWyT.js → 2f3b73f/dist.CxQb4Viz.js} +0 -0
  139. /package/assets/{f38dd3c/dist.BXWlpm-J.js → 2f3b73f/dist.DSNbboiV.js} +0 -0
  140. /package/assets/{f38dd3c → 2f3b73f}/erv.CerNAezh.svg +0 -0
  141. /package/assets/{f38dd3c/esm.CvzPFWk-.js → 2f3b73f/esm.BtpETSD7.js} +0 -0
  142. /package/assets/{f38dd3c/experimental.-RRVJji6.js → 2f3b73f/experimental.B5jYcLfi.js} +0 -0
  143. /package/assets/{f38dd3c/getPaymentUrl.C04QAbZs.js → 2f3b73f/getPaymentUrl.BRvZy22y.js} +0 -0
  144. /package/assets/{f38dd3c/index.es.BgoABTrv.js → 2f3b73f/index.es.Caai9APn.js} +0 -0
  145. /package/assets/{f38dd3c/patterns.B3doNK2Z.js → 2f3b73f/patterns.D8pyIU47.js} +0 -0
  146. /package/assets/{f38dd3c/plainText.ohlOYzin.js → 2f3b73f/plainText.D2JUCxdf.js} +0 -0
  147. /package/assets/{f38dd3c/preload.OzY9_NyT.js → 2f3b73f/preload.DPAjQypG.js} +0 -0
  148. /package/assets/{f38dd3c/rolldown-runtime.BG4qcd_I.js → 2f3b73f/rolldown-runtime.Dgpunknn.js} +0 -0
  149. /package/assets/{f38dd3c/signature_pad.Bnop98wV.js → 2f3b73f/signature_pad.CK0P6U_S.js} +0 -0
  150. /package/assets/{f38dd3c/staleTimes.BfL5_pds.js → 2f3b73f/staleTimes.Cpr-x60H.js} +0 -0
  151. /package/assets/{f38dd3c/togglePassword.BSmoZtRQ.js → 2f3b73f/togglePassword.DWAlYfa5.js} +0 -0
@@ -1 +0,0 @@
1
- import{Dt as e,Ft as t,Wt as n,dt as r,ft as i,gt as a,in as o,lt as s,pt as c,vn as l,vt as u,wt as d}from"./vendor.B05959Kg.js";import{t as f}from"./params.BMC4ybL3.js";const p=o(`promo`,{state:()=>({code:``,type:``,module:void 0,active:!1,data:void 0,dateApplied:!1,filterPackage:!1}),actions:{getPromoCode(){return this.type===`promo`&&this.active?this.code:``},getVoucherCode(){return this.type===`voucher`&&this.active?this.code:``},invalidateQueries(){let e=n();e.invalidateQueries({key:[`rooms/all`]}),e.invalidateQueries({key:[`packages`]}),e.invalidateQueries({key:[`reservation/cart`]}),e.invalidateQueries({key:[`order/cart-wellness`]}),e.invalidateQueries({key:[`order/cart-vouchers`]}),e.invalidateQueries({key:[`vouchers`]}),e.invalidateQueries({key:[`vouchers/preview`]})},resetPromo(){let e=f();this.filterPackage&&(e.filterPackage=void 0),this.$reset(),this.invalidateQueries()}}}),m=(e,...t)=>{if(window.gtag&&window.dataLayer?.find(e=>e?.[0]===`config`))typeof window.gtag==`function`&&window?.gtag?.(e,...t);else if(e===`event`){let[e,n]=t;[`view_item`,`login`,`sign_up`,`add_payment_info`,`add_to_cart`,`purchase`,`begin_checkout`,`remove_from_cart`].includes(e)?(window?.dataLayer?.push({ecommerce:null}),window?.dataLayer?.push({event:e,ecommerce:n})):window?.dataLayer?.push({event:e,...n??{}})}},h=(e,t)=>{window?.plausible?.(e,t)},g={updateIdentities:e=>{window?.sznIVA?.IS?.updateIdentities(e)},retargetingHit:e=>{window?.rc?.retargetingHit?.(e)},conversionHit:e=>{window?.rc?.conversionHit?.(e)}},_=(...e)=>{window?.fbq?.(...e)},v=(...e)=>{window?.lhi?.(...e)},y=(...e)=>{window?.twq?.(...e)},b={track:(...e)=>{window?.ttq?.track(...e)}},x=(...e)=>{window.uetq=window.uetq||[],window.uetq.push(e)},S=e=>{let t=new URLSearchParams(window.location.search),n=t.get(`utm_source`),r=t.get(`utm_campaign`),i=t.get(`utm_content`),a=t.get(`qt_tracking_id`)||localStorage.getItem(`qt_tracking_id`);a?localStorage.setItem(`qt_tracking_id`,a):a=(()=>{let e=`; ${document.cookie}`.split(`; qt_tracking_id=`);if(e.length===2)return e?.pop()?.split(`;`).shift()})();let o={trackingId:a||``,utm_source:n||``,utm_campaign:r||``,utm_content:i||``,partner:e?.partner||``,price:e?.price||``,currency:e?.currency||``,checkIn:e?.checkIn||``,checkOut:e?.checkOut||``,adults:e?.adults||``,childrens:e?.children||``,rooms:e?.rooms||``,bookingRef:``},s=new URL(`https://tracking.quicktext.im/tracking/pixel`);s.search=new URLSearchParams(o).toString(),fetch(s)},C=({clientId:e=``,bookingAmount:t=NaN,currencyCode:n=``,roomCount:r=NaN,nightCount:i=NaN})=>{let a=document.createElement(`img`);a.src=`https://ibe.prod.co25.net/pixel?clientid=`+e+`&conversionType=ibe&amount=`+t+`&currency=`+n+`&rooms=`+r+`&nights=`+i,a.style=`display: none;`,document.body.appendChild(a)},w=e=>{window.dedgeconvert=window.dedgeconvert||[],window.dedgeconvert.push(e)},T=e=>{let t=document.createElement(`script`);t.src=`https://static.sojern.com/utils/sjrn_autocx.js`,document.querySelector(`script[src="${t.src}"]`)||document.querySelector(`head`)?.appendChild(t);let n={...window.sjrn_params??{},hd1:e?.checkIn,hd2:e?.checkOut,hc1:e?.hotelCity,hs1:e?.hotelCountry,hpr:e?.hotelId,hpid:e?.hotelId,hr:e?.rooms,t:e?.guests,hp:e?.price,hcu:e?.currency,hconfno:e?.reservationNumber},r=[],i=document.createElement(`iframe`),a={vid:`hot`,et:`hc`};for(let e in a)n[e]=a[e];for(let e in n)r.push(e+`=`+encodeURIComponent(n[e]??``));i.setAttribute(`style`,`height:0; width: 0; display:none;`),i.src=`https://static.sojern.com/cip/w/s?id=${e.id}&f_v=v6_js&p_v=1&`+r.join(`&`),document.body.appendChild(i)},E=o(`global`,{state:()=>({showRatePopup:[],showChildrenPopover:void 0,config:void 0,hotel:void 0})}),D=o(`cart`,{state:()=>{let e=p(),t=f();return{backLink:`/`,order:{accommodation:{currency:l(()=>t.currency),uuid:null,checkInDate:null,checkOutDate:null,voucherCode:l(()=>e.getVoucherCode()),promoCode:l(()=>e.getPromoCode()),card:{},ervActive:!1,ervGuests:[],items:[],paymentType:null},wellness:{currency:l(()=>t.currency),voucherCode:l(()=>e.getVoucherCode()),promoCode:l(()=>e.getPromoCode()),items:[],paymentType:null},vouchers:{currency:l(()=>t.currency),voucherCode:l(()=>e.getVoucherCode()),promoCode:l(()=>e.getPromoCode()),items:[],paymentType:null,deliveryType:null},guest:{},tracking:{}},accommodationIsLoading:!1,accommodation:[],wellness:[],vouchersCod:!0,vouchersIsLoading:!1,wellnessIsLoading:!1,vouchers:[]}},getters:{orderAccommodationItem(e){return t=>e?.order?.accommodation?.items?.[t]},orderVouchersItem(e){return t=>e?.order?.vouchers?.items?.[t]},orderWellnessItem(e){return t=>e?.order?.wellness?.items?.[t]},accommodationItemUpgradeRoom(e){return t=>e?.accommodation?.[t]?.room?.upgradeRoom},accommodationItem(e){return t=>e?.accommodation?.[t]?.package??e?.accommodation?.[t]?.room},accommodationItemName(e){return t=>e?.accommodation?.[t]?.package?.name??e?.accommodation?.[t]?.room?.name},accommodationItemImage(e){return t=>e?.accommodation?.[t]?.package?.images?.[0]??e?.accommodation?.[t]?.room?.images?.[0]},accommodationItemPrices(e){return t=>e?.accommodation?.[t]?.rate?.prices??e?.accommodation?.[t]?.room?.prices},accommodationItemMealPlans(e){return t=>e?.accommodation?.[t]?.rate?.mealPlans??e?.accommodation?.[t]?.room?.mealPlans},accommodationItemMealPlanPrice(e){return t=>e.accommodation?.[t]?.rate?.prices?.finalPriceEating??e.accommodation[t]?.room?.prices?.finalPriceEating??NaN},accommodationItemServices(e){return t=>e?.accommodation?.[t]?.rate?.services??e?.accommodation?.[t]?.room?.services},accommodationItemPromoActive(e){return t=>e?.accommodation?.[t]?.rate?.prices?.promoActive??e?.accommodation?.[t]?.room?.prices?.promoActive},accommodationItemServicesTotalPrice(e){return t=>e.accommodation[t]?(e.order.accommodation.items?.[t]?.services??[])?.reduce((e,{serviceId:n,count:r=0})=>{let i=this.accommodationItemServices(t)?.find(e=>e.id===n),a=i?.price??NaN;return i?.pricingType===`CPM_PER_NIGHT`&&(a*=this.accommodationTotalNights),e+a*r},0):0},accommodationItemTotalPrice(e){return(t,{includeMealPlan:n,includeServices:r}={})=>{if(t===null||!e.accommodation[t])return NaN;let i=this.orderAccommodationItem(t)?.roomId===this.accommodationItemUpgradeRoom(t)?.id?this.accommodationItemUpgradeRoom(t)?.upgradePriceTotal??0:0;return(this.accommodationItemPrices(t)?.finalPrice??NaN)+i+(this.accommodationItemPrices(t)?.finalPriceExtraBeds??NaN)+(n?this.accommodationItemMealPlanPrice(t):0)+(r?this.accommodationItemServicesTotalPrice(t):0)}},accommodationTotalAdults(e){return e.order.accommodation.items.reduce((e,t)=>e+(t?.adults??0),0)},accommodationTotalRooms(e){return e.order.accommodation.items.length},accommodationTotalNights(e){return!e.order.accommodation.checkInDate||!e.order.accommodation.checkOutDate?0:r(e.order.accommodation.checkOutDate).compare(r(e.order.accommodation.checkInDate))},accommodationTotalGifts(e){return e.order.accommodation.items.filter(e=>e?.giftId).length},accommodationMealPlanTotalPrice(e){return e.order.accommodation.items.reduce((e,t,n)=>t?e+this.accommodationItemMealPlanPrice(n):e,0)},accommodationServicesTotalPrice(e){return e.order.accommodation.items.reduce((e,t,n)=>t?e+this.accommodationItemServicesTotalPrice(n):e,0)},accommodationDepositPrice(e){return e.order.accommodation.items.every((e,t)=>this.accommodationItemPrices(t)?.allowDepositPrice)?e.order.accommodation.items.reduce((e,t,n)=>t?e+(this.accommodationItemPrices(n)?.depositPrice??0):e,0):0},accommodationErvPrice(e){return(t,{includeServices:n=!0,includeMealPlan:r=!0,active:i}={})=>!i&&!e.order.accommodation.ervActive?0:Math.round(this.accommodationTotalPrice({includeServices:n,includeMealPlan:r})*(t??0))},accommodationTotalPrice(e){return({includeMealPlan:t,includeServices:n,includeErv:r,ervPercentage:i}={})=>e.order.accommodation.items.reduce((e,r,i)=>r?e+this.accommodationItemTotalPrice(i,{includeMealPlan:t,includeServices:n}):e,r?this.accommodationErvPrice(i):0)},accommodationPromoActive(e){return()=>!!e.accommodation.find((e,t)=>this.accommodationItemPrices(t)?.promoActive)},accommodationPromoDiscount(e){return()=>{let t=p();return t.data?.absoluteDiscount?e.accommodation.reduce((e,n,r)=>n&&this.accommodationItemPrices(r)?.promoActive?e+(t.data?.absoluteDiscount??0):e,0):t.data?.percentageDiscount&&this.accommodationPromoActive()?t.data.percentageDiscount:0}},vouchersItem(e){return t=>e?.vouchers?.[t]?.voucher},vouchersItemPromoActive(e){return t=>t===null||!e.vouchers[t]?NaN:this.orderVouchersItem(t)?.customPrice?!1:this.orderVouchersItem(t)?.multiplePriceIndex>=0?this.vouchersItemMultiplePrice(t)?.promoActive:this.orderVouchersItem(t)?.roomId?(this.vouchersItem(t)?.package?.rooms?.find(e=>e.id===this.orderVouchersItem(t)?.roomId))?.prices?.promoActive:this.vouchersItem(t)?.prices?.promoActive},vouchersPromoActive(e){return()=>!!e.vouchers.find((e,t)=>this.vouchersItemPromoActive(t))},vouchersPromoDiscount(e){return()=>{let t=p();return t.data?.absoluteDiscount?e.vouchers.reduce((e,n,r)=>n&&this.vouchersItemPromoActive(r)?e+(t.data?.absoluteDiscount??0):e,0):t.data?.percentageDiscount&&this.vouchersPromoActive()?t.data.percentageDiscount:0}},vouchersItemRoom(e){return t=>e?.vouchers?.[t]?.voucher?.package?.rooms?.find(n=>n.id===e?.order?.vouchers?.items?.[t]?.roomId)},vouchersItemRoomPrice(){return e=>{let t=this.vouchersItem(e)?.package?.rooms?.find(t=>t.id===this.orderVouchersItem(e)?.roomId),n=this.orderVouchersItem(e)?.childrenCount??0,r=this.orderVouchersItem(e)?.nights;return((t?.prices?.finalPrice??NaN)+(t?.prices?.finalPriceExtraBeds??0)*n)*r}},vouchersItemMultiplePrice(){return e=>this.vouchersItem(e)?.multiplePrices?.find((t,n)=>n===this.orderVouchersItem(e)?.multiplePriceIndex)},vouchersItemPrices(e){return t=>{if(!(t===null||!e.vouchers[t]))return this.orderVouchersItem(t)?.multiplePriceIndex>=0?this.vouchersItemMultiplePrice(t):this.orderVouchersItem(t)?.roomId?this.vouchersItem(t)?.package?.rooms?.find(e=>e.id===this.orderVouchersItem(t)?.roomId)?.prices:this.vouchersItem(t)?.prices}},vouchersItemPrice(e){return t=>t===null||!e.vouchers[t]?NaN:this.orderVouchersItem(t)?.customPrice>=0?this.vouchersItem(t)?.prices?.finalPrice??this.orderVouchersItem(t)?.customPrice??NaN:this.orderVouchersItem(t)?.multiplePriceIndex>=0?this.vouchersItemMultiplePrice(t)?.finalPrice??NaN:this.orderVouchersItem(t)?.roomId?this.vouchersItemRoomPrice(t):this.vouchersItem(t)?.prices?.finalPrice??NaN},vouchersItemOriginalPrice(e){return t=>{if(t===null||!e.vouchers[t])return NaN;if(this.orderVouchersItem(t)?.customPrice>=0)return this.vouchersItem(t)?.prices?.originalPrice??this.orderVouchersItem(t)?.customPrice??NaN;if(this.orderVouchersItem(t)?.multiplePriceIndex>=0)return this.vouchersItemMultiplePrice(t)?.originalPrice??NaN;if(this.orderVouchersItem(t)?.roomId){let e=this.vouchersItem(t)?.package?.rooms?.find(e=>e.id===this.orderVouchersItem(t)?.roomId),n=this.orderVouchersItem(t)?.childrenCount??0,r=this.orderVouchersItem(t)?.nights;return((e?.prices?.originalPrice??NaN)+(e?.prices?.originalPriceExtraBeds??0)*n)*r}else return this.vouchersItem(t)?.prices?.originalPrice??NaN}},vouchersItemTotalPrice(e){return t=>t===null||!e.vouchers[t]?NaN:this.orderVouchersItem(t)?.customPrice>=0?(this.vouchersItem(t)?.prices?.finalPrice??this.orderVouchersItem(t)?.customPrice??NaN)*(this.orderVouchersItem(t)?.count??1):this.orderVouchersItem(t)?.multiplePriceIndex>=0?(this.vouchersItemMultiplePrice(t)?.finalPrice??NaN)*(this.orderVouchersItem(t)?.count??1):this.orderVouchersItem(t)?.roomId?this.vouchersItemRoomPrice(t)*(this.orderVouchersItem(t)?.count??1):(this.vouchersItem(t)?.prices?.finalPrice??NaN)*(this.orderVouchersItem(t)?.count??1)},wellnessItemPrices(e){return t=>e?.wellness?.[t]?.wellness?.prices},wellnessItemServices(e){return t=>e?.wellness?.[t]?.wellness?.services},wellnessItemServicesTotalPrice(e){return t=>e.wellness[t]?(e.order.wellness.items?.[t]?.services??[])?.reduce((e,{serviceId:n,count:r=0})=>e+(this.wellnessItemServices(t)?.find(e=>e.id===n)?.price??NaN)*r,0):0},wellnessServicesTotalPrice(e){return e.order.wellness.items.reduce((e,t,n)=>t?e+this.wellnessItemServicesTotalPrice(n):e,0)},wellnessItemTotalPrice(e){return(t,{includeServices:n}={})=>t===null||!e.wellness[t]?NaN:(this.wellnessItem(t)?.prices?.finalPrice??NaN)+(n?this.wellnessItemServicesTotalPrice(t):0)},vouchersTotalPrice(e){return({type:t=`all`}={})=>(e.order.vouchers?.items??[]).reduce((e,n,r)=>!n||t===`product`&&!n.productId||t===`voucher`&&n.productId?e:e+this.vouchersItemTotalPrice(r),0)},wellnessTotalPrice(e){return({includeServices:t}={})=>(e.order.wellness?.items??[]).reduce((e,n,r)=>n?e+this.wellnessItemTotalPrice(r,{includeServices:t}):e,0)},wellnessItem(e){return t=>e?.wellness?.[t]?.wellness},wellnessItemPromoActive(e){return t=>t===null||!e.wellness[t]?!1:this.wellnessItem(t)?.prices?.promoActive??!1},wellnessPromoActive(e){return()=>!!e.wellness.find((e,t)=>this.wellnessItemPromoActive(t))},wellnessPromoDiscount(e){return()=>{let t=p();return t.data?.absoluteDiscount?e.wellness.reduce((e,n,r)=>n&&this.wellnessItemPromoActive(r)?e+(t.data?.absoluteDiscount??0):e,0):t.data?.percentageDiscount&&this.wellnessPromoActive()?t.data.percentageDiscount:0}},totalPrice(){return({includeMealPlan:e,includeServices:t,includeErv:n,ervPercentage:r,vouchersPaymentTypePrice:i,vouchersDeliveryTypePrice:a}={})=>{let o=p(),s=o.active&&o.type===`voucher`&&(this.hasAccommodationItems()||this.hasWellnessItems())?o.data?.price??0:0;return Math.max(Math.max(0,this.accommodationTotalPrice({includeMealPlan:e,includeServices:t,includeErv:n,ervPercentage:r})+this.wellnessTotalPrice({includeServices:t})-s)+this.vouchersTotalPrice()+(i??0)+(a??0),0)}},hasAccommodationServices(e){return!!e.order.accommodation.items.find(e=>e?.services?.find(e=>e?.count&&e.count>0))},accommodationItems(e){return({filtered:t=!1}={})=>t?e.order?.accommodation?.items?.filter(e=>e)??[]:e.order?.accommodation?.items??[]},vouchersItems(e){return e.order?.vouchers?.items??[]},wellnessItems(e){return e.order?.wellness?.items??[]},accommodationTotalItems(){return()=>this.accommodationItems({filtered:!0}).length},orderTotalItems(){return()=>this.accommodationTotalItems()+this.wellnessItems.length+this.vouchersItems.length},vouchersTotalItems(e){return({includingCount:t=!1,type:n=`all`}={})=>t?(e.order.vouchers?.items??[]).reduce((e,t)=>!t||n===`product`&&!t.productId||n===`voucher`&&t.productId?e:e+t.count,0):this.vouchersItems.length},hasAccommodationItems(){return()=>this.accommodationItems({filtered:!0}).length!==0},hasVouchersItems(){return()=>this.vouchersItems.length!==0},hasWellnessItems(){return()=>this.wellnessItems.length!==0},hasOrderItems(){return()=>this.accommodationItems({filtered:!0}).length!==0||this.vouchersItems.length!==0||this.wellnessItems.length!==0}},actions:{accommodationErvOnlyNonRef(e){return e?this.order.accommodation.items.every((e,t)=>this?.accommodation?.[t]?.rate?.priceType===`nonrefundable`):!0},addAccommodationItemToCart(e,t,r){let i=j(),a=n();this.order.accommodation.checkInDate=i.date.start?.toString(),this.order.accommodation.checkOutDate=i.date.end?.toString(),this.order.accommodation.items[r]=e,this.accommodation[r]=t,a.setQueryData([`reservation/cart`],this.accommodation)},deleteAccommodationItemFromCart(e){this.order.accommodation.items.splice(e,1),this.accommodation.splice(e,1)},removeAccommodationItemFromCart(e,t=!1,n=!0){let r=j(),i=f(),a=E();(a.config?.tracking?.googleGa4||a.config?.tracking?.googleGtm)&&m(`event`,`remove_from_cart`,{currency:i.currency,value:this.accommodationItemTotalPrice(e),items:[{item_id:this.accommodationItem(e)?.id,item_name:this.accommodationItem(e)?.name,item_variant:this?.accommodation?.[e]?.rate?.name??this?.accommodation?.[e]?.room?.name,item_category:this.accommodationItem(e)?.entity,item_brand:a?.hotel?.chainName,affiliation:a?.hotel?.name,currency:i.currency,price:this.accommodationItemTotalPrice(e)/this.accommodationTotalNights,quantity:this.accommodationTotalNights}]}),this.order.accommodation.items[e]=void 0,this.accommodation[e]=void 0,n&&r.editRoom(e,t,!1)},editVoucherItem(e,t){let n=this.order.vouchers?.items?.[t];this.order.vouchers?.items?.[t]&&(this.order.vouchers.items[t]={...n,...e})},addVoucherItemToCart(e,t){let n=this.order.vouchers.items.length;return this.order.vouchers?.items?.push(e),this.vouchers.push(t),n},addWellnessItemToCart(e,t){let n=this.order.wellness.items.length;return this.order.wellness?.items?.push(e),this.wellness.push(t),n},editWellnessItem(e,t){let n=this.order.wellness?.items?.[t];this.order.wellness?.items?.[t]&&(this.order.wellness.items[t]={...n,...e})},removeVoucherItemFromCart(e){let t=f(),n=E();(n.config?.tracking?.googleGa4||n.config?.tracking?.googleGtm)&&m(`event`,`remove_from_cart`,{currency:t.currency,value:this.vouchersItemTotalPrice(e),items:[{item_id:this.vouchersItem(e)?.id,item_name:this.vouchersItem(e)?.name,item_category:this.vouchersItem(e)?.entity,item_brand:n?.hotel?.chainName,affiliation:n?.hotel?.name,currency:t.currency,price:this.vouchersItemPrice(e),quantity:this.orderVouchersItem(e)?.count}]}),this.order.vouchers?.items?.splice(e,1),this.vouchers.splice(e,1)},removeWellnessItemFromCart(e){let t=f(),n=E();(n.config?.tracking?.googleGa4||n.config?.tracking?.googleGtm)&&m(`event`,`remove_from_cart`,{currency:t.currency,value:this.wellnessItem(e)?.prices?.finalPrice,items:[{item_id:this.wellnessItem(e)?.id,item_name:this.wellnessItem(e)?.name,item_category:`Wellness`,item_brand:n?.hotel?.chainName,affiliation:n?.hotel?.name,currency:t.currency,price:this.wellnessItem(e)?.prices?.finalPrice,quantity:1}]}),this.order.wellness?.items?.splice(e,1),this.wellness.splice(e,1)}}}),O=()=>{let e=f(),t=e.checkinDateOffset?+e.checkinDateOffset:0,n=+e.nightsCount||1,a=c(i()),o=a.add({days:n}),s=e.checkinDate?r(e.checkinDate).add({days:t}):a.add({days:t}),l=e.checkoutDate?r(e.checkoutDate):s.add({days:n}),u=s.compare(a)>=0?s:a,d=l.compare(o)>=0?l:o;return d.compare(u)<=0?[u,u.add({days:n})]:[u,d]},k={selected:!1,adults:2,children:[]},A={age:null,bed:!1},j=o(`occupancy`,{state:()=>{let[e,t]=O();return{activeRoom:0,activeTab:0,data:[structuredClone(k)],date:{start:e,end:t},dateChanged:!1,maxPersons:1/0}},getters:{totalRooms(e){return e.data.length},totalAdults(e){return e.data.reduce((e,t)=>e+t.adults,0)},totalChildren(e){return e.data.reduce((e,t)=>e+t.children.length,0)},totalNights(e){return!e.date.start||!e.date.end?NaN:e.date.end.compare(e.date.start.copy())}},actions:{setActiveRoom(e){this.activeRoom=e,window.scroll({top:0,behavior:`smooth`})},editRoom(e,t=!0,n=!0){let r=D();this.activeRoom=e,this.activeTab=e,this.data[e]&&(this.data[e].selected=!1),n&&r.removeAccommodationItemFromCart(e,!0,!1),t&&window.scroll({top:0,behavior:`smooth`})},async addRoom(){let e=this.data.every(e=>e.selected);this.data.push(structuredClone(k)),await t(),this.activeTab=this.data.length-1,e&&(this.activeRoom=this.data.length-1)},removeRoom(e){let t=D();if(this.data.length===1&&this.data[0]){this.data[0].adults=k.adults,this.data[0].children=[];return}t.deleteAccommodationItemFromCart(e),this.data.splice(e,1);let n=this.data.findIndex(e=>!e.selected);this.data.length>e?this.activeTab=e:this.activeTab=e-1,this.activeRoom=n===-1?this.activeTab:n},addChildren(e){this.data[e]&&this.data[e].children.push(structuredClone(A))},removeChildren(e,t){this.data[e]&&(typeof t==`number`?this.data[e].children.splice(t,1):this.data[e].children.pop())}}}),M=e=>e.replace(/\/+$/,``),N=o(`account`,{state:()=>{let{hostname:e,pathname:t}=a().value;return{token:u(`bookolosystem-engine/pinia/account/token/${e+M(t)}`,``)}},actions:{isAuthenticated(){return this.token!==``},login(e){this.token=e,n().invalidateQueries()},logout(){this.token=``;let e=j(),t=D(),r=p(),i=n();e.$reset(),t.$reset(),r.resetPromo(),i.invalidateQueries()}}});var P=s();const F=d(()=>{let t={async onRequest({request:e}){let t=f(),n=N(),r=Object.entries({"x-apikey":t.apikey,"x-lang":t.lang??document.documentElement.getAttribute(`lang`)?.split(`-`)?.[0]??``,"x-currency":t.currency??``,"x-account-token":n.token,"x-url":t.url??window.location.origin+window.location.pathname});for(let[t,n]of r)e.headers.set(t,n);return e},onResponse(e){if(e.response.status===401){let e=N();e.token&&e.logout()}}},n=e({baseUrl:`https://api.bookoloengine.com/desktop/v1`,querySerializer:e=>(0,P.stringify)(e)});return n.use(t),n});export{p as S,T as _,k as a,y as b,D as c,C as d,_ as f,S as g,h,A as i,E as l,v as m,N as n,j as o,m as p,M as r,O as s,F as t,w as u,g as v,x,b as y};
@@ -1 +0,0 @@
1
- import{Vt as e}from"./vendor.B05959Kg.js";import{t}from"./client.Do8P3Q1y.js";import{t as n}from"./staleTimes.BfL5_pds.js";const r=e({key:[`config`],query:async()=>await t().GET(`/config`).then(({data:e})=>e),refetchOnWindowFocus:!1,staleTime:n.longer});export{r as t};
@@ -1 +0,0 @@
1
- import{Vt as e}from"./vendor.B05959Kg.js";import{t}from"./client.Do8P3Q1y.js";import{t as n}from"./staleTimes.BfL5_pds.js";const r=e({key:[`countries`],query:async()=>await t().GET(`/countries`).then(({data:e})=>e),refetchOnWindowFocus:!1,staleTime:n.never});export{r as t};
@@ -1 +0,0 @@
1
- import{En as e,Lt as t,Rn as n,bn as r,rr as i}from"./vendor.B05959Kg.js";import"./params.BMC4ybL3.js";import"./client.Do8P3Q1y.js";import"./staleTimes.BfL5_pds.js";import{t as a}from"./pages.D2aHYSGs.js";import{t as o}from"./TextContent.C-_3oOJz.js";var s=e({__name:`faq`,setup(e){let{t:s}=t(),{data:c,isLoading:l}=a();return(e,t)=>{let a=o;return n(),r(a,{title:i(s)(`faq`),text:i(c)?.faq,isPending:i(l)},null,8,[`title`,`text`,`isPending`])}}});export{s as default};
@@ -1 +0,0 @@
1
- import{Lt as e}from"./vendor.B05959Kg.js";import{t}from"./localeRules.CTQiljAA.js";const n=(n,r,i)=>{let{n:a}=e();return isNaN(n)?NaN:a(n,t(r,i))};export{n as t};
@@ -1 +0,0 @@
1
- import{Vt as e}from"./vendor.B05959Kg.js";import{t}from"./client.Do8P3Q1y.js";import{t as n}from"./staleTimes.BfL5_pds.js";const r=e({key:[`pages`],query:async()=>await t().GET(`/pages`).then(({data:e})=>e),staleTime:n.long});export{r as t};
@@ -1 +0,0 @@
1
- import{En as e,Lt as t,Rn as n,bn as r,rr as i}from"./vendor.B05959Kg.js";import"./params.BMC4ybL3.js";import"./client.Do8P3Q1y.js";import"./staleTimes.BfL5_pds.js";import{t as a}from"./pages.D2aHYSGs.js";import{t as o}from"./TextContent.C-_3oOJz.js";var s=e({__name:`privacy-policy`,setup(e){let{t:s}=t(),{data:c,isLoading:l}=a();return(e,t)=>{let a=o;return n(),r(a,{title:i(s)(`privacyPolicy`),text:i(c)?.protection,isPending:i(l)},null,8,[`title`,`text`,`isPending`])}}});export{s as default};
@@ -1 +0,0 @@
1
- import{vn as e}from"./vendor.B05959Kg.js";import{U as t}from"./params.BMC4ybL3.js";const n=()=>{let n=t();return e(()=>n.params)};export{n as t};