@revolugo/elements 6.8.3-beta.12 → 6.8.3-beta.14

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 (115) hide show
  1. package/dist/css/revolugo.bhoteloffersfilterbar.BP8bd417.css +1 -0
  2. package/dist/css/revolugo.bimagecarousel.BxIL_xDV.css +1 -0
  3. package/dist/css/revolugo.creditcardform.BXv0c3zQ.css +1 -0
  4. package/dist/css/revolugo.hotelroomofferlist.C1uw1vfC.css +1 -0
  5. package/dist/css/revolugo.hotelroomoffersbookingflow.nFiRmYyk.css +1 -0
  6. package/dist/{revolugo._baseiteratee.BNqHcNCn.min.js → revolugo._baseiteratee.BhaL3Ihm.min.js} +2 -2
  7. package/dist/{revolugo.banktransferdetails.BsegKDEt.min.js → revolugo.banktransferdetails.Ac8FSLVW.min.js} +10 -10
  8. package/dist/{revolugo.bdaterangepicker.DapJe2k_.min.js → revolugo.bdaterangepicker.hVwM6ipX.min.js} +5 -5
  9. package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.Dity0kPd.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.BS1jYuno.min.js} +20 -23
  10. package/dist/{revolugo.bhoteloffersfilterbar.BRpeYcls.min.js → revolugo.bhoteloffersfilterbar.qDSKNDlZ.min.js} +2784 -2784
  11. package/dist/{revolugo.bhotelroomsdetails.DBJTpd0b.min.js → revolugo.bhotelroomsdetails.E0vCwuBV.min.js} +11 -11
  12. package/dist/revolugo.bimagecarousel.DyzQUjzi.min.js +480 -0
  13. package/dist/{revolugo.bookingdetailssidebar.C3w74F5L.min.js → revolugo.bookingdetailssidebar.4s_eSQg4.min.js} +4 -4
  14. package/dist/{revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.CwREI2PG.min.js → revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.JNe9c8M3.min.js} +213 -243
  15. package/dist/{revolugo.bookingmanager.gCoL9xhg.min.js → revolugo.bookingmanager.6yPgoaWw.min.js} +20 -20
  16. package/dist/{revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.yZ7lT7Ky.min.js → revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.BbtWMTnV.min.js} +3 -3
  17. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CjsWO7EJ.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Csh7MNV1.min.js} +7 -7
  18. package/dist/{revolugo.btag.UEG3bC7i.min.js → revolugo.btag.ySOeDeLw.min.js} +20 -20
  19. package/dist/{revolugo.cancellationpoliciesbadge.ntlU0HsA.min.js → revolugo.cancellationpoliciesbadge.W3M5rQIz.min.js} +7 -7
  20. package/dist/{revolugo.cancellationpoliciesbadge.sYw1pNMG.min.js → revolugo.cancellationpoliciesbadge.dr9YreJC.min.js} +4 -4
  21. package/dist/{revolugo.cancellationpolicieslist.D9DKuejr.min.js → revolugo.cancellationpolicieslist.BaZc434S.min.js} +4 -4
  22. package/dist/{revolugo.cancellationpolicieslist.CVVfgCCk.min.js → revolugo.cancellationpolicieslist.pxTuDh2s.min.js} +3 -3
  23. package/dist/{revolugo.case-transformers.b-XzZvL5.min.js → revolugo.case-transformers.C_YgD3nA.min.js} +2 -2
  24. package/dist/{revolugo.creditcardform.Au3OxB76.min.js → revolugo.creditcardform.BTlkvOgH.min.js} +196 -196
  25. package/dist/{revolugo.creditcardform.DumYzkTy.min.js → revolugo.creditcardform.DJe7Njnk.min.js} +4 -4
  26. package/dist/{revolugo.creditcardpayment.Bx8bkHMS.min.js → revolugo.creditcardpayment.BEj51mBs.min.js} +4 -4
  27. package/dist/{revolugo.creditcardpayment.DScJh9Zr.min.js → revolugo.creditcardpayment.BfM_sNj1.min.js} +16 -16
  28. package/dist/{revolugo.currencypicker.DJcvFUTj.min.js → revolugo.currencypicker.CWG49Zhf.min.js} +11 -11
  29. package/dist/{revolugo.currencypickerbtn.CMwp40zg.min.js → revolugo.currencypickerbtn.D15jjm6y.min.js} +9 -9
  30. package/dist/{revolugo.currencypickerbtn.eKUai3qG.min.js → revolugo.currencypickerbtn.DpGFoemK.min.js} +4 -4
  31. package/dist/{revolugo.dates.Cfh-fFvg.min.js → revolugo.dates.BodUWcoy.min.js} +2 -2
  32. package/dist/{revolugo.defaultsdeep.BuALtSRq.min.js → revolugo.defaultsdeep.BQVrU_I2.min.js} +2 -2
  33. package/dist/{revolugo.dialog-attach.CxoZryDZ.min.js → revolugo.dialog-attach.DrmEgjzG.min.js} +2 -2
  34. package/dist/{revolugo.dialog-transition.Cer9D_-h.min.js → revolugo.dialog-transition.x1E-leWE.min.js} +3 -3
  35. package/dist/{revolugo.fastbookingflow.BOrmnX6Q.min.js → revolugo.fastbookingflow.Bu26X9eR.min.js} +4 -4
  36. package/dist/{revolugo.fullbookingflow.Bq8Io1su.min.js → revolugo.fullbookingflow.7eCzxgkm.min.js} +17 -17
  37. package/dist/{revolugo.hotel-offer-request.Bd8jPq06.min.js → revolugo.hotel-offer-request.CS9yN6dC.min.js} +2 -2
  38. package/dist/{revolugo.hoteldescriptionview.DfJDATBx.min.js → revolugo.hoteldescriptionview.BcGnT767.min.js} +4 -4
  39. package/dist/{revolugo.hoteldescriptionview.HbaPKzCf.min.js → revolugo.hoteldescriptionview.CpHXBzEy.min.js} +147 -143
  40. package/dist/{revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.DwY5zXUv.min.js → revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.BR7jcumI.min.js} +7 -7
  41. package/dist/{revolugo.hotelofferlist.DAbQS7Ux.min.js → revolugo.hotelofferlist.B9RDtc0D.min.js} +2218 -2218
  42. package/dist/{revolugo.hotelofferlist.mA91s1jK.min.js → revolugo.hotelofferlist.BeTc6Ypd.min.js} +4 -4
  43. package/dist/{revolugo.hoteloffersearchmenu.Bae8L4iX.min.js → revolugo.hoteloffersearchmenu.CNQs7uf0.min.js} +6 -6
  44. package/dist/{revolugo.hoteloffersearchmenuui.DEK8eB1k.min.js → revolugo.hoteloffersearchmenuui.D26rRLl9.min.js} +17 -17
  45. package/dist/{revolugo.hoteloffersmap.25mO2VkA.min.js → revolugo.hoteloffersmap.Ce0wWt8l.min.js} +15 -15
  46. package/dist/{revolugo.hoteloffersmap.CW2MxZcY.min.js → revolugo.hoteloffersmap.DWMFOwWt.min.js} +4 -4
  47. package/dist/{revolugo.hoteloffersview.BiNppoBD.min.js → revolugo.hoteloffersview.BOdQbV-Z.min.js} +16 -16
  48. package/dist/{revolugo.hoteloffersview.Ctj3w7k0.min.js → revolugo.hoteloffersview.pWsKhpam.min.js} +4 -4
  49. package/dist/{revolugo.hotelroomofferlist.DfyLQMo3.min.js → revolugo.hotelroomofferlist.BYjhiVd9.min.js} +918 -947
  50. package/dist/{revolugo.hotelroomofferlist.BzUEDpMP.min.js → revolugo.hotelroomofferlist.FjLqM2qT.min.js} +4 -4
  51. package/dist/{revolugo.hotelroomofferrequestcreator.props._FNqH1_y.min.js → revolugo.hotelroomofferrequestcreator.props.DaO-XF8o.min.js} +2 -2
  52. package/dist/{revolugo.hotelroomoffersbookingflow.DQnX9rzj.min.js → revolugo.hotelroomoffersbookingflow.BIhSA__v.min.js} +923 -923
  53. package/dist/{revolugo.hotelroomoffersearchmenu.BIvAci31.min.js → revolugo.hotelroomoffersearchmenu.B4L9T_pD.min.js} +8 -8
  54. package/dist/{revolugo.hotelroomoffersearchmenu.CqCjwRf1.min.js → revolugo.hotelroomoffersearchmenu.DmxmMPap.min.js} +5 -5
  55. package/dist/{revolugo.hotelroomoffersview.sEtezg5C.min.js → revolugo.hotelroomoffersview.BSuVaUYS.min.js} +12 -12
  56. package/dist/{revolugo.hotelroomoffersview._jUynyVd.min.js → revolugo.hotelroomoffersview.DikMXiku.min.js} +4 -4
  57. package/dist/{revolugo.index.BSIwmERM.min.js → revolugo.index.BK0e6ROR.min.js} +6 -6
  58. package/dist/{revolugo.index._qfv0yMP.min.js → revolugo.index.CpbrPSdc.min.js} +62 -62
  59. package/dist/{revolugo.index.wc.o68qmveS.min.js → revolugo.index.wc.jjeh0psC.min.js} +76 -76
  60. package/dist/{revolugo.langpicker.YNnEVZ5C.min.js → revolugo.langpicker.CfywWRmf.min.js} +5 -5
  61. package/dist/{revolugo.langpickerbtn.D2IcnFI6.min.js → revolugo.langpickerbtn.DOhtMneJ.min.js} +10 -10
  62. package/dist/{revolugo.langpickerbtn.DbfcQ4zh.min.js → revolugo.langpickerbtn.Dj9tOUTP.min.js} +4 -4
  63. package/dist/revolugo.min.js +1 -1
  64. package/dist/{revolugo.parsed-props.EZV9Dl0c.min.js → revolugo.parsed-props.DoxQeA2G.min.js} +4 -4
  65. package/dist/{revolugo.pathify.DDAVjL8l.min.js → revolugo.pathify.DyWzmaeA.min.js} +2 -2
  66. package/dist/{revolugo.prebookform.D9twsHGO.min.js → revolugo.prebookform.BhhN6y68.min.js} +4 -4
  67. package/dist/{revolugo.prebookform.BSV80X9P.min.js → revolugo.prebookform.P5zcfTNX.min.js} +18 -18
  68. package/dist/{revolugo.roominglisteditor.BpxbFfE3.min.js → revolugo.roominglisteditor.Bxrs0KHA.min.js} +4 -4
  69. package/dist/{revolugo.roominglisteditor._1xyhsLY.min.js → revolugo.roominglisteditor.CVYLzHRT.min.js} +9 -9
  70. package/dist/{revolugo.rounded.CBLqNB2x.min.js → revolugo.rounded.NtUKwXJe.min.js} +2 -2
  71. package/dist/{revolugo.ssrboot.CH07hrUm.min.js → revolugo.ssrboot.CsFDZ3GY.min.js} +2 -2
  72. package/dist/{revolugo.storybooktoolbar.C1edOq05.min.js → revolugo.storybooktoolbar.ID2ZQ0P5.min.js} +18 -18
  73. package/dist/revolugo.termsandconditions.CRRHtizQ.min.js +405 -0
  74. package/dist/{revolugo.termsandconditions.BGWfl6BC.min.js → revolugo.termsandconditions.CbleG1D9.min.js} +4 -4
  75. package/dist/{revolugo.use-breakpoint-service.HGtuBCcJ.min.js → revolugo.use-breakpoint-service.BPw7628u.min.js} +3 -3
  76. package/dist/{revolugo.use-dialog-attach.CT58fcz5.min.js → revolugo.use-dialog-attach.CHjkmbrv.min.js} +3 -3
  77. package/dist/revolugo.use-html-element.CSI1N3ea.min.js +11 -0
  78. package/dist/{revolugo.use-parsed-props.D_LNGQFk.min.js → revolugo.use-parsed-props.D5H5p3rX.min.js} +3 -3
  79. package/dist/{revolugo.vautocomplete.BbqytRiZ.min.js → revolugo.vautocomplete.CPWUQuA8.min.js} +31 -31
  80. package/dist/{revolugo.vbadge.BYG8sX0E.min.js → revolugo.vbadge.B41nGplL.min.js} +15 -15
  81. package/dist/{revolugo.vbtn.CKeEHKuy.min.js → revolugo.vbtn.DU_4A0p_.min.js} +17 -17
  82. package/dist/{revolugo.vcard.Bt-IXVVU.min.js → revolugo.vcard.gzoVNZt3.min.js} +23 -23
  83. package/dist/{revolugo.vcheckboxbtn.BfT_pgMw.min.js → revolugo.vcheckboxbtn.7vWER-xI.min.js} +39 -39
  84. package/dist/{revolugo.vdialog.BFm61dRI.min.js → revolugo.vdialog.CiTP3_6P.min.js} +7 -7
  85. package/dist/{revolugo.vdivider.jRBmb8tR.min.js → revolugo.vdivider.BnYK7z-u.min.js} +8 -8
  86. package/dist/{revolugo.vexpansionpanels.HOKdpqz5.min.js → revolugo.vexpansionpanels.Cwh53uEX.min.js} +19 -19
  87. package/dist/{revolugo.vform.BSOibhly.min.js → revolugo.vform.DMmShcfR.min.js} +4 -4
  88. package/dist/{revolugo.vicon.Df08MHmh.min.js → revolugo.vicon.WVuIv40M.min.js} +9 -9
  89. package/dist/{revolugo.vinput.Bh6n3tJc.min.js → revolugo.vinput.C5btOxFW.min.js} +38 -38
  90. package/dist/{revolugo.vlabel.CGHVuOk1.min.js → revolugo.vlabel.B3Ew8qSb.min.js} +3 -3
  91. package/dist/{revolugo.vlist.CH8YXMuI.min.js → revolugo.vlist.OYNsGaEP.min.js} +63 -63
  92. package/dist/{revolugo.vmenu.D_RpngnD.min.js → revolugo.vmenu.CtthwTkl.min.js} +18 -18
  93. package/dist/{revolugo.vselect.CGFNr-yE.min.js → revolugo.vselect.Be8zaTpJ.min.js} +87 -87
  94. package/dist/{revolugo.vsheet.BVBxYYH5.min.js → revolugo.vsheet.bokzfSqi.min.js} +14 -14
  95. package/dist/{revolugo.vskeletonloader.B0vp0U2x.min.js → revolugo.vskeletonloader.BmgnfVnz.min.js} +15 -15
  96. package/dist/{revolugo.vslidegroup.zdwLbx5m.min.js → revolugo.vslidegroup.ChXAadfi.min.js} +21 -21
  97. package/dist/{revolugo.vsnackbar.WK0U0Ng2.min.js → revolugo.vsnackbar.pqrGnOMz.min.js} +26 -26
  98. package/dist/revolugo.vspacer.Cat0A_Ek.min.js +7 -0
  99. package/dist/{revolugo.vtextarea.BFz-qA78.min.js → revolugo.vtextarea.DaPe8V7w.min.js} +26 -26
  100. package/dist/{revolugo.vtextfield.Byqvse2k.min.js → revolugo.vtextfield.BxXOaS0D.min.js} +49 -49
  101. package/dist/{revolugo.vtoolbar.Bzif8ZNV.min.js → revolugo.vtoolbar.6Nyge05T.min.js} +17 -17
  102. package/dist/{revolugo.vtooltip.BRcrLHcu.min.js → revolugo.vtooltip.ckXYGzYH.min.js} +6 -6
  103. package/dist/{revolugo.vwindowitem.ZG1O_r7U.min.js → revolugo.vwindowitem.CbN0F8kL.min.js} +25 -25
  104. package/dist/{revolugo.watch-list.DEz0b4bO.min.js → revolugo.watch-list.CGB3U4_b.min.js} +2 -2
  105. package/dist/{revolugo.webcomponentwrapper.CCH__9Lk.min.js → revolugo.webcomponentwrapper.Cl0TkD0k.min.js} +67 -67
  106. package/package.json +1 -1
  107. package/dist/css/revolugo.bhoteloffersfilterbar.CdCaybXR.css +0 -1
  108. package/dist/css/revolugo.bimagecarousel.BjO6h8oj.css +0 -1
  109. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
  110. package/dist/css/revolugo.hotelroomofferlist.BYvQZ5P2.css +0 -1
  111. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  112. package/dist/revolugo.bimagecarousel.BeYAW4fG.min.js +0 -498
  113. package/dist/revolugo.termsandconditions.CKau6FuO.min.js +0 -405
  114. package/dist/revolugo.use-html-element.Cf1EHSxY.min.js +0 -11
  115. package/dist/revolugo.vspacer.D32v7UR1.min.js +0 -7
