@konnectio/core 4.0.118 → 4.1.0

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