@konnectio/core 4.0.56-rc4 → 4.0.56-rc5

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 (46) hide show
  1. package/dist/{ActionField-UFZMmHDy.js → ActionField--byx0Lp1.js} +27 -28
  2. package/dist/ActionField--byx0Lp1.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-cL6E9wAp.js +239 -0
  4. package/dist/AvailabilitySkeleton-cL6E9wAp.js.br +0 -0
  5. package/dist/{CheckoutWindow-2RMgPiGi.js → CheckoutWindow-_ZUCAYgm.js} +46 -47
  6. package/dist/CheckoutWindow-_ZUCAYgm.js.br +0 -0
  7. package/dist/{Container-XBRB0sOV.js → Container-6UeOakwz.js} +6 -7
  8. package/dist/Container-6UeOakwz.js.br +0 -0
  9. package/dist/{DateField.vue_vue_type_style_index_0_lang-o-uoh8_-.js → DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js} +5 -6
  10. package/dist/DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js.br +0 -0
  11. package/dist/{Field-uK3Wuuv6.js → Field-GdMucFcQ.js} +12 -13
  12. package/dist/Field-GdMucFcQ.js.br +5 -0
  13. package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js +27240 -0
  14. package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js.br +0 -0
  15. package/dist/{ThankYou-nz4vPX4O.js → ThankYou-9pzt2SfJ.js} +1829 -1670
  16. package/dist/ThankYou-9pzt2SfJ.js.br +0 -0
  17. package/dist/_-5uiOrU07.js +19 -0
  18. package/dist/_commonjsHelpers-4t9S7M5p.js +30 -0
  19. package/dist/availability.js +34 -35
  20. package/dist/availability.js.br +0 -0
  21. package/dist/{event--wgsUkQp.js → event-jnP6wH4w.js} +53 -54
  22. package/dist/event-jnP6wH4w.js.br +0 -0
  23. package/dist/event.js +212 -213
  24. package/dist/event.js.br +0 -0
  25. package/dist/gift-card-validation.js +57 -58
  26. package/dist/gift-card-validation.js.br +0 -0
  27. package/dist/gift-card.js +106 -107
  28. package/dist/gift-card.js.br +0 -0
  29. package/dist/hotel.js +916 -906
  30. package/dist/hotel.js.br +0 -0
  31. package/dist/polyfill.js +2 -2
  32. package/dist/polyfill.js.br +0 -0
  33. package/package.json +1 -1
  34. package/dist/ActionField-UFZMmHDy.js.br +0 -0
  35. package/dist/AvailabilitySkeleton-hVUJYdXH.js +0 -242
  36. package/dist/AvailabilitySkeleton-hVUJYdXH.js.br +0 -0
  37. package/dist/CheckoutWindow-2RMgPiGi.js.br +0 -0
  38. package/dist/Container-XBRB0sOV.js.br +0 -0
  39. package/dist/DateField.vue_vue_type_style_index_0_lang-o-uoh8_-.js.br +0 -0
  40. package/dist/Field-uK3Wuuv6.js.br +0 -0
  41. package/dist/SelectField.vue_vue_type_style_index_0_lang-3YCxOJhZ.js +0 -21472
  42. package/dist/SelectField.vue_vue_type_style_index_0_lang-3YCxOJhZ.js.br +0 -0
  43. package/dist/ThankYou-nz4vPX4O.js.br +0 -0
  44. package/dist/_-oPH7HiaC.js +0 -20
  45. package/dist/_commonjsHelpers-FF1eOqK0.js +0 -8
  46. package/dist/event--wgsUkQp.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,13 +1,13 @@
1
1
  var fo = Object.defineProperty, mo = Object.defineProperties;
2
2
  var go = Object.getOwnPropertyDescriptors;
3
- var Ze = Object.getOwnPropertySymbols;
3
+ var tt = Object.getOwnPropertySymbols;
4
4
  var vo = Object.prototype.hasOwnProperty, yo = Object.prototype.propertyIsEnumerable;