@@ -1,108 +1,480 @@
1
- import { aj as ft, r as F, by as G, H as b, d as x, bz as Ut, bA as le, u as Y, k as f, g as I, b as h, t as C, f as p, a as o, e as w, F as B, o as l, S as re, O as D, M as ue, j as jt, c as S, w as a, l as L, i as ot, a1 as rt, a2 as ut, a6 as mt, bB as ce, aL as de, b5 as me, D as q, m as fe, p as be, bC as dt, J as ht, K as gt, n as pe, h as ve, B as W, I as ke, E as he, bD as ge, q as vt, v as Pt, s as ye, C as yt, bE as Re, ah as Oe, bF as Rt, bG as Ce, aa as Ft, ap as Be, af as tt, aV as Se, ad as Ie, bH as _e } from "./revolugo.index.wc.o68qmveS.min.js";
2
- import { s as we } from "./revolugo.dates.Cfh-fFvg.min.js";
3
- import { u as bt, h as Pe } from "./revolugo.hotelroomofferrequestcreator.props._FNqH1_y.min.js";
4
- import { C as Te } from "./revolugo.cancellationpoliciesbadge.ntlU0HsA.min.js";
5
- import { a as Bt, _ as He } from "./revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.yZ7lT7Ky.min.js";
6
- import { _ as it, V as P, a as y, u as ct, l as xt, B as St, d as Ee, q as Ve, s as Ae, b as Le, g as $e, e as De } from "./revolugo.webcomponentwrapper.CCH__9Lk.min.js";
7
- import { V as K } from "./revolugo.vskeletonloader.B0vp0U2x.min.js";
8
- import { _ as Gt, B as Wt } from "./revolugo.bhotelroomsdetails.DBJTpd0b.min.js";
9
- import { _ as lt, a as ze } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.Dity0kPd.min.js";
10
- import { V as at } from "./revolugo.vicon.Df08MHmh.min.js";
11
- import { r as qe, a as Me, e as Ne, L as Ue, s as je, m as Fe, V as xe } from "./revolugo.index._qfv0yMP.min.js";
12
- import { u as Ge, V as Tt, m as We } from "./revolugo.vinput.Bh6n3tJc.min.js";
13
- import { b as Ht, c as Ye, V as Ze } from "./revolugo.vcheckboxbtn.BfT_pgMw.min.js";
14
- import { V as It, a as st, m as Ke } from "./revolugo.vbtn.CKeEHKuy.min.js";
15
- import { B as kt } from "./revolugo.btag.UEG3bC7i.min.js";
16
- import { u as Qe } from "./revolugo.use-breakpoint-service.HGtuBCcJ.min.js";
17
- import { V as Je } from "./revolugo.vselect.CGFNr-yE.min.js";
18
- import { V as Xe } from "./revolugo.vlist.CH8YXMuI.min.js";
19
- import { V as Q } from "./revolugo.vdivider.jRBmb8tR.min.js";
20
- import { _ as to } from "./revolugo.cancellationpolicieslist.CVVfgCCk.min.js";
21
- import { k as eo, C as oo } from "./revolugo.case-transformers.b-XzZvL5.min.js";
1
+ import { aj as ft, r as j, by as x, H as b, $ as lt, a0 as rt, a4 as mt, bz as ne, aQ as le, b4 as re, a as o, D as q, F as B, a8 as Nt, ap as ue, ad as X, aM as ce, ab as de, bA as me, d as W, bB as Ut, bC as fe, u as tt, k as f, g as I, b as h, t as C, f as p, e as w, o as l, S as be, O as D, M as pe, c as S, w as a, l as L, i as ot, m as ve, p as ke, bD as dt, J as gt, K as yt, n as he, h as ge, B as G, I as ye, E as Re, bE as Oe, q as kt, v as wt, s as Ce, C as Rt, bF as Be, ah as Se, bG as Ot, bH as Ie } from "./revolugo.index.wc.jjeh0psC.min.js";
2
+ import { s as _e } from "./revolugo.dates.BodUWcoy.min.js";
3
+ import { u as bt, h as we } from "./revolugo.hotelroomofferrequestcreator.props.DaO-XF8o.min.js";
4
+ import { C as Pe } from "./revolugo.cancellationpoliciesbadge.W3M5rQIz.min.js";
5
+ import { u as jt } from "./revolugo.use-breakpoint-service.BPw7628u.min.js";
6
+ import { u as ut, d as Te, q as He, s as Ee, b as Ve, f as Ae, h as Le, _ as ct, V as P, a as y, l as Ft, B as St } from "./revolugo.webcomponentwrapper.Cl0TkD0k.min.js";
7
+ import { V as Z } from "./revolugo.vskeletonloader.BmgnfVnz.min.js";
8
+ import { _ as xt, B as Gt } from "./revolugo.bhotelroomsdetails.E0vCwuBV.min.js";
9
+ import { _ as nt, a as $e } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.BS1jYuno.min.js";
10
+ import { V as at } from "./revolugo.vicon.WVuIv40M.min.js";
11
+ import { r as De, a as ze, d as qe, L as Me, s as Ne, m as Ue, V as je } from "./revolugo.index.CpbrPSdc.min.js";
12
+ import { u as Fe, V as Pt, m as xe } from "./revolugo.vinput.C5btOxFW.min.js";
13
+ import { b as Tt, c as Ge, V as We } from "./revolugo.vcheckboxbtn.7vWER-xI.min.js";
14
+ import { V as It, a as st, m as Ye } from "./revolugo.vbtn.DU_4A0p_.min.js";
15
+ import { B as ht } from "./revolugo.btag.ySOeDeLw.min.js";
16
+ import { V as Ze } from "./revolugo.vselect.Be8zaTpJ.min.js";
17
+ import { V as Ke } from "./revolugo.vlist.OYNsGaEP.min.js";
18
+ import { _ as Qe, a as Je } from "./revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.BbtWMTnV.min.js";
19
+ import { V as K } from "./revolugo.vdivider.BnYK7z-u.min.js";
20
+ import { _ as Xe } from "./revolugo.cancellationpolicieslist.pxTuDh2s.min.js";
21
+ import { k as to, C as eo } from "./revolugo.case-transformers.C_YgD3nA.min.js";
22
22
  /* empty css */
23
- import { p as ao } from "./revolugo.pathify.DDAVjL8l.min.js";
24
- import { u as so } from "./revolugo.use-parsed-props.D_LNGQFk.min.js";
25
- import { f as io } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
26
- import { V as Et, m as no, a as Vt, b as lo } from "./revolugo.vwindowitem.ZG1O_r7U.min.js";
27
- import { a as At, m as ro } from "./revolugo.vslidegroup.zdwLbx5m.min.js";
28
- function ne(t) {
23
+ import { p as oo } from "./revolugo.pathify.DyWzmaeA.min.js";
24
+ import { u as ao } from "./revolugo.use-parsed-props.D5H5p3rX.min.js";
25
+ import { f as so } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
26
+ import { V as Ht, m as io, a as Et, b as no } from "./revolugo.vwindowitem.CbN0F8kL.min.js";
27
+ import { a as Vt, m as lo } from "./revolugo.vslidegroup.ChXAadfi.min.js";
28
+ function ie(t) {
29
29
  try {
30
30
  if (typeof document < "u") {
31
31
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
32
32
  sheets: [],
33
33
  components: []
34
34
  };
35
- const e = import.meta.url, s = e.slice(0, e.lastIndexOf("/") + 1) + t;
36
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(s);
37
- for (const i of REVOLUGO_ELEMENTS_STYLES.components)
38
- i(s);
35
+ const e = import.meta.url, i = e.slice(0, e.lastIndexOf("/") + 1) + t;
36
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(i);
37
+ for (const s of REVOLUGO_ELEMENTS_STYLES.components)
38
+ s(i);
39
39
  if (t.indexOf("fonts") >= 0) {
40
- const i = document.createElement("link");
41
- i.rel = "stylesheet", linK.href = s, document.head.appendChild(i);
40
+ const s = document.createElement("link");
41
+ s.rel = "stylesheet", linK.href = i, document.head.appendChild(s);
42
42
  }
43
43
  }
44
44
  } catch (e) {
45
45
  console.error("[revolugo-elements] ", e);
46
46
  }
47
47
  }
