@konnectio/core 4.0.56-rc59 → 4.0.56-rc60

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 (62) hide show
  1. package/dist/{ActionField-gT1l4mze.js → ActionField-M9Xn2IjF.js} +3 -3
  2. package/dist/ActionField-M9Xn2IjF.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-T7dAKFqD.js → AvailabilitySkeleton-CmB18GBl.js} +6 -6
  4. package/dist/AvailabilitySkeleton-CmB18GBl.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DDiMW0jY.js +8213 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DDiMW0jY.js.br +0 -0
  7. package/dist/{CheckoutWindow-DBi8Cvj_.js → CheckoutWindow-Bhwi8Nxq.js} +4 -4
  8. package/dist/CheckoutWindow-Bhwi8Nxq.js.br +0 -0
  9. package/dist/{ErrorMessage-68bcDx4F.js → ErrorMessage-Cf84tBwS.js} +3 -3
  10. package/dist/ErrorMessage-Cf84tBwS.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-BrJPYwe_.js → EventAvailabilityForm-ayhrj2Dh.js} +5 -5
  12. package/dist/EventAvailabilityForm-ayhrj2Dh.js.br +0 -0
  13. package/dist/{Field-BLh3Ddqe.js → Field-w5TiS3qQ.js} +3 -3
  14. package/dist/Field-w5TiS3qQ.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DVn9T6WM.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DPb4pYbS.js} +917 -919
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DPb4pYbS.js.br +0 -0
  17. package/dist/{TermsOfService-D3weU52d.js → TermsOfService-DG9RmJhS.js} +5 -5
  18. package/dist/TermsOfService-DG9RmJhS.js.br +0 -0
  19. package/dist/{_-B28bpYJb.js → _-C3cdq-vi.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-DHD1o1up.js → _.vue_vue_type_style_index_0_lang-DUgEPbV0.js} +4 -4
  21. package/dist/_.vue_vue_type_style_index_0_lang-DUgEPbV0.js.br +0 -0
  22. package/dist/{_commonjsHelpers-CttMrBzA.js → _commonjsHelpers-Bwmg5gQN.js} +2 -2
  23. package/dist/{_sentry-release-injection-file-PX7ET5Cf.js → _sentry-release-injection-file-Bs1oW58-.js} +3 -3
  24. package/dist/_sentry-release-injection-file-Bs1oW58-.js.br +0 -0
  25. package/dist/availability.js +7 -7
  26. package/dist/availability.js.br +0 -0
  27. package/dist/deep-link.js +2 -2
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +377 -345
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +8 -8
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +12 -12
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-Bz4cAyJJ.js → giftCard-BvD5QzCq.js} +11 -11
  36. package/dist/giftCard-BvD5QzCq.js.br +0 -0
  37. package/dist/hotel.js +383 -359
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-DYDdAGuk.js → masonry.plugin-C_Lw26Pq.js} +1679 -1704
  40. package/dist/masonry.plugin-C_Lw26Pq.js.br +0 -0
  41. package/dist/{mitt-Bn5D-V30.js → mitt-Djl3HvxD.js} +2 -2
  42. package/dist/mitt-Djl3HvxD.js.br +0 -0
  43. package/dist/polyfill.js +700 -700
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/package.json +5 -5
  48. package/dist/ActionField-gT1l4mze.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-T7dAKFqD.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DyN_vcW3.js +0 -8173
  51. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DyN_vcW3.js.br +0 -0
  52. package/dist/CheckoutWindow-DBi8Cvj_.js.br +0 -0
  53. package/dist/ErrorMessage-68bcDx4F.js.br +0 -0
  54. package/dist/EventAvailabilityForm-BrJPYwe_.js.br +0 -0
  55. package/dist/Field-BLh3Ddqe.js.br +0 -0
  56. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DVn9T6WM.js.br +0 -0
  57. package/dist/TermsOfService-D3weU52d.js.br +0 -0
  58. package/dist/_.vue_vue_type_style_index_0_lang-DHD1o1up.js.br +0 -0
  59. package/dist/_sentry-release-injection-file-PX7ET5Cf.js.br +0 -0
  60. package/dist/giftCard-Bz4cAyJJ.js.br +0 -0
  61. package/dist/masonry.plugin-DYDdAGuk.js.br +0 -0
  62. package/dist/mitt-Bn5D-V30.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,20 +1,20 @@
1
- import { d as Q, r as oe, a as c, b as A, w as $, l as qe, u as o, g as f, e as a, t as v, A as We, B as Ke, f as g, i as _, s as F, F as E, x as Ye, v as N, h as Ce, c as G, p as bt, j as _t, o as tt, z as Pe, n as Ae, S as Xt, C as eo, D as to, E as oo, k as lo } from "./_sentry-release-injection-file-PX7ET5Cf.js";
2
- import { u as ne, s as Z, T as no, c as ao, i as io, m as so } from "./mitt-Bn5D-V30.js";
3
- import { e as _e, x as pe, u as be, I as K, f as ue, y as Ze, l as dt, z as re, h as te, _ as ce, n as Se, A as Vt, b as Qe, c as de, d as Tt, B as $t, D as ut, T as se, p as ro, F as uo, a as co, C as po, i as ct, j as mo, k as pt, m as fo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DVn9T6WM.js";
4
- import { R as ho, B as Ie, L as vo, S as yo, M as go, a as xe, C as ko, T as bo, V as _o, G as Vo } from "./masonry.plugin-DYDdAGuk.js";
5
- import { A as To, H as $o } from "./AvailabilitySkeleton-T7dAKFqD.js";
6
- import { S as wo } from "./TermsOfService-D3weU52d.js";
7
- import { C as De, B as Co, P as Po, a as Ao } from "./CheckoutWindow-DBi8Cvj_.js";
8
- import { _ as wt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DyN_vcW3.js";
1
+ import { d as Q, r as oe, a as c, b as A, w as $, l as qe, u as o, g as f, e as a, t as v, A as We, B as Ke, f as g, i as _, s as F, F as E, x as Ye, v as N, h as we, c as G, p as kt, j as _t, o as tt, z as Pe, n as Ae, S as eo, C as to, D as oo, E as lo, k as no } from "./_sentry-release-injection-file-Bs1oW58-.js";
2
+ import { u as ne, s as Z, T as ao, c as io, i as so, m as ro } from "./mitt-Djl3HvxD.js";
3
+ import { e as _e, x as me, u as ke, I as K, f as ue, y as Ze, l as dt, z as re, h as te, _ as ce, n as Ie, A as Vt, b as Qe, c as de, d as Tt, B as $t, D as ut, T as se, p as uo, F as co, a as po, C as mo, i as ct, j as fo, k as pt, m as ho } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DPb4pYbS.js";
4
+ import { R as vo, B as Se, L as yo, S as go, M as bo, a as xe, C as ko, T as _o, V as Vo, G as To } from "./masonry.plugin-C_Lw26Pq.js";
5
+ import { A as $o, H as Co } from "./AvailabilitySkeleton-CmB18GBl.js";
6
+ import { S as wo } from "./TermsOfService-DG9RmJhS.js";
7
+ import { C as De, B as Po, P as Ao, a as Do } from "./CheckoutWindow-Bhwi8Nxq.js";
8
+ import { _ as Ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DDiMW0jY.js";
9
9
  (function() {
10
10
  try {
11
11
  var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
12
- l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "e39b4190-ca0d-4503-98e9-82c0bff3f827", n._sentryDebugIdIdentifier = "sentry-dbid-e39b4190-ca0d-4503-98e9-82c0bff3f827");
12
+ l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "47437dfc-4749-4b83-a51b-80cae13ab832", n._sentryDebugIdIdentifier = "sentry-dbid-47437dfc-4749-4b83-a51b-80cae13ab832");
13
13
  } catch {
14
14
  }
15
15
  })();
16
- const Do = { key: 0 }, Ho = { class: "konnectio-hotel-reservation-warning" }, So = { class: "konnectio-hotel-reservation-warning" }, Io = { class: "konnectio-hotel-reservation-warning" };
17
- const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnectio-reservation-actions" }, Uo = /* @__PURE__ */ Q({
16
+ const Ho = { key: 0 }, Io = { class: "konnectio-hotel-reservation-warning" }, So = { class: "konnectio-hotel-reservation-warning" }, Bo = { class: "konnectio-hotel-reservation-warning" };
17
+ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnectio-reservation-actions" }, Ro = /* @__PURE__ */ Q({
18
18
  __name: "HotelReservationForm",
19
19
  props: {
20
20
  showGiftCard: { type: Boolean, default: !1 },
@@ -35,11 +35,11 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
35
35
  roomDisplay: h,
36
36
  templateID: V,
37
37
  totalPrice: P,
38
- areListingsLoading: w,
39
- getSelectedPackageRoom: I,
38
+ areListingsLoading: C,
39
+ getSelectedPackageRoom: S,
40
40
  selectedPackage: B,
41
- discountVouchers: k,
42
- currentArrivalDate: C,
41
+ discountVouchers: b,
42
+ currentArrivalDate: w,
43
43
  currentDepartureDate: H,
44
44
  datesMismatch: O,
45
45
  currentLocation: j,
@@ -49,30 +49,30 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
49
49
  discountCode: X,
50
50
  hasTermOfService: Be,
51
51
  acceptTerms: M,
52
- totalTemplateAddonPrice: me
53
- } = Z(pe()), { hasHotelLocations: ve } = Z(be()), { removeRoom: Ve, validateDiscountCode: Ee } = pe(), { getHotelLocationName: Me } = be(), fe = oe(!1);
52
+ totalTemplateAddonPrice: pe
53
+ } = Z(me()), { hasHotelLocations: ve } = Z(ke()), { removeRoom: Ve, validateDiscountCode: Ee } = me(), { getHotelLocationName: Me } = ke(), fe = oe(!1);
54
54
  function ye(le) {
55
55
  return le.reduce((L, { totalPrice: ge }) => L + ge, 0);
56
56
  }
