@revolugo/elements 6.7.3 → 6.8.0-beta.1

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 (113) hide show
  1. package/dist/index.es.min.js +2622 -2554
  2. package/dist/index.es.min.js.map +1 -1
  3. package/dist/index.min.js +6 -6
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/revolugo._basefor.CodrYJxd.min.js +15 -0
  6. package/dist/{revolugo.banktransferdetails.arP5j__o.min.js → revolugo.banktransferdetails.D70RTc43.min.js} +24 -23
  7. package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.B8BqSfrk.min.js} +121 -6
  8. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.TjFyJK3o.min.js +61 -0
  9. package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.DeYwgC-X.min.js} +173 -169
  10. package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.qOkb7bF4.min.js} +169 -241
  11. package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.DS8JMdFX.min.js} +77 -76
  12. package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.EmC1mHXe.min.js} +36 -36
  13. package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.OgMINhMq.min.js} +184 -202
  14. package/dist/revolugo.bookingdetailssidebar.lJaJEdFg.min.js +24 -0
  15. package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.m08SYP86.min.js} +51 -48
  16. package/dist/revolugo.bpricesummaryskeleton.T6fWvVKX.min.js +79 -0
  17. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.M46KdeWM.min.js} +28 -27
  18. package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.Cd9RL-Se.min.js} +70 -69
  19. package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BAWLhoFE.min.js} +51 -70
  20. package/dist/revolugo.cancellationpoliciesbadge.x9SgSKRO.min.js +24 -0
  21. package/dist/revolugo.cancellationpolicieslist.CXEi_O_B.min.js +24 -0
  22. package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.kh5sahhd.min.js} +28 -47
  23. package/dist/revolugo.case-transformers.DfCc1sKY.min.js +123 -0
  24. package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
  25. package/dist/revolugo.creditcardform.Cz_EExR3.min.js +24 -0
  26. package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.ZqPrv4K6.min.js} +652 -903
  27. package/dist/revolugo.creditcardpayment.C47xZXR4.min.js +24 -0
  28. package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.olC2sHv8.min.js} +138 -154
  29. package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.D44ks2e0.min.js} +19 -18
  30. package/dist/revolugo.currencypickerbtn.C2gt2Wvi.min.js +24 -0
  31. package/dist/revolugo.currencypickerbtn.Da2NhlAu.min.js +163 -0
  32. package/dist/revolugo.dialog-attach.C_5QvJAn.min.js +28 -0
  33. package/dist/revolugo.dialog-transition.ksNwOfBf.min.js +114 -0
  34. package/dist/revolugo.fastbookingflow.BIb9TBpX.min.js +34 -0
  35. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
  36. package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.BVg0Q886.min.js} +77 -75
  37. package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.BoCEWA7i.min.js} +363 -379
  38. package/dist/revolugo.hoteldescriptionview.DflBNZtA.min.js +24 -0
  39. package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.B954A8ZU.min.js} +9 -9
  40. package/dist/revolugo.hotelofferlist.DkUtJZ29.min.js +24 -0
  41. package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.VpDpWMAm.min.js} +1158 -1176
  42. package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.CrrP-Mjf.min.js} +7 -7
  43. package/dist/revolugo.hoteloffersearchmenu.BD26Zl70.min.js +46 -0
  44. package/dist/revolugo.hoteloffersmap.599v6DtH.min.js +8394 -0
  45. package/dist/revolugo.hoteloffersmap.O73rRIrY.min.js +24 -0
  46. package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.BSuaPamT.min.js} +161 -176
  47. package/dist/revolugo.hoteloffersview.uFcA-Q8V.min.js +19 -0
  48. package/dist/revolugo.hotelroomofferlist.047wvmlm.min.js +24 -0
  49. package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.hNh95LPc.min.js} +468 -485
  50. package/dist/revolugo.hotelroomofferrequestcreator.props.Ch20MI-1.min.js +171 -0
  51. package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.CIga3epB.min.js} +40 -39
  52. package/dist/revolugo.hotelroomoffersearchmenu.BqPoCOJV.min.js +25 -0
  53. package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.SXEmMWNu.min.js} +29 -49
  54. package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.C29cidjz.min.js} +71 -91
  55. package/dist/revolugo.hotelroomoffersview.gzfKsSHa.min.js +24 -0
  56. package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.BaBMFwcZ.min.js} +6 -6
  57. package/dist/revolugo.index.MUWumuM5.min.js +1037 -0
  58. package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.hcj2tBQa.min.js} +12976 -13227
  59. package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.CTF21wTY.min.js} +15 -15
  60. package/dist/revolugo.langpickerbtn.DMWudtGn.min.js +24 -0
  61. package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.E0CLTwCX.min.js} +53 -71
  62. package/dist/revolugo.min.js +1 -1
  63. package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.mEwvDkCr.min.js} +45 -44
  64. package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.BcktaxEc.min.js} +94 -114
  65. package/dist/revolugo.prebookform.Bi-sWZL0.min.js +24 -0
  66. package/dist/revolugo.roominglisteditor.BgDPCfkP.min.js +24 -0
  67. package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.jO9FT_rG.min.js} +82 -101
  68. package/dist/revolugo.rounded.DGGd6U47.min.js +68 -0
  69. package/dist/revolugo.ssrboot.RImRxJU9.min.js +18 -0
  70. package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.cK-_oh_-.min.js} +110 -108
  71. package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.Bf8tOgI4.min.js} +90 -108
  72. package/dist/revolugo.termsandconditions.DrrQwLEt.min.js +23 -0
  73. package/dist/revolugo.use-breakpoint-service.C55UqJ8N.min.js +106 -0
  74. package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.X5OrrUPl.min.js} +133 -132
  75. package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.BeCXlcev.min.js} +33 -32
  76. package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.DSYh8Plf.min.js} +82 -81
  77. package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.DrUjDHZJ.min.js} +50 -49
  78. package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.-WD79m_3.min.js} +72 -71
  79. package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.C40-fld0.min.js} +26 -25
  80. package/dist/revolugo.vdivider.C8qKKweh.min.js +77 -0
  81. package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.CPfBybl9.min.js} +42 -41
  82. package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Bxkhj0tA.min.js} +15 -15
  83. package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.DkrPzK9V.min.js} +91 -91
  84. package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.Ra8-PR0S.min.js} +5 -5
  85. package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.hjMTQUm_.min.js} +90 -88
  86. package/dist/revolugo.vmenu.Df9qQOg5.min.js +152 -0
  87. package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.D58BjYst.min.js} +133 -132
  88. package/dist/revolugo.vsheet.Be5_uKvN.min.js +72 -0
  89. package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.DLz_sBeT.min.js} +14 -13
  90. package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.DmI3K8dZ.min.js} +46 -44
  91. package/dist/revolugo.vspacer.D1ff4Ue6.min.js +7 -0
  92. package/dist/revolugo.vtextarea.CE2P777C.min.js +2102 -0
  93. package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.B3H-uARB.min.js} +109 -107
  94. package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.ZaD9QMMg.min.js} +21 -20
  95. package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.CiaW90fk.min.js} +118 -109
  96. package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.BjNUE921.min.js} +41 -41
  97. package/dist/revolugo.watch-list.BLmFRUgU.min.js +16 -0
  98. package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.D7s9Wt1u.min.js} +484 -541
  99. package/package.json +5 -5
  100. package/dist/revolugo.currencypickerbtn.D02DHRmR.min.js +0 -181
  101. package/dist/revolugo.dialog-transition.DyO6FFbo.min.js +0 -216
  102. package/dist/revolugo.hoteloffersearchmenu.CQyxBtRu.min.js +0 -46
  103. package/dist/revolugo.hoteloffersmap.Bp9l3_9T.min.js +0 -8409
  104. package/dist/revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js +0 -317
  105. package/dist/revolugo.index.Ds7GPsGI.min.js +0 -1127
  106. package/dist/revolugo.ssrboot.DrkbeeFe.min.js +0 -91
  107. package/dist/revolugo.vsheet.BeVVp2B7.min.js +0 -71
  108. package/dist/revolugo.vspacer.B9TRu3hb.min.js +0 -14
  109. package/dist/revolugo.vtextarea.DQrxw1ua.min.js +0 -2093
  110. /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
  111. /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
  112. /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
  113. /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -1,24 +1,28 @@
1
- import { u as pt, h as le } from "./revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js";
2
- import { bH as bt, r as x, bI as Q, J as p, j as K, G as tt, K as f, q as I, M as v, O as C, ay as L, c as o, ao as T, Q as B, v as l, a7 as re, V as U, b7 as ue, aj as ce, n as S, w as a, N as z, s as A, a as it, p as lt, S as mt, U as de, aw as me, aA as fe, C as G, bJ as ct, D as gt, F as yt, x as Nt, y as Ut, P as J, aH as pe, aq as be, bK as Pt, aU as ht, b1 as _t, a$ as ke, aQ as ve, b0 as he, R as Rt, bL as ge, k as ye, bM as Ot, H as Re, a5 as jt, a1 as Oe, t as at, $ as Ce, a0 as Be, aO as Se } from "./revolugo.rounded.u4maswiM.min.js";
3
- import { s as Ie, a as we, p as Pe } from "./revolugo.dialog-transition.DyO6FFbo.min.js";
4
- import { C as _e } from "./revolugo.cancellationpoliciesbadge.BakDGPnx.min.js";
5
- import { B as Ft, c as Gt, b as Wt, a as He } from "./revolugo.bpricesummaryskeleton.DH-Kuge7.min.js";
6
- import { x as ft, _ as Z, q as V, r as O, z as Te, u as rt, V as Yt, B as St, e as Ve, v as $e, w as Ee, a as Ae, g as Le, c as De, W as qe } from "./revolugo.webcomponentwrapper.CfhsVy34.min.js";
7
- import { V as ot } from "./revolugo.vskeletonloader.lUzEuSvU.min.js";
8
- import { B as dt } from "./revolugo.btag.0ugEj-2W.min.js";
9
- import { b as ze, t as Me, V as st, f as Ne, l as Ue, k as je } from "./revolugo.index.Ds7GPsGI.min.js";
10
- import { u as Fe, V as Ht, d as Ge } from "./revolugo.vinput.8rjbvXX2.min.js";
11
- import { b as Tt, c as We, a as Ye } from "./revolugo.vcheckboxbtn.DxJuZdU5.min.js";
12
- import { d as xe, L as Ke, V as Ze } from "./revolugo.position.CEExVEE8.min.js";
13
- import { a as It, V as nt, m as Qe } from "./revolugo.vbtn.D3Vm2ZlS.min.js";
14
- import { a as Je } from "./revolugo.vselect.C8g3avwV.min.js";
15
- import { a as Xe } from "./revolugo.vlist.DCvg08Wu.min.js";
16
- import { C as to } from "./revolugo.cancellationpolicieslist.C_FFhkUD.min.js";
17
- import { V as X } from "./revolugo.ssrboot.DrkbeeFe.min.js";
1
+ import { ae as bt, C as x, bn as K, D as b, d as J, u as X, i as f, g as I, e as v, t as C, J as $, a as o, f as T, F as B, o as i, N as se, M as U, ap as ne, b as ie, c as S, w as a, j as z, r as L, Z as it, _ as lt, a2 as mt, bo as le, aE as re, b2 as ue, y as G, bp as ct, H as gt, I as yt, n as ce, h as de, v as Z, G as me, E as fe, bq as Pt, k as ht, l as _t, s as be, x as Rt, br as pe, K as ke, bs as Ot, bt as ve, a6 as Nt, ai as he, ab as at, aQ as ge, a9 as ye, bu as Re } from "./revolugo.index.wc.hcj2tBQa.min.js";
2
+ import { s as Oe, u as Ce, p as Be } from "./revolugo.use-breakpoint-service.C55UqJ8N.min.js";
3
+ import { u as pt, h as Se } from "./revolugo.hotelroomofferrequestcreator.props.Ch20MI-1.min.js";
4
+ import { C as Ie } from "./revolugo.cancellationpoliciesbadge.BAWLhoFE.min.js";
5
+ import { B as Ut, a as we } from "./revolugo.bpricesummaryskeleton.T6fWvVKX.min.js";
6
+ import { _ as tt, V, a as O, u as rt, l as jt, B as St, d as Pe, q as _e, s as He, b as Te, g as Ve, e as Ee } from "./revolugo.webcomponentwrapper.D7s9Wt1u.min.js";
7
+ import { V as ot } from "./revolugo.vskeletonloader.DLz_sBeT.min.js";
8
+ import { a as Ft, B as Gt } from "./revolugo.bhotelroomsdetails.qOkb7bF4.min.js";
9
+ import { _ as ft, f as Ae } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.TjFyJK3o.min.js";
10
+ import { B as dt } from "./revolugo.btag.Cd9RL-Se.min.js";
11
+ import { a as $e, d as Le, V as st, n as De, e as qe } from "./revolugo.index.MUWumuM5.min.js";
12
+ import { u as ze, V as Ht, m as Me } from "./revolugo.vinput.DkrPzK9V.min.js";
13
+ import { b as Tt, c as Ne, V as Ue } from "./revolugo.vcheckboxbtn.-WD79m_3.min.js";
14
+ import { d as je, L as Fe, V as Ge } from "./revolugo.position.mEwvDkCr.min.js";
15
+ import { V as It, a as nt, m as We } from "./revolugo.vbtn.DSYh8Plf.min.js";
16
+ import { V as Ye } from "./revolugo.vselect.D58BjYst.min.js";
17
+ import { V as xe } from "./revolugo.vlist.hjMTQUm_.min.js";
18
+ import { C as Ke } from "./revolugo.cancellationpolicieslist.kh5sahhd.min.js";
19
+ import { V as Q } from "./revolugo.vdivider.C8qKKweh.min.js";
20
+ import { k as Ze, C as Qe } from "./revolugo.case-transformers.DfCc1sKY.min.js";
18
21
  /* empty css */