48
- const uo = "Europe/Paris";
49
- function co(t) {
48
+ const ro = "Europe/Paris";
49
+ function uo(t) {
50
50
  return (t && t.split(",") || []).map(
51
51
  (e) => Number.parseInt(e)
52
52
  );
53
53
  }
54
- const mo = 4;
55
- function fo(t, e) {
56
- return t + co(e).reduce((s, i) => i >= mo ? s + 1 : s, 0);
54
+ const co = 4;
55
+ function mo(t, e) {
56
+ return t + uo(e).reduce((i, s) => s >= co ? i + 1 : i, 0);
57
57
  }
58
- function bo(t, e) {
59
- return e === void 0 ? Array.from({ length: t }, (s, i) => i) : Array.from({ length: e - t }, (s, i) => t + i);
58
+ function fo(t, e) {
59
+ return e === void 0 ? Array.from({ length: t }, (i, s) => s) : Array.from({ length: e - t }, (i, s) => t + s);
60
60
  }
61
- function po() {
62
- const t = ft(), e = F(G.Idle), s = b(
63
- () => e.value === G.BookingPoliciesFetched
64
- ), i = b(
65
- () => e.value === G.Unavailable
61
+ function bo() {
62
+ const t = ft(), e = j(x.Idle), i = b(
63
+ () => e.value === x.BookingPoliciesFetched
64
+ ), s = b(
65
+ () => e.value === x.Unavailable
66
66
  ), n = b(
67
- () => e.value === G.FetchingBookingPolicies
67
+ () => e.value === x.FetchingBookingPolicies
68
68
  );
69
- async function k({
70
- addBreakfast: d,
69
+ async function v({
70
+ addBreakfast: m,
71
71
  hotelId: r,
72
- hotelRoomOfferId: v
72
+ hotelRoomOfferId: k
73
73
  }) {
74
- e.value = G.FetchingBookingPolicies;
74
+ e.value = x.FetchingBookingPolicies;
75
75
  try {
76
76
  await t.createBookingPolicies({
77
- addBreakfast: d,
77
+ addBreakfast: m,
78
78
  hotelId: r,
79
- hotelRoomOfferId: v
80
- }), e.value = G.Unavailable, setTimeout(() => {
81
- e.value = G.Idle;
79
+ hotelRoomOfferId: k
80
+ }), e.value = x.Unavailable, setTimeout(() => {
81
+ e.value = x.Idle;
82
82
  }, 1.5 * 1e3);
83
83
  } catch {
84
- e.value = G.Unavailable;
84
+ e.value = x.Unavailable;
85
85
  }
86
86
  }
87
87
  return {
88
88
  bookingState: e,
89
- createBookingPolicy: k,
90
- isBookingPoliciesSuccessful: s,
91
- isBookingPoliciesUnavailable: i,
89
+ createBookingPolicy: v,
90
+ isBookingPoliciesSuccessful: i,
91
+ isBookingPoliciesUnavailable: s,
92
92
  isFetchingBookingPolicies: n
93
93
  };
94
94
  }
95
- const vo = { class: "text-right" }, ko = {
95
+ const po = rt({
96
+ indeterminate: Boolean,
97
+ inset: Boolean,
98
+ flat: Boolean,
99
+ loading: {
100
+ type: [Boolean, String],
101
+ default: !1
102
+ },
103
+ ...xe(),
104
+ ...Ge()
105
+ }, "VSwitch"), vo = lt()({
106
+ name: "VSwitch",
107
+ inheritAttrs: !1,
108
+ props: po(),
109
+ emits: {
110
+ "update:focused": (t) => !0,
111
+ "update:modelValue": (t) => !0,
112
+ "update:indeterminate": (t) => !0
113
+ },
114
+ setup(t, e) {
115
+ let {
116
+ attrs: i,
117
+ slots: s
118
+ } = e;
119
+ const n = mt(t, "indeterminate"), v = mt(t, "modelValue"), {
120
+ loaderClasses: m
121
+ } = De(t), {
122
+ isFocused: r,
123
+ focus: k,
124
+ blur: d
125
+ } = Fe(t), T = j(), A = ne && window.matchMedia("(forced-colors: active)").matches, R = b(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), z = le(), u = b(() => t.id || `switch-${z}`);
126
+ function g() {
127
+ n.value && (n.value = !1);
128
+ }
129
+ function H(E) {
130
+ E.stopPropagation(), E.preventDefault(), T.value?.input?.click();
131
+ }
132
+ return ut(() => {
133
+ const [E, M] = re(i), N = Pt.filterProps(t), Y = Tt.filterProps(t);
134
+ return o(Pt, q({
135
+ class: ["v-switch", {
136
+ "v-switch--flat": t.flat
137
+ }, {
138
+ "v-switch--inset": t.inset
139
+ }, {
140
+ "v-switch--indeterminate": n.value
141
+ }, m.value, t.class]
142
+ }, E, N, {
143
+ modelValue: v.value,
144
+ "onUpdate:modelValue": (_) => v.value = _,
145
+ id: u.value,
146
+ focused: r.value,
147
+ style: t.style
148
+ }), {
149
+ ...s,
150
+ default: (_) => {
151
+ let {
152
+ id: $,
153
+ messagesId: F,
154
+ isDisabled: U,
155
+ isReadonly: it,
156
+ isValid: et
157
+ } = _;
158
+ const Q = {
159
+ model: v,
160
+ isValid: et
161
+ };
162
+ return o(Tt, q({
163
+ ref: T
164
+ }, Y, {
165
+ modelValue: v.value,
166
+ "onUpdate:modelValue": [(c) => v.value = c, g],
167
+ id: $.value,
168
+ "aria-describedby": F.value,
169
+ type: "checkbox",
170
+ "aria-checked": n.value ? "mixed" : void 0,
171
+ disabled: U.value,
172
+ readonly: it.value,
173
+ onFocus: k,
174
+ onBlur: d
175
+ }, M), {
176
+ ...s,
177
+ default: (c) => {
178
+ let {
179
+ backgroundColorClasses: V,
180
+ backgroundColorStyles: O
181
+ } = c;
182
+ return o("div", {
183
+ class: ["v-switch__track", A ? void 0 : V.value],
184
+ style: O.value,
185
+ onClick: H
186
+ }, [s["track-true"] && o("div", {
187
+ key: "prepend",
188
+ class: "v-switch__track-true"
189
+ }, [s["track-true"](Q)]), s["track-false"] && o("div", {
190
+ key: "append",
191
+ class: "v-switch__track-false"
192
+ }, [s["track-false"](Q)])]);
193
+ },
194
+ input: (c) => {
195
+ let {
196
+ inputNode: V,
197
+ icon: O,
198
+ backgroundColorClasses: J,
199
+ backgroundColorStyles: se
200
+ } = c;
201
+ return o(B, null, [V, o("div", {
202
+ class: ["v-switch__thumb", {
203
+ "v-switch__thumb--filled": O || t.loading
204
+ }, t.inset || A ? void 0 : J.value],
205
+ style: t.inset ? void 0 : se.value
206
+ }, [s.thumb ? o(ze, {
207
+ defaults: {
208
+ VIcon: {
209
+ icon: O,
210
+ size: "x-small"
211
+ }
212
+ }
213
+ }, {
214
+ default: () => [s.thumb({
215
+ ...Q,
216
+ icon: O
217
+ })]
218
+ }) : o(qe, null, {
219
+ default: () => [t.loading ? o(Me, {
220
+ name: "v-switch",
221
+ active: !0,
222
+ color: et.value === !1 ? void 0 : R.value
223
+ }, {
224
+ default: (vt) => s.loader ? s.loader(vt) : o(It, {
225
+ active: vt.isActive,
226
+ color: vt.color,
227
+ indeterminate: !0,
228
+ size: "16",
229
+ width: "2"
230
+ }, null)
231
+ }) : O && o(at, {
232
+ key: String(O),
233
+ icon: O,
234
+ size: "x-small"
235
+ }, null)]
236
+ })])]);
237
+ }
238
+ });
239
+ }
240
+ });
241
+ }), {};
242
+ }
243
+ }), _t = Symbol.for("vuetify:v-tabs"), ko = rt({
244
+ fixed: Boolean,
245
+ sliderColor: String,
246
+ hideSlider: Boolean,
247
+ direction: {
248
+ type: String,
249
+ default: "horizontal"
250
+ },
251
+ ...Nt(Ye({
252
+ selectedClass: "v-tab--selected",
253
+ variant: "text"
254
+ }), ["active", "block", "flat", "location", "position", "symbol"])
255
+ }, "VTab"), Wt = lt()({
256
+ name: "VTab",
257
+ props: ko(),
258
+ setup(t, e) {
259
+ let {
260
+ slots: i,
261
+ attrs: s
262
+ } = e;
263
+ const {
264
+ textColorClasses: n,
265
+ textColorStyles: v
266
+ } = Te(t, "sliderColor"), m = j(), r = j(), k = b(() => t.direction === "horizontal"), d = b(() => m.value?.group?.isSelected.value ?? !1);
267
+ function T(A) {
268
+ let {
269
+ value: R
270
+ } = A;
271
+ if (R) {
272
+ const z = m.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), u = r.value;
273
+ if (!z || !u) return;
274
+ const g = getComputedStyle(z).color, H = z.getBoundingClientRect(), E = u.getBoundingClientRect(), M = k.value ? "x" : "y", N = k.value ? "X" : "Y", Y = k.value ? "right" : "bottom", _ = k.value ? "width" : "height", $ = H[M], F = E[M], U = $ > F ? H[Y] - E[Y] : H[M] - E[M], it = Math.sign(U) > 0 ? k.value ? "right" : "bottom" : Math.sign(U) < 0 ? k.value ? "left" : "top" : "center", Q = (Math.abs(U) + (Math.sign(U) < 0 ? H[_] : E[_])) / Math.max(H[_], E[_]) || 0, c = H[_] / E[_] || 0, V = 1.5;
275
+ He(u, {
276
+ backgroundColor: [g, "currentcolor"],
277
+ transform: [`translate${N}(${U}px) scale${N}(${c})`, `translate${N}(${U / V}px) scale${N}(${(Q - 1) / V + 1})`, "none"],
278
+ transformOrigin: Array(3).fill(it)
279
+ }, {
280
+ duration: 225,
281
+ easing: Ee
282
+ });
283
+ }
284
+ }
285
+ return ut(() => {
286
+ const A = st.filterProps(t);
287
+ return o(st, q({
288
+ symbol: _t,
289
+ ref: m,
290
+ class: ["v-tab", t.class],
291
+ style: t.style,
292
+ tabindex: d.value ? 0 : -1,
293
+ role: "tab",
294
+ "aria-selected": String(d.value),
295
+ active: !1
296
+ }, A, s, {
297
+ block: t.fixed,
298
+ maxWidth: t.fixed ? 300 : void 0,
299
+ "onGroup:selected": T
300
+ }), {
301
+ ...i,
302
+ default: () => o(B, null, [i.default?.() ?? t.text, !t.hideSlider && o("div", {
303
+ ref: r,
304
+ class: ["v-tab__slider", n.value],
305
+ style: v.value
306
+ }, null)])
307
+ });
308
+ }), so({}, m);
309
+ }
310
+ }), ho = rt({
311
+ ...Nt(io(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
312
+ }, "VTabsWindow"), Yt = lt()({
313
+ name: "VTabsWindow",
314
+ props: ho(),
315
+ emits: {
316
+ "update:modelValue": (t) => !0
317
+ },
318
+ setup(t, e) {
319
+ let {
320
+ slots: i
321
+ } = e;
322
+ const s = ue(_t, null), n = mt(t, "modelValue"), v = b({
323
+ get() {
324
+ return n.value != null || !s ? n.value : s.items.value.find((m) => s.selected.value.includes(m.id))?.value;
325
+ },
326
+ set(m) {
327
+ n.value = m;
328
+ }
329
+ });
330
+ return ut(() => {
331
+ const m = Ht.filterProps(t);
332
+ return o(Ht, q({
333
+ _as: "VTabsWindow"
334
+ }, m, {
335
+ modelValue: v.value,
336
+ "onUpdate:modelValue": (r) => v.value = r,
337
+ class: ["v-tabs-window", t.class],
338
+ style: t.style,
339
+ mandatory: !1,
340
+ touch: !1
341
+ }), i);
342
+ }), {};
343
+ }
344
+ }), go = rt({
345
+ ...no()
346
+ }, "VTabsWindowItem"), Ct = lt()({
347
+ name: "VTabsWindowItem",
348
+ props: go(),
349
+ setup(t, e) {
350
+ let {
351
+ slots: i
352
+ } = e;
353
+ return ut(() => {
354
+ const s = Et.filterProps(t);
355
+ return o(Et, q({
356
+ _as: "VTabsWindowItem"
357
+ }, s, {
358
+ class: ["v-tabs-window-item", t.class],
359
+ style: t.style
360
+ }), i);
361
+ }), {};
362
+ }
363
+ });
364
+ function yo(t) {
365
+ return t ? t.map((e) => me(e) ? e : {
366
+ text: e,
367
+ value: e
368
+ }) : [];
369
+ }
370
+ const Ro = rt({
371
+ alignTabs: {
372
+ type: String,
373
+ default: "start"
374
+ },
375
+ color: String,
376
+ fixedTabs: Boolean,
377
+ items: {
378
+ type: Array,
379
+ default: () => []
380
+ },
381
+ stacked: Boolean,
382
+ bgColor: String,
383
+ grow: Boolean,
384
+ height: {
385
+ type: [Number, String],
386
+ default: void 0
387
+ },
388
+ hideSlider: Boolean,
389
+ sliderColor: String,
390
+ ...lo({
391
+ mandatory: "force",
392
+ selectedClass: "v-tab-item--selected"
393
+ }),
394
+ ...Ue(),
395
+ ...Le()
396
+ }, "VTabs"), Oo = lt()({
397
+ name: "VTabs",
398
+ props: Ro(),
399
+ emits: {
400
+ "update:modelValue": (t) => !0
401
+ },
402
+ setup(t, e) {
403
+ let {
404
+ attrs: i,
405
+ slots: s
406
+ } = e;
407
+ const n = mt(t, "modelValue"), v = b(() => yo(t.items)), {
408
+ densityClasses: m
409
+ } = Ne(t), {
410
+ backgroundColorClasses: r,
411
+ backgroundColorStyles: k
412
+ } = Ve(X(t, "bgColor")), {
413
+ scopeId: d
414
+ } = Ae();
415
+ return ce({
416
+ VTab: {
417
+ color: X(t, "color"),
418
+ direction: X(t, "direction"),
419
+ stacked: X(t, "stacked"),
420
+ fixed: X(t, "fixedTabs"),
421
+ sliderColor: X(t, "sliderColor"),
422
+ hideSlider: X(t, "hideSlider")
423
+ }
424
+ }), ut(() => {
425
+ const T = Vt.filterProps(t), A = !!(s.window || t.items.length > 0);
426
+ return o(B, null, [o(Vt, q(T, {
427
+ modelValue: n.value,
428
+ "onUpdate:modelValue": (R) => n.value = R,
429
+ class: ["v-tabs", `v-tabs--${t.direction}`, `v-tabs--align-tabs-${t.alignTabs}`, {
430
+ "v-tabs--fixed-tabs": t.fixedTabs,
431
+ "v-tabs--grow": t.grow,
432
+ "v-tabs--stacked": t.stacked
433
+ }, m.value, r.value, t.class],
434
+ style: [{
435
+ "--v-tabs-height": de(t.height)
436
+ }, k.value, t.style],
437
+ role: "tablist",
438
+ symbol: _t
439
+ }, d, i), {
440
+ default: () => [s.default?.() ?? v.value.map((R) => s.tab?.({
441
+ item: R
442
+ }) ?? o(Wt, q(R, {
443
+ key: R.text,
444
+ value: R.value
445
+ }), {
446
+ default: s[`tab.${R.value}`] ? () => s[`tab.${R.value}`]?.({
447
+ item: R
448
+ }) : void 0
449
+ }))]
450
+ }), A && o(Yt, q({
451
+ modelValue: n.value,
452
+ "onUpdate:modelValue": (R) => n.value = R,
453
+ key: "tabs-window"
454
+ }, d), {
455
+ default: () => [v.value.map((R) => s.item?.({
456
+ item: R
457
+ }) ?? o(Ct, {
458
+ value: R.value
459
+ }, {
460
+ default: () => s[`item.${R.value}`]?.({
461
+ item: R
462
+ })
463
+ })), s.window?.()]
464
+ })]);
465
+ }), {};
466
+ }
467
+ }), Co = { class: "text-right" }, Bo = {
96
468
  key: 0,
97
469
  class: "text-grey-darken-3"
98
- }, ho = { class: "text-h6 text-grey-darken-3 font-weight-black" }, go = {
470
+ }, So = { class: "text-h6 text-grey-darken-3 font-weight-black" }, Io = {
99
471
  key: 1,
100
472
  class: "my-0 text-caption text-grey-darken-3 d-block"
101
- }, yo = { class: "text-caption d-block" }, Yt = /* @__PURE__ */ x({
473
+ }, _o = { class: "text-caption d-block" }, Zt = /* @__PURE__ */ W({
102
474
  __name: "BPriceSummary",
103
475
  props: {
104
476
  adultCount: { default: 0 },
105
- currency: { default: le.EUR },
477
+ currency: { default: fe.EUR },
106
478
  hasBolderTextPrice: { type: Boolean, default: void 0 },
107
479
  isTaxIncluded: { type: Boolean, default: void 0 },
108
480
  isStartingPrice: { type: Boolean, default: void 0 },
@@ -114,43 +486,43 @@ const vo = { class: "text-right" }, ko = {
114
486
  taxIncludedPrice: { default: void 0 }
115
487
  },
116
488
  setup(t) {
117
- const e = t, { t: s } = Y(), i = b(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
118
- return (n, k) => (l(), f("div", vo, [
119
- n.isStartingPrice ? (l(), f("small", ko, C(p(s)("BPriceSummary.from")) + "  ", 1)) : I("", !0),
120
- h("b", ho, [
121
- o(lt, {
122
- amount: i.value,
489
+ const e = t, { t: i } = tt(), s = b(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
490
+ return (n, v) => (l(), f("div", Co, [
491
+ n.isStartingPrice ? (l(), f("small", Bo, C(p(i)("BPriceSummary.from")) + "  ", 1)) : I("", !0),
492
+ h("b", So, [
493
+ o(nt, {
494
+ amount: s.value,
123
495
  "round-mode": n.roundMode,
124
496
  currency: e.currency,
125
497
  locale: e.locale
126
498
  }, null, 8, ["amount", "round-mode", "currency", "locale"])
127
499
  ]),
128
- (n.roomCount > 1 || n.nightCount > 1 || n.taxIncludedPrice !== n.price) && n.isTaxIncluded ? (l(), f("span", go, [
500
+ (n.roomCount > 1 || n.nightCount > 1 || n.taxIncludedPrice !== n.price) && n.isTaxIncluded ? (l(), f("span", Io, [
129
501
  h("b", null, [
130
- o(lt, {
502
+ o(nt, {
131
503
  amount: n.taxIncludedPrice,
132
504
  "round-mode": n.roundMode,
133
505
  currency: e.currency,
134
506
  locale: e.locale
135
507
  }, null, 8, ["amount", "round-mode", "currency", "locale"])
136
508
  ]),
137
- w(" " + C(p(s)("BPriceSummary.total")) + " " + C(p(s)("BPriceSummary.summary", {
138
- rooms: p(s)("BPriceSummary.rooms", { n: n.roomCount })
509
+ w(" " + C(p(i)("BPriceSummary.total")) + " " + C(p(i)("BPriceSummary.summary", {
510
+ rooms: p(i)("BPriceSummary.rooms", { n: n.roomCount })
139
511
  })), 1)
140
512
  ])) : I("", !0),
141
- h("span", yo, [
513
+ h("span", _o, [
142
514
  n.taxIncludedPrice || n.price ? (l(), f(B, { key: 0 }, [
143
515
  n.isTaxIncluded ? (l(), f(B, { key: 0 }, [
144
- w(C(p(s)("BPriceSummary.taxIncluded")), 1)
516
+ w(C(p(i)("BPriceSummary.taxIncluded")), 1)
145
517
  ], 64)) : (l(), f(B, { key: 1 }, [
146
- w(C(p(s)("BPriceSummary.taxNotIncluded")), 1)
518
+ w(C(p(i)("BPriceSummary.taxNotIncluded")), 1)
147
519
  ], 64))
148
520
  ], 64)) : I("", !0)
149
521
  ])
150
522
  ]));
151
523
  }
152
524
  });
153
- function Lt(t) {
525
+ function At(t) {
154
526
  const e = t;
155
527
  e.__i18n = e.__i18n || [], e.__i18n.push({
156
528
  locale: "",
@@ -256,32 +628,32 @@ function Lt(t) {
256
628
  }
257
629
  });
258
630
  }
259
- typeof Lt == "function" && Lt(Yt);
260
- const Ot = /* @__PURE__ */ it(Yt, [["__scopeId", "data-v-e0d30623"]]);
261
- function Ro(t, e) {
631
+ typeof At == "function" && At(Zt);
632
+ const Bt = /* @__PURE__ */ ct(Zt, [["__scopeId", "data-v-e0d30623"]]);
633
+ function wo(t, e) {
262
634
  return e ? t.adultCount === e.adultCount && t.checkInDate === e.checkInDate && t.checkOutDate === e.checkOutDate && t.children === e.children && t.hotelId === e.hotelId && t.roomCount === e.roomCount && t.sourceMarket === e.sourceMarket : !1;
263
635
  }
264
- function Oo(t) {
265
- const e = bt(), s = we(
636
+ function Po(t) {
637
+ const e = bt(), i = _e(
266
638
  t.checkInDate,
267
639
  t.checkOutDate
268
- ), i = F({
640
+ ), s = j({
269
641
  adultCount: t.adultCount,
270
- checkInDate: s[0],
271
- checkOutDate: s[1],
642
+ checkInDate: i[0],
643
+ checkOutDate: i[1],
272
644
  children: t.children ?? null,
273
645
  hotelId: t.hotelId,
274
646
  roomCount: t.roomCount,
275
647
  sourceMarket: t.sourceMarket
276
648
  }), n = b(
277
649
  () => e.hotelRoomOfferRequest(t.hotelId)
278
- ), k = re(
650
+ ), v = be(
279
651
  async function() {
280
- const v = i.value, m = n.value;
281
- t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== m?.id ? (await e.retrieveHotelRoomOfferRequest({
282
- hotelId: v.hotelId,
652
+ const k = s.value, d = n.value;
653
+ t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== d?.id ? (await e.retrieveHotelRoomOfferRequest({
654
+ hotelId: k.hotelId,
283
655
  hotelRoomOfferRequestId: t.hotelRoomOfferRequestId
284
- }), (!m || m.hasError) && await e.createHotelRoomOfferRequest(v)) : (!m || !m.id || m.hasError || !Ro(v, m)) && await e.createHotelRoomOfferRequest(v);
656
+ }), (!d || d.hasError) && await e.createHotelRoomOfferRequest(k)) : (!d || !d.id || d.hasError || !wo(k, d)) && await e.createHotelRoomOfferRequest(k);
285
657
  },
286
658
  300
287
659
  );
@@ -299,7 +671,7 @@ function Oo(t) {
299
671
  },
300
672
  () => {
301
673
  const r = n.value;
302
- !r || !r.adultCount || !r.checkInDate || !r.checkOutDate || !r.roomCount || !r.sourceMarket || (i.value = {
674
+ !r || !r.adultCount || !r.checkInDate || !r.checkOutDate || !r.roomCount || !r.sourceMarket || (s.value = {
303
675
  adultCount: r.adultCount,
304
676
  checkInDate: r.checkInDate,
305
677
  checkOutDate: r.checkOutDate,
@@ -308,348 +680,187 @@ function Oo(t) {
308
680
  roomCount: r.roomCount,
309
681
  sourceMarket: r.sourceMarket
310
682
  });
311
- }
312
- ), D(
313
- () => t.adultCount,
314
- (r) => {
315
- i.value = {
316
- ...i.value,
317
- adultCount: r
318
- };
319
- }
320
- ), D(
321
- () => t.checkInDate,
322
- (r) => {
323
- i.value = {
324
- ...i.value,
325
- checkInDate: r
326
- };
327
- }
328
- ), D(
329
- () => t.checkOutDate,
330
- (r) => {
331
- i.value = {
332
- ...i.value,
333
- checkOutDate: r
334
- };
335
- }
336
- ), D(
337
- () => t.children,
338
- (r) => {
339
- i.value = {
340
- ...i.value,
341
- children: r ?? null
342
- };
343
- }
344
- ), D(
345
- () => t.hotelId,
346
- (r, v) => {
347
- v && e.deleteHotelRoomOfferRequest(v), i.value = {
348
- ...i.value,
349
- hotelId: r
350
- }, k();
351
- }
352
- ), D(
353
- () => t.roomCount,
354
- (r) => {
355
- i.value = {
356
- ...i.value,
357
- roomCount: r
358
- };
359
- }
360
- ), D(
361
- () => t.sourceMarket,
362
- (r) => {
363
- i.value = {
364
- ...i.value,
365
- sourceMarket: r
366
- };
367
- }
368
- );
369
- const d = () => {
370
- e.resetHotelRoomOfferRequest(t.hotelId), k();
371
- };
372
- return D(
373
- () => i.value,
374
- () => {
375
- k();
376
- },
377
- { deep: !0, immediate: !0 }
378
- ), D(
379
- () => ue(),
380
- () => {
381
- d();
382
- },
383
- { immediate: !0 }
384
- ), {
385
- hotelRoomOfferRequest: n,
386
- hotelRoomOfferRequestInternal: i
387
- };
388
- }
389
- const Co = x({
390
- components: {
391
- BPriceSummarySkeleton: Bt
392
- },
393
- mixins: [jt],
394
- name: "HotelRoomOfferLayout",
395
- props: {
396
- boilerplate: { type: Boolean }
397
- },
398
- setup() {
399
- const { t } = Y();
400
- return {
401
- t
402
- };
403
- }
404
- }), Bo = { class: "d-flex justify-end" };
405
- function So(t, e, s, i, n, k) {
406
- const d = ot("BPriceSummarySkeleton");
407
- return l(), S(P, {
408
- class: "px-2 py-3 pa-sm-4 px-md-3",
409
- "no-gutters": ""
410
- }, {
411
- default: a(() => [
412
- o(y, {
413
- "align-self": "start",
414
- cols: "12",
415
- lg: "6",
416
- md: "7",
417
- sm: "7"
418
- }, {
419
- default: a(() => [
420
- o(P, { "no-gutters": "" }, {
421
- default: a(() => [
422
- o(y, { cols: "12" }, {
423
- default: a(() => [
424
- L(t.$slots, "room-details", {}, () => [
425
- o(K, {
426
- boilerplate: t.boilerplate,
427
- class: "mt-1",
428
- height: "14px",
429
- tile: "",
430
- type: "text",
431
- width: "180px"
432
- }, null, 8, ["boilerplate"]),
433
- o(K, {
434
- boilerplate: t.boilerplate,
435
- height: "12px",
436
- tile: "",
437
- type: "text",
438
- width: "120px"
439
- }, null, 8, ["boilerplate"])
440
- ])
441
- ]),
442
- _: 3
443
- }),
444
- o(y, {
445
- "align-self": "start",
446
- class: "text-left d-flex flex-column mt-2",
447
- cols: "12",
448
- style: { gap: "0.3em" }
449
- }, {
450
- default: a(() => [
451
- L(t.$slots, "breakfast-option-badge"),
452
- L(t.$slots, "cancellation-policies")
453
- ]),
454
- _: 3
455
- }),
456
- o(y, { cols: "12" }, {
457
- default: a(() => [
458
- L(t.$slots, "breakfast-option-switch")
459
- ]),
460
- _: 3
461
- })
462
- ]),
463
- _: 3
464
- })
465
- ]),
466
- _: 3
467
- }),
468
- o(y, {
469
- "align-self": "end",
470
- class: "text-right mt-sm-0 mt-2",
471
- lg: "6",
472
- md: "5",
473
- sm: "5"
474
- }, {
475
- default: a(() => [
476
- L(t.$slots, "package-type"),
477
- L(t.$slots, "price-summary", {}, () => [
478
- o(d, {
479
- boilerplate: t.boilerplate,
480
- class: "mt-2"
481
- }, null, 8, ["boilerplate"])
482
- ]),
483
- h("div", Bo, [
484
- L(t.$slots, "action", {}, () => [
485
- o(K, {
486
- class: "mt-2",
487
- boilerplate: t.boilerplate,
488
- height: "28px",
489
- tile: "",
490
- type: "image",
491
- width: t.$isCurrentBreakpointBelow("sm") ? "100%" : "130px"
492
- }, null, 8, ["boilerplate", "width"])
493
- ])
494
- ])
495
- ]),
496
- _: 3
497
- })
498
- ]),
499
- _: 3
500
- });
501
- }
502
- const _t = /* @__PURE__ */ it(Co, [["render", So]]), Io = ut({
503
- indeterminate: Boolean,
504
- inset: Boolean,
505
- flat: Boolean,
506
- loading: {
507
- type: [Boolean, String],
508
- default: !1
509
- },
510
- ...We(),
511
- ...Ye()
512
- }, "VSwitch"), _o = rt()({
513
- name: "VSwitch",
514
- inheritAttrs: !1,
515
- props: Io(),
516
- emits: {
517
- "update:focused": (t) => !0,
518
- "update:modelValue": (t) => !0,
519
- "update:indeterminate": (t) => !0
520
- },
521
- setup(t, e) {
522
- let {
523
- attrs: s,
524
- slots: i
525
- } = e;
526
- const n = mt(t, "indeterminate"), k = mt(t, "modelValue"), {
527
- loaderClasses: d
528
- } = qe(t), {
529
- isFocused: r,
530
- focus: v,
531
- blur: m
532
- } = Ge(t), T = F(), A = ce && window.matchMedia("(forced-colors: active)").matches, R = b(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), z = de(), u = b(() => t.id || `switch-${z}`);
533
- function g() {
534
- n.value && (n.value = !1);
535
- }
536
- function H(E) {
537
- E.stopPropagation(), E.preventDefault(), T.value?.input?.click();
538
- }
539
- return ct(() => {
540
- const [E, M] = me(s), N = Tt.filterProps(t), Z = Ht.filterProps(t);
541
- return o(Tt, q({
542
- class: ["v-switch", {
543
- "v-switch--flat": t.flat
544
- }, {
545
- "v-switch--inset": t.inset
546
- }, {
547
- "v-switch--indeterminate": n.value
548
- }, d.value, t.class]
549
- }, E, N, {
550
- modelValue: k.value,
551
- "onUpdate:modelValue": (_) => k.value = _,
552
- id: u.value,
553
- focused: r.value,
554
- style: t.style
555
- }), {
556
- ...i,
557
- default: (_) => {
558
- let {
559
- id: $,
560
- messagesId: j,
561
- isDisabled: U,
562
- isReadonly: nt,
563
- isValid: et
564
- } = _;
565
- const J = {
566
- model: k,
567
- isValid: et
568
- };
569
- return o(Ht, q({
570
- ref: T
571
- }, Z, {
572
- modelValue: k.value,
573
- "onUpdate:modelValue": [(c) => k.value = c, g],
574
- id: $.value,
575
- "aria-describedby": j.value,
576
- type: "checkbox",
577
- "aria-checked": n.value ? "mixed" : void 0,
578
- disabled: U.value,
579
- readonly: nt.value,
580
- onFocus: v,
581
- onBlur: m
582
- }, M), {
583
- ...i,
584
- default: (c) => {
585
- let {
586
- backgroundColorClasses: V,
587
- backgroundColorStyles: O
588
- } = c;
589
- return o("div", {
590
- class: ["v-switch__track", A ? void 0 : V.value],
591
- style: O.value,
592
- onClick: H
593
- }, [i["track-true"] && o("div", {
594
- key: "prepend",
595
- class: "v-switch__track-true"
596
- }, [i["track-true"](J)]), i["track-false"] && o("div", {
597
- key: "append",
598
- class: "v-switch__track-false"
599
- }, [i["track-false"](J)])]);
600
- },
601
- input: (c) => {
602
- let {
603
- inputNode: V,
604
- icon: O,
605
- backgroundColorClasses: X,
606
- backgroundColorStyles: ie
607
- } = c;
608
- return o(B, null, [V, o("div", {
609
- class: ["v-switch__thumb", {
610
- "v-switch__thumb--filled": O || t.loading
611
- }, t.inset || A ? void 0 : X.value],
612
- style: t.inset ? void 0 : ie.value
613
- }, [i.thumb ? o(Me, {
614
- defaults: {
615
- VIcon: {
616
- icon: O,
617
- size: "x-small"
618
- }
619
- }
620
- }, {
621
- default: () => [i.thumb({
622
- ...J,
623
- icon: O
624
- })]
625
- }) : o(Ne, null, {
626
- default: () => [t.loading ? o(Ue, {
627
- name: "v-switch",
628
- active: !0,
629
- color: et.value === !1 ? void 0 : R.value
630
- }, {
631
- default: (pt) => i.loader ? i.loader(pt) : o(It, {
632
- active: pt.isActive,
633
- color: pt.color,
634
- indeterminate: !0,
635
- size: "16",
636
- width: "2"
637
- }, null)
638
- }) : O && o(at, {
639
- key: String(O),
640
- icon: O,
641
- size: "x-small"
642
- }, null)]
643
- })])]);
644
- }
645
- });
646
- }
683
+ }
684
+ ), D(
685
+ () => t.adultCount,
686
+ (r) => {
687
+ s.value = {
688
+ ...s.value,
689
+ adultCount: r
690
+ };
691
+ }
692
+ ), D(
693
+ () => t.checkInDate,
694
+ (r) => {
695
+ s.value = {
696
+ ...s.value,
697
+ checkInDate: r
698
+ };
699
+ }
700
+ ), D(
701
+ () => t.checkOutDate,
702
+ (r) => {
703
+ s.value = {
704
+ ...s.value,
705
+ checkOutDate: r
706
+ };
707
+ }
708
+ ), D(
709
+ () => t.children,
710
+ (r) => {
711
+ s.value = {
712
+ ...s.value,
713
+ children: r ?? null
714
+ };
715
+ }
716
+ ), D(
717
+ () => t.hotelId,
718
+ (r, k) => {
719
+ k && e.deleteHotelRoomOfferRequest(k), s.value = {
720
+ ...s.value,
721
+ hotelId: r
722
+ }, v();
723
+ }
724
+ ), D(
725
+ () => t.roomCount,
726
+ (r) => {
727
+ s.value = {
728
+ ...s.value,
729
+ roomCount: r
730
+ };
731
+ }
732
+ ), D(
733
+ () => t.sourceMarket,
734
+ (r) => {
735
+ s.value = {
736
+ ...s.value,
737
+ sourceMarket: r
738
+ };
739
+ }
740
+ );
741
+ const m = () => {
742
+ e.resetHotelRoomOfferRequest(t.hotelId), v();
743
+ };
744
+ return D(
745
+ () => s.value,
746
+ () => {
747
+ v();
748
+ },
749
+ { deep: !0, immediate: !0 }
750
+ ), D(
751
+ () => pe(),
752
+ () => {
753
+ m();
754
+ },
755
+ { immediate: !0 }
756
+ ), {
757
+ hotelRoomOfferRequest: n,
758
+ hotelRoomOfferRequestInternal: s
759
+ };
760
+ }
761
+ const pt = /* @__PURE__ */ W({
762
+ __name: "HotelRoomOfferItemLayout",
763
+ setup(t) {
764
+ const e = j(null), { $isCurrentBreakpointBelow: i } = jt(e);
765
+ return (s, n) => {
766
+ const v = ot("BPriceSummarySkeleton");
767
+ return l(), S(P, {
768
+ class: "px-2 py-3 pa-sm-4 px-md-3",
769
+ "no-gutters": ""
770
+ }, {
771
+ default: a(() => [
772
+ o(y, {
773
+ "align-self": "start",
774
+ cols: "12",
775
+ lg: "6",
776
+ md: "7",
777
+ sm: "7"
778
+ }, {
779
+ default: a(() => [
780
+ o(P, { "no-gutters": "" }, {
781
+ default: a(() => [
782
+ o(y, { cols: "12" }, {
783
+ default: a(() => [
784
+ L(s.$slots, "room-details", {}, () => [
785
+ o(Z, {
786
+ class: "mt-1",
787
+ height: "14px",
788
+ tile: "",
789
+ type: "text",
790
+ width: "180px"
791
+ }),
792
+ o(Z, {
793
+ height: "12px",
794
+ tile: "",
795
+ type: "text",
796
+ width: "120px"
797
+ })
798
+ ])
799
+ ]),
800
+ _: 3
801
+ }),
802
+ o(y, {
803
+ "align-self": "start",
804
+ class: "text-left d-flex flex-column mt-2",
805
+ cols: "12",
806
+ style: { gap: "0.3em" }
807
+ }, {
808
+ default: a(() => [
809
+ L(s.$slots, "breakfast-option-badge"),
810
+ L(s.$slots, "cancellation-policies")
811
+ ]),
812
+ _: 3
813
+ }),
814
+ o(y, { cols: "12" }, {
815
+ default: a(() => [
816
+ L(s.$slots, "breakfast-option-switch")
817
+ ]),
818
+ _: 3
819
+ })
820
+ ]),
821
+ _: 3
822
+ })
823
+ ]),
824
+ _: 3
825
+ }),
826
+ o(y, {
827
+ "align-self": "end",
828
+ class: "text-right mt-sm-0 mt-2",
829
+ lg: "6",
830
+ md: "5",
831
+ sm: "5"
832
+ }, {
833
+ default: a(() => [
834
+ L(s.$slots, "package-type"),
835
+ L(s.$slots, "price-summary", {}, () => [
836
+ o(v, { class: "mt-2" })
837
+ ]),
838
+ h("div", {
839
+ ref_key: "root",
840
+ ref: e,
841
+ class: "d-flex justify-end"
842
+ }, [
843
+ L(s.$slots, "action", {}, () => [
844
+ o(Z, {
845
+ class: "mt-2",
846
+ height: "28px",
847
+ tile: "",
848
+ type: "image",
849
+ width: p(i)("sm") ? "100%" : "130px"
850
+ }, null, 8, ["width"])
851
+ ])
852
+ ], 512)
853
+ ]),
854
+ _: 3
855
+ })
856
+ ]),
857
+ _: 3
647
858
  });
648
- }), {};
859
+ };
649
860
  }
650
- }), wo = { class: "text-caption ml-n3" }, Po = { class: "mr-2" }, To = ["innerHTML"], Zt = /* @__PURE__ */ x({
861
+ }), To = { class: "text-caption ml-n3" }, Ho = { class: "mr-2" }, Eo = ["innerHTML"], Kt = /* @__PURE__ */ W({
651
862
  __name: "BBreakfastSwitch",
652
- props: /* @__PURE__ */ fe({
863
+ props: /* @__PURE__ */ ve({
653
864
  isLoading: { type: Boolean },
654
865
  price: {},
655
866
  currency: {}
@@ -659,49 +870,49 @@ const _t = /* @__PURE__ */ it(Co, [["render", So]]), Io = ut({
659
870
  }),
660
871
  emits: ["update:modelValue"],
661
872
  setup(t) {
662
- const { locale: e, t: s } = Y(), i = be(t, "modelValue"), n = b(
663
- () => ze({
873
+ const { locale: e, t: i } = tt(), s = ke(t, "modelValue"), n = b(
874
+ () => $e({
664
875
  amount: t.price,
665
876
  currency: t.currency,
666
877
  locale: e.value
667
878
  })
668
879
  );
669
- return (k, d) => (l(), S(_o, {
670
- modelValue: i.value,
671
- "onUpdate:modelValue": d[0] || (d[0] = (r) => i.value = r),
880
+ return (v, m) => (l(), S(vo, {
881
+ modelValue: s.value,
882
+ "onUpdate:modelValue": m[0] || (m[0] = (r) => s.value = r),
672
883
  class: "ma-0 pa-0 breakfast-switch d-inline-block",
673
884
  density: "compact",
674
885
  size: "small",
675
886
  color: "primary",
676
- loading: k.isLoading && "success"
887
+ loading: v.isLoading && "success"
677
888
  }, {
678
889
  label: a(() => [
679
- h("div", wo, [
890
+ h("div", To, [
680
891
  o(at, {
681
892
  size: "12",
682
893
  class: "ml-4 mr-2"
683
894
  }, {
684
- default: a(() => d[1] || (d[1] = [
895
+ default: a(() => m[1] || (m[1] = [
685
896
  w(" fas fa-coffee ")
686
897
  ])),
687
898
  _: 1,
688
899
  __: [1]
689
900
  }),
690
- d[2] || (d[2] = w(" ")),
691
- h("span", Po, C(p(s)("BBreakfastSwitch.title")), 1),
901
+ m[2] || (m[2] = w(" ")),
902
+ h("span", Ho, C(p(i)("BBreakfastSwitch.title")), 1),
692
903
  h("span", {
693
- innerHTML: p(s)("BBreakfastSwitch.price", { n: n.value }).replace(
904
+ innerHTML: p(i)("BBreakfastSwitch.price", { n: n.value }).replace(
694
905
  /\s/gu,
695
906
  " "
696
907
  )
697
- }, null, 8, To)
908
+ }, null, 8, Eo)
698
909
  ])
699
910
  ]),
700
911
  _: 1
701
912
  }, 8, ["modelValue", "loading"]));
702
913
  }
703
914
  });
704
- function $t(t) {
915
+ function Lt(t) {
705
916
  const e = t;
706
917
  e.__i18n = e.__i18n || [], e.__i18n.push({
707
918
  locale: "",
@@ -751,8 +962,8 @@ function $t(t) {
751
962
  }
752
963
  });
753
964
  }
754
- typeof $t == "function" && $t(Zt);
755
- const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
965
+ typeof Lt == "function" && Lt(Kt);
966
+ const Qt = /* @__PURE__ */ ct(Kt, [["__scopeId", "data-v-1e4b5568"]]), Vo = {
756
967
  breakfastCount: {
757
968
  type: Number
758
969
  },
@@ -790,37 +1001,37 @@ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
790
1001
  tags: { type: Array },
791
1002
  taxIncludedPrice: { required: !0, type: Number },
792
1003
  type: { type: String }
793
- }, Eo = { key: 0 }, Vo = {
1004
+ }, Ao = { key: 0 }, Lo = {
794
1005
  class: "align-self-center d-flex flex-wrap",
795
1006
  style: { gap: "0.3em" }
796
- }, Ao = {
1007
+ }, $o = {
797
1008
  class: "align-self-center d-inline-flex flex-wrap",
798
1009
  style: { gap: "0.3em" }
799
- }, Lo = { class: "text-caption" }, $o = { key: 0 }, Do = { key: 1 }, Qt = /* @__PURE__ */ x({
1010
+ }, Do = { class: "text-caption" }, zo = { key: 0 }, qo = { key: 1 }, Jt = /* @__PURE__ */ W({
800
1011
  __name: "HotelRoomOfferItem",
801
- props: Ho,
1012
+ props: Vo,
802
1013
  emits: ["breakfast-change", "update:modelValue", "booking-policy-failed"],
803
1014
  setup(t, { emit: e }) {
804
- const s = t, { t: i } = Y(), { eventBus: n } = ke(), k = e, d = F(
805
- s.breakfastCount && s.breakfastCount > 0 || !1
1015
+ const i = t, { t: s } = tt(), { eventBus: n } = ye(), v = e, m = j(
1016
+ i.breakfastCount && i.breakfastCount > 0 || !1
806
1017
  );
807
- D(d, (c) => {
808
- k("breakfast-change", {
1018
+ D(m, (c) => {
1019
+ v("breakfast-change", {
809
1020
  addBreakfast: c,
810
- hotelId: s.hotelId,
811
- id: s.id
1021
+ hotelId: i.hotelId,
1022
+ id: i.id
812
1023
  });
813
1024
  });
814
- const r = bt(), v = ft(), m = b(
815
- () => r.hotelRoomOfferRequest(s.hotelId)
816
- ), T = b(() => m.value?.adultCount), A = b(() => m.value?.checkInDate), R = b(
817
- () => s.count ? bo(s.count + 1) : []
1025
+ const r = bt(), k = ft(), d = b(
1026
+ () => r.hotelRoomOfferRequest(i.hotelId)
1027
+ ), T = b(() => d.value?.adultCount), A = b(() => d.value?.checkInDate), R = b(
1028
+ () => i.count ? fo(i.count + 1) : []
818
1029
  ), z = b(
819
- () => v.hotelTimezone(s.hotelId)
1030
+ () => k.hotelTimezone(i.hotelId)
820
1031
  ), u = b(
821
- () => r.nightCount(s.hotelId)
1032
+ () => r.nightCount(i.hotelId)
822
1033
  ), g = b(() => {
823
- switch (s.packageType) {
1034
+ switch (i.packageType) {
824
1035
  case dt.Cheapest:
825
1036
  return "red";
826
1037
  case dt.BestMatch:
@@ -832,68 +1043,68 @@ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
832
1043
  return "";
833
1044
  }
834
1045
  }), H = b(
835
- () => s.hotelRooms.reduce((c, V) => c + (V.count || 0), 0)
1046
+ () => i.hotelRooms.reduce((c, V) => c + (V.count || 0), 0)
836
1047
  ), E = b({
837
1048
  get() {
838
- return s.modelValue;
1049
+ return i.modelValue;
839
1050
  },
840
1051
  set(c) {
841
- k("update:modelValue", c);
1052
+ v("update:modelValue", c);
842
1053
  }
843
1054
  }), M = b(
844
- () => s.tags?.filter((c) => c.name.length > 30) || []
1055
+ () => i.tags?.filter((c) => c.name.length > 30) || []
845
1056
  ), N = b(
846
- () => s.tags?.filter((c) => c.name.length < 30) || []
1057
+ () => i.tags?.filter((c) => c.name.length < 30) || []
847
1058
  ), {
848
- bookingState: Z,
1059
+ bookingState: Y,
849
1060
  createBookingPolicy: _,
850
1061
  isBookingPoliciesSuccessful: $,
851
- isBookingPoliciesUnavailable: j,
1062
+ isBookingPoliciesUnavailable: F,
852
1063
  isFetchingBookingPolicies: U
853
- } = po();
854
- D(Z, (c) => {
855
- c === G.Unavailable && k("booking-policy-failed", s.id);
1064
+ } = bo();
1065
+ D(Y, (c) => {
1066
+ c === x.Unavailable && v("booking-policy-failed", i.id);
856
1067
  });
857
- async function nt() {
1068
+ async function it() {
858
1069
  const c = {
859
- ...s,
860
- currency: s.currency
1070
+ ...i,
1071
+ currency: i.currency
861
1072
  };
862
- n.$emit(he.HotelRoomOffersBtnClick, c), await _({
863
- addBreakfast: d.value,
864
- hotelId: s.hotelId,
865
- hotelRoomOfferId: s.id
1073
+ n.$emit(Re.HotelRoomOffersBtnClick, c), await _({
1074
+ addBreakfast: m.value,
1075
+ hotelId: i.hotelId,
1076
+ hotelRoomOfferId: i.id
866
1077
  });
867
1078
  }
868
- const et = F(null);
869
- Qe(et);
870
- const J = window.RevolugoElements.config.lang || Ut.fr_FR;
1079
+ const et = j(null);
1080
+ jt(et);
1081
+ const Q = window.RevolugoElements.config.lang || Ut.fr_FR;
871
1082
  return (c, V) => (l(), f("div", {
872
1083
  class: "position-relative",
873
1084
  ref_key: "root",
874
1085
  ref: et
875
1086
  }, [
876
- o(_t, { key: "is-available" }, {
1087
+ o(pt, { key: "is-available" }, {
877
1088
  "room-details": a(() => [
878
- o(Wt, {
1089
+ o(Gt, {
879
1090
  "hotel-rooms": c.hotelRooms
880
1091
  }, null, 8, ["hotel-rooms"])
881
1092
  ]),
882
1093
  "package-type": a(() => [
883
- c.type === "PACKAGE" && c.packageType !== "REGULAR" ? (l(), S(kt, {
1094
+ c.type === "PACKAGE" && c.packageType !== "REGULAR" ? (l(), S(ht, {
884
1095
  key: 0,
885
1096
  class: "mb-3",
886
1097
  color: g.value,
887
1098
  variant: "outlined"
888
1099
  }, {
889
1100
  description: a(() => [
890
- w(C(p(i)(
1101
+ w(C(p(s)(
891
1102
  `HotelRoomOfferItem.packageTypes.${c.packageType}.description`,
892
1103
  { n: T.value }
893
1104
  )), 1)
894
1105
  ]),
895
1106
  default: a(() => [
896
- w(C(p(i)(`HotelRoomOfferItem.packageTypes.${c.packageType}.title`, {
1107
+ w(C(p(s)(`HotelRoomOfferItem.packageTypes.${c.packageType}.title`, {
897
1108
  n: T.value
898
1109
  })) + " ", 1)
899
1110
  ]),
@@ -901,7 +1112,7 @@ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
901
1112
  }, 8, ["color"])) : I("", !0)
902
1113
  ]),
903
1114
  "cancellation-policies": a(() => [
904
- o(Te, {
1115
+ o(Pe, {
905
1116
  class: "mt-2",
906
1117
  "cancellation-policies": c.cancellationPolicies,
907
1118
  "check-in-date": A.value,
@@ -909,16 +1120,16 @@ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
909
1120
  }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
910
1121
  ]),
911
1122
  "breakfast-option-badge": a(() => [
912
- o(Gt, {
1123
+ o(xt, {
913
1124
  "breakfast-option": c.breakfastCount && c.breakfastCount > 0 ? "INCLUDED" : c.breakfastOption,
914
1125
  breakfastCount: c.breakfastCount ?? void 0
915
1126
  }, null, 8, ["breakfast-option", "breakfastCount"])
916
1127
  ]),
917
1128
  "breakfast-option-switch": a(() => [
918
- c.type !== "HOTEL_ROOM" && c.breakfastOption === "OPTIONAL" ? (l(), f("div", Eo, [
919
- o(Kt, {
920
- modelValue: d.value,
921
- "onUpdate:modelValue": V[0] || (V[0] = (O) => d.value = O),
1129
+ c.type !== "HOTEL_ROOM" && c.breakfastOption === "OPTIONAL" ? (l(), f("div", Ao, [
1130
+ o(Qt, {
1131
+ modelValue: m.value,
1132
+ "onUpdate:modelValue": V[0] || (V[0] = (O) => m.value = O),
922
1133
  class: "mt-3 pl-1",
923
1134
  currency: c.currency,
924
1135
  "is-loading": c.isLoading,
@@ -927,9 +1138,9 @@ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
927
1138
  ])) : I("", !0)
928
1139
  ]),
929
1140
  "big-tags": a(() => [
930
- h("div", Vo, [
931
- (l(!0), f(B, null, W(M.value, (O, X) => (l(), S(kt, {
932
- key: X,
1141
+ h("div", Lo, [
1142
+ (l(!0), f(B, null, G(M.value, (O, J) => (l(), S(ht, {
1143
+ key: J,
933
1144
  color: O.bg,
934
1145
  "pre-icon": `fa-${O.faIcon}`,
935
1146
  "text-color": O.color,
@@ -943,9 +1154,9 @@ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
943
1154
  ])
944
1155
  ]),
945
1156
  tags: a(() => [
946
- h("div", Ao, [
947
- (l(!0), f(B, null, W(N.value, (O, X) => (l(), S(kt, {
948
- key: X,
1157
+ h("div", $o, [
1158
+ (l(!0), f(B, null, G(N.value, (O, J) => (l(), S(ht, {
1159
+ key: J,
949
1160
  color: O.bg,
950
1161
  "pre-icon": `fa-${O.faIcon}`,
951
1162
  "text-color": O.color,
@@ -967,7 +1178,7 @@ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
967
1178
  default: a(() => [
968
1179
  o(y, null, {
969
1180
  default: a(() => [
970
- o(Ot, {
1181
+ o(Bt, {
971
1182
  "adult-count": 1,
972
1183
  class: "text-right",
973
1184
  "is-tax-included": !1,
@@ -992,7 +1203,7 @@ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
992
1203
  }, {
993
1204
  default: a(() => [
994
1205
  h("div", null, [
995
- o(Je, {
1206
+ o(Ze, {
996
1207
  modelValue: E.value,
997
1208
  "onUpdate:modelValue": V[1] || (V[1] = (O) => E.value = O),
998
1209
  class: "item-count mt-2",
@@ -1004,17 +1215,17 @@ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
1004
1215
  },
1005
1216
  variant: "outlined"
1006
1217
  }, {
1007
- item: a(({ item: O, props: X }) => [
1008
- o(Xe, pe(ve(X)), {
1218
+ item: a(({ item: O, props: J }) => [
1219
+ o(Ke, he(ge(J)), {
1009
1220
  title: a(() => [
1010
- h("span", Lo, [
1221
+ h("span", Do, [
1011
1222
  w(C(O.raw) + " ", 1),
1012
1223
  O.raw ? (l(), f(B, { key: 0 }, [
1013
1224
  V[2] || (V[2] = w(" (")),
1014
- o(lt, {
1225
+ o(nt, {
1015
1226
  amount: O.raw * c.price,
1016
- currency: s.currency,
1017
- locale: p(J)
1227
+ currency: i.currency,
1228
+ locale: p(Q)
1018
1229
  }, null, 8, ["amount", "currency", "locale"]),
1019
1230
  V[3] || (V[3] = w(") "))
1020
1231
  ], 64)) : I("", !0)
@@ -1032,7 +1243,7 @@ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
1032
1243
  ]),
1033
1244
  _: 1
1034
1245
  })
1035
- ], 64)) : (l(), S(Ot, {
1246
+ ], 64)) : (l(), S(Bt, {
1036
1247
  key: 1,
1037
1248
  "adult-count": T.value,
1038
1249
  class: "text-right",
@@ -1049,30 +1260,30 @@ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
1049
1260
  key: 0,
1050
1261
  class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
1051
1262
  color: p($) ? "success" : "primary",
1052
- disabled: p(U) || p(j) || c.isLoading,
1263
+ disabled: p(U) || p(F) || c.isLoading,
1053
1264
  elevation: "0",
1054
1265
  loading: p(U),
1055
1266
  size: "small",
1056
- onClick: nt
1267
+ onClick: it
1057
1268
  }, {
1058
1269
  default: a(() => [
1059
- p($) ? I("", !0) : (l(), f("span", $o, C(p(i)("HotelRoomOfferItem.book")), 1)),
1060
- ht(o(at, { class: "position-absolute" }, {
1270
+ p($) ? I("", !0) : (l(), f("span", zo, C(p(s)("HotelRoomOfferItem.book")), 1)),
1271
+ gt(o(at, { class: "position-absolute" }, {
1061
1272
  default: a(() => V[4] || (V[4] = [
1062
1273
  w(" fas fa-check ")
1063
1274
  ])),
1064
1275
  _: 1,
1065
1276
  __: [4]
1066
1277
  }, 512), [
1067
- [gt, p($)]
1278
+ [yt, p($)]
1068
1279
  ])
1069
1280
  ]),
1070
1281
  _: 1
1071
- }, 8, ["color", "disabled", "loading"])) : (l(), f("span", Do))
1282
+ }, 8, ["color", "disabled", "loading"])) : (l(), f("span", qo))
1072
1283
  ]),
1073
1284
  _: 1
1074
1285
  }),
1075
- c.isLoading ? (l(), S(xt, {
1286
+ c.isLoading ? (l(), S(Ft, {
1076
1287
  key: 0,
1077
1288
  absolute: "",
1078
1289
  class: "mx-n4",
@@ -1088,22 +1299,22 @@ const Kt = /* @__PURE__ */ it(Zt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
1088
1299
  ]),
1089
1300
  _: 1
1090
1301
  })) : I("", !0),
1091
- p(j) || c.gone ? (l(), S(St, {
1302
+ p(F) || c.gone ? (l(), S(St, {
1092
1303
  key: 1,
1093
1304
  "margin-top": 16
1094
1305
  }, {
1095
1306
  title: a(() => [
1096
- w(C(p(i)("HotelRoomOfferItem.unavailable.title")), 1)
1307
+ w(C(p(s)("HotelRoomOfferItem.unavailable.title")), 1)
1097
1308
  ]),
1098
1309
  description: a(() => [
1099
- w(C(p(i)("HotelRoomOfferItem.unavailable.description")), 1)
1310
+ w(C(p(s)("HotelRoomOfferItem.unavailable.description")), 1)
1100
1311
  ]),
1101
1312
  _: 1
1102
1313
  })) : I("", !0)
1103
1314
  ], 512));
1104
1315
  }
1105
1316
  });
1106
- function Dt(t) {
1317
+ function $t(t) {
1107
1318
  const e = t;
1108
1319
  e.__i18n = e.__i18n || [], e.__i18n.push({
1109
1320
  locale: "",
@@ -1272,11 +1483,11 @@ function Dt(t) {
1272
1483
  }
1273
1484
  });
1274
1485
  }
1275
- typeof Dt == "function" && Dt(Qt);
1276
- const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, qo = { class: "text-caption d-flex justify-end py-2" }, Mo = { class: "mt-3 d-flex justify-start align-center" }, No = { class: "pt-4" }, zt = /* @__PURE__ */ x({
1486
+ typeof $t == "function" && $t(Jt);
1487
+ const Xt = /* @__PURE__ */ ct(Jt, [["__scopeId", "data-v-4631d14a"]]), Mo = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, No = { class: "text-caption d-flex justify-end py-2" }, Uo = { class: "mt-3 d-flex justify-start align-center" }, jo = { class: "pt-4" }, Dt = /* @__PURE__ */ W({
1277
1488
  __name: "BBasketSummaryLayout",
1278
1489
  setup(t) {
1279
- return (e, s) => (l(), S(P, { class: "px-2" }, {
1490
+ return (e, i) => (l(), S(P, { class: "px-2" }, {
1280
1491
  default: a(() => [
1281
1492
  o(y, null, {
1282
1493
  default: a(() => [
@@ -1284,9 +1495,9 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1284
1495
  default: a(() => [
1285
1496
  o(y, null, {
1286
1497
  default: a(() => [
1287
- h("div", zo, [
1498
+ h("div", Mo, [
1288
1499
  L(e.$slots, "title", {}, () => [
1289
- o(K, {
1500
+ o(Z, {
1290
1501
  height: "18px",
1291
1502
  tile: "",
1292
1503
  type: "heading",
@@ -1304,18 +1515,18 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1304
1515
  default: a(() => [
1305
1516
  o(y, null, {
1306
1517
  default: a(() => [
1307
- h("div", qo, [
1518
+ h("div", No, [
1308
1519
  L(e.$slots, "adult-count", {}, () => [
1309
- o(K, {
1520
+ o(Z, {
1310
1521
  tile: "",
1311
1522
  type: "text",
1312
1523
  width: "150px"
1313
1524
  })
1314
1525
  ])
1315
1526
  ]),
1316
- h("div", Mo, [
1527
+ h("div", Uo, [
1317
1528
  L(e.$slots, "secondary-title", {}, () => [
1318
- o(K, {
1529
+ o(Z, {
1319
1530
  height: "18px",
1320
1531
  tile: "",
1321
1532
  type: "heading",
@@ -1330,8 +1541,8 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1330
1541
  _: 3
1331
1542
  }),
1332
1543
  L(e.$slots, "hotel-rooms", {}, () => [
1333
- h("div", No, [
1334
- (l(), f(B, null, W(2, (i) => h("div", null, [
1544
+ h("div", jo, [
1545
+ (l(), f(B, null, G(2, (s) => h("div", null, [
1335
1546
  o(P, {
1336
1547
  align: "center",
1337
1548
  class: "pt-4"
@@ -1339,7 +1550,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1339
1550
  default: a(() => [
1340
1551
  o(y, { cols: "auto" }, {
1341
1552
  default: a(() => [
1342
- o(He, { boilerplate: "" })
1553
+ o(Qe, { boilerplate: "" })
1343
1554
  ]),
1344
1555
  _: 1
1345
1556
  })
@@ -1364,7 +1575,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1364
1575
  default: a(() => [
1365
1576
  o(y, null, {
1366
1577
  default: a(() => [
1367
- o(Q)
1578
+ o(K)
1368
1579
  ]),
1369
1580
  _: 1
1370
1581
  })
@@ -1379,7 +1590,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1379
1590
  o(y, null, {
1380
1591
  default: a(() => [
1381
1592
  L(e.$slots, "price-summary", {}, () => [
1382
- o(Bt, { boilerplate: !0 })
1593
+ o(Je, { boilerplate: !0 })
1383
1594
  ])
1384
1595
  ]),
1385
1596
  _: 3
@@ -1403,7 +1614,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1403
1614
  o(y, { class: "pb-0" }, {
1404
1615
  default: a(() => [
1405
1616
  L(e.$slots, "button", {}, () => [
1406
- o(K, {
1617
+ o(Z, {
1407
1618
  height: "38px",
1408
1619
  tile: "",
1409
1620
  type: "heading",
@@ -1421,7 +1632,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1421
1632
  o(y, null, {
1422
1633
  default: a(() => [
1423
1634
  L(e.$slots, "cancellation-policies", {}, () => [
1424
- o(K, {
1635
+ o(Z, {
1425
1636
  tile: "",
1426
1637
  type: "paragraph",
1427
1638
  width: "100%"
@@ -1440,10 +1651,10 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1440
1651
  _: 3
1441
1652
  }));
1442
1653
  }
1443
- }), Uo = { key: 0 }, jo = ["innerHTML"], Fo = { class: "font-weight-bold pb-2" }, xo = { class: "mt-4 font-weight-bold" }, Go = { class: "text-caption mb-0 text-left font-weight-bold" }, Wo = { class: "text-caption" }, Yo = {
1654
+ }), Fo = { key: 0 }, xo = ["innerHTML"], Go = { class: "font-weight-bold pb-2" }, Wo = { class: "mt-4 font-weight-bold" }, Yo = { class: "text-caption mb-0 text-left font-weight-bold" }, Zo = { class: "text-caption" }, Ko = {
1444
1655
  key: 0,
1445
1656
  class: "text-caption pl-2"
1446
- }, Zo = { class: "text-caption" }, Ko = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Qo = { key: 0 }, Jo = { key: 1 }, Xt = /* @__PURE__ */ x({
1657
+ }, Qo = { class: "text-caption" }, Jo = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Xo = { key: 0 }, ta = { key: 1 }, te = /* @__PURE__ */ W({
1447
1658
  __name: "BBasketSummary",
1448
1659
  props: {
1449
1660
  adultCount: {},
@@ -1459,36 +1670,36 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1459
1670
  },
1460
1671
  emits: ["breakfast-change", "delete-room", "submit"],
1461
1672
  setup(t, { emit: e }) {
1462
- const { t: s } = Y(), i = e, n = t, k = F(
1673
+ const { t: i } = tt(), s = e, n = t, v = j(
1463
1674
  n.hotelRoomOffer?.breakfastCount && n.hotelRoomOffer?.breakfastCount > 0 || !1
1464
- ), d = b(() => n.hotelRoomOffer?.breakfastOption), r = b(
1465
- () => fo(n.adultCount, n.children)
1466
- ), v = b(
1467
- () => n.hotelRoomOffer.breakfastOption === ge.Optional
1468
- ), m = b(
1675
+ ), m = b(() => n.hotelRoomOffer?.breakfastOption), r = b(
1676
+ () => mo(n.adultCount, n.children)
1677
+ ), k = b(
1678
+ () => n.hotelRoomOffer.breakfastOption === Oe.Optional
1679
+ ), d = b(
1469
1680
  () => n.hotelRoomOffer.taxIncludedPrice - n.hotelRoomOffer.price > 0
1470
- ), T = b(() => !n.hotelRoomOffer || !n.checkOutDate || !n.checkInDate ? 0 : vt(n.checkOutDate).diff(vt(n.checkInDate), "day")), A = b(
1471
- () => Pt(n.hotelRoomOffer?.hotelRooms, "count")
1681
+ ), T = b(() => !n.hotelRoomOffer || !n.checkOutDate || !n.checkInDate ? 0 : kt(n.checkOutDate).diff(kt(n.checkInDate), "day")), A = b(
1682
+ () => wt(n.hotelRoomOffer?.hotelRooms, "count")
1472
1683
  ), R = b(
1473
- () => eo(
1474
- ye({
1475
- bookingDatetime: vt().format(),
1684
+ () => to(
1685
+ Ce({
1686
+ bookingDatetime: kt().format(),
1476
1687
  cancellationPolicies: n.hotelRoomOffer?.cancellationPolicies,
1477
1688
  checkInDate: n.checkInDate,
1478
1689
  timezone: n.hotelTimezone
1479
1690
  }),
1480
- oo.Camel
1691
+ eo.Camel
1481
1692
  )
1482
1693
  ), z = b(
1483
- () => Pt(
1694
+ () => wt(
1484
1695
  n.hotelRoomOffer?.hotelRooms,
1485
1696
  (u) => u.count * u.occupancy
1486
1697
  )
1487
1698
  );
1488
- return D(k, (u) => {
1489
- i("breakfast-change", u);
1699
+ return D(v, (u) => {
1700
+ s("breakfast-change", u);
1490
1701
  }), (u, g) => (l(), f("div", null, [
1491
- u.isLoading ? (l(), S(xt, {
1702
+ u.isLoading ? (l(), S(Ft, {
1492
1703
  key: 0,
1493
1704
  absolute: "",
1494
1705
  class: "mx-n3",
@@ -1504,20 +1715,20 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1504
1715
  ]),
1505
1716
  _: 1
1506
1717
  })) : I("", !0),
1507
- u.hotelRoomOffer ? (l(), S(zt, { key: "filled-up" }, {
1718
+ u.hotelRoomOffer ? (l(), S(Dt, { key: "filled-up" }, {
1508
1719
  title: a(() => [
1509
- h("span", null, C(p(s)("BBasketSummary.title")), 1)
1720
+ h("span", null, C(p(i)("BBasketSummary.title")), 1)
1510
1721
  ]),
1511
1722
  "adult-count": a(() => [
1512
1723
  h("span", {
1513
- innerHTML: p(s)("BBasketSummary.totalOccupancy", { n: z.value })
1514
- }, null, 8, jo)
1724
+ innerHTML: p(i)("BBasketSummary.totalOccupancy", { n: z.value })
1725
+ }, null, 8, xo)
1515
1726
  ]),
1516
1727
  "secondary-title": a(() => [
1517
- h("span", Fo, C(p(s)("BBasketSummary.yourSelection")), 1)
1728
+ h("span", Go, C(p(i)("BBasketSummary.yourSelection")), 1)
1518
1729
  ]),
1519
1730
  "hotel-rooms": a(() => [
1520
- (l(!0), f(B, null, W(u.hotelRoomOffer.hotelRooms, (H, E) => (l(), f("div", {
1731
+ (l(!0), f(B, null, G(u.hotelRoomOffer.hotelRooms, (H, E) => (l(), f("div", {
1521
1732
  key: `room-${E}`
1522
1733
  }, [
1523
1734
  o(P, null, {
@@ -1527,14 +1738,14 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1527
1738
  cols: "12"
1528
1739
  }, {
1529
1740
  default: a(() => [
1530
- o(Wt, {
1531
- class: yt({
1741
+ o(Gt, {
1742
+ class: Rt({
1532
1743
  "mt-n4": E >= 1
1533
1744
  }),
1534
1745
  "hotel-rooms": [H]
1535
1746
  }, null, 8, ["class", "hotel-rooms"]),
1536
1747
  o(st, {
1537
- class: yt({
1748
+ class: Rt({
1538
1749
  "mt-n4": E >= 1
1539
1750
  }),
1540
1751
  color: "red",
@@ -1563,14 +1774,14 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1563
1774
  ]))), 128))
1564
1775
  ]),
1565
1776
  "breakfast-option": a(() => [
1566
- d.value ? (l(), f(B, { key: 0 }, [
1777
+ m.value ? (l(), f(B, { key: 0 }, [
1567
1778
  o(P, { "no-gutters": "" }, {
1568
1779
  default: a(() => [
1569
1780
  o(y, null, {
1570
1781
  default: a(() => [
1571
- o(Gt, {
1782
+ o(xt, {
1572
1783
  "breakfast-count": u.hotelRoomOffer?.breakfastCount || void 0,
1573
- "breakfast-option": u.hotelRoomOffer.breakfastCount && u.hotelRoomOffer.breakfastCount > 0 ? "INCLUDED" : d.value,
1784
+ "breakfast-option": u.hotelRoomOffer.breakfastCount && u.hotelRoomOffer.breakfastCount > 0 ? "INCLUDED" : m.value,
1574
1785
  class: "mr-n1"
1575
1786
  }, null, 8, ["breakfast-count", "breakfast-option"])
1576
1787
  ]),
@@ -1579,7 +1790,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1579
1790
  ]),
1580
1791
  _: 1
1581
1792
  }),
1582
- v.value ? (l(), S(P, {
1793
+ k.value ? (l(), S(P, {
1583
1794
  key: 0,
1584
1795
  class: "mt-2",
1585
1796
  "no-gutters": ""
@@ -1587,9 +1798,9 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1587
1798
  default: a(() => [
1588
1799
  o(y, { class: "mb-2 mt-xl-0" }, {
1589
1800
  default: a(() => [
1590
- o(Kt, {
1591
- modelValue: k.value,
1592
- "onUpdate:modelValue": g[0] || (g[0] = (H) => k.value = H),
1801
+ o(Qt, {
1802
+ modelValue: v.value,
1803
+ "onUpdate:modelValue": g[0] || (g[0] = (H) => v.value = H),
1593
1804
  currency: u.currency,
1594
1805
  "is-loading": u.isLoading,
1595
1806
  price: u.hotelRoomOffer?.breakfastUnitPrice || 0
@@ -1603,7 +1814,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1603
1814
  ], 64)) : I("", !0)
1604
1815
  ]),
1605
1816
  "price-summary": a(() => [
1606
- h("p", xo, C(p(s)("BBasketSummary.priceDetails")), 1),
1817
+ h("p", Wo, C(p(i)("BBasketSummary.priceDetails")), 1),
1607
1818
  o(P, {
1608
1819
  "no-gutters": "",
1609
1820
  class: "mt-1"
@@ -1611,10 +1822,10 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1611
1822
  default: a(() => [
1612
1823
  o(y, null, {
1613
1824
  default: a(() => [
1614
- h("p", Go, C(p(s)("BBasketSummary.roomCount", {
1825
+ h("p", Yo, C(p(i)("BBasketSummary.roomCount", {
1615
1826
  n: A.value,
1616
1827
  value: A.value
1617
- })) + " x " + C(p(s)("BBasketSummary.nightCount", {
1828
+ })) + " x " + C(p(i)("BBasketSummary.nightCount", {
1618
1829
  n: T.value,
1619
1830
  value: T.value
1620
1831
  })), 1)
@@ -1623,8 +1834,8 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1623
1834
  }),
1624
1835
  o(y, { class: "text-right" }, {
1625
1836
  default: a(() => [
1626
- h("span", Wo, [
1627
- o(lt, {
1837
+ h("span", Zo, [
1838
+ o(nt, {
1628
1839
  amount: u.hotelRoomOffer.price,
1629
1840
  currency: u.hotelRoomOffer.currency
1630
1841
  }, null, 8, ["amount", "currency"])
@@ -1642,7 +1853,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1642
1853
  default: a(() => [
1643
1854
  o(y, null, {
1644
1855
  default: a(() => [
1645
- u.hotelRoomOffer.breakfastCount ? (l(), f("small", Yo, C(p(s)("BBasketSummary.breakfastIncluded", {
1856
+ u.hotelRoomOffer.breakfastCount ? (l(), f("small", Ko, C(p(i)("BBasketSummary.breakfastIncluded", {
1646
1857
  n: u.hotelRoomOffer.breakfastCount,
1647
1858
  value: u.hotelRoomOffer.breakfastCount
1648
1859
  })), 1)) : I("", !0)
@@ -1667,8 +1878,8 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1667
1878
  }),
1668
1879
  o(y, { class: "text-right" }, {
1669
1880
  default: a(() => [
1670
- h("span", Zo, [
1671
- o(lt, {
1881
+ h("span", Qo, [
1882
+ o(nt, {
1672
1883
  amount: u.hotelRoomOffer.taxIncludedPrice - u.hotelRoomOffer.price,
1673
1884
  currency: u.hotelRoomOffer.currency
1674
1885
  }, null, 8, ["amount", "currency"])
@@ -1690,8 +1901,8 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1690
1901
  }),
1691
1902
  o(y, null, {
1692
1903
  default: a(() => [
1693
- o(Ot, {
1694
- "is-tax-included": m.value,
1904
+ o(Bt, {
1905
+ "is-tax-included": d.value,
1695
1906
  "night-count": 0,
1696
1907
  price: u.hotelRoomOffer.price,
1697
1908
  "tax-included-price": u.hotelRoomOffer.taxIncludedPrice,
@@ -1705,7 +1916,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1705
1916
  })
1706
1917
  ]),
1707
1918
  errors: a(() => [
1708
- z.value && z.value < r.value ? (l(), S(Ze, {
1919
+ z.value && z.value < r.value ? (l(), S(We, {
1709
1920
  key: 0,
1710
1921
  class: "mb-0",
1711
1922
  color: "red",
@@ -1713,7 +1924,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1713
1924
  variant: "outlined"
1714
1925
  }, {
1715
1926
  default: a(() => [
1716
- h("p", Ko, C(p(s)("BBasketSummary.occupancyWarning", {
1927
+ h("p", Jo, C(p(i)("BBasketSummary.occupancyWarning", {
1717
1928
  guestCount: r.value
1718
1929
  })), 1)
1719
1930
  ]),
@@ -1730,36 +1941,36 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1730
1941
  onClick: g[1] || (g[1] = (H) => u.$emit("submit"))
1731
1942
  }, {
1732
1943
  default: a(() => [
1733
- u.isSuccessful ? I("", !0) : (l(), f("span", Qo, C(p(s)("BBasketSummary.book")), 1)),
1734
- ht(o(at, { class: "position-absolute" }, {
1944
+ u.isSuccessful ? I("", !0) : (l(), f("span", Xo, C(p(i)("BBasketSummary.book")), 1)),
1945
+ gt(o(at, { class: "position-absolute" }, {
1735
1946
  default: a(() => g[10] || (g[10] = [
1736
1947
  w(" fas fa-check ")
1737
1948
  ])),
1738
1949
  _: 1,
1739
1950
  __: [10]
1740
1951
  }, 512), [
1741
- [gt, u.isSuccessful]
1952
+ [yt, u.isSuccessful]
1742
1953
  ])
1743
1954
  ]),
1744
1955
  _: 1
1745
1956
  }, 8, ["color", "disabled", "loading"])
1746
1957
  ]),
1747
1958
  "cancellation-policies": a(() => [
1748
- u.hotelRoomOffer && u.hotelRoomOffer.cancellationPolicies.length ? (l(), S(to, {
1959
+ u.hotelRoomOffer && u.hotelRoomOffer.cancellationPolicies.length ? (l(), S(Xe, {
1749
1960
  key: 0,
1750
1961
  "cancellation-policies": R.value,
1751
1962
  "check-in-date": u.checkInDate,
1752
1963
  class: "text-caption",
1753
- timezone: u.hotelTimezone || p(uo)
1754
- }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (l(), f("span", Jo))
1964
+ timezone: u.hotelTimezone || p(ro)
1965
+ }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (l(), f("span", ta))
1755
1966
  ]),
1756
1967
  _: 1
1757
- })) : (l(), S(zt, { key: "empty" }, {
1968
+ })) : (l(), S(Dt, { key: "empty" }, {
1758
1969
  title: a(() => [
1759
- h("span", null, C(p(s)("BBasketSummary.title")), 1)
1970
+ h("span", null, C(p(i)("BBasketSummary.title")), 1)
1760
1971
  ]),
1761
1972
  "adult-count": a(() => [
1762
- w(C(p(s)("BBasketSummary.noSelection")), 1)
1973
+ w(C(p(i)("BBasketSummary.noSelection")), 1)
1763
1974
  ]),
1764
1975
  "secondary-title": a(() => g[2] || (g[2] = [
1765
1976
  h("span", null, null, -1)
@@ -1777,15 +1988,15 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1777
1988
  disabled: ""
1778
1989
  }, {
1779
1990
  default: a(() => [
1780
- u.isSuccessful ? I("", !0) : (l(), f("span", Uo, C(p(s)("BBasketSummary.book")), 1)),
1781
- ht(o(at, { class: "position-absolute" }, {
1991
+ u.isSuccessful ? I("", !0) : (l(), f("span", Fo, C(p(i)("BBasketSummary.book")), 1)),
1992
+ gt(o(at, { class: "position-absolute" }, {
1782
1993
  default: a(() => g[5] || (g[5] = [
1783
1994
  w(" fas fa-check ")
1784
1995
  ])),
1785
1996
  _: 1,
1786
1997
  __: [5]
1787
1998
  }, 512), [
1788
- [gt, u.isSuccessful]
1999
+ [yt, u.isSuccessful]
1789
2000
  ])
1790
2001
  ]),
1791
2002
  _: 1
@@ -1799,7 +2010,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-4631d14a"]]), zo = { cl
1799
2010
  ]));
1800
2011
  }
1801
2012
  });
1802
- function qt(t) {
2013
+ function zt(t) {
1803
2014
  const e = t;
1804
2015
  e.__i18n = e.__i18n || [], e.__i18n.push({
1805
2016
  locale: "",
@@ -1933,20 +2144,20 @@ function qt(t) {
1933
2144
  }
1934
2145
  });
1935
2146
  }
1936
- typeof qt == "function" && qt(Xt);
1937
- const Xo = {
2147
+ typeof zt == "function" && zt(te);
2148
+ const ea = {
1938
2149
  hotelId: {
1939
2150
  required: !0,
1940
2151
  type: String
1941
2152
  }
1942
- }, ta = x({
2153
+ }, oa = W({
1943
2154
  components: {
1944
- BBasketSummary: Xt,
1945
- HotelRoomOfferItem: Jt,
1946
- HotelRoomOfferItemLayout: _t
2155
+ BBasketSummary: te,
2156
+ HotelRoomOfferItem: Xt,
2157
+ HotelRoomOfferItemLayout: pt
1947
2158
  },
1948
2159
  computed: {
1949
- ...Oe(bt, ft),
2160
+ ...Se(bt, ft),
1950
2161
  adultCount() {
1951
2162
  return this.hotelRoomOfferRequest?.adultCount;
1952
2163
  },
@@ -1964,7 +2175,7 @@ const Xo = {
1964
2175
  "hotelRoomOffers/hotelRoomOffers",
1965
2176
  this.hotelId
1966
2177
  )?.offers?.filter(
1967
- (t) => t.type === Rt.HotelRoom
2178
+ (t) => t.type === Ot.HotelRoom
1968
2179
  ) || null;
1969
2180
  },
1970
2181
  hotelTimezone() {
@@ -2000,24 +2211,24 @@ const Xo = {
2000
2211
  this.isLoading = !1;
2001
2212
  },
2002
2213
  onBasketUpdate(t, e) {
2003
- const s = {
2214
+ const i = {
2004
2215
  count: e,
2005
2216
  hotelRoomId: t.hotelRooms[0].id,
2006
2217
  hotelRoomOfferId: t.id
2007
- }, i = this.basketContent.findIndex(
2008
- (n) => n.hotelRoomOfferId === s.hotelRoomOfferId
2218
+ }, s = this.basketContent.findIndex(
2219
+ (n) => n.hotelRoomOfferId === i.hotelRoomOfferId
2009
2220
  );
2010
- i === -1 ? e === 0 ? [
2011
- ...this.basketContent.slice(0, i),
2012
- ...this.basketContent.slice(i + 1)
2013
- ] : this.basketContent.splice(i, 1) : this.basketContent.push(s);
2221
+ s === -1 ? e === 0 ? [
2222
+ ...this.basketContent.slice(0, s),
2223
+ ...this.basketContent.slice(s + 1)
2224
+ ] : this.basketContent.splice(s, 1) : this.basketContent.push(i);
2014
2225
  },
2015
2226
  onBreakfastChange(t) {
2016
2227
  this.addBreakfast = t;
2017
2228
  },
2018
2229
  onDeleteRoom(t) {
2019
2230
  const e = this.basketContent.findIndex(
2020
- (s) => s.hotelRoomId === t.id
2231
+ (i) => i.hotelRoomId === t.id
2021
2232
  );
2022
2233
  this.basketContent[e].count = 0;
2023
2234
  },
@@ -2029,11 +2240,11 @@ const Xo = {
2029
2240
  }), await this.createHotelRoomOfferPackage(), this.isLoading = !1);
2030
2241
  }
2031
2242
  },
2032
- mixins: [Re, ao()],
2243
+ mixins: [Be, oo()],
2033
2244
  name: "HotelRoomOfferBasket",
2034
- props: Xo,
2245
+ props: ea,
2035
2246
  setup() {
2036
- const { t } = Y();
2247
+ const { t } = tt();
2037
2248
  return {
2038
2249
  t
2039
2250
  };
@@ -2046,7 +2257,7 @@ const Xo = {
2046
2257
  deep: !0,
2047
2258
  handler(t) {
2048
2259
  t.reduce(
2049
- (s, i) => s + i.count,
2260
+ (i, s) => i + s.count,
2050
2261
  0
2051
2262
  ) === 0 ? this.newCreatedPackage = void 0 : this.createHotelRoomOfferPackage();
2052
2263
  },
@@ -2064,8 +2275,8 @@ const Xo = {
2064
2275
  }
2065
2276
  }
2066
2277
  });
2067
- function ea(t, e, s, i, n, k) {
2068
- const d = ot("HotelRoomOfferItem"), r = ot("BBasketSummary");
2278
+ function aa(t, e, i, s, n, v) {
2279
+ const m = ot("HotelRoomOfferItem"), r = ot("BBasketSummary");
2069
2280
  return l(), S(P, { "no-gutters": "" }, {
2070
2281
  default: a(() => [
2071
2282
  o(y, {
@@ -2073,17 +2284,17 @@ function ea(t, e, s, i, n, k) {
2073
2284
  md: "8"
2074
2285
  }, {
2075
2286
  default: a(() => [
2076
- t.hotelRoomOffers.length && t.basketContent.length ? (l(!0), f(B, { key: 0 }, W(t.hotelRoomOffers, (v, m) => (l(), f(B, null, [
2077
- m > 0 ? (l(), S(Q, { key: 0 })) : I("", !0),
2078
- o(d, q({
2079
- modelValue: t.basketContent[m].count,
2080
- "onUpdate:modelValue": (T) => t.basketContent[m].count = T
2081
- }, { ref_for: !0 }, v), null, 16, ["modelValue", "onUpdate:modelValue"])
2287
+ t.hotelRoomOffers.length && t.basketContent.length ? (l(!0), f(B, { key: 0 }, G(t.hotelRoomOffers, (k, d) => (l(), f(B, null, [
2288
+ d > 0 ? (l(), S(K, { key: 0 })) : I("", !0),
2289
+ o(m, q({
2290
+ modelValue: t.basketContent[d].count,
2291
+ "onUpdate:modelValue": (T) => t.basketContent[d].count = T
2292
+ }, { ref_for: !0 }, k), null, 16, ["modelValue", "onUpdate:modelValue"])
2082
2293
  ], 64))), 256)) : I("", !0)
2083
2294
  ]),
2084
2295
  _: 1
2085
2296
  }),
2086
- o(Q, {
2297
+ o(K, {
2087
2298
  class: "d-none d-md-block",
2088
2299
  vertical: ""
2089
2300
  }),
@@ -2093,7 +2304,7 @@ function ea(t, e, s, i, n, k) {
2093
2304
  md: "4"
2094
2305
  }, {
2095
2306
  default: a(() => [
2096
- o(Q, { class: "d-block d-md-none my-2" }),
2307
+ o(K, { class: "d-block d-md-none my-2" }),
2097
2308
  o(r, q(t.newCreatedPackage, {
2098
2309
  "adult-count": t.adultCount,
2099
2310
  "hotel-timezone": t.hotelTimezone,
@@ -2111,55 +2322,39 @@ function ea(t, e, s, i, n, k) {
2111
2322
  _: 1
2112
2323
  });
2113
2324
  }
2114
- const oa = /* @__PURE__ */ it(ta, [["render", ea], ["__scopeId", "data-v-ee0e3c98"]]), aa = x({
2115
- components: {
2116
- BPriceSummarySkeleton: Bt
2117
- },
2118
- mixins: [jt],
2119
- name: "HotelRoomOfferLayout",
2120
- props: {
2121
- boilerplate: { type: Boolean }
2122
- },
2123
- setup() {
2124
- const { t } = Y();
2125
- return {
2126
- t
2127
- };
2128
- }
2129
- }), te = /* @__PURE__ */ x({
2325
+ const sa = /* @__PURE__ */ ct(oa, [["render", aa], ["__scopeId", "data-v-ee0e3c98"]]), ee = /* @__PURE__ */ W({
2130
2326
  __name: "HotelRoomOfferListEmpty",
2131
2327
  props: {
2132
- boilerplateSkeleton: { type: Boolean },
2328
+ boilerplateSkeleton: { type: Boolean, default: !1 },
2133
2329
  itemCount: { default: 3 },
2134
2330
  type: {}
2135
2331
  },
2136
2332
  setup(t) {
2137
- const { t: e } = Y();
2138
- return (s, i) => (l(), f("div", null, [
2139
- (l(!0), f(B, null, W(s.itemCount, (n) => (l(), f(B, { key: n }, [
2140
- n > 1 ? (l(), S(Q, { key: 0 })) : I("", !0),
2141
- o(p(aa), {
2142
- boilerplate: s.boilerplateSkeleton,
2143
- class: yt({ "mt-0": n === 1, "mb-0": n === 3 })
2144
- }, null, 8, ["boilerplate", "class"])
2333
+ const { t: e } = tt();
2334
+ return (i, s) => (l(), f("div", null, [
2335
+ (l(!0), f(B, null, G(i.itemCount, (n) => (l(), f(B, { key: n }, [
2336
+ n > 1 ? (l(), S(K, { key: 0 })) : I("", !0),
2337
+ o(pt, {
2338
+ class: Rt({ "mt-0": n === 1, "mb-0": n === 3 })
2339
+ }, null, 8, ["class"])
2145
2340
  ], 64))), 128)),
2146
- s.type ? (l(), S(St, {
2341
+ i.type ? (l(), S(St, {
2147
2342
  key: 0,
2148
2343
  "min-height": "300px",
2149
2344
  "z-index": 50
2150
2345
  }, {
2151
2346
  title: a(() => [
2152
- w(C(p(e)(`HotelRoomOfferListEmpty.${s.type}.title`)), 1)
2347
+ w(C(p(e)(`HotelRoomOfferListEmpty.${i.type}.title`)), 1)
2153
2348
  ]),
2154
2349
  description: a(() => [
2155
- w(C(p(e)(`HotelRoomOfferListEmpty.${s.type}.description`)), 1)
2350
+ w(C(p(e)(`HotelRoomOfferListEmpty.${i.type}.description`)), 1)
2156
2351
  ]),
2157
2352
  _: 1
2158
2353
  })) : I("", !0)
2159
2354
  ]));
2160
2355
  }
2161
2356
  });
2162
- function Mt(t) {
2357
+ function qt(t) {
2163
2358
  const e = t;
2164
2359
  e.__i18n = e.__i18n || [], e.__i18n.push({
2165
2360
  locale: "",
@@ -2279,71 +2474,71 @@ function Mt(t) {
2279
2474
  }
2280
2475
  });
2281
2476
  }
2282
- typeof Mt == "function" && Mt(te);
2283
- const ee = {
2477
+ typeof qt == "function" && qt(ee);
2478
+ const oe = {
2284
2479
  OnlyMatchingRoomCount: !1
2285
- }, sa = {
2286
- ...Pe,
2480
+ }, ia = {
2481
+ ...we,
2287
2482
  features: {
2288
- default: () => ee,
2483
+ default: () => oe,
2289
2484
  type: [Object, String]
2290
2485
  },
2291
2486
  limit: {
2292
2487
  default: () => 0,
2293
2488
  type: Number
2294
2489
  }
2295
- }, oe = x({
2490
+ }, ae = W({
2296
2491
  components: {
2297
2492
  BErrorOverlay: St,
2298
- HotelRoomOfferBasket: oa,
2299
- HotelRoomOfferItem: Jt,
2300
- HotelRoomOfferItemLayout: _t,
2301
- HotelRoomOfferListEmpty: te
2493
+ HotelRoomOfferBasket: sa,
2494
+ HotelRoomOfferItem: Xt,
2495
+ HotelRoomOfferItemLayout: pt,
2496
+ HotelRoomOfferListEmpty: ee
2302
2497
  },
2303
2498
  name: "HotelRoomOfferList",
2304
- props: sa,
2499
+ props: ia,
2305
2500
  // eslint-disable-next-line max-lines-per-function
2306
2501
  setup(t) {
2307
- const { t: e } = Y(), s = ft(), i = bt(), n = F(null), k = F(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), d = so({
2308
- fallbackValue: ee,
2502
+ const { t: e } = tt(), i = ft(), s = bt(), n = j(null), v = j(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), m = ao({
2503
+ fallbackValue: oe,
2309
2504
  prop: b(() => t.features)
2310
- }), r = (_) => _.hotelRooms.reduce(($, j) => $ + j.count, 0), v = b(() => i.hotelRoomOfferRequest(t.hotelId)), m = b(
2311
- () => s.hotelRoomOffers(t.hotelId)
2505
+ }), r = (_) => _.hotelRooms.reduce(($, F) => $ + F.count, 0), k = b(() => s.hotelRoomOfferRequest(t.hotelId)), d = b(
2506
+ () => i.hotelRoomOffers(t.hotelId)
2312
2507
  ), T = b(
2313
- () => !!(v.value?.hasError || m.value?.hasError)
2508
+ () => !!(k.value?.hasError || d.value?.hasError)
2314
2509
  ), A = b(
2315
- () => m.value?.offers?.filter(
2316
- (_) => _.type === Rt.HotelRoom
2510
+ () => d.value?.offers?.filter(
2511
+ (_) => _.type === Ot.HotelRoom
2317
2512
  ) || []
2318
2513
  ), R = b(() => {
2319
- const _ = m.value?.offers?.filter(
2320
- ($) => $.type === Rt.Package
2321
- ).filter(($) => d.value?.OnlyMatchingRoomCount ? r($) === v.value?.roomCount : !0);
2514
+ const _ = d.value?.offers?.filter(
2515
+ ($) => $.type === Ot.Package
2516
+ ).filter(($) => m.value?.OnlyMatchingRoomCount ? r($) === k.value?.roomCount : !0);
2322
2517
  return _?.slice(0, t.limit || _.length) || [];
2323
2518
  }), z = b(
2324
- () => !!m.value?.isPolling && !!R.value?.length
2519
+ () => !!d.value?.isPolling && !!R.value?.length
2325
2520
  ), u = b(
2326
- () => !v.value?.id || (!!v.value?.isFetching || !!m.value?.isPolling) && !R.value?.length
2521
+ () => !k.value?.id || (!!k.value?.isFetching || !!d.value?.isPolling) && !R.value?.length
2327
2522
  ), g = async ({
2328
2523
  addBreakfast: _,
2329
2524
  hotelId: $,
2330
- id: j
2525
+ id: F
2331
2526
  }) => {
2332
- await s.reifyHotelRoomOffer({
2527
+ await i.reifyHotelRoomOffer({
2333
2528
  addBreakfast: _,
2334
2529
  hotelId: $,
2335
- id: j
2530
+ id: F
2336
2531
  });
2337
2532
  }, H = async (_) => {
2338
- if (!v.value?.id) {
2339
- s.resetHotelRoomOffers({
2533
+ if (!k.value?.id) {
2534
+ i.resetHotelRoomOffers({
2340
2535
  hotelId: t.hotelId
2341
2536
  });
2342
2537
  return;
2343
2538
  }
2344
- await s.retrieveHotelRoomOffers({
2539
+ await i.retrieveHotelRoomOffers({
2345
2540
  hotelId: t.hotelId,
2346
- hotelRoomOfferRequestId: v.value.id,
2541
+ hotelRoomOfferRequestId: k.value.id,
2347
2542
  inProgressHotelRoomOfferIds: _
2348
2543
  });
2349
2544
  };
@@ -2351,13 +2546,13 @@ const ee = {
2351
2546
  await H([_]);
2352
2547
  }
2353
2548
  D(
2354
- () => v.value?.id,
2549
+ () => k.value?.id,
2355
2550
  async () => {
2356
2551
  await H();
2357
2552
  },
2358
2553
  { immediate: !0 }
2359
2554
  );
2360
- const { bookingApiClient: M, config: N } = Ce();
2555
+ const { bookingApiClient: M, config: N } = Ie();
2361
2556
  D(
2362
2557
  () => [M.value, N.value.currency, N.value.lang],
2363
2558
  async () => {
@@ -2365,7 +2560,7 @@ const ee = {
2365
2560
  },
2366
2561
  { immediate: !0 }
2367
2562
  );
2368
- const Z = Oo({
2563
+ const Y = Po({
2369
2564
  adultCount: t.adultCount,
2370
2565
  checkInDate: t.checkInDate,
2371
2566
  checkOutDate: t.checkOutDate,
@@ -2383,13 +2578,13 @@ const ee = {
2383
2578
  showSkeleton: u,
2384
2579
  t: e,
2385
2580
  tab: n,
2386
- tabItems: k,
2387
- ...Z,
2581
+ tabItems: v,
2582
+ ...Y,
2388
2583
  onBookingPolicyFailed: E
2389
2584
  };
2390
2585
  }
2391
2586
  });
2392
- function Nt(t) {
2587
+ function Mt(t) {
2393
2588
  const e = t;
2394
2589
  e.__i18n = e.__i18n || [], e.__i18n.push({
2395
2590
  locale: "",
@@ -2467,281 +2662,57 @@ function Nt(t) {
2467
2662
  }
2468
2663
  });
2469
2664
  }
2470
- const wt = Symbol.for("vuetify:v-tabs"), ia = ut({
2471
- fixed: Boolean,
2472
- sliderColor: String,
2473
- hideSlider: Boolean,
2474
- direction: {
2475
- type: String,
2476
- default: "horizontal"
2477
- },
2478
- ...Ft(Ke({
2479
- selectedClass: "v-tab--selected",
2480
- variant: "text"
2481
- }), ["active", "block", "flat", "location", "position", "symbol"])
2482
- }, "VTab"), ae = rt()({
2483
- name: "VTab",
2484
- props: ia(),
2485
- setup(t, e) {
2486
- let {
2487
- slots: s,
2488
- attrs: i
2489
- } = e;
2490
- const {
2491
- textColorClasses: n,
2492
- textColorStyles: k
2493
- } = Ee(t, "sliderColor"), d = F(), r = F(), v = b(() => t.direction === "horizontal"), m = b(() => d.value?.group?.isSelected.value ?? !1);
2494
- function T(A) {
2495
- let {
2496
- value: R
2497
- } = A;
2498
- if (R) {
2499
- const z = d.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), u = r.value;
2500
- if (!z || !u) return;
2501
- const g = getComputedStyle(z).color, H = z.getBoundingClientRect(), E = u.getBoundingClientRect(), M = v.value ? "x" : "y", N = v.value ? "X" : "Y", Z = v.value ? "right" : "bottom", _ = v.value ? "width" : "height", $ = H[M], j = E[M], U = $ > j ? H[Z] - E[Z] : H[M] - E[M], nt = Math.sign(U) > 0 ? v.value ? "right" : "bottom" : Math.sign(U) < 0 ? v.value ? "left" : "top" : "center", J = (Math.abs(U) + (Math.sign(U) < 0 ? H[_] : E[_])) / Math.max(H[_], E[_]) || 0, c = H[_] / E[_] || 0, V = 1.5;
2502
- Ve(u, {
2503
- backgroundColor: [g, "currentcolor"],
2504
- transform: [`translate${N}(${U}px) scale${N}(${c})`, `translate${N}(${U / V}px) scale${N}(${(J - 1) / V + 1})`, "none"],
2505
- transformOrigin: Array(3).fill(nt)
2506
- }, {
2507
- duration: 225,
2508
- easing: Ae
2509
- });
2510
- }
2511
- }
2512
- return ct(() => {
2513
- const A = st.filterProps(t);
2514
- return o(st, q({
2515
- symbol: wt,
2516
- ref: d,
2517
- class: ["v-tab", t.class],
2518
- style: t.style,
2519
- tabindex: m.value ? 0 : -1,
2520
- role: "tab",
2521
- "aria-selected": String(m.value),
2522
- active: !1
2523
- }, A, i, {
2524
- block: t.fixed,
2525
- maxWidth: t.fixed ? 300 : void 0,
2526
- "onGroup:selected": T
2527
- }), {
2528
- ...s,
2529
- default: () => o(B, null, [s.default?.() ?? t.text, !t.hideSlider && o("div", {
2530
- ref: r,
2531
- class: ["v-tab__slider", n.value],
2532
- style: k.value
2533
- }, null)])
2534
- });
2535
- }), io({}, d);
2536
- }
2537
- }), na = ut({
2538
- ...Ft(no(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
2539
- }, "VTabsWindow"), se = rt()({
2540
- name: "VTabsWindow",
2541
- props: na(),
2542
- emits: {
2543
- "update:modelValue": (t) => !0
2544
- },
2545
- setup(t, e) {
2546
- let {
2547
- slots: s
2548
- } = e;
2549
- const i = Be(wt, null), n = mt(t, "modelValue"), k = b({
2550
- get() {
2551
- return n.value != null || !i ? n.value : i.items.value.find((d) => i.selected.value.includes(d.id))?.value;
2552
- },
2553
- set(d) {
2554
- n.value = d;
2555
- }
2556
- });
2557
- return ct(() => {
2558
- const d = Et.filterProps(t);
2559
- return o(Et, q({
2560
- _as: "VTabsWindow"
2561
- }, d, {
2562
- modelValue: k.value,
2563
- "onUpdate:modelValue": (r) => k.value = r,
2564
- class: ["v-tabs-window", t.class],
2565
- style: t.style,
2566
- mandatory: !1,
2567
- touch: !1
2568
- }), s);
2569
- }), {};
2570
- }
2571
- }), la = ut({
2572
- ...lo()
2573
- }, "VTabsWindowItem"), Ct = rt()({
2574
- name: "VTabsWindowItem",
2575
- props: la(),
2576
- setup(t, e) {
2577
- let {
2578
- slots: s
2579
- } = e;
2580
- return ct(() => {
2581
- const i = Vt.filterProps(t);
2582
- return o(Vt, q({
2583
- _as: "VTabsWindowItem"
2584
- }, i, {
2585
- class: ["v-tabs-window-item", t.class],
2586
- style: t.style
2587
- }), s);
2588
- }), {};
2589
- }
2590
- });
2591
- function ra(t) {
2592
- return t ? t.map((e) => _e(e) ? e : {
2593
- text: e,
2594
- value: e
2595
- }) : [];
2596
- }
2597
- const ua = ut({
2598
- alignTabs: {
2599
- type: String,
2600
- default: "start"
2601
- },
2602
- color: String,
2603
- fixedTabs: Boolean,
2604
- items: {
2605
- type: Array,
2606
- default: () => []
2607
- },
2608
- stacked: Boolean,
2609
- bgColor: String,
2610
- grow: Boolean,
2611
- height: {
2612
- type: [Number, String],
2613
- default: void 0
2614
- },
2615
- hideSlider: Boolean,
2616
- sliderColor: String,
2617
- ...ro({
2618
- mandatory: "force",
2619
- selectedClass: "v-tab-item--selected"
2620
- }),
2621
- ...Fe(),
2622
- ...De()
2623
- }, "VTabs"), ca = rt()({
2624
- name: "VTabs",
2625
- props: ua(),
2626
- emits: {
2627
- "update:modelValue": (t) => !0
2628
- },
2629
- setup(t, e) {
2630
- let {
2631
- attrs: s,
2632
- slots: i
2633
- } = e;
2634
- const n = mt(t, "modelValue"), k = b(() => ra(t.items)), {
2635
- densityClasses: d
2636
- } = je(t), {
2637
- backgroundColorClasses: r,
2638
- backgroundColorStyles: v
2639
- } = Le(tt(t, "bgColor")), {
2640
- scopeId: m
2641
- } = $e();
2642
- return Se({
2643
- VTab: {
2644
- color: tt(t, "color"),
2645
- direction: tt(t, "direction"),
2646
- stacked: tt(t, "stacked"),
2647
- fixed: tt(t, "fixedTabs"),
2648
- sliderColor: tt(t, "sliderColor"),
2649
- hideSlider: tt(t, "hideSlider")
2650
- }
2651
- }), ct(() => {
2652
- const T = At.filterProps(t), A = !!(i.window || t.items.length > 0);
2653
- return o(B, null, [o(At, q(T, {
2654
- modelValue: n.value,
2655
- "onUpdate:modelValue": (R) => n.value = R,
2656
- class: ["v-tabs", `v-tabs--${t.direction}`, `v-tabs--align-tabs-${t.alignTabs}`, {
2657
- "v-tabs--fixed-tabs": t.fixedTabs,
2658
- "v-tabs--grow": t.grow,
2659
- "v-tabs--stacked": t.stacked
2660
- }, d.value, r.value, t.class],
2661
- style: [{
2662
- "--v-tabs-height": Ie(t.height)
2663
- }, v.value, t.style],
2664
- role: "tablist",
2665
- symbol: wt
2666
- }, m, s), {
2667
- default: () => [i.default?.() ?? k.value.map((R) => i.tab?.({
2668
- item: R
2669
- }) ?? o(ae, q(R, {
2670
- key: R.text,
2671
- value: R.value
2672
- }), {
2673
- default: i[`tab.${R.value}`] ? () => i[`tab.${R.value}`]?.({
2674
- item: R
2675
- }) : void 0
2676
- }))]
2677
- }), A && o(se, q({
2678
- modelValue: n.value,
2679
- "onUpdate:modelValue": (R) => n.value = R,
2680
- key: "tabs-window"
2681
- }, m), {
2682
- default: () => [k.value.map((R) => i.item?.({
2683
- item: R
2684
- }) ?? o(Ct, {
2685
- value: R.value
2686
- }, {
2687
- default: () => i[`item.${R.value}`]?.({
2688
- item: R
2689
- })
2690
- })), i.window?.()]
2691
- })]);
2692
- }), {};
2693
- }
2694
- }), da = { class: "bg-white" }, ma = { key: 0 };
2695
- function fa(t, e, s, i, n, k) {
2696
- const d = ot("HotelRoomOfferListEmpty"), r = ot("HotelRoomOfferItem"), v = ot("HotelRoomOfferBasket");
2697
- return l(), f("div", da, [
2665
+ const na = { class: "bg-white" }, la = { key: 0 };
2666
+ function ra(t, e, i, s, n, v) {
2667
+ const m = ot("HotelRoomOfferListEmpty"), r = ot("HotelRoomOfferItem"), k = ot("HotelRoomOfferBasket");
2668
+ return l(), f("div", na, [
2698
2669
  t.isBookingApiClientDefined ? (l(), f(B, { key: 1 }, [
2699
- t.hasError ? (l(), S(d, {
2670
+ t.hasError ? (l(), S(m, {
2700
2671
  key: "error",
2701
2672
  boilerplate: "",
2702
2673
  type: "internalError"
2703
- })) : t.showSkeleton ? (l(), S(d, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (l(), f(B, { key: 2 }, [
2704
- t.hotelRoomHotelRoomOffers.length ? I("", !0) : (l(), f("div", ma)),
2705
- t.isLoading ? (l(), S(xe, {
2674
+ })) : t.showSkeleton ? (l(), S(m, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (l(), f(B, { key: 2 }, [
2675
+ t.hotelRoomHotelRoomOffers.length ? I("", !0) : (l(), f("div", la)),
2676
+ t.isLoading ? (l(), S(je, {
2706
2677
  key: 1,
2707
2678
  class: "loader position-absolute",
2708
2679
  color: "secondary",
2709
2680
  indeterminate: ""
2710
2681
  })) : I("", !0),
2711
2682
  t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (l(), f(B, { key: 2 }, [
2712
- o(ca, {
2683
+ o(Oo, {
2713
2684
  color: "primary",
2714
2685
  density: "compact",
2715
2686
  modelValue: t.tab,
2716
- "onUpdate:modelValue": e[0] || (e[0] = (m) => t.tab = m),
2687
+ "onUpdate:modelValue": e[0] || (e[0] = (d) => t.tab = d),
2717
2688
  grow: ""
2718
2689
  }, {
2719
2690
  default: a(() => [
2720
- (l(!0), f(B, null, W(t.tabItems, (m) => (l(), f(B, { key: m }, [
2721
- o(ae, null, {
2691
+ (l(!0), f(B, null, G(t.tabItems, (d) => (l(), f(B, { key: d }, [
2692
+ o(Wt, null, {
2722
2693
  default: a(() => [
2723
- w(C(t.t(`HotelRoomOfferList.${m}.title`)), 1)
2694
+ w(C(t.t(`HotelRoomOfferList.${d}.title`)), 1)
2724
2695
  ]),
2725
2696
  _: 2
2726
2697
  }, 1024),
2727
- o(Q, { vertical: "" })
2698
+ o(K, { vertical: "" })
2728
2699
  ], 64))), 128))
2729
2700
  ]),
2730
2701
  _: 1
2731
2702
  }, 8, ["modelValue"]),
2732
- o(se, {
2703
+ o(Yt, {
2733
2704
  modelValue: t.tab,
2734
- "onUpdate:modelValue": e[1] || (e[1] = (m) => t.tab = m),
2705
+ "onUpdate:modelValue": e[1] || (e[1] = (d) => t.tab = d),
2735
2706
  class: "overflow-visible"
2736
2707
  }, {
2737
2708
  default: a(() => [
2738
2709
  o(Ct, { class: "pt-3" }, {
2739
2710
  default: a(() => [
2740
- (l(!0), f(B, null, W(t.packageHotelRoomOffers, (m, T) => (l(), f(B, {
2741
- key: m.id
2711
+ (l(!0), f(B, null, G(t.packageHotelRoomOffers, (d, T) => (l(), f(B, {
2712
+ key: d.id
2742
2713
  }, [
2743
- T > 0 ? (l(), S(Q, { key: 0 })) : I("", !0),
2744
- o(r, q({ ref_for: !0 }, m, {
2714
+ T > 0 ? (l(), S(K, { key: 0 })) : I("", !0),
2715
+ o(r, q({ ref_for: !0 }, d, {
2745
2716
  onBreakfastChange: t.onBreakfastChange,
2746
2717
  onBookingPolicyFailed: t.onBookingPolicyFailed
2747
2718
  }), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
@@ -2751,23 +2722,23 @@ function fa(t, e, s, i, n, k) {
2751
2722
  }),
2752
2723
  o(Ct, { class: "pt-3 pb-5" }, {
2753
2724
  default: a(() => [
2754
- o(v, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
2725
+ o(k, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
2755
2726
  ]),
2756
2727
  _: 1
2757
2728
  })
2758
2729
  ]),
2759
2730
  _: 1
2760
2731
  }, 8, ["modelValue"])
2761
- ], 64)) : (l(!0), f(B, { key: 3 }, W(t.packageHotelRoomOffers, (m, T) => (l(), f(B, {
2762
- key: m.id
2732
+ ], 64)) : (l(!0), f(B, { key: 3 }, G(t.packageHotelRoomOffers, (d, T) => (l(), f(B, {
2733
+ key: d.id
2763
2734
  }, [
2764
- T > 0 ? (l(), S(Q, { key: 0 })) : I("", !0),
2765
- o(r, q({ ref_for: !0 }, m, {
2735
+ T > 0 ? (l(), S(K, { key: 0 })) : I("", !0),
2736
+ o(r, q({ ref_for: !0 }, d, {
2766
2737
  onBreakfastChange: t.onBreakfastChange,
2767
2738
  onBookingPolicyFailed: t.onBookingPolicyFailed
2768
2739
  }), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
2769
2740
  ], 64))), 128))
2770
- ], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (l(), S(d, {
2741
+ ], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (l(), S(m, {
2771
2742
  key: "skeleton",
2772
2743
  boilerplate: "",
2773
2744
  type: "noResults"
@@ -2775,14 +2746,14 @@ function fa(t, e, s, i, n, k) {
2775
2746
  ], 64)) : (l(), f(B, { key: 0 }, [], 64))
2776
2747
  ]);
2777
2748
  }
2778
- typeof Nt == "function" && Nt(oe);
2779
- const Na = /* @__PURE__ */ it(oe, [["render", fa], ["__scopeId", "data-v-e71fbea6"]]);
2780
- ne("css/revolugo.hotelroomofferlist.BYvQZ5P2.css");
2749
+ typeof Mt == "function" && Mt(ae);
2750
+ const $a = /* @__PURE__ */ ct(ae, [["render", ra], ["__scopeId", "data-v-e71fbea6"]]);
2751
+ ie("css/revolugo.hotelroomofferlist.C1uw1vfC.css");
2781
2752
  export {
2782
- Ot as B,
2783
- Na as H,
2784
- ee as a,
2785
- sa as h,
2786
- bo as r
2753
+ Bt as B,
2754
+ $a as H,
2755
+ oe as a,
2756
+ ia as h,
2757
+ fo as r
2787
2758
  };
2788
- //# sourceMappingURL=revolugo.hotelroomofferlist.DfyLQMo3.min.js.map
2759
+ //# sourceMappingURL=revolugo.hotelroomofferlist.BYjhiVd9.min.js.map