@konnectio/core 4.0.56-rc16 → 4.0.56-rc17

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 (43) hide show
  1. package/dist/{ActionField-SGZXrFG1.js → ActionField-FHpkuvKb.js} +1 -1
  2. package/dist/ActionField-FHpkuvKb.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-19huhDbT.js → AvailabilitySkeleton-5cdinrJb.js} +3 -3
  4. package/dist/AvailabilitySkeleton-5cdinrJb.js.br +0 -0
  5. package/dist/{CheckoutWindow-o4wiWlxF.js → CheckoutWindow-2QBoV8Ux.js} +1 -1
  6. package/dist/CheckoutWindow-2QBoV8Ux.js.br +0 -0
  7. package/dist/DateField.vue_vue_type_style_index_0_lang-8jh4ShrP.js +8026 -0
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-8jh4ShrP.js.br +0 -0
  9. package/dist/{Field-G2DlJtS7.js → Field-XgLyezkE.js} +1 -1
  10. package/dist/Field-XgLyezkE.js.br +0 -0
  11. package/dist/ThankYou-qlEQeAKd.js +12057 -0
  12. package/dist/ThankYou-qlEQeAKd.js.br +0 -0
  13. package/dist/{_-dt4Hj4aJ.js → _-488L5zGs.js} +5155 -5314
  14. package/dist/_-488L5zGs.js.br +0 -0
  15. package/dist/_commonjsHelpers-f3sTPFkQ.js +8 -0
  16. package/dist/availability.js +6 -6
  17. package/dist/availability.js.br +0 -0
  18. package/dist/{event-XF6pKTqj.js → event-TnRfky1i.js} +7 -7
  19. package/dist/event-TnRfky1i.js.br +0 -0
  20. package/dist/event.js +7 -7
  21. package/dist/event.js.br +0 -0
  22. package/dist/gift-card-validation.js +4 -4
  23. package/dist/gift-card-validation.js.br +0 -0
  24. package/dist/gift-card.js +5 -5
  25. package/dist/gift-card.js.br +0 -0
  26. package/dist/hotel.js +855 -814
  27. package/dist/hotel.js.br +0 -0
  28. package/dist/polyfill.js +97 -97
  29. package/dist/polyfill.js.br +0 -0
  30. package/dist/style.css +1 -1
  31. package/dist/style.css.br +0 -0
  32. package/package.json +5 -5
  33. package/dist/ActionField-SGZXrFG1.js.br +0 -0
  34. package/dist/AvailabilitySkeleton-19huhDbT.js.br +0 -0
  35. package/dist/CheckoutWindow-o4wiWlxF.js.br +0 -0
  36. package/dist/DateField.vue_vue_type_style_index_0_lang-RdYEm2Lf.js +0 -8558
  37. package/dist/DateField.vue_vue_type_style_index_0_lang-RdYEm2Lf.js.br +0 -0
  38. package/dist/Field-G2DlJtS7.js.br +0 -0
  39. package/dist/ThankYou-HbdcEofD.js +0 -13639
  40. package/dist/ThankYou-HbdcEofD.js.br +0 -0
  41. package/dist/_-dt4Hj4aJ.js.br +0 -0
  42. package/dist/_commonjsHelpers-2ufMB8rV.js +0 -30
  43. package/dist/event-XF6pKTqj.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,29 +1,29 @@
