@konnectio/core 4.0.56-rc52 → 4.0.56-rc53

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