@konnectio/core 4.0.79 → 4.0.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/dist/{ActionField-BxsfN3m3.js → ActionField-CTdoYeCb.js} +3 -3
  2. package/dist/ActionField-CTdoYeCb.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-zKa2gP2l.js → AvailabilitySkeleton-goa9gs9v.js} +8 -8
  4. package/dist/AvailabilitySkeleton-goa9gs9v.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-8Jsgq-zd.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-b67PURkf.js} +443 -447
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-b67PURkf.js.br +0 -0
  7. package/dist/{CheckoutWindow-Cxqsa0Y7.js → CheckoutWindow-CiImalcO.js} +4 -4
  8. package/dist/CheckoutWindow-CiImalcO.js.br +0 -0
  9. package/dist/{ErrorMessage-BkEVeYjJ.js → ErrorMessage-noDYCPm1.js} +3 -3
  10. package/dist/ErrorMessage-noDYCPm1.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-C0bAjzem.js → EventAvailabilityForm-9NeWNNcp.js} +22 -22
  12. package/dist/EventAvailabilityForm-9NeWNNcp.js.br +0 -0
  13. package/dist/{Field-DRNnN5iQ.js → Field-BWYA1VPD.js} +3 -3
  14. package/dist/Field-BWYA1VPD.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-bDUzTFlG.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DYwA6hiM.js} +2123 -2137
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DYwA6hiM.js.br +0 -0
  17. package/dist/{TermsOfService-B9J_dCWC.js → TermsOfService-Ck17xk9Q.js} +5 -5
  18. package/dist/TermsOfService-Ck17xk9Q.js.br +0 -0
  19. package/dist/{_-CwfDey89.js → _-Cd2-tqPM.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CznuOQGN.js → _.vue_vue_type_style_index_0_lang-NE_Zq7Js.js} +3 -3
  21. package/dist/_.vue_vue_type_style_index_0_lang-NE_Zq7Js.js.br +0 -0
  22. package/dist/{_commonjsHelpers-BRsHMJes.js → _commonjsHelpers-wQPQJtsq.js} +2 -2
  23. package/dist/_commonjsHelpers-wQPQJtsq.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-BE1hINUq.js → _sentry-release-injection-file-DNUh2Gjq.js} +654 -654
  25. package/dist/_sentry-release-injection-file-DNUh2Gjq.js.br +0 -0
  26. package/dist/availability.js +8 -8
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +2 -2
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +210 -210
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +10 -10
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +11 -11
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/{giftCard-BkTcitpm.js → giftCard-DrwsQrjA.js} +4 -4
  37. package/dist/giftCard-DrwsQrjA.js.br +0 -0
  38. package/dist/hotel.js +428 -422
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-hjq7KkQz.js → masonry.plugin-DD0W9fy2.js} +41 -45
  41. package/dist/masonry.plugin-DD0W9fy2.js.br +0 -0
  42. package/dist/{mitt-B6gLpXoo.js → mitt-BeqJ2MFv.js} +440 -440
  43. package/dist/mitt-BeqJ2MFv.js.br +0 -0
  44. package/dist/polyfill.js +9 -14
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{sentry-D0iIPSOj.js → sentry-Bmg62TCa.js} +3 -3
  47. package/dist/{style-Bn_aipu4.js → style-DcfCYaKA.js} +2 -2
  48. package/dist/style-DcfCYaKA.js.br +0 -0
  49. package/dist/style.css +1 -1
  50. package/dist/style.css.br +0 -0
  51. package/dist/{tracing-BVguX61l.js → tracing-nJlxVqd0.js} +39 -39
  52. package/dist/tracing-nJlxVqd0.js.br +0 -0
  53. package/package.json +6 -6
  54. package/dist/ActionField-BxsfN3m3.js.br +0 -0
  55. package/dist/AvailabilitySkeleton-zKa2gP2l.js.br +0 -0
  56. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-8Jsgq-zd.js.br +0 -0
  57. package/dist/CheckoutWindow-Cxqsa0Y7.js.br +0 -0
  58. package/dist/ErrorMessage-BkEVeYjJ.js.br +0 -0
  59. package/dist/EventAvailabilityForm-C0bAjzem.js.br +0 -0
  60. package/dist/Field-DRNnN5iQ.js.br +0 -0
  61. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-bDUzTFlG.js.br +0 -0
  62. package/dist/TermsOfService-B9J_dCWC.js.br +0 -0
  63. package/dist/_.vue_vue_type_style_index_0_lang-CznuOQGN.js.br +0 -0
  64. package/dist/_commonjsHelpers-BRsHMJes.js.br +0 -0
  65. package/dist/_sentry-release-injection-file-BE1hINUq.js.br +0 -0
  66. package/dist/giftCard-BkTcitpm.js.br +0 -0
  67. package/dist/masonry.plugin-hjq7KkQz.js.br +0 -0
  68. package/dist/mitt-B6gLpXoo.js.br +0 -0
  69. package/dist/style-Bn_aipu4.js.br +0 -0
  70. package/dist/tracing-BVguX61l.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,16 +1,16 @@
1
- import { d as ee, r as ae, C as so, a as d, b as A, q as ro, u as e, w, g as h, e as a, t as v, A as Se, B as ze, f as y, i as _, s as G, F, l as Ye, x as tt, v as j, h as Pt, p as at, j as it, c as x, o as st, z as Ee, n as Be, S as uo, D as co, E as po, G as mo, k as fo } from "./_sentry-release-injection-file-BE1hINUq.js";
2
- import { u as ie, s as Z, T as ho, c as vo, l as yo, i as go, m as bo } from "./mitt-B6gLpXoo.js";
3
- import { d as Pe, x as ve, u as Ce, I as W, s as le, y as we, l as Qe, i as pe, g as ne, _ as fe, n as Me, z as At, b as ot, c as me, B as Dt, a as St, A as vt, T as ce, p as ko, D as _o, C as Vo, h as yt, j as $o, k as gt, m as wo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-bDUzTFlG.js";
4
- import { G as To } from "./style-Bn_aipu4.js";
5
- import { R as Co, B as Re, L as Po, S as Ao, M as Do, b as Xe, C as So, T as Ho, V as Io, a as Eo } from "./masonry.plugin-hjq7KkQz.js";
6
- import { A as Bo, H as No } from "./AvailabilitySkeleton-zKa2gP2l.js";
7
- import { S as Mo } from "./TermsOfService-B9J_dCWC.js";
8
- import { C as Te, B as Ro, P as Lo, a as Uo } from "./CheckoutWindow-Cxqsa0Y7.js";
9
- import { _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-8Jsgq-zd.js";
1
+ import { d as ee, r as ae, C as so, a as d, b as A, q as ro, u as e, w, g as v, e as a, t as h, A as Se, B as ze, f as y, i as _, s as G, F, l as Ye, x as tt, v as j, h as Pt, p as at, j as it, c as x, o as st, z as Ee, n as Ne, S as uo, D as co, E as po, G as mo, k as fo } from "./_sentry-release-injection-file-DNUh2Gjq.js";
2
+ import { u as ie, s as Z, T as ho, c as vo, l as yo, i as bo, m as go } from "./mitt-BeqJ2MFv.js";
3
+ import { d as Pe, x as ve, u as Ce, I as W, s as le, y as we, l as Qe, i as pe, g as ne, _ as fe, n as Be, z as At, b as ot, c as me, B as Dt, a as St, A as vt, T as ce, p as ko, D as _o, C as Vo, h as yt, j as $o, k as bt, m as wo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DYwA6hiM.js";
4
+ import { G as To } from "./style-DcfCYaKA.js";
5
+ import { R as Co, B as Re, L as Po, S as Ao, M as Do, b as Xe, C as So, T as Ho, V as Io, a as Eo } from "./masonry.plugin-DD0W9fy2.js";
6
+ import { A as No, H as Mo } from "./AvailabilitySkeleton-goa9gs9v.js";
7
+ import { S as Bo } from "./TermsOfService-Ck17xk9Q.js";
8
+ import { C as Te, B as Ro, P as Lo, a as Uo } from "./CheckoutWindow-CiImalcO.js";
9
+ import { _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-b67PURkf.js";
10
10
  (function() {
11
11
  try {
12
12
  var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
13
- l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "f8570471-f359-4a72-9231-632c585c3aaa", n._sentryDebugIdIdentifier = "sentry-dbid-f8570471-f359-4a72-9231-632c585c3aaa");
13
+ l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "d2072542-099d-4305-a5de-6947b8795451", n._sentryDebugIdIdentifier = "sentry-dbid-d2072542-099d-4305-a5de-6947b8795451");
14
14
  } catch {
15
15
  }
16
16
  })();
@@ -39,8 +39,8 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
39
39
  disableArrivalUserSelection: o,
40
40
  disableDepartureUserSelection: i,
41
41
  arrivalDefault: s,
42
- departureDefault: p,
43
- disableNewsletterSignup: m,
42
+ departureDefault: m,
43
+ disableNewsletterSignup: p,
44
44
  currency: u
45
45
  } = Z(Pe()), {
46
46
  arrivalTime: r,
@@ -50,12 +50,12 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
50
50
  totalPrice: T,
51
51
  areListingsLoading: C,
52
52
  getSelectedPackageRoom: I,
53
- selectedPackage: M,
54
- discountVouchers: N,
53
+ selectedPackage: B,
54
+ discountVouchers: M,
55
55
  currentArrivalDate: E,
56
56
  currentDepartureDate: k,
57
57
  datesMismatch: D,
58
- currentLocation: B,
58
+ currentLocation: N,
59
59
  locationMismatch: z,
60
60
  newsMails: R,
61
61
  termsOfService: Y,
@@ -64,8 +64,8 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
64
64
  acceptTerms: te,
65
65
  totalTemplateAddonPrice: q,
66
66
  totalRooms: ye,
67
- totalAdults: ge,
68
- totalChildren: be
67
+ totalAdults: be,
68
+ totalChildren: ge
69
69
  } = Z(ve()), { hasHotelLocations: Le } = Z(Ce()), { removeRoom: dt, validateDiscountCode: Ue } = ve(), { getHotelLocationName: Ae } = Ce(), he = ae(!1);
70
70
  function ke(Q) {
71
71
  return Q.reduce(($e, { totalPrice: O }) => $e + O, 0);
@@ -87,66 +87,66 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
87
87
  Ye(Q.$slots, "form", {}, void 0, !0)
88
88
  ]),
