@konnectio/core 4.0.56-rc34 → 4.0.56-rc36

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