1
- import { k as j, B as ne, am as so, s as K, c as he, D as ft, F as ie, o as E, m as R, M as ao, p as a, w, ac as Le, n as y, P as V, a2 as te, R as Xe, an as lo, x as I, Y as z, K as B, y as x, $ as We, ao as ue, t as C, N as Q, W as oe, f as q, _ as Ee, a5 as mt, a6 as gt, v as J, r as ce, ap as vt, H as Ue, G as be, q as yt, C as le, aq as uo, X as co, A as ke, I as bt, l as Ze, T as ee, z as Y, ar as po, a4 as ho, ab as fo, a0 as mo, L as et, J as N, a3 as go, as as kt, at as vo, a7 as yo, a8 as bo, a9 as ko, aa as _o } from "./_-dt4Hj4aJ.js";
2
- import { R as Eo, B as Ge, a as To, S as Co, M as Io, T as $o, G as So } from "./ThankYou-HbdcEofD.js";
3
- import { A as Vo, H as Lo } from "./AvailabilitySkeleton-19huhDbT.js";
4
- import { _ as Po } from "./DateField.vue_vue_type_style_index_0_lang-RdYEm2Lf.js";
5
- import { C as Ne, P as xo, a as wo } from "./CheckoutWindow-o4wiWlxF.js";
6
- import { c as _t, g as Et } from "./_commonjsHelpers-2ufMB8rV.js";
7
- import "./ActionField-SGZXrFG1.js";
8
- import "./Field-G2DlJtS7.js";
9
- const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
1
+ import { k as j, B as re, am as ao, s as Q, c as me, D as gt, F as se, o as E, m as R, M as lo, p as s, w as x, ac as Pe, n as y, P as V, a2 as ne, R as Ze, an as uo, x as I, Y as z, K as B, y as P, $ as Fe, ao as ue, t as C, N as K, W as ie, f as q, _ as Ce, a5 as vt, a6 as yt, v as J, r as ce, ap as bt, H as Ge, G as _e, q as kt, C as le, aq as co, X as po, A as Ee, I as _t, l as et, T as oe, z as Y, ar as ho, a4 as fo, ab as mo, a0 as go, L as tt, J as N, a3 as vo, as as Et, at as yo, a7 as bo, a8 as ko, a9 as _o, aa as Eo } from "./_-488L5zGs.js";
2
+ import { R as To, B as je, a as Co, S as Io, M as $o, T as So, G as Vo } from "./ThankYou-qlEQeAKd.js";
3
+ import { A as Lo, H as Po } from "./AvailabilitySkeleton-5cdinrJb.js";
4
+ import { _ as wo } from "./DateField.vue_vue_type_style_index_0_lang-8jh4ShrP.js";
5
+ import { C as Ne, P as xo, a as Oo } from "./CheckoutWindow-2QBoV8Ux.js";
6
+ import { c as Tt, g as Ct } from "./_commonjsHelpers-f3sTPFkQ.js";
7
+ import "./ActionField-FHpkuvKb.js";
8
+ import "./Field-XgLyezkE.js";
9
+ const Ao = { key: 0 }, Ho = { key: 1 }, we = /* @__PURE__ */ j({
10
10
  __name: "HotelReservationForm",
11
11
  props: {
12
12
  showGiftCard: { type: Boolean, default: !1 },
13
13
  showTermsNotice: { type: Boolean, default: !1 }
14
14
  },
15
15
  setup(o) {
16
- const { t: e } = ne(), t = so(), {
16
+ const { t: e } = re(), t = ao(), {
17
17
  hideArrivalDepartureInputs: n,
18
18
  disableArrivalUserSelection: p,
19
- disableDepartureUserSelection: s,
19
+ disableDepartureUserSelection: a,
20
20
  arrivalDefault: h,
21
21
  departureDefault: c,
22
22
  currency: l
23
- } = K(he()), {
23
+ } = Q(me()), {
24
24
  arrivalDate: u,
25
25
  departureDate: f
26
- } = K(ft()), {
26
+ } = Q(gt()), {
27
27
  arrivalTime: g,
28
28
  departureTime: _,
29
29
  roomDisplay: d,
@@ -33,117 +33,117 @@ const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
33
33
  getSelectedPackageRoom: i,
34
34
  selectedPackage: r,
35
35
  discountVouchers: v
36
- } = K(ie()), { removeRoom: T } = ie();
37
- function $(L) {
38
- return L.reduce((H, { totalPrice: D }) => H + D, 0);
36
+ } = Q(se()), { removeRoom: T } = se();
37
+ function S(L) {
38
+ return L.reduce((M, { totalPrice: A }) => M + A, 0);
39
39
  }
40
- return (L, A) => (E(), R(Eo, {
41
- "total-price": a(k),
40
+ return (L, H) => (E(), R(To, {
41
+ "total-price": s(k),
42
42
  "show-gift-card": L.showGiftCard,
43
43
  "show-terms-notice": L.showTermsNotice,
44
- "is-sidebar-loading": a(m),
45
- notice: a(e)("hotel.reservationNotice")
46
- }, ao({
47
- form: w(() => [
48
- Le(L.$slots, "form")
44
+ "is-sidebar-loading": s(m),
45
+ notice: s(e)("hotel.reservationNotice")
46
+ }, lo({
47
+ form: x(() => [
48
+ Pe(L.$slots, "form")
49
49
  ]),
50
- "reservation-summary": w(() => [
50
+ "reservation-summary": x(() => [
51
51
  y("li", null, [
52
- y("span", null, V(a(e)("booking.reservation.arrival")), 1),
53
- y("b", null, V(a(n) ? a(te)(a(u)) : `${a(te)(a(u))}, ${a(p) ? a(h) : a(g)}`), 1)
52
+ y("span", null, V(s(e)("booking.reservation.arrival")), 1),
53
+ y("b", null, V(s(n) ? s(ne)(s(u)) : `${s(ne)(s(u))}, ${s(p) ? s(h) : s(g)}`), 1)
54
54
  ]),
55
55
  y("li", null, [
56
- y("span", null, V(a(e)("booking.reservation.departure")), 1),
57
- y("b", null, V(a(n) ? a(te)(a(f)) : `${a(te)(a(f))}, ${a(s) ? a(c) : a(_)}`), 1)
56
+ y("span", null, V(s(e)("booking.reservation.departure")), 1),
57
+ y("b", null, V(s(n) ? s(ne)(s(f)) : `${s(ne)(s(f))}, ${s(a) ? s(c) : s(_)}`), 1)
58
58
  ]),
59
59
  y("li", null, [
60
- y("span", null, V(a(e)("booking.reservation.nights")), 1),
61
- y("b", null, V(a(Xe)(a(u), a(f))) + " " + V(a(lo)(a(Xe)(a(u), a(f)) === 1 ? a(e)("booking.reservation.night") : a(e)("booking.reservation.nights"))), 1)
60
+ y("span", null, V(s(e)("booking.reservation.nights")), 1),
61
+ y("b", null, V(s(Ze)(s(u), s(f))) + " " + V(s(uo)(s(Ze)(s(u), s(f)) === 1 ? s(e)("booking.reservation.night") : s(e)("booking.reservation.nights"))), 1)
62
62
  ]),
63
- a(v) ? (E(!0), I(B, { key: 0 }, z(a(v), (H) => (E(), I("li", {
64
- key: H.id
63
+ s(v) ? (E(!0), I(B, { key: 0 }, z(s(v), (M) => (E(), I("li", {
64
+ key: M.id
65
65
  }, [
66
- y("span", null, V(`${a(e)("general.discountCode")} (${H.value})`), 1),
67
- y("b", null, V(H.key), 1)
68
- ]))), 128)) : x("", !0)
66
+ y("span", null, V(`${s(e)("general.discountCode")} (${M.value})`), 1),
67
+ y("b", null, V(M.key), 1)
68
+ ]))), 128)) : P("", !0)
69
69
  ]),
70
- "price-summary": w(() => [
71
- isNaN(a(b)) && a(d).length > 0 ? (E(!0), I(B, { key: 0 }, z(a(d), ({
72
- roomGroupID: H,
73
- title: D,
74
- variants: W
75
- }) => (E(), I("div", { key: H }, [
70
+ "price-summary": x(() => [
71
+ isNaN(s(b)) && s(d).length > 0 ? (E(!0), I(B, { key: 0 }, z(s(d), ({
72
+ roomGroupID: M,
73
+ title: A,
74
+ variants: F
75
+ }) => (E(), I("div", { key: M }, [
76
76
  y("h6", null, [
77
- y("span", null, V(D), 1)
77
+ y("span", null, V(A), 1)
78
78
  ]),
79
- (E(!0), I(B, null, z(W, (X, re) => (E(), I("div", { key: re }, [
80
- (E(!0), I(B, null, z(X.rooms, (U, Te) => (E(), I("ul", { key: Te }, [
79
+ (E(!0), I(B, null, z(F, (X, ae) => (E(), I("div", { key: ae }, [
80
+ (E(!0), I(B, null, z(X.rooms, (G, Ie) => (E(), I("ul", { key: Ie }, [
81
81
  y("li", null, [
82
82
  y("span", null, [
83
83
  y("span", null, [
84
- We(V(a(ue)(X.name)) + " ( ", 1),
85
- C(Q, {
84
+ Fe(V(s(ue)(X.name)) + " ( ", 1),
85
+ C(K, {
86
86
  icon: "male",
87
87
  type: "fas",
88
88
  color: "font"
89
89
  }),
90
- y("span", null, V(U.adultsCount), 1),
91
- U.childrenCount > 0 ? (E(), I(B, { key: 0 }, [
92
- C(Q, {
90
+ y("span", null, V(G.adultsCount), 1),
91
+ G.childrenCount > 0 ? (E(), I(B, { key: 0 }, [
92
+ C(K, {
93
93
  icon: "child",
94
94
  type: "fas",
95
95
  color: "font"
96
96
  }),
97
- y("span", null, V(U.childrenCount), 1)
98
- ], 64)) : x("", !0),
99
- We(") ")
97
+ y("span", null, V(G.childrenCount), 1)
98
+ ], 64)) : P("", !0),
99
+ Fe(") ")
100
100
  ])
101
101
  ]),
102
102
  y("b", null, [
103
- y("span", null, V(a(oe)(U.totalPrice, a(l))), 1),
104
- x("", !0)
103
+ y("span", null, V(s(ie)(G.totalPrice, s(l))), 1),
104
+ P("", !0)
105
105
  ])
106
106
  ]),
107
- $(U.roomAddons) > 0 ? (E(), I("li", Ao, [
108
- y("span", null, V(a(e)("general.addons")), 1),
109
- y("b", null, V(a(oe)($(U.roomAddons), a(l))), 1)
110
- ])) : x("", !0)
107
+ S(G.roomAddons) > 0 ? (E(), I("li", Ao, [
108
+ y("span", null, V(s(e)("general.addons")), 1),
109
+ y("b", null, V(s(ie)(S(G.roomAddons), s(l))), 1)
110
+ ])) : P("", !0)
111
111
  ]))), 128))
112
112
  ]))), 128))
113
- ]))), 128)) : x("", !0),
114
- a(i) && a(r) ? (E(), I("div", Oo, [
113
+ ]))), 128)) : P("", !0),
114
+ s(i) && s(r) ? (E(), I("div", Ho, [
115
115
  y("h6", null, [
116
- y("span", null, V(a(ue)(a(r).name)), 1)
116
+ y("span", null, V(s(ue)(s(r).name)), 1)
117
117
  ]),
118
118
  y("div", null, [
119
119
  y("ul", null, [
120
120
  y("li", null, [
121
121
  y("span", null, [
122
- y("span", null, V(a(ue)(a(i).title)), 1)
122
+ y("span", null, V(s(ue)(s(i).title)), 1)
123
123
  ]),
124
124
  y("b", null, [
125
- y("span", null, V(a(oe)(a(i).extraPrice, a(l))), 1)
125
+ y("span", null, V(s(ie)(s(i).extraPrice, s(l))), 1)
126
126
  ])
127
127
  ])
128
128
  ])
129
129
  ])
130
- ])) : x("", !0)
130
+ ])) : P("", !0)
131
131
  ]),
132
- navigation: w(() => [
133
- Le(L.$slots, "navigation")
132
+ navigation: x(() => [
133
+ Pe(L.$slots, "navigation")
134
134
  ]),
135
135
  _: 2
136
136
  }, [
137
- a(t).addons ? {
137
+ s(t).addons ? {
138
138
  name: "addons",
139
- fn: w(() => [
140
- Le(L.$slots, "addons")
139
+ fn: x(() => [
140
+ Pe(L.$slots, "addons")
141
141
  ]),
142
142
  key: "0"
143
143
  } : void 0
144
144
  ]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
145
145
  }
146
- }), Ho = (o) => (mt("data-v-69fe83d8"), o = o(), gt(), o), Do = { class: "konnectio-room-config-option" }, Mo = { key: 0 }, Ro = { class: "konnectio-selected-room-config" }, Bo = { class: "konnectio-selected-room-config-people" }, zo = { key: 0 }, Wo = { class: "konnectio-selected-room-config-price" }, No = /* @__PURE__ */ Ho(() => /* @__PURE__ */ y("span", null, null, -1)), Fo = /* @__PURE__ */ j({
146
+ }), Do = (o) => (vt("data-v-69fe83d8"), o = o(), yt(), o), Mo = { class: "konnectio-room-config-option" }, Ro = { key: 0 }, Bo = { class: "konnectio-selected-room-config" }, zo = { class: "konnectio-selected-room-config-people" }, Wo = { key: 0 }, Fo = { class: "konnectio-selected-room-config-price" }, No = /* @__PURE__ */ Do(() => /* @__PURE__ */ y("span", null, null, -1)), qo = /* @__PURE__ */ j({
147
147
  __name: "RoomConfigField",
148
148
  props: {
149
149
  modelValue: {},
@@ -154,15 +154,15 @@ const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
154
154
  },
155
155
  emits: ["update:modelValue"],
156
156
  setup(o, { emit: e }) {
157
- const { t } = ne(), { currency: n } = K(he()), p = e, s = o;
157
+ const { t } = re(), { currency: n } = Q(me()), p = e, a = o;
158
158
  function h(l) {
159
159
  p("update:modelValue", l);
160
160
  }
161
161
  const c = q({
162
- get: () => s.modelValue,
162
+ get: () => a.modelValue,
163
163
  set: (l) => h(l)
164
164
  });
165
- return (l, u) => (E(), R(Ee, {
165
+ return (l, u) => (E(), R(Ce, {
166
166
  modelValue: c.value,
167
167
  "onUpdate:modelValue": u[0] || (u[0] = (f) => c.value = f),
168
168
  label: l.label,
@@ -175,57 +175,57 @@ const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
175
175
  required: l.required,
176
176
  searchable: !1
177
177
  }, {
178
- option: w(({ data: f }) => [
179
- y("span", Do, [
178
+ option: x(({ data: f }) => [
179
+ y("span", Mo, [
180
180
  y("div", null, [
181
- C(Q, {
181
+ C(K, {
182
182
  icon: "male",
183
183
  type: "fas",
184
184
  color: "font"
185
185
  }),
186
186
  y("span", null, V(`${f.adults}`), 1),
187
- f.children > 0 ? (E(), I("span", Mo, [
188
- C(Q, {
187
+ f.children > 0 ? (E(), I("span", Ro, [
188
+ C(K, {
189
189
  icon: "child",
190
190
  type: "fas",
191
191
  color: "font"
192
192
  }),
193
193
  y("span", null, V(`${f.children}`), 1)
194
- ])) : x("", !0)
194
+ ])) : P("", !0)
195
195
  ]),
196
- y("span", null, V(`(${a(oe)(f.price, a(n))})`), 1)
196
+ y("span", null, V(`(${s(ie)(f.price, s(n))})`), 1)
197
197
  ])
198
198
  ]),
199
- "selected-option": w(({ data: f }) => [
200
- y("div", Ro, [
201
- y("div", Bo, [
199
+ "selected-option": x(({ data: f }) => [
200
+ y("div", Bo, [
201
+ y("div", zo, [
202
202
  y("div", null, [
203
- x("", !0),
204
- y("span", null, V(`${f.adults} ${f.adults === 1 ? a(t)("general.adult") : a(t)("general.adults")}`), 1)
203
+ P("", !0),
204
+ y("span", null, V(`${f.adults} ${f.adults === 1 ? s(t)("general.adult") : s(t)("general.adults")}`), 1)
205
205
  ]),
206
- f.children > 0 ? (E(), I("div", zo, [
207
- x("", !0),
208
- y("span", null, V(`& ${f.children} ${f.children === 1 ? a(t)("general.child") : a(t)("general.children")}`), 1)
209
- ])) : x("", !0)
206
+ f.children > 0 ? (E(), I("div", Wo, [
207
+ P("", !0),
208
+ y("span", null, V(`& ${f.children} ${f.children === 1 ? s(t)("general.child") : s(t)("general.children")}`), 1)
209
+ ])) : P("", !0)
210
210
  ]),
211
- y("div", Wo, [
211
+ y("div", Fo, [
212
212
  No,
213
- We(" " + V(`(${a(oe)(f.price, a(n))})`), 1)
213
+ Fe(" " + V(`(${s(ie)(f.price, s(n))})`), 1)
214
214
  ])
215
215
  ])
216
216
  ]),
217
217
  _: 1
218
218
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
219
219
  }
220
- }), qo = /* @__PURE__ */ J(Fo, [["__scopeId", "data-v-69fe83d8"]]), Uo = { class: "konnectio-availability-listing-selection" }, Go = { key: 1 }, jo = { class: "fresh-booking-listing-config-body" }, Yo = { class: "fresh-booking-listing-units-body" };
221
- const Ko = /* @__PURE__ */ j({
220
+ }), Uo = /* @__PURE__ */ J(qo, [["__scopeId", "data-v-69fe83d8"]]), Go = { class: "konnectio-availability-listing-selection" }, jo = { key: 1 }, Yo = { class: "fresh-booking-listing-config-body" }, Ko = { class: "fresh-booking-listing-units-body" };
221
+ const Qo = /* @__PURE__ */ j({
222
222
  __name: "Hotel",
223
223
  props: {
224
224
  room: {},
225
225
  layout: {}
226
226
  },
227
227
  setup(o) {
228
- const { t: e } = ne(), t = o, n = ce([]);
228
+ const { t: e } = re(), t = o, n = ce([]);
229
229
  function p(r) {
230
230
  n.value[r].config.push({
231
231
  id: NaN,
@@ -233,10 +233,10 @@ const Ko = /* @__PURE__ */ j({
233
233
  addons: []
234
234
  });
235
235
  }
236
- const s = q(() => t.room.rates.map((r) => ({
236
+ const a = q(() => t.room.rates.map((r) => ({
237
237
  label: r.name,
238
238
  value: r.id
239
- }))), { hideAvailableRoomAmount: h } = K(he()), { roomSelect: c } = K(ie()), { addToCart: l, removeFromCart: u } = vt(), f = (r, v) => t.room.rates.find((T) => T.id === r)?.occupantRates.find((T) => T.index === v), g = q(() => t.room.rates.reduce(
239
+ }))), { hideAvailableRoomAmount: h } = Q(me()), { roomSelect: c } = Q(se()), { addToCart: l, removeFromCart: u } = bt(), f = (r, v) => t.room.rates.find((T) => T.id === r)?.occupantRates.find((T) => T.index === v), g = q(() => t.room.rates.reduce(
240
240
  (r, v) => r < v.rackRate ? r : v.rackRate,
241
241
  1 / 0
242
242
  )), _ = q(() => t.room.rates.every((r) => r.isBreakfastIncluded === !0)), d = (r, v) => f(r, v) ? f(r, v)?.rooms : null, b = (r) => t.room.rates.length > 0 ? t.room.rates.find((v) => v.id === r)?.occupantRates.map((v) => ({
@@ -263,28 +263,28 @@ const Ko = /* @__PURE__ */ j({
263
263
  }]
264
264
  });
265
265
  }
266
- Ue(() => {
266
+ Ge(() => {
267
267
  m();
268
268
  });
269
269
  const i = q(() => JSON.parse(JSON.stringify(n.value)));
270
- return be(i, (r, v) => {
271
- v.length > 0 && r.forEach((T, $) => {
272
- T.config.forEach((L, A) => {
273
- const H = L.units, D = v[$].config[A].units;
274
- H !== D && (H > D ? (n.value[$].config[A].addons.push({}), l({
270
+ return _e(i, (r, v) => {
271
+ v.length > 0 && r.forEach((T, S) => {
272
+ T.config.forEach((L, H) => {
273
+ const M = L.units, A = v[S].config[H].units;
274
+ M !== A && (M > A ? (n.value[S].config[H].addons.push({}), l({
275
275
  id: t.room.id,
276
276
  name: t.room.title,
277
- value: t.room.rates[$].rackRate
278
- })) : (n.value[$].config[A].addons.pop(), u({
277
+ value: t.room.rates[S].rackRate
278
+ })) : (n.value[S].config[H].addons.pop(), u({
279
279
  id: t.room.id,
280
280
  name: t.room.title,
281
- value: t.room.rates[$].rackRate
281
+ value: t.room.rates[S].rackRate
282
282
  })));
283
283
  });
284
284
  });
285
- }, { deep: !0 }), be(n, () => {
285
+ }, { deep: !0 }), _e(n, () => {
286
286
  c.value[t.room.id] = n.value;
287
- }, { deep: !0 }), (r, v) => (E(), R(Ge, {
287
+ }, { deep: !0 }), (r, v) => (E(), R(je, {
288
288
  "listing-id": r.room.id,
289
289
  gallery: r.room.images,
290
290
  name: r.room.title,
@@ -294,69 +294,69 @@ const Ko = /* @__PURE__ */ j({
294
294
  "prices-from": g.value,
295
295
  "includes-breakfast": _.value
296
296
  }, {
297
- action: w(() => [
298
- y("div", Uo, [
299
- (E(!0), I(B, null, z(n.value, (T, $) => (E(), I("div", {
297
+ action: x(() => [
298
+ y("div", Go, [
299
+ (E(!0), I(B, null, z(n.value, (T, S) => (E(), I("div", {
300
300
  key: T.id,
301
301
  class: "freshbooking-hotel-room"
302
302
  }, [
303
- k.value ? (E(), R(Ee, {
303
+ k.value ? (E(), R(Ce, {
304
304
  key: 0,
305
305
  modelValue: T.id,
306
306
  "onUpdate:modelValue": (L) => T.id = L,
307
- label: a(e)("hotel.roomVariant"),
308
- placeholder: a(e)("hotel.chooseARoomVariant"),
309
- options: s.value,
307
+ label: s(e)("hotel.roomVariant"),
308
+ placeholder: s(e)("hotel.chooseARoomVariant"),
309
+ options: a.value,
310
310
  searchable: !1
311
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : x("", !0),
312
- T.id ? (E(), I("div", Go, [
311
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : P("", !0),
312
+ T.id ? (E(), I("div", jo, [
313
313
  (E(!0), I(B, null, z(r.room.rates, ({
314
314
  id: L,
315
- maximumOccupants: A
315
+ maximumOccupants: H
316
316
  }) => (E(), I("div", {
317
317
  key: L,
318
318
  class: "booking-availability-listing-action-selective-i"
319
319
  }, [
320
- T.id === L ? (E(!0), I(B, { key: 0 }, z(T.config, (H, D) => (E(), I("div", {
321
- key: D,
320
+ T.id === L ? (E(!0), I(B, { key: 0 }, z(T.config, (M, A) => (E(), I("div", {
321
+ key: A,
322
322
  class: "booking-availability-listing-action-selective"
323
323
  }, [
324
- y("ul", jo, [
325
- C(qo, {
326
- modelValue: H.id,
327
- "onUpdate:modelValue": (W) => H.id = W,
324
+ y("ul", Yo, [
325
+ C(Uo, {
326
+ modelValue: M.id,
327
+ "onUpdate:modelValue": (F) => M.id = F,
328
328
  icon: "male",
329
329
  "icon-type": "fas",
330
- label: a(e)("general.guests"),
331
- description: `${a(e)("general.maximumGuests")}: ${A}`,
330
+ label: s(e)("general.guests"),
331
+ description: `${s(e)("general.maximumGuests")}: ${H}`,
332
332
  options: b(L),
333
333
  readonly: !(b(L).length > 1)
334
334
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
335
335
  ]),
336
- y("ul", Yo, [
337
- C(yt, {
338
- modelValue: H.units,
339
- "onUpdate:modelValue": (W) => H.units = W,
340
- description: a(h) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${d(T.id, H.id)}`,
336
+ y("ul", Ko, [
337
+ C(kt, {
338
+ modelValue: M.units,
339
+ "onUpdate:modelValue": (F) => M.units = F,
340
+ description: s(h) ? void 0 : `${s(e)("booking.availability.availableUnits")}: ${d(T.id, M.id)}`,
341
341
  icon: "house",
342
342
  "icon-type": "fas",
343
343
  "icon-placement": "label",
344
- label: a(e)("booking.availability.units"),
344
+ label: s(e)("booking.availability.units"),
345
345
  minValue: 0,
346
- "max-value": d(L, H.id) || 1 / 0
346
+ "max-value": d(L, M.id) || 1 / 0
347
347
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
348
348
  ]),
349
- x("", !0)
350
- ]))), 128)) : x("", !0)
349
+ P("", !0)
350
+ ]))), 128)) : P("", !0)
351
351
  ]))), 128))
352
- ])) : x("", !0)
352
+ ])) : P("", !0)
353
353
  ]))), 128))
354
354
  ])
355
355
  ]),
356
356
  _: 1
357
357
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
358
358
  }
359
- }), Qo = /* @__PURE__ */ J(Ko, [["__scopeId", "data-v-0c06b41d"]]), Jo = { class: "konnectio-template-side-panel" }, Xo = { class: "konnectio-template-side-panel-listings" }, Zo = /* @__PURE__ */ j({
359
+ }), Jo = /* @__PURE__ */ J(Qo, [["__scopeId", "data-v-0c06b41d"]]), Xo = { class: "konnectio-template-side-panel" }, Zo = { class: "konnectio-template-side-panel-listings" }, en = /* @__PURE__ */ j({
360
360
  __name: "Template",
361
361
  props: {
362
362
  title: {},
@@ -365,17 +365,17 @@ const Ko = /* @__PURE__ */ j({
365
365
  callback: { type: Function }
366
366
  },
367
367
  setup(o) {
368
- const { t: e } = ne(), { templateID: t, roomGroupID: n } = K(ie()), { currency: p } = K(he()), { clearRoomSelection: s } = ie(), h = o;
368
+ const { t: e } = re(), { templateID: t, roomGroupID: n } = Q(se()), { currency: p } = Q(me()), { clearRoomSelection: a } = se(), h = o;
369
369
  function c(l) {
370
- t.value = h.templateId, n.value = l, s(), h.callback(2);
370
+ t.value = h.templateId, n.value = l, a(), h.callback(2);
371
371
  }
372
- return (l, u) => (E(), R(To, {
372
+ return (l, u) => (E(), R(Co, {
373
373
  title: l.title,
374
- subtitle: a(e)("booking.availability.selectATemplateRoom")
374
+ subtitle: s(e)("booking.availability.selectATemplateRoom")
375
375
  }, {
376
- default: w(() => [
377
- y("div", Jo, [
378
- y("div", Xo, [
376
+ default: x(() => [
377
+ y("div", Xo, [
378
+ y("div", Zo, [
379
379
  (E(!0), I(B, null, z(l.roomGroups, ({
380
380
  id: f,
381
381
  title: g,
@@ -383,7 +383,7 @@ const Ko = /* @__PURE__ */ j({
383
383
  images: d,
384
384
  facilities: b,
385
385
  extraPrice: k
386
- }) => (E(), R(Ge, {
386
+ }) => (E(), R(je, {
387
387
  key: f,
388
388
  "listing-id": f,
389
389
  name: g,
@@ -393,11 +393,11 @@ const Ko = /* @__PURE__ */ j({
393
393
  "includes-breakfast": !1,
394
394
  "hide-info-button": !0
395
395
  }, {
396
- action: w(() => [
396
+ action: x(() => [
397
397
  y("div", null, [
398
398
  C(le, {
399
399
  onClickEvent: (m) => c(f),
400
- label: `${a(e)("booking.availability.selectThisRoom")} (${a(oe)(k, a(p))})`,
400
+ label: `${s(e)("booking.availability.selectThisRoom")} (${s(ie)(k, s(p))})`,
401
401
  "full-width": ""
402
402
  }, null, 8, ["onClickEvent", "label"])
403
403
  ])
@@ -410,19 +410,21 @@ const Ko = /* @__PURE__ */ j({
410
410
  _: 1
411
411
  }, 8, ["title", "subtitle"]));
412
412
  }
413
- }), en = /* @__PURE__ */ J(Zo, [["__scopeId", "data-v-4c035ea3"]]), tn = ["innerHTML"], on = /* @__PURE__ */ j({
413
+ }), tn = /* @__PURE__ */ J(en, [["__scopeId", "data-v-4c035ea3"]]), on = ["innerHTML"], nn = /* @__PURE__ */ j({
414
414
  __name: "Template",
415
415
  props: {
416
416
  id: {},
417
417
  weekendFee: {},
418
418
  description: {},
419
419
  name: {},
420
+ toDate: {},
421
+ fromDate: {},
420
422
  image: {},
421
423
  roomGroups: {},
422
424
  callback: { type: Function }
423
425
  },
424
426
  setup(o) {
425
- const { t: e } = ne(), t = o, n = q(() => t.roomGroups.reduce(
427
+ const { t: e } = re(), t = o, n = q(() => t.roomGroups.reduce(
426
428
  (l, u) => l < u.extraPrice ? l : u.extraPrice,
427
429
  1 / 0
428
430
  )), p = q(() => [{
@@ -430,42 +432,42 @@ const Ko = /* @__PURE__ */ j({
430
432
  medium: t.image.url,
431
433
  thumb: t.image.url,
432
434
  url: t.image.url
433
- }]), s = ce(!1);
435
+ }]), a = ce(!1);
434
436
  function h() {
435
- s.value = !0;
437
+ a.value = !0;
436
438
  }
437
439
  function c(l) {
438
- t.callback(l), s.value = !1;
440
+ t.callback(l), a.value = !1;
439
441
  }
440
- return (l, u) => (E(), R(Ge, {
442
+ return (l, u) => (E(), R(je, {
441
443
  "listing-id": l.id,
442
444
  name: l.name,
443
445
  description: l.description,
444
446
  gallery: p.value,
445
- layout: a(co).Template,
447
+ layout: s(po).Template,
446
448
  "includes-breakfast": !1,
447
449
  "hide-info-button": !1,
448
450
  "prices-from": n.value
449
451
  }, {
450
- description: w(() => [
452
+ description: x(() => [
451
453
  l.description ? (E(), I("p", {
452
454
  key: 0,
453
- innerHTML: a(uo)(l.description)
454
- }, null, 8, tn)) : x("", !0)
455
+ innerHTML: s(co)(l.description)
456
+ }, null, 8, on)) : P("", !0)
455
457
  ]),
456
- action: w(() => [
458
+ action: x(() => [
457
459
  y("div", null, [
458
460
  C(le, {
459
461
  onClickEvent: h,
460
- label: a(e)("booking.availability.selectPackage"),
462
+ label: s(e)("booking.availability.selectPackage"),
461
463
  "full-width": ""
462
464
  }, null, 8, ["label"])
463
465
  ])
464
466
  ]),
465
- default: w(() => [
466
- C(en, {
467
- modelValue: s.value,
468
- "onUpdate:modelValue": u[0] || (u[0] = (f) => s.value = f),
467
+ default: x(() => [
468
+ C(tn, {
469
+ modelValue: a.value,
470
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => a.value = f),
469
471
  title: l.name,
470
472
  "template-id": l.id,
471
473
  roomGroups: l.roomGroups,
@@ -475,7 +477,7 @@ const Ko = /* @__PURE__ */ j({
475
477
  _: 1
476
478
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
477
479
  }
478
- }), nn = /* @__PURE__ */ J(on, [["__scopeId", "data-v-edc2f058"]]), tt = /* @__PURE__ */ j({
480
+ }), ot = /* @__PURE__ */ J(nn, [["__scopeId", "data-v-28af7ba3"]]), nt = /* @__PURE__ */ j({
479
481
  __name: "TimeField",
480
482
  props: {
481
483
  modelValue: {},
@@ -504,12 +506,12 @@ const Ko = /* @__PURE__ */ j({
504
506
  function p(h) {
505
507
  t("update:modelValue", h);
506
508
  }
507
- const s = ce(n.modelValue);
508
- return be(s, (h) => {
509
+ const a = ce(n.modelValue);
510
+ return _e(a, (h) => {
509
511
  p(h);
510
- }), (h, c) => (E(), R(Po, {
511
- modelValue: s.value,
512
- "onUpdate:modelValue": c[0] || (c[0] = (l) => s.value = l),
512
+ }), (h, c) => (E(), R(wo, {
513
+ modelValue: a.value,
514
+ "onUpdate:modelValue": c[0] || (c[0] = (l) => a.value = l),
513
515
  type: "time",
514
516
  label: h.label,
515
517
  id: h.id,
@@ -534,34 +536,34 @@ const Ko = /* @__PURE__ */ j({
534
536
  },
535
537
  emits: ["update:modelValue"],
536
538
  setup(o, { emit: e }) {
537
- const { t } = ne(), n = e, p = o;
538
- function s(c) {
539
+ const { t } = re(), n = e, p = o;
540
+ function a(c) {
539
541
  n("update:modelValue", c);
540
542
  }
541
543
  const h = q({
542
544
  get: () => p.modelValue,
543
- set: (c) => s(c)
545
+ set: (c) => a(c)
544
546
  });
545
- return (c, l) => (E(), R(Ee, {
547
+ return (c, l) => (E(), R(Ce, {
546
548
  modelValue: h.value,
547
549
  "onUpdate:modelValue": l[0] || (l[0] = (u) => h.value = u),
548
550
  label: c.label,
549
- placeholder: a(t)("booking.reservation.countryPlaceholder"),
551
+ placeholder: s(t)("booking.reservation.countryPlaceholder"),
550
552
  labelKey: "name",
551
553
  valueKey: "id",
552
554
  options: c.options,
553
555
  required: c.required
554
556
  }, {
555
- option: w(({ data: u }) => [
557
+ option: x(({ data: u }) => [
556
558
  y("i", {
557
- class: ke(["konnectio-flag-icon", u.iso])
559
+ class: Ee(["konnectio-flag-icon", u.iso])
558
560
  }, null, 2),
559
561
  y("span", null, V(u.name), 1)
560
562
  ]),
561
- "selected-option": w(({ data: u }) => [
563
+ "selected-option": x(({ data: u }) => [
562
564
  y("div", rn, [
563
565
  y("i", {
564
- class: ke(["konnectio-flag-icon", u.iso])
566
+ class: Ee(["konnectio-flag-icon", u.iso])
565
567
  }, null, 2),
566
568
  y("span", null, V(u.name), 1)
567
569
  ])
@@ -583,20 +585,20 @@ const Ko = /* @__PURE__ */ j({
583
585
  function p(h) {
584
586
  t("update:modelValue", h);
585
587
  }
586
- const s = q({
588
+ const a = q({
587
589
  get: () => n.modelValue,
588
590
  set: (h) => p(h)
589
591
  });
590
- return (h, c) => (E(), R(bt, {
592
+ return (h, c) => (E(), R(_t, {
591
593
  label: h.label,
592
594
  type: "multi-radio"
593
595
  }, {
594
- default: w(() => [
596
+ default: x(() => [
595
597
  y("ul", ln, [
596
598
  (E(!0), I(B, null, z(h.checkboxes, ({ label: l, value: u }, f) => (E(), I("li", { key: f }, [
597
599
  C(Ne, {
598
- modelValue: s.value,
599
- "onUpdate:modelValue": c[0] || (c[0] = (g) => s.value = g),
600
+ modelValue: a.value,
601
+ "onUpdate:modelValue": c[0] || (c[0] = (g) => a.value = g),
600
602
  label: l,
601
603
  name: h.name,
602
604
  type: "radio",
@@ -630,58 +632,58 @@ const Ko = /* @__PURE__ */ j({
630
632
  },
631
633
  emits: ["update:modelValue", "update:title"],
632
634
  setup(o, { emit: e }) {
633
- const t = o, n = e, p = t.id || Ze(), s = ce(""), h = ce(2);
635
+ const t = o, n = e, p = t.id || et(), a = ce(""), h = ce(2);
634
636
  function c() {
635
- n("update:modelValue", s.value);
637
+ n("update:modelValue", a.value);
636
638
  }
637
- be(h, (u) => {
639
+ _e(h, (u) => {
638
640
  n("update:title", u);
639
641
  });
640
- const { t: l } = ne();
641
- return Ue(() => {
642
- t.modelValue && (s.value = t.modelValue), t.title && (h.value = t.title);
643
- }), (u, f) => (E(), R(bt, {
642
+ const { t: l } = re();
643
+ return Ge(() => {
644
+ t.modelValue && (a.value = t.modelValue), t.title && (h.value = t.title);
645
+ }), (u, f) => (E(), R(_t, {
644
646
  label: u.label,
645
- id: a(p),
647
+ id: s(p),
646
648
  required: u.required,
647
649
  type: "fresh-booking-name-field",
648
650
  readonly: u.readonly,
649
651
  limit: u.limit
650
652
  }, {
651
- default: w(() => [
653
+ default: x(() => [
652
654
  y("div", {
653
- class: ke([
655
+ class: Ee([
654
656
  "fresh-booking-name-input",
655
657
  { "no-title": u.excludeTitle }
656
658
  ])
657
659
  }, [
658
- u.excludeTitle ? x("", !0) : (E(), R(Ee, {
660
+ u.excludeTitle ? P("", !0) : (E(), R(Ce, {
659
661
  key: 0,
660
662
  modelValue: h.value,
661
663
  "onUpdate:modelValue": f[0] || (f[0] = (g) => h.value = g),
662
- id: a(Ze)(),
664
+ id: s(et)(),
663
665
  icon: u.icon,
664
666
  "icon-color": u.iconColor,
665
667
  "icon-type": u.iconType,
666
668
  options: [
667
669
  {
668
- label: a(l)("booking.reservation.noNameTitle"),
670
+ label: s(l)("booking.reservation.noNameTitle"),
669
671
  value: 1
670
672
  },
671
673
  {
672
- label: a(l)("booking.reservation.nameTitleMr"),
674
+ label: s(l)("booking.reservation.nameTitleMr"),
673
675
  value: 2
674
676
  },
675
677
  {
676
- label: a(l)("booking.reservation.nameTitleMs"),
678
+ label: s(l)("booking.reservation.nameTitleMs"),
677
679
  value: 3
678
680
  },
679
681
  {
680
- label: a(l)("booking.reservation.nameTitleMrs"),
682
+ label: s(l)("booking.reservation.nameTitleMrs"),
681
683
  value: 4
682
684
  },
683
685
  {
684
- label: a(l)("booking.reservation.nameTitleDr"),
686
+ label: s(l)("booking.reservation.nameTitleDr"),
685
687
  value: 5
686
688
  }
687
689
  ],
@@ -690,13 +692,13 @@ const Ko = /* @__PURE__ */ j({
690
692
  "input-style": u.inputStyle,
691
693
  searchable: !1
692
694
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
693
- C(ee, {
694
- modelValue: s.value,
695
- "onUpdate:modelValue": f[1] || (f[1] = (g) => s.value = g),
695
+ C(oe, {
696
+ modelValue: a.value,
697
+ "onUpdate:modelValue": f[1] || (f[1] = (g) => a.value = g),
696
698
  type: "text",
697
699
  name: "name",
698
700
  autocomplete: "name",
699
- id: a(p),
701
+ id: s(p),
700
702
  icon: u.excludeTitle ? u.icon : void 0,
701
703
  "icon-color": u.iconColor,
702
704
  "icon-type": u.iconType,
@@ -773,59 +775,65 @@ const Ko = /* @__PURE__ */ j({
773
775
  setup(o) {
774
776
  return (e, t) => (E(), I("div", En, [
775
777
  y("div", Tn, [
776
- C(Vo, { hotel: "" }),
778
+ C(Lo, { hotel: "" }),
777
779
  C(de),
778
780
  C(de),
779
781
  C(de)
780
782
  ]),
781
783
  y("div", Cn, [
782
- C(Co)
784
+ C(Io)
783
785
  ])
784
786
  ]));
785
787
  }
786
- }), $n = /* @__PURE__ */ J(In, [["__scopeId", "data-v-49e83cbb"]]), Sn = (o) => (mt("data-v-fd9b6d4f"), o = o(), gt(), o), Vn = { id: "booking-availability-container" }, Ln = { id: "booking-availability-controls" };
787
- const Pn = { key: 1 }, xn = { key: 0 }, wn = {
788
+ }), $n = /* @__PURE__ */ J(In, [["__scopeId", "data-v-49e83cbb"]]), Sn = (o) => (vt("data-v-55cda648"), o = o(), yt(), o), Vn = { id: "booking-availability-container" }, Ln = { id: "booking-availability-controls" };
789
+ const Pn = { key: 1 }, wn = { key: 0 }, xn = {
788
790
  key: 0,
789
791
  id: "booking-availability-packages"
790
- }, An = {
792
+ }, On = {
791
793
  key: 0,
792
794
  class: "konnectio-hotel-availability-title"
793
- }, On = { id: "booking-availability-packages-wrapper" }, Hn = { key: 1 }, Dn = {
795
+ }, An = { id: "booking-availability-packages-wrapper" }, Hn = { key: 1 }, Dn = {
794
796
  key: 0,
795
797
  class: "konnectio-hotel-availability-title"
796
798
  }, Mn = { id: "booking-availability-listings" }, Rn = {
797
799
  key: 2,
800
+ id: "booking-availability-packages"
801
+ }, Bn = {
802
+ key: 0,
803
+ class: "konnectio-hotel-availability-title"
804
+ }, zn = { id: "booking-availability-packages-wrapper" }, Wn = {
805
+ key: 3,
798
806
  id: "booking-availability-no-listings",
799
807
  class: "fresh-booking-panel"
800
- }, Bn = {
808
+ }, Fn = {
801
809
  key: 1,
802
810
  id: "booking-availability-no-listings"
803
- }, zn = {
811
+ }, Nn = {
804
812
  key: 2,
805
813
  id: "reservation-availability-next-dates"
806
- }, Wn = { class: "konnectio-hotel-availability-title" }, Nn = { class: "reservation-special-offers-grid" }, Fn = ["title"];
807
- const qn = {
814
+ }, qn = { class: "konnectio-hotel-availability-title" }, Un = { class: "reservation-special-offers-grid" }, Gn = ["title"];
815
+ const jn = {
808
816
  key: 2,
809
817
  class: "konnectio-listing-loading"
810
- }, Un = { class: "fresh-booking-panel" }, Gn = {
818
+ }, Yn = { class: "fresh-booking-panel" }, Kn = {
811
819
  key: 0,
812
820
  id: "konnectio-hotel-addons"
813
821
  };
814
- const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn = /* @__PURE__ */ Sn(() => /* @__PURE__ */ y("br", null, null, -1)), Qn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 }, Zn = { key: 1 }, ei = { class: "fresh-booking-split-inputs" }, ti = ["onClick"], oi = /* @__PURE__ */ j({
822
+ const Qn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn = /* @__PURE__ */ Sn(() => /* @__PURE__ */ y("br", null, null, -1)), Zn = ["onClick"], ei = { class: "fresh-booking-panel" }, ti = { key: 0 }, oi = { key: 1 }, ni = { class: "fresh-booking-split-inputs" }, ii = ["onClick"], ri = /* @__PURE__ */ j({
815
823
  name: "HotelLayout",
816
824
  __name: "Hotel",
817
825
  props: {
818
826
  accessToken: {},
819
- headerLayout: { default: po.Minimal },
827
+ headerLayout: { default: ho.Minimal },
820
828
  onlyShow: { default: "everything" },
821
829
  styling: {}
822
830
  },
823
831
  setup(o) {
824
- const { t: e } = ne(), {
832
+ const { t: e } = re(), {
825
833
  templateID: t,
826
834
  countries: n,
827
835
  areListingsLoading: p,
828
- isPaymentLoading: s,
836
+ isPaymentLoading: a,
829
837
  isReservationFormFilled: h,
830
838
  travelingFor: c,
831
839
  arrivalTime: l,
@@ -841,39 +849,39 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
841
849
  country: r,
842
850
  remark: v,
843
851
  allergies: T,
844
- newsMails: $,
852
+ newsMails: S,
845
853
  roomSelect: L,
846
- roomDisplay: A,
847
- hasValidRoomSelection: H,
848
- availabilityData: D,
849
- selectionHasNoAddons: W
850
- } = K(ie()), {
854
+ roomDisplay: H,
855
+ hasValidRoomSelection: M,
856
+ availabilityData: A,
857
+ selectionHasNoAddons: F
858
+ } = Q(se()), {
851
859
  arrivalDate: X,
852
- departureDate: re
853
- } = K(ft()), {
854
- currency: U,
855
- disableNewsletterSignup: Te,
856
- arrivalEarliest: Qe,
857
- arrivalLatest: xt,
858
- departureEarliest: wt,
859
- departureLatest: At,
860
- enableTracking: Ot,
861
- arrivalDefault: Ht,
862
- departureDefault: Dt,
863
- hideArrivalDepartureInputs: Mt,
864
- disableArrivalUserSelection: Ce,
865
- disableNamePrefix: Rt,
866
- disableDepartureUserSelection: Ie,
867
- disableTravelingFor: Bt,
868
- disableTravelingForBleasure: zt,
869
- disableCompanyField: Wt,
870
- hasPaymentGateway: Nt
871
- } = K(he()), { beginCheckout: Ft } = vt(), {
872
- initialize: qt,
873
- resetTemplate: Ut,
874
- resetDiscountVoucher: Gt,
875
- createReservation: jt
876
- } = ie(), Yt = ce(!0), Kt = q(() => {
860
+ departureDate: ae
861
+ } = Q(gt()), {
862
+ currency: G,
863
+ disableNewsletterSignup: Ie,
864
+ arrivalEarliest: Je,
865
+ arrivalLatest: Ot,
866
+ departureEarliest: At,
867
+ departureLatest: Ht,
868
+ enableTracking: Dt,
869
+ arrivalDefault: Mt,
870
+ departureDefault: Rt,
871
+ hideArrivalDepartureInputs: Bt,
872
+ disableArrivalUserSelection: $e,
873
+ disableNamePrefix: zt,
874
+ disableDepartureUserSelection: Se,
875
+ disableTravelingFor: Wt,
876
+ disableTravelingForBleasure: Ft,
877
+ disableCompanyField: Nt,
878
+ hasPaymentGateway: qt
879
+ } = Q(me()), { beginCheckout: Ut } = bt(), {
880
+ initialize: Gt,
881
+ resetTemplate: jt,
882
+ resetDiscountVoucher: Yt,
883
+ createReservation: Kt
884
+ } = se(), Qt = ce(!0), Jt = q(() => {
877
885
  const O = [
878
886
  {
879
887
  label: e("booking.reservation.business"),
@@ -884,155 +892,188 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
884
892
  value: "Pleasure"
885
893
  }
886
894
  ];
887
- return zt.value || O.push({
895
+ return Ft.value || O.push({
888
896
  label: e("booking.reservation.bleasure"),
889
897
  value: "Bleasure"
890
898
  }), O;
891
- }), Qt = q(() => {
892
- const O = D.value.roomGroups.slice();
893
- O.forEach((G) => {
894
- G.pricesFrom = G.rates.reduce(
895
- (M, S) => M < S.rackRate ? M : S.rackRate,
899
+ }), Xt = q(() => {
900
+ const O = A.value.roomGroups.slice();
901
+ O.forEach((U) => {
902
+ U.pricesFrom = U.rates.reduce(
903
+ (D, $) => D < $.rackRate ? D : $.rackRate,
896
904
  1 / 0
897
905
  );
898
906
  });
899
- function P(G, M) {
900
- return Yt.value === !0 ? G.pricesFrom > M.pricesFrom ? -1 : 1 : G.pricesFrom > M.pricesFrom ? 1 : -1;
907
+ function w(U, D) {
908
+ return Qt.value === !0 ? U.pricesFrom > D.pricesFrom ? -1 : 1 : U.pricesFrom > D.pricesFrom ? 1 : -1;
901
909
  }
902
- return O.sort(P);
903
- }), Jt = q(() => [[
904
- parseInt(Qe.value.split(":")[0]),
905
- parseInt(xt.value.split(":")[0])
906
- ]]), Xt = q(() => [[
907
- parseInt(wt.value.split(":")[0]),
908
- parseInt(At.value.split(":")[0])
910
+ return O.sort(w);
911
+ }), Zt = q(() => [[
912
+ parseInt(Je.value.split(":")[0]),
913
+ parseInt(Ot.value.split(":")[0])
914
+ ]]), eo = q(() => [[
915
+ parseInt(At.value.split(":")[0]),
916
+ parseInt(Ht.value.split(":")[0])
909
917
  ]]);
910
- function Je(O) {
911
- W.value ? O(2) : O(), Gt();
918
+ function Xe(O) {
919
+ F.value ? O(2) : O(), Yt();
912
920
  }
913
- function Zt(O, P) {
914
- re.value = new Date(P), X.value = new Date(O), location.reload();
921
+ function to(O, w) {
922
+ ae.value = new Date(w), X.value = new Date(O), location.reload();
915
923
  }
916
- async function eo(O) {
917
- await jt(O);
924
+ async function oo(O) {
925
+ await Kt(O);
918
926
  }
919
- function to(O) {
920
- Ot.value && Ft(), W.value ? O(2) : O();
927
+ function no(O) {
928
+ Dt.value && Ut(), F.value ? O(2) : O();
921
929
  }
922
- function oo() {
923
- l.value === "" && (l.value = Ht.value), u.value === "" && (u.value = Dt.value);
930
+ function io() {
931
+ l.value === "" && (l.value = Mt.value), u.value === "" && (u.value = Rt.value);
924
932
  }
925
- return Ue(() => {
926
- qt(), oo();
927
- }), (O, P) => (E(), R(ho, { styling: O.styling }, {
928
- default: w(() => [
929
- (E(), R(fo, null, {
930
- default: w(() => [
931
- C(go, {
933
+ return Ge(() => {
934
+ Gt(), io();
935
+ }), (O, w) => (E(), R(fo, { styling: O.styling }, {
936
+ default: x(() => [
937
+ (E(), R(mo, null, {
938
+ default: x(() => [
939
+ C(vo, {
932
940
  id: "fresh-booking-hotel-module",
933
941
  "access-token": O.accessToken,
934
942
  type: "hotel"
935
943
  }, {
936
- default: w(() => [
937
- C(Io, {
944
+ default: x(() => [
945
+ C($o, {
938
946
  layout: O.headerLayout,
939
- onReset: a(Ut)
947
+ onReset: s(jt)
940
948
  }, {
941
- availability: w(({ next: G }) => [
942
- C(Pe, null, {
943
- form: w(() => [
949
+ availability: x(({ next: U }) => [
950
+ C(we, null, {
951
+ form: x(() => [
944
952
  y("div", Vn, [
945
953
  y("div", Ln, [
946
- C(Lo, { booking: !0 })
954
+ C(Po, { booking: !0 })
947
955
  ]),
948
- x("", !0),
949
- a(p) ? (E(), I("div", qn, [
956
+ P("", !0),
957
+ s(p) ? (E(), I("div", jn, [
950
958
  C(de),
951
959
  C(de),
952
960
  C(de)
953
961
  ])) : (E(), I("div", Pn, [
954
- a(D).roomGroups.length > 0 || a(D).templates.length > 0 ? (E(), I("div", xn, [
955
- a(D).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("div", wn, [
956
- O.onlyShow !== "packages" ? (E(), I("h2", An, [
957
- C(Q, {
962
+ s(A).roomGroups.length > 0 || s(A).templates.length > 0 || s(A).specialTemplates.length > 0 ? (E(), I("div", wn, [
963
+ s(A).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("div", xn, [
964
+ O.onlyShow !== "packages" ? (E(), I("h2", On, [
965
+ C(K, {
958
966
  icon: "box",
959
967
  type: "fal",
960
968
  color: "header"
961
969
  }),
962
- y("span", null, V(a(e)("booking.availability.packagesTitle")), 1)
963
- ])) : x("", !0),
964
- y("ul", On, [
965
- (E(!0), I(B, null, z(a(D).templates, ({
966
- id: M,
967
- name: S,
968
- templateRoomGroups: se,
969
- image: ae,
970
- description: F,
971
- weekendFee: $e
972
- }) => (E(), R(nn, {
973
- key: M,
974
- id: M,
975
- description: F,
976
- name: S,
977
- image: ae,
978
- weekendFee: $e,
979
- "room-groups": se,
980
- callback: G
970
+ y("span", null, V(s(e)("booking.availability.packagesTitle")), 1)
971
+ ])) : P("", !0),
972
+ y("ul", An, [
973
+ (E(!0), I(B, null, z(s(A).templates, ({
974
+ id: D,
975
+ name: $,
976
+ templateRoomGroups: Z,
977
+ image: ee,
978
+ description: W,
979
+ weekendFee: pe
980
+ }) => (E(), R(ot, {
981
+ key: D,
982
+ id: D,
983
+ description: W,
984
+ name: $,
985
+ image: ee,
986
+ weekendFee: pe,
987
+ "room-groups": Z,
988
+ callback: U
981
989
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
982
990
  ])
983
- ])) : x("", !0),
984
- a(D).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), I("div", Hn, [
985
- a(D).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("h2", Dn, [
986
- C(Q, {
991
+ ])) : P("", !0),
992
+ s(A).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), I("div", Hn, [
993
+ s(A).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("h2", Dn, [
994
+ C(K, {
987
995
  icon: "house",
988
996
  type: "fal",
989
997
  color: "header"
990
998
  }),
991
- y("span", null, V(a(e)("booking.availability.roomsTitle")), 1)
992
- ])) : x("", !0),
999
+ y("span", null, V(s(e)("booking.availability.roomsTitle")), 1)
1000
+ ])) : P("", !0),
993
1001
  y("ul", Mn, [
994
- (E(!0), I(B, null, z(Qt.value, (M, S) => (E(), R(Qo, {
995
- room: M,
996
- key: S
1002
+ (E(!0), I(B, null, z(Xt.value, (D, $) => (E(), R(Jo, {
1003
+ room: D,
1004
+ key: $
997
1005
  }, null, 8, ["room"]))), 128))
998
1006
  ])
999
- ])) : x("", !0),
1000
- (a(D).templates.length === 0 && O.onlyShow !== "rooms" || a(D).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), I("div", Rn, [
1001
- y("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
1002
- ])) : x("", !0)
1003
- ])) : a(D).nextAvailableDates.length === 0 ? (E(), I("div", Bn, [
1004
- y("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
1005
- ])) : (E(), I("div", zn, [
1006
- y("h2", Wn, [
1007
- C(Q, {
1007
+ ])) : P("", !0),
1008
+ s(A).specialTemplates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("div", Rn, [
1009
+ O.onlyShow !== "packages" ? (E(), I("h2", Bn, [
1010
+ C(K, {
1011
+ icon: "box",
1012
+ type: "fal",
1013
+ color: "header"
1014
+ }),
1015
+ y("span", null, V(s(e)("hotel.specialOffers")), 1)
1016
+ ])) : P("", !0),
1017
+ y("ul", zn, [
1018
+ (E(!0), I(B, null, z(s(A).specialTemplates, ({
1019
+ id: D,
1020
+ name: $,
1021
+ templateRoomGroups: Z,
1022
+ image: ee,
1023
+ description: W,
1024
+ weekendFee: pe,
1025
+ fromDate: he,
1026
+ toDate: Ve
1027
+ }) => (E(), R(ot, {
1028
+ key: D,
1029
+ id: D,
1030
+ description: W,
1031
+ name: $,
1032
+ image: ee,
1033
+ fromDate: he,
1034
+ toDate: Ve,
1035
+ weekendFee: pe,
1036
+ "room-groups": Z,
1037
+ callback: U
1038
+ }, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
1039
+ ])
1040
+ ])) : P("", !0),
1041
+ (s(A).templates.length === 0 && O.onlyShow !== "rooms" || s(A).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), I("div", Wn, [
1042
+ y("span", null, V(s(e)("booking.availability.nothingAvailable")), 1)
1043
+ ])) : P("", !0)
1044
+ ])) : s(A).nextAvailableDates.length === 0 ? (E(), I("div", Fn, [
1045
+ y("span", null, V(s(e)("booking.availability.nothingAvailable")), 1)
1046
+ ])) : (E(), I("div", Nn, [
1047
+ y("h2", qn, [
1048
+ C(K, {
1008
1049
  icon: "calendar-circle-exclamation",
1009
1050
  type: "fal",
1010
1051
  color: "header"
1011
1052
  }),
1012
- y("span", null, V(a(e)("booking.availability.nextAvailableDates")), 1)
1053
+ y("span", null, V(s(e)("booking.availability.nextAvailableDates")), 1)
1013
1054
  ]),
1014
- y("ul", Nn, [
1015
- (E(!0), I(B, null, z(a(D).nextAvailableDates, (M, S) => (E(), I("li", { key: S }, [
1055
+ y("ul", Un, [
1056
+ (E(!0), I(B, null, z(s(A).nextAvailableDates, (D, $) => (E(), I("li", { key: $ }, [
1016
1057
  y("h3", {
1017
- title: `${a(te)(M.fromDate)} - ${a(te)(M.toDate)}`
1058
+ title: `${s(ne)(D.fromDate)} - ${s(ne)(D.toDate)}`
1018
1059
  }, [
1019
- y("span", null, V(`${a(te)(M.fromDate)} - ${a(te)(M.toDate)}`), 1)
1020
- ], 8, Fn),
1060
+ y("span", null, V(`${s(ne)(D.fromDate)} - ${s(ne)(D.toDate)}`), 1)
1061
+ ], 8, Gn),
1021
1062
  y("ul", null, [
1022
- x("", !0),
1063
+ P("", !0),
1023
1064
  y("li", null, [
1024
- C(Q, {
1065
+ C(K, {
1025
1066
  icon: "money-bill",
1026
1067
  type: "fal",
1027
1068
  color: "header"
1028
1069
  }),
1029
- y("span", null, V(a(e)("booking.availability.pricesFrom")) + ": " + V(a(oe)(M.priceStartFrom, a(U))), 1)
1070
+ y("span", null, V(s(e)("booking.availability.pricesFrom")) + ": " + V(s(ie)(D.priceStartFrom, s(G))), 1)
1030
1071
  ])
1031
1072
  ]),
1032
1073
  C(le, {
1033
- label: a(e)("booking.availability.selectDates"),
1074
+ label: s(e)("booking.availability.selectDates"),
1034
1075
  "full-width": "",
1035
- onClickEvent: (se) => Zt(M.fromDate, M.toDate)
1076
+ onClickEvent: (Z) => to(D.fromDate, D.toDate)
1036
1077
  }, null, 8, ["label", "onClickEvent"])
1037
1078
  ]))), 128))
1038
1079
  ])
@@ -1040,90 +1081,90 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1040
1081
  ]))
1041
1082
  ])
1042
1083
  ]),
1043
- navigation: w(() => [
1084
+ navigation: x(() => [
1044
1085
  C(le, {
1045
- label: a(W) ? a(e)("booking.availability.nextButton") : a(e)("general.chooseAddons"),
1046
- disabled: !a(H),
1086
+ label: s(F) ? s(e)("booking.availability.nextButton") : s(e)("general.chooseAddons"),
1087
+ disabled: !s(M),
1047
1088
  "is-loading": !1,
1048
1089
  "full-width": "",
1049
- onClickEvent: (M) => to(G)
1090
+ onClickEvent: (D) => no(U)
1050
1091
  }, null, 8, ["label", "disabled", "onClickEvent"])
1051
1092
  ]),
1052
1093
  _: 2
1053
1094
  }, 1024)
1054
1095
  ]),
1055
- addons: w(({ next: G, prev: M }) => [
1056
- C(Pe, null, {
1057
- form: w(() => [
1058
- y("form", Un, [
1096
+ addons: x(({ next: U, prev: D }) => [
1097
+ C(we, null, {
1098
+ form: x(() => [
1099
+ y("form", Yn, [
1059
1100
  y("h2", null, [
1060
- y("span", null, V(a(e)("booking.reservation.addons")), 1)
1101
+ y("span", null, V(s(e)("booking.reservation.addons")), 1)
1061
1102
  ]),
1062
1103
  y("div", null, [
1063
- isNaN(a(t)) ? (E(), I("div", Gn, [
1064
- (E(!0), I(B, null, z(a(A), (S) => (E(), I("ul", {
1065
- key: S.roomGroupID
1104
+ isNaN(s(t)) ? (E(), I("div", Kn, [
1105
+ (E(!0), I(B, null, z(s(H), ($) => (E(), I("ul", {
1106
+ key: $.roomGroupID
1066
1107
  }, [
1067
- (E(!0), I(B, null, z(S.variants, (se, ae) => (E(), I("li", {
1068
- key: se.ratePlanID
1108
+ (E(!0), I(B, null, z($.variants, (Z, ee) => (E(), I("li", {
1109
+ key: Z.ratePlanID
1069
1110
  }, [
1070
1111
  y("h4", null, [
1071
- y("span", null, V(a(ue)(S.title)), 1)
1112
+ y("span", null, V(s(ue)($.title)), 1)
1072
1113
  ]),
1073
- (E(!0), I(B, null, z(se.rooms, (F, $e) => (E(), I("table", {
1074
- key: $e,
1114
+ (E(!0), I(B, null, z(Z.rooms, (W, pe) => (E(), I("table", {
1115
+ key: pe,
1075
1116
  class: "fresh-booking-table"
1076
1117
  }, [
1077
1118
  y("thead", null, [
1078
1119
  y("tr", null, [
1079
1120
  y("th", null, [
1080
- y("span", null, V(a(ue)(se.name)), 1)
1121
+ y("span", null, V(s(ue)(Z.name)), 1)
1081
1122
  ]),
1082
- x("", !0),
1083
- y("th", jn, [
1123
+ P("", !0),
1124
+ y("th", Qn, [
1084
1125
  y("b", null, [
1085
- C(Q, {
1126
+ C(K, {
1086
1127
  icon: "male",
1087
1128
  type: "fas",
1088
1129
  color: "font"
1089
1130
  }),
1090
- y("span", null, V(F.adultsCount), 1),
1091
- F.childrenCount > 0 ? (E(), R(Q, {
1131
+ y("span", null, V(W.adultsCount), 1),
1132
+ W.childrenCount > 0 ? (E(), R(K, {
1092
1133
  key: 0,
1093
1134
  icon: "child",
1094
1135
  type: "fas",
1095
1136
  color: "font"
1096
- })) : x("", !0),
1097
- F.childrenCount > 0 ? (E(), I("span", Yn, V(F.childrenCount), 1)) : x("", !0)
1137
+ })) : P("", !0),
1138
+ W.childrenCount > 0 ? (E(), I("span", Jn, V(W.childrenCount), 1)) : P("", !0)
1098
1139
  ])
1099
1140
  ])
1100
1141
  ])
1101
1142
  ]),
1102
1143
  y("tbody", null, [
1103
- (E(!0), I(B, null, z(S.addons, ({
1104
- quantityStrategy: Se,
1105
- maximumNumber: no,
1106
- id: pe,
1107
- name: io,
1108
- price: ro
1109
- }) => (E(), I("tr", { key: pe }, [
1144
+ (E(!0), I(B, null, z($.addons, ({
1145
+ quantityStrategy: he,
1146
+ maximumNumber: Ve,
1147
+ id: fe,
1148
+ name: ro,
1149
+ price: so
1150
+ }) => (E(), I("tr", { key: fe }, [
1110
1151
  y("td", null, [
1111
- y("b", null, V(a(ue)(io)), 1),
1112
- Kn,
1113
- y("span", null, V(a(oe)(ro, a(U))) + " " + V(a(mo)(Se)), 1)
1152
+ y("b", null, V(s(ue)(ro)), 1),
1153
+ Xn,
1154
+ y("span", null, V(s(ie)(so, s(G))) + " " + V(s(go)(he)), 1)
1114
1155
  ]),
1115
1156
  y("td", null, [
1116
- Se === 1 || Se === 12 ? (E(), R(yt, {
1157
+ he === 1 || he === 12 ? (E(), R(kt, {
1117
1158
  key: 0,
1118
- modelValue: a(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe],
1119
- "onUpdate:modelValue": (Ve) => a(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe] = Ve,
1159
+ modelValue: s(L)[$.roomGroupID][ee].config[W.configIdx].addons[W.roomIdx][fe],
1160
+ "onUpdate:modelValue": (Le) => s(L)[$.roomGroupID][ee].config[W.configIdx].addons[W.roomIdx][fe] = Le,
1120
1161
  small: !0,
1121
1162
  "min-value": 0,
1122
- "max-value": no || 1 / 0
1163
+ "max-value": Ve || 1 / 0
1123
1164
  }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), R(Ne, {
1124
1165
  key: 1,
1125
- modelValue: a(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe],
1126
- "onUpdate:modelValue": (Ve) => a(L)[S.roomGroupID][ae].config[F.configIdx].addons[F.roomIdx][pe] = Ve,
1166
+ modelValue: s(L)[$.roomGroupID][ee].config[W.configIdx].addons[W.roomIdx][fe],
1167
+ "onUpdate:modelValue": (Le) => s(L)[$.roomGroupID][ee].config[W.configIdx].addons[W.roomIdx][fe] = Le,
1127
1168
  numeric: !0
1128
1169
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1129
1170
  ])
@@ -1132,209 +1173,209 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1132
1173
  ]))), 128))
1133
1174
  ]))), 128))
1134
1175
  ]))), 128))
1135
- ])) : x("", !0)
1176
+ ])) : P("", !0)
1136
1177
  ])
1137
1178
  ])
1138
1179
  ]),
1139
- navigation: w(() => [
1180
+ navigation: x(() => [
1140
1181
  C(le, {
1141
- label: a(e)("general.startReservation"),
1182
+ label: s(e)("general.startReservation"),
1142
1183
  "full-width": "",
1143
- onClickEvent: G
1184
+ onClickEvent: U
1144
1185
  }, null, 8, ["label", "onClickEvent"]),
1145
1186
  y("button", {
1146
1187
  class: "konnectio-abort-reservation link",
1147
- onClick: et((S) => Je(M), ["prevent"])
1188
+ onClick: tt(($) => Xe(D), ["prevent"])
1148
1189
  }, [
1149
- y("span", null, V(a(e)("general.goAStepBack")), 1)
1150
- ], 8, Qn)
1190
+ y("span", null, V(s(e)("general.goAStepBack")), 1)
1191
+ ], 8, Zn)
1151
1192
  ]),
1152
1193
  _: 2
1153
1194
  }, 1024)
1154
1195
  ]),
1155
- reservation: w(({ next: G, prev: M }) => [
1156
- C(Pe, {
1196
+ reservation: x(({ next: U, prev: D }) => [
1197
+ C(we, {
1157
1198
  "show-terms-notice": !0,
1158
1199
  "show-gift-card": !0
1159
1200
  }, {
1160
- form: w(() => [
1161
- y("form", Jn, [
1201
+ form: x(() => [
1202
+ y("form", ei, [
1162
1203
  y("h2", null, [
1163
- y("span", null, V(a(e)("booking.reservation.detailsTitle")), 1)
1204
+ y("span", null, V(s(e)("booking.reservation.detailsTitle")), 1)
1164
1205
  ]),
1165
- !a(Mt) && !(a(Ce) && a(Ie)) ? (E(), I("ul", {
1206
+ !s(Bt) && !(s($e) && s(Se)) ? (E(), I("ul", {
1166
1207
  key: 0,
1167
- class: ke({ "fresh-booking-split-inputs": !a(Ce) && !a(Ie) })
1208
+ class: Ee({ "fresh-booking-split-inputs": !s($e) && !s(Se) })
1168
1209
  }, [
1169
- a(Ce) ? x("", !0) : (E(), I("li", Xn, [
1170
- C(tt, {
1171
- modelValue: a(l),
1172
- "onUpdate:modelValue": P[1] || (P[1] = (S) => N(l) ? l.value = S : null),
1173
- label: a(e)("booking.reservation.arrivalTime"),
1210
+ s($e) ? P("", !0) : (E(), I("li", ti, [
1211
+ C(nt, {
1212
+ modelValue: s(l),
1213
+ "onUpdate:modelValue": w[1] || (w[1] = ($) => N(l) ? l.value = $ : null),
1214
+ label: s(e)("booking.reservation.arrivalTime"),
1174
1215
  icon: "hourglass-start",
1175
- "hour-range": Jt.value,
1216
+ "hour-range": Zt.value,
1176
1217
  required: ""
1177
1218
  }, null, 8, ["modelValue", "label", "hour-range"])
1178
1219
  ])),
1179
- a(Ie) ? x("", !0) : (E(), I("li", Zn, [
1180
- C(tt, {
1181
- modelValue: a(u),
1182
- "onUpdate:modelValue": P[2] || (P[2] = (S) => N(u) ? u.value = S : null),
1183
- label: a(e)("booking.reservation.departureTime"),
1220
+ s(Se) ? P("", !0) : (E(), I("li", oi, [
1221
+ C(nt, {
1222
+ modelValue: s(u),
1223
+ "onUpdate:modelValue": w[2] || (w[2] = ($) => N(u) ? u.value = $ : null),
1224
+ label: s(e)("booking.reservation.departureTime"),
1184
1225
  icon: "hourglass-end",
1185
- "hour-range": Xt.value,
1226
+ "hour-range": eo.value,
1186
1227
  required: ""
1187
1228
  }, null, 8, ["modelValue", "label", "hour-range"])
1188
1229
  ]))
1189
- ], 2)) : x("", !0),
1230
+ ], 2)) : P("", !0),
1190
1231
  C(pn, {
1191
- modelValue: a(f),
1192
- "onUpdate:modelValue": P[3] || (P[3] = (S) => N(f) ? f.value = S : null),
1193
- title: a(g),
1194
- "onUpdate:title": P[4] || (P[4] = (S) => N(g) ? g.value = S : null),
1195
- "exclude-title": a(Rt),
1196
- label: a(e)("booking.reservation.name"),
1232
+ modelValue: s(f),
1233
+ "onUpdate:modelValue": w[3] || (w[3] = ($) => N(f) ? f.value = $ : null),
1234
+ title: s(g),
1235
+ "onUpdate:title": w[4] || (w[4] = ($) => N(g) ? g.value = $ : null),
1236
+ "exclude-title": s(zt),
1237
+ label: s(e)("booking.reservation.name"),
1197
1238
  icon: "user-alt",
1198
- placeholder: a(e)("booking.reservation.namePlaceholder"),
1239
+ placeholder: s(e)("booking.reservation.namePlaceholder"),
1199
1240
  required: ""
1200
1241
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1201
- C(ee, {
1202
- modelValue: a(_),
1203
- "onUpdate:modelValue": P[5] || (P[5] = (S) => N(_) ? _.value = S : null),
1242
+ C(oe, {
1243
+ modelValue: s(_),
1244
+ "onUpdate:modelValue": w[5] || (w[5] = ($) => N(_) ? _.value = $ : null),
1204
1245
  type: "email",
1205
1246
  name: "email",
1206
1247
  autocomplete: "email",
1207
- label: a(e)("booking.reservation.email"),
1248
+ label: s(e)("booking.reservation.email"),
1208
1249
  icon: "at",
1209
- placeholder: a(e)("booking.reservation.emailPlaceholder"),
1250
+ placeholder: s(e)("booking.reservation.emailPlaceholder"),
1210
1251
  required: ""
1211
1252
  }, null, 8, ["modelValue", "label", "placeholder"]),
1212
- a(Te) ? x("", !0) : (E(), R(Ne, {
1253
+ s(Ie) ? P("", !0) : (E(), R(Ne, {
1213
1254
  key: 1,
1214
- modelValue: a($),
1215
- "onUpdate:modelValue": P[6] || (P[6] = (S) => N($) ? $.value = S : null),
1255
+ modelValue: s(S),
1256
+ "onUpdate:modelValue": w[6] || (w[6] = ($) => N(S) ? S.value = $ : null),
1216
1257
  type: "checkbox",
1217
1258
  name: "newsletter",
1218
- label: a(e)("booking.reservation.newsletterSignUp")
1259
+ label: s(e)("booking.reservation.newsletterSignUp")
1219
1260
  }, null, 8, ["modelValue", "label"])),
1220
- a(Wt) ? x("", !0) : (E(), R(ee, {
1261
+ s(Nt) ? P("", !0) : (E(), R(oe, {
1221
1262
  key: 2,
1222
- modelValue: a(b),
1223
- "onUpdate:modelValue": P[7] || (P[7] = (S) => N(b) ? b.value = S : null),
1263
+ modelValue: s(b),
1264
+ "onUpdate:modelValue": w[7] || (w[7] = ($) => N(b) ? b.value = $ : null),
1224
1265
  type: "text",
1225
1266
  name: "firm",
1226
1267
  autocomplete: "firm",
1227
- label: `${a(e)("booking.reservation.companyName")} (${a(e)("booking.reservation.optional")})`,
1268
+ label: `${s(e)("booking.reservation.companyName")} (${s(e)("booking.reservation.optional")})`,
1228
1269
  icon: "id-card",
1229
- placeholder: a(e)("booking.reservation.companyNamePlaceholder")
1270
+ placeholder: s(e)("booking.reservation.companyNamePlaceholder")
1230
1271
  }, null, 8, ["modelValue", "label", "placeholder"])),
1231
1272
  C(xo, {
1232
- modelValue: a(d),
1233
- "onUpdate:modelValue": P[8] || (P[8] = (S) => N(d) ? d.value = S : null),
1273
+ modelValue: s(d),
1274
+ "onUpdate:modelValue": w[8] || (w[8] = ($) => N(d) ? d.value = $ : null),
1234
1275
  icon: "phone-office",
1235
- label: a(e)("booking.reservation.phone"),
1236
- placeholder: a(e)("booking.reservation.phonePlaceholder"),
1276
+ label: s(e)("booking.reservation.phone"),
1277
+ placeholder: s(e)("booking.reservation.phonePlaceholder"),
1237
1278
  required: ""
1238
1279
  }, null, 8, ["modelValue", "label", "placeholder"]),
1239
1280
  C(an, {
1240
- modelValue: a(r),
1241
- "onUpdate:modelValue": P[9] || (P[9] = (S) => N(r) ? r.value = S : null),
1242
- label: a(e)("booking.reservation.country"),
1243
- placeholder: a(e)("booking.reservation.countryPlaceholder"),
1244
- options: a(n),
1281
+ modelValue: s(r),
1282
+ "onUpdate:modelValue": w[9] || (w[9] = ($) => N(r) ? r.value = $ : null),
1283
+ label: s(e)("booking.reservation.country"),
1284
+ placeholder: s(e)("booking.reservation.countryPlaceholder"),
1285
+ options: s(n),
1245
1286
  required: ""
1246
1287
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1247
- C(ee, {
1248
- modelValue: a(i),
1249
- "onUpdate:modelValue": P[10] || (P[10] = (S) => N(i) ? i.value = S : null),
1288
+ C(oe, {
1289
+ modelValue: s(i),
1290
+ "onUpdate:modelValue": w[10] || (w[10] = ($) => N(i) ? i.value = $ : null),
1250
1291
  type: "textarea",
1251
1292
  name: "address",
1252
1293
  autocomplete: "street-address",
1253
- label: a(e)("booking.reservation.streetAddress"),
1294
+ label: s(e)("booking.reservation.streetAddress"),
1254
1295
  icon: "map-marked",
1255
- placeholder: a(e)("booking.reservation.streetAddressPlaceholder"),
1296
+ placeholder: s(e)("booking.reservation.streetAddressPlaceholder"),
1256
1297
  required: ""
1257
1298
  }, null, 8, ["modelValue", "label", "placeholder"]),
1258
- y("ul", ei, [
1299
+ y("ul", ni, [
1259
1300
  y("li", null, [
1260
- C(ee, {
1261
- modelValue: a(k),
1262
- "onUpdate:modelValue": P[11] || (P[11] = (S) => N(k) ? k.value = S : null),
1301
+ C(oe, {
1302
+ modelValue: s(k),
1303
+ "onUpdate:modelValue": w[11] || (w[11] = ($) => N(k) ? k.value = $ : null),
1263
1304
  type: "text",
1264
1305
  name: "postal",
1265
1306
  autocomplete: "postal-code",
1266
- label: a(e)("booking.reservation.postal"),
1307
+ label: s(e)("booking.reservation.postal"),
1267
1308
  icon: "mailbox",
1268
- placeholder: a(e)("booking.reservation.postalPlaceholder"),
1309
+ placeholder: s(e)("booking.reservation.postalPlaceholder"),
1269
1310
  required: ""
1270
1311
  }, null, 8, ["modelValue", "label", "placeholder"])
1271
1312
  ]),
1272
1313
  y("li", null, [
1273
- C(ee, {
1274
- modelValue: a(m),
1275
- "onUpdate:modelValue": P[12] || (P[12] = (S) => N(m) ? m.value = S : null),
1314
+ C(oe, {
1315
+ modelValue: s(m),
1316
+ "onUpdate:modelValue": w[12] || (w[12] = ($) => N(m) ? m.value = $ : null),
1276
1317
  type: "text",
1277
1318
  name: "city",
1278
1319
  autocomplete: "address-level2",
1279
- label: a(e)("booking.reservation.city"),
1320
+ label: s(e)("booking.reservation.city"),
1280
1321
  icon: "city",
1281
- placeholder: a(e)("booking.reservation.cityPlaceholder"),
1322
+ placeholder: s(e)("booking.reservation.cityPlaceholder"),
1282
1323
  required: ""
1283
1324
  }, null, 8, ["modelValue", "label", "placeholder"])
1284
1325
  ])
1285
1326
  ]),
1286
- C(ee, {
1287
- modelValue: a(v),
1288
- "onUpdate:modelValue": P[13] || (P[13] = (S) => N(v) ? v.value = S : null),
1327
+ C(oe, {
1328
+ modelValue: s(v),
1329
+ "onUpdate:modelValue": w[13] || (w[13] = ($) => N(v) ? v.value = $ : null),
1289
1330
  type: "textarea",
1290
- label: `${a(e)("booking.reservation.remark")} (${a(e)("booking.reservation.optional")})`,
1331
+ label: `${s(e)("booking.reservation.remark")} (${s(e)("booking.reservation.optional")})`,
1291
1332
  icon: "info-circle",
1292
- placeholder: a(e)("booking.reservation.remarkPlaceholder")
1333
+ placeholder: s(e)("booking.reservation.remarkPlaceholder")
1293
1334
  }, null, 8, ["modelValue", "label", "placeholder"]),
1294
- C(ee, {
1295
- modelValue: a(T),
1296
- "onUpdate:modelValue": P[14] || (P[14] = (S) => N(T) ? T.value = S : null),
1335
+ C(oe, {
1336
+ modelValue: s(T),
1337
+ "onUpdate:modelValue": w[14] || (w[14] = ($) => N(T) ? T.value = $ : null),
1297
1338
  type: "textarea",
1298
- label: `${a(e)("booking.reservation.allergies")} (${a(e)("booking.reservation.optional")})`,
1339
+ label: `${s(e)("booking.reservation.allergies")} (${s(e)("booking.reservation.optional")})`,
1299
1340
  icon: "allergies",
1300
- placeholder: a(e)("booking.reservation.allergiesPlaceholder")
1341
+ placeholder: s(e)("booking.reservation.allergiesPlaceholder")
1301
1342
  }, null, 8, ["modelValue", "label", "placeholder"]),
1302
- a(Bt) ? x("", !0) : (E(), R(dn, {
1343
+ s(Wt) ? P("", !0) : (E(), R(dn, {
1303
1344
  key: 3,
1304
- modelValue: a(c),
1305
- "onUpdate:modelValue": P[15] || (P[15] = (S) => N(c) ? c.value = S : null),
1306
- label: `${a(e)("booking.reservation.purposeOfStay")} (${a(e)("booking.reservation.optional")})`,
1345
+ modelValue: s(c),
1346
+ "onUpdate:modelValue": w[15] || (w[15] = ($) => N(c) ? c.value = $ : null),
1347
+ label: `${s(e)("booking.reservation.purposeOfStay")} (${s(e)("booking.reservation.optional")})`,
1307
1348
  name: "travelingFor",
1308
- checkboxes: Kt.value
1349
+ checkboxes: Jt.value
1309
1350
  }, null, 8, ["modelValue", "label", "checkboxes"]))
1310
1351
  ])
1311
1352
  ]),
1312
- navigation: w(() => [
1353
+ navigation: x(() => [
1313
1354
  y("div", null, [
1314
1355
  C(le, {
1315
- label: a(Nt) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
1316
- disabled: !a(h),
1317
- "is-loading": a(s),
1356
+ label: s(qt) ? s(e)("booking.reservation.nextButton") : s(e)("general.confirmReservation"),
1357
+ disabled: !s(h),
1358
+ "is-loading": s(a),
1318
1359
  "full-width": "",
1319
- onClickEvent: (S) => eo(G)
1360
+ onClickEvent: ($) => oo(U)
1320
1361
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
1321
1362
  y("button", {
1322
1363
  class: "konnectio-abort-reservation link",
1323
- onClick: et((S) => Je(M), ["prevent"])
1364
+ onClick: tt(($) => Xe(D), ["prevent"])
1324
1365
  }, [
1325
- y("span", null, V(a(e)("general.goAStepBack")), 1)
1326
- ], 8, ti)
1366
+ y("span", null, V(s(e)("general.goAStepBack")), 1)
1367
+ ], 8, ii)
1327
1368
  ])
1328
1369
  ]),
1329
1370
  _: 2
1330
1371
  }, 1024)
1331
1372
  ]),
1332
- payment: w(() => [
1333
- C(wo)
1373
+ payment: x(() => [
1374
+ C(Oo)
1334
1375
  ]),
1335
- confirmation: w(() => [
1336
- C($o, {
1337
- message: a(e)("booking.confirmation.thankYou")
1376
+ confirmation: x(() => [
1377
+ C(So, {
1378
+ message: s(e)("booking.confirmation.thankYou")
1338
1379
  }, null, 8, ["message"])
1339
1380
  ]),
1340
1381
  _: 1
@@ -1343,7 +1384,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1343
1384
  _: 1
1344
1385
  }, 8, ["access-token"])
1345
1386
  ]),
1346
- fallback: w(() => [
1387
+ fallback: x(() => [
1347
1388
  C($n)
1348
1389
  ]),
1349
1390
  _: 1
@@ -1352,39 +1393,39 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
1352
1393
  _: 1
1353
1394
  }, 8, ["styling"]));
1354
1395
  }
1355
- }), fe = /* @__PURE__ */ J(oi, [["__scopeId", "data-v-fd9b6d4f"]]);
1356
- var Tt = { exports: {} }, xe = { exports: {} }, we = { exports: {} }, ot;
1357
- function je() {
1358
- return ot || (ot = 1, function(o) {
1396
+ }), ge = /* @__PURE__ */ J(ri, [["__scopeId", "data-v-55cda648"]]);
1397
+ var It = { exports: {} }, xe = { exports: {} }, Oe = { exports: {} }, it;
1398
+ function Ye() {
1399
+ return it || (it = 1, function(o) {
1359
1400
  (function(e, t) {
1360
1401
  o.exports ? o.exports = t() : e.EvEmitter = t();
1361
- })(typeof window < "u" ? window : _t, function() {
1402
+ })(typeof window < "u" ? window : Tt, function() {
1362
1403
  function e() {
1363
1404
  }
1364
1405
  var t = e.prototype;
1365
1406
  return t.on = function(n, p) {
1366
1407
  if (!(!n || !p)) {
1367
- var s = this._events = this._events || {}, h = s[n] = s[n] || [];
1408
+ var a = this._events = this._events || {}, h = a[n] = a[n] || [];
1368
1409
  return h.indexOf(p) == -1 && h.push(p), this;
1369
1410
  }
1370
1411
  }, t.once = function(n, p) {
1371
1412
  if (!(!n || !p)) {
1372
1413
  this.on(n, p);
1373
- var s = this._onceEvents = this._onceEvents || {}, h = s[n] = s[n] || {};
1414
+ var a = this._onceEvents = this._onceEvents || {}, h = a[n] = a[n] || {};
1374
1415
  return h[p] = !0, this;
1375
1416
  }
1376
1417
  }, t.off = function(n, p) {
1377
- var s = this._events && this._events[n];
1378
- if (!(!s || !s.length)) {
1379
- var h = s.indexOf(p);
1380
- return h != -1 && s.splice(h, 1), this;
1418
+ var a = this._events && this._events[n];
1419
+ if (!(!a || !a.length)) {
1420
+ var h = a.indexOf(p);
1421
+ return h != -1 && a.splice(h, 1), this;
1381
1422
  }
1382
1423
  }, t.emitEvent = function(n, p) {
1383
- var s = this._events && this._events[n];
1384
- if (!(!s || !s.length)) {
1385
- s = s.slice(0), p = p || [];
1386
- for (var h = this._onceEvents && this._onceEvents[n], c = 0; c < s.length; c++) {
1387
- var l = s[c], u = h && h[l];
1424
+ var a = this._events && this._events[n];
1425
+ if (!(!a || !a.length)) {
1426
+ a = a.slice(0), p = p || [];
1427
+ for (var h = this._onceEvents && this._onceEvents[n], c = 0; c < a.length; c++) {
1428
+ var l = a[c], u = h && h[l];
1388
1429
  u && (this.off(n, l), delete h[l]), l.apply(this, p);
1389
1430
  }
1390
1431
  return this;
@@ -1393,7 +1434,7 @@ function je() {
1393
1434
  delete this._events, delete this._onceEvents;
1394
1435
  }, e;
1395
1436
  });
1396
- }(we)), we.exports;
1437
+ }(Oe)), Oe.exports;
1397
1438
  }
1398
1439
  var Ae = { exports: {} };
1399
1440
  /*!
@@ -1401,9 +1442,9 @@ var Ae = { exports: {} };
1401
1442
  * measure size of elements
1402
1443
  * MIT license
1403
1444
  */
1404
- var nt;
1405
- function Ye() {
1406
- return nt || (nt = 1, function(o) {
1445
+ var rt;
1446
+ function Ke() {
1447
+ return rt || (rt = 1, function(o) {
1407
1448
  (function(e, t) {
1408
1449
  o.exports ? o.exports = t() : e.getSize = t();
1409
1450
  })(window, function() {
@@ -1415,7 +1456,7 @@ function Ye() {
1415
1456
  }
1416
1457
  var p = typeof console > "u" ? n : function(d) {
1417
1458
  console.error(d);
1418
- }, s = [
1459
+ }, a = [
1419
1460
  "paddingLeft",
1420
1461
  "paddingRight",
1421
1462
  "paddingTop",
@@ -1428,7 +1469,7 @@ function Ye() {
1428
1469
  "borderRightWidth",
1429
1470
  "borderTopWidth",
1430
1471
  "borderBottomWidth"
1431
- ], h = s.length;
1472
+ ], h = a.length;
1432
1473
  function c() {
1433
1474
  for (var d = {
1434
1475
  width: 0,
@@ -1438,7 +1479,7 @@ function Ye() {
1438
1479
  outerWidth: 0,
1439
1480
  outerHeight: 0
1440
1481
  }, b = 0; b < h; b++) {
1441
- var k = s[b];
1482
+ var k = a[b];
1442
1483
  d[k] = 0;
1443
1484
  }
1444
1485
  return d;
@@ -1467,24 +1508,24 @@ function Ye() {
1467
1508
  var k = {};
1468
1509
  k.width = d.offsetWidth, k.height = d.offsetHeight;
1469
1510
  for (var m = k.isBorderBox = b.boxSizing == "border-box", i = 0; i < h; i++) {
1470
- var r = s[i], v = b[r], T = parseFloat(v);
1511
+ var r = a[i], v = b[r], T = parseFloat(v);
1471
1512
  k[r] = isNaN(T) ? 0 : T;
1472
1513
  }
1473
- var $ = k.paddingLeft + k.paddingRight, L = k.paddingTop + k.paddingBottom, A = k.marginLeft + k.marginRight, H = k.marginTop + k.marginBottom, D = k.borderLeftWidth + k.borderRightWidth, W = k.borderTopWidth + k.borderBottomWidth, X = m && f, re = t(b.width);
1474
- re !== !1 && (k.width = re + // add padding and border unless it's already including it
1475
- (X ? 0 : $ + D));
1476
- var U = t(b.height);
1477
- return U !== !1 && (k.height = U + // add padding and border unless it's already including it
1478
- (X ? 0 : L + W)), k.innerWidth = k.width - ($ + D), k.innerHeight = k.height - (L + W), k.outerWidth = k.width + A, k.outerHeight = k.height + H, k;
1514
+ var S = k.paddingLeft + k.paddingRight, L = k.paddingTop + k.paddingBottom, H = k.marginLeft + k.marginRight, M = k.marginTop + k.marginBottom, A = k.borderLeftWidth + k.borderRightWidth, F = k.borderTopWidth + k.borderBottomWidth, X = m && f, ae = t(b.width);
1515
+ ae !== !1 && (k.width = ae + // add padding and border unless it's already including it
1516
+ (X ? 0 : S + A));
1517
+ var G = t(b.height);
1518
+ return G !== !1 && (k.height = G + // add padding and border unless it's already including it
1519
+ (X ? 0 : L + F)), k.innerWidth = k.width - (S + A), k.innerHeight = k.height - (L + F), k.outerWidth = k.width + H, k.outerHeight = k.height + M, k;
1479
1520
  }
1480
1521
  }
1481
1522
  return _;
1482
1523
  });
1483
1524
  }(Ae)), Ae.exports;
1484
1525
  }
1485
- var Oe = { exports: {} }, He = { exports: {} }, it;
1486
- function ni() {
1487
- return it || (it = 1, function(o) {
1526
+ var He = { exports: {} }, De = { exports: {} }, st;
1527
+ function si() {
1528
+ return st || (st = 1, function(o) {
1488
1529
  (function(e, t) {
1489
1530
  o.exports ? o.exports = t() : e.matchesSelector = t();
1490
1531
  })(window, function() {
@@ -1494,25 +1535,25 @@ function ni() {
1494
1535
  return "matches";
1495
1536
  if (n.matchesSelector)
1496
1537
  return "matchesSelector";
1497
- for (var p = ["webkit", "moz", "ms", "o"], s = 0; s < p.length; s++) {
1498
- var h = p[s], c = h + "MatchesSelector";
1538
+ for (var p = ["webkit", "moz", "ms", "o"], a = 0; a < p.length; a++) {
1539
+ var h = p[a], c = h + "MatchesSelector";
1499
1540
  if (n[c])
1500
1541
  return c;
1501
1542
  }
1502
1543
  }();
1503
- return function(p, s) {
1504
- return p[t](s);
1544
+ return function(p, a) {
1545
+ return p[t](a);
1505
1546
  };
1506
1547
  });
1507
- }(He)), He.exports;
1548
+ }(De)), De.exports;
1508
1549
  }
1509
- var rt;
1510
- function ii() {
1511
- return rt || (rt = 1, function(o) {
1550
+ var at;
1551
+ function ai() {
1552
+ return at || (at = 1, function(o) {
1512
1553
  (function(e, t) {
1513
1554
  o.exports ? o.exports = t(
1514
1555
  e,
1515
- ni()
1556
+ si()
1516
1557
  ) : e.fizzyUIUtils = t(
1517
1558
  e,
1518
1559
  e.matchesSelector
@@ -1526,14 +1567,14 @@ function ii() {
1526
1567
  }, p.modulo = function(c, l) {
1527
1568
  return (c % l + l) % l;
1528
1569
  };
1529
- var s = Array.prototype.slice;
1570
+ var a = Array.prototype.slice;
1530
1571
  p.makeArray = function(c) {
1531
1572
  if (Array.isArray(c))
1532
1573
  return c;
1533
1574
  if (c == null)
1534
1575
  return [];
1535
1576
  var l = typeof c == "object" && typeof c.length == "number";
1536
- return l ? s.call(c) : [c];
1577
+ return l ? a.call(c) : [c];
1537
1578
  }, p.removeFrom = function(c, l) {
1538
1579
  var u = c.indexOf(l);
1539
1580
  u != -1 && c.splice(u, 1);
@@ -1597,15 +1638,15 @@ function ii() {
1597
1638
  });
1598
1639
  }, p;
1599
1640
  });
1600
- }(Oe)), Oe.exports;
1641
+ }(He)), He.exports;
1601
1642
  }
1602
- var De = { exports: {} }, st;
1603
- function ri() {
1604
- return st || (st = 1, function(o) {
1643
+ var Me = { exports: {} }, lt;
1644
+ function li() {
1645
+ return lt || (lt = 1, function(o) {
1605
1646
  (function(e, t) {
1606
1647
  o.exports ? o.exports = t(
1607
- je(),
1608
- Ye()
1648
+ Ye(),
1649
+ Ke()
1609
1650
  ) : (e.Outlayer = {}, e.Outlayer.Item = t(
1610
1651
  e.EvEmitter,
1611
1652
  e.getSize
@@ -1616,7 +1657,7 @@ function ri() {
1616
1657
  return !1;
1617
1658
  return i = null, !0;
1618
1659
  }
1619
- var s = document.documentElement.style, h = typeof s.transition == "string" ? "transition" : "WebkitTransition", c = typeof s.transform == "string" ? "transform" : "WebkitTransform", l = {
1660
+ var a = document.documentElement.style, h = typeof a.transition == "string" ? "transition" : "WebkitTransition", c = typeof a.transform == "string" ? "transform" : "WebkitTransform", l = {
1620
1661
  WebkitTransition: "webkitTransitionEnd",
1621
1662
  transition: "transitionend"
1622
1663
  }[h], u = {
@@ -1653,13 +1694,13 @@ function ri() {
1653
1694
  i[v] = m[r];
1654
1695
  }
1655
1696
  }, g.getPosition = function() {
1656
- var m = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), r = this.layout._getOption("originTop"), v = m[i ? "left" : "right"], T = m[r ? "top" : "bottom"], $ = parseFloat(v), L = parseFloat(T), A = this.layout.size;
1657
- v.indexOf("%") != -1 && ($ = $ / 100 * A.width), T.indexOf("%") != -1 && (L = L / 100 * A.height), $ = isNaN($) ? 0 : $, L = isNaN(L) ? 0 : L, $ -= i ? A.paddingLeft : A.paddingRight, L -= r ? A.paddingTop : A.paddingBottom, this.position.x = $, this.position.y = L;
1697
+ var m = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), r = this.layout._getOption("originTop"), v = m[i ? "left" : "right"], T = m[r ? "top" : "bottom"], S = parseFloat(v), L = parseFloat(T), H = this.layout.size;
1698
+ v.indexOf("%") != -1 && (S = S / 100 * H.width), T.indexOf("%") != -1 && (L = L / 100 * H.height), S = isNaN(S) ? 0 : S, L = isNaN(L) ? 0 : L, S -= i ? H.paddingLeft : H.paddingRight, L -= r ? H.paddingTop : H.paddingBottom, this.position.x = S, this.position.y = L;
1658
1699
  }, g.layoutPosition = function() {
1659
- var m = this.layout.size, i = {}, r = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"), T = r ? "paddingLeft" : "paddingRight", $ = r ? "left" : "right", L = r ? "right" : "left", A = this.position.x + m[T];
1660
- i[$] = this.getXValue(A), i[L] = "";
1661
- var H = v ? "paddingTop" : "paddingBottom", D = v ? "top" : "bottom", W = v ? "bottom" : "top", X = this.position.y + m[H];
1662
- i[D] = this.getYValue(X), i[W] = "", this.css(i), this.emitEvent("layout", [this]);
1700
+ var m = this.layout.size, i = {}, r = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"), T = r ? "paddingLeft" : "paddingRight", S = r ? "left" : "right", L = r ? "right" : "left", H = this.position.x + m[T];
1701
+ i[S] = this.getXValue(H), i[L] = "";
1702
+ var M = v ? "paddingTop" : "paddingBottom", A = v ? "top" : "bottom", F = v ? "bottom" : "top", X = this.position.y + m[M];
1703
+ i[A] = this.getYValue(X), i[F] = "", this.css(i), this.emitEvent("layout", [this]);
1663
1704
  }, g.getXValue = function(m) {
1664
1705
  var i = this.layout._getOption("horizontal");
1665
1706
  return this.layout.options.percentPosition && !i ? m / this.layout.size.width * 100 + "%" : m + "px";
@@ -1673,9 +1714,9 @@ function ri() {
1673
1714
  this.layoutPosition();
1674
1715
  return;
1675
1716
  }
1676
- var $ = m - r, L = i - v, A = {};
1677
- A.transform = this.getTranslate($, L), this.transition({
1678
- to: A,
1717
+ var S = m - r, L = i - v, H = {};
1718
+ H.transform = this.getTranslate(S, L), this.transition({
1719
+ to: H,
1679
1720
  onTransitionEnd: {
1680
1721
  transform: this.layoutPosition
1681
1722
  },
@@ -1804,23 +1845,23 @@ function ri() {
1804
1845
  });
1805
1846
  }, f;
1806
1847
  });
1807
- }(De)), De.exports;
1848
+ }(Me)), Me.exports;
1808
1849
  }
1809
1850
  /*!
1810
1851
  * Outlayer v2.1.1
1811
1852
  * the brains and guts of a layout library
1812
1853
  * MIT license
1813
1854
  */
1814
- var at;
1815
- function si() {
1816
- return at || (at = 1, function(o) {
1855
+ var ut;
1856
+ function ui() {
1857
+ return ut || (ut = 1, function(o) {
1817
1858
  (function(e, t) {
1818
1859
  o.exports ? o.exports = t(
1819
1860
  e,
1820
- je(),
1821
1861
  Ye(),
1822
- ii(),
1823
- ri()
1862
+ Ke(),
1863
+ ai(),
1864
+ li()
1824
1865
  ) : e.Outlayer = t(
1825
1866
  e,
1826
1867
  e.EvEmitter,
@@ -1828,20 +1869,20 @@ function si() {
1828
1869
  e.fizzyUIUtils,
1829
1870
  e.Outlayer.Item
1830
1871
  );
1831
- })(window, function(t, n, p, s, h) {
1872
+ })(window, function(t, n, p, a, h) {
1832
1873
  var c = t.console, l = t.jQuery, u = function() {
1833
1874
  }, f = 0, g = {};
1834
1875
  function _(i, r) {
1835
- var v = s.getQueryElement(i);
1876
+ var v = a.getQueryElement(i);
1836
1877
  if (!v) {
1837
1878
  c && c.error("Bad element for " + this.constructor.namespace + ": " + (v || i));
1838
1879
  return;
1839
1880
  }
1840
- this.element = v, l && (this.$element = l(this.element)), this.options = s.extend({}, this.constructor.defaults), this.option(r);
1881
+ this.element = v, l && (this.$element = l(this.element)), this.options = a.extend({}, this.constructor.defaults), this.option(r);
1841
1882
  var T = ++f;
1842
1883
  this.element.outlayerGUID = T, g[T] = this, this._create();
1843
- var $ = this._getOption("initLayout");
1844
- $ && this.layout();
1884
+ var S = this._getOption("initLayout");
1885
+ S && this.layout();
1845
1886
  }
1846
1887
  _.namespace = "outlayer", _.Item = h, _.defaults = {
1847
1888
  containerStyle: {
@@ -1864,8 +1905,8 @@ function si() {
1864
1905
  }
1865
1906
  };
1866
1907
  var d = _.prototype;
1867
- s.extend(d, n.prototype), d.option = function(i) {
1868
- s.extend(this.options, i);
1908
+ a.extend(d, n.prototype), d.option = function(i) {
1909
+ a.extend(this.options, i);
1869
1910
  }, d._getOption = function(i) {
1870
1911
  var r = this.constructor.compatOptions[i];
1871
1912
  return r && this.options[r] !== void 0 ? this.options[r] : this.options[i];
@@ -1879,19 +1920,19 @@ function si() {
1879
1920
  resize: "isResizeBound",
1880
1921
  resizeContainer: "isResizingContainer"
1881
1922
  }, d._create = function() {
1882
- this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), s.extend(this.element.style, this.options.containerStyle);
1923
+ this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), a.extend(this.element.style, this.options.containerStyle);
1883
1924
  var i = this._getOption("resize");
1884
1925
  i && this.bindResize();
1885
1926
  }, d.reloadItems = function() {
1886
1927
  this.items = this._itemize(this.element.children);
1887
1928
  }, d._itemize = function(i) {
1888
- for (var r = this._filterFindItemElements(i), v = this.constructor.Item, T = [], $ = 0; $ < r.length; $++) {
1889
- var L = r[$], A = new v(L, this);
1890
- T.push(A);
1929
+ for (var r = this._filterFindItemElements(i), v = this.constructor.Item, T = [], S = 0; S < r.length; S++) {
1930
+ var L = r[S], H = new v(L, this);
1931
+ T.push(H);
1891
1932
  }
1892
1933
  return T;
1893
1934
  }, d._filterFindItemElements = function(i) {
1894
- return s.filterFindElements(i, this.options.itemSelector);
1935
+ return a.filterFindElements(i, this.options.itemSelector);
1895
1936
  }, d.getItemElements = function() {
1896
1937
  return this.items.map(function(i) {
1897
1938
  return i.element;
@@ -1917,8 +1958,8 @@ function si() {
1917
1958
  if (this._emitCompleteOnItems("layout", i), !(!i || !i.length)) {
1918
1959
  var v = [];
1919
1960
  i.forEach(function(T) {
1920
- var $ = this._getItemLayoutPosition(T);
1921
- $.item = T, $.isInstant = r || T.isLayoutInstant, v.push($);
1961
+ var S = this._getItemLayoutPosition(T);
1962
+ S.item = T, S.isInstant = r || T.isLayoutInstant, v.push(S);
1922
1963
  }, this), this._processLayoutQueue(v);
1923
1964
  }
1924
1965
  }, d._getItemLayoutPosition = function() {
@@ -1937,8 +1978,8 @@ function si() {
1937
1978
  return;
1938
1979
  }
1939
1980
  return this.stagger = m(i), this.stagger;
1940
- }, d._positionItem = function(i, r, v, T, $) {
1941
- T ? i.goTo(r, v) : (i.stagger($ * this.stagger), i.moveTo(r, v));
1981
+ }, d._positionItem = function(i, r, v, T, S) {
1982
+ T ? i.goTo(r, v) : (i.stagger(S * this.stagger), i.moveTo(r, v));
1942
1983
  }, d._postLayout = function() {
1943
1984
  this.resizeContainer();
1944
1985
  }, d.resizeContainer = function() {
@@ -1957,24 +1998,24 @@ function si() {
1957
1998
  function T() {
1958
1999
  v.dispatchEvent(i + "Complete", null, [r]);
1959
2000
  }
1960
- var $ = r.length;
1961
- if (!r || !$) {
2001
+ var S = r.length;
2002
+ if (!r || !S) {
1962
2003
  T();
1963
2004
  return;
1964
2005
  }
1965
2006
  var L = 0;
1966
- function A() {
1967
- L++, L == $ && T();
2007
+ function H() {
2008
+ L++, L == S && T();
1968
2009
  }
1969
- r.forEach(function(H) {
1970
- H.once(i, A);
2010
+ r.forEach(function(M) {
2011
+ M.once(i, H);
1971
2012
  });
1972
2013
  }, d.dispatchEvent = function(i, r, v) {
1973
2014
  var T = r ? [r].concat(v) : v;
1974
2015
  if (this.emitEvent(i, T), l)
1975
2016
  if (this.$element = this.$element || l(this.element), r) {
1976
- var $ = l.Event(r);
1977
- $.type = i, this.$element.trigger($, v);
2017
+ var S = l.Event(r);
2018
+ S.type = i, this.$element.trigger(S, v);
1978
2019
  } else
1979
2020
  this.$element.trigger(i, v);
1980
2021
  }, d.ignore = function(i) {
@@ -1987,11 +2028,11 @@ function si() {
1987
2028
  i = this._find(i), i && (this.stamps = this.stamps.concat(i), i.forEach(this.ignore, this));
1988
2029
  }, d.unstamp = function(i) {
1989
2030
  i = this._find(i), i && i.forEach(function(r) {
1990
- s.removeFrom(this.stamps, r), this.unignore(r);
2031
+ a.removeFrom(this.stamps, r), this.unignore(r);
1991
2032
  }, this);
1992
2033
  }, d._find = function(i) {
1993
2034
  if (i)
1994
- return typeof i == "string" && (i = this.element.querySelectorAll(i)), i = s.makeArray(i), i;
2035
+ return typeof i == "string" && (i = this.element.querySelectorAll(i)), i = a.makeArray(i), i;
1995
2036
  }, d._manageStamps = function() {
1996
2037
  !this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
1997
2038
  }, d._getBoundingRect = function() {
@@ -2003,20 +2044,20 @@ function si() {
2003
2044
  bottom: i.bottom - (r.paddingBottom + r.borderBottomWidth)
2004
2045
  };
2005
2046
  }, d._manageStamp = u, d._getElementOffset = function(i) {
2006
- var r = i.getBoundingClientRect(), v = this._boundingRect, T = p(i), $ = {
2047
+ var r = i.getBoundingClientRect(), v = this._boundingRect, T = p(i), S = {
2007
2048
  left: r.left - v.left - T.marginLeft,
2008
2049
  top: r.top - v.top - T.marginTop,
2009
2050
  right: v.right - r.right - T.marginRight,
2010
2051
  bottom: v.bottom - r.bottom - T.marginBottom
2011
2052
  };
2012
- return $;
2013
- }, d.handleEvent = s.handleEvent, d.bindResize = function() {
2053
+ return S;
2054
+ }, d.handleEvent = a.handleEvent, d.bindResize = function() {
2014
2055
  t.addEventListener("resize", this), this.isResizeBound = !0;
2015
2056
  }, d.unbindResize = function() {
2016
2057
  t.removeEventListener("resize", this), this.isResizeBound = !1;
2017
2058
  }, d.onresize = function() {
2018
2059
  this.resize();
2019
- }, s.debounceMethod(_, "onresize", 100), d.resize = function() {
2060
+ }, a.debounceMethod(_, "onresize", 100), d.resize = function() {
2020
2061
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
2021
2062
  }, d.needsResizeLayout = function() {
2022
2063
  var i = p(this.element), r = this.size && i;
@@ -2060,7 +2101,7 @@ function si() {
2060
2101
  return v;
2061
2102
  }
2062
2103
  }, d.getItems = function(i) {
2063
- i = s.makeArray(i);
2104
+ i = a.makeArray(i);
2064
2105
  var r = [];
2065
2106
  return i.forEach(function(v) {
2066
2107
  var T = this.getItem(v);
@@ -2069,7 +2110,7 @@ function si() {
2069
2110
  }, d.remove = function(i) {
2070
2111
  var r = this.getItems(i);
2071
2112
  this._emitCompleteOnItems("remove", r), !(!r || !r.length) && r.forEach(function(v) {
2072
- v.remove(), s.removeFrom(this.items, v);
2113
+ v.remove(), a.removeFrom(this.items, v);
2073
2114
  }, this);
2074
2115
  }, d.destroy = function() {
2075
2116
  var i = this.element.style;
@@ -2079,12 +2120,12 @@ function si() {
2079
2120
  var r = this.element.outlayerGUID;
2080
2121
  delete g[r], delete this.element.outlayerGUID, l && l.removeData(this.element, this.constructor.namespace);
2081
2122
  }, _.data = function(i) {
2082
- i = s.getQueryElement(i);
2123
+ i = a.getQueryElement(i);
2083
2124
  var r = i && i.outlayerGUID;
2084
2125
  return r && g[r];
2085
2126
  }, _.create = function(i, r) {
2086
2127
  var v = b(_);
2087
- return v.defaults = s.extend({}, _.defaults), s.extend(v.defaults, r), v.compatOptions = s.extend({}, _.compatOptions), v.namespace = i, v.data = _.data, v.Item = b(h), s.htmlInit(v, i), l && l.bridget && l.bridget(i, v), v;
2128
+ return v.defaults = a.extend({}, _.defaults), a.extend(v.defaults, r), v.compatOptions = a.extend({}, _.compatOptions), v.namespace = i, v.data = _.data, v.Item = b(h), a.htmlInit(v, i), l && l.bridget && l.bridget(i, v), v;
2088
2129
  };
2089
2130
  function b(i) {
2090
2131
  function r() {
@@ -2103,8 +2144,8 @@ function si() {
2103
2144
  if (!v.length)
2104
2145
  return 0;
2105
2146
  v = parseFloat(v);
2106
- var $ = k[T] || 1;
2107
- return v * $;
2147
+ var S = k[T] || 1;
2148
+ return v * S;
2108
2149
  }
2109
2150
  return _.Item = h, _;
2110
2151
  });
@@ -2120,8 +2161,8 @@ function si() {
2120
2161
  (function(o) {
2121
2162
  (function(e, t) {
2122
2163
  o.exports ? o.exports = t(
2123
- si(),
2124
- Ye()
2164
+ ui(),
2165
+ Ke()
2125
2166
  ) : e.Masonry = t(
2126
2167
  e.Outlayer,
2127
2168
  e.getSize
@@ -2129,13 +2170,13 @@ function si() {
2129
2170
  })(window, function(t, n) {
2130
2171
  var p = t.create("masonry");
2131
2172
  p.compatOptions.fitWidth = "isFitWidth";
2132
- var s = p.prototype;
2133
- return s._resetLayout = function() {
2173
+ var a = p.prototype;
2174
+ return a._resetLayout = function() {
2134
2175
  this.getSize(), this._getMeasurement("columnWidth", "outerWidth"), this._getMeasurement("gutter", "outerWidth"), this.measureColumns(), this.colYs = [];
2135
2176
  for (var h = 0; h < this.cols; h++)
2136
2177
  this.colYs.push(0);
2137
2178
  this.maxY = 0, this.horizontalColIndex = 0;
2138
- }, s.measureColumns = function() {
2179
+ }, a.measureColumns = function() {
2139
2180
  if (this.getContainerWidth(), !this.columnWidth) {
2140
2181
  var h = this.items[0], c = h && h.element;
2141
2182
  this.columnWidth = c && n(c).outerWidth || // if first elem has no width, default to size of container
@@ -2143,10 +2184,10 @@ function si() {
2143
2184
  }
2144
2185
  var l = this.columnWidth += this.gutter, u = this.containerWidth + this.gutter, f = u / l, g = l - u % l, _ = g && g < 1 ? "round" : "floor";
2145
2186
  f = Math[_](f), this.cols = Math.max(f, 1);
2146
- }, s.getContainerWidth = function() {
2187
+ }, a.getContainerWidth = function() {
2147
2188
  var h = this._getOption("fitWidth"), c = h ? this.element.parentNode : this.element, l = n(c);
2148
2189
  this.containerWidth = l && l.innerWidth;
2149
- }, s._getItemLayoutPosition = function(h) {
2190
+ }, a._getItemLayoutPosition = function(h) {
2150
2191
  h.getSize();
2151
2192
  var c = h.size.outerWidth % this.columnWidth, l = c && c < 1 ? "round" : "ceil", u = Math[l](h.size.outerWidth / this.columnWidth);
2152
2193
  u = Math.min(u, this.cols);
@@ -2156,24 +2197,24 @@ function si() {
2156
2197
  }, d = g.y + h.size.outerHeight, b = u + g.col, k = g.col; k < b; k++)
2157
2198
  this.colYs[k] = d;
2158
2199
  return _;
2159
- }, s._getTopColPosition = function(h) {
2200
+ }, a._getTopColPosition = function(h) {
2160
2201
  var c = this._getTopColGroup(h), l = Math.min.apply(Math, c);
2161
2202
  return {
2162
2203
  col: c.indexOf(l),
2163
2204
  y: l
2164
2205
  };
2165
- }, s._getTopColGroup = function(h) {
2206
+ }, a._getTopColGroup = function(h) {
2166
2207
  if (h < 2)
2167
2208
  return this.colYs;
2168
2209
  for (var c = [], l = this.cols + 1 - h, u = 0; u < l; u++)
2169
2210
  c[u] = this._getColGroupY(u, h);
2170
2211
  return c;
2171
- }, s._getColGroupY = function(h, c) {
2212
+ }, a._getColGroupY = function(h, c) {
2172
2213
  if (c < 2)
2173
2214
  return this.colYs[h];
2174
2215
  var l = this.colYs.slice(h, h + c);
2175
2216
  return Math.max.apply(Math, l);
2176
- }, s._getHorizontalColPosition = function(h, c) {
2217
+ }, a._getHorizontalColPosition = function(h, c) {
2177
2218
  var l = this.horizontalColIndex % this.cols, u = h > 1 && l + h > this.cols;
2178
2219
  l = u ? 0 : l;
2179
2220
  var f = c.size.outerWidth && c.size.outerHeight;
@@ -2181,32 +2222,32 @@ function si() {
2181
2222
  col: l,
2182
2223
  y: this._getColGroupY(l, h)
2183
2224
  };
2184
- }, s._manageStamp = function(h) {
2225
+ }, a._manageStamp = function(h) {
2185
2226
  var c = n(h), l = this._getElementOffset(h), u = this._getOption("originLeft"), f = u ? l.left : l.right, g = f + c.outerWidth, _ = Math.floor(f / this.columnWidth);
2186
2227
  _ = Math.max(0, _);
2187
2228
  var d = Math.floor(g / this.columnWidth);
2188
2229
  d -= g % this.columnWidth ? 0 : 1, d = Math.min(this.cols - 1, d);
2189
2230
  for (var b = this._getOption("originTop"), k = (b ? l.top : l.bottom) + c.outerHeight, m = _; m <= d; m++)
2190
2231
  this.colYs[m] = Math.max(k, this.colYs[m]);
2191
- }, s._getContainerSize = function() {
2232
+ }, a._getContainerSize = function() {
2192
2233
  this.maxY = Math.max.apply(Math, this.colYs);
2193
2234
  var h = {
2194
2235
  height: this.maxY
2195
2236
  };
2196
2237
  return this._getOption("fitWidth") && (h.width = this._getContainerFitWidth()), h;
2197
- }, s._getContainerFitWidth = function() {
2238
+ }, a._getContainerFitWidth = function() {
2198
2239
  for (var h = 0, c = this.cols; --c && this.colYs[c] === 0; )
2199
2240
  h++;
2200
2241
  return (this.cols - h) * this.columnWidth - this.gutter;
2201
- }, s.needsResizeLayout = function() {
2242
+ }, a.needsResizeLayout = function() {
2202
2243
  var h = this.containerWidth;
2203
2244
  return this.getContainerWidth(), h != this.containerWidth;
2204
2245
  }, p;
2205
2246
  });
2206
- })(Tt);
2207
- var ai = Tt.exports;
2208
- const lt = /* @__PURE__ */ Et(ai);
2209
- var Ct = { exports: {} };
2247
+ })(It);
2248
+ var di = It.exports;
2249
+ const dt = /* @__PURE__ */ Ct(di);
2250
+ var $t = { exports: {} };
2210
2251
  /*!
2211
2252
  * imagesLoaded v4.1.4
2212
2253
  * JavaScript is all like "You images are done yet or what?"
@@ -2216,16 +2257,16 @@ var Ct = { exports: {} };
2216
2257
  (function(e, t) {
2217
2258
  o.exports ? o.exports = t(
2218
2259
  e,
2219
- je()
2260
+ Ye()
2220
2261
  ) : e.imagesLoaded = t(
2221
2262
  e,
2222
2263
  e.EvEmitter
2223
2264
  );
2224
2265
  })(
2225
- typeof window < "u" ? window : _t,
2266
+ typeof window < "u" ? window : Tt,
2226
2267
  // -------------------------- factory -------------------------- //
2227
2268
  function(t, n) {
2228
- var p = t.jQuery, s = t.console;
2269
+ var p = t.jQuery, a = t.console;
2229
2270
  function h(d, b) {
2230
2271
  for (var k in b)
2231
2272
  d[k] = b[k];
@@ -2243,7 +2284,7 @@ var Ct = { exports: {} };
2243
2284
  return new u(d, b, k);
2244
2285
  var m = d;
2245
2286
  if (typeof d == "string" && (m = document.querySelectorAll(d)), !m) {
2246
- s.error("Bad element for imagesLoaded " + (m || d));
2287
+ a.error("Bad element for imagesLoaded " + (m || d));
2247
2288
  return;
2248
2289
  }
2249
2290
  this.elements = l(m), this.options = h({}, this.options), typeof b == "function" ? k = b : h(this.options, b), k && this.on("always", k), this.getImages(), p && (this.jqDeferred = new p.Deferred()), setTimeout(this.check.bind(this));
@@ -2300,7 +2341,7 @@ var Ct = { exports: {} };
2300
2341
  k.once("progress", b), k.check();
2301
2342
  });
2302
2343
  }, u.prototype.progress = function(d, b, k) {
2303
- this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !d.isLoaded, this.emitEvent("progress", [this, d, b]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, d), this.progressedCount == this.images.length && this.complete(), this.options.debug && s && s.log("progress: " + k, d, b);
2344
+ this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !d.isLoaded, this.emitEvent("progress", [this, d, b]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, d), this.progressedCount == this.images.length && this.complete(), this.options.debug && a && a.log("progress: " + k, d, b);
2304
2345
  }, u.prototype.complete = function() {
2305
2346
  var d = this.hasAnyBroken ? "fail" : "done";
2306
2347
  if (this.isComplete = !0, this.emitEvent(d, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
@@ -2351,10 +2392,10 @@ var Ct = { exports: {} };
2351
2392
  }, u.makeJQueryPlugin(), u;
2352
2393
  }
2353
2394
  );
2354
- })(Ct);
2355
- var li = Ct.exports;
2356
- const ui = /* @__PURE__ */ Et(li);
2357
- function di(o) {
2395
+ })($t);
2396
+ var ci = $t.exports;
2397
+ const pi = /* @__PURE__ */ Ct(ci);
2398
+ function hi(o) {
2358
2399
  return { all: o = o || /* @__PURE__ */ new Map(), on: function(e, t) {
2359
2400
  var n = o.get(e);
2360
2401
  n ? n.push(t) : o.set(e, [t]);
@@ -2370,7 +2411,7 @@ function di(o) {
2370
2411
  });
2371
2412
  } };
2372
2413
  }
2373
- const me = {
2414
+ const ve = {
2374
2415
  "column-width": "columnWidth",
2375
2416
  "transition-duration": "transitionDuration",
2376
2417
  "item-selector": "itemSelector",
@@ -2383,94 +2424,94 @@ const me = {
2383
2424
  "horizontal-order": "horizontalOrder",
2384
2425
  stagger: "stagger",
2385
2426
  "destroy-delay": "destroyDelay"
2386
- }, ge = "vuemasonry.itemAdded", Me = "vuemasonry.itemRemoved", Re = "vuemasonry.imageLoaded", Be = "vuemasonry.destroy", ci = function(o) {
2427
+ }, ye = "vuemasonry.itemAdded", Re = "vuemasonry.itemRemoved", Be = "vuemasonry.imageLoaded", ze = "vuemasonry.destroy", fi = function(o) {
2387
2428
  return (o + "").toLowerCase() === "true";
2388
- }, pi = function(o) {
2429
+ }, mi = function(o) {
2389
2430
  return isNaN(o) ? o : parseInt(o);
2390
- }, hi = function(o) {
2431
+ }, gi = function(o) {
2391
2432
  const e = {};
2392
2433
  return Array.prototype.slice.call(o).forEach(function(n) {
2393
- Object.keys(me).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[me[n.name]] = ci(n.value) : n.name === "column-width" || n.name === "gutter" ? e[me[n.name]] = pi(n.value) : e[me[n.name]] = n.value);
2434
+ Object.keys(ve).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ve[n.name]] = fi(n.value) : n.name === "column-width" || n.name === "gutter" ? e[ve[n.name]] = mi(n.value) : e[ve[n.name]] = n.value);
2394
2435
  }), e;
2395
- }, It = {};
2396
- It.install = function(o, e) {
2397
- const t = di(), n = "VueMasonry", p = o;
2436
+ }, St = {};
2437
+ St.install = function(o, e) {
2438
+ const t = hi(), n = "VueMasonry", p = o;
2398
2439
  p.directive("masonry", {
2399
2440
  props: ["transitionDuration", " itemSelector", "destroyDelay"],
2400
- mounted: function(s, h) {
2401
- if (!lt)
2441
+ mounted: function(a, h) {
2442
+ if (!dt)
2402
2443
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
2403
- const c = hi(s.attributes), l = new lt(s, c), u = h.value || n, f = c.destroyDelay ? parseInt(c.destroyDelay, 10) : void 0, g = function() {
2444
+ const c = gi(a.attributes), l = new dt(a, c), u = h.value || n, f = c.destroyDelay ? parseInt(c.destroyDelay, 10) : void 0, g = function() {
2404
2445
  l.reloadItems(), l.layout();
2405
2446
  };
2406
- kt(() => {
2447
+ Et(() => {
2407
2448
  g();
2408
2449
  });
2409
2450
  const _ = function(b) {
2410
2451
  g();
2411
2452
  }, d = function(b) {
2412
- t.off(`${ge}__${u}`, _), t.off(`${Me}__${u}`, _), t.off(`${Re}__${u}`, _), t.off(`${Be}__${u}`, d);
2453
+ t.off(`${ye}__${u}`, _), t.off(`${Re}__${u}`, _), t.off(`${Be}__${u}`, _), t.off(`${ze}__${u}`, d);
2413
2454
  const k = f && !Number.isNaN(f) ? f : 0;
2414
2455
  setTimeout(function() {
2415
2456
  l.destroy();
2416
2457
  }, k);
2417
2458
  };
2418
- t.on(`${ge}__${u}`, _), t.on(`${Me}__${u}`, _), t.on(`${Re}__${u}`, _), t.on(`${Be}__${u}`, d);
2459
+ t.on(`${ye}__${u}`, _), t.on(`${Re}__${u}`, _), t.on(`${Be}__${u}`, _), t.on(`${ze}__${u}`, d);
2419
2460
  },
2420
- unbind: function(s, h) {
2461
+ unbind: function(a, h) {
2421
2462
  const c = h.value || n;
2422
- t.emit(`${Be}__${c}`);
2463
+ t.emit(`${ze}__${c}`);
2423
2464
  }
2424
2465
  }), p.directive("masonryTile", {
2425
- mounted: function(s, h) {
2466
+ mounted: function(a, h) {
2426
2467
  const c = h.value || n;
2427
- t.emit(`${ge}__${c}`, {
2428
- element: s
2429
- }), new ui(s, function() {
2430
- t.emit(`${Re}__${c}`, {
2431
- element: s
2468
+ t.emit(`${ye}__${c}`, {
2469
+ element: a
2470
+ }), new pi(a, function() {
2471
+ t.emit(`${Be}__${c}`, {
2472
+ element: a
2432
2473
  });
2433
2474
  });
2434
2475
  },
2435
- unbind: function(s, h) {
2476
+ unbind: function(a, h) {
2436
2477
  const c = h.value || n;
2437
- t.emit(`${Me}__${c}`, {
2438
- element: s
2478
+ t.emit(`${Re}__${c}`, {
2479
+ element: a
2439
2480
  });
2440
2481
  }
2441
2482
  });
2442
2483
  {
2443
- const s = function(h) {
2484
+ const a = function(h) {
2444
2485
  const c = h || n;
2445
- t.emit(`${ge}__${c}`);
2486
+ t.emit(`${ye}__${c}`);
2446
2487
  };
2447
- o.config.globalProperties.$redrawVueMasonry = s, o.provide("redrawVueMasonry", s);
2488
+ o.config.globalProperties.$redrawVueMasonry = a, o.provide("redrawVueMasonry", a);
2448
2489
  }
2449
2490
  };
2450
- function Fe(o, e = {}, t) {
2491
+ function qe(o, e = {}, t) {
2451
2492
  for (const n in o) {
2452
- const p = o[n], s = t ? `${t}:${n}` : n;
2453
- typeof p == "object" && p !== null ? Fe(p, e, s) : typeof p == "function" && (e[s] = p);
2493
+ const p = o[n], a = t ? `${t}:${n}` : n;
2494
+ typeof p == "object" && p !== null ? qe(p, e, a) : typeof p == "function" && (e[a] = p);
2454
2495
  }
2455
2496
  return e;
2456
2497
  }
2457
- const fi = { run: (o) => o() }, mi = () => fi, $t = typeof console.createTask < "u" ? console.createTask : mi;
2458
- function gi(o, e) {
2459
- const t = e.shift(), n = $t(t);
2498
+ const vi = { run: (o) => o() }, yi = () => vi, Vt = typeof console.createTask < "u" ? console.createTask : yi;
2499
+ function bi(o, e) {
2500
+ const t = e.shift(), n = Vt(t);
2460
2501
  return o.reduce(
2461
- (p, s) => p.then(() => n.run(() => s(...e))),
2502
+ (p, a) => p.then(() => n.run(() => a(...e))),
2462
2503
  Promise.resolve()
2463
2504
  );
2464
2505
  }
2465
- function vi(o, e) {
2466
- const t = e.shift(), n = $t(t);
2506
+ function ki(o, e) {
2507
+ const t = e.shift(), n = Vt(t);
2467
2508
  return Promise.all(o.map((p) => n.run(() => p(...e))));
2468
2509
  }
2469
- function ze(o, e) {
2510
+ function We(o, e) {
2470
2511
  for (const t of [...o])
2471
2512
  t(e);
2472
2513
  }
2473
- class yi {
2514
+ class _i {
2474
2515
  constructor() {
2475
2516
  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);
2476
2517
  }
@@ -2479,12 +2520,12 @@ class yi {
2479
2520
  return () => {
2480
2521
  };
2481
2522
  const p = e;
2482
- let s;
2523
+ let a;
2483
2524
  for (; this._deprecatedHooks[e]; )
2484
- s = this._deprecatedHooks[e], e = s.to;
2485
- if (s && !n.allowDeprecated) {
2486
- let h = s.message;
2487
- h || (h = `${p} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(h) || (console.warn(h), this._deprecatedMessages.add(h));
2525
+ a = this._deprecatedHooks[e], e = a.to;
2526
+ if (a && !n.allowDeprecated) {
2527
+ let h = a.message;
2528
+ h || (h = `${p} hook has been deprecated` + (a.to ? `, please use ${a.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(h) || (console.warn(h), this._deprecatedMessages.add(h));
2488
2529
  }
2489
2530
  if (!t.name)
2490
2531
  try {
@@ -2499,7 +2540,7 @@ class yi {
2499
2540
  };
2500
2541
  }
2501
2542
  hookOnce(e, t) {
2502
- let n, p = (...s) => (typeof n == "function" && n(), n = void 0, p = void 0, t(...s));
2543
+ let n, p = (...a) => (typeof n == "function" && n(), n = void 0, p = void 0, t(...a));
2503
2544
  return n = this.hook(e, p), n;
2504
2545
  }
2505
2546
  removeHook(e, t) {
@@ -2521,7 +2562,7 @@ class yi {
2521
2562
  this.deprecateHook(t, e[t]);
2522
2563
  }
2523
2564
  addHooks(e) {
2524
- const t = Fe(e), n = Object.keys(t).map(
2565
+ const t = qe(e), n = Object.keys(t).map(
2525
2566
  (p) => this.hook(p, t[p])
2526
2567
  );
2527
2568
  return () => {
@@ -2530,7 +2571,7 @@ class yi {
2530
2571
  };
2531
2572
  }
2532
2573
  removeHooks(e) {
2533
- const t = Fe(e);
2574
+ const t = qe(e);
2534
2575
  for (const n in t)
2535
2576
  this.removeHook(n, t[n]);
2536
2577
  }
@@ -2539,21 +2580,21 @@ class yi {
2539
2580
  delete this._hooks[e];
2540
2581
  }
2541
2582
  callHook(e, ...t) {
2542
- return t.unshift(e), this.callHookWith(gi, e, ...t);
2583
+ return t.unshift(e), this.callHookWith(bi, e, ...t);
2543
2584
  }
2544
2585
  callHookParallel(e, ...t) {
2545
- return t.unshift(e), this.callHookWith(vi, e, ...t);
2586
+ return t.unshift(e), this.callHookWith(ki, e, ...t);
2546
2587
  }
2547
2588
  callHookWith(e, t, ...n) {
2548
2589
  const p = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
2549
- this._before && ze(this._before, p);
2550
- const s = e(
2590
+ this._before && We(this._before, p);
2591
+ const a = e(
2551
2592
  t in this._hooks ? [...this._hooks[t]] : [],
2552
2593
  n
2553
2594
  );
2554
- return s instanceof Promise ? s.finally(() => {
2555
- this._after && p && ze(this._after, p);
2556
- }) : (this._after && p && ze(this._after, p), s);
2595
+ return a instanceof Promise ? a.finally(() => {
2596
+ this._after && p && We(this._after, p);
2597
+ }) : (this._after && p && We(this._after, p), a);
2557
2598
  }
2558
2599
  beforeEach(e) {
2559
2600
  return this._before = this._before || [], this._before.push(e), () => {
@@ -2572,20 +2613,20 @@ class yi {
2572
2613
  };
2573
2614
  }
2574
2615
  }
2575
- function bi() {
2576
- return new yi();
2616
+ function Ei() {
2617
+ return new _i();
2577
2618
  }
2578
- function ki(o) {
2619
+ function Ti(o) {
2579
2620
  return Array.isArray(o) ? o : [o];
2580
2621
  }
2581
- const _i = ["title", "titleTemplate", "script", "style", "noscript"], ve = [
2622
+ const Ci = ["title", "titleTemplate", "script", "style", "noscript"], be = [
2582
2623
  "base",
2583
2624
  "meta",
2584
2625
  "link",
2585
2626
  "style",
2586
2627
  "script",
2587
2628
  "noscript"
2588
- ], Ei = [
2629
+ ], Ii = [
2589
2630
  "title",
2590
2631
  "titleTemplate",
2591
2632
  "templateParams",
@@ -2597,19 +2638,19 @@ const _i = ["title", "titleTemplate", "script", "style", "noscript"], ve = [
2597
2638
  "style",
2598
2639
  "script",
2599
2640
  "noscript"
2600
- ], Ti = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], St = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Ci = typeof window < "u";
2601
- function Ke(o) {
2641
+ ], $i = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Lt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Si = typeof window < "u";
2642
+ function Qe(o) {
2602
2643
  let e = 9;
2603
2644
  for (let t = 0; t < o.length; )
2604
2645
  e = Math.imul(e ^ o.charCodeAt(t++), 9 ** 9);
2605
2646
  return ((e ^ e >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
2606
2647
  }
2607
- function ut(o) {
2608
- return o._h || Ke(o._d ? o._d : `${o.tag}:${o.textContent || o.innerHTML || ""}:${Object.entries(o.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
2648
+ function ct(o) {
2649
+ return o._h || Qe(o._d ? o._d : `${o.tag}:${o.textContent || o.innerHTML || ""}:${Object.entries(o.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
2609
2650
  }
2610
- function Vt(o, e) {
2651
+ function Pt(o, e) {
2611
2652
  const { props: t, tag: n } = o;
2612
- if (Ti.includes(n))
2653
+ if ($i.includes(n))
2613
2654
  return n;
2614
2655
  if (n === "link" && t.rel === "canonical")
2615
2656
  return "canonical";
@@ -2617,72 +2658,72 @@ function Vt(o, e) {
2617
2658
  return "charset";
2618
2659
  const p = ["id"];
2619
2660
  n === "meta" && p.push("name", "property", "http-equiv");
2620
- for (const s of p)
2621
- if (typeof t[s] < "u") {
2622
- const h = String(t[s]);
2623
- return e && !e(h) ? !1 : `${n}:${s}:${h}`;
2661
+ for (const a of p)
2662
+ if (typeof t[a] < "u") {
2663
+ const h = String(t[a]);
2664
+ return e && !e(h) ? !1 : `${n}:${a}:${h}`;
2624
2665
  }
2625
2666
  return !1;
2626
2667
  }
2627
- function dt(o, e) {
2668
+ function pt(o, e) {
2628
2669
  return o == null ? e || null : typeof o == "function" ? o(e) : o;
2629
2670
  }
2630
- async function Ii(o, e, t) {
2671
+ async function Vi(o, e, t) {
2631
2672
  const n = {
2632
2673
  tag: o,
2633
- props: await Lt(
2674
+ props: await wt(
2634
2675
  // explicitly check for an object
2635
2676
  // @ts-expect-error untyped
2636
2677
  typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? { ...e } : { [["script", "noscript", "style"].includes(o) ? "innerHTML" : "textContent"]: e },
2637
2678
  ["templateParams", "titleTemplate"].includes(o)
2638
2679
  )
2639
2680
  };
2640
- return St.forEach((p) => {
2641
- const s = typeof n.props[p] < "u" ? n.props[p] : t[p];
2642
- typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(p) || _i.includes(n.tag)) && (n[p === "children" ? "innerHTML" : p] = s), delete n.props[p]);
2681
+ return Lt.forEach((p) => {
2682
+ const a = typeof n.props[p] < "u" ? n.props[p] : t[p];
2683
+ typeof a < "u" && ((!["innerHTML", "textContent", "children"].includes(p) || Ci.includes(n.tag)) && (n[p === "children" ? "innerHTML" : p] = a), delete n.props[p]);
2643
2684
  }), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((p) => ({ ...n, props: { ...n.props, content: p } })) : n;
2644
2685
  }
2645
- function $i(o) {
2686
+ function Li(o) {
2646
2687
  return typeof o == "object" && !Array.isArray(o) && (o = Object.keys(o).filter((e) => o[e])), (Array.isArray(o) ? o.join(" ") : o).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
2647
2688
  }
2648
- async function Lt(o, e) {
2689
+ async function wt(o, e) {
2649
2690
  for (const t of Object.keys(o)) {
2650
2691
  if (t === "class") {
2651
- o[t] = $i(o[t]);
2692
+ o[t] = Li(o[t]);
2652
2693
  continue;
2653
2694
  }
2654
- if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !St.includes(t)) {
2695
+ if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !Lt.includes(t)) {
2655
2696
  const n = String(o[t]), p = t.startsWith("data-");
2656
2697
  n === "true" || n === "" ? o[t] = p ? "true" : !0 : o[t] || (p && n === "false" ? o[t] = "false" : delete o[t]);
2657
2698
  }
2658
2699
  }
2659
2700
  return o;
2660
2701
  }
2661
- const Si = 10;
2662
- async function Vi(o) {
2702
+ const Pi = 10;
2703
+ async function wi(o) {
2663
2704
  const e = [];
2664
- return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" && Ei.includes(t)).forEach(([t, n]) => {
2665
- const p = ki(n);
2666
- e.push(...p.map((s) => Ii(t, s, o)).flat());
2667
- }), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Si) + n, t));
2705
+ return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" && Ii.includes(t)).forEach(([t, n]) => {
2706
+ const p = Ti(n);
2707
+ e.push(...p.map((a) => Vi(t, a, o)).flat());
2708
+ }), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Pi) + n, t));
2668
2709
  }
2669
- const ct = {
2710
+ const ht = {
2670
2711
  // tags
2671
2712
  base: -10,
2672
2713
  title: 10
2673
- }, pt = {
2714
+ }, ft = {
2674
2715
  // relative scores to their default values
2675
2716
  critical: -80,
2676
2717
  high: -10,
2677
2718
  low: 20
2678
2719
  };
2679
- function _e(o) {
2720
+ function Te(o) {
2680
2721
  let e = 100;
2681
2722
  const t = o.tagPriority;
2682
- return typeof t == "number" ? t : (o.tag === "meta" ? (o.props["http-equiv"] === "content-security-policy" && (e = -30), o.props.charset && (e = -20), o.props.name === "viewport" && (e = -15)) : o.tag === "link" && o.props.rel === "preconnect" ? e = 20 : o.tag in ct && (e = ct[o.tag]), typeof t == "string" && t in pt ? e + pt[t] : e);
2723
+ return typeof t == "number" ? t : (o.tag === "meta" ? (o.props["http-equiv"] === "content-security-policy" && (e = -30), o.props.charset && (e = -20), o.props.name === "viewport" && (e = -15)) : o.tag === "link" && o.props.rel === "preconnect" ? e = 20 : o.tag in ht && (e = ht[o.tag]), typeof t == "string" && t in ft ? e + ft[t] : e);
2683
2724
  }
2684
- const Li = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Pt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], Z = "%separator";
2685
- function ye(o, e, t) {
2725
+ const xi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], xt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], te = "%separator";
2726
+ function ke(o, e, t) {
2686
2727
  if (typeof o != "string" || !o.includes("%"))
2687
2728
  return o;
2688
2729
  function n(h) {
@@ -2697,19 +2738,19 @@ function ye(o, e, t) {
2697
2738
  return (p.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((h) => {
2698
2739
  const c = n(h.slice(1));
2699
2740
  typeof c == "string" && (o = o.replace(new RegExp(`\\${h}(\\W|$)`, "g"), (l, u) => `${c}${u}`).trim());
2700
- }), o.includes(Z) && (o.endsWith(Z) && (o = o.slice(0, -Z.length).trim()), o.startsWith(Z) && (o = o.slice(Z.length).trim()), o = o.replace(new RegExp(`\\${Z}\\s*\\${Z}`, "g"), Z), o = ye(o, { separator: t }, t)), o;
2741
+ }), o.includes(te) && (o.endsWith(te) && (o = o.slice(0, -te.length).trim()), o.startsWith(te) && (o = o.slice(te.length).trim()), o = o.replace(new RegExp(`\\${te}\\s*\\${te}`, "g"), te), o = ke(o, { separator: t }, t)), o;
2701
2742
  }
2702
- async function Pi(o) {
2743
+ async function Oi(o) {
2703
2744
  const e = {
2704
2745
  tag: o.tagName.toLowerCase(),
2705
- props: await Lt(
2746
+ props: await wt(
2706
2747
  o.getAttributeNames().reduce((t, n) => ({ ...t, [n]: o.getAttribute(n) }), {})
2707
2748
  ),
2708
2749
  innerHTML: o.innerHTML
2709
2750
  };
2710
- return e._d = Vt(e), e;
2751
+ return e._d = Pt(e), e;
2711
2752
  }
2712
- async function xi(o, e = {}) {
2753
+ async function Ai(o, e = {}) {
2713
2754
  const t = e.document || o.resolvedOptions.document;
2714
2755
  if (!t)
2715
2756
  return;
@@ -2718,31 +2759,31 @@ async function xi(o, e = {}) {
2718
2759
  return;
2719
2760
  const p = (await o.resolveTags()).map((f) => ({
2720
2761
  tag: f,
2721
- id: ve.includes(f.tag) ? ut(f) : f.tag,
2762
+ id: be.includes(f.tag) ? ct(f) : f.tag,
2722
2763
  shouldRender: !0
2723
2764
  }));
2724
- let s = o._dom;
2725
- if (!s) {
2726
- s = {
2765
+ let a = o._dom;
2766
+ if (!a) {
2767
+ a = {
2727
2768
  elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
2728
2769
  };
2729
2770
  for (const f of ["body", "head"]) {
2730
2771
  const g = t?.[f]?.children;
2731
- for (const _ of [...g].filter((d) => ve.includes(d.tagName.toLowerCase())))
2732
- s.elMap[_.getAttribute("data-hid") || ut(await Pi(_))] = _;
2772
+ for (const _ of [...g].filter((d) => be.includes(d.tagName.toLowerCase())))
2773
+ a.elMap[_.getAttribute("data-hid") || ct(await Oi(_))] = _;
2733
2774
  }
2734
2775
  }
2735
- s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
2776
+ a.pendingSideEffects = { ...a.sideEffects || {} }, a.sideEffects = {};
2736
2777
  function h(f, g, _) {
2737
2778
  const d = `${f}:${g}`;
2738
- s.sideEffects[d] = _, delete s.pendingSideEffects[d];
2779
+ a.sideEffects[d] = _, delete a.pendingSideEffects[d];
2739
2780
  }
2740
2781
  function c({ id: f, $el: g, tag: _ }) {
2741
2782
  const d = _.tag.endsWith("Attrs");
2742
- s.elMap[f] = g, d || (["textContent", "innerHTML"].forEach((b) => {
2783
+ a.elMap[f] = g, d || (["textContent", "innerHTML"].forEach((b) => {
2743
2784
  _[b] && _[b] !== g[b] && (g[b] = _[b]);
2744
2785
  }), h(f, "el", () => {
2745
- s.elMap[f].remove(), delete s.elMap[f];
2786
+ a.elMap[f].remove(), delete a.elMap[f];
2746
2787
  })), Object.entries(_.props).forEach(([b, k]) => {
2747
2788
  const m = `attr:${b}`;
2748
2789
  if (b === "class")
@@ -2764,7 +2805,7 @@ async function xi(o, e = {}) {
2764
2805
  t.title = g.textContent;
2765
2806
  continue;
2766
2807
  }
2767
- f.$el = f.$el || s.elMap[d], f.$el ? c(f) : ve.includes(g.tag) && l.push(f);
2808
+ f.$el = f.$el || a.elMap[d], f.$el ? c(f) : be.includes(g.tag) && l.push(f);
2768
2809
  }
2769
2810
  }
2770
2811
  for (const f of l) {
@@ -2773,45 +2814,45 @@ async function xi(o, e = {}) {
2773
2814
  }
2774
2815
  for (const f of p)
2775
2816
  await o.hooks.callHook("dom:renderTag", f, t, h);
2776
- u.head && t.head.appendChild(u.head), u.bodyOpen && t.body.insertBefore(u.bodyOpen, t.body.firstChild), u.bodyClose && t.body.appendChild(u.bodyClose), Object.values(s.pendingSideEffects).forEach((f) => f()), o._dom = s, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: p });
2817
+ u.head && t.head.appendChild(u.head), u.bodyOpen && t.body.insertBefore(u.bodyOpen, t.body.firstChild), u.bodyClose && t.body.appendChild(u.bodyClose), Object.values(a.pendingSideEffects).forEach((f) => f()), o._dom = a, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: p });
2777
2818
  }
2778
- async function wi(o, e = {}) {
2819
+ async function Hi(o, e = {}) {
2779
2820
  const t = e.delayFn || ((n) => setTimeout(n, 10));
2780
2821
  return o._domUpdatePromise = o._domUpdatePromise || new Promise((n) => t(async () => {
2781
- await xi(o, e), delete o._domUpdatePromise, n();
2822
+ await Ai(o, e), delete o._domUpdatePromise, n();
2782
2823
  }));
2783
2824
  }
2784
2825
  // @__NO_SIDE_EFFECTS__
2785
- function Ai(o) {
2826
+ function Di(o) {
2786
2827
  return (e) => {
2787
2828
  const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
2788
2829
  return t && e.push(JSON.parse(t)), {
2789
2830
  mode: "client",
2790
2831
  hooks: {
2791
2832
  "entries:updated": function(n) {
2792
- wi(n, o);
2833
+ Hi(n, o);
2793
2834
  }
2794
2835
  }
2795
2836
  };
2796
2837
  };
2797
2838
  }
2798
- const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
2839
+ const Mi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ri = {
2799
2840
  hooks: {
2800
2841
  "tag:normalise": function({ tag: o }) {
2801
2842
  ["hid", "vmid", "key"].forEach((n) => {
2802
2843
  o.props[n] && (o.key = o.props[n], delete o.props[n]);
2803
2844
  });
2804
- const t = Vt(o) || (o.key ? `${o.tag}:${o.key}` : !1);
2845
+ const t = Pt(o) || (o.key ? `${o.tag}:${o.key}` : !1);
2805
2846
  t && (o._d = t);
2806
2847
  },
2807
2848
  "tags:resolve": function(o) {
2808
2849
  const e = {};
2809
2850
  o.tags.forEach((n) => {
2810
- const p = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, s = e[p];
2811
- if (s) {
2851
+ const p = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, a = e[p];
2852
+ if (a) {
2812
2853
  let c = n?.tagDuplicateStrategy;
2813
- if (!c && Oi.includes(n.tag) && (c = "merge"), c === "merge") {
2814
- const l = s.props;
2854
+ if (!c && Mi.includes(n.tag) && (c = "merge"), c === "merge") {
2855
+ const l = a.props;
2815
2856
  ["class", "style"].forEach((u) => {
2816
2857
  l[u] && (n.props[u] ? (u === "style" && !l[u].endsWith(";") && (l[u] += ";"), n.props[u] = `${l[u]} ${n.props[u]}`) : n.props[u] = l[u]);
2817
2858
  }), e[p].props = {
@@ -2819,14 +2860,14 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
2819
2860
  ...n.props
2820
2861
  };
2821
2862
  return;
2822
- } else if (n._e === s._e) {
2823
- s._duped = s._duped || [], n._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(n);
2863
+ } else if (n._e === a._e) {
2864
+ a._duped = a._duped || [], n._d = `${a._d}:${a._duped.length + 1}`, a._duped.push(n);
2824
2865
  return;
2825
- } else if (_e(n) > _e(s))
2866
+ } else if (Te(n) > Te(a))
2826
2867
  return;
2827
2868
  }
2828
2869
  const h = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
2829
- if (ve.includes(n.tag) && h === 0) {
2870
+ if (be.includes(n.tag) && h === 0) {
2830
2871
  delete e[p];
2831
2872
  return;
2832
2873
  }
@@ -2839,7 +2880,7 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
2839
2880
  }), o.tags = t, o.tags = o.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
2840
2881
  }
2841
2882
  }
2842
- }, Di = {
2883
+ }, Bi = {
2843
2884
  mode: "server",
2844
2885
  hooks: {
2845
2886
  "tags:resolve": function(o) {
@@ -2853,28 +2894,28 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
2853
2894
  });
2854
2895
  }
2855
2896
  }
2856
- }, Mi = ["script", "link", "bodyAttrs"];
2857
- function Ri(o) {
2897
+ }, zi = ["script", "link", "bodyAttrs"];
2898
+ function Wi(o) {
2858
2899
  const e = {}, t = {};
2859
2900
  return Object.entries(o.props).forEach(([n, p]) => {
2860
- n.startsWith("on") && typeof p == "function" ? (Pt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = p) : e[n] = p;
2901
+ n.startsWith("on") && typeof p == "function" ? (xt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = p) : e[n] = p;
2861
2902
  }), { props: e, eventHandlers: t };
2862
2903
  }
2863
- const Bi = (o) => ({
2904
+ const Fi = (o) => ({
2864
2905
  hooks: {
2865
2906
  "tags:resolve": function(e) {
2866
2907
  for (const t of e.tags)
2867
- if (Mi.includes(t.tag)) {
2868
- const { props: n, eventHandlers: p } = Ri(t);
2869
- t.props = n, Object.keys(p).length && ((t.props.src || t.props.href) && (t.key = t.key || Ke(t.props.src || t.props.href)), t._eventHandlers = p);
2908
+ if (zi.includes(t.tag)) {
2909
+ const { props: n, eventHandlers: p } = Wi(t);
2910
+ t.props = n, Object.keys(p).length && ((t.props.src || t.props.href) && (t.key = t.key || Qe(t.props.src || t.props.href)), t._eventHandlers = p);
2870
2911
  }
2871
2912
  },
2872
2913
  "dom:renderTag": function(e, t, n) {
2873
2914
  if (!e.tag._eventHandlers)
2874
2915
  return;
2875
2916
  const p = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
2876
- Object.entries(e.tag._eventHandlers).forEach(([s, h]) => {
2877
- const c = `${e.tag._d || e.tag._p}:${s}`, l = s.slice(2).toLowerCase(), u = `data-h-${l}`;
2917
+ Object.entries(e.tag._eventHandlers).forEach(([a, h]) => {
2918
+ const c = `${e.tag._d || e.tag._p}:${a}`, l = a.slice(2).toLowerCase(), u = `data-h-${l}`;
2878
2919
  if (n(e.id, c, () => {
2879
2920
  }), e.$el.hasAttribute(u))
2880
2921
  return;
@@ -2883,8 +2924,8 @@ const Bi = (o) => ({
2883
2924
  const g = (_) => {
2884
2925
  h(_), f?.disconnect();
2885
2926
  };
2886
- s in e.$el.dataset ? g(new Event(s.replace("on", ""))) : Pt.includes(s) && typeof MutationObserver < "u" ? (f = new MutationObserver((_) => {
2887
- _.some((b) => b.attributeName === `data-${s}`) && (g(new Event(s.replace("on", ""))), f?.disconnect());
2927
+ a in e.$el.dataset ? g(new Event(a.replace("on", ""))) : xt.includes(a) && typeof MutationObserver < "u" ? (f = new MutationObserver((_) => {
2928
+ _.some((b) => b.attributeName === `data-${a}`) && (g(new Event(a.replace("on", ""))), f?.disconnect());
2888
2929
  }), f.observe(e.$el, {
2889
2930
  attributes: !0
2890
2931
  })) : p.addEventListener(l, g), n(e.id, c, () => {
@@ -2893,58 +2934,58 @@ const Bi = (o) => ({
2893
2934
  });
2894
2935
  }
2895
2936
  }
2896
- }), zi = ["link", "style", "script", "noscript"], Wi = {
2937
+ }), Ni = ["link", "style", "script", "noscript"], qi = {
2897
2938
  hooks: {
2898
2939
  "tag:normalise": ({ tag: o }) => {
2899
- o.key && zi.includes(o.tag) && (o.props["data-hid"] = o._h = Ke(o.key));
2940
+ o.key && Ni.includes(o.tag) && (o.props["data-hid"] = o._h = Qe(o.key));
2900
2941
  }
2901
2942
  }
2902
- }, Ni = {
2943
+ }, Ui = {
2903
2944
  hooks: {
2904
2945
  "tags:resolve": (o) => {
2905
2946
  const e = (t) => o.tags.find((n) => n._d === t)?._p;
2906
- for (const { prefix: t, offset: n } of Li)
2907
- for (const p of o.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
2908
- const s = e(
2947
+ for (const { prefix: t, offset: n } of xi)
2948
+ for (const p of o.tags.filter((a) => typeof a.tagPriority == "string" && a.tagPriority.startsWith(t))) {
2949
+ const a = e(
2909
2950
  p.tagPriority.replace(t, "")
2910
2951
  );
2911
- typeof s < "u" && (p._p = s + n);
2952
+ typeof a < "u" && (p._p = a + n);
2912
2953
  }
2913
- o.tags.sort((t, n) => t._p - n._p).sort((t, n) => _e(t) - _e(n));
2954
+ o.tags.sort((t, n) => t._p - n._p).sort((t, n) => Te(t) - Te(n));
2914
2955
  }
2915
2956
  }
2916
- }, Fi = {
2957
+ }, Gi = {
2917
2958
  meta: "content",
2918
2959
  link: "href",
2919
2960
  htmlAttrs: "lang"
2920
- }, qi = (o) => ({
2961
+ }, ji = (o) => ({
2921
2962
  hooks: {
2922
2963
  "tags:resolve": (e) => {
2923
- const { tags: t } = e, n = t.find((c) => c.tag === "title")?.textContent, p = t.findIndex((c) => c.tag === "templateParams"), s = p !== -1 ? t[p].props : {}, h = s.separator || "|";
2924
- delete s.separator, s.pageTitle = ye(s.pageTitle || n || "", s, h);
2964
+ const { tags: t } = e, n = t.find((c) => c.tag === "title")?.textContent, p = t.findIndex((c) => c.tag === "templateParams"), a = p !== -1 ? t[p].props : {}, h = a.separator || "|";
2965
+ delete a.separator, a.pageTitle = ke(a.pageTitle || n || "", a, h);
2925
2966
  for (const c of t.filter((l) => l.processTemplateParams !== !1)) {
2926
- const l = Fi[c.tag];
2927
- l && typeof c.props[l] == "string" ? c.props[l] = ye(c.props[l], s, h) : (c.processTemplateParams === !0 || ["titleTemplate", "title"].includes(c.tag)) && ["innerHTML", "textContent"].forEach((u) => {
2928
- typeof c[u] == "string" && (c[u] = ye(c[u], s, h));
2967
+ const l = Gi[c.tag];
2968
+ l && typeof c.props[l] == "string" ? c.props[l] = ke(c.props[l], a, h) : (c.processTemplateParams === !0 || ["titleTemplate", "title"].includes(c.tag)) && ["innerHTML", "textContent"].forEach((u) => {
2969
+ typeof c[u] == "string" && (c[u] = ke(c[u], a, h));
2929
2970
  });
2930
2971
  }
2931
- o._templateParams = s, o._separator = h, e.tags = t.filter((c) => c.tag !== "templateParams");
2972
+ o._templateParams = a, o._separator = h, e.tags = t.filter((c) => c.tag !== "templateParams");
2932
2973
  }
2933
2974
  }
2934
- }), Ui = {
2975
+ }), Yi = {
2935
2976
  hooks: {
2936
2977
  "tags:resolve": (o) => {
2937
2978
  const { tags: e } = o;
2938
2979
  let t = e.findIndex((p) => p.tag === "titleTemplate");
2939
2980
  const n = e.findIndex((p) => p.tag === "title");
2940
2981
  if (n !== -1 && t !== -1) {
2941
- const p = dt(
2982
+ const p = pt(
2942
2983
  e[t].textContent,
2943
2984
  e[n].textContent
2944
2985
  );
2945
2986
  p !== null ? e[n].textContent = p || e[n].textContent : delete e[n];
2946
2987
  } else if (t !== -1) {
2947
- const p = dt(
2988
+ const p = pt(
2948
2989
  e[t].textContent
2949
2990
  );
2950
2991
  p !== null && (e[t].textContent = p, e[t].tag = "title", t = -1);
@@ -2952,7 +2993,7 @@ const Bi = (o) => ({
2952
2993
  t !== -1 && delete e[t], o.tags = e.filter(Boolean);
2953
2994
  }
2954
2995
  }
2955
- }, Gi = {
2996
+ }, Ki = {
2956
2997
  hooks: {
2957
2998
  "tags:afterResolve": function(o) {
2958
2999
  for (const e of o.tags)
@@ -2961,31 +3002,31 @@ const Bi = (o) => ({
2961
3002
  }
2962
3003
  };
2963
3004
  // @__NO_SIDE_EFFECTS__
2964
- function ji(o = {}) {
2965
- const e = Yi(o);
2966
- return e.use(/* @__PURE__ */ Ai()), e;
3005
+ function Qi(o = {}) {
3006
+ const e = Ji(o);
3007
+ return e.use(/* @__PURE__ */ Di()), e;
2967
3008
  }
2968
- function ht(o, e) {
3009
+ function mt(o, e) {
2969
3010
  return !o || o === "server" && e || o === "client" && !e;
2970
3011
  }
2971
- function Yi(o = {}) {
2972
- const e = bi();
2973
- e.addHooks(o.hooks || {}), o.document = o.document || (Ci ? document : void 0);
3012
+ function Ji(o = {}) {
3013
+ const e = Ei();
3014
+ e.addHooks(o.hooks || {}), o.document = o.document || (Si ? document : void 0);
2974
3015
  const t = !o.document, n = () => {
2975
3016
  c.dirty = !0, e.callHook("entries:updated", c);
2976
3017
  };
2977
- let p = 0, s = [];
3018
+ let p = 0, a = [];
2978
3019
  const h = [], c = {
2979
3020
  plugins: h,
2980
3021
  dirty: !1,
2981
3022
  resolvedOptions: o,
2982
3023
  hooks: e,
2983
3024
  headEntries() {
2984
- return s;
3025
+ return a;
2985
3026
  },
2986
3027
  use(l) {
2987
3028
  const u = typeof l == "function" ? l(c) : l;
2988
- (!u.key || !h.some((f) => f.key === u.key)) && (h.push(u), ht(u.mode, t) && e.addHooks(u.hooks || {}));
3029
+ (!u.key || !h.some((f) => f.key === u.key)) && (h.push(u), mt(u.mode, t) && e.addHooks(u.hooks || {}));
2989
3030
  },
2990
3031
  push(l, u) {
2991
3032
  delete u?.head;
@@ -2994,23 +3035,23 @@ function Yi(o = {}) {
2994
3035
  input: l,
2995
3036
  ...u
2996
3037
  };
2997
- return ht(f.mode, t) && (s.push(f), n()), {
3038
+ return mt(f.mode, t) && (a.push(f), n()), {
2998
3039
  dispose() {
2999
- s = s.filter((g) => g._i !== f._i), e.callHook("entries:updated", c), n();
3040
+ a = a.filter((g) => g._i !== f._i), e.callHook("entries:updated", c), n();
3000
3041
  },
3001
3042
  // a patch is the same as creating a new entry, just a nice DX
3002
3043
  patch(g) {
3003
- s = s.map((_) => (_._i === f._i && (_.input = f.input = g), _)), n();
3044
+ a = a.map((_) => (_._i === f._i && (_.input = f.input = g), _)), n();
3004
3045
  }
3005
3046
  };
3006
3047
  },
3007
3048
  async resolveTags() {
3008
- const l = { tags: [], entries: [...s] };
3049
+ const l = { tags: [], entries: [...a] };
3009
3050
  await e.callHook("entries:resolve", l);
3010
3051
  for (const u of l.entries) {
3011
3052
  const f = u.resolvedInput || u.input;
3012
3053
  if (u.resolvedInput = await (u.transform ? u.transform(f) : f), u.resolvedInput)
3013
- for (const g of await Vi(u)) {
3054
+ for (const g of await wi(u)) {
3014
3055
  const _ = { tag: g, entry: u, resolvedOptions: c.resolvedOptions };
3015
3056
  await e.callHook("tag:normalise", _), l.tags.push(_.tag);
3016
3057
  }
@@ -3020,51 +3061,51 @@ function Yi(o = {}) {
3020
3061
  ssr: t
3021
3062
  };
3022
3063
  return [
3023
- Hi,
3024
- Di,
3064
+ Ri,
3025
3065
  Bi,
3026
- Wi,
3027
- Ni,
3066
+ Fi,
3028
3067
  qi,
3029
3068
  Ui,
3030
- Gi,
3069
+ ji,
3070
+ Yi,
3071
+ Ki,
3031
3072
  ...o?.plugins || []
3032
3073
  ].forEach((l) => c.use(l)), c.hooks.callHook("init", c), c;
3033
3074
  }
3034
- const Ki = vo.startsWith("3");
3035
- function Qi(o) {
3036
- return typeof o == "function" ? o() : a(o);
3075
+ const Xi = yo.startsWith("3");
3076
+ function Zi(o) {
3077
+ return typeof o == "function" ? o() : s(o);
3037
3078
  }
3038
- function qe(o, e = "") {
3079
+ function Ue(o, e = "") {
3039
3080
  if (o instanceof Promise)
3040
3081
  return o;
3041
- const t = Qi(o);
3042
- return !o || !t ? t : Array.isArray(t) ? t.map((n) => qe(n, e)) : typeof t == "object" ? Object.fromEntries(
3043
- Object.entries(t).map(([n, p]) => n === "titleTemplate" || n.startsWith("on") ? [n, a(p)] : [n, qe(p, n)])
3082
+ const t = Zi(o);
3083
+ return !o || !t ? t : Array.isArray(t) ? t.map((n) => Ue(n, e)) : typeof t == "object" ? Object.fromEntries(
3084
+ Object.entries(t).map(([n, p]) => n === "titleTemplate" || n.startsWith("on") ? [n, s(p)] : [n, Ue(p, n)])
3044
3085
  ) : t;
3045
3086
  }
3046
- const Ji = {
3087
+ const er = {
3047
3088
  hooks: {
3048
3089
  "entries:resolve": function(o) {
3049
3090
  for (const e of o.entries)
3050
- e.resolvedInput = qe(e.input);
3091
+ e.resolvedInput = Ue(e.input);
3051
3092
  }
3052
3093
  }
3053
- }, Xi = "usehead";
3054
- function Zi(o) {
3094
+ }, tr = "usehead";
3095
+ function or(o) {
3055
3096
  return {
3056
3097
  install(t) {
3057
- Ki && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(Xi, o));
3098
+ Xi && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(tr, o));
3058
3099
  }
3059
3100
  }.install;
3060
3101
  }
3061
- function er(o = {}) {
3062
- o.domDelayFn = o.domDelayFn || ((t) => kt(() => setTimeout(() => t(), 0)));
3063
- const e = /* @__PURE__ */ ji(o);
3064
- return e.use(Ji), e.install = Zi(e), e;
3102
+ function nr(o = {}) {
3103
+ o.domDelayFn = o.domDelayFn || ((t) => Et(() => setTimeout(() => t(), 0)));
3104
+ const e = /* @__PURE__ */ Qi(o);
3105
+ return e.use(er), e.install = or(e), e;
3065
3106
  }
3066
- const tr = yo(), or = er();
3067
- class nr extends HTMLElement {
3107
+ const ir = bo(), rr = nr();
3108
+ class sr extends HTMLElement {
3068
3109
  vueApp;
3069
3110
  constructor() {
3070
3111
  super();
@@ -3073,9 +3114,9 @@ class nr extends HTMLElement {
3073
3114
  this.vueApp.unmount();
3074
3115
  }
3075
3116
  connectedCallback() {
3076
- const e = typeof fe == "function" ? fe.options : fe;
3117
+ const e = typeof ge == "function" ? ge.options : ge;
3077
3118
  let t = Array.isArray(e.props) ? e.props : Object.keys(e.props || {});
3078
- const n = (l) => l.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (u, f) => (f ? "-" : "") + u.toLowerCase()), p = (l) => l.replace(/-./g, (u) => u[1].toUpperCase()), s = {};
3119
+ const n = (l) => l.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (u, f) => (f ? "-" : "") + u.toLowerCase()), p = (l) => l.replace(/-./g, (u) => u[1].toUpperCase()), a = {};
3079
3120
  t = t.map(n);
3080
3121
  const h = {};
3081
3122
  for (const l of this.attributes) {
@@ -3084,14 +3125,14 @@ class nr extends HTMLElement {
3084
3125
  }
3085
3126
  for (const l of t) {
3086
3127
  let u = this.attributes.getNamedItem(l)?.value;
3087
- h.hasOwnProperty(l) && (u = h[l]), s[l] = u;
3128
+ h.hasOwnProperty(l) && (u = h[l]), a[l] = u;
3088
3129
  }
3089
- this.vueApp = bo(fe, s), this.vueApp.use(or), this.vueApp.use(tr), this.vueApp.use(It), this.vueApp.use(ko), this.vueApp.use(So), this.vueApp.use(_o, { bootstrap: !0 });
3130
+ this.vueApp = ko(ge, a), this.vueApp.use(rr), this.vueApp.use(ir), this.vueApp.use(St), this.vueApp.use(_o), this.vueApp.use(Vo), this.vueApp.use(Eo, { bootstrap: !0 });
3090
3131
  const c = document.createElement("div");
3091
3132
  this.vueApp.mount(c), this.appendChild(c.children[0]);
3092
3133
  }
3093
3134
  }
3094
- window.customElements.define("konnectio-hotel", nr);
3135
+ window.customElements.define("konnectio-hotel", sr);
3095
3136
  export {
3096
- nr as default
3137
+ sr as default
3097
3138
  };