@konnectio/core 4.0.47 → 4.0.49

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 (72) hide show
  1. package/dist/{ActionField-4f3afb7a.js → ActionField-170372f8.js} +2 -2
  2. package/dist/ActionField-170372f8.js.br +0 -0
  3. package/dist/{ActionField-da8af28b.cjs → ActionField-c69154d9.cjs} +1 -1
  4. package/dist/{AvailabilitySkeleton-25baf60d.js → AvailabilitySkeleton-50677f56.js} +5 -5
  5. package/dist/AvailabilitySkeleton-50677f56.js.br +0 -0
  6. package/dist/{AvailabilitySkeleton-850bab7c.cjs → AvailabilitySkeleton-b2675369.cjs} +1 -1
  7. package/dist/{CheckoutWindow-709d0b62.js → CheckoutWindow-2b4d34b2.js} +1 -1
  8. package/dist/CheckoutWindow-2b4d34b2.js.br +0 -0
  9. package/dist/{CheckoutWindow-934aa76e.cjs → CheckoutWindow-adb36c67.cjs} +1 -1
  10. package/dist/{Container-6b2be57c.js → Container-84a65f70.js} +1 -1
  11. package/dist/Container-84a65f70.js.br +0 -0
  12. package/dist/{Container-c8f449bb.cjs → Container-9186d30d.cjs} +1 -1
  13. package/dist/{DateField.vue_vue_type_style_index_0_lang-e1874345.cjs → DateField.vue_vue_type_style_index_0_lang-44c57c09.cjs} +1 -1
  14. package/dist/{DateField.vue_vue_type_style_index_0_lang-8b005f72.js → DateField.vue_vue_type_style_index_0_lang-f0a5ad06.js} +1 -1
  15. package/dist/DateField.vue_vue_type_style_index_0_lang-f0a5ad06.js.br +0 -0
  16. package/dist/{Field-e99f6db6.js → Field-c68056b2.js} +2 -2
  17. package/dist/Field-c68056b2.js.br +0 -0
  18. package/dist/{Field-594f873a.cjs → Field-cbed90e0.cjs} +1 -1
  19. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-6444e842.js → NumberField.vue_vue_type_script_setup_true_lang-4945edf2.js} +1 -1
  20. package/dist/NumberField.vue_vue_type_script_setup_true_lang-4945edf2.js.br +0 -0
  21. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-d6fa6332.cjs → NumberField.vue_vue_type_script_setup_true_lang-82001efc.cjs} +1 -1
  22. package/dist/{SelectField.vue_vue_type_style_index_0_lang-523f077b.js → SelectField.vue_vue_type_style_index_0_lang-35e6c80b.js} +3657 -3613
  23. package/dist/SelectField.vue_vue_type_style_index_0_lang-35e6c80b.js.br +0 -0
  24. package/dist/{SelectField.vue_vue_type_style_index_0_lang-61443b22.cjs → SelectField.vue_vue_type_style_index_0_lang-be473b19.cjs} +43 -43
  25. package/dist/{ThankYou-e6d0561f.js → ThankYou-083281e0.js} +1016 -996
  26. package/dist/ThankYou-083281e0.js.br +0 -0
  27. package/dist/{ThankYou-50682337.cjs → ThankYou-9a845553.cjs} +7 -7
  28. package/dist/{_-ede2c679.js → _-d0e88097.js} +1 -1
  29. package/dist/{_-aa5cc045.cjs → _-fb86920d.cjs} +1 -1
  30. package/dist/availability.cjs +1 -1
  31. package/dist/availability.js +8 -8
  32. package/dist/availability.js.br +0 -0
  33. package/dist/components/Clickable.vue.d.ts +1 -1
  34. package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
  35. package/dist/components/listings/Base.vue.d.ts +1 -1
  36. package/dist/components/side-panels/Base.vue.d.ts +1 -1
  37. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +1 -1
  38. package/dist/{event-773a5d1a.cjs → event-93a5d676.cjs} +1 -1
  39. package/dist/{event-ea10e9df.js → event-e2469c6e.js} +7 -7
  40. package/dist/event-e2469c6e.js.br +0 -0
  41. package/dist/event.cjs +1 -1
  42. package/dist/event.js +8 -8
  43. package/dist/event.js.br +0 -0
  44. package/dist/gift-card-validation.cjs +1 -1
  45. package/dist/gift-card-validation.js +4 -4
  46. package/dist/gift-card-validation.js.br +0 -0
  47. package/dist/gift-card.cjs +1 -1
  48. package/dist/gift-card.js +109 -107
  49. package/dist/gift-card.js.br +0 -0
  50. package/dist/hotel.cjs +8 -8
  51. package/dist/hotel.js +968 -960
  52. package/dist/hotel.js.br +0 -0
  53. package/dist/polyfill.cjs +1 -1
  54. package/dist/polyfill.js +2 -2
  55. package/dist/polyfill.js.br +0 -0
  56. package/dist/store/availability.d.ts +40 -0
  57. package/dist/store/event.d.ts +683 -0
  58. package/dist/store/giftCard.d.ts +83 -0
  59. package/dist/style.css +1 -1
  60. package/dist/style.css.br +0 -0
  61. package/dist/types/index.d.ts +19 -0
  62. package/package.json +6 -6
  63. package/dist/ActionField-4f3afb7a.js.br +0 -0
  64. package/dist/AvailabilitySkeleton-25baf60d.js.br +0 -0
  65. package/dist/CheckoutWindow-709d0b62.js.br +0 -0
  66. package/dist/Container-6b2be57c.js.br +0 -0
  67. package/dist/DateField.vue_vue_type_style_index_0_lang-8b005f72.js.br +0 -0
  68. package/dist/Field-e99f6db6.js.br +0 -0
  69. package/dist/NumberField.vue_vue_type_script_setup_true_lang-6444e842.js.br +0 -0
  70. package/dist/SelectField.vue_vue_type_style_index_0_lang-523f077b.js.br +0 -0
  71. package/dist/ThankYou-e6d0561f.js.br +0 -0
  72. package/dist/event-ea10e9df.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,148 +1,155 @@
1
- import { k as J, F as de, aF as yo, s as Q, c as $e, aa as zt, ab as ue, m as T, n as W, X as _o, q as l, w, D as et, A as y, H as O, M as ae, Z as Ct, aG as bo, v as I, a4 as q, a3 as U, aH as Te, a6 as ht, p as S, K as te, x as V, L as le, f as Y, B as Ye, Q as Ft, R as Nt, _ as oe, r as Ie, aI as Ut, o as yt, a2 as qe, C as Ee, aA as ko, y as Ge, I as qt, l as St, T as se, aD as Eo, G as To, a7 as Co, N as It, J as j, P as So, al as Gt, aJ as Io, V as $o, U as Lo, W as Ao, a9 as Oo } from "./SelectField.vue_vue_type_style_index_0_lang-523f077b.js";
2
- import { R as Ho, B as _t, a as Vo, S as wo, M as Po, T as Ro, x as Do } from "./ThankYou-e6d0561f.js";
3
- import { C as Mo } from "./Container-6b2be57c.js";
4
- import { A as xo, H as Wo } from "./AvailabilitySkeleton-25baf60d.js";
5
- import { _ as jt } from "./NumberField.vue_vue_type_script_setup_true_lang-6444e842.js";
6
- import { _ as Bo } from "./DateField.vue_vue_type_style_index_0_lang-8b005f72.js";
7
- import { C as pt, P as zo, a as Fo } from "./CheckoutWindow-709d0b62.js";
8
- import { E as Z } from "./_-ede2c679.js";
1
+ import { k as J, F as de, aF as _o, s as Q, c as Ie, aa as zt, ab as ue, m as T, n as W, X as bo, q as a, w as P, D as et, A as g, H as A, M as ae, Z as Ct, aG as ko, v as I, a4 as q, a3 as N, x as w, aH as Te, a6 as ht, p as C, K as te, L as le, f as Y, B as Ke, Q as Ft, R as Nt, _ as oe, r as $e, aI as Ut, o as yt, a2 as Ge, C as Ee, aA as Eo, y as je, I as qt, l as St, T as se, aD as To, G as Co, a7 as So, N as $t, J as j, P as $o, al as Gt, aJ as Io, V as Lo, U as Ao, W as Oo, a9 as Vo } from "./SelectField.vue_vue_type_style_index_0_lang-35e6c80b.js";
2
+ import { R as Ho, B as _t, a as wo, S as Po, M as Ro, T as Do, x as Mo } from "./ThankYou-083281e0.js";
3
+ import { C as xo } from "./Container-84a65f70.js";
4
+ import { A as Wo, H as Bo } from "./AvailabilitySkeleton-50677f56.js";
5
+ import { _ as jt } from "./NumberField.vue_vue_type_script_setup_true_lang-4945edf2.js";
6
+ import { _ as zo } from "./DateField.vue_vue_type_style_index_0_lang-f0a5ad06.js";
7
+ import { C as pt, P as Fo, a as No } from "./CheckoutWindow-2b4d34b2.js";
8
+ import { E as Z } from "./_-d0e88097.js";
9
9
  import { c as Yt, a as Kt } from "./_commonjsHelpers-aeeeeb92.js";
