@konnectio/core 4.0.64 → 4.0.65

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 (70) hide show
  1. package/dist/{ActionField-D28Pe5Bb.js → ActionField-D5c9yQMq.js} +15 -15
  2. package/dist/ActionField-D5c9yQMq.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-BfyLbK2o.js +299 -0
  4. package/dist/AvailabilitySkeleton-BfyLbK2o.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js} +256 -254
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js.br +0 -0
  7. package/dist/{CheckoutWindow-Cv7p0DrF.js → CheckoutWindow-B74NMuGr.js} +5 -5
  8. package/dist/CheckoutWindow-B74NMuGr.js.br +0 -0
  9. package/dist/{ErrorMessage-T11Ou3eh.js → ErrorMessage-CWR5rjTx.js} +3 -3
  10. package/dist/ErrorMessage-CWR5rjTx.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DeqQKdKV.js → EventAvailabilityForm-lFAnwVMX.js} +6 -6
  12. package/dist/EventAvailabilityForm-lFAnwVMX.js.br +0 -0
  13. package/dist/{Field-DcoRYqr8.js → Field-C4DyN4XC.js} +3 -3
  14. package/dist/Field-C4DyN4XC.js.br +0 -0
  15. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js +18813 -0
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js.br +0 -0
  17. package/dist/{TermsOfService-CL0zaNw_.js → TermsOfService-Bx4b2VxT.js} +13 -13
  18. package/dist/TermsOfService-Bx4b2VxT.js.br +0 -0
  19. package/dist/{_-C5tf0vwv.js → _-DmU4JLX1.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-BWAizmh6.js → _.vue_vue_type_style_index_0_lang-B2Kq55VX.js} +14 -14
  21. package/dist/_.vue_vue_type_style_index_0_lang-B2Kq55VX.js.br +0 -0
  22. package/dist/_commonjsHelpers-BbdZelfp.js +25 -0
  23. package/dist/_commonjsHelpers-BbdZelfp.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-CY9ljBue.js → _sentry-release-injection-file-tJBg8sGS.js} +3 -3
  25. package/dist/_sentry-release-injection-file-tJBg8sGS.js.br +0 -0
  26. package/dist/availability.js +39 -37
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +2 -2
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +19 -19
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +41 -41
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +20 -20
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/{giftCard-CHf9cbmB.js → giftCard-SDJGsDep.js} +5 -5
  37. package/dist/giftCard-SDJGsDep.js.br +0 -0
  38. package/dist/hotel.js +893 -883
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-q1wqMEhq.js → masonry.plugin-BhK5XQta.js} +9 -9
  41. package/dist/masonry.plugin-BhK5XQta.js.br +0 -0
  42. package/dist/{mitt-CZC0Vuw7.js → mitt-CGFh35r5.js} +2 -2
  43. package/dist/mitt-CGFh35r5.js.br +0 -0
  44. package/dist/polyfill.js +6 -5
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{style-Di3bMYae.js → style-BQlIFUN3.js} +160 -153
  47. package/dist/style-BQlIFUN3.js.br +0 -0
  48. package/dist/style.css +1 -1
  49. package/dist/style.css.br +0 -0
  50. package/dist/{_commonjsHelpers-BeCRh3Xf.js → tracing-B1Jp160Y.js} +197 -204
  51. package/dist/tracing-B1Jp160Y.js.br +0 -0
  52. package/package.json +9 -9
  53. package/dist/ActionField-D28Pe5Bb.js.br +0 -0
  54. package/dist/AvailabilitySkeleton-BGEhEqa-.js +0 -301
  55. package/dist/AvailabilitySkeleton-BGEhEqa-.js.br +0 -0
  56. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js.br +0 -0
  57. package/dist/CheckoutWindow-Cv7p0DrF.js.br +0 -0
  58. package/dist/ErrorMessage-T11Ou3eh.js.br +0 -0
  59. package/dist/EventAvailabilityForm-DeqQKdKV.js.br +0 -0
  60. package/dist/Field-DcoRYqr8.js.br +0 -0
  61. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js +0 -18743
  62. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js.br +0 -0
  63. package/dist/TermsOfService-CL0zaNw_.js.br +0 -0
  64. package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js.br +0 -0
  65. package/dist/_commonjsHelpers-BeCRh3Xf.js.br +0 -0
  66. package/dist/_sentry-release-injection-file-CY9ljBue.js.br +0 -0
  67. package/dist/giftCard-CHf9cbmB.js.br +0 -0
  68. package/dist/masonry.plugin-q1wqMEhq.js.br +0 -0
  69. package/dist/mitt-CZC0Vuw7.js.br +0 -0
  70. package/dist/style-Di3bMYae.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,47 +1,47 @@
