@revolugo/elements 7.10.0 → 7.11.0-rc.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 (48) hide show
  1. package/dist/css/{revolugo.bookingpaymentform.bZwObBX3.css → revolugo.bookingpaymentform.CekI3oIR.css} +1 -1
  2. package/dist/css/{revolugo.revolugoelements.Y9cCezcf.css → revolugo.revolugoelements.D3jgSljg.css} +1 -1
  3. package/dist/css/{revolugo.ui.DcVVhCqH.css → revolugo.ui.sAxjrsi6.css} +1 -1
  4. package/dist/index.es.min.js +1 -1
  5. package/dist/index.es.min.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist/{revolugo.banktransferdetails.BfRU3j9S.min.js → revolugo.banktransferdetails.ql5QYmUR.min.js} +6 -6
  9. package/dist/{revolugo.bookingdetailssidebar.Dkv3aMNJ.min.js → revolugo.bookingdetailssidebar.CVi0BqUW.min.js} +7 -7
  10. package/dist/{revolugo.bookingmanager.CwA4W9UT.min.js → revolugo.bookingmanager.DP-s7JZu.min.js} +6 -6
  11. package/dist/{revolugo.bookingpaymentform.pDIkYjEJ.min.js → revolugo.bookingpaymentform.BJCfZ_Kk.min.js} +294 -291
  12. package/dist/{revolugo.cancellationpoliciesbadge.Cy2BGOv2.min.js → revolugo.cancellationpoliciesbadge.LvXxw6Uw.min.js} +5 -5
  13. package/dist/{revolugo.cancellationpolicieslist.pkIXEQlG.min.js → revolugo.cancellationpolicieslist.Dac8qxMA.min.js} +5 -5
  14. package/dist/{revolugo.creditcardstripeform.CQ2tTfRF.min.js → revolugo.creditcardstripeform.Ba6BWtYz.min.js} +54 -54
  15. package/dist/{revolugo.creditcardstripeform.DP2FmyLx.min.js → revolugo.creditcardstripeform.DCLuK09J.min.js} +6 -6
  16. package/dist/{revolugo.currencypickerbtn.DwYjNIVB.min.js → revolugo.currencypickerbtn.D5at0qzh.min.js} +7 -7
  17. package/dist/{revolugo.dist.Dvmu0CnY.min.js → revolugo.dist.CLV0MHMA.min.js} +2 -2
  18. package/dist/{revolugo.fastbookingflow.BReT8KfX.min.js → revolugo.fastbookingflow.BBcEUXA0.min.js} +6 -6
  19. package/dist/{revolugo.framework.Fsv8w1Xe.min.js → revolugo.framework.k0uaz58D.min.js} +2 -2
  20. package/dist/{revolugo.fullbookingflow.ChDvb7CW.min.js → revolugo.fullbookingflow.CbcxEJ_p.min.js} +6 -6
  21. package/dist/revolugo.hoteldescriptionview.BhOkhZrl.min.js +24 -0
  22. package/dist/{revolugo.hotelofferlist.lFsv8SvS.min.js → revolugo.hotelofferlist.DwP_q7sh.min.js} +5 -5
  23. package/dist/{revolugo.hoteloffersearchmenu.DtSIhXv3.min.js → revolugo.hoteloffersearchmenu.D2nQIXps.min.js} +6 -6
  24. package/dist/revolugo.hoteloffersmap.BzJXBIZu.min.js +24 -0
  25. package/dist/{revolugo.hoteloffersview.BImWajjk.min.js → revolugo.hoteloffersview.DbkrpmcL.min.js} +4 -4
  26. package/dist/revolugo.hotelroomofferlist.BDmMQUXg.min.js +24 -0
  27. package/dist/{revolugo.hotelroomoffersbookingflow.BLRTInnP.min.js → revolugo.hotelroomoffersbookingflow.BTX5vw3U.min.js} +6 -6
  28. package/dist/{revolugo.hotelroomoffersearchmenu.B5vlTMD6.min.js → revolugo.hotelroomoffersearchmenu.Byc3rzga.min.js} +6 -6
  29. package/dist/revolugo.hotelroomoffersview.DpCNFUpm.min.js +24 -0
  30. package/dist/{revolugo.langpickerbtn.ClQ8b-zq.min.js → revolugo.langpickerbtn.BYYCD3xg.min.js} +6 -6
  31. package/dist/revolugo.min.js +51 -51
  32. package/dist/{revolugo.prebookform.DwR_NG88.min.js → revolugo.prebookform.Buadq4bi.min.js} +5 -5
  33. package/dist/{revolugo.preferencesmenu.BMpQHT6I.min.js → revolugo.preferencesmenu.HRS1NoUW.min.js} +34 -34
  34. package/dist/{revolugo.revolugo-config.dB8Oiw_f.min.js → revolugo.revolugo-config.BhnbJkHY.min.js} +1849 -1779
  35. package/dist/{revolugo.revolugoelements.Mt1pO5B-.min.js → revolugo.revolugoelements.DqTSs2x-.min.js} +1151 -1148
  36. package/dist/{revolugo.roominglisteditor.BRLV6iVP.min.js → revolugo.roominglisteditor.C7NMBMQu.min.js} +5 -5
  37. package/dist/{revolugo.storybooktoolbar.C1IlJmT4.min.js → revolugo.storybooktoolbar.DuOgD1zs.min.js} +39 -39
  38. package/dist/{revolugo.termsandconditions.D2qmmY2e.min.js → revolugo.termsandconditions.Dhn9Gh19.min.js} +5 -5
  39. package/dist/{revolugo.theme.CbBeIYt7.min.js → revolugo.theme.CWCtKizJ.min.js} +5778 -5683
  40. package/dist/{revolugo.ui.2nawKtPk.min.js → revolugo.ui.CwfYE_fW.min.js} +2392 -2400
  41. package/dist/{revolugo.vtoolbar.BP2Ws09g.min.js → revolugo.vtoolbar.CrASDlFx.min.js} +19 -19
  42. package/dist/{revolugo.webcomponentwrapper.BRidxM-R.min.js → revolugo.webcomponentwrapper.DYBPZW1v.min.js} +10 -10
  43. package/dist/{revolugo2.preferencesmenu.CaHxOACP.min.js → revolugo2.preferencesmenu.B_DB1N90.min.js} +5 -5
  44. package/package.json +6 -6
  45. package/dist/revolugo.hoteldescriptionview._0NBgAXg.min.js +0 -24
  46. package/dist/revolugo.hoteloffersmap.D7w6UpJZ.min.js +0 -24
  47. package/dist/revolugo.hotelroomofferlist.DduNvigy.min.js +0 -24
  48. package/dist/revolugo.hotelroomoffersview.Bjz4gxwF.min.js +0 -24
@@ -1,8 +1,8 @@
1
1
  import { n as St } from "./revolugo.rolldown-runtime.C2H8viMH.min.js";