5
- var tt = Math.pow, et = (o, e, t) => e in o ? fo(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, Z = (o, e) => {
5
+ var nt = Math.pow, ot = (o, e, t) => e in o ? fo(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, ee = (o, e) => {
6
6
  for (var t in e || (e = {}))
7
- vo.call(e, t) && et(o, t, e[t]);
8
- if (Ze)
9
- for (var t of Ze(e))
10
- yo.call(e, t) && et(o, t, e[t]);
7
+ vo.call(e, t) && ot(o, t, e[t]);
8
+ if (tt)
9
+ for (var t of tt(e))
10
+ yo.call(e, t) && ot(o, t, e[t]);
11
11
  return o;
12
12
  }, ve = (o, e) => mo(o, go(e));
13
13
  var Q = (o, e, t) => new Promise((n, l) => {
@@ -26,18 +26,17 @@ var Q = (o, e, t) => new Promise((n, l) => {
26
26
  }, h = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(u, p);
27
27
  h((t = t.apply(o, e)).next());
28
28
  });
29
- import { defineComponent as N, useSlots as bo, openBlock as E, createBlock as A, unref as s, createSlots as ko, withCtx as H, renderSlot as xe, createElementVNode as v, toDisplayString as L, createElementBlock as $, Fragment as M, renderList as z, createCommentVNode as x, createTextVNode as qe, createVNode as I, computed as q, pushScopeId as yt, popScopeId as bt, ref as fe, onMounted as je, watch as Ee, normalizeClass as Te, Suspense as _o, withModifiers as ot, isRef as B, nextTick as kt, version as Eo, createApp as To } from "vue";
30
- import { l as re, s as K, c as ge, F as _t, G as ae, p as ne, w as nt, K as Io, M as pe, n as J, o as ie, j as Ce, _ as X, N as Et, k as Tt, C as ce, B as Co, Q as $o, I as It, r as it, T as oe, R as So, m as Lo, z as Vo, q as Po, t as xo, D as wo } from "./SelectField.vue_vue_type_style_index_0_lang-3YCxOJhZ.js";
31
- import { R as Ho, B as Ye, a as Oo, S as Ro, M as Do, T as Ao, x as Mo } from "./ThankYou-nz4vPX4O.js";
32
- import { C as zo } from "./Container-XBRB0sOV.js";
33
- import { A as Wo, H as Bo } from "./AvailabilitySkeleton-hVUJYdXH.js";
34
- import { _ as Fo } from "./DateField.vue_vue_type_style_index_0_lang-o-uoh8_-.js";
35
- import { C as Ue, P as qo, a as Uo } from "./CheckoutWindow-2RMgPiGi.js";
36
- import { E as Y } from "./_-oPH7HiaC.js";
37
- import { c as Ct, g as $t } from "./_commonjsHelpers-FF1eOqK0.js";
38
- import "./ActionField-UFZMmHDy.js";
39
- import "./Field-uK3Wuuv6.js";
40
- const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
29
+ import { k as j, F as re, al as bo, s as K, c as ge, aa as kt, ab as se, o as E, m as B, X as ko, z as a, w, D as we, x as v, H as V, M as ne, Z as it, am as _o, l as C, a4 as z, a3 as A, n as x, a6 as qe, an as pe, p as I, K as J, L as ie, f as q, y as Ce, Q as _t, R as Et, _ as X, r as fe, ao as Tt, B as Ye, a2 as Ee, A as It, C as ce, ap as Eo, a1 as To, q as Te, I as Ct, v as rt, T as oe, aq as Io, G as Co, a7 as $o, N as st, J as F, P as So, ar as $t, as as Vo, V as Lo, U as Po, W as xo, a9 as wo } from "./SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js";
30
+ import { R as Ho, B as Ke, a as Oo, S as Do, M as Ro, T as Mo, x as Bo } from "./ThankYou-9pzt2SfJ.js";
31
+ import { C as Ao } from "./Container-6UeOakwz.js";
32
+ import { A as zo, H as Wo } from "./AvailabilitySkeleton-cL6E9wAp.js";
33
+ import { _ as Fo } from "./DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js";
34
+ import { C as Ue, P as No, a as qo } from "./CheckoutWindow-_ZUCAYgm.js";
35
+ import { E as Y } from "./_-5uiOrU07.js";
36
+ import { c as St, g as Vt } from "./_commonjsHelpers-4t9S7M5p.js";
37
+ import "./ActionField--byx0Lp1.js";
38
+ import "./Field-GdMucFcQ.js";
39
+ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
41
40
  __name: "HotelReservationForm",
42
41
  props: {
43
42
  showGiftCard: { type: Boolean, default: !1 },
@@ -53,129 +52,128 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
53
52
  currency: d
54
53
  } = K(ge()), {
55
54
  arrivalDate: c,
56
- departureDate: g
57
- } = K(_t()), {
55
+ departureDate: m
56
+ } = K(kt()), {
58
57
  arrivalTime: y,
59
58
  departureTime: b,
60
- roomDisplay: r,
59
+ roomDisplay: s,
61
60
  templateID: k,
62
61
  totalPrice: _,
63
62
  areListingsLoading: f,
64
63
  getSelectedPackageRoom: i,
65
- selectedPackage: a,
66
- discountVouchers: m
67
- } = K(ae());
68
- ae();
69
- function T(C) {
70
- return C.reduce((V, { totalPrice: W }) => V + W, 0);
64
+ selectedPackage: r,
65
+ discountVouchers: g
66
+ } = K(se()), { removeRoom: T } = se();
67
+ function $(L) {
68
+ return L.reduce((D, { totalPrice: R }) => D + R, 0);
71
69
  }
72
- return (C, w) => (E(), A(Ho, {
73
- "total-price": s(_),
74
- "show-gift-card": C.showGiftCard,
75
- "show-terms-notice": C.showTermsNotice,
76
- "is-sidebar-loading": s(f),
77
- notice: s(e)("hotel.reservationNotice")
70
+ return (L, H) => (E(), B(Ho, {
71
+ "total-price": a(_),
72
+ "show-gift-card": L.showGiftCard,
73
+ "show-terms-notice": L.showTermsNotice,
74
+ "is-sidebar-loading": a(f),
75
+ notice: a(e)("hotel.reservationNotice")
78
76
  }, ko({
79
- form: H(() => [
80
- xe(C.$slots, "form")
77
+ form: w(() => [
78
+ we(L.$slots, "form")
81
79
  ]),
82
- "reservation-summary": H(() => [
80
+ "reservation-summary": w(() => [
83
81
  v("li", null, [
84
- v("span", null, L(s(e)("booking.reservation.arrival")), 1),
85
- v("b", null, L(s(n) ? s(ne)(s(c)) : `${s(ne)(s(c))}, ${s(l) ? s(p) : s(y)}`), 1)
82
+ v("span", null, V(a(e)("booking.reservation.arrival")), 1),
83
+ v("b", null, V(a(n) ? a(ne)(a(c)) : `${a(ne)(a(c))}, ${a(l) ? a(p) : a(y)}`), 1)
86
84
  ]),
87
85
  v("li", null, [
88
- v("span", null, L(s(e)("booking.reservation.departure")), 1),
89
- v("b", null, L(s(n) ? s(ne)(s(g)) : `${s(ne)(s(g))}, ${s(u) ? s(h) : s(b)}`), 1)
86
+ v("span", null, V(a(e)("booking.reservation.departure")), 1),
87
+ v("b", null, V(a(n) ? a(ne)(a(m)) : `${a(ne)(a(m))}, ${a(u) ? a(h) : a(b)}`), 1)
90
88
  ]),
91
89
  v("li", null, [
92
- v("span", null, L(s(e)("booking.reservation.nights")), 1),
93
- v("b", null, L(s(nt)(s(c), s(g))) + " " + L(s(Io)(s(nt)(s(c), s(g)) === 1 ? s(e)("booking.reservation.night") : s(e)("booking.reservation.nights"))), 1)
90
+ v("span", null, V(a(e)("booking.reservation.nights")), 1),
91
+ v("b", null, V(a(it)(a(c), a(m))) + " " + V(a(_o)(a(it)(a(c), a(m)) === 1 ? a(e)("booking.reservation.night") : a(e)("booking.reservation.nights"))), 1)
94
92
  ]),
95
- s(m) ? (E(!0), $(M, { key: 0 }, z(s(m), (V) => (E(), $("li", {
96
- key: V.id
93
+ a(g) ? (E(!0), C(A, { key: 0 }, z(a(g), (D) => (E(), C("li", {
94
+ key: D.id
97
95
  }, [
98
- v("span", null, L(`${s(e)("general.discountCode")} (${V.value})`), 1),
99
- v("b", null, L(V.key), 1)
96
+ v("span", null, V(`${a(e)("general.discountCode")} (${D.value})`), 1),
97
+ v("b", null, V(D.key), 1)
100
98
  ]))), 128)) : x("", !0)
101
99
  ]),
102
- "price-summary": H(() => [
103
- isNaN(s(k)) && s(r).length > 0 ? (E(!0), $(M, { key: 0 }, z(s(r), ({
104
- roomGroupID: V,
105
- title: W,
106
- variants: D
107
- }) => (E(), $("div", { key: V }, [
100
+ "price-summary": w(() => [
101
+ isNaN(a(k)) && a(s).length > 0 ? (E(!0), C(A, { key: 0 }, z(a(s), ({
102
+ roomGroupID: D,
103
+ title: R,
104
+ variants: W
105
+ }) => (E(), C("div", { key: D }, [
108
106
  v("h6", null, [
109
- v("span", null, L(W), 1)
107
+ v("span", null, V(R), 1)
110
108
  ]),
111
- (E(!0), $(M, null, z(D, (G, ee) => (E(), $("div", { key: ee }, [
112
- (E(!0), $(M, null, z(G.rooms, (j, se) => (E(), $("ul", { key: se }, [
109
+ (E(!0), C(A, null, z(W, (Z, le) => (E(), C("div", { key: le }, [
110
+ (E(!0), C(A, null, z(Z.rooms, (U, $e) => (E(), C("ul", { key: $e }, [
113
111
  v("li", null, [
114
112
  v("span", null, [
115
113
  v("span", null, [
116
- qe(L(s(pe)(G.name)) + " ( ", 1),
114
+ qe(V(a(pe)(Z.name)) + " ( ", 1),
117
115
  I(J, {
118
116
  icon: "male",
119
117
  type: "fas",
120
118
  color: "font"
121
119
  }),
122
- v("span", null, L(j.adultsCount), 1),
123
- j.childrenCount > 0 ? (E(), $(M, { key: 0 }, [
120
+ v("span", null, V(U.adultsCount), 1),
121
+ U.childrenCount > 0 ? (E(), C(A, { key: 0 }, [
124
122
  I(J, {
125
123
  icon: "child",
126
124
  type: "fas",
127
125
  color: "font"
128
126
  }),
129
- v("span", null, L(j.childrenCount), 1)
127
+ v("span", null, V(U.childrenCount), 1)
130
128
  ], 64)) : x("", !0),
131
129
  qe(") ")
132
130
  ])
133
131
  ]),
134
132
  v("b", null, [
135
- v("span", null, L(s(ie)(j.totalPrice, s(d))), 1),
133
+ v("span", null, V(a(ie)(U.totalPrice, a(d))), 1),
136
134
  x("", !0)
137
135
  ])
138
136
  ]),
139
- T(j.roomAddons) > 0 ? (E(), $("li", No, [
140
- v("span", null, L(s(e)("booking.reservation.addons")), 1),
141
- v("b", null, L(s(ie)(T(j.roomAddons), s(d))), 1)
137
+ $(U.roomAddons) > 0 ? (E(), C("li", Uo, [
138
+ v("span", null, V(a(e)("booking.reservation.addons")), 1),
139
+ v("b", null, V(a(ie)($(U.roomAddons), a(d))), 1)
142
140
  ])) : x("", !0)
143
141
  ]))), 128))
144
142
  ]))), 128))
145
143
  ]))), 128)) : x("", !0),
146
- s(i) && s(a) ? (E(), $("div", Go, [
144
+ a(i) && a(r) ? (E(), C("div", Go, [
147
145
  v("h6", null, [
148
- v("span", null, L(s(pe)(s(a).name)), 1)
146
+ v("span", null, V(a(pe)(a(r).name)), 1)
149
147
  ]),
150
148
  v("div", null, [
151
149
  v("ul", null, [
152
150
  v("li", null, [
153
151
  v("span", null, [
154
- v("span", null, L(s(pe)(s(i).title)), 1)
152
+ v("span", null, V(a(pe)(a(i).title)), 1)
155
153
  ]),
156
154
  v("b", null, [
157
- v("span", null, L(s(ie)(s(i).extraPrice, s(d))), 1)
155
+ v("span", null, V(a(ie)(a(i).extraPrice, a(d))), 1)
158
156
  ])
159
157
  ])
160
158
  ])
161
159
  ])
162
160
  ])) : x("", !0)
163
161
  ]),
164
- navigation: H(() => [
165
- xe(C.$slots, "navigation")
162
+ navigation: w(() => [
163
+ we(L.$slots, "navigation")
166
164
  ]),
167
165
  _: 2
168
166
  }, [
169
- s(t).addons ? {
167
+ a(t).addons ? {
170
168
  name: "addons",
171
- fn: H(() => [
172
- xe(C.$slots, "addons")
169
+ fn: w(() => [
170
+ we(L.$slots, "addons")
173
171
  ]),
174
172
  key: "0"
175
173
  } : void 0
176
174
  ]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
177
175
  }
178
- }), jo = (o) => (yt("data-v-69fe83d8"), o = o(), bt(), o), Yo = { class: "konnectio-room-config-option" }, Ko = { key: 0 }, Qo = { class: "konnectio-selected-room-config" }, Jo = { class: "konnectio-selected-room-config-people" }, Xo = { key: 0 }, Zo = { class: "konnectio-selected-room-config-price" }, en = /* @__PURE__ */ jo(() => /* @__PURE__ */ v("span", null, null, -1)), tn = /* @__PURE__ */ N({
176
+ }), jo = (o) => (_t("data-v-69fe83d8"), o = o(), Et(), o), Yo = { class: "konnectio-room-config-option" }, Ko = { key: 0 }, Qo = { class: "konnectio-selected-room-config" }, Jo = { class: "konnectio-selected-room-config-people" }, Xo = { key: 0 }, Zo = { class: "konnectio-selected-room-config-price" }, en = /* @__PURE__ */ jo(() => /* @__PURE__ */ v("span", null, null, -1)), tn = /* @__PURE__ */ j({
179
177
  __name: "RoomConfigField",
180
178
  props: {
181
179
  modelValue: {},
@@ -194,9 +192,9 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
194
192
  get: () => u.modelValue,
195
193
  set: (d) => p(d)
196
194
  });
197
- return (d, c) => (E(), A(Ce, {
195
+ return (d, c) => (E(), B(Ce, {
198
196
  modelValue: h.value,
199
- "onUpdate:modelValue": c[0] || (c[0] = (g) => h.value = g),
197
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => h.value = m),
200
198
  label: d.label,
201
199
  placeholder: "Select guest configuration",
202
200
  labelKey: "label",
@@ -207,7 +205,7 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
207
205
  required: d.required,
208
206
  searchable: !1
209
207
  }, {
210
- option: H(({ data: g }) => [
208
+ option: w(({ data: m }) => [
211
209
  v("span", Yo, [
212
210
  v("div", null, [
213
211
  I(J, {
@@ -215,71 +213,80 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
215
213
  type: "fas",
216
214
  color: "font"
217
215
  }),
218
- v("span", null, L(`${g.adults}`), 1),
219
- g.children > 0 ? (E(), $("span", Ko, [
216
+ v("span", null, V(`${m.adults}`), 1),
217
+ m.children > 0 ? (E(), C("span", Ko, [
220
218
  I(J, {
221
219
  icon: "child",
222
220
  type: "fas",
223
221
  color: "font"
224
222
  }),
225
- v("span", null, L(`${g.children}`), 1)
223
+ v("span", null, V(`${m.children}`), 1)
226
224
  ])) : x("", !0)
227
225
  ]),
228
- v("span", null, L(`(${s(ie)(g.price, s(n))})`), 1)
226
+ v("span", null, V(`(${a(ie)(m.price, a(n))})`), 1)
229
227
  ])
230
228
  ]),
231
- "selected-option": H(({ data: g }) => [
229
+ "selected-option": w(({ data: m }) => [
232
230
  v("div", Qo, [
233
231
  v("div", Jo, [
234
232
  v("div", null, [
235
233
  x("", !0),
236
- v("span", null, L(`${g.adults} ${g.adults === 1 ? s(t)("general.adult") : s(t)("general.adults")}`), 1)
234
+ v("span", null, V(`${m.adults} ${m.adults === 1 ? a(t)("general.adult") : a(t)("general.adults")}`), 1)
237
235
  ]),
238
- g.children > 0 ? (E(), $("div", Xo, [
236
+ m.children > 0 ? (E(), C("div", Xo, [
239
237
  x("", !0),
240
- v("span", null, L(`& ${g.children} ${g.children === 1 ? s(t)("general.child") : s(t)("general.children")}`), 1)
238
+ v("span", null, V(`& ${m.children} ${m.children === 1 ? a(t)("general.child") : a(t)("general.children")}`), 1)
241
239
  ])) : x("", !0)
242
240
  ]),
243
241
  v("div", Zo, [
244
242
  en,
245
- qe(" " + L(`(${s(ie)(g.price, s(n))})`), 1)
243
+ qe(" " + V(`(${a(ie)(m.price, a(n))})`), 1)
246
244
  ])
247
245
  ])
248
246
  ]),
249
247
  _: 1
250
248
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
251
249
  }
252
- }), on = /* @__PURE__ */ X(tn, [["__scopeId", "data-v-69fe83d8"]]), nn = { class: "konnectio-availability-listing-selection" }, rn = { key: 1 }, sn = { class: "fresh-booking-listing-config-body" }, an = { class: "fresh-booking-listing-units-body" }, ln = /* @__PURE__ */ N({
250
+ }), on = /* @__PURE__ */ X(tn, [["__scopeId", "data-v-69fe83d8"]]), nn = { class: "konnectio-availability-listing-selection" }, rn = { key: 1 }, sn = { class: "fresh-booking-listing-config-body" }, an = { class: "fresh-booking-listing-units-body" };
251
+ const ln = /* @__PURE__ */ j({
253
252
  __name: "Hotel",
254
253
  props: {
255
254
  room: {},
256
255
  layout: {}
257
256
  },
258
257
  setup(o) {
259
- const { t: e } = re(), t = o, n = fe([]), l = q(() => t.room.rates.map((i) => ({
260
- label: i.name,
261
- value: i.id
262
- }))), { hideAvailableRoomAmount: u } = K(ge()), { roomSelect: p } = K(ae()), { addToCart: h, removeFromCart: d } = Et(), c = (i, a) => {
263
- var m;
264
- return (m = t.room.rates.find((T) => T.id === i)) == null ? void 0 : m.occupantRates.find((T) => T.index === a);
265
- }, g = q(() => t.room.rates.reduce(
266
- (i, a) => i < a.rackRate ? i : a.rackRate,
258
+ const { t: e } = re(), t = o, n = fe([]);
259
+ function l(r) {
260
+ n.value[r].config.push({
261
+ id: NaN,
262
+ units: 0,
263
+ addons: []
264
+ });
265
+ }
266
+ const u = q(() => t.room.rates.map((r) => ({
267
+ label: r.name,
268
+ value: r.id
269
+ }))), { hideAvailableRoomAmount: p } = K(ge()), { roomSelect: h } = K(se()), { addToCart: d, removeFromCart: c } = Tt(), m = (r, g) => {
270
+ var T;
271
+ return (T = t.room.rates.find(($) => $.id === r)) == null ? void 0 : T.occupantRates.find(($) => $.index === g);
272
+ }, y = q(() => t.room.rates.reduce(
273
+ (r, g) => r < g.rackRate ? r : g.rackRate,
267
274
  1 / 0
268
- )), y = q(() => t.room.rates.every((i) => i.isBreakfastIncluded === !0)), b = (i, a) => {
269
- var m;
270
- return c(i, a) ? (m = c(i, a)) == null ? void 0 : m.rooms : null;
271
- }, r = (i) => {
272
- var a;
273
- return t.room.rates.length > 0 ? ((a = t.room.rates.find((m) => m.id === i)) == null ? void 0 : a.occupantRates.map((m) => ({
274
- value: m.index,
275
- price: m.totalPrice,
276
- adults: m.adultsCount,
277
- children: m.childrenCount,
278
- hasBreakfast: m.hasBreakfast
275
+ )), b = q(() => t.room.rates.every((r) => r.isBreakfastIncluded === !0)), s = (r, g) => {
276
+ var T;
277
+ return m(r, g) ? (T = m(r, g)) == null ? void 0 : T.rooms : null;
278
+ }, k = (r) => {
279
+ var g;
280
+ return t.room.rates.length > 0 ? ((g = t.room.rates.find((T) => T.id === r)) == null ? void 0 : g.occupantRates.map((T) => ({
281
+ value: T.index,
282
+ price: T.totalPrice,
283
+ adults: T.adultsCount,
284
+ children: T.childrenCount,
285
+ hasBreakfast: T.hasBreakfast
279
286
  }))) || [] : [];
280
- }, k = q(() => t.room.rates.length > 1);
281
- function _() {
282
- k.value ? n.value.push({
287
+ }, _ = q(() => t.room.rates.length > 1);
288
+ function f() {
289
+ _.value ? n.value.push({
283
290
  id: void 0,
284
291
  config: [{
285
292
  id: t.room.rates[0].occupantRateIndex || NaN,
@@ -295,87 +302,87 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
295
302
  }]
296
303
  });
297
304
  }
298
- je(() => {
299
- _();
305
+ Ye(() => {
306
+ f();
300
307
  });
301
- const f = q(() => JSON.parse(JSON.stringify(n.value)));
302
- return Ee(f, (i, a) => {
303
- a.length > 0 && i.forEach((m, T) => {
304
- m.config.forEach((C, w) => {
305
- const V = C.units, W = a[T].config[w].units;
306
- V !== W && (V > W ? (n.value[T].config[w].addons.push({}), h({
308
+ const i = q(() => JSON.parse(JSON.stringify(n.value)));
309
+ return Ee(i, (r, g) => {
310
+ g.length > 0 && r.forEach((T, $) => {
311
+ T.config.forEach((L, H) => {
312
+ const D = L.units, R = g[$].config[H].units;
313
+ D !== R && (D > R ? (n.value[$].config[H].addons.push({}), d({
307
314
  id: t.room.id,
308
315
  name: t.room.title,
309
- value: t.room.rates[T].rackRate
310
- })) : (n.value[T].config[w].addons.pop(), d({
316
+ value: t.room.rates[$].rackRate
317
+ })) : (n.value[$].config[H].addons.pop(), c({
311
318
  id: t.room.id,
312
319
  name: t.room.title,
313
- value: t.room.rates[T].rackRate
320
+ value: t.room.rates[$].rackRate
314
321
  })));
315
322
  });
316
323
  });
317
324
  }, { deep: !0 }), Ee(n, () => {
318
- p.value[t.room.id] = n.value;
319
- }, { deep: !0 }), (i, a) => (E(), A(Ye, {
320
- "listing-id": i.room.id,
321
- gallery: i.room.images,
322
- name: i.room.title,
323
- description: i.room.description,
324
- layout: i.layout,
325
- facilities: i.room.facilities,
326
- "prices-from": g.value,
327
- "includes-breakfast": y.value
325
+ h.value[t.room.id] = n.value;
326
+ }, { deep: !0 }), (r, g) => (E(), B(Ke, {
327
+ "listing-id": r.room.id,
328
+ gallery: r.room.images,
329
+ name: r.room.title,
330
+ description: r.room.description,
331
+ layout: r.layout,
332
+ facilities: r.room.facilities,
333
+ "prices-from": y.value,
334
+ "includes-breakfast": b.value
328
335
  }, {
329
- action: H(() => [
336
+ action: w(() => [
330
337
  v("div", nn, [
331
- (E(!0), $(M, null, z(n.value, (m, T) => (E(), $("div", {
332
- key: m.id,
338
+ (E(!0), C(A, null, z(n.value, (T, $) => (E(), C("div", {
339
+ key: T.id,
333
340
  class: "freshbooking-hotel-room"
334
341
  }, [
335
- k.value ? (E(), A(Ce, {
342
+ _.value ? (E(), B(Ce, {
336
343
  key: 0,
337
- modelValue: m.id,
338
- "onUpdate:modelValue": (C) => m.id = C,
339
- label: s(e)("hotel.roomVariant"),
340
- placeholder: s(e)("hotel.chooseARoomVariant"),
341
- options: l.value,
344
+ modelValue: T.id,
345
+ "onUpdate:modelValue": (L) => T.id = L,
346
+ label: a(e)("hotel.roomVariant"),
347
+ placeholder: a(e)("hotel.chooseARoomVariant"),
348
+ options: u.value,
342
349
  searchable: !1
343
350
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : x("", !0),
344
- m.id ? (E(), $("div", rn, [
345
- (E(!0), $(M, null, z(i.room.rates, ({
346
- id: C,
347
- maximumOccupants: w
348
- }) => (E(), $("div", {
349
- key: C,
351
+ T.id ? (E(), C("div", rn, [
352
+ (E(!0), C(A, null, z(r.room.rates, ({
353
+ id: L,
354
+ maximumOccupants: H
355
+ }) => (E(), C("div", {
356
+ key: L,
350
357
  class: "booking-availability-listing-action-selective-i"
351
358
  }, [
352
- m.id === C ? (E(!0), $(M, { key: 0 }, z(m.config, (V, W) => (E(), $("div", {
353
- key: W,
359
+ T.id === L ? (E(!0), C(A, { key: 0 }, z(T.config, (D, R) => (E(), C("div", {
360
+ key: R,
354
361
  class: "booking-availability-listing-action-selective"
355
362
  }, [
356
363
  v("ul", sn, [
357
364
  I(on, {
358
- modelValue: V.id,
359
- "onUpdate:modelValue": (D) => V.id = D,
365
+ modelValue: D.id,
366
+ "onUpdate:modelValue": (W) => D.id = W,
360
367
  icon: "male",
361
368
  "icon-type": "fas",
362
- label: s(e)("general.guests"),
363
- description: `${s(e)("general.maximumGuests")}: ${w}`,
364
- options: r(C),
365
- readonly: !(r(C).length > 1)
369
+ label: a(e)("general.guests"),
370
+ description: `${a(e)("general.maximumGuests")}: ${H}`,
371
+ options: k(L),
372
+ readonly: !(k(L).length > 1)
366
373
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
367
374
  ]),
368
375
  v("ul", an, [
369
- I(Tt, {
370
- modelValue: V.units,
371
- "onUpdate:modelValue": (D) => V.units = D,
372
- description: s(u) ? void 0 : `${s(e)("booking.availability.availableUnits")}: ${b(m.id, V.id)}`,
376
+ I(It, {
377
+ modelValue: D.units,
378
+ "onUpdate:modelValue": (W) => D.units = W,
379
+ description: a(p) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${s(T.id, D.id)}`,
373
380
  icon: "house",
374
381
  "icon-type": "fas",
375
382
  "icon-placement": "label",
376
- label: s(e)("booking.availability.units"),
383
+ label: a(e)("booking.availability.units"),
377
384
  minValue: 0,
378
- "max-value": b(C, V.id) || 1 / 0
385
+ "max-value": s(L, D.id) || 1 / 0
379
386
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
380
387
  ]),
381
388
  x("", !0)
@@ -388,7 +395,7 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
388
395
  _: 1
389
396
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
390
397
  }
391
- }), un = /* @__PURE__ */ X(ln, [["__scopeId", "data-v-9ea89f13"]]), dn = { class: "konnectio-template-side-panel" }, cn = { class: "konnectio-template-side-panel-listings" }, pn = /* @__PURE__ */ N({
398
+ }), un = /* @__PURE__ */ X(ln, [["__scopeId", "data-v-9ea89f13"]]), dn = { class: "konnectio-template-side-panel" }, cn = { class: "konnectio-template-side-panel-listings" }, pn = /* @__PURE__ */ j({
392
399
  __name: "Template",
393
400
  props: {
394
401
  title: {},
@@ -397,39 +404,39 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
397
404
  callback: { type: Function }
398
405
  },
399
406
  setup(o) {
400
- const { t: e } = re(), { templateID: t, roomGroupID: n } = K(ae()), { currency: l } = K(ge()), { clearRoomSelection: u } = ae(), p = o;
407
+ const { t: e } = re(), { templateID: t, roomGroupID: n } = K(se()), { currency: l } = K(ge()), { clearRoomSelection: u } = se(), p = o;
401
408
  function h(d) {
402
409
  t.value = p.templateId, n.value = d, u(), p.callback(2);
403
410
  }
404
- return (d, c) => (E(), A(Oo, {
411
+ return (d, c) => (E(), B(Oo, {
405
412
  title: d.title,
406
- subtitle: s(e)("booking.availability.selectATemplateRoom")
413
+ subtitle: a(e)("booking.availability.selectATemplateRoom")
407
414
  }, {
408
- default: H(() => [
415
+ default: w(() => [
409
416
  v("div", dn, [
410
417
  v("div", cn, [
411
- (E(!0), $(M, null, z(d.roomGroups, ({
412
- id: g,
418
+ (E(!0), C(A, null, z(d.roomGroups, ({
419
+ id: m,
413
420
  title: y,
414
421
  description: b,
415
- images: r,
422
+ images: s,
416
423
  facilities: k,
417
424
  extraPrice: _
418
- }) => (E(), A(Ye, {
419
- key: g,
420
- "listing-id": g,
425
+ }) => (E(), B(Ke, {
426
+ key: m,
427
+ "listing-id": m,
421
428
  name: y,
422
429
  description: b,
423
430
  facilities: k,
424
- gallery: r,
431
+ gallery: s,
425
432
  "includes-breakfast": !1,
426
433
  "hide-info-button": !0
427
434
  }, {
428
- action: H(() => [
435
+ action: w(() => [
429
436
  v("div", null, [
430
437
  I(ce, {
431
- onClickEvent: (f) => h(g),
432
- label: `${s(e)("booking.availability.selectThisRoom")} (${s(ie)(_, s(l))})`,
438
+ onClickEvent: (f) => h(m),
439
+ label: `${a(e)("booking.availability.selectThisRoom")} (${a(ie)(_, a(l))})`,
433
440
  "full-width": ""
434
441
  }, null, 8, ["onClickEvent", "label"])
435
442
  ])
@@ -442,7 +449,7 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
442
449
  _: 1
443
450
  }, 8, ["title", "subtitle"]));
444
451
  }
445
- }), hn = /* @__PURE__ */ X(pn, [["__scopeId", "data-v-4c035ea3"]]), fn = ["innerHTML"], mn = /* @__PURE__ */ N({
452
+ }), hn = /* @__PURE__ */ X(pn, [["__scopeId", "data-v-4c035ea3"]]), fn = ["innerHTML"], mn = /* @__PURE__ */ j({
446
453
  __name: "Template",
447
454
  props: {
448
455
  id: {},
@@ -469,35 +476,35 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
469
476
  function h(d) {
470
477
  t.callback(d), u.value = !1;
471
478
  }
472
- return (d, c) => (E(), A(Ye, {
479
+ return (d, c) => (E(), B(Ke, {
473
480
  "listing-id": d.id,
474
481
  name: d.name,
475
482
  description: d.description,
476
483
  gallery: l.value,
477
- layout: s(Co).Template,
484
+ layout: a(To).Template,
478
485
  "includes-breakfast": !1,
479
486
  "hide-info-button": !1,
480
487
  "prices-from": n.value
481
488
  }, {
482
- description: H(() => [
483
- d.description ? (E(), $("p", {
489
+ description: w(() => [
490
+ d.description ? (E(), C("p", {
484
491
  key: 0,
485
- innerHTML: s($o)(d.description)
492
+ innerHTML: a(Eo)(d.description)
486
493
  }, null, 8, fn)) : x("", !0)
487
494
  ]),
488
- action: H(() => [
495
+ action: w(() => [
489
496
  v("div", null, [
490
497
  I(ce, {
491
498
  onClickEvent: p,
492
- label: s(e)("booking.availability.selectPackage"),
499
+ label: a(e)("booking.availability.selectPackage"),
493
500
  "full-width": ""
494
501
  }, null, 8, ["label"])
495
502
  ])
496
503
  ]),
497
- default: H(() => [
504
+ default: w(() => [
498
505
  I(hn, {
499
506
  modelValue: u.value,
500
- "onUpdate:modelValue": c[0] || (c[0] = (g) => u.value = g),
507
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => u.value = m),
501
508
  title: d.name,
502
509
  "template-id": d.id,
503
510
  roomGroups: d.roomGroups,
@@ -507,7 +514,7 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
507
514
  _: 1
508
515
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
509
516
  }
510
- }), gn = /* @__PURE__ */ X(mn, [["__scopeId", "data-v-edc2f058"]]), rt = /* @__PURE__ */ N({
517
+ }), gn = /* @__PURE__ */ X(mn, [["__scopeId", "data-v-edc2f058"]]), at = /* @__PURE__ */ j({
511
518
  __name: "TimeField",
512
519
  props: {
513
520
  modelValue: {},
@@ -539,7 +546,7 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
539
546
  const u = fe(n.modelValue);
540
547
  return Ee(u, (p) => {
541
548
  l(p);
542
- }), (p, h) => (E(), A(Fo, {
549
+ }), (p, h) => (E(), B(Fo, {
543
550
  modelValue: u.value,
544
551
  "onUpdate:modelValue": h[0] || (h[0] = (d) => u.value = d),
545
552
  type: "time",
@@ -554,7 +561,7 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
554
561
  readonly: p.readonly
555
562
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
556
563
  }
557
- }), vn = { style: { display: "flex", "align-items": "baseline" } }, yn = /* @__PURE__ */ N({
564
+ }), vn = { style: { display: "flex", "align-items": "baseline" } }, yn = /* @__PURE__ */ j({
558
565
  __name: "CountryField",
559
566
  props: {
560
567
  modelValue: {},
@@ -574,34 +581,34 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
574
581
  get: () => l.modelValue,
575
582
  set: (h) => u(h)
576
583
  });
577
- return (h, d) => (E(), A(Ce, {
584
+ return (h, d) => (E(), B(Ce, {
578
585
  modelValue: p.value,
579
586
  "onUpdate:modelValue": d[0] || (d[0] = (c) => p.value = c),
580
587
  label: h.label,
581
- placeholder: s(t)("booking.reservation.countryPlaceholder"),
588
+ placeholder: a(t)("booking.reservation.countryPlaceholder"),
582
589
  labelKey: "name",
583
590
  valueKey: "id",
584
591
  options: h.options,
585
592
  required: h.required
586
593
  }, {
587
- option: H(({ data: c }) => [
594
+ option: w(({ data: c }) => [
588
595
  v("i", {
589
596
  class: Te(["konnectio-flag-icon", c.iso])
590
597
  }, null, 2),
591
- v("span", null, L(c.name), 1)
598
+ v("span", null, V(c.name), 1)
592
599
  ]),
593
- "selected-option": H(({ data: c }) => [
600
+ "selected-option": w(({ data: c }) => [
594
601
  v("div", vn, [
595
602
  v("i", {
596
603
  class: Te(["konnectio-flag-icon", c.iso])
597
604
  }, null, 2),
598
- v("span", null, L(c.name), 1)
605
+ v("span", null, V(c.name), 1)
599
606
  ])
600
607
  ]),
601
608
  _: 1
602
609
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
603
610
  }
604
- }), bn = /* @__PURE__ */ X(yn, [["__scopeId", "data-v-1462612d"]]), kn = { class: "konnectio-radio-checkboxes" }, _n = /* @__PURE__ */ N({
611
+ }), bn = /* @__PURE__ */ X(yn, [["__scopeId", "data-v-1462612d"]]), kn = { class: "konnectio-radio-checkboxes" }, _n = /* @__PURE__ */ j({
605
612
  __name: "CheckboxField",
606
613
  props: {
607
614
  modelValue: {},
@@ -619,13 +626,13 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
619
626
  get: () => n.modelValue,
620
627
  set: (p) => l(p)
621
628
  });
622
- return (p, h) => (E(), A(It, {
629
+ return (p, h) => (E(), B(Ct, {
623
630
  label: p.label,
624
631
  type: "multi-radio"
625
632
  }, {
626
- default: H(() => [
633
+ default: w(() => [
627
634
  v("ul", kn, [
628
- (E(!0), $(M, null, z(p.checkboxes, ({ label: d, value: c }, g) => (E(), $("li", { key: g }, [
635
+ (E(!0), C(A, null, z(p.checkboxes, ({ label: d, value: c }, m) => (E(), C("li", { key: m }, [
629
636
  I(Ue, {
630
637
  modelValue: u.value,
631
638
  "onUpdate:modelValue": h[0] || (h[0] = (y) => u.value = y),
@@ -640,7 +647,7 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
640
647
  _: 1
641
648
  }, 8, ["label"]));
642
649
  }
643
- }), En = /* @__PURE__ */ X(_n, [["__scopeId", "data-v-d8d42a8a"]]), Tn = /* @__PURE__ */ N({
650
+ }), En = /* @__PURE__ */ X(_n, [["__scopeId", "data-v-d8d42a8a"]]), Tn = /* @__PURE__ */ j({
644
651
  __name: "NameField",
645
652
  props: {
646
653
  modelValue: {},
@@ -662,7 +669,7 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
662
669
  },
663
670
  emits: ["update:modelValue", "update:title"],
664
671
  setup(o, { emit: e }) {
665
- const t = o, n = e, l = t.id || it(), u = fe(""), p = fe(2);
672
+ const t = o, n = e, l = t.id || rt(), u = fe(""), p = fe(2);
666
673
  function h() {
667
674
  n("update:modelValue", u.value);
668
675
  }
@@ -670,50 +677,50 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
670
677
  n("update:title", c);
671
678
  });
672
679
  const { t: d } = re();
673
- return je(() => {
680
+ return Ye(() => {
674
681
  t.modelValue && (u.value = t.modelValue), t.title && (p.value = t.title);
675
- }), (c, g) => (E(), A(It, {
682
+ }), (c, m) => (E(), B(Ct, {
676
683
  label: c.label,
677
- id: s(l),
684
+ id: a(l),
678
685
  required: c.required,
679
686
  type: "fresh-booking-name-field",
680
687
  readonly: c.readonly,
681
688
  limit: c.limit
682
689
  }, {
683
- default: H(() => [
690
+ default: w(() => [
684
691
  v("div", {
685
692
  class: Te([
686
693
  "fresh-booking-name-input",
687
694
  { "no-title": c.excludeTitle }
688
695
  ])
689
696
  }, [
690
- c.excludeTitle ? x("", !0) : (E(), A(Ce, {
697
+ c.excludeTitle ? x("", !0) : (E(), B(Ce, {
691
698
  key: 0,
692
699
  modelValue: p.value,
693
- "onUpdate:modelValue": g[0] || (g[0] = (y) => p.value = y),
694
- id: s(it)(),
700
+ "onUpdate:modelValue": m[0] || (m[0] = (y) => p.value = y),
701
+ id: a(rt)(),
695
702
  icon: c.icon,
696
703
  "icon-color": c.iconColor,
697
704
  "icon-type": c.iconType,
698
705
  options: [
699
706
  {
700
- label: s(d)("booking.reservation.noNameTitle"),
707
+ label: a(d)("booking.reservation.noNameTitle"),
701
708
  value: 1
702
709
  },
703
710
  {
704
- label: s(d)("booking.reservation.nameTitleMr"),
711
+ label: a(d)("booking.reservation.nameTitleMr"),
705
712
  value: 2
706
713
  },
707
714
  {
708
- label: s(d)("booking.reservation.nameTitleMs"),
715
+ label: a(d)("booking.reservation.nameTitleMs"),
709
716
  value: 3
710
717
  },
711
718
  {
712
- label: s(d)("booking.reservation.nameTitleMrs"),
719
+ label: a(d)("booking.reservation.nameTitleMrs"),
713
720
  value: 4
714
721
  },
715
722
  {
716
- label: s(d)("booking.reservation.nameTitleDr"),
723
+ label: a(d)("booking.reservation.nameTitleDr"),
717
724
  value: 5
718
725
  }
719
726
  ],
@@ -724,11 +731,11 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
724
731
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
725
732
  I(oe, {
726
733
  modelValue: u.value,
727
- "onUpdate:modelValue": g[1] || (g[1] = (y) => u.value = y),
734
+ "onUpdate:modelValue": m[1] || (m[1] = (y) => u.value = y),
728
735
  type: "text",
729
736
  name: "name",
730
737
  autocomplete: "name",
731
- id: s(l),
738
+ id: a(l),
732
739
  icon: c.excludeTitle ? c.icon : void 0,
733
740
  "icon-color": c.iconColor,
734
741
  "icon-type": c.iconType,
@@ -736,7 +743,7 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
736
743
  required: c.required,
737
744
  readonly: c.readonly,
738
745
  limit: c.limit,
739
- onInput: g[2] || (g[2] = (y) => h()),
746
+ onInput: m[2] || (m[2] = (y) => h()),
740
747
  "input-style": c.inputStyle
741
748
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
742
749
  ], 2)
@@ -744,25 +751,25 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
744
751
  _: 1
745
752
  }, 8, ["label", "id", "required", "readonly", "limit"]));
746
753
  }
747
- }), In = /* @__PURE__ */ X(Tn, [["__scopeId", "data-v-78b0b319"]]), Cn = { class: "hotel-listing" }, $n = { class: "hotel-listing-content-gallery" }, Sn = { class: "hotel-listing-content-thumbs" }, Ln = { class: "hotel-listing-content" }, Vn = { class: "hotel-listing-content-header" }, Pn = { class: "hotel-listing-content-title" }, xn = { class: "hotel-listing-content-body" }, wn = { class: "hotel-listing-content-facilities" }, Hn = /* @__PURE__ */ N({
754
+ }), In = /* @__PURE__ */ X(Tn, [["__scopeId", "data-v-78b0b319"]]), Cn = { class: "hotel-listing" }, $n = { class: "hotel-listing-content-gallery" }, Sn = { class: "hotel-listing-content-thumbs" }, Vn = { class: "hotel-listing-content" }, Ln = { class: "hotel-listing-content-header" }, Pn = { class: "hotel-listing-content-title" }, xn = { class: "hotel-listing-content-body" }, wn = { class: "hotel-listing-content-facilities" }, Hn = /* @__PURE__ */ j({
748
755
  __name: "Listing",
749
756
  setup(o) {
750
- return (e, t) => (E(), $("div", Cn, [
757
+ return (e, t) => (E(), C("div", Cn, [
751
758
  v("div", $n, [
752
759
  I(Y, {
753
760
  width: "280px",
754
761
  height: "153px"
755
762
  }),
756
763
  v("div", Sn, [
757
- (E(), $(M, null, z(3, (n) => I(Y, {
764
+ (E(), C(A, null, z(3, (n) => I(Y, {
758
765
  key: n,
759
766
  width: "84px",
760
767
  height: "44px"
761
768
  })), 64))
762
769
  ])
763
770
  ]),
764
- v("div", Ln, [
765
- v("div", Vn, [
771
+ v("div", Vn, [
772
+ v("div", Ln, [
766
773
  v("div", Pn, [
767
774
  I(Y, {
768
775
  height: "30px",
@@ -790,7 +797,7 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
790
797
  })
791
798
  ]),
792
799
  v("div", wn, [
793
- (E(), $(M, null, z(5, (n) => I(Y, {
800
+ (E(), C(A, null, z(5, (n) => I(Y, {
794
801
  key: n,
795
802
  height: "25px",
796
803
  width: "25px",
@@ -800,25 +807,26 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
800
807
  ])
801
808
  ]));
802
809
  }
803
- }), he = /* @__PURE__ */ X(Hn, [["__scopeId", "data-v-c7574b59"]]), On = { class: "hotel-skeleton" }, Rn = { class: "hotel-skeleton-content" }, Dn = { class: "hotel-skeleton-sidebar" }, An = /* @__PURE__ */ N({
810
+ }), he = /* @__PURE__ */ X(Hn, [["__scopeId", "data-v-c7574b59"]]), On = { class: "hotel-skeleton" }, Dn = { class: "hotel-skeleton-content" }, Rn = { class: "hotel-skeleton-sidebar" }, Mn = /* @__PURE__ */ j({
804
811
  __name: "HotelSkeleton",
805
812
  setup(o) {
806
- return (e, t) => (E(), $("div", On, [
807
- v("div", Rn, [
808
- I(Wo, { hotel: "" }),
813
+ return (e, t) => (E(), C("div", On, [
814
+ v("div", Dn, [
815
+ I(zo, { hotel: "" }),
809
816
  I(he),
810
817
  I(he),
811
818
  I(he)
812
819
  ]),
813
- v("div", Dn, [
814
- I(Ro)
820
+ v("div", Rn, [
821
+ I(Do)
815
822
  ])
816
823
  ]));
817
824
  }
818
- }), Mn = /* @__PURE__ */ X(An, [["__scopeId", "data-v-49e83cbb"]]), zn = (o) => (yt("data-v-fd9b6d4f"), o = o(), bt(), o), Wn = { id: "booking-availability-container" }, Bn = { id: "booking-availability-controls" }, Fn = { key: 1 }, qn = { key: 0 }, Un = {
825
+ }), Bn = /* @__PURE__ */ X(Mn, [["__scopeId", "data-v-49e83cbb"]]), An = (o) => (_t("data-v-fd9b6d4f"), o = o(), Et(), o), zn = { id: "booking-availability-container" }, Wn = { id: "booking-availability-controls" };
826
+ const Fn = { key: 1 }, Nn = { key: 0 }, qn = {
819
827
  key: 0,
820
828
  id: "booking-availability-packages"
821
- }, Nn = {
829
+ }, Un = {
822
830
  key: 0,
823
831
  class: "konnectio-hotel-availability-title"
824
832
  }, Gn = { id: "booking-availability-packages-wrapper" }, jn = { key: 1 }, Yn = {
@@ -834,18 +842,20 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
834
842
  }, Xn = {
835
843
  key: 2,
836
844
  id: "reservation-availability-next-dates"
837
- }, Zn = { class: "konnectio-hotel-availability-title" }, ei = { class: "reservation-special-offers-grid" }, ti = ["title"], oi = {
845
+ }, Zn = { class: "konnectio-hotel-availability-title" }, ei = { class: "reservation-special-offers-grid" }, ti = ["title"];
846
+ const oi = {
838
847
  key: 2,
839
848
  class: "konnectio-listing-loading"
840
849
  }, ni = { class: "fresh-booking-panel" }, ii = {
841
850
  key: 0,
842
851
  id: "konnectio-hotel-addons"
843
- }, ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai = /* @__PURE__ */ zn(() => /* @__PURE__ */ v("br", null, null, -1)), li = ["onClick"], ui = { class: "fresh-booking-panel" }, di = { key: 0 }, ci = { key: 1 }, pi = { class: "fresh-booking-split-inputs" }, hi = ["onClick"], fi = /* @__PURE__ */ N({
852
+ };
853
+ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai = /* @__PURE__ */ An(() => /* @__PURE__ */ v("br", null, null, -1)), li = ["onClick"], ui = { class: "fresh-booking-panel" }, di = { key: 0 }, ci = { key: 1 }, pi = { class: "fresh-booking-split-inputs" }, hi = ["onClick"], fi = /* @__PURE__ */ j({
844
854
  name: "HotelLayout",
845
855
  __name: "Hotel",
846
856
  props: {
847
857
  accessToken: {},
848
- headerLayout: { default: So.Minimal },
858
+ headerLayout: { default: Io.Minimal },
849
859
  onlyShow: { default: "everything" },
850
860
  styling: {}
851
861
  },
@@ -859,50 +869,50 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
859
869
  travelingFor: h,
860
870
  arrivalTime: d,
861
871
  departureTime: c,
862
- name: g,
872
+ name: m,
863
873
  nameTitle: y,
864
874
  email: b,
865
- phone: r,
875
+ phone: s,
866
876
  firmName: k,
867
877
  postal: _,
868
878
  city: f,
869
879
  address: i,
870
- country: a,
871
- remark: m,
880
+ country: r,
881
+ remark: g,
872
882
  allergies: T,
873
- newsMails: C,
874
- roomSelect: w,
875
- roomDisplay: V,
876
- hasValidRoomSelection: W,
877
- availabilityData: D,
878
- selectionHasNoAddons: G
879
- } = K(ae()), {
880
- arrivalDate: ee,
881
- departureDate: j
882
- } = K(_t()), {
883
- currency: se,
884
- disableNewsletterSignup: Dt,
885
- arrivalEarliest: At,
886
- arrivalLatest: Mt,
887
- departureEarliest: zt,
888
- departureLatest: Wt,
889
- enableTracking: Bt,
883
+ newsMails: $,
884
+ roomSelect: L,
885
+ roomDisplay: H,
886
+ hasValidRoomSelection: D,
887
+ availabilityData: R,
888
+ selectionHasNoAddons: W
889
+ } = K(se()), {
890
+ arrivalDate: Z,
891
+ departureDate: le
892
+ } = K(kt()), {
893
+ currency: U,
894
+ disableNewsletterSignup: $e,
895
+ arrivalEarliest: Ze,
896
+ arrivalLatest: Bt,
897
+ departureEarliest: At,
898
+ departureLatest: zt,
899
+ enableTracking: Wt,
890
900
  arrivalDefault: Ft,
891
- departureDefault: qt,
892
- hideArrivalDepartureInputs: Ut,
893
- disableArrivalUserSelection: $e,
894
- disableNamePrefix: Nt,
895
- disableDepartureUserSelection: Se,
901
+ departureDefault: Nt,
902
+ hideArrivalDepartureInputs: qt,
903
+ disableArrivalUserSelection: Se,
904
+ disableNamePrefix: Ut,
905
+ disableDepartureUserSelection: Ve,
896
906
  disableTravelingFor: Gt,
897
907
  disableTravelingForBleasure: jt,
898
908
  disableCompanyField: Yt,
899
909
  hasPaymentGateway: Kt
900
- } = K(ge()), { beginCheckout: Qt } = Et(), {
910
+ } = K(ge()), { beginCheckout: Qt } = Tt(), {
901
911
  initialize: Jt,
902
912
  resetTemplate: Xt,
903
913
  resetDiscountVoucher: Zt,
904
914
  createReservation: eo
905
- } = ae(), to = fe(!0), oo = q(() => {
915
+ } = se(), to = fe(!0), oo = q(() => {
906
916
  const O = [
907
917
  {
908
918
  label: e("booking.reservation.business"),
@@ -918,29 +928,29 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
918
928
  value: "Bleasure"
919
929
  }), O;
920
930
  }), no = q(() => {
921
- const O = D.value.roomGroups.slice();
922
- O.forEach((U) => {
923
- U.pricesFrom = U.rates.reduce(
924
- (R, S) => R < S.rackRate ? R : S.rackRate,
931
+ const O = R.value.roomGroups.slice();
932
+ O.forEach((G) => {
933
+ G.pricesFrom = G.rates.reduce(
934
+ (M, S) => M < S.rackRate ? M : S.rackRate,
925
935
  1 / 0
926
936
  );
927
937
  });
928
- function P(U, R) {
929
- return to.value === !0 ? U.pricesFrom > R.pricesFrom ? -1 : 1 : U.pricesFrom > R.pricesFrom ? 1 : -1;
938
+ function P(G, M) {
939
+ return to.value === !0 ? G.pricesFrom > M.pricesFrom ? -1 : 1 : G.pricesFrom > M.pricesFrom ? 1 : -1;
930
940
  }
931
941
  return O.sort(P);
932
942
  }), io = q(() => [[
933
- parseInt(At.value.split(":")[0]),
934
- parseInt(Mt.value.split(":")[0])
943
+ parseInt(Ze.value.split(":")[0]),
944
+ parseInt(Bt.value.split(":")[0])
935
945
  ]]), ro = q(() => [[
936
- parseInt(zt.value.split(":")[0]),
937
- parseInt(Wt.value.split(":")[0])
946
+ parseInt(At.value.split(":")[0]),
947
+ parseInt(zt.value.split(":")[0])
938
948
  ]]);
939
- function Xe(O) {
940
- G.value ? O(2) : O(), Zt();
949
+ function et(O) {
950
+ W.value ? O(2) : O(), Zt();
941
951
  }
942
952
  function so(O, P) {
943
- j.value = new Date(P), ee.value = new Date(O), location.reload();
953
+ le.value = new Date(P), Z.value = new Date(O), location.reload();
944
954
  }
945
955
  function ao(O) {
946
956
  return Q(this, null, function* () {
@@ -948,106 +958,106 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
948
958
  });
949
959
  }
950
960
  function lo(O) {
951
- Bt.value && Qt(), G.value ? O(2) : O();
961
+ Wt.value && Qt(), W.value ? O(2) : O();
952
962
  }
953
963
  function uo() {
954
- d.value === "" && (d.value = Ft.value), c.value === "" && (c.value = qt.value);
964
+ d.value === "" && (d.value = Ft.value), c.value === "" && (c.value = Nt.value);
955
965
  }
956
- return je(() => {
966
+ return Ye(() => {
957
967
  Jt(), uo();
958
- }), (O, P) => (E(), A(zo, { styling: O.styling }, {
959
- default: H(() => [
960
- (E(), A(_o, null, {
961
- default: H(() => [
962
- I(Lo, {
968
+ }), (O, P) => (E(), B(Ao, { styling: O.styling }, {
969
+ default: w(() => [
970
+ (E(), B(Co, null, {
971
+ default: w(() => [
972
+ I(So, {
963
973
  id: "fresh-booking-hotel-module",
964
974
  "access-token": O.accessToken,
965
975
  type: "hotel"
966
976
  }, {
967
- default: H(() => [
968
- I(Do, {
977
+ default: w(() => [
978
+ I(Ro, {
969
979
  layout: O.headerLayout,
970
- onReset: s(Xt)
980
+ onReset: a(Xt)
971
981
  }, {
972
- availability: H(({ next: U }) => [
973
- I(we, null, {
974
- form: H(() => [
975
- v("div", Wn, [
976
- v("div", Bn, [
977
- I(Bo, { booking: !0 })
982
+ availability: w(({ next: G }) => [
983
+ I(He, null, {
984
+ form: w(() => [
985
+ v("div", zn, [
986
+ v("div", Wn, [
987
+ I(Wo, { booking: !0 })
978
988
  ]),
979
989
  x("", !0),
980
- s(l) ? (E(), $("div", oi, [
990
+ a(l) ? (E(), C("div", oi, [
981
991
  I(he),
982
992
  I(he),
983
993
  I(he)
984
- ])) : (E(), $("div", Fn, [
985
- s(D).roomGroups.length > 0 || s(D).templates.length > 0 ? (E(), $("div", qn, [
986
- s(D).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), $("div", Un, [
987
- O.onlyShow !== "packages" ? (E(), $("h2", Nn, [
994
+ ])) : (E(), C("div", Fn, [
995
+ a(R).roomGroups.length > 0 || a(R).templates.length > 0 ? (E(), C("div", Nn, [
996
+ a(R).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), C("div", qn, [
997
+ O.onlyShow !== "packages" ? (E(), C("h2", Un, [
988
998
  I(J, {
989
999
  icon: "box",
990
1000
  type: "fal",
991
1001
  color: "header"
992
1002
  }),
993
- v("span", null, L(s(e)("booking.availability.packagesTitle")), 1)
1003
+ v("span", null, V(a(e)("booking.availability.packagesTitle")), 1)
994
1004
  ])) : x("", !0),
995
1005
  v("ul", Gn, [
996
- (E(!0), $(M, null, z(s(D).templates, ({
997
- id: R,
1006
+ (E(!0), C(A, null, z(a(R).templates, ({
1007
+ id: M,
998
1008
  name: S,
999
1009
  templateRoomGroups: ue,
1000
1010
  image: de,
1001
- description: F,
1011
+ description: N,
1002
1012
  weekendFee: Le
1003
- }) => (E(), A(gn, {
1004
- key: R,
1005
- id: R,
1006
- description: F,
1013
+ }) => (E(), B(gn, {
1014
+ key: M,
1015
+ id: M,
1016
+ description: N,
1007
1017
  name: S,
1008
1018
  image: de,
1009
1019
  weekendFee: Le,
1010
1020
  "room-groups": ue,
1011
- callback: U
1021
+ callback: G
1012
1022
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
1013
1023
  ])
1014
1024
  ])) : x("", !0),
1015
- s(D).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), $("div", jn, [
1016
- s(D).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), $("h2", Yn, [
1025
+ a(R).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), C("div", jn, [
1026
+ a(R).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), C("h2", Yn, [
1017
1027
  I(J, {
1018
1028
  icon: "house",
1019
1029
  type: "fal",
1020
1030
  color: "header"
1021
1031
  }),
1022
- v("span", null, L(s(e)("booking.availability.roomsTitle")), 1)
1032
+ v("span", null, V(a(e)("booking.availability.roomsTitle")), 1)
1023
1033
  ])) : x("", !0),
1024
1034
  v("ul", Kn, [
1025
- (E(!0), $(M, null, z(no.value, (R, S) => (E(), A(un, {
1026
- room: R,
1035
+ (E(!0), C(A, null, z(no.value, (M, S) => (E(), B(un, {
1036
+ room: M,
1027
1037
  key: S
1028
1038
  }, null, 8, ["room"]))), 128))
1029
1039
  ])
1030
1040
  ])) : x("", !0),
1031
- (s(D).templates.length === 0 && O.onlyShow !== "rooms" || s(D).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), $("div", Qn, [
1032
- v("span", null, L(s(e)("booking.availability.nothingAvailable")), 1)
1041
+ (a(R).templates.length === 0 && O.onlyShow !== "rooms" || a(R).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), C("div", Qn, [
1042
+ v("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
1033
1043
  ])) : x("", !0)
1034
- ])) : s(D).nextAvailableDates.length === 0 ? (E(), $("div", Jn, [
1035
- v("span", null, L(s(e)("booking.availability.nothingAvailable")), 1)
1036
- ])) : (E(), $("div", Xn, [
1044
+ ])) : a(R).nextAvailableDates.length === 0 ? (E(), C("div", Jn, [
1045
+ v("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
1046
+ ])) : (E(), C("div", Xn, [
1037
1047
  v("h2", Zn, [
1038
1048
  I(J, {
1039
1049
  icon: "calendar-circle-exclamation",
1040
1050
  type: "fal",
1041
1051
  color: "header"
1042
1052
  }),
1043
- v("span", null, L(s(e)("booking.availability.nextAvailableDates")), 1)
1053
+ v("span", null, V(a(e)("booking.availability.nextAvailableDates")), 1)
1044
1054
  ]),
1045
1055
  v("ul", ei, [
1046
- (E(!0), $(M, null, z(s(D).nextAvailableDates, (R, S) => (E(), $("li", { key: S }, [
1056
+ (E(!0), C(A, null, z(a(R).nextAvailableDates, (M, S) => (E(), C("li", { key: S }, [
1047
1057
  v("h3", {
1048
- title: `${s(ne)(R.fromDate)} - ${s(ne)(R.toDate)}`
1058
+ title: `${a(ne)(M.fromDate)} - ${a(ne)(M.toDate)}`
1049
1059
  }, [
1050
- v("span", null, L(`${s(ne)(R.fromDate)} - ${s(ne)(R.toDate)}`), 1)
1060
+ v("span", null, V(`${a(ne)(M.fromDate)} - ${a(ne)(M.toDate)}`), 1)
1051
1061
  ], 8, ti),
1052
1062
  v("ul", null, [
1053
1063
  x("", !0),
@@ -1057,13 +1067,13 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
1057
1067
  type: "fal",
1058
1068
  color: "header"
1059
1069
  }),
1060
- v("span", null, L(s(e)("booking.availability.pricesFrom")) + ": " + L(s(ie)(R.priceStartFrom, s(se))), 1)
1070
+ v("span", null, V(a(e)("booking.availability.pricesFrom")) + ": " + V(a(ie)(M.priceStartFrom, a(U))), 1)
1061
1071
  ])
1062
1072
  ]),
1063
1073
  I(ce, {
1064
- label: s(e)("booking.availability.selectDates"),
1074
+ label: a(e)("booking.availability.selectDates"),
1065
1075
  "full-width": "",
1066
- onClickEvent: (ue) => so(R.fromDate, R.toDate)
1076
+ onClickEvent: (ue) => so(M.fromDate, M.toDate)
1067
1077
  }, null, 8, ["label", "onClickEvent"])
1068
1078
  ]))), 128))
1069
1079
  ])
@@ -1071,44 +1081,44 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
1071
1081
  ]))
1072
1082
  ])
1073
1083
  ]),
1074
- navigation: H(() => [
1084
+ navigation: w(() => [
1075
1085
  I(ce, {
1076
- label: s(G) ? s(e)("booking.availability.nextButton") : s(e)("general.chooseAddons"),
1077
- disabled: !s(W),
1086
+ label: a(W) ? a(e)("booking.availability.nextButton") : a(e)("general.chooseAddons"),
1087
+ disabled: !a(D),
1078
1088
  "is-loading": !1,
1079
1089
  "full-width": "",
1080
- onClickEvent: (R) => lo(U)
1090
+ onClickEvent: (M) => lo(G)
1081
1091
  }, null, 8, ["label", "disabled", "onClickEvent"])
1082
1092
  ]),
1083
1093
  _: 2
1084
1094
  }, 1024)
1085
1095
  ]),
1086
- addons: H(({ next: U, prev: R }) => [
1087
- I(we, null, {
1088
- form: H(() => [
1096
+ addons: w(({ next: G, prev: M }) => [
1097
+ I(He, null, {
1098
+ form: w(() => [
1089
1099
  v("form", ni, [
1090
1100
  v("h2", null, [
1091
- v("span", null, L(s(e)("booking.reservation.addons")), 1)
1101
+ v("span", null, V(a(e)("booking.reservation.addons")), 1)
1092
1102
  ]),
1093
1103
  v("div", null, [
1094
- isNaN(s(t)) ? (E(), $("div", ii, [
1095
- (E(!0), $(M, null, z(s(V), (S) => (E(), $("ul", {
1104
+ isNaN(a(t)) ? (E(), C("div", ii, [
1105
+ (E(!0), C(A, null, z(a(H), (S) => (E(), C("ul", {
1096
1106
  key: S.roomGroupID
1097
1107
  }, [
1098
- (E(!0), $(M, null, z(S.variants, (ue, de) => (E(), $("li", {
1108
+ (E(!0), C(A, null, z(S.variants, (ue, de) => (E(), C("li", {
1099
1109
  key: ue.ratePlanID
1100
1110
  }, [
1101
1111
  v("h4", null, [
1102
- v("span", null, L(s(pe)(S.title)), 1)
1112
+ v("span", null, V(a(pe)(S.title)), 1)
1103
1113
  ]),
1104
- (E(!0), $(M, null, z(ue.rooms, (F, Le) => (E(), $("table", {
1114
+ (E(!0), C(A, null, z(ue.rooms, (N, Le) => (E(), C("table", {
1105
1115
  key: Le,
1106
1116
  class: "fresh-booking-table"
1107
1117
  }, [
1108
1118
  v("thead", null, [
1109
1119
  v("tr", null, [
1110
1120
  v("th", null, [
1111
- v("span", null, L(s(pe)(ue.name)), 1)
1121
+ v("span", null, V(a(pe)(ue.name)), 1)
1112
1122
  ]),
1113
1123
  x("", !0),
1114
1124
  v("th", ri, [
@@ -1118,43 +1128,43 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
1118
1128
  type: "fas",
1119
1129
  color: "font"
1120
1130
  }),
1121
- v("span", null, L(F.adultsCount), 1),
1122
- F.childrenCount > 0 ? (E(), A(J, {
1131
+ v("span", null, V(N.adultsCount), 1),
1132
+ N.childrenCount > 0 ? (E(), B(J, {
1123
1133
  key: 0,
1124
1134
  icon: "child",
1125
1135
  type: "fas",
1126
1136
  color: "font"
1127
1137
  })) : x("", !0),
1128
- F.childrenCount > 0 ? (E(), $("span", si, L(F.childrenCount), 1)) : x("", !0)
1138
+ N.childrenCount > 0 ? (E(), C("span", si, V(N.childrenCount), 1)) : x("", !0)
1129
1139
  ])
1130
1140
  ])
1131
1141
  ])
1132
1142
  ]),
1133
1143
  v("tbody", null, [
1134
- (E(!0), $(M, null, z(S.addons, ({
1135
- quantityStrategy: Ve,
1144
+ (E(!0), C(A, null, z(S.addons, ({
1145
+ quantityStrategy: Pe,
1136
1146
  maximumNumber: co,
1137
1147
  id: me,
1138
1148
  name: po,
1139
1149
  price: ho
1140
- }) => (E(), $("tr", { key: me }, [
1150
+ }) => (E(), C("tr", { key: me }, [
1141
1151
  v("td", null, [
1142
- v("b", null, L(s(pe)(po)), 1),
1152
+ v("b", null, V(a(pe)(po)), 1),
1143
1153
  ai,
1144
- v("span", null, L(s(ie)(ho, s(se))) + " " + L(s(Vo)(Ve)), 1)
1154
+ v("span", null, V(a(ie)(ho, a(U))) + " " + V(a($o)(Pe)), 1)
1145
1155
  ]),
1146
1156
  v("td", null, [
1147
- Ve === 1 || Ve === 12 ? (E(), A(Tt, {
1157
+ Pe === 1 || Pe === 12 ? (E(), B(It, {
1148
1158
  key: 0,
1149
- modelValue: s(w)[S.roomGroupID][de].config[F.configIdx].addons[F.roomIdx][me],
1150
- "onUpdate:modelValue": (Pe) => s(w)[S.roomGroupID][de].config[F.configIdx].addons[F.roomIdx][me] = Pe,
1159
+ modelValue: a(L)[S.roomGroupID][de].config[N.configIdx].addons[N.roomIdx][me],
1160
+ "onUpdate:modelValue": (xe) => a(L)[S.roomGroupID][de].config[N.configIdx].addons[N.roomIdx][me] = xe,
1151
1161
  small: !0,
1152
1162
  "min-value": 0,
1153
1163
  "max-value": co || 1 / 0
1154
- }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), A(Ue, {
1164
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), B(Ue, {
1155
1165
  key: 1,
1156
- modelValue: s(w)[S.roomGroupID][de].config[F.configIdx].addons[F.roomIdx][me],
1157
- "onUpdate:modelValue": (Pe) => s(w)[S.roomGroupID][de].config[F.configIdx].addons[F.roomIdx][me] = Pe,
1166
+ modelValue: a(L)[S.roomGroupID][de].config[N.configIdx].addons[N.roomIdx][me],
1167
+ "onUpdate:modelValue": (xe) => a(L)[S.roomGroupID][de].config[N.configIdx].addons[N.roomIdx][me] = xe,
1158
1168
  numeric: !0
1159
1169
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1160
1170
  ])
@@ -1167,51 +1177,51 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
1167
1177
  ])
1168
1178
  ])
1169
1179
  ]),
1170
- navigation: H(() => [
1180
+ navigation: w(() => [
1171
1181
  I(ce, {
1172
- label: s(e)("general.startReservation"),
1182
+ label: a(e)("general.startReservation"),
1173
1183
  "full-width": "",
1174
- onClickEvent: U
1184
+ onClickEvent: G
1175
1185
  }, null, 8, ["label", "onClickEvent"]),
1176
1186
  v("button", {
1177
1187
  class: "konnectio-abort-reservation link",
1178
- onClick: ot((S) => Xe(R), ["prevent"])
1188
+ onClick: st((S) => et(M), ["prevent"])
1179
1189
  }, [
1180
- v("span", null, L(s(e)("general.goAStepBack")), 1)
1190
+ v("span", null, V(a(e)("general.goAStepBack")), 1)
1181
1191
  ], 8, li)
1182
1192
  ]),
1183
1193
  _: 2
1184
1194
  }, 1024)
1185
1195
  ]),
1186
- reservation: H(({ next: U, prev: R }) => [
1187
- I(we, {
1196
+ reservation: w(({ next: G, prev: M }) => [
1197
+ I(He, {
1188
1198
  "show-terms-notice": !0,
1189
1199
  "show-gift-card": !0
1190
1200
  }, {
1191
- form: H(() => [
1201
+ form: w(() => [
1192
1202
  v("form", ui, [
1193
1203
  v("h2", null, [
1194
- v("span", null, L(s(e)("booking.reservation.detailsTitle")), 1)
1204
+ v("span", null, V(a(e)("booking.reservation.detailsTitle")), 1)
1195
1205
  ]),
1196
- !s(Ut) && !(s($e) && s(Se)) ? (E(), $("ul", {
1206
+ !a(qt) && !(a(Se) && a(Ve)) ? (E(), C("ul", {
1197
1207
  key: 0,
1198
- class: Te({ "fresh-booking-split-inputs": !s($e) && !s(Se) })
1208
+ class: Te({ "fresh-booking-split-inputs": !a(Se) && !a(Ve) })
1199
1209
  }, [
1200
- s($e) ? x("", !0) : (E(), $("li", di, [
1201
- I(rt, {
1202
- modelValue: s(d),
1203
- "onUpdate:modelValue": P[1] || (P[1] = (S) => B(d) ? d.value = S : null),
1204
- label: s(e)("booking.reservation.arrivalTime"),
1210
+ a(Se) ? x("", !0) : (E(), C("li", di, [
1211
+ I(at, {
1212
+ modelValue: a(d),
1213
+ "onUpdate:modelValue": P[1] || (P[1] = (S) => F(d) ? d.value = S : null),
1214
+ label: a(e)("booking.reservation.arrivalTime"),
1205
1215
  icon: "hourglass-start",
1206
1216
  "hour-range": io.value,
1207
1217
  required: ""
1208
1218
  }, null, 8, ["modelValue", "label", "hour-range"])
1209
1219
  ])),
1210
- s(Se) ? x("", !0) : (E(), $("li", ci, [
1211
- I(rt, {
1212
- modelValue: s(c),
1213
- "onUpdate:modelValue": P[2] || (P[2] = (S) => B(c) ? c.value = S : null),
1214
- label: s(e)("booking.reservation.departureTime"),
1220
+ a(Ve) ? x("", !0) : (E(), C("li", ci, [
1221
+ I(at, {
1222
+ modelValue: a(c),
1223
+ "onUpdate:modelValue": P[2] || (P[2] = (S) => F(c) ? c.value = S : null),
1224
+ label: a(e)("booking.reservation.departureTime"),
1215
1225
  icon: "hourglass-end",
1216
1226
  "hour-range": ro.value,
1217
1227
  required: ""
@@ -1219,153 +1229,153 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
1219
1229
  ]))
1220
1230
  ], 2)) : x("", !0),
1221
1231
  I(In, {
1222
- modelValue: s(g),
1223
- "onUpdate:modelValue": P[3] || (P[3] = (S) => B(g) ? g.value = S : null),
1224
- title: s(y),
1225
- "onUpdate:title": P[4] || (P[4] = (S) => B(y) ? y.value = S : null),
1226
- "exclude-title": s(Nt),
1227
- label: s(e)("booking.reservation.name"),
1232
+ modelValue: a(m),
1233
+ "onUpdate:modelValue": P[3] || (P[3] = (S) => F(m) ? m.value = S : null),
1234
+ title: a(y),
1235
+ "onUpdate:title": P[4] || (P[4] = (S) => F(y) ? y.value = S : null),
1236
+ "exclude-title": a(Ut),
1237
+ label: a(e)("booking.reservation.name"),
1228
1238
  icon: "user-alt",
1229
- placeholder: s(e)("booking.reservation.namePlaceholder"),
1239
+ placeholder: a(e)("booking.reservation.namePlaceholder"),
1230
1240
  required: ""
1231
1241
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1232
1242
  I(oe, {
1233
- modelValue: s(b),
1234
- "onUpdate:modelValue": P[5] || (P[5] = (S) => B(b) ? b.value = S : null),
1243
+ modelValue: a(b),
1244
+ "onUpdate:modelValue": P[5] || (P[5] = (S) => F(b) ? b.value = S : null),
1235
1245
  type: "email",
1236
1246
  name: "email",
1237
1247
  autocomplete: "email",
1238
- label: s(e)("booking.reservation.email"),
1248
+ label: a(e)("booking.reservation.email"),
1239
1249
  icon: "at",
1240
- placeholder: s(e)("booking.reservation.emailPlaceholder"),
1250
+ placeholder: a(e)("booking.reservation.emailPlaceholder"),
1241
1251
  required: ""
1242
1252
  }, null, 8, ["modelValue", "label", "placeholder"]),
1243
- s(Dt) ? x("", !0) : (E(), A(Ue, {
1253
+ a($e) ? x("", !0) : (E(), B(Ue, {
1244
1254
  key: 1,
1245
- modelValue: s(C),
1246
- "onUpdate:modelValue": P[6] || (P[6] = (S) => B(C) ? C.value = S : null),
1255
+ modelValue: a($),
1256
+ "onUpdate:modelValue": P[6] || (P[6] = (S) => F($) ? $.value = S : null),
1247
1257
  type: "checkbox",
1248
1258
  name: "newsletter",
1249
- label: s(e)("booking.reservation.newsletterSignUp")
1259
+ label: a(e)("booking.reservation.newsletterSignUp")
1250
1260
  }, null, 8, ["modelValue", "label"])),
1251
- s(Yt) ? x("", !0) : (E(), A(oe, {
1261
+ a(Yt) ? x("", !0) : (E(), B(oe, {
1252
1262
  key: 2,
1253
- modelValue: s(k),
1254
- "onUpdate:modelValue": P[7] || (P[7] = (S) => B(k) ? k.value = S : null),
1263
+ modelValue: a(k),
1264
+ "onUpdate:modelValue": P[7] || (P[7] = (S) => F(k) ? k.value = S : null),
1255
1265
  type: "text",
1256
1266
  name: "firm",
1257
1267
  autocomplete: "firm",
1258
- label: `${s(e)("booking.reservation.companyName")} (${s(e)("booking.reservation.optional")})`,
1268
+ label: `${a(e)("booking.reservation.companyName")} (${a(e)("booking.reservation.optional")})`,
1259
1269
  icon: "id-card",
1260
- placeholder: s(e)("booking.reservation.companyNamePlaceholder")
1270
+ placeholder: a(e)("booking.reservation.companyNamePlaceholder")
1261
1271
  }, null, 8, ["modelValue", "label", "placeholder"])),
1262
- I(qo, {
1263
- modelValue: s(r),
1264
- "onUpdate:modelValue": P[8] || (P[8] = (S) => B(r) ? r.value = S : null),
1272
+ I(No, {
1273
+ modelValue: a(s),
1274
+ "onUpdate:modelValue": P[8] || (P[8] = (S) => F(s) ? s.value = S : null),
1265
1275
  icon: "phone-office",
1266
- label: s(e)("booking.reservation.phone"),
1267
- placeholder: s(e)("booking.reservation.phonePlaceholder"),
1276
+ label: a(e)("booking.reservation.phone"),
1277
+ placeholder: a(e)("booking.reservation.phonePlaceholder"),
1268
1278
  required: ""
1269
1279
  }, null, 8, ["modelValue", "label", "placeholder"]),
1270
1280
  I(bn, {
1271
- modelValue: s(a),
1272
- "onUpdate:modelValue": P[9] || (P[9] = (S) => B(a) ? a.value = S : null),
1273
- label: s(e)("booking.reservation.country"),
1274
- placeholder: s(e)("booking.reservation.countryPlaceholder"),
1275
- options: s(n),
1281
+ modelValue: a(r),
1282
+ "onUpdate:modelValue": P[9] || (P[9] = (S) => F(r) ? r.value = S : null),
1283
+ label: a(e)("booking.reservation.country"),
1284
+ placeholder: a(e)("booking.reservation.countryPlaceholder"),
1285
+ options: a(n),
1276
1286
  required: ""
1277
1287
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1278
1288
  I(oe, {
1279
- modelValue: s(i),
1280
- "onUpdate:modelValue": P[10] || (P[10] = (S) => B(i) ? i.value = S : null),
1289
+ modelValue: a(i),
1290
+ "onUpdate:modelValue": P[10] || (P[10] = (S) => F(i) ? i.value = S : null),
1281
1291
  type: "textarea",
1282
1292
  name: "address",
1283
1293
  autocomplete: "street-address",
1284
- label: s(e)("booking.reservation.streetAddress"),
1294
+ label: a(e)("booking.reservation.streetAddress"),
1285
1295
  icon: "map-marked",
1286
- placeholder: s(e)("booking.reservation.streetAddressPlaceholder"),
1296
+ placeholder: a(e)("booking.reservation.streetAddressPlaceholder"),
1287
1297
  required: ""
1288
1298
  }, null, 8, ["modelValue", "label", "placeholder"]),
1289
1299
  v("ul", pi, [
1290
1300
  v("li", null, [
1291
1301
  I(oe, {
1292
- modelValue: s(_),
1293
- "onUpdate:modelValue": P[11] || (P[11] = (S) => B(_) ? _.value = S : null),
1302
+ modelValue: a(_),
1303
+ "onUpdate:modelValue": P[11] || (P[11] = (S) => F(_) ? _.value = S : null),
1294
1304
  type: "text",
1295
1305
  name: "postal",
1296
1306
  autocomplete: "postal-code",
1297
- label: s(e)("booking.reservation.postal"),
1307
+ label: a(e)("booking.reservation.postal"),
1298
1308
  icon: "mailbox",
1299
- placeholder: s(e)("booking.reservation.postalPlaceholder"),
1309
+ placeholder: a(e)("booking.reservation.postalPlaceholder"),
1300
1310
  required: ""
1301
1311
  }, null, 8, ["modelValue", "label", "placeholder"])
1302
1312
  ]),
1303
1313
  v("li", null, [
1304
1314
  I(oe, {
1305
- modelValue: s(f),
1306
- "onUpdate:modelValue": P[12] || (P[12] = (S) => B(f) ? f.value = S : null),
1315
+ modelValue: a(f),
1316
+ "onUpdate:modelValue": P[12] || (P[12] = (S) => F(f) ? f.value = S : null),
1307
1317
  type: "text",
1308
1318
  name: "city",
1309
1319
  autocomplete: "address-level2",
1310
- label: s(e)("booking.reservation.city"),
1320
+ label: a(e)("booking.reservation.city"),
1311
1321
  icon: "city",
1312
- placeholder: s(e)("booking.reservation.cityPlaceholder"),
1322
+ placeholder: a(e)("booking.reservation.cityPlaceholder"),
1313
1323
  required: ""
1314
1324
  }, null, 8, ["modelValue", "label", "placeholder"])
1315
1325
  ])
1316
1326
  ]),
1317
1327
  I(oe, {
1318
- modelValue: s(m),
1319
- "onUpdate:modelValue": P[13] || (P[13] = (S) => B(m) ? m.value = S : null),
1328
+ modelValue: a(g),
1329
+ "onUpdate:modelValue": P[13] || (P[13] = (S) => F(g) ? g.value = S : null),
1320
1330
  type: "textarea",
1321
- label: `${s(e)("booking.reservation.remark")} (${s(e)("booking.reservation.optional")})`,
1331
+ label: `${a(e)("booking.reservation.remark")} (${a(e)("booking.reservation.optional")})`,
1322
1332
  icon: "info-circle",
1323
- placeholder: s(e)("booking.reservation.remarkPlaceholder")
1333
+ placeholder: a(e)("booking.reservation.remarkPlaceholder")
1324
1334
  }, null, 8, ["modelValue", "label", "placeholder"]),
1325
1335
  I(oe, {
1326
- modelValue: s(T),
1327
- "onUpdate:modelValue": P[14] || (P[14] = (S) => B(T) ? T.value = S : null),
1336
+ modelValue: a(T),
1337
+ "onUpdate:modelValue": P[14] || (P[14] = (S) => F(T) ? T.value = S : null),
1328
1338
  type: "textarea",
1329
- label: `${s(e)("booking.reservation.allergies")} (${s(e)("booking.reservation.optional")})`,
1339
+ label: `${a(e)("booking.reservation.allergies")} (${a(e)("booking.reservation.optional")})`,
1330
1340
  icon: "allergies",
1331
- placeholder: s(e)("booking.reservation.allergiesPlaceholder")
1341
+ placeholder: a(e)("booking.reservation.allergiesPlaceholder")
1332
1342
  }, null, 8, ["modelValue", "label", "placeholder"]),
1333
- s(Gt) ? x("", !0) : (E(), A(En, {
1343
+ a(Gt) ? x("", !0) : (E(), B(En, {
1334
1344
  key: 3,
1335
- modelValue: s(h),
1336
- "onUpdate:modelValue": P[15] || (P[15] = (S) => B(h) ? h.value = S : null),
1337
- label: `${s(e)("booking.reservation.purposeOfStay")} (${s(e)("booking.reservation.optional")})`,
1345
+ modelValue: a(h),
1346
+ "onUpdate:modelValue": P[15] || (P[15] = (S) => F(h) ? h.value = S : null),
1347
+ label: `${a(e)("booking.reservation.purposeOfStay")} (${a(e)("booking.reservation.optional")})`,
1338
1348
  name: "travelingFor",
1339
1349
  checkboxes: oo.value
1340
1350
  }, null, 8, ["modelValue", "label", "checkboxes"]))
1341
1351
  ])
1342
1352
  ]),
1343
- navigation: H(() => [
1353
+ navigation: w(() => [
1344
1354
  v("div", null, [
1345
1355
  I(ce, {
1346
- label: s(Kt) ? s(e)("booking.reservation.nextButton") : s(e)("general.confirmReservation"),
1347
- disabled: !s(p),
1348
- "is-loading": s(u),
1356
+ label: a(Kt) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
1357
+ disabled: !a(p),
1358
+ "is-loading": a(u),
1349
1359
  "full-width": "",
1350
- onClickEvent: (S) => ao(U)
1360
+ onClickEvent: (S) => ao(G)
1351
1361
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
1352
1362
  v("button", {
1353
1363
  class: "konnectio-abort-reservation link",
1354
- onClick: ot((S) => Xe(R), ["prevent"])
1364
+ onClick: st((S) => et(M), ["prevent"])
1355
1365
  }, [
1356
- v("span", null, L(s(e)("general.goAStepBack")), 1)
1366
+ v("span", null, V(a(e)("general.goAStepBack")), 1)
1357
1367
  ], 8, hi)
1358
1368
  ])
1359
1369
  ]),
1360
1370
  _: 2
1361
1371
  }, 1024)
1362
1372
  ]),
1363
- payment: H(() => [
1364
- I(Uo)
1373
+ payment: w(() => [
1374
+ I(qo)
1365
1375
  ]),
1366
- confirmation: H(() => [
1367
- I(Ao, {
1368
- message: s(e)("booking.confirmation.thankYou")
1376
+ confirmation: w(() => [
1377
+ I(Mo, {
1378
+ message: a(e)("booking.confirmation.thankYou")
1369
1379
  }, null, 8, ["message"])
1370
1380
  ]),
1371
1381
  _: 1
@@ -1374,8 +1384,8 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
1374
1384
  _: 1
1375
1385
  }, 8, ["access-token"])
1376
1386
  ]),
1377
- fallback: H(() => [
1378
- I(Mn)
1387
+ fallback: w(() => [
1388
+ I(Bn)
1379
1389
  ]),
1380
1390
  _: 1
1381
1391
  }))
@@ -1383,13 +1393,13 @@ const No = { key: 0 }, Go = { key: 1 }, we = /* @__PURE__ */ N({
1383
1393
  _: 1
1384
1394
  }, 8, ["styling"]));
1385
1395
  }
1386
- }), St = /* @__PURE__ */ X(fi, [["__scopeId", "data-v-fd9b6d4f"]]);
1387
- var Lt = { exports: {} }, He = { exports: {} }, Oe = { exports: {} }, st;
1388
- function Ke() {
1389
- return st || (st = 1, function(o) {
1396
+ }), Lt = /* @__PURE__ */ X(fi, [["__scopeId", "data-v-fd9b6d4f"]]);
1397
+ var Pt = { exports: {} }, Oe = { exports: {} }, De = { exports: {} }, lt;
1398
+ function Qe() {
1399
+ return lt || (lt = 1, function(o) {
1390
1400
  (function(e, t) {
1391
1401
  o.exports ? o.exports = t() : e.EvEmitter = t();
1392
- })(typeof window != "undefined" ? window : Ct, function() {
1402
+ })(typeof window != "undefined" ? window : St, function() {
1393
1403
  function e() {
1394
1404
  }
1395
1405
  var t = e.prototype;
@@ -1424,7 +1434,7 @@ function Ke() {
1424
1434
  delete this._events, delete this._onceEvents;
1425
1435
  }, e;
1426
1436
  });
1427
- }(Oe)), Oe.exports;
1437
+ }(De)), De.exports;
1428
1438
  }
1429
1439
  var Re = { exports: {} };
1430
1440
  /*!
@@ -1432,20 +1442,20 @@ var Re = { exports: {} };
1432
1442
  * measure size of elements
1433
1443
  * MIT license
1434
1444
  */
1435
- var at;
1436
- function Qe() {
1437
- return at || (at = 1, function(o) {
1445
+ var ut;
1446
+ function Je() {
1447
+ return ut || (ut = 1, function(o) {
1438
1448
  (function(e, t) {
1439
1449
  o.exports ? o.exports = t() : e.getSize = t();
1440
1450
  })(window, function() {
1441
- function t(r) {
1442
- var k = parseFloat(r), _ = r.indexOf("%") == -1 && !isNaN(k);
1451
+ function t(s) {
1452
+ var k = parseFloat(s), _ = s.indexOf("%") == -1 && !isNaN(k);
1443
1453
  return _ && k;
1444
1454
  }
1445
1455
  function n() {
1446
1456
  }
1447
- var l = typeof console == "undefined" ? n : function(r) {
1448
- console.error(r);
1457
+ var l = typeof console == "undefined" ? n : function(s) {
1458
+ console.error(s);
1449
1459
  }, u = [
1450
1460
  "paddingLeft",
1451
1461
  "paddingRight",
@@ -1461,7 +1471,7 @@ function Qe() {
1461
1471
  "borderBottomWidth"
1462
1472
  ], p = u.length;
1463
1473
  function h() {
1464
- for (var r = {
1474
+ for (var s = {
1465
1475
  width: 0,
1466
1476
  height: 0,
1467
1477
  innerWidth: 0,
@@ -1470,52 +1480,52 @@ function Qe() {
1470
1480
  outerHeight: 0
1471
1481
  }, k = 0; k < p; k++) {
1472
1482
  var _ = u[k];
1473
- r[_] = 0;
1483
+ s[_] = 0;
1474
1484
  }
1475
- return r;
1485
+ return s;
1476
1486
  }
1477
- function d(r) {
1478
- var k = getComputedStyle(r);
1487
+ function d(s) {
1488
+ var k = getComputedStyle(s);
1479
1489
  return k || l("Style returned " + k + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), k;
1480
1490
  }
1481
- var c = !1, g;
1491
+ var c = !1, m;
1482
1492
  function y() {
1483
1493
  if (!c) {
1484
1494
  c = !0;
1485
- var r = document.createElement("div");
1486
- r.style.width = "200px", r.style.padding = "1px 2px 3px 4px", r.style.borderStyle = "solid", r.style.borderWidth = "1px 2px 3px 4px", r.style.boxSizing = "border-box";
1495
+ var s = document.createElement("div");
1496
+ 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";
1487
1497
  var k = document.body || document.documentElement;
1488
- k.appendChild(r);
1489
- var _ = d(r);
1490
- g = Math.round(t(_.width)) == 200, b.isBoxSizeOuter = g, k.removeChild(r);
1498
+ k.appendChild(s);
1499
+ var _ = d(s);
1500
+ m = Math.round(t(_.width)) == 200, b.isBoxSizeOuter = m, k.removeChild(s);
1491
1501
  }
1492
1502
  }
1493
- function b(r) {
1494
- if (y(), typeof r == "string" && (r = document.querySelector(r)), !(!r || typeof r != "object" || !r.nodeType)) {
1495
- var k = d(r);
1503
+ function b(s) {
1504
+ if (y(), typeof s == "string" && (s = document.querySelector(s)), !(!s || typeof s != "object" || !s.nodeType)) {
1505
+ var k = d(s);
1496
1506
  if (k.display == "none")
1497
1507
  return h();
1498
1508
  var _ = {};
1499
- _.width = r.offsetWidth, _.height = r.offsetHeight;
1509
+ _.width = s.offsetWidth, _.height = s.offsetHeight;
1500
1510
  for (var f = _.isBorderBox = k.boxSizing == "border-box", i = 0; i < p; i++) {
1501
- var a = u[i], m = k[a], T = parseFloat(m);
1502
- _[a] = isNaN(T) ? 0 : T;
1511
+ var r = u[i], g = k[r], T = parseFloat(g);
1512
+ _[r] = isNaN(T) ? 0 : T;
1503
1513
  }
1504
- var C = _.paddingLeft + _.paddingRight, w = _.paddingTop + _.paddingBottom, V = _.marginLeft + _.marginRight, W = _.marginTop + _.marginBottom, D = _.borderLeftWidth + _.borderRightWidth, G = _.borderTopWidth + _.borderBottomWidth, ee = f && g, j = t(k.width);
1505
- j !== !1 && (_.width = j + // add padding and border unless it's already including it
1506
- (ee ? 0 : C + D));
1507
- var se = t(k.height);
1508
- return se !== !1 && (_.height = se + // add padding and border unless it's already including it
1509
- (ee ? 0 : w + G)), _.innerWidth = _.width - (C + D), _.innerHeight = _.height - (w + G), _.outerWidth = _.width + V, _.outerHeight = _.height + W, _;
1514
+ var $ = _.paddingLeft + _.paddingRight, L = _.paddingTop + _.paddingBottom, H = _.marginLeft + _.marginRight, D = _.marginTop + _.marginBottom, R = _.borderLeftWidth + _.borderRightWidth, W = _.borderTopWidth + _.borderBottomWidth, Z = f && m, le = t(k.width);
1515
+ le !== !1 && (_.width = le + // add padding and border unless it's already including it
1516
+ (Z ? 0 : $ + R));
1517
+ var U = t(k.height);
1518
+ return U !== !1 && (_.height = U + // add padding and border unless it's already including it
1519
+ (Z ? 0 : L + W)), _.innerWidth = _.width - ($ + R), _.innerHeight = _.height - (L + W), _.outerWidth = _.width + H, _.outerHeight = _.height + D, _;
1510
1520
  }
1511
1521
  }
1512
1522
  return b;
1513
1523
  });
1514
1524
  }(Re)), Re.exports;
1515
1525
  }
1516
- var De = { exports: {} }, Ae = { exports: {} }, lt;
1526
+ var Me = { exports: {} }, Be = { exports: {} }, dt;
1517
1527
  function mi() {
1518
- return lt || (lt = 1, function(o) {
1528
+ return dt || (dt = 1, function(o) {
1519
1529
  (function(e, t) {
1520
1530
  o.exports ? o.exports = t() : e.matchesSelector = t();
1521
1531
  })(window, function() {
@@ -1535,11 +1545,11 @@ function mi() {
1535
1545
  return l[t](u);
1536
1546
  };
1537
1547
  });
1538
- }(Ae)), Ae.exports;
1548
+ }(Be)), Be.exports;
1539
1549
  }
1540
- var ut;
1550
+ var ct;
1541
1551
  function gi() {
1542
- return ut || (ut = 1, function(o) {
1552
+ return ct || (ct = 1, function(o) {
1543
1553
  (function(e, t) {
1544
1554
  o.exports ? o.exports = t(
1545
1555
  e,
@@ -1580,63 +1590,63 @@ function gi() {
1580
1590
  }, l.filterFindElements = function(h, d) {
1581
1591
  h = l.makeArray(h);
1582
1592
  var c = [];
1583
- return h.forEach(function(g) {
1584
- if (g instanceof HTMLElement) {
1593
+ return h.forEach(function(m) {
1594
+ if (m instanceof HTMLElement) {
1585
1595
  if (!d) {
1586
- c.push(g);
1596
+ c.push(m);
1587
1597
  return;
1588
1598
  }
1589
- n(g, d) && c.push(g);
1590
- for (var y = g.querySelectorAll(d), b = 0; b < y.length; b++)
1599
+ n(m, d) && c.push(m);
1600
+ for (var y = m.querySelectorAll(d), b = 0; b < y.length; b++)
1591
1601
  c.push(y[b]);
1592
1602
  }
1593
1603
  }), c;
1594
1604
  }, l.debounceMethod = function(h, d, c) {
1595
1605
  c = c || 100;
1596
- var g = h.prototype[d], y = d + "Timeout";
1606
+ var m = h.prototype[d], y = d + "Timeout";
1597
1607
  h.prototype[d] = function() {
1598
1608
  var b = this[y];
1599
1609
  clearTimeout(b);
1600
- var r = arguments, k = this;
1610
+ var s = arguments, k = this;
1601
1611
  this[y] = setTimeout(function() {
1602
- g.apply(k, r), delete k[y];
1612
+ m.apply(k, s), delete k[y];
1603
1613
  }, c);
1604
1614
  };
1605
1615
  }, l.docReady = function(h) {
1606
1616
  var d = document.readyState;
1607
1617
  d == "complete" || d == "interactive" ? setTimeout(h) : document.addEventListener("DOMContentLoaded", h);
1608
1618
  }, l.toDashed = function(h) {
1609
- return h.replace(/(.)([A-Z])/g, function(d, c, g) {
1610
- return c + "-" + g;
1619
+ return h.replace(/(.)([A-Z])/g, function(d, c, m) {
1620
+ return c + "-" + m;
1611
1621
  }).toLowerCase();
1612
1622
  };
1613
1623
  var p = t.console;
1614
1624
  return l.htmlInit = function(h, d) {
1615
1625
  l.docReady(function() {
1616
- var c = l.toDashed(d), g = "data-" + c, y = document.querySelectorAll("[" + g + "]"), b = document.querySelectorAll(".js-" + c), r = l.makeArray(y).concat(l.makeArray(b)), k = g + "-options", _ = t.jQuery;
1617
- r.forEach(function(f) {
1618
- var i = f.getAttribute(g) || f.getAttribute(k), a;
1626
+ var c = l.toDashed(d), m = "data-" + c, y = document.querySelectorAll("[" + m + "]"), b = document.querySelectorAll(".js-" + c), s = l.makeArray(y).concat(l.makeArray(b)), k = m + "-options", _ = t.jQuery;
1627
+ s.forEach(function(f) {
1628
+ var i = f.getAttribute(m) || f.getAttribute(k), r;
1619
1629
  try {
1620
- a = i && JSON.parse(i);
1630
+ r = i && JSON.parse(i);
1621
1631
  } catch (T) {
1622
- p && p.error("Error parsing " + g + " on " + f.className + ": " + T);
1632
+ p && p.error("Error parsing " + m + " on " + f.className + ": " + T);
1623
1633
  return;
1624
1634
  }
1625
- var m = new h(f, a);
1626
- _ && _.data(f, d, m);
1635
+ var g = new h(f, r);
1636
+ _ && _.data(f, d, g);
1627
1637
  });
1628
1638
  });
1629
1639
  }, l;
1630
1640
  });
1631
- }(De)), De.exports;
1641
+ }(Me)), Me.exports;
1632
1642
  }
1633
- var Me = { exports: {} }, dt;
1643
+ var Ae = { exports: {} }, pt;
1634
1644
  function vi() {
1635
- return dt || (dt = 1, function(o) {
1645
+ return pt || (pt = 1, function(o) {
1636
1646
  (function(e, t) {
1637
1647
  o.exports ? o.exports = t(
1638
- Ke(),
1639
- Qe()
1648
+ Qe(),
1649
+ Je()
1640
1650
  ) : (e.Outlayer = {}, e.Outlayer.Item = t(
1641
1651
  e.EvEmitter,
1642
1652
  e.getSize
@@ -1657,14 +1667,14 @@ function vi() {
1657
1667
  transitionProperty: p + "Property",
1658
1668
  transitionDelay: p + "Delay"
1659
1669
  };
1660
- function g(f, i) {
1670
+ function m(f, i) {
1661
1671
  f && (this.element = f, this.layout = i, this.position = {
1662
1672
  x: 0,
1663
1673
  y: 0
1664
1674
  }, this._create());
1665
1675
  }
1666
- var y = g.prototype = Object.create(t.prototype);
1667
- y.constructor = g, y._create = function() {
1676
+ var y = m.prototype = Object.create(t.prototype);
1677
+ y.constructor = m, y._create = function() {
1668
1678
  this._transn = {
1669
1679
  ingProperties: {},
1670
1680
  clean: {},
@@ -1679,18 +1689,18 @@ function vi() {
1679
1689
  this.size = n(this.element);
1680
1690
  }, y.css = function(f) {
1681
1691
  var i = this.element.style;
1682
- for (var a in f) {
1683
- var m = c[a] || a;
1684
- i[m] = f[a];
1692
+ for (var r in f) {
1693
+ var g = c[r] || r;
1694
+ i[g] = f[r];
1685
1695
  }
1686
1696
  }, y.getPosition = function() {
1687
- var f = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), a = this.layout._getOption("originTop"), m = f[i ? "left" : "right"], T = f[a ? "top" : "bottom"], C = parseFloat(m), w = parseFloat(T), V = this.layout.size;
1688
- m.indexOf("%") != -1 && (C = C / 100 * V.width), T.indexOf("%") != -1 && (w = w / 100 * V.height), C = isNaN(C) ? 0 : C, w = isNaN(w) ? 0 : w, C -= i ? V.paddingLeft : V.paddingRight, w -= a ? V.paddingTop : V.paddingBottom, this.position.x = C, this.position.y = w;
1697
+ var f = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), r = this.layout._getOption("originTop"), g = f[i ? "left" : "right"], T = f[r ? "top" : "bottom"], $ = parseFloat(g), L = parseFloat(T), H = this.layout.size;
1698
+ g.indexOf("%") != -1 && ($ = $ / 100 * H.width), T.indexOf("%") != -1 && (L = L / 100 * H.height), $ = isNaN($) ? 0 : $, L = isNaN(L) ? 0 : L, $ -= i ? H.paddingLeft : H.paddingRight, L -= r ? H.paddingTop : H.paddingBottom, this.position.x = $, this.position.y = L;
1689
1699
  }, y.layoutPosition = function() {
1690
- var f = this.layout.size, i = {}, a = this.layout._getOption("originLeft"), m = this.layout._getOption("originTop"), T = a ? "paddingLeft" : "paddingRight", C = a ? "left" : "right", w = a ? "right" : "left", V = this.position.x + f[T];
1691
- i[C] = this.getXValue(V), i[w] = "";
1692
- var W = m ? "paddingTop" : "paddingBottom", D = m ? "top" : "bottom", G = m ? "bottom" : "top", ee = this.position.y + f[W];
1693
- i[D] = this.getYValue(ee), i[G] = "", this.css(i), this.emitEvent("layout", [this]);
1700
+ var f = this.layout.size, i = {}, r = this.layout._getOption("originLeft"), g = this.layout._getOption("originTop"), T = r ? "paddingLeft" : "paddingRight", $ = r ? "left" : "right", L = r ? "right" : "left", H = this.position.x + f[T];
1701
+ i[$] = this.getXValue(H), i[L] = "";
1702
+ var D = g ? "paddingTop" : "paddingBottom", R = g ? "top" : "bottom", W = g ? "bottom" : "top", Z = this.position.y + f[D];
1703
+ i[R] = this.getYValue(Z), i[W] = "", this.css(i), this.emitEvent("layout", [this]);
1694
1704
  }, y.getXValue = function(f) {
1695
1705
  var i = this.layout._getOption("horizontal");
1696
1706
  return this.layout.options.percentPosition && !i ? f / this.layout.size.width * 100 + "%" : f + "px";
@@ -1699,22 +1709,22 @@ function vi() {
1699
1709
  return this.layout.options.percentPosition && i ? f / this.layout.size.height * 100 + "%" : f + "px";
1700
1710
  }, y._transitionTo = function(f, i) {
1701
1711
  this.getPosition();
1702
- var a = this.position.x, m = this.position.y, T = f == this.position.x && i == this.position.y;
1712
+ var r = this.position.x, g = this.position.y, T = f == this.position.x && i == this.position.y;
1703
1713
  if (this.setPosition(f, i), T && !this.isTransitioning) {
1704
1714
  this.layoutPosition();
1705
1715
  return;
1706
1716
  }
1707
- var C = f - a, w = i - m, V = {};
1708
- V.transform = this.getTranslate(C, w), this.transition({
1709
- to: V,
1717
+ var $ = f - r, L = i - g, H = {};
1718
+ H.transform = this.getTranslate($, L), this.transition({
1719
+ to: H,
1710
1720
  onTransitionEnd: {
1711
1721
  transform: this.layoutPosition
1712
1722
  },
1713
1723
  isCleaning: !0
1714
1724
  });
1715
1725
  }, y.getTranslate = function(f, i) {
1716
- var a = this.layout._getOption("originLeft"), m = this.layout._getOption("originTop");
1717
- return f = a ? f : -f, i = m ? i : -i, "translate3d(" + f + "px, " + i + "px, 0)";
1726
+ var r = this.layout._getOption("originLeft"), g = this.layout._getOption("originTop");
1727
+ return f = r ? f : -f, i = g ? i : -i, "translate3d(" + f + "px, " + i + "px, 0)";
1718
1728
  }, y.goTo = function(f, i) {
1719
1729
  this.setPosition(f, i), this.layoutPosition();
1720
1730
  }, y.moveTo = y._transitionTo, y.setPosition = function(f, i) {
@@ -1729,10 +1739,10 @@ function vi() {
1729
1739
  return;
1730
1740
  }
1731
1741
  var i = this._transn;
1732
- for (var a in f.onTransitionEnd)
1733
- i.onEnd[a] = f.onTransitionEnd[a];
1734
- for (a in f.to)
1735
- i.ingProperties[a] = !0, f.isCleaning && (i.clean[a] = !0);
1742
+ for (var r in f.onTransitionEnd)
1743
+ i.onEnd[r] = f.onTransitionEnd[r];
1744
+ for (r in f.to)
1745
+ i.ingProperties[r] = !0, f.isCleaning && (i.clean[r] = !0);
1736
1746
  f.from && (this.css(f.from), this.element.offsetHeight), this.enableTransition(f.to), this.css(f.to), this.isTransitioning = !0;
1737
1747
  };
1738
1748
  function b(f) {
@@ -1740,12 +1750,12 @@ function vi() {
1740
1750
  return "-" + i.toLowerCase();
1741
1751
  });
1742
1752
  }
1743
- var r = "opacity," + b(h);
1753
+ var s = "opacity," + b(h);
1744
1754
  y.enableTransition = function() {
1745
1755
  if (!this.isTransitioning) {
1746
1756
  var f = this.layout.options.transitionDuration;
1747
1757
  f = typeof f == "number" ? f + "ms" : f, this.css({
1748
- transitionProperty: r,
1758
+ transitionProperty: s,
1749
1759
  transitionDuration: f,
1750
1760
  transitionDelay: this.staggerDelay || 0
1751
1761
  }), this.element.addEventListener(d, this, !1);
@@ -1760,10 +1770,10 @@ function vi() {
1760
1770
  };
1761
1771
  y.ontransitionend = function(f) {
1762
1772
  if (f.target === this.element) {
1763
- var i = this._transn, a = k[f.propertyName] || f.propertyName;
1764
- if (delete i.ingProperties[a], l(i.ingProperties) && this.disableTransition(), a in i.clean && (this.element.style[f.propertyName] = "", delete i.clean[a]), a in i.onEnd) {
1765
- var m = i.onEnd[a];
1766
- m.call(this), delete i.onEnd[a];
1773
+ var i = this._transn, r = k[f.propertyName] || f.propertyName;
1774
+ if (delete i.ingProperties[r], l(i.ingProperties) && this.disableTransition(), r in i.clean && (this.element.style[f.propertyName] = "", delete i.clean[r]), r in i.onEnd) {
1775
+ var g = i.onEnd[r];
1776
+ g.call(this), delete i.onEnd[r];
1767
1777
  }
1768
1778
  this.emitEvent("transitionEnd", [this]);
1769
1779
  }
@@ -1771,8 +1781,8 @@ function vi() {
1771
1781
  this.removeTransitionStyles(), this.element.removeEventListener(d, this, !1), this.isTransitioning = !1;
1772
1782
  }, y._removeStyles = function(f) {
1773
1783
  var i = {};
1774
- for (var a in f)
1775
- i[a] = "";
1784
+ for (var r in f)
1785
+ i[r] = "";
1776
1786
  this.css(i);
1777
1787
  };
1778
1788
  var _ = {
@@ -1796,8 +1806,8 @@ function vi() {
1796
1806
  }), this.hide();
1797
1807
  }, y.reveal = function() {
1798
1808
  delete this.isHidden, this.css({ display: "" });
1799
- var f = this.layout.options, i = {}, a = this.getHideRevealTransitionEndProperty("visibleStyle");
1800
- i[a] = this.onRevealTransitionEnd, this.transition({
1809
+ var f = this.layout.options, i = {}, r = this.getHideRevealTransitionEndProperty("visibleStyle");
1810
+ i[r] = this.onRevealTransitionEnd, this.transition({
1801
1811
  from: f.hiddenStyle,
1802
1812
  to: f.visibleStyle,
1803
1813
  isCleaning: !0,
@@ -1809,12 +1819,12 @@ function vi() {
1809
1819
  var i = this.layout.options[f];
1810
1820
  if (i.opacity)
1811
1821
  return "opacity";
1812
- for (var a in i)
1813
- return a;
1822
+ for (var r in i)
1823
+ return r;
1814
1824
  }, y.hide = function() {
1815
1825
  this.isHidden = !0, this.css({ display: "" });
1816
- var f = this.layout.options, i = {}, a = this.getHideRevealTransitionEndProperty("hiddenStyle");
1817
- i[a] = this.onHideTransitionEnd, this.transition({
1826
+ var f = this.layout.options, i = {}, r = this.getHideRevealTransitionEndProperty("hiddenStyle");
1827
+ i[r] = this.onHideTransitionEnd, this.transition({
1818
1828
  from: f.visibleStyle,
1819
1829
  to: f.hiddenStyle,
1820
1830
  // keep hidden stuff hidden
@@ -1833,23 +1843,23 @@ function vi() {
1833
1843
  transition: "",
1834
1844
  transform: ""
1835
1845
  });
1836
- }, g;
1846
+ }, m;
1837
1847
  });
1838
- }(Me)), Me.exports;
1848
+ }(Ae)), Ae.exports;
1839
1849
  }
1840
1850
  /*!
1841
1851
  * Outlayer v2.1.1
1842
1852
  * the brains and guts of a layout library
1843
1853
  * MIT license
1844
1854
  */
1845
- var ct;
1855
+ var ht;
1846
1856
  function yi() {
1847
- return ct || (ct = 1, function(o) {
1857
+ return ht || (ht = 1, function(o) {
1848
1858
  (function(e, t) {
1849
1859
  o.exports ? o.exports = t(
1850
1860
  e,
1851
- Ke(),
1852
1861
  Qe(),
1862
+ Je(),
1853
1863
  gi(),
1854
1864
  vi()
1855
1865
  ) : e.Outlayer = t(
@@ -1861,18 +1871,18 @@ function yi() {
1861
1871
  );
1862
1872
  })(window, function(t, n, l, u, p) {
1863
1873
  var h = t.console, d = t.jQuery, c = function() {
1864
- }, g = 0, y = {};
1865
- function b(i, a) {
1866
- var m = u.getQueryElement(i);
1867
- if (!m) {
1868
- h && h.error("Bad element for " + this.constructor.namespace + ": " + (m || i));
1874
+ }, m = 0, y = {};
1875
+ function b(i, r) {
1876
+ var g = u.getQueryElement(i);
1877
+ if (!g) {
1878
+ h && h.error("Bad element for " + this.constructor.namespace + ": " + (g || i));
1869
1879
  return;
1870
1880
  }
1871
- this.element = m, d && (this.$element = d(this.element)), this.options = u.extend({}, this.constructor.defaults), this.option(a);
1872
- var T = ++g;
1881
+ this.element = g, d && (this.$element = d(this.element)), this.options = u.extend({}, this.constructor.defaults), this.option(r);
1882
+ var T = ++m;
1873
1883
  this.element.outlayerGUID = T, y[T] = this, this._create();
1874
- var C = this._getOption("initLayout");
1875
- C && this.layout();
1884
+ var $ = this._getOption("initLayout");
1885
+ $ && this.layout();
1876
1886
  }
1877
1887
  b.namespace = "outlayer", b.Item = p, b.defaults = {
1878
1888
  containerStyle: {
@@ -1894,12 +1904,12 @@ function yi() {
1894
1904
  transform: "scale(1)"
1895
1905
  }
1896
1906
  };
1897
- var r = b.prototype;
1898
- u.extend(r, n.prototype), r.option = function(i) {
1907
+ var s = b.prototype;
1908
+ u.extend(s, n.prototype), s.option = function(i) {
1899
1909
  u.extend(this.options, i);
1900
- }, r._getOption = function(i) {
1901
- var a = this.constructor.compatOptions[i];
1902
- return a && this.options[a] !== void 0 ? this.options[a] : this.options[i];
1910
+ }, s._getOption = function(i) {
1911
+ var r = this.constructor.compatOptions[i];
1912
+ return r && this.options[r] !== void 0 ? this.options[r] : this.options[i];
1903
1913
  }, b.compatOptions = {
1904
1914
  // currentName: oldName
1905
1915
  initLayout: "isInitLayout",
@@ -1909,219 +1919,219 @@ function yi() {
1909
1919
  originTop: "isOriginTop",
1910
1920
  resize: "isResizeBound",
1911
1921
  resizeContainer: "isResizingContainer"
1912
- }, r._create = function() {
1922
+ }, s._create = function() {
1913
1923
  this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), u.extend(this.element.style, this.options.containerStyle);
1914
1924
  var i = this._getOption("resize");
1915
1925
  i && this.bindResize();
1916
- }, r.reloadItems = function() {
1926
+ }, s.reloadItems = function() {
1917
1927
  this.items = this._itemize(this.element.children);
1918
- }, r._itemize = function(i) {
1919
- for (var a = this._filterFindItemElements(i), m = this.constructor.Item, T = [], C = 0; C < a.length; C++) {
1920
- var w = a[C], V = new m(w, this);
1921
- T.push(V);
1928
+ }, s._itemize = function(i) {
1929
+ for (var r = this._filterFindItemElements(i), g = this.constructor.Item, T = [], $ = 0; $ < r.length; $++) {
1930
+ var L = r[$], H = new g(L, this);
1931
+ T.push(H);
1922
1932
  }
1923
1933
  return T;
1924
- }, r._filterFindItemElements = function(i) {
1934
+ }, s._filterFindItemElements = function(i) {
1925
1935
  return u.filterFindElements(i, this.options.itemSelector);
1926
- }, r.getItemElements = function() {
1936
+ }, s.getItemElements = function() {
1927
1937
  return this.items.map(function(i) {
1928
1938
  return i.element;
1929
1939
  });
1930
- }, r.layout = function() {
1940
+ }, s.layout = function() {
1931
1941
  this._resetLayout(), this._manageStamps();
1932
- var i = this._getOption("layoutInstant"), a = i !== void 0 ? i : !this._isLayoutInited;
1933
- this.layoutItems(this.items, a), this._isLayoutInited = !0;
1934
- }, r._init = r.layout, r._resetLayout = function() {
1942
+ var i = this._getOption("layoutInstant"), r = i !== void 0 ? i : !this._isLayoutInited;
1943
+ this.layoutItems(this.items, r), this._isLayoutInited = !0;
1944
+ }, s._init = s.layout, s._resetLayout = function() {
1935
1945
  this.getSize();
1936
- }, r.getSize = function() {
1946
+ }, s.getSize = function() {
1937
1947
  this.size = l(this.element);
1938
- }, r._getMeasurement = function(i, a) {
1939
- var m = this.options[i], T;
1940
- m ? (typeof m == "string" ? T = this.element.querySelector(m) : m instanceof HTMLElement && (T = m), this[i] = T ? l(T)[a] : m) : this[i] = 0;
1941
- }, r.layoutItems = function(i, a) {
1942
- i = this._getItemsForLayout(i), this._layoutItems(i, a), this._postLayout();
1943
- }, r._getItemsForLayout = function(i) {
1944
- return i.filter(function(a) {
1945
- return !a.isIgnored;
1948
+ }, s._getMeasurement = function(i, r) {
1949
+ var g = this.options[i], T;
1950
+ g ? (typeof g == "string" ? T = this.element.querySelector(g) : g instanceof HTMLElement && (T = g), this[i] = T ? l(T)[r] : g) : this[i] = 0;
1951
+ }, s.layoutItems = function(i, r) {
1952
+ i = this._getItemsForLayout(i), this._layoutItems(i, r), this._postLayout();
1953
+ }, s._getItemsForLayout = function(i) {
1954
+ return i.filter(function(r) {
1955
+ return !r.isIgnored;
1946
1956
  });
1947
- }, r._layoutItems = function(i, a) {
1957
+ }, s._layoutItems = function(i, r) {
1948
1958
  if (this._emitCompleteOnItems("layout", i), !(!i || !i.length)) {
1949
- var m = [];
1959
+ var g = [];
1950
1960
  i.forEach(function(T) {
1951
- var C = this._getItemLayoutPosition(T);
1952
- C.item = T, C.isInstant = a || T.isLayoutInstant, m.push(C);
1953
- }, this), this._processLayoutQueue(m);
1961
+ var $ = this._getItemLayoutPosition(T);
1962
+ $.item = T, $.isInstant = r || T.isLayoutInstant, g.push($);
1963
+ }, this), this._processLayoutQueue(g);
1954
1964
  }
1955
- }, r._getItemLayoutPosition = function() {
1965
+ }, s._getItemLayoutPosition = function() {
1956
1966
  return {
1957
1967
  x: 0,
1958
1968
  y: 0
1959
1969
  };
1960
- }, r._processLayoutQueue = function(i) {
1961
- this.updateStagger(), i.forEach(function(a, m) {
1962
- this._positionItem(a.item, a.x, a.y, a.isInstant, m);
1970
+ }, s._processLayoutQueue = function(i) {
1971
+ this.updateStagger(), i.forEach(function(r, g) {
1972
+ this._positionItem(r.item, r.x, r.y, r.isInstant, g);
1963
1973
  }, this);
1964
- }, r.updateStagger = function() {
1974
+ }, s.updateStagger = function() {
1965
1975
  var i = this.options.stagger;
1966
1976
  if (i == null) {
1967
1977
  this.stagger = 0;
1968
1978
  return;
1969
1979
  }
1970
1980
  return this.stagger = f(i), this.stagger;
1971
- }, r._positionItem = function(i, a, m, T, C) {
1972
- T ? i.goTo(a, m) : (i.stagger(C * this.stagger), i.moveTo(a, m));
1973
- }, r._postLayout = function() {
1981
+ }, s._positionItem = function(i, r, g, T, $) {
1982
+ T ? i.goTo(r, g) : (i.stagger($ * this.stagger), i.moveTo(r, g));
1983
+ }, s._postLayout = function() {
1974
1984
  this.resizeContainer();
1975
- }, r.resizeContainer = function() {
1985
+ }, s.resizeContainer = function() {
1976
1986
  var i = this._getOption("resizeContainer");
1977
1987
  if (i) {
1978
- var a = this._getContainerSize();
1979
- a && (this._setContainerMeasure(a.width, !0), this._setContainerMeasure(a.height, !1));
1988
+ var r = this._getContainerSize();
1989
+ r && (this._setContainerMeasure(r.width, !0), this._setContainerMeasure(r.height, !1));
1980
1990
  }
1981
- }, r._getContainerSize = c, r._setContainerMeasure = function(i, a) {
1991
+ }, s._getContainerSize = c, s._setContainerMeasure = function(i, r) {
1982
1992
  if (i !== void 0) {
1983
- var m = this.size;
1984
- m.isBorderBox && (i += a ? m.paddingLeft + m.paddingRight + m.borderLeftWidth + m.borderRightWidth : m.paddingBottom + m.paddingTop + m.borderTopWidth + m.borderBottomWidth), i = Math.max(i, 0), this.element.style[a ? "width" : "height"] = i + "px";
1993
+ var g = this.size;
1994
+ g.isBorderBox && (i += r ? g.paddingLeft + g.paddingRight + g.borderLeftWidth + g.borderRightWidth : g.paddingBottom + g.paddingTop + g.borderTopWidth + g.borderBottomWidth), i = Math.max(i, 0), this.element.style[r ? "width" : "height"] = i + "px";
1985
1995
  }
1986
- }, r._emitCompleteOnItems = function(i, a) {
1987
- var m = this;
1996
+ }, s._emitCompleteOnItems = function(i, r) {
1997
+ var g = this;
1988
1998
  function T() {
1989
- m.dispatchEvent(i + "Complete", null, [a]);
1999
+ g.dispatchEvent(i + "Complete", null, [r]);
1990
2000
  }
1991
- var C = a.length;
1992
- if (!a || !C) {
2001
+ var $ = r.length;
2002
+ if (!r || !$) {
1993
2003
  T();
1994
2004
  return;
1995
2005
  }
1996
- var w = 0;
1997
- function V() {
1998
- w++, w == C && T();
2006
+ var L = 0;
2007
+ function H() {
2008
+ L++, L == $ && T();
1999
2009
  }
2000
- a.forEach(function(W) {
2001
- W.once(i, V);
2010
+ r.forEach(function(D) {
2011
+ D.once(i, H);
2002
2012
  });
2003
- }, r.dispatchEvent = function(i, a, m) {
2004
- var T = a ? [a].concat(m) : m;
2013
+ }, s.dispatchEvent = function(i, r, g) {
2014
+ var T = r ? [r].concat(g) : g;
2005
2015
  if (this.emitEvent(i, T), d)
2006
- if (this.$element = this.$element || d(this.element), a) {
2007
- var C = d.Event(a);
2008
- C.type = i, this.$element.trigger(C, m);
2016
+ if (this.$element = this.$element || d(this.element), r) {
2017
+ var $ = d.Event(r);
2018
+ $.type = i, this.$element.trigger($, g);
2009
2019
  } else
2010
- this.$element.trigger(i, m);
2011
- }, r.ignore = function(i) {
2012
- var a = this.getItem(i);
2013
- a && (a.isIgnored = !0);
2014
- }, r.unignore = function(i) {
2015
- var a = this.getItem(i);
2016
- a && delete a.isIgnored;
2017
- }, r.stamp = function(i) {
2020
+ this.$element.trigger(i, g);
2021
+ }, s.ignore = function(i) {
2022
+ var r = this.getItem(i);
2023
+ r && (r.isIgnored = !0);
2024
+ }, s.unignore = function(i) {
2025
+ var r = this.getItem(i);
2026
+ r && delete r.isIgnored;
2027
+ }, s.stamp = function(i) {
2018
2028
  i = this._find(i), i && (this.stamps = this.stamps.concat(i), i.forEach(this.ignore, this));
2019
- }, r.unstamp = function(i) {
2020
- i = this._find(i), i && i.forEach(function(a) {
2021
- u.removeFrom(this.stamps, a), this.unignore(a);
2029
+ }, s.unstamp = function(i) {
2030
+ i = this._find(i), i && i.forEach(function(r) {
2031
+ u.removeFrom(this.stamps, r), this.unignore(r);
2022
2032
  }, this);
2023
- }, r._find = function(i) {
2033
+ }, s._find = function(i) {
2024
2034
  if (i)
2025
2035
  return typeof i == "string" && (i = this.element.querySelectorAll(i)), i = u.makeArray(i), i;
2026
- }, r._manageStamps = function() {
2036
+ }, s._manageStamps = function() {
2027
2037
  !this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
2028
- }, r._getBoundingRect = function() {
2029
- var i = this.element.getBoundingClientRect(), a = this.size;
2038
+ }, s._getBoundingRect = function() {
2039
+ var i = this.element.getBoundingClientRect(), r = this.size;
2030
2040
  this._boundingRect = {
2031
- left: i.left + a.paddingLeft + a.borderLeftWidth,
2032
- top: i.top + a.paddingTop + a.borderTopWidth,
2033
- right: i.right - (a.paddingRight + a.borderRightWidth),
2034
- bottom: i.bottom - (a.paddingBottom + a.borderBottomWidth)
2041
+ left: i.left + r.paddingLeft + r.borderLeftWidth,
2042
+ top: i.top + r.paddingTop + r.borderTopWidth,
2043
+ right: i.right - (r.paddingRight + r.borderRightWidth),
2044
+ bottom: i.bottom - (r.paddingBottom + r.borderBottomWidth)
2035
2045
  };
2036
- }, r._manageStamp = c, r._getElementOffset = function(i) {
2037
- var a = i.getBoundingClientRect(), m = this._boundingRect, T = l(i), C = {
2038
- left: a.left - m.left - T.marginLeft,
2039
- top: a.top - m.top - T.marginTop,
2040
- right: m.right - a.right - T.marginRight,
2041
- bottom: m.bottom - a.bottom - T.marginBottom
2046
+ }, s._manageStamp = c, s._getElementOffset = function(i) {
2047
+ var r = i.getBoundingClientRect(), g = this._boundingRect, T = l(i), $ = {
2048
+ left: r.left - g.left - T.marginLeft,
2049
+ top: r.top - g.top - T.marginTop,
2050
+ right: g.right - r.right - T.marginRight,
2051
+ bottom: g.bottom - r.bottom - T.marginBottom
2042
2052
  };
2043
- return C;
2044
- }, r.handleEvent = u.handleEvent, r.bindResize = function() {
2053
+ return $;
2054
+ }, s.handleEvent = u.handleEvent, s.bindResize = function() {
2045
2055
  t.addEventListener("resize", this), this.isResizeBound = !0;
2046
- }, r.unbindResize = function() {
2056
+ }, s.unbindResize = function() {
2047
2057
  t.removeEventListener("resize", this), this.isResizeBound = !1;
2048
- }, r.onresize = function() {
2058
+ }, s.onresize = function() {
2049
2059
  this.resize();
2050
- }, u.debounceMethod(b, "onresize", 100), r.resize = function() {
2060
+ }, u.debounceMethod(b, "onresize", 100), s.resize = function() {
2051
2061
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
2052
- }, r.needsResizeLayout = function() {
2053
- var i = l(this.element), a = this.size && i;
2054
- return a && i.innerWidth !== this.size.innerWidth;
2055
- }, r.addItems = function(i) {
2056
- var a = this._itemize(i);
2057
- return a.length && (this.items = this.items.concat(a)), a;
2058
- }, r.appended = function(i) {
2059
- var a = this.addItems(i);
2060
- a.length && (this.layoutItems(a, !0), this.reveal(a));
2061
- }, r.prepended = function(i) {
2062
- var a = this._itemize(i);
2063
- if (a.length) {
2064
- var m = this.items.slice(0);
2065
- this.items = a.concat(m), this._resetLayout(), this._manageStamps(), this.layoutItems(a, !0), this.reveal(a), this.layoutItems(m);
2062
+ }, s.needsResizeLayout = function() {
2063
+ var i = l(this.element), r = this.size && i;
2064
+ return r && i.innerWidth !== this.size.innerWidth;
2065
+ }, s.addItems = function(i) {
2066
+ var r = this._itemize(i);
2067
+ return r.length && (this.items = this.items.concat(r)), r;
2068
+ }, s.appended = function(i) {
2069
+ var r = this.addItems(i);
2070
+ r.length && (this.layoutItems(r, !0), this.reveal(r));
2071
+ }, s.prepended = function(i) {
2072
+ var r = this._itemize(i);
2073
+ if (r.length) {
2074
+ var g = this.items.slice(0);
2075
+ this.items = r.concat(g), this._resetLayout(), this._manageStamps(), this.layoutItems(r, !0), this.reveal(r), this.layoutItems(g);
2066
2076
  }
2067
- }, r.reveal = function(i) {
2077
+ }, s.reveal = function(i) {
2068
2078
  if (this._emitCompleteOnItems("reveal", i), !(!i || !i.length)) {
2069
- var a = this.updateStagger();
2070
- i.forEach(function(m, T) {
2071
- m.stagger(T * a), m.reveal();
2079
+ var r = this.updateStagger();
2080
+ i.forEach(function(g, T) {
2081
+ g.stagger(T * r), g.reveal();
2072
2082
  });
2073
2083
  }
2074
- }, r.hide = function(i) {
2084
+ }, s.hide = function(i) {
2075
2085
  if (this._emitCompleteOnItems("hide", i), !(!i || !i.length)) {
2076
- var a = this.updateStagger();
2077
- i.forEach(function(m, T) {
2078
- m.stagger(T * a), m.hide();
2086
+ var r = this.updateStagger();
2087
+ i.forEach(function(g, T) {
2088
+ g.stagger(T * r), g.hide();
2079
2089
  });
2080
2090
  }
2081
- }, r.revealItemElements = function(i) {
2082
- var a = this.getItems(i);
2083
- this.reveal(a);
2084
- }, r.hideItemElements = function(i) {
2085
- var a = this.getItems(i);
2086
- this.hide(a);
2087
- }, r.getItem = function(i) {
2088
- for (var a = 0; a < this.items.length; a++) {
2089
- var m = this.items[a];
2090
- if (m.element == i)
2091
- return m;
2091
+ }, s.revealItemElements = function(i) {
2092
+ var r = this.getItems(i);
2093
+ this.reveal(r);
2094
+ }, s.hideItemElements = function(i) {
2095
+ var r = this.getItems(i);
2096
+ this.hide(r);
2097
+ }, s.getItem = function(i) {
2098
+ for (var r = 0; r < this.items.length; r++) {
2099
+ var g = this.items[r];
2100
+ if (g.element == i)
2101
+ return g;
2092
2102
  }
2093
- }, r.getItems = function(i) {
2103
+ }, s.getItems = function(i) {
2094
2104
  i = u.makeArray(i);
2095
- var a = [];
2096
- return i.forEach(function(m) {
2097
- var T = this.getItem(m);
2098
- T && a.push(T);
2099
- }, this), a;
2100
- }, r.remove = function(i) {
2101
- var a = this.getItems(i);
2102
- this._emitCompleteOnItems("remove", a), !(!a || !a.length) && a.forEach(function(m) {
2103
- m.remove(), u.removeFrom(this.items, m);
2105
+ var r = [];
2106
+ return i.forEach(function(g) {
2107
+ var T = this.getItem(g);
2108
+ T && r.push(T);
2109
+ }, this), r;
2110
+ }, s.remove = function(i) {
2111
+ var r = this.getItems(i);
2112
+ this._emitCompleteOnItems("remove", r), !(!r || !r.length) && r.forEach(function(g) {
2113
+ g.remove(), u.removeFrom(this.items, g);
2104
2114
  }, this);
2105
- }, r.destroy = function() {
2115
+ }, s.destroy = function() {
2106
2116
  var i = this.element.style;
2107
- i.height = "", i.position = "", i.width = "", this.items.forEach(function(m) {
2108
- m.destroy();
2117
+ i.height = "", i.position = "", i.width = "", this.items.forEach(function(g) {
2118
+ g.destroy();
2109
2119
  }), this.unbindResize();
2110
- var a = this.element.outlayerGUID;
2111
- delete y[a], delete this.element.outlayerGUID, d && d.removeData(this.element, this.constructor.namespace);
2120
+ var r = this.element.outlayerGUID;
2121
+ delete y[r], delete this.element.outlayerGUID, d && d.removeData(this.element, this.constructor.namespace);
2112
2122
  }, b.data = function(i) {
2113
2123
  i = u.getQueryElement(i);
2114
- var a = i && i.outlayerGUID;
2115
- return a && y[a];
2116
- }, b.create = function(i, a) {
2117
- var m = k(b);
2118
- return m.defaults = u.extend({}, b.defaults), u.extend(m.defaults, a), m.compatOptions = u.extend({}, b.compatOptions), m.namespace = i, m.data = b.data, m.Item = k(p), u.htmlInit(m, i), d && d.bridget && d.bridget(i, m), m;
2124
+ var r = i && i.outlayerGUID;
2125
+ return r && y[r];
2126
+ }, b.create = function(i, r) {
2127
+ var g = k(b);
2128
+ return g.defaults = u.extend({}, b.defaults), u.extend(g.defaults, r), g.compatOptions = u.extend({}, b.compatOptions), g.namespace = i, g.data = b.data, g.Item = k(p), u.htmlInit(g, i), d && d.bridget && d.bridget(i, g), g;
2119
2129
  };
2120
2130
  function k(i) {
2121
- function a() {
2131
+ function r() {
2122
2132
  i.apply(this, arguments);
2123
2133
  }
2124
- return a.prototype = Object.create(i.prototype), a.prototype.constructor = a, a;
2134
+ return r.prototype = Object.create(i.prototype), r.prototype.constructor = r, r;
2125
2135
  }
2126
2136
  var _ = {
2127
2137
  ms: 1,
@@ -2130,16 +2140,16 @@ function yi() {
2130
2140
  function f(i) {
2131
2141
  if (typeof i == "number")
2132
2142
  return i;
2133
- var a = i.match(/(^\d*\.?\d*)(\w*)/), m = a && a[1], T = a && a[2];
2134
- if (!m.length)
2143
+ var r = i.match(/(^\d*\.?\d*)(\w*)/), g = r && r[1], T = r && r[2];
2144
+ if (!g.length)
2135
2145
  return 0;
2136
- m = parseFloat(m);
2137
- var C = _[T] || 1;
2138
- return m * C;
2146
+ g = parseFloat(g);
2147
+ var $ = _[T] || 1;
2148
+ return g * $;
2139
2149
  }
2140
2150
  return b.Item = p, b;
2141
2151
  });
2142
- }(He)), He.exports;
2152
+ }(Oe)), Oe.exports;
2143
2153
  }
2144
2154
  /*!
2145
2155
  * Masonry v4.2.2
@@ -2152,7 +2162,7 @@ function yi() {
2152
2162
  (function(e, t) {
2153
2163
  o.exports ? o.exports = t(
2154
2164
  yi(),
2155
- Qe()
2165
+ Je()
2156
2166
  ) : e.Masonry = t(
2157
2167
  e.Outlayer,
2158
2168
  e.getSize
@@ -2172,8 +2182,8 @@ function yi() {
2172
2182
  this.columnWidth = h && n(h).outerWidth || // if first elem has no width, default to size of container
2173
2183
  this.containerWidth;
2174
2184
  }
2175
- var d = this.columnWidth += this.gutter, c = this.containerWidth + this.gutter, g = c / d, y = d - c % d, b = y && y < 1 ? "round" : "floor";
2176
- g = Math[b](g), this.cols = Math.max(g, 1);
2185
+ var d = this.columnWidth += this.gutter, c = this.containerWidth + this.gutter, m = c / d, y = d - c % d, b = y && y < 1 ? "round" : "floor";
2186
+ m = Math[b](m), this.cols = Math.max(m, 1);
2177
2187
  }, u.getContainerWidth = function() {
2178
2188
  var p = this._getOption("fitWidth"), h = p ? this.element.parentNode : this.element, d = n(h);
2179
2189
  this.containerWidth = d && d.innerWidth;
@@ -2181,11 +2191,11 @@ function yi() {
2181
2191
  p.getSize();
2182
2192
  var h = p.size.outerWidth % this.columnWidth, d = h && h < 1 ? "round" : "ceil", c = Math[d](p.size.outerWidth / this.columnWidth);
2183
2193
  c = Math.min(c, this.cols);
2184
- for (var g = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", y = this[g](c, p), b = {
2194
+ for (var m = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", y = this[m](c, p), b = {
2185
2195
  x: this.columnWidth * y.col,
2186
2196
  y: y.y
2187
- }, r = y.y + p.size.outerHeight, k = c + y.col, _ = y.col; _ < k; _++)
2188
- this.colYs[_] = r;
2197
+ }, s = y.y + p.size.outerHeight, k = c + y.col, _ = y.col; _ < k; _++)
2198
+ this.colYs[_] = s;
2189
2199
  return b;
2190
2200
  }, u._getTopColPosition = function(p) {
2191
2201
  var h = this._getTopColGroup(p), d = Math.min.apply(Math, h);
@@ -2207,17 +2217,17 @@ function yi() {
2207
2217
  }, u._getHorizontalColPosition = function(p, h) {
2208
2218
  var d = this.horizontalColIndex % this.cols, c = p > 1 && d + p > this.cols;
2209
2219
  d = c ? 0 : d;
2210
- var g = h.size.outerWidth && h.size.outerHeight;
2211
- return this.horizontalColIndex = g ? d + p : this.horizontalColIndex, {
2220
+ var m = h.size.outerWidth && h.size.outerHeight;
2221
+ return this.horizontalColIndex = m ? d + p : this.horizontalColIndex, {
2212
2222
  col: d,
2213
2223
  y: this._getColGroupY(d, p)
2214
2224
  };
2215
2225
  }, u._manageStamp = function(p) {
2216
- var h = n(p), d = this._getElementOffset(p), c = this._getOption("originLeft"), g = c ? d.left : d.right, y = g + h.outerWidth, b = Math.floor(g / this.columnWidth);
2226
+ var h = n(p), d = this._getElementOffset(p), c = this._getOption("originLeft"), m = c ? d.left : d.right, y = m + h.outerWidth, b = Math.floor(m / this.columnWidth);
2217
2227
  b = Math.max(0, b);
2218
- var r = Math.floor(y / this.columnWidth);
2219
- r -= y % this.columnWidth ? 0 : 1, r = Math.min(this.cols - 1, r);
2220
- for (var k = this._getOption("originTop"), _ = (k ? d.top : d.bottom) + h.outerHeight, f = b; f <= r; f++)
2228
+ var s = Math.floor(y / this.columnWidth);
2229
+ s -= y % this.columnWidth ? 0 : 1, s = Math.min(this.cols - 1, s);
2230
+ for (var k = this._getOption("originTop"), _ = (k ? d.top : d.bottom) + h.outerHeight, f = b; f <= s; f++)
2221
2231
  this.colYs[f] = Math.max(_, this.colYs[f]);
2222
2232
  }, u._getContainerSize = function() {
2223
2233
  this.maxY = Math.max.apply(Math, this.colYs);
@@ -2234,10 +2244,10 @@ function yi() {
2234
2244
  return this.getContainerWidth(), p != this.containerWidth;
2235
2245
  }, l;
2236
2246
  });
2237
- })(Lt);
2238
- var bi = Lt.exports;
2239
- const pt = /* @__PURE__ */ $t(bi);
2240
- var Vt = { exports: {} };
2247
+ })(Pt);
2248
+ var bi = Pt.exports;
2249
+ const ft = /* @__PURE__ */ Vt(bi);
2250
+ var xt = { exports: {} };
2241
2251
  /*!
2242
2252
  * imagesLoaded v4.1.4
2243
2253
  * JavaScript is all like "You images are done yet or what?"
@@ -2247,115 +2257,115 @@ var Vt = { exports: {} };
2247
2257
  (function(e, t) {
2248
2258
  o.exports ? o.exports = t(
2249
2259
  e,
2250
- Ke()
2260
+ Qe()
2251
2261
  ) : e.imagesLoaded = t(
2252
2262
  e,
2253
2263
  e.EvEmitter
2254
2264
  );
2255
2265
  })(
2256
- typeof window != "undefined" ? window : Ct,
2266
+ typeof window != "undefined" ? window : St,
2257
2267
  // -------------------------- factory -------------------------- //
2258
2268
  function(t, n) {
2259
2269
  var l = t.jQuery, u = t.console;
2260
- function p(r, k) {
2270
+ function p(s, k) {
2261
2271
  for (var _ in k)
2262
- r[_] = k[_];
2263
- return r;
2272
+ s[_] = k[_];
2273
+ return s;
2264
2274
  }
2265
2275
  var h = Array.prototype.slice;
2266
- function d(r) {
2267
- if (Array.isArray(r))
2268
- return r;
2269
- var k = typeof r == "object" && typeof r.length == "number";
2270
- return k ? h.call(r) : [r];
2276
+ function d(s) {
2277
+ if (Array.isArray(s))
2278
+ return s;
2279
+ var k = typeof s == "object" && typeof s.length == "number";
2280
+ return k ? h.call(s) : [s];
2271
2281
  }
2272
- function c(r, k, _) {
2282
+ function c(s, k, _) {
2273
2283
  if (!(this instanceof c))
2274
- return new c(r, k, _);
2275
- var f = r;
2276
- if (typeof r == "string" && (f = document.querySelectorAll(r)), !f) {
2277
- u.error("Bad element for imagesLoaded " + (f || r));
2284
+ return new c(s, k, _);
2285
+ var f = s;
2286
+ if (typeof s == "string" && (f = document.querySelectorAll(s)), !f) {
2287
+ u.error("Bad element for imagesLoaded " + (f || s));
2278
2288
  return;
2279
2289
  }
2280
2290
  this.elements = d(f), this.options = p({}, this.options), typeof k == "function" ? _ = k : p(this.options, k), _ && this.on("always", _), this.getImages(), l && (this.jqDeferred = new l.Deferred()), setTimeout(this.check.bind(this));
2281
2291
  }
2282
2292
  c.prototype = Object.create(n.prototype), c.prototype.options = {}, c.prototype.getImages = function() {
2283
2293
  this.images = [], this.elements.forEach(this.addElementImages, this);
2284
- }, c.prototype.addElementImages = function(r) {
2285
- r.nodeName == "IMG" && this.addImage(r), this.options.background === !0 && this.addElementBackgroundImages(r);
2286
- var k = r.nodeType;
2287
- if (!(!k || !g[k])) {
2288
- for (var _ = r.querySelectorAll("img"), f = 0; f < _.length; f++) {
2294
+ }, c.prototype.addElementImages = function(s) {
2295
+ s.nodeName == "IMG" && this.addImage(s), this.options.background === !0 && this.addElementBackgroundImages(s);
2296
+ var k = s.nodeType;
2297
+ if (!(!k || !m[k])) {
2298
+ for (var _ = s.querySelectorAll("img"), f = 0; f < _.length; f++) {
2289
2299
  var i = _[f];
2290
2300
  this.addImage(i);
2291
2301
  }
2292
2302
  if (typeof this.options.background == "string") {
2293
- var a = r.querySelectorAll(this.options.background);
2294
- for (f = 0; f < a.length; f++) {
2295
- var m = a[f];
2296
- this.addElementBackgroundImages(m);
2303
+ var r = s.querySelectorAll(this.options.background);
2304
+ for (f = 0; f < r.length; f++) {
2305
+ var g = r[f];
2306
+ this.addElementBackgroundImages(g);
2297
2307
  }
2298
2308
  }
2299
2309
  }
2300
2310
  };
2301
- var g = {
2311
+ var m = {
2302
2312
  1: !0,
2303
2313
  9: !0,
2304
2314
  11: !0
2305
2315
  };
2306
- c.prototype.addElementBackgroundImages = function(r) {
2307
- var k = getComputedStyle(r);
2316
+ c.prototype.addElementBackgroundImages = function(s) {
2317
+ var k = getComputedStyle(s);
2308
2318
  if (k)
2309
2319
  for (var _ = /url\((['"])?(.*?)\1\)/gi, f = _.exec(k.backgroundImage); f !== null; ) {
2310
2320
  var i = f && f[2];
2311
- i && this.addBackground(i, r), f = _.exec(k.backgroundImage);
2321
+ i && this.addBackground(i, s), f = _.exec(k.backgroundImage);
2312
2322
  }
2313
- }, c.prototype.addImage = function(r) {
2314
- var k = new y(r);
2323
+ }, c.prototype.addImage = function(s) {
2324
+ var k = new y(s);
2315
2325
  this.images.push(k);
2316
- }, c.prototype.addBackground = function(r, k) {
2317
- var _ = new b(r, k);
2326
+ }, c.prototype.addBackground = function(s, k) {
2327
+ var _ = new b(s, k);
2318
2328
  this.images.push(_);
2319
2329
  }, c.prototype.check = function() {
2320
- var r = this;
2330
+ var s = this;
2321
2331
  if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
2322
2332
  this.complete();
2323
2333
  return;
2324
2334
  }
2325
2335
  function k(_, f, i) {
2326
2336
  setTimeout(function() {
2327
- r.progress(_, f, i);
2337
+ s.progress(_, f, i);
2328
2338
  });
2329
2339
  }
2330
2340
  this.images.forEach(function(_) {
2331
2341
  _.once("progress", k), _.check();
2332
2342
  });
2333
- }, c.prototype.progress = function(r, k, _) {
2334
- this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !r.isLoaded, this.emitEvent("progress", [this, r, k]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, r), this.progressedCount == this.images.length && this.complete(), this.options.debug && u && u.log("progress: " + _, r, k);
2343
+ }, c.prototype.progress = function(s, k, _) {
2344
+ this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !s.isLoaded, this.emitEvent("progress", [this, s, k]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, s), this.progressedCount == this.images.length && this.complete(), this.options.debug && u && u.log("progress: " + _, s, k);
2335
2345
  }, c.prototype.complete = function() {
2336
- var r = this.hasAnyBroken ? "fail" : "done";
2337
- if (this.isComplete = !0, this.emitEvent(r, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
2346
+ var s = this.hasAnyBroken ? "fail" : "done";
2347
+ if (this.isComplete = !0, this.emitEvent(s, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
2338
2348
  var k = this.hasAnyBroken ? "reject" : "resolve";
2339
2349
  this.jqDeferred[k](this);
2340
2350
  }
2341
2351
  };
2342
- function y(r) {
2343
- this.img = r;
2352
+ function y(s) {
2353
+ this.img = s;
2344
2354
  }
2345
2355
  y.prototype = Object.create(n.prototype), y.prototype.check = function() {
2346
- var r = this.getIsImageComplete();
2347
- if (r) {
2356
+ var s = this.getIsImageComplete();
2357
+ if (s) {
2348
2358
  this.confirm(this.img.naturalWidth !== 0, "naturalWidth");
2349
2359
  return;
2350
2360
  }
2351
2361
  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;
2352
2362
  }, y.prototype.getIsImageComplete = function() {
2353
2363
  return this.img.complete && this.img.naturalWidth;
2354
- }, y.prototype.confirm = function(r, k) {
2355
- this.isLoaded = r, this.emitEvent("progress", [this, this.img, k]);
2356
- }, y.prototype.handleEvent = function(r) {
2357
- var k = "on" + r.type;
2358
- this[k] && this[k](r);
2364
+ }, y.prototype.confirm = function(s, k) {
2365
+ this.isLoaded = s, this.emitEvent("progress", [this, this.img, k]);
2366
+ }, y.prototype.handleEvent = function(s) {
2367
+ var k = "on" + s.type;
2368
+ this[k] && this[k](s);
2359
2369
  }, y.prototype.onload = function() {
2360
2370
  this.confirm(!0, "onload"), this.unbindEvents();
2361
2371
  }, y.prototype.onerror = function() {
@@ -2363,28 +2373,28 @@ var Vt = { exports: {} };
2363
2373
  }, y.prototype.unbindEvents = function() {
2364
2374
  this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2365
2375
  };
2366
- function b(r, k) {
2367
- this.url = r, this.element = k, this.img = new Image();
2376
+ function b(s, k) {
2377
+ this.url = s, this.element = k, this.img = new Image();
2368
2378
  }
2369
2379
  return b.prototype = Object.create(y.prototype), b.prototype.check = function() {
2370
2380
  this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
2371
- var r = this.getIsImageComplete();
2372
- r && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
2381
+ var s = this.getIsImageComplete();
2382
+ s && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
2373
2383
  }, b.prototype.unbindEvents = function() {
2374
2384
  this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2375
- }, b.prototype.confirm = function(r, k) {
2376
- this.isLoaded = r, this.emitEvent("progress", [this, this.element, k]);
2377
- }, c.makeJQueryPlugin = function(r) {
2378
- r = r || t.jQuery, r && (l = r, l.fn.imagesLoaded = function(k, _) {
2385
+ }, b.prototype.confirm = function(s, k) {
2386
+ this.isLoaded = s, this.emitEvent("progress", [this, this.element, k]);
2387
+ }, c.makeJQueryPlugin = function(s) {
2388
+ s = s || t.jQuery, s && (l = s, l.fn.imagesLoaded = function(k, _) {
2379
2389
  var f = new c(this, k, _);
2380
2390
  return f.jqDeferred.promise(l(this));
2381
2391
  });
2382
2392
  }, c.makeJQueryPlugin(), c;
2383
2393
  }
2384
2394
  );
2385
- })(Vt);
2386
- var ki = Vt.exports;
2387
- const _i = /* @__PURE__ */ $t(ki);
2395
+ })(xt);
2396
+ var ki = xt.exports;
2397
+ const _i = /* @__PURE__ */ Vt(ki);
2388
2398
  function Ei(o) {
2389
2399
  return { all: o = o || /* @__PURE__ */ new Map(), on: function(e, t) {
2390
2400
  var n = o.get(e);
@@ -2414,7 +2424,7 @@ const ye = {
2414
2424
  "horizontal-order": "horizontalOrder",
2415
2425
  stagger: "stagger",
2416
2426
  "destroy-delay": "destroyDelay"
2417
- }, be = "vuemasonry.itemAdded", ze = "vuemasonry.itemRemoved", We = "vuemasonry.imageLoaded", Be = "vuemasonry.destroy", Ti = function(o) {
2427
+ }, be = "vuemasonry.itemAdded", ze = "vuemasonry.itemRemoved", We = "vuemasonry.imageLoaded", Fe = "vuemasonry.destroy", Ti = function(o) {
2418
2428
  return (o + "").toLowerCase() === "true";
2419
2429
  }, Ii = function(o) {
2420
2430
  return isNaN(o) ? o : parseInt(o);
@@ -2423,34 +2433,34 @@ const ye = {
2423
2433
  return Array.prototype.slice.call(o).forEach(function(n) {
2424
2434
  Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] = Ti(n.value) : n.name === "column-width" || n.name === "gutter" ? e[ye[n.name]] = Ii(n.value) : e[ye[n.name]] = n.value);
2425
2435
  }), e;
2426
- }, Pt = {};
2427
- Pt.install = function(o, e) {
2436
+ }, wt = {};
2437
+ wt.install = function(o, e) {
2428
2438
  const t = Ei(), n = "VueMasonry", l = o;
2429
2439
  l.directive("masonry", {
2430
2440
  props: ["transitionDuration", " itemSelector", "destroyDelay"],
2431
2441
  mounted: function(u, p) {
2432
- if (!pt)
2442
+ if (!ft)
2433
2443
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
2434
- const h = Ci(u.attributes), d = new pt(u, h), c = p.value || n, g = h.destroyDelay ? parseInt(h.destroyDelay, 10) : void 0, y = function() {
2444
+ const h = Ci(u.attributes), d = new ft(u, h), c = p.value || n, m = h.destroyDelay ? parseInt(h.destroyDelay, 10) : void 0, y = function() {
2435
2445
  d.reloadItems(), d.layout();
2436
2446
  };
2437
- kt(() => {
2447
+ $t(() => {
2438
2448
  y();
2439
2449
  });
2440
2450
  const b = function(k) {
2441
2451
  y();
2442
- }, r = function(k) {
2443
- t.off(`${be}__${c}`, b), t.off(`${ze}__${c}`, b), t.off(`${We}__${c}`, b), t.off(`${Be}__${c}`, r);
2444
- const _ = g && !Number.isNaN(g) ? g : 0;
2452
+ }, s = function(k) {
2453
+ t.off(`${be}__${c}`, b), t.off(`${ze}__${c}`, b), t.off(`${We}__${c}`, b), t.off(`${Fe}__${c}`, s);
2454
+ const _ = m && !Number.isNaN(m) ? m : 0;
2445
2455
  setTimeout(function() {
2446
2456
  d.destroy();
2447
2457
  }, _);
2448
2458
  };
2449
- t.on(`${be}__${c}`, b), t.on(`${ze}__${c}`, b), t.on(`${We}__${c}`, b), t.on(`${Be}__${c}`, r);
2459
+ t.on(`${be}__${c}`, b), t.on(`${ze}__${c}`, b), t.on(`${We}__${c}`, b), t.on(`${Fe}__${c}`, s);
2450
2460
  },
2451
2461
  unbind: function(u, p) {
2452
2462
  const h = p.value || n;
2453
- t.emit(`${Be}__${h}`);
2463
+ t.emit(`${Fe}__${h}`);
2454
2464
  }
2455
2465
  }), l.directive("masonryTile", {
2456
2466
  mounted: function(u, p) {
@@ -2478,26 +2488,26 @@ Pt.install = function(o, e) {
2478
2488
  o.config.globalProperties.$redrawVueMasonry = u, o.provide("redrawVueMasonry", u);
2479
2489
  }
2480
2490
  };
2481
- function Ne(o, e = {}, t) {
2491
+ function Ge(o, e = {}, t) {
2482
2492
  for (const n in o) {
2483
2493
  const l = o[n], u = t ? `${t}:${n}` : n;
2484
- typeof l == "object" && l !== null ? Ne(l, e, u) : typeof l == "function" && (e[u] = l);
2494
+ typeof l == "object" && l !== null ? Ge(l, e, u) : typeof l == "function" && (e[u] = l);
2485
2495
  }
2486
2496
  return e;
2487
2497
  }
2488
- const $i = { run: (o) => o() }, Si = () => $i, xt = typeof console.createTask != "undefined" ? console.createTask : Si;
2489
- function Li(o, e) {
2490
- const t = e.shift(), n = xt(t);
2498
+ const $i = { run: (o) => o() }, Si = () => $i, Ht = typeof console.createTask != "undefined" ? console.createTask : Si;
2499
+ function Vi(o, e) {
2500
+ const t = e.shift(), n = Ht(t);
2491
2501
  return o.reduce(
2492
2502
  (l, u) => l.then(() => n.run(() => u(...e))),
2493
2503
  Promise.resolve()
2494
2504
  );
2495
2505
  }
2496
- function Vi(o, e) {
2497
- const t = e.shift(), n = xt(t);
2506
+ function Li(o, e) {
2507
+ const t = e.shift(), n = Ht(t);
2498
2508
  return Promise.all(o.map((l) => n.run(() => l(...e))));
2499
2509
  }
2500
- function Fe(o, e) {
2510
+ function Ne(o, e) {
2501
2511
  for (const t of [...o])
2502
2512
  t(e);
2503
2513
  }
@@ -2552,7 +2562,7 @@ class Pi {
2552
2562
  this.deprecateHook(t, e[t]);
2553
2563
  }
2554
2564
  addHooks(e) {
2555
- const t = Ne(e), n = Object.keys(t).map(
2565
+ const t = Ge(e), n = Object.keys(t).map(
2556
2566
  (l) => this.hook(l, t[l])
2557
2567
  );
2558
2568
  return () => {
@@ -2561,7 +2571,7 @@ class Pi {
2561
2571
  };
2562
2572
  }
2563
2573
  removeHooks(e) {
2564
- const t = Ne(e);
2574
+ const t = Ge(e);
2565
2575
  for (const n in t)
2566
2576
  this.removeHook(n, t[n]);
2567
2577
  }
@@ -2570,21 +2580,21 @@ class Pi {
2570
2580
  delete this._hooks[e];
2571
2581
  }
2572
2582
  callHook(e, ...t) {
2573
- return t.unshift(e), this.callHookWith(Li, e, ...t);
2583
+ return t.unshift(e), this.callHookWith(Vi, e, ...t);
2574
2584
  }
2575
2585
  callHookParallel(e, ...t) {
2576
- return t.unshift(e), this.callHookWith(Vi, e, ...t);
2586
+ return t.unshift(e), this.callHookWith(Li, e, ...t);
2577
2587
  }
2578
2588
  callHookWith(e, t, ...n) {
2579
2589
  const l = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
2580
- this._before && Fe(this._before, l);
2590
+ this._before && Ne(this._before, l);
2581
2591
  const u = e(
2582
2592
  t in this._hooks ? [...this._hooks[t]] : [],
2583
2593
  n
2584
2594
  );
2585
2595
  return u instanceof Promise ? u.finally(() => {
2586
- this._after && l && Fe(this._after, l);
2587
- }) : (this._after && l && Fe(this._after, l), u);
2596
+ this._after && l && Ne(this._after, l);
2597
+ }) : (this._after && l && Ne(this._after, l), u);
2588
2598
  }
2589
2599
  beforeEach(e) {
2590
2600
  return this._before = this._before || [], this._before.push(e), () => {
@@ -2628,19 +2638,19 @@ const Hi = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
2628
2638
  "style",
2629
2639
  "script",
2630
2640
  "noscript"
2631
- ], Ri = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], wt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Di = typeof window != "undefined";
2632
- function Je(o) {
2641
+ ], Di = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Ot = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Ri = typeof window != "undefined";
2642
+ function Xe(o) {
2633
2643
  let e = 9;
2634
2644
  for (let t = 0; t < o.length; )
2635
- e = Math.imul(e ^ o.charCodeAt(t++), tt(9, 9));
2645
+ e = Math.imul(e ^ o.charCodeAt(t++), nt(9, 9));
2636
2646
  return ((e ^ e >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
2637
2647
  }
2638
- function ht(o) {
2639
- return o._h || Je(o._d ? o._d : `${o.tag}:${o.textContent || o.innerHTML || ""}:${Object.entries(o.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
2648
+ function mt(o) {
2649
+ return o._h || Xe(o._d ? o._d : `${o.tag}:${o.textContent || o.innerHTML || ""}:${Object.entries(o.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
2640
2650
  }
2641
- function Ht(o, e) {
2651
+ function Dt(o, e) {
2642
2652
  const { props: t, tag: n } = o;
2643
- if (Ri.includes(n))
2653
+ if (Di.includes(n))
2644
2654
  return n;
2645
2655
  if (n === "link" && t.rel === "canonical")
2646
2656
  return "canonical";
@@ -2655,37 +2665,37 @@ function Ht(o, e) {
2655
2665
  }
2656
2666
  return !1;
2657
2667
  }
2658
- function ft(o, e) {
2668
+ function gt(o, e) {
2659
2669
  return o == null ? e || null : typeof o == "function" ? o(e) : o;
2660
2670
  }
2661
- function Ai(o, e, t) {
2671
+ function Mi(o, e, t) {
2662
2672
  return Q(this, null, function* () {
2663
2673
  const n = {
2664
2674
  tag: o,
2665
- props: yield Ot(
2675
+ props: yield Rt(
2666
2676
  // explicitly check for an object
2667
2677
  // @ts-expect-error untyped
2668
- typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? Z({}, e) : { [["script", "noscript", "style"].includes(o) ? "innerHTML" : "textContent"]: e },
2678
+ typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? ee({}, e) : { [["script", "noscript", "style"].includes(o) ? "innerHTML" : "textContent"]: e },
2669
2679
  ["templateParams", "titleTemplate"].includes(o)
2670
2680
  )
2671
2681
  };
2672
- return wt.forEach((l) => {
2682
+ return Ot.forEach((l) => {
2673
2683
  const u = typeof n.props[l] != "undefined" ? n.props[l] : t[l];
2674
2684
  typeof u != "undefined" && ((!["innerHTML", "textContent", "children"].includes(l) || Hi.includes(n.tag)) && (n[l === "children" ? "innerHTML" : l] = u), delete n.props[l]);
2675
- }), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((l) => ve(Z({}, n), { props: ve(Z({}, n.props), { content: l }) })) : n;
2685
+ }), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((l) => ve(ee({}, n), { props: ve(ee({}, n.props), { content: l }) })) : n;
2676
2686
  });
2677
2687
  }
2678
- function Mi(o) {
2688
+ function Bi(o) {
2679
2689
  return typeof o == "object" && !Array.isArray(o) && (o = Object.keys(o).filter((e) => o[e])), (Array.isArray(o) ? o.join(" ") : o).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
2680
2690
  }
2681
- function Ot(o, e) {
2691
+ function Rt(o, e) {
2682
2692
  return Q(this, null, function* () {
2683
2693
  for (const t of Object.keys(o)) {
2684
2694
  if (t === "class") {
2685
- o[t] = Mi(o[t]);
2695
+ o[t] = Bi(o[t]);
2686
2696
  continue;
2687
2697
  }
2688
- if (o[t] instanceof Promise && (o[t] = yield o[t]), !e && !wt.includes(t)) {
2698
+ if (o[t] instanceof Promise && (o[t] = yield o[t]), !e && !Ot.includes(t)) {
2689
2699
  const n = String(o[t]), l = t.startsWith("data-");
2690
2700
  n === "true" || n === "" ? o[t] = l ? "true" : !0 : o[t] || (l && n === "false" ? o[t] = "false" : delete o[t]);
2691
2701
  }
@@ -2693,21 +2703,21 @@ function Ot(o, e) {
2693
2703
  return o;
2694
2704
  });
2695
2705
  }
2696
- const zi = 10;
2697
- function Wi(o) {
2706
+ const Ai = 10;
2707
+ function zi(o) {
2698
2708
  return Q(this, null, function* () {
2699
2709
  const e = [];
2700
2710
  return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n != "undefined" && Oi.includes(t)).forEach(([t, n]) => {
2701
2711
  const l = wi(n);
2702
- e.push(...l.map((u) => Ai(t, u, o)).flat());
2703
- }), (yield Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << zi) + n, t));
2712
+ e.push(...l.map((u) => Mi(t, u, o)).flat());
2713
+ }), (yield Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Ai) + n, t));
2704
2714
  });
2705
2715
  }
2706
- const mt = {
2716
+ const vt = {
2707
2717
  // tags
2708
2718
  base: -10,
2709
2719
  title: 10
2710
- }, gt = {
2720
+ }, yt = {
2711
2721
  // relative scores to their default values
2712
2722
  critical: -80,
2713
2723
  high: -10,
@@ -2716,9 +2726,9 @@ const mt = {
2716
2726
  function Ie(o) {
2717
2727
  let e = 100;
2718
2728
  const t = o.tagPriority;
2719
- return typeof t == "number" ? t : (o.tag === "meta" ? (o.props["http-equiv"] === "content-security-policy" && (e = -30), o.props.charset && (e = -20), o.props.name === "viewport" && (e = -15)) : o.tag === "link" && o.props.rel === "preconnect" ? e = 20 : o.tag in mt && (e = mt[o.tag]), typeof t == "string" && t in gt ? e + gt[t] : e);
2729
+ return typeof t == "number" ? t : (o.tag === "meta" ? (o.props["http-equiv"] === "content-security-policy" && (e = -30), o.props.charset && (e = -20), o.props.name === "viewport" && (e = -15)) : o.tag === "link" && o.props.rel === "preconnect" ? e = 20 : o.tag in vt && (e = vt[o.tag]), typeof t == "string" && t in yt ? e + yt[t] : e);
2720
2730
  }
2721
- const Bi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Rt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], te = "%separator";
2731
+ const Wi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Mt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], te = "%separator";
2722
2732
  function _e(o, e, t) {
2723
2733
  if (typeof o != "string" || !o.includes("%"))
2724
2734
  return o;
@@ -2740,15 +2750,15 @@ function Fi(o) {
2740
2750
  return Q(this, null, function* () {
2741
2751
  const e = {
2742
2752
  tag: o.tagName.toLowerCase(),
2743
- props: yield Ot(
2744
- o.getAttributeNames().reduce((t, n) => ve(Z({}, t), { [n]: o.getAttribute(n) }), {})
2753
+ props: yield Rt(
2754
+ o.getAttributeNames().reduce((t, n) => ve(ee({}, t), { [n]: o.getAttribute(n) }), {})
2745
2755
  ),
2746
2756
  innerHTML: o.innerHTML
2747
2757
  };
2748
- return e._d = Ht(e), e;
2758
+ return e._d = Dt(e), e;
2749
2759
  });
2750
2760
  }
2751
- function qi(t) {
2761
+ function Ni(t) {
2752
2762
  return Q(this, arguments, function* (o, e = {}) {
2753
2763
  var y;
2754
2764
  const n = e.document || o.resolvedOptions.document;
@@ -2759,7 +2769,7 @@ function qi(t) {
2759
2769
  return;
2760
2770
  const u = (yield o.resolveTags()).map((b) => ({
2761
2771
  tag: b,
2762
- id: ke.includes(b.tag) ? ht(b) : b.tag,
2772
+ id: ke.includes(b.tag) ? mt(b) : b.tag,
2763
2773
  shouldRender: !0
2764
2774
  }));
2765
2775
  let p = o._dom;
@@ -2768,65 +2778,65 @@ function qi(t) {
2768
2778
  elMap: { htmlAttrs: n.documentElement, bodyAttrs: n.body }
2769
2779
  };
2770
2780
  for (const b of ["body", "head"]) {
2771
- const r = (y = n == null ? void 0 : n[b]) == null ? void 0 : y.children;
2772
- for (const k of [...r].filter((_) => ke.includes(_.tagName.toLowerCase())))
2773
- p.elMap[k.getAttribute("data-hid") || ht(yield Fi(k))] = k;
2781
+ const s = (y = n == null ? void 0 : n[b]) == null ? void 0 : y.children;
2782
+ for (const k of [...s].filter((_) => ke.includes(_.tagName.toLowerCase())))
2783
+ p.elMap[k.getAttribute("data-hid") || mt(yield Fi(k))] = k;
2774
2784
  }
2775
2785
  }
2776
- p.pendingSideEffects = Z({}, p.sideEffects || {}), p.sideEffects = {};
2777
- function h(b, r, k) {
2778
- const _ = `${b}:${r}`;
2786
+ p.pendingSideEffects = ee({}, p.sideEffects || {}), p.sideEffects = {};
2787
+ function h(b, s, k) {
2788
+ const _ = `${b}:${s}`;
2779
2789
  p.sideEffects[_] = k, delete p.pendingSideEffects[_];
2780
2790
  }
2781
- function d({ id: b, $el: r, tag: k }) {
2791
+ function d({ id: b, $el: s, tag: k }) {
2782
2792
  const _ = k.tag.endsWith("Attrs");
2783
- p.elMap[b] = r, _ || (["textContent", "innerHTML"].forEach((f) => {
2784
- k[f] && k[f] !== r[f] && (r[f] = k[f]);
2793
+ p.elMap[b] = s, _ || (["textContent", "innerHTML"].forEach((f) => {
2794
+ k[f] && k[f] !== s[f] && (s[f] = k[f]);
2785
2795
  }), h(b, "el", () => {
2786
2796
  p.elMap[b].remove(), delete p.elMap[b];
2787
2797
  })), Object.entries(k.props).forEach(([f, i]) => {
2788
- const a = `attr:${f}`;
2798
+ const r = `attr:${f}`;
2789
2799
  if (f === "class")
2790
- for (const m of (i || "").split(" ").filter(Boolean))
2791
- _ && h(b, `${a}:${m}`, () => r.classList.remove(m)), !r.classList.contains(m) && r.classList.add(m);
2800
+ for (const g of (i || "").split(" ").filter(Boolean))
2801
+ _ && h(b, `${r}:${g}`, () => s.classList.remove(g)), !s.classList.contains(g) && s.classList.add(g);
2792
2802
  else
2793
- r.getAttribute(f) !== i && r.setAttribute(f, i === !0 ? "" : String(i)), _ && h(b, a, () => r.removeAttribute(f));
2803
+ s.getAttribute(f) !== i && s.setAttribute(f, i === !0 ? "" : String(i)), _ && h(b, r, () => s.removeAttribute(f));
2794
2804
  });
2795
2805
  }
2796
- const c = [], g = {
2806
+ const c = [], m = {
2797
2807
  bodyClose: void 0,
2798
2808
  bodyOpen: void 0,
2799
2809
  head: void 0
2800
2810
  };
2801
2811
  for (const b of u) {
2802
- const { tag: r, shouldRender: k, id: _ } = b;
2812
+ const { tag: s, shouldRender: k, id: _ } = b;
2803
2813
  if (k) {
2804
- if (r.tag === "title") {
2805
- n.title = r.textContent;
2814
+ if (s.tag === "title") {
2815
+ n.title = s.textContent;
2806
2816
  continue;
2807
2817
  }
2808
- b.$el = b.$el || p.elMap[_], b.$el ? d(b) : ke.includes(r.tag) && c.push(b);
2818
+ b.$el = b.$el || p.elMap[_], b.$el ? d(b) : ke.includes(s.tag) && c.push(b);
2809
2819
  }
2810
2820
  }
2811
2821
  for (const b of c) {
2812
- const r = b.tag.tagPosition || "head";
2813
- b.$el = n.createElement(b.tag.tag), d(b), g[r] = g[r] || n.createDocumentFragment(), g[r].appendChild(b.$el);
2822
+ const s = b.tag.tagPosition || "head";
2823
+ b.$el = n.createElement(b.tag.tag), d(b), m[s] = m[s] || n.createDocumentFragment(), m[s].appendChild(b.$el);
2814
2824
  }
2815
2825
  for (const b of u)
2816
2826
  yield o.hooks.callHook("dom:renderTag", b, n, h);
2817
- g.head && n.head.appendChild(g.head), g.bodyOpen && n.body.insertBefore(g.bodyOpen, n.body.firstChild), g.bodyClose && n.body.appendChild(g.bodyClose), Object.values(p.pendingSideEffects).forEach((b) => b()), o._dom = p, o.dirty = !1, yield o.hooks.callHook("dom:rendered", { renders: u });
2827
+ m.head && n.head.appendChild(m.head), m.bodyOpen && n.body.insertBefore(m.bodyOpen, n.body.firstChild), m.bodyClose && n.body.appendChild(m.bodyClose), Object.values(p.pendingSideEffects).forEach((b) => b()), o._dom = p, o.dirty = !1, yield o.hooks.callHook("dom:rendered", { renders: u });
2818
2828
  });
2819
2829
  }
2820
- function Ui(t) {
2830
+ function qi(t) {
2821
2831
  return Q(this, arguments, function* (o, e = {}) {
2822
2832
  const n = e.delayFn || ((l) => setTimeout(l, 10));
2823
2833
  return o._domUpdatePromise = o._domUpdatePromise || new Promise((l) => n(() => Q(this, null, function* () {
2824
- yield qi(o, e), delete o._domUpdatePromise, l();
2834
+ yield Ni(o, e), delete o._domUpdatePromise, l();
2825
2835
  })));
2826
2836
  });
2827
2837
  }
2828
2838
  // @__NO_SIDE_EFFECTS__
2829
- function Ni(o) {
2839
+ function Ui(o) {
2830
2840
  return (e) => {
2831
2841
  var n, l;
2832
2842
  const t = ((l = (n = e.resolvedOptions.document) == null ? void 0 : n.head.querySelector('script[id="unhead:payload"]')) == null ? void 0 : l.innerHTML) || !1;
@@ -2834,7 +2844,7 @@ function Ni(o) {
2834
2844
  mode: "client",
2835
2845
  hooks: {
2836
2846
  "entries:updated": function(u) {
2837
- Ui(u, o);
2847
+ qi(u, o);
2838
2848
  }
2839
2849
  }
2840
2850
  };
@@ -2846,7 +2856,7 @@ const Gi = ["templateParams", "htmlAttrs", "bodyAttrs"], ji = {
2846
2856
  ["hid", "vmid", "key"].forEach((n) => {
2847
2857
  o.props[n] && (o.key = o.props[n], delete o.props[n]);
2848
2858
  });
2849
- const t = Ht(o) || (o.key ? `${o.tag}:${o.key}` : !1);
2859
+ const t = Dt(o) || (o.key ? `${o.tag}:${o.key}` : !1);
2850
2860
  t && (o._d = t);
2851
2861
  },
2852
2862
  "tags:resolve": function(o) {
@@ -2859,7 +2869,7 @@ const Gi = ["templateParams", "htmlAttrs", "bodyAttrs"], ji = {
2859
2869
  const d = u.props;
2860
2870
  ["class", "style"].forEach((c) => {
2861
2871
  d[c] && (n.props[c] ? (c === "style" && !d[c].endsWith(";") && (d[c] += ";"), n.props[c] = `${d[c]} ${n.props[c]}`) : n.props[c] = d[c]);
2862
- }), e[l].props = Z(Z({}, d), n.props);
2872
+ }), e[l].props = ee(ee({}, d), n.props);
2863
2873
  return;
2864
2874
  } else if (n._e === u._e) {
2865
2875
  u._duped = u._duped || [], n._d = `${u._d}:${u._duped.length + 1}`, u._duped.push(n);
@@ -2899,7 +2909,7 @@ const Gi = ["templateParams", "htmlAttrs", "bodyAttrs"], ji = {
2899
2909
  function Qi(o) {
2900
2910
  const e = {}, t = {};
2901
2911
  return Object.entries(o.props).forEach(([n, l]) => {
2902
- n.startsWith("on") && typeof l == "function" ? (Rt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = l) : e[n] = l;
2912
+ n.startsWith("on") && typeof l == "function" ? (Mt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = l) : e[n] = l;
2903
2913
  }), { props: e, eventHandlers: t };
2904
2914
  }
2905
2915
  const Ji = (o) => ({
@@ -2908,7 +2918,7 @@ const Ji = (o) => ({
2908
2918
  for (const t of e.tags)
2909
2919
  if (Ki.includes(t.tag)) {
2910
2920
  const { props: n, eventHandlers: l } = Qi(t);
2911
- t.props = n, Object.keys(l).length && ((t.props.src || t.props.href) && (t.key = t.key || Je(t.props.src || t.props.href)), t._eventHandlers = l);
2921
+ t.props = n, Object.keys(l).length && ((t.props.src || t.props.href) && (t.key = t.key || Xe(t.props.src || t.props.href)), t._eventHandlers = l);
2912
2922
  }
2913
2923
  },
2914
2924
  "dom:renderTag": function(e, t, n) {
@@ -2921,16 +2931,16 @@ const Ji = (o) => ({
2921
2931
  }), e.$el.hasAttribute(c))
2922
2932
  return;
2923
2933
  e.$el.setAttribute(c, "");
2924
- let g;
2934
+ let m;
2925
2935
  const y = (b) => {
2926
- p(b), g == null || g.disconnect();
2936
+ p(b), m == null || m.disconnect();
2927
2937
  };
2928
- u in e.$el.dataset ? y(new Event(u.replace("on", ""))) : Rt.includes(u) && typeof MutationObserver != "undefined" ? (g = new MutationObserver((b) => {
2929
- b.some((k) => k.attributeName === `data-${u}`) && (y(new Event(u.replace("on", ""))), g == null || g.disconnect());
2930
- }), g.observe(e.$el, {
2938
+ u in e.$el.dataset ? y(new Event(u.replace("on", ""))) : Mt.includes(u) && typeof MutationObserver != "undefined" ? (m = new MutationObserver((b) => {
2939
+ b.some((k) => k.attributeName === `data-${u}`) && (y(new Event(u.replace("on", ""))), m == null || m.disconnect());
2940
+ }), m.observe(e.$el, {
2931
2941
  attributes: !0
2932
2942
  })) : l.addEventListener(d, y), n(e.id, h, () => {
2933
- g == null || g.disconnect(), l.removeEventListener(d, y), e.$el.removeAttribute(c);
2943
+ m == null || m.disconnect(), l.removeEventListener(d, y), e.$el.removeAttribute(c);
2934
2944
  });
2935
2945
  });
2936
2946
  }
@@ -2938,7 +2948,7 @@ const Ji = (o) => ({
2938
2948
  }), Xi = ["link", "style", "script", "noscript"], Zi = {
2939
2949
  hooks: {
2940
2950
  "tag:normalise": ({ tag: o }) => {
2941
- o.key && Xi.includes(o.tag) && (o.props["data-hid"] = o._h = Je(o.key));
2951
+ o.key && Xi.includes(o.tag) && (o.props["data-hid"] = o._h = Xe(o.key));
2942
2952
  }
2943
2953
  }
2944
2954
  }, er = {
@@ -2948,7 +2958,7 @@ const Ji = (o) => ({
2948
2958
  var n;
2949
2959
  return (n = o.tags.find((l) => l._d === t)) == null ? void 0 : n._p;
2950
2960
  };
2951
- for (const { prefix: t, offset: n } of Bi)
2961
+ for (const { prefix: t, offset: n } of Wi)
2952
2962
  for (const l of o.tags.filter((u) => typeof u.tagPriority == "string" && u.tagPriority.startsWith(t))) {
2953
2963
  const u = e(
2954
2964
  l.tagPriority.replace(t, "")
@@ -2970,8 +2980,8 @@ const Ji = (o) => ({
2970
2980
  delete u.separator, u.pageTitle = _e(u.pageTitle || n || "", u, p);
2971
2981
  for (const d of t.filter((c) => c.processTemplateParams !== !1)) {
2972
2982
  const c = tr[d.tag];
2973
- c && typeof d.props[c] == "string" ? d.props[c] = _e(d.props[c], u, p) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((g) => {
2974
- typeof d[g] == "string" && (d[g] = _e(d[g], u, p));
2983
+ c && typeof d.props[c] == "string" ? d.props[c] = _e(d.props[c], u, p) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((m) => {
2984
+ typeof d[m] == "string" && (d[m] = _e(d[m], u, p));
2975
2985
  });
2976
2986
  }
2977
2987
  o._templateParams = u, o._separator = p, e.tags = t.filter((d) => d.tag !== "templateParams");
@@ -2984,13 +2994,13 @@ const Ji = (o) => ({
2984
2994
  let t = e.findIndex((l) => l.tag === "titleTemplate");
2985
2995
  const n = e.findIndex((l) => l.tag === "title");
2986
2996
  if (n !== -1 && t !== -1) {
2987
- const l = ft(
2997
+ const l = gt(
2988
2998
  e[t].textContent,
2989
2999
  e[n].textContent
2990
3000
  );
2991
3001
  l !== null ? e[n].textContent = l || e[n].textContent : delete e[n];
2992
3002
  } else if (t !== -1) {
2993
- const l = ft(
3003
+ const l = gt(
2994
3004
  e[t].textContent
2995
3005
  );
2996
3006
  l !== null && (e[t].textContent = l, e[t].tag = "title", t = -1);
@@ -3009,14 +3019,14 @@ const Ji = (o) => ({
3009
3019
  // @__NO_SIDE_EFFECTS__
3010
3020
  function rr(o = {}) {
3011
3021
  const e = sr(o);
3012
- return e.use(/* @__PURE__ */ Ni()), e;
3022
+ return e.use(/* @__PURE__ */ Ui()), e;
3013
3023
  }
3014
- function vt(o, e) {
3024
+ function bt(o, e) {
3015
3025
  return !o || o === "server" && e || o === "client" && !e;
3016
3026
  }
3017
3027
  function sr(o = {}) {
3018
3028
  const e = xi();
3019
- e.addHooks(o.hooks || {}), o.document = o.document || (Di ? document : void 0);
3029
+ e.addHooks(o.hooks || {}), o.document = o.document || (Ri ? document : void 0);
3020
3030
  const t = !o.document, n = () => {
3021
3031
  h.dirty = !0, e.callHook("entries:updated", h);
3022
3032
  };
@@ -3030,22 +3040,22 @@ function sr(o = {}) {
3030
3040
  return u;
3031
3041
  },
3032
3042
  use(c) {
3033
- const g = typeof c == "function" ? c(h) : c;
3034
- (!g.key || !p.some((y) => y.key === g.key)) && (p.push(g), vt(g.mode, t) && e.addHooks(g.hooks || {}));
3043
+ const m = typeof c == "function" ? c(h) : c;
3044
+ (!m.key || !p.some((y) => y.key === m.key)) && (p.push(m), bt(m.mode, t) && e.addHooks(m.hooks || {}));
3035
3045
  },
3036
- push(c, g) {
3037
- g == null || delete g.head;
3038
- const y = Z({
3046
+ push(c, m) {
3047
+ m == null || delete m.head;
3048
+ const y = ee({
3039
3049
  _i: l++,
3040
3050
  input: c
3041
- }, g);
3042
- return vt(y.mode, t) && (u.push(y), n()), {
3051
+ }, m);
3052
+ return bt(y.mode, t) && (u.push(y), n()), {
3043
3053
  dispose() {
3044
3054
  u = u.filter((b) => b._i !== y._i), e.callHook("entries:updated", h), n();
3045
3055
  },
3046
3056
  // a patch is the same as creating a new entry, just a nice DX
3047
3057
  patch(b) {
3048
- u = u.map((r) => (r._i === y._i && (r.input = y.input = b), r)), n();
3058
+ u = u.map((s) => (s._i === y._i && (s.input = y.input = b), s)), n();
3049
3059
  }
3050
3060
  };
3051
3061
  },
@@ -3053,12 +3063,12 @@ function sr(o = {}) {
3053
3063
  return Q(this, null, function* () {
3054
3064
  const c = { tags: [], entries: [...u] };
3055
3065
  yield e.callHook("entries:resolve", c);
3056
- for (const g of c.entries) {
3057
- const y = g.resolvedInput || g.input;
3058
- if (g.resolvedInput = yield g.transform ? g.transform(y) : y, g.resolvedInput)
3059
- for (const b of yield Wi(g)) {
3060
- const r = { tag: b, entry: g, resolvedOptions: h.resolvedOptions };
3061
- yield e.callHook("tag:normalise", r), c.tags.push(r.tag);
3066
+ for (const m of c.entries) {
3067
+ const y = m.resolvedInput || m.input;
3068
+ if (m.resolvedInput = yield m.transform ? m.transform(y) : y, m.resolvedInput)
3069
+ for (const b of yield zi(m)) {
3070
+ const s = { tag: b, entry: m, resolvedOptions: h.resolvedOptions };
3071
+ yield e.callHook("tag:normalise", s), c.tags.push(s.tag);
3062
3072
  }
3063
3073
  }
3064
3074
  return yield e.callHook("tags:beforeResolve", c), yield e.callHook("tags:resolve", c), yield e.callHook("tags:afterResolve", c), c.tags;
@@ -3078,23 +3088,23 @@ function sr(o = {}) {
3078
3088
  ...(o == null ? void 0 : o.plugins) || []
3079
3089
  ].forEach((c) => h.use(c)), h.hooks.callHook("init", h), h;
3080
3090
  }
3081
- const ar = Eo.startsWith("3");
3091
+ const ar = Vo.startsWith("3");
3082
3092
  function lr(o) {
3083
- return typeof o == "function" ? o() : s(o);
3093
+ return typeof o == "function" ? o() : a(o);
3084
3094
  }
3085
- function Ge(o, e = "") {
3095
+ function je(o, e = "") {
3086
3096
  if (o instanceof Promise)
3087
3097
  return o;
3088
3098
  const t = lr(o);
3089
- return !o || !t ? t : Array.isArray(t) ? t.map((n) => Ge(n, e)) : typeof t == "object" ? Object.fromEntries(
3090
- Object.entries(t).map(([n, l]) => n === "titleTemplate" || n.startsWith("on") ? [n, s(l)] : [n, Ge(l, n)])
3099
+ return !o || !t ? t : Array.isArray(t) ? t.map((n) => je(n, e)) : typeof t == "object" ? Object.fromEntries(
3100
+ Object.entries(t).map(([n, l]) => n === "titleTemplate" || n.startsWith("on") ? [n, a(l)] : [n, je(l, n)])
3091
3101
  ) : t;
3092
3102
  }
3093
3103
  const ur = {
3094
3104
  hooks: {
3095
3105
  "entries:resolve": function(o) {
3096
3106
  for (const e of o.entries)
3097
- e.resolvedInput = Ge(e.input);
3107
+ e.resolvedInput = je(e.input);
3098
3108
  }
3099
3109
  }
3100
3110
  }, dr = "usehead";
@@ -3106,23 +3116,23 @@ function cr(o) {
3106
3116
  }.install;
3107
3117
  }
3108
3118
  function pr(o = {}) {
3109
- o.domDelayFn = o.domDelayFn || ((t) => kt(() => setTimeout(() => t(), 0)));
3119
+ o.domDelayFn = o.domDelayFn || ((t) => $t(() => setTimeout(() => t(), 0)));
3110
3120
  const e = /* @__PURE__ */ rr(o);
3111
3121
  return e.use(ur), e.install = cr(e), e;
3112
3122
  }
3113
- const hr = Po(), fr = pr(), le = To({ components: { Hotel: St } });
3114
- le.use(fr);
3115
- le.use(hr);
3116
- le.use(Pt);
3117
- le.use(xo);
3118
- le.use(Mo);
3119
- le.use(wo, { bootstrap: !0 });
3120
- le.mount("#konnectio-hotel-app");
3121
- const Sr = {
3123
+ const hr = Lo(), fr = pr(), ae = Po({ components: { Hotel: Lt } });
3124
+ ae.use(fr);
3125
+ ae.use(hr);
3126
+ ae.use(wt);
3127
+ ae.use(xo);
3128
+ ae.use(Bo);
3129
+ ae.use(wo, { bootstrap: !0 });
3130
+ ae.mount("#konnectio-hotel-app");
3131
+ const $r = {
3122
3132
  install: (o) => {
3123
- o.component("Hotel", St);
3133
+ o.component("Hotel", Lt);
3124
3134
  }
3125
3135
  };
3126
3136
  export {
3127
- Sr as default
3137
+ $r as default
3128
3138
  };