89
89
  "price-summary": w(() => [
90
- isNaN(e($)) && e(f).length > 0 ? (d(!0), h(F, { key: 0 }, G(e(f), ({
90
+ isNaN(e($)) && e(f).length > 0 ? (d(!0), v(F, { key: 0 }, G(e(f), ({
91
91
  roomGroupID: O,
92
92
  title: Fe,
93
93
  variants: Oe
94
- }) => (d(), h("div", { key: O }, [
94
+ }) => (d(), v("div", { key: O }, [
95
95
  a("h6", null, [
96
- a("span", null, v(Fe), 1)
96
+ a("span", null, h(Fe), 1)
97
97
  ]),
98
- (d(!0), h(F, null, G(Oe, (_e, je) => (d(), h("div", { key: je }, [
99
- (d(!0), h(F, null, G(_e.rooms, (re, qe) => (d(), h("ul", { key: qe }, [
98
+ (d(!0), v(F, null, G(Oe, (_e, je) => (d(), v("div", { key: je }, [
99
+ (d(!0), v(F, null, G(_e.rooms, (re, qe) => (d(), v("ul", { key: qe }, [
100
100
  a("li", null, [
101
101
  a("span", null, [
102
102
  a("span", null, [
103
- tt(v(e(pe)(_e.name)) + " ( ", 1),
103
+ tt(h(e(pe)(_e.name)) + " ( ", 1),
104
104
  y(W, {
105
105
  icon: "male",
106
106
  type: "fas",
107
107
  color: "font"
108
108
  }),
109
- a("span", null, v(re.adultsCount), 1),
110
- re.childrenCount > 0 ? (d(), h(F, { key: 0 }, [
109
+ a("span", null, h(re.adultsCount), 1),
110
+ re.childrenCount > 0 ? (d(), v(F, { key: 0 }, [
111
111
  y(W, {
112
112
  icon: "child",
113
113
  type: "fas",
114
114
  color: "font"
115
115
  }),
116
- a("span", null, v(re.childrenCount), 1)
116
+ a("span", null, h(re.childrenCount), 1)
117
117
  ], 64)) : _("", !0),
118
118
  tt(") ")
119
119
  ])
120
120
  ]),
121
121
  a("b", null, [
122
- a("span", null, v(e(ne)(re.totalPrice, e(u))), 1),
122
+ a("span", null, h(e(ne)(re.totalPrice, e(u))), 1),
123
123
  _("", !0)
124
124
  ])
125
125
  ]),
126
- ke(re.roomAddons) > 0 ? (d(), h("li", Wo, [
127
- a("span", null, v(e(l)("general.addons")), 1),
128
- a("b", null, v(e(ne)(ke(re.roomAddons), e(u))), 1)
126
+ ke(re.roomAddons) > 0 ? (d(), v("li", Wo, [
127
+ a("span", null, h(e(l)("general.addons")), 1),
128
+ a("b", null, h(e(ne)(ke(re.roomAddons), e(u))), 1)
129
129
  ])) : _("", !0)
130
130
  ]))), 128))
131
131
  ]))), 128))
132
132
  ]))), 128)) : _("", !0),
133
- e(I) && e(M) ? (d(), h("div", xo, [
133
+ e(I) && e(B) ? (d(), v("div", xo, [
134
134
  a("h6", null, [
135
- a("span", null, v(e(pe)(e(M).name)), 1)
135
+ a("span", null, h(e(pe)(e(B).name)), 1)
136
136
  ]),
137
137
  a("div", null, [
138
138
  a("ul", null, [
139
139
  a("li", null, [
140
140
  a("span", null, [
141
- a("span", null, v(e(pe)(e(I).title)), 1)
141
+ a("span", null, h(e(pe)(e(I).title)), 1)
142
142
  ]),
143
143
  a("b", null, [
144
- a("span", null, v(e(ne)(e(I).extraPrice, e(u))), 1)
144
+ a("span", null, h(e(ne)(e(I).extraPrice, e(u))), 1)
145
145
  ])
146
146
  ]),
147
- e(q) ? (d(), h("li", Ko, [
148
- a("span", null, v(e(l)("general.addons")), 1),
149
- a("b", null, v(e(ne)(e(q), e(u))), 1)
147
+ e(q) ? (d(), v("li", Ko, [
148
+ a("span", null, h(e(l)("general.addons")), 1),
149
+ a("b", null, h(e(ne)(e(q), e(u))), 1)
150
150
  ])) : _("", !0)
151
151
  ])
152
152
  ])
@@ -154,7 +154,7 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
154
154
  ]),
155
155
  actions: w(() => [
156
156
  a("ul", Jo, [
157
- e(m) ? _("", !0) : (d(), h("div", zo, [
157
+ e(p) ? _("", !0) : (d(), v("div", zo, [
158
158
  y(Te, {
159
159
  modelValue: e(R),
160
160
  "onUpdate:modelValue": K[0] || (K[0] = (O) => j(R) ? R.value = O : null),
@@ -181,7 +181,7 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
181
181
  class: "konnectio-accept-terms-link",
182
182
  onClick: K[1] || (K[1] = Pt((O) => he.value = !0, ["prevent"]))
183
183
  }, [
184
- a("span", null, v(e(Qe)(e(l)("general.termsAndConditions"))), 1)
184
+ a("span", null, h(e(Qe)(e(l)("general.termsAndConditions"))), 1)
185
185
  ])
186
186
  ]),
187
187
  _: 1
@@ -190,7 +190,7 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
190
190
  _: 1
191
191
  }, 8, ["modelValue"])) : _("", !0),
192
192
  Ye(Q.$slots, "actions", {}, void 0, !0),
193
- y(Mo, {
193
+ y(Bo, {
194
194
  modelValue: he.value,
195
195
  "onUpdate:modelValue": K[3] || (K[3] = (O) => he.value = O),
196
196
  description: e(Y)
@@ -202,8 +202,8 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
202
202
  ]),
203
203
  "mobile-under-price": w(() => [
204
204
  Yo,
205
- a("b", null, v(e(we)(e(E), e(k))) + " " + v(e(Qe)(e(we)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1),
206
- Se((d(), h("span", Qo, [
205
+ a("b", null, h(e(we)(e(E), e(k))) + " " + h(e(Qe)(e(we)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1),
206
+ Se((d(), v("span", Qo, [
207
207
  y(W, {
208
208
  icon: "circle-info",
209
209
  type: "fas"
@@ -217,19 +217,19 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
217
217
  ])
218
218
  ]),
219
219
  "mobile-summary": w(() => [
220
- a("span", null, v(`${e(ge)} ${e(ge) === 1 ? e(l)("general.adult") : e(l)("general.adults")}`), 1),
221
- a("span", null, v(`${e(be)} ${e(be) === 1 ? e(l)("general.child") : e(l)("general.children")}`), 1),
222
- a("span", null, v(`${e(ye)} ${e(ye) === 1 ? e(l)("booking.reservation.room") : e(l)("booking.reservation.rooms")}`), 1)
220
+ a("span", null, h(`${e(be)} ${e(be) === 1 ? e(l)("general.adult") : e(l)("general.adults")}`), 1),
221
+ a("span", null, h(`${e(ge)} ${e(ge) === 1 ? e(l)("general.child") : e(l)("general.children")}`), 1),
222
+ a("span", null, h(`${e(ye)} ${e(ye) === 1 ? e(l)("booking.reservation.room") : e(l)("booking.reservation.rooms")}`), 1)
223
223
  ]),
224
224
  _: 2
225
225
  }, [
226
- isNaN(e(B)) ? void 0 : {
226
+ isNaN(e(N)) ? void 0 : {
227
227
  name: "reservation-summary",
228
228
  fn: w(() => [
229
- e(Le) ? (d(), h("li", Oo, [
230
- a("span", null, v(e(l)("general.location")), 1),
229
+ e(Le) ? (d(), v("li", Oo, [
230
+ a("span", null, h(e(l)("general.location")), 1),
231
231
  a("b", null, [
232
- a("span", null, v(e(Ae)(e(B))), 1),
232
+ a("span", null, h(e(Ae)(e(N))), 1),
233
233
  Se(a("span", jo, [
234
234
  y(W, {
235
235
  icon: "exclamation-triangle",
@@ -241,9 +241,9 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
241
241
  ])
242
242
  ])) : _("", !0),
243
243
  a("li", null, [
244
- a("span", null, v(e(l)("booking.reservation.arrival")), 1),
244
+ a("span", null, h(e(l)("booking.reservation.arrival")), 1),
245
245
  a("b", null, [
246
- a("span", null, v(e(t) ? e(le)(e(E)) : `${e(le)(e(E))}, ${e(o) ? e(s) : e(r)}`), 1),
246
+ a("span", null, h(e(t) ? e(le)(e(E)) : `${e(le)(e(E))}, ${e(o) ? e(s) : e(r)}`), 1),
247
247
  Se(a("span", qo, [
248
248
  y(W, {
249
249
  icon: "exclamation-triangle",
@@ -255,9 +255,9 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
255
255
  ])
256
256
  ]),
257
257
  a("li", null, [
258
- a("span", null, v(e(l)("booking.reservation.departure")), 1),
258
+ a("span", null, h(e(l)("booking.reservation.departure")), 1),
259
259
  a("b", null, [
260
- a("span", null, v(e(t) ? e(le)(e(k)) : `${e(le)(e(k))}, ${e(i) ? e(p) : e(c)}`), 1),
260
+ a("span", null, h(e(t) ? e(le)(e(k)) : `${e(le)(e(k))}, ${e(i) ? e(m) : e(c)}`), 1),
261
261
  Se(a("span", Go, [
262
262
  y(W, {
263
263
  icon: "exclamation-triangle",
@@ -269,14 +269,14 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
269
269
  ])
270
270
  ]),
271
271
  a("li", null, [
272
- a("span", null, v(e(l)("booking.reservation.nights")), 1),
273
- a("b", null, v(e(we)(e(E), e(k))) + " " + v(e(Qe)(e(we)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1)
272
+ a("span", null, h(e(l)("booking.reservation.nights")), 1),
273
+ a("b", null, h(e(we)(e(E), e(k))) + " " + h(e(Qe)(e(we)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1)
274
274
  ]),
275
- e(N) ? (d(!0), h(F, { key: 1 }, G(e(N), (O) => (d(), h("li", {
275
+ e(M) ? (d(!0), v(F, { key: 1 }, G(e(M), (O) => (d(), v("li", {
276
276
  key: O.id
277
277
  }, [
278
- a("span", null, v(`${e(l)("general.discountCode")} (${O.value})`), 1),
279
- a("b", null, v(O.key), 1)
278
+ a("span", null, h(`${e(l)("general.discountCode")} (${O.value})`), 1),
279
+ a("b", null, h(O.key), 1)
280
280
  ]))), 128)) : _("", !0)
281
281
  ]),
282
282
  key: "0"
@@ -296,16 +296,16 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
296
296
  emits: ["update:modelValue"],
297
297
  setup(n, { emit: l }) {
298
298
  const { t } = ie(), { currency: o } = Z(Pe()), i = l, s = n;
299
- function p(u) {
299
+ function m(u) {
300
300
  i("update:modelValue", u);
301
301
  }
302
- const m = x({
302
+ const p = x({
303
303
  get: () => s.modelValue,
304
- set: (u) => p(u)
304
+ set: (u) => m(u)
305
305
  });
306
- return (u, r) => (d(), A(Me, {
307
- modelValue: m.value,
308
- "onUpdate:modelValue": r[0] || (r[0] = (c) => m.value = c),
306
+ return (u, r) => (d(), A(Be, {
307
+ modelValue: p.value,
308
+ "onUpdate:modelValue": r[0] || (r[0] = (c) => p.value = c),
309
309
  label: u.label,
310
310
  placeholder: "Select guest configuration",
311
311
  labelKey: "label",
@@ -324,17 +324,17 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
324
324
  type: "fas",
325
325
  color: "font"
326
326
  }),
327
- a("span", null, v(`${c.adults}`), 1),
328
- c.children > 0 ? (d(), h("span", tl, [
327
+ a("span", null, h(`${c.adults}`), 1),
328
+ c.children > 0 ? (d(), v("span", tl, [
329
329
  y(W, {
330
330
  icon: "child",
331
331
  type: "fas",
332
332
  color: "font"
333
333
  }),
334
- a("span", null, v(`${c.children}`), 1)
334
+ a("span", null, h(`${c.children}`), 1)
335
335
  ])) : _("", !0)
336
336
  ]),
337
- a("span", null, v(`(${e(ne)(c.price, e(o))})`), 1)
337
+ a("span", null, h(`(${e(ne)(c.price, e(o))})`), 1)
338
338
  ])
339
339
  ]),
340
340
  "selected-option": w(({ data: c }) => [
@@ -342,16 +342,16 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
342
342
  a("div", ll, [
343
343
  a("div", null, [
344
344
  _("", !0),
345
- a("span", null, v(`${c.adults} ${c.adults === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1)
345
+ a("span", null, h(`${c.adults} ${c.adults === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1)
346
346
  ]),
347
- c.children > 0 ? (d(), h("div", nl, [
347
+ c.children > 0 ? (d(), v("div", nl, [
348
348
  _("", !0),
349
- a("span", null, v(`& ${c.children} ${c.children === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1)
349
+ a("span", null, h(`& ${c.children} ${c.children === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1)
350
350
  ])) : _("", !0)
351
351
  ]),
352
352
  a("div", al, [
353
353
  il,
354
- tt(" " + v(`(${e(ne)(c.price, e(o))})`), 1)
354
+ tt(" " + h(`(${e(ne)(c.price, e(o))})`), 1)
355
355
  ])
356
356
  ])
357
357
  ]),
@@ -377,18 +377,18 @@ const ml = /* @__PURE__ */ ee({
377
377
  const s = x(() => t.room.rates.map((k) => ({
378
378
  label: k.name,
379
379
  value: k.id
380
- }))), { hideAvailableRoomAmount: p, autoSelectRateId: m } = Z(Pe()), { roomSelect: u } = Z(ve()), { addToCart: r, removeFromCart: c } = At(), f = (k, D) => t.room.rates.find((B) => B.id === k)?.occupantRates.find((B) => B.index === D), $ = x(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), T = (k, D) => f(k, D) ? f(k, D)?.rooms : null, C = (k) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === k)?.occupantRates.map((D) => ({
380
+ }))), { hideAvailableRoomAmount: m, autoSelectRateId: p } = Z(Pe()), { roomSelect: u } = Z(ve()), { addToCart: r, removeFromCart: c } = At(), f = (k, D) => t.room.rates.find((N) => N.id === k)?.occupantRates.find((N) => N.index === D), $ = x(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), T = (k, D) => f(k, D) ? f(k, D)?.rooms : null, C = (k) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === k)?.occupantRates.map((D) => ({
381
381
  value: D.index,
382
382
  price: D.totalPrice,
383
383
  adults: D.adultsCount,
384
384
  children: D.childrenCount,
385
385
  hasBreakfast: D.hasBreakfast
386
386
  })) || [] : [], I = x(() => t.room.rates.length > 1);
387
- function M(k, D) {
388
- o.value[k].config[0].id = t.room.rates.find((B) => B.id === D.value)?.occupantRateIndex || NaN;
387
+ function B(k, D) {
388
+ o.value[k].config[0].id = t.room.rates.find((N) => N.id === D.value)?.occupantRateIndex || NaN;
389
389
  }
390
- function N() {
391
- I.value ? m.value ? o.value.push({
390
+ function M() {
391
+ I.value ? p.value ? o.value.push({
392
392
  id: t.room.bestRateMatch || void 0,
393
393
  config: [{
394
394
  id: t.room.bestRateMatch && !isNaN(t.room.bestRateMatch) ? t.room.rates.find((k) => k.id === t.room.bestRateMatch)?.occupantRateIndex : NaN,
@@ -412,12 +412,12 @@ const ml = /* @__PURE__ */ ee({
412
412
  });
413
413
  }
414
414
  st(() => {
415
- N();
415
+ M();
416
416
  });
417
417
  const E = x(() => JSON.parse(JSON.stringify(o.value)));
418
418
  return Ee(E, (k, D) => {
419
- D.length > 0 && k.forEach((B, z) => {
420
- B.config.forEach((R, Y) => {
419
+ D.length > 0 && k.forEach((N, z) => {
420
+ N.config.forEach((R, Y) => {
421
421
  const L = R.units, se = D[z].config[Y].units;
422
422
  L !== se && (L > se ? (o.value[z].config[Y].addons.push({}), r({
423
423
  id: t.room.id,
@@ -445,29 +445,29 @@ const ml = /* @__PURE__ */ ee({
445
445
  }, {
446
446
  action: w(() => [
447
447
  a("div", dl, [
448
- (d(!0), h(F, null, G(o.value, (B, z) => (d(), h("div", {
449
- key: B.id,
448
+ (d(!0), v(F, null, G(o.value, (N, z) => (d(), v("div", {
449
+ key: N.id,
450
450
  class: "konnectio-hotel-room"
451
451
  }, [
452
- I.value ? (d(), A(Me, {
452
+ I.value ? (d(), A(Be, {
453
453
  key: 0,
454
- modelValue: B.id,
455
- "onUpdate:modelValue": (R) => B.id = R,
454
+ modelValue: N.id,
455
+ "onUpdate:modelValue": (R) => N.id = R,
456
456
  label: e(l)("hotel.roomVariant"),
457
457
  placeholder: e(l)("hotel.chooseARoomVariant"),
458
458
  options: s.value,
459
459
  searchable: !1,
460
- onChanged: (R) => M(z, R)
460
+ onChanged: (R) => B(z, R)
461
461
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) : _("", !0),
462
- B.id ? (d(), h("div", ul, [
463
- (d(!0), h(F, null, G(k.room.rates, ({
462
+ N.id ? (d(), v("div", ul, [
463
+ (d(!0), v(F, null, G(k.room.rates, ({
464
464
  id: R,
465
465
  maximumOccupants: Y
466
- }) => (d(), h("div", {
466
+ }) => (d(), v("div", {
467
467
  key: R,
468
468
  class: "konnectio-listing-action-selective-i"
469
469
  }, [
470
- B.id === R ? (d(!0), h(F, { key: 0 }, G(B.config, (L, se) => (d(), h("div", {
470
+ N.id === R ? (d(!0), v(F, { key: 0 }, G(N.config, (L, se) => (d(), v("div", {
471
471
  key: se,
472
472
  class: "konnectio-listing-action-selective"
473
473
  }, [
@@ -487,7 +487,7 @@ const ml = /* @__PURE__ */ ee({
487
487
  y(ot, {
488
488
  modelValue: L.units,
489
489
  "onUpdate:modelValue": (te) => L.units = te,
490
- description: e(p) ? void 0 : `${e(l)("booking.availability.availableUnits")}: ${T(B.id, L.id)}`,
490
+ description: e(m) ? void 0 : `${e(l)("booking.availability.availableUnits")}: ${T(N.id, L.id)}`,
491
491
  icon: "house",
492
492
  "icon-type": "fas",
493
493
  "icon-placement": "label",
@@ -516,14 +516,14 @@ const ml = /* @__PURE__ */ ee({
516
516
  callback: { type: Function }
517
517
  },
518
518
  setup(n) {
519
- const { t: l } = ie(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = Z(ve()), { currency: s } = Z(Pe()), { clearRoomSelection: p } = ve(), m = n, u = ae(!0), r = x(() => {
519
+ const { t: l } = ie(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = Z(ve()), { currency: s } = Z(Pe()), { clearRoomSelection: m } = ve(), p = n, u = ae(!0), r = x(() => {
520
520
  function f($, T) {
521
521
  return u.value === !0 ? $.extraPrice > T.extraPrice ? -1 : 1 : $.extraPrice > T.extraPrice ? 1 : -1;
522
522
  }
523
- return m.roomGroups?.slice().sort(f);
523
+ return p.roomGroups?.slice().sort(f);
524
524
  });
525
525
  function c(f) {
526
- t.value = m.templateId, o.value = f, p(), m.hideAddons === !0 || i.value ? m.callback(2) : m.callback(1);
526
+ t.value = p.templateId, o.value = f, m(), p.hideAddons === !0 || i.value ? p.callback(2) : p.callback(1);
527
527
  }
528
528
  return (f, $) => (d(), A(Ro, {
529
529
  title: f.title,
@@ -532,20 +532,20 @@ const ml = /* @__PURE__ */ ee({
532
532
  default: w(() => [
533
533
  a("div", hl, [
534
534
  a("div", vl, [
535
- (d(!0), h(F, null, G(r.value, ({
535
+ (d(!0), v(F, null, G(r.value, ({
536
536
  id: T,
537
537
  title: C,
538
538
  description: I,
539
- images: M,
540
- facilities: N,
539
+ images: B,
540
+ facilities: M,
541
541
  extraPrice: E
542
542
  }) => (d(), A(Re, {
543
543
  key: T,
544
544
  "listing-id": T,
545
545
  name: C,
546
546
  description: I,
547
- facilities: N,
548
- gallery: M,
547
+ facilities: M,
548
+ gallery: B,
549
549
  "includes-breakfast": !1,
550
550
  "hide-info-button": !0
551
551
  }, {
@@ -566,7 +566,7 @@ const ml = /* @__PURE__ */ ee({
566
566
  _: 1
567
567
  }, 8, ["title", "subtitle"]));
568
568
  }
569
- }), It = /* @__PURE__ */ fe(yl, [["__scopeId", "data-v-7424de30"]]), gl = { class: "konnectio-template-select-package" }, bl = /* @__PURE__ */ ee({
569
+ }), It = /* @__PURE__ */ fe(yl, [["__scopeId", "data-v-7424de30"]]), bl = { class: "konnectio-template-select-package" }, gl = /* @__PURE__ */ ee({
570
570
  __name: "Template",
571
571
  props: {
572
572
  id: {},
@@ -591,10 +591,10 @@ const ml = /* @__PURE__ */ ee({
591
591
  url: t.image.url
592
592
  }];
593
593
  }), s = ae(!1);
594
- function p() {
594
+ function m() {
595
595
  s.value = !0;
596
596
  }
597
- function m(u) {
597
+ function p(u) {
598
598
  t.callback(u), s.value = !1;
599
599
  }
600
600
  return (u, r) => (d(), A(Re, {
@@ -609,9 +609,9 @@ const ml = /* @__PURE__ */ ee({
609
609
  "prices-from": o.value
610
610
  }, {
611
611
  action: w(() => [
612
- a("div", gl, [
612
+ a("div", bl, [
613
613
  y(me, {
614
- onClickEvent: p,
614
+ onClickEvent: m,
615
615
  label: e(l)("booking.availability.selectPackage"),
616
616
  "full-width": ""
617
617
  }, null, 8, ["label"])
@@ -625,7 +625,7 @@ const ml = /* @__PURE__ */ ee({
625
625
  "template-id": u.id,
626
626
  "room-groups": u.roomGroups,
627
627
  "hide-addons": u.hideAddons,
628
- callback: m
628
+ callback: p
629
629
  }, null, 8, ["modelValue", "title", "template-id", "room-groups", "hide-addons"])
630
630
  ]),
631
631
  _: 1
@@ -645,7 +645,7 @@ const ml = /* @__PURE__ */ ee({
645
645
  callback: { type: Function }
646
646
  },
647
647
  setup(n) {
648
- const { t: l } = ie(), { updateDates: t } = Ce(), { display: o } = St(), i = n, s = ae([]), p = x(() => we(i.fromDate, i.toDate) === 1), m = x(() => [{
648
+ const { t: l } = ie(), { updateDates: t } = Ce(), { display: o } = St(), i = n, s = ae([]), m = x(() => we(i.fromDate, i.toDate) === 1), p = x(() => [{
649
649
  large: i.image.url,
650
650
  medium: i.image.url,
651
651
  thumb: i.image.url,
@@ -661,13 +661,13 @@ const ml = /* @__PURE__ */ ee({
661
661
  });
662
662
  }
663
663
  return st(() => {
664
- p.value && (s.value = [new Date(i.fromDate), new Date(i.toDate)]);
664
+ m.value && (s.value = [new Date(i.fromDate), new Date(i.toDate)]);
665
665
  }), (f, $) => (d(), A(Re, {
666
666
  type: "template",
667
667
  "listing-id": f.id,
668
668
  name: f.name,
669
669
  description: f.description,
670
- gallery: m.value,
670
+ gallery: p.value,
671
671
  layout: e(Dt).Template,
672
672
  "includes-breakfast": !1,
673
673
  "hide-info-button": !1,
@@ -687,7 +687,7 @@ const ml = /* @__PURE__ */ ee({
687
687
  "start-date": new Date(f.fromDate),
688
688
  "min-date": new Date(f.fromDate),
689
689
  "max-date": new Date(f.toDate),
690
- readonly: p.value,
690
+ readonly: m.value,
691
691
  range: ""
692
692
  }, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
693
693
  a("div", _l, [
@@ -711,7 +711,7 @@ const ml = /* @__PURE__ */ ee({
711
711
  _: 1
712
712
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
713
713
  }
714
- }), bt = /* @__PURE__ */ ee({
714
+ }), gt = /* @__PURE__ */ ee({
715
715
  __name: "TimeField",
716
716
  props: {
717
717
  modelValue: {},
@@ -730,27 +730,27 @@ const ml = /* @__PURE__ */ ee({
730
730
  emits: ["update:modelValue"],
731
731
  setup(n, { emit: l }) {
732
732
  const t = l, o = n;
733
- function i(p) {
734
- t("update:modelValue", p);
733
+ function i(m) {
734
+ t("update:modelValue", m);
735
735
  }
736
736
  const s = ae(o.modelValue);
737
- return Ee(s, (p) => {
738
- i(p);
739
- }), (p, m) => (d(), A(Ht, {
737
+ return Ee(s, (m) => {
738
+ i(m);
739
+ }), (m, p) => (d(), A(Ht, {
740
740
  modelValue: s.value,
741
- "onUpdate:modelValue": m[0] || (m[0] = (u) => s.value = u),
741
+ "onUpdate:modelValue": p[0] || (p[0] = (u) => s.value = u),
742
742
  type: "time",
743
- label: p.label,
744
- id: p.id,
745
- name: p.name,
746
- icon: p.icon,
747
- "icon-type": p.iconType,
748
- "icon-color": p.iconColor,
743
+ label: m.label,
744
+ id: m.id,
745
+ name: m.name,
746
+ icon: m.icon,
747
+ "icon-type": m.iconType,
748
+ "icon-color": m.iconColor,
749
749
  "auto-apply": !0,
750
- required: p.required,
751
- readonly: p.readonly,
752
- "min-time": p.minTime,
753
- "max-time": p.maxTime
750
+ required: m.required,
751
+ readonly: m.readonly,
752
+ "min-time": m.minTime,
753
+ "max-time": m.maxTime
754
754
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly", "min-time", "max-time"]));
755
755
  }
756
756
  }), $l = { style: { display: "flex", "align-items": "baseline" } }, wl = /* @__PURE__ */ ee({
@@ -766,35 +766,35 @@ const ml = /* @__PURE__ */ ee({
766
766
  emits: ["update:modelValue"],
767
767
  setup(n, { emit: l }) {
768
768
  const { t } = ie(), o = l, i = n;
769
- function s(m) {
770
- o("update:modelValue", m);
769
+ function s(p) {
770
+ o("update:modelValue", p);
771
771
  }
772
- const p = x({
772
+ const m = x({
773
773
  get: () => i.modelValue,
774
- set: (m) => s(m)
774
+ set: (p) => s(p)
775
775
  });
776
- return (m, u) => (d(), A(Me, {
777
- modelValue: p.value,
778
- "onUpdate:modelValue": u[0] || (u[0] = (r) => p.value = r),
779
- label: m.label,
776
+ return (p, u) => (d(), A(Be, {
777
+ modelValue: m.value,
778
+ "onUpdate:modelValue": u[0] || (u[0] = (r) => m.value = r),
779
+ label: p.label,
780
780
  placeholder: e(t)("booking.reservation.countryPlaceholder"),
781
781
  labelKey: "name",
782
782
  valueKey: "id",
783
- options: m.options,
784
- required: m.required
783
+ options: p.options,
784
+ required: p.required
785
785
  }, {
786
786
  option: w(({ data: r }) => [
787
787
  a("i", {
788
- class: Be(["konnectio-flag-icon", r.iso])
788
+ class: Ne(["konnectio-flag-icon", r.iso])
789
789
  }, null, 2),
790
- a("span", null, v(r.name), 1)
790
+ a("span", null, h(r.name), 1)
791
791
  ]),
792
792
  "selected-option": w(({ data: r }) => [
793
793
  a("div", $l, [
794
794
  a("i", {
795
- class: Be(["konnectio-flag-icon", r.iso])
795
+ class: Ne(["konnectio-flag-icon", r.iso])
796
796
  }, null, 2),
797
- a("span", null, v(r.name), 1)
797
+ a("span", null, h(r.name), 1)
798
798
  ])
799
799
  ]),
800
800
  _: 1
@@ -822,16 +822,16 @@ const ml = /* @__PURE__ */ ee({
822
822
  },
823
823
  emits: ["update:modelValue", "update:title"],
824
824
  setup(n, { emit: l }) {
825
- const t = n, o = l, i = t.id || vt(), s = ae(""), p = ae(2);
826
- function m() {
825
+ const t = n, o = l, i = t.id || vt(), s = ae(""), m = ae(2);
826
+ function p() {
827
827
  o("update:modelValue", s.value);
828
828
  }
829
- Ee(p, (r) => {
829
+ Ee(m, (r) => {
830
830
  o("update:title", r);
831
831
  });
832
832
  const { t: u } = ie();
833
833
  return st(() => {
834
- t.modelValue && (s.value = t.modelValue), t.title && (p.value = t.title);
834
+ t.modelValue && (s.value = t.modelValue), t.title && (m.value = t.title);
835
835
  }), (r, c) => (d(), A(ko, {
836
836
  label: r.label,
837
837
  id: e(i),
@@ -842,15 +842,15 @@ const ml = /* @__PURE__ */ ee({
842
842
  }, {
843
843
  default: w(() => [
844
844
  a("div", {
845
- class: Be([
845
+ class: Ne([
846
846
  "konnectio-name-input",
847
847
  { "no-title": r.excludeTitle }
848
848
  ])
849
849
  }, [
850
- r.excludeTitle ? _("", !0) : (d(), A(Me, {
850
+ r.excludeTitle ? _("", !0) : (d(), A(Be, {
851
851
  key: 0,
852
- modelValue: p.value,
853
- "onUpdate:modelValue": c[0] || (c[0] = (f) => p.value = f),
852
+ modelValue: m.value,
853
+ "onUpdate:modelValue": c[0] || (c[0] = (f) => m.value = f),
854
854
  id: e(vt)(),
855
855
  icon: r.icon,
856
856
  "icon-color": r.iconColor,
@@ -896,7 +896,7 @@ const ml = /* @__PURE__ */ ee({
896
896
  required: r.required,
897
897
  readonly: r.readonly,
898
898
  limit: r.limit,
899
- onInput: c[2] || (c[2] = (f) => m()),
899
+ onInput: c[2] || (c[2] = (f) => p()),
900
900
  "input-style": r.inputStyle
901
901
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
902
902
  ], 2)
@@ -907,9 +907,9 @@ const ml = /* @__PURE__ */ ee({
907
907
  }), Pl = /* @__PURE__ */ fe(Cl, [["__scopeId", "data-v-7c44829d"]]), Al = { class: "hotel-skeleton" }, Dl = { class: "hotel-skeleton-content" }, Sl = { class: "hotel-skeleton-sidebar" }, Hl = /* @__PURE__ */ ee({
908
908
  __name: "HotelSkeleton",
909
909
  setup(n) {
910
- return (l, t) => (d(), h("div", Al, [
910
+ return (l, t) => (d(), v("div", Al, [
911
911
  a("div", Dl, [
912
- y(Bo, { hotel: "" }),
912
+ y(No, { hotel: "" }),
913
913
  y(Po)
914
914
  ]),
915
915
  a("div", Sl, [
@@ -917,8 +917,8 @@ const ml = /* @__PURE__ */ ee({
917
917
  ])
918
918
  ]));
919
919
  }
920
- }), Il = /* @__PURE__ */ fe(Hl, [["__scopeId", "data-v-1bb21da4"]]), El = (n) => (at("data-v-3ffdb3e3"), n = n(), it(), n), Bl = { id: "booking-availability-container" }, Nl = { id: "booking-availability-controls" };
921
- const Ml = { key: 1 }, Rl = { key: 0 }, Ll = {
920
+ }), Il = /* @__PURE__ */ fe(Hl, [["__scopeId", "data-v-1bb21da4"]]), El = (n) => (at("data-v-72435bab"), n = n(), it(), n), Nl = { id: "booking-availability-container" }, Ml = { id: "booking-availability-controls" };
921
+ const Bl = { key: 1 }, Rl = { key: 0 }, Ll = {
922
922
  key: 0,
923
923
  id: "booking-availability-packages"
924
924
  }, Ul = {
@@ -940,25 +940,24 @@ const Ml = { key: 1 }, Rl = { key: 0 }, Ll = {
940
940
  }, zl = {
941
941
  key: 2,
942
942
  id: "reservation-availability-next-dates"
943
- }, Yl = { class: "konnectio-hotel-availability-title" }, Ql = { class: "reservation-special-offers-grid" }, Xl = ["title"];
944
- const Zl = {
943
+ }, Yl = { class: "konnectio-hotel-availability-title" }, Ql = { class: "reservation-special-offers-grid" }, Xl = ["title"], Zl = { key: 0 }, en = {
945
944
  key: 2,
946
945
  class: "konnectio-panel"
947
- }, en = {
946
+ }, tn = {
948
947
  key: 3,
949
948
  class: "konnectio-listing-loading"
950
- }, tn = { class: "konnectio-panel" }, on = {
949
+ }, on = { class: "konnectio-panel" }, ln = {
951
950
  key: 0,
952
951
  id: "konnectio-hotel-addons"
953
952
  };
954
- const ln = { class: "konnectio-event-addons-price" }, nn = { key: 1 }, an = { class: "konnectio-table-addons-information" }, sn = { class: "konnectio-table-addons-option" }, rn = {
953
+ const nn = { class: "konnectio-event-addons-price" }, an = { key: 1 }, sn = { class: "konnectio-table-addons-information" }, rn = { class: "konnectio-table-addons-option" }, dn = {
955
954
  key: 1,
956
955
  id: "konnectio-hotel-addons"
957
- }, dn = { class: "konnectio-table with-lines" };
958
- const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), cn = { class: "konnectio-table-addons-information" }, pn = { class: "konnectio-table-addons-option" }, mn = { class: "konnectio-panel" }, fn = { key: 0 }, hn = { key: 1 }, vn = {
956
+ }, un = { class: "konnectio-table with-lines" };
957
+ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), pn = { class: "konnectio-table-addons-information" }, mn = { class: "konnectio-table-addons-option" }, fn = { class: "konnectio-panel" }, hn = { key: 0 }, vn = { key: 1 }, yn = {
959
958
  key: 1,
960
959
  class: "konnectio-show-on-mobile"
961
- }, yn = { class: "konnectio-split-inputs" }, gn = /* @__PURE__ */ ee({
960
+ }, bn = { class: "konnectio-split-inputs" }, gn = /* @__PURE__ */ ee({
962
961
  name: "HotelLayout",
963
962
  __name: "Hotel",
964
963
  props: {
@@ -971,11 +970,11 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
971
970
  styling: {}
972
971
  },
973
972
  setup(n) {
974
- const l = co(() => import("./_-CwfDey89.js")), t = n, { t: o } = ie(), {
973
+ const l = co(() => import("./_-Cd2-tqPM.js")), t = n, { t: o } = ie(), {
975
974
  currentLocation: i,
976
975
  templateID: s,
977
- templateAddons: p,
978
- countries: m,
976
+ templateAddons: m,
977
+ countries: p,
979
978
  areListingsLoading: u,
980
979
  isPaymentLoading: r,
981
980
  isReservationFormFilled: c,
@@ -984,12 +983,12 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
984
983
  departureTime: T,
985
984
  name: C,
986
985
  nameTitle: I,
987
- email: M,
988
- phone: N,
986
+ email: B,
987
+ phone: M,
989
988
  firmName: E,
990
989
  postal: k,
991
990
  city: D,
992
- address: B,
991
+ address: N,
993
992
  country: z,
994
993
  remark: R,
995
994
  allergies: Y,
@@ -998,8 +997,8 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
998
997
  hasValidRoomSelection: te,
999
998
  availabilityData: q,
1000
999
  selectionHasNoAddons: ye,
1001
- isAvailabilityDataAvailable: ge,
1002
- getSelectedPackageRoom: be,
1000
+ isAvailabilityDataAvailable: be,
1001
+ getSelectedPackageRoom: ge,
1003
1002
  selectedPackage: Le,
1004
1003
  isSearchOutdated: dt,
1005
1004
  currentChildren: Ue,
@@ -1064,7 +1063,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1064
1063
  icon: "calendar-check"
1065
1064
  }
1066
1065
  ]), eo = x(() => {
1067
- const b = [
1066
+ const g = [
1068
1067
  {
1069
1068
  label: o("booking.reservation.business"),
1070
1069
  value: "Business"
@@ -1074,38 +1073,38 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1074
1073
  value: "Pleasure"
1075
1074
  }
1076
1075
  ];
1077
- return Ot.value || b.push({
1076
+ return Ot.value || g.push({
1078
1077
  label: o("booking.reservation.bleasure"),
1079
1078
  value: "Bleasure"
1080
- }), b;
1079
+ }), g;
1081
1080
  }), to = x(() => {
1082
- const b = q.value.roomGroups.slice();
1081
+ const g = q.value.roomGroups.slice();
1083
1082
  function V(J, P) {
1084
1083
  return Xt.value === !0 ? J.pricesFrom > P.pricesFrom ? -1 : 1 : J.pricesFrom > P.pricesFrom ? 1 : -1;
1085
1084
  }
1086
- return b.sort(V);
1085
+ return g.sort(V);
1087
1086
  }), Ke = x(() => t.hideAddons === "yes" || Ae.value && t.hideAddons === "packages" || !Ae.value && t.hideAddons === "rooms");
1088
- function ht(b) {
1089
- Ke.value || ye.value ? b(2) : b(), zt();
1087
+ function ht(g) {
1088
+ Ke.value || ye.value ? g(2) : g(), zt();
1090
1089
  }
1091
- async function oo(b, V) {
1092
- await Yt(b, V);
1090
+ async function oo(g, V) {
1091
+ await Yt(g, V);
1093
1092
  }
1094
- function lo(b) {
1095
- Rt.value && Kt(), Ke.value || ye.value ? b(2) : b();
1093
+ function lo(g) {
1094
+ Rt.value && Kt(), Ke.value || ye.value ? g(2) : g();
1096
1095
  }
1097
1096
  function no() {
1098
- const b = $o("history", {
1097
+ const g = $o("history", {
1099
1098
  removeNullishValues: !0
1100
- }), V = parseInt(b.a), J = parseInt(b.c), P = parseInt(b.hid), S = parseInt(b.n), g = b.ci, U = b.co, H = b.id;
1099
+ }), V = parseInt(g.a), J = parseInt(g.c), P = parseInt(g.hid), S = parseInt(g.n), b = g.ci, U = g.co, H = g.id;
1101
1100
  let oe = !1;
1102
- if (isNaN(V) || (V > ct.value ? ke.value = ct.value : ke.value = V, ke.value === Gt.value && (b.a = void 0)), isNaN(J) || (J > pt.value ? Q.value = pt.value : Q.value = J, Q.value === Wt.value && (b.c = void 0)), isNaN(S) || S > 0 && (b.n = void 0), isNaN(P) || (Fe(P) ? (K.value = P, oe = !0) : xe({
1101
+ if (isNaN(V) || (V > ct.value ? ke.value = ct.value : ke.value = V, ke.value === Gt.value && (g.a = void 0)), isNaN(J) || (J > pt.value ? Q.value = pt.value : Q.value = J, Q.value === Wt.value && (g.c = void 0)), isNaN(S) || S > 0 && (g.n = void 0), isNaN(P) || (Fe(P) ? (K.value = P, oe = !0) : xe({
1103
1102
  message: o("alert.error.hotelIdNotFound"),
1104
1103
  type: "error"
1105
- })), g && U)
1106
- if (gt(g) && gt(U)) {
1107
- const Ve = new Date(g), de = new Date(U);
1108
- Ve <= de ? ($e.value = Ve, O.value = de) : (b.ci = void 0, b.co = void 0, xe({
1104
+ })), b && U)
1105
+ if (bt(b) && bt(U)) {
1106
+ const Ve = new Date(b), de = new Date(U);
1107
+ Ve <= de ? ($e.value = Ve, O.value = de) : (g.ci = void 0, g.co = void 0, xe({
1109
1108
  message: o("alert.error.invalidDateRange"),
1110
1109
  type: "error"
1111
1110
  }));
@@ -1117,95 +1116,95 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1117
1116
  let X = null;
1118
1117
  H && (X = H), t.disableDefaultLocation === "yes" && oe === !1 ? (K.value = void 0, i.value = void 0) : mt(X);
1119
1118
  }
1120
- return (b, V) => (d(), A(Vo, { styling: b.styling }, {
1119
+ return (g, V) => (d(), A(Vo, { styling: g.styling }, {
1121
1120
  default: w(() => [
1122
1121
  (d(), A(uo, { onResolve: no }, {
1123
1122
  default: w(() => [
1124
1123
  y(e(l), {
1125
1124
  id: "konnectio-hotel-module",
1126
- "access-token": b.accessToken,
1125
+ "access-token": g.accessToken,
1127
1126
  callback: e(Qt)
1128
1127
  }, {
1129
1128
  default: w(() => [
1130
1129
  y(Do, {
1131
- layout: b.headerLayout,
1130
+ layout: g.headerLayout,
1132
1131
  steps: Zt.value,
1133
1132
  onReset: e(Jt)
1134
1133
  }, {
1135
1134
  availability: w(({ next: J }) => [
1136
1135
  y(Ze, null, {
1137
1136
  form: w(() => [
1138
- a("div", Bl, [
1139
- a("div", Nl, [
1140
- y(No, {
1137
+ a("div", Nl, [
1138
+ a("div", Ml, [
1139
+ y(Mo, {
1141
1140
  booking: !0,
1142
- "selected-location": Number(b.selectedLocation),
1143
- "disable-default-location": b.disableDefaultLocation === "yes"
1141
+ "selected-location": Number(g.selectedLocation),
1142
+ "disable-default-location": g.disableDefaultLocation === "yes"
1144
1143
  }, null, 8, ["selected-location", "disable-default-location"])
1145
1144
  ]),
1146
1145
  _("", !0),
1147
- !e(u) && e(ge) ? (d(), h("div", Ml, [
1148
- e(q).roomGroups.length > 0 || e(q).templates.length > 0 || e(q).specialTemplates.length > 0 ? (d(), h("div", Rl, [
1149
- e(q).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div", Ll, [
1150
- b.onlyShow !== "packages" ? (d(), h("h2", Ul, [
1146
+ !e(u) && e(be) ? (d(), v("div", Bl, [
1147
+ e(q).roomGroups.length > 0 || e(q).templates.length > 0 || e(q).specialTemplates.length > 0 ? (d(), v("div", Rl, [
1148
+ e(q).templates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("div", Ll, [
1149
+ g.onlyShow !== "packages" ? (d(), v("h2", Ul, [
1151
1150
  y(W, {
1152
1151
  icon: "box",
1153
1152
  type: "fal",
1154
1153
  color: "header"
1155
1154
  }),
1156
- a("span", null, v(e(o)("booking.availability.packagesTitle")), 1)
1155
+ a("span", null, h(e(o)("booking.availability.packagesTitle")), 1)
1157
1156
  ])) : _("", !0),
1158
1157
  a("ul", Fl, [
1159
- (d(!0), h(F, null, G(e(q).templates, ({
1158
+ (d(!0), v(F, null, G(e(q).templates, ({
1160
1159
  id: P,
1161
1160
  name: S,
1162
- templateRoomGroups: g,
1161
+ templateRoomGroups: b,
1163
1162
  image: U,
1164
1163
  description: H,
1165
1164
  weekendFee: oe
1166
- }) => (d(), A(bl, {
1165
+ }) => (d(), A(gl, {
1167
1166
  key: P,
1168
1167
  id: P,
1169
1168
  description: H,
1170
1169
  name: S,
1171
1170
  image: U,
1172
1171
  weekendFee: oe,
1173
- "room-groups": g,
1172
+ "room-groups": b,
1174
1173
  callback: J,
1175
- "hide-addons": b.hideAddons === "yes" || b.hideAddons === "packages"
1174
+ "hide-addons": g.hideAddons === "yes" || g.hideAddons === "packages"
1176
1175
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
1177
1176
  ])
1178
1177
  ])) : _("", !0),
1179
- e(q).roomGroups.length > 0 && b.onlyShow !== "packages" ? (d(), h("div", Ol, [
1180
- e(q).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("h2", jl, [
1178
+ e(q).roomGroups.length > 0 && g.onlyShow !== "packages" ? (d(), v("div", Ol, [
1179
+ e(q).templates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("h2", jl, [
1181
1180
  y(W, {
1182
1181
  icon: "house",
1183
1182
  type: "fal",
1184
1183
  color: "header"
1185
1184
  }),
1186
- a("span", null, v(e(o)("booking.availability.roomsTitle")), 1)
1185
+ a("span", null, h(e(o)("booking.availability.roomsTitle")), 1)
1187
1186
  ])) : _("", !0),
1188
1187
  a("ul", ql, [
1189
- (d(!0), h(F, null, G(to.value, (P, S) => (d(), A(fl, {
1188
+ (d(!0), v(F, null, G(to.value, (P, S) => (d(), A(fl, {
1190
1189
  room: P,
1191
1190
  key: S
1192
1191
  }, null, 8, ["room"]))), 128))
1193
1192
  ])
1194
1193
  ])) : _("", !0),
1195
- e(q).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div", Gl, [
1194
+ e(q).specialTemplates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("div", Gl, [
1196
1195
  a("h2", Wl, [
1197
1196
  y(W, {
1198
1197
  icon: "sparkles",
1199
1198
  type: "fal",
1200
1199
  color: "header"
1201
1200
  }),
1202
- a("span", null, v(e(o)("hotel.specialOffers")), 1)
1201
+ a("span", null, h(e(o)("hotel.specialOffers")), 1)
1203
1202
  ]),
1204
1203
  a("ul", xl, [
1205
- (d(!0), h(F, null, G(e(q).specialTemplates, ({
1204
+ (d(!0), v(F, null, G(e(q).specialTemplates, ({
1206
1205
  id: P,
1207
1206
  name: S,
1208
- templateRoomGroups: g,
1207
+ templateRoomGroups: b,
1209
1208
  image: U,
1210
1209
  description: H,
1211
1210
  weekendFee: oe,
@@ -1220,54 +1219,61 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1220
1219
  fromDate: X,
1221
1220
  toDate: Ve,
1222
1221
  weekendFee: oe,
1223
- "room-groups": g,
1222
+ "room-groups": b,
1224
1223
  callback: J
1225
1224
  }, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
1226
1225
  ])
1227
1226
  ])) : _("", !0),
1228
- (e(q).templates.length === 0 && b.onlyShow !== "rooms" || e(q).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (d(), h("div", Kl, [
1229
- a("span", null, v(e(o)("booking.availability.nothingAvailable")), 1)
1227
+ (e(q).templates.length === 0 && g.onlyShow !== "rooms" || e(q).roomGroups.length === 0 && g.onlyShow !== "packages") && (g.onlyShow === "rooms" || g.onlyShow === "packages") ? (d(), v("div", Kl, [
1228
+ a("span", null, h(e(o)("booking.availability.nothingAvailable")), 1)
1230
1229
  ])) : _("", !0)
1231
- ])) : e(q).nextAvailableDates.length === 0 ? (d(), h("div", Jl, [
1232
- a("span", null, v(e(o)("booking.availability.nothingAvailable")), 1)
1233
- ])) : (d(), h("div", zl, [
1230
+ ])) : e(q).nextAvailableDates.length === 0 ? (d(), v("div", Jl, [
1231
+ a("span", null, h(e(o)("booking.availability.nothingAvailable")), 1)
1232
+ ])) : (d(), v("div", zl, [
1234
1233
  a("h2", Yl, [
1235
1234
  y(W, {
1236
1235
  icon: "calendar-circle-exclamation",
1237
1236
  type: "fal",
1238
1237
  color: "header"
1239
1238
  }),
1240
- a("span", null, v(e(o)("booking.availability.nextAvailableDates")), 1)
1239
+ a("span", null, h(e(o)("booking.availability.nextAvailableDates")), 1)
1241
1240
  ]),
1242
1241
  a("ul", Ql, [
1243
- (d(!0), h(F, null, G(e(q).nextAvailableDates, (P, S) => (d(), h("li", { key: S }, [
1242
+ (d(!0), v(F, null, G(e(q).nextAvailableDates, (P, S) => (d(), v("li", { key: S }, [
1244
1243
  a("h3", {
1245
- title: `${e(le)(P.fromDate)} - ${e(le)(P.toDate)}`
1244
+ title: `${e(le)(P.fromDate, 0, !0)} - ${e(le)(P.toDate, 0, !0)}`
1246
1245
  }, [
1247
- a("span", null, v(`${e(le)(P.fromDate)} - ${e(le)(P.toDate)}`), 1)
1246
+ a("span", null, h(`${e(le)(P.fromDate, 0, !0)} - ${e(le)(P.toDate, 0, !0)}`), 1)
1248
1247
  ], 8, Xl),
1249
1248
  a("ul", null, [
1250
- _("", !0),
1249
+ isNaN(P.roomCount) ? _("", !0) : (d(), v("li", Zl, [
1250
+ y(W, {
1251
+ icon: "house",
1252
+ type: "fal",
1253
+ color: "header"
1254
+ }),
1255
+ a("span", null, h(e(o)("booking.availability.units")) + ": " + h(P.roomCount), 1)
1256
+ ])),
1251
1257
  a("li", null, [
1252
1258
  y(W, {
1253
1259
  icon: "money-bill",
1254
1260
  type: "fal",
1255
1261
  color: "header"
1256
1262
  }),
1257
- a("span", null, v(e(o)("booking.availability.pricesFrom")) + ": " + v(e(ne)(P.priceStartFrom, e(_e))), 1)
1263
+ a("span", null, h(e(o)("booking.availability.pricesFrom")) + ": " + h(e(ne)(P.priceStartFrom, e(_e))) + " " + h(e(o)("general.perNight")), 1)
1258
1264
  ])
1259
1265
  ]),
1260
1266
  y(me, {
1261
1267
  label: e(o)("booking.availability.selectDates"),
1262
1268
  "full-width": "",
1263
- onClickEvent: (g) => e(Oe)(new Date(P.fromDate), new Date(P.toDate))
1269
+ onClickEvent: (b) => e(Oe)(new Date(P.fromDate), new Date(P.toDate))
1264
1270
  }, null, 8, ["label", "onClickEvent"])
1265
1271
  ]))), 128))
1266
1272
  ])
1267
1273
  ]))
1268
- ])) : isNaN(e(i)) && !e(u) ? (d(), h("div", Zl, [
1269
- a("span", null, v(e(o)("alert.info.selectHotelToStart")), 1)
1270
- ])) : (d(), h("div", en, [
1274
+ ])) : isNaN(e(i)) && !e(u) ? (d(), v("div", en, [
1275
+ a("span", null, h(e(o)("alert.info.selectHotelToStart")), 1)
1276
+ ])) : (d(), v("div", tn, [
1271
1277
  y(Xe),
1272
1278
  y(Xe),
1273
1279
  y(Xe)
@@ -1293,69 +1299,69 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1293
1299
  }, 1024)
1294
1300
  ]),
1295
1301
  addons: w(({ next: J, prev: P }) => [
1296
- e(ge) ? (d(), A(Ze, {
1302
+ e(be) ? (d(), A(Ze, {
1297
1303
  key: 0,
1298
1304
  "prev-callback": () => ht(P)
1299
1305
  }, {
1300
1306
  form: w(() => [
1301
- a("form", tn, [
1307
+ a("form", on, [
1302
1308
  a("h2", null, [
1303
- a("span", null, v(e(o)("booking.reservation.addons")), 1)
1309
+ a("span", null, h(e(o)("booking.reservation.addons")), 1)
1304
1310
  ]),
1305
1311
  a("div", null, [
1306
- isNaN(e(s)) ? (d(), h("div", on, [
1307
- (d(!0), h(F, null, G(e(se), (S) => (d(), h("ul", {
1312
+ isNaN(e(s)) ? (d(), v("div", ln, [
1313
+ (d(!0), v(F, null, G(e(se), (S) => (d(), v("ul", {
1308
1314
  key: S.roomGroupID
1309
1315
  }, [
1310
- (d(!0), h(F, null, G(S.variants, (g, U) => (d(), h("li", {
1311
- key: g.ratePlanID
1316
+ (d(!0), v(F, null, G(S.variants, (b, U) => (d(), v("li", {
1317
+ key: b.ratePlanID
1312
1318
  }, [
1313
1319
  a("h4", null, [
1314
- a("span", null, v(e(pe)(S.title)), 1)
1320
+ a("span", null, h(e(pe)(S.title)), 1)
1315
1321
  ]),
1316
- (d(!0), h(F, null, G(g.rooms, (H, oe) => (d(), h("table", {
1322
+ (d(!0), v(F, null, G(b.rooms, (H, oe) => (d(), v("table", {
1317
1323
  key: oe,
1318
1324
  class: "konnectio-table with-lines"
1319
1325
  }, [
1320
1326
  a("thead", null, [
1321
1327
  a("tr", null, [
1322
1328
  a("th", null, [
1323
- a("span", null, v(e(pe)(g.name)), 1)
1329
+ a("span", null, h(e(pe)(b.name)), 1)
1324
1330
  ]),
1325
1331
  _("", !0),
1326
- a("th", ln, [
1332
+ a("th", nn, [
1327
1333
  a("b", null, [
1328
1334
  y(W, {
1329
1335
  icon: "male",
1330
1336
  type: "fas",
1331
1337
  color: "font"
1332
1338
  }),
1333
- a("span", null, v(H.adultsCount), 1),
1339
+ a("span", null, h(H.adultsCount), 1),
1334
1340
  H.childrenCount > 0 ? (d(), A(W, {
1335
1341
  key: 0,
1336
1342
  icon: "child",
1337
1343
  type: "fas",
1338
1344
  color: "font"
1339
1345
  })) : _("", !0),
1340
- H.childrenCount > 0 ? (d(), h("span", nn, v(H.childrenCount), 1)) : _("", !0)
1346
+ H.childrenCount > 0 ? (d(), v("span", an, h(H.childrenCount), 1)) : _("", !0)
1341
1347
  ])
1342
1348
  ])
1343
1349
  ])
1344
1350
  ]),
1345
1351
  a("tbody", null, [
1346
- (d(!0), h(F, null, G(e(ft)(g.addons, H.childrenCount), ({
1352
+ (d(!0), v(F, null, G(e(ft)(b.addons, H.childrenCount), ({
1347
1353
  quantityStrategy: X,
1348
1354
  maximumNumber: Ve,
1349
1355
  id: de,
1350
1356
  name: ao,
1351
1357
  price: io
1352
- }) => (d(), h("tr", { key: de }, [
1353
- a("td", an, [
1354
- a("b", null, v(e(pe)(ao)), 1),
1355
- a("span", null, v(e(ne)(io, e(_e))) + " " + v(e(yt)(X)), 1)
1356
- ]),
1358
+ }) => (d(), v("tr", { key: de }, [
1357
1359
  a("td", sn, [
1358
- e(L)[S.roomGroupID][U].config[H.configIdx].addons[H.roomIdx] ? (d(), h(F, { key: 0 }, [
1360
+ a("b", null, h(e(pe)(ao)), 1),
1361
+ a("span", null, h(e(ne)(io, e(_e))) + " " + h(e(yt)(X)), 1)
1362
+ ]),
1363
+ a("td", rn, [
1364
+ e(L)[S.roomGroupID][U].config[H.configIdx].addons[H.roomIdx] ? (d(), v(F, { key: 0 }, [
1359
1365
  X === 1 || X === 12 ? (d(), A(ot, {
1360
1366
  key: 0,
1361
1367
  modelValue: e(L)[S.roomGroupID][U].config[H.configIdx].addons[H.roomIdx][de],
@@ -1376,45 +1382,45 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1376
1382
  ]))), 128))
1377
1383
  ]))), 128))
1378
1384
  ]))), 128))
1379
- ])) : e(be) ? (d(), h("div", rn, [
1385
+ ])) : e(ge) ? (d(), v("div", dn, [
1380
1386
  a("div", null, [
1381
1387
  a("h4", null, [
1382
- a("span", null, v(e(Le).name), 1)
1388
+ a("span", null, h(e(Le).name), 1)
1383
1389
  ]),
1384
- a("table", dn, [
1390
+ a("table", un, [
1385
1391
  a("thead", null, [
1386
1392
  a("tr", null, [
1387
1393
  a("th", null, [
1388
- a("span", null, v(e(pe)(e(be).title)), 1)
1394
+ a("span", null, h(e(pe)(e(ge).title)), 1)
1389
1395
  ]),
1390
1396
  _("", !0),
1391
- un
1397
+ cn
1392
1398
  ])
1393
1399
  ]),
1394
1400
  a("tbody", null, [
1395
- (d(!0), h(F, null, G(e(ft)(e(be).addons, e(Ue)), ({
1401
+ (d(!0), v(F, null, G(e(ft)(e(ge).addons, e(Ue)), ({
1396
1402
  quantityStrategy: S,
1397
- maximumNumber: g,
1403
+ maximumNumber: b,
1398
1404
  id: U,
1399
1405
  name: H,
1400
1406
  price: oe
1401
- }) => (d(), h("tr", { key: U }, [
1402
- a("td", cn, [
1403
- a("b", null, v(e(pe)(H)), 1),
1404
- a("span", null, v(e(ne)(oe, e(_e))) + " " + v(e(yt)(S)), 1)
1405
- ]),
1407
+ }) => (d(), v("tr", { key: U }, [
1406
1408
  a("td", pn, [
1409
+ a("b", null, h(e(pe)(H)), 1),
1410
+ a("span", null, h(e(ne)(oe, e(_e))) + " " + h(e(yt)(S)), 1)
1411
+ ]),
1412
+ a("td", mn, [
1407
1413
  S === 1 || S === 12 ? (d(), A(ot, {
1408
1414
  key: 0,
1409
- modelValue: e(p)[U],
1410
- "onUpdate:modelValue": (X) => e(p)[U] = X,
1415
+ modelValue: e(m)[U],
1416
+ "onUpdate:modelValue": (X) => e(m)[U] = X,
1411
1417
  small: !0,
1412
1418
  "min-value": 0,
1413
- "max-value": g || 1 / 0
1419
+ "max-value": b || 1 / 0
1414
1420
  }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), A(Te, {
1415
1421
  key: 1,
1416
- modelValue: e(p)[U],
1417
- "onUpdate:modelValue": (X) => e(p)[U] = X,
1422
+ modelValue: e(m)[U],
1423
+ "onUpdate:modelValue": (X) => e(m)[U] = X,
1418
1424
  numeric: !0
1419
1425
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1420
1426
  ])
@@ -1437,25 +1443,25 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1437
1443
  }, 1032, ["prev-callback"])) : _("", !0)
1438
1444
  ]),
1439
1445
  reservation: w(({ next: J, prev: P, reset: S }) => [
1440
- e(ge) ? (d(), A(Ze, {
1446
+ e(be) ? (d(), A(Ze, {
1441
1447
  key: 0,
1442
1448
  "prev-callback": () => ht(P),
1443
1449
  "show-terms-notice": !0,
1444
1450
  "show-gift-card": !0
1445
1451
  }, {
1446
1452
  form: w(() => [
1447
- a("form", mn, [
1453
+ a("form", fn, [
1448
1454
  a("h2", null, [
1449
- a("span", null, v(e(o)("booking.reservation.detailsTitle")), 1)
1455
+ a("span", null, h(e(o)("booking.reservation.detailsTitle")), 1)
1450
1456
  ]),
1451
- !e(Lt) && !(e(Ge) && e(We)) ? (d(), h("ul", {
1457
+ !e(Lt) && !(e(Ge) && e(We)) ? (d(), v("ul", {
1452
1458
  key: 0,
1453
- class: Be(["konnectio-reservation-timepicker", { "konnectio-split-inputs": !e(Ge) && !e(We) }])
1459
+ class: Ne(["konnectio-reservation-timepicker", { "konnectio-split-inputs": !e(Ge) && !e(We) }])
1454
1460
  }, [
1455
- e(Ge) ? _("", !0) : (d(), h("li", fn, [
1456
- y(bt, {
1461
+ e(Ge) ? _("", !0) : (d(), v("li", hn, [
1462
+ y(gt, {
1457
1463
  modelValue: e($),
1458
- "onUpdate:modelValue": V[2] || (V[2] = (g) => j($) ? $.value = g : null),
1464
+ "onUpdate:modelValue": V[2] || (V[2] = (b) => j($) ? $.value = b : null),
1459
1465
  label: e(o)("booking.reservation.arrivalTime"),
1460
1466
  icon: "hourglass-start",
1461
1467
  "min-time": e(je),
@@ -1463,10 +1469,10 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1463
1469
  required: ""
1464
1470
  }, null, 8, ["modelValue", "label", "min-time", "max-time"])
1465
1471
  ])),
1466
- e(We) ? _("", !0) : (d(), h("li", hn, [
1467
- y(bt, {
1472
+ e(We) ? _("", !0) : (d(), v("li", vn, [
1473
+ y(gt, {
1468
1474
  modelValue: e(T),
1469
- "onUpdate:modelValue": V[3] || (V[3] = (g) => j(T) ? T.value = g : null),
1475
+ "onUpdate:modelValue": V[3] || (V[3] = (b) => j(T) ? T.value = b : null),
1470
1476
  label: e(o)("booking.reservation.departureTime"),
1471
1477
  icon: "hourglass-end",
1472
1478
  "min-time": e(qe),
@@ -1477,9 +1483,9 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1477
1483
  ], 2)) : _("", !0),
1478
1484
  y(Pl, {
1479
1485
  modelValue: e(C),
1480
- "onUpdate:modelValue": V[4] || (V[4] = (g) => j(C) ? C.value = g : null),
1486
+ "onUpdate:modelValue": V[4] || (V[4] = (b) => j(C) ? C.value = b : null),
1481
1487
  title: e(I),
1482
- "onUpdate:title": V[5] || (V[5] = (g) => j(I) ? I.value = g : null),
1488
+ "onUpdate:title": V[5] || (V[5] = (b) => j(I) ? I.value = b : null),
1483
1489
  "exclude-title": e(Ut),
1484
1490
  label: e(o)("booking.reservation.name"),
1485
1491
  icon: "user-alt",
@@ -1487,8 +1493,8 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1487
1493
  required: ""
1488
1494
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1489
1495
  y(ce, {
1490
- modelValue: e(M),
1491
- "onUpdate:modelValue": V[6] || (V[6] = (g) => j(M) ? M.value = g : null),
1496
+ modelValue: e(B),
1497
+ "onUpdate:modelValue": V[6] || (V[6] = (b) => j(B) ? B.value = b : null),
1492
1498
  type: "email",
1493
1499
  name: "email",
1494
1500
  autocomplete: "email",
@@ -1497,10 +1503,10 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1497
1503
  placeholder: e(o)("booking.reservation.emailPlaceholder"),
1498
1504
  required: ""
1499
1505
  }, null, 8, ["modelValue", "label", "placeholder"]),
1500
- e(xt) ? _("", !0) : (d(), h("div", vn, [
1506
+ e(xt) ? _("", !0) : (d(), v("div", yn, [
1501
1507
  y(Te, {
1502
1508
  modelValue: e(he),
1503
- "onUpdate:modelValue": V[7] || (V[7] = (g) => j(he) ? he.value = g : null),
1509
+ "onUpdate:modelValue": V[7] || (V[7] = (b) => j(he) ? he.value = b : null),
1504
1510
  type: "checkbox",
1505
1511
  name: "newsletter",
1506
1512
  label: e(o)("booking.reservation.newsletterSignUp")
@@ -1509,7 +1515,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1509
1515
  e(jt) ? _("", !0) : (d(), A(ce, {
1510
1516
  key: 2,
1511
1517
  modelValue: e(E),
1512
- "onUpdate:modelValue": V[8] || (V[8] = (g) => j(E) ? E.value = g : null),
1518
+ "onUpdate:modelValue": V[8] || (V[8] = (b) => j(E) ? E.value = b : null),
1513
1519
  type: "text",
1514
1520
  name: "firm",
1515
1521
  autocomplete: "firm",
@@ -1518,8 +1524,8 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1518
1524
  placeholder: e(o)("booking.reservation.companyNamePlaceholder")
1519
1525
  }, null, 8, ["modelValue", "label", "placeholder"])),
1520
1526
  y(Lo, {
1521
- modelValue: e(N),
1522
- "onUpdate:modelValue": V[9] || (V[9] = (g) => j(N) ? N.value = g : null),
1527
+ modelValue: e(M),
1528
+ "onUpdate:modelValue": V[9] || (V[9] = (b) => j(M) ? M.value = b : null),
1523
1529
  icon: "phone-office",
1524
1530
  label: e(o)("booking.reservation.phone"),
1525
1531
  placeholder: e(o)("booking.reservation.phonePlaceholder"),
@@ -1527,15 +1533,15 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1527
1533
  }, null, 8, ["modelValue", "label", "placeholder"]),
1528
1534
  y(Tl, {
1529
1535
  modelValue: e(z),
1530
- "onUpdate:modelValue": V[10] || (V[10] = (g) => j(z) ? z.value = g : null),
1536
+ "onUpdate:modelValue": V[10] || (V[10] = (b) => j(z) ? z.value = b : null),
1531
1537
  label: e(o)("booking.reservation.country"),
1532
1538
  placeholder: e(o)("booking.reservation.countryPlaceholder"),
1533
- options: e(m),
1539
+ options: e(p),
1534
1540
  required: ""
1535
1541
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1536
1542
  y(ce, {
1537
- modelValue: e(B),
1538
- "onUpdate:modelValue": V[11] || (V[11] = (g) => j(B) ? B.value = g : null),
1543
+ modelValue: e(N),
1544
+ "onUpdate:modelValue": V[11] || (V[11] = (b) => j(N) ? N.value = b : null),
1539
1545
  type: "textarea",
1540
1546
  name: "address",
1541
1547
  autocomplete: "street-address",
@@ -1544,11 +1550,11 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1544
1550
  placeholder: e(o)("booking.reservation.streetAddressPlaceholder"),
1545
1551
  required: ""
1546
1552
  }, null, 8, ["modelValue", "label", "placeholder"]),
1547
- a("ul", yn, [
1553
+ a("ul", bn, [
1548
1554
  a("li", null, [
1549
1555
  y(ce, {
1550
1556
  modelValue: e(k),
1551
- "onUpdate:modelValue": V[12] || (V[12] = (g) => j(k) ? k.value = g : null),
1557
+ "onUpdate:modelValue": V[12] || (V[12] = (b) => j(k) ? k.value = b : null),
1552
1558
  type: "text",
1553
1559
  name: "postal",
1554
1560
  autocomplete: "postal-code",
@@ -1561,7 +1567,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1561
1567
  a("li", null, [
1562
1568
  y(ce, {
1563
1569
  modelValue: e(D),
1564
- "onUpdate:modelValue": V[13] || (V[13] = (g) => j(D) ? D.value = g : null),
1570
+ "onUpdate:modelValue": V[13] || (V[13] = (b) => j(D) ? D.value = b : null),
1565
1571
  type: "text",
1566
1572
  name: "city",
1567
1573
  autocomplete: "address-level2",
@@ -1574,7 +1580,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1574
1580
  ]),
1575
1581
  y(ce, {
1576
1582
  modelValue: e(R),
1577
- "onUpdate:modelValue": V[14] || (V[14] = (g) => j(R) ? R.value = g : null),
1583
+ "onUpdate:modelValue": V[14] || (V[14] = (b) => j(R) ? R.value = b : null),
1578
1584
  type: "textarea",
1579
1585
  label: `${e(o)("booking.reservation.remark")} (${e(o)("booking.reservation.optional")})`,
1580
1586
  icon: "info-circle",
@@ -1582,7 +1588,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1582
1588
  }, null, 8, ["modelValue", "label", "placeholder"]),
1583
1589
  y(ce, {
1584
1590
  modelValue: e(Y),
1585
- "onUpdate:modelValue": V[15] || (V[15] = (g) => j(Y) ? Y.value = g : null),
1591
+ "onUpdate:modelValue": V[15] || (V[15] = (b) => j(Y) ? Y.value = b : null),
1586
1592
  type: "textarea",
1587
1593
  label: `${e(o)("booking.reservation.allergies")} (${e(o)("booking.reservation.optional")})`,
1588
1594
  icon: "allergies",
@@ -1591,7 +1597,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1591
1597
  e(Ft) ? _("", !0) : (d(), A(So, {
1592
1598
  key: 3,
1593
1599
  modelValue: e(f),
1594
- "onUpdate:modelValue": V[16] || (V[16] = (g) => j(f) ? f.value = g : null),
1600
+ "onUpdate:modelValue": V[16] || (V[16] = (b) => j(f) ? f.value = b : null),
1595
1601
  label: `${e(o)("booking.reservation.purposeOfStay")} (${e(o)("booking.reservation.optional")})`,
1596
1602
  name: "travelingFor",
1597
1603
  checkboxes: eo.value
@@ -1605,7 +1611,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1605
1611
  disabled: !e(c),
1606
1612
  "is-loading": e(r),
1607
1613
  "full-width": "",
1608
- onClickEvent: (g) => oo(J, S)
1614
+ onClickEvent: (b) => oo(J, S)
1609
1615
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
1610
1616
  ])
1611
1617
  ]),
@@ -1635,7 +1641,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
1635
1641
  _: 1
1636
1642
  }, 8, ["styling"]));
1637
1643
  }
1638
- }), kt = /* @__PURE__ */ fe(gn, [["__scopeId", "data-v-3ffdb3e3"]]);
1644
+ }), kt = /* @__PURE__ */ fe(gn, [["__scopeId", "data-v-72435bab"]]);
1639
1645
  function lt(n, l = {}, t) {
1640
1646
  for (const o in n) {
1641
1647
  const i = n[o], s = t ? `${t}:${o}` : o;
@@ -1643,15 +1649,15 @@ function lt(n, l = {}, t) {
1643
1649
  }
1644
1650
  return l;
1645
1651
  }
1646
- const bn = { run: (n) => n() }, kn = () => bn, Et = typeof console.createTask < "u" ? console.createTask : kn;
1647
- function _n(n, l) {
1652
+ const kn = { run: (n) => n() }, _n = () => kn, Et = typeof console.createTask < "u" ? console.createTask : _n;
1653
+ function Vn(n, l) {
1648
1654
  const t = l.shift(), o = Et(t);
1649
1655
  return n.reduce(
1650
1656
  (i, s) => i.then(() => o.run(() => s(...l))),
1651
1657
  Promise.resolve()
1652
1658
  );
1653
1659
  }
1654
- function Vn(n, l) {
1660
+ function $n(n, l) {
1655
1661
  const t = l.shift(), o = Et(t);
1656
1662
  return Promise.all(n.map((i) => o.run(() => i(...l))));
1657
1663
  }
@@ -1659,7 +1665,7 @@ function et(n, l) {
1659
1665
  for (const t of [...n])
1660
1666
  t(l);
1661
1667
  }
1662
- class $n {
1668
+ class wn {
1663
1669
  constructor() {
1664
1670
  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);
1665
1671
  }
@@ -1672,8 +1678,8 @@ class $n {
1672
1678
  for (; this._deprecatedHooks[l]; )
1673
1679
  s = this._deprecatedHooks[l], l = s.to;
1674
1680
  if (s && !o.allowDeprecated) {
1675
- let p = s.message;
1676
- p || (p = `${i} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(p) || (console.warn(p), this._deprecatedMessages.add(p));
1681
+ let m = s.message;
1682
+ m || (m = `${i} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(m) || (console.warn(m), this._deprecatedMessages.add(m));
1677
1683
  }
1678
1684
  if (!t.name)
1679
1685
  try {
@@ -1728,10 +1734,10 @@ class $n {
1728
1734
  delete this._hooks[l];
1729
1735
  }
1730
1736
  callHook(l, ...t) {
1731
- return t.unshift(l), this.callHookWith(_n, l, ...t);
1737
+ return t.unshift(l), this.callHookWith(Vn, l, ...t);
1732
1738
  }
1733
1739
  callHookParallel(l, ...t) {
1734
- return t.unshift(l), this.callHookWith(Vn, l, ...t);
1740
+ return t.unshift(l), this.callHookWith($n, l, ...t);
1735
1741
  }
1736
1742
  callHookWith(l, t, ...o) {
1737
1743
  const i = this._before || this._after ? { name: t, args: o, context: {} } : void 0;
@@ -1761,20 +1767,20 @@ class $n {
1761
1767
  };
1762
1768
  }
1763
1769
  }
1764
- function wn() {
1765
- return new $n();
1770
+ function Tn() {
1771
+ return new wn();
1766
1772
  }
1767
- function Tn(n) {
1773
+ function Cn(n) {
1768
1774
  return Array.isArray(n) ? n : [n];
1769
1775
  }
1770
- const Cn = ["title", "titleTemplate", "script", "style", "noscript"], He = [
1776
+ const Pn = ["title", "titleTemplate", "script", "style", "noscript"], He = [
1771
1777
  "base",
1772
1778
  "meta",
1773
1779
  "link",
1774
1780
  "style",
1775
1781
  "script",
1776
1782
  "noscript"
1777
- ], Pn = [
1783
+ ], An = [
1778
1784
  "title",
1779
1785
  "titleTemplate",
1780
1786
  "templateParams",
@@ -1786,7 +1792,7 @@ const Cn = ["title", "titleTemplate", "script", "style", "noscript"], He = [
1786
1792
  "style",
1787
1793
  "script",
1788
1794
  "noscript"
1789
- ], An = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Bt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Dn = typeof window < "u";
1795
+ ], Dn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Nt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Sn = typeof window < "u";
1790
1796
  function rt(n) {
1791
1797
  let l = 9;
1792
1798
  for (let t = 0; t < n.length; )
@@ -1796,9 +1802,9 @@ function rt(n) {
1796
1802
  function _t(n) {
1797
1803
  return n._h || rt(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([l, t]) => `${l}:${String(t)}`).join(",")}`);
1798
1804
  }
1799
- function Nt(n, l) {
1805
+ function Mt(n, l) {
1800
1806
  const { props: t, tag: o } = n;
1801
- if (An.includes(o))
1807
+ if (Dn.includes(o))
1802
1808
  return o;
1803
1809
  if (o === "link" && t.rel === "canonical")
1804
1810
  return "canonical";
@@ -1808,53 +1814,53 @@ function Nt(n, l) {
1808
1814
  o === "meta" && i.push("name", "property", "http-equiv");
1809
1815
  for (const s of i)
1810
1816
  if (typeof t[s] < "u") {
1811
- const p = String(t[s]);
1812
- return l && !l(p) ? !1 : `${o}:${s}:${p}`;
1817
+ const m = String(t[s]);
1818
+ return `${o}:${s}:${m}`;
1813
1819
  }
1814
1820
  return !1;
1815
1821
  }
1816
1822
  function Vt(n, l) {
1817
1823
  return n == null ? l || null : typeof n == "function" ? n(l) : n;
1818
1824
  }
1819
- async function Sn(n, l, t) {
1825
+ async function Hn(n, l, t) {
1820
1826
  const o = {
1821
1827
  tag: n,
1822
- props: await Mt(
1828
+ props: await Bt(
1823
1829
  // explicitly check for an object
1824
1830
  // @ts-expect-error untyped
1825
1831
  typeof l == "object" && typeof l != "function" && !(l instanceof Promise) ? { ...l } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: l },
1826
1832
  ["templateParams", "titleTemplate"].includes(n)
1827
1833
  )
1828
1834
  };
1829
- return Bt.forEach((i) => {
1835
+ return Nt.forEach((i) => {
1830
1836
  const s = typeof o.props[i] < "u" ? o.props[i] : t[i];
1831
- typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || Cn.includes(o.tag)) && (o[i === "children" ? "innerHTML" : i] = s), delete o.props[i]);
1837
+ typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || Pn.includes(o.tag)) && (o[i === "children" ? "innerHTML" : i] = s), delete o.props[i]);
1832
1838
  }), o.props.body && (o.tagPosition = "bodyClose", delete o.props.body), o.tag === "script" && typeof o.innerHTML == "object" && (o.innerHTML = JSON.stringify(o.innerHTML), o.props.type = o.props.type || "application/json"), Array.isArray(o.props.content) ? o.props.content.map((i) => ({ ...o, props: { ...o.props, content: i } })) : o;
1833
1839
  }
1834
- function Hn(n, l) {
1840
+ function In(n, l) {
1835
1841
  const t = n === "class" ? " " : ";";
1836
1842
  return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, o]) => o).map(([o, i]) => n === "style" ? `${o}:${i}` : o)), String(Array.isArray(l) ? l.join(t) : l)?.split(t).filter((o) => o.trim()).filter(Boolean).join(t);
1837
1843
  }
1838
- async function Mt(n, l) {
1844
+ async function Bt(n, l) {
1839
1845
  for (const t of Object.keys(n)) {
1840
1846
  if (["class", "style"].includes(t)) {
1841
- n[t] = Hn(t, n[t]);
1847
+ n[t] = In(t, n[t]);
1842
1848
  continue;
1843
1849
  }
1844
- if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !Bt.includes(t)) {
1850
+ if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !Nt.includes(t)) {
1845
1851
  const o = String(n[t]), i = t.startsWith("data-");
1846
1852
  o === "true" || o === "" ? n[t] = i ? "true" : !0 : n[t] || (i && o === "false" ? n[t] = "false" : delete n[t]);
1847
1853
  }
1848
1854
  }
1849
1855
  return n;
1850
1856
  }
1851
- const In = 10;
1852
- async function En(n) {
1857
+ const En = 10;
1858
+ async function Nn(n) {
1853
1859
  const l = [];
1854
- return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" && Pn.includes(t)).forEach(([t, o]) => {
1855
- const i = Tn(o);
1856
- l.push(...i.map((s) => Sn(t, s, n)).flat());
1857
- }), (await Promise.all(l)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << In) + o, t));
1860
+ return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" && An.includes(t)).forEach(([t, o]) => {
1861
+ const i = Cn(o);
1862
+ l.push(...i.map((s) => Hn(t, s, n)).flat());
1863
+ }), (await Promise.all(l)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << En) + o, t));
1858
1864
  }
1859
1865
  const $t = {
1860
1866
  // tags
@@ -1866,30 +1872,30 @@ const $t = {
1866
1872
  high: -10,
1867
1873
  low: 20
1868
1874
  };
1869
- function Ne(n) {
1875
+ function Me(n) {
1870
1876
  let l = 100;
1871
1877
  const t = n.tagPriority;
1872
1878
  return typeof t == "number" ? t : (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 $t && (l = $t[n.tag]), typeof t == "string" && t in wt ? l + wt[t] : l);
1873
1879
  }
1874
- const Bn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Tt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ue = "%separator";
1880
+ const Mn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Tt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ue = "%separator";
1875
1881
  function Ie(n, l, t) {
1876
1882
  if (typeof n != "string" || !n.includes("%"))
1877
1883
  return n;
1878
- function o(p) {
1879
- let m;
1880
- return ["s", "pageTitle"].includes(p) ? m = l.pageTitle : p.includes(".") ? m = p.split(".").reduce((u, r) => u && u[r] || void 0, l) : m = l[p], typeof m < "u" ? (m || "").replace(/"/g, '\\"') : !1;
1884
+ function o(m) {
1885
+ let p;
1886
+ return ["s", "pageTitle"].includes(m) ? p = l.pageTitle : m.includes(".") ? p = m.split(".").reduce((u, r) => u && u[r] || void 0, l) : p = l[m], typeof p < "u" ? (p || "").replace(/"/g, '\\"') : !1;
1881
1887
  }
1882
1888
  let i = n;
1883
1889
  try {
1884
1890
  i = decodeURI(n);
1885
1891
  } catch {
1886
1892
  }
1887
- return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
1888
- const m = o(p.slice(1));
1889
- typeof m == "string" && (n = n.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (u, r) => `${m}${r}`).trim());
1893
+ return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((m) => {
1894
+ const p = o(m.slice(1));
1895
+ typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
1890
1896
  }), n.includes(ue) && (n.endsWith(ue) && (n = n.slice(0, -ue.length).trim()), n.startsWith(ue) && (n = n.slice(ue.length).trim()), n = n.replace(new RegExp(`\\${ue}\\s*\\${ue}`, "g"), ue), n = Ie(n, { separator: t }, t)), n;
1891
1897
  }
1892
- async function Nn(n, l = {}) {
1898
+ async function Bn(n, l = {}) {
1893
1899
  const t = l.document || n.resolvedOptions.document;
1894
1900
  if (!t || !n.dirty)
1895
1901
  return;
@@ -1911,46 +1917,46 @@ async function Nn(n, l = {}) {
1911
1917
  for (const T of [...f].filter((C) => He.includes(C.tagName.toLowerCase()))) {
1912
1918
  const C = {
1913
1919
  tag: T.tagName.toLowerCase(),
1914
- props: await Mt(
1915
- T.getAttributeNames().reduce((N, E) => ({ ...N, [E]: T.getAttribute(E) }), {})
1920
+ props: await Bt(
1921
+ T.getAttributeNames().reduce((M, E) => ({ ...M, [E]: T.getAttribute(E) }), {})
1916
1922
  ),
1917
1923
  innerHTML: T.innerHTML
1918
1924
  };
1919
- let I = 1, M = Nt(C);
1920
- for (; M && $.find((N) => N._d === M); )
1921
- M = `${M}:${I++}`;
1922
- C._d = M || void 0, $.push(C), s.elMap[T.getAttribute("data-hid") || _t(C)] = T;
1925
+ let I = 1, B = Mt(C);
1926
+ for (; B && $.find((M) => M._d === B); )
1927
+ B = `${B}:${I++}`;
1928
+ C._d = B || void 0, $.push(C), s.elMap[T.getAttribute("data-hid") || _t(C)] = T;
1923
1929
  }
1924
1930
  }
1925
1931
  }
1926
1932
  s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
1927
- function p(c, f, $) {
1933
+ function m(c, f, $) {
1928
1934
  const T = `${c}:${f}`;
1929
1935
  s.sideEffects[T] = $, delete s.pendingSideEffects[T];
1930
1936
  }
1931
- function m({ id: c, $el: f, tag: $ }) {
1937
+ function p({ id: c, $el: f, tag: $ }) {
1932
1938
  const T = $.tag.endsWith("Attrs");
1933
1939
  s.elMap[c] = f, T || (["textContent", "innerHTML"].forEach((C) => {
1934
1940
  $[C] && $[C] !== f[C] && (f[C] = $[C]);
1935
- }), p(c, "el", () => {
1941
+ }), m(c, "el", () => {
1936
1942
  s.elMap[c]?.remove(), delete s.elMap[c];
1937
1943
  }));
1938
1944
  for (const [C, I] of Object.entries($._eventHandlers || {}))
1939
1945
  f.getAttribute(`data-${C}`) !== "" && (($.tag === "bodyAttrs" ? t.defaultView : f).addEventListener(C.replace("on", ""), I.bind(f)), f.setAttribute(`data-${C}`, ""));
1940
1946
  Object.entries($.props).forEach(([C, I]) => {
1941
- const M = `attr:${C}`;
1947
+ const B = `attr:${C}`;
1942
1948
  if (C === "class")
1943
- for (const N of (I || "").split(" ").filter(Boolean))
1944
- T && p(c, `${M}:${N}`, () => f.classList.remove(N)), !f.classList.contains(N) && f.classList.add(N);
1949
+ for (const M of (I || "").split(" ").filter(Boolean))
1950
+ T && m(c, `${B}:${M}`, () => f.classList.remove(M)), !f.classList.contains(M) && f.classList.add(M);
1945
1951
  else if (C === "style")
1946
- for (const N of (I || "").split(";").filter(Boolean)) {
1947
- const [E, ...k] = N.split(":").map((D) => D.trim());
1948
- p(c, `${M}:${E}`, () => {
1952
+ for (const M of (I || "").split(";").filter(Boolean)) {
1953
+ const [E, ...k] = M.split(":").map((D) => D.trim());
1954
+ m(c, `${B}:${E}`, () => {
1949
1955
  f.style.removeProperty(E);
1950
1956
  }), f.style.setProperty(E, k.join(":"));
1951
1957
  }
1952
1958
  else
1953
- f.getAttribute(C) !== I && f.setAttribute(C, I === !0 ? "" : String(I)), T && p(c, M, () => f.removeAttribute(C));
1959
+ f.getAttribute(C) !== I && f.setAttribute(C, I === !0 ? "" : String(I)), T && m(c, B, () => f.removeAttribute(C));
1954
1960
  });
1955
1961
  }
1956
1962
  const u = [], r = {
@@ -1965,44 +1971,44 @@ async function Nn(n, l = {}) {
1965
1971
  t.title = f.textContent;
1966
1972
  continue;
1967
1973
  }
1968
- c.$el = c.$el || s.elMap[T], c.$el ? m(c) : He.includes(f.tag) && u.push(c);
1974
+ c.$el = c.$el || s.elMap[T], c.$el ? p(c) : He.includes(f.tag) && u.push(c);
1969
1975
  }
1970
1976
  }
1971
1977
  for (const c of u) {
1972
1978
  const f = c.tag.tagPosition || "head";
1973
- c.$el = t.createElement(c.tag.tag), m(c), r[f] = r[f] || t.createDocumentFragment(), r[f].appendChild(c.$el);
1979
+ c.$el = t.createElement(c.tag.tag), p(c), r[f] = r[f] || t.createDocumentFragment(), r[f].appendChild(c.$el);
1974
1980
  }
1975
1981
  for (const c of i)
1976
- await n.hooks.callHook("dom:renderTag", c, t, p);
1982
+ await n.hooks.callHook("dom:renderTag", c, t, m);
1977
1983
  r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((c) => c()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
1978
1984
  }
1979
- async function Mn(n, l = {}) {
1985
+ async function Rn(n, l = {}) {
1980
1986
  const t = l.delayFn || ((o) => setTimeout(o, 10));
1981
1987
  return n._domUpdatePromise = n._domUpdatePromise || new Promise((o) => t(async () => {
1982
- await Nn(n, l), delete n._domUpdatePromise, o();
1988
+ await Bn(n, l), delete n._domUpdatePromise, o();
1983
1989
  }));
1984
1990
  }
1985
1991
  // @__NO_SIDE_EFFECTS__
1986
- function Rn(n) {
1992
+ function Ln(n) {
1987
1993
  return (l) => {
1988
1994
  const t = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
1989
1995
  return t && l.push(JSON.parse(t)), {
1990
1996
  mode: "client",
1991
1997
  hooks: {
1992
1998
  "entries:updated": function(o) {
1993
- Mn(o, n);
1999
+ Rn(o, n);
1994
2000
  }
1995
2001
  }
1996
2002
  };
1997
2003
  };
1998
2004
  }
1999
- const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
2005
+ const Un = ["templateParams", "htmlAttrs", "bodyAttrs"], Fn = {
2000
2006
  hooks: {
2001
2007
  "tag:normalise": function({ tag: n }) {
2002
2008
  ["hid", "vmid", "key"].forEach((o) => {
2003
2009
  n.props[o] && (n.key = n.props[o], delete n.props[o]);
2004
2010
  });
2005
- const t = Nt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
2011
+ const t = Mt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
2006
2012
  t && (n._d = t);
2007
2013
  },
2008
2014
  "tags:resolve": function(n) {
@@ -2010,8 +2016,8 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
2010
2016
  n.tags.forEach((o) => {
2011
2017
  const i = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, s = l[i];
2012
2018
  if (s) {
2013
- let m = o?.tagDuplicateStrategy;
2014
- if (!m && Ln.includes(o.tag) && (m = "merge"), m === "merge") {
2019
+ let p = o?.tagDuplicateStrategy;
2020
+ if (!p && Un.includes(o.tag) && (p = "merge"), p === "merge") {
2015
2021
  const u = s.props;
2016
2022
  ["class", "style"].forEach((r) => {
2017
2023
  u[r] && (o.props[r] ? (r === "style" && !u[r].endsWith(";") && (u[r] += ";"), o.props[r] = `${u[r]} ${o.props[r]}`) : o.props[r] = u[r]);
@@ -2023,11 +2029,11 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
2023
2029
  } else if (o._e === s._e) {
2024
2030
  s._duped = s._duped || [], o._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(o);
2025
2031
  return;
2026
- } else if (Ne(o) > Ne(s))
2032
+ } else if (Me(o) > Me(s))
2027
2033
  return;
2028
2034
  }
2029
- const p = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
2030
- if (He.includes(o.tag) && p === 0) {
2035
+ const m = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
2036
+ if (He.includes(o.tag) && m === 0) {
2031
2037
  delete l[i];
2032
2038
  return;
2033
2039
  }
@@ -2040,7 +2046,7 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
2040
2046
  }), n.tags = t, n.tags = n.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
2041
2047
  }
2042
2048
  }
2043
- }, Fn = {
2049
+ }, On = {
2044
2050
  mode: "server",
2045
2051
  hooks: {
2046
2052
  "tags:resolve": function(n) {
@@ -2054,10 +2060,10 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
2054
2060
  });
2055
2061
  }
2056
2062
  }
2057
- }, On = ["script", "link", "bodyAttrs"], jn = (n) => ({
2063
+ }, jn = ["script", "link", "bodyAttrs"], qn = (n) => ({
2058
2064
  hooks: {
2059
2065
  "tags:resolve": function(l) {
2060
- for (const t of l.tags.filter((o) => On.includes(o.tag)))
2066
+ for (const t of l.tags.filter((o) => jn.includes(o.tag)))
2061
2067
  Object.entries(t.props).forEach(([o, i]) => {
2062
2068
  o.startsWith("on") && typeof i == "function" && (n.ssr && Tt.includes(o) ? t.props[o] = `this.dataset.${o}fired = true` : delete t.props[o], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[o] = i);
2063
2069
  }), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || rt(t.props.src || t.props.href));
@@ -2069,45 +2075,45 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
2069
2075
  }
2070
2076
  }
2071
2077
  }
2072
- }), qn = ["link", "style", "script", "noscript"], Gn = {
2078
+ }), Gn = ["link", "style", "script", "noscript"], Wn = {
2073
2079
  hooks: {
2074
2080
  "tag:normalise": ({ tag: n }) => {
2075
- n.key && qn.includes(n.tag) && (n.props["data-hid"] = n._h = rt(n.key));
2081
+ n.key && Gn.includes(n.tag) && (n.props["data-hid"] = n._h = rt(n.key));
2076
2082
  }
2077
2083
  }
2078
- }, Wn = {
2084
+ }, xn = {
2079
2085
  hooks: {
2080
2086
  "tags:resolve": (n) => {
2081
2087
  const l = (t) => n.tags.find((o) => o._d === t)?._p;
2082
- for (const { prefix: t, offset: o } of Bn)
2088
+ for (const { prefix: t, offset: o } of Mn)
2083
2089
  for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
2084
2090
  const s = l(
2085
2091
  i.tagPriority.replace(t, "")
2086
2092
  );
2087
2093
  typeof s < "u" && (i._p = s + o);
2088
2094
  }
2089
- n.tags.sort((t, o) => t._p - o._p).sort((t, o) => Ne(t) - Ne(o));
2095
+ n.tags.sort((t, o) => t._p - o._p).sort((t, o) => Me(t) - Me(o));
2090
2096
  }
2091
2097
  }
2092
- }, xn = {
2098
+ }, Kn = {
2093
2099
  meta: "content",
2094
2100
  link: "href",
2095
2101
  htmlAttrs: "lang"
2096
- }, Kn = (n) => ({
2102
+ }, Jn = (n) => ({
2097
2103
  hooks: {
2098
2104
  "tags:resolve": (l) => {
2099
- const { tags: t } = l, o = t.find((m) => m.tag === "title")?.textContent, i = t.findIndex((m) => m.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, p = s.separator || "|";
2100
- delete s.separator, s.pageTitle = Ie(s.pageTitle || o || "", s, p);
2101
- for (const m of t.filter((u) => u.processTemplateParams !== !1)) {
2102
- const u = xn[m.tag];
2103
- u && typeof m.props[u] == "string" ? m.props[u] = Ie(m.props[u], s, p) : (m.processTemplateParams === !0 || ["titleTemplate", "title"].includes(m.tag)) && ["innerHTML", "textContent"].forEach((r) => {
2104
- typeof m[r] == "string" && (m[r] = Ie(m[r], s, p));
2105
+ const { tags: t } = l, o = t.find((p) => p.tag === "title")?.textContent, i = t.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, m = s.separator || "|";
2106
+ delete s.separator, s.pageTitle = Ie(s.pageTitle || o || "", s, m);
2107
+ for (const p of t.filter((u) => u.processTemplateParams !== !1)) {
2108
+ const u = Kn[p.tag];
2109
+ u && typeof p.props[u] == "string" ? p.props[u] = Ie(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
2110
+ typeof p[r] == "string" && (p[r] = Ie(p[r], s, m));
2105
2111
  });
2106
2112
  }
2107
- n._templateParams = s, n._separator = p, l.tags = t.filter((m) => m.tag !== "templateParams");
2113
+ n._templateParams = s, n._separator = m, l.tags = t.filter((p) => p.tag !== "templateParams");
2108
2114
  }
2109
2115
  }
2110
- }), Jn = {
2116
+ }), zn = {
2111
2117
  hooks: {
2112
2118
  "tags:resolve": (n) => {
2113
2119
  const { tags: l } = n;
@@ -2128,7 +2134,7 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
2128
2134
  t !== -1 && delete l[t], n.tags = l.filter(Boolean);
2129
2135
  }
2130
2136
  }
2131
- }, zn = {
2137
+ }, Yn = {
2132
2138
  hooks: {
2133
2139
  "tags:afterResolve": function(n) {
2134
2140
  for (const l of n.tags)
@@ -2137,22 +2143,22 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
2137
2143
  }
2138
2144
  };
2139
2145
  // @__NO_SIDE_EFFECTS__
2140
- function Yn(n = {}) {
2141
- const l = Qn(n);
2142
- return l.use(/* @__PURE__ */ Rn()), l;
2146
+ function Qn(n = {}) {
2147
+ const l = Xn(n);
2148
+ return l.use(/* @__PURE__ */ Ln()), l;
2143
2149
  }
2144
2150
  function Ct(n, l) {
2145
2151
  return !n || n === "server" && l || n === "client" && !l;
2146
2152
  }
2147
- function Qn(n = {}) {
2148
- const l = wn();
2149
- l.addHooks(n.hooks || {}), n.document = n.document || (Dn ? document : void 0);
2153
+ function Xn(n = {}) {
2154
+ const l = Tn();
2155
+ l.addHooks(n.hooks || {}), n.document = n.document || (Sn ? document : void 0);
2150
2156
  const t = !n.document, o = () => {
2151
- m.dirty = !0, l.callHook("entries:updated", m);
2157
+ p.dirty = !0, l.callHook("entries:updated", p);
2152
2158
  };
2153
2159
  let i = 0, s = [];
2154
- const p = [], m = {
2155
- plugins: p,
2160
+ const m = [], p = {
2161
+ plugins: m,
2156
2162
  dirty: !1,
2157
2163
  resolvedOptions: n,
2158
2164
  hooks: l,
@@ -2160,8 +2166,8 @@ function Qn(n = {}) {
2160
2166
  return s;
2161
2167
  },
2162
2168
  use(u) {
2163
- const r = typeof u == "function" ? u(m) : u;
2164
- (!r.key || !p.some((c) => c.key === r.key)) && (p.push(r), Ct(r.mode, t) && l.addHooks(r.hooks || {}));
2169
+ const r = typeof u == "function" ? u(p) : u;
2170
+ (!r.key || !m.some((c) => c.key === r.key)) && (m.push(r), Ct(r.mode, t) && l.addHooks(r.hooks || {}));
2165
2171
  },
2166
2172
  push(u, r) {
2167
2173
  delete r?.head;
@@ -2172,7 +2178,7 @@ function Qn(n = {}) {
2172
2178
  };
2173
2179
  return Ct(c.mode, t) && (s.push(c), o()), {
2174
2180
  dispose() {
2175
- s = s.filter((f) => f._i !== c._i), l.callHook("entries:updated", m), o();
2181
+ s = s.filter((f) => f._i !== c._i), l.callHook("entries:updated", p), o();
2176
2182
  },
2177
2183
  // a patch is the same as creating a new entry, just a nice DX
2178
2184
  patch(f) {
@@ -2186,8 +2192,8 @@ function Qn(n = {}) {
2186
2192
  for (const r of u.entries) {
2187
2193
  const c = r.resolvedInput || r.input;
2188
2194
  if (r.resolvedInput = await (r.transform ? r.transform(c) : c), r.resolvedInput)
2189
- for (const f of await En(r)) {
2190
- const $ = { tag: f, entry: r, resolvedOptions: m.resolvedOptions };
2195
+ for (const f of await Nn(r)) {
2196
+ const $ = { tag: f, entry: r, resolvedOptions: p.resolvedOptions };
2191
2197
  await l.callHook("tag:normalise", $), u.tags.push($.tag);
2192
2198
  }
2193
2199
  }
@@ -2196,51 +2202,51 @@ function Qn(n = {}) {
2196
2202
  ssr: t
2197
2203
  };
2198
2204
  return [
2199
- Un,
2200
2205
  Fn,
2201
- jn,
2202
- Gn,
2206
+ On,
2207
+ qn,
2203
2208
  Wn,
2204
- Kn,
2209
+ xn,
2205
2210
  Jn,
2206
2211
  zn,
2212
+ Yn,
2207
2213
  ...n?.plugins || []
2208
- ].forEach((u) => m.use(u)), m.hooks.callHook("init", m), m;
2214
+ ].forEach((u) => p.use(u)), p.hooks.callHook("init", p), p;
2209
2215
  }
2210
- const Xn = mo.startsWith("3");
2211
- function Zn(n) {
2216
+ const Zn = mo.startsWith("3");
2217
+ function ea(n) {
2212
2218
  return typeof n == "function" ? n() : e(n);
2213
2219
  }
2214
2220
  function nt(n, l = "") {
2215
2221
  if (n instanceof Promise)
2216
2222
  return n;
2217
- const t = Zn(n);
2223
+ const t = ea(n);
2218
2224
  return !n || !t ? t : Array.isArray(t) ? t.map((o) => nt(o, l)) : typeof t == "object" ? Object.fromEntries(
2219
2225
  Object.entries(t).map(([o, i]) => o === "titleTemplate" || o.startsWith("on") ? [o, e(i)] : [o, nt(i, o)])
2220
2226
  ) : t;
2221
2227
  }
2222
- const ea = {
2228
+ const ta = {
2223
2229
  hooks: {
2224
2230
  "entries:resolve": function(n) {
2225
2231
  for (const l of n.entries)
2226
2232
  l.resolvedInput = nt(l.input);
2227
2233
  }
2228
2234
  }
2229
- }, ta = "usehead";
2230
- function oa(n) {
2235
+ }, oa = "usehead";
2236
+ function la(n) {
2231
2237
  return {
2232
2238
  install(t) {
2233
- Xn && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(ta, n));
2239
+ Zn && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(oa, n));
2234
2240
  }
2235
2241
  }.install;
2236
2242
  }
2237
- function la(n = {}) {
2243
+ function na(n = {}) {
2238
2244
  n.domDelayFn = n.domDelayFn || ((t) => po(() => setTimeout(() => t(), 0)));
2239
- const l = /* @__PURE__ */ Yn(n);
2240
- return l.use(ea), l.install = oa(l), l;
2245
+ const l = /* @__PURE__ */ Qn(n);
2246
+ return l.use(ta), l.install = la(l), l;
2241
2247
  }
2242
- const na = vo(), aa = la(), ia = bo();
2243
- class sa extends HTMLElement {
2248
+ const aa = vo(), ia = na(), sa = go();
2249
+ class ra extends HTMLElement {
2244
2250
  vueApp;
2245
2251
  constructor() {
2246
2252
  super();
@@ -2250,13 +2256,13 @@ class sa extends HTMLElement {
2250
2256
  }
2251
2257
  connectedCallback() {
2252
2258
  const l = yo(kt, this.attributes);
2253
- this.vueApp = fo(kt, l), this.vueApp.provide("emitter", ia), this.vueApp.use(aa), this.vueApp.use(na), this.vueApp.use(Io), this.vueApp.use(go), this.vueApp.use(Eo), this.vueApp.use(To), this.vueApp.use(wo, { bootstrap: !0 });
2259
+ this.vueApp = fo(kt, l), this.vueApp.provide("emitter", sa), this.vueApp.use(ia), this.vueApp.use(aa), this.vueApp.use(Io), this.vueApp.use(bo), this.vueApp.use(Eo), this.vueApp.use(To), this.vueApp.use(wo, { bootstrap: !0 });
2254
2260
  const t = document.createElement("div");
2255
2261
  this.vueApp.mount(t), this.appendChild(t.children[0]);
2256
2262
  }
2257
2263
  }
2258
- window.customElements.define("konnectio-hotel", sa);
2264
+ window.customElements.define("konnectio-hotel", ra);
2259
2265
  export {
2260
- sa as default
2266
+ ra as default
2261
2267
  };
2262
2268
  //# sourceMappingURL=hotel.js.map