@konnectio/core 4.0.56-rc5 → 4.0.56-rc6

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 (110) hide show
  1. package/dist/{ActionField--byx0Lp1.js → ActionField-YyW_C34E.js} +1 -1
  2. package/dist/ActionField-YyW_C34E.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-cL6E9wAp.js → AvailabilitySkeleton-lYcDX41T.js} +4 -4
  4. package/dist/AvailabilitySkeleton-lYcDX41T.js.br +0 -0
  5. package/dist/{CheckoutWindow-_ZUCAYgm.js → CheckoutWindow-T7-vrZyG.js} +1 -1
  6. package/dist/CheckoutWindow-T7-vrZyG.js.br +0 -0
  7. package/dist/{Container-6UeOakwz.js → Container-w7O0He-s.js} +1 -1
  8. package/dist/Container-w7O0He-s.js.br +0 -0
  9. package/dist/{DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js → DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js} +1 -1
  10. package/dist/DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js.br +0 -0
  11. package/dist/{Field-GdMucFcQ.js → Field-fWwF40rD.js} +7 -7
  12. package/dist/Field-fWwF40rD.js.br +0 -0
  13. package/dist/{SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js → SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js} +14599 -11378
  14. package/dist/SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js.br +0 -0
  15. package/dist/{ThankYou-9pzt2SfJ.js → ThankYou-pUA2X7-4.js} +1692 -1851
  16. package/dist/ThankYou-pUA2X7-4.js.br +0 -0
  17. package/dist/{_-5uiOrU07.js → _-TlutFgf7.js} +1 -1
  18. package/dist/availability.js +93 -94
  19. package/dist/availability.js.br +0 -0
  20. package/dist/components/Alert.vue.d.ts +4 -4
  21. package/dist/components/Clickable.vue.d.ts +5 -5
  22. package/dist/components/Container.vue.d.ts +4 -4
  23. package/dist/components/ErrorMessage.vue.d.ts +3 -3
  24. package/dist/components/Gallery.vue.d.ts +4 -4
  25. package/dist/components/GoogleNotice.vue.d.ts +1 -1
  26. package/dist/components/Icon.vue.d.ts +4 -4
  27. package/dist/components/Loading.vue.d.ts +4 -4
  28. package/dist/components/Spinner.vue.d.ts +1 -1
  29. package/dist/components/forms/EventAvailabilityForm.vue.d.ts +4 -4
  30. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +4 -4
  31. package/dist/components/forms/HotelReservationForm.vue.d.ts +4 -4
  32. package/dist/components/forms/MultiStepForm.vue.d.ts +5 -5
  33. package/dist/components/forms/ReservationForm.vue.d.ts +4 -4
  34. package/dist/components/forms/_.vue.d.ts +5 -5
  35. package/dist/components/inputs/Checkbox.vue.d.ts +6 -6
  36. package/dist/components/inputs/CheckboxField.vue.d.ts +5 -5
  37. package/dist/components/inputs/DateField.vue.d.ts +5 -5
  38. package/dist/components/inputs/InputField.vue.d.ts +4 -4
  39. package/dist/components/inputs/MediaSelector.vue.d.ts +5 -5
  40. package/dist/components/inputs/NumberField.vue.d.ts +5 -5
  41. package/dist/components/inputs/SelectField.vue.d.ts +5 -5
  42. package/dist/components/inputs/TextField.vue.d.ts +6 -6
  43. package/dist/components/inputs/TimeField.vue.d.ts +4 -4
  44. package/dist/components/inputs/grouped/ActionField.vue.d.ts +5 -5
  45. package/dist/components/inputs/grouped/CountryField.vue.d.ts +5 -5
  46. package/dist/components/inputs/grouped/NameField.vue.d.ts +6 -6
  47. package/dist/components/inputs/grouped/PhoneField.vue.d.ts +6 -6
  48. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +5 -5
  49. package/dist/components/listings/Base.vue.d.ts +4 -4
  50. package/dist/components/listings/Event.vue.d.ts +4 -4
  51. package/dist/components/listings/Hotel.vue.d.ts +3 -3
  52. package/dist/components/listings/Template.vue.d.ts +3 -3
  53. package/dist/components/side-panels/Base.vue.d.ts +5 -5
  54. package/dist/components/side-panels/ListingInfo.vue.d.ts +3 -3
  55. package/dist/components/side-panels/Template.vue.d.ts +3 -3
  56. package/dist/components/side-panels/TermsOfService.vue.d.ts +3 -3
  57. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +4 -4
  58. package/dist/components/skeletons/Field.vue.d.ts +4 -4
  59. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +1 -1
  60. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +1 -1
  61. package/dist/components/skeletons/Listing.vue.d.ts +1 -1
  62. package/dist/components/skeletons/Sidebar.vue.d.ts +1 -1
  63. package/dist/components/skeletons/_.vue.d.ts +4 -4
  64. package/dist/components/views/CheckoutWindow.vue.d.ts +1 -1
  65. package/dist/components/views/TermsOfService.vue.d.ts +1 -1
  66. package/dist/components/views/ThankYou.vue.d.ts +4 -4
  67. package/dist/entries/availability.d.ts +5 -5
  68. package/dist/entries/event.d.ts +1 -1
  69. package/dist/entries/gift-card-validation.d.ts +5 -5
  70. package/dist/entries/gift-card.d.ts +5 -5
  71. package/dist/entries/hotel.d.ts +5 -5
  72. package/dist/{event-jnP6wH4w.js → event-mDcuoL9g.js} +7 -7
  73. package/dist/event-mDcuoL9g.js.br +0 -0
  74. package/dist/event.js +7 -7
  75. package/dist/event.js.br +0 -0
  76. package/dist/gift-card-validation.js +79 -67
  77. package/dist/gift-card-validation.js.br +0 -0
  78. package/dist/gift-card.js +276 -265
  79. package/dist/gift-card.js.br +0 -0
  80. package/dist/hotel.js +845 -837
  81. package/dist/hotel.js.br +0 -0
  82. package/dist/layouts/Availability.vue.d.ts +4 -4
  83. package/dist/layouts/Event.vue.d.ts +4 -4
  84. package/dist/layouts/GiftCard.vue.d.ts +4 -4
  85. package/dist/layouts/GiftCardValidation.vue.d.ts +4 -4
  86. package/dist/layouts/Hotel.vue.d.ts +4 -4
  87. package/dist/layouts/_.vue.d.ts +4 -4
  88. package/dist/polyfill.js +1 -1
  89. package/dist/polyfill.js.br +0 -0
  90. package/dist/store/alert.d.ts +15 -15
  91. package/dist/store/applyGiftCard.d.ts +18 -18
  92. package/dist/store/availability.d.ts +12 -12
  93. package/dist/store/event.d.ts +141 -141
  94. package/dist/store/giftCard.d.ts +51 -51
  95. package/dist/store/payment.d.ts +39 -39
  96. package/dist/store/recaptcha.d.ts +3 -3
  97. package/dist/store/tracking.d.ts +6 -6
  98. package/dist/store/utilities.d.ts +129 -129
  99. package/dist/style.css +1 -1
  100. package/dist/style.css.br +0 -0
  101. package/package.json +4 -3
  102. package/dist/ActionField--byx0Lp1.js.br +0 -0
  103. package/dist/AvailabilitySkeleton-cL6E9wAp.js.br +0 -0
  104. package/dist/CheckoutWindow-_ZUCAYgm.js.br +0 -0
  105. package/dist/Container-6UeOakwz.js.br +0 -0
  106. package/dist/DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js.br +0 -0
  107. package/dist/Field-GdMucFcQ.js.br +0 -5
  108. package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js.br +0 -0
  109. package/dist/ThankYou-9pzt2SfJ.js.br +0 -0
  110. package/dist/event-jnP6wH4w.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,57 +1,57 @@
1
- var fo = Object.defineProperty, mo = Object.defineProperties;
2
- var go = Object.getOwnPropertyDescriptors;
1
+ var ho = Object.defineProperty, fo = Object.defineProperties;
2
+ var mo = Object.getOwnPropertyDescriptors;
3
3
  var tt = Object.getOwnPropertySymbols;