2
- import { $n as P, $r as It, An as Rt, Br as dt, C as Ft, Cn as j, Ct as Dt, Dr as X, Kr as k, M as At, Mn as et, Nr as rt, On as ht, Ot as zt, Pi as vt, Pr as Ot, Si as ft, Sr as S, T as Ut, Ti as Et, Tr as e, Ur as c, br as w, er as it, fi as h, i as Vt, jr as Ht, jt as Nt, kr as yt, kt as Mt, li as $t, mr as W, ni as qt, pi as lt, pn as K, pr as Ct, qr as jt, r as Gt, ri as a, sn as Kt, ti as ut, vi as r, vr as F, wi as u, wr as U, xi as Yt, xr as T, yr as s, yt as Zt, zn as Jt } from "./revolugo.theme.CbBeIYt7.min.js";
3
- import { $ as Y, At as Qt, Bt as Wt, Gt as mt, K as Xt, Kt as ct, Lt as te, Ot as ee, Q as g, Rt as ae, Ut as Z, Wt as oe, X as ie, Y as ne, Yt as se, Z as re, _t as le, at as nt, ct as ue, dn as ce, et as N, ft as de, gt as me, it as st, kt as ve, lt as ge, mn as be, nn as I, nt as pe, ot as ke, pt as he, q as J, qt as fe, rt as z, sn as ye, st as Ce, tn as E, tt as xe, ut as Be, zt as Q } from "./revolugo.ui.2nawKtPk.min.js";
4
- import { n as xt, t as Pe } from "./revolugo.creditcardstripeform.CQ2tTfRF.min.js";
5
- import { t as Bt } from "./revolugo.vtoolbar.BP2Ws09g.min.js";
2
+ import { $r as It, An as Rt, Br as vt, C as Ft, Cn as j, Ct as Dt, Dr as X, Kr as k, M as At, Mn as ot, Nr as at, On as ft, Ot as zt, Pi as st, Pr as Ot, Qn as P, Si as yt, Sr as S, T as Ut, Ti as Et, Tr as e, Ur as c, br as y, fi as h, i as Ht, jr as Vt, jt as Nt, kr as Mt, kt as $t, li as qt, mr as W, ni as jt, pi as ct, pn as K, pr as Ct, qr as Gt, r as Kt, ri as a, sn as Yt, ti as dt, tr as rt, vi as r, vr as I, wi as u, wr as E, xi as Zt, xr as B, yr as s, yt as Jt, zn as Qt } from "./revolugo.theme.CWCtKizJ.min.js";
3
+ import { $ as Y, Dt as Wt, Gt as mt, Ht as Z, It as Xt, Jt as te, K as ee, Kt as ae, Lt as oe, Ot as ie, Q as g, Rt as J, Ut as ne, Wt as gt, X as se, Y as re, Z as le, at as lt, ct as ue, en as H, et as M, ft as ce, gt as de, ht as me, it as ut, kt as ve, lt as ge, nt as be, on as pe, ot as ke, pn as he, pt as fe, q as Q, rt as O, st as ye, tn as R, tt as Ce, un as xe, ut as Pe, zt as Be } from "./revolugo.ui.CwfYE_fW.min.js";
4
+ import { n as xt, t as we } from "./revolugo.creditcardstripeform.Ba6BWtYz.min.js";
5
+ import { t as Pt } from "./revolugo.vtoolbar.CrASDlFx.min.js";
6
6
  function Lt(t) {
7
7
  try {
8
8
  if (typeof document < "u") {
@@ -23,15 +23,15 @@ function Lt(t) {
23
23
  console.error("[revolugo-elements] ", l);
24
24
  }
25
25
  }
26
- var we = {}, _e = { class: "d-flex justify-space-between" }, Te = { class: "text-right" };
27
- function Le(t, l) {
26
+ var Te = {}, _e = { class: "d-flex justify-space-between" }, Le = { class: "text-right" };
27
+ function Se(t, l) {
28
28
  return c(), S("div", null, [
29
- e(N, {
29
+ e(M, {
30
30
  class: "mb-1",
31
31
  elevation: "0",
32
32
  variant: "outlined"
33
33
  }, {
34
- default: a(() => [e(z, { class: "pb-5" }, {
34
+ default: a(() => [e(O, { class: "pb-5" }, {
35
35
  default: a(() => [k(t.$slots, "hotel", {}, () => [
36
36
  e(g, {
37
37
  class: "my-2",
@@ -56,13 +56,13 @@ function Le(t, l) {
56
56
  })]),
57
57
  _: 3
58
58
  }),
59
- e(N, {
59
+ e(M, {
60
60
  class: "mb-1",
61
61
  elevation: "0",
62
62
  variant: "outlined"
63
63
  }, {
64
64
  default: a(() => [
65
- e(st, { class: "pb-2" }, {
65
+ e(ut, { class: "pb-2" }, {
66
66
  default: a(() => [k(t.$slots, "booking-heading", {}, () => [e(g, {
67
67
  height: "20",
68
68
  tile: "",
@@ -72,9 +72,9 @@ function Le(t, l) {
72
72
  _: 3
73
73
  }),
74
74
  e(Y),
75
- e(z, { class: "pb-2" }, {
76
- default: a(() => [e(E, { class: "ma-0 w-100" }, {
77
- default: a(() => [e(I, { class: "py-0 pl-0" }, {
75
+ e(O, { class: "pb-2" }, {
76
+ default: a(() => [e(H, { class: "ma-0 w-100" }, {
77
+ default: a(() => [e(R, { class: "py-0 pl-0" }, {
78
78
  default: a(() => [k(t.$slots, "check-in-title", {}, () => [e(g, {
79
79
  class: "my-1",
80
80
  height: "20px",
@@ -83,7 +83,7 @@ function Le(t, l) {
83
83
  width: "100%"
84
84
  })])]),
85
85
  _: 3
86
- }), e(I, { class: "ml-1 py-0" }, {
86
+ }), e(R, { class: "ml-1 py-0" }, {
87
87
  default: a(() => [k(t.$slots, "check-out-title", {}, () => [e(g, {
88
88
  class: "my-1",
89
89
  height: "20px",
@@ -94,9 +94,9 @@ function Le(t, l) {
94
94
  _: 3
95
95
  })]),
96
96
  _: 3
97
- }), e(E, { class: "ma-0 w-100" }, {
97
+ }), e(H, { class: "ma-0 w-100" }, {
98
98
  default: a(() => [
99
- e(I, { class: "pa-0" }, {
99
+ e(R, { class: "pa-0" }, {
100
100
  default: a(() => [k(t.$slots, "check-in-date", {}, () => [e(g, {
101
101
  class: "my-1",
102
102
  height: "20px",
@@ -116,7 +116,7 @@ function Le(t, l) {
116
116
  class: "mx-2",
117
117
  vertical: ""
118
118
  }),
119
- e(I, { class: "pa-0" }, {
119
+ e(R, { class: "pa-0" }, {
120
120
  default: a(() => [k(t.$slots, "check-out-date", {}, () => [e(g, {
121
121
  class: "my-1",
122
122
  height: "20px",
@@ -137,7 +137,7 @@ function Le(t, l) {
137
137
  })]),
138
138
  _: 3
139
139
  }),
140
- e(z, { class: "pb-0" }, {
140
+ e(O, { class: "pb-0" }, {
141
141
  default: a(() => [k(t.$slots, "length-of-stay-title", {}, () => [e(g, {
142
142
  class: "my-1",
143
143
  height: "20px",
@@ -147,7 +147,7 @@ function Le(t, l) {
147
147
  })])]),
148
148
  _: 3
149
149
  }),
150
- e(z, { class: "pt-0 pb-2" }, {
150
+ e(O, { class: "pt-0 pb-2" }, {
151
151
  default: a(() => [k(t.$slots, "length-of-stay-count", {}, () => [e(g, {
152
152
  class: "my-1",
153
153
  height: "20px",
@@ -158,7 +158,7 @@ function Le(t, l) {
158
158
  _: 3
159
159
  }),
160
160
  e(Y, { class: "mx-4" }),
161
- e(nt, { class: "pb-2" }, {
161
+ e(lt, { class: "pb-2" }, {
162
162
  default: a(() => [k(t.$slots, "room-selected-heading", {}, () => [e(g, {
163
163
  class: "my-1",
164
164
  height: "20px",
@@ -168,7 +168,7 @@ function Le(t, l) {
168
168
  })])]),
169
169
  _: 3
170
170
  }),
171
- e(z, { class: "pb-7" }, {
171
+ e(O, { class: "pb-7" }, {
172
172
  default: a(() => [k(t.$slots, "room-selected-list", {}, () => [e(g, {
173
173
  class: "my-1",
174
174
  height: "20px",
@@ -187,13 +187,13 @@ function Le(t, l) {
187
187
  ]),
188
188
  _: 3
189
189
  }),
190
- e(N, {
190
+ e(M, {
191
191
  class: "mb-1",
192
192
  elevation: "0",
193
193
  variant: "outlined"
194
194
  }, {
195
195
  default: a(() => [
196
- e(st, { class: "pb-2" }, {
196
+ e(ut, { class: "pb-2" }, {
197
197
  default: a(() => [k(t.$slots, "price-heading", {}, () => [e(g, {
198
198
  height: "20",
199
199
  tile: "",
@@ -203,7 +203,7 @@ function Le(t, l) {
203
203
  _: 3
204
204
  }),
205
205
  e(Y),
206
- e(nt, null, {
206
+ e(lt, null, {
207
207
  default: a(() => [k(t.$slots, "price-info-base", {}, () => [e(g, {
208
208
  height: "20px",
209
209
  tile: "",
@@ -212,7 +212,7 @@ function Le(t, l) {
212
212
  })])]),
213
213
  _: 3
214
214
  }),
215
- e(nt, { class: "py-0" }, {
215
+ e(lt, { class: "py-0" }, {
216
216
  default: a(() => [k(t.$slots, "price-info-taxes", {}, () => [e(g, {
217
217
  class: "mb-4",
218
218
  height: "20px",
@@ -222,13 +222,13 @@ function Le(t, l) {
222
222
  })])]),
223
223
  _: 3
224
224
  }),
225
- e(z, { class: "bg-grey-lighten-3 py-3" }, {
225
+ e(O, { class: "bg-grey-lighten-3 py-3" }, {
226
226
  default: a(() => [s("div", _e, [k(t.$slots, "total", {}, () => [e(g, {
227
227
  height: "20",
228
228
  tile: "",
229
229
  type: "heading",
230
230
  width: "50px"
231
- })]), s("div", Te, [k(t.$slots, "total-count", {}, () => [e(g, {
231
+ })]), s("div", Le, [k(t.$slots, "total-count", {}, () => [e(g, {
232
232
  height: "20",
233
233
  tile: "",
234
234
  type: "heading",
@@ -245,12 +245,12 @@ function Le(t, l) {
245
245
  ]),
246
246
  _: 3
247
247
  }),
248
- e(N, {
248
+ e(M, {
249
249
  elevation: "0",
250
250
  variant: "outlined"
251
251
  }, {
252
252
  default: a(() => [
253
- e(st, { class: "pb-2" }, {
253
+ e(ut, { class: "pb-2" }, {
254
254
  default: a(() => [k(t.$slots, "cancellation-policies-heading", {}, () => [e(g, {
255
255
  class: "my-1",
256
256
  height: "20px",
@@ -261,7 +261,7 @@ function Le(t, l) {
261
261
  _: 3
262
262
  }),
263
263
  e(Y),
264
- e(z, { class: "pb-5" }, {
264
+ e(O, { class: "pb-5" }, {
265
265
  default: a(() => [k(t.$slots, "cancellation-policies-list", {}, () => [e(g, {
266
266
  class: "my-1",
267
267
  height: "20px",
@@ -276,19 +276,19 @@ function Le(t, l) {
276
276
  })
277
277
  ]);
278
278
  }
279
- var Se = /* @__PURE__ */ mt(we, [["render", Le]]), Ie = { class: "text-h7 font-weight-bold text-grey-darken-4 ma-0 mr-2" }, Re = { class: "text-h8 text-grey-darken-2" }, Fe = { class: "text-body-2 mb-1 text-black" }, De = { class: "text-body-2 mb-1 text-black" }, Ae = { class: "font-weight-bold text-body-2 mb-0 text-black" }, ze = { class: "font-weight-bold text-body-2 mb-0 text-black" }, Oe = {
279
+ var Ie = /* @__PURE__ */ gt(Te, [["render", Se]]), Re = { class: "text-h7 font-weight-bold text-grey-darken-4 ma-0 mr-2" }, Fe = { class: "text-h8 text-grey-darken-2" }, De = { class: "text-body-2 mb-1 text-black" }, Ae = { class: "text-body-2 mb-1 text-black" }, ze = { class: "font-weight-bold text-body-2 mb-0 text-black" }, Oe = { class: "font-weight-bold text-body-2 mb-0 text-black" }, Ue = {
280
280
  key: 0,
281
281
  class: "text-body-2 text-grey-darken-1 mb-0"
282
- }, Ue = {
282
+ }, Ee = {
283
283
  key: 0,
284
284
  class: "text-body-2 text-grey-darken-1 mb-0"
285
- }, Ee = { key: 1 }, Ve = { class: "mb-1 text-black" }, He = { class: "font-weight-bold mb-0 text-black" }, Ne = { class: "font-weight-bold mb-0 text-black" }, Me = { class: "d-flex flex-column ga-2" }, $e = { class: "text-caption font-weight-bold text-orange my-0 rounded text-center" }, qe = { class: "caption font-weight-bold text-black" }, je = { class: "float-right text-black" }, Ge = {
285
+ }, He = { key: 1 }, Ve = { class: "mb-1 text-black" }, Ne = { class: "font-weight-bold mb-0 text-black" }, Me = { class: "font-weight-bold mb-0 text-black" }, $e = { class: "d-flex flex-column ga-2" }, qe = { class: "text-caption font-weight-bold text-orange my-0 rounded text-center" }, je = { class: "caption font-weight-bold text-black" }, Ge = { class: "float-right text-black" }, Ke = {
286
286
  key: 0,
287
287
  class: "pt-0 pb-4"
288
- }, Ke = { class: "text-caption font-weight-bold text-black" }, Ye = { class: "float-right text-black" }, Ze = { key: 1 }, Je = { class: "font-weight-black text-h6 mb-0 text-black" }, Qe = {
288
+ }, Ye = { class: "text-caption font-weight-bold text-black" }, Ze = { class: "float-right text-black" }, Je = { key: 1 }, Qe = { class: "font-weight-black text-h6 mb-0 text-black" }, We = {
289
289
  key: 0,
290
290
  class: "text-caption mb-0 text-black"
291
- }, We = { class: "text-caption mb-0" }, Pt = /* @__PURE__ */ X({
291
+ }, Xe = { class: "text-caption mb-0" }, Bt = /* @__PURE__ */ X({
292
292
  __name: "BookingDetailsSidebarUI",
293
293
  props: {
294
294
  adultCount: {},
@@ -298,34 +298,34 @@ var Se = /* @__PURE__ */ mt(we, [["render", Le]]), Ie = { class: "text-h7 font-w
298
298
  hotelRoomOffer: {}
299
299
  },
300
300
  setup(t) {
301
- const { locale: l, t: o } = et(), n = t;
301
+ const { locale: l, t: o } = ot(), n = t;
302
302
  function m(f) {
303
303
  return f ? (0, K.default)(f).locale(l.value).format("ll") : null;
304
304
  }
305
305
  function b(f) {
306
- const x = (0, K.default)(`1/1/1 ${f}`, "h:mm A");
307
- return f ? (0, K.default)(x).format("HH:mm") : null;
306
+ const C = (0, K.default)(`1/1/1 ${f}`, "h:mm A");
307
+ return f ? (0, K.default)(C).format("HH:mm") : null;
308
308
  }
309
- const v = F(() => !n.checkInDate || !n.checkOutDate ? 0 : (0, K.default)(n.checkOutDate).diff((0, K.default)(n.checkInDate), "days")), i = F(() => n.hotelRoomOffer.hotelRooms.reduce((f, x) => f + x.count, 0) || 0), _ = F(() => n.hotelRoomOffer.hotelRooms.some((f) => f.beds.some((x) => x.length > 1)));
310
- return (f, x) => (c(), w(Se, null, {
309
+ const v = I(() => !n.checkInDate || !n.checkOutDate ? 0 : (0, K.default)(n.checkOutDate).diff((0, K.default)(n.checkInDate), "days")), i = I(() => n.hotelRoomOffer.hotelRooms.reduce((f, C) => f + C.count, 0) || 0), w = I(() => n.hotelRoomOffer.hotelRooms.some((f) => f.beds.some((C) => C.length > 1)));
310
+ return (f, C) => (c(), y(Ie, null, {
311
311
  hotel: a(() => [t.hotel ? (c(), S(W, { key: 0 }, [
312
- e(E, { "no-gutters": "" }, {
313
- default: a(() => [t.hotel.name ? (c(), w(I, { key: 0 }, {
314
- default: a(() => [s("span", Ie, u(t.hotel.name), 1), e(me, {
312
+ e(H, { "no-gutters": "" }, {
313
+ default: a(() => [t.hotel.name ? (c(), y(R, { key: 0 }, {
314
+ default: a(() => [s("span", Re, u(t.hotel.name), 1), e(me, {
315
315
  attach: f.$parent?.$el,
316
316
  location: "bottom"
317
317
  }, {
318
- activator: a(({ props: L }) => [s("span", ft(yt(L)), [e(Ce, { count: t.hotel.rating }, null, 8, ["count"])], 16)]),
318
+ activator: a(({ props: L }) => [s("span", yt(Mt(L)), [e(ye, { count: t.hotel.rating }, null, 8, ["count"])], 16)]),
319
319
  default: a(() => [s("span", null, u(r(o)("BookingDetailsSidebar.hotel.starRating")), 1)]),
320
320
  _: 1
321
321
  }, 8, ["attach"])]),
322
322
  _: 1
323
- })) : T("", !0)]),
323
+ })) : B("", !0)]),
324
324
  _: 1
325
325
  }),
326
- e(E, { "no-gutters": "" }, {
327
- default: a(() => [e(I, null, {
328
- default: a(() => [s("small", Re, u(r(o)("BookingDetailsSidebar.hotel.fullAddress", {
326
+ e(H, { "no-gutters": "" }, {
327
+ default: a(() => [e(R, null, {
328
+ default: a(() => [s("small", Fe, u(r(o)("BookingDetailsSidebar.hotel.fullAddress", {
329
329
  address: t.hotel.address,
330
330
  postalCode: t.hotel.postalCode,
331
331
  city: t.hotel.city,
@@ -335,8 +335,8 @@ var Se = /* @__PURE__ */ mt(we, [["render", Le]]), Ie = { class: "text-h7 font-w
335
335
  })]),
336
336
  _: 1
337
337
  }),
338
- e(E, { "no-gutters": "" }, {
339
- default: a(() => [e(I, null, {
338
+ e(H, { "no-gutters": "" }, {
339
+ default: a(() => [e(R, null, {
340
340
  default: a(() => [e(ue, {
341
341
  features: { ReviewRatingDetails: !1 },
342
342
  hotel: t.hotel,
@@ -347,35 +347,35 @@ var Se = /* @__PURE__ */ mt(we, [["render", Le]]), Ie = { class: "text-h7 font-w
347
347
  })]),
348
348
  _: 1
349
349
  })
350
- ], 64)) : T("", !0)]),
350
+ ], 64)) : B("", !0)]),
351
351
  "booking-heading": a(() => [s("h5", null, u(r(o)("BookingDetailsSidebar.bookingHeading")), 1)]),
352
- "check-in-title": a(() => [s("p", Fe, u(r(o)("BookingDetailsSidebar.checkInTitle")), 1)]),
353
- "check-out-title": a(() => [s("p", De, u(r(o)("BookingDetailsSidebar.checkOutTitle")), 1)]),
354
- "check-in-date": a(() => [s("p", Ae, u(m(t.checkInDate)), 1)]),
355
- "check-out-date": a(() => [s("p", ze, u(m(t.checkOutDate)), 1)]),
356
- "check-in-time": a(() => [t.hotel?.checkInTime ? (c(), S("p", Oe, u(r(o)("BookingDetailsSidebar.checkInTime", { value: b(t.hotel?.checkInTime) })), 1)) : T("", !0), x[0] || (x[0] = s("template", null, [s("span")], -1))]),
357
- "check-out-time": a(() => [t.hotel?.checkOutTime ? (c(), S("p", Ue, u(r(o)("BookingDetailsSidebar.checkOutTime", { value: b(t.hotel?.checkOutTime) })), 1)) : (c(), S("span", Ee))]),
352
+ "check-in-title": a(() => [s("p", De, u(r(o)("BookingDetailsSidebar.checkInTitle")), 1)]),
353
+ "check-out-title": a(() => [s("p", Ae, u(r(o)("BookingDetailsSidebar.checkOutTitle")), 1)]),
354
+ "check-in-date": a(() => [s("p", ze, u(m(t.checkInDate)), 1)]),
355
+ "check-out-date": a(() => [s("p", Oe, u(m(t.checkOutDate)), 1)]),
356
+ "check-in-time": a(() => [t.hotel?.checkInTime ? (c(), S("p", Ue, u(r(o)("BookingDetailsSidebar.checkInTime", { value: b(t.hotel?.checkInTime) })), 1)) : B("", !0), C[0] || (C[0] = s("template", null, [s("span")], -1))]),
357
+ "check-out-time": a(() => [t.hotel?.checkOutTime ? (c(), S("p", Ee, u(r(o)("BookingDetailsSidebar.checkOutTime", { value: b(t.hotel?.checkOutTime) })), 1)) : (c(), S("span", He))]),
358
358
  "length-of-stay-title": a(() => [s("p", Ve, u(r(o)("BookingDetailsSidebar.lengthOfStayTitle")), 1)]),
359
- "length-of-stay-count": a(() => [s("p", He, u(r(o)("BookingDetailsSidebar.nightCount", {
359
+ "length-of-stay-count": a(() => [s("p", Ne, u(r(o)("BookingDetailsSidebar.nightCount", {
360
360
  n: v.value,
361
361
  value: v.value
362
362
  })), 1)]),
363
- "room-selected-heading": a(() => [s("p", Ne, u(r(o)("BookingDetailsSidebar.roomSelectedHeading")), 1)]),
364
- "room-selected-list": a(() => [s("div", Me, [
365
- e(de, { "hotel-rooms": t.hotelRoomOffer.hotelRooms.map((L) => ({
363
+ "room-selected-heading": a(() => [s("p", Me, u(r(o)("BookingDetailsSidebar.roomSelectedHeading")), 1)]),
364
+ "room-selected-list": a(() => [s("div", $e, [
365
+ e(ce, { "hotel-rooms": t.hotelRoomOffer.hotelRooms.map((L) => ({
366
366
  ...L,
367
367
  id: L.id
368
368
  })) }, null, 8, ["hotel-rooms"]),
369
- t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer.breakfastCount > 0 ? (c(), w(he, {
369
+ t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer.breakfastCount > 0 ? (c(), y(fe, {
370
370
  key: 0,
371
371
  "breakfast-option": "INCLUDED",
372
372
  breakfastCount: t.hotelRoomOffer?.breakfastCount
373
- }, null, 8, ["breakfastCount"])) : T("", !0),
374
- t.hotelRoomOffer.stayTaxesInfo === r(Jt).NotIncluded ? (c(), w(ie, {
373
+ }, null, 8, ["breakfastCount"])) : B("", !0),
374
+ t.hotelRoomOffer.stayTaxesInfo === r(Qt).NotIncluded ? (c(), y(se, {
375
375
  key: 1,
376
376
  "adult-count": t.hotelRoomOffer.taxes?.length ? t.adultCount : 0
377
- }, null, 8, ["adult-count"])) : T("", !0),
378
- _.value ? (c(), w(Xt, {
377
+ }, null, 8, ["adult-count"])) : B("", !0),
378
+ w.value ? (c(), y(ee, {
379
379
  key: 2,
380
380
  density: "compact",
381
381
  icon: !1,
@@ -383,38 +383,38 @@ var Se = /* @__PURE__ */ mt(we, [["render", Le]]), Ie = { class: "text-h7 font-w
383
383
  type: "warning",
384
384
  variant: "tonal"
385
385
  }, {
386
- default: a(() => [s("p", $e, u(r(o)("BookingDetailsSidebar.bedTypeNote")), 1)]),
386
+ default: a(() => [s("p", qe, u(r(o)("BookingDetailsSidebar.bedTypeNote")), 1)]),
387
387
  _: 1
388
- })) : T("", !0)
388
+ })) : B("", !0)
389
389
  ])]),
390
390
  "price-heading": a(() => [s("h5", null, u(r(o)("BookingDetailsSidebar.priceHeading")), 1)]),
391
- "price-info-base": a(() => [t.hotelRoomOffer ? (c(), S(W, { key: 0 }, [s("span", qe, u(r(o)("BookingDetailsSidebar.roomCount", {
391
+ "price-info-base": a(() => [t.hotelRoomOffer ? (c(), S(W, { key: 0 }, [s("span", je, u(r(o)("BookingDetailsSidebar.roomCount", {
392
392
  n: i.value,
393
393
  value: i.value
394
394
  })) + " x " + u(r(o)("BookingDetailsSidebar.nightCount", {
395
395
  n: v.value,
396
396
  value: v.value
397
- })), 1), s("span", je, [e(Z, {
397
+ })), 1), s("span", Ge, [e(Z, {
398
398
  amount: t.hotelRoomOffer.price,
399
399
  currency: t.hotelRoomOffer.currency
400
- }, null, 8, ["amount", "currency"])])], 64)) : T("", !0)]),
401
- "price-info-taxes": a(() => [t.hotelRoomOffer && t.hotelRoomOffer.taxIncludedPrice !== t.hotelRoomOffer.price ? (c(), S("div", Ge, [s("span", Ke, u(r(o)("BookingDetailsSidebar.taxesAmount")), 1), s("span", Ye, [e(Z, {
400
+ }, null, 8, ["amount", "currency"])])], 64)) : B("", !0)]),
401
+ "price-info-taxes": a(() => [t.hotelRoomOffer && t.hotelRoomOffer.taxIncludedPrice !== t.hotelRoomOffer.price ? (c(), S("div", Ke, [s("span", Ye, u(r(o)("BookingDetailsSidebar.taxesAmount")), 1), s("span", Ze, [e(Z, {
402
402
  amount: t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price,
403
403
  currency: t.hotelRoomOffer.currency
404
- }, null, 8, ["amount", "currency"])])])) : (c(), S("span", Ze))]),
405
- total: a(() => [s("div", null, [s("p", Je, u(r(o)("BookingDetailsSidebar.total")), 1), t.adultCount ? (c(), S("p", Qe, u(r(o)("BookingDetailsSidebar.guestsCount", {
404
+ }, null, 8, ["amount", "currency"])])])) : (c(), S("span", Je))]),
405
+ total: a(() => [s("div", null, [s("p", Qe, u(r(o)("BookingDetailsSidebar.total")), 1), t.adultCount ? (c(), S("p", We, u(r(o)("BookingDetailsSidebar.guestsCount", {
406
406
  n: t.adultCount,
407
407
  value: t.adultCount
408
- })), 1)) : T("", !0)])]),
409
- "total-count": a(() => [t.hotelRoomOffer ? (c(), w(Z, {
408
+ })), 1)) : B("", !0)])]),
409
+ "total-count": a(() => [t.hotelRoomOffer ? (c(), y(Z, {
410
410
  key: 0,
411
411
  amount: t.hotelRoomOffer.taxIncludedPrice,
412
412
  class: "font-weight-black text-h6 text-black",
413
413
  currency: t.hotelRoomOffer.currency
414
- }, null, 8, ["amount", "currency"])) : T("", !0)]),
415
- taxes: a(() => [s("p", We, u(r(o)("BookingDetailsSidebar.taxes")), 1)]),
414
+ }, null, 8, ["amount", "currency"])) : B("", !0)]),
415
+ taxes: a(() => [s("p", Xe, u(r(o)("BookingDetailsSidebar.taxes")), 1)]),
416
416
  "cancellation-policies-heading": a(() => [s("h5", null, u(r(o)("BookingDetailsSidebar.bookingPoliciesHeading")), 1)]),
417
- "cancellation-policies-list": a(() => [t.hotel && t.hotelRoomOffer ? (c(), w(re, {
417
+ "cancellation-policies-list": a(() => [t.hotel && t.hotelRoomOffer ? (c(), y(le, {
418
418
  key: 0,
419
419
  "cancellation-policies": t.hotelRoomOffer.cancellationPolicies,
420
420
  "check-in-date": t.checkInDate,
@@ -424,12 +424,12 @@ var Se = /* @__PURE__ */ mt(we, [["render", Le]]), Ie = { class: "text-h7 font-w
424
424
  "cancellation-policies",
425
425
  "check-in-date",
426
426
  "timezone"
427
- ])) : T("", !0)]),
427
+ ])) : B("", !0)]),
428
428
  _: 1
429
429
  }));
430
430
  }
431
431
  });
432
- function gt(t) {
432
+ function bt(t) {
433
433
  const l = t;
434
434
  l.__i18n = l.__i18n || [], l.__i18n.push({
435
435
  locale: "",
@@ -2306,8 +2306,8 @@ function gt(t) {
2306
2306
  }
2307
2307
  });
2308
2308
  }
2309
- typeof gt == "function" && gt(Pt);
2310
- var Xe = /* @__PURE__ */ mt(Pt, [["__scopeId", "data-v-0c3cd674"]]), ta = /* @__PURE__ */ X({
2309
+ typeof bt == "function" && bt(Bt);
2310
+ var ta = /* @__PURE__ */ gt(Bt, [["__scopeId", "data-v-0c3cd674"]]), ea = /* @__PURE__ */ X({
2311
2311
  __name: "BookingDetailsSidebar",
2312
2312
  props: {
2313
2313
  adultCount: {},
@@ -2316,16 +2316,16 @@ var Xe = /* @__PURE__ */ mt(Pt, [["__scopeId", "data-v-0c3cd674"]]), ta = /* @__
2316
2316
  hotelRoomOffer: {}
2317
2317
  },
2318
2318
  setup(t) {
2319
- const l = t, { bookingApiClient: o } = ht(), n = h(null), m = F(() => Mt(l.hotelRoomOffer, null));
2320
- return dt(() => {
2319
+ const l = t, { bookingApiClient: o } = ft(), n = h(null), m = I(() => $t(l.hotelRoomOffer, null));
2320
+ return vt(() => {
2321
2321
  try {
2322
- m.value && o.value.hotels.retrieve({ id: m.value.hotelId }).then((b) => {
2322
+ m.value && o.value && o.value.hotels.retrieve({ id: m.value.hotelId }).then((b) => {
2323
2323
  n.value = b;
2324
2324
  });
2325
2325
  } catch (b) {
2326
2326
  console.error(b);
2327
2327
  }
2328
- }), (b, v) => (c(), w(Xe, {
2328
+ }), (b, v) => (c(), y(ta, {
2329
2329
  "adult-count": t.adultCount,
2330
2330
  "check-in-date": t.checkInDate,
2331
2331
  "check-out-date": t.checkOutDate,
@@ -2339,11 +2339,11 @@ var Xe = /* @__PURE__ */ mt(Pt, [["__scopeId", "data-v-0c3cd674"]]), ta = /* @__
2339
2339
  "hotel-room-offer"
2340
2340
  ]));
2341
2341
  }
2342
- }), ea = ta, aa = /* @__PURE__ */ (function(t) {
2342
+ }), aa = ea, oa = /* @__PURE__ */ (function(t) {
2343
2343
  return t.BookingDetails = "BookingDetails", t;
2344
- })({}), oa = { [aa.BookingDetails]: !0 };
2345
- function ia(t) {
2346
- const l = lt(t());
2344
+ })({}), ia = { [oa.BookingDetails]: !0 };
2345
+ function na(t) {
2346
+ const l = ct(t());
2347
2347
  let o = -1;
2348
2348
  function n() {
2349
2349
  clearInterval(o);
@@ -2352,22 +2352,22 @@ function ia(t) {
2352
2352
  n(), Ot(() => l.value = t());
2353
2353
  }
2354
2354
  function b(v) {
2355
- const i = v ? getComputedStyle(v) : { transitionDuration: 0.2 }, _ = parseFloat(i.transitionDuration) * 1e3 || 200;
2355
+ const i = v ? getComputedStyle(v) : { transitionDuration: 0.2 }, w = parseFloat(i.transitionDuration) * 1e3 || 200;
2356
2356
  if (n(), l.value <= 0) return;
2357
2357
  const f = performance.now();
2358
2358
  o = window.setInterval(() => {
2359
- const x = performance.now() - f + _;
2360
- l.value = Math.max(t() - x, 0), l.value <= 0 && n();
2361
- }, _);
2359
+ const C = performance.now() - f + w;
2360
+ l.value = Math.max(t() - C, 0), l.value <= 0 && n();
2361
+ }, w);
2362
2362
  }
2363
- return $t(n), {
2363
+ return qt(n), {
2364
2364
  clear: n,
2365
2365
  time: l,
2366
2366
  start: b,
2367
2367
  reset: m
2368
2368
  };
2369
2369
  }
2370
- var na = At({
2370
+ var sa = At({
2371
2371
  multiLine: Boolean,
2372
2372
  text: String,
2373
2373
  timer: [Boolean, String],
@@ -2376,65 +2376,65 @@ var na = At({
2376
2376
  default: 5e3
2377
2377
  },
2378
2378
  vertical: Boolean,
2379
- ...Be({ location: "bottom" }),
2380
- ...xe(),
2381
- ...te(),
2382
- ...ve(),
2383
- ...Gt(),
2384
- ...Zt(fe({ transition: "v-snackbar-transition" }), [
2379
+ ...Pe({ location: "bottom" }),
2380
+ ...Ce(),
2381
+ ...Xt(),
2382
+ ...ie(),
2383
+ ...Kt(),
2384
+ ...Jt(ae({ transition: "v-snackbar-transition" }), [
2385
2385
  "persistent",
2386
2386
  "noClickAnimation",
2387
2387
  "scrim",
2388
2388
  "scrollStrategy"
2389
2389
  ])
2390
- }, "VSnackbar"), sa = Ut()({
2390
+ }, "VSnackbar"), ra = Ut()({
2391
2391
  name: "VSnackbar",
2392
- props: na(),
2392
+ props: sa(),
2393
2393
  emits: { "update:modelValue": (t) => !0 },
2394
2394
  setup(t, l) {
2395
2395
  let { slots: o } = l;
2396
- const n = Ft(t, "modelValue"), { positionClasses: m } = pe(t), { scopeId: b } = se(), { themeClasses: v } = Vt(t), { colorClasses: i, colorStyles: _, variantClasses: f } = Qt(t), { roundedClasses: x } = ae(t), L = ia(() => Number(t.timeout)), O = h(), B = h(), R = lt(!1), V = lt(0), D = h(), M = Ht(ye, void 0);
2397
- zt(() => !!M, () => {
2398
- const y = ce();
2399
- qt(() => {
2400
- D.value = y.mainStyles.value;
2396
+ const n = Ft(t, "modelValue"), { positionClasses: m } = be(t), { scopeId: b } = te(), { themeClasses: v } = Ht(t), { colorClasses: i, colorStyles: w, variantClasses: f } = ve(t), { roundedClasses: C } = oe(t), L = na(() => Number(t.timeout)), U = h(), x = h(), F = ct(!1), V = ct(0), z = h(), $ = Vt(pe, void 0);
2397
+ zt(() => !!$, () => {
2398
+ const T = xe();
2399
+ jt(() => {
2400
+ z.value = T.mainStyles.value;
2401
2401
  });
2402
- }), ut(n, p), ut(() => t.timeout, p), dt(() => {
2402
+ }), dt(n, p), dt(() => t.timeout, p), vt(() => {
2403
2403
  n.value && p();
2404
2404
  });
2405
- let H = -1;
2405
+ let N = -1;
2406
2406
  function p() {
2407
- L.reset(), window.clearTimeout(H);
2408
- const y = Number(t.timeout);
2409
- if (!n.value || y === -1) return;
2410
- const C = Dt(B.value);
2411
- L.start(C), H = window.setTimeout(() => {
2407
+ L.reset(), window.clearTimeout(N);
2408
+ const T = Number(t.timeout);
2409
+ if (!n.value || T === -1) return;
2410
+ const A = Dt(x.value);
2411
+ L.start(A), N = window.setTimeout(() => {
2412
2412
  n.value = !1;
2413
- }, y);
2413
+ }, T);
2414
2414
  }
2415
2415
  function d() {
2416
- L.reset(), window.clearTimeout(H);
2416
+ L.reset(), window.clearTimeout(N);
2417
2417
  }
2418
2418
  function G() {
2419
- R.value = !0, d();
2419
+ F.value = !0, d();
2420
2420
  }
2421
- function A() {
2422
- R.value = !1, p();
2421
+ function D() {
2422
+ F.value = !1, p();
2423
2423
  }
2424
- function tt(y) {
2425
- V.value = y.touches[0].clientY;
2424
+ function it(T) {
2425
+ V.value = T.touches[0].clientY;
2426
2426
  }
2427
- function $(y) {
2428
- Math.abs(V.value - y.changedTouches[0].clientY) > 50 && (n.value = !1);
2427
+ function tt(T) {
2428
+ Math.abs(V.value - T.changedTouches[0].clientY) > 50 && (n.value = !1);
2429
2429
  }
2430
- function at() {
2431
- R.value && A();
2430
+ function q() {
2431
+ F.value && D();
2432
2432
  }
2433
- const ot = F(() => t.location.split(" ").reduce((y, C) => (y[`v-snackbar--${C}`] = !0, y), {}));
2434
- return be(() => {
2435
- const y = ct.filterProps(t), C = !!(o.default || o.text || t.text);
2436
- return e(ct, rt({
2437
- ref: O,
2433
+ const nt = I(() => t.location.split(" ").reduce((T, A) => (T[`v-snackbar--${A}`] = !0, T), {}));
2434
+ return he(() => {
2435
+ const T = mt.filterProps(t), A = !!(o.default || o.text || t.text);
2436
+ return e(mt, at({
2437
+ ref: U,
2438
2438
  class: [
2439
2439
  "v-snackbar",
2440
2440
  {
@@ -2443,53 +2443,53 @@ var na = At({
2443
2443
  "v-snackbar--timer": !!t.timer,
2444
2444
  "v-snackbar--vertical": t.vertical
2445
2445
  },
2446
- ot.value,
2446
+ nt.value,
2447
2447
  m.value,
2448
2448
  t.class
2449
2449
  ],
2450
- style: [D.value, t.style]
2451
- }, y, {
2450
+ style: [z.value, t.style]
2451
+ }, T, {
2452
2452
  modelValue: n.value,
2453
- "onUpdate:modelValue": (q) => n.value = q,
2454
- contentProps: rt({
2453
+ "onUpdate:modelValue": (_) => n.value = _,
2454
+ contentProps: at({
2455
2455
  class: [
2456
2456
  "v-snackbar__wrapper",
2457
2457
  v.value,
2458
2458
  i.value,
2459
- x.value,
2459
+ C.value,
2460
2460
  f.value
2461
2461
  ],
2462
- style: [_.value],
2462
+ style: [w.value],
2463
2463
  onPointerenter: G,
2464
- onPointerleave: A
2465
- }, y.contentProps),
2464
+ onPointerleave: D
2465
+ }, T.contentProps),
2466
2466
  persistent: !0,
2467
2467
  noClickAnimation: !0,
2468
2468
  scrim: !1,
2469
2469
  scrollStrategy: "none",
2470
2470
  _disableGlobalStack: !0,
2471
- onTouchstartPassive: tt,
2472
- onTouchend: $,
2473
- onAfterLeave: at
2471
+ onTouchstartPassive: it,
2472
+ onTouchend: tt,
2473
+ onAfterLeave: q
2474
2474
  }, b), {
2475
2475
  default: () => [
2476
- ee(!1, "v-snackbar"),
2477
- t.timer && !R.value && e("div", {
2476
+ Wt(!1, "v-snackbar"),
2477
+ t.timer && !F.value && e("div", {
2478
2478
  key: "timer",
2479
2479
  class: "v-snackbar__timer"
2480
2480
  }, [e(ge, {
2481
- ref: B,
2481
+ ref: x,
2482
2482
  color: typeof t.timer == "string" ? t.timer : "info",
2483
2483
  max: t.timeout,
2484
2484
  "model-value": L.time.value
2485
2485
  }, null)]),
2486
- C && e("div", {
2486
+ A && e("div", {
2487
2487
  key: "content",
2488
2488
  class: "v-snackbar__content",
2489
2489
  role: "status",
2490
2490
  "aria-live": "polite"
2491
2491
  }, [o.text?.() ?? t.text, o.default?.()]),
2492
- o.actions && e(Wt, { defaults: { VBtn: {
2492
+ o.actions && e(Be, { defaults: { VBtn: {
2493
2493
  variant: "text",
2494
2494
  ripple: !1,
2495
2495
  slim: !0
@@ -2497,9 +2497,9 @@ var na = At({
2497
2497
  ],
2498
2498
  activator: o.activator
2499
2499
  });
2500
- }), le({}, O);
2500
+ }), de({}, U);
2501
2501
  }
2502
- }), ra = { class: "d-flex flex-column ga-3" }, la = ["href"], ua = { class: "mr-1" }, ca = { class: "mr-1" }, da = { class: "mx-2" }, ma = { class: "mr-1" }, wt = /* @__PURE__ */ X({
2502
+ }), la = { class: "d-flex flex-column ga-3" }, ua = ["href"], ca = { class: "mr-1" }, da = { class: "mr-1" }, ma = { class: "mx-2" }, va = { class: "mr-1" }, wt = /* @__PURE__ */ X({
2503
2503
  __name: "PaymentFormUI",
2504
2504
  props: {
2505
2505
  currency: {},
@@ -2518,23 +2518,23 @@ var na = At({
2518
2518
  "payment:success"
2519
2519
  ],
2520
2520
  setup(t, { expose: l, emit: o }) {
2521
- const n = o, { t: m } = et(), b = t, v = h(!1), i = h(P.CreditCard), _ = h(!1), f = h(!1), x = h(!1), L = h(null), O = It("CREDIT_CARD"), B = F(() => b.paymentMethods.find((p) => p.name === P.CreditCard && p.payload)), R = F(() => {
2521
+ const n = o, { t: m } = ot(), b = t, v = h(!1), i = h(P.CreditCard), w = h(!1), f = h(!1), C = h(!1), L = h(null), U = It("CREDIT_CARD"), x = I(() => b.paymentMethods.find((p) => p.name === P.CreditCard && p.payload)), F = I(() => {
2522
2522
  const p = b.paymentMethods.find((d) => d.name === P.Coupon && d.payload);
2523
2523
  return !!(p && p.payload.amount === b.totalToPay);
2524
2524
  });
2525
2525
  function V(p) {
2526
- x.value = p && !R.value, n("payment:change", p), L.value = "";
2526
+ C.value = p && !F.value, n("payment:change", p), L.value = "";
2527
2527
  }
2528
- function D(p) {
2528
+ function z(p) {
2529
2529
  n("payment:error"), L.value = p;
2530
2530
  }
2531
- function M(p) {
2531
+ function $(p) {
2532
2532
  v.value = !0, n(j.PaymentSuccess, p);
2533
2533
  }
2534
- function H() {
2534
+ function N() {
2535
2535
  switch (i.value) {
2536
2536
  case P.CreditCard:
2537
- O.value?.pay();
2537
+ U.value?.pay();
2538
2538
  break;
2539
2539
  case P.Coupon:
2540
2540
  case P.DepositAccount:
@@ -2542,19 +2542,19 @@ var na = At({
2542
2542
  break;
2543
2543
  }
2544
2544
  }
2545
- return l({ pay: H }), (p, d) => {
2546
- const G = jt("i18n-t");
2547
- return c(), S("div", ra, [
2548
- e(Pe, {
2545
+ return l({ pay: N }), (p, d) => {
2546
+ const G = Gt("i18n-t");
2547
+ return c(), S("div", la, [
2548
+ e(we, {
2549
2549
  ref: "CREDIT_CARD",
2550
- amount: B.value?.payload?.amount || 0,
2550
+ amount: x.value?.payload?.amount || 0,
2551
2551
  currency: t.currency,
2552
- disabled: !B.value?.payload.amount || !B.value?.payload.token,
2552
+ disabled: !x.value?.payload.amount || !x.value?.payload.token,
2553
2553
  loading: t.isLoading,
2554
- stripeToken: B.value?.payload.token,
2554
+ stripeToken: x.value?.payload.token,
2555
2555
  onChange: V,
2556
- onError: D,
2557
- "onPayment:success": d[0] || (d[0] = (A) => M(r(P).CreditCard))
2556
+ onError: z,
2557
+ "onPayment:success": d[0] || (d[0] = (D) => $(r(P).CreditCard))
2558
2558
  }, null, 8, [
2559
2559
  "amount",
2560
2560
  "currency",
@@ -2565,10 +2565,10 @@ var na = At({
2565
2565
  k(p.$slots, "append"),
2566
2566
  k(p.$slots, "terms", {}, () => [e(xt, {
2567
2567
  ref: "testing",
2568
- modelValue: _.value,
2569
- "onUpdate:modelValue": d[2] || (d[2] = (A) => _.value = A),
2568
+ modelValue: w.value,
2569
+ "onUpdate:modelValue": d[2] || (d[2] = (D) => w.value = D),
2570
2570
  color: "primary",
2571
- error: f.value && !_.value
2571
+ error: f.value && !w.value
2572
2572
  }, {
2573
2573
  label: a(() => [s("span", { onClick: d[1] || (d[1] = Ct(() => {
2574
2574
  }, ["stop"])) }, [e(G, {
@@ -2578,49 +2578,49 @@ var na = At({
2578
2578
  linkText: a(() => [s("b", null, [s("a", {
2579
2579
  href: r(m)("PaymentFormUI.termsURL"),
2580
2580
  target: "_blank"
2581
- }, u(r(m)("PaymentFormUI.termsAndConditionsLinkText")), 9, la)])]),
2581
+ }, u(r(m)("PaymentFormUI.termsAndConditionsLinkText")), 9, ua)])]),
2582
2582
  _: 1
2583
2583
  })])]),
2584
2584
  _: 1
2585
2585
  }, 8, ["modelValue", "error"])]),
2586
2586
  e(ke, { class: "mt-n6" }, {
2587
- default: a(() => [e(E, {
2587
+ default: a(() => [e(H, {
2588
2588
  align: "end",
2589
2589
  class: "flex-column flex-sm-row",
2590
2590
  "no-gutters": ""
2591
2591
  }, {
2592
- default: a(() => [e(I, { class: "d-flex flex-column flex-sm-row align-center mt-sm-0 mt-4 mb-1 justify-end" }, {
2593
- default: a(() => [t.isPayLaterForced ? (c(), w(J, {
2592
+ default: a(() => [e(R, { class: "d-flex flex-column flex-sm-row align-center mt-sm-0 mt-4 mb-1 justify-end" }, {
2593
+ default: a(() => [t.isPayLaterForced ? (c(), y(Q, {
2594
2594
  key: 0,
2595
2595
  class: "w-sm-auto w-100",
2596
2596
  color: "primary",
2597
2597
  "data-gtm-id": "payment-book-pay-later",
2598
- disabled: t.isLoading || !_.value,
2598
+ disabled: t.isLoading || !w.value,
2599
2599
  loading: t.isLoading,
2600
2600
  variant: "outlined",
2601
- onClick: d[3] || (d[3] = (A) => n("payment:later"))
2601
+ onClick: d[3] || (d[3] = (D) => n("payment:later"))
2602
2602
  }, {
2603
- default: a(() => [s("span", ua, u(r(m)("PaymentFormUI.completeBookingNow")), 1)]),
2603
+ default: a(() => [s("span", ca, u(r(m)("PaymentFormUI.completeBookingNow")), 1)]),
2604
2604
  _: 1
2605
- }, 8, ["disabled", "loading"])) : t.isPayLaterAllowed ? (c(), S(W, { key: 1 }, [e(J, {
2605
+ }, 8, ["disabled", "loading"])) : t.isPayLaterAllowed ? (c(), S(W, { key: 1 }, [e(Q, {
2606
2606
  class: "w-sm-auto w-100",
2607
2607
  color: "primary",
2608
2608
  "data-gtm-id": "payment-book-pay-later",
2609
- disabled: t.isLoading || !_.value,
2609
+ disabled: t.isLoading || !w.value,
2610
2610
  loading: t.isLoading,
2611
2611
  variant: "outlined",
2612
- onClick: d[4] || (d[4] = (A) => n("payment:later"))
2612
+ onClick: d[4] || (d[4] = (D) => n("payment:later"))
2613
2613
  }, {
2614
2614
  default: a(() => [
2615
- e(Q, {
2615
+ e(J, {
2616
2616
  class: "ml-1",
2617
2617
  start: ""
2618
2618
  }, {
2619
- default: a(() => [...d[6] || (d[6] = [U(" fas fa-clock ", -1)])]),
2619
+ default: a(() => [...d[6] || (d[6] = [E(" fas fa-clock ", -1)])]),
2620
2620
  _: 1
2621
2621
  }),
2622
- s("span", ca, u(r(m)("PaymentFormUI.completeBookingLater")), 1),
2623
- t.isPayLaterForced ? T("", !0) : (c(), w(r(Z), {
2622
+ s("span", da, u(r(m)("PaymentFormUI.completeBookingLater")), 1),
2623
+ t.isPayLaterForced ? B("", !0) : (c(), y(r(Z), {
2624
2624
  key: 0,
2625
2625
  amount: t.totalToPay,
2626
2626
  class: "font-weight-bold",
@@ -2628,23 +2628,23 @@ var na = At({
2628
2628
  }, null, 8, ["amount", "currency"]))
2629
2629
  ]),
2630
2630
  _: 1
2631
- }, 8, ["disabled", "loading"]), s("span", da, u(r(m)("PaymentFormUI.or")), 1)], 64)) : T("", !0), t.isPayLaterForced ? T("", !0) : (c(), w(J, {
2631
+ }, 8, ["disabled", "loading"]), s("span", ma, u(r(m)("PaymentFormUI.or")), 1)], 64)) : B("", !0), t.isPayLaterForced ? B("", !0) : (c(), y(Q, {
2632
2632
  key: 2,
2633
2633
  class: "w-sm-auto w-100",
2634
2634
  color: "primary",
2635
2635
  "data-gtm-id": "payment-book-now",
2636
- disabled: t.isLoading || !_.value || !x.value || t.isUpdatingPaymentMethods,
2636
+ disabled: t.isLoading || !w.value || !C.value || t.isUpdatingPaymentMethods,
2637
2637
  loading: t.isLoading,
2638
2638
  variant: "flat",
2639
- onClick: d[5] || (d[5] = (A) => n("payment:pay"))
2639
+ onClick: d[5] || (d[5] = (D) => n("payment:pay"))
2640
2640
  }, {
2641
- default: a(() => [e(Q, {
2641
+ default: a(() => [e(J, {
2642
2642
  class: "ml-1",
2643
2643
  start: ""
2644
2644
  }, {
2645
- default: a(() => [...d[7] || (d[7] = [U(" fas fa-lock ", -1)])]),
2645
+ default: a(() => [...d[7] || (d[7] = [E(" fas fa-lock ", -1)])]),
2646
2646
  _: 1
2647
- }), s("span", ma, u(r(m)("PaymentFormUI.completeBookingNow")), 1)]),
2647
+ }), s("span", va, u(r(m)("PaymentFormUI.completeBookingNow")), 1)]),
2648
2648
  _: 1
2649
2649
  }, 8, ["disabled", "loading"]))]),
2650
2650
  _: 1
@@ -2657,7 +2657,7 @@ var na = At({
2657
2657
  };
2658
2658
  }
2659
2659
  });
2660
- function bt(t) {
2660
+ function pt(t) {
2661
2661
  const l = t;
2662
2662
  l.__i18n = l.__i18n || [], l.__i18n.push({
2663
2663
  locale: "",
@@ -3050,8 +3050,8 @@ function bt(t) {
3050
3050
  }
3051
3051
  });
3052
3052
  }
3053
- typeof bt == "function" && bt(wt);
3054
- var va = wt, ga = { class: "d-flex justify-space-between w-100 items-center" }, ba = ["href"], pa = { class: "mr-1" }, _t = /* @__PURE__ */ X({
3053
+ typeof pt == "function" && pt(wt);
3054
+ var ga = wt, ba = { class: "d-flex justify-space-between w-100 items-center" }, pa = ["href"], ka = { class: "mr-1" }, Tt = /* @__PURE__ */ X({
3055
3055
  __name: "BookingPaymentForcedPayLater",
3056
3056
  props: { isLoading: {
3057
3057
  type: Boolean,
@@ -3059,22 +3059,22 @@ var va = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3059
3059
  } },
3060
3060
  emits: ["payment:later"],
3061
3061
  setup(t, { emit: l }) {
3062
- const { t: o } = et(), n = h(!1), m = l;
3062
+ const { t: o } = ot(), n = h(!1), m = l;
3063
3063
  return (b, v) => (c(), S(W, null, [
3064
- e(N, {
3064
+ e(M, {
3065
3065
  border: "",
3066
3066
  elevation: "0",
3067
3067
  style: { borderColor: "rgb(var(--v-theme-primary))" }
3068
3068
  }, {
3069
- default: a(() => [e(Bt, {
3069
+ default: a(() => [e(Pt, {
3070
3070
  class: "text-white",
3071
3071
  color: "primary",
3072
3072
  dense: "",
3073
3073
  elevation: "0"
3074
3074
  }, {
3075
- default: a(() => [s("div", ga, [s("h4", null, u(r(o)("BookingPaymentForcedPayLater.payLaterForced.title")), 1)])]),
3075
+ default: a(() => [s("div", ba, [s("h4", null, u(r(o)("BookingPaymentForcedPayLater.payLaterForced.title")), 1)])]),
3076
3076
  _: 1
3077
- }), e(z, null, {
3077
+ }), e(O, null, {
3078
3078
  default: a(() => [s("h4", null, u(r(o)("BookingPaymentForcedPayLater.payLaterForced.subtitle")), 1)]),
3079
3079
  _: 1
3080
3080
  })]),
@@ -3093,18 +3093,18 @@ var va = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3093
3093
  link: a(() => [s("b", null, [s("a", {
3094
3094
  href: r(o)("BookingPaymentForcedPayLater.termsURL"),
3095
3095
  target: "_blank"
3096
- }, u(r(o)("BookingPaymentForcedPayLater.termsLinkText")), 9, ba)])]),
3096
+ }, u(r(o)("BookingPaymentForcedPayLater.termsLinkText")), 9, pa)])]),
3097
3097
  _: 1
3098
3098
  })]),
3099
3099
  _: 1
3100
3100
  }, 8, ["modelValue"]),
3101
- e(E, {
3101
+ e(H, {
3102
3102
  align: "end",
3103
3103
  class: "flex-column flex-sm-row",
3104
3104
  "no-gutters": ""
3105
3105
  }, {
3106
- default: a(() => [e(I, { class: "d-flex flex-column flex-sm-row align-center mt-sm-0 mt-4 mb-1 justify-end" }, {
3107
- default: a(() => [e(J, {
3106
+ default: a(() => [e(R, { class: "d-flex flex-column flex-sm-row align-center mt-sm-0 mt-4 mb-1 justify-end" }, {
3107
+ default: a(() => [e(Q, {
3108
3108
  class: "w-sm-auto w-100",
3109
3109
  color: "primary",
3110
3110
  disabled: t.isLoading || !n.value,
@@ -3112,7 +3112,7 @@ var va = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3112
3112
  variant: "outlined",
3113
3113
  onClick: v[2] || (v[2] = (i) => m("payment:later"))
3114
3114
  }, {
3115
- default: a(() => [s("span", pa, u(r(o)("BookingPaymentForcedPayLater.completeBookingLaterForced")), 1)]),
3115
+ default: a(() => [s("span", ka, u(r(o)("BookingPaymentForcedPayLater.completeBookingLaterForced")), 1)]),
3116
3116
  _: 1
3117
3117
  }, 8, ["disabled", "loading"])]),
3118
3118
  _: 1
@@ -3122,7 +3122,7 @@ var va = wt, ga = { class: "d-flex justify-space-between w-100 items-center" },
3122
3122
  ], 64));
3123
3123
  }
3124
3124
  });
3125
- function pt(t) {
3125
+ function kt(t) {
3126
3126
  const l = t;
3127
3127
  l.__i18n = l.__i18n || [], l.__i18n.push({
3128
3128
  locale: "",
@@ -3529,78 +3529,81 @@ function pt(t) {
3529
3529
  }
3530
3530
  });
3531
3531
  }
3532
- typeof pt == "function" && pt(_t);
3533
- var ka = _t, ha = { class: "text-green" }, fa = { key: 1 }, ya = { class: "d-flex align-center px-2" }, Tt = /* @__PURE__ */ X({
3532
+ typeof kt == "function" && kt(Tt);
3533
+ var ha = Tt, fa = { class: "text-green" }, ya = { key: 1 }, Ca = { class: "d-flex align-center px-2" }, _t = /* @__PURE__ */ X({
3534
3534
  __name: "BookingPaymentForm",
3535
3535
  props: {
3536
- features: { default: () => oa },
3536
+ features: { default: () => ia },
3537
3537
  token: {}
3538
3538
  },
3539
3539
  emits: ["payment:success"],
3540
3540
  setup(t, { emit: l }) {
3541
- const o = t, n = l, { t: m } = et(), { bookingApiClient: b } = ht(), { eventBus: v } = Nt(), i = h(null), _ = h(""), f = h(null), x = h(null), L = h(null), O = h(!1), B = h(!1), R = h(!1), V = h(!1), D = h(!1), M = h(null), H = F(() => i.value?.payLater === it.Forced), p = F(() => i.value?.payLater && [it.Enabled, it.Forced].includes(i.value?.payLater)), d = F(() => Kt(i.value?.paymentMethods ?? [], "name")), G = F(() => d.value[P.CreditCard] && d.value[P.CreditCard].payload ? d.value[P.CreditCard].payload : null);
3542
- async function A() {
3541
+ const o = t, n = l, { t: m } = ot(), { bookingApiClient: b } = ft(), { eventBus: v } = Nt(), i = h(null), w = h(""), f = h(null), C = h(null), L = h(null), U = h(!1), x = h(!1), F = h(!1), V = h(!1), z = h(!1), $ = h(null), N = I(() => i.value?.payLater === rt.Forced), p = I(() => {
3542
+ if (i.value?.payLater)
3543
+ return [rt.Enabled, rt.Forced].includes(i.value.payLater);
3544
+ }), d = I(() => Yt(i.value?.paymentMethods ?? [], "name")), G = I(() => d.value[P.CreditCard] && d.value[P.CreditCard].payload ? d.value[P.CreditCard].payload : null), D = I(() => i.value ? st(i.value) : null);
3545
+ async function it() {
3543
3546
  try {
3544
3547
  if (d.value[P.Coupon]?.payload?.amount === i.value?.taxIncludedPrice) {
3545
- B.value = !0, await b.value.bookings.couponCharge({
3548
+ x.value = !0, await b.value.bookings.couponCharge({
3546
3549
  couponId: d.value[P.Coupon].payload.couponId,
3547
3550
  id: i.value.id
3548
- }), R.value = !0, n(j.PaymentSuccess, i.value), v.$emit(j.PaymentSuccess, vt(i.value));
3551
+ }), F.value = !0, n(j.PaymentSuccess, i.value), v.$emit(j.PaymentSuccess, st(i.value));
3549
3552
  return;
3550
3553
  }
3551
- if (!M.value) return;
3552
- B.value = !0, M.value.pay();
3554
+ if (!$.value) return;
3555
+ x.value = !0, $.value.pay();
3553
3556
  } catch {
3554
- D.value = !0;
3557
+ z.value = !0;
3555
3558
  }
3556
3559
  }
3557
3560
  async function tt() {
3558
3561
  try {
3559
- if (B.value = !0, !i.value?.id) {
3560
- B.value = !1;
3562
+ if (x.value = !0, !i.value?.id) {
3563
+ x.value = !1;
3561
3564
  return;
3562
3565
  }
3563
- await b.value.bookings.paylater({ id: i.value.id }), R.value = !0, n(j.PaymentSuccess, i.value), v.$emit(j.PaymentSuccess, vt(i.value));
3566
+ await b.value.bookings.paylater({ id: i.value.id }), F.value = !0, n(j.PaymentSuccess, i.value), v.$emit(j.PaymentSuccess, st(i.value));
3564
3567
  } catch {
3565
- D.value = !0;
3568
+ z.value = !0;
3566
3569
  } finally {
3567
- B.value = !1;
3570
+ x.value = !1;
3568
3571
  }
3569
3572
  }
3570
- function $(y) {
3571
- L.value = "", B.value = !y;
3573
+ function q(A) {
3574
+ L.value = "", x.value = !A;
3572
3575
  }
3573
- async function at() {
3576
+ async function nt() {
3574
3577
  try {
3575
3578
  if (!o.token) {
3576
3579
  i.value = null;
3577
3580
  return;
3578
3581
  }
3579
- O.value = !0, $(!1), i.value = await b.value.bookings.retrievePublic({ token: o.token }), (!i.value.paymentMethods || !i.value.paymentMethods.length || i.value.paymentMethods.length > 1) && (i.value = await b.value.bookings.updatePaymentMethods({
3582
+ U.value = !0, q(!1), i.value = await b.value.bookings.retrievePublic({ token: o.token }), (!i.value.paymentMethods || !i.value.paymentMethods.length || i.value.paymentMethods.length > 1) && (i.value = await b.value.bookings.updatePaymentMethods({
3580
3583
  id: i.value.id,
3581
3584
  paymentMethodUpdatePayloadApi: { paymentMethods: [{ name: P.CreditCard }] }
3582
- })), $(!0), O.value = !1;
3585
+ })), q(!0), U.value = !1;
3583
3586
  } catch {
3584
3587
  i.value = null;
3585
3588
  } finally {
3586
- O.value = !1;
3589
+ U.value = !1;
3587
3590
  }
3588
3591
  }
3589
- async function ot() {
3592
+ async function T() {
3590
3593
  try {
3591
- x.value = "", V.value = !0;
3592
- const y = [{ name: P.CreditCard }];
3593
- if (f.value && y.push({
3594
+ C.value = "", V.value = !0;
3595
+ const A = [{ name: P.CreditCard }];
3596
+ if (f.value && A.push({
3594
3597
  name: P.Coupon,
3595
3598
  payload: { couponId: f.value }
3596
- }), $(!1), i.value && (i.value = await b.value.bookings.updatePaymentMethods({
3599
+ }), q(!1), i.value && (i.value = await b.value.bookings.updatePaymentMethods({
3597
3600
  id: i.value.id,
3598
- paymentMethodUpdatePayloadApi: { paymentMethods: y }
3599
- })), $(!0), !d.value[P.Coupon] || !d.value[P.Coupon].payload?.amount) {
3601
+ paymentMethodUpdatePayloadApi: { paymentMethods: A }
3602
+ })), q(!0), !d.value[P.Coupon] || !d.value[P.Coupon].payload?.amount) {
3600
3603
  if (!f) return;
3601
- _.value = m("BookingPaymentForm.paymentMethods.coupon.error");
3604
+ w.value = m("BookingPaymentForm.paymentMethods.coupon.error");
3602
3605
  } else
3603
- _.value = "", x.value = m("BookingPaymentForm.paymentMethods.coupon.success", { price: Et({
3606
+ w.value = "", C.value = m("BookingPaymentForm.paymentMethods.coupon.success", { price: Et({
3604
3607
  amount: d.value[P.Coupon].payload.amount,
3605
3608
  currency: i.value?.currency
3606
3609
  }) });
@@ -3610,103 +3613,103 @@ var ka = _t, ha = { class: "text-green" }, fa = { key: 1 }, ya = { class: "d-fle
3610
3613
  V.value = !1;
3611
3614
  }
3612
3615
  }
3613
- return ut(() => o.token, async () => {
3614
- await at();
3615
- }, { immediate: !0 }), dt(() => {
3616
- ot();
3617
- }), (y, C) => R.value ? (c(), w(N, {
3616
+ return dt(() => o.token, async () => {
3617
+ await nt();
3618
+ }, { immediate: !0 }), vt(() => {
3619
+ T();
3620
+ }), (A, _) => F.value ? (c(), y(M, {
3618
3621
  key: 0,
3619
3622
  elevation: "0"
3620
3623
  }, {
3621
- default: a(() => [e(z, { class: "d-flex flex-column align-center justify-center py-6" }, {
3622
- default: a(() => [e(Q, {
3624
+ default: a(() => [e(O, { class: "d-flex flex-column align-center justify-center py-6" }, {
3625
+ default: a(() => [e(J, {
3623
3626
  class: "mb-4",
3624
3627
  color: "green",
3625
3628
  size: "x-large"
3626
3629
  }, {
3627
- default: a(() => [...C[4] || (C[4] = [U(" fas fa-check-circle ", -1)])]),
3630
+ default: a(() => [..._[4] || (_[4] = [E(" fas fa-check-circle ", -1)])]),
3628
3631
  _: 1
3629
- }), s("h3", ha, u(r(m)("BookingPaymentForm.paymentSuccess.subtitle")), 1)]),
3632
+ }), s("h3", fa, u(r(m)("BookingPaymentForm.paymentSuccess.subtitle")), 1)]),
3630
3633
  _: 1
3631
3634
  })]),
3632
3635
  _: 1
3633
- })) : i.value && i.value.id ? (c(), S("div", fa, [e(sa, {
3634
- modelValue: D.value,
3635
- "onUpdate:modelValue": C[1] || (C[1] = (q) => D.value = q),
3636
+ })) : i.value && i.value.id ? (c(), S("div", ya, [e(ra, {
3637
+ modelValue: z.value,
3638
+ "onUpdate:modelValue": _[1] || (_[1] = (et) => z.value = et),
3636
3639
  color: "error",
3637
3640
  location: "top",
3638
3641
  timeout: "-1"
3639
3642
  }, {
3640
- actions: a(({ isActive: q }) => [e(J, rt({
3643
+ actions: a(({ isActive: et }) => [e(Q, at({
3641
3644
  color: "pink",
3642
3645
  variant: "text"
3643
- }, q, { onClick: C[0] || (C[0] = (xa) => D.value = !1) }), {
3644
- default: a(() => [e(Q, null, {
3645
- default: a(() => [...C[5] || (C[5] = [U("fas fa-times", -1)])]),
3646
+ }, et, { onClick: _[0] || (_[0] = (Pa) => z.value = !1) }), {
3647
+ default: a(() => [e(J, null, {
3648
+ default: a(() => [..._[5] || (_[5] = [E("fas fa-times", -1)])]),
3646
3649
  _: 1
3647
3650
  })]),
3648
3651
  _: 1
3649
3652
  }, 16)]),
3650
- default: a(() => [U(u(r(m)("BookingPaymentForm.error")) + " ", 1)]),
3653
+ default: a(() => [E(u(r(m)("BookingPaymentForm.error")) + " ", 1)]),
3651
3654
  _: 1
3652
- }, 8, ["modelValue"]), e(E, { dense: "" }, {
3653
- default: a(() => [t.features.BookingDetails ? (c(), w(I, {
3655
+ }, 8, ["modelValue"]), e(H, { dense: "" }, {
3656
+ default: a(() => [t.features.BookingDetails ? (c(), y(R, {
3654
3657
  key: 0,
3655
3658
  cols: "12",
3656
3659
  lg: "4",
3657
3660
  sm: "4",
3658
3661
  xl: "4"
3659
3662
  }, {
3660
- default: a(() => [e(ea, ft(yt(i.value)), null, 16)]),
3663
+ default: a(() => [D.value ? (c(), y(aa, yt(at({ key: 0 }, D.value)), null, 16)) : B("", !0)]),
3661
3664
  _: 1
3662
- })) : T("", !0), e(I, { class: Yt(t.features.BookingDetails ? "col-sm-8 col-12" : "w-100") }, {
3663
- default: a(() => [e(N, {
3665
+ })) : B("", !0), e(R, { class: Zt(t.features.BookingDetails ? "col-sm-8 col-12" : "w-100") }, {
3666
+ default: a(() => [e(M, {
3664
3667
  border: "",
3665
3668
  elevation: "0"
3666
3669
  }, {
3667
- default: a(() => [t.features.BookingDetails ? T("", !0) : (c(), w(Bt, {
3670
+ default: a(() => [t.features.BookingDetails ? B("", !0) : (c(), y(Pt, {
3668
3671
  key: 0,
3669
3672
  color: "primary",
3670
3673
  dark: "",
3671
3674
  dense: "",
3672
3675
  elevation: "0"
3673
3676
  }, {
3674
- default: a(() => [s("h4", null, [U(u(r(m)("BookingPaymentForm.pay")) + ": ", 1), e(Z, {
3677
+ default: a(() => [s("h4", null, [E(u(r(m)("BookingPaymentForm.pay")) + ": ", 1), e(Z, {
3675
3678
  amount: i.value.taxIncludedPrice,
3676
3679
  class: "font-weight-bold",
3677
3680
  currency: i.value.currency
3678
3681
  }, null, 8, ["amount", "currency"])])]),
3679
3682
  _: 1
3680
- })), e(z, null, {
3681
- default: a(() => [H.value ? (c(), w(ka, {
3683
+ })), e(O, null, {
3684
+ default: a(() => [N.value ? (c(), y(ha, {
3682
3685
  key: 0,
3683
- "is-loading": B.value,
3686
+ "is-loading": x.value,
3684
3687
  "onPayment:later": tt
3685
- }, null, 8, ["is-loading"])) : (c(), S(W, { key: 1 }, [G.value ? (c(), w(E, { key: 0 }, {
3686
- default: a(() => [e(I, null, {
3687
- default: a(() => [e(va, {
3688
+ }, null, 8, ["is-loading"])) : (c(), S(W, { key: 1 }, [G.value ? (c(), y(H, { key: 0 }, {
3689
+ default: a(() => [e(R, null, {
3690
+ default: a(() => [e(ga, {
3688
3691
  ref_key: "paymentForm",
3689
- ref: M,
3692
+ ref: $,
3690
3693
  currency: i.value.currency,
3691
- "is-loading": B.value,
3694
+ "is-loading": x.value,
3692
3695
  "is-pay-later-allowed": p.value,
3693
- "is-pay-later-forced": H.value,
3696
+ "is-pay-later-forced": N.value,
3694
3697
  "is-updating-payment-methods": V.value,
3695
3698
  "payment-methods": Object.values(d.value),
3696
3699
  "total-to-pay": i.value.taxIncludedPrice,
3697
- "onPayment:error": C[2] || (C[2] = (q) => B.value = !1),
3700
+ "onPayment:error": _[2] || (_[2] = (et) => x.value = !1),
3698
3701
  "onPayment:later": tt,
3699
- "onPayment:pay": A,
3700
- "onPayment:success": C[3] || (C[3] = () => {
3701
- B.value = !1, R.value = !0, r(v).$emit(r(j).PaymentSuccess, i.value);
3702
+ "onPayment:pay": it,
3703
+ "onPayment:success": _[3] || (_[3] = () => {
3704
+ x.value = !1, F.value = !0, r(v).$emit(r(j).PaymentSuccess, i.value);
3702
3705
  })
3703
3706
  }, {
3704
- append: a(() => [s("div", ya, [e(Q, {
3707
+ append: a(() => [s("div", Ca, [e(J, {
3705
3708
  color: "grey",
3706
3709
  size: "small",
3707
3710
  start: ""
3708
3711
  }, {
3709
- default: a(() => [...C[6] || (C[6] = [U(" fas fa-info-circle ", -1)])]),
3712
+ default: a(() => [..._[6] || (_[6] = [E(" fas fa-info-circle ", -1)])]),
3710
3713
  _: 1
3711
3714
  }), s("small", null, u(r(m)("BookingPaymentForm.subtitle")), 1)])]),
3712
3715
  _: 1
@@ -3722,7 +3725,7 @@ var ka = _t, ha = { class: "text-green" }, fa = { key: 1 }, ya = { class: "d-fle
3722
3725
  _: 1
3723
3726
  })]),
3724
3727
  _: 1
3725
- })) : T("", !0)], 64))]),
3728
+ })) : B("", !0)], 64))]),
3726
3729
  _: 1
3727
3730
  })]),
3728
3731
  _: 1
@@ -3730,19 +3733,19 @@ var ka = _t, ha = { class: "text-green" }, fa = { key: 1 }, ya = { class: "d-fle
3730
3733
  _: 1
3731
3734
  }, 8, ["class"])]),
3732
3735
  _: 1
3733
- })])) : O.value ? (c(), w(N, {
3736
+ })])) : U.value ? (c(), y(M, {
3734
3737
  key: 2,
3735
3738
  class: "mx-auto",
3736
3739
  elevation: "0",
3737
3740
  height: "350px",
3738
3741
  width: "100%"
3739
3742
  }, {
3740
- default: a(() => [e(ct, {
3743
+ default: a(() => [e(mt, {
3741
3744
  absolute: "",
3742
3745
  class: "align-center justify-center",
3743
3746
  opacity: "0.1"
3744
3747
  }, {
3745
- default: a(() => [e(ne, {
3748
+ default: a(() => [e(re, {
3746
3749
  color: "primary",
3747
3750
  indeterminate: "",
3748
3751
  size: "64"
@@ -3750,17 +3753,17 @@ var ka = _t, ha = { class: "text-green" }, fa = { key: 1 }, ya = { class: "d-fle
3750
3753
  _: 1
3751
3754
  })]),
3752
3755
  _: 1
3753
- })) : (c(), w(oe, {
3756
+ })) : (c(), y(ne, {
3754
3757
  key: 3,
3755
3758
  "min-height": "200px"
3756
3759
  }, {
3757
- title: a(() => [U(u(r(m)("BookingPaymentForm.bookingNotFound.title")), 1)]),
3758
- description: a(() => [U(u(r(m)("BookingPaymentForm.bookingNotFound.description")), 1)]),
3760
+ title: a(() => [E(u(r(m)("BookingPaymentForm.bookingNotFound.title")), 1)]),
3761
+ description: a(() => [E(u(r(m)("BookingPaymentForm.bookingNotFound.description")), 1)]),
3759
3762
  _: 1
3760
3763
  }));
3761
3764
  }
3762
3765
  });
3763
- function kt(t) {
3766
+ function ht(t) {
3764
3767
  const l = t;
3765
3768
  l.__i18n = l.__i18n || [], l.__i18n.push({
3766
3769
  locale: "",
@@ -5140,16 +5143,16 @@ function kt(t) {
5140
5143
  }
5141
5144
  });
5142
5145
  }
5143
- var La = /* @__PURE__ */ St({ default: () => Ca });
5144
- typeof kt == "function" && kt(Tt);
5145
- var Ca = /* @__PURE__ */ mt(Tt, [["__scopeId", "data-v-befb5ad8"]]);
5146
- Lt("css/revolugo.bookingpaymentform.bZwObBX3.css");
5146
+ var Sa = /* @__PURE__ */ St({ default: () => xa });
5147
+ typeof ht == "function" && ht(_t);
5148
+ var xa = /* @__PURE__ */ gt(_t, [["__scopeId", "data-v-c67be99b"]]);
5149
+ Lt("css/revolugo.bookingpaymentform.CekI3oIR.css");
5147
5150
  export {
5148
- ea as a,
5149
- oa as i,
5150
- La as n,
5151
- sa as r,
5152
- Ca as t
5151
+ aa as a,
5152
+ ia as i,
5153
+ Sa as n,
5154
+ ra as r,
5155
+ xa as t
5153
5156
  };
5154
5157
 
5155
- //# sourceMappingURL=revolugo.bookingpaymentform.pDIkYjEJ.min.js.map
5158
+ //# sourceMappingURL=revolugo.bookingpaymentform.BJCfZ_Kk.min.js.map