1
- import { d as Q, r as le, a as c, b as A, w as C, l as Ke, u as o, g as h, e as a, t as v, A as xe, B as ze, f as g, i as _, s as O, F as R, x as Qe, v as F, h as De, c as j, p as Vt, j as Tt, o as nt, z as Se, n as He, S as no, C as lo, D as ao, E as io, k as so } from "./_sentry-release-injection-file-CY9ljBue.js";
2
- import { u as ae, s as Z, T as ro, c as uo, i as co, m as po } from "./mitt-CZC0Vuw7.js";
3
- import { e as Ve, y as fe, u as _e, I as z, s as ce, z as Xe, l as ct, j as de, h as ne, _ as pe, o as Ee, A as wt, b as et, d as ue, B as Ct, D as pt, T as re, q as mo, F as fo, a as ho, C as vo, i as mt, k as yo, m as ft, c as go, n as bo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js";
4
- import { G as ko } from "./style-Di3bMYae.js";
5
- import { A as _o, H as Vo } from "./AvailabilitySkeleton-BGEhEqa-.js";
6
- import { R as To, B as Me, L as wo, S as Co, M as $o, a as Je, C as Ao, T as Po, V as Do } from "./masonry.plugin-q1wqMEhq.js";
7
- import { S as So } from "./TermsOfService-CL0zaNw_.js";
8
- import { C as Ie, B as Ho, P as Io, a as Bo } from "./CheckoutWindow-Cv7p0DrF.js";
9
- import { _ as $t } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js";
1
+ import { d as ee, r as le, a as c, b as A, w as C, l as xe, u as t, g as f, e as a, t as h, A as ze, B as Je, f as g, i as _, s as U, F as M, x as Xe, v as R, h as Be, c as O, p as Vt, j as Tt, o as nt, z as Ee, n as Ne, S as ao, C as io, D as so, E as ro, k as uo } from "./_sentry-release-injection-file-tJBg8sGS.js";
2
+ import { u as ae, s as X, T as co, c as po, i as mo, m as fo } from "./mitt-CGFh35r5.js";
3
+ import { c as ho, G as vo } from "./style-BQlIFUN3.js";
4
+ import { d as Te, x as fe, u as Ve, I as z, s as pe, y as et, l as ct, i as ue, g as oe, _ as me, n as Re, z as wt, b as tt, c as ce, B as Ct, A as pt, T as de, p as yo, D as go, a as bo, C as ko, h as mt, j as _o, k as ft, m as Vo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-D7XjSTM3.js";
5
+ import { A as To, H as wo } from "./AvailabilitySkeleton-BfyLbK2o.js";
6
+ import { R as Co, B as Ue, L as $o, S as Ao, M as Po, a as Ye, C as Do, T as So, V as Ho } from "./masonry.plugin-BhK5XQta.js";
7
+ import { S as Io } from "./TermsOfService-Bx4b2VxT.js";
8
+ import { C as Le, B as Bo, P as Eo, a as No } from "./CheckoutWindow-B74NMuGr.js";
9
+ import { _ as $t } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CxZ-h3My.js";
10
10
  (function() {
11
11
  try {
12
- var l = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
13
- n && (l._sentryDebugIds = l._sentryDebugIds || {}, l._sentryDebugIds[n] = "05849708-6fb3-4a0e-bbf1-b4f61daed931", l._sentryDebugIdIdentifier = "sentry-dbid-05849708-6fb3-4a0e-bbf1-b4f61daed931");
12
+ var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
13
+ l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "600fa9b6-b795-4a42-a6a9-89fb819c0f8d", n._sentryDebugIdIdentifier = "sentry-dbid-600fa9b6-b795-4a42-a6a9-89fb819c0f8d");
14
14
  } catch {
15
15
  }
16
16
  })();
17
17
  {
18
- var Ce = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
19
- Ce._sentryModuleMetadata = Ce._sentryModuleMetadata || {}, Ce._sentryModuleMetadata[new Error().stack] = Object.assign(
18
+ var De = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
19
+ De._sentryModuleMetadata = De._sentryModuleMetadata || {}, De._sentryModuleMetadata[new Error().stack] = Object.assign(
20
20
  {},
21
- Ce._sentryModuleMetadata[new Error().stack],
21
+ De._sentryModuleMetadata[new Error().stack],
22
22
  { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
23
23
  );
24
24
  }
25
- const Eo = { key: 0 }, Mo = { class: "konnectio-hotel-reservation-warning" }, Ro = { class: "konnectio-hotel-reservation-warning" }, No = { class: "konnectio-hotel-reservation-warning" };
26
- const Uo = { key: 0 }, Lo = { key: 1 }, Fo = { key: 0 }, Oo = { class: "konnectio-reservation-actions" }, jo = /* @__PURE__ */ Q({
25
+ const Lo = { key: 0 }, Mo = { class: "konnectio-hotel-reservation-warning" }, Ro = { class: "konnectio-hotel-reservation-warning" }, Uo = { class: "konnectio-hotel-reservation-warning" };
26
+ const Fo = { key: 0 }, Oo = { key: 1 }, jo = { key: 0 }, qo = { class: "konnectio-reservation-actions" }, Go = /* @__PURE__ */ ee({
27
27
  __name: "HotelReservationForm",
28
28
  props: {
29
29
  showGiftCard: { type: Boolean, default: !1 },
30
30
  showTermsNotice: { type: Boolean, default: !1 }
31
31
  },
32
- setup(l) {
33
- const { t: n } = ae(), {
34
- hideArrivalDepartureInputs: t,
32
+ setup(n) {
33
+ const { t: l } = ae(), {
34
+ hideArrivalDepartureInputs: o,
35
35
  disableArrivalUserSelection: e,
36
36
  disableDepartureUserSelection: i,
37
37
  arrivalDefault: s,
38
38
  departureDefault: m,
39
39
  disableNewsletterSignup: p,
40
40
  currency: u
41
- } = Z(Ve()), {
41
+ } = X(Te()), {
42
42
  arrivalTime: r,
43
43
  departureTime: d,
44
- roomDisplay: f,
44
+ roomDisplay: v,
45
45
  templateID: V,
46
46
  totalPrice: $,
47
47
  areListingsLoading: w,
@@ -52,169 +52,169 @@ const Uo = { key: 0 }, Lo = { key: 1 }, Fo = { key: 0 }, Oo = { class: "konnecti
52
52
  currentDepartureDate: D,
53
53
  datesMismatch: I,
54
54
  currentLocation: J,
55
- locationMismatch: q,
55
+ locationMismatch: j,
56
56
  newsMails: W,
57
- termsOfService: L,
58
- discountCode: X,
59
- hasTermOfService: ie,
60
- acceptTerms: N,
61
- totalTemplateAddonPrice: me
62
- } = Z(fe()), { hasHotelLocations: ve } = Z(_e()), { removeRoom: Te, validateDiscountCode: Re } = fe(), { getHotelLocationName: Ne } = _e(), ye = le(!1);
63
- function ge(ee) {
64
- return ee.reduce((U, { totalPrice: be }) => U + be, 0);
57
+ termsOfService: q,
58
+ discountCode: Y,
59
+ hasTermOfService: Z,
60
+ acceptTerms: ye,
61
+ totalTemplateAddonPrice: we
62
+ } = X(fe()), { hasHotelLocations: F } = X(Ve()), { removeRoom: ge, validateDiscountCode: be } = fe(), { getHotelLocationName: ke } = Ve(), _e = le(!1);
63
+ function Ce(ne) {
64
+ return ne.reduce((N, { totalPrice: he }) => N + he, 0);
65
65
  }
66
- return (ee, K) => (c(), A(To, {
67
- "discount-code": o(X),
68
- "onUpdate:discountCode": K[4] || (K[4] = (U) => F(X) ? X.value = U : null),
69
- "validate-discount-code": o(Re),
70
- "total-price": o($),
71
- "show-gift-card": ee.showGiftCard,
72
- "show-terms-notice": ee.showTermsNotice,
73
- "is-sidebar-loading": o(w),
74
- notice: o(n)("hotel.reservationNotice")
66
+ return (ne, K) => (c(), A(Co, {
67
+ "discount-code": t(Y),
68
+ "onUpdate:discountCode": K[4] || (K[4] = (N) => R(Y) ? Y.value = N : null),
69
+ "validate-discount-code": t(be),
70
+ "total-price": t($),
71
+ "show-gift-card": ne.showGiftCard,
72
+ "show-terms-notice": ne.showTermsNotice,
73
+ "is-sidebar-loading": t(w),
74
+ notice: t(l)("hotel.reservationNotice")
75
75
  }, {
76
76
  form: C(() => [
77
- Ke(ee.$slots, "form", {}, void 0, !0)
77
+ xe(ne.$slots, "form", {}, void 0, !0)
78
78
  ]),
79
79
  "reservation-summary": C(() => [
80
- o(ve) ? (c(), h("li", Eo, [
81
- a("span", null, v(o(n)("general.location")), 1),
80
+ t(F) && !isNaN(t(J)) ? (c(), f("li", Lo, [
81
+ a("span", null, h(t(l)("general.location")), 1),
82
82
  a("b", null, [
83
- a("span", null, v(o(Ne)(o(J))), 1),
84
- xe(a("span", Mo, [
83
+ a("span", null, h(t(ke)(t(J))), 1),
84
+ ze(a("span", Mo, [
85
85
  g(z, {
86
86
  icon: "exclamation-triangle",
87
87
  type: "fas"
88
88
  })
89
89
  ], 512), [
90
- [ze, o(q)]
90
+ [Je, t(j)]
91
91
  ])
92
92
  ])
93
93
  ])) : _("", !0),
94
94
  a("li", null, [
95
- a("span", null, v(o(n)("booking.reservation.arrival")), 1),
95
+ a("span", null, h(t(l)("booking.reservation.arrival")), 1),
96
96
  a("b", null, [
97
- a("span", null, v(o(t) ? o(ce)(o(k)) : `${o(ce)(o(k))}, ${o(e) ? o(s) : o(r)}`), 1),
98
- xe(a("span", Ro, [
97
+ a("span", null, h(t(o) ? t(pe)(t(k)) : `${t(pe)(t(k))}, ${t(e) ? t(s) : t(r)}`), 1),
98
+ ze(a("span", Ro, [
99
99
  g(z, {
100
100
  icon: "exclamation-triangle",
101
101
  type: "fas"
102
102
  })
103
103
  ], 512), [
104
- [ze, o(I)]
104
+ [Je, t(I)]
105
105
  ])
106
106
  ])
107
107
  ]),
108
108
  a("li", null, [
109
- a("span", null, v(o(n)("booking.reservation.departure")), 1),
109
+ a("span", null, h(t(l)("booking.reservation.departure")), 1),
110
110
  a("b", null, [
111
- a("span", null, v(o(t) ? o(ce)(o(D)) : `${o(ce)(o(D))}, ${o(i) ? o(m) : o(d)}`), 1),
112
- xe(a("span", No, [
111
+ a("span", null, h(t(o) ? t(pe)(t(D)) : `${t(pe)(t(D))}, ${t(i) ? t(m) : t(d)}`), 1),
112
+ ze(a("span", Uo, [
113
113
  g(z, {
114
114
  icon: "exclamation-triangle",
115
115
  type: "fas"
116
116
  })
117
117
  ], 512), [
118
- [ze, o(I)]
118
+ [Je, t(I)]
119
119
  ])
120
120
  ])
121
121
  ]),
122
122
  a("li", null, [
123
- a("span", null, v(o(n)("booking.reservation.nights")), 1),
124
- a("b", null, v(o(Xe)(o(k), o(D))) + " " + v(o(ct)(o(Xe)(o(k), o(D)) === 1 ? o(n)("booking.reservation.night") : o(n)("booking.reservation.nights"))), 1)
123
+ a("span", null, h(t(l)("booking.reservation.nights")), 1),
124
+ a("b", null, h(t(et)(t(k), t(D))) + " " + h(t(ct)(t(et)(t(k), t(D)) === 1 ? t(l)("booking.reservation.night") : t(l)("booking.reservation.nights"))), 1)
125
125
  ]),
126
- o(B) ? (c(!0), h(R, { key: 1 }, O(o(B), (U) => (c(), h("li", {
127
- key: U.id
126
+ t(B) ? (c(!0), f(M, { key: 1 }, U(t(B), (N) => (c(), f("li", {
127
+ key: N.id
128
128
  }, [
129
- a("span", null, v(`${o(n)("general.discountCode")} (${U.value})`), 1),
130
- a("b", null, v(U.key), 1)
129
+ a("span", null, h(`${t(l)("general.discountCode")} (${N.value})`), 1),
130
+ a("b", null, h(N.key), 1)
131
131
  ]))), 128)) : _("", !0)
132
132
  ]),
133
133
  "price-summary": C(() => [
134
- isNaN(o(V)) && o(f).length > 0 ? (c(!0), h(R, { key: 0 }, O(o(f), ({
135
- roomGroupID: U,
136
- title: be,
137
- variants: Ue
138
- }) => (c(), h("div", { key: U }, [
134
+ isNaN(t(V)) && t(v).length > 0 ? (c(!0), f(M, { key: 0 }, U(t(v), ({
135
+ roomGroupID: N,
136
+ title: he,
137
+ variants: $e
138
+ }) => (c(), f("div", { key: N }, [
139
139
  a("h6", null, [
140
- a("span", null, v(be), 1)
140
+ a("span", null, h(he), 1)
141
141
  ]),
142
- (c(!0), h(R, null, O(Ue, (we, Le) => (c(), h("div", { key: Le }, [
143
- (c(!0), h(R, null, O(we.rooms, (te, Fe) => (c(), h("ul", { key: Fe }, [
142
+ (c(!0), f(M, null, U($e, (Ae, Fe) => (c(), f("div", { key: Fe }, [
143
+ (c(!0), f(M, null, U(Ae.rooms, (ie, Oe) => (c(), f("ul", { key: Oe }, [
144
144
  a("li", null, [
145
145
  a("span", null, [
146
146
  a("span", null, [
147
- Qe(v(o(de)(we.name)) + " ( ", 1),
147
+ Xe(h(t(ue)(Ae.name)) + " ( ", 1),
148
148
  g(z, {
149
149
  icon: "male",
150
150
  type: "fas",
151
151
  color: "font"
152
152
  }),
153
- a("span", null, v(te.adultsCount), 1),
154
- te.childrenCount > 0 ? (c(), h(R, { key: 0 }, [
153
+ a("span", null, h(ie.adultsCount), 1),
154
+ ie.childrenCount > 0 ? (c(), f(M, { key: 0 }, [
155
155
  g(z, {
156
156
  icon: "child",
157
157
  type: "fas",
158
158
  color: "font"
159
159
  }),
160
- a("span", null, v(te.childrenCount), 1)
160
+ a("span", null, h(ie.childrenCount), 1)
161
161
  ], 64)) : _("", !0),
162
- Qe(") ")
162
+ Xe(") ")
163
163
  ])
164
164
  ]),
165
165
  a("b", null, [
166
- a("span", null, v(o(ne)(te.totalPrice, o(u))), 1),
166
+ a("span", null, h(t(oe)(ie.totalPrice, t(u))), 1),
167
167
  _("", !0)
168
168
  ])
169
169
  ]),
170
- ge(te.roomAddons) > 0 ? (c(), h("li", Uo, [
171
- a("span", null, v(o(n)("general.addons")), 1),
172
- a("b", null, v(o(ne)(ge(te.roomAddons), o(u))), 1)
170
+ Ce(ie.roomAddons) > 0 ? (c(), f("li", Fo, [
171
+ a("span", null, h(t(l)("general.addons")), 1),
172
+ a("b", null, h(t(oe)(Ce(ie.roomAddons), t(u))), 1)
173
173
  ])) : _("", !0)
174
174
  ]))), 128))
175
175
  ]))), 128))
176
176
  ]))), 128)) : _("", !0),
177
- o(H) && o(E) ? (c(), h("div", Lo, [
177
+ t(H) && t(E) ? (c(), f("div", Oo, [
178
178
  a("h6", null, [
179
- a("span", null, v(o(de)(o(E).name)), 1)
179
+ a("span", null, h(t(ue)(t(E).name)), 1)
180
180
  ]),
181
181
  a("div", null, [
182
182
  a("ul", null, [
183
183
  a("li", null, [
184
184
  a("span", null, [
185
- a("span", null, v(o(de)(o(H).title)), 1)
185
+ a("span", null, h(t(ue)(t(H).title)), 1)
186
186
  ]),
187
187
  a("b", null, [
188
- a("span", null, v(o(ne)(o(H).extraPrice, o(u))), 1)
188
+ a("span", null, h(t(oe)(t(H).extraPrice, t(u))), 1)
189
189
  ])
190
190
  ]),
191
- o(me) ? (c(), h("li", Fo, [
192
- a("span", null, v(o(n)("general.addons")), 1),
193
- a("b", null, v(o(ne)(o(me), o(u))), 1)
191
+ t(we) ? (c(), f("li", jo, [
192
+ a("span", null, h(t(l)("general.addons")), 1),
193
+ a("b", null, h(t(oe)(t(we), t(u))), 1)
194
194
  ])) : _("", !0)
195
195
  ])
196
196
  ])
197
197
  ])) : _("", !0)
198
198
  ]),
199
199
  actions: C(() => [
200
- a("ul", Oo, [
201
- o(p) ? _("", !0) : (c(), A(Ie, {
200
+ a("ul", qo, [
201
+ t(p) ? _("", !0) : (c(), A(Le, {
202
202
  key: 0,
203
- modelValue: o(W),
204
- "onUpdate:modelValue": K[0] || (K[0] = (U) => F(W) ? W.value = U : null),
203
+ modelValue: t(W),
204
+ "onUpdate:modelValue": K[0] || (K[0] = (N) => R(W) ? W.value = N : null),
205
205
  type: "checkbox",
206
206
  name: "newsletter",
207
- label: o(n)("booking.reservation.newsletterSignUp")
207
+ label: t(l)("booking.reservation.newsletterSignUp")
208
208
  }, null, 8, ["modelValue", "label"])),
209
- o(ie) ? (c(), A(Ie, {
209
+ t(Z) ? (c(), A(Le, {
210
210
  key: 1,
211
- modelValue: o(N),
212
- "onUpdate:modelValue": K[2] || (K[2] = (U) => F(N) ? N.value = U : null),
211
+ modelValue: t(ye),
212
+ "onUpdate:modelValue": K[2] || (K[2] = (N) => R(ye) ? ye.value = N : null),
213
213
  type: "checkbox",
214
214
  name: "terms"
215
215
  }, {
216
216
  default: C(() => [
217
- g(o(ro), {
217
+ g(t(co), {
218
218
  keypath: "general.termsAndConditionsCheckbox",
219
219
  tag: "span",
220
220
  scope: "global"
@@ -222,9 +222,9 @@ const Uo = { key: 0 }, Lo = { key: 1 }, Fo = { key: 0 }, Oo = { class: "konnecti
222
222
  terms: C(() => [
223
223
  a("a", {
224
224
  class: "konnectio-accept-terms-link",
225
- onClick: K[1] || (K[1] = De((U) => ye.value = !0, ["prevent"]))
225
+ onClick: K[1] || (K[1] = Be((N) => _e.value = !0, ["prevent"]))
226
226
  }, [
227
- a("span", null, v(o(ct)(o(n)("general.termsAndConditions"))), 1)
227
+ a("span", null, h(t(ct)(t(l)("general.termsAndConditions"))), 1)
228
228
  ])
229
229
  ]),
230
230
  _: 1
@@ -232,21 +232,21 @@ const Uo = { key: 0 }, Lo = { key: 1 }, Fo = { key: 0 }, Oo = { class: "konnecti
232
232
  ]),
233
233
  _: 1
234
234
  }, 8, ["modelValue"])) : _("", !0),
235
- Ke(ee.$slots, "actions", {}, void 0, !0),
236
- g(So, {
237
- modelValue: ye.value,
238
- "onUpdate:modelValue": K[3] || (K[3] = (U) => ye.value = U),
239
- description: o(L)
235
+ xe(ne.$slots, "actions", {}, void 0, !0),
236
+ g(Io, {
237
+ modelValue: _e.value,
238
+ "onUpdate:modelValue": K[3] || (K[3] = (N) => _e.value = N),
239
+ description: t(q)
240
240
  }, null, 8, ["modelValue", "description"])
241
241
  ])
242
242
  ]),
243
243
  navigation: C(() => [
244
- Ke(ee.$slots, "navigation", {}, void 0, !0)
244
+ xe(ne.$slots, "navigation", {}, void 0, !0)
245
245
  ]),
246
246
  _: 3
247
247
  }, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
248
248
  }
249
- }), Ye = /* @__PURE__ */ pe(jo, [["__scopeId", "data-v-61664f48"]]), qo = (l) => (Vt("data-v-69fe83d8"), l = l(), Tt(), l), Go = { class: "konnectio-room-config-option" }, Wo = { key: 0 }, Ko = { class: "konnectio-selected-room-config" }, xo = { class: "konnectio-selected-room-config-people" }, zo = { key: 0 }, Jo = { class: "konnectio-selected-room-config-price" }, Yo = /* @__PURE__ */ qo(() => /* @__PURE__ */ a("span", null, null, -1)), Zo = /* @__PURE__ */ Q({
249
+ }), Ze = /* @__PURE__ */ me(Go, [["__scopeId", "data-v-e86da615"]]), Wo = (n) => (Vt("data-v-69fe83d8"), n = n(), Tt(), n), Ko = { class: "konnectio-room-config-option" }, xo = { key: 0 }, zo = { class: "konnectio-selected-room-config" }, Jo = { class: "konnectio-selected-room-config-people" }, Yo = { key: 0 }, Zo = { class: "konnectio-selected-room-config-price" }, Qo = /* @__PURE__ */ Wo(() => /* @__PURE__ */ a("span", null, null, -1)), Xo = /* @__PURE__ */ ee({
250
250
  __name: "RoomConfigField",
251
251
  props: {
252
252
  modelValue: {},
@@ -256,16 +256,16 @@ const Uo = { key: 0 }, Lo = { key: 1 }, Fo = { key: 0 }, Oo = { class: "konnecti
256
256
  label: {}
257
257
  },
258
258
  emits: ["update:modelValue"],
259
- setup(l, { emit: n }) {
260
- const { t } = ae(), { currency: e } = Z(Ve()), i = n, s = l;
259
+ setup(n, { emit: l }) {
260
+ const { t: o } = ae(), { currency: e } = X(Te()), i = l, s = n;
261
261
  function m(u) {
262
262
  i("update:modelValue", u);
263
263
  }
264
- const p = j({
264
+ const p = O({
265
265
  get: () => s.modelValue,
266
266
  set: (u) => m(u)
267
267
  });
268
- return (u, r) => (c(), A(Ee, {
268
+ return (u, r) => (c(), A(Re, {
269
269
  modelValue: p.value,
270
270
  "onUpdate:modelValue": r[0] || (r[0] = (d) => p.value = d),
271
271
  label: u.label,
@@ -279,56 +279,56 @@ const Uo = { key: 0 }, Lo = { key: 1 }, Fo = { key: 0 }, Oo = { class: "konnecti
279
279
  searchable: !1
280
280
  }, {
281
281
  option: C(({ data: d }) => [
282
- a("span", Go, [
282
+ a("span", Ko, [
283
283
  a("div", null, [
284
284
  g(z, {
285
285
  icon: "male",
286
286
  type: "fas",
287
287
  color: "font"
288
288
  }),
289
- a("span", null, v(`${d.adults}`), 1),
290
- d.children > 0 ? (c(), h("span", Wo, [
289
+ a("span", null, h(`${d.adults}`), 1),
290
+ d.children > 0 ? (c(), f("span", xo, [
291
291
  g(z, {
292
292
  icon: "child",
293
293
  type: "fas",
294
294
  color: "font"
295
295
  }),
296
- a("span", null, v(`${d.children}`), 1)
296
+ a("span", null, h(`${d.children}`), 1)
297
297
  ])) : _("", !0)
298
298
  ]),
299
- a("span", null, v(`(${o(ne)(d.price, o(e))})`), 1)
299
+ a("span", null, h(`(${t(oe)(d.price, t(e))})`), 1)
300
300
  ])
301
301
  ]),
302
302
  "selected-option": C(({ data: d }) => [
303
- a("div", Ko, [
304
- a("div", xo, [
303
+ a("div", zo, [
304
+ a("div", Jo, [
305
305
  a("div", null, [
306
306
  _("", !0),
307
- a("span", null, v(`${d.adults} ${d.adults === 1 ? o(t)("general.adult") : o(t)("general.adults")}`), 1)
307
+ a("span", null, h(`${d.adults} ${d.adults === 1 ? t(o)("general.adult") : t(o)("general.adults")}`), 1)
308
308
  ]),
309
- d.children > 0 ? (c(), h("div", zo, [
309
+ d.children > 0 ? (c(), f("div", Yo, [
310
310
  _("", !0),
311
- a("span", null, v(`& ${d.children} ${d.children === 1 ? o(t)("general.child") : o(t)("general.children")}`), 1)
311
+ a("span", null, h(`& ${d.children} ${d.children === 1 ? t(o)("general.child") : t(o)("general.children")}`), 1)
312
312
  ])) : _("", !0)
313
313
  ]),
314
- a("div", Jo, [
315
- Yo,
316
- Qe(" " + v(`(${o(ne)(d.price, o(e))})`), 1)
314
+ a("div", Zo, [
315
+ Qo,
316
+ Xe(" " + h(`(${t(oe)(d.price, t(e))})`), 1)
317
317
  ])
318
318
  ])
319
319
  ]),
320
320
  _: 1
321
321
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
322
322
  }
323
- }), Qo = /* @__PURE__ */ pe(Zo, [["__scopeId", "data-v-69fe83d8"]]), Xo = { class: "konnectio-availability-listing-selection" }, en = { key: 1 }, tn = { class: "konnectio-listing-config-body" }, on = { class: "konnectio-listing-units-body" };
324
- const nn = /* @__PURE__ */ Q({
323
+ }), el = /* @__PURE__ */ me(Xo, [["__scopeId", "data-v-69fe83d8"]]), tl = { class: "konnectio-availability-listing-selection" }, ol = { key: 1 }, ll = { class: "konnectio-listing-config-body" }, nl = { class: "konnectio-listing-units-body" };
324
+ const al = /* @__PURE__ */ ee({
325
325
  __name: "Hotel",
326
326
  props: {
327
327
  room: {},
328
328
  layout: {}
329
329
  },
330
- setup(l) {
331
- const { t: n } = ae(), t = l, e = le([]);
330
+ setup(n) {
331
+ const { t: l } = ae(), o = n, e = le([]);
332
332
  function i(k) {
333
333
  e.value[k].config.push({
334
334
  id: NaN,
@@ -336,35 +336,35 @@ const nn = /* @__PURE__ */ Q({
336
336
  addons: []
337
337
  });
338
338
  }
339
- const s = j(() => t.room.rates.map((k) => ({
339
+ const s = O(() => o.room.rates.map((k) => ({
340
340
  label: k.name,
341
341
  value: k.id
342
- }))), { hideAvailableRoomAmount: m, autoSelectRateId: p } = Z(Ve()), { roomSelect: u } = Z(fe()), { addToCart: r, removeFromCart: d } = wt(), f = (k, D) => t.room.rates.find((I) => I.id === k)?.occupantRates.find((I) => I.index === D), V = j(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), $ = (k, D) => f(k, D) ? f(k, D)?.rooms : null, w = (k) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === k)?.occupantRates.map((D) => ({
342
+ }))), { hideAvailableRoomAmount: m, autoSelectRateId: p } = X(Te()), { roomSelect: u } = X(fe()), { addToCart: r, removeFromCart: d } = wt(), v = (k, D) => o.room.rates.find((I) => I.id === k)?.occupantRates.find((I) => I.index === D), V = O(() => o.room.rates.every((k) => k.isBreakfastIncluded === !0)), $ = (k, D) => v(k, D) ? v(k, D)?.rooms : null, w = (k) => o.room.rates.length > 0 ? o.room.rates.find((D) => D.id === k)?.occupantRates.map((D) => ({
343
343
  value: D.index,
344
344
  price: D.totalPrice,
345
345
  adults: D.adultsCount,
346
346
  children: D.childrenCount,
347
347
  hasBreakfast: D.hasBreakfast
348
- })) || [] : [], H = j(() => t.room.rates.length > 1);
348
+ })) || [] : [], H = O(() => o.room.rates.length > 1);
349
349
  function E() {
350
350
  H.value ? p.value ? e.value.push({
351
- id: t.room.bestRateMatch || void 0,
351
+ id: o.room.bestRateMatch || void 0,
352
352
  config: [{
353
- id: t.room.rates[0].occupantRateIndex || NaN,
353
+ id: o.room.rates[0].occupantRateIndex || NaN,
354
354
  units: 0,
355
355
  addons: []
356
356
  }]
357
357
  }) : e.value.push({
358
358
  id: void 0,
359
359
  config: [{
360
- id: t.room.rates[0].occupantRateIndex || NaN,
360
+ id: o.room.rates[0].occupantRateIndex || NaN,
361
361
  units: 0,
362
362
  addons: []
363
363
  }]
364
364
  }) : e.value.push({
365
- id: t.room.rates[0].id,
365
+ id: o.room.rates[0].id,
366
366
  config: [{
367
- id: t.room.rates[0].occupantRateIndex || NaN,
367
+ id: o.room.rates[0].occupantRateIndex || NaN,
368
368
  units: 0,
369
369
  addons: []
370
370
  }]
@@ -373,25 +373,25 @@ const nn = /* @__PURE__ */ Q({
373
373
  nt(() => {
374
374
  E();
375
375
  });
376
- const B = j(() => JSON.parse(JSON.stringify(e.value)));
377
- return Se(B, (k, D) => {
376
+ const B = O(() => JSON.parse(JSON.stringify(e.value)));
377
+ return Ee(B, (k, D) => {
378
378
  D.length > 0 && k.forEach((I, J) => {
379
- I.config.forEach((q, W) => {
380
- const L = q.units, X = D[J].config[W].units;
381
- L !== X && (L > X ? (e.value[J].config[W].addons.push({}), r({
382
- id: t.room.id,
383
- name: t.room.title,
384
- value: t.room.rates[J].rackRate
379
+ I.config.forEach((j, W) => {
380
+ const q = j.units, Y = D[J].config[W].units;
381
+ q !== Y && (q > Y ? (e.value[J].config[W].addons.push({}), r({
382
+ id: o.room.id,
383
+ name: o.room.title,
384
+ value: o.room.rates[J].rackRate
385
385
  })) : (e.value[J].config[W].addons.pop(), d({
386
- id: t.room.id,
387
- name: t.room.title,
388
- value: t.room.rates[J].rackRate
386
+ id: o.room.id,
387
+ name: o.room.title,
388
+ value: o.room.rates[J].rackRate
389
389
  })));
390
390
  });
391
391
  });
392
- }, { deep: !0 }), Se(e, () => {
393
- u.value[t.room.id] = e.value;
394
- }, { deep: !0 }), (k, D) => (c(), A(Me, {
392
+ }, { deep: !0 }), Ee(e, () => {
393
+ u.value[o.room.id] = e.value;
394
+ }, { deep: !0 }), (k, D) => (c(), A(Ue, {
395
395
  type: "hotel",
396
396
  "listing-id": k.room.id,
397
397
  gallery: k.room.images,
@@ -403,55 +403,55 @@ const nn = /* @__PURE__ */ Q({
403
403
  "includes-breakfast": V.value
404
404
  }, {
405
405
  action: C(() => [
406
- a("div", Xo, [
407
- (c(!0), h(R, null, O(e.value, (I, J) => (c(), h("div", {
406
+ a("div", tl, [
407
+ (c(!0), f(M, null, U(e.value, (I, J) => (c(), f("div", {
408
408
  key: I.id,
409
409
  class: "konnectio-hotel-room"
410
410
  }, [
411
- H.value ? (c(), A(Ee, {
411
+ H.value ? (c(), A(Re, {
412
412
  key: 0,
413
413
  modelValue: I.id,
414
- "onUpdate:modelValue": (q) => I.id = q,
415
- label: o(n)("hotel.roomVariant"),
416
- placeholder: o(n)("hotel.chooseARoomVariant"),
414
+ "onUpdate:modelValue": (j) => I.id = j,
415
+ label: t(l)("hotel.roomVariant"),
416
+ placeholder: t(l)("hotel.chooseARoomVariant"),
417
417
  options: s.value,
418
418
  searchable: !1
419
419
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
420
- I.id ? (c(), h("div", en, [
421
- (c(!0), h(R, null, O(k.room.rates, ({
422
- id: q,
420
+ I.id ? (c(), f("div", ol, [
421
+ (c(!0), f(M, null, U(k.room.rates, ({
422
+ id: j,
423
423
  maximumOccupants: W
424
- }) => (c(), h("div", {
425
- key: q,
424
+ }) => (c(), f("div", {
425
+ key: j,
426
426
  class: "konnectio-listing-action-selective-i"
427
427
  }, [
428
- I.id === q ? (c(!0), h(R, { key: 0 }, O(I.config, (L, X) => (c(), h("div", {
429
- key: X,
428
+ I.id === j ? (c(!0), f(M, { key: 0 }, U(I.config, (q, Y) => (c(), f("div", {
429
+ key: Y,
430
430
  class: "konnectio-listing-action-selective"
431
431
  }, [
432
- a("ul", tn, [
433
- g(Qo, {
434
- modelValue: L.id,
435
- "onUpdate:modelValue": (ie) => L.id = ie,
432
+ a("ul", ll, [
433
+ g(el, {
434
+ modelValue: q.id,
435
+ "onUpdate:modelValue": (Z) => q.id = Z,
436
436
  icon: "male",
437
437
  "icon-type": "fas",
438
- label: o(n)("general.guests"),
439
- description: W === 0 ? void 0 : `${o(n)("general.maximumGuests")}: ${W}`,
440
- options: w(q),
441
- readonly: !(w(q).length > 1)
438
+ label: t(l)("general.guests"),
439
+ description: W === 0 ? void 0 : `${t(l)("general.maximumGuests")}: ${W}`,
440
+ options: w(j),
441
+ readonly: !(w(j).length > 1)
442
442
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
443
443
  ]),
444
- a("ul", on, [
445
- g(et, {
446
- modelValue: L.units,
447
- "onUpdate:modelValue": (ie) => L.units = ie,
448
- description: o(m) ? void 0 : `${o(n)("booking.availability.availableUnits")}: ${$(I.id, L.id)}`,
444
+ a("ul", nl, [
445
+ g(tt, {
446
+ modelValue: q.units,
447
+ "onUpdate:modelValue": (Z) => q.units = Z,
448
+ description: t(m) ? void 0 : `${t(l)("booking.availability.availableUnits")}: ${$(I.id, q.id)}`,
449
449
  icon: "house",
450
450
  "icon-type": "fas",
451
451
  "icon-placement": "label",
452
- label: o(n)("booking.availability.units"),
452
+ label: t(l)("booking.availability.units"),
453
453
  minValue: 0,
454
- "max-value": $(q, L.id) || 1 / 0
454
+ "max-value": $(j, q.id) || 1 / 0
455
455
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
456
456
  ]),
457
457
  _("", !0)
@@ -464,7 +464,7 @@ const nn = /* @__PURE__ */ Q({
464
464
  _: 1
465
465
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
466
466
  }
467
- }), ln = /* @__PURE__ */ pe(nn, [["__scopeId", "data-v-ad7bdd2a"]]), an = { class: "konnectio-template-side-panel" }, sn = { class: "konnectio-template-side-panel-listings" }, rn = /* @__PURE__ */ Q({
467
+ }), il = /* @__PURE__ */ me(al, [["__scopeId", "data-v-bac82644"]]), sl = { class: "konnectio-template-side-panel" }, rl = { class: "konnectio-template-side-panel-listings" }, dl = /* @__PURE__ */ ee({
468
468
  __name: "Template",
469
469
  props: {
470
470
  title: {},
@@ -473,31 +473,31 @@ const nn = /* @__PURE__ */ Q({
473
473
  hideAddons: { type: Boolean },
474
474
  callback: { type: Function }
475
475
  },
476
- setup(l) {
477
- const { t: n } = ae(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } = Z(fe()), { currency: s } = Z(Ve()), { clearRoomSelection: m } = fe(), p = l, u = le(!0), r = j(() => {
478
- function f(V, $) {
476
+ setup(n) {
477
+ const { t: l } = ae(), { templateID: o, roomGroupID: e, selectionHasNoAddons: i } = X(fe()), { currency: s } = X(Te()), { clearRoomSelection: m } = fe(), p = n, u = le(!0), r = O(() => {
478
+ function v(V, $) {
479
479
  return u.value === !0 ? V.extraPrice > $.extraPrice ? -1 : 1 : V.extraPrice > $.extraPrice ? 1 : -1;
480
480
  }
481
- return p.roomGroups?.slice().sort(f);
481
+ return p.roomGroups?.slice().sort(v);
482
482
  });
483
- function d(f) {
484
- t.value = p.templateId, e.value = f, m(), p.hideAddons === !0 || i.value ? p.callback(2) : p.callback(1);
483
+ function d(v) {
484
+ o.value = p.templateId, e.value = v, m(), p.hideAddons === !0 || i.value ? p.callback(2) : p.callback(1);
485
485
  }
486
- return (f, V) => (c(), A(Ho, {
487
- title: f.title,
488
- subtitle: o(n)("booking.availability.selectATemplateRoom")
486
+ return (v, V) => (c(), A(Bo, {
487
+ title: v.title,
488
+ subtitle: t(l)("booking.availability.selectATemplateRoom")
489
489
  }, {
490
490
  default: C(() => [
491
- a("div", an, [
492
- a("div", sn, [
493
- (c(!0), h(R, null, O(r.value, ({
491
+ a("div", sl, [
492
+ a("div", rl, [
493
+ (c(!0), f(M, null, U(r.value, ({
494
494
  id: $,
495
495
  title: w,
496
496
  description: H,
497
497
  images: E,
498
498
  facilities: B,
499
499
  extraPrice: k
500
- }) => (c(), A(Me, {
500
+ }) => (c(), A(Ue, {
501
501
  key: $,
502
502
  "listing-id": $,
503
503
  name: w,
@@ -509,9 +509,9 @@ const nn = /* @__PURE__ */ Q({
509
509
  }, {
510
510
  action: C(() => [
511
511
  a("div", null, [
512
- g(ue, {
512
+ g(ce, {
513
513
  onClickEvent: (D) => d($),
514
- label: `${o(n)("booking.availability.selectThisRoom")} (${o(ne)(k, o(s))})`,
514
+ label: `${t(l)("booking.availability.selectThisRoom")} (${t(oe)(k, t(s))})`,
515
515
  "full-width": ""
516
516
  }, null, 8, ["onClickEvent", "label"])
517
517
  ])
@@ -524,7 +524,7 @@ const nn = /* @__PURE__ */ Q({
524
524
  _: 1
525
525
  }, 8, ["title", "subtitle"]));
526
526
  }
527
- }), At = /* @__PURE__ */ pe(rn, [["__scopeId", "data-v-7424de30"]]), dn = { class: "konnectio-template-select-package" }, un = /* @__PURE__ */ Q({
527
+ }), At = /* @__PURE__ */ me(dl, [["__scopeId", "data-v-7424de30"]]), ul = { class: "konnectio-template-select-package" }, cl = /* @__PURE__ */ ee({
528
528
  __name: "Template",
529
529
  props: {
530
530
  id: {},
@@ -536,41 +536,41 @@ const nn = /* @__PURE__ */ Q({
536
536
  hideAddons: { type: Boolean },
537
537
  callback: { type: Function }
538
538
  },
539
- setup(l) {
540
- const { t: n } = ae(), t = l, e = j(() => t.roomGroups.reduce(
539
+ setup(n) {
540
+ const { t: l } = ae(), o = n, e = O(() => o.roomGroups.reduce(
541
541
  (u, r) => u < r.extraPrice ? u : r.extraPrice,
542
542
  1 / 0
543
- )), i = j(() => {
544
- if (t.image)
543
+ )), i = O(() => {
544
+ if (o.image)
545
545
  return [{
546
- large: t.image.url,
547
- medium: t.image.url,
548
- thumb: t.image.url,
549
- url: t.image.url
546
+ large: o.image.url,
547
+ medium: o.image.url,
548
+ thumb: o.image.url,
549
+ url: o.image.url
550
550
  }];
551
551
  }), s = le(!1);
552
552
  function m() {
553
553
  s.value = !0;
554
554
  }
555
555
  function p(u) {
556
- t.callback(u), s.value = !1;
556
+ o.callback(u), s.value = !1;
557
557
  }
558
- return (u, r) => (c(), A(Me, {
558
+ return (u, r) => (c(), A(Ue, {
559
559
  type: "template",
560
560
  "listing-id": u.id,
561
561
  name: u.name,
562
562
  description: u.description,
563
563
  gallery: i.value,
564
- layout: o(Ct).Template,
564
+ layout: t(Ct).Template,
565
565
  "includes-breakfast": !1,
566
566
  "hide-info-button": !1,
567
567
  "prices-from": e.value
568
568
  }, {
569
569
  action: C(() => [
570
- a("div", dn, [
571
- g(ue, {
570
+ a("div", ul, [
571
+ g(ce, {
572
572
  onClickEvent: m,
573
- label: o(n)("booking.availability.selectPackage"),
573
+ label: t(l)("booking.availability.selectPackage"),
574
574
  "full-width": ""
575
575
  }, null, 8, ["label"])
576
576
  ])
@@ -589,7 +589,7 @@ const nn = /* @__PURE__ */ Q({
589
589
  _: 1
590
590
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
591
591
  }
592
- }), cn = { class: "konnectio-special-offer-availability" }, pn = { class: "konnectio-special-offer-availability-button" }, mn = /* @__PURE__ */ Q({
592
+ }), pl = { class: "konnectio-special-offer-availability" }, ml = { class: "konnectio-special-offer-availability-button" }, fl = /* @__PURE__ */ ee({
593
593
  __name: "SpecialOffer",
594
594
  props: {
595
595
  id: {},
@@ -602,8 +602,8 @@ const nn = /* @__PURE__ */ Q({
602
602
  roomGroups: {},
603
603
  callback: { type: Function }
604
604
  },
605
- setup(l) {
606
- const { t: n } = ae(), { updateDates: t } = _e(), e = l, i = le([]), s = j(() => Xe(e.fromDate, e.toDate) === 1), m = j(() => [{
605
+ setup(n) {
606
+ const { t: l } = ae(), { updateDates: o } = Ve(), e = n, i = le([]), s = O(() => et(e.fromDate, e.toDate) === 1), m = O(() => [{
607
607
  large: e.image.url,
608
608
  medium: e.image.url,
609
609
  thumb: e.image.url,
@@ -613,29 +613,29 @@ const nn = /* @__PURE__ */ Q({
613
613
  e.callback(d), p.value = !1;
614
614
  }
615
615
  function r() {
616
- t(i.value[0], i.value[1]);
616
+ o(i.value[0], i.value[1]);
617
617
  }
618
618
  return nt(() => {
619
619
  s.value && (i.value = [new Date(e.fromDate), new Date(e.toDate)]);
620
- }), (d, f) => (c(), A(Me, {
620
+ }), (d, v) => (c(), A(Ue, {
621
621
  type: "template",
622
622
  "listing-id": d.id,
623
623
  name: d.name,
624
624
  description: d.description,
625
625
  gallery: m.value,
626
- layout: o(Ct).Template,
626
+ layout: t(Ct).Template,
627
627
  "includes-breakfast": !1,
628
628
  "hide-info-button": !1,
629
629
  "to-date": d.toDate,
630
630
  "from-date": d.fromDate
631
631
  }, {
632
632
  action: C(() => [
633
- a("div", cn, [
633
+ a("div", pl, [
634
634
  g($t, {
635
635
  modelValue: i.value,
636
- "onUpdate:modelValue": f[0] || (f[0] = (V) => i.value = V),
637
- label: o(n)("availability.checkInOut"),
638
- placeholder: o(n)("booking.availability.selectDates"),
636
+ "onUpdate:modelValue": v[0] || (v[0] = (V) => i.value = V),
637
+ label: t(l)("availability.checkInOut"),
638
+ placeholder: t(l)("booking.availability.selectDates"),
639
639
  "icon-type": "fas",
640
640
  "icon-placement": "label",
641
641
  "min-range": 1,
@@ -645,10 +645,10 @@ const nn = /* @__PURE__ */ Q({
645
645
  readonly: s.value,
646
646
  range: ""
647
647
  }, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
648
- a("div", pn, [
649
- g(ue, {
650
- label: o(n)("availability.buttonLabel"),
651
- onClick: De(r, ["prevent"])
648
+ a("div", ml, [
649
+ g(ce, {
650
+ label: t(l)("availability.buttonLabel"),
651
+ onClick: Be(r, ["prevent"])
652
652
  }, null, 8, ["label"])
653
653
  ])
654
654
  ])
@@ -656,7 +656,7 @@ const nn = /* @__PURE__ */ Q({
656
656
  default: C(() => [
657
657
  g(At, {
658
658
  modelValue: p.value,
659
- "onUpdate:modelValue": f[1] || (f[1] = (V) => p.value = V),
659
+ "onUpdate:modelValue": v[1] || (v[1] = (V) => p.value = V),
660
660
  title: d.name,
661
661
  "template-id": d.id,
662
662
  roomGroups: d.roomGroups,
@@ -666,7 +666,7 @@ const nn = /* @__PURE__ */ Q({
666
666
  _: 1
667
667
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
668
668
  }
669
- }), ht = /* @__PURE__ */ Q({
669
+ }), ht = /* @__PURE__ */ ee({
670
670
  __name: "TimeField",
671
671
  props: {
672
672
  modelValue: {},
@@ -690,13 +690,13 @@ const nn = /* @__PURE__ */ Q({
690
690
  inputStyle: {}
691
691
  },
692
692
  emits: ["update:modelValue"],
693
- setup(l, { emit: n }) {
694
- const t = n, e = l;
693
+ setup(n, { emit: l }) {
694
+ const o = l, e = n;
695
695
  function i(m) {
696
- t("update:modelValue", m);
696
+ o("update:modelValue", m);
697
697
  }
698
698
  const s = le(e.modelValue);
699
- return Se(s, (m) => {
699
+ return Ee(s, (m) => {
700
700
  i(m);
701
701
  }), (m, p) => (c(), A($t, {
702
702
  modelValue: s.value,
@@ -713,7 +713,7 @@ const nn = /* @__PURE__ */ Q({
713
713
  readonly: m.readonly
714
714
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
715
715
  }
716
- }), fn = { style: { display: "flex", "align-items": "baseline" } }, hn = /* @__PURE__ */ Q({
716
+ }), hl = { style: { display: "flex", "align-items": "baseline" } }, vl = /* @__PURE__ */ ee({
717
717
  __name: "CountryField",
718
718
  props: {
719
719
  modelValue: {},
@@ -724,20 +724,20 @@ const nn = /* @__PURE__ */ Q({
724
724
  placeholder: {}
725
725
  },
726
726
  emits: ["update:modelValue"],
727
- setup(l, { emit: n }) {
728
- const { t } = ae(), e = n, i = l;
727
+ setup(n, { emit: l }) {
728
+ const { t: o } = ae(), e = l, i = n;
729
729
  function s(p) {
730
730
  e("update:modelValue", p);
731
731
  }
732
- const m = j({
732
+ const m = O({
733
733
  get: () => i.modelValue,
734
734
  set: (p) => s(p)
735
735
  });
736
- return (p, u) => (c(), A(Ee, {
736
+ return (p, u) => (c(), A(Re, {
737
737
  modelValue: m.value,
738
738
  "onUpdate:modelValue": u[0] || (u[0] = (r) => m.value = r),
739
739
  label: p.label,
740
- placeholder: o(t)("booking.reservation.countryPlaceholder"),
740
+ placeholder: t(o)("booking.reservation.countryPlaceholder"),
741
741
  labelKey: "name",
742
742
  valueKey: "id",
743
743
  options: p.options,
@@ -745,22 +745,22 @@ const nn = /* @__PURE__ */ Q({
745
745
  }, {
746
746
  option: C(({ data: r }) => [
747
747
  a("i", {
748
- class: He(["konnectio-flag-icon", r.iso])
748
+ class: Ne(["konnectio-flag-icon", r.iso])
749
749
  }, null, 2),
750
- a("span", null, v(r.name), 1)
750
+ a("span", null, h(r.name), 1)
751
751
  ]),
752
752
  "selected-option": C(({ data: r }) => [
753
- a("div", fn, [
753
+ a("div", hl, [
754
754
  a("i", {
755
- class: He(["konnectio-flag-icon", r.iso])
755
+ class: Ne(["konnectio-flag-icon", r.iso])
756
756
  }, null, 2),
757
- a("span", null, v(r.name), 1)
757
+ a("span", null, h(r.name), 1)
758
758
  ])
759
759
  ]),
760
760
  _: 1
761
761
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
762
762
  }
763
- }), vn = /* @__PURE__ */ pe(hn, [["__scopeId", "data-v-1462612d"]]), yn = /* @__PURE__ */ Q({
763
+ }), yl = /* @__PURE__ */ me(vl, [["__scopeId", "data-v-1462612d"]]), gl = /* @__PURE__ */ ee({
764
764
  __name: "NameField",
765
765
  props: {
766
766
  modelValue: {},
@@ -781,20 +781,20 @@ const nn = /* @__PURE__ */ Q({
781
781
  excludeTitle: { type: Boolean, default: !1 }
782
782
  },
783
783
  emits: ["update:modelValue", "update:title"],
784
- setup(l, { emit: n }) {
785
- const t = l, e = n, i = t.id || pt(), s = le(""), m = le(2);
784
+ setup(n, { emit: l }) {
785
+ const o = n, e = l, i = o.id || pt(), s = le(""), m = le(2);
786
786
  function p() {
787
787
  e("update:modelValue", s.value);
788
788
  }
789
- Se(m, (r) => {
789
+ Ee(m, (r) => {
790
790
  e("update:title", r);
791
791
  });
792
792
  const { t: u } = ae();
793
793
  return nt(() => {
794
- t.modelValue && (s.value = t.modelValue), t.title && (m.value = t.title);
795
- }), (r, d) => (c(), A(mo, {
794
+ o.modelValue && (s.value = o.modelValue), o.title && (m.value = o.title);
795
+ }), (r, d) => (c(), A(yo, {
796
796
  label: r.label,
797
- id: o(i),
797
+ id: t(i),
798
798
  required: r.required,
799
799
  type: "fresh-booking-name-field",
800
800
  readonly: r.readonly,
@@ -802,38 +802,38 @@ const nn = /* @__PURE__ */ Q({
802
802
  }, {
803
803
  default: C(() => [
804
804
  a("div", {
805
- class: He([
805
+ class: Ne([
806
806
  "fresh-booking-name-input",
807
807
  { "no-title": r.excludeTitle }
808
808
  ])
809
809
  }, [
810
- r.excludeTitle ? _("", !0) : (c(), A(Ee, {
810
+ r.excludeTitle ? _("", !0) : (c(), A(Re, {
811
811
  key: 0,
812
812
  modelValue: m.value,
813
- "onUpdate:modelValue": d[0] || (d[0] = (f) => m.value = f),
814
- id: o(pt)(),
813
+ "onUpdate:modelValue": d[0] || (d[0] = (v) => m.value = v),
814
+ id: t(pt)(),
815
815
  icon: r.icon,
816
816
  "icon-color": r.iconColor,
817
817
  "icon-type": r.iconType,
818
818
  options: [
819
819
  {
820
- label: o(u)("booking.reservation.noNameTitle"),
820
+ label: t(u)("booking.reservation.noNameTitle"),
821
821
  value: 1
822
822
  },
823
823
  {
824
- label: o(u)("booking.reservation.nameTitleMr"),
824
+ label: t(u)("booking.reservation.nameTitleMr"),
825
825
  value: 2
826
826
  },
827
827
  {
828
- label: o(u)("booking.reservation.nameTitleMs"),
828
+ label: t(u)("booking.reservation.nameTitleMs"),
829
829
  value: 3
830
830
  },
831
831
  {
832
- label: o(u)("booking.reservation.nameTitleMrs"),
832
+ label: t(u)("booking.reservation.nameTitleMrs"),
833
833
  value: 4
834
834
  },
835
835
  {
836
- label: o(u)("booking.reservation.nameTitleDr"),
836
+ label: t(u)("booking.reservation.nameTitleDr"),
837
837
  value: 5
838
838
  }
839
839
  ],
@@ -842,13 +842,13 @@ const nn = /* @__PURE__ */ Q({
842
842
  "input-style": r.inputStyle,
843
843
  searchable: !1
844
844
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
845
- g(re, {
845
+ g(de, {
846
846
  modelValue: s.value,
847
- "onUpdate:modelValue": d[1] || (d[1] = (f) => s.value = f),
847
+ "onUpdate:modelValue": d[1] || (d[1] = (v) => s.value = v),
848
848
  type: "text",
849
849
  name: "name",
850
850
  autocomplete: "name",
851
- id: o(i),
851
+ id: t(i),
852
852
  icon: r.excludeTitle ? r.icon : void 0,
853
853
  "icon-color": r.iconColor,
854
854
  "icon-type": r.iconType,
@@ -856,7 +856,7 @@ const nn = /* @__PURE__ */ Q({
856
856
  required: r.required,
857
857
  readonly: r.readonly,
858
858
  limit: r.limit,
859
- onInput: d[2] || (d[2] = (f) => p()),
859
+ onInput: d[2] || (d[2] = (v) => p()),
860
860
  "input-style": r.inputStyle
861
861
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
862
862
  ], 2)
@@ -864,129 +864,135 @@ const nn = /* @__PURE__ */ Q({
864
864
  _: 1
865
865
  }, 8, ["label", "id", "required", "readonly", "limit"]));
866
866
  }
867
- }), gn = /* @__PURE__ */ pe(yn, [["__scopeId", "data-v-78b0b319"]]), bn = { class: "hotel-skeleton" }, kn = { class: "hotel-skeleton-content" }, _n = { class: "hotel-skeleton-sidebar" }, Vn = /* @__PURE__ */ Q({
867
+ }), bl = /* @__PURE__ */ me(gl, [["__scopeId", "data-v-78b0b319"]]), kl = { class: "hotel-skeleton" }, _l = { class: "hotel-skeleton-content" }, Vl = { class: "hotel-skeleton-sidebar" }, Tl = /* @__PURE__ */ ee({
868
868
  __name: "HotelSkeleton",
869
- setup(l) {
870
- return (n, t) => (c(), h("div", bn, [
871
- a("div", kn, [
872
- g(_o, { hotel: "" }),
873
- g(wo)
869
+ setup(n) {
870
+ return (l, o) => (c(), f("div", kl, [
871
+ a("div", _l, [
872
+ g(To, { hotel: "" }),
873
+ g($o)
874
874
  ]),
875
- a("div", _n, [
876
- g(Co)
875
+ a("div", Vl, [
876
+ g(Ao)
877
877
  ])
878
878
  ]));
879
879
  }
880
- }), Tn = /* @__PURE__ */ pe(Vn, [["__scopeId", "data-v-1bb21da4"]]), wn = (l) => (Vt("data-v-c01c0c19"), l = l(), Tt(), l), Cn = { id: "booking-availability-container" }, $n = { id: "booking-availability-controls" };
881
- const An = { key: 1 }, Pn = { key: 0 }, Dn = {
880
+ }), wl = /* @__PURE__ */ me(Tl, [["__scopeId", "data-v-1bb21da4"]]), Cl = (n) => (Vt("data-v-be167e1f"), n = n(), Tt(), n), $l = { id: "booking-availability-container" }, Al = { id: "booking-availability-controls" };
881
+ const Pl = { key: 1 }, Dl = { key: 0 }, Sl = {
882
882
  key: 0,
883
883
  id: "booking-availability-packages"
884
- }, Sn = {
884
+ }, Hl = {
885
885
  key: 0,
886
886
  class: "konnectio-hotel-availability-title"
887
- }, Hn = { id: "booking-availability-packages-wrapper" }, In = { key: 1 }, Bn = {
887
+ }, Il = { id: "booking-availability-packages-wrapper" }, Bl = { key: 1 }, El = {
888
888
  key: 0,
889
889
  class: "konnectio-hotel-availability-title"
890
- }, En = { id: "konnectio-listings" }, Mn = {
890
+ }, Nl = { id: "konnectio-listings" }, Ll = {
891
891
  key: 2,
892
892
  id: "booking-availability-packages"
893
- }, Rn = { class: "konnectio-hotel-availability-title" }, Nn = { id: "booking-availability-packages-wrapper" }, Un = {
893
+ }, Ml = { class: "konnectio-hotel-availability-title" }, Rl = { id: "booking-availability-packages-wrapper" }, Ul = {
894
894
  key: 3,
895
895
  id: "booking-availability-no-listings",
896
896
  class: "konnectio-panel"
897
- }, Ln = {
897
+ }, Fl = {
898
898
  key: 1,
899
899
  id: "booking-availability-no-listings"
900
- }, Fn = {
900
+ }, Ol = {
901
901
  key: 2,
902
902
  id: "reservation-availability-next-dates"
903
- }, On = { class: "konnectio-hotel-availability-title" }, jn = { class: "reservation-special-offers-grid" }, qn = ["title"];
904
- const Gn = {
903
+ }, jl = { class: "konnectio-hotel-availability-title" }, ql = { class: "reservation-special-offers-grid" }, Gl = ["title"];
904
+ const Wl = {
905
905
  key: 2,
906
+ class: "konnectio-panel"
907
+ }, Kl = {
908
+ key: 3,
906
909
  class: "konnectio-listing-loading"
907
- }, Wn = { class: "konnectio-panel" }, Kn = {
910
+ }, xl = { class: "konnectio-panel" }, zl = {
908
911
  key: 0,
909
912
  id: "konnectio-hotel-addons"
910
913
  };
911
- const xn = { class: "konnectio-event-addons-price" }, zn = { key: 1 }, Jn = { class: "konnectio-table-addons-information" }, Yn = { class: "konnectio-table-addons-option" }, Zn = {
914
+ const Jl = { class: "konnectio-event-addons-price" }, Yl = { key: 1 }, Zl = { class: "konnectio-table-addons-information" }, Ql = { class: "konnectio-table-addons-option" }, Xl = {
912
915
  key: 1,
913
916
  id: "konnectio-hotel-addons"
914
- }, Qn = { class: "konnectio-table with-lines" };
915
- const Xn = /* @__PURE__ */ wn(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), el = { class: "konnectio-table-addons-information" }, tl = { class: "konnectio-table-addons-option" }, ol = ["onClick"], nl = { class: "konnectio-panel" }, ll = { key: 0 }, al = { key: 1 }, il = { class: "konnectio-split-inputs" }, sl = ["onClick"], rl = /* @__PURE__ */ Q({
917
+ }, en = { class: "konnectio-table with-lines" };
918
+ const tn = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), on = { class: "konnectio-table-addons-information" }, ln = { class: "konnectio-table-addons-option" }, nn = ["onClick"], an = { class: "konnectio-panel" }, sn = { key: 0 }, rn = { key: 1 }, dn = { class: "konnectio-split-inputs" }, un = ["onClick"], cn = /* @__PURE__ */ ee({
916
919
  name: "HotelLayout",
917
920
  __name: "Hotel",
918
921
  props: {
919
922
  accessToken: {},
920
- headerLayout: { default: fo.Minimal },
923
+ headerLayout: { default: go.Minimal },
921
924
  onlyShow: { default: "everything" },
922
925
  hideAddons: { default: "no" },
926
+ disableDefaultLocation: { default: "no" },
923
927
  selectedLocation: {},
924
928
  styling: {}
925
929
  },
926
- setup(l) {
927
- const n = lo(() => import("./_-C5tf0vwv.js")), t = l, { t: e } = ae(), {
928
- templateID: i,
929
- templateAddons: s,
930
- countries: m,
931
- areListingsLoading: p,
932
- isPaymentLoading: u,
933
- isReservationFormFilled: r,
934
- travelingFor: d,
935
- arrivalTime: f,
936
- departureTime: V,
937
- name: $,
938
- nameTitle: w,
939
- email: H,
940
- phone: E,
941
- firmName: B,
942
- postal: k,
943
- city: D,
944
- address: I,
945
- country: J,
930
+ setup(n) {
931
+ const l = io(() => import("./_-DmU4JLX1.js")), o = n, { t: e } = ae(), {
932
+ currentLocation: i,
933
+ hasSearched: s,
934
+ templateID: m,
935
+ templateAddons: p,
936
+ countries: u,
937
+ areListingsLoading: r,
938
+ isPaymentLoading: d,
939
+ isReservationFormFilled: v,
940
+ travelingFor: V,
941
+ arrivalTime: $,
942
+ departureTime: w,
943
+ name: H,
944
+ nameTitle: E,
945
+ email: B,
946
+ phone: k,
947
+ firmName: D,
948
+ postal: I,
949
+ city: J,
950
+ address: j,
951
+ country: W,
946
952
  remark: q,
947
- allergies: W,
948
- roomSelect: L,
949
- roomDisplay: X,
950
- hasValidRoomSelection: ie,
951
- availabilityData: N,
952
- selectionHasNoAddons: me,
953
- isAvailabilityDataAvailable: ve,
954
- getSelectedPackageRoom: Te,
955
- selectedPackage: Re,
956
- isSearchOutdated: Ne,
957
- currentChildren: ye,
958
- isTemplateReservation: ge
959
- } = Z(fe()), {
960
- adults: ee,
961
- children: K,
962
- location: U,
963
- arrivalDate: be,
964
- departureDate: Ue
965
- } = Z(_e()), { isValidHotelId: we, updateDates: Le } = _e(), {
966
- currency: te,
967
- arrivalEarliest: Fe,
968
- arrivalLatest: at,
969
- departureEarliest: It,
970
- departureLatest: Bt,
971
- enableTracking: Et,
953
+ allergies: Y,
954
+ roomSelect: Z,
955
+ roomDisplay: ye,
956
+ hasValidRoomSelection: we,
957
+ availabilityData: F,
958
+ selectionHasNoAddons: ge,
959
+ isAvailabilityDataAvailable: be,
960
+ getSelectedPackageRoom: ke,
961
+ selectedPackage: _e,
962
+ isSearchOutdated: Ce,
963
+ currentChildren: ne,
964
+ isTemplateReservation: K
965
+ } = X(fe()), {
966
+ adults: N,
967
+ children: he,
968
+ location: $e,
969
+ arrivalDate: Ae,
970
+ departureDate: Fe
971
+ } = X(Ve()), { isValidHotelId: ie, updateDates: Oe } = Ve(), {
972
+ currency: Pe,
973
+ arrivalEarliest: It,
974
+ arrivalLatest: Bt,
975
+ departureEarliest: Et,
976
+ departureLatest: Nt,
977
+ enableTracking: Lt,
972
978
  hideArrivalDepartureInputs: Mt,
973
- disableArrivalUserSelection: Oe,
979
+ disableArrivalUserSelection: je,
974
980
  disableNamePrefix: Rt,
975
- disableDepartureUserSelection: je,
976
- disableTravelingFor: Nt,
977
- disableTravelingForBleasure: Ut,
978
- disableCompanyField: Lt,
979
- hasPaymentGateway: Ft,
981
+ disableDepartureUserSelection: qe,
982
+ disableTravelingFor: Ut,
983
+ disableTravelingForBleasure: Ft,
984
+ disableCompanyField: Ot,
985
+ hasPaymentGateway: jt,
980
986
  maxAdultAmount: it,
981
987
  maxChildAmount: st
982
- } = Z(Ve()), { beginCheckout: Ot } = wt(), { display: qe } = ho(), {
983
- resetTemplate: jt,
984
- resetDiscountVoucher: qt,
985
- createReservation: Gt,
986
- fetchMetadata: Wt,
988
+ } = X(Te()), { beginCheckout: qt } = wt(), { display: Ge } = bo(), {
989
+ resetTemplate: Gt,
990
+ resetDiscountVoucher: Wt,
991
+ createReservation: Kt,
992
+ fetchMetadata: xt,
987
993
  fetchAvailabilityData: rt,
988
994
  filterAddons: dt
989
- } = fe(), Kt = le(!0), xt = [
995
+ } = fe(), zt = le(!0), Jt = [
990
996
  {
991
997
  id: "availability",
992
998
  label: e("booking.availability.title"),
@@ -996,7 +1002,7 @@ const Xn = /* @__PURE__ */ wn(() => /* @__PURE__ */ a("th", { class: "konnectio-
996
1002
  id: "addons",
997
1003
  label: e("booking.reservation.title"),
998
1004
  icon: "concierge-bell",
999
- hidden: me.value
1005
+ hidden: ge.value
1000
1006
  },
1001
1007
  {
1002
1008
  id: "reservation",
@@ -1012,7 +1018,7 @@ const Xn = /* @__PURE__ */ wn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1012
1018
  label: e("booking.confirmation.title"),
1013
1019
  icon: "calendar-check"
1014
1020
  }
1015
- ], zt = j(() => {
1021
+ ], Yt = O(() => {
1016
1022
  const b = [
1017
1023
  {
1018
1024
  label: e("booking.reservation.business"),
@@ -1023,182 +1029,184 @@ const Xn = /* @__PURE__ */ wn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1023
1029
  value: "Pleasure"
1024
1030
  }
1025
1031
  ];
1026
- return Ut.value || b.push({
1032
+ return Ft.value || b.push({
1027
1033
  label: e("booking.reservation.bleasure"),
1028
1034
  value: "Bleasure"
1029
1035
  }), b;
1030
- }), Jt = j(() => {
1031
- const b = N.value.roomGroups.slice();
1036
+ }), Zt = O(() => {
1037
+ const b = F.value.roomGroups.slice();
1032
1038
  function T(x, P) {
1033
- return Kt.value === !0 ? x.pricesFrom > P.pricesFrom ? -1 : 1 : x.pricesFrom > P.pricesFrom ? 1 : -1;
1039
+ return zt.value === !0 ? x.pricesFrom > P.pricesFrom ? -1 : 1 : x.pricesFrom > P.pricesFrom ? 1 : -1;
1034
1040
  }
1035
1041
  return b.sort(T);
1036
- }), Yt = j(() => [[
1037
- parseInt(Fe.value.split(":")[0]),
1038
- parseInt(at.value.split(":")[0])
1039
- ]]), Zt = j(() => [[
1042
+ }), Qt = O(() => [[
1040
1043
  parseInt(It.value.split(":")[0]),
1041
1044
  parseInt(Bt.value.split(":")[0])
1042
- ]]), Ge = j(() => t.hideAddons === "yes" || ge.value && t.hideAddons === "packages" || !ge.value && t.hideAddons === "rooms");
1045
+ ]]), Xt = O(() => [[
1046
+ parseInt(Et.value.split(":")[0]),
1047
+ parseInt(Nt.value.split(":")[0])
1048
+ ]]), We = O(() => o.hideAddons === "yes" || K.value && o.hideAddons === "packages" || !K.value && o.hideAddons === "rooms");
1043
1049
  function ut(b) {
1044
- Ge.value || me.value ? b(2) : b(), qt();
1050
+ We.value || ge.value ? b(2) : b(), Wt();
1045
1051
  }
1046
- async function Qt(b) {
1047
- await Gt(b);
1052
+ async function eo(b) {
1053
+ await Kt(b);
1048
1054
  }
1049
- function Xt(b) {
1050
- Et.value && Ot(), Ge.value || me.value ? b(2) : b();
1055
+ function to(b) {
1056
+ Lt.value && qt(), We.value || ge.value ? b(2) : b();
1051
1057
  }
1052
- function eo() {
1053
- const b = yo("hash-params", {
1058
+ function oo() {
1059
+ const b = _o("hash-params", {
1054
1060
  removeNullishValues: !0
1055
- }), T = parseInt(b.a), x = parseInt(b.c), P = parseInt(b.hid), y = parseInt(b.n), G = b.ci, M = b.co, S = b.id;
1056
- if (isNaN(T) || (T > it.value ? ee.value = it.value : ee.value = T, b.a = void 0), isNaN(x) || (x > st.value ? K.value = st.value : K.value = x, b.c = void 0), isNaN(y) || y > 0 && (b.n = void 0), isNaN(P) || (we(P) ? U.value = P : qe({
1061
+ }), T = parseInt(b.a), x = parseInt(b.c), P = parseInt(b.hid), y = parseInt(b.n), G = b.ci, L = b.co, S = b.id;
1062
+ let te = !1;
1063
+ if (isNaN(T) || (T > it.value ? N.value = it.value : N.value = T, b.a = void 0), isNaN(x) || (x > st.value ? he.value = st.value : he.value = x, b.c = void 0), isNaN(y) || y > 0 && (b.n = void 0), isNaN(P) || (ie(P) ? ($e.value = P, te = !0) : Ge({
1057
1064
  message: e("alert.error.hotelIdNotFound"),
1058
1065
  type: "error"
1059
- })), G && M)
1060
- if (ft(G) && ft(M)) {
1061
- const Y = new Date(G), he = new Date(M);
1062
- Y <= he ? (be.value = Y, Ue.value = he, b.ci = void 0, b.co = void 0) : qe({
1066
+ })), G && L)
1067
+ if (ft(G) && ft(L)) {
1068
+ const ve = new Date(G), se = new Date(L);
1069
+ ve <= se ? (Ae.value = ve, Fe.value = se) : (b.ci = void 0, b.co = void 0, Ge({
1063
1070
  message: e("alert.error.invalidDateRange"),
1064
1071
  type: "error"
1065
- });
1072
+ }));
1066
1073
  } else
1067
- qe({
1074
+ Ge({
1068
1075
  message: e("alert.error.wrongDateFormat"),
1069
1076
  type: "error"
1070
1077
  });
1071
- let oe = null;
1072
- S && (oe = S), rt(oe);
1078
+ let Q = null;
1079
+ S && (Q = S), o.disableDefaultLocation === "yes" && te === !1 ? ($e.value = void 0, i.value = void 0) : rt(Q);
1073
1080
  }
1074
- return (b, T) => (c(), A(vo, { styling: b.styling }, {
1081
+ return (b, T) => (c(), A(ko, { styling: b.styling }, {
1075
1082
  default: C(() => [
1076
- (c(), A(no, { onResolve: eo }, {
1083
+ (c(), A(ao, { onResolve: oo }, {
1077
1084
  default: C(() => [
1078
- g(o(n), {
1085
+ g(t(l), {
1079
1086
  id: "konnectio-hotel-module",
1080
1087
  "access-token": b.accessToken,
1081
- callback: o(Wt)
1088
+ callback: t(xt)
1082
1089
  }, {
1083
1090
  default: C(() => [
1084
- g($o, {
1091
+ g(Po, {
1085
1092
  layout: b.headerLayout,
1086
- steps: xt,
1087
- onReset: o(jt)
1093
+ steps: Jt,
1094
+ onReset: t(Gt)
1088
1095
  }, {
1089
1096
  availability: C(({ next: x }) => [
1090
- g(Ye, null, {
1097
+ g(Ze, null, {
1091
1098
  form: C(() => [
1092
- a("div", Cn, [
1093
- a("div", $n, [
1094
- g(Vo, {
1099
+ a("div", $l, [
1100
+ a("div", Al, [
1101
+ g(wo, {
1095
1102
  booking: !0,
1096
- "selected-location": Number(b.selectedLocation)
1097
- }, null, 8, ["selected-location"])
1103
+ "selected-location": Number(b.selectedLocation),
1104
+ "disable-default-location": b.disableDefaultLocation === "yes"
1105
+ }, null, 8, ["selected-location", "disable-default-location"])
1098
1106
  ]),
1099
1107
  _("", !0),
1100
- !o(p) && o(ve) ? (c(), h("div", An, [
1101
- o(N).roomGroups.length > 0 || o(N).templates.length > 0 || o(N).specialTemplates.length > 0 ? (c(), h("div", Pn, [
1102
- o(N).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), h("div", Dn, [
1103
- b.onlyShow !== "packages" ? (c(), h("h2", Sn, [
1108
+ !t(r) && t(be) ? (c(), f("div", Pl, [
1109
+ t(F).roomGroups.length > 0 || t(F).templates.length > 0 || t(F).specialTemplates.length > 0 ? (c(), f("div", Dl, [
1110
+ t(F).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Sl, [
1111
+ b.onlyShow !== "packages" ? (c(), f("h2", Hl, [
1104
1112
  g(z, {
1105
1113
  icon: "box",
1106
1114
  type: "fal",
1107
1115
  color: "header"
1108
1116
  }),
1109
- a("span", null, v(o(e)("booking.availability.packagesTitle")), 1)
1117
+ a("span", null, h(t(e)("booking.availability.packagesTitle")), 1)
1110
1118
  ])) : _("", !0),
1111
- a("ul", Hn, [
1112
- (c(!0), h(R, null, O(o(N).templates, ({
1119
+ a("ul", Il, [
1120
+ (c(!0), f(M, null, U(t(F).templates, ({
1113
1121
  id: P,
1114
1122
  name: y,
1115
1123
  templateRoomGroups: G,
1116
- image: M,
1124
+ image: L,
1117
1125
  description: S,
1118
- weekendFee: oe
1119
- }) => (c(), A(un, {
1126
+ weekendFee: te
1127
+ }) => (c(), A(cl, {
1120
1128
  key: P,
1121
1129
  id: P,
1122
1130
  description: S,
1123
1131
  name: y,
1124
- image: M,
1125
- weekendFee: oe,
1132
+ image: L,
1133
+ weekendFee: te,
1126
1134
  "room-groups": G,
1127
1135
  callback: x,
1128
1136
  "hide-addons": b.hideAddons === "yes" || b.hideAddons === "packages"
1129
1137
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
1130
1138
  ])
1131
1139
  ])) : _("", !0),
1132
- o(N).roomGroups.length > 0 && b.onlyShow !== "packages" ? (c(), h("div", In, [
1133
- o(N).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), h("h2", Bn, [
1140
+ t(F).roomGroups.length > 0 && b.onlyShow !== "packages" ? (c(), f("div", Bl, [
1141
+ t(F).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("h2", El, [
1134
1142
  g(z, {
1135
1143
  icon: "house",
1136
1144
  type: "fal",
1137
1145
  color: "header"
1138
1146
  }),
1139
- a("span", null, v(o(e)("booking.availability.roomsTitle")), 1)
1147
+ a("span", null, h(t(e)("booking.availability.roomsTitle")), 1)
1140
1148
  ])) : _("", !0),
1141
- a("ul", En, [
1142
- (c(!0), h(R, null, O(Jt.value, (P, y) => (c(), A(ln, {
1149
+ a("ul", Nl, [
1150
+ (c(!0), f(M, null, U(Zt.value, (P, y) => (c(), A(il, {
1143
1151
  room: P,
1144
1152
  key: y
1145
1153
  }, null, 8, ["room"]))), 128))
1146
1154
  ])
1147
1155
  ])) : _("", !0),
1148
- o(N).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (c(), h("div", Mn, [
1149
- a("h2", Rn, [
1156
+ t(F).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Ll, [
1157
+ a("h2", Ml, [
1150
1158
  g(z, {
1151
1159
  icon: "sparkles",
1152
1160
  type: "fal",
1153
1161
  color: "header"
1154
1162
  }),
1155
- a("span", null, v(o(e)("hotel.specialOffers")), 1)
1163
+ a("span", null, h(t(e)("hotel.specialOffers")), 1)
1156
1164
  ]),
1157
- a("ul", Nn, [
1158
- (c(!0), h(R, null, O(o(N).specialTemplates, ({
1165
+ a("ul", Rl, [
1166
+ (c(!0), f(M, null, U(t(F).specialTemplates, ({
1159
1167
  id: P,
1160
1168
  name: y,
1161
1169
  templateRoomGroups: G,
1162
- image: M,
1170
+ image: L,
1163
1171
  description: S,
1164
- weekendFee: oe,
1165
- fromDate: Y,
1166
- toDate: he
1167
- }) => (c(), A(mn, {
1172
+ weekendFee: te,
1173
+ fromDate: Q,
1174
+ toDate: ve
1175
+ }) => (c(), A(fl, {
1168
1176
  key: P,
1169
1177
  id: P,
1170
1178
  description: S,
1171
1179
  name: y,
1172
- image: M,
1173
- fromDate: Y,
1174
- toDate: he,
1175
- weekendFee: oe,
1180
+ image: L,
1181
+ fromDate: Q,
1182
+ toDate: ve,
1183
+ weekendFee: te,
1176
1184
  "room-groups": G,
1177
1185
  callback: x
1178
1186
  }, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
1179
1187
  ])
1180
1188
  ])) : _("", !0),
1181
- (o(N).templates.length === 0 && b.onlyShow !== "rooms" || o(N).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(), h("div", Un, [
1182
- a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
1189
+ (t(F).templates.length === 0 && b.onlyShow !== "rooms" || t(F).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(), f("div", Ul, [
1190
+ a("span", null, h(t(e)("booking.availability.nothingAvailable")), 1)
1183
1191
  ])) : _("", !0)
1184
- ])) : o(N).nextAvailableDates.length === 0 ? (c(), h("div", Ln, [
1185
- a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
1186
- ])) : (c(), h("div", Fn, [
1187
- a("h2", On, [
1192
+ ])) : t(F).nextAvailableDates.length === 0 ? (c(), f("div", Fl, [
1193
+ a("span", null, h(t(e)("booking.availability.nothingAvailable")), 1)
1194
+ ])) : (c(), f("div", Ol, [
1195
+ a("h2", jl, [
1188
1196
  g(z, {
1189
1197
  icon: "calendar-circle-exclamation",
1190
1198
  type: "fal",
1191
1199
  color: "header"
1192
1200
  }),
1193
- a("span", null, v(o(e)("booking.availability.nextAvailableDates")), 1)
1201
+ a("span", null, h(t(e)("booking.availability.nextAvailableDates")), 1)
1194
1202
  ]),
1195
- a("ul", jn, [
1196
- (c(!0), h(R, null, O(o(N).nextAvailableDates, (P, y) => (c(), h("li", { key: y }, [
1203
+ a("ul", ql, [
1204
+ (c(!0), f(M, null, U(t(F).nextAvailableDates, (P, y) => (c(), f("li", { key: y }, [
1197
1205
  a("h3", {
1198
- title: `${o(ce)(P.fromDate)} - ${o(ce)(P.toDate)}`
1206
+ title: `${t(pe)(P.fromDate)} - ${t(pe)(P.toDate)}`
1199
1207
  }, [
1200
- a("span", null, v(`${o(ce)(P.fromDate)} - ${o(ce)(P.toDate)}`), 1)
1201
- ], 8, qn),
1208
+ a("span", null, h(`${t(pe)(P.fromDate)} - ${t(pe)(P.toDate)}`), 1)
1209
+ ], 8, Gl),
1202
1210
  a("ul", null, [
1203
1211
  _("", !0),
1204
1212
  a("li", null, [
@@ -1207,114 +1215,116 @@ const Xn = /* @__PURE__ */ wn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1207
1215
  type: "fal",
1208
1216
  color: "header"
1209
1217
  }),
1210
- a("span", null, v(o(e)("booking.availability.pricesFrom")) + ": " + v(o(ne)(P.priceStartFrom, o(te))), 1)
1218
+ a("span", null, h(t(e)("booking.availability.pricesFrom")) + ": " + h(t(oe)(P.priceStartFrom, t(Pe))), 1)
1211
1219
  ])
1212
1220
  ]),
1213
- g(ue, {
1214
- label: o(e)("booking.availability.selectDates"),
1221
+ g(ce, {
1222
+ label: t(e)("booking.availability.selectDates"),
1215
1223
  "full-width": "",
1216
- onClickEvent: (G) => o(Le)(new Date(P.fromDate), new Date(P.toDate))
1224
+ onClickEvent: (G) => t(Oe)(new Date(P.fromDate), new Date(P.toDate))
1217
1225
  }, null, 8, ["label", "onClickEvent"])
1218
1226
  ]))), 128))
1219
1227
  ])
1220
1228
  ]))
1221
- ])) : (c(), h("div", Gn, [
1222
- g(Je),
1223
- g(Je),
1224
- g(Je)
1229
+ ])) : isNaN(t(i)) && !t(r) ? (c(), f("div", Wl, [
1230
+ a("span", null, h(t(e)("alert.info.selectHotelToStart")), 1)
1231
+ ])) : (c(), f("div", Kl, [
1232
+ g(Ye),
1233
+ g(Ye),
1234
+ g(Ye)
1225
1235
  ]))
1226
1236
  ])
1227
1237
  ]),
1228
1238
  navigation: C(() => [
1229
- o(Ne) ? (c(), A(ue, {
1239
+ t(Ce) ? (c(), A(ce, {
1230
1240
  key: 0,
1231
- label: o(e)("general.searchAgain"),
1232
- "is-loading": o(p),
1241
+ label: isNaN(t(i)) ? t(e)("availability.buttonLabel") : t(e)("general.searchAgain"),
1242
+ "is-loading": t(r),
1233
1243
  "full-width": "",
1234
- onClickEvent: T[1] || (T[1] = (P) => o(rt)())
1235
- }, null, 8, ["label", "is-loading"])) : (c(), A(ue, {
1244
+ onClickEvent: T[1] || (T[1] = (P) => t(rt)())
1245
+ }, null, 8, ["label", "is-loading"])) : (c(), A(ce, {
1236
1246
  key: 1,
1237
- label: o(me) || Ge.value ? o(e)("booking.availability.nextButton") : o(e)("general.chooseAddons"),
1238
- disabled: !o(ie),
1247
+ label: t(ge) || We.value ? t(e)("booking.availability.nextButton") : t(e)("general.chooseAddons"),
1248
+ disabled: !t(we),
1239
1249
  "full-width": "",
1240
- onClickEvent: (P) => Xt(x)
1250
+ onClickEvent: (P) => to(x)
1241
1251
  }, null, 8, ["label", "disabled", "onClickEvent"]))
1242
1252
  ]),
1243
1253
  _: 2
1244
1254
  }, 1024)
1245
1255
  ]),
1246
1256
  addons: C(({ next: x, prev: P }) => [
1247
- o(ve) ? (c(), A(Ye, { key: 0 }, {
1257
+ t(be) ? (c(), A(Ze, { key: 0 }, {
1248
1258
  form: C(() => [
1249
- a("form", Wn, [
1259
+ a("form", xl, [
1250
1260
  a("h2", null, [
1251
- a("span", null, v(o(e)("booking.reservation.addons")), 1)
1261
+ a("span", null, h(t(e)("booking.reservation.addons")), 1)
1252
1262
  ]),
1253
1263
  a("div", null, [
1254
- isNaN(o(i)) ? (c(), h("div", Kn, [
1255
- (c(!0), h(R, null, O(o(X), (y) => (c(), h("ul", {
1264
+ isNaN(t(m)) ? (c(), f("div", zl, [
1265
+ (c(!0), f(M, null, U(t(ye), (y) => (c(), f("ul", {
1256
1266
  key: y.roomGroupID
1257
1267
  }, [
1258
- (c(!0), h(R, null, O(y.variants, (G, M) => (c(), h("li", {
1268
+ (c(!0), f(M, null, U(y.variants, (G, L) => (c(), f("li", {
1259
1269
  key: G.ratePlanID
1260
1270
  }, [
1261
1271
  a("h4", null, [
1262
- a("span", null, v(o(de)(y.title)), 1)
1272
+ a("span", null, h(t(ue)(y.title)), 1)
1263
1273
  ]),
1264
- (c(!0), h(R, null, O(G.rooms, (S, oe) => (c(), h("table", {
1265
- key: oe,
1274
+ (c(!0), f(M, null, U(G.rooms, (S, te) => (c(), f("table", {
1275
+ key: te,
1266
1276
  class: "konnectio-table with-lines"
1267
1277
  }, [
1268
1278
  a("thead", null, [
1269
1279
  a("tr", null, [
1270
1280
  a("th", null, [
1271
- a("span", null, v(o(de)(G.name)), 1)
1281
+ a("span", null, h(t(ue)(G.name)), 1)
1272
1282
  ]),
1273
1283
  _("", !0),
1274
- a("th", xn, [
1284
+ a("th", Jl, [
1275
1285
  a("b", null, [
1276
1286
  g(z, {
1277
1287
  icon: "male",
1278
1288
  type: "fas",
1279
1289
  color: "font"
1280
1290
  }),
1281
- a("span", null, v(S.adultsCount), 1),
1291
+ a("span", null, h(S.adultsCount), 1),
1282
1292
  S.childrenCount > 0 ? (c(), A(z, {
1283
1293
  key: 0,
1284
1294
  icon: "child",
1285
1295
  type: "fas",
1286
1296
  color: "font"
1287
1297
  })) : _("", !0),
1288
- S.childrenCount > 0 ? (c(), h("span", zn, v(S.childrenCount), 1)) : _("", !0)
1298
+ S.childrenCount > 0 ? (c(), f("span", Yl, h(S.childrenCount), 1)) : _("", !0)
1289
1299
  ])
1290
1300
  ])
1291
1301
  ])
1292
1302
  ]),
1293
1303
  a("tbody", null, [
1294
- (c(!0), h(R, null, O(o(dt)(G.addons, S.childrenCount), ({
1295
- quantityStrategy: Y,
1296
- maximumNumber: he,
1297
- id: ke,
1298
- name: to,
1299
- price: oo
1300
- }) => (c(), h("tr", { key: ke }, [
1301
- a("td", Jn, [
1302
- a("b", null, v(o(de)(to)), 1),
1303
- a("span", null, v(o(ne)(oo, o(te))) + " " + v(o(mt)(Y)), 1)
1304
+ (c(!0), f(M, null, U(t(dt)(G.addons, S.childrenCount), ({
1305
+ quantityStrategy: Q,
1306
+ maximumNumber: ve,
1307
+ id: se,
1308
+ name: lo,
1309
+ price: no
1310
+ }) => (c(), f("tr", { key: se }, [
1311
+ a("td", Zl, [
1312
+ a("b", null, h(t(ue)(lo)), 1),
1313
+ a("span", null, h(t(oe)(no, t(Pe))) + " " + h(t(mt)(Q)), 1)
1304
1314
  ]),
1305
- a("td", Yn, [
1306
- o(L)[y.roomGroupID][M].config[S.configIdx].addons[S.roomIdx] ? (c(), h(R, { key: 0 }, [
1307
- Y === 1 || Y === 12 ? (c(), A(et, {
1315
+ a("td", Ql, [
1316
+ t(Z)[y.roomGroupID][L].config[S.configIdx].addons[S.roomIdx] ? (c(), f(M, { key: 0 }, [
1317
+ Q === 1 || Q === 12 ? (c(), A(tt, {
1308
1318
  key: 0,
1309
- modelValue: o(L)[y.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][ke],
1310
- "onUpdate:modelValue": (We) => o(L)[y.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][ke] = We,
1319
+ modelValue: t(Z)[y.roomGroupID][L].config[S.configIdx].addons[S.roomIdx][se],
1320
+ "onUpdate:modelValue": (Ke) => t(Z)[y.roomGroupID][L].config[S.configIdx].addons[S.roomIdx][se] = Ke,
1311
1321
  small: !0,
1312
1322
  "min-value": 0,
1313
- "max-value": he || 1 / 0
1314
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(Ie, {
1323
+ "max-value": ve || 1 / 0
1324
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(Le, {
1315
1325
  key: 1,
1316
- modelValue: o(L)[y.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][ke],
1317
- "onUpdate:modelValue": (We) => o(L)[y.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][ke] = We,
1326
+ modelValue: t(Z)[y.roomGroupID][L].config[S.configIdx].addons[S.roomIdx][se],
1327
+ "onUpdate:modelValue": (Ke) => t(Z)[y.roomGroupID][L].config[S.configIdx].addons[S.roomIdx][se] = Ke,
1318
1328
  numeric: !0
1319
1329
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1320
1330
  ], 64)) : _("", !0)
@@ -1324,45 +1334,45 @@ const Xn = /* @__PURE__ */ wn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1324
1334
  ]))), 128))
1325
1335
  ]))), 128))
1326
1336
  ]))), 128))
1327
- ])) : o(Te) ? (c(), h("div", Zn, [
1337
+ ])) : t(ke) ? (c(), f("div", Xl, [
1328
1338
  a("div", null, [
1329
1339
  a("h4", null, [
1330
- a("span", null, v(o(Re).name), 1)
1340
+ a("span", null, h(t(_e).name), 1)
1331
1341
  ]),
1332
- a("table", Qn, [
1342
+ a("table", en, [
1333
1343
  a("thead", null, [
1334
1344
  a("tr", null, [
1335
1345
  a("th", null, [
1336
- a("span", null, v(o(de)(o(Te).title)), 1)
1346
+ a("span", null, h(t(ue)(t(ke).title)), 1)
1337
1347
  ]),
1338
1348
  _("", !0),
1339
- Xn
1349
+ tn
1340
1350
  ])
1341
1351
  ]),
1342
1352
  a("tbody", null, [
1343
- (c(!0), h(R, null, O(o(dt)(o(Te).addons, o(ye)), ({
1353
+ (c(!0), f(M, null, U(t(dt)(t(ke).addons, t(ne)), ({
1344
1354
  quantityStrategy: y,
1345
1355
  maximumNumber: G,
1346
- id: M,
1356
+ id: L,
1347
1357
  name: S,
1348
- price: oe
1349
- }) => (c(), h("tr", { key: M }, [
1350
- a("td", el, [
1351
- a("b", null, v(o(de)(S)), 1),
1352
- a("span", null, v(o(ne)(oe, o(te))) + " " + v(o(mt)(y)), 1)
1358
+ price: te
1359
+ }) => (c(), f("tr", { key: L }, [
1360
+ a("td", on, [
1361
+ a("b", null, h(t(ue)(S)), 1),
1362
+ a("span", null, h(t(oe)(te, t(Pe))) + " " + h(t(mt)(y)), 1)
1353
1363
  ]),
1354
- a("td", tl, [
1355
- y === 1 || y === 12 ? (c(), A(et, {
1364
+ a("td", ln, [
1365
+ y === 1 || y === 12 ? (c(), A(tt, {
1356
1366
  key: 0,
1357
- modelValue: o(s)[M],
1358
- "onUpdate:modelValue": (Y) => o(s)[M] = Y,
1367
+ modelValue: t(p)[L],
1368
+ "onUpdate:modelValue": (Q) => t(p)[L] = Q,
1359
1369
  small: !0,
1360
1370
  "min-value": 0,
1361
1371
  "max-value": G || 1 / 0
1362
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(Ie, {
1372
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(Le, {
1363
1373
  key: 1,
1364
- modelValue: o(s)[M],
1365
- "onUpdate:modelValue": (Y) => o(s)[M] = Y,
1374
+ modelValue: t(p)[L],
1375
+ "onUpdate:modelValue": (Q) => t(p)[L] = Q,
1366
1376
  numeric: !0
1367
1377
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1368
1378
  ])
@@ -1375,197 +1385,197 @@ const Xn = /* @__PURE__ */ wn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1375
1385
  ])
1376
1386
  ]),
1377
1387
  navigation: C(() => [
1378
- g(ue, {
1379
- label: o(e)("general.startReservation"),
1388
+ g(ce, {
1389
+ label: t(e)("general.startReservation"),
1380
1390
  "full-width": "",
1381
1391
  onClickEvent: x
1382
1392
  }, null, 8, ["label", "onClickEvent"]),
1383
1393
  a("button", {
1384
1394
  class: "konnectio-abort-reservation link",
1385
- onClick: De((y) => ut(P), ["prevent"])
1395
+ onClick: Be((y) => ut(P), ["prevent"])
1386
1396
  }, [
1387
- a("span", null, v(o(e)("general.goAStepBack")), 1)
1388
- ], 8, ol)
1397
+ a("span", null, h(t(e)("general.goAStepBack")), 1)
1398
+ ], 8, nn)
1389
1399
  ]),
1390
1400
  _: 2
1391
1401
  }, 1024)) : _("", !0)
1392
1402
  ]),
1393
1403
  reservation: C(({ next: x, prev: P }) => [
1394
- o(ve) ? (c(), A(Ye, {
1404
+ t(be) ? (c(), A(Ze, {
1395
1405
  key: 0,
1396
1406
  "show-terms-notice": !0,
1397
1407
  "show-gift-card": !0
1398
1408
  }, {
1399
1409
  form: C(() => [
1400
- a("form", nl, [
1410
+ a("form", an, [
1401
1411
  a("h2", null, [
1402
- a("span", null, v(o(e)("booking.reservation.detailsTitle")), 1)
1412
+ a("span", null, h(t(e)("booking.reservation.detailsTitle")), 1)
1403
1413
  ]),
1404
- !o(Mt) && !(o(Oe) && o(je)) ? (c(), h("ul", {
1414
+ !t(Mt) && !(t(je) && t(qe)) ? (c(), f("ul", {
1405
1415
  key: 0,
1406
- class: He({ "konnectio-split-inputs": !o(Oe) && !o(je) })
1416
+ class: Ne({ "konnectio-split-inputs": !t(je) && !t(qe) })
1407
1417
  }, [
1408
- o(Oe) ? _("", !0) : (c(), h("li", ll, [
1418
+ t(je) ? _("", !0) : (c(), f("li", sn, [
1409
1419
  g(ht, {
1410
- modelValue: o(f),
1411
- "onUpdate:modelValue": T[2] || (T[2] = (y) => F(f) ? f.value = y : null),
1412
- label: o(e)("booking.reservation.arrivalTime"),
1420
+ modelValue: t($),
1421
+ "onUpdate:modelValue": T[2] || (T[2] = (y) => R($) ? $.value = y : null),
1422
+ label: t(e)("booking.reservation.arrivalTime"),
1413
1423
  icon: "hourglass-start",
1414
- "hour-range": Yt.value,
1424
+ "hour-range": Qt.value,
1415
1425
  required: ""
1416
1426
  }, null, 8, ["modelValue", "label", "hour-range"])
1417
1427
  ])),
1418
- o(je) ? _("", !0) : (c(), h("li", al, [
1428
+ t(qe) ? _("", !0) : (c(), f("li", rn, [
1419
1429
  g(ht, {
1420
- modelValue: o(V),
1421
- "onUpdate:modelValue": T[3] || (T[3] = (y) => F(V) ? V.value = y : null),
1422
- label: o(e)("booking.reservation.departureTime"),
1430
+ modelValue: t(w),
1431
+ "onUpdate:modelValue": T[3] || (T[3] = (y) => R(w) ? w.value = y : null),
1432
+ label: t(e)("booking.reservation.departureTime"),
1423
1433
  icon: "hourglass-end",
1424
- "hour-range": Zt.value,
1434
+ "hour-range": Xt.value,
1425
1435
  required: ""
1426
1436
  }, null, 8, ["modelValue", "label", "hour-range"])
1427
1437
  ]))
1428
1438
  ], 2)) : _("", !0),
1429
- g(gn, {
1430
- modelValue: o($),
1431
- "onUpdate:modelValue": T[4] || (T[4] = (y) => F($) ? $.value = y : null),
1432
- title: o(w),
1433
- "onUpdate:title": T[5] || (T[5] = (y) => F(w) ? w.value = y : null),
1434
- "exclude-title": o(Rt),
1435
- label: o(e)("booking.reservation.name"),
1439
+ g(bl, {
1440
+ modelValue: t(H),
1441
+ "onUpdate:modelValue": T[4] || (T[4] = (y) => R(H) ? H.value = y : null),
1442
+ title: t(E),
1443
+ "onUpdate:title": T[5] || (T[5] = (y) => R(E) ? E.value = y : null),
1444
+ "exclude-title": t(Rt),
1445
+ label: t(e)("booking.reservation.name"),
1436
1446
  icon: "user-alt",
1437
- placeholder: o(e)("booking.reservation.namePlaceholder"),
1447
+ placeholder: t(e)("booking.reservation.namePlaceholder"),
1438
1448
  required: ""
1439
1449
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1440
- g(re, {
1441
- modelValue: o(H),
1442
- "onUpdate:modelValue": T[6] || (T[6] = (y) => F(H) ? H.value = y : null),
1450
+ g(de, {
1451
+ modelValue: t(B),
1452
+ "onUpdate:modelValue": T[6] || (T[6] = (y) => R(B) ? B.value = y : null),
1443
1453
  type: "email",
1444
1454
  name: "email",
1445
1455
  autocomplete: "email",
1446
- label: o(e)("booking.reservation.email"),
1456
+ label: t(e)("booking.reservation.email"),
1447
1457
  icon: "at",
1448
- placeholder: o(e)("booking.reservation.emailPlaceholder"),
1458
+ placeholder: t(e)("booking.reservation.emailPlaceholder"),
1449
1459
  required: ""
1450
1460
  }, null, 8, ["modelValue", "label", "placeholder"]),
1451
- o(Lt) ? _("", !0) : (c(), A(re, {
1461
+ t(Ot) ? _("", !0) : (c(), A(de, {
1452
1462
  key: 1,
1453
- modelValue: o(B),
1454
- "onUpdate:modelValue": T[7] || (T[7] = (y) => F(B) ? B.value = y : null),
1463
+ modelValue: t(D),
1464
+ "onUpdate:modelValue": T[7] || (T[7] = (y) => R(D) ? D.value = y : null),
1455
1465
  type: "text",
1456
1466
  name: "firm",
1457
1467
  autocomplete: "firm",
1458
- label: `${o(e)("booking.reservation.companyName")} (${o(e)("booking.reservation.optional")})`,
1468
+ label: `${t(e)("booking.reservation.companyName")} (${t(e)("booking.reservation.optional")})`,
1459
1469
  icon: "id-card",
1460
- placeholder: o(e)("booking.reservation.companyNamePlaceholder")
1470
+ placeholder: t(e)("booking.reservation.companyNamePlaceholder")
1461
1471
  }, null, 8, ["modelValue", "label", "placeholder"])),
1462
- g(Io, {
1463
- modelValue: o(E),
1464
- "onUpdate:modelValue": T[8] || (T[8] = (y) => F(E) ? E.value = y : null),
1472
+ g(Eo, {
1473
+ modelValue: t(k),
1474
+ "onUpdate:modelValue": T[8] || (T[8] = (y) => R(k) ? k.value = y : null),
1465
1475
  icon: "phone-office",
1466
- label: o(e)("booking.reservation.phone"),
1467
- placeholder: o(e)("booking.reservation.phonePlaceholder"),
1476
+ label: t(e)("booking.reservation.phone"),
1477
+ placeholder: t(e)("booking.reservation.phonePlaceholder"),
1468
1478
  required: ""
1469
1479
  }, null, 8, ["modelValue", "label", "placeholder"]),
1470
- g(vn, {
1471
- modelValue: o(J),
1472
- "onUpdate:modelValue": T[9] || (T[9] = (y) => F(J) ? J.value = y : null),
1473
- label: o(e)("booking.reservation.country"),
1474
- placeholder: o(e)("booking.reservation.countryPlaceholder"),
1475
- options: o(m),
1480
+ g(yl, {
1481
+ modelValue: t(W),
1482
+ "onUpdate:modelValue": T[9] || (T[9] = (y) => R(W) ? W.value = y : null),
1483
+ label: t(e)("booking.reservation.country"),
1484
+ placeholder: t(e)("booking.reservation.countryPlaceholder"),
1485
+ options: t(u),
1476
1486
  required: ""
1477
1487
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1478
- g(re, {
1479
- modelValue: o(I),
1480
- "onUpdate:modelValue": T[10] || (T[10] = (y) => F(I) ? I.value = y : null),
1488
+ g(de, {
1489
+ modelValue: t(j),
1490
+ "onUpdate:modelValue": T[10] || (T[10] = (y) => R(j) ? j.value = y : null),
1481
1491
  type: "textarea",
1482
1492
  name: "address",
1483
1493
  autocomplete: "street-address",
1484
- label: o(e)("booking.reservation.streetAddress"),
1494
+ label: t(e)("booking.reservation.streetAddress"),
1485
1495
  icon: "map-marked",
1486
- placeholder: o(e)("booking.reservation.streetAddressPlaceholder"),
1496
+ placeholder: t(e)("booking.reservation.streetAddressPlaceholder"),
1487
1497
  required: ""
1488
1498
  }, null, 8, ["modelValue", "label", "placeholder"]),
1489
- a("ul", il, [
1499
+ a("ul", dn, [
1490
1500
  a("li", null, [
1491
- g(re, {
1492
- modelValue: o(k),
1493
- "onUpdate:modelValue": T[11] || (T[11] = (y) => F(k) ? k.value = y : null),
1501
+ g(de, {
1502
+ modelValue: t(I),
1503
+ "onUpdate:modelValue": T[11] || (T[11] = (y) => R(I) ? I.value = y : null),
1494
1504
  type: "text",
1495
1505
  name: "postal",
1496
1506
  autocomplete: "postal-code",
1497
- label: o(e)("booking.reservation.postal"),
1507
+ label: t(e)("booking.reservation.postal"),
1498
1508
  icon: "mailbox",
1499
- placeholder: o(e)("booking.reservation.postalPlaceholder"),
1509
+ placeholder: t(e)("booking.reservation.postalPlaceholder"),
1500
1510
  required: ""
1501
1511
  }, null, 8, ["modelValue", "label", "placeholder"])
1502
1512
  ]),
1503
1513
  a("li", null, [
1504
- g(re, {
1505
- modelValue: o(D),
1506
- "onUpdate:modelValue": T[12] || (T[12] = (y) => F(D) ? D.value = y : null),
1514
+ g(de, {
1515
+ modelValue: t(J),
1516
+ "onUpdate:modelValue": T[12] || (T[12] = (y) => R(J) ? J.value = y : null),
1507
1517
  type: "text",
1508
1518
  name: "city",
1509
1519
  autocomplete: "address-level2",
1510
- label: o(e)("booking.reservation.city"),
1520
+ label: t(e)("booking.reservation.city"),
1511
1521
  icon: "city",
1512
- placeholder: o(e)("booking.reservation.cityPlaceholder"),
1522
+ placeholder: t(e)("booking.reservation.cityPlaceholder"),
1513
1523
  required: ""
1514
1524
  }, null, 8, ["modelValue", "label", "placeholder"])
1515
1525
  ])
1516
1526
  ]),
1517
- g(re, {
1518
- modelValue: o(q),
1519
- "onUpdate:modelValue": T[13] || (T[13] = (y) => F(q) ? q.value = y : null),
1527
+ g(de, {
1528
+ modelValue: t(q),
1529
+ "onUpdate:modelValue": T[13] || (T[13] = (y) => R(q) ? q.value = y : null),
1520
1530
  type: "textarea",
1521
- label: `${o(e)("booking.reservation.remark")} (${o(e)("booking.reservation.optional")})`,
1531
+ label: `${t(e)("booking.reservation.remark")} (${t(e)("booking.reservation.optional")})`,
1522
1532
  icon: "info-circle",
1523
- placeholder: o(e)("booking.reservation.remarkPlaceholder")
1533
+ placeholder: t(e)("booking.reservation.remarkPlaceholder")
1524
1534
  }, null, 8, ["modelValue", "label", "placeholder"]),
1525
- g(re, {
1526
- modelValue: o(W),
1527
- "onUpdate:modelValue": T[14] || (T[14] = (y) => F(W) ? W.value = y : null),
1535
+ g(de, {
1536
+ modelValue: t(Y),
1537
+ "onUpdate:modelValue": T[14] || (T[14] = (y) => R(Y) ? Y.value = y : null),
1528
1538
  type: "textarea",
1529
- label: `${o(e)("booking.reservation.allergies")} (${o(e)("booking.reservation.optional")})`,
1539
+ label: `${t(e)("booking.reservation.allergies")} (${t(e)("booking.reservation.optional")})`,
1530
1540
  icon: "allergies",
1531
- placeholder: o(e)("booking.reservation.allergiesPlaceholder")
1541
+ placeholder: t(e)("booking.reservation.allergiesPlaceholder")
1532
1542
  }, null, 8, ["modelValue", "label", "placeholder"]),
1533
- o(Nt) ? _("", !0) : (c(), A(Ao, {
1543
+ t(Ut) ? _("", !0) : (c(), A(Do, {
1534
1544
  key: 2,
1535
- modelValue: o(d),
1536
- "onUpdate:modelValue": T[15] || (T[15] = (y) => F(d) ? d.value = y : null),
1537
- label: `${o(e)("booking.reservation.purposeOfStay")} (${o(e)("booking.reservation.optional")})`,
1545
+ modelValue: t(V),
1546
+ "onUpdate:modelValue": T[15] || (T[15] = (y) => R(V) ? V.value = y : null),
1547
+ label: `${t(e)("booking.reservation.purposeOfStay")} (${t(e)("booking.reservation.optional")})`,
1538
1548
  name: "travelingFor",
1539
- checkboxes: zt.value
1549
+ checkboxes: Yt.value
1540
1550
  }, null, 8, ["modelValue", "label", "checkboxes"]))
1541
1551
  ])
1542
1552
  ]),
1543
1553
  navigation: C(() => [
1544
1554
  a("div", null, [
1545
- g(ue, {
1546
- label: o(Ft) ? o(e)("booking.reservation.nextButton") : o(e)("general.confirmReservation"),
1547
- disabled: !o(r),
1548
- "is-loading": o(u),
1555
+ g(ce, {
1556
+ label: t(jt) ? t(e)("booking.reservation.nextButton") : t(e)("general.confirmReservation"),
1557
+ disabled: !t(v),
1558
+ "is-loading": t(d),
1549
1559
  "full-width": "",
1550
- onClickEvent: (y) => Qt(x)
1560
+ onClickEvent: (y) => eo(x)
1551
1561
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
1552
1562
  a("button", {
1553
1563
  class: "konnectio-abort-reservation link",
1554
- onClick: De((y) => ut(P), ["prevent"])
1564
+ onClick: Be((y) => ut(P), ["prevent"])
1555
1565
  }, [
1556
- a("span", null, v(o(e)("general.goAStepBack")), 1)
1557
- ], 8, sl)
1566
+ a("span", null, h(t(e)("general.goAStepBack")), 1)
1567
+ ], 8, un)
1558
1568
  ])
1559
1569
  ]),
1560
1570
  _: 2
1561
1571
  }, 1024)) : _("", !0)
1562
1572
  ]),
1563
1573
  payment: C(() => [
1564
- g(Bo)
1574
+ g(No)
1565
1575
  ]),
1566
1576
  confirmation: C(() => [
1567
- g(Po, {
1568
- message: o(e)("booking.confirmation.thankYou")
1577
+ g(So, {
1578
+ message: t(e)("booking.confirmation.thankYou")
1569
1579
  }, null, 8, ["message"])
1570
1580
  ]),
1571
1581
  _: 1
@@ -1575,7 +1585,7 @@ const Xn = /* @__PURE__ */ wn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1575
1585
  }, 8, ["access-token", "callback"])
1576
1586
  ]),
1577
1587
  fallback: C(() => [
1578
- g(Tn)
1588
+ g(wl)
1579
1589
  ]),
1580
1590
  _: 1
1581
1591
  }))
@@ -1583,146 +1593,146 @@ const Xn = /* @__PURE__ */ wn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1583
1593
  _: 1
1584
1594
  }, 8, ["styling"]));
1585
1595
  }
1586
- }), $e = /* @__PURE__ */ pe(rl, [["__scopeId", "data-v-c01c0c19"]]);
1587
- function tt(l, n = {}, t) {
1588
- for (const e in l) {
1589
- const i = l[e], s = t ? `${t}:${e}` : e;
1590
- typeof i == "object" && i !== null ? tt(i, n, s) : typeof i == "function" && (n[s] = i);
1596
+ }), Se = /* @__PURE__ */ me(cn, [["__scopeId", "data-v-be167e1f"]]);
1597
+ function ot(n, l = {}, o) {
1598
+ for (const e in n) {
1599
+ const i = n[e], s = o ? `${o}:${e}` : e;
1600
+ typeof i == "object" && i !== null ? ot(i, l, s) : typeof i == "function" && (l[s] = i);
1591
1601
  }
1592
- return n;
1602
+ return l;
1593
1603
  }
1594
- const dl = { run: (l) => l() }, ul = () => dl, Pt = typeof console.createTask < "u" ? console.createTask : ul;
1595
- function cl(l, n) {
1596
- const t = n.shift(), e = Pt(t);
1597
- return l.reduce(
1598
- (i, s) => i.then(() => e.run(() => s(...n))),
1604
+ const pn = { run: (n) => n() }, mn = () => pn, Pt = typeof console.createTask < "u" ? console.createTask : mn;
1605
+ function fn(n, l) {
1606
+ const o = l.shift(), e = Pt(o);
1607
+ return n.reduce(
1608
+ (i, s) => i.then(() => e.run(() => s(...l))),
1599
1609
  Promise.resolve()
1600
1610
  );
1601
1611
  }
1602
- function pl(l, n) {
1603
- const t = n.shift(), e = Pt(t);
1604
- return Promise.all(l.map((i) => e.run(() => i(...n))));
1612
+ function hn(n, l) {
1613
+ const o = l.shift(), e = Pt(o);
1614
+ return Promise.all(n.map((i) => e.run(() => i(...l))));
1605
1615
  }
1606
- function Ze(l, n) {
1607
- for (const t of [...l])
1608
- t(n);
1616
+ function Qe(n, l) {
1617
+ for (const o of [...n])
1618
+ o(l);
1609
1619
  }
1610
- class ml {
1620
+ class vn {
1611
1621
  constructor() {
1612
1622
  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);
1613
1623
  }
1614
- hook(n, t, e = {}) {
1615
- if (!n || typeof t != "function")
1624
+ hook(l, o, e = {}) {
1625
+ if (!l || typeof o != "function")
1616
1626
  return () => {
1617
1627
  };
1618
- const i = n;
1628
+ const i = l;
1619
1629
  let s;
1620
- for (; this._deprecatedHooks[n]; )
1621
- s = this._deprecatedHooks[n], n = s.to;
1630
+ for (; this._deprecatedHooks[l]; )
1631
+ s = this._deprecatedHooks[l], l = s.to;
1622
1632
  if (s && !e.allowDeprecated) {
1623
1633
  let m = s.message;
1624
1634
  m || (m = `${i} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(m) || (console.warn(m), this._deprecatedMessages.add(m));
1625
1635
  }
1626
- if (!t.name)
1636
+ if (!o.name)
1627
1637
  try {
1628
- Object.defineProperty(t, "name", {
1629
- get: () => "_" + n.replace(/\W+/g, "_") + "_hook_cb",
1638
+ Object.defineProperty(o, "name", {
1639
+ get: () => "_" + l.replace(/\W+/g, "_") + "_hook_cb",
1630
1640
  configurable: !0
1631
1641
  });
1632
1642
  } catch {
1633
1643
  }
1634
- return this._hooks[n] = this._hooks[n] || [], this._hooks[n].push(t), () => {
1635
- t && (this.removeHook(n, t), t = void 0);
1644
+ return this._hooks[l] = this._hooks[l] || [], this._hooks[l].push(o), () => {
1645
+ o && (this.removeHook(l, o), o = void 0);
1636
1646
  };
1637
1647
  }
1638
- hookOnce(n, t) {
1639
- let e, i = (...s) => (typeof e == "function" && e(), e = void 0, i = void 0, t(...s));
1640
- return e = this.hook(n, i), e;
1648
+ hookOnce(l, o) {
1649
+ let e, i = (...s) => (typeof e == "function" && e(), e = void 0, i = void 0, o(...s));
1650
+ return e = this.hook(l, i), e;
1641
1651
  }
1642
- removeHook(n, t) {
1643
- if (this._hooks[n]) {
1644
- const e = this._hooks[n].indexOf(t);
1645
- e !== -1 && this._hooks[n].splice(e, 1), this._hooks[n].length === 0 && delete this._hooks[n];
1652
+ removeHook(l, o) {
1653
+ if (this._hooks[l]) {
1654
+ const e = this._hooks[l].indexOf(o);
1655
+ e !== -1 && this._hooks[l].splice(e, 1), this._hooks[l].length === 0 && delete this._hooks[l];
1646
1656
  }
1647
1657
  }
1648
- deprecateHook(n, t) {
1649
- this._deprecatedHooks[n] = typeof t == "string" ? { to: t } : t;
1650
- const e = this._hooks[n] || [];
1651
- delete this._hooks[n];
1658
+ deprecateHook(l, o) {
1659
+ this._deprecatedHooks[l] = typeof o == "string" ? { to: o } : o;
1660
+ const e = this._hooks[l] || [];
1661
+ delete this._hooks[l];
1652
1662
  for (const i of e)
1653
- this.hook(n, i);
1663
+ this.hook(l, i);
1654
1664
  }
1655
- deprecateHooks(n) {
1656
- Object.assign(this._deprecatedHooks, n);
1657
- for (const t in n)
1658
- this.deprecateHook(t, n[t]);
1665
+ deprecateHooks(l) {
1666
+ Object.assign(this._deprecatedHooks, l);
1667
+ for (const o in l)
1668
+ this.deprecateHook(o, l[o]);
1659
1669
  }
1660
- addHooks(n) {
1661
- const t = tt(n), e = Object.keys(t).map(
1662
- (i) => this.hook(i, t[i])
1670
+ addHooks(l) {
1671
+ const o = ot(l), e = Object.keys(o).map(
1672
+ (i) => this.hook(i, o[i])
1663
1673
  );
1664
1674
  return () => {
1665
1675
  for (const i of e.splice(0, e.length))
1666
1676
  i();
1667
1677
  };
1668
1678
  }
1669
- removeHooks(n) {
1670
- const t = tt(n);
1671
- for (const e in t)
1672
- this.removeHook(e, t[e]);
1679
+ removeHooks(l) {
1680
+ const o = ot(l);
1681
+ for (const e in o)
1682
+ this.removeHook(e, o[e]);
1673
1683
  }
1674
1684
  removeAllHooks() {
1675
- for (const n in this._hooks)
1676
- delete this._hooks[n];
1685
+ for (const l in this._hooks)
1686
+ delete this._hooks[l];
1677
1687
  }
1678
- callHook(n, ...t) {
1679
- return t.unshift(n), this.callHookWith(cl, n, ...t);
1688
+ callHook(l, ...o) {
1689
+ return o.unshift(l), this.callHookWith(fn, l, ...o);
1680
1690
  }
1681
- callHookParallel(n, ...t) {
1682
- return t.unshift(n), this.callHookWith(pl, n, ...t);
1691
+ callHookParallel(l, ...o) {
1692
+ return o.unshift(l), this.callHookWith(hn, l, ...o);
1683
1693
  }
1684
- callHookWith(n, t, ...e) {
1685
- const i = this._before || this._after ? { name: t, args: e, context: {} } : void 0;
1686
- this._before && Ze(this._before, i);
1687
- const s = n(
1688
- t in this._hooks ? [...this._hooks[t]] : [],
1694
+ callHookWith(l, o, ...e) {
1695
+ const i = this._before || this._after ? { name: o, args: e, context: {} } : void 0;
1696
+ this._before && Qe(this._before, i);
1697
+ const s = l(
1698
+ o in this._hooks ? [...this._hooks[o]] : [],
1689
1699
  e
1690
1700
  );
1691
1701
  return s instanceof Promise ? s.finally(() => {
1692
- this._after && i && Ze(this._after, i);
1693
- }) : (this._after && i && Ze(this._after, i), s);
1702
+ this._after && i && Qe(this._after, i);
1703
+ }) : (this._after && i && Qe(this._after, i), s);
1694
1704
  }
1695
- beforeEach(n) {
1696
- return this._before = this._before || [], this._before.push(n), () => {
1705
+ beforeEach(l) {
1706
+ return this._before = this._before || [], this._before.push(l), () => {
1697
1707
  if (this._before !== void 0) {
1698
- const t = this._before.indexOf(n);
1699
- t !== -1 && this._before.splice(t, 1);
1708
+ const o = this._before.indexOf(l);
1709
+ o !== -1 && this._before.splice(o, 1);
1700
1710
  }
1701
1711
  };
1702
1712
  }
1703
- afterEach(n) {
1704
- return this._after = this._after || [], this._after.push(n), () => {
1713
+ afterEach(l) {
1714
+ return this._after = this._after || [], this._after.push(l), () => {
1705
1715
  if (this._after !== void 0) {
1706
- const t = this._after.indexOf(n);
1707
- t !== -1 && this._after.splice(t, 1);
1716
+ const o = this._after.indexOf(l);
1717
+ o !== -1 && this._after.splice(o, 1);
1708
1718
  }
1709
1719
  };
1710
1720
  }
1711
1721
  }
1712
- function fl() {
1713
- return new ml();
1722
+ function yn() {
1723
+ return new vn();
1714
1724
  }
1715
- function hl(l) {
1716
- return Array.isArray(l) ? l : [l];
1725
+ function gn(n) {
1726
+ return Array.isArray(n) ? n : [n];
1717
1727
  }
1718
- const vl = ["title", "titleTemplate", "script", "style", "noscript"], Ae = [
1728
+ const bn = ["title", "titleTemplate", "script", "style", "noscript"], He = [
1719
1729
  "base",
1720
1730
  "meta",
1721
1731
  "link",
1722
1732
  "style",
1723
1733
  "script",
1724
1734
  "noscript"
1725
- ], yl = [
1735
+ ], kn = [
1726
1736
  "title",
1727
1737
  "titleTemplate",
1728
1738
  "templateParams",
@@ -1734,75 +1744,75 @@ const vl = ["title", "titleTemplate", "script", "style", "noscript"], Ae = [
1734
1744
  "style",
1735
1745
  "script",
1736
1746
  "noscript"
1737
- ], gl = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Dt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], bl = typeof window < "u";
1738
- function lt(l) {
1739
- let n = 9;
1740
- for (let t = 0; t < l.length; )
1741
- n = Math.imul(n ^ l.charCodeAt(t++), 9 ** 9);
1742
- return ((n ^ n >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
1747
+ ], _n = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Dt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Vn = typeof window < "u";
1748
+ function at(n) {
1749
+ let l = 9;
1750
+ for (let o = 0; o < n.length; )
1751
+ l = Math.imul(l ^ n.charCodeAt(o++), 9 ** 9);
1752
+ return ((l ^ l >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
1743
1753
  }
1744
- function vt(l) {
1745
- return l._h || lt(l._d ? l._d : `${l.tag}:${l.textContent || l.innerHTML || ""}:${Object.entries(l.props).map(([n, t]) => `${n}:${String(t)}`).join(",")}`);
1754
+ function vt(n) {
1755
+ return n._h || at(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([l, o]) => `${l}:${String(o)}`).join(",")}`);
1746
1756
  }
1747
- function St(l, n) {
1748
- const { props: t, tag: e } = l;
1749
- if (gl.includes(e))
1757
+ function St(n, l) {
1758
+ const { props: o, tag: e } = n;
1759
+ if (_n.includes(e))
1750
1760
  return e;
1751
- if (e === "link" && t.rel === "canonical")
1761
+ if (e === "link" && o.rel === "canonical")
1752
1762
  return "canonical";
1753
- if (t.charset)
1763
+ if (o.charset)
1754
1764
  return "charset";
1755
1765
  const i = ["id"];
1756
1766
  e === "meta" && i.push("name", "property", "http-equiv");
1757
1767
  for (const s of i)
1758
- if (typeof t[s] < "u") {
1759
- const m = String(t[s]);
1760
- return n && !n(m) ? !1 : `${e}:${s}:${m}`;
1768
+ if (typeof o[s] < "u") {
1769
+ const m = String(o[s]);
1770
+ return l && !l(m) ? !1 : `${e}:${s}:${m}`;
1761
1771
  }
1762
1772
  return !1;
1763
1773
  }
1764
- function yt(l, n) {
1765
- return l == null ? n || null : typeof l == "function" ? l(n) : l;
1774
+ function yt(n, l) {
1775
+ return n == null ? l || null : typeof n == "function" ? n(l) : n;
1766
1776
  }
1767
- async function kl(l, n, t) {
1777
+ async function Tn(n, l, o) {
1768
1778
  const e = {
1769
- tag: l,
1779
+ tag: n,
1770
1780
  props: await Ht(
1771
1781
  // explicitly check for an object
1772
1782
  // @ts-expect-error untyped
1773
- typeof n == "object" && typeof n != "function" && !(n instanceof Promise) ? { ...n } : { [["script", "noscript", "style"].includes(l) ? "innerHTML" : "textContent"]: n },
1774
- ["templateParams", "titleTemplate"].includes(l)
1783
+ typeof l == "object" && typeof l != "function" && !(l instanceof Promise) ? { ...l } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: l },
1784
+ ["templateParams", "titleTemplate"].includes(n)
1775
1785
  )
1776
1786
  };
1777
1787
  return Dt.forEach((i) => {
1778
- const s = typeof e.props[i] < "u" ? e.props[i] : t[i];
1779
- typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || vl.includes(e.tag)) && (e[i === "children" ? "innerHTML" : i] = s), delete e.props[i]);
1788
+ const s = typeof e.props[i] < "u" ? e.props[i] : o[i];
1789
+ typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || bn.includes(e.tag)) && (e[i === "children" ? "innerHTML" : i] = s), delete e.props[i]);
1780
1790
  }), e.props.body && (e.tagPosition = "bodyClose", delete e.props.body), e.tag === "script" && typeof e.innerHTML == "object" && (e.innerHTML = JSON.stringify(e.innerHTML), e.props.type = e.props.type || "application/json"), Array.isArray(e.props.content) ? e.props.content.map((i) => ({ ...e, props: { ...e.props, content: i } })) : e;
1781
1791
  }
1782
- function _l(l, n) {
1783
- const t = l === "class" ? " " : ";";
1784
- return typeof n == "object" && !Array.isArray(n) && (n = Object.entries(n).filter(([, e]) => e).map(([e, i]) => l === "style" ? `${e}:${i}` : e)), String(Array.isArray(n) ? n.join(t) : n)?.split(t).filter((e) => e.trim()).filter(Boolean).join(t);
1792
+ function wn(n, l) {
1793
+ const o = n === "class" ? " " : ";";
1794
+ return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, e]) => e).map(([e, i]) => n === "style" ? `${e}:${i}` : e)), String(Array.isArray(l) ? l.join(o) : l)?.split(o).filter((e) => e.trim()).filter(Boolean).join(o);
1785
1795
  }
1786
- async function Ht(l, n) {
1787
- for (const t of Object.keys(l)) {
1788
- if (["class", "style"].includes(t)) {
1789
- l[t] = _l(t, l[t]);
1796
+ async function Ht(n, l) {
1797
+ for (const o of Object.keys(n)) {
1798
+ if (["class", "style"].includes(o)) {
1799
+ n[o] = wn(o, n[o]);
1790
1800
  continue;
1791
1801
  }
1792
- if (l[t] instanceof Promise && (l[t] = await l[t]), !n && !Dt.includes(t)) {
1793
- const e = String(l[t]), i = t.startsWith("data-");
1794
- e === "true" || e === "" ? l[t] = i ? "true" : !0 : l[t] || (i && e === "false" ? l[t] = "false" : delete l[t]);
1802
+ if (n[o] instanceof Promise && (n[o] = await n[o]), !l && !Dt.includes(o)) {
1803
+ const e = String(n[o]), i = o.startsWith("data-");
1804
+ e === "true" || e === "" ? n[o] = i ? "true" : !0 : n[o] || (i && e === "false" ? n[o] = "false" : delete n[o]);
1795
1805
  }
1796
1806
  }
1797
- return l;
1807
+ return n;
1798
1808
  }
1799
- const Vl = 10;
1800
- async function Tl(l) {
1801
- const n = [];
1802
- return Object.entries(l.resolvedInput).filter(([t, e]) => typeof e < "u" && yl.includes(t)).forEach(([t, e]) => {
1803
- const i = hl(e);
1804
- n.push(...i.map((s) => kl(t, s, l)).flat());
1805
- }), (await Promise.all(n)).flat().filter(Boolean).map((t, e) => (t._e = l._i, l.mode && (t._m = l.mode), t._p = (l._i << Vl) + e, t));
1809
+ const Cn = 10;
1810
+ async function $n(n) {
1811
+ const l = [];
1812
+ return Object.entries(n.resolvedInput).filter(([o, e]) => typeof e < "u" && kn.includes(o)).forEach(([o, e]) => {
1813
+ const i = gn(e);
1814
+ l.push(...i.map((s) => Tn(o, s, n)).flat());
1815
+ }), (await Promise.all(l)).flat().filter(Boolean).map((o, e) => (o._e = n._i, n.mode && (o._m = n.mode), o._p = (n._i << Cn) + e, o));
1806
1816
  }
1807
1817
  const gt = {
1808
1818
  // tags
@@ -1814,49 +1824,49 @@ const gt = {
1814
1824
  high: -10,
1815
1825
  low: 20
1816
1826
  };
1817
- function Be(l) {
1818
- let n = 100;
1819
- const t = l.tagPriority;
1820
- return typeof t == "number" ? t : (l.tag === "meta" ? (l.props["http-equiv"] === "content-security-policy" && (n = -30), l.props.charset && (n = -20), l.props.name === "viewport" && (n = -15)) : l.tag === "link" && l.props.rel === "preconnect" ? n = 20 : l.tag in gt && (n = gt[l.tag]), typeof t == "string" && t in bt ? n + bt[t] : n);
1827
+ function Me(n) {
1828
+ let l = 100;
1829
+ const o = n.tagPriority;
1830
+ return typeof o == "number" ? o : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (l = -30), n.props.charset && (l = -20), n.props.name === "viewport" && (l = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? l = 20 : n.tag in gt && (l = gt[n.tag]), typeof o == "string" && o in bt ? l + bt[o] : l);
1821
1831
  }
1822
- const wl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], kt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], se = "%separator";
1823
- function Pe(l, n, t) {
1824
- if (typeof l != "string" || !l.includes("%"))
1825
- return l;
1832
+ const An = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], kt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], re = "%separator";
1833
+ function Ie(n, l, o) {
1834
+ if (typeof n != "string" || !n.includes("%"))
1835
+ return n;
1826
1836
  function e(m) {
1827
1837
  let p;
1828
- return ["s", "pageTitle"].includes(m) ? p = n.pageTitle : m.includes(".") ? p = m.split(".").reduce((u, r) => u && u[r] || void 0, n) : p = n[m], typeof p < "u" ? (p || "").replace(/"/g, '\\"') : !1;
1838
+ return ["s", "pageTitle"].includes(m) ? p = l.pageTitle : m.includes(".") ? p = m.split(".").reduce((u, r) => u && u[r] || void 0, l) : p = l[m], typeof p < "u" ? (p || "").replace(/"/g, '\\"') : !1;
1829
1839
  }
1830
- let i = l;
1840
+ let i = n;
1831
1841
  try {
1832
- i = decodeURI(l);
1842
+ i = decodeURI(n);
1833
1843
  } catch {
1834
1844
  }
1835
1845
  return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((m) => {
1836
1846
  const p = e(m.slice(1));
1837
- typeof p == "string" && (l = l.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
1838
- }), l.includes(se) && (l.endsWith(se) && (l = l.slice(0, -se.length).trim()), l.startsWith(se) && (l = l.slice(se.length).trim()), l = l.replace(new RegExp(`\\${se}\\s*\\${se}`, "g"), se), l = Pe(l, { separator: t }, t)), l;
1847
+ typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
1848
+ }), n.includes(re) && (n.endsWith(re) && (n = n.slice(0, -re.length).trim()), n.startsWith(re) && (n = n.slice(re.length).trim()), n = n.replace(new RegExp(`\\${re}\\s*\\${re}`, "g"), re), n = Ie(n, { separator: o }, o)), n;
1839
1849
  }
1840
- async function Cl(l, n = {}) {
1841
- const t = n.document || l.resolvedOptions.document;
1842
- if (!t || !l.dirty)
1850
+ async function Pn(n, l = {}) {
1851
+ const o = l.document || n.resolvedOptions.document;
1852
+ if (!o || !n.dirty)
1843
1853
  return;
1844
1854
  const e = { shouldRender: !0, tags: [] };
1845
- if (await l.hooks.callHook("dom:beforeRender", e), !e.shouldRender)
1855
+ if (await n.hooks.callHook("dom:beforeRender", e), !e.shouldRender)
1846
1856
  return;
1847
- const i = (await l.resolveTags()).map((d) => ({
1857
+ const i = (await n.resolveTags()).map((d) => ({
1848
1858
  tag: d,
1849
- id: Ae.includes(d.tag) ? vt(d) : d.tag,
1859
+ id: He.includes(d.tag) ? vt(d) : d.tag,
1850
1860
  shouldRender: !0
1851
1861
  }));
1852
- let s = l._dom;
1862
+ let s = n._dom;
1853
1863
  if (!s) {
1854
1864
  s = {
1855
- elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
1865
+ elMap: { htmlAttrs: o.documentElement, bodyAttrs: o.body }
1856
1866
  };
1857
1867
  for (const d of ["body", "head"]) {
1858
- const f = t[d]?.children, V = [];
1859
- for (const $ of [...f].filter((w) => Ae.includes(w.tagName.toLowerCase()))) {
1868
+ const v = o[d]?.children, V = [];
1869
+ for (const $ of [...v].filter((w) => He.includes(w.tagName.toLowerCase()))) {
1860
1870
  const w = {
1861
1871
  tag: $.tagName.toLowerCase(),
1862
1872
  props: await Ht(
@@ -1872,33 +1882,33 @@ async function Cl(l, n = {}) {
1872
1882
  }
1873
1883
  }
1874
1884
  s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
1875
- function m(d, f, V) {
1876
- const $ = `${d}:${f}`;
1885
+ function m(d, v, V) {
1886
+ const $ = `${d}:${v}`;
1877
1887
  s.sideEffects[$] = V, delete s.pendingSideEffects[$];
1878
1888
  }
1879
- function p({ id: d, $el: f, tag: V }) {
1889
+ function p({ id: d, $el: v, tag: V }) {
1880
1890
  const $ = V.tag.endsWith("Attrs");
1881
- s.elMap[d] = f, $ || (["textContent", "innerHTML"].forEach((w) => {
1882
- V[w] && V[w] !== f[w] && (f[w] = V[w]);
1891
+ s.elMap[d] = v, $ || (["textContent", "innerHTML"].forEach((w) => {
1892
+ V[w] && V[w] !== v[w] && (v[w] = V[w]);
1883
1893
  }), m(d, "el", () => {
1884
1894
  s.elMap[d]?.remove(), delete s.elMap[d];
1885
1895
  }));
1886
1896
  for (const [w, H] of Object.entries(V._eventHandlers || {}))
1887
- f.getAttribute(`data-${w}`) !== "" && ((V.tag === "bodyAttrs" ? t.defaultView : f).addEventListener(w.replace("on", ""), H.bind(f)), f.setAttribute(`data-${w}`, ""));
1897
+ v.getAttribute(`data-${w}`) !== "" && ((V.tag === "bodyAttrs" ? o.defaultView : v).addEventListener(w.replace("on", ""), H.bind(v)), v.setAttribute(`data-${w}`, ""));
1888
1898
  Object.entries(V.props).forEach(([w, H]) => {
1889
1899
  const E = `attr:${w}`;
1890
1900
  if (w === "class")
1891
1901
  for (const B of (H || "").split(" ").filter(Boolean))
1892
- $ && m(d, `${E}:${B}`, () => f.classList.remove(B)), !f.classList.contains(B) && f.classList.add(B);
1902
+ $ && m(d, `${E}:${B}`, () => v.classList.remove(B)), !v.classList.contains(B) && v.classList.add(B);
1893
1903
  else if (w === "style")
1894
1904
  for (const B of (H || "").split(";").filter(Boolean)) {
1895
1905
  const [k, ...D] = B.split(":").map((I) => I.trim());
1896
1906
  m(d, `${E}:${k}`, () => {
1897
- f.style.removeProperty(k);
1898
- }), f.style.setProperty(k, D.join(":"));
1907
+ v.style.removeProperty(k);
1908
+ }), v.style.setProperty(k, D.join(":"));
1899
1909
  }
1900
1910
  else
1901
- f.getAttribute(w) !== H && f.setAttribute(w, H === !0 ? "" : String(H)), $ && m(d, E, () => f.removeAttribute(w));
1911
+ v.getAttribute(w) !== H && v.setAttribute(w, H === !0 ? "" : String(H)), $ && m(d, E, () => v.removeAttribute(w));
1902
1912
  });
1903
1913
  }
1904
1914
  const u = [], r = {
@@ -1907,63 +1917,63 @@ async function Cl(l, n = {}) {
1907
1917
  head: void 0
1908
1918
  };
1909
1919
  for (const d of i) {
1910
- const { tag: f, shouldRender: V, id: $ } = d;
1920
+ const { tag: v, shouldRender: V, id: $ } = d;
1911
1921
  if (V) {
1912
- if (f.tag === "title") {
1913
- t.title = f.textContent;
1922
+ if (v.tag === "title") {
1923
+ o.title = v.textContent;
1914
1924
  continue;
1915
1925
  }
1916
- d.$el = d.$el || s.elMap[$], d.$el ? p(d) : Ae.includes(f.tag) && u.push(d);
1926
+ d.$el = d.$el || s.elMap[$], d.$el ? p(d) : He.includes(v.tag) && u.push(d);
1917
1927
  }
1918
1928
  }
1919
1929
  for (const d of u) {
1920
- const f = d.tag.tagPosition || "head";
1921
- d.$el = t.createElement(d.tag.tag), p(d), r[f] = r[f] || t.createDocumentFragment(), r[f].appendChild(d.$el);
1930
+ const v = d.tag.tagPosition || "head";
1931
+ d.$el = o.createElement(d.tag.tag), p(d), r[v] = r[v] || o.createDocumentFragment(), r[v].appendChild(d.$el);
1922
1932
  }
1923
1933
  for (const d of i)
1924
- await l.hooks.callHook("dom:renderTag", d, t, m);
1925
- r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((d) => d()), l._dom = s, l.dirty = !1, await l.hooks.callHook("dom:rendered", { renders: i });
1934
+ await n.hooks.callHook("dom:renderTag", d, o, m);
1935
+ r.head && o.head.appendChild(r.head), r.bodyOpen && o.body.insertBefore(r.bodyOpen, o.body.firstChild), r.bodyClose && o.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((d) => d()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
1926
1936
  }
1927
- async function $l(l, n = {}) {
1928
- const t = n.delayFn || ((e) => setTimeout(e, 10));
1929
- return l._domUpdatePromise = l._domUpdatePromise || new Promise((e) => t(async () => {
1930
- await Cl(l, n), delete l._domUpdatePromise, e();
1937
+ async function Dn(n, l = {}) {
1938
+ const o = l.delayFn || ((e) => setTimeout(e, 10));
1939
+ return n._domUpdatePromise = n._domUpdatePromise || new Promise((e) => o(async () => {
1940
+ await Pn(n, l), delete n._domUpdatePromise, e();
1931
1941
  }));
1932
1942
  }
1933
1943
  // @__NO_SIDE_EFFECTS__
1934
- function Al(l) {
1935
- return (n) => {
1936
- const t = n.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
1937
- return t && n.push(JSON.parse(t)), {
1944
+ function Sn(n) {
1945
+ return (l) => {
1946
+ const o = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
1947
+ return o && l.push(JSON.parse(o)), {
1938
1948
  mode: "client",
1939
1949
  hooks: {
1940
1950
  "entries:updated": function(e) {
1941
- $l(e, l);
1951
+ Dn(e, n);
1942
1952
  }
1943
1953
  }
1944
1954
  };
1945
1955
  };
1946
1956
  }
1947
- const Pl = ["templateParams", "htmlAttrs", "bodyAttrs"], Dl = {
1957
+ const Hn = ["templateParams", "htmlAttrs", "bodyAttrs"], In = {
1948
1958
  hooks: {
1949
- "tag:normalise": function({ tag: l }) {
1959
+ "tag:normalise": function({ tag: n }) {
1950
1960
  ["hid", "vmid", "key"].forEach((e) => {
1951
- l.props[e] && (l.key = l.props[e], delete l.props[e]);
1961
+ n.props[e] && (n.key = n.props[e], delete n.props[e]);
1952
1962
  });
1953
- const t = St(l) || (l.key ? `${l.tag}:${l.key}` : !1);
1954
- t && (l._d = t);
1963
+ const o = St(n) || (n.key ? `${n.tag}:${n.key}` : !1);
1964
+ o && (n._d = o);
1955
1965
  },
1956
- "tags:resolve": function(l) {
1957
- const n = {};
1958
- l.tags.forEach((e) => {
1959
- const i = (e.key ? `${e.tag}:${e.key}` : e._d) || e._p, s = n[i];
1966
+ "tags:resolve": function(n) {
1967
+ const l = {};
1968
+ n.tags.forEach((e) => {
1969
+ const i = (e.key ? `${e.tag}:${e.key}` : e._d) || e._p, s = l[i];
1960
1970
  if (s) {
1961
1971
  let p = e?.tagDuplicateStrategy;
1962
- if (!p && Pl.includes(e.tag) && (p = "merge"), p === "merge") {
1972
+ if (!p && Hn.includes(e.tag) && (p = "merge"), p === "merge") {
1963
1973
  const u = s.props;
1964
1974
  ["class", "style"].forEach((r) => {
1965
1975
  u[r] && (e.props[r] ? (r === "style" && !u[r].endsWith(";") && (u[r] += ";"), e.props[r] = `${u[r]} ${e.props[r]}`) : e.props[r] = u[r]);
1966
- }), n[i].props = {
1976
+ }), l[i].props = {
1967
1977
  ...u,
1968
1978
  ...e.props
1969
1979
  };
@@ -1971,145 +1981,145 @@ const Pl = ["templateParams", "htmlAttrs", "bodyAttrs"], Dl = {
1971
1981
  } else if (e._e === s._e) {
1972
1982
  s._duped = s._duped || [], e._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(e);
1973
1983
  return;
1974
- } else if (Be(e) > Be(s))
1984
+ } else if (Me(e) > Me(s))
1975
1985
  return;
1976
1986
  }
1977
1987
  const m = Object.keys(e.props).length + (e.innerHTML ? 1 : 0) + (e.textContent ? 1 : 0);
1978
- if (Ae.includes(e.tag) && m === 0) {
1979
- delete n[i];
1988
+ if (He.includes(e.tag) && m === 0) {
1989
+ delete l[i];
1980
1990
  return;
1981
1991
  }
1982
- n[i] = e;
1992
+ l[i] = e;
1983
1993
  });
1984
- const t = [];
1985
- Object.values(n).forEach((e) => {
1994
+ const o = [];
1995
+ Object.values(l).forEach((e) => {
1986
1996
  const i = e._duped;
1987
- delete e._duped, t.push(e), i && t.push(...i);
1988
- }), l.tags = t, l.tags = l.tags.filter((e) => !(e.tag === "meta" && (e.props.name || e.props.property) && !e.props.content));
1997
+ delete e._duped, o.push(e), i && o.push(...i);
1998
+ }), n.tags = o, n.tags = n.tags.filter((e) => !(e.tag === "meta" && (e.props.name || e.props.property) && !e.props.content));
1989
1999
  }
1990
2000
  }
1991
- }, Sl = {
2001
+ }, Bn = {
1992
2002
  mode: "server",
1993
2003
  hooks: {
1994
- "tags:resolve": function(l) {
1995
- const n = {};
1996
- l.tags.filter((t) => ["titleTemplate", "templateParams", "title"].includes(t.tag) && t._m === "server").forEach((t) => {
1997
- n[t.tag] = t.tag.startsWith("title") ? t.textContent : t.props;
1998
- }), Object.keys(n).length && l.tags.push({
2004
+ "tags:resolve": function(n) {
2005
+ const l = {};
2006
+ n.tags.filter((o) => ["titleTemplate", "templateParams", "title"].includes(o.tag) && o._m === "server").forEach((o) => {
2007
+ l[o.tag] = o.tag.startsWith("title") ? o.textContent : o.props;
2008
+ }), Object.keys(l).length && n.tags.push({
1999
2009
  tag: "script",
2000
- innerHTML: JSON.stringify(n),
2010
+ innerHTML: JSON.stringify(l),
2001
2011
  props: { id: "unhead:payload", type: "application/json" }
2002
2012
  });
2003
2013
  }
2004
2014
  }
2005
- }, Hl = ["script", "link", "bodyAttrs"], Il = (l) => ({
2015
+ }, En = ["script", "link", "bodyAttrs"], Nn = (n) => ({
2006
2016
  hooks: {
2007
- "tags:resolve": function(n) {
2008
- for (const t of n.tags.filter((e) => Hl.includes(e.tag)))
2009
- Object.entries(t.props).forEach(([e, i]) => {
2010
- e.startsWith("on") && typeof i == "function" && (l.ssr && kt.includes(e) ? t.props[e] = `this.dataset.${e}fired = true` : delete t.props[e], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[e] = i);
2011
- }), l.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || lt(t.props.src || t.props.href));
2017
+ "tags:resolve": function(l) {
2018
+ for (const o of l.tags.filter((e) => En.includes(e.tag)))
2019
+ Object.entries(o.props).forEach(([e, i]) => {
2020
+ e.startsWith("on") && typeof i == "function" && (n.ssr && kt.includes(e) ? o.props[e] = `this.dataset.${e}fired = true` : delete o.props[e], o._eventHandlers = o._eventHandlers || {}, o._eventHandlers[e] = i);
2021
+ }), n.ssr && o._eventHandlers && (o.props.src || o.props.href) && (o.key = o.key || at(o.props.src || o.props.href));
2012
2022
  },
2013
- "dom:renderTag": function({ $el: n, tag: t }) {
2014
- for (const e of Object.keys(n?.dataset || {}).filter((i) => kt.some((s) => `${s}fired` === i))) {
2023
+ "dom:renderTag": function({ $el: l, tag: o }) {
2024
+ for (const e of Object.keys(l?.dataset || {}).filter((i) => kt.some((s) => `${s}fired` === i))) {
2015
2025
  const i = e.replace("fired", "");
2016
- t._eventHandlers?.[i]?.call(n, new Event(i.replace("on", "")));
2026
+ o._eventHandlers?.[i]?.call(l, new Event(i.replace("on", "")));
2017
2027
  }
2018
2028
  }
2019
2029
  }
2020
- }), Bl = ["link", "style", "script", "noscript"], El = {
2030
+ }), Ln = ["link", "style", "script", "noscript"], Mn = {
2021
2031
  hooks: {
2022
- "tag:normalise": ({ tag: l }) => {
2023
- l.key && Bl.includes(l.tag) && (l.props["data-hid"] = l._h = lt(l.key));
2032
+ "tag:normalise": ({ tag: n }) => {
2033
+ n.key && Ln.includes(n.tag) && (n.props["data-hid"] = n._h = at(n.key));
2024
2034
  }
2025
2035
  }
2026
- }, Ml = {
2036
+ }, Rn = {
2027
2037
  hooks: {
2028
- "tags:resolve": (l) => {
2029
- const n = (t) => l.tags.find((e) => e._d === t)?._p;
2030
- for (const { prefix: t, offset: e } of wl)
2031
- for (const i of l.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
2032
- const s = n(
2033
- i.tagPriority.replace(t, "")
2038
+ "tags:resolve": (n) => {
2039
+ const l = (o) => n.tags.find((e) => e._d === o)?._p;
2040
+ for (const { prefix: o, offset: e } of An)
2041
+ for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(o))) {
2042
+ const s = l(
2043
+ i.tagPriority.replace(o, "")
2034
2044
  );
2035
2045
  typeof s < "u" && (i._p = s + e);
2036
2046
  }
2037
- l.tags.sort((t, e) => t._p - e._p).sort((t, e) => Be(t) - Be(e));
2047
+ n.tags.sort((o, e) => o._p - e._p).sort((o, e) => Me(o) - Me(e));
2038
2048
  }
2039
2049
  }
2040
- }, Rl = {
2050
+ }, Un = {
2041
2051
  meta: "content",
2042
2052
  link: "href",
2043
2053
  htmlAttrs: "lang"
2044
- }, Nl = (l) => ({
2054
+ }, Fn = (n) => ({
2045
2055
  hooks: {
2046
- "tags:resolve": (n) => {
2047
- const { tags: t } = n, e = t.find((p) => p.tag === "title")?.textContent, i = t.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, m = s.separator || "|";
2048
- delete s.separator, s.pageTitle = Pe(s.pageTitle || e || "", s, m);
2049
- for (const p of t.filter((u) => u.processTemplateParams !== !1)) {
2050
- const u = Rl[p.tag];
2051
- u && typeof p.props[u] == "string" ? p.props[u] = Pe(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
2052
- typeof p[r] == "string" && (p[r] = Pe(p[r], s, m));
2056
+ "tags:resolve": (l) => {
2057
+ const { tags: o } = l, e = o.find((p) => p.tag === "title")?.textContent, i = o.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? o[i].props : {}, m = s.separator || "|";
2058
+ delete s.separator, s.pageTitle = Ie(s.pageTitle || e || "", s, m);
2059
+ for (const p of o.filter((u) => u.processTemplateParams !== !1)) {
2060
+ const u = Un[p.tag];
2061
+ u && typeof p.props[u] == "string" ? p.props[u] = Ie(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
2062
+ typeof p[r] == "string" && (p[r] = Ie(p[r], s, m));
2053
2063
  });
2054
2064
  }
2055
- l._templateParams = s, l._separator = m, n.tags = t.filter((p) => p.tag !== "templateParams");
2065
+ n._templateParams = s, n._separator = m, l.tags = o.filter((p) => p.tag !== "templateParams");
2056
2066
  }
2057
2067
  }
2058
- }), Ul = {
2068
+ }), On = {
2059
2069
  hooks: {
2060
- "tags:resolve": (l) => {
2061
- const { tags: n } = l;
2062
- let t = n.findIndex((i) => i.tag === "titleTemplate");
2063
- const e = n.findIndex((i) => i.tag === "title");
2064
- if (e !== -1 && t !== -1) {
2070
+ "tags:resolve": (n) => {
2071
+ const { tags: l } = n;
2072
+ let o = l.findIndex((i) => i.tag === "titleTemplate");
2073
+ const e = l.findIndex((i) => i.tag === "title");
2074
+ if (e !== -1 && o !== -1) {
2065
2075
  const i = yt(
2066
- n[t].textContent,
2067
- n[e].textContent
2076
+ l[o].textContent,
2077
+ l[e].textContent
2068
2078
  );
2069
- i !== null ? n[e].textContent = i || n[e].textContent : delete n[e];
2070
- } else if (t !== -1) {
2079
+ i !== null ? l[e].textContent = i || l[e].textContent : delete l[e];
2080
+ } else if (o !== -1) {
2071
2081
  const i = yt(
2072
- n[t].textContent
2082
+ l[o].textContent
2073
2083
  );
2074
- i !== null && (n[t].textContent = i, n[t].tag = "title", t = -1);
2084
+ i !== null && (l[o].textContent = i, l[o].tag = "title", o = -1);
2075
2085
  }
2076
- t !== -1 && delete n[t], l.tags = n.filter(Boolean);
2086
+ o !== -1 && delete l[o], n.tags = l.filter(Boolean);
2077
2087
  }
2078
2088
  }
2079
- }, Ll = {
2089
+ }, jn = {
2080
2090
  hooks: {
2081
- "tags:afterResolve": function(l) {
2082
- for (const n of l.tags)
2083
- typeof n.innerHTML == "string" && (n.innerHTML && ["application/ld+json", "application/json"].includes(n.props.type) ? n.innerHTML = n.innerHTML.replace(/</g, "\\u003C") : n.innerHTML = n.innerHTML.replace(new RegExp(`</${n.tag}`, "g"), `<\\/${n.tag}`));
2091
+ "tags:afterResolve": function(n) {
2092
+ for (const l of n.tags)
2093
+ typeof l.innerHTML == "string" && (l.innerHTML && ["application/ld+json", "application/json"].includes(l.props.type) ? l.innerHTML = l.innerHTML.replace(/</g, "\\u003C") : l.innerHTML = l.innerHTML.replace(new RegExp(`</${l.tag}`, "g"), `<\\/${l.tag}`));
2084
2094
  }
2085
2095
  }
2086
2096
  };
2087
2097
  // @__NO_SIDE_EFFECTS__
2088
- function Fl(l = {}) {
2089
- const n = Ol(l);
2090
- return n.use(/* @__PURE__ */ Al()), n;
2098
+ function qn(n = {}) {
2099
+ const l = Gn(n);
2100
+ return l.use(/* @__PURE__ */ Sn()), l;
2091
2101
  }
2092
- function _t(l, n) {
2093
- return !l || l === "server" && n || l === "client" && !n;
2102
+ function _t(n, l) {
2103
+ return !n || n === "server" && l || n === "client" && !l;
2094
2104
  }
2095
- function Ol(l = {}) {
2096
- const n = fl();
2097
- n.addHooks(l.hooks || {}), l.document = l.document || (bl ? document : void 0);
2098
- const t = !l.document, e = () => {
2099
- p.dirty = !0, n.callHook("entries:updated", p);
2105
+ function Gn(n = {}) {
2106
+ const l = yn();
2107
+ l.addHooks(n.hooks || {}), n.document = n.document || (Vn ? document : void 0);
2108
+ const o = !n.document, e = () => {
2109
+ p.dirty = !0, l.callHook("entries:updated", p);
2100
2110
  };
2101
2111
  let i = 0, s = [];
2102
2112
  const m = [], p = {
2103
2113
  plugins: m,
2104
2114
  dirty: !1,
2105
- resolvedOptions: l,
2106
- hooks: n,
2115
+ resolvedOptions: n,
2116
+ hooks: l,
2107
2117
  headEntries() {
2108
2118
  return s;
2109
2119
  },
2110
2120
  use(u) {
2111
2121
  const r = typeof u == "function" ? u(p) : u;
2112
- (!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), _t(r.mode, t) && n.addHooks(r.hooks || {}));
2122
+ (!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), _t(r.mode, o) && l.addHooks(r.hooks || {}));
2113
2123
  },
2114
2124
  push(u, r) {
2115
2125
  delete r?.head;
@@ -2118,77 +2128,77 @@ function Ol(l = {}) {
2118
2128
  input: u,
2119
2129
  ...r
2120
2130
  };
2121
- return _t(d.mode, t) && (s.push(d), e()), {
2131
+ return _t(d.mode, o) && (s.push(d), e()), {
2122
2132
  dispose() {
2123
- s = s.filter((f) => f._i !== d._i), n.callHook("entries:updated", p), e();
2133
+ s = s.filter((v) => v._i !== d._i), l.callHook("entries:updated", p), e();
2124
2134
  },
2125
2135
  // a patch is the same as creating a new entry, just a nice DX
2126
- patch(f) {
2127
- s = s.map((V) => (V._i === d._i && (V.input = d.input = f), V)), e();
2136
+ patch(v) {
2137
+ s = s.map((V) => (V._i === d._i && (V.input = d.input = v), V)), e();
2128
2138
  }
2129
2139
  };
2130
2140
  },
2131
2141
  async resolveTags() {
2132
2142
  const u = { tags: [], entries: [...s] };
2133
- await n.callHook("entries:resolve", u);
2143
+ await l.callHook("entries:resolve", u);
2134
2144
  for (const r of u.entries) {
2135
2145
  const d = r.resolvedInput || r.input;
2136
2146
  if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
2137
- for (const f of await Tl(r)) {
2138
- const V = { tag: f, entry: r, resolvedOptions: p.resolvedOptions };
2139
- await n.callHook("tag:normalise", V), u.tags.push(V.tag);
2147
+ for (const v of await $n(r)) {
2148
+ const V = { tag: v, entry: r, resolvedOptions: p.resolvedOptions };
2149
+ await l.callHook("tag:normalise", V), u.tags.push(V.tag);
2140
2150
  }
2141
2151
  }
2142
- return await n.callHook("tags:beforeResolve", u), await n.callHook("tags:resolve", u), await n.callHook("tags:afterResolve", u), u.tags;
2152
+ return await l.callHook("tags:beforeResolve", u), await l.callHook("tags:resolve", u), await l.callHook("tags:afterResolve", u), u.tags;
2143
2153
  },
2144
- ssr: t
2154
+ ssr: o
2145
2155
  };
2146
2156
  return [
2147
- Dl,
2148
- Sl,
2149
- Il,
2150
- El,
2151
- Ml,
2152
- Nl,
2153
- Ul,
2154
- Ll,
2155
- ...l?.plugins || []
2157
+ In,
2158
+ Bn,
2159
+ Nn,
2160
+ Mn,
2161
+ Rn,
2162
+ Fn,
2163
+ On,
2164
+ jn,
2165
+ ...n?.plugins || []
2156
2166
  ].forEach((u) => p.use(u)), p.hooks.callHook("init", p), p;
2157
2167
  }
2158
- const jl = io.startsWith("3");
2159
- function ql(l) {
2160
- return typeof l == "function" ? l() : o(l);
2168
+ const Wn = ro.startsWith("3");
2169
+ function Kn(n) {
2170
+ return typeof n == "function" ? n() : t(n);
2161
2171
  }
2162
- function ot(l, n = "") {
2163
- if (l instanceof Promise)
2164
- return l;
2165
- const t = ql(l);
2166
- return !l || !t ? t : Array.isArray(t) ? t.map((e) => ot(e, n)) : typeof t == "object" ? Object.fromEntries(
2167
- Object.entries(t).map(([e, i]) => e === "titleTemplate" || e.startsWith("on") ? [e, o(i)] : [e, ot(i, e)])
2168
- ) : t;
2172
+ function lt(n, l = "") {
2173
+ if (n instanceof Promise)
2174
+ return n;
2175
+ const o = Kn(n);
2176
+ return !n || !o ? o : Array.isArray(o) ? o.map((e) => lt(e, l)) : typeof o == "object" ? Object.fromEntries(
2177
+ Object.entries(o).map(([e, i]) => e === "titleTemplate" || e.startsWith("on") ? [e, t(i)] : [e, lt(i, e)])
2178
+ ) : o;
2169
2179
  }
2170
- const Gl = {
2180
+ const xn = {
2171
2181
  hooks: {
2172
- "entries:resolve": function(l) {
2173
- for (const n of l.entries)
2174
- n.resolvedInput = ot(n.input);
2182
+ "entries:resolve": function(n) {
2183
+ for (const l of n.entries)
2184
+ l.resolvedInput = lt(l.input);
2175
2185
  }
2176
2186
  }
2177
- }, Wl = "usehead";
2178
- function Kl(l) {
2187
+ }, zn = "usehead";
2188
+ function Jn(n) {
2179
2189
  return {
2180
- install(t) {
2181
- jl && (t.config.globalProperties.$unhead = l, t.config.globalProperties.$head = l, t.provide(Wl, l));
2190
+ install(o) {
2191
+ Wn && (o.config.globalProperties.$unhead = n, o.config.globalProperties.$head = n, o.provide(zn, n));
2182
2192
  }
2183
2193
  }.install;
2184
2194
  }
2185
- function xl(l = {}) {
2186
- l.domDelayFn = l.domDelayFn || ((t) => ao(() => setTimeout(() => t(), 0)));
2187
- const n = /* @__PURE__ */ Fl(l);
2188
- return n.use(Gl), n.install = Kl(n), n;
2195
+ function Yn(n = {}) {
2196
+ n.domDelayFn = n.domDelayFn || ((o) => so(() => setTimeout(() => o(), 0)));
2197
+ const l = /* @__PURE__ */ qn(n);
2198
+ return l.use(xn), l.install = Jn(l), l;
2189
2199
  }
2190
- const zl = uo(), Jl = xl(), Yl = po();
2191
- class Zl extends HTMLElement {
2200
+ const Zn = po(), Qn = Yn(), Xn = fo();
2201
+ class ea extends HTMLElement {
2192
2202
  vueApp;
2193
2203
  constructor() {
2194
2204
  super();
@@ -2197,26 +2207,26 @@ class Zl extends HTMLElement {
2197
2207
  this.vueApp.unmount();
2198
2208
  }
2199
2209
  connectedCallback() {
2200
- const n = typeof $e == "function" ? $e.options : $e;
2201
- let t = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
2210
+ const l = typeof Se == "function" ? Se.options : Se;
2211
+ let o = Array.isArray(l.props) ? l.props : Object.keys(l.props || {});
2202
2212
  const e = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (r, d) => (d ? "-" : "") + r.toLowerCase()), i = (u) => u.replace(/-./g, (r) => r[1].toUpperCase()), s = {};
2203
- t = t.map(e);
2213
+ o = o.map(e);
2204
2214
  const m = {};
2205
2215
  for (const u of this.attributes) {
2206
2216
  const d = u.name.split(".");
2207
2217
  d.length > 1 && (m[d[0]] || (m[d[0]] = {}), m[d[0]][i(d[1])] = u.value);
2208
2218
  }
2209
- for (const u of t) {
2219
+ for (const u of o) {
2210
2220
  let r = this.attributes.getNamedItem(u)?.value;
2211
2221
  m.hasOwnProperty(u) && (r = m[u]), s[u] = r;
2212
2222
  }
2213
- this.vueApp = so($e, s), go(this.vueApp), this.vueApp.provide("emitter", Yl), this.vueApp.use(Jl), this.vueApp.use(zl), this.vueApp.use(Do), this.vueApp.use(co), this.vueApp.use(ko), this.vueApp.use(bo, { bootstrap: !0 });
2223
+ this.vueApp = uo(Se, s), ho(this.vueApp), this.vueApp.provide("emitter", Xn), this.vueApp.use(Qn), this.vueApp.use(Zn), this.vueApp.use(Ho), this.vueApp.use(mo), this.vueApp.use(vo), this.vueApp.use(Vo, { bootstrap: !0 });
2214
2224
  const p = document.createElement("div");
2215
2225
  this.vueApp.mount(p), this.appendChild(p.children[0]);
2216
2226
  }
2217
2227
  }
2218
- window.customElements.define("konnectio-hotel", Zl);
2228
+ window.customElements.define("konnectio-hotel", ea);
2219
2229
  export {
2220
- Zl as default
2230
+ ea as default
2221
2231
  };
2222
2232
  //# sourceMappingURL=hotel.js.map