10
- import "./ActionField-4f3afb7a.js";
11
- import "./Field-e99f6db6.js";
12
- const No = /* @__PURE__ */ y("br", null, null, -1);
13
- const Uo = { key: 0 }, qo = { key: 1 }, tt = /* @__PURE__ */ J({
10
+ import "./ActionField-170372f8.js";
11
+ import "./Field-c68056b2.js";
12
+ const Uo = /* @__PURE__ */ g("br", null, null, -1);
13
+ const qo = { key: 0 }, Go = { key: 1 }, tt = /* @__PURE__ */ J({
14
14
  __name: "HotelReservationForm",
15
15
  props: {
16
16
  showGiftCard: { type: Boolean, default: !1 },
17
17
  showTermsNotice: { type: Boolean, default: !1 }
18
18
  },
19
19
  setup(t) {
20
- const { t: e } = de(), o = yo(), {
20
+ const { t: e } = de(), o = _o(), {
21
21
  hideArrivalDepartureInputs: i,
22
22
  disableArrivalUserSelection: u,
23
23
  disableDepartureUserSelection: r,
24
24
  arrivalDefault: f,
25
25
  departureDefault: d,
26
26
  currency: h
27
- } = Q($e()), {
28
- arrivalDate: a,
27
+ } = Q(Ie()), {
28
+ arrivalDate: l,
29
29
  departureDate: v
30
30
  } = Q(zt()), {
31
31
  arrivalTime: m,
32
32
  departureTime: k,
33
33
  roomDisplay: s,
34
- templateID: g,
34
+ templateID: y,
35
35
  totalPrice: b,
36
36
  areListingsLoading: c,
37
37
  getSelectedPackageRoom: n,
38
- selectedPackage: p
39
- } = Q(ue()), { removeRoom: _ } = ue();
40
- function C(E) {
41
- return E.reduce((A, { totalPrice: M }) => A + M, 0);
38
+ selectedPackage: p,
39
+ discountVouchers: _
40
+ } = Q(ue()), { removeRoom: S } = ue();
41
+ function E($) {
42
+ return $.reduce((R, { totalPrice: H }) => R + H, 0);
42
43
  }
43
- return (E, $) => (T(), W(Ho, {
44
- "total-price": l(b),
45
- "show-gift-card": E.showGiftCard,
46
- "show-terms-notice": E.showTermsNotice,
47
- "is-sidebar-loading": l(c),
48
- notice: l(e)("hotel.reservationNotice")
49
- }, _o({
50
- form: w(() => [
51
- et(E.$slots, "form")
44
+ return ($, O) => (T(), W(Ho, {
45
+ "total-price": a(b),
46
+ "show-gift-card": $.showGiftCard,
47
+ "show-terms-notice": $.showTermsNotice,
48
+ "is-sidebar-loading": a(c),
49
+ notice: a(e)("hotel.reservationNotice")
50
+ }, bo({
51
+ form: P(() => [
52
+ et($.$slots, "form")
52
53
  ]),
53
- "reservation-summary": w(() => [
54
- y("li", null, [
55
- y("span", null, O(l(e)("booking.reservation.arrival")), 1),
56
- y("b", null, O(l(i) ? l(ae)(l(a)) : `${l(ae)(l(a))}, ${l(u) ? l(f) : l(m)}`), 1)
54
+ "reservation-summary": P(() => [
55
+ g("li", null, [
56
+ g("span", null, A(a(e)("booking.reservation.arrival")), 1),
57
+ g("b", null, A(a(i) ? a(ae)(a(l)) : `${a(ae)(a(l))}, ${a(u) ? a(f) : a(m)}`), 1)
57
58
  ]),
58
- y("li", null, [
59
- y("span", null, O(l(e)("booking.reservation.departure")), 1),
60
- y("b", null, O(l(i) ? l(ae)(l(v)) : `${l(ae)(l(v))}, ${l(r) ? l(d) : l(k)}`), 1)
59
+ g("li", null, [
60
+ g("span", null, A(a(e)("booking.reservation.departure")), 1),
61
+ g("b", null, A(a(i) ? a(ae)(a(v)) : `${a(ae)(a(v))}, ${a(r) ? a(d) : a(k)}`), 1)
61
62
  ]),
62
- y("li", null, [
63
- y("span", null, O(l(e)("booking.reservation.nights")), 1),
64
- y("b", null, O(l(Ct)(l(a), l(v))) + " " + O(l(bo)(l(Ct)(l(a), l(v)) === 1 ? l(e)("booking.reservation.night") : l(e)("booking.reservation.nights"))), 1)
65
- ])
63
+ g("li", null, [
64
+ g("span", null, A(a(e)("booking.reservation.nights")), 1),
65
+ g("b", null, A(a(Ct)(a(l), a(v))) + " " + A(a(ko)(a(Ct)(a(l), a(v)) === 1 ? a(e)("booking.reservation.night") : a(e)("booking.reservation.nights"))), 1)
66
+ ]),
67
+ a(_) ? (T(!0), I(N, { key: 0 }, q(a(_), (R) => (T(), I("li", {
68
+ key: R.id
69
+ }, [
70
+ g("span", null, A(`${a(e)("general.discountCode")} (${R.value})`), 1),
71
+ g("b", null, A(R.key), 1)
72
+ ]))), 128)) : w("", !0)
66
73
  ]),
67
- "price-summary": w(() => [
68
- isNaN(l(g)) && l(s).length > 0 ? (T(!0), I(U, { key: 0 }, q(l(s), ({
69
- roomGroupID: A,
70
- title: M,
71
- variants: P
72
- }) => (T(), I("div", { key: A }, [
73
- y("h6", null, [
74
- y("span", null, O(M), 1)
74
+ "price-summary": P(() => [
75
+ isNaN(a(y)) && a(s).length > 0 ? (T(!0), I(N, { key: 0 }, q(a(s), ({
76
+ roomGroupID: R,
77
+ title: H,
78
+ variants: F
79
+ }) => (T(), I("div", { key: R }, [
80
+ g("h6", null, [
81
+ g("span", null, A(H), 1)
75
82
  ]),
76
- (T(!0), I(U, null, q(P, (F, R) => (T(), I("div", { key: R }, [
77
- (T(!0), I(U, null, q(F.rooms, (B, G) => (T(), I("ul", { key: G }, [
78
- y("li", null, [
79
- y("span", null, [
80
- y("span", null, O(l(Te)(F.name)), 1),
81
- No,
82
- y("span", null, [
83
+ (T(!0), I(N, null, q(F, (D, G) => (T(), I("div", { key: G }, [
84
+ (T(!0), I(N, null, q(D.rooms, (z, Le) => (T(), I("ul", { key: Le }, [
85
+ g("li", null, [
86
+ g("span", null, [
87
+ g("span", null, A(a(Te)(D.name)), 1),
88
+ Uo,
89
+ g("span", null, [
83
90
  ht("( "),
84
- S(te, {
91
+ C(te, {
85
92
  icon: "male",
86
93
  type: "fas",
87
94
  color: "font"
88
95
  }),
89
- y("span", null, O(B.adultsCount), 1),
90
- B.childrenCount > 0 ? (T(), I(U, { key: 0 }, [
91
- S(te, {
96
+ g("span", null, A(z.adultsCount), 1),
97
+ z.childrenCount > 0 ? (T(), I(N, { key: 0 }, [
98
+ C(te, {
92
99
  icon: "child",
93
100
  type: "fas",
94
101
  color: "font"
95
102
  }),
96
- y("span", null, O(B.childrenCount), 1)
97
- ], 64)) : V("", !0),
103
+ g("span", null, A(z.childrenCount), 1)
104
+ ], 64)) : w("", !0),
98
105
  ht(") ")
99
106
  ])
100
107
  ]),
101
- y("b", null, [
102
- y("span", null, O(l(le)(B.totalPrice, l(h))), 1),
103
- V("", !0)
108
+ g("b", null, [
109
+ g("span", null, A(a(le)(z.totalPrice, a(h))), 1),
110
+ w("", !0)
104
111
  ])
105
112
  ]),
106
- C(B.roomAddons) > 0 ? (T(), I("li", Uo, [
107
- y("span", null, O(l(e)("booking.reservation.addons")), 1),
108
- y("b", null, O(l(le)(C(B.roomAddons), l(h))), 1)
109
- ])) : V("", !0)
113
+ E(z.roomAddons) > 0 ? (T(), I("li", qo, [
114
+ g("span", null, A(a(e)("booking.reservation.addons")), 1),
115
+ g("b", null, A(a(le)(E(z.roomAddons), a(h))), 1)
116
+ ])) : w("", !0)
110
117
  ]))), 128))
111
118
  ]))), 128))
112
- ]))), 128)) : V("", !0),
113
- l(n) && l(p) ? (T(), I("div", qo, [
114
- y("h6", null, [
115
- y("span", null, O(l(Te)(l(p).name)), 1)
119
+ ]))), 128)) : w("", !0),
120
+ a(n) && a(p) ? (T(), I("div", Go, [
121
+ g("h6", null, [
122
+ g("span", null, A(a(Te)(a(p).name)), 1)
116
123
  ]),
117
- y("div", null, [
118
- y("ul", null, [
119
- y("li", null, [
120
- y("span", null, [
121
- y("span", null, O(l(Te)(l(n).title)), 1)
124
+ g("div", null, [
125
+ g("ul", null, [
126
+ g("li", null, [
127
+ g("span", null, [
128
+ g("span", null, A(a(Te)(a(n).title)), 1)
122
129
  ]),
123
- y("b", null, [
124
- y("span", null, O(l(le)(l(n).extraPrice, l(h))), 1)
130
+ g("b", null, [
131
+ g("span", null, A(a(le)(a(n).extraPrice, a(h))), 1)
125
132
  ])
126
133
  ])
127
134
  ])
128
135
  ])
129
- ])) : V("", !0)
136
+ ])) : w("", !0)
130
137
  ]),
131
- navigation: w(() => [
132
- et(E.$slots, "navigation")
138
+ navigation: P(() => [
139
+ et($.$slots, "navigation")
133
140
  ]),
134
141
  _: 2
135
142
  }, [
136
- l(o).addons ? {
143
+ a(o).addons ? {
137
144
  name: "addons",
138
- fn: w(() => [
139
- et(E.$slots, "addons")
145
+ fn: P(() => [
146
+ et($.$slots, "addons")
140
147
  ]),
141
148
  key: "0"
142
149
  } : void 0
143
150
  ]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
144
151
  }
145
- }), Go = (t) => (Ft("data-v-c84b41ba"), t = t(), Nt(), t), jo = { key: 0 }, Yo = { class: "konnectio-selected-room-config" }, Ko = { class: "konnectio-selected-room-config-people" }, Qo = { key: 0 }, Xo = { class: "konnectio-selected-room-config-price" }, Jo = /* @__PURE__ */ Go(() => /* @__PURE__ */ y("span", null, null, -1)), Zo = /* @__PURE__ */ J({
152
+ }), jo = (t) => (Ft("data-v-c84b41ba"), t = t(), Nt(), t), Yo = { key: 0 }, Ko = { class: "konnectio-selected-room-config" }, Qo = { class: "konnectio-selected-room-config-people" }, Xo = { key: 0 }, Jo = { class: "konnectio-selected-room-config-price" }, Zo = /* @__PURE__ */ jo(() => /* @__PURE__ */ g("span", null, null, -1)), ei = /* @__PURE__ */ J({
146
153
  __name: "RoomConfigField",
147
154
  props: {
148
155
  modelValue: {},
@@ -153,7 +160,7 @@ const Uo = { key: 0 }, qo = { key: 1 }, tt = /* @__PURE__ */ J({
153
160
  },
154
161
  emits: ["update:modelValue"],
155
162
  setup(t, { emit: e }) {
156
- const { t: o } = de(), { currency: i } = Q($e()), u = e, r = t;
163
+ const { t: o } = de(), { currency: i } = Q(Ie()), u = e, r = t;
157
164
  function f(h) {
158
165
  u("update:modelValue", h);
159
166
  }
@@ -161,9 +168,9 @@ const Uo = { key: 0 }, qo = { key: 1 }, tt = /* @__PURE__ */ J({
161
168
  get: () => r.modelValue,
162
169
  set: (h) => f(h)
163
170
  });
164
- return (h, a) => (T(), W(Ye, {
171
+ return (h, l) => (T(), W(Ke, {
165
172
  modelValue: d.value,
166
- "onUpdate:modelValue": a[0] || (a[0] = (v) => d.value = v),
173
+ "onUpdate:modelValue": l[0] || (l[0] = (v) => d.value = v),
167
174
  label: h.label,
168
175
  placeholder: "Select guest configuration",
169
176
  labelKey: "label",
@@ -174,40 +181,40 @@ const Uo = { key: 0 }, qo = { key: 1 }, tt = /* @__PURE__ */ J({
174
181
  required: h.required,
175
182
  searchable: !1
176
183
  }, {
177
- option: w(({ data: v }) => [
178
- y("span", null, [
179
- S(te, {
184
+ option: P(({ data: v }) => [
185
+ g("span", null, [
186
+ C(te, {
180
187
  icon: "male",
181
188
  type: "fas",
182
189
  color: "font"
183
190
  }),
184
- y("span", null, O(`${v.adults}`), 1),
185
- v.children > 0 ? (T(), I("span", jo, [
186
- S(te, {
191
+ g("span", null, A(`${v.adults}`), 1),
192
+ v.children > 0 ? (T(), I("span", Yo, [
193
+ C(te, {
187
194
  icon: "child",
188
195
  type: "fas",
189
196
  color: "font"
190
197
  }),
191
- y("span", null, O(`${v.children}`), 1)
192
- ])) : V("", !0),
193
- y("span", null, O(`(${l(le)(v.price, l(i))})`), 1)
198
+ g("span", null, A(`${v.children}`), 1)
199
+ ])) : w("", !0),
200
+ g("span", null, A(`(${a(le)(v.price, a(i))})`), 1)
194
201
  ])
195
202
  ]),
196
- "selected-option": w(({ data: v }) => [
197
- y("div", Yo, [
198
- y("div", Ko, [
199
- y("div", null, [
200
- V("", !0),
201
- y("span", null, O(`${v.adults} ${v.adults === 1 ? l(o)("general.adult") : l(o)("general.adults")}`), 1)
203
+ "selected-option": P(({ data: v }) => [
204
+ g("div", Ko, [
205
+ g("div", Qo, [
206
+ g("div", null, [
207
+ w("", !0),
208
+ g("span", null, A(`${v.adults} ${v.adults === 1 ? a(o)("general.adult") : a(o)("general.adults")}`), 1)
202
209
  ]),
203
- v.children > 0 ? (T(), I("div", Qo, [
204
- V("", !0),
205
- y("span", null, O(`& ${v.children} ${v.children === 1 ? l(o)("general.child") : l(o)("general.children")}`), 1)
206
- ])) : V("", !0)
210
+ v.children > 0 ? (T(), I("div", Xo, [
211
+ w("", !0),
212
+ g("span", null, A(`& ${v.children} ${v.children === 1 ? a(o)("general.child") : a(o)("general.children")}`), 1)
213
+ ])) : w("", !0)
207
214
  ]),
208
- y("div", Xo, [
209
- Jo,
210
- ht(" " + O(`(${l(le)(v.price, l(i))})`), 1)
215
+ g("div", Jo, [
216
+ Zo,
217
+ ht(" " + A(`(${a(le)(v.price, a(i))})`), 1)
211
218
  ])
212
219
  ])
213
220
  ]),
@@ -215,15 +222,15 @@ const Uo = { key: 0 }, qo = { key: 1 }, tt = /* @__PURE__ */ J({
215
222
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
216
223
  }
217
224
  });
218
- const ei = /* @__PURE__ */ oe(Zo, [["__scopeId", "data-v-c84b41ba"]]), ti = { class: "konnectio-availability-listing-selection" }, oi = { key: 1 }, ii = { class: "fresh-booking-listing-config-body" }, ni = { class: "fresh-booking-listing-units-body" };
219
- const ri = /* @__PURE__ */ J({
225
+ const ti = /* @__PURE__ */ oe(ei, [["__scopeId", "data-v-c84b41ba"]]), oi = { class: "konnectio-availability-listing-selection" }, ii = { key: 1 }, ni = { class: "fresh-booking-listing-config-body" }, ri = { class: "fresh-booking-listing-units-body" };
226
+ const si = /* @__PURE__ */ J({
220
227
  __name: "Hotel",
221
228
  props: {
222
229
  room: {},
223
230
  layout: {}
224
231
  },
225
232
  setup(t) {
226
- const { t: e } = de(), o = t, i = Ie([]);
233
+ const { t: e } = de(), o = t, i = $e([]);
227
234
  function u(E) {
228
235
  i.value[E].config.push({
229
236
  id: NaN,
@@ -236,7 +243,7 @@ const ri = /* @__PURE__ */ J({
236
243
  value: E.id
237
244
  }))), f = Y(() => i.value.flatMap((E) => E.id));
238
245
  Y(() => r.value.filter((E) => !f.value.includes(E.value)));
239
- const { hideAvailableRoomAmount: d, currency: h } = Q($e()), { roomSelect: a } = Q(ue()), { viewItem: v, addToCart: m, removeFromCart: k } = Ut(), s = (E, $) => o.room.rates.find((A) => A.id === E)?.occupantRates.find((A) => A.index === $), g = Y(() => o.room.rates.reduce(
246
+ const { hideAvailableRoomAmount: d, currency: h } = Q(Ie()), { roomSelect: l } = Q(ue()), { viewItem: v, addToCart: m, removeFromCart: k } = Ut(), s = (E, $) => o.room.rates.find((O) => O.id === E)?.occupantRates.find((O) => O.index === $), y = Y(() => o.room.rates.reduce(
240
247
  (E, $) => E < $.rackRate ? E : $.rackRate,
241
248
  1 / 0
242
249
  )), b = Y(() => o.room.rates.every((E) => E.isBreakfastIncluded === !0)), c = (E, $) => s(E, $) ? s(E, $)?.rooms : null, n = (E) => o.room.rates.length > 0 ? o.room.rates.find(($) => $.id === E)?.occupantRates.map(($) => ({
@@ -266,24 +273,24 @@ const ri = /* @__PURE__ */ J({
266
273
  yt(() => {
267
274
  _();
268
275
  });
269
- const C = Y(() => JSON.parse(JSON.stringify(i.value)));
270
- return qe(C, (E, $) => {
271
- $.length > 0 && E.forEach((A, M) => {
272
- A.config.forEach((P, F) => {
273
- const R = P.units, B = $[M].config[F].units;
274
- R !== B && (R > B ? (i.value[M].config[F].addons.push({}), m({
276
+ const S = Y(() => JSON.parse(JSON.stringify(i.value)));
277
+ return Ge(S, (E, $) => {
278
+ $.length > 0 && E.forEach((O, R) => {
279
+ O.config.forEach((H, F) => {
280
+ const D = H.units, G = $[R].config[F].units;
281
+ D !== G && (D > G ? (i.value[R].config[F].addons.push({}), m({
275
282
  id: o.room.id,
276
283
  name: o.room.title,
277
- value: o.room.rates[M].rackRate
278
- })) : (i.value[M].config[F].addons.pop(), k({
284
+ value: o.room.rates[R].rackRate
285
+ })) : (i.value[R].config[F].addons.pop(), k({
279
286
  id: o.room.id,
280
287
  name: o.room.title,
281
- value: o.room.rates[M].rackRate
288
+ value: o.room.rates[R].rackRate
282
289
  })));
283
290
  });
284
291
  });
285
- }, { deep: !0 }), qe(i, () => {
286
- a.value[o.room.id] = i.value;
292
+ }, { deep: !0 }), Ge(i, () => {
293
+ l.value[o.room.id] = i.value;
287
294
  }, { deep: !0 }), (E, $) => (T(), W(_t, {
288
295
  "listing-id": E.room.id,
289
296
  gallery: E.room.images,
@@ -291,62 +298,62 @@ const ri = /* @__PURE__ */ J({
291
298
  description: E.room.description,
292
299
  layout: E.layout,
293
300
  facilities: E.room.facilities,
294
- "prices-from": g.value,
301
+ "prices-from": y.value,
295
302
  "includes-breakfast": b.value
296
303
  }, {
297
- action: w(() => [
298
- y("div", ti, [
299
- (T(!0), I(U, null, q(i.value, (A, M) => (T(), I("div", {
300
- key: A.id,
304
+ action: P(() => [
305
+ g("div", oi, [
306
+ (T(!0), I(N, null, q(i.value, (O, R) => (T(), I("div", {
307
+ key: O.id,
301
308
  class: "freshbooking-hotel-room"
302
309
  }, [
303
- p.value ? (T(), W(Ye, {
310
+ p.value ? (T(), W(Ke, {
304
311
  key: 0,
305
- modelValue: A.id,
306
- "onUpdate:modelValue": (P) => A.id = P,
307
- label: l(e)("hotel.roomVariant"),
308
- placeholder: l(e)("hotel.chooseARoomVariant"),
312
+ modelValue: O.id,
313
+ "onUpdate:modelValue": (H) => O.id = H,
314
+ label: a(e)("hotel.roomVariant"),
315
+ placeholder: a(e)("hotel.chooseARoomVariant"),
309
316
  options: r.value,
310
317
  searchable: !1
311
- }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : V("", !0),
312
- A.id ? (T(), I("div", oi, [
313
- (T(!0), I(U, null, q(E.room.rates, ({
314
- id: P,
318
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : w("", !0),
319
+ O.id ? (T(), I("div", ii, [
320
+ (T(!0), I(N, null, q(E.room.rates, ({
321
+ id: H,
315
322
  maximumOccupants: F
316
- }) => (T(), I("div", { key: P }, [
317
- A.id === P ? (T(!0), I(U, { key: 0 }, q(A.config, (R, B) => (T(), I("div", {
318
- key: B,
323
+ }) => (T(), I("div", { key: H }, [
324
+ O.id === H ? (T(!0), I(N, { key: 0 }, q(O.config, (D, G) => (T(), I("div", {
325
+ key: G,
319
326
  class: "booking-availability-listing-action-selective"
320
327
  }, [
321
- y("ul", ii, [
322
- S(ei, {
323
- modelValue: R.id,
324
- "onUpdate:modelValue": (G) => R.id = G,
328
+ g("ul", ni, [
329
+ C(ti, {
330
+ modelValue: D.id,
331
+ "onUpdate:modelValue": (z) => D.id = z,
325
332
  icon: "male",
326
333
  "icon-type": "fas",
327
- label: l(e)("general.guests"),
328
- description: `${l(e)("general.maximumGuests")}: ${F}`,
329
- options: n(P),
330
- readonly: !(n(P).length > 1)
334
+ label: a(e)("general.guests"),
335
+ description: `${a(e)("general.maximumGuests")}: ${F}`,
336
+ options: n(H),
337
+ readonly: !(n(H).length > 1)
331
338
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
332
339
  ]),
333
- y("ul", ni, [
334
- S(jt, {
335
- modelValue: R.units,
336
- "onUpdate:modelValue": (G) => R.units = G,
337
- description: l(d) ? void 0 : `${l(e)("booking.availability.availableUnits")}: ${c(A.id, R.id)}`,
340
+ g("ul", ri, [
341
+ C(jt, {
342
+ modelValue: D.units,
343
+ "onUpdate:modelValue": (z) => D.units = z,
344
+ description: a(d) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${c(O.id, D.id)}`,
338
345
  icon: "house",
339
346
  "icon-type": "fas",
340
347
  "icon-placement": "label",
341
- label: l(e)("booking.availability.units"),
348
+ label: a(e)("booking.availability.units"),
342
349
  minValue: 0,
343
- "max-value": c(P, R.id) || 1 / 0
350
+ "max-value": c(H, D.id) || 1 / 0
344
351
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
345
352
  ]),
346
- V("", !0)
347
- ]))), 128)) : V("", !0)
353
+ w("", !0)
354
+ ]))), 128)) : w("", !0)
348
355
  ]))), 128))
349
- ])) : V("", !0)
356
+ ])) : w("", !0)
350
357
  ]))), 128))
351
358
  ])
352
359
  ]),
@@ -354,7 +361,7 @@ const ri = /* @__PURE__ */ J({
354
361
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
355
362
  }
356
363
  });
357
- const si = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-79268706"]]), ai = { class: "konnectio-template-side-panel" }, li = /* @__PURE__ */ J({
364
+ const ai = /* @__PURE__ */ oe(si, [["__scopeId", "data-v-79268706"]]), li = { class: "konnectio-template-side-panel" }, ui = /* @__PURE__ */ J({
358
365
  __name: "Template",
359
366
  props: {
360
367
  title: {},
@@ -364,39 +371,39 @@ const si = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-79268706"]]), ai = { cl
364
371
  callback: { type: Function }
365
372
  },
366
373
  setup(t) {
367
- const { t: e } = de(), { templateID: o, roomGroupID: i } = Q(ue()), { currency: u } = Q($e()), { clearRoomSelection: r } = ue(), f = t;
374
+ const { t: e } = de(), { templateID: o, roomGroupID: i } = Q(ue()), { currency: u } = Q(Ie()), { clearRoomSelection: r } = ue(), f = t;
368
375
  function d(h) {
369
376
  o.value = f.templateId, i.value = h, r(), f.callback(2);
370
377
  }
371
- return (h, a) => (T(), W(Vo, {
378
+ return (h, l) => (T(), W(wo, {
372
379
  title: h.title,
373
380
  description: h.description,
374
- subtitle: l(e)("booking.availability.selectATemplateRoom")
381
+ subtitle: a(e)("booking.availability.selectATemplateRoom")
375
382
  }, {
376
- default: w(() => [
377
- y("div", ai, [
378
- (T(!0), I(U, null, q(h.roomGroups, ({
383
+ default: P(() => [
384
+ g("div", li, [
385
+ (T(!0), I(N, null, q(h.roomGroups, ({
379
386
  id: v,
380
387
  title: m,
381
388
  description: k,
382
389
  images: s,
383
- facilities: g,
390
+ facilities: y,
384
391
  extraPrice: b
385
392
  }) => (T(), W(_t, {
386
393
  key: v,
387
394
  "listing-id": v,
388
395
  name: m,
389
396
  description: k,
390
- facilities: g,
397
+ facilities: y,
391
398
  gallery: s,
392
399
  "includes-breakfast": !1,
393
400
  "hide-info-button": !0
394
401
  }, {
395
- action: w(() => [
396
- y("div", null, [
397
- S(Ee, {
402
+ action: P(() => [
403
+ g("div", null, [
404
+ C(Ee, {
398
405
  onClickEvent: (c) => d(v),
399
- label: `${l(e)("booking.availability.selectThisRoom")} (${l(le)(b, l(u))})`,
406
+ label: `${a(e)("booking.availability.selectThisRoom")} (${a(le)(b, a(u))})`,
400
407
  "full-width": ""
401
408
  }, null, 8, ["onClickEvent", "label"])
402
409
  ])
@@ -409,10 +416,10 @@ const si = /* @__PURE__ */ oe(ri, [["__scopeId", "data-v-79268706"]]), ai = { cl
409
416
  }, 8, ["title", "description", "subtitle"]));
410
417
  }
411
418
  });
412
- const ui = /* @__PURE__ */ oe(li, [["__scopeId", "data-v-af9fa4ee"]]);
419
+ const di = /* @__PURE__ */ oe(ui, [["__scopeId", "data-v-af9fa4ee"]]);
413
420
  var Qt = {};
414
421
  Object.defineProperty(Qt, "__esModule", { value: !0 });
415
- var di = [
422
+ var ci = [
416
423
  "area",
417
424
  "base",
418
425
  "br",
@@ -469,213 +476,213 @@ var di = [
469
476
  "tr",
470
477
  "ul",
471
478
  "video"
472
- ], We = ["audio", "math", "svg", "video"], Ce = 10, ci = 33, fi = 34, hi = 38, pi = 39, Ve = 47, mt = 59, Fe = 60, mi = 61, ot = 62, vi = /[<&\n\ud800-\udbff]/, gi = /[<&\ud800-\udbff]/, yi = /\s+/g;
473
- function _i(t, e, o) {
474
- return o === void 0 && (o = {}), t ? (t = t.toString(), o.html ? bi(t, e, o) : ki(t, e, o)) : "";
475
- }
476
- Qt.default = _i;
479
+ ], Be = ["audio", "math", "svg", "video"], Ce = 10, fi = 33, hi = 34, pi = 38, mi = 39, we = 47, mt = 59, Ne = 60, vi = 61, ot = 62, gi = /[<&\n\ud800-\udbff]/, yi = /[<&\ud800-\udbff]/, _i = /\s+/g;
477
480
  function bi(t, e, o) {
478
- for (var i = o.imageWeight, u = i === void 0 ? 2 : i, r = o.indicator, f = r === void 0 ? "…" : r, d = o.maxLines, h = d === void 0 ? 1 / 0 : d, a = o.stripTags, v = a === void 0 ? !1 : a, m = f.length, k = 1, s = typeof v == "boolean" ? function() {
481
+ return o === void 0 && (o = {}), t ? (t = t.toString(), o.html ? ki(t, e, o) : Ei(t, e, o)) : "";
482
+ }
483
+ Qt.default = bi;
484
+ function ki(t, e, o) {
485
+ for (var i = o.imageWeight, u = i === void 0 ? 2 : i, r = o.indicator, f = r === void 0 ? "…" : r, d = o.maxLines, h = d === void 0 ? 1 / 0 : d, l = o.stripTags, v = l === void 0 ? !1 : l, m = f.length, k = 1, s = typeof v == "boolean" ? function() {
479
486
  return v;
480
487
  } : function(ee) {
481
488
  return v.includes(ee);
482
- }, g = [], b = function(ee) {
483
- for (var _e; _e = g.pop(), _e !== void 0; )
489
+ }, y = [], b = function(ee) {
490
+ for (var _e; _e = y.pop(), _e !== void 0; )
484
491
  s(_e) || (ee += "</" + _e + ">");
485
492
  return ee;
486
493
  }, c = 0, n = -1, p = t.length; c < p; c++) {
487
- var _ = c ? t.slice(c) : t, C = Ti(g), E = n > -1 || C ? gi : vi, $ = _.search(E), A = $ > -1 ? $ : _.length;
494
+ var _ = c ? t.slice(c) : t, S = Ci(y), E = n > -1 || S ? yi : gi, $ = _.search(E), O = $ > -1 ? $ : _.length;
488
495
  if (n === -1) {
489
- if (C) {
490
- var M = Ci(A === _.length ? _ : _.slice(0, $));
491
- if (s(g[g.length - 1])) {
492
- var P = c > 0 && !me(t.charCodeAt(c - 1)), F = !me(t.charCodeAt(c + A));
493
- M.length > 0 ? M = (P ? " " : "") + M + (F ? " " : "") : P && F && (M = " "), t = t.slice(0, c) + M + t.slice(c + A), A = M.length;
496
+ if (S) {
497
+ var R = Si(O === _.length ? _ : _.slice(0, $));
498
+ if (s(y[y.length - 1])) {
499
+ var H = c > 0 && !me(t.charCodeAt(c - 1)), F = !me(t.charCodeAt(c + O));
500
+ R.length > 0 ? R = (H ? " " : "") + R + (F ? " " : "") : H && F && (R = " "), t = t.slice(0, c) + R + t.slice(c + O), O = R.length;
494
501
  }
495
- if (m += M.length, m > e)
502
+ if (m += R.length, m > e)
496
503
  break;
497
- } else if (m += A, m > e) {
498
- c = Math.max(c + A - m + e, 0);
504
+ } else if (m += O, m > e) {
505
+ c = Math.max(c + O - m + e, 0);
499
506
  break;
500
507
  }
501
508
  }
502
- if (c += A, $ === -1)
509
+ if (c += O, $ === -1)
503
510
  break;
504
- var R = t.charCodeAt(c);
505
- if (R === Fe) {
506
- var B = t.charCodeAt(c + 1), G = B === ci;
507
- if (G && t.substr(c + 2, 2) === "--") {
508
- var we = t.indexOf("-->", c + 4) + 3;
509
- c = we - 1;
510
- } else if (G && t.substr(c + 2, 7) === "[CDATA[") {
511
- var Ke = t.indexOf("]]>", c + 9) + 3;
512
- c = Ke - 1;
511
+ var D = t.charCodeAt(c);
512
+ if (D === Ne) {
513
+ var G = t.charCodeAt(c + 1), z = G === fi;
514
+ if (z && t.substr(c + 2, 2) === "--") {
515
+ var Le = t.indexOf("-->", c + 4) + 3;
516
+ c = Le - 1;
517
+ } else if (z && t.substr(c + 2, 7) === "[CDATA[") {
518
+ var Pe = t.indexOf("]]>", c + 9) + 3;
519
+ c = Pe - 1;
513
520
  } else {
514
- var Le = B === Ve;
515
- if (m === e && !Le) {
521
+ var Ae = G === we;
522
+ if (m === e && !Ae) {
516
523
  m++;
517
524
  break;
518
525
  }
519
- for (var ge = 0, N = c, ce = !1; ; ) {
520
- if (N++, N >= p)
526
+ for (var ge = 0, U = c, ce = !1; ; ) {
527
+ if (U++, U >= p)
521
528
  throw new Error("Invalid HTML: " + t);
522
- var fe = t.charCodeAt(N);
529
+ var fe = t.charCodeAt(U);
523
530
  if (ce)
524
- ge ? fe === ge && (ce = !1) : me(fe) ? ce = !1 : fe === ot && (ce = !1, N--);
525
- else if (fe === mi) {
526
- for (; me(t.charCodeAt(N + 1)); )
527
- N++;
531
+ ge ? fe === ge && (ce = !1) : me(fe) ? ce = !1 : fe === ot && (ce = !1, U--);
532
+ else if (fe === vi) {
533
+ for (; me(t.charCodeAt(U + 1)); )
534
+ U++;
528
535
  ce = !0;
529
- var Ae = t.charCodeAt(N + 1);
530
- Ae === fi || Ae === pi ? (ge = Ae, N++) : ge = 0;
536
+ var Oe = t.charCodeAt(U + 1);
537
+ Oe === hi || Oe === mi ? (ge = Oe, U++) : ge = 0;
531
538
  } else if (fe === ot) {
532
- var Pe = c + (Le ? 2 : 1), Oe = Math.min(Ei(t, Pe), N), z = t.slice(Pe, Oe).toLowerCase();
533
- z.charCodeAt(z.length - 1) === Ve && (z = z.slice(0, z.length - 1));
534
- var ne = s(z);
535
- if (Le) {
536
- var Qe = g.pop();
537
- if (Qe !== z)
539
+ var Re = c + (Ae ? 2 : 1), Ve = Math.min(Ti(t, Re), U), B = t.slice(Re, Ve).toLowerCase();
540
+ B.charCodeAt(B.length - 1) === we && (B = B.slice(0, B.length - 1));
541
+ var ne = s(B);
542
+ if (Ae) {
543
+ var Qe = y.pop();
544
+ if (Qe !== B)
538
545
  throw new Error("Invalid HTML: " + t);
539
- if (We.includes(z) && !We.some(function(ee) {
540
- return g.includes(ee);
546
+ if (Be.includes(B) && !Be.some(function(ee) {
547
+ return y.includes(ee);
541
548
  })) {
542
549
  if (ne)
543
550
  c = n, n = -1;
544
551
  else if (n = -1, m += u, m > e)
545
552
  break;
546
553
  }
547
- var Xe = Xt.includes(z);
554
+ var Xe = Xt.includes(B);
548
555
  if (Xe && n === -1 && !ne && (k++, k > h)) {
549
- g.push(z);
556
+ y.push(B);
550
557
  break;
551
558
  }
552
- } else if (di.includes(z) || t.charCodeAt(N - 1) === Ve) {
559
+ } else if (ci.includes(B) || t.charCodeAt(U - 1) === we) {
553
560
  if (!ne) {
554
- if (z === "br") {
561
+ if (B === "br") {
555
562
  if (k++, k > h)
556
563
  break;
557
- } else if (z === "img" && (m += u, m > e))
564
+ } else if (B === "img" && (m += u, m > e))
558
565
  break;
559
566
  }
560
567
  } else
561
- We.some(function(ee) {
562
- return g.includes(ee);
563
- }) || We.includes(z) && (n = c), g.push(z);
564
- ne && n === -1 ? (t = t.slice(0, c) + t.slice(N + 1), c--) : c = N;
568
+ Be.some(function(ee) {
569
+ return y.includes(ee);
570
+ }) || Be.includes(B) && (n = c), y.push(B);
571
+ ne && n === -1 ? (t = t.slice(0, c) + t.slice(U + 1), c--) : c = U;
565
572
  break;
566
573
  }
567
574
  }
568
575
  if (m > e || k > h)
569
576
  break;
570
577
  }
571
- } else if (R === hi) {
572
- for (var N = c + 1, Re = !0; ; ) {
573
- var De = t.charCodeAt(N);
574
- if (Jt(De))
575
- N++;
578
+ } else if (D === pi) {
579
+ for (var U = c + 1, De = !0; ; ) {
580
+ var Me = t.charCodeAt(U);
581
+ if (Jt(Me))
582
+ U++;
576
583
  else {
577
- if (De === mt)
584
+ if (Me === mt)
578
585
  break;
579
- Re = !1;
586
+ De = !1;
580
587
  break;
581
588
  }
582
589
  }
583
590
  if (n === -1 && (m++, m > e))
584
591
  break;
585
- Re && (c = N);
586
- } else if (R === Ce) {
592
+ De && (c = U);
593
+ } else if (D === Ce) {
587
594
  if (m++, m > e || (k++, k > h))
588
595
  break;
589
596
  } else {
590
597
  if (n === -1 && (m++, m > e))
591
598
  break;
592
- if ((R & 64512) === 55296) {
593
- var B = t.charCodeAt(c + 1);
594
- (B & 64512) === 56320 && c++;
599
+ if ((D & 64512) === 55296) {
600
+ var G = t.charCodeAt(c + 1);
601
+ (G & 64512) === 56320 && c++;
595
602
  }
596
603
  }
597
604
  }
598
605
  if (m > e) {
599
- var he = Si(t, c);
606
+ var he = $i(t, c);
600
607
  if (f) {
601
- for (var ie = c + he.length; t.charCodeAt(ie) === Fe && t.charCodeAt(ie + 1) === Ve; ) {
602
- var Me = t.indexOf(">", ie + 2) + 1;
603
- if (Me)
604
- ie = Me;
608
+ for (var ie = c + he.length; t.charCodeAt(ie) === Ne && t.charCodeAt(ie + 1) === we; ) {
609
+ var xe = t.indexOf(">", ie + 2) + 1;
610
+ if (xe)
611
+ ie = xe;
605
612
  else
606
613
  break;
607
614
  }
608
- ie && (ie === t.length || $t(t, ie)) && (c += he.length, he = t.charAt(c));
615
+ ie && (ie === t.length || It(t, ie)) && (c += he.length, he = t.charAt(c));
609
616
  }
610
- for (; he === "<" && t.charCodeAt(c + 1) === Ve; ) {
611
- var z = g.pop();
612
- if (!z)
617
+ for (; he === "<" && t.charCodeAt(c + 1) === we; ) {
618
+ var B = y.pop();
619
+ if (!B)
613
620
  break;
614
621
  var ye = t.indexOf(">", c + 2);
615
- if (ye === -1 || t.slice(c + 2, ye).trim() !== z)
622
+ if (ye === -1 || t.slice(c + 2, ye).trim() !== B)
616
623
  throw new Error("Invalid HTML: " + t);
617
- s(z) ? t = t.slice(0, c) + t.slice(ye + 1) : c = ye + 1, he = t.charAt(c);
624
+ s(B) ? t = t.slice(0, c) + t.slice(ye + 1) : c = ye + 1, he = t.charAt(c);
618
625
  }
619
626
  if (c < t.length) {
620
627
  if (!o.breakWords)
621
628
  for (var pe = c - f.length; pe >= 0; pe--) {
622
- var R = t.charCodeAt(pe);
623
- if (R === ot || R === mt)
629
+ var D = t.charCodeAt(pe);
630
+ if (D === ot || D === mt)
624
631
  break;
625
- if (R === Ce || R === Fe) {
632
+ if (D === Ce || D === Ne) {
626
633
  c = pe;
627
634
  break;
628
- } else if (me(R)) {
635
+ } else if (me(D)) {
629
636
  c = pe + (f ? 1 : 0);
630
637
  break;
631
638
  }
632
639
  }
633
- var xe = t.slice(0, c);
634
- return $t(t, c) || (xe += f), b(xe);
640
+ var We = t.slice(0, c);
641
+ return It(t, c) || (We += f), b(We);
635
642
  }
636
643
  } else if (k > h)
637
644
  return b(t.slice(0, c));
638
645
  return t;
639
646
  }
640
- function ki(t, e, o) {
641
- for (var i = o.indicator, u = i === void 0 ? "…" : i, r = o.maxLines, f = r === void 0 ? 1 / 0 : r, d = u.length, h = 1, a = 0, v = t.length; a < v && (d++, !(d > e)); a++) {
642
- var m = t.charCodeAt(a);
647
+ function Ei(t, e, o) {
648
+ for (var i = o.indicator, u = i === void 0 ? "…" : i, r = o.maxLines, f = r === void 0 ? 1 / 0 : r, d = u.length, h = 1, l = 0, v = t.length; l < v && (d++, !(d > e)); l++) {
649
+ var m = t.charCodeAt(l);
643
650
  if (m === Ce) {
644
651
  if (h++, h > f)
645
652
  break;
646
653
  } else if ((m & 64512) === 55296) {
647
- var k = t.charCodeAt(a + 1);
648
- (k & 64512) === 56320 && a++;
654
+ var k = t.charCodeAt(l + 1);
655
+ (k & 64512) === 56320 && l++;
649
656
  }
650
657
  }
651
658
  if (d > e) {
652
- var s = Zt(t, a);
659
+ var s = Zt(t, l);
653
660
  if (u) {
654
- var g = a + s.length;
655
- if (g === t.length)
661
+ var y = l + s.length;
662
+ if (y === t.length)
656
663
  return t;
657
- if (t.charCodeAt(g) === Ce)
658
- return t.slice(0, a + s.length);
664
+ if (t.charCodeAt(y) === Ce)
665
+ return t.slice(0, l + s.length);
659
666
  }
660
667
  if (!o.breakWords)
661
- for (var b = a - u.length; b >= 0; b--) {
668
+ for (var b = l - u.length; b >= 0; b--) {
662
669
  var m = t.charCodeAt(b);
663
670
  if (m === Ce) {
664
- a = b, s = `
671
+ l = b, s = `
665
672
  `;
666
673
  break;
667
674
  } else if (me(m)) {
668
- a = b + (u ? 1 : 0);
675
+ l = b + (u ? 1 : 0);
669
676
  break;
670
677
  }
671
678
  }
672
- return t.slice(0, a) + (s === `
679
+ return t.slice(0, l) + (s === `
673
680
  ` ? "" : u);
674
681
  } else if (h > f)
675
- return t.slice(0, a);
682
+ return t.slice(0, l);
676
683
  return t;
677
684
  }
678
- function Ei(t, e) {
685
+ function Ti(t, e) {
679
686
  for (var o = t.length, i = e; i < o; i++)
680
687
  if (me(t.charCodeAt(i)))
681
688
  return i;
@@ -684,11 +691,11 @@ function Ei(t, e) {
684
691
  function Jt(t) {
685
692
  return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
686
693
  }
687
- function $t(t, e) {
694
+ function It(t, e) {
688
695
  var o = t.charCodeAt(e);
689
696
  if (o === Ce)
690
697
  return !0;
691
- if (o === Fe) {
698
+ if (o === Ne) {
692
699
  var i = "(" + Xt.join("|") + "|br)", u = new RegExp("^<" + i + `[
693
700
  \f\r ]*/?>`, "i");
694
701
  return u.test(t.slice(e));
@@ -698,7 +705,7 @@ function $t(t, e) {
698
705
  function me(t) {
699
706
  return t === 9 || t === 10 || t === 12 || t === 13 || t === 32;
700
707
  }
701
- function Ti(t) {
708
+ function Ci(t) {
702
709
  for (var e = t.length - 1; e >= 0; e--) {
703
710
  var o = t[e];
704
711
  if (o === "li" || o === "td")
@@ -708,8 +715,8 @@ function Ti(t) {
708
715
  }
709
716
  return !1;
710
717
  }
711
- function Ci(t) {
712
- return t.trim().replace(yi, " ");
718
+ function Si(t) {
719
+ return t.trim().replace(_i, " ");
713
720
  }
714
721
  function Zt(t, e) {
715
722
  var o = t.charCodeAt(e);
@@ -720,7 +727,7 @@ function Zt(t, e) {
720
727
  }
721
728
  return String.fromCharCode(o);
722
729
  }
723
- function Si(t, e) {
730
+ function $i(t, e) {
724
731
  var o = Zt(t, e);
725
732
  if (o === "&")
726
733
  for (; ; ) {
@@ -736,7 +743,7 @@ function Si(t, e) {
736
743
  }
737
744
  return o;
738
745
  }
739
- const Ii = ["innerHTML"], $i = /* @__PURE__ */ J({
746
+ const Ii = ["innerHTML"], Li = /* @__PURE__ */ J({
740
747
  __name: "Template",
741
748
  props: {
742
749
  id: {},
@@ -748,13 +755,13 @@ const Ii = ["innerHTML"], $i = /* @__PURE__ */ J({
748
755
  callback: { type: Function }
749
756
  },
750
757
  setup(t) {
751
- Q(ue()), Q($e()), de();
758
+ Q(ue()), Q(Ie()), de();
752
759
  const e = t, o = Y(() => [{
753
760
  large: e.image.url,
754
761
  medium: e.image.url,
755
762
  thumb: e.image.url,
756
763
  url: e.image.url
757
- }]), i = Ie(!1);
764
+ }]), i = $e(!1);
758
765
  function u() {
759
766
  i.value = !0;
760
767
  }
@@ -769,23 +776,23 @@ const Ii = ["innerHTML"], $i = /* @__PURE__ */ J({
769
776
  "includes-breakfast": !1,
770
777
  "hide-info-button": !0
771
778
  }, {
772
- description: w(() => [
773
- V("", !0),
774
- y("p", {
775
- innerHTML: l(ko)(f.description)
779
+ description: P(() => [
780
+ w("", !0),
781
+ g("p", {
782
+ innerHTML: a(Eo)(f.description)
776
783
  }, null, 8, Ii)
777
784
  ]),
778
- action: w(() => [
779
- y("div", null, [
780
- S(Ee, {
785
+ action: P(() => [
786
+ g("div", null, [
787
+ C(Ee, {
781
788
  onClickEvent: u,
782
789
  label: "Vælg dette ophold",
783
790
  "full-width": ""
784
791
  })
785
792
  ])
786
793
  ]),
787
- default: w(() => [
788
- S(ui, {
794
+ default: P(() => [
795
+ C(di, {
789
796
  modelValue: i.value,
790
797
  "onUpdate:modelValue": d[0] || (d[0] = (h) => i.value = h),
791
798
  title: f.name,
@@ -798,7 +805,7 @@ const Ii = ["innerHTML"], $i = /* @__PURE__ */ J({
798
805
  }, 8, ["listing-id", "name", "description", "gallery"]));
799
806
  }
800
807
  });
801
- const Li = /* @__PURE__ */ oe($i, [["__scopeId", "data-v-f277e2e5"]]), Lt = /* @__PURE__ */ J({
808
+ const Ai = /* @__PURE__ */ oe(Li, [["__scopeId", "data-v-f277e2e5"]]), Lt = /* @__PURE__ */ J({
802
809
  __name: "TimeField",
803
810
  props: {
804
811
  modelValue: {},
@@ -827,10 +834,10 @@ const Li = /* @__PURE__ */ oe($i, [["__scopeId", "data-v-f277e2e5"]]), Lt = /* @
827
834
  function u(f) {
828
835
  o("update:modelValue", f);
829
836
  }
830
- const r = Ie(i.modelValue);
831
- return qe(r, (f) => {
837
+ const r = $e(i.modelValue);
838
+ return Ge(r, (f) => {
832
839
  u(f);
833
- }), (f, d) => (T(), W(Bo, {
840
+ }), (f, d) => (T(), W(zo, {
834
841
  modelValue: r.value,
835
842
  "onUpdate:modelValue": d[0] || (d[0] = (h) => r.value = h),
836
843
  type: "time",
@@ -846,7 +853,7 @@ const Li = /* @__PURE__ */ oe($i, [["__scopeId", "data-v-f277e2e5"]]), Lt = /* @
846
853
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
847
854
  }
848
855
  });
849
- const Ai = { style: { display: "flex", "align-items": "baseline" } }, Oi = /* @__PURE__ */ J({
856
+ const Oi = { style: { display: "flex", "align-items": "baseline" } }, Vi = /* @__PURE__ */ J({
850
857
  __name: "CountryField",
851
858
  props: {
852
859
  modelValue: {},
@@ -866,35 +873,35 @@ const Ai = { style: { display: "flex", "align-items": "baseline" } }, Oi = /* @_
866
873
  get: () => u.modelValue,
867
874
  set: (d) => r(d)
868
875
  });
869
- return (d, h) => (T(), W(Ye, {
876
+ return (d, h) => (T(), W(Ke, {
870
877
  modelValue: f.value,
871
- "onUpdate:modelValue": h[0] || (h[0] = (a) => f.value = a),
878
+ "onUpdate:modelValue": h[0] || (h[0] = (l) => f.value = l),
872
879
  label: d.label,
873
- placeholder: l(o)("booking.reservation.countryPlaceholder"),
880
+ placeholder: a(o)("booking.reservation.countryPlaceholder"),
874
881
  labelKey: "name",
875
882
  valueKey: "id",
876
883
  options: d.options,
877
884
  required: d.required
878
885
  }, {
879
- option: w(({ data: a }) => [
880
- y("i", {
881
- class: Ge(["konnectio-flag-icon", a.iso])
886
+ option: P(({ data: l }) => [
887
+ g("i", {
888
+ class: je(["konnectio-flag-icon", l.iso])
882
889
  }, null, 2),
883
- y("span", null, O(a.name), 1)
890
+ g("span", null, A(l.name), 1)
884
891
  ]),
885
- "selected-option": w(({ data: a }) => [
886
- y("div", Ai, [
887
- y("i", {
888
- class: Ge(["konnectio-flag-icon", a.iso])
892
+ "selected-option": P(({ data: l }) => [
893
+ g("div", Oi, [
894
+ g("i", {
895
+ class: je(["konnectio-flag-icon", l.iso])
889
896
  }, null, 2),
890
- y("span", null, O(a.name), 1)
897
+ g("span", null, A(l.name), 1)
891
898
  ])
892
899
  ]),
893
900
  _: 1
894
901
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
895
902
  }
896
903
  });
897
- const Hi = /* @__PURE__ */ oe(Oi, [["__scopeId", "data-v-1462612d"]]), Vi = { class: "konnectio-radio-checkboxes" }, wi = /* @__PURE__ */ J({
904
+ const Hi = /* @__PURE__ */ oe(Vi, [["__scopeId", "data-v-1462612d"]]), wi = { class: "konnectio-radio-checkboxes" }, Pi = /* @__PURE__ */ J({
898
905
  __name: "CheckboxField",
899
906
  props: {
900
907
  modelValue: {},
@@ -916,16 +923,16 @@ const Hi = /* @__PURE__ */ oe(Oi, [["__scopeId", "data-v-1462612d"]]), Vi = { cl
916
923
  label: f.label,
917
924
  type: "multi-radio"
918
925
  }, {
919
- default: w(() => [
920
- y("ul", Vi, [
921
- (T(!0), I(U, null, q(f.checkboxes, ({ label: h, value: a }, v) => (T(), I("li", { key: v }, [
922
- S(pt, {
926
+ default: P(() => [
927
+ g("ul", wi, [
928
+ (T(!0), I(N, null, q(f.checkboxes, ({ label: h, value: l }, v) => (T(), I("li", { key: v }, [
929
+ C(pt, {
923
930
  modelValue: r.value,
924
931
  "onUpdate:modelValue": d[0] || (d[0] = (m) => r.value = m),
925
932
  label: h,
926
933
  name: f.name,
927
934
  type: "radio",
928
- val: a
935
+ val: l
929
936
  }, null, 8, ["modelValue", "label", "name", "val"])
930
937
  ]))), 128))
931
938
  ])
@@ -934,7 +941,7 @@ const Hi = /* @__PURE__ */ oe(Oi, [["__scopeId", "data-v-1462612d"]]), Vi = { cl
934
941
  }, 8, ["label"]));
935
942
  }
936
943
  });
937
- const Pi = /* @__PURE__ */ oe(wi, [["__scopeId", "data-v-d8d42a8a"]]), Ri = /* @__PURE__ */ J({
944
+ const Ri = /* @__PURE__ */ oe(Pi, [["__scopeId", "data-v-d8d42a8a"]]), Di = /* @__PURE__ */ J({
938
945
  __name: "NameField",
939
946
  props: {
940
947
  modelValue: {},
@@ -956,82 +963,82 @@ const Pi = /* @__PURE__ */ oe(wi, [["__scopeId", "data-v-d8d42a8a"]]), Ri = /* @
956
963
  },
957
964
  emits: ["update:modelValue", "update:title"],
958
965
  setup(t, { emit: e }) {
959
- const o = t, i = e, u = o.id || St(), r = Ie(""), f = Ie(2);
966
+ const o = t, i = e, u = o.id || St(), r = $e(""), f = $e(2);
960
967
  function d() {
961
968
  i("update:modelValue", r.value);
962
969
  }
963
- qe(f, (a) => {
964
- i("update:title", a);
970
+ Ge(f, (l) => {
971
+ i("update:title", l);
965
972
  });
966
973
  const { t: h } = de();
967
974
  return yt(() => {
968
975
  o.modelValue && (r.value = o.modelValue), o.title && (f.value = o.title);
969
- }), (a, v) => (T(), W(qt, {
970
- label: a.label,
971
- id: l(u),
972
- required: a.required,
976
+ }), (l, v) => (T(), W(qt, {
977
+ label: l.label,
978
+ id: a(u),
979
+ required: l.required,
973
980
  type: "fresh-booking-name-field",
974
- readonly: a.readonly,
975
- limit: a.limit
981
+ readonly: l.readonly,
982
+ limit: l.limit
976
983
  }, {
977
- default: w(() => [
978
- y("div", {
979
- class: Ge([
984
+ default: P(() => [
985
+ g("div", {
986
+ class: je([
980
987
  "fresh-booking-name-input",
981
- { "no-title": a.excludeTitle }
988
+ { "no-title": l.excludeTitle }
982
989
  ])
983
990
  }, [
984
- a.excludeTitle ? V("", !0) : (T(), W(Ye, {
991
+ l.excludeTitle ? w("", !0) : (T(), W(Ke, {
985
992
  key: 0,
986
993
  modelValue: f.value,
987
994
  "onUpdate:modelValue": v[0] || (v[0] = (m) => f.value = m),
988
- id: l(St)(),
989
- icon: a.icon,
990
- "icon-color": a.iconColor,
991
- "icon-type": a.iconType,
995
+ id: a(St)(),
996
+ icon: l.icon,
997
+ "icon-color": l.iconColor,
998
+ "icon-type": l.iconType,
992
999
  options: [
993
1000
  {
994
- label: l(h)("booking.reservation.noNameTitle"),
1001
+ label: a(h)("booking.reservation.noNameTitle"),
995
1002
  value: 1
996
1003
  },
997
1004
  {
998
- label: l(h)("booking.reservation.nameTitleMr"),
1005
+ label: a(h)("booking.reservation.nameTitleMr"),
999
1006
  value: 2
1000
1007
  },
1001
1008
  {
1002
- label: l(h)("booking.reservation.nameTitleMs"),
1009
+ label: a(h)("booking.reservation.nameTitleMs"),
1003
1010
  value: 3
1004
1011
  },
1005
1012
  {
1006
- label: l(h)("booking.reservation.nameTitleMrs"),
1013
+ label: a(h)("booking.reservation.nameTitleMrs"),
1007
1014
  value: 4
1008
1015
  },
1009
1016
  {
1010
- label: l(h)("booking.reservation.nameTitleDr"),
1017
+ label: a(h)("booking.reservation.nameTitleDr"),
1011
1018
  value: 5
1012
1019
  }
1013
1020
  ],
1014
- readonly: a.readonly,
1021
+ readonly: l.readonly,
1015
1022
  "hide-button": "",
1016
- "input-style": a.inputStyle,
1023
+ "input-style": l.inputStyle,
1017
1024
  searchable: !1
1018
1025
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
1019
- S(se, {
1026
+ C(se, {
1020
1027
  modelValue: r.value,
1021
1028
  "onUpdate:modelValue": v[1] || (v[1] = (m) => r.value = m),
1022
1029
  type: "text",
1023
1030
  name: "name",
1024
1031
  autocomplete: "name",
1025
- id: l(u),
1026
- icon: a.excludeTitle ? a.icon : void 0,
1027
- "icon-color": a.iconColor,
1028
- "icon-type": a.iconType,
1029
- placeholder: a.placeholder,
1030
- required: a.required,
1031
- readonly: a.readonly,
1032
- limit: a.limit,
1032
+ id: a(u),
1033
+ icon: l.excludeTitle ? l.icon : void 0,
1034
+ "icon-color": l.iconColor,
1035
+ "icon-type": l.iconType,
1036
+ placeholder: l.placeholder,
1037
+ required: l.required,
1038
+ readonly: l.readonly,
1039
+ limit: l.limit,
1033
1040
  onInput: v[2] || (v[2] = (m) => d()),
1034
- "input-style": a.inputStyle
1041
+ "input-style": l.inputStyle
1035
1042
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
1036
1043
  ], 2)
1037
1044
  ]),
@@ -1039,53 +1046,53 @@ const Pi = /* @__PURE__ */ oe(wi, [["__scopeId", "data-v-d8d42a8a"]]), Ri = /* @
1039
1046
  }, 8, ["label", "id", "required", "readonly", "limit"]));
1040
1047
  }
1041
1048
  });
1042
- const Di = /* @__PURE__ */ oe(Ri, [["__scopeId", "data-v-78b0b319"]]), Mi = { class: "hotel-listing" }, xi = { class: "hotel-listing-content-gallery" }, Wi = { class: "hotel-listing-content-thumbs" }, Bi = { class: "hotel-listing-content" }, zi = { class: "hotel-listing-content-header" }, Fi = { class: "hotel-listing-content-title" }, Ni = { class: "hotel-listing-content-body" }, Ui = { class: "hotel-listing-content-facilities" }, qi = /* @__PURE__ */ J({
1049
+ const Mi = /* @__PURE__ */ oe(Di, [["__scopeId", "data-v-78b0b319"]]), xi = { class: "hotel-listing" }, Wi = { class: "hotel-listing-content-gallery" }, Bi = { class: "hotel-listing-content-thumbs" }, zi = { class: "hotel-listing-content" }, Fi = { class: "hotel-listing-content-header" }, Ni = { class: "hotel-listing-content-title" }, Ui = { class: "hotel-listing-content-body" }, qi = { class: "hotel-listing-content-facilities" }, Gi = /* @__PURE__ */ J({
1043
1050
  __name: "Listing",
1044
1051
  setup(t) {
1045
- return (e, o) => (T(), I("div", Mi, [
1046
- y("div", xi, [
1047
- S(Z, {
1052
+ return (e, o) => (T(), I("div", xi, [
1053
+ g("div", Wi, [
1054
+ C(Z, {
1048
1055
  width: "280px",
1049
1056
  height: "153px"
1050
1057
  }),
1051
- y("div", Wi, [
1052
- (T(), I(U, null, q(3, (i) => S(Z, {
1058
+ g("div", Bi, [
1059
+ (T(), I(N, null, q(3, (i) => C(Z, {
1053
1060
  key: i,
1054
1061
  width: "84px",
1055
1062
  height: "44px"
1056
1063
  })), 64))
1057
1064
  ])
1058
1065
  ]),
1059
- y("div", Bi, [
1060
- y("div", zi, [
1061
- y("div", Fi, [
1062
- S(Z, {
1066
+ g("div", zi, [
1067
+ g("div", Fi, [
1068
+ g("div", Ni, [
1069
+ C(Z, {
1063
1070
  height: "30px",
1064
1071
  width: "60%"
1065
1072
  }),
1066
- S(Z, {
1073
+ C(Z, {
1067
1074
  height: "30px",
1068
1075
  width: "30px",
1069
1076
  "border-radius": "100%"
1070
1077
  })
1071
1078
  ]),
1072
- S(Z, {
1079
+ C(Z, {
1073
1080
  height: "15px",
1074
1081
  width: "25%"
1075
1082
  })
1076
1083
  ]),
1077
- y("div", Ni, [
1078
- S(Z, { height: "15px" }),
1079
- S(Z, { height: "15px" }),
1080
- S(Z, { height: "15px" }),
1081
- S(Z, { height: "15px" }),
1082
- S(Z, {
1084
+ g("div", Ui, [
1085
+ C(Z, { height: "15px" }),
1086
+ C(Z, { height: "15px" }),
1087
+ C(Z, { height: "15px" }),
1088
+ C(Z, { height: "15px" }),
1089
+ C(Z, {
1083
1090
  height: "15px",
1084
1091
  width: "90%"
1085
1092
  })
1086
1093
  ]),
1087
- y("div", Ui, [
1088
- (T(), I(U, null, q(5, (i) => S(Z, {
1094
+ g("div", qi, [
1095
+ (T(), I(N, null, q(5, (i) => C(Z, {
1089
1096
  key: i,
1090
1097
  height: "25px",
1091
1098
  width: "25px",
@@ -1096,56 +1103,56 @@ const Di = /* @__PURE__ */ oe(Ri, [["__scopeId", "data-v-78b0b319"]]), Mi = { cl
1096
1103
  ]));
1097
1104
  }
1098
1105
  });
1099
- const Se = /* @__PURE__ */ oe(qi, [["__scopeId", "data-v-a5347d60"]]), Gi = { class: "hotel-skeleton" }, ji = { class: "hotel-skeleton-content" }, Yi = { class: "hotel-skeleton-sidebar" }, Ki = /* @__PURE__ */ J({
1106
+ const Se = /* @__PURE__ */ oe(Gi, [["__scopeId", "data-v-a5347d60"]]), ji = { class: "hotel-skeleton" }, Yi = { class: "hotel-skeleton-content" }, Ki = { class: "hotel-skeleton-sidebar" }, Qi = /* @__PURE__ */ J({
1100
1107
  __name: "HotelSkeleton",
1101
1108
  setup(t) {
1102
- return (e, o) => (T(), I("div", Gi, [
1103
- y("div", ji, [
1104
- S(xo),
1105
- S(Se),
1106
- S(Se),
1107
- S(Se)
1109
+ return (e, o) => (T(), I("div", ji, [
1110
+ g("div", Yi, [
1111
+ C(Wo),
1112
+ C(Se),
1113
+ C(Se),
1114
+ C(Se)
1108
1115
  ]),
1109
- y("div", Yi, [
1110
- S(wo)
1116
+ g("div", Ki, [
1117
+ C(Po)
1111
1118
  ])
1112
1119
  ]));
1113
1120
  }
1114
1121
  });
1115
- const Qi = /* @__PURE__ */ oe(Ki, [["__scopeId", "data-v-9a38fcc3"]]), Xi = (t) => (Ft("data-v-baa4a4f7"), t = t(), Nt(), t), Ji = { id: "booking-availability-container" }, Zi = { id: "booking-availability-controls" };
1116
- const en = { key: 1 }, tn = { key: 0 }, on = {
1122
+ const Xi = /* @__PURE__ */ oe(Qi, [["__scopeId", "data-v-5fa1400b"]]), Ji = (t) => (Ft("data-v-62335f79"), t = t(), Nt(), t), Zi = { id: "booking-availability-container" }, en = { id: "booking-availability-controls" };
1123
+ const tn = { key: 1 }, on = { key: 0 }, nn = {
1117
1124
  key: 0,
1118
1125
  id: "booking-availability-packages"
1119
- }, nn = {
1126
+ }, rn = {
1120
1127
  key: 0,
1121
1128
  class: "konnectio-hotel-availability-title"
1122
- }, rn = { id: "booking-availability-packages-wrapper" }, sn = { key: 1 }, an = {
1129
+ }, sn = { id: "booking-availability-packages-wrapper" }, an = { key: 1 }, ln = {
1123
1130
  key: 0,
1124
1131
  class: "konnectio-hotel-availability-title"
1125
- }, ln = { id: "booking-availability-listings" }, un = {
1132
+ }, un = { id: "booking-availability-listings" }, dn = {
1126
1133
  key: 2,
1127
1134
  id: "booking-availability-no-listings",
1128
1135
  class: "fresh-booking-panel"
1129
- }, dn = {
1136
+ }, cn = {
1130
1137
  key: 1,
1131
1138
  id: "booking-availability-no-listings"
1132
- }, cn = {
1139
+ }, fn = {
1133
1140
  key: 2,
1134
1141
  id: "reservation-availability-next-dates"
1135
- }, fn = { class: "konnectio-hotel-availability-title" }, hn = { class: "reservation-special-offers-grid" }, pn = ["title"];
1136
- const mn = {
1142
+ }, hn = { class: "konnectio-hotel-availability-title" }, pn = { class: "reservation-special-offers-grid" }, mn = ["title"];
1143
+ const vn = {
1137
1144
  key: 2,
1138
1145
  class: "konnectio-listing-loading"
1139
- }, vn = { class: "fresh-booking-panel" }, gn = {
1146
+ }, gn = { class: "fresh-booking-panel" }, yn = {
1140
1147
  key: 0,
1141
1148
  id: "konnectio-hotel-addons"
1142
1149
  };
1143
- const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn = /* @__PURE__ */ Xi(() => /* @__PURE__ */ y("br", null, null, -1)), kn = ["onClick"], En = { class: "fresh-booking-panel" }, Tn = { key: 0 }, Cn = { key: 1 }, Sn = { class: "fresh-booking-split-inputs" }, In = ["onClick"], $n = /* @__PURE__ */ J({
1150
+ const _n = { class: "fresh-booking-event-addons-price" }, bn = { key: 1 }, kn = /* @__PURE__ */ Ji(() => /* @__PURE__ */ g("br", null, null, -1)), En = ["onClick"], Tn = { class: "fresh-booking-panel" }, Cn = { key: 0 }, Sn = { key: 1 }, $n = { class: "fresh-booking-split-inputs" }, In = ["onClick"], Ln = /* @__PURE__ */ J({
1144
1151
  name: "HotelLayout",
1145
1152
  __name: "Hotel",
1146
1153
  props: {
1147
1154
  accessToken: {},
1148
- headerLayout: { default: Eo.Minimal },
1155
+ headerLayout: { default: To.Minimal },
1149
1156
  onlyShow: { default: "everything" },
1150
1157
  styling: {}
1151
1158
  },
@@ -1158,51 +1165,52 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
1158
1165
  isReservationFormFilled: f,
1159
1166
  travelingFor: d,
1160
1167
  arrivalTime: h,
1161
- departureTime: a,
1168
+ departureTime: l,
1162
1169
  name: v,
1163
1170
  nameTitle: m,
1164
1171
  email: k,
1165
1172
  phone: s,
1166
- firmName: g,
1173
+ firmName: y,
1167
1174
  postal: b,
1168
1175
  city: c,
1169
1176
  address: n,
1170
1177
  country: p,
1171
1178
  remark: _,
1172
- allergies: C,
1179
+ allergies: S,
1173
1180
  newsMails: E,
1174
1181
  roomSelect: $,
1175
- roomDisplay: A,
1176
- hasValidRoomSelection: M,
1177
- availabilityData: P,
1182
+ roomDisplay: O,
1183
+ hasValidRoomSelection: R,
1184
+ availabilityData: H,
1178
1185
  selectionHasNoAddons: F
1179
1186
  } = Q(ue()), {
1180
- arrivalDate: R,
1181
- departureDate: B
1187
+ arrivalDate: D,
1188
+ departureDate: G
1182
1189
  } = Q(zt()), {
1183
- currency: G,
1184
- disableNewsletterSignup: we,
1185
- arrivalEarliest: Ke,
1186
- arrivalLatest: Le,
1190
+ currency: z,
1191
+ disableNewsletterSignup: Le,
1192
+ arrivalEarliest: Pe,
1193
+ arrivalLatest: Ae,
1187
1194
  departureEarliest: ge,
1188
- departureLatest: N,
1195
+ departureLatest: U,
1189
1196
  enableTracking: ce,
1190
1197
  arrivalDefault: fe,
1191
- departureDefault: Ae,
1192
- hideArrivalDepartureInputs: Pe,
1193
- disableArrivalUserSelection: Oe,
1194
- disableNamePrefix: z,
1198
+ departureDefault: Oe,
1199
+ hideArrivalDepartureInputs: Re,
1200
+ disableArrivalUserSelection: Ve,
1201
+ disableNamePrefix: B,
1195
1202
  disableDepartureUserSelection: ne,
1196
1203
  disableTravelingFor: Qe,
1197
1204
  disableTravelingForBleasure: Xe,
1198
- disableCompanyField: Re,
1199
- hasPaymentGateway: De
1200
- } = Q($e()), { beginCheckout: he } = Ut(), {
1205
+ disableCompanyField: De,
1206
+ hasPaymentGateway: Me
1207
+ } = Q(Ie()), { beginCheckout: he } = Ut(), {
1201
1208
  initialize: ie,
1202
- resetTemplate: Me,
1203
- createReservation: ye
1204
- } = ue(), pe = Ie(!0), xe = Y(() => {
1205
- const D = [
1209
+ resetTemplate: xe,
1210
+ resetDiscountVoucher: ye,
1211
+ createReservation: pe
1212
+ } = ue(), We = $e(!0), ee = Y(() => {
1213
+ const M = [
1206
1214
  {
1207
1215
  label: e("booking.reservation.business"),
1208
1216
  value: "Business"
@@ -1212,91 +1220,91 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
1212
1220
  value: "Pleasure"
1213
1221
  }
1214
1222
  ];
1215
- return Xe.value || D.push({
1223
+ return Xe.value || M.push({
1216
1224
  label: e("booking.reservation.bleasure"),
1217
1225
  value: "Bleasure"
1218
- }), D;
1219
- }), ee = Y(() => {
1220
- const D = P.value.roomGroups.slice();
1221
- D.forEach((X) => {
1226
+ }), M;
1227
+ }), _e = Y(() => {
1228
+ const M = H.value.roomGroups.slice();
1229
+ M.forEach((X) => {
1222
1230
  X.pricesFrom = X.rates.reduce(
1223
1231
  (x, L) => x < L.rackRate ? x : L.rackRate,
1224
1232
  1 / 0
1225
1233
  );
1226
1234
  });
1227
- function H(X, x) {
1228
- return pe.value === !0 ? X.pricesFrom > x.pricesFrom ? -1 : 1 : X.pricesFrom > x.pricesFrom ? 1 : -1;
1235
+ function V(X, x) {
1236
+ return We.value === !0 ? X.pricesFrom > x.pricesFrom ? -1 : 1 : X.pricesFrom > x.pricesFrom ? 1 : -1;
1229
1237
  }
1230
- return D.sort(H);
1231
- }), _e = Y(() => [[
1232
- parseInt(Ke.value.split(":")[0]),
1233
- parseInt(Le.value.split(":")[0])
1234
- ]]), lo = Y(() => [[
1238
+ return M.sort(V);
1239
+ }), lo = Y(() => [[
1240
+ parseInt(Pe.value.split(":")[0]),
1241
+ parseInt(Ae.value.split(":")[0])
1242
+ ]]), uo = Y(() => [[
1235
1243
  parseInt(ge.value.split(":")[0]),
1236
- parseInt(N.value.split(":")[0])
1244
+ parseInt(U.value.split(":")[0])
1237
1245
  ]]);
1238
- function Tt(D) {
1239
- F.value ? D(2) : D();
1246
+ function Tt(M) {
1247
+ F.value ? M(2) : M(), ye();
1240
1248
  }
1241
- function uo(D, H) {
1242
- B.value = new Date(H), R.value = new Date(D), location.reload();
1249
+ function co(M, V) {
1250
+ G.value = new Date(V), D.value = new Date(M), location.reload();
1243
1251
  }
1244
- async function co(D) {
1245
- await ye(D);
1252
+ async function fo(M) {
1253
+ await pe(M);
1246
1254
  }
1247
- function fo(D) {
1248
- ce.value && he(), F.value ? D(2) : D();
1255
+ function ho(M) {
1256
+ ce.value && he(), F.value ? M(2) : M();
1249
1257
  }
1250
- function ho() {
1251
- h.value === "" && (h.value = fe.value), a.value === "" && (a.value = Ae.value);
1258
+ function po() {
1259
+ h.value === "" && (h.value = fe.value), l.value === "" && (l.value = Oe.value);
1252
1260
  }
1253
1261
  return yt(() => {
1254
- ie(), ho();
1255
- }), (D, H) => (T(), W(Mo, { styling: D.styling }, {
1256
- default: w(() => [
1257
- (T(), W(To, null, {
1258
- default: w(() => [
1259
- S(So, {
1262
+ ie(), po();
1263
+ }), (M, V) => (T(), W(xo, { styling: M.styling }, {
1264
+ default: P(() => [
1265
+ (T(), W(Co, null, {
1266
+ default: P(() => [
1267
+ C($o, {
1260
1268
  id: "fresh-booking-hotel-module",
1261
- "access-token": D.accessToken,
1269
+ "access-token": M.accessToken,
1262
1270
  type: "hotel"
1263
1271
  }, {
1264
- default: w(() => [
1265
- S(Po, {
1266
- layout: D.headerLayout,
1267
- onReset: l(Me)
1272
+ default: P(() => [
1273
+ C(Ro, {
1274
+ layout: M.headerLayout,
1275
+ onReset: a(xe)
1268
1276
  }, {
1269
- availability: w(({ next: X }) => [
1270
- S(tt, null, {
1271
- form: w(() => [
1272
- y("div", Ji, [
1273
- y("div", Zi, [
1274
- S(Wo, { booking: !0 })
1277
+ availability: P(({ next: X }) => [
1278
+ C(tt, null, {
1279
+ form: P(() => [
1280
+ g("div", Zi, [
1281
+ g("div", en, [
1282
+ C(Bo, { booking: !0 })
1275
1283
  ]),
1276
- V("", !0),
1277
- l(u) ? (T(), I("div", mn, [
1278
- S(Se),
1279
- S(Se),
1280
- S(Se)
1281
- ])) : (T(), I("div", en, [
1282
- l(P).roomGroups.length > 0 || l(P).templates.length > 0 ? (T(), I("div", tn, [
1283
- l(P).templates.length > 0 && D.onlyShow !== "rooms" ? (T(), I("div", on, [
1284
- D.onlyShow !== "packages" ? (T(), I("h2", nn, [
1285
- S(te, {
1284
+ w("", !0),
1285
+ a(u) ? (T(), I("div", vn, [
1286
+ C(Se),
1287
+ C(Se),
1288
+ C(Se)
1289
+ ])) : (T(), I("div", tn, [
1290
+ a(H).roomGroups.length > 0 || a(H).templates.length > 0 ? (T(), I("div", on, [
1291
+ a(H).templates.length > 0 && M.onlyShow !== "rooms" ? (T(), I("div", nn, [
1292
+ M.onlyShow !== "packages" ? (T(), I("h2", rn, [
1293
+ C(te, {
1286
1294
  icon: "box",
1287
1295
  type: "fal",
1288
1296
  color: "header"
1289
1297
  }),
1290
- y("span", null, O(l(e)("booking.availability.packagesTitle")), 1)
1291
- ])) : V("", !0),
1292
- y("ul", rn, [
1293
- (T(!0), I(U, null, q(l(P).templates, ({
1298
+ g("span", null, A(a(e)("booking.availability.packagesTitle")), 1)
1299
+ ])) : w("", !0),
1300
+ g("ul", sn, [
1301
+ (T(!0), I(N, null, q(a(H).templates, ({
1294
1302
  id: x,
1295
1303
  name: L,
1296
1304
  templateRoomGroups: be,
1297
1305
  image: ke,
1298
1306
  description: K
1299
- }) => (T(), W(Li, {
1307
+ }) => (T(), W(Ai, {
1300
1308
  key: x,
1301
1309
  id: x,
1302
1310
  description: K,
@@ -1306,59 +1314,59 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
1306
1314
  callback: X
1307
1315
  }, null, 8, ["id", "description", "name", "image", "room-groups", "callback"]))), 128))
1308
1316
  ])
1309
- ])) : V("", !0),
1310
- l(P).roomGroups.length > 0 && D.onlyShow !== "packages" ? (T(), I("div", sn, [
1311
- l(P).templates.length > 0 && D.onlyShow !== "rooms" ? (T(), I("h2", an, [
1312
- S(te, {
1317
+ ])) : w("", !0),
1318
+ a(H).roomGroups.length > 0 && M.onlyShow !== "packages" ? (T(), I("div", an, [
1319
+ a(H).templates.length > 0 && M.onlyShow !== "rooms" ? (T(), I("h2", ln, [
1320
+ C(te, {
1313
1321
  icon: "house",
1314
1322
  type: "fal",
1315
1323
  color: "header"
1316
1324
  }),
1317
- y("span", null, O(l(e)("booking.availability.roomsTitle")), 1)
1318
- ])) : V("", !0),
1319
- y("ul", ln, [
1320
- (T(!0), I(U, null, q(ee.value, (x, L) => (T(), W(si, {
1325
+ g("span", null, A(a(e)("booking.availability.roomsTitle")), 1)
1326
+ ])) : w("", !0),
1327
+ g("ul", un, [
1328
+ (T(!0), I(N, null, q(_e.value, (x, L) => (T(), W(ai, {
1321
1329
  room: x,
1322
1330
  key: L
1323
1331
  }, null, 8, ["room"]))), 128))
1324
1332
  ])
1325
- ])) : V("", !0),
1326
- (l(P).templates.length === 0 && D.onlyShow !== "rooms" || l(P).roomGroups.length === 0 && D.onlyShow !== "packages") && (D.onlyShow === "rooms" || D.onlyShow === "packages") ? (T(), I("div", un, [
1327
- y("span", null, O(l(e)("booking.availability.nothingAvailable")), 1)
1328
- ])) : V("", !0)
1329
- ])) : l(P).nextAvailableDates.length === 0 ? (T(), I("div", dn, [
1330
- y("span", null, O(l(e)("booking.availability.nothingAvailable")), 1)
1331
- ])) : (T(), I("div", cn, [
1332
- y("h2", fn, [
1333
- S(te, {
1333
+ ])) : w("", !0),
1334
+ (a(H).templates.length === 0 && M.onlyShow !== "rooms" || a(H).roomGroups.length === 0 && M.onlyShow !== "packages") && (M.onlyShow === "rooms" || M.onlyShow === "packages") ? (T(), I("div", dn, [
1335
+ g("span", null, A(a(e)("booking.availability.nothingAvailable")), 1)
1336
+ ])) : w("", !0)
1337
+ ])) : a(H).nextAvailableDates.length === 0 ? (T(), I("div", cn, [
1338
+ g("span", null, A(a(e)("booking.availability.nothingAvailable")), 1)
1339
+ ])) : (T(), I("div", fn, [
1340
+ g("h2", hn, [
1341
+ C(te, {
1334
1342
  icon: "calendar-circle-exclamation",
1335
1343
  type: "fal",
1336
1344
  color: "header"
1337
1345
  }),
1338
- y("span", null, O(l(e)("booking.availability.nextAvailableDates")), 1)
1346
+ g("span", null, A(a(e)("booking.availability.nextAvailableDates")), 1)
1339
1347
  ]),
1340
- y("ul", hn, [
1341
- (T(!0), I(U, null, q(l(P).nextAvailableDates, (x, L) => (T(), I("li", { key: L }, [
1342
- y("h3", {
1343
- title: `${l(ae)(x.fromDate)} - ${l(ae)(x.toDate)}`
1348
+ g("ul", pn, [
1349
+ (T(!0), I(N, null, q(a(H).nextAvailableDates, (x, L) => (T(), I("li", { key: L }, [
1350
+ g("h3", {
1351
+ title: `${a(ae)(x.fromDate)} - ${a(ae)(x.toDate)}`
1344
1352
  }, [
1345
- y("span", null, O(`${l(ae)(x.fromDate)} - ${l(ae)(x.toDate)}`), 1)
1346
- ], 8, pn),
1347
- y("ul", null, [
1348
- V("", !0),
1349
- y("li", null, [
1350
- S(te, {
1353
+ g("span", null, A(`${a(ae)(x.fromDate)} - ${a(ae)(x.toDate)}`), 1)
1354
+ ], 8, mn),
1355
+ g("ul", null, [
1356
+ w("", !0),
1357
+ g("li", null, [
1358
+ C(te, {
1351
1359
  icon: "money-bill",
1352
1360
  type: "fal",
1353
1361
  color: "header"
1354
1362
  }),
1355
- y("span", null, O(l(e)("booking.availability.pricesFrom")) + ": " + O(l(le)(x.priceStartFrom, l(G))), 1)
1363
+ g("span", null, A(a(e)("booking.availability.pricesFrom")) + ": " + A(a(le)(x.priceStartFrom, a(z))), 1)
1356
1364
  ])
1357
1365
  ]),
1358
- S(Ee, {
1359
- label: l(e)("booking.availability.selectDates"),
1366
+ C(Ee, {
1367
+ label: a(e)("booking.availability.selectDates"),
1360
1368
  "full-width": "",
1361
- onClickEvent: (be) => uo(x.fromDate, x.toDate)
1369
+ onClickEvent: (be) => co(x.fromDate, x.toDate)
1362
1370
  }, null, 8, ["label", "onClickEvent"])
1363
1371
  ]))), 128))
1364
1372
  ])
@@ -1366,90 +1374,90 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
1366
1374
  ]))
1367
1375
  ])
1368
1376
  ]),
1369
- navigation: w(() => [
1370
- S(Ee, {
1371
- label: l(F) ? l(e)("booking.availability.nextButton") : l(e)("general.chooseAddons"),
1372
- disabled: !l(M),
1377
+ navigation: P(() => [
1378
+ C(Ee, {
1379
+ label: a(F) ? a(e)("booking.availability.nextButton") : a(e)("general.chooseAddons"),
1380
+ disabled: !a(R),
1373
1381
  "is-loading": !1,
1374
1382
  "full-width": "",
1375
- onClickEvent: (x) => fo(X)
1383
+ onClickEvent: (x) => ho(X)
1376
1384
  }, null, 8, ["label", "disabled", "onClickEvent"])
1377
1385
  ]),
1378
1386
  _: 2
1379
1387
  }, 1024)
1380
1388
  ]),
1381
- addons: w(({ next: X, prev: x }) => [
1382
- S(tt, null, {
1383
- form: w(() => [
1384
- y("form", vn, [
1385
- y("h2", null, [
1386
- y("span", null, O(l(e)("booking.reservation.addons")), 1)
1389
+ addons: P(({ next: X, prev: x }) => [
1390
+ C(tt, null, {
1391
+ form: P(() => [
1392
+ g("form", gn, [
1393
+ g("h2", null, [
1394
+ g("span", null, A(a(e)("booking.reservation.addons")), 1)
1387
1395
  ]),
1388
- y("div", null, [
1389
- isNaN(l(o)) ? (T(), I("div", gn, [
1390
- (T(!0), I(U, null, q(l(A), (L) => (T(), I("ul", {
1396
+ g("div", null, [
1397
+ isNaN(a(o)) ? (T(), I("div", yn, [
1398
+ (T(!0), I(N, null, q(a(O), (L) => (T(), I("ul", {
1391
1399
  key: L.roomGroupID
1392
1400
  }, [
1393
- (T(!0), I(U, null, q(L.variants, (be, ke) => (T(), I("li", {
1401
+ (T(!0), I(N, null, q(L.variants, (be, ke) => (T(), I("li", {
1394
1402
  key: be.ratePlanID
1395
1403
  }, [
1396
- y("h4", null, [
1397
- y("span", null, O(l(Te)(L.title)), 1)
1404
+ g("h4", null, [
1405
+ g("span", null, A(a(Te)(L.title)), 1)
1398
1406
  ]),
1399
- (T(!0), I(U, null, q(be.rooms, (K, po) => (T(), I("table", {
1400
- key: po,
1407
+ (T(!0), I(N, null, q(be.rooms, (K, mo) => (T(), I("table", {
1408
+ key: mo,
1401
1409
  class: "fresh-booking-table"
1402
1410
  }, [
1403
- y("thead", null, [
1404
- y("tr", null, [
1405
- y("th", null, [
1406
- y("span", null, O(l(Te)(be.name)), 1)
1411
+ g("thead", null, [
1412
+ g("tr", null, [
1413
+ g("th", null, [
1414
+ g("span", null, A(a(Te)(be.name)), 1)
1407
1415
  ]),
1408
- V("", !0),
1409
- y("th", yn, [
1410
- y("b", null, [
1411
- S(te, {
1416
+ w("", !0),
1417
+ g("th", _n, [
1418
+ g("b", null, [
1419
+ C(te, {
1412
1420
  icon: "male",
1413
1421
  type: "fas",
1414
1422
  color: "font"
1415
1423
  }),
1416
- y("span", null, O(K.adultsCount), 1),
1424
+ g("span", null, A(K.adultsCount), 1),
1417
1425
  K.childrenCount > 0 ? (T(), W(te, {
1418
1426
  key: 0,
1419
1427
  icon: "child",
1420
1428
  type: "fas",
1421
1429
  color: "font"
1422
- })) : V("", !0),
1423
- K.childrenCount > 0 ? (T(), I("span", _n, O(K.childrenCount), 1)) : V("", !0)
1430
+ })) : w("", !0),
1431
+ K.childrenCount > 0 ? (T(), I("span", bn, A(K.childrenCount), 1)) : w("", !0)
1424
1432
  ])
1425
1433
  ])
1426
1434
  ])
1427
1435
  ]),
1428
- y("tbody", null, [
1429
- (T(!0), I(U, null, q(L.addons, ({
1436
+ g("tbody", null, [
1437
+ (T(!0), I(N, null, q(L.addons, ({
1430
1438
  quantityStrategy: Je,
1431
- maximumNumber: mo,
1439
+ maximumNumber: vo,
1432
1440
  id: He,
1433
- name: vo,
1434
- price: go
1441
+ name: go,
1442
+ price: yo
1435
1443
  }) => (T(), I("tr", { key: He }, [
1436
- y("td", null, [
1437
- y("b", null, O(l(Te)(vo)), 1),
1438
- bn,
1439
- y("span", null, O(l(le)(go, l(G))) + " " + O(l(Co)(Je)), 1)
1444
+ g("td", null, [
1445
+ g("b", null, A(a(Te)(go)), 1),
1446
+ kn,
1447
+ g("span", null, A(a(le)(yo, a(z))) + " " + A(a(So)(Je)), 1)
1440
1448
  ]),
1441
- y("td", null, [
1449
+ g("td", null, [
1442
1450
  Je === 1 || Je === 12 ? (T(), W(jt, {
1443
1451
  key: 0,
1444
- modelValue: l($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He],
1445
- "onUpdate:modelValue": (Ze) => l($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He] = Ze,
1452
+ modelValue: a($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He],
1453
+ "onUpdate:modelValue": (Ze) => a($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He] = Ze,
1446
1454
  small: !0,
1447
1455
  "min-value": 0,
1448
- "max-value": mo || 1 / 0
1456
+ "max-value": vo || 1 / 0
1449
1457
  }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (T(), W(pt, {
1450
1458
  key: 1,
1451
- modelValue: l($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He],
1452
- "onUpdate:modelValue": (Ze) => l($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He] = Ze,
1459
+ modelValue: a($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He],
1460
+ "onUpdate:modelValue": (Ze) => a($)[L.roomGroupID][ke].config[K.configIdx].addons[K.roomIdx][He] = Ze,
1453
1461
  numeric: !0
1454
1462
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1455
1463
  ])
@@ -1458,209 +1466,209 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
1458
1466
  ]))), 128))
1459
1467
  ]))), 128))
1460
1468
  ]))), 128))
1461
- ])) : V("", !0)
1469
+ ])) : w("", !0)
1462
1470
  ])
1463
1471
  ])
1464
1472
  ]),
1465
- navigation: w(() => [
1466
- S(Ee, {
1467
- label: l(e)("general.startReservation"),
1473
+ navigation: P(() => [
1474
+ C(Ee, {
1475
+ label: a(e)("general.startReservation"),
1468
1476
  "full-width": "",
1469
1477
  onClickEvent: X
1470
1478
  }, null, 8, ["label", "onClickEvent"]),
1471
- y("button", {
1479
+ g("button", {
1472
1480
  class: "konnectio-abort-reservation link",
1473
- onClick: It((L) => Tt(x), ["prevent"])
1481
+ onClick: $t((L) => Tt(x), ["prevent"])
1474
1482
  }, [
1475
- y("span", null, O(l(e)("general.goAStepBack")), 1)
1476
- ], 8, kn)
1483
+ g("span", null, A(a(e)("general.goAStepBack")), 1)
1484
+ ], 8, En)
1477
1485
  ]),
1478
1486
  _: 2
1479
1487
  }, 1024)
1480
1488
  ]),
1481
- reservation: w(({ next: X, prev: x }) => [
1482
- S(tt, {
1489
+ reservation: P(({ next: X, prev: x }) => [
1490
+ C(tt, {
1483
1491
  "show-terms-notice": !0,
1484
1492
  "show-gift-card": !0
1485
1493
  }, {
1486
- form: w(() => [
1487
- y("form", En, [
1488
- y("h2", null, [
1489
- y("span", null, O(l(e)("booking.reservation.detailsTitle")), 1)
1494
+ form: P(() => [
1495
+ g("form", Tn, [
1496
+ g("h2", null, [
1497
+ g("span", null, A(a(e)("booking.reservation.detailsTitle")), 1)
1490
1498
  ]),
1491
- !l(Pe) && !(l(Oe) && l(ne)) ? (T(), I("ul", {
1499
+ !a(Re) && !(a(Ve) && a(ne)) ? (T(), I("ul", {
1492
1500
  key: 0,
1493
- class: Ge({ "fresh-booking-split-inputs": !l(Oe) && !l(ne) })
1501
+ class: je({ "fresh-booking-split-inputs": !a(Ve) && !a(ne) })
1494
1502
  }, [
1495
- l(Oe) ? V("", !0) : (T(), I("li", Tn, [
1496
- S(Lt, {
1497
- modelValue: l(h),
1498
- "onUpdate:modelValue": H[1] || (H[1] = (L) => j(h) ? h.value = L : null),
1499
- label: l(e)("booking.reservation.arrivalTime"),
1503
+ a(Ve) ? w("", !0) : (T(), I("li", Cn, [
1504
+ C(Lt, {
1505
+ modelValue: a(h),
1506
+ "onUpdate:modelValue": V[1] || (V[1] = (L) => j(h) ? h.value = L : null),
1507
+ label: a(e)("booking.reservation.arrivalTime"),
1500
1508
  icon: "hourglass-start",
1501
- "hour-range": _e.value,
1509
+ "hour-range": lo.value,
1502
1510
  required: ""
1503
1511
  }, null, 8, ["modelValue", "label", "hour-range"])
1504
1512
  ])),
1505
- l(ne) ? V("", !0) : (T(), I("li", Cn, [
1506
- S(Lt, {
1507
- modelValue: l(a),
1508
- "onUpdate:modelValue": H[2] || (H[2] = (L) => j(a) ? a.value = L : null),
1509
- label: l(e)("booking.reservation.departureTime"),
1513
+ a(ne) ? w("", !0) : (T(), I("li", Sn, [
1514
+ C(Lt, {
1515
+ modelValue: a(l),
1516
+ "onUpdate:modelValue": V[2] || (V[2] = (L) => j(l) ? l.value = L : null),
1517
+ label: a(e)("booking.reservation.departureTime"),
1510
1518
  icon: "hourglass-end",
1511
- "hour-range": lo.value,
1519
+ "hour-range": uo.value,
1512
1520
  required: ""
1513
1521
  }, null, 8, ["modelValue", "label", "hour-range"])
1514
1522
  ]))
1515
- ], 2)) : V("", !0),
1516
- S(Di, {
1517
- modelValue: l(v),
1518
- "onUpdate:modelValue": H[3] || (H[3] = (L) => j(v) ? v.value = L : null),
1519
- title: l(m),
1520
- "onUpdate:title": H[4] || (H[4] = (L) => j(m) ? m.value = L : null),
1521
- "exclude-title": l(z),
1522
- label: l(e)("booking.reservation.name"),
1523
+ ], 2)) : w("", !0),
1524
+ C(Mi, {
1525
+ modelValue: a(v),
1526
+ "onUpdate:modelValue": V[3] || (V[3] = (L) => j(v) ? v.value = L : null),
1527
+ title: a(m),
1528
+ "onUpdate:title": V[4] || (V[4] = (L) => j(m) ? m.value = L : null),
1529
+ "exclude-title": a(B),
1530
+ label: a(e)("booking.reservation.name"),
1523
1531
  icon: "user-alt",
1524
- placeholder: l(e)("booking.reservation.namePlaceholder"),
1532
+ placeholder: a(e)("booking.reservation.namePlaceholder"),
1525
1533
  required: ""
1526
1534
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1527
- S(se, {
1528
- modelValue: l(k),
1529
- "onUpdate:modelValue": H[5] || (H[5] = (L) => j(k) ? k.value = L : null),
1535
+ C(se, {
1536
+ modelValue: a(k),
1537
+ "onUpdate:modelValue": V[5] || (V[5] = (L) => j(k) ? k.value = L : null),
1530
1538
  type: "email",
1531
1539
  name: "email",
1532
1540
  autocomplete: "email",
1533
- label: l(e)("booking.reservation.email"),
1541
+ label: a(e)("booking.reservation.email"),
1534
1542
  icon: "at",
1535
- placeholder: l(e)("booking.reservation.emailPlaceholder"),
1543
+ placeholder: a(e)("booking.reservation.emailPlaceholder"),
1536
1544
  required: ""
1537
1545
  }, null, 8, ["modelValue", "label", "placeholder"]),
1538
- l(we) ? V("", !0) : (T(), W(pt, {
1546
+ a(Le) ? w("", !0) : (T(), W(pt, {
1539
1547
  key: 1,
1540
- modelValue: l(E),
1541
- "onUpdate:modelValue": H[6] || (H[6] = (L) => j(E) ? E.value = L : null),
1548
+ modelValue: a(E),
1549
+ "onUpdate:modelValue": V[6] || (V[6] = (L) => j(E) ? E.value = L : null),
1542
1550
  type: "checkbox",
1543
1551
  name: "newsletter",
1544
- label: l(e)("booking.reservation.newsletterSignUp")
1552
+ label: a(e)("booking.reservation.newsletterSignUp")
1545
1553
  }, null, 8, ["modelValue", "label"])),
1546
- l(Re) ? V("", !0) : (T(), W(se, {
1554
+ a(De) ? w("", !0) : (T(), W(se, {
1547
1555
  key: 2,
1548
- modelValue: l(g),
1549
- "onUpdate:modelValue": H[7] || (H[7] = (L) => j(g) ? g.value = L : null),
1556
+ modelValue: a(y),
1557
+ "onUpdate:modelValue": V[7] || (V[7] = (L) => j(y) ? y.value = L : null),
1550
1558
  type: "text",
1551
1559
  name: "firm",
1552
1560
  autocomplete: "firm",
1553
- label: `${l(e)("booking.reservation.companyName")} (${l(e)("booking.reservation.optional")})`,
1561
+ label: `${a(e)("booking.reservation.companyName")} (${a(e)("booking.reservation.optional")})`,
1554
1562
  icon: "id-card",
1555
- placeholder: l(e)("booking.reservation.companyNamePlaceholder")
1563
+ placeholder: a(e)("booking.reservation.companyNamePlaceholder")
1556
1564
  }, null, 8, ["modelValue", "label", "placeholder"])),
1557
- S(zo, {
1558
- modelValue: l(s),
1559
- "onUpdate:modelValue": H[8] || (H[8] = (L) => j(s) ? s.value = L : null),
1565
+ C(Fo, {
1566
+ modelValue: a(s),
1567
+ "onUpdate:modelValue": V[8] || (V[8] = (L) => j(s) ? s.value = L : null),
1560
1568
  icon: "phone-office",
1561
- label: l(e)("booking.reservation.phone"),
1562
- placeholder: l(e)("booking.reservation.phonePlaceholder"),
1569
+ label: a(e)("booking.reservation.phone"),
1570
+ placeholder: a(e)("booking.reservation.phonePlaceholder"),
1563
1571
  required: ""
1564
1572
  }, null, 8, ["modelValue", "label", "placeholder"]),
1565
- S(Hi, {
1566
- modelValue: l(p),
1567
- "onUpdate:modelValue": H[9] || (H[9] = (L) => j(p) ? p.value = L : null),
1568
- label: l(e)("booking.reservation.country"),
1569
- placeholder: l(e)("booking.reservation.countryPlaceholder"),
1570
- options: l(i),
1573
+ C(Hi, {
1574
+ modelValue: a(p),
1575
+ "onUpdate:modelValue": V[9] || (V[9] = (L) => j(p) ? p.value = L : null),
1576
+ label: a(e)("booking.reservation.country"),
1577
+ placeholder: a(e)("booking.reservation.countryPlaceholder"),
1578
+ options: a(i),
1571
1579
  required: ""
1572
1580
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1573
- S(se, {
1574
- modelValue: l(n),
1575
- "onUpdate:modelValue": H[10] || (H[10] = (L) => j(n) ? n.value = L : null),
1581
+ C(se, {
1582
+ modelValue: a(n),
1583
+ "onUpdate:modelValue": V[10] || (V[10] = (L) => j(n) ? n.value = L : null),
1576
1584
  type: "textarea",
1577
1585
  name: "address",
1578
1586
  autocomplete: "street-address",
1579
- label: l(e)("booking.reservation.streetAddress"),
1587
+ label: a(e)("booking.reservation.streetAddress"),
1580
1588
  icon: "map-marked",
1581
- placeholder: l(e)("booking.reservation.streetAddressPlaceholder"),
1589
+ placeholder: a(e)("booking.reservation.streetAddressPlaceholder"),
1582
1590
  required: ""
1583
1591
  }, null, 8, ["modelValue", "label", "placeholder"]),
1584
- y("ul", Sn, [
1585
- y("li", null, [
1586
- S(se, {
1587
- modelValue: l(b),
1588
- "onUpdate:modelValue": H[11] || (H[11] = (L) => j(b) ? b.value = L : null),
1592
+ g("ul", $n, [
1593
+ g("li", null, [
1594
+ C(se, {
1595
+ modelValue: a(b),
1596
+ "onUpdate:modelValue": V[11] || (V[11] = (L) => j(b) ? b.value = L : null),
1589
1597
  type: "text",
1590
1598
  name: "postal",
1591
1599
  autocomplete: "postal-code",
1592
- label: l(e)("booking.reservation.postal"),
1600
+ label: a(e)("booking.reservation.postal"),
1593
1601
  icon: "mailbox",
1594
- placeholder: l(e)("booking.reservation.postalPlaceholder"),
1602
+ placeholder: a(e)("booking.reservation.postalPlaceholder"),
1595
1603
  required: ""
1596
1604
  }, null, 8, ["modelValue", "label", "placeholder"])
1597
1605
  ]),
1598
- y("li", null, [
1599
- S(se, {
1600
- modelValue: l(c),
1601
- "onUpdate:modelValue": H[12] || (H[12] = (L) => j(c) ? c.value = L : null),
1606
+ g("li", null, [
1607
+ C(se, {
1608
+ modelValue: a(c),
1609
+ "onUpdate:modelValue": V[12] || (V[12] = (L) => j(c) ? c.value = L : null),
1602
1610
  type: "text",
1603
1611
  name: "city",
1604
1612
  autocomplete: "address-level2",
1605
- label: l(e)("booking.reservation.city"),
1613
+ label: a(e)("booking.reservation.city"),
1606
1614
  icon: "city",
1607
- placeholder: l(e)("booking.reservation.cityPlaceholder"),
1615
+ placeholder: a(e)("booking.reservation.cityPlaceholder"),
1608
1616
  required: ""
1609
1617
  }, null, 8, ["modelValue", "label", "placeholder"])
1610
1618
  ])
1611
1619
  ]),
1612
- S(se, {
1613
- modelValue: l(_),
1614
- "onUpdate:modelValue": H[13] || (H[13] = (L) => j(_) ? _.value = L : null),
1620
+ C(se, {
1621
+ modelValue: a(_),
1622
+ "onUpdate:modelValue": V[13] || (V[13] = (L) => j(_) ? _.value = L : null),
1615
1623
  type: "textarea",
1616
- label: `${l(e)("booking.reservation.remark")} (${l(e)("booking.reservation.optional")})`,
1624
+ label: `${a(e)("booking.reservation.remark")} (${a(e)("booking.reservation.optional")})`,
1617
1625
  icon: "info-circle",
1618
- placeholder: l(e)("booking.reservation.remarkPlaceholder")
1626
+ placeholder: a(e)("booking.reservation.remarkPlaceholder")
1619
1627
  }, null, 8, ["modelValue", "label", "placeholder"]),
1620
- S(se, {
1621
- modelValue: l(C),
1622
- "onUpdate:modelValue": H[14] || (H[14] = (L) => j(C) ? C.value = L : null),
1628
+ C(se, {
1629
+ modelValue: a(S),
1630
+ "onUpdate:modelValue": V[14] || (V[14] = (L) => j(S) ? S.value = L : null),
1623
1631
  type: "textarea",
1624
- label: `${l(e)("booking.reservation.allergies")} (${l(e)("booking.reservation.optional")})`,
1632
+ label: `${a(e)("booking.reservation.allergies")} (${a(e)("booking.reservation.optional")})`,
1625
1633
  icon: "allergies",
1626
- placeholder: l(e)("booking.reservation.allergiesPlaceholder")
1634
+ placeholder: a(e)("booking.reservation.allergiesPlaceholder")
1627
1635
  }, null, 8, ["modelValue", "label", "placeholder"]),
1628
- l(Qe) ? V("", !0) : (T(), W(Pi, {
1636
+ a(Qe) ? w("", !0) : (T(), W(Ri, {
1629
1637
  key: 3,
1630
- modelValue: l(d),
1631
- "onUpdate:modelValue": H[15] || (H[15] = (L) => j(d) ? d.value = L : null),
1632
- label: `${l(e)("booking.reservation.purposeOfStay")} (${l(e)("booking.reservation.optional")})`,
1638
+ modelValue: a(d),
1639
+ "onUpdate:modelValue": V[15] || (V[15] = (L) => j(d) ? d.value = L : null),
1640
+ label: `${a(e)("booking.reservation.purposeOfStay")} (${a(e)("booking.reservation.optional")})`,
1633
1641
  name: "travelingFor",
1634
- checkboxes: xe.value
1642
+ checkboxes: ee.value
1635
1643
  }, null, 8, ["modelValue", "label", "checkboxes"]))
1636
1644
  ])
1637
1645
  ]),
1638
- navigation: w(() => [
1639
- y("div", null, [
1640
- S(Ee, {
1641
- label: l(De) ? l(e)("booking.reservation.nextButton") : l(e)("general.confirmReservation"),
1642
- disabled: !l(f),
1643
- "is-loading": l(r),
1646
+ navigation: P(() => [
1647
+ g("div", null, [
1648
+ C(Ee, {
1649
+ label: a(Me) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
1650
+ disabled: !a(f),
1651
+ "is-loading": a(r),
1644
1652
  "full-width": "",
1645
- onClickEvent: (L) => co(X)
1653
+ onClickEvent: (L) => fo(X)
1646
1654
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
1647
- y("button", {
1655
+ g("button", {
1648
1656
  class: "konnectio-abort-reservation link",
1649
- onClick: It((L) => Tt(x), ["prevent"])
1657
+ onClick: $t((L) => Tt(x), ["prevent"])
1650
1658
  }, [
1651
- y("span", null, O(l(e)("general.goAStepBack")), 1)
1659
+ g("span", null, A(a(e)("general.goAStepBack")), 1)
1652
1660
  ], 8, In)
1653
1661
  ])
1654
1662
  ]),
1655
1663
  _: 2
1656
1664
  }, 1024)
1657
1665
  ]),
1658
- payment: w(() => [
1659
- S(Fo)
1666
+ payment: P(() => [
1667
+ C(No)
1660
1668
  ]),
1661
- confirmation: w(() => [
1662
- S(Ro, {
1663
- message: l(e)("booking.confirmation.thankYou")
1669
+ confirmation: P(() => [
1670
+ C(Do, {
1671
+ message: a(e)("booking.confirmation.thankYou")
1664
1672
  }, null, 8, ["message"])
1665
1673
  ]),
1666
1674
  _: 1
@@ -1669,8 +1677,8 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
1669
1677
  _: 1
1670
1678
  }, 8, ["access-token"])
1671
1679
  ]),
1672
- fallback: w(() => [
1673
- S(Qi)
1680
+ fallback: P(() => [
1681
+ C(Xi)
1674
1682
  ]),
1675
1683
  _: 1
1676
1684
  }))
@@ -1679,7 +1687,7 @@ const yn = { class: "fresh-booking-event-addons-price" }, _n = { key: 1 }, bn =
1679
1687
  }, 8, ["styling"]));
1680
1688
  }
1681
1689
  });
1682
- const Ln = /* @__PURE__ */ oe($n, [["__scopeId", "data-v-baa4a4f7"]]);
1690
+ const An = /* @__PURE__ */ oe(Ln, [["__scopeId", "data-v-62335f79"]]);
1683
1691
  var eo = { exports: {} }, it = { exports: {} }, nt = { exports: {} }, At;
1684
1692
  function bt() {
1685
1693
  return At || (At = 1, function(t) {
@@ -1711,8 +1719,8 @@ function bt() {
1711
1719
  if (!(!r || !r.length)) {
1712
1720
  r = r.slice(0), u = u || [];
1713
1721
  for (var f = this._onceEvents && this._onceEvents[i], d = 0; d < r.length; d++) {
1714
- var h = r[d], a = f && f[h];
1715
- a && (this.off(i, h), delete f[h]), h.apply(this, u);
1722
+ var h = r[d], l = f && f[h];
1723
+ l && (this.off(i, h), delete f[h]), h.apply(this, u);
1716
1724
  }
1717
1725
  return this;
1718
1726
  }
@@ -1735,8 +1743,8 @@ function kt() {
1735
1743
  t.exports ? t.exports = o() : e.getSize = o();
1736
1744
  })(window, function() {
1737
1745
  function o(s) {
1738
- var g = parseFloat(s), b = s.indexOf("%") == -1 && !isNaN(g);
1739
- return b && g;
1746
+ var y = parseFloat(s), b = s.indexOf("%") == -1 && !isNaN(y);
1747
+ return b && y;
1740
1748
  }
1741
1749
  function i() {
1742
1750
  }
@@ -1764,54 +1772,54 @@ function kt() {
1764
1772
  innerHeight: 0,
1765
1773
  outerWidth: 0,
1766
1774
  outerHeight: 0
1767
- }, g = 0; g < f; g++) {
1768
- var b = r[g];
1775
+ }, y = 0; y < f; y++) {
1776
+ var b = r[y];
1769
1777
  s[b] = 0;
1770
1778
  }
1771
1779
  return s;
1772
1780
  }
1773
1781
  function h(s) {
1774
- var g = getComputedStyle(s);
1775
- return g || u("Style returned " + g + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), g;
1782
+ var y = getComputedStyle(s);
1783
+ return y || u("Style returned " + y + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), y;
1776
1784
  }
1777
- var a = !1, v;
1785
+ var l = !1, v;
1778
1786
  function m() {
1779
- if (!a) {
1780
- a = !0;
1787
+ if (!l) {
1788
+ l = !0;
1781
1789
  var s = document.createElement("div");
1782
1790
  s.style.width = "200px", s.style.padding = "1px 2px 3px 4px", s.style.borderStyle = "solid", s.style.borderWidth = "1px 2px 3px 4px", s.style.boxSizing = "border-box";
1783
- var g = document.body || document.documentElement;
1784
- g.appendChild(s);
1791
+ var y = document.body || document.documentElement;
1792
+ y.appendChild(s);
1785
1793
  var b = h(s);
1786
- v = Math.round(o(b.width)) == 200, k.isBoxSizeOuter = v, g.removeChild(s);
1794
+ v = Math.round(o(b.width)) == 200, k.isBoxSizeOuter = v, y.removeChild(s);
1787
1795
  }
1788
1796
  }
1789
1797
  function k(s) {
1790
1798
  if (m(), typeof s == "string" && (s = document.querySelector(s)), !(!s || typeof s != "object" || !s.nodeType)) {
1791
- var g = h(s);
1792
- if (g.display == "none")
1799
+ var y = h(s);
1800
+ if (y.display == "none")
1793
1801
  return d();
1794
1802
  var b = {};
1795
1803
  b.width = s.offsetWidth, b.height = s.offsetHeight;
1796
- for (var c = b.isBorderBox = g.boxSizing == "border-box", n = 0; n < f; n++) {
1797
- var p = r[n], _ = g[p], C = parseFloat(_);
1798
- b[p] = isNaN(C) ? 0 : C;
1804
+ for (var c = b.isBorderBox = y.boxSizing == "border-box", n = 0; n < f; n++) {
1805
+ var p = r[n], _ = y[p], S = parseFloat(_);
1806
+ b[p] = isNaN(S) ? 0 : S;
1799
1807
  }
1800
- var E = b.paddingLeft + b.paddingRight, $ = b.paddingTop + b.paddingBottom, A = b.marginLeft + b.marginRight, M = b.marginTop + b.marginBottom, P = b.borderLeftWidth + b.borderRightWidth, F = b.borderTopWidth + b.borderBottomWidth, R = c && v, B = o(g.width);
1801
- B !== !1 && (b.width = B + // add padding and border unless it's already including it
1802
- (R ? 0 : E + P));
1803
- var G = o(g.height);
1804
- return G !== !1 && (b.height = G + // add padding and border unless it's already including it
1805
- (R ? 0 : $ + F)), b.innerWidth = b.width - (E + P), b.innerHeight = b.height - ($ + F), b.outerWidth = b.width + A, b.outerHeight = b.height + M, b;
1808
+ var E = b.paddingLeft + b.paddingRight, $ = b.paddingTop + b.paddingBottom, O = b.marginLeft + b.marginRight, R = b.marginTop + b.marginBottom, H = b.borderLeftWidth + b.borderRightWidth, F = b.borderTopWidth + b.borderBottomWidth, D = c && v, G = o(y.width);
1809
+ G !== !1 && (b.width = G + // add padding and border unless it's already including it
1810
+ (D ? 0 : E + H));
1811
+ var z = o(y.height);
1812
+ return z !== !1 && (b.height = z + // add padding and border unless it's already including it
1813
+ (D ? 0 : $ + F)), b.innerWidth = b.width - (E + H), b.innerHeight = b.height - ($ + F), b.outerWidth = b.width + O, b.outerHeight = b.height + R, b;
1806
1814
  }
1807
1815
  }
1808
1816
  return k;
1809
1817
  });
1810
1818
  }(rt)), rt.exports;
1811
1819
  }
1812
- var st = { exports: {} }, at = { exports: {} }, Ht;
1813
- function An() {
1814
- return Ht || (Ht = 1, function(t) {
1820
+ var st = { exports: {} }, at = { exports: {} }, Vt;
1821
+ function On() {
1822
+ return Vt || (Vt = 1, function(t) {
1815
1823
  (function(e, o) {
1816
1824
  t.exports ? t.exports = o() : e.matchesSelector = o();
1817
1825
  })(window, function() {
@@ -1833,13 +1841,13 @@ function An() {
1833
1841
  });
1834
1842
  }(at)), at.exports;
1835
1843
  }
1836
- var Vt;
1837
- function On() {
1838
- return Vt || (Vt = 1, function(t) {
1844
+ var Ht;
1845
+ function Vn() {
1846
+ return Ht || (Ht = 1, function(t) {
1839
1847
  (function(e, o) {
1840
1848
  t.exports ? t.exports = o(
1841
1849
  e,
1842
- An()
1850
+ On()
1843
1851
  ) : e.fizzyUIUtils = o(
1844
1852
  e,
1845
1853
  e.matchesSelector
@@ -1847,8 +1855,8 @@ function On() {
1847
1855
  })(window, function(o, i) {
1848
1856
  var u = {};
1849
1857
  u.extend = function(d, h) {
1850
- for (var a in h)
1851
- d[a] = h[a];
1858
+ for (var l in h)
1859
+ d[l] = h[l];
1852
1860
  return d;
1853
1861
  }, u.modulo = function(d, h) {
1854
1862
  return (d % h + h) % h;
@@ -1862,8 +1870,8 @@ function On() {
1862
1870
  var h = typeof d == "object" && typeof d.length == "number";
1863
1871
  return h ? r.call(d) : [d];
1864
1872
  }, u.removeFrom = function(d, h) {
1865
- var a = d.indexOf(h);
1866
- a != -1 && d.splice(a, 1);
1873
+ var l = d.indexOf(h);
1874
+ l != -1 && d.splice(l, 1);
1867
1875
  }, u.getParent = function(d, h) {
1868
1876
  for (; d.parentNode && d != document.body; )
1869
1877
  if (d = d.parentNode, i(d, h))
@@ -1875,47 +1883,47 @@ function On() {
1875
1883
  this[h] && this[h](d);
1876
1884
  }, u.filterFindElements = function(d, h) {
1877
1885
  d = u.makeArray(d);
1878
- var a = [];
1886
+ var l = [];
1879
1887
  return d.forEach(function(v) {
1880
1888
  if (v instanceof HTMLElement) {
1881
1889
  if (!h) {
1882
- a.push(v);
1890
+ l.push(v);
1883
1891
  return;
1884
1892
  }
1885
- i(v, h) && a.push(v);
1893
+ i(v, h) && l.push(v);
1886
1894
  for (var m = v.querySelectorAll(h), k = 0; k < m.length; k++)
1887
- a.push(m[k]);
1895
+ l.push(m[k]);
1888
1896
  }
1889
- }), a;
1890
- }, u.debounceMethod = function(d, h, a) {
1891
- a = a || 100;
1897
+ }), l;
1898
+ }, u.debounceMethod = function(d, h, l) {
1899
+ l = l || 100;
1892
1900
  var v = d.prototype[h], m = h + "Timeout";
1893
1901
  d.prototype[h] = function() {
1894
1902
  var k = this[m];
1895
1903
  clearTimeout(k);
1896
- var s = arguments, g = this;
1904
+ var s = arguments, y = this;
1897
1905
  this[m] = setTimeout(function() {
1898
- v.apply(g, s), delete g[m];
1899
- }, a);
1906
+ v.apply(y, s), delete y[m];
1907
+ }, l);
1900
1908
  };
1901
1909
  }, u.docReady = function(d) {
1902
1910
  var h = document.readyState;
1903
1911
  h == "complete" || h == "interactive" ? setTimeout(d) : document.addEventListener("DOMContentLoaded", d);
1904
1912
  }, u.toDashed = function(d) {
1905
- return d.replace(/(.)([A-Z])/g, function(h, a, v) {
1906
- return a + "-" + v;
1913
+ return d.replace(/(.)([A-Z])/g, function(h, l, v) {
1914
+ return l + "-" + v;
1907
1915
  }).toLowerCase();
1908
1916
  };
1909
1917
  var f = o.console;
1910
1918
  return u.htmlInit = function(d, h) {
1911
1919
  u.docReady(function() {
1912
- var a = u.toDashed(h), v = "data-" + a, m = document.querySelectorAll("[" + v + "]"), k = document.querySelectorAll(".js-" + a), s = u.makeArray(m).concat(u.makeArray(k)), g = v + "-options", b = o.jQuery;
1920
+ var l = u.toDashed(h), v = "data-" + l, m = document.querySelectorAll("[" + v + "]"), k = document.querySelectorAll(".js-" + l), s = u.makeArray(m).concat(u.makeArray(k)), y = v + "-options", b = o.jQuery;
1913
1921
  s.forEach(function(c) {
1914
- var n = c.getAttribute(v) || c.getAttribute(g), p;
1922
+ var n = c.getAttribute(v) || c.getAttribute(y), p;
1915
1923
  try {
1916
1924
  p = n && JSON.parse(n);
1917
- } catch (C) {
1918
- f && f.error("Error parsing " + v + " on " + c.className + ": " + C);
1925
+ } catch (S) {
1926
+ f && f.error("Error parsing " + v + " on " + c.className + ": " + S);
1919
1927
  return;
1920
1928
  }
1921
1929
  var _ = new d(c, p);
@@ -1946,7 +1954,7 @@ function Hn() {
1946
1954
  var r = document.documentElement.style, f = typeof r.transition == "string" ? "transition" : "WebkitTransition", d = typeof r.transform == "string" ? "transform" : "WebkitTransform", h = {
1947
1955
  WebkitTransition: "webkitTransitionEnd",
1948
1956
  transition: "transitionend"
1949
- }[f], a = {
1957
+ }[f], l = {
1950
1958
  transform: d,
1951
1959
  transition: f,
1952
1960
  transitionDuration: f + "Duration",
@@ -1976,17 +1984,17 @@ function Hn() {
1976
1984
  }, m.css = function(c) {
1977
1985
  var n = this.element.style;
1978
1986
  for (var p in c) {
1979
- var _ = a[p] || p;
1987
+ var _ = l[p] || p;
1980
1988
  n[_] = c[p];
1981
1989
  }
1982
1990
  }, m.getPosition = function() {
1983
- var c = getComputedStyle(this.element), n = this.layout._getOption("originLeft"), p = this.layout._getOption("originTop"), _ = c[n ? "left" : "right"], C = c[p ? "top" : "bottom"], E = parseFloat(_), $ = parseFloat(C), A = this.layout.size;
1984
- _.indexOf("%") != -1 && (E = E / 100 * A.width), C.indexOf("%") != -1 && ($ = $ / 100 * A.height), E = isNaN(E) ? 0 : E, $ = isNaN($) ? 0 : $, E -= n ? A.paddingLeft : A.paddingRight, $ -= p ? A.paddingTop : A.paddingBottom, this.position.x = E, this.position.y = $;
1991
+ var c = getComputedStyle(this.element), n = this.layout._getOption("originLeft"), p = this.layout._getOption("originTop"), _ = c[n ? "left" : "right"], S = c[p ? "top" : "bottom"], E = parseFloat(_), $ = parseFloat(S), O = this.layout.size;
1992
+ _.indexOf("%") != -1 && (E = E / 100 * O.width), S.indexOf("%") != -1 && ($ = $ / 100 * O.height), E = isNaN(E) ? 0 : E, $ = isNaN($) ? 0 : $, E -= n ? O.paddingLeft : O.paddingRight, $ -= p ? O.paddingTop : O.paddingBottom, this.position.x = E, this.position.y = $;
1985
1993
  }, m.layoutPosition = function() {
1986
- var c = this.layout.size, n = {}, p = this.layout._getOption("originLeft"), _ = this.layout._getOption("originTop"), C = p ? "paddingLeft" : "paddingRight", E = p ? "left" : "right", $ = p ? "right" : "left", A = this.position.x + c[C];
1987
- n[E] = this.getXValue(A), n[$] = "";
1988
- var M = _ ? "paddingTop" : "paddingBottom", P = _ ? "top" : "bottom", F = _ ? "bottom" : "top", R = this.position.y + c[M];
1989
- n[P] = this.getYValue(R), n[F] = "", this.css(n), this.emitEvent("layout", [this]);
1994
+ var c = this.layout.size, n = {}, p = this.layout._getOption("originLeft"), _ = this.layout._getOption("originTop"), S = p ? "paddingLeft" : "paddingRight", E = p ? "left" : "right", $ = p ? "right" : "left", O = this.position.x + c[S];
1995
+ n[E] = this.getXValue(O), n[$] = "";
1996
+ var R = _ ? "paddingTop" : "paddingBottom", H = _ ? "top" : "bottom", F = _ ? "bottom" : "top", D = this.position.y + c[R];
1997
+ n[H] = this.getYValue(D), n[F] = "", this.css(n), this.emitEvent("layout", [this]);
1990
1998
  }, m.getXValue = function(c) {
1991
1999
  var n = this.layout._getOption("horizontal");
1992
2000
  return this.layout.options.percentPosition && !n ? c / this.layout.size.width * 100 + "%" : c + "px";
@@ -1995,14 +2003,14 @@ function Hn() {
1995
2003
  return this.layout.options.percentPosition && n ? c / this.layout.size.height * 100 + "%" : c + "px";
1996
2004
  }, m._transitionTo = function(c, n) {
1997
2005
  this.getPosition();
1998
- var p = this.position.x, _ = this.position.y, C = c == this.position.x && n == this.position.y;
1999
- if (this.setPosition(c, n), C && !this.isTransitioning) {
2006
+ var p = this.position.x, _ = this.position.y, S = c == this.position.x && n == this.position.y;
2007
+ if (this.setPosition(c, n), S && !this.isTransitioning) {
2000
2008
  this.layoutPosition();
2001
2009
  return;
2002
2010
  }
2003
- var E = c - p, $ = n - _, A = {};
2004
- A.transform = this.getTranslate(E, $), this.transition({
2005
- to: A,
2011
+ var E = c - p, $ = n - _, O = {};
2012
+ O.transform = this.getTranslate(E, $), this.transition({
2013
+ to: O,
2006
2014
  onTransitionEnd: {
2007
2015
  transform: this.layoutPosition
2008
2016
  },
@@ -2051,12 +2059,12 @@ function Hn() {
2051
2059
  }, m.onotransitionend = function(c) {
2052
2060
  this.ontransitionend(c);
2053
2061
  };
2054
- var g = {
2062
+ var y = {
2055
2063
  "-webkit-transform": "transform"
2056
2064
  };
2057
2065
  m.ontransitionend = function(c) {
2058
2066
  if (c.target === this.element) {
2059
- var n = this._transn, p = g[c.propertyName] || c.propertyName;
2067
+ var n = this._transn, p = y[c.propertyName] || c.propertyName;
2060
2068
  if (delete n.ingProperties[p], u(n.ingProperties) && this.disableTransition(), p in n.clean && (this.element.style[c.propertyName] = "", delete n.clean[p]), p in n.onEnd) {
2061
2069
  var _ = n.onEnd[p];
2062
2070
  _.call(this), delete n.onEnd[p];
@@ -2139,14 +2147,14 @@ function Hn() {
2139
2147
  * MIT license
2140
2148
  */
2141
2149
  var Pt;
2142
- function Vn() {
2150
+ function wn() {
2143
2151
  return Pt || (Pt = 1, function(t) {
2144
2152
  (function(e, o) {
2145
2153
  t.exports ? t.exports = o(
2146
2154
  e,
2147
2155
  bt(),
2148
2156
  kt(),
2149
- On(),
2157
+ Vn(),
2150
2158
  Hn()
2151
2159
  ) : e.Outlayer = o(
2152
2160
  e,
@@ -2156,7 +2164,7 @@ function Vn() {
2156
2164
  e.Outlayer.Item
2157
2165
  );
2158
2166
  })(window, function(o, i, u, r, f) {
2159
- var d = o.console, h = o.jQuery, a = function() {
2167
+ var d = o.console, h = o.jQuery, l = function() {
2160
2168
  }, v = 0, m = {};
2161
2169
  function k(n, p) {
2162
2170
  var _ = r.getQueryElement(n);
@@ -2165,8 +2173,8 @@ function Vn() {
2165
2173
  return;
2166
2174
  }
2167
2175
  this.element = _, h && (this.$element = h(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(p);
2168
- var C = ++v;
2169
- this.element.outlayerGUID = C, m[C] = this, this._create();
2176
+ var S = ++v;
2177
+ this.element.outlayerGUID = S, m[S] = this, this._create();
2170
2178
  var E = this._getOption("initLayout");
2171
2179
  E && this.layout();
2172
2180
  }
@@ -2212,11 +2220,11 @@ function Vn() {
2212
2220
  }, s.reloadItems = function() {
2213
2221
  this.items = this._itemize(this.element.children);
2214
2222
  }, s._itemize = function(n) {
2215
- for (var p = this._filterFindItemElements(n), _ = this.constructor.Item, C = [], E = 0; E < p.length; E++) {
2216
- var $ = p[E], A = new _($, this);
2217
- C.push(A);
2223
+ for (var p = this._filterFindItemElements(n), _ = this.constructor.Item, S = [], E = 0; E < p.length; E++) {
2224
+ var $ = p[E], O = new _($, this);
2225
+ S.push(O);
2218
2226
  }
2219
- return C;
2227
+ return S;
2220
2228
  }, s._filterFindItemElements = function(n) {
2221
2229
  return r.filterFindElements(n, this.options.itemSelector);
2222
2230
  }, s.getItemElements = function() {
@@ -2232,8 +2240,8 @@ function Vn() {
2232
2240
  }, s.getSize = function() {
2233
2241
  this.size = u(this.element);
2234
2242
  }, s._getMeasurement = function(n, p) {
2235
- var _ = this.options[n], C;
2236
- _ ? (typeof _ == "string" ? C = this.element.querySelector(_) : _ instanceof HTMLElement && (C = _), this[n] = C ? u(C)[p] : _) : this[n] = 0;
2243
+ var _ = this.options[n], S;
2244
+ _ ? (typeof _ == "string" ? S = this.element.querySelector(_) : _ instanceof HTMLElement && (S = _), this[n] = S ? u(S)[p] : _) : this[n] = 0;
2237
2245
  }, s.layoutItems = function(n, p) {
2238
2246
  n = this._getItemsForLayout(n), this._layoutItems(n, p), this._postLayout();
2239
2247
  }, s._getItemsForLayout = function(n) {
@@ -2243,9 +2251,9 @@ function Vn() {
2243
2251
  }, s._layoutItems = function(n, p) {
2244
2252
  if (this._emitCompleteOnItems("layout", n), !(!n || !n.length)) {
2245
2253
  var _ = [];
2246
- n.forEach(function(C) {
2247
- var E = this._getItemLayoutPosition(C);
2248
- E.item = C, E.isInstant = p || C.isLayoutInstant, _.push(E);
2254
+ n.forEach(function(S) {
2255
+ var E = this._getItemLayoutPosition(S);
2256
+ E.item = S, E.isInstant = p || S.isLayoutInstant, _.push(E);
2249
2257
  }, this), this._processLayoutQueue(_);
2250
2258
  }
2251
2259
  }, s._getItemLayoutPosition = function() {
@@ -2264,8 +2272,8 @@ function Vn() {
2264
2272
  return;
2265
2273
  }
2266
2274
  return this.stagger = c(n), this.stagger;
2267
- }, s._positionItem = function(n, p, _, C, E) {
2268
- C ? n.goTo(p, _) : (n.stagger(E * this.stagger), n.moveTo(p, _));
2275
+ }, s._positionItem = function(n, p, _, S, E) {
2276
+ S ? n.goTo(p, _) : (n.stagger(E * this.stagger), n.moveTo(p, _));
2269
2277
  }, s._postLayout = function() {
2270
2278
  this.resizeContainer();
2271
2279
  }, s.resizeContainer = function() {
@@ -2274,31 +2282,31 @@ function Vn() {
2274
2282
  var p = this._getContainerSize();
2275
2283
  p && (this._setContainerMeasure(p.width, !0), this._setContainerMeasure(p.height, !1));
2276
2284
  }
2277
- }, s._getContainerSize = a, s._setContainerMeasure = function(n, p) {
2285
+ }, s._getContainerSize = l, s._setContainerMeasure = function(n, p) {
2278
2286
  if (n !== void 0) {
2279
2287
  var _ = this.size;
2280
2288
  _.isBorderBox && (n += p ? _.paddingLeft + _.paddingRight + _.borderLeftWidth + _.borderRightWidth : _.paddingBottom + _.paddingTop + _.borderTopWidth + _.borderBottomWidth), n = Math.max(n, 0), this.element.style[p ? "width" : "height"] = n + "px";
2281
2289
  }
2282
2290
  }, s._emitCompleteOnItems = function(n, p) {
2283
2291
  var _ = this;
2284
- function C() {
2292
+ function S() {
2285
2293
  _.dispatchEvent(n + "Complete", null, [p]);
2286
2294
  }
2287
2295
  var E = p.length;
2288
2296
  if (!p || !E) {
2289
- C();
2297
+ S();
2290
2298
  return;
2291
2299
  }
2292
2300
  var $ = 0;
2293
- function A() {
2294
- $++, $ == E && C();
2301
+ function O() {
2302
+ $++, $ == E && S();
2295
2303
  }
2296
- p.forEach(function(M) {
2297
- M.once(n, A);
2304
+ p.forEach(function(R) {
2305
+ R.once(n, O);
2298
2306
  });
2299
2307
  }, s.dispatchEvent = function(n, p, _) {
2300
- var C = p ? [p].concat(_) : _;
2301
- if (this.emitEvent(n, C), h)
2308
+ var S = p ? [p].concat(_) : _;
2309
+ if (this.emitEvent(n, S), h)
2302
2310
  if (this.$element = this.$element || h(this.element), p) {
2303
2311
  var E = h.Event(p);
2304
2312
  E.type = n, this.$element.trigger(E, _);
@@ -2329,12 +2337,12 @@ function Vn() {
2329
2337
  right: n.right - (p.paddingRight + p.borderRightWidth),
2330
2338
  bottom: n.bottom - (p.paddingBottom + p.borderBottomWidth)
2331
2339
  };
2332
- }, s._manageStamp = a, s._getElementOffset = function(n) {
2333
- var p = n.getBoundingClientRect(), _ = this._boundingRect, C = u(n), E = {
2334
- left: p.left - _.left - C.marginLeft,
2335
- top: p.top - _.top - C.marginTop,
2336
- right: _.right - p.right - C.marginRight,
2337
- bottom: _.bottom - p.bottom - C.marginBottom
2340
+ }, s._manageStamp = l, s._getElementOffset = function(n) {
2341
+ var p = n.getBoundingClientRect(), _ = this._boundingRect, S = u(n), E = {
2342
+ left: p.left - _.left - S.marginLeft,
2343
+ top: p.top - _.top - S.marginTop,
2344
+ right: _.right - p.right - S.marginRight,
2345
+ bottom: _.bottom - p.bottom - S.marginBottom
2338
2346
  };
2339
2347
  return E;
2340
2348
  }, s.handleEvent = r.handleEvent, s.bindResize = function() {
@@ -2363,15 +2371,15 @@ function Vn() {
2363
2371
  }, s.reveal = function(n) {
2364
2372
  if (this._emitCompleteOnItems("reveal", n), !(!n || !n.length)) {
2365
2373
  var p = this.updateStagger();
2366
- n.forEach(function(_, C) {
2367
- _.stagger(C * p), _.reveal();
2374
+ n.forEach(function(_, S) {
2375
+ _.stagger(S * p), _.reveal();
2368
2376
  });
2369
2377
  }
2370
2378
  }, s.hide = function(n) {
2371
2379
  if (this._emitCompleteOnItems("hide", n), !(!n || !n.length)) {
2372
2380
  var p = this.updateStagger();
2373
- n.forEach(function(_, C) {
2374
- _.stagger(C * p), _.hide();
2381
+ n.forEach(function(_, S) {
2382
+ _.stagger(S * p), _.hide();
2375
2383
  });
2376
2384
  }
2377
2385
  }, s.revealItemElements = function(n) {
@@ -2390,8 +2398,8 @@ function Vn() {
2390
2398
  n = r.makeArray(n);
2391
2399
  var p = [];
2392
2400
  return n.forEach(function(_) {
2393
- var C = this.getItem(_);
2394
- C && p.push(C);
2401
+ var S = this.getItem(_);
2402
+ S && p.push(S);
2395
2403
  }, this), p;
2396
2404
  }, s.remove = function(n) {
2397
2405
  var p = this.getItems(n);
@@ -2410,10 +2418,10 @@ function Vn() {
2410
2418
  var p = n && n.outlayerGUID;
2411
2419
  return p && m[p];
2412
2420
  }, k.create = function(n, p) {
2413
- var _ = g(k);
2414
- return _.defaults = r.extend({}, k.defaults), r.extend(_.defaults, p), _.compatOptions = r.extend({}, k.compatOptions), _.namespace = n, _.data = k.data, _.Item = g(f), r.htmlInit(_, n), h && h.bridget && h.bridget(n, _), _;
2421
+ var _ = y(k);
2422
+ return _.defaults = r.extend({}, k.defaults), r.extend(_.defaults, p), _.compatOptions = r.extend({}, k.compatOptions), _.namespace = n, _.data = k.data, _.Item = y(f), r.htmlInit(_, n), h && h.bridget && h.bridget(n, _), _;
2415
2423
  };
2416
- function g(n) {
2424
+ function y(n) {
2417
2425
  function p() {
2418
2426
  n.apply(this, arguments);
2419
2427
  }
@@ -2426,11 +2434,11 @@ function Vn() {
2426
2434
  function c(n) {
2427
2435
  if (typeof n == "number")
2428
2436
  return n;
2429
- var p = n.match(/(^\d*\.?\d*)(\w*)/), _ = p && p[1], C = p && p[2];
2437
+ var p = n.match(/(^\d*\.?\d*)(\w*)/), _ = p && p[1], S = p && p[2];
2430
2438
  if (!_.length)
2431
2439
  return 0;
2432
2440
  _ = parseFloat(_);
2433
- var E = b[C] || 1;
2441
+ var E = b[S] || 1;
2434
2442
  return _ * E;
2435
2443
  }
2436
2444
  return k.Item = f, k;
@@ -2447,7 +2455,7 @@ function Vn() {
2447
2455
  (function(t) {
2448
2456
  (function(e, o) {
2449
2457
  t.exports ? t.exports = o(
2450
- Vn(),
2458
+ wn(),
2451
2459
  kt()
2452
2460
  ) : e.Masonry = o(
2453
2461
  e.Outlayer,
@@ -2468,19 +2476,19 @@ function Vn() {
2468
2476
  this.columnWidth = d && i(d).outerWidth || // if first elem has no width, default to size of container
2469
2477
  this.containerWidth;
2470
2478
  }
2471
- var h = this.columnWidth += this.gutter, a = this.containerWidth + this.gutter, v = a / h, m = h - a % h, k = m && m < 1 ? "round" : "floor";
2479
+ var h = this.columnWidth += this.gutter, l = this.containerWidth + this.gutter, v = l / h, m = h - l % h, k = m && m < 1 ? "round" : "floor";
2472
2480
  v = Math[k](v), this.cols = Math.max(v, 1);
2473
2481
  }, r.getContainerWidth = function() {
2474
2482
  var f = this._getOption("fitWidth"), d = f ? this.element.parentNode : this.element, h = i(d);
2475
2483
  this.containerWidth = h && h.innerWidth;
2476
2484
  }, r._getItemLayoutPosition = function(f) {
2477
2485
  f.getSize();
2478
- var d = f.size.outerWidth % this.columnWidth, h = d && d < 1 ? "round" : "ceil", a = Math[h](f.size.outerWidth / this.columnWidth);
2479
- a = Math.min(a, this.cols);
2480
- for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](a, f), k = {
2486
+ var d = f.size.outerWidth % this.columnWidth, h = d && d < 1 ? "round" : "ceil", l = Math[h](f.size.outerWidth / this.columnWidth);
2487
+ l = Math.min(l, this.cols);
2488
+ for (var v = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[v](l, f), k = {
2481
2489
  x: this.columnWidth * m.col,
2482
2490
  y: m.y
2483
- }, s = m.y + f.size.outerHeight, g = a + m.col, b = m.col; b < g; b++)
2491
+ }, s = m.y + f.size.outerHeight, y = l + m.col, b = m.col; b < y; b++)
2484
2492
  this.colYs[b] = s;
2485
2493
  return k;
2486
2494
  }, r._getTopColPosition = function(f) {
@@ -2492,8 +2500,8 @@ function Vn() {
2492
2500
  }, r._getTopColGroup = function(f) {
2493
2501
  if (f < 2)
2494
2502
  return this.colYs;
2495
- for (var d = [], h = this.cols + 1 - f, a = 0; a < h; a++)
2496
- d[a] = this._getColGroupY(a, f);
2503
+ for (var d = [], h = this.cols + 1 - f, l = 0; l < h; l++)
2504
+ d[l] = this._getColGroupY(l, f);
2497
2505
  return d;
2498
2506
  }, r._getColGroupY = function(f, d) {
2499
2507
  if (d < 2)
@@ -2501,19 +2509,19 @@ function Vn() {
2501
2509
  var h = this.colYs.slice(f, f + d);
2502
2510
  return Math.max.apply(Math, h);
2503
2511
  }, r._getHorizontalColPosition = function(f, d) {
2504
- var h = this.horizontalColIndex % this.cols, a = f > 1 && h + f > this.cols;
2505
- h = a ? 0 : h;
2512
+ var h = this.horizontalColIndex % this.cols, l = f > 1 && h + f > this.cols;
2513
+ h = l ? 0 : h;
2506
2514
  var v = d.size.outerWidth && d.size.outerHeight;
2507
2515
  return this.horizontalColIndex = v ? h + f : this.horizontalColIndex, {
2508
2516
  col: h,
2509
2517
  y: this._getColGroupY(h, f)
2510
2518
  };
2511
2519
  }, r._manageStamp = function(f) {
2512
- var d = i(f), h = this._getElementOffset(f), a = this._getOption("originLeft"), v = a ? h.left : h.right, m = v + d.outerWidth, k = Math.floor(v / this.columnWidth);
2520
+ var d = i(f), h = this._getElementOffset(f), l = this._getOption("originLeft"), v = l ? h.left : h.right, m = v + d.outerWidth, k = Math.floor(v / this.columnWidth);
2513
2521
  k = Math.max(0, k);
2514
2522
  var s = Math.floor(m / this.columnWidth);
2515
2523
  s -= m % this.columnWidth ? 0 : 1, s = Math.min(this.cols - 1, s);
2516
- for (var g = this._getOption("originTop"), b = (g ? h.top : h.bottom) + d.outerHeight, c = k; c <= s; c++)
2524
+ for (var y = this._getOption("originTop"), b = (y ? h.top : h.bottom) + d.outerHeight, c = k; c <= s; c++)
2517
2525
  this.colYs[c] = Math.max(b, this.colYs[c]);
2518
2526
  }, r._getContainerSize = function() {
2519
2527
  this.maxY = Math.max.apply(Math, this.colYs);
@@ -2531,8 +2539,8 @@ function Vn() {
2531
2539
  }, u;
2532
2540
  });
2533
2541
  })(eo);
2534
- var wn = eo.exports;
2535
- const Rt = /* @__PURE__ */ Kt(wn);
2542
+ var Pn = eo.exports;
2543
+ const Rt = /* @__PURE__ */ Kt(Pn);
2536
2544
  var to = { exports: {} };
2537
2545
  /*!
2538
2546
  * imagesLoaded v4.1.4
@@ -2553,34 +2561,34 @@ var to = { exports: {} };
2553
2561
  // -------------------------- factory -------------------------- //
2554
2562
  function(o, i) {
2555
2563
  var u = o.jQuery, r = o.console;
2556
- function f(s, g) {
2557
- for (var b in g)
2558
- s[b] = g[b];
2564
+ function f(s, y) {
2565
+ for (var b in y)
2566
+ s[b] = y[b];
2559
2567
  return s;
2560
2568
  }
2561
2569
  var d = Array.prototype.slice;
2562
2570
  function h(s) {
2563
2571
  if (Array.isArray(s))
2564
2572
  return s;
2565
- var g = typeof s == "object" && typeof s.length == "number";
2566
- return g ? d.call(s) : [s];
2573
+ var y = typeof s == "object" && typeof s.length == "number";
2574
+ return y ? d.call(s) : [s];
2567
2575
  }
2568
- function a(s, g, b) {
2569
- if (!(this instanceof a))
2570
- return new a(s, g, b);
2576
+ function l(s, y, b) {
2577
+ if (!(this instanceof l))
2578
+ return new l(s, y, b);
2571
2579
  var c = s;
2572
2580
  if (typeof s == "string" && (c = document.querySelectorAll(s)), !c) {
2573
2581
  r.error("Bad element for imagesLoaded " + (c || s));
2574
2582
  return;
2575
2583
  }
2576
- this.elements = h(c), this.options = f({}, this.options), typeof g == "function" ? b = g : f(this.options, g), b && this.on("always", b), this.getImages(), u && (this.jqDeferred = new u.Deferred()), setTimeout(this.check.bind(this));
2584
+ this.elements = h(c), this.options = f({}, this.options), typeof y == "function" ? b = y : f(this.options, y), b && this.on("always", b), this.getImages(), u && (this.jqDeferred = new u.Deferred()), setTimeout(this.check.bind(this));
2577
2585
  }
2578
- a.prototype = Object.create(i.prototype), a.prototype.options = {}, a.prototype.getImages = function() {
2586
+ l.prototype = Object.create(i.prototype), l.prototype.options = {}, l.prototype.getImages = function() {
2579
2587
  this.images = [], this.elements.forEach(this.addElementImages, this);
2580
- }, a.prototype.addElementImages = function(s) {
2588
+ }, l.prototype.addElementImages = function(s) {
2581
2589
  s.nodeName == "IMG" && this.addImage(s), this.options.background === !0 && this.addElementBackgroundImages(s);
2582
- var g = s.nodeType;
2583
- if (!(!g || !v[g])) {
2590
+ var y = s.nodeType;
2591
+ if (!(!y || !v[y])) {
2584
2592
  for (var b = s.querySelectorAll("img"), c = 0; c < b.length; c++) {
2585
2593
  var n = b[c];
2586
2594
  this.addImage(n);
@@ -2599,40 +2607,40 @@ var to = { exports: {} };
2599
2607
  9: !0,
2600
2608
  11: !0
2601
2609
  };
2602
- a.prototype.addElementBackgroundImages = function(s) {
2603
- var g = getComputedStyle(s);
2604
- if (g)
2605
- for (var b = /url\((['"])?(.*?)\1\)/gi, c = b.exec(g.backgroundImage); c !== null; ) {
2610
+ l.prototype.addElementBackgroundImages = function(s) {
2611
+ var y = getComputedStyle(s);
2612
+ if (y)
2613
+ for (var b = /url\((['"])?(.*?)\1\)/gi, c = b.exec(y.backgroundImage); c !== null; ) {
2606
2614
  var n = c && c[2];
2607
- n && this.addBackground(n, s), c = b.exec(g.backgroundImage);
2615
+ n && this.addBackground(n, s), c = b.exec(y.backgroundImage);
2608
2616
  }
2609
- }, a.prototype.addImage = function(s) {
2610
- var g = new m(s);
2611
- this.images.push(g);
2612
- }, a.prototype.addBackground = function(s, g) {
2613
- var b = new k(s, g);
2617
+ }, l.prototype.addImage = function(s) {
2618
+ var y = new m(s);
2619
+ this.images.push(y);
2620
+ }, l.prototype.addBackground = function(s, y) {
2621
+ var b = new k(s, y);
2614
2622
  this.images.push(b);
2615
- }, a.prototype.check = function() {
2623
+ }, l.prototype.check = function() {
2616
2624
  var s = this;
2617
2625
  if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
2618
2626
  this.complete();
2619
2627
  return;
2620
2628
  }
2621
- function g(b, c, n) {
2629
+ function y(b, c, n) {
2622
2630
  setTimeout(function() {
2623
2631
  s.progress(b, c, n);
2624
2632
  });
2625
2633
  }
2626
2634
  this.images.forEach(function(b) {
2627
- b.once("progress", g), b.check();
2635
+ b.once("progress", y), b.check();
2628
2636
  });
2629
- }, a.prototype.progress = function(s, g, b) {
2630
- this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !s.isLoaded, this.emitEvent("progress", [this, s, g]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, s), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + b, s, g);
2631
- }, a.prototype.complete = function() {
2637
+ }, l.prototype.progress = function(s, y, b) {
2638
+ this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !s.isLoaded, this.emitEvent("progress", [this, s, y]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, s), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + b, s, y);
2639
+ }, l.prototype.complete = function() {
2632
2640
  var s = this.hasAnyBroken ? "fail" : "done";
2633
2641
  if (this.isComplete = !0, this.emitEvent(s, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
2634
- var g = this.hasAnyBroken ? "reject" : "resolve";
2635
- this.jqDeferred[g](this);
2642
+ var y = this.hasAnyBroken ? "reject" : "resolve";
2643
+ this.jqDeferred[y](this);
2636
2644
  }
2637
2645
  };
2638
2646
  function m(s) {
@@ -2647,11 +2655,11 @@ var to = { exports: {} };
2647
2655
  this.proxyImage = new Image(), this.proxyImage.addEventListener("load", this), this.proxyImage.addEventListener("error", this), this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.proxyImage.src = this.img.src;
2648
2656
  }, m.prototype.getIsImageComplete = function() {
2649
2657
  return this.img.complete && this.img.naturalWidth;
2650
- }, m.prototype.confirm = function(s, g) {
2651
- this.isLoaded = s, this.emitEvent("progress", [this, this.img, g]);
2658
+ }, m.prototype.confirm = function(s, y) {
2659
+ this.isLoaded = s, this.emitEvent("progress", [this, this.img, y]);
2652
2660
  }, m.prototype.handleEvent = function(s) {
2653
- var g = "on" + s.type;
2654
- this[g] && this[g](s);
2661
+ var y = "on" + s.type;
2662
+ this[y] && this[y](s);
2655
2663
  }, m.prototype.onload = function() {
2656
2664
  this.confirm(!0, "onload"), this.unbindEvents();
2657
2665
  }, m.prototype.onerror = function() {
@@ -2659,8 +2667,8 @@ var to = { exports: {} };
2659
2667
  }, m.prototype.unbindEvents = function() {
2660
2668
  this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2661
2669
  };
2662
- function k(s, g) {
2663
- this.url = s, this.element = g, this.img = new Image();
2670
+ function k(s, y) {
2671
+ this.url = s, this.element = y, this.img = new Image();
2664
2672
  }
2665
2673
  return k.prototype = Object.create(m.prototype), k.prototype.check = function() {
2666
2674
  this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
@@ -2668,20 +2676,20 @@ var to = { exports: {} };
2668
2676
  s && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
2669
2677
  }, k.prototype.unbindEvents = function() {
2670
2678
  this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2671
- }, k.prototype.confirm = function(s, g) {
2672
- this.isLoaded = s, this.emitEvent("progress", [this, this.element, g]);
2673
- }, a.makeJQueryPlugin = function(s) {
2674
- s = s || o.jQuery, s && (u = s, u.fn.imagesLoaded = function(g, b) {
2675
- var c = new a(this, g, b);
2679
+ }, k.prototype.confirm = function(s, y) {
2680
+ this.isLoaded = s, this.emitEvent("progress", [this, this.element, y]);
2681
+ }, l.makeJQueryPlugin = function(s) {
2682
+ s = s || o.jQuery, s && (u = s, u.fn.imagesLoaded = function(y, b) {
2683
+ var c = new l(this, y, b);
2676
2684
  return c.jqDeferred.promise(u(this));
2677
2685
  });
2678
- }, a.makeJQueryPlugin(), a;
2686
+ }, l.makeJQueryPlugin(), l;
2679
2687
  }
2680
2688
  );
2681
2689
  })(to);
2682
- var Pn = to.exports;
2683
- const Rn = /* @__PURE__ */ Kt(Pn);
2684
- function Dn(t) {
2690
+ var Rn = to.exports;
2691
+ const Dn = /* @__PURE__ */ Kt(Rn);
2692
+ function Mn(t) {
2685
2693
  return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, o) {
2686
2694
  var i = t.get(e);
2687
2695
  i ? i.push(o) : t.set(e, [o]);
@@ -2697,7 +2705,7 @@ function Dn(t) {
2697
2705
  });
2698
2706
  } };
2699
2707
  }
2700
- const Be = {
2708
+ const ze = {
2701
2709
  "column-width": "columnWidth",
2702
2710
  "transition-duration": "transitionDuration",
2703
2711
  "item-selector": "itemSelector",
@@ -2710,39 +2718,39 @@ const Be = {
2710
2718
  "horizontal-order": "horizontalOrder",
2711
2719
  stagger: "stagger",
2712
2720
  "destroy-delay": "destroyDelay"
2713
- }, ze = "vuemasonry.itemAdded", ut = "vuemasonry.itemRemoved", dt = "vuemasonry.imageLoaded", ct = "vuemasonry.destroy", Mn = function(t) {
2721
+ }, Fe = "vuemasonry.itemAdded", ut = "vuemasonry.itemRemoved", dt = "vuemasonry.imageLoaded", ct = "vuemasonry.destroy", xn = function(t) {
2714
2722
  return (t + "").toLowerCase() === "true";
2715
- }, xn = function(t) {
2716
- return isNaN(t) ? t : parseInt(t);
2717
2723
  }, Wn = function(t) {
2724
+ return isNaN(t) ? t : parseInt(t);
2725
+ }, Bn = function(t) {
2718
2726
  const e = {};
2719
2727
  return Array.prototype.slice.call(t).forEach(function(i) {
2720
- Object.keys(Be).indexOf(i.name) > -1 && (i.name.indexOf("origin") > -1 ? e[Be[i.name]] = Mn(i.value) : i.name === "column-width" || i.name === "gutter" ? e[Be[i.name]] = xn(i.value) : e[Be[i.name]] = i.value);
2728
+ Object.keys(ze).indexOf(i.name) > -1 && (i.name.indexOf("origin") > -1 ? e[ze[i.name]] = xn(i.value) : i.name === "column-width" || i.name === "gutter" ? e[ze[i.name]] = Wn(i.value) : e[ze[i.name]] = i.value);
2721
2729
  }), e;
2722
2730
  }, oo = {};
2723
2731
  oo.install = function(t, e) {
2724
- const o = Dn(), i = "VueMasonry", u = t;
2732
+ const o = Mn(), i = "VueMasonry", u = t;
2725
2733
  u.directive("masonry", {
2726
2734
  props: ["transitionDuration", " itemSelector", "destroyDelay"],
2727
2735
  mounted: function(r, f) {
2728
2736
  if (!Rt)
2729
2737
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
2730
- const d = Wn(r.attributes), h = new Rt(r, d), a = f.value || i, v = d.destroyDelay ? parseInt(d.destroyDelay, 10) : void 0, m = function() {
2738
+ const d = Bn(r.attributes), h = new Rt(r, d), l = f.value || i, v = d.destroyDelay ? parseInt(d.destroyDelay, 10) : void 0, m = function() {
2731
2739
  h.reloadItems(), h.layout();
2732
2740
  };
2733
2741
  Gt(() => {
2734
2742
  m();
2735
2743
  });
2736
- const k = function(g) {
2744
+ const k = function(y) {
2737
2745
  m();
2738
- }, s = function(g) {
2739
- o["off"](`${ze}__${a}`, k), o["off"](`${ut}__${a}`, k), o["off"](`${dt}__${a}`, k), o["off"](`${ct}__${a}`, s);
2746
+ }, s = function(y) {
2747
+ o["off"](`${Fe}__${l}`, k), o["off"](`${ut}__${l}`, k), o["off"](`${dt}__${l}`, k), o["off"](`${ct}__${l}`, s);
2740
2748
  const b = v && !Number.isNaN(v) ? v : 0;
2741
2749
  setTimeout(function() {
2742
2750
  h.destroy();
2743
2751
  }, b);
2744
2752
  };
2745
- o["on"](`${ze}__${a}`, k), o["on"](`${ut}__${a}`, k), o["on"](`${dt}__${a}`, k), o["on"](`${ct}__${a}`, s);
2753
+ o["on"](`${Fe}__${l}`, k), o["on"](`${ut}__${l}`, k), o["on"](`${dt}__${l}`, k), o["on"](`${ct}__${l}`, s);
2746
2754
  },
2747
2755
  unbind: function(r, f) {
2748
2756
  const d = f.value || i;
@@ -2751,9 +2759,9 @@ oo.install = function(t, e) {
2751
2759
  }), u.directive("masonryTile", {
2752
2760
  mounted: function(r, f) {
2753
2761
  const d = f.value || i;
2754
- o["emit"](`${ze}__${d}`, {
2762
+ o["emit"](`${Fe}__${d}`, {
2755
2763
  element: r
2756
- }), new Rn(r, function() {
2764
+ }), new Dn(r, function() {
2757
2765
  o["emit"](`${dt}__${d}`, {
2758
2766
  element: r
2759
2767
  });
@@ -2769,7 +2777,7 @@ oo.install = function(t, e) {
2769
2777
  {
2770
2778
  const r = function(f) {
2771
2779
  const d = f || i;
2772
- o["emit"](`${ze}__${d}`);
2780
+ o["emit"](`${Fe}__${d}`);
2773
2781
  };
2774
2782
  t.config.globalProperties.$redrawVueMasonry = r, t.provide("redrawVueMasonry", r);
2775
2783
  }
@@ -2781,15 +2789,15 @@ function vt(t, e = {}, o) {
2781
2789
  }
2782
2790
  return e;
2783
2791
  }
2784
- const Bn = { run: (t) => t() }, zn = () => Bn, io = typeof console.createTask < "u" ? console.createTask : zn;
2785
- function Fn(t, e) {
2792
+ const zn = { run: (t) => t() }, Fn = () => zn, io = typeof console.createTask < "u" ? console.createTask : Fn;
2793
+ function Nn(t, e) {
2786
2794
  const o = e.shift(), i = io(o);
2787
2795
  return t.reduce(
2788
2796
  (u, r) => u.then(() => i.run(() => r(...e))),
2789
2797
  Promise.resolve()
2790
2798
  );
2791
2799
  }
2792
- function Nn(t, e) {
2800
+ function Un(t, e) {
2793
2801
  const o = e.shift(), i = io(o);
2794
2802
  return Promise.all(t.map((u) => i.run(() => u(...e))));
2795
2803
  }
@@ -2797,7 +2805,7 @@ function ft(t, e) {
2797
2805
  for (const o of [...t])
2798
2806
  o(e);
2799
2807
  }
2800
- class Un {
2808
+ class qn {
2801
2809
  constructor() {
2802
2810
  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);
2803
2811
  }
@@ -2866,10 +2874,10 @@ class Un {
2866
2874
  delete this._hooks[e];
2867
2875
  }
2868
2876
  callHook(e, ...o) {
2869
- return o.unshift(e), this.callHookWith(Fn, e, ...o);
2877
+ return o.unshift(e), this.callHookWith(Nn, e, ...o);
2870
2878
  }
2871
2879
  callHookParallel(e, ...o) {
2872
- return o.unshift(e), this.callHookWith(Nn, e, ...o);
2880
+ return o.unshift(e), this.callHookWith(Un, e, ...o);
2873
2881
  }
2874
2882
  callHookWith(e, o, ...i) {
2875
2883
  const u = this._before || this._after ? { name: o, args: i, context: {} } : void 0;
@@ -2899,20 +2907,20 @@ class Un {
2899
2907
  };
2900
2908
  }
2901
2909
  }
2902
- function qn() {
2903
- return new Un();
2910
+ function Gn() {
2911
+ return new qn();
2904
2912
  }
2905
- function Gn(t) {
2913
+ function jn(t) {
2906
2914
  return Array.isArray(t) ? t : [t];
2907
2915
  }
2908
- const jn = ["title", "titleTemplate", "script", "style", "noscript"], Ne = [
2916
+ const Yn = ["title", "titleTemplate", "script", "style", "noscript"], Ue = [
2909
2917
  "base",
2910
2918
  "meta",
2911
2919
  "link",
2912
2920
  "style",
2913
2921
  "script",
2914
2922
  "noscript"
2915
- ], Yn = [
2923
+ ], Kn = [
2916
2924
  "title",
2917
2925
  "titleTemplate",
2918
2926
  "templateParams",
@@ -2924,7 +2932,7 @@ const jn = ["title", "titleTemplate", "script", "style", "noscript"], Ne = [
2924
2932
  "style",
2925
2933
  "script",
2926
2934
  "noscript"
2927
- ], Kn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], no = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Qn = typeof window < "u";
2935
+ ], Qn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], no = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Xn = typeof window < "u";
2928
2936
  function Et(t) {
2929
2937
  let e = 9;
2930
2938
  for (let o = 0; o < t.length; )
@@ -2936,7 +2944,7 @@ function Dt(t) {
2936
2944
  }
2937
2945
  function ro(t, e) {
2938
2946
  const { props: o, tag: i } = t;
2939
- if (Kn.includes(i))
2947
+ if (Qn.includes(i))
2940
2948
  return i;
2941
2949
  if (i === "link" && o.rel === "canonical")
2942
2950
  return "canonical";
@@ -2954,7 +2962,7 @@ function ro(t, e) {
2954
2962
  function Mt(t, e) {
2955
2963
  return t == null ? e || null : typeof t == "function" ? t(e) : t;
2956
2964
  }
2957
- async function Xn(t, e, o) {
2965
+ async function Jn(t, e, o) {
2958
2966
  const i = {
2959
2967
  tag: t,
2960
2968
  props: await so(
@@ -2966,16 +2974,16 @@ async function Xn(t, e, o) {
2966
2974
  };
2967
2975
  return no.forEach((u) => {
2968
2976
  const r = typeof i.props[u] < "u" ? i.props[u] : o[u];
2969
- typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(u) || jn.includes(i.tag)) && (i[u === "children" ? "innerHTML" : u] = r), delete i.props[u]);
2977
+ typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(u) || Yn.includes(i.tag)) && (i[u === "children" ? "innerHTML" : u] = r), delete i.props[u]);
2970
2978
  }), i.props.body && (i.tagPosition = "bodyClose", delete i.props.body), i.tag === "script" && typeof i.innerHTML == "object" && (i.innerHTML = JSON.stringify(i.innerHTML), i.props.type = i.props.type || "application/json"), Array.isArray(i.props.content) ? i.props.content.map((u) => ({ ...i, props: { ...i.props, content: u } })) : i;
2971
2979
  }
2972
- function Jn(t) {
2980
+ function Zn(t) {
2973
2981
  return typeof t == "object" && !Array.isArray(t) && (t = Object.keys(t).filter((e) => t[e])), (Array.isArray(t) ? t.join(" ") : t).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
2974
2982
  }
2975
2983
  async function so(t, e) {
2976
2984
  for (const o of Object.keys(t)) {
2977
2985
  if (o === "class") {
2978
- t[o] = Jn(t[o]);
2986
+ t[o] = Zn(t[o]);
2979
2987
  continue;
2980
2988
  }
2981
2989
  if (t[o] instanceof Promise && (t[o] = await t[o]), !e && !no.includes(o)) {
@@ -2985,13 +2993,13 @@ async function so(t, e) {
2985
2993
  }
2986
2994
  return t;
2987
2995
  }
2988
- const Zn = 10;
2989
- async function er(t) {
2996
+ const er = 10;
2997
+ async function tr(t) {
2990
2998
  const e = [];
2991
- return Object.entries(t.resolvedInput).filter(([o, i]) => typeof i < "u" && Yn.includes(o)).forEach(([o, i]) => {
2992
- const u = Gn(i);
2993
- e.push(...u.map((r) => Xn(o, r, t)).flat());
2994
- }), (await Promise.all(e)).flat().filter(Boolean).map((o, i) => (o._e = t._i, t.mode && (o._m = t.mode), o._p = (t._i << Zn) + i, o));
2999
+ return Object.entries(t.resolvedInput).filter(([o, i]) => typeof i < "u" && Kn.includes(o)).forEach(([o, i]) => {
3000
+ const u = jn(i);
3001
+ e.push(...u.map((r) => Jn(o, r, t)).flat());
3002
+ }), (await Promise.all(e)).flat().filter(Boolean).map((o, i) => (o._e = t._i, t.mode && (o._m = t.mode), o._p = (t._i << er) + i, o));
2995
3003
  }
2996
3004
  const xt = {
2997
3005
  // tags
@@ -3003,18 +3011,18 @@ const xt = {
3003
3011
  high: -10,
3004
3012
  low: 20
3005
3013
  };
3006
- function je(t) {
3014
+ function Ye(t) {
3007
3015
  let e = 100;
3008
3016
  const o = t.tagPriority;
3009
3017
  return typeof o == "number" ? o : (t.tag === "meta" ? (t.props["http-equiv"] === "content-security-policy" && (e = -30), t.props.charset && (e = -20), t.props.name === "viewport" && (e = -15)) : t.tag === "link" && t.props.rel === "preconnect" ? e = 20 : t.tag in xt && (e = xt[t.tag]), typeof o == "string" && o in Wt ? e + Wt[o] : e);
3010
3018
  }
3011
- const tr = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], ao = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], re = "%separator";
3012
- function Ue(t, e, o) {
3019
+ const or = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], ao = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], re = "%separator";
3020
+ function qe(t, e, o) {
3013
3021
  if (typeof t != "string" || !t.includes("%"))
3014
3022
  return t;
3015
3023
  function i(f) {
3016
3024
  let d;
3017
- return ["s", "pageTitle"].includes(f) ? d = e.pageTitle : f.includes(".") ? d = f.split(".").reduce((h, a) => h && h[a] || void 0, e) : d = e[f], typeof d < "u" ? (d || "").replace(/"/g, '\\"') : !1;
3025
+ return ["s", "pageTitle"].includes(f) ? d = e.pageTitle : f.includes(".") ? d = f.split(".").reduce((h, l) => h && h[l] || void 0, e) : d = e[f], typeof d < "u" ? (d || "").replace(/"/g, '\\"') : !1;
3018
3026
  }
3019
3027
  let u = t;
3020
3028
  try {
@@ -3023,10 +3031,10 @@ function Ue(t, e, o) {
3023
3031
  }
3024
3032
  return (u.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((f) => {
3025
3033
  const d = i(f.slice(1));
3026
- typeof d == "string" && (t = t.replace(new RegExp(`\\${f}(\\W|$)`, "g"), (h, a) => `${d}${a}`).trim());
3027
- }), t.includes(re) && (t.endsWith(re) && (t = t.slice(0, -re.length).trim()), t.startsWith(re) && (t = t.slice(re.length).trim()), t = t.replace(new RegExp(`\\${re}\\s*\\${re}`, "g"), re), t = Ue(t, { separator: o }, o)), t;
3034
+ typeof d == "string" && (t = t.replace(new RegExp(`\\${f}(\\W|$)`, "g"), (h, l) => `${d}${l}`).trim());
3035
+ }), t.includes(re) && (t.endsWith(re) && (t = t.slice(0, -re.length).trim()), t.startsWith(re) && (t = t.slice(re.length).trim()), t = t.replace(new RegExp(`\\${re}\\s*\\${re}`, "g"), re), t = qe(t, { separator: o }, o)), t;
3028
3036
  }
3029
- async function or(t) {
3037
+ async function ir(t) {
3030
3038
  const e = {
3031
3039
  tag: t.tagName.toLowerCase(),
3032
3040
  props: await so(
@@ -3036,7 +3044,7 @@ async function or(t) {
3036
3044
  };
3037
3045
  return e._d = ro(e), e;
3038
3046
  }
3039
- async function ir(t, e = {}) {
3047
+ async function nr(t, e = {}) {
3040
3048
  const o = e.document || t.resolvedOptions.document;
3041
3049
  if (!o)
3042
3050
  return;
@@ -3045,7 +3053,7 @@ async function ir(t, e = {}) {
3045
3053
  return;
3046
3054
  const u = (await t.resolveTags()).map((v) => ({
3047
3055
  tag: v,
3048
- id: Ne.includes(v.tag) ? Dt(v) : v.tag,
3056
+ id: Ue.includes(v.tag) ? Dt(v) : v.tag,
3049
3057
  shouldRender: !0
3050
3058
  }));
3051
3059
  let r = t._dom;
@@ -3055,8 +3063,8 @@ async function ir(t, e = {}) {
3055
3063
  };
3056
3064
  for (const v of ["body", "head"]) {
3057
3065
  const m = o?.[v]?.children;
3058
- for (const k of [...m].filter((s) => Ne.includes(s.tagName.toLowerCase())))
3059
- r.elMap[k.getAttribute("data-hid") || Dt(await or(k))] = k;
3066
+ for (const k of [...m].filter((s) => Ue.includes(s.tagName.toLowerCase())))
3067
+ r.elMap[k.getAttribute("data-hid") || Dt(await ir(k))] = k;
3060
3068
  }
3061
3069
  }
3062
3070
  r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
@@ -3066,20 +3074,20 @@ async function ir(t, e = {}) {
3066
3074
  }
3067
3075
  function d({ id: v, $el: m, tag: k }) {
3068
3076
  const s = k.tag.endsWith("Attrs");
3069
- r.elMap[v] = m, s || (["textContent", "innerHTML"].forEach((g) => {
3070
- k[g] && k[g] !== m[g] && (m[g] = k[g]);
3077
+ r.elMap[v] = m, s || (["textContent", "innerHTML"].forEach((y) => {
3078
+ k[y] && k[y] !== m[y] && (m[y] = k[y]);
3071
3079
  }), f(v, "el", () => {
3072
3080
  r.elMap[v].remove(), delete r.elMap[v];
3073
- })), Object.entries(k.props).forEach(([g, b]) => {
3074
- const c = `attr:${g}`;
3075
- if (g === "class")
3081
+ })), Object.entries(k.props).forEach(([y, b]) => {
3082
+ const c = `attr:${y}`;
3083
+ if (y === "class")
3076
3084
  for (const n of (b || "").split(" ").filter(Boolean))
3077
3085
  s && f(v, `${c}:${n}`, () => m.classList.remove(n)), !m.classList.contains(n) && m.classList.add(n);
3078
3086
  else
3079
- m.getAttribute(g) !== b && m.setAttribute(g, b === !0 ? "" : String(b)), s && f(v, c, () => m.removeAttribute(g));
3087
+ m.getAttribute(y) !== b && m.setAttribute(y, b === !0 ? "" : String(b)), s && f(v, c, () => m.removeAttribute(y));
3080
3088
  });
3081
3089
  }
3082
- const h = [], a = {
3090
+ const h = [], l = {
3083
3091
  bodyClose: void 0,
3084
3092
  bodyOpen: void 0,
3085
3093
  head: void 0
@@ -3091,38 +3099,38 @@ async function ir(t, e = {}) {
3091
3099
  o.title = m.textContent;
3092
3100
  continue;
3093
3101
  }
3094
- v.$el = v.$el || r.elMap[s], v.$el ? d(v) : Ne.includes(m.tag) && h.push(v);
3102
+ v.$el = v.$el || r.elMap[s], v.$el ? d(v) : Ue.includes(m.tag) && h.push(v);
3095
3103
  }
3096
3104
  }
3097
3105
  for (const v of h) {
3098
3106
  const m = v.tag.tagPosition || "head";
3099
- v.$el = o.createElement(v.tag.tag), d(v), a[m] = a[m] || o.createDocumentFragment(), a[m].appendChild(v.$el);
3107
+ v.$el = o.createElement(v.tag.tag), d(v), l[m] = l[m] || o.createDocumentFragment(), l[m].appendChild(v.$el);
3100
3108
  }
3101
3109
  for (const v of u)
3102
3110
  await t.hooks.callHook("dom:renderTag", v, o, f);
3103
- a.head && o.head.appendChild(a.head), a.bodyOpen && o.body.insertBefore(a.bodyOpen, o.body.firstChild), a.bodyClose && o.body.appendChild(a.bodyClose), Object.values(r.pendingSideEffects).forEach((v) => v()), t._dom = r, t.dirty = !1, await t.hooks.callHook("dom:rendered", { renders: u });
3111
+ l.head && o.head.appendChild(l.head), l.bodyOpen && o.body.insertBefore(l.bodyOpen, o.body.firstChild), l.bodyClose && o.body.appendChild(l.bodyClose), Object.values(r.pendingSideEffects).forEach((v) => v()), t._dom = r, t.dirty = !1, await t.hooks.callHook("dom:rendered", { renders: u });
3104
3112
  }
3105
- async function nr(t, e = {}) {
3113
+ async function rr(t, e = {}) {
3106
3114
  const o = e.delayFn || ((i) => setTimeout(i, 10));
3107
3115
  return t._domUpdatePromise = t._domUpdatePromise || new Promise((i) => o(async () => {
3108
- await ir(t, e), delete t._domUpdatePromise, i();
3116
+ await nr(t, e), delete t._domUpdatePromise, i();
3109
3117
  }));
3110
3118
  }
3111
3119
  // @__NO_SIDE_EFFECTS__
3112
- function rr(t) {
3120
+ function sr(t) {
3113
3121
  return (e) => {
3114
3122
  const o = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
3115
3123
  return o && e.push(JSON.parse(o)), {
3116
3124
  mode: "client",
3117
3125
  hooks: {
3118
3126
  "entries:updated": function(i) {
3119
- nr(i, t);
3127
+ rr(i, t);
3120
3128
  }
3121
3129
  }
3122
3130
  };
3123
3131
  };
3124
3132
  }
3125
- const sr = ["templateParams", "htmlAttrs", "bodyAttrs"], ar = {
3133
+ const ar = ["templateParams", "htmlAttrs", "bodyAttrs"], lr = {
3126
3134
  hooks: {
3127
3135
  "tag:normalise": function({ tag: t }) {
3128
3136
  ["hid", "vmid", "key"].forEach((i) => {
@@ -3137,10 +3145,10 @@ const sr = ["templateParams", "htmlAttrs", "bodyAttrs"], ar = {
3137
3145
  const u = (i.key ? `${i.tag}:${i.key}` : i._d) || i._p, r = e[u];
3138
3146
  if (r) {
3139
3147
  let d = i?.tagDuplicateStrategy;
3140
- if (!d && sr.includes(i.tag) && (d = "merge"), d === "merge") {
3148
+ if (!d && ar.includes(i.tag) && (d = "merge"), d === "merge") {
3141
3149
  const h = r.props;
3142
- ["class", "style"].forEach((a) => {
3143
- i.props[a] && h[a] && (a === "style" && !h[a].endsWith(";") && (h[a] += ";"), i.props[a] = `${h[a]} ${i.props[a]}`);
3150
+ ["class", "style"].forEach((l) => {
3151
+ i.props[l] && h[l] && (l === "style" && !h[l].endsWith(";") && (h[l] += ";"), i.props[l] = `${h[l]} ${i.props[l]}`);
3144
3152
  }), e[u].props = {
3145
3153
  ...h,
3146
3154
  ...i.props
@@ -3149,11 +3157,11 @@ const sr = ["templateParams", "htmlAttrs", "bodyAttrs"], ar = {
3149
3157
  } else if (i._e === r._e) {
3150
3158
  r._duped = r._duped || [], i._d = `${r._d}:${r._duped.length + 1}`, r._duped.push(i);
3151
3159
  return;
3152
- } else if (je(i) > je(r))
3160
+ } else if (Ye(i) > Ye(r))
3153
3161
  return;
3154
3162
  }
3155
3163
  const f = Object.keys(i.props).length + (i.innerHTML ? 1 : 0) + (i.textContent ? 1 : 0);
3156
- if (Ne.includes(i.tag) && f === 0) {
3164
+ if (Ue.includes(i.tag) && f === 0) {
3157
3165
  delete e[u];
3158
3166
  return;
3159
3167
  }
@@ -3166,7 +3174,7 @@ const sr = ["templateParams", "htmlAttrs", "bodyAttrs"], ar = {
3166
3174
  }), t.tags = o, t.tags = t.tags.filter((i) => !(i.tag === "meta" && (i.props.name || i.props.property) && !i.props.content));
3167
3175
  }
3168
3176
  }
3169
- }, lr = {
3177
+ }, ur = {
3170
3178
  mode: "server",
3171
3179
  hooks: {
3172
3180
  "tags:resolve": function(t) {
@@ -3180,19 +3188,19 @@ const sr = ["templateParams", "htmlAttrs", "bodyAttrs"], ar = {
3180
3188
  });
3181
3189
  }
3182
3190
  }
3183
- }, ur = ["script", "link", "bodyAttrs"];
3184
- function dr(t) {
3191
+ }, dr = ["script", "link", "bodyAttrs"];
3192
+ function cr(t) {
3185
3193
  const e = {}, o = {};
3186
3194
  return Object.entries(t.props).forEach(([i, u]) => {
3187
3195
  i.startsWith("on") && typeof u == "function" ? (ao.includes(i) && (e[i] = `this.dataset.${i} = true`), o[i] = u) : e[i] = u;
3188
3196
  }), { props: e, eventHandlers: o };
3189
3197
  }
3190
- const cr = (t) => ({
3198
+ const fr = (t) => ({
3191
3199
  hooks: {
3192
3200
  "tags:resolve": function(e) {
3193
3201
  for (const o of e.tags)
3194
- if (ur.includes(o.tag)) {
3195
- const { props: i, eventHandlers: u } = dr(o);
3202
+ if (dr.includes(o.tag)) {
3203
+ const { props: i, eventHandlers: u } = cr(o);
3196
3204
  o.props = i, Object.keys(u).length && ((o.props.src || o.props.href) && (o.key = o.key || Et(o.props.src || o.props.href)), o._eventHandlers = u);
3197
3205
  }
3198
3206
  },
@@ -3201,64 +3209,64 @@ const cr = (t) => ({
3201
3209
  return;
3202
3210
  const u = e.tag.tag === "bodyAttrs" ? o.defaultView : e.$el;
3203
3211
  Object.entries(e.tag._eventHandlers).forEach(([r, f]) => {
3204
- const d = `${e.tag._d || e.tag._p}:${r}`, h = r.slice(2).toLowerCase(), a = `data-h-${h}`;
3212
+ const d = `${e.tag._d || e.tag._p}:${r}`, h = r.slice(2).toLowerCase(), l = `data-h-${h}`;
3205
3213
  if (i(e.id, d, () => {
3206
- }), e.$el.hasAttribute(a))
3214
+ }), e.$el.hasAttribute(l))
3207
3215
  return;
3208
- e.$el.setAttribute(a, "");
3216
+ e.$el.setAttribute(l, "");
3209
3217
  let v;
3210
3218
  const m = (k) => {
3211
3219
  f(k), v?.disconnect();
3212
3220
  };
3213
3221
  r in e.$el.dataset ? m(new Event(r.replace("on", ""))) : ao.includes(r) && typeof MutationObserver < "u" ? (v = new MutationObserver((k) => {
3214
- k.some((g) => g.attributeName === `data-${r}`) && (m(new Event(r.replace("on", ""))), v?.disconnect());
3222
+ k.some((y) => y.attributeName === `data-${r}`) && (m(new Event(r.replace("on", ""))), v?.disconnect());
3215
3223
  }), v.observe(e.$el, {
3216
3224
  attributes: !0
3217
3225
  })) : u.addEventListener(h, m), i(e.id, d, () => {
3218
- v?.disconnect(), u.removeEventListener(h, m), e.$el.removeAttribute(a);
3226
+ v?.disconnect(), u.removeEventListener(h, m), e.$el.removeAttribute(l);
3219
3227
  });
3220
3228
  });
3221
3229
  }
3222
3230
  }
3223
- }), fr = ["link", "style", "script", "noscript"], hr = {
3231
+ }), hr = ["link", "style", "script", "noscript"], pr = {
3224
3232
  hooks: {
3225
3233
  "tag:normalise": ({ tag: t }) => {
3226
- t.key && fr.includes(t.tag) && (t.props["data-hid"] = t._h = Et(t.key));
3234
+ t.key && hr.includes(t.tag) && (t.props["data-hid"] = t._h = Et(t.key));
3227
3235
  }
3228
3236
  }
3229
- }, pr = {
3237
+ }, mr = {
3230
3238
  hooks: {
3231
3239
  "tags:resolve": (t) => {
3232
3240
  const e = (o) => t.tags.find((i) => i._d === o)?._p;
3233
- for (const { prefix: o, offset: i } of tr)
3241
+ for (const { prefix: o, offset: i } of or)
3234
3242
  for (const u of t.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(o))) {
3235
3243
  const r = e(
3236
3244
  u.tagPriority.replace(o, "")
3237
3245
  );
3238
3246
  typeof r < "u" && (u._p = r + i);
3239
3247
  }
3240
- t.tags.sort((o, i) => o._p - i._p).sort((o, i) => je(o) - je(i));
3248
+ t.tags.sort((o, i) => o._p - i._p).sort((o, i) => Ye(o) - Ye(i));
3241
3249
  }
3242
3250
  }
3243
- }, mr = {
3251
+ }, vr = {
3244
3252
  meta: "content",
3245
3253
  link: "href",
3246
3254
  htmlAttrs: "lang"
3247
- }, vr = (t) => ({
3255
+ }, gr = (t) => ({
3248
3256
  hooks: {
3249
3257
  "tags:resolve": (e) => {
3250
3258
  const { tags: o } = e, i = o.find((d) => d.tag === "title")?.textContent, u = o.findIndex((d) => d.tag === "templateParams"), r = u !== -1 ? o[u].props : {}, f = r.separator || "|";
3251
- delete r.separator, r.pageTitle = Ue(r.pageTitle || i || "", r, f);
3259
+ delete r.separator, r.pageTitle = qe(r.pageTitle || i || "", r, f);
3252
3260
  for (const d of o.filter((h) => h.processTemplateParams !== !1)) {
3253
- const h = mr[d.tag];
3254
- h && typeof d.props[h] == "string" ? d.props[h] = Ue(d.props[h], r, f) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((a) => {
3255
- typeof d[a] == "string" && (d[a] = Ue(d[a], r, f));
3261
+ const h = vr[d.tag];
3262
+ h && typeof d.props[h] == "string" ? d.props[h] = qe(d.props[h], r, f) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((l) => {
3263
+ typeof d[l] == "string" && (d[l] = qe(d[l], r, f));
3256
3264
  });
3257
3265
  }
3258
3266
  t._templateParams = r, t._separator = f, e.tags = o.filter((d) => d.tag !== "templateParams");
3259
3267
  }
3260
3268
  }
3261
- }), gr = {
3269
+ }), yr = {
3262
3270
  hooks: {
3263
3271
  "tags:resolve": (t) => {
3264
3272
  const { tags: e } = t;
@@ -3279,7 +3287,7 @@ const cr = (t) => ({
3279
3287
  o !== -1 && delete e[o], t.tags = e.filter(Boolean);
3280
3288
  }
3281
3289
  }
3282
- }, yr = {
3290
+ }, _r = {
3283
3291
  hooks: {
3284
3292
  "tags:afterResolve": function(t) {
3285
3293
  for (const e of t.tags)
@@ -3288,16 +3296,16 @@ const cr = (t) => ({
3288
3296
  }
3289
3297
  };
3290
3298
  // @__NO_SIDE_EFFECTS__
3291
- function _r(t = {}) {
3292
- const e = br(t);
3293
- return e.use(/* @__PURE__ */ rr()), e;
3299
+ function br(t = {}) {
3300
+ const e = kr(t);
3301
+ return e.use(/* @__PURE__ */ sr()), e;
3294
3302
  }
3295
3303
  function Bt(t, e) {
3296
3304
  return !t || t === "server" && e || t === "client" && !e;
3297
3305
  }
3298
- function br(t = {}) {
3299
- const e = qn();
3300
- e.addHooks(t.hooks || {}), t.document = t.document || (Qn ? document : void 0);
3306
+ function kr(t = {}) {
3307
+ const e = Gn();
3308
+ e.addHooks(t.hooks || {}), t.document = t.document || (Xn ? document : void 0);
3301
3309
  const o = !t.document, i = () => {
3302
3310
  d.dirty = !0, e.callHook("entries:updated", d);
3303
3311
  };
@@ -3311,15 +3319,15 @@ function br(t = {}) {
3311
3319
  return r;
3312
3320
  },
3313
3321
  use(h) {
3314
- const a = typeof h == "function" ? h(d) : h;
3315
- (!a.key || !f.some((v) => v.key === a.key)) && (f.push(a), Bt(a.mode, o) && e.addHooks(a.hooks || {}));
3322
+ const l = typeof h == "function" ? h(d) : h;
3323
+ (!l.key || !f.some((v) => v.key === l.key)) && (f.push(l), Bt(l.mode, o) && e.addHooks(l.hooks || {}));
3316
3324
  },
3317
- push(h, a) {
3318
- delete a?.head;
3325
+ push(h, l) {
3326
+ delete l?.head;
3319
3327
  const v = {
3320
3328
  _i: u++,
3321
3329
  input: h,
3322
- ...a
3330
+ ...l
3323
3331
  };
3324
3332
  return Bt(v.mode, o) && (r.push(v), i()), {
3325
3333
  dispose() {
@@ -3334,11 +3342,11 @@ function br(t = {}) {
3334
3342
  async resolveTags() {
3335
3343
  const h = { tags: [], entries: [...r] };
3336
3344
  await e.callHook("entries:resolve", h);
3337
- for (const a of h.entries) {
3338
- const v = a.resolvedInput || a.input;
3339
- if (a.resolvedInput = await (a.transform ? a.transform(v) : v), a.resolvedInput)
3340
- for (const m of await er(a)) {
3341
- const k = { tag: m, entry: a, resolvedOptions: d.resolvedOptions };
3345
+ for (const l of h.entries) {
3346
+ const v = l.resolvedInput || l.input;
3347
+ if (l.resolvedInput = await (l.transform ? l.transform(v) : v), l.resolvedInput)
3348
+ for (const m of await tr(l)) {
3349
+ const k = { tag: m, entry: l, resolvedOptions: d.resolvedOptions };
3342
3350
  await e.callHook("tag:normalise", k), h.tags.push(k.tag);
3343
3351
  }
3344
3352
  }
@@ -3347,54 +3355,54 @@ function br(t = {}) {
3347
3355
  ssr: o
3348
3356
  };
3349
3357
  return [
3350
- ar,
3351
3358
  lr,
3352
- cr,
3353
- hr,
3359
+ ur,
3360
+ fr,
3354
3361
  pr,
3355
- vr,
3362
+ mr,
3356
3363
  gr,
3357
3364
  yr,
3365
+ _r,
3358
3366
  ...t?.plugins || []
3359
3367
  ].forEach((h) => d.use(h)), d.hooks.callHook("init", d), d;
3360
3368
  }
3361
- const kr = Io.startsWith("3");
3362
- function Er(t) {
3363
- return typeof t == "function" ? t() : l(t);
3369
+ const Er = Io.startsWith("3");
3370
+ function Tr(t) {
3371
+ return typeof t == "function" ? t() : a(t);
3364
3372
  }
3365
3373
  function gt(t, e = "") {
3366
3374
  if (t instanceof Promise)
3367
3375
  return t;
3368
- const o = Er(t);
3376
+ const o = Tr(t);
3369
3377
  return !t || !o ? o : Array.isArray(o) ? o.map((i) => gt(i, e)) : typeof o == "object" ? Object.fromEntries(
3370
- Object.entries(o).map(([i, u]) => i === "titleTemplate" || i.startsWith("on") ? [i, l(u)] : [i, gt(u, i)])
3378
+ Object.entries(o).map(([i, u]) => i === "titleTemplate" || i.startsWith("on") ? [i, a(u)] : [i, gt(u, i)])
3371
3379
  ) : o;
3372
3380
  }
3373
- const Tr = {
3381
+ const Cr = {
3374
3382
  hooks: {
3375
3383
  "entries:resolve": function(t) {
3376
3384
  for (const e of t.entries)
3377
3385
  e.resolvedInput = gt(e.input);
3378
3386
  }
3379
3387
  }
3380
- }, Cr = "usehead";
3381
- function Sr(t) {
3388
+ }, Sr = "usehead";
3389
+ function $r(t) {
3382
3390
  return {
3383
3391
  install(o) {
3384
- kr && (o.config.globalProperties.$unhead = t, o.config.globalProperties.$head = t, o.provide(Cr, t));
3392
+ Er && (o.config.globalProperties.$unhead = t, o.config.globalProperties.$head = t, o.provide(Sr, t));
3385
3393
  }
3386
3394
  }.install;
3387
3395
  }
3388
3396
  function Ir(t = {}) {
3389
3397
  t.domDelayFn = t.domDelayFn || ((o) => Gt(() => setTimeout(() => o(), 0)));
3390
- const e = /* @__PURE__ */ _r(t);
3391
- return e.use(Tr), e.install = Sr(e), e;
3398
+ const e = /* @__PURE__ */ br(t);
3399
+ return e.use(Cr), e.install = $r(e), e;
3392
3400
  }
3393
- const $r = $o(), Lr = Ir(), ve = Lo({ components: { Hotel: Ln } });
3401
+ const Lr = Lo(), Ar = Ir(), ve = Ao({ components: { Hotel: An } });
3402
+ ve.use(Ar);
3394
3403
  ve.use(Lr);
3395
- ve.use($r);
3396
3404
  ve.use(oo);
3397
- ve.use(Ao);
3398
- ve.use(Do);
3399
- ve.use(Oo, { bootstrap: !0 });
3405
+ ve.use(Oo);
3406
+ ve.use(Mo);
3407
+ ve.use(Vo, { bootstrap: !0 });
3400
3408
  ve.mount("#konnectio-hotel-app");