19
- import { V as Vt, m as eo, a as $t, b as oo } from "./revolugo.vwindowitem.yFpV6WTQ.min.js";
20
- import { V as Et, m as ao } from "./revolugo.vtooltip.DMjpxOcA.min.js";
21
- function ie(t) {
22
+ import { f as Je } from "./revolugo.forwardrefs.-bfQnFea.min.js";
23
+ import { V as Vt, m as Xe, a as Et, b as to } from "./revolugo.vwindowitem.BjNUE921.min.js";
24
+ import { b as At, m as eo } from "./revolugo.vtooltip.CiaW90fk.min.js";
25
+ function ae(t) {
22
26
  try {
23
27
  if (typeof document < "u") {
24
28
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
@@ -38,42 +42,42 @@ function ie(t) {
38
42
  console.error("[revolugo-elements] ", e);
39
43
  }
40
44
  }
41
- function so(t) {
45
+ function oo(t) {
42
46
  return (t && t.split(",") || []).map(
43
47
  (e) => Number.parseInt(e)
44
48
  );
45
49
  }
46
- const no = 4;
47
- function io(t, e) {
48
- return t + so(e).reduce((n, s) => s >= no ? n + 1 : n, 0);
50
+ const ao = 4;
51
+ function so(t, e) {
52
+ return t + oo(e).reduce((n, s) => s >= ao ? n + 1 : n, 0);
49
53
  }
50
- function lo(t, e) {
54
+ function no(t, e) {
51
55
  return e === void 0 ? Array.from({ length: t }, (n, s) => s) : Array.from({ length: e - t }, (n, s) => t + s);
52
56
  }
53
- function ro() {
54
- const t = bt(), e = x(Q.Idle), n = p(
55
- () => e.value === Q.BookingPoliciesFetched
56
- ), s = p(
57
- () => e.value === Q.Unavailable
58
- ), r = p(
59
- () => e.value === Q.FetchingBookingPolicies
57
+ function io() {
58
+ const t = bt(), e = x(K.Idle), n = b(
59
+ () => e.value === K.BookingPoliciesFetched
60
+ ), s = b(
61
+ () => e.value === K.Unavailable
62
+ ), r = b(
63
+ () => e.value === K.FetchingBookingPolicies
60
64
  );
61
65
  async function k({
62
- addBreakfast: c,
63
- hotelId: i,
66
+ addBreakfast: d,
67
+ hotelId: l,
64
68
  hotelRoomOfferId: m
65
69
  }) {
66
- e.value = Q.FetchingBookingPolicies;
70
+ e.value = K.FetchingBookingPolicies;
67
71
  try {
68
72
  await t.createBookingPolicies({
69
- addBreakfast: c,
70
- hotelId: i,
73
+ addBreakfast: d,
74
+ hotelId: l,
71
75
  hotelRoomOfferId: m
72
- }), e.value = Q.Unavailable, setTimeout(() => {
73
- e.value = Q.Idle;
76
+ }), e.value = K.Unavailable, setTimeout(() => {
77
+ e.value = K.Idle;
74
78
  }, 1.5 * 1e3);
75
79
  } catch {
76
- e.value = Q.Unavailable;
80
+ e.value = K.Unavailable;
77
81
  }
78
82
  }
79
83
  return {
@@ -84,7 +88,7 @@ function ro() {
84
88
  isFetchingBookingPolicies: r
85
89
  };
86
90
  }
87
- function uo(t, e, n) {
91
+ function lo(t, e, n) {
88
92
  if (!t)
89
93
  return e;
90
94
  const s = n || ((r) => r);
@@ -96,22 +100,22 @@ function uo(t, e, n) {
96
100
  }
97
101
  return s(t);
98
102
  }
99
- function co({
103
+ function ro({
100
104
  cb: t,
101
105
  fallbackValue: e,
102
106
  prop: n
103
107
  }) {
104
- return p(
105
- () => uo(n.value, e, t)
108
+ return b(
109
+ () => lo(n.value, e, t)
106
110
  );
107
111
  }
108
- const mo = { class: "text-right" }, fo = {
112
+ const uo = { class: "text-right" }, co = {
109
113
  key: 0,
110
114
  class: "text-grey-darken-3"
111
- }, po = { class: "text-h6 text-grey-darken-3 font-weight-black" }, bo = {
115
+ }, mo = { class: "text-h6 text-grey-darken-3 font-weight-black" }, fo = {
112
116
  key: 1,
113
117
  class: "my-0 text-caption text-grey-darken-3 d-block"
114
- }, ko = { class: "text-caption d-block" }, xt = /* @__PURE__ */ K({
118
+ }, bo = { class: "text-caption d-block" }, Wt = /* @__PURE__ */ J({
115
119
  __name: "BPriceSummary",
116
120
  props: {
117
121
  adultCount: { default: 0 },
@@ -125,39 +129,39 @@ const mo = { class: "text-right" }, fo = {
125
129
  taxIncludedPrice: { default: void 0 }
126
130
  },
127
131
  setup(t) {
128
- const e = t, { t: n } = tt(), s = p(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
129
- return (r, k) => (l(), f("div", mo, [
130
- r.isStartingPrice ? (l(), f("small", fo, C(L(n)("BPriceSummary.from")) + "  ", 1)) : I("", !0),
131
- v("b", po, [
132
+ const e = t, { t: n } = X(), s = b(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
133
+ return (r, k) => (i(), f("div", uo, [
134
+ r.isStartingPrice ? (i(), f("small", co, C($(n)("BPriceSummary.from")) + "  ", 1)) : I("", !0),
135
+ v("b", mo, [
132
136
  o(ft, {
133
137
  amount: s.value,
134
138
  "round-mode": r.roundMode
135
139
  }, null, 8, ["amount", "round-mode"])
136
140
  ]),
137
- (r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (l(), f("span", bo, [
141
+ (r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (i(), f("span", fo, [
138
142
  v("b", null, [
139
143
  o(ft, {
140
144
  amount: r.taxIncludedPrice,
141
145
  "round-mode": r.roundMode
142
146
  }, null, 8, ["amount", "round-mode"])
143
147
  ]),
144
- T(" " + C(L(n)("BPriceSummary.total")) + " " + C(L(n)("BPriceSummary.summary", {
145
- rooms: L(n)("BPriceSummary.rooms", { n: r.roomCount })
148
+ T(" " + C($(n)("BPriceSummary.total")) + " " + C($(n)("BPriceSummary.summary", {
149
+ rooms: $(n)("BPriceSummary.rooms", { n: r.roomCount })
146
150
  })), 1)
147
151
  ])) : I("", !0),
148
- v("span", ko, [
149
- r.taxIncludedPrice || r.price ? (l(), f(B, { key: 0 }, [
150
- r.isTaxIncluded ? (l(), f(B, { key: 0 }, [
151
- T(C(L(n)("BPriceSummary.taxIncluded")), 1)
152
- ], 64)) : (l(), f(B, { key: 1 }, [
153
- T(C(L(n)("BPriceSummary.taxNotIncluded")), 1)
152
+ v("span", bo, [
153
+ r.taxIncludedPrice || r.price ? (i(), f(B, { key: 0 }, [
154
+ r.isTaxIncluded ? (i(), f(B, { key: 0 }, [
155
+ T(C($(n)("BPriceSummary.taxIncluded")), 1)
156
+ ], 64)) : (i(), f(B, { key: 1 }, [
157
+ T(C($(n)("BPriceSummary.taxNotIncluded")), 1)
154
158
  ], 64))
155
159
  ], 64)) : I("", !0)
156
160
  ])
157
161
  ]));
158
162
  }
159
163
  });
160
- function At(t) {
164
+ function $t(t) {
161
165
  const e = t;
162
166
  e.__i18n = e.__i18n || [], e.__i18n.push({
163
167
  locale: "",
@@ -263,13 +267,13 @@ function At(t) {
263
267
  }
264
268
  });
265
269
  }
266
- typeof At == "function" && At(xt);
267
- const Ct = /* @__PURE__ */ Z(xt, [["__scopeId", "data-v-2324f5ca"]]);
268
- function vo(t, e) {
270
+ typeof $t == "function" && $t(Wt);
271
+ const Ct = /* @__PURE__ */ tt(Wt, [["__scopeId", "data-v-2324f5ca"]]);
272
+ function po(t, e) {
269
273
  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;
270
274
  }
271
- function ho(t) {
272
- const e = pt(), n = Ie(
275
+ function ko(t) {
276
+ const e = pt(), n = Oe(
273
277
  t.checkInDate,
274
278
  t.checkOutDate
275
279
  ), s = x({
@@ -280,100 +284,100 @@ function ho(t) {
280
284
  hotelId: t.hotelId,
281
285
  roomCount: t.roomCount,
282
286
  sourceMarket: t.sourceMarket
283
- }), r = p(
287
+ }), r = b(
284
288
  () => e.hotelRoomOfferRequest(t.hotelId)
285
- ), k = re(
289
+ ), k = se(
286
290
  async function() {
287
- const m = s.value, d = r.value;
288
- t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== (d == null ? void 0 : d.id) ? (await e.retrieveHotelRoomOfferRequest({
291
+ const m = s.value, c = r.value;
292
+ t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== (c == null ? void 0 : c.id) ? (await e.retrieveHotelRoomOfferRequest({
289
293
  hotelId: m.hotelId,
290
294
  hotelRoomOfferRequestId: t.hotelRoomOfferRequestId
291
- }), (!d || d.hasError) && await e.createHotelRoomOfferRequest(m)) : (!d || !d.id || d.hasError || !vo(m, d)) && await e.createHotelRoomOfferRequest(m);
295
+ }), (!c || c.hasError) && await e.createHotelRoomOfferRequest(m)) : (!c || !c.id || c.hasError || !po(m, c)) && await e.createHotelRoomOfferRequest(m);
292
296
  },
293
297
  300
294
298
  );
295
299
  U(
296
300
  () => {
297
- const i = r.value;
298
- return i ? [
299
- i.adultCount,
300
- i.checkInDate,
301
- i.checkOutDate,
302
- i.children,
303
- i.roomCount,
304
- i.sourceMarket
301
+ const l = r.value;
302
+ return l ? [
303
+ l.adultCount,
304
+ l.checkInDate,
305
+ l.checkOutDate,
306
+ l.children,
307
+ l.roomCount,
308
+ l.sourceMarket
305
309
  ].join(",") : "";
306
310
  },
307
311
  () => {
308
- const i = r.value;
309
- !i || !i.adultCount || !i.checkInDate || !i.checkOutDate || !i.roomCount || !i.sourceMarket || (s.value = {
310
- adultCount: i.adultCount,
311
- checkInDate: i.checkInDate,
312
- checkOutDate: i.checkOutDate,
313
- children: i.children ?? null,
314
- hotelId: i.hotelId,
315
- roomCount: i.roomCount,
316
- sourceMarket: i.sourceMarket
312
+ const l = r.value;
313
+ !l || !l.adultCount || !l.checkInDate || !l.checkOutDate || !l.roomCount || !l.sourceMarket || (s.value = {
314
+ adultCount: l.adultCount,
315
+ checkInDate: l.checkInDate,
316
+ checkOutDate: l.checkOutDate,
317
+ children: l.children ?? null,
318
+ hotelId: l.hotelId,
319
+ roomCount: l.roomCount,
320
+ sourceMarket: l.sourceMarket
317
321
  });
318
322
  }
319
323
  ), U(
320
324
  () => t.adultCount,
321
- (i) => {
325
+ (l) => {
322
326
  s.value = {
323
327
  ...s.value,
324
- adultCount: i
328
+ adultCount: l
325
329
  };
326
330
  }
327
331
  ), U(
328
332
  () => t.checkInDate,
329
- (i) => {
333
+ (l) => {
330
334
  s.value = {
331
335
  ...s.value,
332
- checkInDate: i
336
+ checkInDate: l
333
337
  };
334
338
  }
335
339
  ), U(
336
340
  () => t.checkOutDate,
337
- (i) => {
341
+ (l) => {
338
342
  s.value = {
339
343
  ...s.value,
340
- checkOutDate: i
344
+ checkOutDate: l
341
345
  };
342
346
  }
343
347
  ), U(
344
348
  () => t.children,
345
- (i) => {
349
+ (l) => {
346
350
  s.value = {
347
351
  ...s.value,
348
- children: i ?? null
352
+ children: l ?? null
349
353
  };
350
354
  }
351
355
  ), U(
352
356
  () => t.hotelId,
353
- (i, m) => {
357
+ (l, m) => {
354
358
  m && e.deleteHotelRoomOfferRequest(m), s.value = {
355
359
  ...s.value,
356
- hotelId: i
360
+ hotelId: l
357
361
  }, k();
358
362
  }
359
363
  ), U(
360
364
  () => t.roomCount,
361
- (i) => {
365
+ (l) => {
362
366
  s.value = {
363
367
  ...s.value,
364
- roomCount: i
368
+ roomCount: l
365
369
  };
366
370
  }
367
371
  ), U(
368
372
  () => t.sourceMarket,
369
- (i) => {
373
+ (l) => {
370
374
  s.value = {
371
375
  ...s.value,
372
- sourceMarket: i
376
+ sourceMarket: l
373
377
  };
374
378
  }
375
379
  );
376
- const c = () => {
380
+ const d = () => {
377
381
  e.resetHotelRoomOfferRequest(t.hotelId), k();
378
382
  };
379
383
  return U(
@@ -383,9 +387,9 @@ function ho(t) {
383
387
  },
384
388
  { deep: !0, immediate: !0 }
385
389
  ), U(
386
- () => ue(),
390
+ () => ne(),
387
391
  () => {
388
- c();
392
+ d();
389
393
  },
390
394
  { immediate: !0 }
391
395
  ), {
@@ -393,25 +397,25 @@ function ho(t) {
393
397
  hotelRoomOfferRequestInternal: s
394
398
  };
395
399
  }
396
- const go = K({
400
+ const vo = J({
397
401
  components: {
398
- BPriceSummarySkeleton: Ft
402
+ BPriceSummarySkeleton: Ut
399
403
  },
400
- mixins: [ce],
404
+ mixins: [ie],
401
405
  name: "HotelRoomOfferLayout",
402
406
  props: {
403
407
  boilerplate: { type: Boolean }
404
408
  },
405
409
  setup() {
406
- const { t } = tt();
410
+ const { t } = X();
407
411
  return {
408
412
  t
409
413
  };
410
414
  }
411
- }), yo = { class: "d-flex justify-end" };
412
- function Ro(t, e, n, s, r, k) {
413
- const c = A("BPriceSummarySkeleton");
414
- return l(), S(V, {
415
+ }), ho = { class: "d-flex justify-end" };
416
+ function go(t, e, n, s, r, k) {
417
+ const d = L("BPriceSummarySkeleton");
418
+ return i(), S(V, {
415
419
  class: "px-2 py-3 pa-sm-4 px-md-3",
416
420
  "no-gutters": ""
417
421
  }, {
@@ -482,12 +486,12 @@ function Ro(t, e, n, s, r, k) {
482
486
  default: a(() => [
483
487
  z(t.$slots, "package-type"),
484
488
  z(t.$slots, "price-summary", {}, () => [
485
- o(c, {
489
+ o(d, {
486
490
  boilerplate: t.boilerplate,
487
491
  class: "mt-2"
488
492
  }, null, 8, ["boilerplate"])
489
493
  ]),
490
- v("div", yo, [
494
+ v("div", ho, [
491
495
  z(t.$slots, "action", {}, () => [
492
496
  o(ot, {
493
497
  class: "mt-2",
@@ -506,7 +510,7 @@ function Ro(t, e, n, s, r, k) {
506
510
  _: 3
507
511
  });
508
512
  }
509
- const kt = /* @__PURE__ */ Z(go, [["render", Ro]]), Oo = {
513
+ const kt = /* @__PURE__ */ tt(vo, [["render", go]]), yo = {
510
514
  isLoading: { type: Boolean },
511
515
  modelValue: {
512
516
  type: Boolean
@@ -515,13 +519,13 @@ const kt = /* @__PURE__ */ Z(go, [["render", Ro]]), Oo = {
515
519
  required: !0,
516
520
  type: Number
517
521
  }
518
- }, Kt = K({
522
+ }, Yt = J({
519
523
  components: {
520
524
  BTag: dt
521
525
  },
522
526
  computed: {
523
527
  formattedPrice() {
524
- return Te({
528
+ return Ae({
525
529
  amount: this.price,
526
530
  currency: this.config.currency,
527
531
  locale: this.$i18n.locale
@@ -534,9 +538,9 @@ const kt = /* @__PURE__ */ Z(go, [["render", Ro]]), Oo = {
534
538
  };
535
539
  },
536
540
  name: "BBreakfastSwitch",
537
- props: Oo,
541
+ props: yo,
538
542
  setup() {
539
- const { t } = tt();
543
+ const { t } = X();
540
544
  return {
541
545
  t
542
546
  };
@@ -597,7 +601,7 @@ function Lt(t) {
597
601
  }
598
602
  });
599
603
  }
600
- const Co = lt({
604
+ const Ro = lt({
601
605
  indeterminate: Boolean,
602
606
  inset: Boolean,
603
607
  flat: Boolean,
@@ -605,12 +609,12 @@ const Co = lt({
605
609
  type: [Boolean, String],
606
610
  default: !1
607
611
  },
608
- ...Ge(),
609
- ...We()
610
- }, "VSwitch"), Bo = it()({
612
+ ...Me(),
613
+ ...Ne()
614
+ }, "VSwitch"), Oo = it()({
611
615
  name: "VSwitch",
612
616
  inheritAttrs: !1,
613
- props: Co(),
617
+ props: Ro(),
614
618
  emits: {
615
619
  "update:focused": (t) => !0,
616
620
  "update:modelValue": (t) => !0,
@@ -622,12 +626,12 @@ const Co = lt({
622
626
  slots: s
623
627
  } = e;
624
628
  const r = mt(t, "indeterminate"), k = mt(t, "modelValue"), {
625
- loaderClasses: c
626
- } = xe(t), {
627
- isFocused: i,
629
+ loaderClasses: d
630
+ } = je(t), {
631
+ isFocused: l,
628
632
  focus: m,
629
- blur: d
630
- } = Fe(t), P = x(), E = de && window.matchMedia("(forced-colors: active)").matches, R = p(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), h = me(), $ = p(() => t.id || `switch-${h}`);
633
+ blur: c
634
+ } = ze(t), P = x(), A = le && window.matchMedia("(forced-colors: active)").matches, R = b(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), h = re(), E = b(() => t.id || `switch-${h}`);
631
635
  function g() {
632
636
  r.value && (r.value = !1);
633
637
  }
@@ -636,7 +640,7 @@ const Co = lt({
636
640
  W.stopPropagation(), W.preventDefault(), (D = (M = P.value) == null ? void 0 : M.input) == null || D.click();
637
641
  }
638
642
  return rt(() => {
639
- const [W, M] = fe(n), D = Ht.filterProps(t), Y = Tt.filterProps(t);
643
+ const [W, M] = ue(n), D = Ht.filterProps(t), Y = Tt.filterProps(t);
640
644
  return o(Ht, G({
641
645
  class: ["v-switch", {
642
646
  "v-switch--flat": t.flat
@@ -644,23 +648,23 @@ const Co = lt({
644
648
  "v-switch--inset": t.inset
645
649
  }, {
646
650
  "v-switch--indeterminate": r.value
647
- }, c.value, t.class]
651
+ }, d.value, t.class]
648
652
  }, W, D, {
649
653
  modelValue: k.value,
650
- "onUpdate:modelValue": (b) => k.value = b,
651
- id: $.value,
652
- focused: i.value,
654
+ "onUpdate:modelValue": (p) => k.value = p,
655
+ id: E.value,
656
+ focused: l.value,
653
657
  style: t.style
654
658
  }), {
655
659
  ...s,
656
- default: (b) => {
660
+ default: (p) => {
657
661
  let {
658
662
  id: y,
659
663
  messagesId: _,
660
664
  isDisabled: F,
661
665
  isReadonly: et,
662
666
  isValid: N
663
- } = b;
667
+ } = p;
664
668
  const u = {
665
669
  model: k,
666
670
  isValid: N
@@ -677,7 +681,7 @@ const Co = lt({
677
681
  disabled: F.value,
678
682
  readonly: et.value,
679
683
  onFocus: m,
680
- onBlur: d
684
+ onBlur: c
681
685
  }, M), {
682
686
  ...s,
683
687
  default: (H) => {
@@ -686,7 +690,7 @@ const Co = lt({
686
690
  backgroundColorStyles: q
687
691
  } = H;
688
692
  return o("div", {
689
- class: ["v-switch__track", E ? void 0 : w.value],
693
+ class: ["v-switch__track", A ? void 0 : w.value],
690
694
  style: q.value,
691
695
  onClick: j
692
696
  }, [s["track-true"] && o("div", {
@@ -702,14 +706,14 @@ const Co = lt({
702
706
  inputNode: w,
703
707
  icon: q,
704
708
  backgroundColorClasses: ut,
705
- backgroundColorStyles: ne
709
+ backgroundColorStyles: oe
706
710
  } = H;
707
711
  return o(B, null, [w, o("div", {
708
712
  class: ["v-switch__thumb", {
709
713
  "v-switch__thumb--filled": q || t.loading
710
- }, t.inset || E ? void 0 : ut.value],
711
- style: t.inset ? void 0 : ne.value
712
- }, [s.thumb ? o(ze, {
714
+ }, t.inset || A ? void 0 : ut.value],
715
+ style: t.inset ? void 0 : oe.value
716
+ }, [s.thumb ? o($e, {
713
717
  defaults: {
714
718
  VIcon: {
715
719
  icon: q,
@@ -721,8 +725,8 @@ const Co = lt({
721
725
  ...u,
722
726
  icon: q
723
727
  })]
724
- }) : o(Me, null, {
725
- default: () => [t.loading ? o(Ke, {
728
+ }) : o(Le, null, {
729
+ default: () => [t.loading ? o(Fe, {
726
730
  name: "v-switch",
727
731
  active: !0,
728
732
  color: N.value === !1 ? void 0 : R.value
@@ -746,11 +750,11 @@ const Co = lt({
746
750
  });
747
751
  }), {};
748
752
  }
749
- }), So = { class: "text-caption ml-n3" }, Io = { class: "mr-2" }, wo = ["innerHTML"];
750
- function Po(t, e, n, s, r, k) {
751
- return l(), S(Bo, {
753
+ }), Co = { class: "text-caption ml-n3" }, Bo = { class: "mr-2" }, So = ["innerHTML"];
754
+ function Io(t, e, n, s, r, k) {
755
+ return i(), S(Oo, {
752
756
  modelValue: t.valueLocal,
753
- "onUpdate:modelValue": e[0] || (e[0] = (c) => t.valueLocal = c),
757
+ "onUpdate:modelValue": e[0] || (e[0] = (d) => t.valueLocal = d),
754
758
  class: "ma-0 pa-0 breakfast-switch d-inline-block",
755
759
  density: "compact",
756
760
  size: "small",
@@ -758,7 +762,7 @@ function Po(t, e, n, s, r, k) {
758
762
  loading: t.isLoading && "success"
759
763
  }, {
760
764
  label: a(() => [
761
- v("div", So, [
765
+ v("div", Co, [
762
766
  o(st, {
763
767
  size: "12",
764
768
  class: "ml-4 mr-2"
@@ -770,20 +774,20 @@ function Po(t, e, n, s, r, k) {
770
774
  __: [1]
771
775
  }),
772
776
  e[2] || (e[2] = T(" ")),
773
- v("span", Io, C(t.t("BBreakfastSwitch.title")), 1),
777
+ v("span", Bo, C(t.t("BBreakfastSwitch.title")), 1),
774
778
  v("span", {
775
779
  innerHTML: t.t("BBreakfastSwitch.price", { n: t.formattedPrice }).replace(
776
780
  /\s/gu,
777
781
  " "
778
782
  )
779
- }, null, 8, wo)
783
+ }, null, 8, So)
780
784
  ])
781
785
  ]),
782
786
  _: 1
783
787
  }, 8, ["modelValue", "loading"]);
784
788
  }
785
- typeof Lt == "function" && Lt(Kt);
786
- const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349"]]), _o = {
789
+ typeof Lt == "function" && Lt(Yt);
790
+ const xt = /* @__PURE__ */ tt(Yt, [["render", Io], ["__scopeId", "data-v-9a8c9349"]]), wo = {
787
791
  breakfastCount: {
788
792
  type: Number
789
793
  },
@@ -821,42 +825,42 @@ const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349
821
825
  tags: { type: Array },
822
826
  taxIncludedPrice: { required: !0, type: Number },
823
827
  type: { type: String }
824
- }, Ho = { key: 0 }, To = {
828
+ }, Po = { key: 0 }, _o = {
825
829
  class: "align-self-center d-flex flex-wrap",
826
830
  style: { gap: "0.3em" }
827
- }, Vo = {
831
+ }, Ho = {
828
832
  class: "align-self-center d-inline-flex flex-wrap",
829
833
  style: { gap: "0.3em" }
830
- }, $o = { class: "text-caption" }, Eo = { key: 0 }, Ao = { key: 1 }, Qt = /* @__PURE__ */ K({
834
+ }, To = { class: "text-caption" }, Vo = { key: 0 }, Eo = { key: 1 }, Kt = /* @__PURE__ */ J({
831
835
  __name: "HotelRoomOfferItem",
832
- props: _o,
836
+ props: wo,
833
837
  emits: ["breakfast-change", "update:modelValue", "booking-policy-failed"],
834
838
  setup(t, { emit: e }) {
835
- const n = t, { t: s } = tt(), { eventBus: r } = pe(), k = e, c = x(
839
+ const n = t, { t: s } = X(), { eventBus: r } = me(), k = e, d = x(
836
840
  n.breakfastCount && n.breakfastCount > 0 || !1
837
841
  );
838
- U(c, (u) => {
842
+ U(d, (u) => {
839
843
  k("breakfast-change", {
840
844
  addBreakfast: u,
841
845
  hotelId: n.hotelId,
842
846
  id: n.id
843
847
  });
844
848
  });
845
- const i = pt(), m = bt(), d = p(
846
- () => i.hotelRoomOfferRequest(n.hotelId)
847
- ), P = p(() => {
849
+ const l = pt(), m = bt(), c = b(
850
+ () => l.hotelRoomOfferRequest(n.hotelId)
851
+ ), P = b(() => {
848
852
  var u;
849
- return (u = d.value) == null ? void 0 : u.adultCount;
850
- }), E = p(() => {
853
+ return (u = c.value) == null ? void 0 : u.adultCount;
854
+ }), A = b(() => {
851
855
  var u;
852
- return (u = d.value) == null ? void 0 : u.checkInDate;
853
- }), R = p(
854
- () => n.count ? lo(n.count + 1) : []
855
- ), h = p(
856
+ return (u = c.value) == null ? void 0 : u.checkInDate;
857
+ }), R = b(
858
+ () => n.count ? no(n.count + 1) : []
859
+ ), h = b(
856
860
  () => m.hotelTimezone(n.hotelId)
857
- ), $ = p(
858
- () => i.nightCount(n.hotelId)
859
- ), g = p(() => {
861
+ ), E = b(
862
+ () => l.nightCount(n.hotelId)
863
+ ), g = b(() => {
860
864
  switch (n.packageType) {
861
865
  case ct.Cheapest:
862
866
  return "red";
@@ -868,73 +872,73 @@ const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349
868
872
  default:
869
873
  return "";
870
874
  }
871
- }), j = p(
875
+ }), j = b(
872
876
  () => n.hotelRooms.reduce((u, H) => u + (H.count || 0), 0)
873
- ), W = p({
877
+ ), W = b({
874
878
  get() {
875
879
  return n.modelValue;
876
880
  },
877
881
  set(u) {
878
882
  k("update:modelValue", u);
879
883
  }
880
- }), M = p(
884
+ }), M = b(
881
885
  () => {
882
886
  var u;
883
887
  return ((u = n.tags) == null ? void 0 : u.filter((H) => H.name.length > 30)) || [];
884
888
  }
885
- ), D = p(
889
+ ), D = b(
886
890
  () => {
887
891
  var u;
888
892
  return ((u = n.tags) == null ? void 0 : u.filter((H) => H.name.length < 30)) || [];
889
893
  }
890
894
  ), {
891
895
  bookingState: Y,
892
- createBookingPolicy: b,
896
+ createBookingPolicy: p,
893
897
  isBookingPoliciesSuccessful: y,
894
898
  isBookingPoliciesUnavailable: _,
895
899
  isFetchingBookingPolicies: F
896
- } = ro();
900
+ } = io();
897
901
  U(Y, (u) => {
898
- u === Q.Unavailable && k("booking-policy-failed", n.id);
902
+ u === K.Unavailable && k("booking-policy-failed", n.id);
899
903
  });
900
904
  async function et() {
901
905
  const u = {
902
906
  ...n,
903
907
  currency: n.currency
904
908
  };
905
- r.$emit(be.HotelRoomOffersBtnClick, u), await b({
906
- addBreakfast: c.value,
909
+ r.$emit(fe.HotelRoomOffersBtnClick, u), await p({
910
+ addBreakfast: d.value,
907
911
  hotelId: n.hotelId,
908
912
  hotelRoomOfferId: n.id
909
913
  });
910
914
  }
911
915
  const N = x(null);
912
- return we(N), (u, H) => (l(), f("div", {
916
+ return Ce(N), (u, H) => (i(), f("div", {
913
917
  class: "position-relative",
914
918
  ref_key: "root",
915
919
  ref: N
916
920
  }, [
917
921
  o(kt, { key: "is-available" }, {
918
922
  "room-details": a(() => [
919
- o(Wt, {
923
+ o(Gt, {
920
924
  "hotel-rooms": u.hotelRooms
921
925
  }, null, 8, ["hotel-rooms"])
922
926
  ]),
923
927
  "package-type": a(() => [
924
- u.type === "PACKAGE" && u.packageType !== "REGULAR" ? (l(), S(dt, {
928
+ u.type === "PACKAGE" && u.packageType !== "REGULAR" ? (i(), S(dt, {
925
929
  key: 0,
926
930
  class: "mb-3",
927
931
  color: g.value,
928
932
  variant: "outlined"
929
933
  }, {
930
934
  description: a(() => [
931
- T(C(L(s)(
935
+ T(C($(s)(
932
936
  `HotelRoomOfferItem.packageTypes.${u.packageType}.description`,
933
937
  { n: P.value }
934
938
  )), 1)
935
939
  ]),
936
940
  default: a(() => [
937
- T(C(L(s)(`HotelRoomOfferItem.packageTypes.${u.packageType}.title`, {
941
+ T(C($(s)(`HotelRoomOfferItem.packageTypes.${u.packageType}.title`, {
938
942
  n: P.value
939
943
  })) + " ", 1)
940
944
  ]),
@@ -942,24 +946,24 @@ const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349
942
946
  }, 8, ["color"])) : I("", !0)
943
947
  ]),
944
948
  "cancellation-policies": a(() => [
945
- o(_e, {
949
+ o(Ie, {
946
950
  class: "mt-2",
947
951
  "cancellation-policies": u.cancellationPolicies,
948
- "check-in-date": E.value,
952
+ "check-in-date": A.value,
949
953
  timezone: h.value
950
954
  }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
951
955
  ]),
952
956
  "breakfast-option-badge": a(() => [
953
- o(Gt, {
957
+ o(Ft, {
954
958
  "breakfast-option": u.breakfastCount && u.breakfastCount > 0 ? "INCLUDED" : u.breakfastOption,
955
959
  breakfastCount: u.breakfastCount ?? void 0
956
960
  }, null, 8, ["breakfast-option", "breakfastCount"])
957
961
  ]),
958
962
  "breakfast-option-switch": a(() => [
959
- u.type !== "HOTEL_ROOM" && u.breakfastOption === "OPTIONAL" ? (l(), f("div", Ho, [
960
- o(Zt, {
961
- modelValue: c.value,
962
- "onUpdate:modelValue": H[0] || (H[0] = (w) => c.value = w),
963
+ u.type !== "HOTEL_ROOM" && u.breakfastOption === "OPTIONAL" ? (i(), f("div", Po, [
964
+ o(xt, {
965
+ modelValue: d.value,
966
+ "onUpdate:modelValue": H[0] || (H[0] = (w) => d.value = w),
963
967
  class: "mt-3 pl-1",
964
968
  "is-loading": u.isLoading,
965
969
  price: u.breakfastUnitPrice ?? 0
@@ -967,8 +971,8 @@ const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349
967
971
  ])) : I("", !0)
968
972
  ]),
969
973
  "big-tags": a(() => [
970
- v("div", To, [
971
- (l(!0), f(B, null, J(M.value, (w, q) => (l(), S(dt, {
974
+ v("div", _o, [
975
+ (i(!0), f(B, null, Z(M.value, (w, q) => (i(), S(dt, {
972
976
  key: q,
973
977
  color: w.bg,
974
978
  "pre-icon": `fa-${w.faIcon}`,
@@ -983,8 +987,8 @@ const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349
983
987
  ])
984
988
  ]),
985
989
  tags: a(() => [
986
- v("div", Vo, [
987
- (l(!0), f(B, null, J(D.value, (w, q) => (l(), S(dt, {
990
+ v("div", Ho, [
991
+ (i(!0), f(B, null, Z(D.value, (w, q) => (i(), S(dt, {
988
992
  key: q,
989
993
  color: w.bg,
990
994
  "pre-icon": `fa-${w.faIcon}`,
@@ -999,7 +1003,7 @@ const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349
999
1003
  ])
1000
1004
  ]),
1001
1005
  "price-summary": a(() => [
1002
- u.type === "HOTEL_ROOM" ? (l(), f(B, { key: 0 }, [
1006
+ u.type === "HOTEL_ROOM" ? (i(), f(B, { key: 0 }, [
1003
1007
  o(V, {
1004
1008
  class: "mt-md-8",
1005
1009
  "no-gutters": ""
@@ -1032,7 +1036,7 @@ const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349
1032
1036
  }, {
1033
1037
  default: a(() => [
1034
1038
  v("div", null, [
1035
- o(Je, {
1039
+ o(Ye, {
1036
1040
  modelValue: W.value,
1037
1041
  "onUpdate:modelValue": H[1] || (H[1] = (w) => W.value = w),
1038
1042
  class: "item-count mt-2",
@@ -1045,11 +1049,11 @@ const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349
1045
1049
  variant: "outlined"
1046
1050
  }, {
1047
1051
  item: a(({ item: w, props: q }) => [
1048
- o(Xe, Nt(Ut(q)), {
1052
+ o(xe, ce(de(q)), {
1049
1053
  title: a(() => [
1050
- v("span", $o, [
1054
+ v("span", To, [
1051
1055
  T(C(w.raw) + " ", 1),
1052
- w.raw ? (l(), f(B, { key: 0 }, [
1056
+ w.raw ? (i(), f(B, { key: 0 }, [
1053
1057
  H[2] || (H[2] = T(" (")),
1054
1058
  o(ft, {
1055
1059
  amount: w.raw * u.price
@@ -1070,12 +1074,12 @@ const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349
1070
1074
  ]),
1071
1075
  _: 1
1072
1076
  })
1073
- ], 64)) : (l(), S(Ct, {
1077
+ ], 64)) : (i(), S(Ct, {
1074
1078
  key: 1,
1075
1079
  "adult-count": P.value,
1076
1080
  class: "text-right",
1077
1081
  "is-tax-included": "",
1078
- "night-count": $.value ?? 0,
1082
+ "night-count": E.value ?? 0,
1079
1083
  price: u.price,
1080
1084
  "room-count": j.value,
1081
1085
  "round-mode": "ceil",
@@ -1083,18 +1087,18 @@ const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349
1083
1087
  }, null, 8, ["adult-count", "night-count", "price", "room-count", "tax-included-price"]))
1084
1088
  ]),
1085
1089
  action: a(() => [
1086
- u.type === "PACKAGE" ? (l(), S(nt, {
1090
+ u.type === "PACKAGE" ? (i(), S(nt, {
1087
1091
  key: 0,
1088
1092
  class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
1089
- color: L(y) ? "success" : "primary",
1090
- disabled: L(F) || L(_) || u.isLoading,
1093
+ color: $(y) ? "success" : "primary",
1094
+ disabled: $(F) || $(_) || u.isLoading,
1091
1095
  elevation: "0",
1092
- loading: L(F),
1096
+ loading: $(F),
1093
1097
  size: "small",
1094
1098
  onClick: et
1095
1099
  }, {
1096
1100
  default: a(() => [
1097
- L(y) ? I("", !0) : (l(), f("span", Eo, C(L(s)("HotelRoomOfferItem.book")), 1)),
1101
+ $(y) ? I("", !0) : (i(), f("span", Vo, C($(s)("HotelRoomOfferItem.book")), 1)),
1098
1102
  gt(o(st, { class: "position-absolute" }, {
1099
1103
  default: a(() => H[4] || (H[4] = [
1100
1104
  T(" fas fa-check ")
@@ -1102,15 +1106,15 @@ const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349
1102
1106
  _: 1,
1103
1107
  __: [4]
1104
1108
  }, 512), [
1105
- [yt, L(y)]
1109
+ [yt, $(y)]
1106
1110
  ])
1107
1111
  ]),
1108
1112
  _: 1
1109
- }, 8, ["color", "disabled", "loading"])) : (l(), f("span", Ao))
1113
+ }, 8, ["color", "disabled", "loading"])) : (i(), f("span", Eo))
1110
1114
  ]),
1111
1115
  _: 1
1112
1116
  }),
1113
- u.isLoading ? (l(), S(Yt, {
1117
+ u.isLoading ? (i(), S(jt, {
1114
1118
  key: 0,
1115
1119
  absolute: "",
1116
1120
  class: "mx-n4",
@@ -1126,15 +1130,15 @@ const Zt = /* @__PURE__ */ Z(Kt, [["render", Po], ["__scopeId", "data-v-9a8c9349
1126
1130
  ]),
1127
1131
  _: 1
1128
1132
  })) : I("", !0),
1129
- L(_) || u.gone ? (l(), S(St, {
1133
+ $(_) || u.gone ? (i(), S(St, {
1130
1134
  key: 1,
1131
1135
  "margin-top": 16
1132
1136
  }, {
1133
1137
  title: a(() => [
1134
- T(C(L(s)("HotelRoomOfferItem.unavailable.title")), 1)
1138
+ T(C($(s)("HotelRoomOfferItem.unavailable.title")), 1)
1135
1139
  ]),
1136
1140
  description: a(() => [
1137
- T(C(L(s)("HotelRoomOfferItem.unavailable.description")), 1)
1141
+ T(C($(s)("HotelRoomOfferItem.unavailable.description")), 1)
1138
1142
  ]),
1139
1143
  _: 1
1140
1144
  })) : I("", !0)
@@ -1310,23 +1314,23 @@ function Dt(t) {
1310
1314
  }
1311
1315
  });
1312
1316
  }
1313
- typeof Dt == "function" && Dt(Qt);
1314
- const Jt = /* @__PURE__ */ Z(Qt, [["__scopeId", "data-v-9997e24c"]]), Lo = K({
1317
+ typeof Dt == "function" && Dt(Kt);
1318
+ const Zt = /* @__PURE__ */ tt(Kt, [["__scopeId", "data-v-9997e24c"]]), Ao = J({
1315
1319
  components: {
1316
- BHotelRoomsDetailsSkeleton: He,
1317
- BPriceSummarySkeleton: Ft
1320
+ BHotelRoomsDetailsSkeleton: we,
1321
+ BPriceSummarySkeleton: Ut
1318
1322
  },
1319
1323
  name: "BBasketSummaryLayout",
1320
1324
  setup() {
1321
- const { t } = tt();
1325
+ const { t } = X();
1322
1326
  return {
1323
1327
  t
1324
1328
  };
1325
1329
  }
1326
- }), Do = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, qo = { class: "text-caption d-flex justify-end py-2" }, zo = { class: "mt-3 d-flex justify-start align-center" }, Mo = { class: "pt-4" };
1327
- function No(t, e, n, s, r, k) {
1328
- const c = A("BHotelRoomsDetailsSkeleton"), i = A("BPriceSummarySkeleton");
1329
- return l(), S(V, { class: "px-2" }, {
1330
+ }), $o = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, Lo = { class: "text-caption d-flex justify-end py-2" }, Do = { class: "mt-3 d-flex justify-start align-center" }, qo = { class: "pt-4" };
1331
+ function zo(t, e, n, s, r, k) {
1332
+ const d = L("BHotelRoomsDetailsSkeleton"), l = L("BPriceSummarySkeleton");
1333
+ return i(), S(V, { class: "px-2" }, {
1330
1334
  default: a(() => [
1331
1335
  o(O, null, {
1332
1336
  default: a(() => [
@@ -1334,7 +1338,7 @@ function No(t, e, n, s, r, k) {
1334
1338
  default: a(() => [
1335
1339
  o(O, null, {
1336
1340
  default: a(() => [
1337
- v("div", Do, [
1341
+ v("div", $o, [
1338
1342
  z(t.$slots, "title", {}, () => [
1339
1343
  o(ot, {
1340
1344
  height: "18px",
@@ -1354,7 +1358,7 @@ function No(t, e, n, s, r, k) {
1354
1358
  default: a(() => [
1355
1359
  o(O, null, {
1356
1360
  default: a(() => [
1357
- v("div", qo, [
1361
+ v("div", Lo, [
1358
1362
  z(t.$slots, "adult-count", {}, () => [
1359
1363
  o(ot, {
1360
1364
  tile: "",
@@ -1363,7 +1367,7 @@ function No(t, e, n, s, r, k) {
1363
1367
  })
1364
1368
  ])
1365
1369
  ]),
1366
- v("div", zo, [
1370
+ v("div", Do, [
1367
1371
  z(t.$slots, "secondary-title", {}, () => [
1368
1372
  o(ot, {
1369
1373
  height: "18px",
@@ -1380,8 +1384,8 @@ function No(t, e, n, s, r, k) {
1380
1384
  _: 3
1381
1385
  }),
1382
1386
  z(t.$slots, "hotel-rooms", {}, () => [
1383
- v("div", Mo, [
1384
- (l(), f(B, null, J(2, (m) => (l(), f(B, {
1387
+ v("div", qo, [
1388
+ (i(), f(B, null, Z(2, (m) => (i(), f(B, {
1385
1389
  key: `item-skeleton-${m}`
1386
1390
  }, [
1387
1391
  v("div", null, [
@@ -1389,7 +1393,7 @@ function No(t, e, n, s, r, k) {
1389
1393
  default: a(() => [
1390
1394
  o(O, { cols: "auto" }, {
1391
1395
  default: a(() => [
1392
- o(c)
1396
+ o(d)
1393
1397
  ]),
1394
1398
  _: 1
1395
1399
  })
@@ -1397,7 +1401,7 @@ function No(t, e, n, s, r, k) {
1397
1401
  _: 1
1398
1402
  })
1399
1403
  ]),
1400
- o(X)
1404
+ o(Q)
1401
1405
  ], 64))), 64))
1402
1406
  ])
1403
1407
  ]),
@@ -1416,7 +1420,7 @@ function No(t, e, n, s, r, k) {
1416
1420
  default: a(() => [
1417
1421
  o(O, null, {
1418
1422
  default: a(() => [
1419
- o(X)
1423
+ o(Q)
1420
1424
  ]),
1421
1425
  _: 1
1422
1426
  })
@@ -1428,7 +1432,7 @@ function No(t, e, n, s, r, k) {
1428
1432
  o(O, null, {
1429
1433
  default: a(() => [
1430
1434
  z(t.$slots, "price-summary", {}, () => [
1431
- o(i)
1435
+ o(l)
1432
1436
  ])
1433
1437
  ]),
1434
1438
  _: 3
@@ -1489,15 +1493,15 @@ function No(t, e, n, s, r, k) {
1489
1493
  _: 3
1490
1494
  });
1491
1495
  }
1492
- const Uo = /* @__PURE__ */ Z(Lo, [["render", No]]), Xt = K({
1496
+ const Mo = /* @__PURE__ */ tt(Ao, [["render", zo]]), Qt = J({
1493
1497
  components: {
1494
- BBasketSummaryLayout: Uo,
1495
- BBreakfastOptionBadge: Gt,
1496
- BBreakfastSwitch: Zt,
1498
+ BBasketSummaryLayout: Mo,
1499
+ BBreakfastOptionBadge: Ft,
1500
+ BBreakfastSwitch: xt,
1497
1501
  BFormattedAmount: ft,
1498
- BHotelRoomsDetails: Wt,
1502
+ BHotelRoomsDetails: Gt,
1499
1503
  BPriceSummary: Ct,
1500
- CancellationPoliciesList: to
1504
+ CancellationPoliciesList: Ke
1501
1505
  },
1502
1506
  emits: ["breakfast-change", "delete-room", "submit"],
1503
1507
  name: "BBasketSummary",
@@ -1514,41 +1518,41 @@ const Uo = /* @__PURE__ */ Z(Lo, [["render", No]]), Xt = K({
1514
1518
  isSuccessful: { type: Boolean }
1515
1519
  },
1516
1520
  setup(t, { emit: e }) {
1517
- var h, $;
1521
+ var h, E;
1518
1522
  const n = x(
1519
- ((h = t.hotelRoomOffer) == null ? void 0 : h.breakfastCount) && (($ = t.hotelRoomOffer) == null ? void 0 : $.breakfastCount) > 0 || !1
1520
- ), s = p(
1523
+ ((h = t.hotelRoomOffer) == null ? void 0 : h.breakfastCount) && ((E = t.hotelRoomOffer) == null ? void 0 : E.breakfastCount) > 0 || !1
1524
+ ), s = b(
1521
1525
  () => {
1522
1526
  var g;
1523
1527
  return (g = t.hotelRoomOffer) == null ? void 0 : g.breakfastOption;
1524
1528
  }
1525
- ), r = p(
1526
- () => io(t.adultCount, t.children)
1527
- ), k = p(
1529
+ ), r = b(
1530
+ () => so(t.adultCount, t.children)
1531
+ ), k = b(
1528
1532
  () => t.hotelRoomOffer.breakfastOption === Pt.Included
1529
- ), c = p(
1533
+ ), d = b(
1530
1534
  () => t.hotelRoomOffer.breakfastOption === Pt.Optional
1531
- ), i = p(
1535
+ ), l = b(
1532
1536
  () => t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0
1533
- ), m = p(() => !t.hotelRoomOffer || !t.checkOutDate || !t.checkInDate ? 0 : ht(t.checkOutDate).diff(ht(t.checkInDate), "day")), d = p(
1537
+ ), m = b(() => !t.hotelRoomOffer || !t.checkOutDate || !t.checkInDate ? 0 : ht(t.checkOutDate).diff(ht(t.checkInDate), "day")), c = b(
1534
1538
  () => {
1535
1539
  var g;
1536
1540
  return _t((g = t.hotelRoomOffer) == null ? void 0 : g.hotelRooms, "count");
1537
1541
  }
1538
- ), P = p(
1542
+ ), P = b(
1539
1543
  () => {
1540
1544
  var g;
1541
- return ke(
1542
- he({
1545
+ return Ze(
1546
+ be({
1543
1547
  bookingDatetime: ht().format(),
1544
1548
  cancellationPolicies: (g = t.hotelRoomOffer) == null ? void 0 : g.cancellationPolicies,
1545
1549
  checkInDate: t.checkInDate,
1546
1550
  timezone: t.hotelTimezone
1547
1551
  }),
1548
- ve.Camel
1552
+ Qe.Camel
1549
1553
  );
1550
1554
  }
1551
- ), E = p(
1555
+ ), A = b(
1552
1556
  () => {
1553
1557
  var g;
1554
1558
  return _t(
@@ -1560,19 +1564,19 @@ const Uo = /* @__PURE__ */ Z(Lo, [["render", No]]), Xt = K({
1560
1564
  U(n, (g) => {
1561
1565
  e("breakfast-change", g);
1562
1566
  });
1563
- const { t: R } = tt();
1567
+ const { t: R } = X();
1564
1568
  return {
1565
1569
  addBreakfast: n,
1566
1570
  breakfastOption: s,
1567
1571
  guestCount: r,
1568
1572
  isBreakfastIncluded: k,
1569
- isBreakfastOptionnal: c,
1570
- isTaxIncluded: i,
1573
+ isBreakfastOptionnal: d,
1574
+ isTaxIncluded: l,
1571
1575
  nightCount: m,
1572
- roomCount: d,
1576
+ roomCount: c,
1573
1577
  sanitizedCancellationPolicies: P,
1574
1578
  t: R,
1575
- totalOccupancy: E
1579
+ totalOccupancy: A
1576
1580
  };
1577
1581
  }
1578
1582
  });
@@ -1710,14 +1714,14 @@ function qt(t) {
1710
1714
  }
1711
1715
  });
1712
1716
  }
1713
- const jo = { key: 0 }, Fo = ["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" }, xo = { class: "text-caption" }, Ko = {
1717
+ const No = { key: 0 }, Uo = ["innerHTML"], jo = { class: "font-weight-bold pb-2" }, Fo = { class: "mt-4 font-weight-bold" }, Go = { class: "text-caption mb-0 text-left font-weight-bold" }, Wo = { class: "text-caption" }, Yo = {
1714
1718
  key: 0,
1715
1719
  class: "text-caption pl-2"
1716
- }, Zo = { class: "text-caption" }, Qo = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Jo = { key: 0 }, Xo = { key: 1 };
1717
- function ta(t, e, n, s, r, k) {
1718
- const c = A("BBasketSummaryLayout"), i = A("BHotelRoomsDetails"), m = A("BBreakfastOptionBadge"), d = A("BBreakfastSwitch"), P = A("BFormattedAmount"), E = A("BPriceSummary"), R = A("CancellationPoliciesList");
1719
- return l(), f("div", null, [
1720
- t.isLoading ? (l(), S(Yt, {
1720
+ }, xo = { class: "text-caption" }, Ko = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Zo = { key: 0 }, Qo = { key: 1 };
1721
+ function Jo(t, e, n, s, r, k) {
1722
+ const d = L("BBasketSummaryLayout"), l = L("BHotelRoomsDetails"), m = L("BBreakfastOptionBadge"), c = L("BBreakfastSwitch"), P = L("BFormattedAmount"), A = L("BPriceSummary"), R = L("CancellationPoliciesList");
1723
+ return i(), f("div", null, [
1724
+ t.isLoading ? (i(), S(jt, {
1721
1725
  key: 0,
1722
1726
  absolute: "",
1723
1727
  class: "mx-n3",
@@ -1733,21 +1737,21 @@ function ta(t, e, n, s, r, k) {
1733
1737
  ]),
1734
1738
  _: 1
1735
1739
  })) : I("", !0),
1736
- t.hotelRoomOffer ? (l(), S(c, { key: "filled-up" }, {
1740
+ t.hotelRoomOffer ? (i(), S(d, { key: "filled-up" }, {
1737
1741
  title: a(() => [
1738
1742
  v("span", null, C(t.t("BBasketSummary.title")), 1)
1739
1743
  ]),
1740
1744
  "adult-count": a(() => [
1741
1745
  v("span", {
1742
1746
  innerHTML: t.t("BBasketSummary.totalOccupancy", { n: t.totalOccupancy })
1743
- }, null, 8, Fo)
1747
+ }, null, 8, Uo)
1744
1748
  ]),
1745
1749
  "secondary-title": a(() => [
1746
- v("span", Go, C(t.t("BBasketSummary.yourSelection")), 1)
1750
+ v("span", jo, C(t.t("BBasketSummary.yourSelection")), 1)
1747
1751
  ]),
1748
1752
  "hotel-rooms": a(() => [
1749
- (l(!0), f(B, null, J(t.hotelRoomOffer.hotelRooms, (h, $) => (l(), f("div", {
1750
- key: `room-${$}`
1753
+ (i(!0), f(B, null, Z(t.hotelRoomOffer.hotelRooms, (h, E) => (i(), f("div", {
1754
+ key: `room-${E}`
1751
1755
  }, [
1752
1756
  o(V, null, {
1753
1757
  default: a(() => [
@@ -1756,15 +1760,15 @@ function ta(t, e, n, s, r, k) {
1756
1760
  cols: "12"
1757
1761
  }, {
1758
1762
  default: a(() => [
1759
- o(i, {
1763
+ o(l, {
1760
1764
  class: Rt({
1761
- "mt-n4": $ >= 1
1765
+ "mt-n4": E >= 1
1762
1766
  }),
1763
1767
  "hotel-rooms": [h]
1764
1768
  }, null, 8, ["class", "hotel-rooms"]),
1765
1769
  o(nt, {
1766
1770
  class: Rt({
1767
- "mt-n4": $ >= 1
1771
+ "mt-n4": E >= 1
1768
1772
  }),
1769
1773
  color: "red",
1770
1774
  icon: "",
@@ -1792,7 +1796,7 @@ function ta(t, e, n, s, r, k) {
1792
1796
  ]))), 128))
1793
1797
  ]),
1794
1798
  "breakfast-option": a(() => [
1795
- t.breakfastOption ? (l(), f(B, { key: 0 }, [
1799
+ t.breakfastOption ? (i(), f(B, { key: 0 }, [
1796
1800
  o(V, { "no-gutters": "" }, {
1797
1801
  default: a(() => [
1798
1802
  o(O, null, {
@@ -1808,7 +1812,7 @@ function ta(t, e, n, s, r, k) {
1808
1812
  ]),
1809
1813
  _: 1
1810
1814
  }),
1811
- t.isBreakfastOptionnal ? (l(), S(V, {
1815
+ t.isBreakfastOptionnal ? (i(), S(V, {
1812
1816
  key: 0,
1813
1817
  class: "mt-2",
1814
1818
  "no-gutters": ""
@@ -1816,7 +1820,7 @@ function ta(t, e, n, s, r, k) {
1816
1820
  default: a(() => [
1817
1821
  o(O, { class: "mb-2 mt-xl-0" }, {
1818
1822
  default: a(() => [
1819
- o(d, {
1823
+ o(c, {
1820
1824
  modelValue: t.addBreakfast,
1821
1825
  "onUpdate:modelValue": e[0] || (e[0] = (h) => t.addBreakfast = h),
1822
1826
  loading: t.isLoading && "success",
@@ -1831,7 +1835,7 @@ function ta(t, e, n, s, r, k) {
1831
1835
  ], 64)) : I("", !0)
1832
1836
  ]),
1833
1837
  "price-summary": a(() => [
1834
- v("p", Wo, C(t.t("BBasketSummary.priceDetails")), 1),
1838
+ v("p", Fo, C(t.t("BBasketSummary.priceDetails")), 1),
1835
1839
  o(V, {
1836
1840
  "no-gutters": "",
1837
1841
  class: "mt-1"
@@ -1839,7 +1843,7 @@ function ta(t, e, n, s, r, k) {
1839
1843
  default: a(() => [
1840
1844
  o(O, null, {
1841
1845
  default: a(() => [
1842
- v("p", Yo, C(t.t("BBasketSummary.roomCount", {
1846
+ v("p", Go, C(t.t("BBasketSummary.roomCount", {
1843
1847
  n: t.roomCount,
1844
1848
  value: t.roomCount
1845
1849
  })) + " x " + C(t.t("BBasketSummary.nightCount", {
@@ -1851,7 +1855,7 @@ function ta(t, e, n, s, r, k) {
1851
1855
  }),
1852
1856
  o(O, { class: "text-right" }, {
1853
1857
  default: a(() => [
1854
- v("span", xo, [
1858
+ v("span", Wo, [
1855
1859
  o(P, {
1856
1860
  amount: t.hotelRoomOffer.price
1857
1861
  }, null, 8, ["amount"])
@@ -1869,7 +1873,7 @@ function ta(t, e, n, s, r, k) {
1869
1873
  default: a(() => [
1870
1874
  o(O, null, {
1871
1875
  default: a(() => [
1872
- t.hotelRoomOffer.breakfastCount ? (l(), f("small", Ko, C(t.t("BBasketSummary.breakfastIncluded", {
1876
+ t.hotelRoomOffer.breakfastCount ? (i(), f("small", Yo, C(t.t("BBasketSummary.breakfastIncluded", {
1873
1877
  n: t.hotelRoomOffer.breakfastCount,
1874
1878
  value: t.hotelRoomOffer.breakfastCount
1875
1879
  })), 1)) : I("", !0)
@@ -1879,7 +1883,7 @@ function ta(t, e, n, s, r, k) {
1879
1883
  ]),
1880
1884
  _: 1
1881
1885
  }),
1882
- t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (l(), S(V, {
1886
+ t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (i(), S(V, {
1883
1887
  key: 0,
1884
1888
  "no-gutters": "",
1885
1889
  class: "mt-2 color-black"
@@ -1894,7 +1898,7 @@ function ta(t, e, n, s, r, k) {
1894
1898
  }),
1895
1899
  o(O, { class: "text-right" }, {
1896
1900
  default: a(() => [
1897
- v("span", Zo, [
1901
+ v("span", xo, [
1898
1902
  o(P, {
1899
1903
  amount: t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price
1900
1904
  }, null, 8, ["amount"])
@@ -1916,7 +1920,7 @@ function ta(t, e, n, s, r, k) {
1916
1920
  }),
1917
1921
  o(O, null, {
1918
1922
  default: a(() => [
1919
- o(E, {
1923
+ o(A, {
1920
1924
  "is-tax-included": t.isTaxIncluded,
1921
1925
  "night-count": 0,
1922
1926
  price: t.hotelRoomOffer.price,
@@ -1931,7 +1935,7 @@ function ta(t, e, n, s, r, k) {
1931
1935
  })
1932
1936
  ]),
1933
1937
  errors: a(() => [
1934
- t.totalOccupancy && t.totalOccupancy < t.guestCount ? (l(), S(Ye, {
1938
+ t.totalOccupancy && t.totalOccupancy < t.guestCount ? (i(), S(Ue, {
1935
1939
  key: 0,
1936
1940
  class: "mb-0",
1937
1941
  color: "red",
@@ -1939,7 +1943,7 @@ function ta(t, e, n, s, r, k) {
1939
1943
  variant: "outlined"
1940
1944
  }, {
1941
1945
  default: a(() => [
1942
- v("p", Qo, C(t.t("BBasketSummary.occupancyWarning", {
1946
+ v("p", Ko, C(t.t("BBasketSummary.occupancyWarning", {
1943
1947
  guestCount: t.guestCount
1944
1948
  })), 1)
1945
1949
  ]),
@@ -1956,7 +1960,7 @@ function ta(t, e, n, s, r, k) {
1956
1960
  onClick: e[1] || (e[1] = (h) => t.$emit("submit"))
1957
1961
  }, {
1958
1962
  default: a(() => [
1959
- t.isSuccessful ? I("", !0) : (l(), f("span", Jo, C(t.t("BBasketSummary.book")), 1)),
1963
+ t.isSuccessful ? I("", !0) : (i(), f("span", Zo, C(t.t("BBasketSummary.book")), 1)),
1960
1964
  gt(o(st, { class: "position-absolute" }, {
1961
1965
  default: a(() => e[10] || (e[10] = [
1962
1966
  T(" fas fa-check ")
@@ -1971,16 +1975,16 @@ function ta(t, e, n, s, r, k) {
1971
1975
  }, 8, ["color", "disabled", "loading"])
1972
1976
  ]),
1973
1977
  "cancellation-policies": a(() => [
1974
- t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (l(), S(R, {
1978
+ t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (i(), S(R, {
1975
1979
  key: 0,
1976
1980
  "cancellation-policies": t.sanitizedCancellationPolicies,
1977
1981
  "check-in-date": t.checkInDate,
1978
1982
  class: "text-caption",
1979
1983
  timezone: t.hotelTimezone
1980
- }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (l(), f("span", Xo))
1984
+ }, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (i(), f("span", Qo))
1981
1985
  ]),
1982
1986
  _: 1
1983
- })) : (l(), S(c, { key: "empty" }, {
1987
+ })) : (i(), S(d, { key: "empty" }, {
1984
1988
  title: a(() => [
1985
1989
  v("span", null, C(t.t("BBasketSummary.title")), 1)
1986
1990
  ]),
@@ -2003,7 +2007,7 @@ function ta(t, e, n, s, r, k) {
2003
2007
  disabled: ""
2004
2008
  }, {
2005
2009
  default: a(() => [
2006
- t.isSuccessful ? I("", !0) : (l(), f("span", jo, C(t.t("BBasketSummary.book")), 1)),
2010
+ t.isSuccessful ? I("", !0) : (i(), f("span", No, C(t.t("BBasketSummary.book")), 1)),
2007
2011
  gt(o(st, { class: "position-absolute" }, {
2008
2012
  default: a(() => e[5] || (e[5] = [
2009
2013
  T(" fas fa-check ")
@@ -2024,20 +2028,20 @@ function ta(t, e, n, s, r, k) {
2024
2028
  }))
2025
2029
  ]);
2026
2030
  }
2027
- typeof qt == "function" && qt(Xt);
2028
- const ea = /* @__PURE__ */ Z(Xt, [["render", ta]]), oa = {
2031
+ typeof qt == "function" && qt(Qt);
2032
+ const Xo = /* @__PURE__ */ tt(Qt, [["render", Jo]]), ta = {
2029
2033
  hotelId: {
2030
2034
  required: !0,
2031
2035
  type: String
2032
2036
  }
2033
- }, aa = K({
2037
+ }, ea = J({
2034
2038
  components: {
2035
- BBasketSummary: ea,
2036
- HotelRoomOfferItem: Jt,
2039
+ BBasketSummary: Xo,
2040
+ HotelRoomOfferItem: Zt,
2037
2041
  HotelRoomOfferItemLayout: kt
2038
2042
  },
2039
2043
  computed: {
2040
- ...ye(pt, bt),
2044
+ ...ke(pt, bt),
2041
2045
  adultCount() {
2042
2046
  var t;
2043
2047
  return (t = this.hotelRoomOfferRequest) == null ? void 0 : t.adultCount;
@@ -2124,11 +2128,11 @@ const ea = /* @__PURE__ */ Z(Xt, [["render", ta]]), oa = {
2124
2128
  }), await this.createHotelRoomOfferPackage(), this.isLoading = !1);
2125
2129
  }
2126
2130
  },
2127
- mixins: [ge, Pe()],
2131
+ mixins: [pe, Be()],
2128
2132
  name: "HotelRoomOfferBasket",
2129
- props: oa,
2133
+ props: ta,
2130
2134
  setup() {
2131
- const { t } = tt();
2135
+ const { t } = X();
2132
2136
  return {
2133
2137
  t
2134
2138
  };
@@ -2159,27 +2163,26 @@ const ea = /* @__PURE__ */ Z(Xt, [["render", ta]]), oa = {
2159
2163
  }
2160
2164
  }
2161
2165
  });
2162
- function sa(t, e, n, s, r, k) {
2163
- const c = A("HotelRoomOfferItem"), i = A("BBasketSummary");
2164
- return l(), S(V, { "no-gutters": "" }, {
2166
+ function oa(t, e, n, s, r, k) {
2167
+ const d = L("HotelRoomOfferItem"), l = L("BBasketSummary");
2168
+ return i(), S(V, { "no-gutters": "" }, {
2165
2169
  default: a(() => [
2166
2170
  o(O, {
2167
2171
  cols: "12",
2168
2172
  md: "8"
2169
2173
  }, {
2170
2174
  default: a(() => [
2171
- t.hotelRoomOffers.length && t.basketContent.length ? (l(!0), f(B, { key: 0 }, J(t.hotelRoomOffers, (m, d) => (l(), f(B, null, [
2172
- d > 0 ? (l(), S(X, { key: 0 })) : I("", !0),
2173
- o(c, G({
2174
- modelValue: t.basketContent[d].count,
2175
- "onUpdate:modelValue": (P) => t.basketContent[d].count = P,
2176
- ref_for: !0
2177
- }, m), null, 16, ["modelValue", "onUpdate:modelValue"])
2175
+ t.hotelRoomOffers.length && t.basketContent.length ? (i(!0), f(B, { key: 0 }, Z(t.hotelRoomOffers, (m, c) => (i(), f(B, null, [
2176
+ c > 0 ? (i(), S(Q, { key: 0 })) : I("", !0),
2177
+ o(d, G({
2178
+ modelValue: t.basketContent[c].count,
2179
+ "onUpdate:modelValue": (P) => t.basketContent[c].count = P
2180
+ }, { ref_for: !0 }, m), null, 16, ["modelValue", "onUpdate:modelValue"])
2178
2181
  ], 64))), 256)) : I("", !0)
2179
2182
  ]),
2180
2183
  _: 1
2181
2184
  }),
2182
- o(X, {
2185
+ o(Q, {
2183
2186
  class: "d-none d-md-block",
2184
2187
  vertical: ""
2185
2188
  }),
@@ -2189,8 +2192,8 @@ function sa(t, e, n, s, r, k) {
2189
2192
  md: "4"
2190
2193
  }, {
2191
2194
  default: a(() => [
2192
- o(X, { class: "d-block d-md-none my-2" }),
2193
- o(i, G(t.newCreatedPackage, {
2195
+ o(Q, { class: "d-block d-md-none my-2" }),
2196
+ o(l, G(t.newCreatedPackage, {
2194
2197
  "adult-count": t.adultCount,
2195
2198
  "hotel-timezone": t.hotelTimezone,
2196
2199
  "is-loading": t.isLoading,
@@ -2207,7 +2210,7 @@ function sa(t, e, n, s, r, k) {
2207
2210
  _: 1
2208
2211
  });
2209
2212
  }
2210
- const na = /* @__PURE__ */ Z(aa, [["render", sa], ["__scopeId", "data-v-ee0e3c98"]]), ia = {
2213
+ const aa = /* @__PURE__ */ tt(ea, [["render", oa], ["__scopeId", "data-v-ee0e3c98"]]), sa = {
2211
2214
  boilerplateSkeleton: {
2212
2215
  type: Boolean
2213
2216
  },
@@ -2218,15 +2221,15 @@ const na = /* @__PURE__ */ Z(aa, [["render", sa], ["__scopeId", "data-v-ee0e3c98
2218
2221
  type: {
2219
2222
  type: String
2220
2223
  }
2221
- }, te = K({
2224
+ }, Jt = J({
2222
2225
  components: {
2223
2226
  BErrorOverlay: St,
2224
2227
  HotelRoomOfferItemLayout: kt
2225
2228
  },
2226
2229
  name: "HotelRoomOfferListEmpty",
2227
- props: ia,
2230
+ props: sa,
2228
2231
  setup() {
2229
- const { t } = tt();
2232
+ const { t } = X();
2230
2233
  return {
2231
2234
  t
2232
2235
  };
@@ -2352,17 +2355,17 @@ function zt(t) {
2352
2355
  }
2353
2356
  });
2354
2357
  }
2355
- function la(t, e, n, s, r, k) {
2356
- const c = A("HotelRoomOfferItemLayout"), i = A("BErrorOverlay");
2357
- return l(), f("div", null, [
2358
- (l(!0), f(B, null, J(t.itemCount, (m) => (l(), f(B, { key: m }, [
2359
- m > 1 ? (l(), S(X, { key: 0 })) : I("", !0),
2360
- o(c, {
2358
+ function na(t, e, n, s, r, k) {
2359
+ const d = L("HotelRoomOfferItemLayout"), l = L("BErrorOverlay");
2360
+ return i(), f("div", null, [
2361
+ (i(!0), f(B, null, Z(t.itemCount, (m) => (i(), f(B, { key: m }, [
2362
+ m > 1 ? (i(), S(Q, { key: 0 })) : I("", !0),
2363
+ o(d, {
2361
2364
  boilerplate: t.boilerplateSkeleton,
2362
2365
  class: Rt({ "mt-0": m === 1, "mb-0": m === 3 })
2363
2366
  }, null, 8, ["boilerplate", "class"])
2364
2367
  ], 64))), 128)),
2365
- t.type ? (l(), S(i, { key: 0 }, {
2368
+ t.type ? (i(), S(l, { key: 0 }, {
2366
2369
  title: a(() => [
2367
2370
  T(C(t.t(`HotelRoomOfferListEmpty.${t.type}.title`)), 1)
2368
2371
  ]),
@@ -2373,80 +2376,80 @@ function la(t, e, n, s, r, k) {
2373
2376
  })) : I("", !0)
2374
2377
  ]);
2375
2378
  }
2376
- typeof zt == "function" && zt(te);
2377
- const ra = /* @__PURE__ */ Z(te, [["render", la]]), ua = {
2379
+ typeof zt == "function" && zt(Jt);
2380
+ const ia = /* @__PURE__ */ tt(Jt, [["render", na]]), la = {
2378
2381
  OnlyMatchingRoomCount: !1
2379
- }, ee = {
2380
- ...le,
2382
+ }, ra = {
2383
+ ...Se,
2381
2384
  features: {
2382
- default: () => ua,
2385
+ default: () => la,
2383
2386
  type: [Object, String]
2384
2387
  },
2385
2388
  limit: {
2386
2389
  default: () => 0,
2387
2390
  type: Number
2388
2391
  }
2389
- }, oe = K({
2392
+ }, Xt = J({
2390
2393
  components: {
2391
2394
  BErrorOverlay: St,
2392
- HotelRoomOfferBasket: na,
2393
- HotelRoomOfferItem: Jt,
2395
+ HotelRoomOfferBasket: aa,
2396
+ HotelRoomOfferItem: Zt,
2394
2397
  HotelRoomOfferItemLayout: kt,
2395
- HotelRoomOfferListEmpty: ra
2398
+ HotelRoomOfferListEmpty: ia
2396
2399
  },
2397
2400
  name: "HotelRoomOfferList",
2398
- props: ee,
2401
+ props: ra,
2399
2402
  // eslint-disable-next-line max-lines-per-function
2400
2403
  setup(t) {
2401
- const { t: e } = tt(), n = bt(), s = pt(), r = x(null), k = x(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), c = co({
2404
+ const { t: e } = X(), n = bt(), s = pt(), r = x(null), k = x(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), d = ro({
2402
2405
  fallbackValue: {
2403
2406
  OnlyMatchingRoomCount: !1
2404
2407
  },
2405
- prop: p(() => t.features)
2406
- }), i = (b) => b.hotelRooms.reduce((y, _) => y + _.count, 0), m = p(() => s.hotelRoomOfferRequest(t.hotelId)), d = p(
2408
+ prop: b(() => t.features)
2409
+ }), l = (p) => p.hotelRooms.reduce((y, _) => y + _.count, 0), m = b(() => s.hotelRoomOfferRequest(t.hotelId)), c = b(
2407
2410
  () => n.hotelRoomOffers(t.hotelId)
2408
- ), P = p(
2411
+ ), P = b(
2409
2412
  () => {
2410
- var b, y;
2411
- return !!((b = m.value) != null && b.hasError || (y = d.value) != null && y.hasError);
2413
+ var p, y;
2414
+ return !!((p = m.value) != null && p.hasError || (y = c.value) != null && y.hasError);
2412
2415
  }
2413
- ), E = p(
2416
+ ), A = b(
2414
2417
  () => {
2415
- var b, y;
2416
- return ((y = (b = d.value) == null ? void 0 : b.offers) == null ? void 0 : y.filter(
2418
+ var p, y;
2419
+ return ((y = (p = c.value) == null ? void 0 : p.offers) == null ? void 0 : y.filter(
2417
2420
  (_) => _.type === Ot.HotelRoom
2418
2421
  )) || [];
2419
2422
  }
2420
- ), R = p(() => {
2423
+ ), R = b(() => {
2421
2424
  var y, _;
2422
- const b = (_ = (y = d.value) == null ? void 0 : y.offers) == null ? void 0 : _.filter(
2425
+ const p = (_ = (y = c.value) == null ? void 0 : y.offers) == null ? void 0 : _.filter(
2423
2426
  (F) => F.type === Ot.Package
2424
2427
  ).filter((F) => {
2425
2428
  var et, N;
2426
- return (et = c.value) != null && et.OnlyMatchingRoomCount ? i(F) === ((N = m.value) == null ? void 0 : N.roomCount) : !0;
2429
+ return (et = d.value) != null && et.OnlyMatchingRoomCount ? l(F) === ((N = m.value) == null ? void 0 : N.roomCount) : !0;
2427
2430
  });
2428
- return (b == null ? void 0 : b.slice(0, t.limit || b.length)) || [];
2429
- }), h = p(
2431
+ return (p == null ? void 0 : p.slice(0, t.limit || p.length)) || [];
2432
+ }), h = b(
2430
2433
  () => {
2431
- var b, y;
2432
- return !!((b = d.value) != null && b.isPolling) && !!((y = R.value) != null && y.length);
2434
+ var p, y;
2435
+ return !!((p = c.value) != null && p.isPolling) && !!((y = R.value) != null && y.length);
2433
2436
  }
2434
- ), $ = p(
2437
+ ), E = b(
2435
2438
  () => {
2436
- var b, y, _, F;
2437
- return !((b = m.value) != null && b.id) || (!!((y = m.value) != null && y.isFetching) || !!((_ = d.value) != null && _.isPolling)) && !((F = R.value) != null && F.length);
2439
+ var p, y, _, F;
2440
+ return !((p = m.value) != null && p.id) || (!!((y = m.value) != null && y.isFetching) || !!((_ = c.value) != null && _.isPolling)) && !((F = R.value) != null && F.length);
2438
2441
  }
2439
2442
  ), g = async ({
2440
- addBreakfast: b,
2443
+ addBreakfast: p,
2441
2444
  hotelId: y,
2442
2445
  id: _
2443
2446
  }) => {
2444
2447
  await n.reifyHotelRoomOffer({
2445
- addBreakfast: b,
2448
+ addBreakfast: p,
2446
2449
  hotelId: y,
2447
2450
  id: _
2448
2451
  });
2449
- }, j = async (b) => {
2452
+ }, j = async (p) => {
2450
2453
  var y;
2451
2454
  if (!((y = m.value) != null && y.id)) {
2452
2455
  n.resetHotelRoomOffers({
@@ -2457,23 +2460,23 @@ const ra = /* @__PURE__ */ Z(te, [["render", la]]), ua = {
2457
2460
  await n.retrieveHotelRoomOffers({
2458
2461
  hotelId: t.hotelId,
2459
2462
  hotelRoomOfferRequestId: m.value.id,
2460
- inProgressHotelRoomOfferIds: b
2463
+ inProgressHotelRoomOfferIds: p
2461
2464
  });
2462
2465
  };
2463
- async function W(b) {
2464
- await j([b]);
2466
+ async function W(p) {
2467
+ await j([p]);
2465
2468
  }
2466
2469
  U(
2467
2470
  () => {
2468
- var b;
2469
- return (b = m.value) == null ? void 0 : b.id;
2471
+ var p;
2472
+ return (p = m.value) == null ? void 0 : p.id;
2470
2473
  },
2471
2474
  async () => {
2472
2475
  await j();
2473
2476
  },
2474
2477
  { immediate: !0 }
2475
2478
  );
2476
- const { bookingApiClient: M, config: D } = Re();
2479
+ const { bookingApiClient: M, config: D } = ve();
2477
2480
  U(
2478
2481
  () => [M.value, D.value.currency, D.value.lang],
2479
2482
  async () => {
@@ -2481,7 +2484,7 @@ const ra = /* @__PURE__ */ Z(te, [["render", la]]), ua = {
2481
2484
  },
2482
2485
  { immediate: !0 }
2483
2486
  );
2484
- const Y = ho({
2487
+ const Y = ko({
2485
2488
  adultCount: t.adultCount,
2486
2489
  checkInDate: t.checkInDate,
2487
2490
  checkOutDate: t.checkOutDate,
@@ -2492,11 +2495,11 @@ const ra = /* @__PURE__ */ Z(te, [["render", la]]), ua = {
2492
2495
  });
2493
2496
  return {
2494
2497
  hasError: P,
2495
- hotelRoomHotelRoomOffers: E,
2498
+ hotelRoomHotelRoomOffers: A,
2496
2499
  isLoading: h,
2497
2500
  onBreakfastChange: g,
2498
2501
  packageHotelRoomOffers: R,
2499
- showSkeleton: $,
2502
+ showSkeleton: E,
2500
2503
  t: e,
2501
2504
  tab: r,
2502
2505
  tabItems: k,
@@ -2583,7 +2586,7 @@ function Mt(t) {
2583
2586
  }
2584
2587
  });
2585
2588
  }
2586
- const wt = Symbol.for("vuetify:v-tabs"), ca = lt({
2589
+ const wt = Symbol.for("vuetify:v-tabs"), ua = lt({
2587
2590
  fixed: Boolean,
2588
2591
  sliderColor: String,
2589
2592
  hideSlider: Boolean,
@@ -2591,13 +2594,13 @@ const wt = Symbol.for("vuetify:v-tabs"), ca = lt({
2591
2594
  type: String,
2592
2595
  default: "horizontal"
2593
2596
  },
2594
- ...jt(Qe({
2597
+ ...Nt(We({
2595
2598
  selectedClass: "v-tab--selected",
2596
2599
  variant: "text"
2597
2600
  }), ["active", "block", "flat", "location", "position", "symbol"])
2598
- }, "VTab"), ae = it()({
2601
+ }, "VTab"), te = it()({
2599
2602
  name: "VTab",
2600
- props: ca(),
2603
+ props: ua(),
2601
2604
  setup(t, e) {
2602
2605
  let {
2603
2606
  slots: n,
@@ -2606,41 +2609,41 @@ const wt = Symbol.for("vuetify:v-tabs"), ca = lt({
2606
2609
  const {
2607
2610
  textColorClasses: r,
2608
2611
  textColorStyles: k
2609
- } = Ve(t, "sliderColor"), c = x(), i = x(), m = p(() => t.direction === "horizontal"), d = p(() => {
2610
- var E, R;
2611
- return ((R = (E = c.value) == null ? void 0 : E.group) == null ? void 0 : R.isSelected.value) ?? !1;
2612
+ } = Pe(t, "sliderColor"), d = x(), l = x(), m = b(() => t.direction === "horizontal"), c = b(() => {
2613
+ var A, R;
2614
+ return ((R = (A = d.value) == null ? void 0 : A.group) == null ? void 0 : R.isSelected.value) ?? !1;
2612
2615
  });
2613
- function P(E) {
2614
- var h, $;
2616
+ function P(A) {
2617
+ var h, E;
2615
2618
  let {
2616
2619
  value: R
2617
- } = E;
2620
+ } = A;
2618
2621
  if (R) {
2619
- const g = ($ = (h = c.value) == null ? void 0 : h.$el.parentElement) == null ? void 0 : $.querySelector(".v-tab--selected .v-tab__slider"), j = i.value;
2622
+ const g = (E = (h = d.value) == null ? void 0 : h.$el.parentElement) == null ? void 0 : E.querySelector(".v-tab--selected .v-tab__slider"), j = l.value;
2620
2623
  if (!g || !j) return;
2621
- const W = getComputedStyle(g).color, M = g.getBoundingClientRect(), D = j.getBoundingClientRect(), Y = m.value ? "x" : "y", b = m.value ? "X" : "Y", y = m.value ? "right" : "bottom", _ = m.value ? "width" : "height", F = M[Y], et = D[Y], N = F > et ? M[y] - D[y] : M[Y] - D[Y], u = Math.sign(N) > 0 ? m.value ? "right" : "bottom" : Math.sign(N) < 0 ? m.value ? "left" : "top" : "center", w = (Math.abs(N) + (Math.sign(N) < 0 ? M[_] : D[_])) / Math.max(M[_], D[_]) || 0, q = M[_] / D[_] || 0, ut = 1.5;
2622
- $e(j, {
2624
+ const W = getComputedStyle(g).color, M = g.getBoundingClientRect(), D = j.getBoundingClientRect(), Y = m.value ? "x" : "y", p = m.value ? "X" : "Y", y = m.value ? "right" : "bottom", _ = m.value ? "width" : "height", F = M[Y], et = D[Y], N = F > et ? M[y] - D[y] : M[Y] - D[Y], u = Math.sign(N) > 0 ? m.value ? "right" : "bottom" : Math.sign(N) < 0 ? m.value ? "left" : "top" : "center", w = (Math.abs(N) + (Math.sign(N) < 0 ? M[_] : D[_])) / Math.max(M[_], D[_]) || 0, q = M[_] / D[_] || 0, ut = 1.5;
2625
+ _e(j, {
2623
2626
  backgroundColor: [W, "currentcolor"],
2624
- transform: [`translate${b}(${N}px) scale${b}(${q})`, `translate${b}(${N / ut}px) scale${b}(${(w - 1) / ut + 1})`, "none"],
2627
+ transform: [`translate${p}(${N}px) scale${p}(${q})`, `translate${p}(${N / ut}px) scale${p}(${(w - 1) / ut + 1})`, "none"],
2625
2628
  transformOrigin: Array(3).fill(u)
2626
2629
  }, {
2627
2630
  duration: 225,
2628
- easing: Ee
2631
+ easing: He
2629
2632
  });
2630
2633
  }
2631
2634
  }
2632
2635
  return rt(() => {
2633
- const E = nt.filterProps(t);
2636
+ const A = nt.filterProps(t);
2634
2637
  return o(nt, G({
2635
2638
  symbol: wt,
2636
- ref: c,
2639
+ ref: d,
2637
2640
  class: ["v-tab", t.class],
2638
2641
  style: t.style,
2639
- tabindex: d.value ? 0 : -1,
2642
+ tabindex: c.value ? 0 : -1,
2640
2643
  role: "tab",
2641
- "aria-selected": String(d.value),
2644
+ "aria-selected": String(c.value),
2642
2645
  active: !1
2643
- }, E, s, {
2646
+ }, A, s, {
2644
2647
  block: t.fixed,
2645
2648
  maxWidth: t.fixed ? 300 : void 0,
2646
2649
  "onGroup:selected": P
@@ -2649,19 +2652,19 @@ const wt = Symbol.for("vuetify:v-tabs"), ca = lt({
2649
2652
  default: () => {
2650
2653
  var R;
2651
2654
  return o(B, null, [((R = n.default) == null ? void 0 : R.call(n)) ?? t.text, !t.hideSlider && o("div", {
2652
- ref: i,
2655
+ ref: l,
2653
2656
  class: ["v-tab__slider", r.value],
2654
2657
  style: k.value
2655
2658
  }, null)]);
2656
2659
  }
2657
2660
  });
2658
- }), Ne({}, c);
2661
+ }), Je({}, d);
2659
2662
  }
2660
- }), da = lt({
2661
- ...jt(eo(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
2662
- }, "VTabsWindow"), se = it()({
2663
+ }), ca = lt({
2664
+ ...Nt(Xe(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
2665
+ }, "VTabsWindow"), ee = it()({
2663
2666
  name: "VTabsWindow",
2664
- props: da(),
2667
+ props: ca(),
2665
2668
  emits: {
2666
2669
  "update:modelValue": (t) => !0
2667
2670
  },
@@ -2669,22 +2672,22 @@ const wt = Symbol.for("vuetify:v-tabs"), ca = lt({
2669
2672
  let {
2670
2673
  slots: n
2671
2674
  } = e;
2672
- const s = Oe(wt, null), r = mt(t, "modelValue"), k = p({
2675
+ const s = he(wt, null), r = mt(t, "modelValue"), k = b({
2673
2676
  get() {
2674
- var c;
2675
- return r.value != null || !s ? r.value : (c = s.items.value.find((i) => s.selected.value.includes(i.id))) == null ? void 0 : c.value;
2677
+ var d;
2678
+ return r.value != null || !s ? r.value : (d = s.items.value.find((l) => s.selected.value.includes(l.id))) == null ? void 0 : d.value;
2676
2679
  },
2677
- set(c) {
2678
- r.value = c;
2680
+ set(d) {
2681
+ r.value = d;
2679
2682
  }
2680
2683
  });
2681
2684
  return rt(() => {
2682
- const c = Vt.filterProps(t);
2685
+ const d = Vt.filterProps(t);
2683
2686
  return o(Vt, G({
2684
2687
  _as: "VTabsWindow"
2685
- }, c, {
2688
+ }, d, {
2686
2689
  modelValue: k.value,
2687
- "onUpdate:modelValue": (i) => k.value = i,
2690
+ "onUpdate:modelValue": (l) => k.value = l,
2688
2691
  class: ["v-tabs-window", t.class],
2689
2692
  style: t.style,
2690
2693
  mandatory: !1,
@@ -2692,18 +2695,18 @@ const wt = Symbol.for("vuetify:v-tabs"), ca = lt({
2692
2695
  }), n);
2693
2696
  }), {};
2694
2697
  }
2695
- }), ma = lt({
2696
- ...oo()
2698
+ }), da = lt({
2699
+ ...to()
2697
2700
  }, "VTabsWindowItem"), Bt = it()({
2698
2701
  name: "VTabsWindowItem",
2699
- props: ma(),
2702
+ props: da(),
2700
2703
  setup(t, e) {
2701
2704
  let {
2702
2705
  slots: n
2703
2706
  } = e;
2704
2707
  return rt(() => {
2705
- const s = $t.filterProps(t);
2706
- return o($t, G({
2708
+ const s = Et.filterProps(t);
2709
+ return o(Et, G({
2707
2710
  _as: "VTabsWindowItem"
2708
2711
  }, s, {
2709
2712
  class: ["v-tabs-window-item", t.class],
@@ -2712,13 +2715,13 @@ const wt = Symbol.for("vuetify:v-tabs"), ca = lt({
2712
2715
  }), {};
2713
2716
  }
2714
2717
  });
2715
- function fa(t) {
2716
- return t ? t.map((e) => Se(e) ? e : {
2718
+ function ma(t) {
2719
+ return t ? t.map((e) => Re(e) ? e : {
2717
2720
  text: e,
2718
2721
  value: e
2719
2722
  }) : [];
2720
2723
  }
2721
- const pa = lt({
2724
+ const fa = lt({
2722
2725
  alignTabs: {
2723
2726
  type: String,
2724
2727
  default: "start"
@@ -2738,15 +2741,15 @@ const pa = lt({
2738
2741
  },
2739
2742
  hideSlider: Boolean,
2740
2743
  sliderColor: String,
2741
- ...ao({
2744
+ ...eo({
2742
2745
  mandatory: "force",
2743
2746
  selectedClass: "v-tab-item--selected"
2744
2747
  }),
2745
- ...je(),
2746
- ...De()
2748
+ ...qe(),
2749
+ ...Ee()
2747
2750
  }, "VTabs"), ba = it()({
2748
2751
  name: "VTabs",
2749
- props: pa(),
2752
+ props: fa(),
2750
2753
  emits: {
2751
2754
  "update:modelValue": (t) => !0
2752
2755
  },
@@ -2755,15 +2758,15 @@ const pa = lt({
2755
2758
  attrs: n,
2756
2759
  slots: s
2757
2760
  } = e;
2758
- const r = mt(t, "modelValue"), k = p(() => fa(t.items)), {
2759
- densityClasses: c
2760
- } = Ue(t), {
2761
- backgroundColorClasses: i,
2761
+ const r = mt(t, "modelValue"), k = b(() => ma(t.items)), {
2762
+ densityClasses: d
2763
+ } = De(t), {
2764
+ backgroundColorClasses: l,
2762
2765
  backgroundColorStyles: m
2763
- } = Ae(at(t, "bgColor")), {
2764
- scopeId: d
2765
- } = Le();
2766
- return Ce({
2766
+ } = Te(at(t, "bgColor")), {
2767
+ scopeId: c
2768
+ } = Ve();
2769
+ return ge({
2767
2770
  VTab: {
2768
2771
  color: at(t, "color"),
2769
2772
  direction: at(t, "direction"),
@@ -2773,28 +2776,28 @@ const pa = lt({
2773
2776
  hideSlider: at(t, "hideSlider")
2774
2777
  }
2775
2778
  }), rt(() => {
2776
- const P = Et.filterProps(t), E = !!(s.window || t.items.length > 0);
2777
- return o(B, null, [o(Et, G(P, {
2779
+ const P = At.filterProps(t), A = !!(s.window || t.items.length > 0);
2780
+ return o(B, null, [o(At, G(P, {
2778
2781
  modelValue: r.value,
2779
2782
  "onUpdate:modelValue": (R) => r.value = R,
2780
2783
  class: ["v-tabs", `v-tabs--${t.direction}`, `v-tabs--align-tabs-${t.alignTabs}`, {
2781
2784
  "v-tabs--fixed-tabs": t.fixedTabs,
2782
2785
  "v-tabs--grow": t.grow,
2783
2786
  "v-tabs--stacked": t.stacked
2784
- }, c.value, i.value, t.class],
2787
+ }, d.value, l.value, t.class],
2785
2788
  style: [{
2786
- "--v-tabs-height": Be(t.height)
2789
+ "--v-tabs-height": ye(t.height)
2787
2790
  }, m.value, t.style],
2788
2791
  role: "tablist",
2789
2792
  symbol: wt
2790
- }, d, n), {
2793
+ }, c, n), {
2791
2794
  default: () => {
2792
2795
  var R;
2793
2796
  return [((R = s.default) == null ? void 0 : R.call(s)) ?? k.value.map((h) => {
2794
- var $;
2795
- return (($ = s.tab) == null ? void 0 : $.call(s, {
2797
+ var E;
2798
+ return ((E = s.tab) == null ? void 0 : E.call(s, {
2796
2799
  item: h
2797
- })) ?? o(ae, G(h, {
2800
+ })) ?? o(te, G(h, {
2798
2801
  key: h.text,
2799
2802
  value: h.value
2800
2803
  }), {
@@ -2807,16 +2810,16 @@ const pa = lt({
2807
2810
  });
2808
2811
  })];
2809
2812
  }
2810
- }), E && o(se, G({
2813
+ }), A && o(ee, G({
2811
2814
  modelValue: r.value,
2812
2815
  "onUpdate:modelValue": (R) => r.value = R,
2813
2816
  key: "tabs-window"
2814
- }, d), {
2817
+ }, c), {
2815
2818
  default: () => {
2816
2819
  var R;
2817
2820
  return [k.value.map((h) => {
2818
- var $;
2819
- return (($ = s.item) == null ? void 0 : $.call(s, {
2821
+ var E;
2822
+ return ((E = s.item) == null ? void 0 : E.call(s, {
2820
2823
  item: h
2821
2824
  })) ?? o(Bt, {
2822
2825
  value: h.value
@@ -2833,57 +2836,57 @@ const pa = lt({
2833
2836
  })]);
2834
2837
  }), {};
2835
2838
  }
2836
- }), ka = { class: "bg-white" }, va = { key: 0 };
2837
- function ha(t, e, n, s, r, k) {
2838
- const c = A("HotelRoomOfferListEmpty"), i = A("HotelRoomOfferItem"), m = A("HotelRoomOfferBasket");
2839
- return l(), f("div", ka, [
2840
- t.isBookingApiClientDefined ? (l(), f(B, { key: 1 }, [
2841
- t.hasError ? (l(), S(c, {
2839
+ }), pa = { class: "bg-white" }, ka = { key: 0 };
2840
+ function va(t, e, n, s, r, k) {
2841
+ const d = L("HotelRoomOfferListEmpty"), l = L("HotelRoomOfferItem"), m = L("HotelRoomOfferBasket");
2842
+ return i(), f("div", pa, [
2843
+ t.isBookingApiClientDefined ? (i(), f(B, { key: 1 }, [
2844
+ t.hasError ? (i(), S(d, {
2842
2845
  key: "error",
2843
2846
  boilerplate: "",
2844
2847
  type: "internalError"
2845
- })) : t.showSkeleton ? (l(), S(c, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (l(), f(B, { key: 2 }, [
2846
- t.hotelRoomHotelRoomOffers.length ? I("", !0) : (l(), f("div", va)),
2847
- t.isLoading ? (l(), S(Ze, {
2848
+ })) : t.showSkeleton ? (i(), S(d, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (i(), f(B, { key: 2 }, [
2849
+ t.hotelRoomHotelRoomOffers.length ? I("", !0) : (i(), f("div", ka)),
2850
+ t.isLoading ? (i(), S(Ge, {
2848
2851
  key: 1,
2849
2852
  class: "loader position-absolute",
2850
2853
  color: "secondary",
2851
2854
  indeterminate: ""
2852
2855
  })) : I("", !0),
2853
- t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (l(), f(B, { key: 2 }, [
2856
+ t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (i(), f(B, { key: 2 }, [
2854
2857
  o(ba, {
2855
2858
  color: "primary",
2856
2859
  density: "compact",
2857
2860
  modelValue: t.tab,
2858
- "onUpdate:modelValue": e[0] || (e[0] = (d) => t.tab = d),
2861
+ "onUpdate:modelValue": e[0] || (e[0] = (c) => t.tab = c),
2859
2862
  grow: ""
2860
2863
  }, {
2861
2864
  default: a(() => [
2862
- (l(!0), f(B, null, J(t.tabItems, (d) => (l(), f(B, { key: d }, [
2863
- o(ae, null, {
2865
+ (i(!0), f(B, null, Z(t.tabItems, (c) => (i(), f(B, { key: c }, [
2866
+ o(te, null, {
2864
2867
  default: a(() => [
2865
- T(C(t.t(`HotelRoomOfferList.${d}.title`)), 1)
2868
+ T(C(t.t(`HotelRoomOfferList.${c}.title`)), 1)
2866
2869
  ]),
2867
2870
  _: 2
2868
2871
  }, 1024),
2869
- o(X, { vertical: "" })
2872
+ o(Q, { vertical: "" })
2870
2873
  ], 64))), 128))
2871
2874
  ]),
2872
2875
  _: 1
2873
2876
  }, 8, ["modelValue"]),
2874
- o(se, {
2877
+ o(ee, {
2875
2878
  modelValue: t.tab,
2876
- "onUpdate:modelValue": e[1] || (e[1] = (d) => t.tab = d),
2879
+ "onUpdate:modelValue": e[1] || (e[1] = (c) => t.tab = c),
2877
2880
  class: "overflow-visible"
2878
2881
  }, {
2879
2882
  default: a(() => [
2880
2883
  o(Bt, { class: "pt-3" }, {
2881
2884
  default: a(() => [
2882
- (l(!0), f(B, null, J(t.packageHotelRoomOffers, (d, P) => (l(), f(B, {
2883
- key: d.id
2885
+ (i(!0), f(B, null, Z(t.packageHotelRoomOffers, (c, P) => (i(), f(B, {
2886
+ key: c.id
2884
2887
  }, [
2885
- P > 0 ? (l(), S(X, { key: 0 })) : I("", !0),
2886
- o(i, G({ ref_for: !0 }, d, {
2888
+ P > 0 ? (i(), S(Q, { key: 0 })) : I("", !0),
2889
+ o(l, G({ ref_for: !0 }, c, {
2887
2890
  onBreakfastChange: t.onBreakfastChange,
2888
2891
  onBookingPolicyFailed: t.onBookingPolicyFailed
2889
2892
  }), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
@@ -2900,52 +2903,32 @@ function ha(t, e, n, s, r, k) {
2900
2903
  ]),
2901
2904
  _: 1
2902
2905
  }, 8, ["modelValue"])
2903
- ], 64)) : (l(!0), f(B, { key: 3 }, J(t.packageHotelRoomOffers, (d, P) => (l(), f(B, {
2904
- key: d.id
2906
+ ], 64)) : (i(!0), f(B, { key: 3 }, Z(t.packageHotelRoomOffers, (c, P) => (i(), f(B, {
2907
+ key: c.id
2905
2908
  }, [
2906
- P > 0 ? (l(), S(X, { key: 0 })) : I("", !0),
2907
- o(i, G({ ref_for: !0 }, d, {
2909
+ P > 0 ? (i(), S(Q, { key: 0 })) : I("", !0),
2910
+ o(l, G({ ref_for: !0 }, c, {
2908
2911
  onBreakfastChange: t.onBreakfastChange,
2909
2912
  onBookingPolicyFailed: t.onBookingPolicyFailed
2910
2913
  }), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
2911
2914
  ], 64))), 128))
2912
- ], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (l(), S(c, {
2915
+ ], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (i(), S(d, {
2913
2916
  key: "skeleton",
2914
2917
  boilerplate: "",
2915
2918
  type: "noResults"
2916
2919
  })) : I("", !0)
2917
- ], 64)) : (l(), f(B, { key: 0 }, [], 64))
2920
+ ], 64)) : (i(), f(B, { key: 0 }, [], 64))
2918
2921
  ]);
2919
2922
  }
2920
- typeof Mt == "function" && Mt(oe);
2921
- const ga = /* @__PURE__ */ Z(oe, [["render", ha], ["__scopeId", "data-v-e71fbea6"]]), ya = K({
2922
- components: {
2923
- HotelRoomOfferList: ga,
2924
- WebComponentWrapper: qe
2925
- },
2926
- props: ee
2927
- });
2928
- function Ra(t, e, n, s, r, k) {
2929
- const c = A("HotelRoomOfferList", !0), i = A("WebComponentWrapper");
2930
- return l(), S(i, null, {
2931
- default: a(() => [
2932
- o(c, Nt(Ut(t.$props)), null, 16)
2933
- ]),
2934
- _: 1
2935
- });
2936
- }
2937
- const Oa = /* @__PURE__ */ Z(ya, [["render", Ra]]), ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2938
- __proto__: null,
2939
- default: Oa
2940
- }, Symbol.toStringTag, { value: "Module" }));
2941
- ie("css/revolugo.hotelroomofferlist.DpLXIpgU.css");
2923
+ typeof Mt == "function" && Mt(Xt);
2924
+ const Ua = /* @__PURE__ */ tt(Xt, [["render", va], ["__scopeId", "data-v-e71fbea6"]]);
2925
+ ae("css/revolugo.hotelroomofferlist.DpLXIpgU.css");
2942
2926
  export {
2943
2927
  Ct as B,
2944
- ua as H,
2945
- ga as a,
2946
- ja as b,
2947
- ee as h,
2948
- lo as r,
2949
- co as u
2928
+ Ua as H,
2929
+ la as a,
2930
+ ra as h,
2931
+ no as r,
2932
+ ro as u
2950
2933
  };
2951
- //# sourceMappingURL=revolugo.hotelroomofferlist.BpTAFyMO.min.js.map
2934
+ //# sourceMappingURL=revolugo.hotelroomofferlist.hNh95LPc.min.js.map