4
- var vo = Object.prototype.hasOwnProperty, yo = Object.prototype.propertyIsEnumerable;
5
- var nt = Math.pow, ot = (o, e, t) => e in o ? fo(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, ee = (o, e) => {
4
+ var go = Object.prototype.hasOwnProperty, vo = Object.prototype.propertyIsEnumerable;
5
+ var nt = Math.pow, ot = (o, e, t) => e in o ? ho(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, ee = (o, e) => {
6
6
  for (var t in e || (e = {}))
7
- vo.call(e, t) && ot(o, t, e[t]);
7
+ go.call(e, t) && ot(o, t, e[t]);
8
8
  if (tt)
9
9
  for (var t of tt(e))
10
- yo.call(e, t) && ot(o, t, e[t]);
10
+ vo.call(e, t) && ot(o, t, e[t]);
11
11
  return o;
12
- }, ve = (o, e) => mo(o, go(e));
13
- var Q = (o, e, t) => new Promise((n, l) => {
12
+ }, ge = (o, e) => fo(o, mo(e));
13
+ var Q = (o, e, t) => new Promise((n, a) => {
14
14
  var u = (d) => {
15
15
  try {
16
16
  h(t.next(d));
17
- } catch (c) {
18
- l(c);
17
+ } catch (p) {
18
+ a(p);
19
19
  }
20
- }, p = (d) => {
20
+ }, c = (d) => {
21
21
  try {
22
22
  h(t.throw(d));
23
- } catch (c) {
24
- l(c);
23
+ } catch (p) {
24
+ a(p);
25
25
  }
26
- }, h = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(u, p);
26
+ }, h = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(u, c);
27
27
  h((t = t.apply(o, e)).next());
28
28
  });
29
- import { k as j, F as re, al as bo, s as K, c as ge, aa as kt, ab as se, o as E, m as B, X as ko, z as a, w, D as we, x as v, H as V, M as ne, Z as it, am as _o, l as C, a4 as z, a3 as A, n as x, a6 as qe, an as pe, p as I, K as J, L as ie, f as q, y as Ce, Q as _t, R as Et, _ as X, r as fe, ao as Tt, B as Ye, a2 as Ee, A as It, C as ce, ap as Eo, a1 as To, q as Te, I as Ct, v as rt, T as oe, aq as Io, G as Co, a7 as $o, N as st, J as F, P as So, ar as $t, as as Vo, V as Lo, U as Po, W as xo, a9 as wo } from "./SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js";
30
- import { R as Ho, B as Ke, a as Oo, S as Do, M as Ro, T as Mo, x as Bo } from "./ThankYou-9pzt2SfJ.js";
31
- import { C as Ao } from "./Container-6UeOakwz.js";
32
- import { A as zo, H as Wo } from "./AvailabilitySkeleton-cL6E9wAp.js";
33
- import { _ as Fo } from "./DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js";
34
- import { C as Ue, P as No, a as qo } from "./CheckoutWindow-_ZUCAYgm.js";
35
- import { E as Y } from "./_-5uiOrU07.js";
29
+ import { k as j, F as re, al as yo, s as K, c as me, aa as kt, ab as se, o as E, m as R, X as bo, z as l, w, D as we, x as v, H as V, M as ne, Z as it, am as ko, l as C, a4 as z, a3 as B, n as x, a6 as qe, an as ce, p as I, K as J, L as ie, f as q, y as Ce, Q as _t, R as Et, _ as X, r as he, ao as Tt, B as Ye, a2 as Ee, A as It, C as de, ap as _o, a1 as Eo, q as Te, I as Ct, v as rt, T as oe, aq as To, G as Io, a7 as Co, N as st, J as N, P as $o, ar as $t, as as So, U as Vo, V as Lo, W as Po, a9 as xo } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
30
+ import { R as wo, B as Ke, a as Ho, S as Oo, M as Do, T as Ao, x as Mo } from "./ThankYou-pUA2X7-4.js";
31
+ import { C as Ro } from "./Container-w7O0He-s.js";
32
+ import { A as Bo, H as zo } from "./AvailabilitySkeleton-lYcDX41T.js";
33
+ import { _ as Wo } from "./DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js";
34
+ import { C as Ue, P as No, a as Fo } from "./CheckoutWindow-T7-vrZyG.js";
35
+ import { E as Y } from "./_-TlutFgf7.js";
36
36
  import { c as St, g as Vt } from "./_commonjsHelpers-4t9S7M5p.js";
37
- import "./ActionField--byx0Lp1.js";
38
- import "./Field-GdMucFcQ.js";
39
- const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
37
+ import "./ActionField-YyW_C34E.js";
38
+ import "./Field-fWwF40rD.js";
39
+ const qo = { key: 0 }, Uo = { key: 1 }, He = /* @__PURE__ */ j({
40
40
  __name: "HotelReservationForm",
41
41
  props: {
42
42
  showGiftCard: { type: Boolean, default: !1 },
43
43
  showTermsNotice: { type: Boolean, default: !1 }
44
44
  },
45
45
  setup(o) {
46
- const { t: e } = re(), t = bo(), {
46
+ const { t: e } = re(), t = yo(), {
47
47
  hideArrivalDepartureInputs: n,
48
- disableArrivalUserSelection: l,
48
+ disableArrivalUserSelection: a,
49
49
  disableDepartureUserSelection: u,
50
- arrivalDefault: p,
50
+ arrivalDefault: c,
51
51
  departureDefault: h,
52
52
  currency: d
53
- } = K(ge()), {
54
- arrivalDate: c,
53
+ } = K(me()), {
54
+ arrivalDate: p,
55
55
  departureDate: m
56
56
  } = K(kt()), {
57
57
  arrivalTime: y,
@@ -65,60 +65,60 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
65
65
  discountVouchers: g
66
66
  } = K(se()), { removeRoom: T } = se();
67
67
  function $(L) {
68
- return L.reduce((D, { totalPrice: R }) => D + R, 0);
68
+ return L.reduce((D, { totalPrice: A }) => D + A, 0);
69
69
  }
70
- return (L, H) => (E(), B(Ho, {
71
- "total-price": a(_),
70
+ return (L, H) => (E(), R(wo, {
71
+ "total-price": l(_),
72
72
  "show-gift-card": L.showGiftCard,
73
73
  "show-terms-notice": L.showTermsNotice,
74
- "is-sidebar-loading": a(f),
75
- notice: a(e)("hotel.reservationNotice")
76
- }, ko({
74
+ "is-sidebar-loading": l(f),
75
+ notice: l(e)("hotel.reservationNotice")
76
+ }, bo({
77
77
  form: w(() => [
78
78
  we(L.$slots, "form")
79
79
  ]),
80
80
  "reservation-summary": w(() => [
81
81
  v("li", null, [
82
- v("span", null, V(a(e)("booking.reservation.arrival")), 1),
83
- v("b", null, V(a(n) ? a(ne)(a(c)) : `${a(ne)(a(c))}, ${a(l) ? a(p) : a(y)}`), 1)
82
+ v("span", null, V(l(e)("booking.reservation.arrival")), 1),
83
+ v("b", null, V(l(n) ? l(ne)(l(p)) : `${l(ne)(l(p))}, ${l(a) ? l(c) : l(y)}`), 1)
84
84
  ]),
85
85
  v("li", null, [
86
- v("span", null, V(a(e)("booking.reservation.departure")), 1),
87
- v("b", null, V(a(n) ? a(ne)(a(m)) : `${a(ne)(a(m))}, ${a(u) ? a(h) : a(b)}`), 1)
86
+ v("span", null, V(l(e)("booking.reservation.departure")), 1),
87
+ v("b", null, V(l(n) ? l(ne)(l(m)) : `${l(ne)(l(m))}, ${l(u) ? l(h) : l(b)}`), 1)
88
88
  ]),
89
89
  v("li", null, [
90
- v("span", null, V(a(e)("booking.reservation.nights")), 1),
91
- v("b", null, V(a(it)(a(c), a(m))) + " " + V(a(_o)(a(it)(a(c), a(m)) === 1 ? a(e)("booking.reservation.night") : a(e)("booking.reservation.nights"))), 1)
90
+ v("span", null, V(l(e)("booking.reservation.nights")), 1),
91
+ v("b", null, V(l(it)(l(p), l(m))) + " " + V(l(ko)(l(it)(l(p), l(m)) === 1 ? l(e)("booking.reservation.night") : l(e)("booking.reservation.nights"))), 1)
92
92
  ]),
93
- a(g) ? (E(!0), C(A, { key: 0 }, z(a(g), (D) => (E(), C("li", {
93
+ l(g) ? (E(!0), C(B, { key: 0 }, z(l(g), (D) => (E(), C("li", {
94
94
  key: D.id
95
95
  }, [
96
- v("span", null, V(`${a(e)("general.discountCode")} (${D.value})`), 1),
96
+ v("span", null, V(`${l(e)("general.discountCode")} (${D.value})`), 1),
97
97
  v("b", null, V(D.key), 1)
98
98
  ]))), 128)) : x("", !0)
99
99
  ]),
100
100
  "price-summary": w(() => [
101
- isNaN(a(k)) && a(s).length > 0 ? (E(!0), C(A, { key: 0 }, z(a(s), ({
101
+ isNaN(l(k)) && l(s).length > 0 ? (E(!0), C(B, { key: 0 }, z(l(s), ({
102
102
  roomGroupID: D,
103
- title: R,
103
+ title: A,
104
104
  variants: W
105
105
  }) => (E(), C("div", { key: D }, [
106
106
  v("h6", null, [
107
- v("span", null, V(R), 1)
107
+ v("span", null, V(A), 1)
108
108
  ]),
109
- (E(!0), C(A, null, z(W, (Z, le) => (E(), C("div", { key: le }, [
110
- (E(!0), C(A, null, z(Z.rooms, (U, $e) => (E(), C("ul", { key: $e }, [
109
+ (E(!0), C(B, null, z(W, (Z, ae) => (E(), C("div", { key: ae }, [
110
+ (E(!0), C(B, null, z(Z.rooms, (U, $e) => (E(), C("ul", { key: $e }, [
111
111
  v("li", null, [
112
112
  v("span", null, [
113
113
  v("span", null, [
114
- qe(V(a(pe)(Z.name)) + " ( ", 1),
114
+ qe(V(l(ce)(Z.name)) + " ( ", 1),
115
115
  I(J, {
116
116
  icon: "male",
117
117
  type: "fas",
118
118
  color: "font"
119
119
  }),
120
120
  v("span", null, V(U.adultsCount), 1),
121
- U.childrenCount > 0 ? (E(), C(A, { key: 0 }, [
121
+ U.childrenCount > 0 ? (E(), C(B, { key: 0 }, [
122
122
  I(J, {
123
123
  icon: "child",
124
124
  type: "fas",
@@ -130,29 +130,29 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
130
130
  ])
131
131
  ]),
132
132
  v("b", null, [
133
- v("span", null, V(a(ie)(U.totalPrice, a(d))), 1),
133
+ v("span", null, V(l(ie)(U.totalPrice, l(d))), 1),
134
134
  x("", !0)
135
135
  ])
136
136
  ]),
137
- $(U.roomAddons) > 0 ? (E(), C("li", Uo, [
138
- v("span", null, V(a(e)("booking.reservation.addons")), 1),
139
- v("b", null, V(a(ie)($(U.roomAddons), a(d))), 1)
137
+ $(U.roomAddons) > 0 ? (E(), C("li", qo, [
138
+ v("span", null, V(l(e)("booking.reservation.addons")), 1),
139
+ v("b", null, V(l(ie)($(U.roomAddons), l(d))), 1)
140
140
  ])) : x("", !0)
141
141
  ]))), 128))
142
142
  ]))), 128))
143
143
  ]))), 128)) : x("", !0),
144
- a(i) && a(r) ? (E(), C("div", Go, [
144
+ l(i) && l(r) ? (E(), C("div", Uo, [
145
145
  v("h6", null, [
146
- v("span", null, V(a(pe)(a(r).name)), 1)
146
+ v("span", null, V(l(ce)(l(r).name)), 1)
147
147
  ]),
148
148
  v("div", null, [
149
149
  v("ul", null, [
150
150
  v("li", null, [
151
151
  v("span", null, [
152
- v("span", null, V(a(pe)(a(i).title)), 1)
152
+ v("span", null, V(l(ce)(l(i).title)), 1)
153
153
  ]),
154
154
  v("b", null, [
155
- v("span", null, V(a(ie)(a(i).extraPrice, a(d))), 1)
155
+ v("span", null, V(l(ie)(l(i).extraPrice, l(d))), 1)
156
156
  ])
157
157
  ])
158
158
  ])
@@ -164,7 +164,7 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
164
164
  ]),
165
165
  _: 2
166
166
  }, [
167
- a(t).addons ? {
167
+ l(t).addons ? {
168
168
  name: "addons",
169
169
  fn: w(() => [
170
170
  we(L.$slots, "addons")
@@ -173,7 +173,7 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
173
173
  } : void 0
174
174
  ]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
175
175
  }
176
- }), jo = (o) => (_t("data-v-69fe83d8"), o = o(), Et(), o), Yo = { class: "konnectio-room-config-option" }, Ko = { key: 0 }, Qo = { class: "konnectio-selected-room-config" }, Jo = { class: "konnectio-selected-room-config-people" }, Xo = { key: 0 }, Zo = { class: "konnectio-selected-room-config-price" }, en = /* @__PURE__ */ jo(() => /* @__PURE__ */ v("span", null, null, -1)), tn = /* @__PURE__ */ j({
176
+ }), Go = (o) => (_t("data-v-69fe83d8"), o = o(), Et(), o), jo = { class: "konnectio-room-config-option" }, Yo = { key: 0 }, Ko = { class: "konnectio-selected-room-config" }, Qo = { class: "konnectio-selected-room-config-people" }, Jo = { key: 0 }, Xo = { class: "konnectio-selected-room-config-price" }, Zo = /* @__PURE__ */ Go(() => /* @__PURE__ */ v("span", null, null, -1)), en = /* @__PURE__ */ j({
177
177
  __name: "RoomConfigField",
178
178
  props: {
179
179
  modelValue: {},
@@ -184,17 +184,17 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
184
184
  },
185
185
  emits: ["update:modelValue"],
186
186
  setup(o, { emit: e }) {
187
- const { t } = re(), { currency: n } = K(ge()), l = e, u = o;
188
- function p(d) {
189
- l("update:modelValue", d);
187
+ const { t } = re(), { currency: n } = K(me()), a = e, u = o;
188
+ function c(d) {
189
+ a("update:modelValue", d);
190
190
  }
191
191
  const h = q({
192
192
  get: () => u.modelValue,
193
- set: (d) => p(d)
193
+ set: (d) => c(d)
194
194
  });
195
- return (d, c) => (E(), B(Ce, {
195
+ return (d, p) => (E(), R(Ce, {
196
196
  modelValue: h.value,
197
- "onUpdate:modelValue": c[0] || (c[0] = (m) => h.value = m),
197
+ "onUpdate:modelValue": p[0] || (p[0] = (m) => h.value = m),
198
198
  label: d.label,
199
199
  placeholder: "Select guest configuration",
200
200
  labelKey: "label",
@@ -206,7 +206,7 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
206
206
  searchable: !1
207
207
  }, {
208
208
  option: w(({ data: m }) => [
209
- v("span", Yo, [
209
+ v("span", jo, [
210
210
  v("div", null, [
211
211
  I(J, {
212
212
  icon: "male",
@@ -214,7 +214,7 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
214
214
  color: "font"
215
215
  }),
216
216
  v("span", null, V(`${m.adults}`), 1),
217
- m.children > 0 ? (E(), C("span", Ko, [
217
+ m.children > 0 ? (E(), C("span", Yo, [
218
218
  I(J, {
219
219
  icon: "child",
220
220
  type: "fas",
@@ -223,40 +223,40 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
223
223
  v("span", null, V(`${m.children}`), 1)
224
224
  ])) : x("", !0)
225
225
  ]),
226
- v("span", null, V(`(${a(ie)(m.price, a(n))})`), 1)
226
+ v("span", null, V(`(${l(ie)(m.price, l(n))})`), 1)
227
227
  ])
228
228
  ]),
229
229
  "selected-option": w(({ data: m }) => [
230
- v("div", Qo, [
231
- v("div", Jo, [
230
+ v("div", Ko, [
231
+ v("div", Qo, [
232
232
  v("div", null, [
233
233
  x("", !0),
234
- v("span", null, V(`${m.adults} ${m.adults === 1 ? a(t)("general.adult") : a(t)("general.adults")}`), 1)
234
+ v("span", null, V(`${m.adults} ${m.adults === 1 ? l(t)("general.adult") : l(t)("general.adults")}`), 1)
235
235
  ]),
236
- m.children > 0 ? (E(), C("div", Xo, [
236
+ m.children > 0 ? (E(), C("div", Jo, [
237
237
  x("", !0),
238
- v("span", null, V(`& ${m.children} ${m.children === 1 ? a(t)("general.child") : a(t)("general.children")}`), 1)
238
+ v("span", null, V(`& ${m.children} ${m.children === 1 ? l(t)("general.child") : l(t)("general.children")}`), 1)
239
239
  ])) : x("", !0)
240
240
  ]),
241
- v("div", Zo, [
242
- en,
243
- qe(" " + V(`(${a(ie)(m.price, a(n))})`), 1)
241
+ v("div", Xo, [
242
+ Zo,
243
+ qe(" " + V(`(${l(ie)(m.price, l(n))})`), 1)
244
244
  ])
245
245
  ])
246
246
  ]),
247
247
  _: 1
248
248
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
249
249
  }
250
- }), on = /* @__PURE__ */ X(tn, [["__scopeId", "data-v-69fe83d8"]]), nn = { class: "konnectio-availability-listing-selection" }, rn = { key: 1 }, sn = { class: "fresh-booking-listing-config-body" }, an = { class: "fresh-booking-listing-units-body" };
251
- const ln = /* @__PURE__ */ j({
250
+ }), tn = /* @__PURE__ */ X(en, [["__scopeId", "data-v-69fe83d8"]]), on = { class: "konnectio-availability-listing-selection" }, nn = { key: 1 }, rn = { class: "fresh-booking-listing-config-body" }, sn = { class: "fresh-booking-listing-units-body" };
251
+ const an = /* @__PURE__ */ j({
252
252
  __name: "Hotel",
253
253
  props: {
254
254
  room: {},
255
255
  layout: {}
256
256
  },
257
257
  setup(o) {
258
- const { t: e } = re(), t = o, n = fe([]);
259
- function l(r) {
258
+ const { t: e } = re(), t = o, n = he([]);
259
+ function a(r) {
260
260
  n.value[r].config.push({
261
261
  id: NaN,
262
262
  units: 0,
@@ -266,7 +266,7 @@ const ln = /* @__PURE__ */ j({
266
266
  const u = q(() => t.room.rates.map((r) => ({
267
267
  label: r.name,
268
268
  value: r.id
269
- }))), { hideAvailableRoomAmount: p } = K(ge()), { roomSelect: h } = K(se()), { addToCart: d, removeFromCart: c } = Tt(), m = (r, g) => {
269
+ }))), { hideAvailableRoomAmount: c } = K(me()), { roomSelect: h } = K(se()), { addToCart: d, removeFromCart: p } = Tt(), m = (r, g) => {
270
270
  var T;
271
271
  return (T = t.room.rates.find(($) => $.id === r)) == null ? void 0 : T.occupantRates.find(($) => $.index === g);
272
272
  }, y = q(() => t.room.rates.reduce(
@@ -309,12 +309,12 @@ const ln = /* @__PURE__ */ j({
309
309
  return Ee(i, (r, g) => {
310
310
  g.length > 0 && r.forEach((T, $) => {
311
311
  T.config.forEach((L, H) => {
312
- const D = L.units, R = g[$].config[H].units;
313
- D !== R && (D > R ? (n.value[$].config[H].addons.push({}), d({
312
+ const D = L.units, A = g[$].config[H].units;
313
+ D !== A && (D > A ? (n.value[$].config[H].addons.push({}), d({
314
314
  id: t.room.id,
315
315
  name: t.room.title,
316
316
  value: t.room.rates[$].rackRate
317
- })) : (n.value[$].config[H].addons.pop(), c({
317
+ })) : (n.value[$].config[H].addons.pop(), p({
318
318
  id: t.room.id,
319
319
  name: t.room.title,
320
320
  value: t.room.rates[$].rackRate
@@ -323,7 +323,7 @@ const ln = /* @__PURE__ */ j({
323
323
  });
324
324
  }, { deep: !0 }), Ee(n, () => {
325
325
  h.value[t.room.id] = n.value;
326
- }, { deep: !0 }), (r, g) => (E(), B(Ke, {
326
+ }, { deep: !0 }), (r, g) => (E(), R(Ke, {
327
327
  "listing-id": r.room.id,
328
328
  gallery: r.room.images,
329
329
  name: r.room.title,
@@ -334,53 +334,53 @@ const ln = /* @__PURE__ */ j({
334
334
  "includes-breakfast": b.value
335
335
  }, {
336
336
  action: w(() => [
337
- v("div", nn, [
338
- (E(!0), C(A, null, z(n.value, (T, $) => (E(), C("div", {
337
+ v("div", on, [
338
+ (E(!0), C(B, null, z(n.value, (T, $) => (E(), C("div", {
339
339
  key: T.id,
340
340
  class: "freshbooking-hotel-room"
341
341
  }, [
342
- _.value ? (E(), B(Ce, {
342
+ _.value ? (E(), R(Ce, {
343
343
  key: 0,
344
344
  modelValue: T.id,
345
345
  "onUpdate:modelValue": (L) => T.id = L,
346
- label: a(e)("hotel.roomVariant"),
347
- placeholder: a(e)("hotel.chooseARoomVariant"),
346
+ label: l(e)("hotel.roomVariant"),
347
+ placeholder: l(e)("hotel.chooseARoomVariant"),
348
348
  options: u.value,
349
349
  searchable: !1
350
350
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : x("", !0),
351
- T.id ? (E(), C("div", rn, [
352
- (E(!0), C(A, null, z(r.room.rates, ({
351
+ T.id ? (E(), C("div", nn, [
352
+ (E(!0), C(B, null, z(r.room.rates, ({
353
353
  id: L,
354
354
  maximumOccupants: H
355
355
  }) => (E(), C("div", {
356
356
  key: L,
357
357
  class: "booking-availability-listing-action-selective-i"
358
358
  }, [
359
- T.id === L ? (E(!0), C(A, { key: 0 }, z(T.config, (D, R) => (E(), C("div", {
360
- key: R,
359
+ T.id === L ? (E(!0), C(B, { key: 0 }, z(T.config, (D, A) => (E(), C("div", {
360
+ key: A,
361
361
  class: "booking-availability-listing-action-selective"
362
362
  }, [
363
- v("ul", sn, [
364
- I(on, {
363
+ v("ul", rn, [
364
+ I(tn, {
365
365
  modelValue: D.id,
366
366
  "onUpdate:modelValue": (W) => D.id = W,
367
367
  icon: "male",
368
368
  "icon-type": "fas",
369
- label: a(e)("general.guests"),
370
- description: `${a(e)("general.maximumGuests")}: ${H}`,
369
+ label: l(e)("general.guests"),
370
+ description: `${l(e)("general.maximumGuests")}: ${H}`,
371
371
  options: k(L),
372
372
  readonly: !(k(L).length > 1)
373
373
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
374
374
  ]),
375
- v("ul", an, [
375
+ v("ul", sn, [
376
376
  I(It, {
377
377
  modelValue: D.units,
378
378
  "onUpdate:modelValue": (W) => D.units = W,
379
- description: a(p) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${s(T.id, D.id)}`,
379
+ description: l(c) ? void 0 : `${l(e)("booking.availability.availableUnits")}: ${s(T.id, D.id)}`,
380
380
  icon: "house",
381
381
  "icon-type": "fas",
382
382
  "icon-placement": "label",
383
- label: a(e)("booking.availability.units"),
383
+ label: l(e)("booking.availability.units"),
384
384
  minValue: 0,
385
385
  "max-value": s(L, D.id) || 1 / 0
386
386
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
@@ -395,7 +395,7 @@ const ln = /* @__PURE__ */ j({
395
395
  _: 1
396
396
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
397
397
  }
398
- }), un = /* @__PURE__ */ X(ln, [["__scopeId", "data-v-9ea89f13"]]), dn = { class: "konnectio-template-side-panel" }, cn = { class: "konnectio-template-side-panel-listings" }, pn = /* @__PURE__ */ j({
398
+ }), ln = /* @__PURE__ */ X(an, [["__scopeId", "data-v-9ea89f13"]]), un = { class: "konnectio-template-side-panel" }, dn = { class: "konnectio-template-side-panel-listings" }, cn = /* @__PURE__ */ j({
399
399
  __name: "Template",
400
400
  props: {
401
401
  title: {},
@@ -404,25 +404,25 @@ const ln = /* @__PURE__ */ j({
404
404
  callback: { type: Function }
405
405
  },
406
406
  setup(o) {
407
- const { t: e } = re(), { templateID: t, roomGroupID: n } = K(se()), { currency: l } = K(ge()), { clearRoomSelection: u } = se(), p = o;
407
+ const { t: e } = re(), { templateID: t, roomGroupID: n } = K(se()), { currency: a } = K(me()), { clearRoomSelection: u } = se(), c = o;
408
408
  function h(d) {
409
- t.value = p.templateId, n.value = d, u(), p.callback(2);
409
+ t.value = c.templateId, n.value = d, u(), c.callback(2);
410
410
  }
411
- return (d, c) => (E(), B(Oo, {
411
+ return (d, p) => (E(), R(Ho, {
412
412
  title: d.title,
413
- subtitle: a(e)("booking.availability.selectATemplateRoom")
413
+ subtitle: l(e)("booking.availability.selectATemplateRoom")
414
414
  }, {
415
415
  default: w(() => [
416
- v("div", dn, [
417
- v("div", cn, [
418
- (E(!0), C(A, null, z(d.roomGroups, ({
416
+ v("div", un, [
417
+ v("div", dn, [
418
+ (E(!0), C(B, null, z(d.roomGroups, ({
419
419
  id: m,
420
420
  title: y,
421
421
  description: b,
422
422
  images: s,
423
423
  facilities: k,
424
424
  extraPrice: _
425
- }) => (E(), B(Ke, {
425
+ }) => (E(), R(Ke, {
426
426
  key: m,
427
427
  "listing-id": m,
428
428
  name: y,
@@ -434,9 +434,9 @@ const ln = /* @__PURE__ */ j({
434
434
  }, {
435
435
  action: w(() => [
436
436
  v("div", null, [
437
- I(ce, {
437
+ I(de, {
438
438
  onClickEvent: (f) => h(m),
439
- label: `${a(e)("booking.availability.selectThisRoom")} (${a(ie)(_, a(l))})`,
439
+ label: `${l(e)("booking.availability.selectThisRoom")} (${l(ie)(_, l(a))})`,
440
440
  "full-width": ""
441
441
  }, null, 8, ["onClickEvent", "label"])
442
442
  ])
@@ -449,7 +449,7 @@ const ln = /* @__PURE__ */ j({
449
449
  _: 1
450
450
  }, 8, ["title", "subtitle"]));
451
451
  }
452
- }), hn = /* @__PURE__ */ X(pn, [["__scopeId", "data-v-4c035ea3"]]), fn = ["innerHTML"], mn = /* @__PURE__ */ j({
452
+ }), pn = /* @__PURE__ */ X(cn, [["__scopeId", "data-v-4c035ea3"]]), hn = ["innerHTML"], fn = /* @__PURE__ */ j({
453
453
  __name: "Template",
454
454
  props: {
455
455
  id: {},
@@ -462,26 +462,26 @@ const ln = /* @__PURE__ */ j({
462
462
  },
463
463
  setup(o) {
464
464
  const { t: e } = re(), t = o, n = q(() => t.roomGroups.reduce(
465
- (d, c) => d < c.extraPrice ? d : c.extraPrice,
465
+ (d, p) => d < p.extraPrice ? d : p.extraPrice,
466
466
  1 / 0
467
- )), l = q(() => [{
467
+ )), a = q(() => [{
468
468
  large: t.image.url,
469
469
  medium: t.image.url,
470
470
  thumb: t.image.url,
471
471
  url: t.image.url
472
- }]), u = fe(!1);
473
- function p() {
472
+ }]), u = he(!1);
473
+ function c() {
474
474
  u.value = !0;
475
475
  }
476
476
  function h(d) {
477
477
  t.callback(d), u.value = !1;
478
478
  }
479
- return (d, c) => (E(), B(Ke, {
479
+ return (d, p) => (E(), R(Ke, {
480
480
  "listing-id": d.id,
481
481
  name: d.name,
482
482
  description: d.description,
483
- gallery: l.value,
484
- layout: a(To).Template,
483
+ gallery: a.value,
484
+ layout: l(Eo).Template,
485
485
  "includes-breakfast": !1,
486
486
  "hide-info-button": !1,
487
487
  "prices-from": n.value
@@ -489,22 +489,22 @@ const ln = /* @__PURE__ */ j({
489
489
  description: w(() => [
490
490
  d.description ? (E(), C("p", {
491
491
  key: 0,
492
- innerHTML: a(Eo)(d.description)
493
- }, null, 8, fn)) : x("", !0)
492
+ innerHTML: l(_o)(d.description)
493
+ }, null, 8, hn)) : x("", !0)
494
494
  ]),
495
495
  action: w(() => [
496
496
  v("div", null, [
497
- I(ce, {
498
- onClickEvent: p,
499
- label: a(e)("booking.availability.selectPackage"),
497
+ I(de, {
498
+ onClickEvent: c,
499
+ label: l(e)("booking.availability.selectPackage"),
500
500
  "full-width": ""
501
501
  }, null, 8, ["label"])
502
502
  ])
503
503
  ]),
504
504
  default: w(() => [
505
- I(hn, {
505
+ I(pn, {
506
506
  modelValue: u.value,
507
- "onUpdate:modelValue": c[0] || (c[0] = (m) => u.value = m),
507
+ "onUpdate:modelValue": p[0] || (p[0] = (m) => u.value = m),
508
508
  title: d.name,
509
509
  "template-id": d.id,
510
510
  roomGroups: d.roomGroups,
@@ -514,7 +514,7 @@ const ln = /* @__PURE__ */ j({
514
514
  _: 1
515
515
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
516
516
  }
517
- }), gn = /* @__PURE__ */ X(mn, [["__scopeId", "data-v-edc2f058"]]), at = /* @__PURE__ */ j({
517
+ }), mn = /* @__PURE__ */ X(fn, [["__scopeId", "data-v-edc2f058"]]), at = /* @__PURE__ */ j({
518
518
  __name: "TimeField",
519
519
  props: {
520
520
  modelValue: {},
@@ -540,28 +540,28 @@ const ln = /* @__PURE__ */ j({
540
540
  emits: ["update:modelValue"],
541
541
  setup(o, { emit: e }) {
542
542
  const t = e, n = o;
543
- function l(p) {
544
- t("update:modelValue", p);
543
+ function a(c) {
544
+ t("update:modelValue", c);
545
545
  }
546
- const u = fe(n.modelValue);
547
- return Ee(u, (p) => {
548
- l(p);
549
- }), (p, h) => (E(), B(Fo, {
546
+ const u = he(n.modelValue);
547
+ return Ee(u, (c) => {
548
+ a(c);
549
+ }), (c, h) => (E(), R(Wo, {
550
550
  modelValue: u.value,
551
551
  "onUpdate:modelValue": h[0] || (h[0] = (d) => u.value = d),
552
552
  type: "time",
553
- label: p.label,
554
- id: p.id,
555
- name: p.name,
556
- icon: p.icon,
557
- "icon-type": p.iconType,
558
- "icon-color": p.iconColor,
553
+ label: c.label,
554
+ id: c.id,
555
+ name: c.name,
556
+ icon: c.icon,
557
+ "icon-type": c.iconType,
558
+ "icon-color": c.iconColor,
559
559
  "auto-apply": !0,
560
- required: p.required,
561
- readonly: p.readonly
560
+ required: c.required,
561
+ readonly: c.readonly
562
562
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
563
563
  }
564
- }), vn = { style: { display: "flex", "align-items": "baseline" } }, yn = /* @__PURE__ */ j({
564
+ }), gn = { style: { display: "flex", "align-items": "baseline" } }, vn = /* @__PURE__ */ j({
565
565
  __name: "CountryField",
566
566
  props: {
567
567
  modelValue: {},
@@ -573,42 +573,42 @@ const ln = /* @__PURE__ */ j({
573
573
  },
574
574
  emits: ["update:modelValue"],
575
575
  setup(o, { emit: e }) {
576
- const { t } = re(), n = e, l = o;
576
+ const { t } = re(), n = e, a = o;
577
577
  function u(h) {
578
578
  n("update:modelValue", h);
579
579
  }
580
- const p = q({
581
- get: () => l.modelValue,
580
+ const c = q({
581
+ get: () => a.modelValue,
582
582
  set: (h) => u(h)
583
583
  });
584
- return (h, d) => (E(), B(Ce, {
585
- modelValue: p.value,
586
- "onUpdate:modelValue": d[0] || (d[0] = (c) => p.value = c),
584
+ return (h, d) => (E(), R(Ce, {
585
+ modelValue: c.value,
586
+ "onUpdate:modelValue": d[0] || (d[0] = (p) => c.value = p),
587
587
  label: h.label,
588
- placeholder: a(t)("booking.reservation.countryPlaceholder"),
588
+ placeholder: l(t)("booking.reservation.countryPlaceholder"),
589
589
  labelKey: "name",
590
590
  valueKey: "id",
591
591
  options: h.options,
592
592
  required: h.required
593
593
  }, {
594
- option: w(({ data: c }) => [
594
+ option: w(({ data: p }) => [
595
595
  v("i", {
596
- class: Te(["konnectio-flag-icon", c.iso])
596
+ class: Te(["konnectio-flag-icon", p.iso])
597
597
  }, null, 2),
598
- v("span", null, V(c.name), 1)
598
+ v("span", null, V(p.name), 1)
599
599
  ]),
600
- "selected-option": w(({ data: c }) => [
601
- v("div", vn, [
600
+ "selected-option": w(({ data: p }) => [
601
+ v("div", gn, [
602
602
  v("i", {
603
- class: Te(["konnectio-flag-icon", c.iso])
603
+ class: Te(["konnectio-flag-icon", p.iso])
604
604
  }, null, 2),
605
- v("span", null, V(c.name), 1)
605
+ v("span", null, V(p.name), 1)
606
606
  ])
607
607
  ]),
608
608
  _: 1
609
609
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
610
610
  }
611
- }), bn = /* @__PURE__ */ X(yn, [["__scopeId", "data-v-1462612d"]]), kn = { class: "konnectio-radio-checkboxes" }, _n = /* @__PURE__ */ j({
611
+ }), yn = /* @__PURE__ */ X(vn, [["__scopeId", "data-v-1462612d"]]), bn = { class: "konnectio-radio-checkboxes" }, kn = /* @__PURE__ */ j({
612
612
  __name: "CheckboxField",
613
613
  props: {
614
614
  modelValue: {},
@@ -619,27 +619,27 @@ const ln = /* @__PURE__ */ j({
619
619
  emits: ["update:modelValue"],
620
620
  setup(o, { emit: e }) {
621
621
  const t = e, n = o;
622
- function l(p) {
623
- t("update:modelValue", p);
622
+ function a(c) {
623
+ t("update:modelValue", c);
624
624
  }
625
625
  const u = q({
626
626
  get: () => n.modelValue,
627
- set: (p) => l(p)
627
+ set: (c) => a(c)
628
628
  });
629
- return (p, h) => (E(), B(Ct, {
630
- label: p.label,
629
+ return (c, h) => (E(), R(Ct, {
630
+ label: c.label,
631
631
  type: "multi-radio"
632
632
  }, {
633
633
  default: w(() => [
634
- v("ul", kn, [
635
- (E(!0), C(A, null, z(p.checkboxes, ({ label: d, value: c }, m) => (E(), C("li", { key: m }, [
634
+ v("ul", bn, [
635
+ (E(!0), C(B, null, z(c.checkboxes, ({ label: d, value: p }, m) => (E(), C("li", { key: m }, [
636
636
  I(Ue, {
637
637
  modelValue: u.value,
638
638
  "onUpdate:modelValue": h[0] || (h[0] = (y) => u.value = y),
639
639
  label: d,
640
- name: p.name,
640
+ name: c.name,
641
641
  type: "radio",
642
- val: c
642
+ val: p
643
643
  }, null, 8, ["modelValue", "label", "name", "val"])
644
644
  ]))), 128))
645
645
  ])
@@ -647,7 +647,7 @@ const ln = /* @__PURE__ */ j({
647
647
  _: 1
648
648
  }, 8, ["label"]));
649
649
  }
650
- }), En = /* @__PURE__ */ X(_n, [["__scopeId", "data-v-d8d42a8a"]]), Tn = /* @__PURE__ */ j({
650
+ }), _n = /* @__PURE__ */ X(kn, [["__scopeId", "data-v-d8d42a8a"]]), En = /* @__PURE__ */ j({
651
651
  __name: "NameField",
652
652
  props: {
653
653
  modelValue: {},
@@ -669,64 +669,64 @@ const ln = /* @__PURE__ */ j({
669
669
  },
670
670
  emits: ["update:modelValue", "update:title"],
671
671
  setup(o, { emit: e }) {
672
- const t = o, n = e, l = t.id || rt(), u = fe(""), p = fe(2);
672
+ const t = o, n = e, a = t.id || rt(), u = he(""), c = he(2);
673
673
  function h() {
674
674
  n("update:modelValue", u.value);
675
675
  }
676
- Ee(p, (c) => {
677
- n("update:title", c);
676
+ Ee(c, (p) => {
677
+ n("update:title", p);
678
678
  });
679
679
  const { t: d } = re();
680
680
  return Ye(() => {
681
- t.modelValue && (u.value = t.modelValue), t.title && (p.value = t.title);
682
- }), (c, m) => (E(), B(Ct, {
683
- label: c.label,
684
- id: a(l),
685
- required: c.required,
681
+ t.modelValue && (u.value = t.modelValue), t.title && (c.value = t.title);
682
+ }), (p, m) => (E(), R(Ct, {
683
+ label: p.label,
684
+ id: l(a),
685
+ required: p.required,
686
686
  type: "fresh-booking-name-field",
687
- readonly: c.readonly,
688
- limit: c.limit
687
+ readonly: p.readonly,
688
+ limit: p.limit
689
689
  }, {
690
690
  default: w(() => [
691
691
  v("div", {
692
692
  class: Te([
693
693
  "fresh-booking-name-input",
694
- { "no-title": c.excludeTitle }
694
+ { "no-title": p.excludeTitle }
695
695
  ])
696
696
  }, [
697
- c.excludeTitle ? x("", !0) : (E(), B(Ce, {
697
+ p.excludeTitle ? x("", !0) : (E(), R(Ce, {
698
698
  key: 0,
699
- modelValue: p.value,
700
- "onUpdate:modelValue": m[0] || (m[0] = (y) => p.value = y),
701
- id: a(rt)(),
702
- icon: c.icon,
703
- "icon-color": c.iconColor,
704
- "icon-type": c.iconType,
699
+ modelValue: c.value,
700
+ "onUpdate:modelValue": m[0] || (m[0] = (y) => c.value = y),
701
+ id: l(rt)(),
702
+ icon: p.icon,
703
+ "icon-color": p.iconColor,
704
+ "icon-type": p.iconType,
705
705
  options: [
706
706
  {
707
- label: a(d)("booking.reservation.noNameTitle"),
707
+ label: l(d)("booking.reservation.noNameTitle"),
708
708
  value: 1
709
709
  },
710
710
  {
711
- label: a(d)("booking.reservation.nameTitleMr"),
711
+ label: l(d)("booking.reservation.nameTitleMr"),
712
712
  value: 2
713
713
  },
714
714
  {
715
- label: a(d)("booking.reservation.nameTitleMs"),
715
+ label: l(d)("booking.reservation.nameTitleMs"),
716
716
  value: 3
717
717
  },
718
718
  {
719
- label: a(d)("booking.reservation.nameTitleMrs"),
719
+ label: l(d)("booking.reservation.nameTitleMrs"),
720
720
  value: 4
721
721
  },
722
722
  {
723
- label: a(d)("booking.reservation.nameTitleDr"),
723
+ label: l(d)("booking.reservation.nameTitleDr"),
724
724
  value: 5
725
725
  }
726
726
  ],
727
- readonly: c.readonly,
727
+ readonly: p.readonly,
728
728
  "hide-button": "",
729
- "input-style": c.inputStyle,
729
+ "input-style": p.inputStyle,
730
730
  searchable: !1
731
731
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
732
732
  I(oe, {
@@ -735,42 +735,42 @@ const ln = /* @__PURE__ */ j({
735
735
  type: "text",
736
736
  name: "name",
737
737
  autocomplete: "name",
738
- id: a(l),
739
- icon: c.excludeTitle ? c.icon : void 0,
740
- "icon-color": c.iconColor,
741
- "icon-type": c.iconType,
742
- placeholder: c.placeholder,
743
- required: c.required,
744
- readonly: c.readonly,
745
- limit: c.limit,
738
+ id: l(a),
739
+ icon: p.excludeTitle ? p.icon : void 0,
740
+ "icon-color": p.iconColor,
741
+ "icon-type": p.iconType,
742
+ placeholder: p.placeholder,
743
+ required: p.required,
744
+ readonly: p.readonly,
745
+ limit: p.limit,
746
746
  onInput: m[2] || (m[2] = (y) => h()),
747
- "input-style": c.inputStyle
747
+ "input-style": p.inputStyle
748
748
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
749
749
  ], 2)
750
750
  ]),
751
751
  _: 1
752
752
  }, 8, ["label", "id", "required", "readonly", "limit"]));
753
753
  }
754
- }), In = /* @__PURE__ */ X(Tn, [["__scopeId", "data-v-78b0b319"]]), Cn = { class: "hotel-listing" }, $n = { class: "hotel-listing-content-gallery" }, Sn = { class: "hotel-listing-content-thumbs" }, Vn = { class: "hotel-listing-content" }, Ln = { class: "hotel-listing-content-header" }, Pn = { class: "hotel-listing-content-title" }, xn = { class: "hotel-listing-content-body" }, wn = { class: "hotel-listing-content-facilities" }, Hn = /* @__PURE__ */ j({
754
+ }), Tn = /* @__PURE__ */ X(En, [["__scopeId", "data-v-78b0b319"]]), In = { class: "hotel-listing" }, Cn = { class: "hotel-listing-content-gallery" }, $n = { class: "hotel-listing-content-thumbs" }, Sn = { class: "hotel-listing-content" }, Vn = { class: "hotel-listing-content-header" }, Ln = { class: "hotel-listing-content-title" }, Pn = { class: "hotel-listing-content-body" }, xn = { class: "hotel-listing-content-facilities" }, wn = /* @__PURE__ */ j({
755
755
  __name: "Listing",
756
756
  setup(o) {
757
- return (e, t) => (E(), C("div", Cn, [
758
- v("div", $n, [
757
+ return (e, t) => (E(), C("div", In, [
758
+ v("div", Cn, [
759
759
  I(Y, {
760
760
  width: "280px",
761
761
  height: "153px"
762
762
  }),
763
- v("div", Sn, [
764
- (E(), C(A, null, z(3, (n) => I(Y, {
763
+ v("div", $n, [
764
+ (E(), C(B, null, z(3, (n) => I(Y, {
765
765
  key: n,
766
766
  width: "84px",
767
767
  height: "44px"
768
768
  })), 64))
769
769
  ])
770
770
  ]),
771
- v("div", Vn, [
772
- v("div", Ln, [
773
- v("div", Pn, [
771
+ v("div", Sn, [
772
+ v("div", Vn, [
773
+ v("div", Ln, [
774
774
  I(Y, {
775
775
  height: "30px",
776
776
  width: "60%"
@@ -786,7 +786,7 @@ const ln = /* @__PURE__ */ j({
786
786
  width: "25%"
787
787
  })
788
788
  ]),
789
- v("div", xn, [
789
+ v("div", Pn, [
790
790
  I(Y, { height: "15px" }),
791
791
  I(Y, { height: "15px" }),
792
792
  I(Y, { height: "15px" }),
@@ -796,8 +796,8 @@ const ln = /* @__PURE__ */ j({
796
796
  width: "90%"
797
797
  })
798
798
  ]),
799
- v("div", wn, [
800
- (E(), C(A, null, z(5, (n) => I(Y, {
799
+ v("div", xn, [
800
+ (E(), C(B, null, z(5, (n) => I(Y, {
801
801
  key: n,
802
802
  height: "25px",
803
803
  width: "25px",
@@ -807,55 +807,55 @@ const ln = /* @__PURE__ */ j({
807
807
  ])
808
808
  ]));
809
809
  }
810
- }), he = /* @__PURE__ */ X(Hn, [["__scopeId", "data-v-c7574b59"]]), On = { class: "hotel-skeleton" }, Dn = { class: "hotel-skeleton-content" }, Rn = { class: "hotel-skeleton-sidebar" }, Mn = /* @__PURE__ */ j({
810
+ }), pe = /* @__PURE__ */ X(wn, [["__scopeId", "data-v-c7574b59"]]), Hn = { class: "hotel-skeleton" }, On = { class: "hotel-skeleton-content" }, Dn = { class: "hotel-skeleton-sidebar" }, An = /* @__PURE__ */ j({
811
811
  __name: "HotelSkeleton",
812
812
  setup(o) {
813
- return (e, t) => (E(), C("div", On, [
814
- v("div", Dn, [
815
- I(zo, { hotel: "" }),
816
- I(he),
817
- I(he),
818
- I(he)
813
+ return (e, t) => (E(), C("div", Hn, [
814
+ v("div", On, [
815
+ I(Bo, { hotel: "" }),
816
+ I(pe),
817
+ I(pe),
818
+ I(pe)
819
819
  ]),
820
- v("div", Rn, [
821
- I(Do)
820
+ v("div", Dn, [
821
+ I(Oo)
822
822
  ])
823
823
  ]));
824
824
  }
825
- }), Bn = /* @__PURE__ */ X(Mn, [["__scopeId", "data-v-49e83cbb"]]), An = (o) => (_t("data-v-fd9b6d4f"), o = o(), Et(), o), zn = { id: "booking-availability-container" }, Wn = { id: "booking-availability-controls" };
826
- const Fn = { key: 1 }, Nn = { key: 0 }, qn = {
825
+ }), Mn = /* @__PURE__ */ X(An, [["__scopeId", "data-v-49e83cbb"]]), Rn = (o) => (_t("data-v-fd9b6d4f"), o = o(), Et(), o), Bn = { id: "booking-availability-container" }, zn = { id: "booking-availability-controls" };
826
+ const Wn = { key: 1 }, Nn = { key: 0 }, Fn = {
827
827
  key: 0,
828
828
  id: "booking-availability-packages"
829
- }, Un = {
829
+ }, qn = {
830
830
  key: 0,
831
831
  class: "konnectio-hotel-availability-title"
832
- }, Gn = { id: "booking-availability-packages-wrapper" }, jn = { key: 1 }, Yn = {
832
+ }, Un = { id: "booking-availability-packages-wrapper" }, Gn = { key: 1 }, jn = {
833
833
  key: 0,
834
834
  class: "konnectio-hotel-availability-title"
835
- }, Kn = { id: "booking-availability-listings" }, Qn = {
835
+ }, Yn = { id: "booking-availability-listings" }, Kn = {
836
836
  key: 2,
837
837
  id: "booking-availability-no-listings",
838
838
  class: "fresh-booking-panel"
839
- }, Jn = {
839
+ }, Qn = {
840
840
  key: 1,
841
841
  id: "booking-availability-no-listings"
842
- }, Xn = {
842
+ }, Jn = {
843
843
  key: 2,
844
844
  id: "reservation-availability-next-dates"
845
- }, Zn = { class: "konnectio-hotel-availability-title" }, ei = { class: "reservation-special-offers-grid" }, ti = ["title"];
846
- const oi = {
845
+ }, Xn = { class: "konnectio-hotel-availability-title" }, Zn = { class: "reservation-special-offers-grid" }, ei = ["title"];
846
+ const ti = {
847
847
  key: 2,
848
848
  class: "konnectio-listing-loading"
849
- }, ni = { class: "fresh-booking-panel" }, ii = {
849
+ }, oi = { class: "fresh-booking-panel" }, ni = {
850
850
  key: 0,
851
851
  id: "konnectio-hotel-addons"
852
852
  };
853
- const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai = /* @__PURE__ */ An(() => /* @__PURE__ */ v("br", null, null, -1)), li = ["onClick"], ui = { class: "fresh-booking-panel" }, di = { key: 0 }, ci = { key: 1 }, pi = { class: "fresh-booking-split-inputs" }, hi = ["onClick"], fi = /* @__PURE__ */ j({
853
+ const ii = { class: "fresh-booking-event-addons-price" }, ri = { key: 1 }, si = /* @__PURE__ */ Rn(() => /* @__PURE__ */ v("br", null, null, -1)), ai = ["onClick"], li = { class: "fresh-booking-panel" }, ui = { key: 0 }, di = { key: 1 }, ci = { class: "fresh-booking-split-inputs" }, pi = ["onClick"], hi = /* @__PURE__ */ j({
854
854
  name: "HotelLayout",
855
855
  __name: "Hotel",
856
856
  props: {
857
857
  accessToken: {},
858
- headerLayout: { default: Io.Minimal },
858
+ headerLayout: { default: To.Minimal },
859
859
  onlyShow: { default: "everything" },
860
860
  styling: {}
861
861
  },
@@ -863,12 +863,12 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
863
863
  const { t: e } = re(), {
864
864
  templateID: t,
865
865
  countries: n,
866
- areListingsLoading: l,
866
+ areListingsLoading: a,
867
867
  isPaymentLoading: u,
868
- isReservationFormFilled: p,
868
+ isReservationFormFilled: c,
869
869
  travelingFor: h,
870
870
  arrivalTime: d,
871
- departureTime: c,
871
+ departureTime: p,
872
872
  name: m,
873
873
  nameTitle: y,
874
874
  email: b,
@@ -884,35 +884,35 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
884
884
  roomSelect: L,
885
885
  roomDisplay: H,
886
886
  hasValidRoomSelection: D,
887
- availabilityData: R,
887
+ availabilityData: A,
888
888
  selectionHasNoAddons: W
889
889
  } = K(se()), {
890
890
  arrivalDate: Z,
891
- departureDate: le
891
+ departureDate: ae
892
892
  } = K(kt()), {
893
893
  currency: U,
894
894
  disableNewsletterSignup: $e,
895
895
  arrivalEarliest: Ze,
896
- arrivalLatest: Bt,
897
- departureEarliest: At,
898
- departureLatest: zt,
899
- enableTracking: Wt,
900
- arrivalDefault: Ft,
896
+ arrivalLatest: Mt,
897
+ departureEarliest: Rt,
898
+ departureLatest: Bt,
899
+ enableTracking: zt,
900
+ arrivalDefault: Wt,
901
901
  departureDefault: Nt,
902
- hideArrivalDepartureInputs: qt,
902
+ hideArrivalDepartureInputs: Ft,
903
903
  disableArrivalUserSelection: Se,
904
- disableNamePrefix: Ut,
904
+ disableNamePrefix: qt,
905
905
  disableDepartureUserSelection: Ve,
906
- disableTravelingFor: Gt,
907
- disableTravelingForBleasure: jt,
908
- disableCompanyField: Yt,
909
- hasPaymentGateway: Kt
910
- } = K(ge()), { beginCheckout: Qt } = Tt(), {
911
- initialize: Jt,
912
- resetTemplate: Xt,
913
- resetDiscountVoucher: Zt,
914
- createReservation: eo
915
- } = se(), to = fe(!0), oo = q(() => {
906
+ disableTravelingFor: Ut,
907
+ disableTravelingForBleasure: Gt,
908
+ disableCompanyField: jt,
909
+ hasPaymentGateway: Yt
910
+ } = K(me()), { beginCheckout: Kt } = Tt(), {
911
+ initialize: Qt,
912
+ resetTemplate: Jt,
913
+ resetDiscountVoucher: Xt,
914
+ createReservation: Zt
915
+ } = se(), eo = he(!0), to = q(() => {
916
916
  const O = [
917
917
  {
918
918
  label: e("booking.reservation.business"),
@@ -923,12 +923,12 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
923
923
  value: "Pleasure"
924
924
  }
925
925
  ];
926
- return jt.value || O.push({
926
+ return Gt.value || O.push({
927
927
  label: e("booking.reservation.bleasure"),
928
928
  value: "Bleasure"
929
929
  }), O;
930
- }), no = q(() => {
931
- const O = R.value.roomGroups.slice();
930
+ }), oo = q(() => {
931
+ const O = A.value.roomGroups.slice();
932
932
  O.forEach((G) => {
933
933
  G.pricesFrom = G.rates.reduce(
934
934
  (M, S) => M < S.rackRate ? M : S.rackRate,
@@ -936,129 +936,129 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
936
936
  );
937
937
  });
938
938
  function P(G, M) {
939
- return to.value === !0 ? G.pricesFrom > M.pricesFrom ? -1 : 1 : G.pricesFrom > M.pricesFrom ? 1 : -1;
939
+ return eo.value === !0 ? G.pricesFrom > M.pricesFrom ? -1 : 1 : G.pricesFrom > M.pricesFrom ? 1 : -1;
940
940
  }
941
941
  return O.sort(P);
942
- }), io = q(() => [[
942
+ }), no = q(() => [[
943
943
  parseInt(Ze.value.split(":")[0]),
944
+ parseInt(Mt.value.split(":")[0])
945
+ ]]), io = q(() => [[
946
+ parseInt(Rt.value.split(":")[0]),
944
947
  parseInt(Bt.value.split(":")[0])
945
- ]]), ro = q(() => [[
946
- parseInt(At.value.split(":")[0]),
947
- parseInt(zt.value.split(":")[0])
948
948
  ]]);
949
949
  function et(O) {
950
- W.value ? O(2) : O(), Zt();
950
+ W.value ? O(2) : O(), Xt();
951
951
  }
952
- function so(O, P) {
953
- le.value = new Date(P), Z.value = new Date(O), location.reload();
952
+ function ro(O, P) {
953
+ ae.value = new Date(P), Z.value = new Date(O), location.reload();
954
954
  }
955
- function ao(O) {
955
+ function so(O) {
956
956
  return Q(this, null, function* () {
957
- yield eo(O);
957
+ yield Zt(O);
958
958
  });
959
959
  }
960
- function lo(O) {
961
- Wt.value && Qt(), W.value ? O(2) : O();
960
+ function ao(O) {
961
+ zt.value && Kt(), W.value ? O(2) : O();
962
962
  }
963
- function uo() {
964
- d.value === "" && (d.value = Ft.value), c.value === "" && (c.value = Nt.value);
963
+ function lo() {
964
+ d.value === "" && (d.value = Wt.value), p.value === "" && (p.value = Nt.value);
965
965
  }
966
966
  return Ye(() => {
967
- Jt(), uo();
968
- }), (O, P) => (E(), B(Ao, { styling: O.styling }, {
967
+ Qt(), lo();
968
+ }), (O, P) => (E(), R(Ro, { styling: O.styling }, {
969
969
  default: w(() => [
970
- (E(), B(Co, null, {
970
+ (E(), R(Io, null, {
971
971
  default: w(() => [
972
- I(So, {
972
+ I($o, {
973
973
  id: "fresh-booking-hotel-module",
974
974
  "access-token": O.accessToken,
975
975
  type: "hotel"
976
976
  }, {
977
977
  default: w(() => [
978
- I(Ro, {
978
+ I(Do, {
979
979
  layout: O.headerLayout,
980
- onReset: a(Xt)
980
+ onReset: l(Jt)
981
981
  }, {
982
982
  availability: w(({ next: G }) => [
983
983
  I(He, null, {
984
984
  form: w(() => [
985
- v("div", zn, [
986
- v("div", Wn, [
987
- I(Wo, { booking: !0 })
985
+ v("div", Bn, [
986
+ v("div", zn, [
987
+ I(zo, { booking: !0 })
988
988
  ]),
989
989
  x("", !0),
990
- a(l) ? (E(), C("div", oi, [
991
- I(he),
992
- I(he),
993
- I(he)
994
- ])) : (E(), C("div", Fn, [
995
- a(R).roomGroups.length > 0 || a(R).templates.length > 0 ? (E(), C("div", Nn, [
996
- a(R).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), C("div", qn, [
997
- O.onlyShow !== "packages" ? (E(), C("h2", Un, [
990
+ l(a) ? (E(), C("div", ti, [
991
+ I(pe),
992
+ I(pe),
993
+ I(pe)
994
+ ])) : (E(), C("div", Wn, [
995
+ l(A).roomGroups.length > 0 || l(A).templates.length > 0 ? (E(), C("div", Nn, [
996
+ l(A).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), C("div", Fn, [
997
+ O.onlyShow !== "packages" ? (E(), C("h2", qn, [
998
998
  I(J, {
999
999
  icon: "box",
1000
1000
  type: "fal",
1001
1001
  color: "header"
1002
1002
  }),
1003
- v("span", null, V(a(e)("booking.availability.packagesTitle")), 1)
1003
+ v("span", null, V(l(e)("booking.availability.packagesTitle")), 1)
1004
1004
  ])) : x("", !0),
1005
- v("ul", Gn, [
1006
- (E(!0), C(A, null, z(a(R).templates, ({
1005
+ v("ul", Un, [
1006
+ (E(!0), C(B, null, z(l(A).templates, ({
1007
1007
  id: M,
1008
1008
  name: S,
1009
- templateRoomGroups: ue,
1010
- image: de,
1011
- description: N,
1009
+ templateRoomGroups: le,
1010
+ image: ue,
1011
+ description: F,
1012
1012
  weekendFee: Le
1013
- }) => (E(), B(gn, {
1013
+ }) => (E(), R(mn, {
1014
1014
  key: M,
1015
1015
  id: M,
1016
- description: N,
1016
+ description: F,
1017
1017
  name: S,
1018
- image: de,
1018
+ image: ue,
1019
1019
  weekendFee: Le,
1020
- "room-groups": ue,
1020
+ "room-groups": le,
1021
1021
  callback: G
1022
1022
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
1023
1023
  ])
1024
1024
  ])) : x("", !0),
1025
- a(R).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), C("div", jn, [
1026
- a(R).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), C("h2", Yn, [
1025
+ l(A).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), C("div", Gn, [
1026
+ l(A).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), C("h2", jn, [
1027
1027
  I(J, {
1028
1028
  icon: "house",
1029
1029
  type: "fal",
1030
1030
  color: "header"
1031
1031
  }),
1032
- v("span", null, V(a(e)("booking.availability.roomsTitle")), 1)
1032
+ v("span", null, V(l(e)("booking.availability.roomsTitle")), 1)
1033
1033
  ])) : x("", !0),
1034
- v("ul", Kn, [
1035
- (E(!0), C(A, null, z(no.value, (M, S) => (E(), B(un, {
1034
+ v("ul", Yn, [
1035
+ (E(!0), C(B, null, z(oo.value, (M, S) => (E(), R(ln, {
1036
1036
  room: M,
1037
1037
  key: S
1038
1038
  }, null, 8, ["room"]))), 128))
1039
1039
  ])
1040
1040
  ])) : x("", !0),
1041
- (a(R).templates.length === 0 && O.onlyShow !== "rooms" || a(R).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), C("div", Qn, [
1042
- v("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
1041
+ (l(A).templates.length === 0 && O.onlyShow !== "rooms" || l(A).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), C("div", Kn, [
1042
+ v("span", null, V(l(e)("booking.availability.nothingAvailable")), 1)
1043
1043
  ])) : x("", !0)
1044
- ])) : a(R).nextAvailableDates.length === 0 ? (E(), C("div", Jn, [
1045
- v("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
1046
- ])) : (E(), C("div", Xn, [
1047
- v("h2", Zn, [
1044
+ ])) : l(A).nextAvailableDates.length === 0 ? (E(), C("div", Qn, [
1045
+ v("span", null, V(l(e)("booking.availability.nothingAvailable")), 1)
1046
+ ])) : (E(), C("div", Jn, [
1047
+ v("h2", Xn, [
1048
1048
  I(J, {
1049
1049
  icon: "calendar-circle-exclamation",
1050
1050
  type: "fal",
1051
1051
  color: "header"
1052
1052
  }),
1053
- v("span", null, V(a(e)("booking.availability.nextAvailableDates")), 1)
1053
+ v("span", null, V(l(e)("booking.availability.nextAvailableDates")), 1)
1054
1054
  ]),
1055
- v("ul", ei, [
1056
- (E(!0), C(A, null, z(a(R).nextAvailableDates, (M, S) => (E(), C("li", { key: S }, [
1055
+ v("ul", Zn, [
1056
+ (E(!0), C(B, null, z(l(A).nextAvailableDates, (M, S) => (E(), C("li", { key: S }, [
1057
1057
  v("h3", {
1058
- title: `${a(ne)(M.fromDate)} - ${a(ne)(M.toDate)}`
1058
+ title: `${l(ne)(M.fromDate)} - ${l(ne)(M.toDate)}`
1059
1059
  }, [
1060
- v("span", null, V(`${a(ne)(M.fromDate)} - ${a(ne)(M.toDate)}`), 1)
1061
- ], 8, ti),
1060
+ v("span", null, V(`${l(ne)(M.fromDate)} - ${l(ne)(M.toDate)}`), 1)
1061
+ ], 8, ei),
1062
1062
  v("ul", null, [
1063
1063
  x("", !0),
1064
1064
  v("li", null, [
@@ -1067,13 +1067,13 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
1067
1067
  type: "fal",
1068
1068
  color: "header"
1069
1069
  }),
1070
- v("span", null, V(a(e)("booking.availability.pricesFrom")) + ": " + V(a(ie)(M.priceStartFrom, a(U))), 1)
1070
+ v("span", null, V(l(e)("booking.availability.pricesFrom")) + ": " + V(l(ie)(M.priceStartFrom, l(U))), 1)
1071
1071
  ])
1072
1072
  ]),
1073
- I(ce, {
1074
- label: a(e)("booking.availability.selectDates"),
1073
+ I(de, {
1074
+ label: l(e)("booking.availability.selectDates"),
1075
1075
  "full-width": "",
1076
- onClickEvent: (ue) => so(M.fromDate, M.toDate)
1076
+ onClickEvent: (le) => ro(M.fromDate, M.toDate)
1077
1077
  }, null, 8, ["label", "onClickEvent"])
1078
1078
  ]))), 128))
1079
1079
  ])
@@ -1082,12 +1082,12 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
1082
1082
  ])
1083
1083
  ]),
1084
1084
  navigation: w(() => [
1085
- I(ce, {
1086
- label: a(W) ? a(e)("booking.availability.nextButton") : a(e)("general.chooseAddons"),
1087
- disabled: !a(D),
1085
+ I(de, {
1086
+ label: l(W) ? l(e)("booking.availability.nextButton") : l(e)("general.chooseAddons"),
1087
+ disabled: !l(D),
1088
1088
  "is-loading": !1,
1089
1089
  "full-width": "",
1090
- onClickEvent: (M) => lo(G)
1090
+ onClickEvent: (M) => ao(G)
1091
1091
  }, null, 8, ["label", "disabled", "onClickEvent"])
1092
1092
  ]),
1093
1093
  _: 2
@@ -1096,75 +1096,75 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
1096
1096
  addons: w(({ next: G, prev: M }) => [
1097
1097
  I(He, null, {
1098
1098
  form: w(() => [
1099
- v("form", ni, [
1099
+ v("form", oi, [
1100
1100
  v("h2", null, [
1101
- v("span", null, V(a(e)("booking.reservation.addons")), 1)
1101
+ v("span", null, V(l(e)("booking.reservation.addons")), 1)
1102
1102
  ]),
1103
1103
  v("div", null, [
1104
- isNaN(a(t)) ? (E(), C("div", ii, [
1105
- (E(!0), C(A, null, z(a(H), (S) => (E(), C("ul", {
1104
+ isNaN(l(t)) ? (E(), C("div", ni, [
1105
+ (E(!0), C(B, null, z(l(H), (S) => (E(), C("ul", {
1106
1106
  key: S.roomGroupID
1107
1107
  }, [
1108
- (E(!0), C(A, null, z(S.variants, (ue, de) => (E(), C("li", {
1109
- key: ue.ratePlanID
1108
+ (E(!0), C(B, null, z(S.variants, (le, ue) => (E(), C("li", {
1109
+ key: le.ratePlanID
1110
1110
  }, [
1111
1111
  v("h4", null, [
1112
- v("span", null, V(a(pe)(S.title)), 1)
1112
+ v("span", null, V(l(ce)(S.title)), 1)
1113
1113
  ]),
1114
- (E(!0), C(A, null, z(ue.rooms, (N, Le) => (E(), C("table", {
1114
+ (E(!0), C(B, null, z(le.rooms, (F, Le) => (E(), C("table", {
1115
1115
  key: Le,
1116
1116
  class: "fresh-booking-table"
1117
1117
  }, [
1118
1118
  v("thead", null, [
1119
1119
  v("tr", null, [
1120
1120
  v("th", null, [
1121
- v("span", null, V(a(pe)(ue.name)), 1)
1121
+ v("span", null, V(l(ce)(le.name)), 1)
1122
1122
  ]),
1123
1123
  x("", !0),
1124
- v("th", ri, [
1124
+ v("th", ii, [
1125
1125
  v("b", null, [
1126
1126
  I(J, {
1127
1127
  icon: "male",
1128
1128
  type: "fas",
1129
1129
  color: "font"
1130
1130
  }),
1131
- v("span", null, V(N.adultsCount), 1),
1132
- N.childrenCount > 0 ? (E(), B(J, {
1131
+ v("span", null, V(F.adultsCount), 1),
1132
+ F.childrenCount > 0 ? (E(), R(J, {
1133
1133
  key: 0,
1134
1134
  icon: "child",
1135
1135
  type: "fas",
1136
1136
  color: "font"
1137
1137
  })) : x("", !0),
1138
- N.childrenCount > 0 ? (E(), C("span", si, V(N.childrenCount), 1)) : x("", !0)
1138
+ F.childrenCount > 0 ? (E(), C("span", ri, V(F.childrenCount), 1)) : x("", !0)
1139
1139
  ])
1140
1140
  ])
1141
1141
  ])
1142
1142
  ]),
1143
1143
  v("tbody", null, [
1144
- (E(!0), C(A, null, z(S.addons, ({
1144
+ (E(!0), C(B, null, z(S.addons, ({
1145
1145
  quantityStrategy: Pe,
1146
- maximumNumber: co,
1147
- id: me,
1148
- name: po,
1149
- price: ho
1150
- }) => (E(), C("tr", { key: me }, [
1146
+ maximumNumber: uo,
1147
+ id: fe,
1148
+ name: co,
1149
+ price: po
1150
+ }) => (E(), C("tr", { key: fe }, [
1151
1151
  v("td", null, [
1152
- v("b", null, V(a(pe)(po)), 1),
1153
- ai,
1154
- v("span", null, V(a(ie)(ho, a(U))) + " " + V(a($o)(Pe)), 1)
1152
+ v("b", null, V(l(ce)(co)), 1),
1153
+ si,
1154
+ v("span", null, V(l(ie)(po, l(U))) + " " + V(l(Co)(Pe)), 1)
1155
1155
  ]),
1156
1156
  v("td", null, [
1157
- Pe === 1 || Pe === 12 ? (E(), B(It, {
1157
+ Pe === 1 || Pe === 12 ? (E(), R(It, {
1158
1158
  key: 0,
1159
- modelValue: a(L)[S.roomGroupID][de].config[N.configIdx].addons[N.roomIdx][me],
1160
- "onUpdate:modelValue": (xe) => a(L)[S.roomGroupID][de].config[N.configIdx].addons[N.roomIdx][me] = xe,
1159
+ modelValue: l(L)[S.roomGroupID][ue].config[F.configIdx].addons[F.roomIdx][fe],
1160
+ "onUpdate:modelValue": (xe) => l(L)[S.roomGroupID][ue].config[F.configIdx].addons[F.roomIdx][fe] = xe,
1161
1161
  small: !0,
1162
1162
  "min-value": 0,
1163
- "max-value": co || 1 / 0
1164
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), B(Ue, {
1163
+ "max-value": uo || 1 / 0
1164
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), R(Ue, {
1165
1165
  key: 1,
1166
- modelValue: a(L)[S.roomGroupID][de].config[N.configIdx].addons[N.roomIdx][me],
1167
- "onUpdate:modelValue": (xe) => a(L)[S.roomGroupID][de].config[N.configIdx].addons[N.roomIdx][me] = xe,
1166
+ modelValue: l(L)[S.roomGroupID][ue].config[F.configIdx].addons[F.roomIdx][fe],
1167
+ "onUpdate:modelValue": (xe) => l(L)[S.roomGroupID][ue].config[F.configIdx].addons[F.roomIdx][fe] = xe,
1168
1168
  numeric: !0
1169
1169
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1170
1170
  ])
@@ -1178,8 +1178,8 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
1178
1178
  ])
1179
1179
  ]),
1180
1180
  navigation: w(() => [
1181
- I(ce, {
1182
- label: a(e)("general.startReservation"),
1181
+ I(de, {
1182
+ label: l(e)("general.startReservation"),
1183
1183
  "full-width": "",
1184
1184
  onClickEvent: G
1185
1185
  }, null, 8, ["label", "onClickEvent"]),
@@ -1187,8 +1187,8 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
1187
1187
  class: "konnectio-abort-reservation link",
1188
1188
  onClick: st((S) => et(M), ["prevent"])
1189
1189
  }, [
1190
- v("span", null, V(a(e)("general.goAStepBack")), 1)
1191
- ], 8, li)
1190
+ v("span", null, V(l(e)("general.goAStepBack")), 1)
1191
+ ], 8, ai)
1192
1192
  ]),
1193
1193
  _: 2
1194
1194
  }, 1024)
@@ -1199,183 +1199,183 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
1199
1199
  "show-gift-card": !0
1200
1200
  }, {
1201
1201
  form: w(() => [
1202
- v("form", ui, [
1202
+ v("form", li, [
1203
1203
  v("h2", null, [
1204
- v("span", null, V(a(e)("booking.reservation.detailsTitle")), 1)
1204
+ v("span", null, V(l(e)("booking.reservation.detailsTitle")), 1)
1205
1205
  ]),
1206
- !a(qt) && !(a(Se) && a(Ve)) ? (E(), C("ul", {
1206
+ !l(Ft) && !(l(Se) && l(Ve)) ? (E(), C("ul", {
1207
1207
  key: 0,
1208
- class: Te({ "fresh-booking-split-inputs": !a(Se) && !a(Ve) })
1208
+ class: Te({ "fresh-booking-split-inputs": !l(Se) && !l(Ve) })
1209
1209
  }, [
1210
- a(Se) ? x("", !0) : (E(), C("li", di, [
1210
+ l(Se) ? x("", !0) : (E(), C("li", ui, [
1211
1211
  I(at, {
1212
- modelValue: a(d),
1213
- "onUpdate:modelValue": P[1] || (P[1] = (S) => F(d) ? d.value = S : null),
1214
- label: a(e)("booking.reservation.arrivalTime"),
1212
+ modelValue: l(d),
1213
+ "onUpdate:modelValue": P[1] || (P[1] = (S) => N(d) ? d.value = S : null),
1214
+ label: l(e)("booking.reservation.arrivalTime"),
1215
1215
  icon: "hourglass-start",
1216
- "hour-range": io.value,
1216
+ "hour-range": no.value,
1217
1217
  required: ""
1218
1218
  }, null, 8, ["modelValue", "label", "hour-range"])
1219
1219
  ])),
1220
- a(Ve) ? x("", !0) : (E(), C("li", ci, [
1220
+ l(Ve) ? x("", !0) : (E(), C("li", di, [
1221
1221
  I(at, {
1222
- modelValue: a(c),
1223
- "onUpdate:modelValue": P[2] || (P[2] = (S) => F(c) ? c.value = S : null),
1224
- label: a(e)("booking.reservation.departureTime"),
1222
+ modelValue: l(p),
1223
+ "onUpdate:modelValue": P[2] || (P[2] = (S) => N(p) ? p.value = S : null),
1224
+ label: l(e)("booking.reservation.departureTime"),
1225
1225
  icon: "hourglass-end",
1226
- "hour-range": ro.value,
1226
+ "hour-range": io.value,
1227
1227
  required: ""
1228
1228
  }, null, 8, ["modelValue", "label", "hour-range"])
1229
1229
  ]))
1230
1230
  ], 2)) : x("", !0),
1231
- I(In, {
1232
- modelValue: a(m),
1233
- "onUpdate:modelValue": P[3] || (P[3] = (S) => F(m) ? m.value = S : null),
1234
- title: a(y),
1235
- "onUpdate:title": P[4] || (P[4] = (S) => F(y) ? y.value = S : null),
1236
- "exclude-title": a(Ut),
1237
- label: a(e)("booking.reservation.name"),
1231
+ I(Tn, {
1232
+ modelValue: l(m),
1233
+ "onUpdate:modelValue": P[3] || (P[3] = (S) => N(m) ? m.value = S : null),
1234
+ title: l(y),
1235
+ "onUpdate:title": P[4] || (P[4] = (S) => N(y) ? y.value = S : null),
1236
+ "exclude-title": l(qt),
1237
+ label: l(e)("booking.reservation.name"),
1238
1238
  icon: "user-alt",
1239
- placeholder: a(e)("booking.reservation.namePlaceholder"),
1239
+ placeholder: l(e)("booking.reservation.namePlaceholder"),
1240
1240
  required: ""
1241
1241
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1242
1242
  I(oe, {
1243
- modelValue: a(b),
1244
- "onUpdate:modelValue": P[5] || (P[5] = (S) => F(b) ? b.value = S : null),
1243
+ modelValue: l(b),
1244
+ "onUpdate:modelValue": P[5] || (P[5] = (S) => N(b) ? b.value = S : null),
1245
1245
  type: "email",
1246
1246
  name: "email",
1247
1247
  autocomplete: "email",
1248
- label: a(e)("booking.reservation.email"),
1248
+ label: l(e)("booking.reservation.email"),
1249
1249
  icon: "at",
1250
- placeholder: a(e)("booking.reservation.emailPlaceholder"),
1250
+ placeholder: l(e)("booking.reservation.emailPlaceholder"),
1251
1251
  required: ""
1252
1252
  }, null, 8, ["modelValue", "label", "placeholder"]),
1253
- a($e) ? x("", !0) : (E(), B(Ue, {
1253
+ l($e) ? x("", !0) : (E(), R(Ue, {
1254
1254
  key: 1,
1255
- modelValue: a($),
1256
- "onUpdate:modelValue": P[6] || (P[6] = (S) => F($) ? $.value = S : null),
1255
+ modelValue: l($),
1256
+ "onUpdate:modelValue": P[6] || (P[6] = (S) => N($) ? $.value = S : null),
1257
1257
  type: "checkbox",
1258
1258
  name: "newsletter",
1259
- label: a(e)("booking.reservation.newsletterSignUp")
1259
+ label: l(e)("booking.reservation.newsletterSignUp")
1260
1260
  }, null, 8, ["modelValue", "label"])),
1261
- a(Yt) ? x("", !0) : (E(), B(oe, {
1261
+ l(jt) ? x("", !0) : (E(), R(oe, {
1262
1262
  key: 2,
1263
- modelValue: a(k),
1264
- "onUpdate:modelValue": P[7] || (P[7] = (S) => F(k) ? k.value = S : null),
1263
+ modelValue: l(k),
1264
+ "onUpdate:modelValue": P[7] || (P[7] = (S) => N(k) ? k.value = S : null),
1265
1265
  type: "text",
1266
1266
  name: "firm",
1267
1267
  autocomplete: "firm",
1268
- label: `${a(e)("booking.reservation.companyName")} (${a(e)("booking.reservation.optional")})`,
1268
+ label: `${l(e)("booking.reservation.companyName")} (${l(e)("booking.reservation.optional")})`,
1269
1269
  icon: "id-card",
1270
- placeholder: a(e)("booking.reservation.companyNamePlaceholder")
1270
+ placeholder: l(e)("booking.reservation.companyNamePlaceholder")
1271
1271
  }, null, 8, ["modelValue", "label", "placeholder"])),
1272
1272
  I(No, {
1273
- modelValue: a(s),
1274
- "onUpdate:modelValue": P[8] || (P[8] = (S) => F(s) ? s.value = S : null),
1273
+ modelValue: l(s),
1274
+ "onUpdate:modelValue": P[8] || (P[8] = (S) => N(s) ? s.value = S : null),
1275
1275
  icon: "phone-office",
1276
- label: a(e)("booking.reservation.phone"),
1277
- placeholder: a(e)("booking.reservation.phonePlaceholder"),
1276
+ label: l(e)("booking.reservation.phone"),
1277
+ placeholder: l(e)("booking.reservation.phonePlaceholder"),
1278
1278
  required: ""
1279
1279
  }, null, 8, ["modelValue", "label", "placeholder"]),
1280
- I(bn, {
1281
- modelValue: a(r),
1282
- "onUpdate:modelValue": P[9] || (P[9] = (S) => F(r) ? r.value = S : null),
1283
- label: a(e)("booking.reservation.country"),
1284
- placeholder: a(e)("booking.reservation.countryPlaceholder"),
1285
- options: a(n),
1280
+ I(yn, {
1281
+ modelValue: l(r),
1282
+ "onUpdate:modelValue": P[9] || (P[9] = (S) => N(r) ? r.value = S : null),
1283
+ label: l(e)("booking.reservation.country"),
1284
+ placeholder: l(e)("booking.reservation.countryPlaceholder"),
1285
+ options: l(n),
1286
1286
  required: ""
1287
1287
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1288
1288
  I(oe, {
1289
- modelValue: a(i),
1290
- "onUpdate:modelValue": P[10] || (P[10] = (S) => F(i) ? i.value = S : null),
1289
+ modelValue: l(i),
1290
+ "onUpdate:modelValue": P[10] || (P[10] = (S) => N(i) ? i.value = S : null),
1291
1291
  type: "textarea",
1292
1292
  name: "address",
1293
1293
  autocomplete: "street-address",
1294
- label: a(e)("booking.reservation.streetAddress"),
1294
+ label: l(e)("booking.reservation.streetAddress"),
1295
1295
  icon: "map-marked",
1296
- placeholder: a(e)("booking.reservation.streetAddressPlaceholder"),
1296
+ placeholder: l(e)("booking.reservation.streetAddressPlaceholder"),
1297
1297
  required: ""
1298
1298
  }, null, 8, ["modelValue", "label", "placeholder"]),
1299
- v("ul", pi, [
1299
+ v("ul", ci, [
1300
1300
  v("li", null, [
1301
1301
  I(oe, {
1302
- modelValue: a(_),
1303
- "onUpdate:modelValue": P[11] || (P[11] = (S) => F(_) ? _.value = S : null),
1302
+ modelValue: l(_),
1303
+ "onUpdate:modelValue": P[11] || (P[11] = (S) => N(_) ? _.value = S : null),
1304
1304
  type: "text",
1305
1305
  name: "postal",
1306
1306
  autocomplete: "postal-code",
1307
- label: a(e)("booking.reservation.postal"),
1307
+ label: l(e)("booking.reservation.postal"),
1308
1308
  icon: "mailbox",
1309
- placeholder: a(e)("booking.reservation.postalPlaceholder"),
1309
+ placeholder: l(e)("booking.reservation.postalPlaceholder"),
1310
1310
  required: ""
1311
1311
  }, null, 8, ["modelValue", "label", "placeholder"])
1312
1312
  ]),
1313
1313
  v("li", null, [
1314
1314
  I(oe, {
1315
- modelValue: a(f),
1316
- "onUpdate:modelValue": P[12] || (P[12] = (S) => F(f) ? f.value = S : null),
1315
+ modelValue: l(f),
1316
+ "onUpdate:modelValue": P[12] || (P[12] = (S) => N(f) ? f.value = S : null),
1317
1317
  type: "text",
1318
1318
  name: "city",
1319
1319
  autocomplete: "address-level2",
1320
- label: a(e)("booking.reservation.city"),
1320
+ label: l(e)("booking.reservation.city"),
1321
1321
  icon: "city",
1322
- placeholder: a(e)("booking.reservation.cityPlaceholder"),
1322
+ placeholder: l(e)("booking.reservation.cityPlaceholder"),
1323
1323
  required: ""
1324
1324
  }, null, 8, ["modelValue", "label", "placeholder"])
1325
1325
  ])
1326
1326
  ]),
1327
1327
  I(oe, {
1328
- modelValue: a(g),
1329
- "onUpdate:modelValue": P[13] || (P[13] = (S) => F(g) ? g.value = S : null),
1328
+ modelValue: l(g),
1329
+ "onUpdate:modelValue": P[13] || (P[13] = (S) => N(g) ? g.value = S : null),
1330
1330
  type: "textarea",
1331
- label: `${a(e)("booking.reservation.remark")} (${a(e)("booking.reservation.optional")})`,
1331
+ label: `${l(e)("booking.reservation.remark")} (${l(e)("booking.reservation.optional")})`,
1332
1332
  icon: "info-circle",
1333
- placeholder: a(e)("booking.reservation.remarkPlaceholder")
1333
+ placeholder: l(e)("booking.reservation.remarkPlaceholder")
1334
1334
  }, null, 8, ["modelValue", "label", "placeholder"]),
1335
1335
  I(oe, {
1336
- modelValue: a(T),
1337
- "onUpdate:modelValue": P[14] || (P[14] = (S) => F(T) ? T.value = S : null),
1336
+ modelValue: l(T),
1337
+ "onUpdate:modelValue": P[14] || (P[14] = (S) => N(T) ? T.value = S : null),
1338
1338
  type: "textarea",
1339
- label: `${a(e)("booking.reservation.allergies")} (${a(e)("booking.reservation.optional")})`,
1339
+ label: `${l(e)("booking.reservation.allergies")} (${l(e)("booking.reservation.optional")})`,
1340
1340
  icon: "allergies",
1341
- placeholder: a(e)("booking.reservation.allergiesPlaceholder")
1341
+ placeholder: l(e)("booking.reservation.allergiesPlaceholder")
1342
1342
  }, null, 8, ["modelValue", "label", "placeholder"]),
1343
- a(Gt) ? x("", !0) : (E(), B(En, {
1343
+ l(Ut) ? x("", !0) : (E(), R(_n, {
1344
1344
  key: 3,
1345
- modelValue: a(h),
1346
- "onUpdate:modelValue": P[15] || (P[15] = (S) => F(h) ? h.value = S : null),
1347
- label: `${a(e)("booking.reservation.purposeOfStay")} (${a(e)("booking.reservation.optional")})`,
1345
+ modelValue: l(h),
1346
+ "onUpdate:modelValue": P[15] || (P[15] = (S) => N(h) ? h.value = S : null),
1347
+ label: `${l(e)("booking.reservation.purposeOfStay")} (${l(e)("booking.reservation.optional")})`,
1348
1348
  name: "travelingFor",
1349
- checkboxes: oo.value
1349
+ checkboxes: to.value
1350
1350
  }, null, 8, ["modelValue", "label", "checkboxes"]))
1351
1351
  ])
1352
1352
  ]),
1353
1353
  navigation: w(() => [
1354
1354
  v("div", null, [
1355
- I(ce, {
1356
- label: a(Kt) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
1357
- disabled: !a(p),
1358
- "is-loading": a(u),
1355
+ I(de, {
1356
+ label: l(Yt) ? l(e)("booking.reservation.nextButton") : l(e)("general.confirmReservation"),
1357
+ disabled: !l(c),
1358
+ "is-loading": l(u),
1359
1359
  "full-width": "",
1360
- onClickEvent: (S) => ao(G)
1360
+ onClickEvent: (S) => so(G)
1361
1361
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
1362
1362
  v("button", {
1363
1363
  class: "konnectio-abort-reservation link",
1364
1364
  onClick: st((S) => et(M), ["prevent"])
1365
1365
  }, [
1366
- v("span", null, V(a(e)("general.goAStepBack")), 1)
1367
- ], 8, hi)
1366
+ v("span", null, V(l(e)("general.goAStepBack")), 1)
1367
+ ], 8, pi)
1368
1368
  ])
1369
1369
  ]),
1370
1370
  _: 2
1371
1371
  }, 1024)
1372
1372
  ]),
1373
1373
  payment: w(() => [
1374
- I(qo)
1374
+ I(Fo)
1375
1375
  ]),
1376
1376
  confirmation: w(() => [
1377
- I(Mo, {
1378
- message: a(e)("booking.confirmation.thankYou")
1377
+ I(Ao, {
1378
+ message: l(e)("booking.confirmation.thankYou")
1379
1379
  }, null, 8, ["message"])
1380
1380
  ]),
1381
1381
  _: 1
@@ -1385,7 +1385,7 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
1385
1385
  }, 8, ["access-token"])
1386
1386
  ]),
1387
1387
  fallback: w(() => [
1388
- I(Bn)
1388
+ I(Mn)
1389
1389
  ]),
1390
1390
  _: 1
1391
1391
  }))
@@ -1393,8 +1393,8 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
1393
1393
  _: 1
1394
1394
  }, 8, ["styling"]));
1395
1395
  }
1396
- }), Lt = /* @__PURE__ */ X(fi, [["__scopeId", "data-v-fd9b6d4f"]]);
1397
- var Pt = { exports: {} }, Oe = { exports: {} }, De = { exports: {} }, lt;
1396
+ }), ve = /* @__PURE__ */ X(hi, [["__scopeId", "data-v-fd9b6d4f"]]);
1397
+ var Lt = { exports: {} }, Oe = { exports: {} }, De = { exports: {} }, lt;
1398
1398
  function Qe() {
1399
1399
  return lt || (lt = 1, function(o) {
1400
1400
  (function(e, t) {
@@ -1403,30 +1403,30 @@ function Qe() {
1403
1403
  function e() {
1404
1404
  }
1405
1405
  var t = e.prototype;
1406
- return t.on = function(n, l) {
1407
- if (!(!n || !l)) {
1408
- var u = this._events = this._events || {}, p = u[n] = u[n] || [];
1409
- return p.indexOf(l) == -1 && p.push(l), this;
1406
+ return t.on = function(n, a) {
1407
+ if (!(!n || !a)) {
1408
+ var u = this._events = this._events || {}, c = u[n] = u[n] || [];
1409
+ return c.indexOf(a) == -1 && c.push(a), this;
1410
1410
  }
1411
- }, t.once = function(n, l) {
1412
- if (!(!n || !l)) {
1413
- this.on(n, l);
1414
- var u = this._onceEvents = this._onceEvents || {}, p = u[n] = u[n] || {};
1415
- return p[l] = !0, this;
1411
+ }, t.once = function(n, a) {
1412
+ if (!(!n || !a)) {
1413
+ this.on(n, a);
1414
+ var u = this._onceEvents = this._onceEvents || {}, c = u[n] = u[n] || {};
1415
+ return c[a] = !0, this;
1416
1416
  }
1417
- }, t.off = function(n, l) {
1417
+ }, t.off = function(n, a) {
1418
1418
  var u = this._events && this._events[n];
1419
1419
  if (!(!u || !u.length)) {
1420
- var p = u.indexOf(l);
1421
- return p != -1 && u.splice(p, 1), this;
1420
+ var c = u.indexOf(a);
1421
+ return c != -1 && u.splice(c, 1), this;
1422
1422
  }
1423
- }, t.emitEvent = function(n, l) {
1423
+ }, t.emitEvent = function(n, a) {
1424
1424
  var u = this._events && this._events[n];
1425
1425
  if (!(!u || !u.length)) {
1426
- u = u.slice(0), l = l || [];
1427
- for (var p = this._onceEvents && this._onceEvents[n], h = 0; h < u.length; h++) {
1428
- var d = u[h], c = p && p[d];
1429
- c && (this.off(n, d), delete p[d]), d.apply(this, l);
1426
+ u = u.slice(0), a = a || [];
1427
+ for (var c = this._onceEvents && this._onceEvents[n], h = 0; h < u.length; h++) {
1428
+ var d = u[h], p = c && c[d];
1429
+ p && (this.off(n, d), delete c[d]), d.apply(this, a);
1430
1430
  }
1431
1431
  return this;
1432
1432
  }
@@ -1436,7 +1436,7 @@ function Qe() {
1436
1436
  });
1437
1437
  }(De)), De.exports;
1438
1438
  }
1439
- var Re = { exports: {} };
1439
+ var Ae = { exports: {} };
1440
1440
  /*!
1441
1441
  * getSize v2.0.3
1442
1442
  * measure size of elements
@@ -1454,7 +1454,7 @@ function Je() {
1454
1454
  }
1455
1455
  function n() {
1456
1456
  }
1457
- var l = typeof console == "undefined" ? n : function(s) {
1457
+ var a = typeof console == "undefined" ? n : function(s) {
1458
1458
  console.error(s);
1459
1459
  }, u = [
1460
1460
  "paddingLeft",
@@ -1469,7 +1469,7 @@ function Je() {
1469
1469
  "borderRightWidth",
1470
1470
  "borderTopWidth",
1471
1471
  "borderBottomWidth"
1472
- ], p = u.length;
1472
+ ], c = u.length;
1473
1473
  function h() {
1474
1474
  for (var s = {
1475
1475
  width: 0,
@@ -1478,7 +1478,7 @@ function Je() {
1478
1478
  innerHeight: 0,
1479
1479
  outerWidth: 0,
1480
1480
  outerHeight: 0
1481
- }, k = 0; k < p; k++) {
1481
+ }, k = 0; k < c; k++) {
1482
1482
  var _ = u[k];
1483
1483
  s[_] = 0;
1484
1484
  }
@@ -1486,12 +1486,12 @@ function Je() {
1486
1486
  }
1487
1487
  function d(s) {
1488
1488
  var k = getComputedStyle(s);
1489
- return k || l("Style returned " + k + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), k;
1489
+ return k || a("Style returned " + k + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), k;
1490
1490
  }
1491
- var c = !1, m;
1491
+ var p = !1, m;
1492
1492
  function y() {
1493
- if (!c) {
1494
- c = !0;
1493
+ if (!p) {
1494
+ p = !0;
1495
1495
  var s = document.createElement("div");
1496
1496
  s.style.width = "200px", s.style.padding = "1px 2px 3px 4px", s.style.borderStyle = "solid", s.style.borderWidth = "1px 2px 3px 4px", s.style.boxSizing = "border-box";
1497
1497
  var k = document.body || document.documentElement;
@@ -1507,24 +1507,24 @@ function Je() {
1507
1507
  return h();
1508
1508
  var _ = {};
1509
1509
  _.width = s.offsetWidth, _.height = s.offsetHeight;
1510
- for (var f = _.isBorderBox = k.boxSizing == "border-box", i = 0; i < p; i++) {
1510
+ for (var f = _.isBorderBox = k.boxSizing == "border-box", i = 0; i < c; i++) {
1511
1511
  var r = u[i], g = k[r], T = parseFloat(g);
1512
1512
  _[r] = isNaN(T) ? 0 : T;
1513
1513
  }
1514
- var $ = _.paddingLeft + _.paddingRight, L = _.paddingTop + _.paddingBottom, H = _.marginLeft + _.marginRight, D = _.marginTop + _.marginBottom, R = _.borderLeftWidth + _.borderRightWidth, W = _.borderTopWidth + _.borderBottomWidth, Z = f && m, le = t(k.width);
1515
- le !== !1 && (_.width = le + // add padding and border unless it's already including it
1516
- (Z ? 0 : $ + R));
1514
+ var $ = _.paddingLeft + _.paddingRight, L = _.paddingTop + _.paddingBottom, H = _.marginLeft + _.marginRight, D = _.marginTop + _.marginBottom, A = _.borderLeftWidth + _.borderRightWidth, W = _.borderTopWidth + _.borderBottomWidth, Z = f && m, ae = t(k.width);
1515
+ ae !== !1 && (_.width = ae + // add padding and border unless it's already including it
1516
+ (Z ? 0 : $ + A));
1517
1517
  var U = t(k.height);
1518
1518
  return U !== !1 && (_.height = U + // add padding and border unless it's already including it
1519
- (Z ? 0 : L + W)), _.innerWidth = _.width - ($ + R), _.innerHeight = _.height - (L + W), _.outerWidth = _.width + H, _.outerHeight = _.height + D, _;
1519
+ (Z ? 0 : L + W)), _.innerWidth = _.width - ($ + A), _.innerHeight = _.height - (L + W), _.outerWidth = _.width + H, _.outerHeight = _.height + D, _;
1520
1520
  }
1521
1521
  }
1522
1522
  return b;
1523
1523
  });
1524
- }(Re)), Re.exports;
1524
+ }(Ae)), Ae.exports;
1525
1525
  }
1526
- var Me = { exports: {} }, Be = { exports: {} }, dt;
1527
- function mi() {
1526
+ var Me = { exports: {} }, Re = { exports: {} }, dt;
1527
+ function fi() {
1528
1528
  return dt || (dt = 1, function(o) {
1529
1529
  (function(e, t) {
1530
1530
  o.exports ? o.exports = t() : e.matchesSelector = t();
@@ -1535,74 +1535,74 @@ function mi() {
1535
1535
  return "matches";
1536
1536
  if (n.matchesSelector)
1537
1537
  return "matchesSelector";
1538
- for (var l = ["webkit", "moz", "ms", "o"], u = 0; u < l.length; u++) {
1539
- var p = l[u], h = p + "MatchesSelector";
1538
+ for (var a = ["webkit", "moz", "ms", "o"], u = 0; u < a.length; u++) {
1539
+ var c = a[u], h = c + "MatchesSelector";
1540
1540
  if (n[h])
1541
1541
  return h;
1542
1542
  }
1543
1543
  }();
1544
- return function(l, u) {
1545
- return l[t](u);
1544
+ return function(a, u) {
1545
+ return a[t](u);
1546
1546
  };
1547
1547
  });
1548
- }(Be)), Be.exports;
1548
+ }(Re)), Re.exports;
1549
1549
  }
1550
1550
  var ct;
1551
- function gi() {
1551
+ function mi() {
1552
1552
  return ct || (ct = 1, function(o) {
1553
1553
  (function(e, t) {
1554
1554
  o.exports ? o.exports = t(
1555
1555
  e,
1556
- mi()
1556
+ fi()
1557
1557
  ) : e.fizzyUIUtils = t(
1558
1558
  e,
1559
1559
  e.matchesSelector
1560
1560
  );
1561
1561
  })(window, function(t, n) {
1562
- var l = {};
1563
- l.extend = function(h, d) {
1564
- for (var c in d)
1565
- h[c] = d[c];
1562
+ var a = {};
1563
+ a.extend = function(h, d) {
1564
+ for (var p in d)
1565
+ h[p] = d[p];
1566
1566
  return h;
1567
- }, l.modulo = function(h, d) {
1567
+ }, a.modulo = function(h, d) {
1568
1568
  return (h % d + d) % d;
1569
1569
  };
1570
1570
  var u = Array.prototype.slice;
1571
- l.makeArray = function(h) {
1571
+ a.makeArray = function(h) {
1572
1572
  if (Array.isArray(h))
1573
1573
  return h;
1574
1574
  if (h == null)
1575
1575
  return [];
1576
1576
  var d = typeof h == "object" && typeof h.length == "number";
1577
1577
  return d ? u.call(h) : [h];
1578
- }, l.removeFrom = function(h, d) {
1579
- var c = h.indexOf(d);
1580
- c != -1 && h.splice(c, 1);
1581
- }, l.getParent = function(h, d) {
1578
+ }, a.removeFrom = function(h, d) {
1579
+ var p = h.indexOf(d);
1580
+ p != -1 && h.splice(p, 1);
1581
+ }, a.getParent = function(h, d) {
1582
1582
  for (; h.parentNode && h != document.body; )
1583
1583
  if (h = h.parentNode, n(h, d))
1584
1584
  return h;
1585
- }, l.getQueryElement = function(h) {
1585
+ }, a.getQueryElement = function(h) {
1586
1586
  return typeof h == "string" ? document.querySelector(h) : h;
1587
- }, l.handleEvent = function(h) {
1587
+ }, a.handleEvent = function(h) {
1588
1588
  var d = "on" + h.type;
1589
1589
  this[d] && this[d](h);
1590
- }, l.filterFindElements = function(h, d) {
1591
- h = l.makeArray(h);
1592
- var c = [];
1590
+ }, a.filterFindElements = function(h, d) {
1591
+ h = a.makeArray(h);
1592
+ var p = [];
1593
1593
  return h.forEach(function(m) {
1594
1594
  if (m instanceof HTMLElement) {
1595
1595
  if (!d) {
1596
- c.push(m);
1596
+ p.push(m);
1597
1597
  return;
1598
1598
  }
1599
- n(m, d) && c.push(m);
1599
+ n(m, d) && p.push(m);
1600
1600
  for (var y = m.querySelectorAll(d), b = 0; b < y.length; b++)
1601
- c.push(y[b]);
1601
+ p.push(y[b]);
1602
1602
  }
1603
- }), c;
1604
- }, l.debounceMethod = function(h, d, c) {
1605
- c = c || 100;
1603
+ }), p;
1604
+ }, a.debounceMethod = function(h, d, p) {
1605
+ p = p || 100;
1606
1606
  var m = h.prototype[d], y = d + "Timeout";
1607
1607
  h.prototype[d] = function() {
1608
1608
  var b = this[y];
@@ -1610,38 +1610,38 @@ function gi() {
1610
1610
  var s = arguments, k = this;
1611
1611
  this[y] = setTimeout(function() {
1612
1612
  m.apply(k, s), delete k[y];
1613
- }, c);
1613
+ }, p);
1614
1614
  };
1615
- }, l.docReady = function(h) {
1615
+ }, a.docReady = function(h) {
1616
1616
  var d = document.readyState;
1617
1617
  d == "complete" || d == "interactive" ? setTimeout(h) : document.addEventListener("DOMContentLoaded", h);
1618
- }, l.toDashed = function(h) {
1619
- return h.replace(/(.)([A-Z])/g, function(d, c, m) {
1620
- return c + "-" + m;
1618
+ }, a.toDashed = function(h) {
1619
+ return h.replace(/(.)([A-Z])/g, function(d, p, m) {
1620
+ return p + "-" + m;
1621
1621
  }).toLowerCase();
1622
1622
  };
1623
- var p = t.console;
1624
- return l.htmlInit = function(h, d) {
1625
- l.docReady(function() {
1626
- var c = l.toDashed(d), m = "data-" + c, y = document.querySelectorAll("[" + m + "]"), b = document.querySelectorAll(".js-" + c), s = l.makeArray(y).concat(l.makeArray(b)), k = m + "-options", _ = t.jQuery;
1623
+ var c = t.console;
1624
+ return a.htmlInit = function(h, d) {
1625
+ a.docReady(function() {
1626
+ var p = a.toDashed(d), m = "data-" + p, y = document.querySelectorAll("[" + m + "]"), b = document.querySelectorAll(".js-" + p), s = a.makeArray(y).concat(a.makeArray(b)), k = m + "-options", _ = t.jQuery;
1627
1627
  s.forEach(function(f) {
1628
1628
  var i = f.getAttribute(m) || f.getAttribute(k), r;
1629
1629
  try {
1630
1630
  r = i && JSON.parse(i);
1631
1631
  } catch (T) {
1632
- p && p.error("Error parsing " + m + " on " + f.className + ": " + T);
1632
+ c && c.error("Error parsing " + m + " on " + f.className + ": " + T);
1633
1633
  return;
1634
1634
  }
1635
1635
  var g = new h(f, r);
1636
1636
  _ && _.data(f, d, g);
1637
1637
  });
1638
1638
  });
1639
- }, l;
1639
+ }, a;
1640
1640
  });
1641
1641
  }(Me)), Me.exports;
1642
1642
  }
1643
- var Ae = { exports: {} }, pt;
1644
- function vi() {
1643
+ var Be = { exports: {} }, pt;
1644
+ function gi() {
1645
1645
  return pt || (pt = 1, function(o) {
1646
1646
  (function(e, t) {
1647
1647
  o.exports ? o.exports = t(
@@ -1652,20 +1652,20 @@ function vi() {
1652
1652
  e.getSize
1653
1653
  ));
1654
1654
  })(window, function(t, n) {
1655
- function l(f) {
1655
+ function a(f) {
1656
1656
  for (var i in f)
1657
1657
  return !1;
1658
1658
  return i = null, !0;
1659
1659
  }
1660
- var u = document.documentElement.style, p = typeof u.transition == "string" ? "transition" : "WebkitTransition", h = typeof u.transform == "string" ? "transform" : "WebkitTransform", d = {
1660
+ var u = document.documentElement.style, c = typeof u.transition == "string" ? "transition" : "WebkitTransition", h = typeof u.transform == "string" ? "transform" : "WebkitTransform", d = {
1661
1661
  WebkitTransition: "webkitTransitionEnd",
1662
1662
  transition: "transitionend"
1663
- }[p], c = {
1663
+ }[c], p = {
1664
1664
  transform: h,
1665
- transition: p,
1666
- transitionDuration: p + "Duration",
1667
- transitionProperty: p + "Property",
1668
- transitionDelay: p + "Delay"
1665
+ transition: c,
1666
+ transitionDuration: c + "Duration",
1667
+ transitionProperty: c + "Property",
1668
+ transitionDelay: c + "Delay"
1669
1669
  };
1670
1670
  function m(f, i) {
1671
1671
  f && (this.element = f, this.layout = i, this.position = {
@@ -1690,7 +1690,7 @@ function vi() {
1690
1690
  }, y.css = function(f) {
1691
1691
  var i = this.element.style;
1692
1692
  for (var r in f) {
1693
- var g = c[r] || r;
1693
+ var g = p[r] || r;
1694
1694
  i[g] = f[r];
1695
1695
  }
1696
1696
  }, y.getPosition = function() {
@@ -1699,8 +1699,8 @@ function vi() {
1699
1699
  }, y.layoutPosition = function() {
1700
1700
  var f = this.layout.size, i = {}, r = this.layout._getOption("originLeft"), g = this.layout._getOption("originTop"), T = r ? "paddingLeft" : "paddingRight", $ = r ? "left" : "right", L = r ? "right" : "left", H = this.position.x + f[T];
1701
1701
  i[$] = this.getXValue(H), i[L] = "";
1702
- var D = g ? "paddingTop" : "paddingBottom", R = g ? "top" : "bottom", W = g ? "bottom" : "top", Z = this.position.y + f[D];
1703
- i[R] = this.getYValue(Z), i[W] = "", this.css(i), this.emitEvent("layout", [this]);
1702
+ var D = g ? "paddingTop" : "paddingBottom", A = g ? "top" : "bottom", W = g ? "bottom" : "top", Z = this.position.y + f[D];
1703
+ i[A] = this.getYValue(Z), i[W] = "", this.css(i), this.emitEvent("layout", [this]);
1704
1704
  }, y.getXValue = function(f) {
1705
1705
  var i = this.layout._getOption("horizontal");
1706
1706
  return this.layout.options.percentPosition && !i ? f / this.layout.size.width * 100 + "%" : f + "px";
@@ -1771,7 +1771,7 @@ function vi() {
1771
1771
  y.ontransitionend = function(f) {
1772
1772
  if (f.target === this.element) {
1773
1773
  var i = this._transn, r = k[f.propertyName] || f.propertyName;
1774
- if (delete i.ingProperties[r], l(i.ingProperties) && this.disableTransition(), r in i.clean && (this.element.style[f.propertyName] = "", delete i.clean[r]), r in i.onEnd) {
1774
+ if (delete i.ingProperties[r], a(i.ingProperties) && this.disableTransition(), r in i.clean && (this.element.style[f.propertyName] = "", delete i.clean[r]), r in i.onEnd) {
1775
1775
  var g = i.onEnd[r];
1776
1776
  g.call(this), delete i.onEnd[r];
1777
1777
  }
@@ -1797,7 +1797,7 @@ function vi() {
1797
1797
  }, y.removeElem = function() {
1798
1798
  this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
1799
1799
  }, y.remove = function() {
1800
- if (!p || !parseFloat(this.layout.options.transitionDuration)) {
1800
+ if (!c || !parseFloat(this.layout.options.transitionDuration)) {
1801
1801
  this.removeElem();
1802
1802
  return;
1803
1803
  }
@@ -1845,7 +1845,7 @@ function vi() {
1845
1845
  });
1846
1846
  }, m;
1847
1847
  });
1848
- }(Ae)), Ae.exports;
1848
+ }(Be)), Be.exports;
1849
1849
  }
1850
1850
  /*!
1851
1851
  * Outlayer v2.1.1
@@ -1853,15 +1853,15 @@ function vi() {
1853
1853
  * MIT license
1854
1854
  */
1855
1855
  var ht;
1856
- function yi() {
1856
+ function vi() {
1857
1857
  return ht || (ht = 1, function(o) {
1858
1858
  (function(e, t) {
1859
1859
  o.exports ? o.exports = t(
1860
1860
  e,
1861
1861
  Qe(),
1862
1862
  Je(),
1863
- gi(),
1864
- vi()
1863
+ mi(),
1864
+ gi()
1865
1865
  ) : e.Outlayer = t(
1866
1866
  e,
1867
1867
  e.EvEmitter,
@@ -1869,8 +1869,8 @@ function yi() {
1869
1869
  e.fizzyUIUtils,
1870
1870
  e.Outlayer.Item
1871
1871
  );
1872
- })(window, function(t, n, l, u, p) {
1873
- var h = t.console, d = t.jQuery, c = function() {
1872
+ })(window, function(t, n, a, u, c) {
1873
+ var h = t.console, d = t.jQuery, p = function() {
1874
1874
  }, m = 0, y = {};
1875
1875
  function b(i, r) {
1876
1876
  var g = u.getQueryElement(i);
@@ -1884,7 +1884,7 @@ function yi() {
1884
1884
  var $ = this._getOption("initLayout");
1885
1885
  $ && this.layout();
1886
1886
  }
1887
- b.namespace = "outlayer", b.Item = p, b.defaults = {
1887
+ b.namespace = "outlayer", b.Item = c, b.defaults = {
1888
1888
  containerStyle: {
1889
1889
  position: "relative"
1890
1890
  },
@@ -1944,10 +1944,10 @@ function yi() {
1944
1944
  }, s._init = s.layout, s._resetLayout = function() {
1945
1945
  this.getSize();
1946
1946
  }, s.getSize = function() {
1947
- this.size = l(this.element);
1947
+ this.size = a(this.element);
1948
1948
  }, s._getMeasurement = function(i, r) {
1949
1949
  var g = this.options[i], T;
1950
- g ? (typeof g == "string" ? T = this.element.querySelector(g) : g instanceof HTMLElement && (T = g), this[i] = T ? l(T)[r] : g) : this[i] = 0;
1950
+ g ? (typeof g == "string" ? T = this.element.querySelector(g) : g instanceof HTMLElement && (T = g), this[i] = T ? a(T)[r] : g) : this[i] = 0;
1951
1951
  }, s.layoutItems = function(i, r) {
1952
1952
  i = this._getItemsForLayout(i), this._layoutItems(i, r), this._postLayout();
1953
1953
  }, s._getItemsForLayout = function(i) {
@@ -1988,7 +1988,7 @@ function yi() {
1988
1988
  var r = this._getContainerSize();
1989
1989
  r && (this._setContainerMeasure(r.width, !0), this._setContainerMeasure(r.height, !1));
1990
1990
  }
1991
- }, s._getContainerSize = c, s._setContainerMeasure = function(i, r) {
1991
+ }, s._getContainerSize = p, s._setContainerMeasure = function(i, r) {
1992
1992
  if (i !== void 0) {
1993
1993
  var g = this.size;
1994
1994
  g.isBorderBox && (i += r ? g.paddingLeft + g.paddingRight + g.borderLeftWidth + g.borderRightWidth : g.paddingBottom + g.paddingTop + g.borderTopWidth + g.borderBottomWidth), i = Math.max(i, 0), this.element.style[r ? "width" : "height"] = i + "px";
@@ -2043,8 +2043,8 @@ function yi() {
2043
2043
  right: i.right - (r.paddingRight + r.borderRightWidth),
2044
2044
  bottom: i.bottom - (r.paddingBottom + r.borderBottomWidth)
2045
2045
  };
2046
- }, s._manageStamp = c, s._getElementOffset = function(i) {
2047
- var r = i.getBoundingClientRect(), g = this._boundingRect, T = l(i), $ = {
2046
+ }, s._manageStamp = p, s._getElementOffset = function(i) {
2047
+ var r = i.getBoundingClientRect(), g = this._boundingRect, T = a(i), $ = {
2048
2048
  left: r.left - g.left - T.marginLeft,
2049
2049
  top: r.top - g.top - T.marginTop,
2050
2050
  right: g.right - r.right - T.marginRight,
@@ -2060,7 +2060,7 @@ function yi() {
2060
2060
  }, u.debounceMethod(b, "onresize", 100), s.resize = function() {
2061
2061
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
2062
2062
  }, s.needsResizeLayout = function() {
2063
- var i = l(this.element), r = this.size && i;
2063
+ var i = a(this.element), r = this.size && i;
2064
2064
  return r && i.innerWidth !== this.size.innerWidth;
2065
2065
  }, s.addItems = function(i) {
2066
2066
  var r = this._itemize(i);
@@ -2125,7 +2125,7 @@ function yi() {
2125
2125
  return r && y[r];
2126
2126
  }, b.create = function(i, r) {
2127
2127
  var g = k(b);
2128
- return g.defaults = u.extend({}, b.defaults), u.extend(g.defaults, r), g.compatOptions = u.extend({}, b.compatOptions), g.namespace = i, g.data = b.data, g.Item = k(p), u.htmlInit(g, i), d && d.bridget && d.bridget(i, g), g;
2128
+ return g.defaults = u.extend({}, b.defaults), u.extend(g.defaults, r), g.compatOptions = u.extend({}, b.compatOptions), g.namespace = i, g.data = b.data, g.Item = k(c), u.htmlInit(g, i), d && d.bridget && d.bridget(i, g), g;
2129
2129
  };
2130
2130
  function k(i) {
2131
2131
  function r() {
@@ -2147,7 +2147,7 @@ function yi() {
2147
2147
  var $ = _[T] || 1;
2148
2148
  return g * $;
2149
2149
  }
2150
- return b.Item = p, b;
2150
+ return b.Item = c, b;
2151
2151
  });
2152
2152
  }(Oe)), Oe.exports;
2153
2153
  }
@@ -2161,69 +2161,69 @@ function yi() {
2161
2161
  (function(o) {
2162
2162
  (function(e, t) {
2163
2163
  o.exports ? o.exports = t(
2164
- yi(),
2164
+ vi(),
2165
2165
  Je()
2166
2166
  ) : e.Masonry = t(
2167
2167
  e.Outlayer,
2168
2168
  e.getSize
2169
2169
  );
2170
2170
  })(window, function(t, n) {
2171
- var l = t.create("masonry");
2172
- l.compatOptions.fitWidth = "isFitWidth";
2173
- var u = l.prototype;
2171
+ var a = t.create("masonry");
2172
+ a.compatOptions.fitWidth = "isFitWidth";
2173
+ var u = a.prototype;
2174
2174
  return u._resetLayout = function() {
2175
2175
  this.getSize(), this._getMeasurement("columnWidth", "outerWidth"), this._getMeasurement("gutter", "outerWidth"), this.measureColumns(), this.colYs = [];
2176
- for (var p = 0; p < this.cols; p++)
2176
+ for (var c = 0; c < this.cols; c++)
2177
2177
  this.colYs.push(0);
2178
2178
  this.maxY = 0, this.horizontalColIndex = 0;
2179
2179
  }, u.measureColumns = function() {
2180
2180
  if (this.getContainerWidth(), !this.columnWidth) {
2181
- var p = this.items[0], h = p && p.element;
2181
+ var c = this.items[0], h = c && c.element;
2182
2182
  this.columnWidth = h && n(h).outerWidth || // if first elem has no width, default to size of container
2183
2183
  this.containerWidth;
2184
2184
  }
2185
- var d = this.columnWidth += this.gutter, c = this.containerWidth + this.gutter, m = c / d, y = d - c % d, b = y && y < 1 ? "round" : "floor";
2185
+ var d = this.columnWidth += this.gutter, p = this.containerWidth + this.gutter, m = p / d, y = d - p % d, b = y && y < 1 ? "round" : "floor";
2186
2186
  m = Math[b](m), this.cols = Math.max(m, 1);
2187
2187
  }, u.getContainerWidth = function() {
2188
- var p = this._getOption("fitWidth"), h = p ? this.element.parentNode : this.element, d = n(h);
2188
+ var c = this._getOption("fitWidth"), h = c ? this.element.parentNode : this.element, d = n(h);
2189
2189
  this.containerWidth = d && d.innerWidth;
2190
- }, u._getItemLayoutPosition = function(p) {
2191
- p.getSize();
2192
- var h = p.size.outerWidth % this.columnWidth, d = h && h < 1 ? "round" : "ceil", c = Math[d](p.size.outerWidth / this.columnWidth);
2193
- c = Math.min(c, this.cols);
2194
- for (var m = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", y = this[m](c, p), b = {
2190
+ }, u._getItemLayoutPosition = function(c) {
2191
+ c.getSize();
2192
+ var h = c.size.outerWidth % this.columnWidth, d = h && h < 1 ? "round" : "ceil", p = Math[d](c.size.outerWidth / this.columnWidth);
2193
+ p = Math.min(p, this.cols);
2194
+ for (var m = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", y = this[m](p, c), b = {
2195
2195
  x: this.columnWidth * y.col,
2196
2196
  y: y.y
2197
- }, s = y.y + p.size.outerHeight, k = c + y.col, _ = y.col; _ < k; _++)
2197
+ }, s = y.y + c.size.outerHeight, k = p + y.col, _ = y.col; _ < k; _++)
2198
2198
  this.colYs[_] = s;
2199
2199
  return b;
2200
- }, u._getTopColPosition = function(p) {
2201
- var h = this._getTopColGroup(p), d = Math.min.apply(Math, h);
2200
+ }, u._getTopColPosition = function(c) {
2201
+ var h = this._getTopColGroup(c), d = Math.min.apply(Math, h);
2202
2202
  return {
2203
2203
  col: h.indexOf(d),
2204
2204
  y: d
2205
2205
  };
2206
- }, u._getTopColGroup = function(p) {
2207
- if (p < 2)
2206
+ }, u._getTopColGroup = function(c) {
2207
+ if (c < 2)
2208
2208
  return this.colYs;
2209
- for (var h = [], d = this.cols + 1 - p, c = 0; c < d; c++)
2210
- h[c] = this._getColGroupY(c, p);
2209
+ for (var h = [], d = this.cols + 1 - c, p = 0; p < d; p++)
2210
+ h[p] = this._getColGroupY(p, c);
2211
2211
  return h;
2212
- }, u._getColGroupY = function(p, h) {
2212
+ }, u._getColGroupY = function(c, h) {
2213
2213
  if (h < 2)
2214
- return this.colYs[p];
2215
- var d = this.colYs.slice(p, p + h);
2214
+ return this.colYs[c];
2215
+ var d = this.colYs.slice(c, c + h);
2216
2216
  return Math.max.apply(Math, d);
2217
- }, u._getHorizontalColPosition = function(p, h) {
2218
- var d = this.horizontalColIndex % this.cols, c = p > 1 && d + p > this.cols;
2219
- d = c ? 0 : d;
2217
+ }, u._getHorizontalColPosition = function(c, h) {
2218
+ var d = this.horizontalColIndex % this.cols, p = c > 1 && d + c > this.cols;
2219
+ d = p ? 0 : d;
2220
2220
  var m = h.size.outerWidth && h.size.outerHeight;
2221
- return this.horizontalColIndex = m ? d + p : this.horizontalColIndex, {
2221
+ return this.horizontalColIndex = m ? d + c : this.horizontalColIndex, {
2222
2222
  col: d,
2223
- y: this._getColGroupY(d, p)
2223
+ y: this._getColGroupY(d, c)
2224
2224
  };
2225
- }, u._manageStamp = function(p) {
2226
- var h = n(p), d = this._getElementOffset(p), c = this._getOption("originLeft"), m = c ? d.left : d.right, y = m + h.outerWidth, b = Math.floor(m / this.columnWidth);
2225
+ }, u._manageStamp = function(c) {
2226
+ var h = n(c), d = this._getElementOffset(c), p = this._getOption("originLeft"), m = p ? d.left : d.right, y = m + h.outerWidth, b = Math.floor(m / this.columnWidth);
2227
2227
  b = Math.max(0, b);
2228
2228
  var s = Math.floor(y / this.columnWidth);
2229
2229
  s -= y % this.columnWidth ? 0 : 1, s = Math.min(this.cols - 1, s);
@@ -2231,23 +2231,23 @@ function yi() {
2231
2231
  this.colYs[f] = Math.max(_, this.colYs[f]);
2232
2232
  }, u._getContainerSize = function() {
2233
2233
  this.maxY = Math.max.apply(Math, this.colYs);
2234
- var p = {
2234
+ var c = {
2235
2235
  height: this.maxY
2236
2236
  };
2237
- return this._getOption("fitWidth") && (p.width = this._getContainerFitWidth()), p;
2237
+ return this._getOption("fitWidth") && (c.width = this._getContainerFitWidth()), c;
2238
2238
  }, u._getContainerFitWidth = function() {
2239
- for (var p = 0, h = this.cols; --h && this.colYs[h] === 0; )
2240
- p++;
2241
- return (this.cols - p) * this.columnWidth - this.gutter;
2239
+ for (var c = 0, h = this.cols; --h && this.colYs[h] === 0; )
2240
+ c++;
2241
+ return (this.cols - c) * this.columnWidth - this.gutter;
2242
2242
  }, u.needsResizeLayout = function() {
2243
- var p = this.containerWidth;
2244
- return this.getContainerWidth(), p != this.containerWidth;
2245
- }, l;
2243
+ var c = this.containerWidth;
2244
+ return this.getContainerWidth(), c != this.containerWidth;
2245
+ }, a;
2246
2246
  });
2247
- })(Pt);
2248
- var bi = Pt.exports;
2249
- const ft = /* @__PURE__ */ Vt(bi);
2250
- var xt = { exports: {} };
2247
+ })(Lt);
2248
+ var yi = Lt.exports;
2249
+ const ft = /* @__PURE__ */ Vt(yi);
2250
+ var Pt = { exports: {} };
2251
2251
  /*!
2252
2252
  * imagesLoaded v4.1.4
2253
2253
  * JavaScript is all like "You images are done yet or what?"
@@ -2266,8 +2266,8 @@ var xt = { exports: {} };
2266
2266
  typeof window != "undefined" ? window : St,
2267
2267
  // -------------------------- factory -------------------------- //
2268
2268
  function(t, n) {
2269
- var l = t.jQuery, u = t.console;
2270
- function p(s, k) {
2269
+ var a = t.jQuery, u = t.console;
2270
+ function c(s, k) {
2271
2271
  for (var _ in k)
2272
2272
  s[_] = k[_];
2273
2273
  return s;
@@ -2279,19 +2279,19 @@ var xt = { exports: {} };
2279
2279
  var k = typeof s == "object" && typeof s.length == "number";
2280
2280
  return k ? h.call(s) : [s];
2281
2281
  }
2282
- function c(s, k, _) {
2283
- if (!(this instanceof c))
2284
- return new c(s, k, _);
2282
+ function p(s, k, _) {
2283
+ if (!(this instanceof p))
2284
+ return new p(s, k, _);
2285
2285
  var f = s;
2286
2286
  if (typeof s == "string" && (f = document.querySelectorAll(s)), !f) {
2287
2287
  u.error("Bad element for imagesLoaded " + (f || s));
2288
2288
  return;
2289
2289
  }
2290
- this.elements = d(f), this.options = p({}, this.options), typeof k == "function" ? _ = k : p(this.options, k), _ && this.on("always", _), this.getImages(), l && (this.jqDeferred = new l.Deferred()), setTimeout(this.check.bind(this));
2290
+ this.elements = d(f), this.options = c({}, this.options), typeof k == "function" ? _ = k : c(this.options, k), _ && this.on("always", _), this.getImages(), a && (this.jqDeferred = new a.Deferred()), setTimeout(this.check.bind(this));
2291
2291
  }
2292
- c.prototype = Object.create(n.prototype), c.prototype.options = {}, c.prototype.getImages = function() {
2292
+ p.prototype = Object.create(n.prototype), p.prototype.options = {}, p.prototype.getImages = function() {
2293
2293
  this.images = [], this.elements.forEach(this.addElementImages, this);
2294
- }, c.prototype.addElementImages = function(s) {
2294
+ }, p.prototype.addElementImages = function(s) {
2295
2295
  s.nodeName == "IMG" && this.addImage(s), this.options.background === !0 && this.addElementBackgroundImages(s);
2296
2296
  var k = s.nodeType;
2297
2297
  if (!(!k || !m[k])) {
@@ -2313,20 +2313,20 @@ var xt = { exports: {} };
2313
2313
  9: !0,
2314
2314
  11: !0
2315
2315
  };
2316
- c.prototype.addElementBackgroundImages = function(s) {
2316
+ p.prototype.addElementBackgroundImages = function(s) {
2317
2317
  var k = getComputedStyle(s);
2318
2318
  if (k)
2319
2319
  for (var _ = /url\((['"])?(.*?)\1\)/gi, f = _.exec(k.backgroundImage); f !== null; ) {
2320
2320
  var i = f && f[2];
2321
2321
  i && this.addBackground(i, s), f = _.exec(k.backgroundImage);
2322
2322
  }
2323
- }, c.prototype.addImage = function(s) {
2323
+ }, p.prototype.addImage = function(s) {
2324
2324
  var k = new y(s);
2325
2325
  this.images.push(k);
2326
- }, c.prototype.addBackground = function(s, k) {
2326
+ }, p.prototype.addBackground = function(s, k) {
2327
2327
  var _ = new b(s, k);
2328
2328
  this.images.push(_);
2329
- }, c.prototype.check = function() {
2329
+ }, p.prototype.check = function() {
2330
2330
  var s = this;
2331
2331
  if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
2332
2332
  this.complete();
@@ -2340,9 +2340,9 @@ var xt = { exports: {} };
2340
2340
  this.images.forEach(function(_) {
2341
2341
  _.once("progress", k), _.check();
2342
2342
  });
2343
- }, c.prototype.progress = function(s, k, _) {
2343
+ }, p.prototype.progress = function(s, k, _) {
2344
2344
  this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !s.isLoaded, this.emitEvent("progress", [this, s, k]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, s), this.progressedCount == this.images.length && this.complete(), this.options.debug && u && u.log("progress: " + _, s, k);
2345
- }, c.prototype.complete = function() {
2345
+ }, p.prototype.complete = function() {
2346
2346
  var s = this.hasAnyBroken ? "fail" : "done";
2347
2347
  if (this.isComplete = !0, this.emitEvent(s, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
2348
2348
  var k = this.hasAnyBroken ? "reject" : "resolve";
@@ -2384,18 +2384,18 @@ var xt = { exports: {} };
2384
2384
  this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2385
2385
  }, b.prototype.confirm = function(s, k) {
2386
2386
  this.isLoaded = s, this.emitEvent("progress", [this, this.element, k]);
2387
- }, c.makeJQueryPlugin = function(s) {
2388
- s = s || t.jQuery, s && (l = s, l.fn.imagesLoaded = function(k, _) {
2389
- var f = new c(this, k, _);
2390
- return f.jqDeferred.promise(l(this));
2387
+ }, p.makeJQueryPlugin = function(s) {
2388
+ s = s || t.jQuery, s && (a = s, a.fn.imagesLoaded = function(k, _) {
2389
+ var f = new p(this, k, _);
2390
+ return f.jqDeferred.promise(a(this));
2391
2391
  });
2392
- }, c.makeJQueryPlugin(), c;
2392
+ }, p.makeJQueryPlugin(), p;
2393
2393
  }
2394
2394
  );
2395
- })(xt);
2396
- var ki = xt.exports;
2397
- const _i = /* @__PURE__ */ Vt(ki);
2398
- function Ei(o) {
2395
+ })(Pt);
2396
+ var bi = Pt.exports;
2397
+ const ki = /* @__PURE__ */ Vt(bi);
2398
+ function _i(o) {
2399
2399
  return { all: o = o || /* @__PURE__ */ new Map(), on: function(e, t) {
2400
2400
  var n = o.get(e);
2401
2401
  n ? n.push(t) : o.set(e, [t]);
@@ -2404,10 +2404,10 @@ function Ei(o) {
2404
2404
  n && (t ? n.splice(n.indexOf(t) >>> 0, 1) : o.set(e, []));
2405
2405
  }, emit: function(e, t) {
2406
2406
  var n = o.get(e);
2407
- n && n.slice().map(function(l) {
2408
- l(t);
2409
- }), (n = o.get("*")) && n.slice().map(function(l) {
2410
- l(e, t);
2407
+ n && n.slice().map(function(a) {
2408
+ a(t);
2409
+ }), (n = o.get("*")) && n.slice().map(function(a) {
2410
+ a(e, t);
2411
2411
  });
2412
2412
  } };
2413
2413
  }
@@ -2424,24 +2424,24 @@ const ye = {
2424
2424
  "horizontal-order": "horizontalOrder",
2425
2425
  stagger: "stagger",
2426
2426
  "destroy-delay": "destroyDelay"
2427
- }, be = "vuemasonry.itemAdded", ze = "vuemasonry.itemRemoved", We = "vuemasonry.imageLoaded", Fe = "vuemasonry.destroy", Ti = function(o) {
2427
+ }, be = "vuemasonry.itemAdded", ze = "vuemasonry.itemRemoved", We = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy", Ei = function(o) {
2428
2428
  return (o + "").toLowerCase() === "true";
2429
- }, Ii = function(o) {
2429
+ }, Ti = function(o) {
2430
2430
  return isNaN(o) ? o : parseInt(o);
2431
- }, Ci = function(o) {
2431
+ }, Ii = function(o) {
2432
2432
  const e = {};
2433
2433
  return Array.prototype.slice.call(o).forEach(function(n) {
2434
- Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] = Ti(n.value) : n.name === "column-width" || n.name === "gutter" ? e[ye[n.name]] = Ii(n.value) : e[ye[n.name]] = n.value);
2434
+ Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] = Ei(n.value) : n.name === "column-width" || n.name === "gutter" ? e[ye[n.name]] = Ti(n.value) : e[ye[n.name]] = n.value);
2435
2435
  }), e;
2436
- }, wt = {};
2437
- wt.install = function(o, e) {
2438
- const t = Ei(), n = "VueMasonry", l = o;
2439
- l.directive("masonry", {
2436
+ }, xt = {};
2437
+ xt.install = function(o, e) {
2438
+ const t = _i(), n = "VueMasonry", a = o;
2439
+ a.directive("masonry", {
2440
2440
  props: ["transitionDuration", " itemSelector", "destroyDelay"],
2441
- mounted: function(u, p) {
2441
+ mounted: function(u, c) {
2442
2442
  if (!ft)
2443
2443
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
2444
- const h = Ci(u.attributes), d = new ft(u, h), c = p.value || n, m = h.destroyDelay ? parseInt(h.destroyDelay, 10) : void 0, y = function() {
2444
+ const h = Ii(u.attributes), d = new ft(u, h), p = c.value || n, m = h.destroyDelay ? parseInt(h.destroyDelay, 10) : void 0, y = function() {
2445
2445
  d.reloadItems(), d.layout();
2446
2446
  };
2447
2447
  $t(() => {
@@ -2450,39 +2450,39 @@ wt.install = function(o, e) {
2450
2450
  const b = function(k) {
2451
2451
  y();
2452
2452
  }, s = function(k) {
2453
- t.off(`${be}__${c}`, b), t.off(`${ze}__${c}`, b), t.off(`${We}__${c}`, b), t.off(`${Fe}__${c}`, s);
2453
+ t.off(`${be}__${p}`, b), t.off(`${ze}__${p}`, b), t.off(`${We}__${p}`, b), t.off(`${Ne}__${p}`, s);
2454
2454
  const _ = m && !Number.isNaN(m) ? m : 0;
2455
2455
  setTimeout(function() {
2456
2456
  d.destroy();
2457
2457
  }, _);
2458
2458
  };
2459
- t.on(`${be}__${c}`, b), t.on(`${ze}__${c}`, b), t.on(`${We}__${c}`, b), t.on(`${Fe}__${c}`, s);
2459
+ t.on(`${be}__${p}`, b), t.on(`${ze}__${p}`, b), t.on(`${We}__${p}`, b), t.on(`${Ne}__${p}`, s);
2460
2460
  },
2461
- unbind: function(u, p) {
2462
- const h = p.value || n;
2463
- t.emit(`${Fe}__${h}`);
2461
+ unbind: function(u, c) {
2462
+ const h = c.value || n;
2463
+ t.emit(`${Ne}__${h}`);
2464
2464
  }
2465
- }), l.directive("masonryTile", {
2466
- mounted: function(u, p) {
2467
- const h = p.value || n;
2465
+ }), a.directive("masonryTile", {
2466
+ mounted: function(u, c) {
2467
+ const h = c.value || n;
2468
2468
  t.emit(`${be}__${h}`, {
2469
2469
  element: u
2470
- }), new _i(u, function() {
2470
+ }), new ki(u, function() {
2471
2471
  t.emit(`${We}__${h}`, {
2472
2472
  element: u
2473
2473
  });
2474
2474
  });
2475
2475
  },
2476
- unbind: function(u, p) {
2477
- const h = p.value || n;
2476
+ unbind: function(u, c) {
2477
+ const h = c.value || n;
2478
2478
  t.emit(`${ze}__${h}`, {
2479
2479
  element: u
2480
2480
  });
2481
2481
  }
2482
2482
  });
2483
2483
  {
2484
- const u = function(p) {
2485
- const h = p || n;
2484
+ const u = function(c) {
2485
+ const h = c || n;
2486
2486
  t.emit(`${be}__${h}`);
2487
2487
  };
2488
2488
  o.config.globalProperties.$redrawVueMasonry = u, o.provide("redrawVueMasonry", u);
@@ -2490,28 +2490,28 @@ wt.install = function(o, e) {
2490
2490
  };
2491
2491
  function Ge(o, e = {}, t) {
2492
2492
  for (const n in o) {
2493
- const l = o[n], u = t ? `${t}:${n}` : n;
2494
- typeof l == "object" && l !== null ? Ge(l, e, u) : typeof l == "function" && (e[u] = l);
2493
+ const a = o[n], u = t ? `${t}:${n}` : n;
2494
+ typeof a == "object" && a !== null ? Ge(a, e, u) : typeof a == "function" && (e[u] = a);
2495
2495
  }
2496
2496
  return e;
2497
2497
  }
2498
- const $i = { run: (o) => o() }, Si = () => $i, Ht = typeof console.createTask != "undefined" ? console.createTask : Si;
2499
- function Vi(o, e) {
2500
- const t = e.shift(), n = Ht(t);
2498
+ const Ci = { run: (o) => o() }, $i = () => Ci, wt = typeof console.createTask != "undefined" ? console.createTask : $i;
2499
+ function Si(o, e) {
2500
+ const t = e.shift(), n = wt(t);
2501
2501
  return o.reduce(
2502
- (l, u) => l.then(() => n.run(() => u(...e))),
2502
+ (a, u) => a.then(() => n.run(() => u(...e))),
2503
2503
  Promise.resolve()
2504
2504
  );
2505
2505
  }
2506
- function Li(o, e) {
2507
- const t = e.shift(), n = Ht(t);
2508
- return Promise.all(o.map((l) => n.run(() => l(...e))));
2506
+ function Vi(o, e) {
2507
+ const t = e.shift(), n = wt(t);
2508
+ return Promise.all(o.map((a) => n.run(() => a(...e))));
2509
2509
  }
2510
- function Ne(o, e) {
2510
+ function Fe(o, e) {
2511
2511
  for (const t of [...o])
2512
2512
  t(e);
2513
2513
  }
2514
- class Pi {
2514
+ class Li {
2515
2515
  constructor() {
2516
2516
  this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
2517
2517
  }
@@ -2519,13 +2519,13 @@ class Pi {
2519
2519
  if (!e || typeof t != "function")
2520
2520
  return () => {
2521
2521
  };
2522
- const l = e;
2522
+ const a = e;
2523
2523
  let u;
2524
2524
  for (; this._deprecatedHooks[e]; )
2525
2525
  u = this._deprecatedHooks[e], e = u.to;
2526
2526
  if (u && !n.allowDeprecated) {
2527
- let p = u.message;
2528
- p || (p = `${l} hook has been deprecated` + (u.to ? `, please use ${u.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(p) || (console.warn(p), this._deprecatedMessages.add(p));
2527
+ let c = u.message;
2528
+ c || (c = `${a} hook has been deprecated` + (u.to ? `, please use ${u.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(c) || (console.warn(c), this._deprecatedMessages.add(c));
2529
2529
  }
2530
2530
  if (!t.name)
2531
2531
  try {
@@ -2533,15 +2533,15 @@ class Pi {
2533
2533
  get: () => "_" + e.replace(/\W+/g, "_") + "_hook_cb",
2534
2534
  configurable: !0
2535
2535
  });
2536
- } catch (p) {
2536
+ } catch (c) {
2537
2537
  }
2538
2538
  return this._hooks[e] = this._hooks[e] || [], this._hooks[e].push(t), () => {
2539
2539
  t && (this.removeHook(e, t), t = void 0);
2540
2540
  };
2541
2541
  }
2542
2542
  hookOnce(e, t) {
2543
- let n, l = (...u) => (typeof n == "function" && n(), n = void 0, l = void 0, t(...u));
2544
- return n = this.hook(e, l), n;
2543
+ let n, a = (...u) => (typeof n == "function" && n(), n = void 0, a = void 0, t(...u));
2544
+ return n = this.hook(e, a), n;
2545
2545
  }
2546
2546
  removeHook(e, t) {
2547
2547
  if (this._hooks[e]) {
@@ -2553,8 +2553,8 @@ class Pi {
2553
2553
  this._deprecatedHooks[e] = typeof t == "string" ? { to: t } : t;
2554
2554
  const n = this._hooks[e] || [];
2555
2555
  delete this._hooks[e];
2556
- for (const l of n)
2557
- this.hook(e, l);
2556
+ for (const a of n)
2557
+ this.hook(e, a);
2558
2558
  }
2559
2559
  deprecateHooks(e) {
2560
2560
  Object.assign(this._deprecatedHooks, e);
@@ -2563,11 +2563,11 @@ class Pi {
2563
2563
  }
2564
2564
  addHooks(e) {
2565
2565
  const t = Ge(e), n = Object.keys(t).map(
2566
- (l) => this.hook(l, t[l])
2566
+ (a) => this.hook(a, t[a])
2567
2567
  );
2568
2568
  return () => {
2569
- for (const l of n.splice(0, n.length))
2570
- l();
2569
+ for (const a of n.splice(0, n.length))
2570
+ a();
2571
2571
  };
2572
2572
  }
2573
2573
  removeHooks(e) {
@@ -2580,21 +2580,21 @@ class Pi {
2580
2580
  delete this._hooks[e];
2581
2581
  }
2582
2582
  callHook(e, ...t) {
2583
- return t.unshift(e), this.callHookWith(Vi, e, ...t);
2583
+ return t.unshift(e), this.callHookWith(Si, e, ...t);
2584
2584
  }
2585
2585
  callHookParallel(e, ...t) {
2586
- return t.unshift(e), this.callHookWith(Li, e, ...t);
2586
+ return t.unshift(e), this.callHookWith(Vi, e, ...t);
2587
2587
  }
2588
2588
  callHookWith(e, t, ...n) {
2589
- const l = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
2590
- this._before && Ne(this._before, l);
2589
+ const a = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
2590
+ this._before && Fe(this._before, a);
2591
2591
  const u = e(
2592
2592
  t in this._hooks ? [...this._hooks[t]] : [],
2593
2593
  n
2594
2594
  );
2595
2595
  return u instanceof Promise ? u.finally(() => {
2596
- this._after && l && Ne(this._after, l);
2597
- }) : (this._after && l && Ne(this._after, l), u);
2596
+ this._after && a && Fe(this._after, a);
2597
+ }) : (this._after && a && Fe(this._after, a), u);
2598
2598
  }
2599
2599
  beforeEach(e) {
2600
2600
  return this._before = this._before || [], this._before.push(e), () => {
@@ -2613,20 +2613,20 @@ class Pi {
2613
2613
  };
2614
2614
  }
2615
2615
  }
2616
- function xi() {
2617
- return new Pi();
2616
+ function Pi() {
2617
+ return new Li();
2618
2618
  }
2619
- function wi(o) {
2619
+ function xi(o) {
2620
2620
  return Array.isArray(o) ? o : [o];
2621
2621
  }
2622
- const Hi = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
2622
+ const wi = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
2623
2623
  "base",
2624
2624
  "meta",
2625
2625
  "link",
2626
2626
  "style",
2627
2627
  "script",
2628
2628
  "noscript"
2629
- ], Oi = [
2629
+ ], Hi = [
2630
2630
  "title",
2631
2631
  "titleTemplate",
2632
2632
  "templateParams",
@@ -2638,7 +2638,7 @@ const Hi = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
2638
2638
  "style",
2639
2639
  "script",
2640
2640
  "noscript"
2641
- ], Di = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Ot = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Ri = typeof window != "undefined";
2641
+ ], Oi = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Ht = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Di = typeof window != "undefined";
2642
2642
  function Xe(o) {
2643
2643
  let e = 9;
2644
2644
  for (let t = 0; t < o.length; )
@@ -2648,69 +2648,69 @@ function Xe(o) {
2648
2648
  function mt(o) {
2649
2649
  return o._h || Xe(o._d ? o._d : `${o.tag}:${o.textContent || o.innerHTML || ""}:${Object.entries(o.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
2650
2650
  }
2651
- function Dt(o, e) {
2651
+ function Ot(o, e) {
2652
2652
  const { props: t, tag: n } = o;
2653
- if (Di.includes(n))
2653
+ if (Oi.includes(n))
2654
2654
  return n;
2655
2655
  if (n === "link" && t.rel === "canonical")
2656
2656
  return "canonical";
2657
2657
  if (t.charset)
2658
2658
  return "charset";
2659
- const l = ["id"];
2660
- n === "meta" && l.push("name", "property", "http-equiv");
2661
- for (const u of l)
2659
+ const a = ["id"];
2660
+ n === "meta" && a.push("name", "property", "http-equiv");
2661
+ for (const u of a)
2662
2662
  if (typeof t[u] != "undefined") {
2663
- const p = String(t[u]);
2664
- return e && !e(p) ? !1 : `${n}:${u}:${p}`;
2663
+ const c = String(t[u]);
2664
+ return e && !e(c) ? !1 : `${n}:${u}:${c}`;
2665
2665
  }
2666
2666
  return !1;
2667
2667
  }
2668
2668
  function gt(o, e) {
2669
2669
  return o == null ? e || null : typeof o == "function" ? o(e) : o;
2670
2670
  }
2671
- function Mi(o, e, t) {
2671
+ function Ai(o, e, t) {
2672
2672
  return Q(this, null, function* () {
2673
2673
  const n = {
2674
2674
  tag: o,
2675
- props: yield Rt(
2675
+ props: yield Dt(
2676
2676
  // explicitly check for an object
2677
2677
  // @ts-expect-error untyped
2678
2678
  typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? ee({}, e) : { [["script", "noscript", "style"].includes(o) ? "innerHTML" : "textContent"]: e },
2679
2679
  ["templateParams", "titleTemplate"].includes(o)
2680
2680
  )
2681
2681
  };
2682
- return Ot.forEach((l) => {
2683
- const u = typeof n.props[l] != "undefined" ? n.props[l] : t[l];
2684
- typeof u != "undefined" && ((!["innerHTML", "textContent", "children"].includes(l) || Hi.includes(n.tag)) && (n[l === "children" ? "innerHTML" : l] = u), delete n.props[l]);
2685
- }), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((l) => ve(ee({}, n), { props: ve(ee({}, n.props), { content: l }) })) : n;
2682
+ return Ht.forEach((a) => {
2683
+ const u = typeof n.props[a] != "undefined" ? n.props[a] : t[a];
2684
+ typeof u != "undefined" && ((!["innerHTML", "textContent", "children"].includes(a) || wi.includes(n.tag)) && (n[a === "children" ? "innerHTML" : a] = u), delete n.props[a]);
2685
+ }), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((a) => ge(ee({}, n), { props: ge(ee({}, n.props), { content: a }) })) : n;
2686
2686
  });
2687
2687
  }
2688
- function Bi(o) {
2688
+ function Mi(o) {
2689
2689
  return typeof o == "object" && !Array.isArray(o) && (o = Object.keys(o).filter((e) => o[e])), (Array.isArray(o) ? o.join(" ") : o).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
2690
2690
  }
2691
- function Rt(o, e) {
2691
+ function Dt(o, e) {
2692
2692
  return Q(this, null, function* () {
2693
2693
  for (const t of Object.keys(o)) {
2694
2694
  if (t === "class") {
2695
- o[t] = Bi(o[t]);
2695
+ o[t] = Mi(o[t]);
2696
2696
  continue;
2697
2697
  }
2698
- if (o[t] instanceof Promise && (o[t] = yield o[t]), !e && !Ot.includes(t)) {
2699
- const n = String(o[t]), l = t.startsWith("data-");
2700
- n === "true" || n === "" ? o[t] = l ? "true" : !0 : o[t] || (l && n === "false" ? o[t] = "false" : delete o[t]);
2698
+ if (o[t] instanceof Promise && (o[t] = yield o[t]), !e && !Ht.includes(t)) {
2699
+ const n = String(o[t]), a = t.startsWith("data-");
2700
+ n === "true" || n === "" ? o[t] = a ? "true" : !0 : o[t] || (a && n === "false" ? o[t] = "false" : delete o[t]);
2701
2701
  }
2702
2702
  }
2703
2703
  return o;
2704
2704
  });
2705
2705
  }
2706
- const Ai = 10;
2707
- function zi(o) {
2706
+ const Ri = 10;
2707
+ function Bi(o) {
2708
2708
  return Q(this, null, function* () {
2709
2709
  const e = [];
2710
- return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n != "undefined" && Oi.includes(t)).forEach(([t, n]) => {
2711
- const l = wi(n);
2712
- e.push(...l.map((u) => Mi(t, u, o)).flat());
2713
- }), (yield Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Ai) + n, t));
2710
+ return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n != "undefined" && Hi.includes(t)).forEach(([t, n]) => {
2711
+ const a = xi(n);
2712
+ e.push(...a.map((u) => Ai(t, u, o)).flat());
2713
+ }), (yield Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Ri) + n, t));
2714
2714
  });
2715
2715
  }
2716
2716
  const vt = {
@@ -2728,34 +2728,34 @@ function Ie(o) {
2728
2728
  const t = o.tagPriority;
2729
2729
  return typeof t == "number" ? t : (o.tag === "meta" ? (o.props["http-equiv"] === "content-security-policy" && (e = -30), o.props.charset && (e = -20), o.props.name === "viewport" && (e = -15)) : o.tag === "link" && o.props.rel === "preconnect" ? e = 20 : o.tag in vt && (e = vt[o.tag]), typeof t == "string" && t in yt ? e + yt[t] : e);
2730
2730
  }
2731
- const Wi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Mt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], te = "%separator";
2731
+ const zi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], At = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], te = "%separator";
2732
2732
  function _e(o, e, t) {
2733
2733
  if (typeof o != "string" || !o.includes("%"))
2734
2734
  return o;
2735
- function n(p) {
2735
+ function n(c) {
2736
2736
  let h;
2737
- return ["s", "pageTitle"].includes(p) ? h = e.pageTitle : p.includes(".") ? h = p.split(".").reduce((d, c) => d && d[c] || void 0, e) : h = e[p], typeof h != "undefined" ? (h || "").replace(/"/g, '\\"') : !1;
2737
+ return ["s", "pageTitle"].includes(c) ? h = e.pageTitle : c.includes(".") ? h = c.split(".").reduce((d, p) => d && d[p] || void 0, e) : h = e[c], typeof h != "undefined" ? (h || "").replace(/"/g, '\\"') : !1;
2738
2738
  }
2739
- let l = o;
2739
+ let a = o;
2740
2740
  try {
2741
- l = decodeURI(o);
2742
- } catch (p) {
2741
+ a = decodeURI(o);
2742
+ } catch (c) {
2743
2743
  }
2744
- return (l.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
2745
- const h = n(p.slice(1));
2746
- typeof h == "string" && (o = o.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (d, c) => `${h}${c}`).trim());
2744
+ return (a.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((c) => {
2745
+ const h = n(c.slice(1));
2746
+ typeof h == "string" && (o = o.replace(new RegExp(`\\${c}(\\W|$)`, "g"), (d, p) => `${h}${p}`).trim());
2747
2747
  }), o.includes(te) && (o.endsWith(te) && (o = o.slice(0, -te.length).trim()), o.startsWith(te) && (o = o.slice(te.length).trim()), o = o.replace(new RegExp(`\\${te}\\s*\\${te}`, "g"), te), o = _e(o, { separator: t }, t)), o;
2748
2748
  }
2749
- function Fi(o) {
2749
+ function Wi(o) {
2750
2750
  return Q(this, null, function* () {
2751
2751
  const e = {
2752
2752
  tag: o.tagName.toLowerCase(),
2753
- props: yield Rt(
2754
- o.getAttributeNames().reduce((t, n) => ve(ee({}, t), { [n]: o.getAttribute(n) }), {})
2753
+ props: yield Dt(
2754
+ o.getAttributeNames().reduce((t, n) => ge(ee({}, t), { [n]: o.getAttribute(n) }), {})
2755
2755
  ),
2756
2756
  innerHTML: o.innerHTML
2757
2757
  };
2758
- return e._d = Dt(e), e;
2758
+ return e._d = Ot(e), e;
2759
2759
  });
2760
2760
  }
2761
2761
  function Ni(t) {
@@ -2764,36 +2764,36 @@ function Ni(t) {
2764
2764
  const n = e.document || o.resolvedOptions.document;
2765
2765
  if (!n)
2766
2766
  return;
2767
- const l = { shouldRender: o.dirty, tags: [] };
2768
- if (yield o.hooks.callHook("dom:beforeRender", l), !l.shouldRender)
2767
+ const a = { shouldRender: o.dirty, tags: [] };
2768
+ if (yield o.hooks.callHook("dom:beforeRender", a), !a.shouldRender)
2769
2769
  return;
2770
2770
  const u = (yield o.resolveTags()).map((b) => ({
2771
2771
  tag: b,
2772
2772
  id: ke.includes(b.tag) ? mt(b) : b.tag,
2773
2773
  shouldRender: !0
2774
2774
  }));
2775
- let p = o._dom;
2776
- if (!p) {
2777
- p = {
2775
+ let c = o._dom;
2776
+ if (!c) {
2777
+ c = {
2778
2778
  elMap: { htmlAttrs: n.documentElement, bodyAttrs: n.body }
2779
2779
  };
2780
2780
  for (const b of ["body", "head"]) {
2781
2781
  const s = (y = n == null ? void 0 : n[b]) == null ? void 0 : y.children;
2782
2782
  for (const k of [...s].filter((_) => ke.includes(_.tagName.toLowerCase())))
2783
- p.elMap[k.getAttribute("data-hid") || mt(yield Fi(k))] = k;
2783
+ c.elMap[k.getAttribute("data-hid") || mt(yield Wi(k))] = k;
2784
2784
  }
2785
2785
  }
2786
- p.pendingSideEffects = ee({}, p.sideEffects || {}), p.sideEffects = {};
2786
+ c.pendingSideEffects = ee({}, c.sideEffects || {}), c.sideEffects = {};
2787
2787
  function h(b, s, k) {
2788
2788
  const _ = `${b}:${s}`;
2789
- p.sideEffects[_] = k, delete p.pendingSideEffects[_];
2789
+ c.sideEffects[_] = k, delete c.pendingSideEffects[_];
2790
2790
  }
2791
2791
  function d({ id: b, $el: s, tag: k }) {
2792
2792
  const _ = k.tag.endsWith("Attrs");
2793
- p.elMap[b] = s, _ || (["textContent", "innerHTML"].forEach((f) => {
2793
+ c.elMap[b] = s, _ || (["textContent", "innerHTML"].forEach((f) => {
2794
2794
  k[f] && k[f] !== s[f] && (s[f] = k[f]);
2795
2795
  }), h(b, "el", () => {
2796
- p.elMap[b].remove(), delete p.elMap[b];
2796
+ c.elMap[b].remove(), delete c.elMap[b];
2797
2797
  })), Object.entries(k.props).forEach(([f, i]) => {
2798
2798
  const r = `attr:${f}`;
2799
2799
  if (f === "class")
@@ -2803,7 +2803,7 @@ function Ni(t) {
2803
2803
  s.getAttribute(f) !== i && s.setAttribute(f, i === !0 ? "" : String(i)), _ && h(b, r, () => s.removeAttribute(f));
2804
2804
  });
2805
2805
  }
2806
- const c = [], m = {
2806
+ const p = [], m = {
2807
2807
  bodyClose: void 0,
2808
2808
  bodyOpen: void 0,
2809
2809
  head: void 0
@@ -2815,61 +2815,61 @@ function Ni(t) {
2815
2815
  n.title = s.textContent;
2816
2816
  continue;
2817
2817
  }
2818
- b.$el = b.$el || p.elMap[_], b.$el ? d(b) : ke.includes(s.tag) && c.push(b);
2818
+ b.$el = b.$el || c.elMap[_], b.$el ? d(b) : ke.includes(s.tag) && p.push(b);
2819
2819
  }
2820
2820
  }
2821
- for (const b of c) {
2821
+ for (const b of p) {
2822
2822
  const s = b.tag.tagPosition || "head";
2823
2823
  b.$el = n.createElement(b.tag.tag), d(b), m[s] = m[s] || n.createDocumentFragment(), m[s].appendChild(b.$el);
2824
2824
  }
2825
2825
  for (const b of u)
2826
2826
  yield o.hooks.callHook("dom:renderTag", b, n, h);
2827
- m.head && n.head.appendChild(m.head), m.bodyOpen && n.body.insertBefore(m.bodyOpen, n.body.firstChild), m.bodyClose && n.body.appendChild(m.bodyClose), Object.values(p.pendingSideEffects).forEach((b) => b()), o._dom = p, o.dirty = !1, yield o.hooks.callHook("dom:rendered", { renders: u });
2827
+ m.head && n.head.appendChild(m.head), m.bodyOpen && n.body.insertBefore(m.bodyOpen, n.body.firstChild), m.bodyClose && n.body.appendChild(m.bodyClose), Object.values(c.pendingSideEffects).forEach((b) => b()), o._dom = c, o.dirty = !1, yield o.hooks.callHook("dom:rendered", { renders: u });
2828
2828
  });
2829
2829
  }
2830
- function qi(t) {
2830
+ function Fi(t) {
2831
2831
  return Q(this, arguments, function* (o, e = {}) {
2832
- const n = e.delayFn || ((l) => setTimeout(l, 10));
2833
- return o._domUpdatePromise = o._domUpdatePromise || new Promise((l) => n(() => Q(this, null, function* () {
2834
- yield Ni(o, e), delete o._domUpdatePromise, l();
2832
+ const n = e.delayFn || ((a) => setTimeout(a, 10));
2833
+ return o._domUpdatePromise = o._domUpdatePromise || new Promise((a) => n(() => Q(this, null, function* () {
2834
+ yield Ni(o, e), delete o._domUpdatePromise, a();
2835
2835
  })));
2836
2836
  });
2837
2837
  }
2838
2838
  // @__NO_SIDE_EFFECTS__
2839
- function Ui(o) {
2839
+ function qi(o) {
2840
2840
  return (e) => {
2841
- var n, l;
2842
- const t = ((l = (n = e.resolvedOptions.document) == null ? void 0 : n.head.querySelector('script[id="unhead:payload"]')) == null ? void 0 : l.innerHTML) || !1;
2841
+ var n, a;
2842
+ const t = ((a = (n = e.resolvedOptions.document) == null ? void 0 : n.head.querySelector('script[id="unhead:payload"]')) == null ? void 0 : a.innerHTML) || !1;
2843
2843
  return t && e.push(JSON.parse(t)), {
2844
2844
  mode: "client",
2845
2845
  hooks: {
2846
2846
  "entries:updated": function(u) {
2847
- qi(u, o);
2847
+ Fi(u, o);
2848
2848
  }
2849
2849
  }
2850
2850
  };
2851
2851
  };
2852
2852
  }
2853
- const Gi = ["templateParams", "htmlAttrs", "bodyAttrs"], ji = {
2853
+ const Ui = ["templateParams", "htmlAttrs", "bodyAttrs"], Gi = {
2854
2854
  hooks: {
2855
2855
  "tag:normalise": function({ tag: o }) {
2856
2856
  ["hid", "vmid", "key"].forEach((n) => {
2857
2857
  o.props[n] && (o.key = o.props[n], delete o.props[n]);
2858
2858
  });
2859
- const t = Dt(o) || (o.key ? `${o.tag}:${o.key}` : !1);
2859
+ const t = Ot(o) || (o.key ? `${o.tag}:${o.key}` : !1);
2860
2860
  t && (o._d = t);
2861
2861
  },
2862
2862
  "tags:resolve": function(o) {
2863
2863
  const e = {};
2864
2864
  o.tags.forEach((n) => {
2865
- const l = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, u = e[l];
2865
+ const a = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, u = e[a];
2866
2866
  if (u) {
2867
2867
  let h = n == null ? void 0 : n.tagDuplicateStrategy;
2868
- if (!h && Gi.includes(n.tag) && (h = "merge"), h === "merge") {
2868
+ if (!h && Ui.includes(n.tag) && (h = "merge"), h === "merge") {
2869
2869
  const d = u.props;
2870
- ["class", "style"].forEach((c) => {
2871
- d[c] && (n.props[c] ? (c === "style" && !d[c].endsWith(";") && (d[c] += ";"), n.props[c] = `${d[c]} ${n.props[c]}`) : n.props[c] = d[c]);
2872
- }), e[l].props = ee(ee({}, d), n.props);
2870
+ ["class", "style"].forEach((p) => {
2871
+ d[p] && (n.props[p] ? (p === "style" && !d[p].endsWith(";") && (d[p] += ";"), n.props[p] = `${d[p]} ${n.props[p]}`) : n.props[p] = d[p]);
2872
+ }), e[a].props = ee(ee({}, d), n.props);
2873
2873
  return;
2874
2874
  } else if (n._e === u._e) {
2875
2875
  u._duped = u._duped || [], n._d = `${u._d}:${u._duped.length + 1}`, u._duped.push(n);
@@ -2877,21 +2877,21 @@ const Gi = ["templateParams", "htmlAttrs", "bodyAttrs"], ji = {
2877
2877
  } else if (Ie(n) > Ie(u))
2878
2878
  return;
2879
2879
  }
2880
- const p = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
2881
- if (ke.includes(n.tag) && p === 0) {
2882
- delete e[l];
2880
+ const c = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
2881
+ if (ke.includes(n.tag) && c === 0) {
2882
+ delete e[a];
2883
2883
  return;
2884
2884
  }
2885
- e[l] = n;
2885
+ e[a] = n;
2886
2886
  });
2887
2887
  const t = [];
2888
2888
  Object.values(e).forEach((n) => {
2889
- const l = n._duped;
2890
- delete n._duped, t.push(n), l && t.push(...l);
2889
+ const a = n._duped;
2890
+ delete n._duped, t.push(n), a && t.push(...a);
2891
2891
  }), o.tags = t, o.tags = o.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
2892
2892
  }
2893
2893
  }
2894
- }, Yi = {
2894
+ }, ji = {
2895
2895
  mode: "server",
2896
2896
  hooks: {
2897
2897
  "tags:resolve": function(o) {
@@ -2905,110 +2905,110 @@ const Gi = ["templateParams", "htmlAttrs", "bodyAttrs"], ji = {
2905
2905
  });
2906
2906
  }
2907
2907
  }
2908
- }, Ki = ["script", "link", "bodyAttrs"];
2909
- function Qi(o) {
2908
+ }, Yi = ["script", "link", "bodyAttrs"];
2909
+ function Ki(o) {
2910
2910
  const e = {}, t = {};
2911
- return Object.entries(o.props).forEach(([n, l]) => {
2912
- n.startsWith("on") && typeof l == "function" ? (Mt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = l) : e[n] = l;
2911
+ return Object.entries(o.props).forEach(([n, a]) => {
2912
+ n.startsWith("on") && typeof a == "function" ? (At.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = a) : e[n] = a;
2913
2913
  }), { props: e, eventHandlers: t };
2914
2914
  }
2915
- const Ji = (o) => ({
2915
+ const Qi = (o) => ({
2916
2916
  hooks: {
2917
2917
  "tags:resolve": function(e) {
2918
2918
  for (const t of e.tags)
2919
- if (Ki.includes(t.tag)) {
2920
- const { props: n, eventHandlers: l } = Qi(t);
2921
- t.props = n, Object.keys(l).length && ((t.props.src || t.props.href) && (t.key = t.key || Xe(t.props.src || t.props.href)), t._eventHandlers = l);
2919
+ if (Yi.includes(t.tag)) {
2920
+ const { props: n, eventHandlers: a } = Ki(t);
2921
+ t.props = n, Object.keys(a).length && ((t.props.src || t.props.href) && (t.key = t.key || Xe(t.props.src || t.props.href)), t._eventHandlers = a);
2922
2922
  }
2923
2923
  },
2924
2924
  "dom:renderTag": function(e, t, n) {
2925
2925
  if (!e.tag._eventHandlers)
2926
2926
  return;
2927
- const l = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
2928
- Object.entries(e.tag._eventHandlers).forEach(([u, p]) => {
2929
- const h = `${e.tag._d || e.tag._p}:${u}`, d = u.slice(2).toLowerCase(), c = `data-h-${d}`;
2927
+ const a = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
2928
+ Object.entries(e.tag._eventHandlers).forEach(([u, c]) => {
2929
+ const h = `${e.tag._d || e.tag._p}:${u}`, d = u.slice(2).toLowerCase(), p = `data-h-${d}`;
2930
2930
  if (n(e.id, h, () => {
2931
- }), e.$el.hasAttribute(c))
2931
+ }), e.$el.hasAttribute(p))
2932
2932
  return;
2933
- e.$el.setAttribute(c, "");
2933
+ e.$el.setAttribute(p, "");
2934
2934
  let m;
2935
2935
  const y = (b) => {
2936
- p(b), m == null || m.disconnect();
2936
+ c(b), m == null || m.disconnect();
2937
2937
  };
2938
- u in e.$el.dataset ? y(new Event(u.replace("on", ""))) : Mt.includes(u) && typeof MutationObserver != "undefined" ? (m = new MutationObserver((b) => {
2938
+ u in e.$el.dataset ? y(new Event(u.replace("on", ""))) : At.includes(u) && typeof MutationObserver != "undefined" ? (m = new MutationObserver((b) => {
2939
2939
  b.some((k) => k.attributeName === `data-${u}`) && (y(new Event(u.replace("on", ""))), m == null || m.disconnect());
2940
2940
  }), m.observe(e.$el, {
2941
2941
  attributes: !0
2942
- })) : l.addEventListener(d, y), n(e.id, h, () => {
2943
- m == null || m.disconnect(), l.removeEventListener(d, y), e.$el.removeAttribute(c);
2942
+ })) : a.addEventListener(d, y), n(e.id, h, () => {
2943
+ m == null || m.disconnect(), a.removeEventListener(d, y), e.$el.removeAttribute(p);
2944
2944
  });
2945
2945
  });
2946
2946
  }
2947
2947
  }
2948
- }), Xi = ["link", "style", "script", "noscript"], Zi = {
2948
+ }), Ji = ["link", "style", "script", "noscript"], Xi = {
2949
2949
  hooks: {
2950
2950
  "tag:normalise": ({ tag: o }) => {
2951
- o.key && Xi.includes(o.tag) && (o.props["data-hid"] = o._h = Xe(o.key));
2951
+ o.key && Ji.includes(o.tag) && (o.props["data-hid"] = o._h = Xe(o.key));
2952
2952
  }
2953
2953
  }
2954
- }, er = {
2954
+ }, Zi = {
2955
2955
  hooks: {
2956
2956
  "tags:resolve": (o) => {
2957
2957
  const e = (t) => {
2958
2958
  var n;
2959
- return (n = o.tags.find((l) => l._d === t)) == null ? void 0 : n._p;
2959
+ return (n = o.tags.find((a) => a._d === t)) == null ? void 0 : n._p;
2960
2960
  };
2961
- for (const { prefix: t, offset: n } of Wi)
2962
- for (const l of o.tags.filter((u) => typeof u.tagPriority == "string" && u.tagPriority.startsWith(t))) {
2961
+ for (const { prefix: t, offset: n } of zi)
2962
+ for (const a of o.tags.filter((u) => typeof u.tagPriority == "string" && u.tagPriority.startsWith(t))) {
2963
2963
  const u = e(
2964
- l.tagPriority.replace(t, "")
2964
+ a.tagPriority.replace(t, "")
2965
2965
  );
2966
- typeof u != "undefined" && (l._p = u + n);
2966
+ typeof u != "undefined" && (a._p = u + n);
2967
2967
  }
2968
2968
  o.tags.sort((t, n) => t._p - n._p).sort((t, n) => Ie(t) - Ie(n));
2969
2969
  }
2970
2970
  }
2971
- }, tr = {
2971
+ }, er = {
2972
2972
  meta: "content",
2973
2973
  link: "href",
2974
2974
  htmlAttrs: "lang"
2975
- }, or = (o) => ({
2975
+ }, tr = (o) => ({
2976
2976
  hooks: {
2977
2977
  "tags:resolve": (e) => {
2978
2978
  var h;
2979
- const { tags: t } = e, n = (h = t.find((d) => d.tag === "title")) == null ? void 0 : h.textContent, l = t.findIndex((d) => d.tag === "templateParams"), u = l !== -1 ? t[l].props : {}, p = u.separator || "|";
2980
- delete u.separator, u.pageTitle = _e(u.pageTitle || n || "", u, p);
2981
- for (const d of t.filter((c) => c.processTemplateParams !== !1)) {
2982
- const c = tr[d.tag];
2983
- c && typeof d.props[c] == "string" ? d.props[c] = _e(d.props[c], u, p) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((m) => {
2984
- typeof d[m] == "string" && (d[m] = _e(d[m], u, p));
2979
+ const { tags: t } = e, n = (h = t.find((d) => d.tag === "title")) == null ? void 0 : h.textContent, a = t.findIndex((d) => d.tag === "templateParams"), u = a !== -1 ? t[a].props : {}, c = u.separator || "|";
2980
+ delete u.separator, u.pageTitle = _e(u.pageTitle || n || "", u, c);
2981
+ for (const d of t.filter((p) => p.processTemplateParams !== !1)) {
2982
+ const p = er[d.tag];
2983
+ p && typeof d.props[p] == "string" ? d.props[p] = _e(d.props[p], u, c) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((m) => {
2984
+ typeof d[m] == "string" && (d[m] = _e(d[m], u, c));
2985
2985
  });
2986
2986
  }
2987
- o._templateParams = u, o._separator = p, e.tags = t.filter((d) => d.tag !== "templateParams");
2987
+ o._templateParams = u, o._separator = c, e.tags = t.filter((d) => d.tag !== "templateParams");
2988
2988
  }
2989
2989
  }
2990
- }), nr = {
2990
+ }), or = {
2991
2991
  hooks: {
2992
2992
  "tags:resolve": (o) => {
2993
2993
  const { tags: e } = o;
2994
- let t = e.findIndex((l) => l.tag === "titleTemplate");
2995
- const n = e.findIndex((l) => l.tag === "title");
2994
+ let t = e.findIndex((a) => a.tag === "titleTemplate");
2995
+ const n = e.findIndex((a) => a.tag === "title");
2996
2996
  if (n !== -1 && t !== -1) {
2997
- const l = gt(
2997
+ const a = gt(
2998
2998
  e[t].textContent,
2999
2999
  e[n].textContent
3000
3000
  );
3001
- l !== null ? e[n].textContent = l || e[n].textContent : delete e[n];
3001
+ a !== null ? e[n].textContent = a || e[n].textContent : delete e[n];
3002
3002
  } else if (t !== -1) {
3003
- const l = gt(
3003
+ const a = gt(
3004
3004
  e[t].textContent
3005
3005
  );
3006
- l !== null && (e[t].textContent = l, e[t].tag = "title", t = -1);
3006
+ a !== null && (e[t].textContent = a, e[t].tag = "title", t = -1);
3007
3007
  }
3008
3008
  t !== -1 && delete e[t], o.tags = e.filter(Boolean);
3009
3009
  }
3010
3010
  }
3011
- }, ir = {
3011
+ }, nr = {
3012
3012
  hooks: {
3013
3013
  "tags:afterResolve": function(o) {
3014
3014
  for (const e of o.tags)
@@ -3017,37 +3017,37 @@ const Ji = (o) => ({
3017
3017
  }
3018
3018
  };
3019
3019
  // @__NO_SIDE_EFFECTS__
3020
- function rr(o = {}) {
3021
- const e = sr(o);
3022
- return e.use(/* @__PURE__ */ Ui()), e;
3020
+ function ir(o = {}) {
3021
+ const e = rr(o);
3022
+ return e.use(/* @__PURE__ */ qi()), e;
3023
3023
  }
3024
3024
  function bt(o, e) {
3025
3025
  return !o || o === "server" && e || o === "client" && !e;
3026
3026
  }
3027
- function sr(o = {}) {
3028
- const e = xi();
3029
- e.addHooks(o.hooks || {}), o.document = o.document || (Ri ? document : void 0);
3027
+ function rr(o = {}) {
3028
+ const e = Pi();
3029
+ e.addHooks(o.hooks || {}), o.document = o.document || (Di ? document : void 0);
3030
3030
  const t = !o.document, n = () => {
3031
3031
  h.dirty = !0, e.callHook("entries:updated", h);
3032
3032
  };
3033
- let l = 0, u = [];
3034
- const p = [], h = {
3035
- plugins: p,
3033
+ let a = 0, u = [];
3034
+ const c = [], h = {
3035
+ plugins: c,
3036
3036
  dirty: !1,
3037
3037
  resolvedOptions: o,
3038
3038
  hooks: e,
3039
3039
  headEntries() {
3040
3040
  return u;
3041
3041
  },
3042
- use(c) {
3043
- const m = typeof c == "function" ? c(h) : c;
3044
- (!m.key || !p.some((y) => y.key === m.key)) && (p.push(m), bt(m.mode, t) && e.addHooks(m.hooks || {}));
3042
+ use(p) {
3043
+ const m = typeof p == "function" ? p(h) : p;
3044
+ (!m.key || !c.some((y) => y.key === m.key)) && (c.push(m), bt(m.mode, t) && e.addHooks(m.hooks || {}));
3045
3045
  },
3046
- push(c, m) {
3046
+ push(p, m) {
3047
3047
  m == null || delete m.head;
3048
3048
  const y = ee({
3049
- _i: l++,
3050
- input: c
3049
+ _i: a++,
3050
+ input: p
3051
3051
  }, m);
3052
3052
  return bt(y.mode, t) && (u.push(y), n()), {
3053
3053
  dispose() {
@@ -3061,78 +3061,86 @@ function sr(o = {}) {
3061
3061
  },
3062
3062
  resolveTags() {
3063
3063
  return Q(this, null, function* () {
3064
- const c = { tags: [], entries: [...u] };
3065
- yield e.callHook("entries:resolve", c);
3066
- for (const m of c.entries) {
3064
+ const p = { tags: [], entries: [...u] };
3065
+ yield e.callHook("entries:resolve", p);
3066
+ for (const m of p.entries) {
3067
3067
  const y = m.resolvedInput || m.input;
3068
3068
  if (m.resolvedInput = yield m.transform ? m.transform(y) : y, m.resolvedInput)
3069
- for (const b of yield zi(m)) {
3069
+ for (const b of yield Bi(m)) {
3070
3070
  const s = { tag: b, entry: m, resolvedOptions: h.resolvedOptions };
3071
- yield e.callHook("tag:normalise", s), c.tags.push(s.tag);
3071
+ yield e.callHook("tag:normalise", s), p.tags.push(s.tag);
3072
3072
  }
3073
3073
  }
3074
- return yield e.callHook("tags:beforeResolve", c), yield e.callHook("tags:resolve", c), yield e.callHook("tags:afterResolve", c), c.tags;
3074
+ return yield e.callHook("tags:beforeResolve", p), yield e.callHook("tags:resolve", p), yield e.callHook("tags:afterResolve", p), p.tags;
3075
3075
  });
3076
3076
  },
3077
3077
  ssr: t
3078
3078
  };
3079
3079
  return [
3080
+ Gi,
3080
3081
  ji,
3081
- Yi,
3082
- Ji,
3082
+ Qi,
3083
+ Xi,
3083
3084
  Zi,
3084
- er,
3085
+ tr,
3085
3086
  or,
3086
3087
  nr,
3087
- ir,
3088
3088
  ...(o == null ? void 0 : o.plugins) || []
3089
- ].forEach((c) => h.use(c)), h.hooks.callHook("init", h), h;
3089
+ ].forEach((p) => h.use(p)), h.hooks.callHook("init", h), h;
3090
3090
  }
3091
- const ar = Vo.startsWith("3");
3092
- function lr(o) {
3093
- return typeof o == "function" ? o() : a(o);
3091
+ const sr = So.startsWith("3");
3092
+ function ar(o) {
3093
+ return typeof o == "function" ? o() : l(o);
3094
3094
  }
3095
3095
  function je(o, e = "") {
3096
3096
  if (o instanceof Promise)
3097
3097
  return o;
3098
- const t = lr(o);
3098
+ const t = ar(o);
3099
3099
  return !o || !t ? t : Array.isArray(t) ? t.map((n) => je(n, e)) : typeof t == "object" ? Object.fromEntries(
3100
- Object.entries(t).map(([n, l]) => n === "titleTemplate" || n.startsWith("on") ? [n, a(l)] : [n, je(l, n)])
3100
+ Object.entries(t).map(([n, a]) => n === "titleTemplate" || n.startsWith("on") ? [n, l(a)] : [n, je(a, n)])
3101
3101
  ) : t;
3102
3102
  }
3103
- const ur = {
3103
+ const lr = {
3104
3104
  hooks: {
3105
3105
  "entries:resolve": function(o) {
3106
3106
  for (const e of o.entries)
3107
3107
  e.resolvedInput = je(e.input);
3108
3108
  }
3109
3109
  }
3110
- }, dr = "usehead";
3111
- function cr(o) {
3110
+ }, ur = "usehead";
3111
+ function dr(o) {
3112
3112
  return {
3113
3113
  install(t) {
3114
- ar && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(dr, o));
3114
+ sr && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(ur, o));
3115
3115
  }
3116
3116
  }.install;
3117
3117
  }
3118
- function pr(o = {}) {
3118
+ function cr(o = {}) {
3119
3119
  o.domDelayFn = o.domDelayFn || ((t) => $t(() => setTimeout(() => t(), 0)));
3120
- const e = /* @__PURE__ */ rr(o);
3121
- return e.use(ur), e.install = cr(e), e;
3120
+ const e = /* @__PURE__ */ ir(o);
3121
+ return e.use(lr), e.install = dr(e), e;
3122
3122
  }
3123
- const hr = Lo(), fr = pr(), ae = Po({ components: { Hotel: Lt } });
3124
- ae.use(fr);
3125
- ae.use(hr);
3126
- ae.use(wt);
3127
- ae.use(xo);
3128
- ae.use(Bo);
3129
- ae.use(wo, { bootstrap: !0 });
3130
- ae.mount("#konnectio-hotel-app");
3131
- const $r = {
3132
- install: (o) => {
3133
- o.component("Hotel", Lt);
3123
+ const pr = Vo(), hr = cr();
3124
+ class fr extends HTMLElement {
3125
+ constructor() {
3126
+ super();
3134
3127
  }
3135
- };
3128
+ connectedCallback() {
3129
+ var c;
3130
+ const e = typeof ve == "function" ? ve.options : ve, t = Array.isArray(e.props) ? e.props : Object.keys(e.props || {}), n = {};
3131
+ for (const h of t) {
3132
+ const d = (c = this.attributes.getNamedItem(h)) == null ? void 0 : c.value;
3133
+ if (!d)
3134
+ break;
3135
+ n[h] = d;
3136
+ }
3137
+ const a = Lo(ve, n);
3138
+ a.use(hr), a.use(pr), a.use(xt), a.use(Po), a.use(Mo), a.use(xo, { bootstrap: !0 });
3139
+ const u = document.createElement("div");
3140
+ a.mount(u), this.appendChild(u.children[0]);
3141
+ }
3142
+ }
3143
+ window.customElements.define("konnectio-hotel", fr);
3136
3144
  export {
3137
- $r as default
3145
+ fr as default
3138
3146
  };