57
- return (le, x) => (c(), A(ho, {
57
+ return (le, x) => (c(), A(vo, {
58
58
  "discount-code": o(X),
59
59
  "onUpdate:discountCode": x[4] || (x[4] = (L) => N(X) ? X.value = L : null),
60
60
  "validate-discount-code": o(Ee),
61
61
  "total-price": o(P),
62
62
  "show-gift-card": le.showGiftCard,
63
63
  "show-terms-notice": le.showTermsNotice,
64
- "is-sidebar-loading": o(w),
64
+ "is-sidebar-loading": o(C),
65
65
  notice: o(l)("hotel.reservationNotice")
66
66
  }, {
67
67
  form: $(() => [
68
68
  qe(le.$slots, "form", {}, void 0, !0)
69
69
  ]),
70
70
  "reservation-summary": $(() => [
71
- o(ve) ? (c(), f("li", Do, [
71
+ o(ve) ? (c(), f("li", Ho, [
72
72
  a("span", null, v(o(l)("general.location")), 1),
73
73
  a("b", null, [
74
74
  a("span", null, v(o(Me)(o(j))), 1),
75
- We(a("span", Ho, [
75
+ We(a("span", Io, [
76
76
  g(K, {
77
77
  icon: "exclamation-triangle",
78
78
  type: "fas"
@@ -85,7 +85,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
85
85
  a("li", null, [
86
86
  a("span", null, v(o(l)("booking.reservation.arrival")), 1),
87
87
  a("b", null, [
88
- a("span", null, v(o(t) ? o(ue)(o(C)) : `${o(ue)(o(C))}, ${o(e) ? o(s) : o(r)}`), 1),
88
+ a("span", null, v(o(t) ? o(ue)(o(w)) : `${o(ue)(o(w))}, ${o(e) ? o(s) : o(r)}`), 1),
89
89
  We(a("span", So, [
90
90
  g(K, {
91
91
  icon: "exclamation-triangle",
@@ -100,7 +100,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
100
100
  a("span", null, v(o(l)("booking.reservation.departure")), 1),
101
101
  a("b", null, [
102
102
  a("span", null, v(o(t) ? o(ue)(o(H)) : `${o(ue)(o(H))}, ${o(i) ? o(m) : o(d)}`), 1),
103
- We(a("span", Io, [
103
+ We(a("span", Bo, [
104
104
  g(K, {
105
105
  icon: "exclamation-triangle",
106
106
  type: "fas"
@@ -112,9 +112,9 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
112
112
  ]),
113
113
  a("li", null, [
114
114
  a("span", null, v(o(l)("booking.reservation.nights")), 1),
115
- a("b", null, v(o(Ze)(o(C), o(H))) + " " + v(o(dt)(o(Ze)(o(C), o(H)) === 1 ? o(l)("booking.reservation.night") : o(l)("booking.reservation.nights"))), 1)
115
+ a("b", null, v(o(Ze)(o(w), o(H))) + " " + v(o(dt)(o(Ze)(o(w), o(H)) === 1 ? o(l)("booking.reservation.night") : o(l)("booking.reservation.nights"))), 1)
116
116
  ]),
117
- o(k) ? (c(!0), f(E, { key: 1 }, F(o(k), (L) => (c(), f("li", {
117
+ o(b) ? (c(!0), f(E, { key: 1 }, F(o(b), (L) => (c(), f("li", {
118
118
  key: L.id
119
119
  }, [
120
120
  a("span", null, v(`${o(l)("general.discountCode")} (${L.value})`), 1),
@@ -158,14 +158,14 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
158
158
  _("", !0)
159
159
  ])
160
160
  ]),
161
- ye(ae.roomAddons) > 0 ? (c(), f("li", Bo, [
161
+ ye(ae.roomAddons) > 0 ? (c(), f("li", Eo, [
162
162
  a("span", null, v(o(l)("general.addons")), 1),
163
163
  a("b", null, v(o(te)(ye(ae.roomAddons), o(u))), 1)
164
164
  ])) : _("", !0)
165
165
  ]))), 128))
166
166
  ]))), 128))
167
167
  ]))), 128)) : _("", !0),
168
- o(I) && o(B) ? (c(), f("div", Eo, [
168
+ o(S) && o(B) ? (c(), f("div", Mo, [
169
169
  a("h6", null, [
170
170
  a("span", null, v(o(re)(o(B).name)), 1)
171
171
  ]),
@@ -173,22 +173,22 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
173
173
  a("ul", null, [
174
174
  a("li", null, [
175
175
  a("span", null, [
176
- a("span", null, v(o(re)(o(I).title)), 1)
176
+ a("span", null, v(o(re)(o(S).title)), 1)
177
177
  ]),
178
178
  a("b", null, [
179
- a("span", null, v(o(te)(o(I).extraPrice, o(u))), 1)
179
+ a("span", null, v(o(te)(o(S).extraPrice, o(u))), 1)
180
180
  ])
181
181
  ]),
182
- o(me) ? (c(), f("li", Mo, [
182
+ o(pe) ? (c(), f("li", Lo, [
183
183
  a("span", null, v(o(l)("general.addons")), 1),
184
- a("b", null, v(o(te)(o(me), o(u))), 1)
184
+ a("b", null, v(o(te)(o(pe), o(u))), 1)
185
185
  ])) : _("", !0)
186
186
  ])
187
187
  ])
188
188
  ])) : _("", !0)
189
189
  ]),
190
190
  actions: $(() => [
191
- a("ul", Lo, [
191
+ a("ul", Uo, [
192
192
  o(p) ? _("", !0) : (c(), A(De, {
193
193
  key: 0,
194
194
  modelValue: o(R),
@@ -205,7 +205,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
205
205
  name: "terms"
206
206
  }, {
207
207
  default: $(() => [
208
- g(o(no), {
208
+ g(o(ao), {
209
209
  keypath: "general.termsAndConditionsCheckbox",
210
210
  tag: "span",
211
211
  scope: "global"
@@ -213,7 +213,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
213
213
  terms: $(() => [
214
214
  a("a", {
215
215
  class: "konnectio-accept-terms-link",
216
- onClick: x[1] || (x[1] = Ce((L) => fe.value = !0, ["prevent"]))
216
+ onClick: x[1] || (x[1] = we((L) => fe.value = !0, ["prevent"]))
217
217
  }, [
218
218
  a("span", null, v(o(dt)(o(l)("general.termsAndConditions"))), 1)
219
219
  ])
@@ -237,7 +237,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
237
237
  _: 3
238
238
  }, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
239
239
  }
240
- }), ze = /* @__PURE__ */ ce(Uo, [["__scopeId", "data-v-61664f48"]]), Ro = (n) => (bt("data-v-69fe83d8"), n = n(), _t(), n), No = { class: "konnectio-room-config-option" }, Fo = { key: 0 }, Oo = { class: "konnectio-selected-room-config" }, jo = { class: "konnectio-selected-room-config-people" }, Go = { key: 0 }, qo = { class: "konnectio-selected-room-config-price" }, Wo = /* @__PURE__ */ Ro(() => /* @__PURE__ */ a("span", null, null, -1)), Ko = /* @__PURE__ */ Q({
240
+ }), ze = /* @__PURE__ */ ce(Ro, [["__scopeId", "data-v-61664f48"]]), No = (n) => (kt("data-v-69fe83d8"), n = n(), _t(), n), Fo = { class: "konnectio-room-config-option" }, Oo = { key: 0 }, jo = { class: "konnectio-selected-room-config" }, Go = { class: "konnectio-selected-room-config-people" }, qo = { key: 0 }, Wo = { class: "konnectio-selected-room-config-price" }, Ko = /* @__PURE__ */ No(() => /* @__PURE__ */ a("span", null, null, -1)), xo = /* @__PURE__ */ Q({
241
241
  __name: "RoomConfigField",
242
242
  props: {
243
243
  modelValue: {},
@@ -256,7 +256,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
256
256
  get: () => s.modelValue,
257
257
  set: (u) => m(u)
258
258
  });
259
- return (u, r) => (c(), A(Se, {
259
+ return (u, r) => (c(), A(Ie, {
260
260
  modelValue: p.value,
261
261
  "onUpdate:modelValue": r[0] || (r[0] = (d) => p.value = d),
262
262
  label: u.label,
@@ -270,7 +270,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
270
270
  searchable: !1
271
271
  }, {
272
272
  option: $(({ data: d }) => [
273
- a("span", No, [
273
+ a("span", Fo, [
274
274
  a("div", null, [
275
275
  g(K, {
276
276
  icon: "male",
@@ -278,7 +278,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
278
278
  color: "font"
279
279
  }),
280
280
  a("span", null, v(`${d.adults}`), 1),
281
- d.children > 0 ? (c(), f("span", Fo, [
281
+ d.children > 0 ? (c(), f("span", Oo, [
282
282
  g(K, {
283
283
  icon: "child",
284
284
  type: "fas",
@@ -291,19 +291,19 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
291
291
  ])
292
292
  ]),
293
293
  "selected-option": $(({ data: d }) => [
294
- a("div", Oo, [
295
- a("div", jo, [
294
+ a("div", jo, [
295
+ a("div", Go, [
296
296
  a("div", null, [
297
297
  _("", !0),
298
298
  a("span", null, v(`${d.adults} ${d.adults === 1 ? o(t)("general.adult") : o(t)("general.adults")}`), 1)
299
299
  ]),
300
- d.children > 0 ? (c(), f("div", Go, [
300
+ d.children > 0 ? (c(), f("div", qo, [
301
301
  _("", !0),
302
302
  a("span", null, v(`& ${d.children} ${d.children === 1 ? o(t)("general.child") : o(t)("general.children")}`), 1)
303
303
  ])) : _("", !0)
304
304
  ]),
305
- a("div", qo, [
306
- Wo,
305
+ a("div", Wo, [
306
+ Ko,
307
307
  Ye(" " + v(`(${o(te)(d.price, o(e))})`), 1)
308
308
  ])
309
309
  ])
@@ -311,8 +311,8 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
311
311
  _: 1
312
312
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
313
313
  }
314
- }), xo = /* @__PURE__ */ ce(Ko, [["__scopeId", "data-v-69fe83d8"]]), zo = { class: "konnectio-availability-listing-selection" }, Jo = { key: 1 }, Yo = { class: "konnectio-listing-config-body" }, Zo = { class: "konnectio-listing-units-body" };
315
- const Qo = /* @__PURE__ */ Q({
314
+ }), zo = /* @__PURE__ */ ce(xo, [["__scopeId", "data-v-69fe83d8"]]), Jo = { class: "konnectio-availability-listing-selection" }, Yo = { key: 1 }, Zo = { class: "konnectio-listing-config-body" }, Qo = { class: "konnectio-listing-units-body" };
315
+ const Xo = /* @__PURE__ */ Q({
316
316
  __name: "Hotel",
317
317
  props: {
318
318
  room: {},
@@ -320,25 +320,25 @@ const Qo = /* @__PURE__ */ Q({
320
320
  },
321
321
  setup(n) {
322
322
  const { t: l } = ne(), t = n, e = oe([]);
323
- function i(k) {
324
- e.value[k].config.push({
323
+ function i(b) {
324
+ e.value[b].config.push({
325
325
  id: NaN,
326
326
  units: 0,
327
327
  addons: []
328
328
  });
329
329
  }
330
- const s = G(() => t.room.rates.map((k) => ({
331
- label: k.name,
332
- value: k.id
333
- }))), { hideAvailableRoomAmount: m } = Z(_e()), { roomSelect: p } = Z(pe()), { addToCart: u, removeFromCart: r } = Vt(), d = (k, C) => t.room.rates.find((H) => H.id === k)?.occupantRates.find((H) => H.index === C), h = G(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), V = (k, C) => d(k, C) ? d(k, C)?.rooms : null, P = (k) => t.room.rates.length > 0 ? t.room.rates.find((C) => C.id === k)?.occupantRates.map((C) => ({
334
- value: C.index,
335
- price: C.totalPrice,
336
- adults: C.adultsCount,
337
- children: C.childrenCount,
338
- hasBreakfast: C.hasBreakfast
339
- })) || [] : [], w = G(() => t.room.rates.length > 1);
340
- function I() {
341
- w.value ? e.value.push({
330
+ const s = G(() => t.room.rates.map((b) => ({
331
+ label: b.name,
332
+ value: b.id
333
+ }))), { hideAvailableRoomAmount: m } = Z(_e()), { roomSelect: p } = Z(me()), { addToCart: u, removeFromCart: r } = Vt(), d = (b, w) => t.room.rates.find((H) => H.id === b)?.occupantRates.find((H) => H.index === w), h = G(() => t.room.rates.every((b) => b.isBreakfastIncluded === !0)), V = (b, w) => d(b, w) ? d(b, w)?.rooms : null, P = (b) => t.room.rates.length > 0 ? t.room.rates.find((w) => w.id === b)?.occupantRates.map((w) => ({
334
+ value: w.index,
335
+ price: w.totalPrice,
336
+ adults: w.adultsCount,
337
+ children: w.childrenCount,
338
+ hasBreakfast: w.hasBreakfast
339
+ })) || [] : [], C = G(() => t.room.rates.length > 1);
340
+ function S() {
341
+ C.value ? e.value.push({
342
342
  id: void 0,
343
343
  config: [{
344
344
  id: t.room.rates[0].occupantRateIndex || NaN,
@@ -355,13 +355,13 @@ const Qo = /* @__PURE__ */ Q({
355
355
  });
356
356
  }
357
357
  tt(() => {
358
- I();
358
+ S();
359
359
  });
360
360
  const B = G(() => JSON.parse(JSON.stringify(e.value)));
361
- return Pe(B, (k, C) => {
362
- C.length > 0 && k.forEach((H, O) => {
361
+ return Pe(B, (b, w) => {
362
+ w.length > 0 && b.forEach((H, O) => {
363
363
  H.config.forEach((j, Y) => {
364
- const R = j.units, z = C[O].config[Y].units;
364
+ const R = j.units, z = w[O].config[Y].units;
365
365
  R !== z && (R > z ? (e.value[O].config[Y].addons.push({}), u({
366
366
  id: t.room.id,
367
367
  name: t.room.title,
@@ -375,24 +375,24 @@ const Qo = /* @__PURE__ */ Q({
375
375
  });
376
376
  }, { deep: !0 }), Pe(e, () => {
377
377
  p.value[t.room.id] = e.value;
378
- }, { deep: !0 }), (k, C) => (c(), A(Ie, {
378
+ }, { deep: !0 }), (b, w) => (c(), A(Se, {
379
379
  type: "hotel",
380
- "listing-id": k.room.id,
381
- gallery: k.room.images,
382
- name: k.room.title,
383
- description: k.room.description,
384
- layout: k.layout,
385
- facilities: k.room.facilities,
386
- "prices-from": k.room.pricesFrom,
380
+ "listing-id": b.room.id,
381
+ gallery: b.room.images,
382
+ name: b.room.title,
383
+ description: b.room.description,
384
+ layout: b.layout,
385
+ facilities: b.room.facilities,
386
+ "prices-from": b.room.pricesFrom,
387
387
  "includes-breakfast": h.value
388
388
  }, {
389
389
  action: $(() => [
390
- a("div", zo, [
390
+ a("div", Jo, [
391
391
  (c(!0), f(E, null, F(e.value, (H, O) => (c(), f("div", {
392
392
  key: H.id,
393
393
  class: "konnectio-hotel-room"
394
394
  }, [
395
- w.value ? (c(), A(Se, {
395
+ C.value ? (c(), A(Ie, {
396
396
  key: 0,
397
397
  modelValue: H.id,
398
398
  "onUpdate:modelValue": (j) => H.id = j,
@@ -401,8 +401,8 @@ const Qo = /* @__PURE__ */ Q({
401
401
  options: s.value,
402
402
  searchable: !1
403
403
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
404
- H.id ? (c(), f("div", Jo, [
405
- (c(!0), f(E, null, F(k.room.rates, ({
404
+ H.id ? (c(), f("div", Yo, [
405
+ (c(!0), f(E, null, F(b.room.rates, ({
406
406
  id: j,
407
407
  maximumOccupants: Y
408
408
  }) => (c(), f("div", {
@@ -413,8 +413,8 @@ const Qo = /* @__PURE__ */ Q({
413
413
  key: z,
414
414
  class: "konnectio-listing-action-selective"
415
415
  }, [
416
- a("ul", Yo, [
417
- g(xo, {
416
+ a("ul", Zo, [
417
+ g(zo, {
418
418
  modelValue: R.id,
419
419
  "onUpdate:modelValue": (X) => R.id = X,
420
420
  icon: "male",
@@ -425,7 +425,7 @@ const Qo = /* @__PURE__ */ Q({
425
425
  readonly: !(P(j).length > 1)
426
426
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
427
427
  ]),
428
- a("ul", Zo, [
428
+ a("ul", Qo, [
429
429
  g(Qe, {
430
430
  modelValue: R.units,
431
431
  "onUpdate:modelValue": (X) => R.units = X,
@@ -448,7 +448,7 @@ const Qo = /* @__PURE__ */ Q({
448
448
  _: 1
449
449
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
450
450
  }
451
- }), Xo = /* @__PURE__ */ ce(Qo, [["__scopeId", "data-v-54413d38"]]), el = { class: "konnectio-template-side-panel" }, tl = { class: "konnectio-template-side-panel-listings" }, ol = /* @__PURE__ */ Q({
451
+ }), el = /* @__PURE__ */ ce(Xo, [["__scopeId", "data-v-54413d38"]]), tl = { class: "konnectio-template-side-panel" }, ol = { class: "konnectio-template-side-panel-listings" }, ll = /* @__PURE__ */ Q({
452
452
  __name: "Template",
453
453
  props: {
454
454
  title: {},
@@ -458,7 +458,7 @@ const Qo = /* @__PURE__ */ Q({
458
458
  callback: { type: Function }
459
459
  },
460
460
  setup(n) {
461
- const { t: l } = ne(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } = Z(pe()), { currency: s } = Z(_e()), { clearRoomSelection: m } = pe(), p = n, u = oe(!0), r = G(() => {
461
+ const { t: l } = ne(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } = Z(me()), { currency: s } = Z(_e()), { clearRoomSelection: m } = me(), p = n, u = oe(!0), r = G(() => {
462
462
  function h(V, P) {
463
463
  return u.value === !0 ? V.extraPrice > P.extraPrice ? -1 : 1 : V.extraPrice > P.extraPrice ? 1 : -1;
464
464
  }
@@ -467,26 +467,26 @@ const Qo = /* @__PURE__ */ Q({
467
467
  function d(h) {
468
468
  t.value = p.templateId, e.value = h, m(), p.hideAddons === "yes" || i.value ? p.callback(2) : p.callback(1);
469
469
  }
470
- return (h, V) => (c(), A(Co, {
470
+ return (h, V) => (c(), A(Po, {
471
471
  title: h.title,
472
472
  subtitle: o(l)("booking.availability.selectATemplateRoom")
473
473
  }, {
474
474
  default: $(() => [
475
- a("div", el, [
476
- a("div", tl, [
475
+ a("div", tl, [
476
+ a("div", ol, [
477
477
  (c(!0), f(E, null, F(r.value, ({
478
478
  id: P,
479
- title: w,
480
- description: I,
479
+ title: C,
480
+ description: S,
481
481
  images: B,
482
- facilities: k,
483
- extraPrice: C
484
- }) => (c(), A(Ie, {
482
+ facilities: b,
483
+ extraPrice: w
484
+ }) => (c(), A(Se, {
485
485
  key: P,
486
486
  "listing-id": P,
487
- name: w,
488
- description: I,
489
- facilities: k,
487
+ name: C,
488
+ description: S,
489
+ facilities: b,
490
490
  gallery: B,
491
491
  "includes-breakfast": !1,
492
492
  "hide-info-button": !0
@@ -495,7 +495,7 @@ const Qo = /* @__PURE__ */ Q({
495
495
  a("div", null, [
496
496
  g(de, {
497
497
  onClickEvent: (H) => d(P),
498
- label: `${o(l)("booking.availability.selectThisRoom")} (${o(te)(C, o(s))})`,
498
+ label: `${o(l)("booking.availability.selectThisRoom")} (${o(te)(w, o(s))})`,
499
499
  "full-width": ""
500
500
  }, null, 8, ["onClickEvent", "label"])
501
501
  ])
@@ -508,7 +508,7 @@ const Qo = /* @__PURE__ */ Q({
508
508
  _: 1
509
509
  }, 8, ["title", "subtitle"]));
510
510
  }
511
- }), Ct = /* @__PURE__ */ ce(ol, [["__scopeId", "data-v-35a96ba4"]]), ll = ["innerHTML"], nl = { class: "konnectio-template-select-package" }, al = /* @__PURE__ */ Q({
511
+ }), wt = /* @__PURE__ */ ce(ll, [["__scopeId", "data-v-35a96ba4"]]), nl = ["innerHTML"], al = { class: "konnectio-template-select-package" }, il = /* @__PURE__ */ Q({
512
512
  __name: "Template",
513
513
  props: {
514
514
  id: {},
@@ -539,7 +539,7 @@ const Qo = /* @__PURE__ */ Q({
539
539
  function p(u) {
540
540
  t.callback(u), s.value = !1;
541
541
  }
542
- return (u, r) => (c(), A(Ie, {
542
+ return (u, r) => (c(), A(Se, {
543
543
  type: "template",
544
544
  "listing-id": u.id,
545
545
  name: u.name,
@@ -554,10 +554,10 @@ const Qo = /* @__PURE__ */ Q({
554
554
  u.description ? (c(), f("p", {
555
555
  key: 0,
556
556
  innerHTML: o(Tt)(u.description)
557
- }, null, 8, ll)) : _("", !0)
557
+ }, null, 8, nl)) : _("", !0)
558
558
  ]),
559
559
  action: $(() => [
560
- a("div", nl, [
560
+ a("div", al, [
561
561
  g(de, {
562
562
  onClickEvent: m,
563
563
  label: o(l)("booking.availability.selectPackage"),
@@ -566,7 +566,7 @@ const Qo = /* @__PURE__ */ Q({
566
566
  ])
567
567
  ]),
568
568
  default: $(() => [
569
- g(Ct, {
569
+ g(wt, {
570
570
  modelValue: s.value,
571
571
  "onUpdate:modelValue": r[0] || (r[0] = (d) => s.value = d),
572
572
  title: u.name,
@@ -579,7 +579,7 @@ const Qo = /* @__PURE__ */ Q({
579
579
  _: 1
580
580
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
581
581
  }
582
- }), il = ["innerHTML"], sl = { class: "konnectio-special-offer-availability" }, rl = { class: "konnectio-special-offer-availability-button" }, dl = /* @__PURE__ */ Q({
582
+ }), sl = ["innerHTML"], rl = { class: "konnectio-special-offer-availability" }, dl = { class: "konnectio-special-offer-availability-button" }, ul = /* @__PURE__ */ Q({
583
583
  __name: "SpecialOffer",
584
584
  props: {
585
585
  id: {},
@@ -593,7 +593,7 @@ const Qo = /* @__PURE__ */ Q({
593
593
  callback: { type: Function }
594
594
  },
595
595
  setup(n) {
596
- const { t: l } = ne(), { updateDates: t } = be(), e = n, i = oe([]), s = G(() => Ze(e.fromDate, e.toDate) === 1), m = G(() => [{
596
+ const { t: l } = ne(), { updateDates: t } = ke(), e = n, i = oe([]), s = G(() => Ze(e.fromDate, e.toDate) === 1), m = G(() => [{
597
597
  large: e.image.url,
598
598
  medium: e.image.url,
599
599
  thumb: e.image.url,
@@ -607,7 +607,7 @@ const Qo = /* @__PURE__ */ Q({
607
607
  }
608
608
  return tt(() => {
609
609
  s.value && (i.value = [new Date(e.fromDate), new Date(e.toDate)]);
610
- }), (d, h) => (c(), A(Ie, {
610
+ }), (d, h) => (c(), A(Se, {
611
611
  type: "template",
612
612
  "listing-id": d.id,
613
613
  name: d.name,
@@ -623,11 +623,11 @@ const Qo = /* @__PURE__ */ Q({
623
623
  d.description ? (c(), f("p", {
624
624
  key: 0,
625
625
  innerHTML: o(Tt)(d.description)
626
- }, null, 8, il)) : _("", !0)
626
+ }, null, 8, sl)) : _("", !0)
627
627
  ]),
628
628
  action: $(() => [
629
- a("div", sl, [
630
- g(wt, {
629
+ a("div", rl, [
630
+ g(Ct, {
631
631
  modelValue: i.value,
632
632
  "onUpdate:modelValue": h[0] || (h[0] = (V) => i.value = V),
633
633
  label: o(l)("availability.checkInOut"),
@@ -641,16 +641,16 @@ const Qo = /* @__PURE__ */ Q({
641
641
  readonly: s.value,
642
642
  range: ""
643
643
  }, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
644
- a("div", rl, [
644
+ a("div", dl, [
645
645
  g(de, {
646
646
  label: o(l)("availability.buttonLabel"),
647
- onClick: Ce(r, ["prevent"])
647
+ onClick: we(r, ["prevent"])
648
648
  }, null, 8, ["label"])
649
649
  ])
650
650
  ])
651
651
  ]),
652
652
  default: $(() => [
653
- g(Ct, {
653
+ g(wt, {
654
654
  modelValue: p.value,
655
655
  "onUpdate:modelValue": h[1] || (h[1] = (V) => p.value = V),
656
656
  title: d.name,
@@ -694,7 +694,7 @@ const Qo = /* @__PURE__ */ Q({
694
694
  const s = oe(e.modelValue);
695
695
  return Pe(s, (m) => {
696
696
  i(m);
697
- }), (m, p) => (c(), A(wt, {
697
+ }), (m, p) => (c(), A(Ct, {
698
698
  modelValue: s.value,
699
699
  "onUpdate:modelValue": p[0] || (p[0] = (u) => s.value = u),
700
700
  type: "time",
@@ -709,7 +709,7 @@ const Qo = /* @__PURE__ */ Q({
709
709
  readonly: m.readonly
710
710
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
711
711
  }
712
- }), ul = { style: { display: "flex", "align-items": "baseline" } }, cl = /* @__PURE__ */ Q({
712
+ }), cl = { style: { display: "flex", "align-items": "baseline" } }, pl = /* @__PURE__ */ Q({
713
713
  __name: "CountryField",
714
714
  props: {
715
715
  modelValue: {},
@@ -729,7 +729,7 @@ const Qo = /* @__PURE__ */ Q({
729
729
  get: () => i.modelValue,
730
730
  set: (p) => s(p)
731
731
  });
732
- return (p, u) => (c(), A(Se, {
732
+ return (p, u) => (c(), A(Ie, {
733
733
  modelValue: m.value,
734
734
  "onUpdate:modelValue": u[0] || (u[0] = (r) => m.value = r),
735
735
  label: p.label,
@@ -746,7 +746,7 @@ const Qo = /* @__PURE__ */ Q({
746
746
  a("span", null, v(r.name), 1)
747
747
  ]),
748
748
  "selected-option": $(({ data: r }) => [
749
- a("div", ul, [
749
+ a("div", cl, [
750
750
  a("i", {
751
751
  class: Ae(["konnectio-flag-icon", r.iso])
752
752
  }, null, 2),
@@ -756,7 +756,7 @@ const Qo = /* @__PURE__ */ Q({
756
756
  _: 1
757
757
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
758
758
  }
759
- }), pl = /* @__PURE__ */ ce(cl, [["__scopeId", "data-v-1462612d"]]), ml = /* @__PURE__ */ Q({
759
+ }), ml = /* @__PURE__ */ ce(pl, [["__scopeId", "data-v-1462612d"]]), fl = /* @__PURE__ */ Q({
760
760
  __name: "NameField",
761
761
  props: {
762
762
  modelValue: {},
@@ -788,7 +788,7 @@ const Qo = /* @__PURE__ */ Q({
788
788
  const { t: u } = ne();
789
789
  return tt(() => {
790
790
  t.modelValue && (s.value = t.modelValue), t.title && (m.value = t.title);
791
- }), (r, d) => (c(), A(ro, {
791
+ }), (r, d) => (c(), A(uo, {
792
792
  label: r.label,
793
793
  id: o(i),
794
794
  required: r.required,
@@ -803,7 +803,7 @@ const Qo = /* @__PURE__ */ Q({
803
803
  { "no-title": r.excludeTitle }
804
804
  ])
805
805
  }, [
806
- r.excludeTitle ? _("", !0) : (c(), A(Se, {
806
+ r.excludeTitle ? _("", !0) : (c(), A(Ie, {
807
807
  key: 0,
808
808
  modelValue: m.value,
809
809
  "onUpdate:modelValue": d[0] || (d[0] = (h) => m.value = h),
@@ -860,70 +860,67 @@ const Qo = /* @__PURE__ */ Q({
860
860
  _: 1
861
861
  }, 8, ["label", "id", "required", "readonly", "limit"]));
862
862
  }
863
- }), fl = /* @__PURE__ */ ce(ml, [["__scopeId", "data-v-78b0b319"]]), hl = { class: "hotel-skeleton" }, vl = { class: "hotel-skeleton-content" }, yl = { class: "hotel-skeleton-sidebar" }, gl = /* @__PURE__ */ Q({
863
+ }), hl = /* @__PURE__ */ ce(fl, [["__scopeId", "data-v-78b0b319"]]), vl = { class: "hotel-skeleton" }, yl = { class: "hotel-skeleton-content" }, gl = { class: "hotel-skeleton-sidebar" }, bl = /* @__PURE__ */ Q({
864
864
  __name: "HotelSkeleton",
865
865
  setup(n) {
866
- return (l, t) => (c(), f("div", hl, [
867
- a("div", vl, [
868
- g(To, { hotel: "" }),
869
- g(vo)
870
- ]),
866
+ return (l, t) => (c(), f("div", vl, [
871
867
  a("div", yl, [
868
+ g($o, { hotel: "" }),
872
869
  g(yo)
870
+ ]),
871
+ a("div", gl, [
872
+ g(go)
873
873
  ])
874
874
  ]));
875
875
  }
876
- }), kl = /* @__PURE__ */ ce(gl, [["__scopeId", "data-v-1bb21da4"]]), ot = (n) => (bt("data-v-b70d2572"), n = n(), _t(), n), bl = { id: "booking-availability-container" }, _l = { id: "booking-availability-controls" };
877
- const Vl = { key: 1 }, Tl = { key: 0 }, $l = {
876
+ }), kl = /* @__PURE__ */ ce(bl, [["__scopeId", "data-v-1bb21da4"]]), ot = (n) => (kt("data-v-046ea616"), n = n(), _t(), n), _l = { id: "booking-availability-container" }, Vl = { id: "booking-availability-controls" };
877
+ const Tl = { key: 1 }, $l = { key: 0 }, Cl = {
878
878
  key: 0,
879
879
  id: "booking-availability-packages"
880
880
  }, wl = {
881
881
  key: 0,
882
882
  class: "konnectio-hotel-availability-title"
883
- }, Cl = { id: "booking-availability-packages-wrapper" }, Pl = { key: 1 }, Al = {
883
+ }, Pl = { id: "booking-availability-packages-wrapper" }, Al = { key: 1 }, Dl = {
884
884
  key: 0,
885
885
  class: "konnectio-hotel-availability-title"
886
- }, Dl = { id: "konnectio-listings" }, Hl = {
886
+ }, Hl = { id: "konnectio-listings" }, Il = {
887
887
  key: 2,
888
888
  id: "booking-availability-packages"
889
- }, Sl = {
890
- key: 0,
891
- class: "konnectio-hotel-availability-title"
892
- }, Il = { id: "booking-availability-packages-wrapper" }, Bl = {
889
+ }, Sl = { class: "konnectio-hotel-availability-title" }, Bl = { id: "booking-availability-packages-wrapper" }, El = {
893
890
  key: 3,
894
891
  id: "booking-availability-no-listings",
895
892
  class: "konnectio-panel"
896
- }, El = {
893
+ }, Ml = {
897
894
  key: 1,
898
895
  id: "booking-availability-no-listings"
899
- }, Ml = {
896
+ }, Ll = {
900
897
  key: 2,
901
898
  id: "reservation-availability-next-dates"
902
- }, Ll = { class: "konnectio-hotel-availability-title" }, Ul = { class: "reservation-special-offers-grid" }, Rl = ["title"];
903
- const Nl = {
899
+ }, Ul = { class: "konnectio-hotel-availability-title" }, Rl = { class: "reservation-special-offers-grid" }, Nl = ["title"];
900
+ const Fl = {
904
901
  key: 2,
905
902
  class: "konnectio-listing-loading"
906
- }, Fl = { class: "konnectio-panel" }, Ol = {
903
+ }, Ol = { class: "konnectio-panel" }, jl = {
907
904
  key: 0,
908
905
  id: "konnectio-hotel-addons"
909
906
  };
910
- const jl = { class: "konnectio-event-addons-price" }, Gl = { key: 1 }, ql = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("br", null, null, -1)), Wl = { class: "konnectio-hotel-addons-option" }, Kl = {
907
+ const Gl = { class: "konnectio-event-addons-price" }, ql = { key: 1 }, Wl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("br", null, null, -1)), Kl = { class: "konnectio-hotel-addons-option" }, xl = {
911
908
  key: 1,
912
909
  id: "konnectio-hotel-addons"
913
- }, xl = { class: "konnectio-table with-lines" };
914
- const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("br", null, null, -1)), Yl = { class: "konnectio-hotel-addons-option" }, Zl = ["onClick"], Ql = { class: "konnectio-panel" }, Xl = { key: 0 }, en = { key: 1 }, tn = { class: "konnectio-split-inputs" }, on = ["onClick"], ln = /* @__PURE__ */ Q({
910
+ }, zl = { class: "konnectio-table with-lines" };
911
+ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), Yl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("br", null, null, -1)), Zl = { class: "konnectio-hotel-addons-option" }, Ql = ["onClick"], Xl = { class: "konnectio-panel" }, en = { key: 0 }, tn = { key: 1 }, on = { class: "konnectio-split-inputs" }, ln = ["onClick"], nn = /* @__PURE__ */ Q({
915
912
  name: "HotelLayout",
916
913
  __name: "Hotel",
917
914
  props: {
918
915
  accessToken: {},
919
- headerLayout: { default: uo.Minimal },
916
+ headerLayout: { default: co.Minimal },
920
917
  onlyShow: { default: "everything" },
921
918
  hideAddons: { default: "no" },
922
919
  selectedLocation: {},
923
920
  styling: {}
924
921
  },
925
922
  setup(n) {
926
- const l = eo(() => import("./_-B28bpYJb.js")), t = n, { t: e } = ne(), {
923
+ const l = to(() => import("./_-C3cdq-vi.js")), t = n, { t: e } = ne(), {
927
924
  templateID: i,
928
925
  templateAddons: s,
929
926
  countries: m,
@@ -934,11 +931,11 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
934
931
  arrivalTime: h,
935
932
  departureTime: V,
936
933
  name: P,
937
- nameTitle: w,
938
- email: I,
934
+ nameTitle: C,
935
+ email: S,
939
936
  phone: B,
940
- firmName: k,
941
- postal: C,
937
+ firmName: b,
938
+ postal: w,
942
939
  city: H,
943
940
  address: O,
944
941
  country: j,
@@ -948,25 +945,25 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
948
945
  roomDisplay: X,
949
946
  hasValidRoomSelection: Be,
950
947
  availabilityData: M,
951
- selectionHasNoAddons: me,
948
+ selectionHasNoAddons: pe,
952
949
  isAvailabilityDataAvailable: ve,
953
950
  getSelectedPackageRoom: Ve,
954
951
  selectedPackage: Ee,
955
952
  isSearchOutdated: Me
956
- } = Z(pe()), {
953
+ } = Z(me()), {
957
954
  adults: fe,
958
955
  children: ye,
959
956
  location: le,
960
957
  arrivalDate: x,
961
958
  departureDate: L
962
- } = Z(be()), { isValidHotelId: ge, updateDates: Le } = be(), {
959
+ } = Z(ke()), { isValidHotelId: ge, updateDates: Le } = ke(), {
963
960
  currency: he,
964
961
  arrivalEarliest: Ue,
965
962
  arrivalLatest: ae,
966
963
  departureEarliest: Re,
967
964
  departureLatest: nt,
968
- enableTracking: St,
969
- hideArrivalDepartureInputs: It,
965
+ enableTracking: It,
966
+ hideArrivalDepartureInputs: St,
970
967
  disableArrivalUserSelection: Ne,
971
968
  disableNamePrefix: Bt,
972
969
  disableDepartureUserSelection: Fe,
@@ -976,14 +973,40 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
976
973
  hasPaymentGateway: Ut,
977
974
  maxAdultAmount: at,
978
975
  maxChildAmount: it
979
- } = Z(_e()), { beginCheckout: Rt } = Vt(), { display: Oe } = co(), {
976
+ } = Z(_e()), { beginCheckout: Rt } = Vt(), { display: Oe } = po(), {
980
977
  resetTemplate: Nt,
981
978
  resetDiscountVoucher: Ft,
982
979
  createReservation: Ot,
983
980
  fetchMetadata: jt,
984
981
  fetchAvailabilityData: st
985
- } = pe(), Gt = oe(!0), qt = G(() => {
986
- const b = [
982
+ } = me(), Gt = oe(!0), qt = [
983
+ {
984
+ id: "availability",
985
+ label: e("booking.availability.title"),
986
+ icon: "search"
987
+ },
988
+ {
989
+ id: "addons",
990
+ label: e("booking.reservation.title"),
991
+ icon: "concierge-bell",
992
+ hidden: pe.value
993
+ },
994
+ {
995
+ id: "reservation",
996
+ label: e("booking.reservation.title"),
997
+ icon: "concierge-bell"
998
+ },
999
+ {
1000
+ id: "payment",
1001
+ hidden: !0
1002
+ },
1003
+ {
1004
+ id: "confirmation",
1005
+ label: e("booking.confirmation.title"),
1006
+ icon: "calendar-check"
1007
+ }
1008
+ ], Wt = G(() => {
1009
+ const k = [
987
1010
  {
988
1011
  label: e("booking.reservation.business"),
989
1012
  value: "Business"
@@ -993,43 +1016,43 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
993
1016
  value: "Pleasure"
994
1017
  }
995
1018
  ];
996
- return Mt.value || b.push({
1019
+ return Mt.value || k.push({
997
1020
  label: e("booking.reservation.bleasure"),
998
1021
  value: "Bleasure"
999
- }), b;
1000
- }), Wt = G(() => {
1001
- const b = M.value.roomGroups.slice();
1022
+ }), k;
1023
+ }), Kt = G(() => {
1024
+ const k = M.value.roomGroups.slice();
1002
1025
  function T(q, D) {
1003
1026
  return Gt.value === !0 ? q.pricesFrom > D.pricesFrom ? -1 : 1 : q.pricesFrom > D.pricesFrom ? 1 : -1;
1004
1027
  }
1005
- return b.sort(T);
1006
- }), Kt = G(() => [[
1028
+ return k.sort(T);
1029
+ }), xt = G(() => [[
1007
1030
  parseInt(Ue.value.split(":")[0]),
1008
1031
  parseInt(ae.value.split(":")[0])
1009
- ]]), xt = G(() => [[
1032
+ ]]), zt = G(() => [[
1010
1033
  parseInt(Re.value.split(":")[0]),
1011
1034
  parseInt(nt.value.split(":")[0])
1012
1035
  ]]);
1013
- function rt(b) {
1014
- t.hideAddons === "yes" || me.value ? b(2) : b(), Ft();
1036
+ function rt(k) {
1037
+ t.hideAddons === "yes" || pe.value ? k(2) : k(), Ft();
1015
1038
  }
1016
- async function zt(b) {
1017
- await Ot(b);
1039
+ async function Jt(k) {
1040
+ await Ot(k);
1018
1041
  }
1019
- function Jt(b) {
1020
- St.value && Rt(), t.hideAddons === "yes" || me.value ? b(2) : b();
1042
+ function Yt(k) {
1043
+ It.value && Rt(), t.hideAddons === "yes" || pe.value ? k(2) : k();
1021
1044
  }
1022
- function Yt() {
1023
- const b = mo("hash-params", {
1045
+ function Zt() {
1046
+ const k = fo("hash-params", {
1024
1047
  removeNullishValues: !0
1025
- }), T = parseInt(b.adults), q = parseInt(b.children), D = parseInt(b.hId), y = b.checkin, W = b.checkout, U = b.roomGroupId;
1026
- if (isNaN(T) || (T > at.value ? fe.value = at.value : fe.value = T, b.adults = void 0), isNaN(q) || (q > it.value ? ye.value = it.value : ye.value = q, b.children = void 0), isNaN(D) || (ge(D) ? (le.value = D, b.hId = void 0) : Oe({
1048
+ }), T = parseInt(k.adults), q = parseInt(k.children), D = parseInt(k.hId), y = k.checkin, W = k.checkout, U = k.roomGroupId;
1049
+ if (isNaN(T) || (T > at.value ? fe.value = at.value : fe.value = T, k.adults = void 0), isNaN(q) || (q > it.value ? ye.value = it.value : ye.value = q, k.children = void 0), isNaN(D) || (ge(D) ? (le.value = D, k.hId = void 0) : Oe({
1027
1050
  message: e("alert.error.hotelIdNotFound"),
1028
1051
  type: "error"
1029
1052
  })), y && W)
1030
1053
  if (pt(y) && pt(W)) {
1031
1054
  const ee = new Date(y), J = new Date(W);
1032
- ee <= J ? (x.value = ee, L.value = J, b.checkin = void 0, b.checkout = void 0) : Oe({
1055
+ ee <= J ? (x.value = ee, L.value = J, k.checkin = void 0, k.checkout = void 0) : Oe({
1033
1056
  message: e("alert.error.invalidDateRange"),
1034
1057
  type: "error"
1035
1058
  });
@@ -1038,38 +1061,39 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1038
1061
  message: e("alert.error.wrongDateFormat"),
1039
1062
  type: "error"
1040
1063
  });
1041
- let S = null;
1042
- U && (S = U), st(S);
1064
+ let I = null;
1065
+ U && (I = U), st(I);
1043
1066
  }
1044
- return (b, T) => (c(), A(po, { styling: b.styling }, {
1067
+ return (k, T) => (c(), A(mo, { styling: k.styling }, {
1045
1068
  default: $(() => [
1046
- (c(), A(Xt, { onResolve: Yt }, {
1069
+ (c(), A(eo, { onResolve: Zt }, {
1047
1070
  default: $(() => [
1048
1071
  g(o(l), {
1049
1072
  id: "konnectio-hotel-module",
1050
- "access-token": b.accessToken,
1073
+ "access-token": k.accessToken,
1051
1074
  callback: o(jt)
1052
1075
  }, {
1053
1076
  default: $(() => [
1054
- g(go, {
1055
- layout: b.headerLayout,
1077
+ g(bo, {
1078
+ layout: k.headerLayout,
1079
+ steps: qt,
1056
1080
  onReset: o(Nt)
1057
1081
  }, {
1058
1082
  availability: $(({ next: q }) => [
1059
1083
  g(ze, null, {
1060
1084
  form: $(() => [
1061
- a("div", bl, [
1062
- a("div", _l, [
1063
- g($o, {
1085
+ a("div", _l, [
1086
+ a("div", Vl, [
1087
+ g(Co, {
1064
1088
  booking: !0,
1065
- "selected-location": Number(b.selectedLocation)
1089
+ "selected-location": Number(k.selectedLocation)
1066
1090
  }, null, 8, ["selected-location"])
1067
1091
  ]),
1068
1092
  _("", !0),
1069
- !o(p) && o(ve) ? (c(), f("div", Vl, [
1070
- o(M).roomGroups.length > 0 || o(M).templates.length > 0 || o(M).specialTemplates.length > 0 ? (c(), f("div", Tl, [
1071
- o(M).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", $l, [
1072
- b.onlyShow !== "packages" ? (c(), f("h2", wl, [
1093
+ !o(p) && o(ve) ? (c(), f("div", Tl, [
1094
+ o(M).roomGroups.length > 0 || o(M).templates.length > 0 || o(M).specialTemplates.length > 0 ? (c(), f("div", $l, [
1095
+ o(M).templates.length > 0 && k.onlyShow !== "rooms" ? (c(), f("div", Cl, [
1096
+ k.onlyShow !== "packages" ? (c(), f("h2", wl, [
1073
1097
  g(K, {
1074
1098
  icon: "box",
1075
1099
  type: "fal",
@@ -1077,29 +1101,29 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1077
1101
  }),
1078
1102
  a("span", null, v(o(e)("booking.availability.packagesTitle")), 1)
1079
1103
  ])) : _("", !0),
1080
- a("ul", Cl, [
1104
+ a("ul", Pl, [
1081
1105
  (c(!0), f(E, null, F(o(M).templates, ({
1082
1106
  id: D,
1083
1107
  name: y,
1084
1108
  templateRoomGroups: W,
1085
1109
  image: U,
1086
- description: S,
1110
+ description: I,
1087
1111
  weekendFee: ee
1088
- }) => (c(), A(al, {
1112
+ }) => (c(), A(il, {
1089
1113
  key: D,
1090
1114
  id: D,
1091
- description: S,
1115
+ description: I,
1092
1116
  name: y,
1093
1117
  image: U,
1094
1118
  weekendFee: ee,
1095
1119
  "room-groups": W,
1096
1120
  callback: q,
1097
- "hide-addons": b.hideAddons
1121
+ "hide-addons": k.hideAddons
1098
1122
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
1099
1123
  ])
1100
1124
  ])) : _("", !0),
1101
- o(M).roomGroups.length > 0 && b.onlyShow !== "packages" ? (c(), f("div", Pl, [
1102
- o(M).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("h2", Al, [
1125
+ o(M).roomGroups.length > 0 && k.onlyShow !== "packages" ? (c(), f("div", Al, [
1126
+ o(M).templates.length > 0 && k.onlyShow !== "rooms" ? (c(), f("h2", Dl, [
1103
1127
  g(K, {
1104
1128
  icon: "house",
1105
1129
  type: "fal",
@@ -1107,36 +1131,36 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1107
1131
  }),
1108
1132
  a("span", null, v(o(e)("booking.availability.roomsTitle")), 1)
1109
1133
  ])) : _("", !0),
1110
- a("ul", Dl, [
1111
- (c(!0), f(E, null, F(Wt.value, (D, y) => (c(), A(Xo, {
1134
+ a("ul", Hl, [
1135
+ (c(!0), f(E, null, F(Kt.value, (D, y) => (c(), A(el, {
1112
1136
  room: D,
1113
1137
  key: y
1114
1138
  }, null, 8, ["room"]))), 128))
1115
1139
  ])
1116
1140
  ])) : _("", !0),
1117
- o(M).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Hl, [
1118
- b.onlyShow !== "packages" ? (c(), f("h2", Sl, [
1141
+ o(M).specialTemplates.length > 0 && k.onlyShow !== "rooms" ? (c(), f("div", Il, [
1142
+ a("h2", Sl, [
1119
1143
  g(K, {
1120
1144
  icon: "sparkles",
1121
1145
  type: "fal",
1122
1146
  color: "header"
1123
1147
  }),
1124
1148
  a("span", null, v(o(e)("hotel.specialOffers")), 1)
1125
- ])) : _("", !0),
1126
- a("ul", Il, [
1149
+ ]),
1150
+ a("ul", Bl, [
1127
1151
  (c(!0), f(E, null, F(o(M).specialTemplates, ({
1128
1152
  id: D,
1129
1153
  name: y,
1130
1154
  templateRoomGroups: W,
1131
1155
  image: U,
1132
- description: S,
1156
+ description: I,
1133
1157
  weekendFee: ee,
1134
1158
  fromDate: J,
1135
1159
  toDate: je
1136
- }) => (c(), A(dl, {
1160
+ }) => (c(), A(ul, {
1137
1161
  key: D,
1138
1162
  id: D,
1139
- description: S,
1163
+ description: I,
1140
1164
  name: y,
1141
1165
  image: U,
1142
1166
  fromDate: J,
@@ -1147,13 +1171,13 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1147
1171
  }, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
1148
1172
  ])
1149
1173
  ])) : _("", !0),
1150
- (o(M).templates.length === 0 && b.onlyShow !== "rooms" || o(M).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(), f("div", Bl, [
1174
+ (o(M).templates.length === 0 && k.onlyShow !== "rooms" || o(M).roomGroups.length === 0 && k.onlyShow !== "packages") && (k.onlyShow === "rooms" || k.onlyShow === "packages") ? (c(), f("div", El, [
1151
1175
  a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
1152
1176
  ])) : _("", !0)
1153
- ])) : o(M).nextAvailableDates.length === 0 ? (c(), f("div", El, [
1177
+ ])) : o(M).nextAvailableDates.length === 0 ? (c(), f("div", Ml, [
1154
1178
  a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
1155
- ])) : (c(), f("div", Ml, [
1156
- a("h2", Ll, [
1179
+ ])) : (c(), f("div", Ll, [
1180
+ a("h2", Ul, [
1157
1181
  g(K, {
1158
1182
  icon: "calendar-circle-exclamation",
1159
1183
  type: "fal",
@@ -1161,13 +1185,13 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1161
1185
  }),
1162
1186
  a("span", null, v(o(e)("booking.availability.nextAvailableDates")), 1)
1163
1187
  ]),
1164
- a("ul", Ul, [
1188
+ a("ul", Rl, [
1165
1189
  (c(!0), f(E, null, F(o(M).nextAvailableDates, (D, y) => (c(), f("li", { key: y }, [
1166
1190
  a("h3", {
1167
1191
  title: `${o(ue)(D.fromDate)} - ${o(ue)(D.toDate)}`
1168
1192
  }, [
1169
1193
  a("span", null, v(`${o(ue)(D.fromDate)} - ${o(ue)(D.toDate)}`), 1)
1170
- ], 8, Rl),
1194
+ ], 8, Nl),
1171
1195
  a("ul", null, [
1172
1196
  _("", !0),
1173
1197
  a("li", null, [
@@ -1187,7 +1211,7 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1187
1211
  ]))), 128))
1188
1212
  ])
1189
1213
  ]))
1190
- ])) : (c(), f("div", Nl, [
1214
+ ])) : (c(), f("div", Fl, [
1191
1215
  g(xe),
1192
1216
  g(xe),
1193
1217
  g(xe)
@@ -1203,10 +1227,10 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1203
1227
  onClickEvent: T[1] || (T[1] = (D) => o(st)())
1204
1228
  }, null, 8, ["label", "is-loading"])) : (c(), A(de, {
1205
1229
  key: 1,
1206
- label: o(me) || b.hideAddons === "yes" ? o(e)("booking.availability.nextButton") : o(e)("general.chooseAddons"),
1230
+ label: o(pe) || k.hideAddons === "yes" ? o(e)("booking.availability.nextButton") : o(e)("general.chooseAddons"),
1207
1231
  disabled: !o(Be),
1208
1232
  "full-width": "",
1209
- onClickEvent: (D) => Jt(q)
1233
+ onClickEvent: (D) => Yt(q)
1210
1234
  }, null, 8, ["label", "disabled", "onClickEvent"]))
1211
1235
  ]),
1212
1236
  _: 2
@@ -1215,12 +1239,12 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1215
1239
  addons: $(({ next: q, prev: D }) => [
1216
1240
  o(ve) ? (c(), A(ze, { key: 0 }, {
1217
1241
  form: $(() => [
1218
- a("form", Fl, [
1242
+ a("form", Ol, [
1219
1243
  a("h2", null, [
1220
1244
  a("span", null, v(o(e)("booking.reservation.addons")), 1)
1221
1245
  ]),
1222
1246
  a("div", null, [
1223
- isNaN(o(i)) ? (c(), f("div", Ol, [
1247
+ isNaN(o(i)) ? (c(), f("div", jl, [
1224
1248
  (c(!0), f(E, null, F(o(X), (y) => (c(), f("ul", {
1225
1249
  key: y.roomGroupID
1226
1250
  }, [
@@ -1230,7 +1254,7 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1230
1254
  a("h4", null, [
1231
1255
  a("span", null, v(o(re)(y.title)), 1)
1232
1256
  ]),
1233
- (c(!0), f(E, null, F(W.rooms, (S, ee) => (c(), f("table", {
1257
+ (c(!0), f(E, null, F(W.rooms, (I, ee) => (c(), f("table", {
1234
1258
  key: ee,
1235
1259
  class: "konnectio-table with-lines"
1236
1260
  }, [
@@ -1240,21 +1264,21 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1240
1264
  a("span", null, v(o(re)(W.name)), 1)
1241
1265
  ]),
1242
1266
  _("", !0),
1243
- a("th", jl, [
1267
+ a("th", Gl, [
1244
1268
  a("b", null, [
1245
1269
  g(K, {
1246
1270
  icon: "male",
1247
1271
  type: "fas",
1248
1272
  color: "font"
1249
1273
  }),
1250
- a("span", null, v(S.adultsCount), 1),
1251
- S.childrenCount > 0 ? (c(), A(K, {
1274
+ a("span", null, v(I.adultsCount), 1),
1275
+ I.childrenCount > 0 ? (c(), A(K, {
1252
1276
  key: 0,
1253
1277
  icon: "child",
1254
1278
  type: "fas",
1255
1279
  color: "font"
1256
1280
  })) : _("", !0),
1257
- S.childrenCount > 0 ? (c(), f("span", Gl, v(S.childrenCount), 1)) : _("", !0)
1281
+ I.childrenCount > 0 ? (c(), f("span", ql, v(I.childrenCount), 1)) : _("", !0)
1258
1282
  ])
1259
1283
  ])
1260
1284
  ])
@@ -1263,28 +1287,28 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1263
1287
  (c(!0), f(E, null, F(y.addons, ({
1264
1288
  quantityStrategy: J,
1265
1289
  maximumNumber: je,
1266
- id: ke,
1267
- name: Zt,
1268
- price: Qt
1269
- }) => (c(), f("tr", { key: ke }, [
1290
+ id: be,
1291
+ name: Qt,
1292
+ price: Xt
1293
+ }) => (c(), f("tr", { key: be }, [
1270
1294
  a("td", null, [
1271
- a("b", null, v(o(re)(Zt)), 1),
1272
- ql,
1273
- a("span", null, v(o(te)(Qt, o(he))) + " " + v(o(ct)(J)), 1)
1295
+ a("b", null, v(o(re)(Qt)), 1),
1296
+ Wl,
1297
+ a("span", null, v(o(te)(Xt, o(he))) + " " + v(o(ct)(J)), 1)
1274
1298
  ]),
1275
- a("td", Wl, [
1276
- o(z)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx] ? (c(), f(E, { key: 0 }, [
1299
+ a("td", Kl, [
1300
+ o(z)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx] ? (c(), f(E, { key: 0 }, [
1277
1301
  J === 1 || J === 12 ? (c(), A(Qe, {
1278
1302
  key: 0,
1279
- modelValue: o(z)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke],
1280
- "onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke] = Ge,
1303
+ modelValue: o(z)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][be],
1304
+ "onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][be] = Ge,
1281
1305
  small: !0,
1282
1306
  "min-value": 0,
1283
1307
  "max-value": je || 1 / 0
1284
1308
  }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(De, {
1285
1309
  key: 1,
1286
- modelValue: o(z)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke],
1287
- "onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][ke] = Ge,
1310
+ modelValue: o(z)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][be],
1311
+ "onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][be] = Ge,
1288
1312
  numeric: !0
1289
1313
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1290
1314
  ], 64)) : _("", !0)
@@ -1294,19 +1318,19 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1294
1318
  ]))), 128))
1295
1319
  ]))), 128))
1296
1320
  ]))), 128))
1297
- ])) : o(Ve) ? (c(), f("div", Kl, [
1321
+ ])) : o(Ve) ? (c(), f("div", xl, [
1298
1322
  a("div", null, [
1299
1323
  a("h4", null, [
1300
1324
  a("span", null, v(o(Ee).name), 1)
1301
1325
  ]),
1302
- a("table", xl, [
1326
+ a("table", zl, [
1303
1327
  a("thead", null, [
1304
1328
  a("tr", null, [
1305
1329
  a("th", null, [
1306
1330
  a("span", null, v(o(re)(o(Ve).title)), 1)
1307
1331
  ]),
1308
1332
  _("", !0),
1309
- zl
1333
+ Jl
1310
1334
  ])
1311
1335
  ]),
1312
1336
  a("tbody", null, [
@@ -1314,15 +1338,15 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1314
1338
  quantityStrategy: y,
1315
1339
  maximumNumber: W,
1316
1340
  id: U,
1317
- name: S,
1341
+ name: I,
1318
1342
  price: ee
1319
1343
  }) => (c(), f("tr", { key: U }, [
1320
1344
  a("td", null, [
1321
- a("b", null, v(o(re)(S)), 1),
1322
- Jl,
1345
+ a("b", null, v(o(re)(I)), 1),
1346
+ Yl,
1323
1347
  a("span", null, v(o(te)(ee, o(he))) + " " + v(o(ct)(y)), 1)
1324
1348
  ]),
1325
- a("td", Yl, [
1349
+ a("td", Zl, [
1326
1350
  y === 1 || y === 12 ? (c(), A(Qe, {
1327
1351
  key: 0,
1328
1352
  modelValue: o(s)[U],
@@ -1353,10 +1377,10 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1353
1377
  }, null, 8, ["label", "onClickEvent"]),
1354
1378
  a("button", {
1355
1379
  class: "konnectio-abort-reservation link",
1356
- onClick: Ce((y) => rt(D), ["prevent"])
1380
+ onClick: we((y) => rt(D), ["prevent"])
1357
1381
  }, [
1358
1382
  a("span", null, v(o(e)("general.goAStepBack")), 1)
1359
- ], 8, Zl)
1383
+ ], 8, Ql)
1360
1384
  ]),
1361
1385
  _: 2
1362
1386
  }, 1024)) : _("", !0)
@@ -1368,40 +1392,40 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1368
1392
  "show-gift-card": !0
1369
1393
  }, {
1370
1394
  form: $(() => [
1371
- a("form", Ql, [
1395
+ a("form", Xl, [
1372
1396
  a("h2", null, [
1373
1397
  a("span", null, v(o(e)("booking.reservation.detailsTitle")), 1)
1374
1398
  ]),
1375
- !o(It) && !(o(Ne) && o(Fe)) ? (c(), f("ul", {
1399
+ !o(St) && !(o(Ne) && o(Fe)) ? (c(), f("ul", {
1376
1400
  key: 0,
1377
1401
  class: Ae({ "konnectio-split-inputs": !o(Ne) && !o(Fe) })
1378
1402
  }, [
1379
- o(Ne) ? _("", !0) : (c(), f("li", Xl, [
1403
+ o(Ne) ? _("", !0) : (c(), f("li", en, [
1380
1404
  g(mt, {
1381
1405
  modelValue: o(h),
1382
1406
  "onUpdate:modelValue": T[2] || (T[2] = (y) => N(h) ? h.value = y : null),
1383
1407
  label: o(e)("booking.reservation.arrivalTime"),
1384
1408
  icon: "hourglass-start",
1385
- "hour-range": Kt.value,
1409
+ "hour-range": xt.value,
1386
1410
  required: ""
1387
1411
  }, null, 8, ["modelValue", "label", "hour-range"])
1388
1412
  ])),
1389
- o(Fe) ? _("", !0) : (c(), f("li", en, [
1413
+ o(Fe) ? _("", !0) : (c(), f("li", tn, [
1390
1414
  g(mt, {
1391
1415
  modelValue: o(V),
1392
1416
  "onUpdate:modelValue": T[3] || (T[3] = (y) => N(V) ? V.value = y : null),
1393
1417
  label: o(e)("booking.reservation.departureTime"),
1394
1418
  icon: "hourglass-end",
1395
- "hour-range": xt.value,
1419
+ "hour-range": zt.value,
1396
1420
  required: ""
1397
1421
  }, null, 8, ["modelValue", "label", "hour-range"])
1398
1422
  ]))
1399
1423
  ], 2)) : _("", !0),
1400
- g(fl, {
1424
+ g(hl, {
1401
1425
  modelValue: o(P),
1402
1426
  "onUpdate:modelValue": T[4] || (T[4] = (y) => N(P) ? P.value = y : null),
1403
- title: o(w),
1404
- "onUpdate:title": T[5] || (T[5] = (y) => N(w) ? w.value = y : null),
1427
+ title: o(C),
1428
+ "onUpdate:title": T[5] || (T[5] = (y) => N(C) ? C.value = y : null),
1405
1429
  "exclude-title": o(Bt),
1406
1430
  label: o(e)("booking.reservation.name"),
1407
1431
  icon: "user-alt",
@@ -1409,8 +1433,8 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1409
1433
  required: ""
1410
1434
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1411
1435
  g(se, {
1412
- modelValue: o(I),
1413
- "onUpdate:modelValue": T[6] || (T[6] = (y) => N(I) ? I.value = y : null),
1436
+ modelValue: o(S),
1437
+ "onUpdate:modelValue": T[6] || (T[6] = (y) => N(S) ? S.value = y : null),
1414
1438
  type: "email",
1415
1439
  name: "email",
1416
1440
  autocomplete: "email",
@@ -1421,8 +1445,8 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1421
1445
  }, null, 8, ["modelValue", "label", "placeholder"]),
1422
1446
  o(Lt) ? _("", !0) : (c(), A(se, {
1423
1447
  key: 1,
1424
- modelValue: o(k),
1425
- "onUpdate:modelValue": T[7] || (T[7] = (y) => N(k) ? k.value = y : null),
1448
+ modelValue: o(b),
1449
+ "onUpdate:modelValue": T[7] || (T[7] = (y) => N(b) ? b.value = y : null),
1426
1450
  type: "text",
1427
1451
  name: "firm",
1428
1452
  autocomplete: "firm",
@@ -1430,7 +1454,7 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1430
1454
  icon: "id-card",
1431
1455
  placeholder: o(e)("booking.reservation.companyNamePlaceholder")
1432
1456
  }, null, 8, ["modelValue", "label", "placeholder"])),
1433
- g(Po, {
1457
+ g(Ao, {
1434
1458
  modelValue: o(B),
1435
1459
  "onUpdate:modelValue": T[8] || (T[8] = (y) => N(B) ? B.value = y : null),
1436
1460
  icon: "phone-office",
@@ -1438,7 +1462,7 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1438
1462
  placeholder: o(e)("booking.reservation.phonePlaceholder"),
1439
1463
  required: ""
1440
1464
  }, null, 8, ["modelValue", "label", "placeholder"]),
1441
- g(pl, {
1465
+ g(ml, {
1442
1466
  modelValue: o(j),
1443
1467
  "onUpdate:modelValue": T[9] || (T[9] = (y) => N(j) ? j.value = y : null),
1444
1468
  label: o(e)("booking.reservation.country"),
@@ -1457,11 +1481,11 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1457
1481
  placeholder: o(e)("booking.reservation.streetAddressPlaceholder"),
1458
1482
  required: ""
1459
1483
  }, null, 8, ["modelValue", "label", "placeholder"]),
1460
- a("ul", tn, [
1484
+ a("ul", on, [
1461
1485
  a("li", null, [
1462
1486
  g(se, {
1463
- modelValue: o(C),
1464
- "onUpdate:modelValue": T[11] || (T[11] = (y) => N(C) ? C.value = y : null),
1487
+ modelValue: o(w),
1488
+ "onUpdate:modelValue": T[11] || (T[11] = (y) => N(w) ? w.value = y : null),
1465
1489
  type: "text",
1466
1490
  name: "postal",
1467
1491
  autocomplete: "postal-code",
@@ -1507,7 +1531,7 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1507
1531
  "onUpdate:modelValue": T[15] || (T[15] = (y) => N(d) ? d.value = y : null),
1508
1532
  label: `${o(e)("booking.reservation.purposeOfStay")} (${o(e)("booking.reservation.optional")})`,
1509
1533
  name: "travelingFor",
1510
- checkboxes: qt.value
1534
+ checkboxes: Wt.value
1511
1535
  }, null, 8, ["modelValue", "label", "checkboxes"]))
1512
1536
  ])
1513
1537
  ]),
@@ -1518,24 +1542,24 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1518
1542
  disabled: !o(r),
1519
1543
  "is-loading": o(u),
1520
1544
  "full-width": "",
1521
- onClickEvent: (y) => zt(q)
1545
+ onClickEvent: (y) => Jt(q)
1522
1546
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
1523
1547
  a("button", {
1524
1548
  class: "konnectio-abort-reservation link",
1525
- onClick: Ce((y) => rt(D), ["prevent"])
1549
+ onClick: we((y) => rt(D), ["prevent"])
1526
1550
  }, [
1527
1551
  a("span", null, v(o(e)("general.goAStepBack")), 1)
1528
- ], 8, on)
1552
+ ], 8, ln)
1529
1553
  ])
1530
1554
  ]),
1531
1555
  _: 2
1532
1556
  }, 1024)) : _("", !0)
1533
1557
  ]),
1534
1558
  payment: $(() => [
1535
- g(Ao)
1559
+ g(Do)
1536
1560
  ]),
1537
1561
  confirmation: $(() => [
1538
- g(bo, {
1562
+ g(_o, {
1539
1563
  message: o(e)("booking.confirmation.thankYou")
1540
1564
  }, null, 8, ["message"])
1541
1565
  ]),
@@ -1554,7 +1578,7 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
1554
1578
  _: 1
1555
1579
  }, 8, ["styling"]));
1556
1580
  }
1557
- }), Te = /* @__PURE__ */ ce(ln, [["__scopeId", "data-v-b70d2572"]]);
1581
+ }), Te = /* @__PURE__ */ ce(nn, [["__scopeId", "data-v-046ea616"]]);
1558
1582
  function Xe(n, l = {}, t) {
1559
1583
  for (const e in n) {
1560
1584
  const i = n[e], s = t ? `${t}:${e}` : e;
@@ -1562,15 +1586,15 @@ function Xe(n, l = {}, t) {
1562
1586
  }
1563
1587
  return l;
1564
1588
  }
1565
- const nn = { run: (n) => n() }, an = () => nn, Pt = typeof console.createTask < "u" ? console.createTask : an;
1566
- function sn(n, l) {
1589
+ const an = { run: (n) => n() }, sn = () => an, Pt = typeof console.createTask < "u" ? console.createTask : sn;
1590
+ function rn(n, l) {
1567
1591
  const t = l.shift(), e = Pt(t);
1568
1592
  return n.reduce(
1569
1593
  (i, s) => i.then(() => e.run(() => s(...l))),
1570
1594
  Promise.resolve()
1571
1595
  );
1572
1596
  }
1573
- function rn(n, l) {
1597
+ function dn(n, l) {
1574
1598
  const t = l.shift(), e = Pt(t);
1575
1599
  return Promise.all(n.map((i) => e.run(() => i(...l))));
1576
1600
  }
@@ -1578,7 +1602,7 @@ function Je(n, l) {
1578
1602
  for (const t of [...n])
1579
1603
  t(l);
1580
1604
  }
1581
- class dn {
1605
+ class un {
1582
1606
  constructor() {
1583
1607
  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);
1584
1608
  }
@@ -1647,10 +1671,10 @@ class dn {
1647
1671
  delete this._hooks[l];
1648
1672
  }
1649
1673
  callHook(l, ...t) {
1650
- return t.unshift(l), this.callHookWith(sn, l, ...t);
1674
+ return t.unshift(l), this.callHookWith(rn, l, ...t);
1651
1675
  }
1652
1676
  callHookParallel(l, ...t) {
1653
- return t.unshift(l), this.callHookWith(rn, l, ...t);
1677
+ return t.unshift(l), this.callHookWith(dn, l, ...t);
1654
1678
  }
1655
1679
  callHookWith(l, t, ...e) {
1656
1680
  const i = this._before || this._after ? { name: t, args: e, context: {} } : void 0;
@@ -1680,20 +1704,20 @@ class dn {
1680
1704
  };
1681
1705
  }
1682
1706
  }
1683
- function un() {
1684
- return new dn();
1707
+ function cn() {
1708
+ return new un();
1685
1709
  }
1686
- function cn(n) {
1710
+ function pn(n) {
1687
1711
  return Array.isArray(n) ? n : [n];
1688
1712
  }
1689
- const pn = ["title", "titleTemplate", "script", "style", "noscript"], $e = [
1713
+ const mn = ["title", "titleTemplate", "script", "style", "noscript"], $e = [
1690
1714
  "base",
1691
1715
  "meta",
1692
1716
  "link",
1693
1717
  "style",
1694
1718
  "script",
1695
1719
  "noscript"
1696
- ], mn = [
1720
+ ], fn = [
1697
1721
  "title",
1698
1722
  "titleTemplate",
1699
1723
  "templateParams",
@@ -1705,7 +1729,7 @@ const pn = ["title", "titleTemplate", "script", "style", "noscript"], $e = [
1705
1729
  "style",
1706
1730
  "script",
1707
1731
  "noscript"
1708
- ], fn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], At = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], hn = typeof window < "u";
1732
+ ], hn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], At = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], vn = typeof window < "u";
1709
1733
  function lt(n) {
1710
1734
  let l = 9;
1711
1735
  for (let t = 0; t < n.length; )
@@ -1717,7 +1741,7 @@ function ft(n) {
1717
1741
  }
1718
1742
  function Dt(n, l) {
1719
1743
  const { props: t, tag: e } = n;
1720
- if (fn.includes(e))
1744
+ if (hn.includes(e))
1721
1745
  return e;
1722
1746
  if (e === "link" && t.rel === "canonical")
1723
1747
  return "canonical";
@@ -1735,7 +1759,7 @@ function Dt(n, l) {
1735
1759
  function ht(n, l) {
1736
1760
  return n == null ? l || null : typeof n == "function" ? n(l) : n;
1737
1761
  }
1738
- async function vn(n, l, t) {
1762
+ async function yn(n, l, t) {
1739
1763
  const e = {
1740
1764
  tag: n,
1741
1765
  props: await Ht(
@@ -1747,17 +1771,17 @@ async function vn(n, l, t) {
1747
1771
  };
1748
1772
  return At.forEach((i) => {
1749
1773
  const s = typeof e.props[i] < "u" ? e.props[i] : t[i];
1750
- typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || pn.includes(e.tag)) && (e[i === "children" ? "innerHTML" : i] = s), delete e.props[i]);
1774
+ typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || mn.includes(e.tag)) && (e[i === "children" ? "innerHTML" : i] = s), delete e.props[i]);
1751
1775
  }), e.props.body && (e.tagPosition = "bodyClose", delete e.props.body), e.tag === "script" && typeof e.innerHTML == "object" && (e.innerHTML = JSON.stringify(e.innerHTML), e.props.type = e.props.type || "application/json"), Array.isArray(e.props.content) ? e.props.content.map((i) => ({ ...e, props: { ...e.props, content: i } })) : e;
1752
1776
  }
1753
- function yn(n, l) {
1777
+ function gn(n, l) {
1754
1778
  const t = n === "class" ? " " : ";";
1755
1779
  return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, e]) => e).map(([e, i]) => n === "style" ? `${e}:${i}` : e)), (Array.isArray(l) ? l.join(t) : l)?.split(t).filter((e) => e.trim()).filter(Boolean).join(t);
1756
1780
  }
1757
1781
  async function Ht(n, l) {
1758
1782
  for (const t of Object.keys(n)) {
1759
1783
  if (["class", "style"].includes(t)) {
1760
- n[t] = yn(t, n[t]);
1784
+ n[t] = gn(t, n[t]);
1761
1785
  continue;
1762
1786
  }
1763
1787
  if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !At.includes(t)) {
@@ -1767,13 +1791,13 @@ async function Ht(n, l) {
1767
1791
  }
1768
1792
  return n;
1769
1793
  }
1770
- const gn = 10;
1794
+ const bn = 10;
1771
1795
  async function kn(n) {
1772
1796
  const l = [];
1773
- return Object.entries(n.resolvedInput).filter(([t, e]) => typeof e < "u" && mn.includes(t)).forEach(([t, e]) => {
1774
- const i = cn(e);
1775
- l.push(...i.map((s) => vn(t, s, n)).flat());
1776
- }), (await Promise.all(l)).flat().filter(Boolean).map((t, e) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << gn) + e, t));
1797
+ return Object.entries(n.resolvedInput).filter(([t, e]) => typeof e < "u" && fn.includes(t)).forEach(([t, e]) => {
1798
+ const i = pn(e);
1799
+ l.push(...i.map((s) => yn(t, s, n)).flat());
1800
+ }), (await Promise.all(l)).flat().filter(Boolean).map((t, e) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << bn) + e, t));
1777
1801
  }
1778
1802
  const vt = {
1779
1803
  // tags
@@ -1790,8 +1814,8 @@ function He(n) {
1790
1814
  const t = n.tagPriority;
1791
1815
  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 vt && (l = vt[n.tag]), typeof t == "string" && t in yt ? l + yt[t] : l);
1792
1816
  }
1793
- const bn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], gt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
1794
- function we(n, l, t) {
1817
+ const _n = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], gt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
1818
+ function Ce(n, l, t) {
1795
1819
  if (typeof n != "string" || !n.includes("%"))
1796
1820
  return n;
1797
1821
  function e(m) {
@@ -1806,9 +1830,9 @@ function we(n, l, t) {
1806
1830
  return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((m) => {
1807
1831
  const p = e(m.slice(1));
1808
1832
  typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
1809
- }), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n = we(n, { separator: t }, t)), n;
1833
+ }), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n = Ce(n, { separator: t }, t)), n;
1810
1834
  }
1811
- async function _n(n, l = {}) {
1835
+ async function Vn(n, l = {}) {
1812
1836
  const t = l.document || n.resolvedOptions.document;
1813
1837
  if (!t || !n.dirty)
1814
1838
  return;
@@ -1827,18 +1851,18 @@ async function _n(n, l = {}) {
1827
1851
  };
1828
1852
  for (const d of ["body", "head"]) {
1829
1853
  const h = t[d]?.children, V = [];
1830
- for (const P of [...h].filter((w) => $e.includes(w.tagName.toLowerCase()))) {
1831
- const w = {
1854
+ for (const P of [...h].filter((C) => $e.includes(C.tagName.toLowerCase()))) {
1855
+ const C = {
1832
1856
  tag: P.tagName.toLowerCase(),
1833
1857
  props: await Ht(
1834
- P.getAttributeNames().reduce((k, C) => ({ ...k, [C]: P.getAttribute(C) }), {})
1858
+ P.getAttributeNames().reduce((b, w) => ({ ...b, [w]: P.getAttribute(w) }), {})
1835
1859
  ),
1836
1860
  innerHTML: P.innerHTML
1837
1861
  };
1838
- let I = 1, B = Dt(w);
1839
- for (; B && V.find((k) => k._d === B); )
1840
- B = `${B}:${I++}`;
1841
- w._d = B || void 0, V.push(w), s.elMap[P.getAttribute("data-hid") || ft(w)] = P;
1862
+ let S = 1, B = Dt(C);
1863
+ for (; B && V.find((b) => b._d === B); )
1864
+ B = `${B}:${S++}`;
1865
+ C._d = B || void 0, V.push(C), s.elMap[P.getAttribute("data-hid") || ft(C)] = P;
1842
1866
  }
1843
1867
  }
1844
1868
  }
@@ -1849,27 +1873,27 @@ async function _n(n, l = {}) {
1849
1873
  }
1850
1874
  function p({ id: d, $el: h, tag: V }) {
1851
1875
  const P = V.tag.endsWith("Attrs");
1852
- s.elMap[d] = h, P || (["textContent", "innerHTML"].forEach((w) => {
1853
- V[w] && V[w] !== h[w] && (h[w] = V[w]);
1876
+ s.elMap[d] = h, P || (["textContent", "innerHTML"].forEach((C) => {
1877
+ V[C] && V[C] !== h[C] && (h[C] = V[C]);
1854
1878
  }), m(d, "el", () => {
1855
1879
  s.elMap[d]?.remove(), delete s.elMap[d];
1856
1880
  }));
1857
- for (const [w, I] of Object.entries(V._eventHandlers || {}))
1858
- h.getAttribute(`data-${w}`) !== "" && ((V.tag === "bodyAttrs" ? t.defaultView : h).addEventListener(w.replace("on", ""), I.bind(h)), h.setAttribute(`data-${w}`, ""));
1859
- Object.entries(V.props).forEach(([w, I]) => {
1860
- const B = `attr:${w}`;
1861
- if (w === "class")
1862
- for (const k of (I || "").split(" ").filter(Boolean))
1863
- P && m(d, `${B}:${k}`, () => h.classList.remove(k)), !h.classList.contains(k) && h.classList.add(k);
1864
- else if (w === "style")
1865
- for (const k of (I || "").split(";").filter(Boolean)) {
1866
- const [C, ...H] = k.split(":").map((O) => O.trim());
1867
- m(d, `${B}:${k}:${C}`, () => {
1868
- h.style.removeProperty(C);
1869
- }), h.style.setProperty(C, H.join(":"));
1881
+ for (const [C, S] of Object.entries(V._eventHandlers || {}))
1882
+ h.getAttribute(`data-${C}`) !== "" && ((V.tag === "bodyAttrs" ? t.defaultView : h).addEventListener(C.replace("on", ""), S.bind(h)), h.setAttribute(`data-${C}`, ""));
1883
+ Object.entries(V.props).forEach(([C, S]) => {
1884
+ const B = `attr:${C}`;
1885
+ if (C === "class")
1886
+ for (const b of (S || "").split(" ").filter(Boolean))
1887
+ P && m(d, `${B}:${b}`, () => h.classList.remove(b)), !h.classList.contains(b) && h.classList.add(b);
1888
+ else if (C === "style")
1889
+ for (const b of (S || "").split(";").filter(Boolean)) {
1890
+ const [w, ...H] = b.split(":").map((O) => O.trim());
1891
+ m(d, `${B}:${b}:${w}`, () => {
1892
+ h.style.removeProperty(w);
1893
+ }), h.style.setProperty(w, H.join(":"));
1870
1894
  }
1871
1895
  else
1872
- h.getAttribute(w) !== I && h.setAttribute(w, I === !0 ? "" : String(I)), P && m(d, B, () => h.removeAttribute(w));
1896
+ h.getAttribute(C) !== S && h.setAttribute(C, S === !0 ? "" : String(S)), P && m(d, B, () => h.removeAttribute(C));
1873
1897
  });
1874
1898
  }
1875
1899
  const u = [], r = {
@@ -1895,27 +1919,27 @@ async function _n(n, l = {}) {
1895
1919
  await n.hooks.callHook("dom:renderTag", d, t, m);
1896
1920
  r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((d) => d()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
1897
1921
  }
1898
- async function Vn(n, l = {}) {
1922
+ async function Tn(n, l = {}) {
1899
1923
  const t = l.delayFn || ((e) => setTimeout(e, 10));
1900
1924
  return n._domUpdatePromise = n._domUpdatePromise || new Promise((e) => t(async () => {
1901
- await _n(n, l), delete n._domUpdatePromise, e();
1925
+ await Vn(n, l), delete n._domUpdatePromise, e();
1902
1926
  }));
1903
1927
  }
1904
1928
  // @__NO_SIDE_EFFECTS__
1905
- function Tn(n) {
1929
+ function $n(n) {
1906
1930
  return (l) => {
1907
1931
  const t = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
1908
1932
  return t && l.push(JSON.parse(t)), {
1909
1933
  mode: "client",
1910
1934
  hooks: {
1911
1935
  "entries:updated": function(e) {
1912
- Vn(e, n);
1936
+ Tn(e, n);
1913
1937
  }
1914
1938
  }
1915
1939
  };
1916
1940
  };
1917
1941
  }
1918
- const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
1942
+ const Cn = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
1919
1943
  hooks: {
1920
1944
  "tag:normalise": function({ tag: n }) {
1921
1945
  ["hid", "vmid", "key"].forEach((e) => {
@@ -1930,7 +1954,7 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
1930
1954
  const i = (e.key ? `${e.tag}:${e.key}` : e._d) || e._p, s = l[i];
1931
1955
  if (s) {
1932
1956
  let p = e?.tagDuplicateStrategy;
1933
- if (!p && $n.includes(e.tag) && (p = "merge"), p === "merge") {
1957
+ if (!p && Cn.includes(e.tag) && (p = "merge"), p === "merge") {
1934
1958
  const u = s.props;
1935
1959
  ["class", "style"].forEach((r) => {
1936
1960
  u[r] && (e.props[r] ? (r === "style" && !u[r].endsWith(";") && (u[r] += ";"), e.props[r] = `${u[r]} ${e.props[r]}`) : e.props[r] = u[r]);
@@ -1959,7 +1983,7 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
1959
1983
  }), n.tags = t, n.tags = n.tags.filter((e) => !(e.tag === "meta" && (e.props.name || e.props.property) && !e.props.content));
1960
1984
  }
1961
1985
  }
1962
- }, Cn = {
1986
+ }, Pn = {
1963
1987
  mode: "server",
1964
1988
  hooks: {
1965
1989
  "tags:resolve": function(n) {
@@ -1973,10 +1997,10 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
1973
1997
  });
1974
1998
  }
1975
1999
  }
1976
- }, Pn = ["script", "link", "bodyAttrs"], An = (n) => ({
2000
+ }, An = ["script", "link", "bodyAttrs"], Dn = (n) => ({
1977
2001
  hooks: {
1978
2002
  "tags:resolve": function(l) {
1979
- for (const t of l.tags.filter((e) => Pn.includes(e.tag)))
2003
+ for (const t of l.tags.filter((e) => An.includes(e.tag)))
1980
2004
  Object.entries(t.props).forEach(([e, i]) => {
1981
2005
  e.startsWith("on") && typeof i == "function" && (n.ssr && gt.includes(e) ? t.props[e] = `this.dataset.${e}fired = true` : delete t.props[e], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[e] = i);
1982
2006
  }), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || lt(t.props.src || t.props.href));
@@ -1988,17 +2012,17 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
1988
2012
  }
1989
2013
  }
1990
2014
  }
1991
- }), Dn = ["link", "style", "script", "noscript"], Hn = {
2015
+ }), Hn = ["link", "style", "script", "noscript"], In = {
1992
2016
  hooks: {
1993
2017
  "tag:normalise": ({ tag: n }) => {
1994
- n.key && Dn.includes(n.tag) && (n.props["data-hid"] = n._h = lt(n.key));
2018
+ n.key && Hn.includes(n.tag) && (n.props["data-hid"] = n._h = lt(n.key));
1995
2019
  }
1996
2020
  }
1997
2021
  }, Sn = {
1998
2022
  hooks: {
1999
2023
  "tags:resolve": (n) => {
2000
2024
  const l = (t) => n.tags.find((e) => e._d === t)?._p;
2001
- for (const { prefix: t, offset: e } of bn)
2025
+ for (const { prefix: t, offset: e } of _n)
2002
2026
  for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
2003
2027
  const s = l(
2004
2028
  i.tagPriority.replace(t, "")
@@ -2008,25 +2032,25 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
2008
2032
  n.tags.sort((t, e) => t._p - e._p).sort((t, e) => He(t) - He(e));
2009
2033
  }
2010
2034
  }
2011
- }, In = {
2035
+ }, Bn = {
2012
2036
  meta: "content",
2013
2037
  link: "href",
2014
2038
  htmlAttrs: "lang"
2015
- }, Bn = (n) => ({
2039
+ }, En = (n) => ({
2016
2040
  hooks: {
2017
2041
  "tags:resolve": (l) => {
2018
2042
  const { tags: t } = l, e = t.find((p) => p.tag === "title")?.textContent, i = t.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, m = s.separator || "|";
2019
- delete s.separator, s.pageTitle = we(s.pageTitle || e || "", s, m);
2043
+ delete s.separator, s.pageTitle = Ce(s.pageTitle || e || "", s, m);
2020
2044
  for (const p of t.filter((u) => u.processTemplateParams !== !1)) {
2021
- const u = In[p.tag];
2022
- u && typeof p.props[u] == "string" ? p.props[u] = we(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
2023
- typeof p[r] == "string" && (p[r] = we(p[r], s, m));
2045
+ const u = Bn[p.tag];
2046
+ u && typeof p.props[u] == "string" ? p.props[u] = Ce(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
2047
+ typeof p[r] == "string" && (p[r] = Ce(p[r], s, m));
2024
2048
  });
2025
2049
  }
2026
2050
  n._templateParams = s, n._separator = m, l.tags = t.filter((p) => p.tag !== "templateParams");
2027
2051
  }
2028
2052
  }
2029
- }), En = {
2053
+ }), Mn = {
2030
2054
  hooks: {
2031
2055
  "tags:resolve": (n) => {
2032
2056
  const { tags: l } = n;
@@ -2047,7 +2071,7 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
2047
2071
  t !== -1 && delete l[t], n.tags = l.filter(Boolean);
2048
2072
  }
2049
2073
  }
2050
- }, Mn = {
2074
+ }, Ln = {
2051
2075
  hooks: {
2052
2076
  "tags:afterResolve": function(n) {
2053
2077
  for (const l of n.tags)
@@ -2056,16 +2080,16 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
2056
2080
  }
2057
2081
  };
2058
2082
  // @__NO_SIDE_EFFECTS__
2059
- function Ln(n = {}) {
2060
- const l = Un(n);
2061
- return l.use(/* @__PURE__ */ Tn()), l;
2083
+ function Un(n = {}) {
2084
+ const l = Rn(n);
2085
+ return l.use(/* @__PURE__ */ $n()), l;
2062
2086
  }
2063
- function kt(n, l) {
2087
+ function bt(n, l) {
2064
2088
  return !n || n === "server" && l || n === "client" && !l;
2065
2089
  }
2066
- function Un(n = {}) {
2067
- const l = un();
2068
- l.addHooks(n.hooks || {}), n.document = n.document || (hn ? document : void 0);
2090
+ function Rn(n = {}) {
2091
+ const l = cn();
2092
+ l.addHooks(n.hooks || {}), n.document = n.document || (vn ? document : void 0);
2069
2093
  const t = !n.document, e = () => {
2070
2094
  p.dirty = !0, l.callHook("entries:updated", p);
2071
2095
  };
@@ -2080,7 +2104,7 @@ function Un(n = {}) {
2080
2104
  },
2081
2105
  use(u) {
2082
2106
  const r = typeof u == "function" ? u(p) : u;
2083
- (!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), kt(r.mode, t) && l.addHooks(r.hooks || {}));
2107
+ (!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), bt(r.mode, t) && l.addHooks(r.hooks || {}));
2084
2108
  },
2085
2109
  push(u, r) {
2086
2110
  delete r?.head;
@@ -2089,7 +2113,7 @@ function Un(n = {}) {
2089
2113
  input: u,
2090
2114
  ...r
2091
2115
  };
2092
- return kt(d.mode, t) && (s.push(d), e()), {
2116
+ return bt(d.mode, t) && (s.push(d), e()), {
2093
2117
  dispose() {
2094
2118
  s = s.filter((h) => h._i !== d._i), l.callHook("entries:updated", p), e();
2095
2119
  },
@@ -2116,50 +2140,50 @@ function Un(n = {}) {
2116
2140
  };
2117
2141
  return [
2118
2142
  wn,
2119
- Cn,
2120
- An,
2121
- Hn,
2143
+ Pn,
2144
+ Dn,
2145
+ In,
2122
2146
  Sn,
2123
- Bn,
2124
2147
  En,
2125
2148
  Mn,
2149
+ Ln,
2126
2150
  ...n?.plugins || []
2127
2151
  ].forEach((u) => p.use(u)), p.hooks.callHook("init", p), p;
2128
2152
  }
2129
- const Rn = oo.startsWith("3");
2130
- function Nn(n) {
2153
+ const Nn = lo.startsWith("3");
2154
+ function Fn(n) {
2131
2155
  return typeof n == "function" ? n() : o(n);
2132
2156
  }
2133
2157
  function et(n, l = "") {
2134
2158
  if (n instanceof Promise)
2135
2159
  return n;
2136
- const t = Nn(n);
2160
+ const t = Fn(n);
2137
2161
  return !n || !t ? t : Array.isArray(t) ? t.map((e) => et(e, l)) : typeof t == "object" ? Object.fromEntries(
2138
2162
  Object.entries(t).map(([e, i]) => e === "titleTemplate" || e.startsWith("on") ? [e, o(i)] : [e, et(i, e)])
2139
2163
  ) : t;
2140
2164
  }
2141
- const Fn = {
2165
+ const On = {
2142
2166
  hooks: {
2143
2167
  "entries:resolve": function(n) {
2144
2168
  for (const l of n.entries)
2145
2169
  l.resolvedInput = et(l.input);
2146
2170
  }
2147
2171
  }
2148
- }, On = "usehead";
2149
- function jn(n) {
2172
+ }, jn = "usehead";
2173
+ function Gn(n) {
2150
2174
  return {
2151
2175
  install(t) {
2152
- Rn && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(On, n));
2176
+ Nn && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(jn, n));
2153
2177
  }
2154
2178
  }.install;
2155
2179
  }
2156
- function Gn(n = {}) {
2157
- n.domDelayFn = n.domDelayFn || ((t) => to(() => setTimeout(() => t(), 0)));
2158
- const l = /* @__PURE__ */ Ln(n);
2159
- return l.use(Fn), l.install = jn(l), l;
2180
+ function qn(n = {}) {
2181
+ n.domDelayFn = n.domDelayFn || ((t) => oo(() => setTimeout(() => t(), 0)));
2182
+ const l = /* @__PURE__ */ Un(n);
2183
+ return l.use(On), l.install = Gn(l), l;
2160
2184
  }
2161
- const qn = ao(), Wn = Gn(), Kn = so();
2162
- class xn extends HTMLElement {
2185
+ const Wn = io(), Kn = qn(), xn = ro();
2186
+ class zn extends HTMLElement {
2163
2187
  vueApp;
2164
2188
  constructor() {
2165
2189
  super();
@@ -2181,13 +2205,13 @@ class xn extends HTMLElement {
2181
2205
  let r = this.attributes.getNamedItem(u)?.value;
2182
2206
  m.hasOwnProperty(u) && (r = m[u]), s[u] = r;
2183
2207
  }
2184
- this.vueApp = lo(Te, s), this.vueApp.provide("emitter", Kn), this.vueApp.use(Wn), this.vueApp.use(qn), this.vueApp.use(_o), this.vueApp.use(io), this.vueApp.use(Vo), this.vueApp.use(fo, { bootstrap: !0 });
2208
+ this.vueApp = no(Te, s), this.vueApp.provide("emitter", xn), this.vueApp.use(Kn), this.vueApp.use(Wn), this.vueApp.use(Vo), this.vueApp.use(so), this.vueApp.use(To), this.vueApp.use(ho, { bootstrap: !0 });
2185
2209
  const p = document.createElement("div");
2186
2210
  this.vueApp.mount(p), this.appendChild(p.children[0]);
2187
2211
  }
2188
2212
  }
2189
- window.customElements.define("konnectio-hotel", xn);
2213
+ window.customElements.define("konnectio-hotel", zn);
2190
2214
  export {
2191
- xn as default
2215
+ zn as default
2192
2216
  };
2193
2217
  //# sourceMappingURL=hotel.js.map