@konnectio/core 4.0.35 → 4.0.37

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 (63) hide show
  1. package/dist/{ActionField-044d5ae1.cjs → ActionField-6712c933.cjs} +1 -1
  2. package/dist/{ActionField-6bada9e1.js → ActionField-8e5218c5.js} +2 -2
  3. package/dist/ActionField-8e5218c5.js.br +0 -0
  4. package/dist/{AvailabilitySkeleton-f12f7c36.js → AvailabilitySkeleton-67ce6e6d.js} +5 -5
  5. package/dist/AvailabilitySkeleton-67ce6e6d.js.br +0 -0
  6. package/dist/{AvailabilitySkeleton-1bdfed27.cjs → AvailabilitySkeleton-ec96db6b.cjs} +1 -1
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-f242b4f3.cjs → DateField.vue_vue_type_style_index_0_lang-0c12cda5.cjs} +1 -1
  8. package/dist/{DateField.vue_vue_type_style_index_0_lang-ed25fefa.js → DateField.vue_vue_type_style_index_0_lang-64a0c44b.js} +1 -1
  9. package/dist/DateField.vue_vue_type_style_index_0_lang-64a0c44b.js.br +0 -0
  10. package/dist/{Field-4abad4c4.js → Field-0fa0f987.js} +2 -2
  11. package/dist/Field-0fa0f987.js.br +0 -0
  12. package/dist/{Field-83e79ac9.cjs → Field-616b5ab4.cjs} +1 -1
  13. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-2fad0cbe.cjs → NumberField.vue_vue_type_script_setup_true_lang-1f92ec10.cjs} +1 -1
  14. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-01dbfb98.js → NumberField.vue_vue_type_script_setup_true_lang-c9486f0a.js} +1 -1
  15. package/dist/NumberField.vue_vue_type_script_setup_true_lang-c9486f0a.js.br +0 -0
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-3cd5af09.cjs → SelectField.vue_vue_type_style_index_0_lang-2fab4a70.cjs} +3 -3
  17. package/dist/{SelectField.vue_vue_type_style_index_0_lang-37c4524a.js → SelectField.vue_vue_type_style_index_0_lang-6bfcccf8.js} +49 -48
  18. package/dist/SelectField.vue_vue_type_style_index_0_lang-6bfcccf8.js.br +0 -0
  19. package/dist/{ThankYou-c153e958.cjs → ThankYou-0bb9b8ba.cjs} +2 -2
  20. package/dist/{ThankYou-8f0e7fb4.js → ThankYou-125b27fb.js} +5 -5
  21. package/dist/ThankYou-125b27fb.js.br +0 -0
  22. package/dist/{_-a03c308d.js → _-3a1d4d62.js} +1 -1
  23. package/dist/{_-ca9b20fd.cjs → _-f6d1d88b.cjs} +1 -1
  24. package/dist/availability.cjs +1 -1
  25. package/dist/availability.js +7 -7
  26. package/dist/availability.js.br +0 -0
  27. package/dist/components/inputs/CheckboxField.vue.d.ts +1 -1
  28. package/dist/components/listings/Base.vue.d.ts +1 -1
  29. package/dist/components/modals/Info.vue.d.ts +1 -1
  30. package/dist/event-ad6054a0.cjs +1 -0
  31. package/dist/{event-e82b3708.js → event-bf4c7637.js} +30 -30
  32. package/dist/event-bf4c7637.js.br +0 -0
  33. package/dist/event.cjs +1 -1
  34. package/dist/event.js +8 -8
  35. package/dist/event.js.br +0 -0
  36. package/dist/gift-card-validation.cjs +1 -1
  37. package/dist/gift-card-validation.js +3 -3
  38. package/dist/gift-card-validation.js.br +0 -0
  39. package/dist/gift-card.cjs +1 -1
  40. package/dist/gift-card.js +6 -6
  41. package/dist/gift-card.js.br +0 -0
  42. package/dist/hotel.cjs +5 -5
  43. package/dist/hotel.js +756 -762
  44. package/dist/hotel.js.br +0 -0
  45. package/dist/{index-beeae88b.js → index-cc419f8f.js} +1 -1
  46. package/dist/index-cc419f8f.js.br +0 -0
  47. package/dist/{index-8d46a016.cjs → index-f4b84887.cjs} +1 -1
  48. package/dist/polyfill.cjs +1 -1
  49. package/dist/polyfill.js +1 -1
  50. package/dist/polyfill.js.br +0 -0
  51. package/dist/style.css +1 -1
  52. package/dist/style.css.br +0 -0
  53. package/package.json +2 -1
  54. package/dist/ActionField-6bada9e1.js.br +0 -0
  55. package/dist/AvailabilitySkeleton-f12f7c36.js.br +0 -0
  56. package/dist/DateField.vue_vue_type_style_index_0_lang-ed25fefa.js.br +0 -0
  57. package/dist/Field-4abad4c4.js.br +0 -0
  58. package/dist/NumberField.vue_vue_type_script_setup_true_lang-01dbfb98.js.br +0 -0
  59. package/dist/SelectField.vue_vue_type_style_index_0_lang-37c4524a.js.br +0 -0
  60. package/dist/ThankYou-8f0e7fb4.js.br +0 -0
  61. package/dist/event-32319e6e.cjs +0 -1
  62. package/dist/event-e82b3708.js.br +0 -0
  63. package/dist/index-beeae88b.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,13 +1,13 @@
1
- import { k as K, D as ce, aE as uo, s as ee, c as Te, ab as yt, ac as ge, m as x, n as z, W as vt, q as s, w, aa as Pe, A as v, F as V, K as re, Y as et, aF as co, v as I, a3 as N, a2 as R, x as B, aG as _e, a5 as Ue, p as T, H as Z, J as de, f as Y, B as $e, P as _t, Q as bt, _ as te, r as ae, o as Se, ag as tt, ah as Be, aH as kt, aC as po, a1 as xe, y as Ie, I as xt, l as ot, T as ie, aA as fo, b as ho, N as mo, C as me, a6 as go, L as nt, G as F, M as yo, an as It, aI as vo, U as _o, a8 as bo, R as ko, V as xo, a9 as Io } from "./SelectField.vue_vue_type_style_index_0_lang-37c4524a.js";
2
- import { R as Eo, S as To, F as $o, _ as So, B as Co, a as Vo, M as Po, T as Bo, x as Do } from "./ThankYou-8f0e7fb4.js";
3
- import { A as Lo, H as wo } from "./AvailabilitySkeleton-f12f7c36.js";
4
- import { _ as Et } from "./NumberField.vue_vue_type_script_setup_true_lang-01dbfb98.js";
5
- import { _ as Ho } from "./DateField.vue_vue_type_style_index_0_lang-ed25fefa.js";
6
- import { C as Fe, P as Oo, a as Ao, S as zo } from "./index-beeae88b.js";
7
- import { E as X } from "./_-a03c308d.js";
1
+ import { k as K, D as ce, aE as uo, s as Z, c as Te, ab as yt, ac as ge, m as x, n as z, W as vt, q as u, w, aa as Pe, A as v, F as V, K as ie, Y as et, aF as co, v as I, a3 as N, a2 as R, x as B, aG as _e, a5 as Ue, p as T, H as re, J as de, f as Y, B as $e, P as _t, Q as bt, _ as ee, r as se, o as Se, ag as tt, ah as Be, aH as kt, aC as po, a1 as xe, y as Ie, I as xt, l as ot, T as ne, aA as ho, b as fo, N as mo, C as me, a6 as go, L as nt, G as F, M as yo, an as It, aI as vo, U as _o, a8 as bo, R as ko, V as xo, a9 as Io } from "./SelectField.vue_vue_type_style_index_0_lang-6bfcccf8.js";
2
+ import { R as Eo, S as To, F as $o, _ as So, B as Co, a as Vo, M as Po, T as Bo, x as Do } from "./ThankYou-125b27fb.js";
3
+ import { A as Lo, H as wo } from "./AvailabilitySkeleton-67ce6e6d.js";
4
+ import { _ as Et } from "./NumberField.vue_vue_type_script_setup_true_lang-c9486f0a.js";
5
+ import { _ as Ho } from "./DateField.vue_vue_type_style_index_0_lang-64a0c44b.js";
6
+ import { C as Fe, P as Oo, a as Ao, S as zo } from "./index-cc419f8f.js";
7
+ import { E as X } from "./_-3a1d4d62.js";
8
8
  import { c as Tt, a as $t } from "./_commonjsHelpers-aeeeeb92.js";
9
- import "./ActionField-6bada9e1.js";
10
- import "./Field-4abad4c4.js";
9
+ import "./ActionField-8e5218c5.js";
10
+ import "./Field-0fa0f987.js";
11
11
  const Ro = { key: 0 }, De = /* @__PURE__ */ K({
12
12
  __name: "HotelReservationForm",
13
13
  props: {
@@ -17,51 +17,51 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
17
17
  setup(o) {
18
18
  const { t: e } = ce(), t = uo(), {
19
19
  hideArrivalDepartureInputs: n,
20
- disableArrivalUserSelection: l,
20
+ disableArrivalUserSelection: a,
21
21
  disableDepartureUserSelection: r,
22
22
  arrivalDefault: p,
23
- departureDefault: u,
24
- currency: f
25
- } = ee(Te()), {
23
+ departureDefault: l,
24
+ currency: h
25
+ } = Z(Te()), {
26
26
  arrivalDate: c,
27
27
  departureDate: m
28
- } = ee(yt()), {
28
+ } = Z(yt()), {
29
29
  arrivalTime: g,
30
30
  departureTime: k,
31
- roomDisplay: a,
31
+ roomDisplay: s,
32
32
  templateID: _,
33
33
  totalPrice: b,
34
- areListingsLoading: h
35
- } = ee(ge()), { removeRoom: i } = ge();
34
+ areListingsLoading: f
35
+ } = Z(ge()), { removeRoom: i } = ge();
36
36
  function d(y) {
37
37
  return y.reduce((S, { totalPrice: L }) => S + L, 0);
38
38
  }
39
39
  return (y, E) => (x(), z(Eo, {
40
- "total-price": s(b),
40
+ "total-price": u(b),
41
41
  "show-gift-card": y.showGiftCard,
42
42
  "show-terms-notice": y.showTermsNotice,
43
- "is-sidebar-loading": s(h),
44
- notice: s(e)("hotel.reservationNotice")
43
+ "is-sidebar-loading": u(f),
44
+ notice: u(e)("hotel.reservationNotice")
45
45
  }, vt({
46
46
  form: w(() => [
47
47
  Pe(y.$slots, "form")
48
48
  ]),
49
49
  "reservation-summary": w(() => [
50
50
  v("li", null, [
51
- v("span", null, V(s(e)("booking.reservation.arrival")), 1),
52
- v("b", null, V(s(n) ? s(re)(s(c)) : `${s(re)(s(c))}, ${s(l) ? s(p) : s(g)}`), 1)
51
+ v("span", null, V(u(e)("booking.reservation.arrival")), 1),
52
+ v("b", null, V(u(n) ? u(ie)(u(c)) : `${u(ie)(u(c))}, ${u(a) ? u(p) : u(g)}`), 1)
53
53
  ]),
54
54
  v("li", null, [
55
- v("span", null, V(s(e)("booking.reservation.departure")), 1),
56
- v("b", null, V(s(n) ? s(re)(s(m)) : `${s(re)(s(m))}, ${s(r) ? s(u) : s(k)}`), 1)
55
+ v("span", null, V(u(e)("booking.reservation.departure")), 1),
56
+ v("b", null, V(u(n) ? u(ie)(u(m)) : `${u(ie)(u(m))}, ${u(r) ? u(l) : u(k)}`), 1)
57
57
  ]),
58
58
  v("li", null, [
59
- v("span", null, V(s(e)("booking.reservation.nights")), 1),
60
- v("b", null, V(s(et)(s(c), s(m))) + " " + V(s(co)(s(et)(s(c), s(m)) === 1 ? s(e)("booking.reservation.night") : s(e)("booking.reservation.nights"))), 1)
59
+ v("span", null, V(u(e)("booking.reservation.nights")), 1),
60
+ v("b", null, V(u(et)(u(c), u(m))) + " " + V(u(co)(u(et)(u(c), u(m)) === 1 ? u(e)("booking.reservation.night") : u(e)("booking.reservation.nights"))), 1)
61
61
  ])
62
62
  ]),
63
63
  "price-summary": w(() => [
64
- isNaN(s(_)) && s(a).length > 0 ? (x(!0), I(R, { key: 0 }, N(s(a), ({
64
+ isNaN(u(_)) && u(s).length > 0 ? (x(!0), I(R, { key: 0 }, N(u(s), ({
65
65
  roomGroupID: S,
66
66
  title: L,
67
67
  variants: O
@@ -74,17 +74,17 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
74
74
  (x(!0), I(R, null, N(C.rooms, (H, U) => (x(), I("ul", { key: U }, [
75
75
  v("li", null, [
76
76
  v("span", null, [
77
- v("span", null, V(s(_e)(C.name)), 1),
77
+ v("span", null, V(u(_e)(C.name)), 1),
78
78
  v("span", null, [
79
79
  Ue("( "),
80
- T(Z, {
80
+ T(re, {
81
81
  icon: "male",
82
82
  type: "fas",
83
83
  color: "font"
84
84
  }),
85
85
  v("span", null, V(H.adultsCount), 1),
86
86
  H.childrenCount > 0 ? (x(), I(R, { key: 0 }, [
87
- T(Z, {
87
+ T(re, {
88
88
  icon: "child",
89
89
  type: "fas",
90
90
  color: "font"
@@ -95,13 +95,13 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
95
95
  ])
96
96
  ]),
97
97
  v("b", null, [
98
- v("span", null, V(s(de)(H.totalPrice, s(f))), 1),
98
+ v("span", null, V(u(de)(H.totalPrice, u(h))), 1),
99
99
  B("", !0)
100
100
  ])
101
101
  ]),
102
102
  d(H.roomAddons) > 0 ? (x(), I("li", Ro, [
103
- v("span", null, V(s(e)("booking.reservation.addons")), 1),
104
- v("b", null, V(s(de)(d(H.roomAddons), s(f))), 1)
103
+ v("span", null, V(u(e)("booking.reservation.addons")), 1),
104
+ v("b", null, V(u(de)(d(H.roomAddons), u(h))), 1)
105
105
  ])) : B("", !0)
106
106
  ]))), 128))
107
107
  ]))), 128))
@@ -112,7 +112,7 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
112
112
  ]),
113
113
  _: 2
114
114
  }, [
115
- s(t).addons ? {
115
+ u(t).addons ? {
116
116
  name: "addons",
117
117
  fn: w(() => [
118
118
  Pe(y.$slots, "addons")
@@ -132,44 +132,44 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
132
132
  },
133
133
  emits: ["update:modelValue"],
134
134
  setup(o, { emit: e }) {
135
- const { t } = ce(), { currency: n } = ee(Te()), l = e, r = o;
136
- function p(f) {
137
- l("update:modelValue", f);
135
+ const { t } = ce(), { currency: n } = Z(Te()), a = e, r = o;
136
+ function p(h) {
137
+ a("update:modelValue", h);
138
138
  }
139
- const u = Y({
139
+ const l = Y({
140
140
  get: () => r.modelValue,
141
- set: (f) => p(f)
141
+ set: (h) => p(h)
142
142
  });
143
- return (f, c) => (x(), z($e, {
144
- modelValue: u.value,
145
- "onUpdate:modelValue": c[0] || (c[0] = (m) => u.value = m),
146
- label: f.label,
143
+ return (h, c) => (x(), z($e, {
144
+ modelValue: l.value,
145
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => l.value = m),
146
+ label: h.label,
147
147
  placeholder: "Select guest configuration",
148
148
  labelKey: "label",
149
149
  valueKey: "value",
150
150
  "icon-placement": "label",
151
- options: f.options,
152
- readonly: f.readonly,
153
- required: f.required,
151
+ options: h.options,
152
+ readonly: h.readonly,
153
+ required: h.required,
154
154
  searchable: !1
155
155
  }, {
156
156
  option: w(({ data: m }) => [
157
157
  v("span", null, [
158
- T(Z, {
158
+ T(re, {
159
159
  icon: "male",
160
160
  type: "fas",
161
161
  color: "font"
162
162
  }),
163
163
  v("span", null, V(`${m.adults}`), 1),
164
164
  m.children > 0 ? (x(), I("span", No, [
165
- T(Z, {
165
+ T(re, {
166
166
  icon: "child",
167
167
  type: "fas",
168
168
  color: "font"
169
169
  }),
170
170
  v("span", null, V(`${m.children}`), 1)
171
171
  ])) : B("", !0),
172
- v("span", null, V(`(${s(de)(m.price, s(n))})`), 1)
172
+ v("span", null, V(`(${u(de)(m.price, u(n))})`), 1)
173
173
  ])
174
174
  ]),
175
175
  "selected-option": w(({ data: m }) => [
@@ -177,16 +177,16 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
177
177
  v("div", Uo, [
178
178
  v("div", null, [
179
179
  B("", !0),
180
- v("span", null, V(`${m.adults} ${m.adults === 1 ? s(t)("general.adult") : s(t)("general.adults")}`), 1)
180
+ v("span", null, V(`${m.adults} ${m.adults === 1 ? u(t)("general.adult") : u(t)("general.adults")}`), 1)
181
181
  ]),
182
182
  m.children > 0 ? (x(), I("div", Fo, [
183
183
  B("", !0),
184
- v("span", null, V(`& ${m.children} ${m.children === 1 ? s(t)("general.child") : s(t)("general.children")}`), 1)
184
+ v("span", null, V(`& ${m.children} ${m.children === 1 ? u(t)("general.child") : u(t)("general.children")}`), 1)
185
185
  ])) : B("", !0)
186
186
  ]),
187
187
  v("div", qo, [
188
188
  Go,
189
- Ue(" " + V(`(${s(de)(m.price, s(n))})`), 1)
189
+ Ue(" " + V(`(${u(de)(m.price, u(n))})`), 1)
190
190
  ])
191
191
  ])
192
192
  ]),
@@ -194,15 +194,15 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ K({
194
194
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
195
195
  }
196
196
  });
197
- const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["src"], Ko = /* @__PURE__ */ K({
197
+ const Yo = /* @__PURE__ */ ee(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["src"], Ko = /* @__PURE__ */ K({
198
198
  __name: "Gallery",
199
199
  props: {
200
200
  gallery: {}
201
201
  },
202
202
  setup(o) {
203
- const e = ae();
204
- ae();
205
- const t = ae();
203
+ const e = se();
204
+ se();
205
+ const t = se();
206
206
  return Se(() => {
207
207
  t.value = [new To({
208
208
  type: "index",
@@ -218,8 +218,8 @@ const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
218
218
  }*/
219
219
  ]
220
220
  })];
221
- }), (n, l) => (x(), I("div", null, [
222
- n.gallery.length > 1 ? (x(), z(s($o), {
221
+ }), (n, a) => (x(), I("div", null, [
222
+ n.gallery.length > 1 ? (x(), z(u($o), {
223
223
  ref_key: "slideshow",
224
224
  ref: e,
225
225
  key: n.gallery.length,
@@ -227,8 +227,8 @@ const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
227
227
  plugins: t.value
228
228
  }, {
229
229
  default: w(() => [
230
- (x(!0), I(R, null, N(n.gallery, ({ medium: r, large: p }, u) => (x(), I("div", {
231
- key: u,
230
+ (x(!0), I(R, null, N(n.gallery, ({ medium: r, large: p }, l) => (x(), I("div", {
231
+ key: l,
232
232
  class: "booking-availability-listing-featured-img"
233
233
  }, [
234
234
  v("img", { src: p }, null, 8, Qo)
@@ -238,17 +238,17 @@ const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
238
238
  }, 8, ["plugins"])) : B("", !0)
239
239
  ]));
240
240
  }
241
- }), Jo = {
241
+ }), Jo = { class: "fresh-booking-modal-gallery" }, Xo = {
242
242
  key: 0,
243
243
  class: "fresh-booking-modal-facilities"
244
- }, Xo = {
244
+ }, Zo = {
245
245
  class: "fresh-booking-modal-facilities-masonry",
246
246
  "transition-duration": "0s",
247
247
  "destroy-delay": 0,
248
248
  "percent-position": !0,
249
249
  "column-width": ".grid-sizer",
250
250
  "item-selector": ".fresh-booking-modal-facility"
251
- }, Zo = { class: "grid-sizer" }, en = /* @__PURE__ */ K({
251
+ }, en = { class: "grid-sizer" }, tn = /* @__PURE__ */ K({
252
252
  __name: "Info",
253
253
  props: {
254
254
  title: {},
@@ -258,32 +258,32 @@ const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
258
258
  },
259
259
  setup(o) {
260
260
  return (e, t) => {
261
- const n = tt("masonry-tile"), l = tt("masonry");
261
+ const n = tt("masonry-tile"), a = tt("masonry");
262
262
  return x(), z(So, {
263
263
  title: e.title,
264
264
  description: e.description
265
265
  }, vt({
266
266
  default: w(() => [
267
- e.facilities && e.facilities.length !== 0 ? (x(), I("div", Jo, [
268
- Be((x(), I("ul", Xo, [
269
- Be(v("div", Zo, null, 512), [
267
+ e.facilities && e.facilities.length !== 0 ? (x(), I("div", Xo, [
268
+ Be((x(), I("ul", Zo, [
269
+ Be(v("div", en, null, 512), [
270
270
  [n]
271
271
  ]),
272
- (x(!0), I(R, null, N(e.facilities, ({ name: r, subFacilities: p }, u) => Be((x(), I("li", {
273
- key: u,
272
+ (x(!0), I(R, null, N(e.facilities, ({ name: r, subFacilities: p }, l) => Be((x(), I("li", {
273
+ key: l,
274
274
  class: "fresh-booking-modal-facility"
275
275
  }, [
276
276
  v("h6", null, [
277
277
  v("span", null, V(r), 1)
278
278
  ]),
279
279
  v("ul", null, [
280
- (x(!0), I(R, null, N(p, ({ name: f }, c) => (x(), I("li", { key: c }, V(f), 1))), 128))
280
+ (x(!0), I(R, null, N(p, ({ name: h }, c) => (x(), I("li", { key: c }, V(h), 1))), 128))
281
281
  ])
282
282
  ])), [
283
283
  [n]
284
284
  ])), 128))
285
285
  ])), [
286
- [l]
286
+ [a]
287
287
  ])
288
288
  ])) : B("", !0)
289
289
  ]),
@@ -292,7 +292,7 @@ const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
292
292
  e.gallery ? {
293
293
  name: "above-description",
294
294
  fn: w(() => [
295
- v("div", null, [
295
+ v("div", Jo, [
296
296
  T(Ko, { gallery: e.gallery }, null, 8, ["gallery"])
297
297
  ])
298
298
  ]),
@@ -302,16 +302,16 @@ const Yo = /* @__PURE__ */ te(jo, [["__scopeId", "data-v-c84b41ba"]]), Qo = ["sr
302
302
  };
303
303
  }
304
304
  });
305
- const tn = /* @__PURE__ */ te(en, [["__scopeId", "data-v-f1ca1684"]]), on = { class: "konnectio-availability-listing-selection" }, nn = { key: 1 }, rn = { class: "fresh-booking-listing-config-body" }, an = { class: "fresh-booking-listing-units-body" };
306
- const sn = /* @__PURE__ */ K({
305
+ const on = /* @__PURE__ */ ee(tn, [["__scopeId", "data-v-9a91cedb"]]), nn = { class: "konnectio-availability-listing-selection" }, rn = { key: 1 }, sn = { class: "fresh-booking-listing-config-body" }, an = { class: "fresh-booking-listing-units-body" };
306
+ const ln = /* @__PURE__ */ K({
307
307
  __name: "Hotel",
308
308
  props: {
309
309
  room: {},
310
310
  layout: {}
311
311
  },
312
312
  setup(o) {
313
- const { t: e } = ce(), t = o, n = ae([]);
314
- function l(C) {
313
+ const { t: e } = ce(), t = o, n = se([]);
314
+ function a(C) {
315
315
  n.value[C].config.push({
316
316
  id: NaN,
317
317
  units: 0,
@@ -323,17 +323,17 @@ const sn = /* @__PURE__ */ K({
323
323
  value: C.id
324
324
  }))), p = Y(() => n.value.flatMap((C) => C.id));
325
325
  Y(() => r.value.filter((C) => !p.value.includes(C.value)));
326
- const { hideAvailableRoomAmount: u, currency: f } = ee(Te()), { roomSelect: c } = ee(ge()), { viewItem: m, addToCart: g, removeFromCart: k } = kt(), a = (C, D) => t.room.rates.find((H) => H.id === C)?.occupantRates.find((H) => H.index === D), _ = Y(() => t.room.rates.reduce(
326
+ const { hideAvailableRoomAmount: l, currency: h } = Z(Te()), { roomSelect: c } = Z(ge()), { viewItem: m, addToCart: g, removeFromCart: k } = kt(), s = (C, D) => t.room.rates.find((H) => H.id === C)?.occupantRates.find((H) => H.index === D), _ = Y(() => t.room.rates.reduce(
327
327
  (C, D) => C < D.rackRate ? C : D.rackRate,
328
328
  1 / 0
329
- )), b = Y(() => t.room.rates.every((C) => C.isBreakfastIncluded === !0)), h = (C, D) => a(C, D) ? a(C, D)?.rooms : null, i = (C) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === C)?.occupantRates.map((D) => ({
329
+ )), b = Y(() => t.room.rates.every((C) => C.isBreakfastIncluded === !0)), f = (C, D) => s(C, D) ? s(C, D)?.rooms : null, i = (C) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === C)?.occupantRates.map((D) => ({
330
330
  value: D.index,
331
331
  price: D.totalPrice,
332
332
  adults: D.adultsCount,
333
333
  children: D.childrenCount,
334
334
  hasBreakfast: D.hasBreakfast
335
335
  })) || [] : [], d = Y(() => t.room.rates.length > 1), { open: y, close: E } = po({
336
- component: tn,
336
+ component: on,
337
337
  attrs: {
338
338
  title: t.room.title,
339
339
  description: t.room.description,
@@ -371,8 +371,8 @@ const sn = /* @__PURE__ */ K({
371
371
  return xe(O, (C, D) => {
372
372
  D.length > 0 && C.forEach((H, U) => {
373
373
  H.config.forEach((q, W) => {
374
- const G = q.units, se = D[U].config[W].units;
375
- G !== se && (G > se ? (n.value[U].config[W].addons.push({}), g({
374
+ const G = q.units, ae = D[U].config[W].units;
375
+ G !== ae && (G > ae ? (n.value[U].config[W].addons.push({}), g({
376
376
  id: t.room.id,
377
377
  name: t.room.title,
378
378
  value: t.room.rates[U].rackRate
@@ -397,7 +397,7 @@ const sn = /* @__PURE__ */ K({
397
397
  callback: S
398
398
  }, {
399
399
  action: w(() => [
400
- v("div", on, [
400
+ v("div", nn, [
401
401
  (x(!0), I(R, null, N(n.value, (H, U) => (x(), I("div", {
402
402
  key: H.id,
403
403
  class: "freshbooking-hotel-room"
@@ -406,28 +406,28 @@ const sn = /* @__PURE__ */ K({
406
406
  key: 0,
407
407
  modelValue: H.id,
408
408
  "onUpdate:modelValue": (q) => H.id = q,
409
- label: s(e)("hotel.roomVariant"),
410
- placeholder: s(e)("hotel.chooseARoomVariant"),
409
+ label: u(e)("hotel.roomVariant"),
410
+ placeholder: u(e)("hotel.chooseARoomVariant"),
411
411
  options: r.value,
412
412
  searchable: !1
413
413
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : B("", !0),
414
- H.id ? (x(), I("div", nn, [
414
+ H.id ? (x(), I("div", rn, [
415
415
  (x(!0), I(R, null, N(C.room.rates, ({
416
416
  id: q,
417
417
  maximumOccupants: W
418
418
  }) => (x(), I("div", { key: q }, [
419
- H.id === q ? (x(!0), I(R, { key: 0 }, N(H.config, (G, se) => (x(), I("div", {
420
- key: se,
419
+ H.id === q ? (x(!0), I(R, { key: 0 }, N(H.config, (G, ae) => (x(), I("div", {
420
+ key: ae,
421
421
  class: "booking-availability-listing-action-selective"
422
422
  }, [
423
- v("ul", rn, [
423
+ v("ul", sn, [
424
424
  T(Yo, {
425
425
  modelValue: G.id,
426
426
  "onUpdate:modelValue": (le) => G.id = le,
427
427
  icon: "male",
428
428
  "icon-type": "fas",
429
- label: s(e)("general.guests"),
430
- description: `${s(e)("general.maximumGuests")}: ${W}`,
429
+ label: u(e)("general.guests"),
430
+ description: `${u(e)("general.maximumGuests")}: ${W}`,
431
431
  options: i(q),
432
432
  readonly: !(i(q).length > 1)
433
433
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
@@ -436,13 +436,13 @@ const sn = /* @__PURE__ */ K({
436
436
  T(Et, {
437
437
  modelValue: G.units,
438
438
  "onUpdate:modelValue": (le) => G.units = le,
439
- description: s(u) ? void 0 : `${s(e)("booking.availability.availableUnits")}: ${h(H.id, G.id)}`,
439
+ description: u(l) ? void 0 : `${u(e)("booking.availability.availableUnits")}: ${f(H.id, G.id)}`,
440
440
  icon: "house",
441
441
  "icon-type": "fas",
442
442
  "icon-placement": "label",
443
- label: s(e)("booking.availability.units"),
443
+ label: u(e)("booking.availability.units"),
444
444
  minValue: 0,
445
- "max-value": h(q, G.id) || 1 / 0
445
+ "max-value": f(q, G.id) || 1 / 0
446
446
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
447
447
  ]),
448
448
  B("", !0)
@@ -456,7 +456,7 @@ const sn = /* @__PURE__ */ K({
456
456
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
457
457
  }
458
458
  });
459
- const ln = /* @__PURE__ */ te(sn, [["__scopeId", "data-v-7fe13e0e"]]), it = /* @__PURE__ */ K({
459
+ const un = /* @__PURE__ */ ee(ln, [["__scopeId", "data-v-7fe13e0e"]]), it = /* @__PURE__ */ K({
460
460
  __name: "TimeField",
461
461
  props: {
462
462
  modelValue: {},
@@ -482,15 +482,15 @@ const ln = /* @__PURE__ */ te(sn, [["__scopeId", "data-v-7fe13e0e"]]), it = /* @
482
482
  emits: ["update:modelValue"],
483
483
  setup(o, { emit: e }) {
484
484
  const t = e, n = o;
485
- function l(p) {
485
+ function a(p) {
486
486
  t("update:modelValue", p);
487
487
  }
488
- const r = ae(n.modelValue);
488
+ const r = se(n.modelValue);
489
489
  return xe(r, (p) => {
490
- l(p);
491
- }), (p, u) => (x(), z(Ho, {
490
+ a(p);
491
+ }), (p, l) => (x(), z(Ho, {
492
492
  modelValue: r.value,
493
- "onUpdate:modelValue": u[0] || (u[0] = (f) => r.value = f),
493
+ "onUpdate:modelValue": l[0] || (l[0] = (h) => r.value = h),
494
494
  type: "time",
495
495
  label: p.label,
496
496
  id: p.id,
@@ -504,7 +504,7 @@ const ln = /* @__PURE__ */ te(sn, [["__scopeId", "data-v-7fe13e0e"]]), it = /* @
504
504
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
505
505
  }
506
506
  });
507
- const un = { style: { display: "flex", "align-items": "baseline" } }, dn = /* @__PURE__ */ K({
507
+ const dn = { style: { display: "flex", "align-items": "baseline" } }, cn = /* @__PURE__ */ K({
508
508
  __name: "CountryField",
509
509
  props: {
510
510
  modelValue: {},
@@ -516,23 +516,23 @@ const un = { style: { display: "flex", "align-items": "baseline" } }, dn = /* @_
516
516
  },
517
517
  emits: ["update:modelValue"],
518
518
  setup(o, { emit: e }) {
519
- const { t } = ce(), n = e, l = o;
520
- function r(u) {
521
- n("update:modelValue", u);
519
+ const { t } = ce(), n = e, a = o;
520
+ function r(l) {
521
+ n("update:modelValue", l);
522
522
  }
523
523
  const p = Y({
524
- get: () => l.modelValue,
525
- set: (u) => r(u)
524
+ get: () => a.modelValue,
525
+ set: (l) => r(l)
526
526
  });
527
- return (u, f) => (x(), z($e, {
527
+ return (l, h) => (x(), z($e, {
528
528
  modelValue: p.value,
529
- "onUpdate:modelValue": f[0] || (f[0] = (c) => p.value = c),
530
- label: u.label,
531
- placeholder: s(t)("booking.reservation.countryPlaceholder"),
529
+ "onUpdate:modelValue": h[0] || (h[0] = (c) => p.value = c),
530
+ label: l.label,
531
+ placeholder: u(t)("booking.reservation.countryPlaceholder"),
532
532
  labelKey: "name",
533
533
  valueKey: "id",
534
- options: u.options,
535
- required: u.required
534
+ options: l.options,
535
+ required: l.required
536
536
  }, {
537
537
  option: w(({ data: c }) => [
538
538
  v("i", {
@@ -541,7 +541,7 @@ const un = { style: { display: "flex", "align-items": "baseline" } }, dn = /* @_
541
541
  v("span", null, V(c.name), 1)
542
542
  ]),
543
543
  "selected-option": w(({ data: c }) => [
544
- v("div", un, [
544
+ v("div", dn, [
545
545
  v("i", {
546
546
  class: Ie(["konnectio-flag-icon", c.iso])
547
547
  }, null, 2),
@@ -552,7 +552,7 @@ const un = { style: { display: "flex", "align-items": "baseline" } }, dn = /* @_
552
552
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
553
553
  }
554
554
  });
555
- const cn = /* @__PURE__ */ te(dn, [["__scopeId", "data-v-1462612d"]]), pn = { class: "konnectio-radio-checkboxes" }, fn = /* @__PURE__ */ K({
555
+ const pn = /* @__PURE__ */ ee(cn, [["__scopeId", "data-v-1462612d"]]), hn = { class: "konnectio-radio-checkboxes" }, fn = /* @__PURE__ */ K({
556
556
  __name: "CheckboxField",
557
557
  props: {
558
558
  modelValue: {},
@@ -563,24 +563,24 @@ const cn = /* @__PURE__ */ te(dn, [["__scopeId", "data-v-1462612d"]]), pn = { cl
563
563
  emits: ["update:modelValue"],
564
564
  setup(o, { emit: e }) {
565
565
  const t = e, n = o;
566
- function l(p) {
566
+ function a(p) {
567
567
  t("update:modelValue", p);
568
568
  }
569
569
  const r = Y({
570
570
  get: () => n.modelValue,
571
- set: (p) => l(p)
571
+ set: (p) => a(p)
572
572
  });
573
- return (p, u) => (x(), z(xt, {
573
+ return (p, l) => (x(), z(xt, {
574
574
  label: p.label,
575
575
  type: "multi-radio"
576
576
  }, {
577
577
  default: w(() => [
578
- v("ul", pn, [
579
- (x(!0), I(R, null, N(p.checkboxes, ({ label: f, value: c }, m) => (x(), I("li", { key: m }, [
578
+ v("ul", hn, [
579
+ (x(!0), I(R, null, N(p.checkboxes, ({ label: h, value: c }, m) => (x(), I("li", { key: m }, [
580
580
  T(Fe, {
581
581
  modelValue: r.value,
582
- "onUpdate:modelValue": u[0] || (u[0] = (g) => r.value = g),
583
- label: f,
582
+ "onUpdate:modelValue": l[0] || (l[0] = (g) => r.value = g),
583
+ label: h,
584
584
  name: p.name,
585
585
  type: "radio",
586
586
  val: c
@@ -592,7 +592,7 @@ const cn = /* @__PURE__ */ te(dn, [["__scopeId", "data-v-1462612d"]]), pn = { cl
592
592
  }, 8, ["label"]));
593
593
  }
594
594
  });
595
- const hn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @__PURE__ */ K({
595
+ const mn = /* @__PURE__ */ ee(fn, [["__scopeId", "data-v-d8d42a8a"]]), gn = /* @__PURE__ */ K({
596
596
  __name: "NameField",
597
597
  props: {
598
598
  modelValue: {},
@@ -614,19 +614,19 @@ const hn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @
614
614
  },
615
615
  emits: ["update:modelValue", "update:title"],
616
616
  setup(o, { emit: e }) {
617
- const t = o, n = e, l = t.id || ot(), r = ae(""), p = ae(2);
618
- function u() {
617
+ const t = o, n = e, a = t.id || ot(), r = se(""), p = se(2);
618
+ function l() {
619
619
  n("update:modelValue", r.value);
620
620
  }
621
621
  xe(p, (c) => {
622
622
  n("update:title", c);
623
623
  });
624
- const { t: f } = ce();
624
+ const { t: h } = ce();
625
625
  return Se(() => {
626
626
  t.modelValue && (r.value = t.modelValue), t.title && (p.value = t.title);
627
627
  }), (c, m) => (x(), z(xt, {
628
628
  label: c.label,
629
- id: s(l),
629
+ id: u(a),
630
630
  required: c.required,
631
631
  type: "fresh-booking-name-field",
632
632
  readonly: c.readonly,
@@ -643,29 +643,29 @@ const hn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @
643
643
  key: 0,
644
644
  modelValue: p.value,
645
645
  "onUpdate:modelValue": m[0] || (m[0] = (g) => p.value = g),
646
- id: s(ot)(),
646
+ id: u(ot)(),
647
647
  icon: c.icon,
648
648
  "icon-color": c.iconColor,
649
649
  "icon-type": c.iconType,
650
650
  options: [
651
651
  {
652
- label: s(f)("booking.reservation.noNameTitle"),
652
+ label: u(h)("booking.reservation.noNameTitle"),
653
653
  value: 1
654
654
  },
655
655
  {
656
- label: s(f)("booking.reservation.nameTitleMr"),
656
+ label: u(h)("booking.reservation.nameTitleMr"),
657
657
  value: 2
658
658
  },
659
659
  {
660
- label: s(f)("booking.reservation.nameTitleMs"),
660
+ label: u(h)("booking.reservation.nameTitleMs"),
661
661
  value: 3
662
662
  },
663
663
  {
664
- label: s(f)("booking.reservation.nameTitleMrs"),
664
+ label: u(h)("booking.reservation.nameTitleMrs"),
665
665
  value: 4
666
666
  },
667
667
  {
668
- label: s(f)("booking.reservation.nameTitleDr"),
668
+ label: u(h)("booking.reservation.nameTitleDr"),
669
669
  value: 5
670
670
  }
671
671
  ],
@@ -674,13 +674,13 @@ const hn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @
674
674
  "input-style": c.inputStyle,
675
675
  searchable: !1
676
676
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
677
- T(ie, {
677
+ T(ne, {
678
678
  modelValue: r.value,
679
679
  "onUpdate:modelValue": m[1] || (m[1] = (g) => r.value = g),
680
680
  type: "text",
681
681
  name: "name",
682
682
  autocomplete: "name",
683
- id: s(l),
683
+ id: u(a),
684
684
  icon: c.excludeTitle ? c.icon : void 0,
685
685
  "icon-color": c.iconColor,
686
686
  "icon-type": c.iconType,
@@ -688,7 +688,7 @@ const hn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @
688
688
  required: c.required,
689
689
  readonly: c.readonly,
690
690
  limit: c.limit,
691
- onInput: m[2] || (m[2] = (g) => u()),
691
+ onInput: m[2] || (m[2] = (g) => l()),
692
692
  "input-style": c.inputStyle
693
693
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
694
694
  ], 2)
@@ -697,16 +697,16 @@ const hn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-e01fcada"]]), mn = /* @
697
697
  }, 8, ["label", "id", "required", "readonly", "limit"]));
698
698
  }
699
699
  });
700
- const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { class: "hotel-listing" }, vn = { class: "hotel-listing-content-gallery" }, _n = { class: "hotel-listing-content-thumbs" }, bn = { class: "hotel-listing-content" }, kn = { class: "hotel-listing-content-header" }, xn = { class: "hotel-listing-content-title" }, In = { class: "hotel-listing-content-body" }, En = { class: "hotel-listing-content-facilities" }, Tn = /* @__PURE__ */ K({
700
+ const yn = /* @__PURE__ */ ee(gn, [["__scopeId", "data-v-78b0b319"]]), vn = { class: "hotel-listing" }, _n = { class: "hotel-listing-content-gallery" }, bn = { class: "hotel-listing-content-thumbs" }, kn = { class: "hotel-listing-content" }, xn = { class: "hotel-listing-content-header" }, In = { class: "hotel-listing-content-title" }, En = { class: "hotel-listing-content-body" }, Tn = { class: "hotel-listing-content-facilities" }, $n = /* @__PURE__ */ K({
701
701
  __name: "Listing",
702
702
  setup(o) {
703
- return (e, t) => (x(), I("div", yn, [
704
- v("div", vn, [
703
+ return (e, t) => (x(), I("div", vn, [
704
+ v("div", _n, [
705
705
  T(X, {
706
706
  width: "280px",
707
707
  height: "153px"
708
708
  }),
709
- v("div", _n, [
709
+ v("div", bn, [
710
710
  (x(), I(R, null, N(3, (n) => T(X, {
711
711
  key: n,
712
712
  width: "84px",
@@ -714,9 +714,9 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { cl
714
714
  })), 64))
715
715
  ])
716
716
  ]),
717
- v("div", bn, [
718
- v("div", kn, [
719
- v("div", xn, [
717
+ v("div", kn, [
718
+ v("div", xn, [
719
+ v("div", In, [
720
720
  T(X, {
721
721
  height: "30px",
722
722
  width: "60%"
@@ -732,7 +732,7 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { cl
732
732
  width: "25%"
733
733
  })
734
734
  ]),
735
- v("div", In, [
735
+ v("div", En, [
736
736
  T(X, { height: "15px" }),
737
737
  T(X, { height: "15px" }),
738
738
  T(X, { height: "15px" }),
@@ -742,7 +742,7 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { cl
742
742
  width: "90%"
743
743
  })
744
744
  ]),
745
- v("div", En, [
745
+ v("div", Tn, [
746
746
  (x(), I(R, null, N(5, (n) => T(X, {
747
747
  key: n,
748
748
  height: "25px",
@@ -754,28 +754,29 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { cl
754
754
  ]));
755
755
  }
756
756
  });
757
- const ue = /* @__PURE__ */ te(Tn, [["__scopeId", "data-v-5c132d7f"]]), $n = { class: "hotel-skeleton" }, Sn = { class: "hotel-skeleton-content" }, Cn = { class: "hotel-skeleton-sidebar" }, Vn = /* @__PURE__ */ K({
757
+ const ue = /* @__PURE__ */ ee($n, [["__scopeId", "data-v-5c132d7f"]]), Sn = { class: "hotel-skeleton" }, Cn = { class: "hotel-skeleton-content" }, Vn = { class: "hotel-skeleton-sidebar" }, Pn = /* @__PURE__ */ K({
758
758
  __name: "HotelSkeleton",
759
759
  setup(o) {
760
- return (e, t) => (x(), I("div", $n, [
761
- v("div", Sn, [
760
+ return (e, t) => (x(), I("div", Sn, [
761
+ v("div", Cn, [
762
762
  T(Lo),
763
763
  T(ue),
764
764
  T(ue),
765
765
  T(ue)
766
766
  ]),
767
- v("div", Cn, [
767
+ v("div", Vn, [
768
768
  T(Vo)
769
769
  ])
770
770
  ]));
771
771
  }
772
772
  });
773
- const Pn = /* @__PURE__ */ te(Vn, [["__scopeId", "data-v-4e50a5a1"]]), Bn = (o) => (_t("data-v-2a56c03f"), o = o(), bt(), o), Dn = { id: "booking-availability-container" }, Ln = { id: "booking-availability-controls" };
774
- const wn = {
773
+ const Bn = /* @__PURE__ */ ee(Pn, [["__scopeId", "data-v-4e50a5a1"]]), Dn = (o) => (_t("data-v-71498e56"), o = o(), bt(), o), Ln = { id: "booking-availability-container" }, wn = { id: "booking-availability-controls" };
774
+ const Hn = {
775
775
  key: 1,
776
776
  "sticky-container": ""
777
- }, Hn = { key: 0 };
778
- const On = { key: 1 }, An = { key: 0 }, zn = { key: 0 }, Rn = { id: "booking-availability-listings" }, Mn = {
777
+ }, On = { key: 0 };
778
+ const An = { key: 1 }, zn = { key: 0 };
779
+ const Rn = { id: "booking-availability-listings" }, Mn = {
779
780
  key: 1,
780
781
  id: "booking-availability-no-listings"
781
782
  }, Nn = {
@@ -792,32 +793,32 @@ const qn = {
792
793
  key: 0,
793
794
  id: "konnectio-hotel-addons"
794
795
  };
795
- const Yn = { class: "fresh-booking-event-addons-price" }, Qn = { key: 1 }, Kn = /* @__PURE__ */ Bn(() => /* @__PURE__ */ v("br", null, null, -1));
796
+ const Yn = { class: "fresh-booking-event-addons-price" }, Qn = { key: 1 }, Kn = /* @__PURE__ */ Dn(() => /* @__PURE__ */ v("br", null, null, -1));
796
797
  const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 }, ei = { key: 1 }, ti = { class: "fresh-booking-split-inputs" }, oi = ["onClick"], ni = /* @__PURE__ */ K({
797
798
  name: "HotelLayout",
798
799
  __name: "Hotel",
799
800
  props: {
800
801
  accessToken: {},
801
- headerLayout: { default: fo.Minimal },
802
+ headerLayout: { default: ho.Minimal },
802
803
  styling: {}
803
804
  },
804
805
  setup(o) {
805
806
  const { t: e } = ce(), {
806
807
  templateID: t,
807
808
  title: n,
808
- countries: l,
809
+ countries: a,
809
810
  areListingsLoading: r,
810
811
  isAvailabilityDataAvailable: p,
811
- isPaymentLoading: u,
812
- isReservationFormFilled: f,
812
+ isPaymentLoading: l,
813
+ isReservationFormFilled: h,
813
814
  selectedPackage: c,
814
815
  travelingFor: m,
815
816
  arrivalTime: g,
816
817
  departureTime: k,
817
- name: a,
818
+ name: s,
818
819
  nameTitle: _,
819
820
  email: b,
820
- phone: h,
821
+ phone: f,
821
822
  firmName: i,
822
823
  postal: d,
823
824
  city: y,
@@ -833,12 +834,12 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
833
834
  getSelectedPackageRoom: q,
834
835
  availabilityData: W,
835
836
  selectionHasNoAddons: G
836
- } = ee(ge()), {
837
- arrivalDate: se,
837
+ } = Z(ge()), {
838
+ arrivalDate: ae,
838
839
  departureDate: le
839
- } = ee(yt()), {
840
+ } = Z(yt()), {
840
841
  currency: Ke,
841
- isRecaptchaEnabled: ar,
842
+ isRecaptchaEnabled: sr,
842
843
  disableNewsletterSignup: Ht,
843
844
  arrivalEarliest: Ot,
844
845
  arrivalLatest: At,
@@ -847,7 +848,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
847
848
  enableTracking: Mt,
848
849
  arrivalDefault: Nt,
849
850
  departureDefault: Wt,
850
- enablePackages: sr,
851
+ enablePackages: ar,
851
852
  hideArrivalDepartureInputs: Ut,
852
853
  disableArrivalUserSelection: Ce,
853
854
  disableNamePrefix: Ft,
@@ -855,13 +856,13 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
855
856
  disableTravelingFor: qt,
856
857
  disableCompanyField: Gt,
857
858
  hasPaymentGateway: jt
858
- } = ee(Te());
859
- ho();
859
+ } = Z(Te());
860
+ fo();
860
861
  const { beginCheckout: Yt } = kt(), {
861
862
  initialize: Qt,
862
863
  createReservation: Kt,
863
864
  getSingleListing: lr
864
- } = ge(), Jt = ae(!0), Xt = Y(() => {
865
+ } = ge(), Jt = se(!0), Xt = Y(() => {
865
866
  const M = W.value.roomGroups.slice();
866
867
  M.forEach((J) => {
867
868
  J.pricesFrom = J.rates.reduce(
@@ -890,7 +891,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
890
891
  G.value ? M(2) : M();
891
892
  }
892
893
  function oo(M, P) {
893
- le.value = new Date(P), se.value = new Date(M), location.reload();
894
+ le.value = new Date(P), ae.value = new Date(M), location.reload();
894
895
  }
895
896
  async function no(M) {
896
897
  await Kt(M);
@@ -916,69 +917,62 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
916
917
  availability: w(({ next: J }) => [
917
918
  T(De, null, {
918
919
  form: w(() => [
919
- v("div", Dn, [
920
- v("div", Ln, [
920
+ v("div", Ln, [
921
+ v("div", wn, [
921
922
  T(wo, { booking: !0 })
922
923
  ]),
923
924
  B("", !0),
924
- s(r) ? (x(), I("div", qn, [
925
+ u(r) ? (x(), I("div", qn, [
925
926
  T(ue),
926
927
  T(ue),
927
928
  T(ue)
928
- ])) : (x(), I("div", wn, [
929
- s(W).roomGroups.length > 0 ? (x(), I("div", Hn, [
930
- (s(W).templates.length > 0, B("", !0)),
931
- isNaN(s(t)) ? (x(), I("div", On, [
932
- s(W).roomGroups.length > 0 ? (x(), I("div", An, [
933
- s(W).templates.length > 0 ? (x(), I("h2", zn, [
934
- T(Z, {
935
- icon: "house",
936
- type: "fal",
937
- color: "header"
938
- }),
939
- v("span", null, V(s(e)("booking.availability.roomsTitle")), 1)
940
- ])) : B("", !0),
929
+ ])) : (x(), I("div", Hn, [
930
+ u(W).roomGroups.length > 0 ? (x(), I("div", On, [
931
+ (u(W).templates.length > 0, B("", !0)),
932
+ isNaN(u(t)) ? (x(), I("div", An, [
933
+ u(W).roomGroups.length > 0 ? (x(), I("div", zn, [
934
+ (u(W).templates.length > 0, B("", !0)),
941
935
  v("ul", Rn, [
942
- (x(!0), I(R, null, N(Xt.value, (A, $) => (x(), z(ln, {
936
+ (x(!0), I(R, null, N(Xt.value, (A, $) => (x(), z(un, {
943
937
  room: A,
944
938
  key: $
945
939
  }, null, 8, ["room"]))), 128))
946
940
  ])
947
941
  ])) : (x(), I("div", Mn, [
948
- v("span", null, V(s(e)("booking.availability.nothingAvailable")), 1)
942
+ v("span", null, V(u(e)("booking.availability.nothingAvailable")), 1)
949
943
  ]))
950
944
  ])) : B("", !0)
951
- ])) : s(W).nextAvailableDates.length === 0 ? (x(), I("div", Nn, [
952
- v("span", null, V(s(e)("booking.availability.nothingAvailable")), 1)
945
+ ])) : u(W).nextAvailableDates.length === 0 ? (x(), I("div", Nn, [
946
+ v("span", null, V(u(e)("booking.availability.nothingAvailable")), 1)
953
947
  ])) : (x(), I("div", Wn, [
954
948
  v("h2", null, [
955
- T(Z, {
949
+ T(re, {
956
950
  icon: "calendar-circle-exclamation",
957
951
  type: "fal",
958
952
  color: "header"
959
953
  }),
960
- v("span", null, V(s(e)("booking.availability.nextAvailableDates")), 1)
954
+ v("span", null, V(u(e)("booking.availability.nextAvailableDates")), 1)
961
955
  ]),
962
956
  v("ul", Un, [
963
- (x(!0), I(R, null, N(s(W).nextAvailableDates, (A, $) => (x(), I("li", { key: $ }, [
957
+ (x(!0), I(R, null, N(u(W).nextAvailableDates, (A, $) => (x(), I("li", { key: $ }, [
964
958
  v("h3", {
965
- title: `${s(re)(A.fromDate)} - ${s(re)(A.toDate)}`
959
+ title: `${u(ie)(A.fromDate)} - ${u(ie)(A.toDate)}`
966
960
  }, [
967
- v("span", null, V(`${s(re)(A.fromDate)} - ${s(re)(A.toDate)}`), 1)
961
+ v("span", null, V(`${u(ie)(A.fromDate)} - ${u(ie)(A.toDate)}`), 1)
968
962
  ], 8, Fn),
969
963
  v("ul", null, [
970
964
  B("", !0),
971
965
  v("li", null, [
972
- T(Z, {
966
+ T(re, {
973
967
  icon: "money-bill",
974
968
  type: "fal",
975
969
  color: "header"
976
970
  }),
977
- v("span", null, V(s(e)("booking.availability.pricesFrom")) + ": " + V(s(de)(A.priceStartFrom, s(Ke))), 1)
971
+ v("span", null, V(u(e)("booking.availability.pricesFrom")) + ": " + V(u(de)(A.priceStartFrom, u(Ke))), 1)
978
972
  ])
979
973
  ]),
980
974
  T(me, {
981
- label: s(e)("booking.availability.selectDates"),
975
+ label: u(e)("booking.availability.selectDates"),
982
976
  "full-width": "",
983
977
  onClickEvent: (pe) => oo(A.fromDate, A.toDate)
984
978
  }, null, 8, ["label", "onClickEvent"])
@@ -989,16 +983,16 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
989
983
  ])
990
984
  ]),
991
985
  navigation: w(() => [
992
- isNaN(s(t)) ? (x(), z(me, {
986
+ isNaN(u(t)) ? (x(), z(me, {
993
987
  key: 0,
994
- label: s(G) ? s(e)("booking.availability.nextButton") : s(e)("general.chooseAddons"),
995
- disabled: !s(U),
988
+ label: u(G) ? u(e)("booking.availability.nextButton") : u(e)("general.chooseAddons"),
989
+ disabled: !u(U),
996
990
  "is-loading": !1,
997
991
  "full-width": "",
998
992
  onClickEvent: (A) => io(J)
999
993
  }, null, 8, ["label", "disabled", "onClickEvent"])) : (x(), z(me, {
1000
994
  key: 1,
1001
- label: s(e)("booking.reservation.prevButton"),
995
+ label: u(e)("booking.reservation.prevButton"),
1002
996
  "full-width": "",
1003
997
  onClickEvent: P[1] || (P[1] = (A) => to())
1004
998
  }, null, 8, ["label"]))
@@ -1011,18 +1005,18 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
1011
1005
  form: w(() => [
1012
1006
  v("form", Gn, [
1013
1007
  v("h2", null, [
1014
- v("span", null, V(s(e)("booking.reservation.addons")), 1)
1008
+ v("span", null, V(u(e)("booking.reservation.addons")), 1)
1015
1009
  ]),
1016
1010
  v("div", null, [
1017
- isNaN(s(t)) ? (x(), I("div", jn, [
1018
- (x(!0), I(R, null, N(s(H), ($) => (x(), I("ul", {
1011
+ isNaN(u(t)) ? (x(), I("div", jn, [
1012
+ (x(!0), I(R, null, N(u(H), ($) => (x(), I("ul", {
1019
1013
  key: $.roomGroupID
1020
1014
  }, [
1021
- (x(!0), I(R, null, N($.variants, (pe, fe) => (x(), I("li", {
1015
+ (x(!0), I(R, null, N($.variants, (pe, he) => (x(), I("li", {
1022
1016
  key: pe.ratePlanID
1023
1017
  }, [
1024
1018
  v("h4", null, [
1025
- v("span", null, V(s(_e)($.title)), 1)
1019
+ v("span", null, V(u(_e)($.title)), 1)
1026
1020
  ]),
1027
1021
  (x(!0), I(R, null, N(pe.rooms, (j, Xe) => (x(), I("table", {
1028
1022
  key: Xe,
@@ -1031,18 +1025,18 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
1031
1025
  v("thead", null, [
1032
1026
  v("tr", null, [
1033
1027
  v("th", null, [
1034
- v("span", null, V(s(_e)(pe.name)), 1)
1028
+ v("span", null, V(u(_e)(pe.name)), 1)
1035
1029
  ]),
1036
1030
  B("", !0),
1037
1031
  v("th", Yn, [
1038
1032
  v("b", null, [
1039
- T(Z, {
1033
+ T(re, {
1040
1034
  icon: "male",
1041
1035
  type: "fas",
1042
1036
  color: "font"
1043
1037
  }),
1044
1038
  v("span", null, V(j.adultsCount), 1),
1045
- j.childrenCount > 0 ? (x(), z(Z, {
1039
+ j.childrenCount > 0 ? (x(), z(re, {
1046
1040
  key: 0,
1047
1041
  icon: "child",
1048
1042
  type: "fas",
@@ -1057,28 +1051,28 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
1057
1051
  (x(!0), I(R, null, N($.addons, ({
1058
1052
  cardinality: dr,
1059
1053
  quantityStrategy: Ze,
1060
- maximumNumber: ao,
1061
- id: he,
1062
- name: so,
1054
+ maximumNumber: so,
1055
+ id: fe,
1056
+ name: ao,
1063
1057
  price: lo
1064
- }) => (x(), I("tr", { key: he }, [
1058
+ }) => (x(), I("tr", { key: fe }, [
1065
1059
  v("td", null, [
1066
- v("b", null, V(s(_e)(so)), 1),
1060
+ v("b", null, V(u(_e)(ao)), 1),
1067
1061
  Kn,
1068
- v("span", null, V(s(de)(lo, s(Ke))) + " " + V(s(go)(Ze)), 1)
1062
+ v("span", null, V(u(de)(lo, u(Ke))) + " " + V(u(go)(Ze)), 1)
1069
1063
  ]),
1070
1064
  v("td", null, [
1071
1065
  Ze === 12 ? (x(), z(Et, {
1072
1066
  key: 0,
1073
- modelValue: s(D)[$.roomGroupID][fe].config[j.configIdx].addons[j.roomIdx][he],
1074
- "onUpdate:modelValue": (Q) => s(D)[$.roomGroupID][fe].config[j.configIdx].addons[j.roomIdx][he] = Q,
1067
+ modelValue: u(D)[$.roomGroupID][he].config[j.configIdx].addons[j.roomIdx][fe],
1068
+ "onUpdate:modelValue": (Q) => u(D)[$.roomGroupID][he].config[j.configIdx].addons[j.roomIdx][fe] = Q,
1075
1069
  small: !0,
1076
1070
  "min-value": 0,
1077
- "max-value": ao || 1 / 0
1071
+ "max-value": so || 1 / 0
1078
1072
  }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (x(), z(Fe, {
1079
1073
  key: 1,
1080
- modelValue: s(D)[$.roomGroupID][fe].config[j.configIdx].addons[j.roomIdx][he],
1081
- "onUpdate:modelValue": (Q) => s(D)[$.roomGroupID][fe].config[j.configIdx].addons[j.roomIdx][he] = Q,
1074
+ modelValue: u(D)[$.roomGroupID][he].config[j.configIdx].addons[j.roomIdx][fe],
1075
+ "onUpdate:modelValue": (Q) => u(D)[$.roomGroupID][he].config[j.configIdx].addons[j.roomIdx][fe] = Q,
1082
1076
  numeric: !0
1083
1077
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
1084
1078
  ]),
@@ -1094,7 +1088,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
1094
1088
  ]),
1095
1089
  navigation: w(() => [
1096
1090
  T(me, {
1097
- label: s(e)("general.startReservation"),
1091
+ label: u(e)("general.startReservation"),
1098
1092
  "full-width": "",
1099
1093
  onClickEvent: J
1100
1094
  }, null, 8, ["label", "onClickEvent"]),
@@ -1102,7 +1096,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
1102
1096
  class: "konnectio-abort-reservation link",
1103
1097
  onClick: nt(($) => Je(A), ["prevent"])
1104
1098
  }, [
1105
- v("span", null, V(s(e)("general.goAStepBack")), 1)
1099
+ v("span", null, V(u(e)("general.goAStepBack")), 1)
1106
1100
  ], 8, Jn)
1107
1101
  ]),
1108
1102
  _: 2
@@ -1116,162 +1110,162 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
1116
1110
  form: w(() => [
1117
1111
  v("form", Xn, [
1118
1112
  v("h2", null, [
1119
- v("span", null, V(s(e)("booking.reservation.detailsTitle")), 1)
1113
+ v("span", null, V(u(e)("booking.reservation.detailsTitle")), 1)
1120
1114
  ]),
1121
- !s(Ut) && !(s(Ce) && s(Ve)) ? (x(), I("ul", {
1115
+ !u(Ut) && !(u(Ce) && u(Ve)) ? (x(), I("ul", {
1122
1116
  key: 0,
1123
- class: Ie({ "fresh-booking-split-inputs": !s(Ce) && !s(Ve) })
1117
+ class: Ie({ "fresh-booking-split-inputs": !u(Ce) && !u(Ve) })
1124
1118
  }, [
1125
- s(Ce) ? B("", !0) : (x(), I("li", Zn, [
1119
+ u(Ce) ? B("", !0) : (x(), I("li", Zn, [
1126
1120
  T(it, {
1127
- modelValue: s(g),
1121
+ modelValue: u(g),
1128
1122
  "onUpdate:modelValue": P[2] || (P[2] = ($) => F(g) ? g.value = $ : null),
1129
- label: s(e)("booking.reservation.arrivalTime"),
1123
+ label: u(e)("booking.reservation.arrivalTime"),
1130
1124
  icon: "hourglass-start",
1131
1125
  "hour-range": Zt.value,
1132
1126
  required: ""
1133
1127
  }, null, 8, ["modelValue", "label", "hour-range"])
1134
1128
  ])),
1135
- s(Ve) ? B("", !0) : (x(), I("li", ei, [
1129
+ u(Ve) ? B("", !0) : (x(), I("li", ei, [
1136
1130
  T(it, {
1137
- modelValue: s(k),
1131
+ modelValue: u(k),
1138
1132
  "onUpdate:modelValue": P[3] || (P[3] = ($) => F(k) ? k.value = $ : null),
1139
- label: s(e)("booking.reservation.departureTime"),
1133
+ label: u(e)("booking.reservation.departureTime"),
1140
1134
  icon: "hourglass-end",
1141
1135
  "hour-range": eo.value,
1142
1136
  required: ""
1143
1137
  }, null, 8, ["modelValue", "label", "hour-range"])
1144
1138
  ]))
1145
1139
  ], 2)) : B("", !0),
1146
- T(gn, {
1147
- modelValue: s(a),
1148
- "onUpdate:modelValue": P[4] || (P[4] = ($) => F(a) ? a.value = $ : null),
1149
- title: s(_),
1140
+ T(yn, {
1141
+ modelValue: u(s),
1142
+ "onUpdate:modelValue": P[4] || (P[4] = ($) => F(s) ? s.value = $ : null),
1143
+ title: u(_),
1150
1144
  "onUpdate:title": P[5] || (P[5] = ($) => F(_) ? _.value = $ : null),
1151
- "exclude-title": s(Ft),
1152
- label: s(e)("booking.reservation.name"),
1145
+ "exclude-title": u(Ft),
1146
+ label: u(e)("booking.reservation.name"),
1153
1147
  icon: "user-alt",
1154
- placeholder: s(e)("booking.reservation.namePlaceholder"),
1148
+ placeholder: u(e)("booking.reservation.namePlaceholder"),
1155
1149
  required: ""
1156
1150
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1157
- T(ie, {
1158
- modelValue: s(b),
1151
+ T(ne, {
1152
+ modelValue: u(b),
1159
1153
  "onUpdate:modelValue": P[6] || (P[6] = ($) => F(b) ? b.value = $ : null),
1160
1154
  type: "email",
1161
1155
  name: "email",
1162
1156
  autocomplete: "email",
1163
- label: s(e)("booking.reservation.email"),
1157
+ label: u(e)("booking.reservation.email"),
1164
1158
  icon: "at",
1165
- placeholder: s(e)("booking.reservation.emailPlaceholder"),
1159
+ placeholder: u(e)("booking.reservation.emailPlaceholder"),
1166
1160
  required: ""
1167
1161
  }, null, 8, ["modelValue", "label", "placeholder"]),
1168
- s(Ht) ? B("", !0) : (x(), z(Fe, {
1162
+ u(Ht) ? B("", !0) : (x(), z(Fe, {
1169
1163
  key: 1,
1170
- modelValue: s(C),
1164
+ modelValue: u(C),
1171
1165
  "onUpdate:modelValue": P[7] || (P[7] = ($) => F(C) ? C.value = $ : null),
1172
1166
  type: "checkbox",
1173
1167
  name: "newsletter",
1174
- label: s(e)("booking.reservation.newsletterSignUp")
1168
+ label: u(e)("booking.reservation.newsletterSignUp")
1175
1169
  }, null, 8, ["modelValue", "label"])),
1176
- s(Gt) ? B("", !0) : (x(), z(ie, {
1170
+ u(Gt) ? B("", !0) : (x(), z(ne, {
1177
1171
  key: 2,
1178
- modelValue: s(i),
1172
+ modelValue: u(i),
1179
1173
  "onUpdate:modelValue": P[8] || (P[8] = ($) => F(i) ? i.value = $ : null),
1180
1174
  type: "text",
1181
1175
  name: "firm",
1182
1176
  autocomplete: "firm",
1183
- label: `${s(e)("booking.reservation.companyName")} (${s(e)("booking.reservation.optional")})`,
1177
+ label: `${u(e)("booking.reservation.companyName")} (${u(e)("booking.reservation.optional")})`,
1184
1178
  icon: "id-card",
1185
- placeholder: s(e)("booking.reservation.companyNamePlaceholder")
1179
+ placeholder: u(e)("booking.reservation.companyNamePlaceholder")
1186
1180
  }, null, 8, ["modelValue", "label", "placeholder"])),
1187
1181
  T(Oo, {
1188
- modelValue: s(h),
1189
- "onUpdate:modelValue": P[9] || (P[9] = ($) => F(h) ? h.value = $ : null),
1182
+ modelValue: u(f),
1183
+ "onUpdate:modelValue": P[9] || (P[9] = ($) => F(f) ? f.value = $ : null),
1190
1184
  icon: "phone-office",
1191
- label: s(e)("booking.reservation.phone"),
1192
- placeholder: s(e)("booking.reservation.phonePlaceholder"),
1185
+ label: u(e)("booking.reservation.phone"),
1186
+ placeholder: u(e)("booking.reservation.phonePlaceholder"),
1193
1187
  required: ""
1194
1188
  }, null, 8, ["modelValue", "label", "placeholder"]),
1195
- T(cn, {
1196
- modelValue: s(S),
1189
+ T(pn, {
1190
+ modelValue: u(S),
1197
1191
  "onUpdate:modelValue": P[10] || (P[10] = ($) => F(S) ? S.value = $ : null),
1198
- label: s(e)("booking.reservation.country"),
1199
- placeholder: s(e)("booking.reservation.countryPlaceholder"),
1200
- options: s(l),
1192
+ label: u(e)("booking.reservation.country"),
1193
+ placeholder: u(e)("booking.reservation.countryPlaceholder"),
1194
+ options: u(a),
1201
1195
  required: ""
1202
1196
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1203
- T(ie, {
1204
- modelValue: s(E),
1197
+ T(ne, {
1198
+ modelValue: u(E),
1205
1199
  "onUpdate:modelValue": P[11] || (P[11] = ($) => F(E) ? E.value = $ : null),
1206
1200
  type: "textarea",
1207
1201
  name: "address",
1208
1202
  autocomplete: "street-address",
1209
- label: s(e)("booking.reservation.streetAddress"),
1203
+ label: u(e)("booking.reservation.streetAddress"),
1210
1204
  icon: "map-marked",
1211
- placeholder: s(e)("booking.reservation.streetAddressPlaceholder"),
1205
+ placeholder: u(e)("booking.reservation.streetAddressPlaceholder"),
1212
1206
  required: ""
1213
1207
  }, null, 8, ["modelValue", "label", "placeholder"]),
1214
1208
  v("ul", ti, [
1215
1209
  v("li", null, [
1216
- T(ie, {
1217
- modelValue: s(d),
1210
+ T(ne, {
1211
+ modelValue: u(d),
1218
1212
  "onUpdate:modelValue": P[12] || (P[12] = ($) => F(d) ? d.value = $ : null),
1219
1213
  type: "text",
1220
1214
  name: "postal",
1221
1215
  autocomplete: "postal-code",
1222
- label: s(e)("booking.reservation.postal"),
1216
+ label: u(e)("booking.reservation.postal"),
1223
1217
  icon: "mailbox",
1224
- placeholder: s(e)("booking.reservation.postalPlaceholder"),
1218
+ placeholder: u(e)("booking.reservation.postalPlaceholder"),
1225
1219
  required: ""
1226
1220
  }, null, 8, ["modelValue", "label", "placeholder"])
1227
1221
  ]),
1228
1222
  v("li", null, [
1229
- T(ie, {
1230
- modelValue: s(y),
1223
+ T(ne, {
1224
+ modelValue: u(y),
1231
1225
  "onUpdate:modelValue": P[13] || (P[13] = ($) => F(y) ? y.value = $ : null),
1232
1226
  type: "text",
1233
1227
  name: "city",
1234
1228
  autocomplete: "address-level2",
1235
- label: s(e)("booking.reservation.city"),
1229
+ label: u(e)("booking.reservation.city"),
1236
1230
  icon: "city",
1237
- placeholder: s(e)("booking.reservation.cityPlaceholder"),
1231
+ placeholder: u(e)("booking.reservation.cityPlaceholder"),
1238
1232
  required: ""
1239
1233
  }, null, 8, ["modelValue", "label", "placeholder"])
1240
1234
  ])
1241
1235
  ]),
1242
- T(ie, {
1243
- modelValue: s(L),
1236
+ T(ne, {
1237
+ modelValue: u(L),
1244
1238
  "onUpdate:modelValue": P[14] || (P[14] = ($) => F(L) ? L.value = $ : null),
1245
1239
  type: "textarea",
1246
- label: `${s(e)("booking.reservation.remark")} (${s(e)("booking.reservation.optional")})`,
1240
+ label: `${u(e)("booking.reservation.remark")} (${u(e)("booking.reservation.optional")})`,
1247
1241
  icon: "info-circle",
1248
- placeholder: s(e)("booking.reservation.remarkPlaceholder")
1242
+ placeholder: u(e)("booking.reservation.remarkPlaceholder")
1249
1243
  }, null, 8, ["modelValue", "label", "placeholder"]),
1250
- T(ie, {
1251
- modelValue: s(O),
1244
+ T(ne, {
1245
+ modelValue: u(O),
1252
1246
  "onUpdate:modelValue": P[15] || (P[15] = ($) => F(O) ? O.value = $ : null),
1253
1247
  type: "textarea",
1254
- label: `${s(e)("booking.reservation.allergies")} (${s(e)("booking.reservation.optional")})`,
1248
+ label: `${u(e)("booking.reservation.allergies")} (${u(e)("booking.reservation.optional")})`,
1255
1249
  icon: "allergies",
1256
- placeholder: s(e)("booking.reservation.allergiesPlaceholder")
1250
+ placeholder: u(e)("booking.reservation.allergiesPlaceholder")
1257
1251
  }, null, 8, ["modelValue", "label", "placeholder"]),
1258
- s(qt) ? B("", !0) : (x(), z(hn, {
1252
+ u(qt) ? B("", !0) : (x(), z(mn, {
1259
1253
  key: 3,
1260
- modelValue: s(m),
1254
+ modelValue: u(m),
1261
1255
  "onUpdate:modelValue": P[16] || (P[16] = ($) => F(m) ? m.value = $ : null),
1262
- label: `${s(e)("booking.reservation.purposeOfStay")} (${s(e)("booking.reservation.optional")})`,
1256
+ label: `${u(e)("booking.reservation.purposeOfStay")} (${u(e)("booking.reservation.optional")})`,
1263
1257
  name: "travelingFor",
1264
1258
  checkboxes: [
1265
1259
  {
1266
- label: s(e)("booking.reservation.business"),
1260
+ label: u(e)("booking.reservation.business"),
1267
1261
  value: "Business"
1268
1262
  },
1269
1263
  {
1270
- label: s(e)("booking.reservation.pleasure"),
1264
+ label: u(e)("booking.reservation.pleasure"),
1271
1265
  value: "Pleasure"
1272
1266
  },
1273
1267
  {
1274
- label: s(e)("booking.reservation.bleasure"),
1268
+ label: u(e)("booking.reservation.bleasure"),
1275
1269
  value: "Bleasure"
1276
1270
  }
1277
1271
  ]
@@ -1281,9 +1275,9 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
1281
1275
  navigation: w(() => [
1282
1276
  v("div", null, [
1283
1277
  T(me, {
1284
- label: s(jt) ? s(e)("booking.reservation.nextButton") : s(e)("general.confirmReservation"),
1285
- disabled: !s(f),
1286
- "is-loading": s(u),
1278
+ label: u(jt) ? u(e)("booking.reservation.nextButton") : u(e)("general.confirmReservation"),
1279
+ disabled: !u(h),
1280
+ "is-loading": u(l),
1287
1281
  "full-width": "",
1288
1282
  onClickEvent: ($) => no(J)
1289
1283
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
@@ -1291,7 +1285,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
1291
1285
  class: "konnectio-abort-reservation link",
1292
1286
  onClick: nt(($) => Je(A), ["prevent"])
1293
1287
  }, [
1294
- v("span", null, V(s(e)("general.goAStepBack")), 1)
1288
+ v("span", null, V(u(e)("general.goAStepBack")), 1)
1295
1289
  ], 8, oi)
1296
1290
  ])
1297
1291
  ]),
@@ -1303,7 +1297,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
1303
1297
  ]),
1304
1298
  confirmation: w(() => [
1305
1299
  T(Bo, {
1306
- message: s(e)("booking.confirmation.thankYou")
1300
+ message: u(e)("booking.confirmation.thankYou")
1307
1301
  }, null, 8, ["message"])
1308
1302
  ]),
1309
1303
  _: 1
@@ -1313,13 +1307,13 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
1313
1307
  }, 8, ["access-token", "styling"])
1314
1308
  ]),
1315
1309
  fallback: w(() => [
1316
- T(Pn)
1310
+ T(Bn)
1317
1311
  ]),
1318
1312
  _: 1
1319
1313
  }));
1320
1314
  }
1321
1315
  });
1322
- const ii = /* @__PURE__ */ te(ni, [["__scopeId", "data-v-2a56c03f"]]);
1316
+ const ii = /* @__PURE__ */ ee(ni, [["__scopeId", "data-v-71498e56"]]);
1323
1317
  var St = { exports: {} }, Le = { exports: {} }, we = { exports: {} }, rt;
1324
1318
  function je() {
1325
1319
  return rt || (rt = 1, function(o) {
@@ -1329,30 +1323,30 @@ function je() {
1329
1323
  function e() {
1330
1324
  }
1331
1325
  var t = e.prototype;
1332
- return t.on = function(n, l) {
1333
- if (!(!n || !l)) {
1326
+ return t.on = function(n, a) {
1327
+ if (!(!n || !a)) {
1334
1328
  var r = this._events = this._events || {}, p = r[n] = r[n] || [];
1335
- return p.indexOf(l) == -1 && p.push(l), this;
1329
+ return p.indexOf(a) == -1 && p.push(a), this;
1336
1330
  }
1337
- }, t.once = function(n, l) {
1338
- if (!(!n || !l)) {
1339
- this.on(n, l);
1331
+ }, t.once = function(n, a) {
1332
+ if (!(!n || !a)) {
1333
+ this.on(n, a);
1340
1334
  var r = this._onceEvents = this._onceEvents || {}, p = r[n] = r[n] || {};
1341
- return p[l] = !0, this;
1335
+ return p[a] = !0, this;
1342
1336
  }
1343
- }, t.off = function(n, l) {
1337
+ }, t.off = function(n, a) {
1344
1338
  var r = this._events && this._events[n];
1345
1339
  if (!(!r || !r.length)) {
1346
- var p = r.indexOf(l);
1340
+ var p = r.indexOf(a);
1347
1341
  return p != -1 && r.splice(p, 1), this;
1348
1342
  }
1349
- }, t.emitEvent = function(n, l) {
1343
+ }, t.emitEvent = function(n, a) {
1350
1344
  var r = this._events && this._events[n];
1351
1345
  if (!(!r || !r.length)) {
1352
- r = r.slice(0), l = l || [];
1353
- for (var p = this._onceEvents && this._onceEvents[n], u = 0; u < r.length; u++) {
1354
- var f = r[u], c = p && p[f];
1355
- c && (this.off(n, f), delete p[f]), f.apply(this, l);
1346
+ r = r.slice(0), a = a || [];
1347
+ for (var p = this._onceEvents && this._onceEvents[n], l = 0; l < r.length; l++) {
1348
+ var h = r[l], c = p && p[h];
1349
+ c && (this.off(n, h), delete p[h]), h.apply(this, a);
1356
1350
  }
1357
1351
  return this;
1358
1352
  }
@@ -1368,20 +1362,20 @@ var He = { exports: {} };
1368
1362
  * measure size of elements
1369
1363
  * MIT license
1370
1364
  */
1371
- var at;
1365
+ var st;
1372
1366
  function Ye() {
1373
- return at || (at = 1, function(o) {
1367
+ return st || (st = 1, function(o) {
1374
1368
  (function(e, t) {
1375
1369
  o.exports ? o.exports = t() : e.getSize = t();
1376
1370
  })(window, function() {
1377
- function t(a) {
1378
- var _ = parseFloat(a), b = a.indexOf("%") == -1 && !isNaN(_);
1371
+ function t(s) {
1372
+ var _ = parseFloat(s), b = s.indexOf("%") == -1 && !isNaN(_);
1379
1373
  return b && _;
1380
1374
  }
1381
1375
  function n() {
1382
1376
  }
1383
- var l = typeof console > "u" ? n : function(a) {
1384
- console.error(a);
1377
+ var a = typeof console > "u" ? n : function(s) {
1378
+ console.error(s);
1385
1379
  }, r = [
1386
1380
  "paddingLeft",
1387
1381
  "paddingRight",
@@ -1396,8 +1390,8 @@ function Ye() {
1396
1390
  "borderTopWidth",
1397
1391
  "borderBottomWidth"
1398
1392
  ], p = r.length;
1399
- function u() {
1400
- for (var a = {
1393
+ function l() {
1394
+ for (var s = {
1401
1395
  width: 0,
1402
1396
  height: 0,
1403
1397
  innerWidth: 0,
@@ -1406,38 +1400,38 @@ function Ye() {
1406
1400
  outerHeight: 0
1407
1401
  }, _ = 0; _ < p; _++) {
1408
1402
  var b = r[_];
1409
- a[b] = 0;
1403
+ s[b] = 0;
1410
1404
  }
1411
- return a;
1405
+ return s;
1412
1406
  }
1413
- function f(a) {
1414
- var _ = getComputedStyle(a);
1415
- return _ || l("Style returned " + _ + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), _;
1407
+ function h(s) {
1408
+ var _ = getComputedStyle(s);
1409
+ return _ || a("Style returned " + _ + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), _;
1416
1410
  }
1417
1411
  var c = !1, m;
1418
1412
  function g() {
1419
1413
  if (!c) {
1420
1414
  c = !0;
1421
- var a = document.createElement("div");
1422
- a.style.width = "200px", a.style.padding = "1px 2px 3px 4px", a.style.borderStyle = "solid", a.style.borderWidth = "1px 2px 3px 4px", a.style.boxSizing = "border-box";
1415
+ var s = document.createElement("div");
1416
+ 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";
1423
1417
  var _ = document.body || document.documentElement;
1424
- _.appendChild(a);
1425
- var b = f(a);
1426
- m = Math.round(t(b.width)) == 200, k.isBoxSizeOuter = m, _.removeChild(a);
1418
+ _.appendChild(s);
1419
+ var b = h(s);
1420
+ m = Math.round(t(b.width)) == 200, k.isBoxSizeOuter = m, _.removeChild(s);
1427
1421
  }
1428
1422
  }
1429
- function k(a) {
1430
- if (g(), typeof a == "string" && (a = document.querySelector(a)), !(!a || typeof a != "object" || !a.nodeType)) {
1431
- var _ = f(a);
1423
+ function k(s) {
1424
+ if (g(), typeof s == "string" && (s = document.querySelector(s)), !(!s || typeof s != "object" || !s.nodeType)) {
1425
+ var _ = h(s);
1432
1426
  if (_.display == "none")
1433
- return u();
1427
+ return l();
1434
1428
  var b = {};
1435
- b.width = a.offsetWidth, b.height = a.offsetHeight;
1436
- for (var h = b.isBorderBox = _.boxSizing == "border-box", i = 0; i < p; i++) {
1429
+ b.width = s.offsetWidth, b.height = s.offsetHeight;
1430
+ for (var f = b.isBorderBox = _.boxSizing == "border-box", i = 0; i < p; i++) {
1437
1431
  var d = r[i], y = _[d], E = parseFloat(y);
1438
1432
  b[d] = isNaN(E) ? 0 : E;
1439
1433
  }
1440
- var S = b.paddingLeft + b.paddingRight, L = b.paddingTop + b.paddingBottom, O = b.marginLeft + b.marginRight, C = b.marginTop + b.marginBottom, D = b.borderLeftWidth + b.borderRightWidth, H = b.borderTopWidth + b.borderBottomWidth, U = h && m, q = t(_.width);
1434
+ var S = b.paddingLeft + b.paddingRight, L = b.paddingTop + b.paddingBottom, O = b.marginLeft + b.marginRight, C = b.marginTop + b.marginBottom, D = b.borderLeftWidth + b.borderRightWidth, H = b.borderTopWidth + b.borderBottomWidth, U = f && m, q = t(_.width);
1441
1435
  q !== !1 && (b.width = q + // add padding and border unless it's already including it
1442
1436
  (U ? 0 : S + D));
1443
1437
  var W = t(_.height);
@@ -1449,9 +1443,9 @@ function Ye() {
1449
1443
  });
1450
1444
  }(He)), He.exports;
1451
1445
  }
1452
- var Oe = { exports: {} }, Ae = { exports: {} }, st;
1446
+ var Oe = { exports: {} }, Ae = { exports: {} }, at;
1453
1447
  function ri() {
1454
- return st || (st = 1, function(o) {
1448
+ return at || (at = 1, function(o) {
1455
1449
  (function(e, t) {
1456
1450
  o.exports ? o.exports = t() : e.matchesSelector = t();
1457
1451
  })(window, function() {
@@ -1461,20 +1455,20 @@ function ri() {
1461
1455
  return "matches";
1462
1456
  if (n.matchesSelector)
1463
1457
  return "matchesSelector";
1464
- for (var l = ["webkit", "moz", "ms", "o"], r = 0; r < l.length; r++) {
1465
- var p = l[r], u = p + "MatchesSelector";
1466
- if (n[u])
1467
- return u;
1458
+ for (var a = ["webkit", "moz", "ms", "o"], r = 0; r < a.length; r++) {
1459
+ var p = a[r], l = p + "MatchesSelector";
1460
+ if (n[l])
1461
+ return l;
1468
1462
  }
1469
1463
  }();
1470
- return function(l, r) {
1471
- return l[t](r);
1464
+ return function(a, r) {
1465
+ return a[t](r);
1472
1466
  };
1473
1467
  });
1474
1468
  }(Ae)), Ae.exports;
1475
1469
  }
1476
1470
  var lt;
1477
- function ai() {
1471
+ function si() {
1478
1472
  return lt || (lt = 1, function(o) {
1479
1473
  (function(e, t) {
1480
1474
  o.exports ? o.exports = t(
@@ -1485,89 +1479,89 @@ function ai() {
1485
1479
  e.matchesSelector
1486
1480
  );
1487
1481
  })(window, function(t, n) {
1488
- var l = {};
1489
- l.extend = function(u, f) {
1490
- for (var c in f)
1491
- u[c] = f[c];
1492
- return u;
1493
- }, l.modulo = function(u, f) {
1494
- return (u % f + f) % f;
1482
+ var a = {};
1483
+ a.extend = function(l, h) {
1484
+ for (var c in h)
1485
+ l[c] = h[c];
1486
+ return l;
1487
+ }, a.modulo = function(l, h) {
1488
+ return (l % h + h) % h;
1495
1489
  };
1496
1490
  var r = Array.prototype.slice;
1497
- l.makeArray = function(u) {
1498
- if (Array.isArray(u))
1499
- return u;
1500
- if (u == null)
1491
+ a.makeArray = function(l) {
1492
+ if (Array.isArray(l))
1493
+ return l;
1494
+ if (l == null)
1501
1495
  return [];
1502
- var f = typeof u == "object" && typeof u.length == "number";
1503
- return f ? r.call(u) : [u];
1504
- }, l.removeFrom = function(u, f) {
1505
- var c = u.indexOf(f);
1506
- c != -1 && u.splice(c, 1);
1507
- }, l.getParent = function(u, f) {
1508
- for (; u.parentNode && u != document.body; )
1509
- if (u = u.parentNode, n(u, f))
1510
- return u;
1511
- }, l.getQueryElement = function(u) {
1512
- return typeof u == "string" ? document.querySelector(u) : u;
1513
- }, l.handleEvent = function(u) {
1514
- var f = "on" + u.type;
1515
- this[f] && this[f](u);
1516
- }, l.filterFindElements = function(u, f) {
1517
- u = l.makeArray(u);
1496
+ var h = typeof l == "object" && typeof l.length == "number";
1497
+ return h ? r.call(l) : [l];
1498
+ }, a.removeFrom = function(l, h) {
1499
+ var c = l.indexOf(h);
1500
+ c != -1 && l.splice(c, 1);
1501
+ }, a.getParent = function(l, h) {
1502
+ for (; l.parentNode && l != document.body; )
1503
+ if (l = l.parentNode, n(l, h))
1504
+ return l;
1505
+ }, a.getQueryElement = function(l) {
1506
+ return typeof l == "string" ? document.querySelector(l) : l;
1507
+ }, a.handleEvent = function(l) {
1508
+ var h = "on" + l.type;
1509
+ this[h] && this[h](l);
1510
+ }, a.filterFindElements = function(l, h) {
1511
+ l = a.makeArray(l);
1518
1512
  var c = [];
1519
- return u.forEach(function(m) {
1513
+ return l.forEach(function(m) {
1520
1514
  if (m instanceof HTMLElement) {
1521
- if (!f) {
1515
+ if (!h) {
1522
1516
  c.push(m);
1523
1517
  return;
1524
1518
  }
1525
- n(m, f) && c.push(m);
1526
- for (var g = m.querySelectorAll(f), k = 0; k < g.length; k++)
1519
+ n(m, h) && c.push(m);
1520
+ for (var g = m.querySelectorAll(h), k = 0; k < g.length; k++)
1527
1521
  c.push(g[k]);
1528
1522
  }
1529
1523
  }), c;
1530
- }, l.debounceMethod = function(u, f, c) {
1524
+ }, a.debounceMethod = function(l, h, c) {
1531
1525
  c = c || 100;
1532
- var m = u.prototype[f], g = f + "Timeout";
1533
- u.prototype[f] = function() {
1526
+ var m = l.prototype[h], g = h + "Timeout";
1527
+ l.prototype[h] = function() {
1534
1528
  var k = this[g];
1535
1529
  clearTimeout(k);
1536
- var a = arguments, _ = this;
1530
+ var s = arguments, _ = this;
1537
1531
  this[g] = setTimeout(function() {
1538
- m.apply(_, a), delete _[g];
1532
+ m.apply(_, s), delete _[g];
1539
1533
  }, c);
1540
1534
  };
1541
- }, l.docReady = function(u) {
1542
- var f = document.readyState;
1543
- f == "complete" || f == "interactive" ? setTimeout(u) : document.addEventListener("DOMContentLoaded", u);
1544
- }, l.toDashed = function(u) {
1545
- return u.replace(/(.)([A-Z])/g, function(f, c, m) {
1535
+ }, a.docReady = function(l) {
1536
+ var h = document.readyState;
1537
+ h == "complete" || h == "interactive" ? setTimeout(l) : document.addEventListener("DOMContentLoaded", l);
1538
+ }, a.toDashed = function(l) {
1539
+ return l.replace(/(.)([A-Z])/g, function(h, c, m) {
1546
1540
  return c + "-" + m;
1547
1541
  }).toLowerCase();
1548
1542
  };
1549
1543
  var p = t.console;
1550
- return l.htmlInit = function(u, f) {
1551
- l.docReady(function() {
1552
- var c = l.toDashed(f), m = "data-" + c, g = document.querySelectorAll("[" + m + "]"), k = document.querySelectorAll(".js-" + c), a = l.makeArray(g).concat(l.makeArray(k)), _ = m + "-options", b = t.jQuery;
1553
- a.forEach(function(h) {
1554
- var i = h.getAttribute(m) || h.getAttribute(_), d;
1544
+ return a.htmlInit = function(l, h) {
1545
+ a.docReady(function() {
1546
+ var c = a.toDashed(h), m = "data-" + c, g = document.querySelectorAll("[" + m + "]"), k = document.querySelectorAll(".js-" + c), s = a.makeArray(g).concat(a.makeArray(k)), _ = m + "-options", b = t.jQuery;
1547
+ s.forEach(function(f) {
1548
+ var i = f.getAttribute(m) || f.getAttribute(_), d;
1555
1549
  try {
1556
1550
  d = i && JSON.parse(i);
1557
1551
  } catch (E) {
1558
- p && p.error("Error parsing " + m + " on " + h.className + ": " + E);
1552
+ p && p.error("Error parsing " + m + " on " + f.className + ": " + E);
1559
1553
  return;
1560
1554
  }
1561
- var y = new u(h, d);
1562
- b && b.data(h, f, y);
1555
+ var y = new l(f, d);
1556
+ b && b.data(f, h, y);
1563
1557
  });
1564
1558
  });
1565
- }, l;
1559
+ }, a;
1566
1560
  });
1567
1561
  }(Oe)), Oe.exports;
1568
1562
  }
1569
1563
  var ze = { exports: {} }, ut;
1570
- function si() {
1564
+ function ai() {
1571
1565
  return ut || (ut = 1, function(o) {
1572
1566
  (function(e, t) {
1573
1567
  o.exports ? o.exports = t(
@@ -1578,23 +1572,23 @@ function si() {
1578
1572
  e.getSize
1579
1573
  ));
1580
1574
  })(window, function(t, n) {
1581
- function l(h) {
1582
- for (var i in h)
1575
+ function a(f) {
1576
+ for (var i in f)
1583
1577
  return !1;
1584
1578
  return i = null, !0;
1585
1579
  }
1586
- var r = document.documentElement.style, p = typeof r.transition == "string" ? "transition" : "WebkitTransition", u = typeof r.transform == "string" ? "transform" : "WebkitTransform", f = {
1580
+ var r = document.documentElement.style, p = typeof r.transition == "string" ? "transition" : "WebkitTransition", l = typeof r.transform == "string" ? "transform" : "WebkitTransform", h = {
1587
1581
  WebkitTransition: "webkitTransitionEnd",
1588
1582
  transition: "transitionend"
1589
1583
  }[p], c = {
1590
- transform: u,
1584
+ transform: l,
1591
1585
  transition: p,
1592
1586
  transitionDuration: p + "Duration",
1593
1587
  transitionProperty: p + "Property",
1594
1588
  transitionDelay: p + "Delay"
1595
1589
  };
1596
- function m(h, i) {
1597
- h && (this.element = h, this.layout = i, this.position = {
1590
+ function m(f, i) {
1591
+ f && (this.element = f, this.layout = i, this.position = {
1598
1592
  x: 0,
1599
1593
  y: 0
1600
1594
  }, this._create());
@@ -1608,39 +1602,39 @@ function si() {
1608
1602
  }, this.css({
1609
1603
  position: "absolute"
1610
1604
  });
1611
- }, g.handleEvent = function(h) {
1612
- var i = "on" + h.type;
1613
- this[i] && this[i](h);
1605
+ }, g.handleEvent = function(f) {
1606
+ var i = "on" + f.type;
1607
+ this[i] && this[i](f);
1614
1608
  }, g.getSize = function() {
1615
1609
  this.size = n(this.element);
1616
- }, g.css = function(h) {
1610
+ }, g.css = function(f) {
1617
1611
  var i = this.element.style;
1618
- for (var d in h) {
1612
+ for (var d in f) {
1619
1613
  var y = c[d] || d;
1620
- i[y] = h[d];
1614
+ i[y] = f[d];
1621
1615
  }
1622
1616
  }, g.getPosition = function() {
1623
- var h = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), d = this.layout._getOption("originTop"), y = h[i ? "left" : "right"], E = h[d ? "top" : "bottom"], S = parseFloat(y), L = parseFloat(E), O = this.layout.size;
1617
+ var f = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), d = this.layout._getOption("originTop"), y = f[i ? "left" : "right"], E = f[d ? "top" : "bottom"], S = parseFloat(y), L = parseFloat(E), O = this.layout.size;
1624
1618
  y.indexOf("%") != -1 && (S = S / 100 * O.width), E.indexOf("%") != -1 && (L = L / 100 * O.height), S = isNaN(S) ? 0 : S, L = isNaN(L) ? 0 : L, S -= i ? O.paddingLeft : O.paddingRight, L -= d ? O.paddingTop : O.paddingBottom, this.position.x = S, this.position.y = L;
1625
1619
  }, g.layoutPosition = function() {
1626
- var h = this.layout.size, i = {}, d = this.layout._getOption("originLeft"), y = this.layout._getOption("originTop"), E = d ? "paddingLeft" : "paddingRight", S = d ? "left" : "right", L = d ? "right" : "left", O = this.position.x + h[E];
1620
+ var f = this.layout.size, i = {}, d = this.layout._getOption("originLeft"), y = this.layout._getOption("originTop"), E = d ? "paddingLeft" : "paddingRight", S = d ? "left" : "right", L = d ? "right" : "left", O = this.position.x + f[E];
1627
1621
  i[S] = this.getXValue(O), i[L] = "";
1628
- var C = y ? "paddingTop" : "paddingBottom", D = y ? "top" : "bottom", H = y ? "bottom" : "top", U = this.position.y + h[C];
1622
+ var C = y ? "paddingTop" : "paddingBottom", D = y ? "top" : "bottom", H = y ? "bottom" : "top", U = this.position.y + f[C];
1629
1623
  i[D] = this.getYValue(U), i[H] = "", this.css(i), this.emitEvent("layout", [this]);
1630
- }, g.getXValue = function(h) {
1624
+ }, g.getXValue = function(f) {
1631
1625
  var i = this.layout._getOption("horizontal");
1632
- return this.layout.options.percentPosition && !i ? h / this.layout.size.width * 100 + "%" : h + "px";
1633
- }, g.getYValue = function(h) {
1626
+ return this.layout.options.percentPosition && !i ? f / this.layout.size.width * 100 + "%" : f + "px";
1627
+ }, g.getYValue = function(f) {
1634
1628
  var i = this.layout._getOption("horizontal");
1635
- return this.layout.options.percentPosition && i ? h / this.layout.size.height * 100 + "%" : h + "px";
1636
- }, g._transitionTo = function(h, i) {
1629
+ return this.layout.options.percentPosition && i ? f / this.layout.size.height * 100 + "%" : f + "px";
1630
+ }, g._transitionTo = function(f, i) {
1637
1631
  this.getPosition();
1638
- var d = this.position.x, y = this.position.y, E = h == this.position.x && i == this.position.y;
1639
- if (this.setPosition(h, i), E && !this.isTransitioning) {
1632
+ var d = this.position.x, y = this.position.y, E = f == this.position.x && i == this.position.y;
1633
+ if (this.setPosition(f, i), E && !this.isTransitioning) {
1640
1634
  this.layoutPosition();
1641
1635
  return;
1642
1636
  }
1643
- var S = h - d, L = i - y, O = {};
1637
+ var S = f - d, L = i - y, O = {};
1644
1638
  O.transform = this.getTranslate(S, L), this.transition({
1645
1639
  to: O,
1646
1640
  onTransitionEnd: {
@@ -1648,66 +1642,66 @@ function si() {
1648
1642
  },
1649
1643
  isCleaning: !0
1650
1644
  });
1651
- }, g.getTranslate = function(h, i) {
1645
+ }, g.getTranslate = function(f, i) {
1652
1646
  var d = this.layout._getOption("originLeft"), y = this.layout._getOption("originTop");
1653
- return h = d ? h : -h, i = y ? i : -i, "translate3d(" + h + "px, " + i + "px, 0)";
1654
- }, g.goTo = function(h, i) {
1655
- this.setPosition(h, i), this.layoutPosition();
1656
- }, g.moveTo = g._transitionTo, g.setPosition = function(h, i) {
1657
- this.position.x = parseFloat(h), this.position.y = parseFloat(i);
1658
- }, g._nonTransition = function(h) {
1659
- this.css(h.to), h.isCleaning && this._removeStyles(h.to);
1660
- for (var i in h.onTransitionEnd)
1661
- h.onTransitionEnd[i].call(this);
1662
- }, g.transition = function(h) {
1647
+ return f = d ? f : -f, i = y ? i : -i, "translate3d(" + f + "px, " + i + "px, 0)";
1648
+ }, g.goTo = function(f, i) {
1649
+ this.setPosition(f, i), this.layoutPosition();
1650
+ }, g.moveTo = g._transitionTo, g.setPosition = function(f, i) {
1651
+ this.position.x = parseFloat(f), this.position.y = parseFloat(i);
1652
+ }, g._nonTransition = function(f) {
1653
+ this.css(f.to), f.isCleaning && this._removeStyles(f.to);
1654
+ for (var i in f.onTransitionEnd)
1655
+ f.onTransitionEnd[i].call(this);
1656
+ }, g.transition = function(f) {
1663
1657
  if (!parseFloat(this.layout.options.transitionDuration)) {
1664
- this._nonTransition(h);
1658
+ this._nonTransition(f);
1665
1659
  return;
1666
1660
  }
1667
1661
  var i = this._transn;
1668
- for (var d in h.onTransitionEnd)
1669
- i.onEnd[d] = h.onTransitionEnd[d];
1670
- for (d in h.to)
1671
- i.ingProperties[d] = !0, h.isCleaning && (i.clean[d] = !0);
1672
- h.from && (this.css(h.from), this.element.offsetHeight), this.enableTransition(h.to), this.css(h.to), this.isTransitioning = !0;
1662
+ for (var d in f.onTransitionEnd)
1663
+ i.onEnd[d] = f.onTransitionEnd[d];
1664
+ for (d in f.to)
1665
+ i.ingProperties[d] = !0, f.isCleaning && (i.clean[d] = !0);
1666
+ f.from && (this.css(f.from), this.element.offsetHeight), this.enableTransition(f.to), this.css(f.to), this.isTransitioning = !0;
1673
1667
  };
1674
- function k(h) {
1675
- return h.replace(/([A-Z])/g, function(i) {
1668
+ function k(f) {
1669
+ return f.replace(/([A-Z])/g, function(i) {
1676
1670
  return "-" + i.toLowerCase();
1677
1671
  });
1678
1672
  }
1679
- var a = "opacity," + k(u);
1673
+ var s = "opacity," + k(l);
1680
1674
  g.enableTransition = function() {
1681
1675
  if (!this.isTransitioning) {
1682
- var h = this.layout.options.transitionDuration;
1683
- h = typeof h == "number" ? h + "ms" : h, this.css({
1684
- transitionProperty: a,
1685
- transitionDuration: h,
1676
+ var f = this.layout.options.transitionDuration;
1677
+ f = typeof f == "number" ? f + "ms" : f, this.css({
1678
+ transitionProperty: s,
1679
+ transitionDuration: f,
1686
1680
  transitionDelay: this.staggerDelay || 0
1687
- }), this.element.addEventListener(f, this, !1);
1681
+ }), this.element.addEventListener(h, this, !1);
1688
1682
  }
1689
- }, g.onwebkitTransitionEnd = function(h) {
1690
- this.ontransitionend(h);
1691
- }, g.onotransitionend = function(h) {
1692
- this.ontransitionend(h);
1683
+ }, g.onwebkitTransitionEnd = function(f) {
1684
+ this.ontransitionend(f);
1685
+ }, g.onotransitionend = function(f) {
1686
+ this.ontransitionend(f);
1693
1687
  };
1694
1688
  var _ = {
1695
1689
  "-webkit-transform": "transform"
1696
1690
  };
1697
- g.ontransitionend = function(h) {
1698
- if (h.target === this.element) {
1699
- var i = this._transn, d = _[h.propertyName] || h.propertyName;
1700
- if (delete i.ingProperties[d], l(i.ingProperties) && this.disableTransition(), d in i.clean && (this.element.style[h.propertyName] = "", delete i.clean[d]), d in i.onEnd) {
1691
+ g.ontransitionend = function(f) {
1692
+ if (f.target === this.element) {
1693
+ var i = this._transn, d = _[f.propertyName] || f.propertyName;
1694
+ if (delete i.ingProperties[d], a(i.ingProperties) && this.disableTransition(), d in i.clean && (this.element.style[f.propertyName] = "", delete i.clean[d]), d in i.onEnd) {
1701
1695
  var y = i.onEnd[d];
1702
1696
  y.call(this), delete i.onEnd[d];
1703
1697
  }
1704
1698
  this.emitEvent("transitionEnd", [this]);
1705
1699
  }
1706
1700
  }, g.disableTransition = function() {
1707
- this.removeTransitionStyles(), this.element.removeEventListener(f, this, !1), this.isTransitioning = !1;
1708
- }, g._removeStyles = function(h) {
1701
+ this.removeTransitionStyles(), this.element.removeEventListener(h, this, !1), this.isTransitioning = !1;
1702
+ }, g._removeStyles = function(f) {
1709
1703
  var i = {};
1710
- for (var d in h)
1704
+ for (var d in f)
1711
1705
  i[d] = "";
1712
1706
  this.css(i);
1713
1707
  };
@@ -1718,8 +1712,8 @@ function si() {
1718
1712
  };
1719
1713
  return g.removeTransitionStyles = function() {
1720
1714
  this.css(b);
1721
- }, g.stagger = function(h) {
1722
- h = isNaN(h) ? 0 : h, this.staggerDelay = h + "ms";
1715
+ }, g.stagger = function(f) {
1716
+ f = isNaN(f) ? 0 : f, this.staggerDelay = f + "ms";
1723
1717
  }, g.removeElem = function() {
1724
1718
  this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
1725
1719
  }, g.remove = function() {
@@ -1732,27 +1726,27 @@ function si() {
1732
1726
  }), this.hide();
1733
1727
  }, g.reveal = function() {
1734
1728
  delete this.isHidden, this.css({ display: "" });
1735
- var h = this.layout.options, i = {}, d = this.getHideRevealTransitionEndProperty("visibleStyle");
1729
+ var f = this.layout.options, i = {}, d = this.getHideRevealTransitionEndProperty("visibleStyle");
1736
1730
  i[d] = this.onRevealTransitionEnd, this.transition({
1737
- from: h.hiddenStyle,
1738
- to: h.visibleStyle,
1731
+ from: f.hiddenStyle,
1732
+ to: f.visibleStyle,
1739
1733
  isCleaning: !0,
1740
1734
  onTransitionEnd: i
1741
1735
  });
1742
1736
  }, g.onRevealTransitionEnd = function() {
1743
1737
  this.isHidden || this.emitEvent("reveal");
1744
- }, g.getHideRevealTransitionEndProperty = function(h) {
1745
- var i = this.layout.options[h];
1738
+ }, g.getHideRevealTransitionEndProperty = function(f) {
1739
+ var i = this.layout.options[f];
1746
1740
  if (i.opacity)
1747
1741
  return "opacity";
1748
1742
  for (var d in i)
1749
1743
  return d;
1750
1744
  }, g.hide = function() {
1751
1745
  this.isHidden = !0, this.css({ display: "" });
1752
- var h = this.layout.options, i = {}, d = this.getHideRevealTransitionEndProperty("hiddenStyle");
1746
+ var f = this.layout.options, i = {}, d = this.getHideRevealTransitionEndProperty("hiddenStyle");
1753
1747
  i[d] = this.onHideTransitionEnd, this.transition({
1754
- from: h.visibleStyle,
1755
- to: h.hiddenStyle,
1748
+ from: f.visibleStyle,
1749
+ to: f.hiddenStyle,
1756
1750
  // keep hidden stuff hidden
1757
1751
  isCleaning: !0,
1758
1752
  onTransitionEnd: i
@@ -1786,8 +1780,8 @@ function li() {
1786
1780
  e,
1787
1781
  je(),
1788
1782
  Ye(),
1789
- ai(),
1790
- si()
1783
+ si(),
1784
+ ai()
1791
1785
  ) : e.Outlayer = t(
1792
1786
  e,
1793
1787
  e.EvEmitter,
@@ -1795,16 +1789,16 @@ function li() {
1795
1789
  e.fizzyUIUtils,
1796
1790
  e.Outlayer.Item
1797
1791
  );
1798
- })(window, function(t, n, l, r, p) {
1799
- var u = t.console, f = t.jQuery, c = function() {
1792
+ })(window, function(t, n, a, r, p) {
1793
+ var l = t.console, h = t.jQuery, c = function() {
1800
1794
  }, m = 0, g = {};
1801
1795
  function k(i, d) {
1802
1796
  var y = r.getQueryElement(i);
1803
1797
  if (!y) {
1804
- u && u.error("Bad element for " + this.constructor.namespace + ": " + (y || i));
1798
+ l && l.error("Bad element for " + this.constructor.namespace + ": " + (y || i));
1805
1799
  return;
1806
1800
  }
1807
- this.element = y, f && (this.$element = f(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(d);
1801
+ this.element = y, h && (this.$element = h(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(d);
1808
1802
  var E = ++m;
1809
1803
  this.element.outlayerGUID = E, g[E] = this, this._create();
1810
1804
  var S = this._getOption("initLayout");
@@ -1830,10 +1824,10 @@ function li() {
1830
1824
  transform: "scale(1)"
1831
1825
  }
1832
1826
  };
1833
- var a = k.prototype;
1834
- r.extend(a, n.prototype), a.option = function(i) {
1827
+ var s = k.prototype;
1828
+ r.extend(s, n.prototype), s.option = function(i) {
1835
1829
  r.extend(this.options, i);
1836
- }, a._getOption = function(i) {
1830
+ }, s._getOption = function(i) {
1837
1831
  var d = this.constructor.compatOptions[i];
1838
1832
  return d && this.options[d] !== void 0 ? this.options[d] : this.options[i];
1839
1833
  }, k.compatOptions = {
@@ -1845,42 +1839,42 @@ function li() {
1845
1839
  originTop: "isOriginTop",
1846
1840
  resize: "isResizeBound",
1847
1841
  resizeContainer: "isResizingContainer"
1848
- }, a._create = function() {
1842
+ }, s._create = function() {
1849
1843
  this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), r.extend(this.element.style, this.options.containerStyle);
1850
1844
  var i = this._getOption("resize");
1851
1845
  i && this.bindResize();
1852
- }, a.reloadItems = function() {
1846
+ }, s.reloadItems = function() {
1853
1847
  this.items = this._itemize(this.element.children);
1854
- }, a._itemize = function(i) {
1848
+ }, s._itemize = function(i) {
1855
1849
  for (var d = this._filterFindItemElements(i), y = this.constructor.Item, E = [], S = 0; S < d.length; S++) {
1856
1850
  var L = d[S], O = new y(L, this);
1857
1851
  E.push(O);
1858
1852
  }
1859
1853
  return E;
1860
- }, a._filterFindItemElements = function(i) {
1854
+ }, s._filterFindItemElements = function(i) {
1861
1855
  return r.filterFindElements(i, this.options.itemSelector);
1862
- }, a.getItemElements = function() {
1856
+ }, s.getItemElements = function() {
1863
1857
  return this.items.map(function(i) {
1864
1858
  return i.element;
1865
1859
  });
1866
- }, a.layout = function() {
1860
+ }, s.layout = function() {
1867
1861
  this._resetLayout(), this._manageStamps();
1868
1862
  var i = this._getOption("layoutInstant"), d = i !== void 0 ? i : !this._isLayoutInited;
1869
1863
  this.layoutItems(this.items, d), this._isLayoutInited = !0;
1870
- }, a._init = a.layout, a._resetLayout = function() {
1864
+ }, s._init = s.layout, s._resetLayout = function() {
1871
1865
  this.getSize();
1872
- }, a.getSize = function() {
1873
- this.size = l(this.element);
1874
- }, a._getMeasurement = function(i, d) {
1866
+ }, s.getSize = function() {
1867
+ this.size = a(this.element);
1868
+ }, s._getMeasurement = function(i, d) {
1875
1869
  var y = this.options[i], E;
1876
- y ? (typeof y == "string" ? E = this.element.querySelector(y) : y instanceof HTMLElement && (E = y), this[i] = E ? l(E)[d] : y) : this[i] = 0;
1877
- }, a.layoutItems = function(i, d) {
1870
+ y ? (typeof y == "string" ? E = this.element.querySelector(y) : y instanceof HTMLElement && (E = y), this[i] = E ? a(E)[d] : y) : this[i] = 0;
1871
+ }, s.layoutItems = function(i, d) {
1878
1872
  i = this._getItemsForLayout(i), this._layoutItems(i, d), this._postLayout();
1879
- }, a._getItemsForLayout = function(i) {
1873
+ }, s._getItemsForLayout = function(i) {
1880
1874
  return i.filter(function(d) {
1881
1875
  return !d.isIgnored;
1882
1876
  });
1883
- }, a._layoutItems = function(i, d) {
1877
+ }, s._layoutItems = function(i, d) {
1884
1878
  if (this._emitCompleteOnItems("layout", i), !(!i || !i.length)) {
1885
1879
  var y = [];
1886
1880
  i.forEach(function(E) {
@@ -1888,38 +1882,38 @@ function li() {
1888
1882
  S.item = E, S.isInstant = d || E.isLayoutInstant, y.push(S);
1889
1883
  }, this), this._processLayoutQueue(y);
1890
1884
  }
1891
- }, a._getItemLayoutPosition = function() {
1885
+ }, s._getItemLayoutPosition = function() {
1892
1886
  return {
1893
1887
  x: 0,
1894
1888
  y: 0
1895
1889
  };
1896
- }, a._processLayoutQueue = function(i) {
1890
+ }, s._processLayoutQueue = function(i) {
1897
1891
  this.updateStagger(), i.forEach(function(d, y) {
1898
1892
  this._positionItem(d.item, d.x, d.y, d.isInstant, y);
1899
1893
  }, this);
1900
- }, a.updateStagger = function() {
1894
+ }, s.updateStagger = function() {
1901
1895
  var i = this.options.stagger;
1902
1896
  if (i == null) {
1903
1897
  this.stagger = 0;
1904
1898
  return;
1905
1899
  }
1906
- return this.stagger = h(i), this.stagger;
1907
- }, a._positionItem = function(i, d, y, E, S) {
1900
+ return this.stagger = f(i), this.stagger;
1901
+ }, s._positionItem = function(i, d, y, E, S) {
1908
1902
  E ? i.goTo(d, y) : (i.stagger(S * this.stagger), i.moveTo(d, y));
1909
- }, a._postLayout = function() {
1903
+ }, s._postLayout = function() {
1910
1904
  this.resizeContainer();
1911
- }, a.resizeContainer = function() {
1905
+ }, s.resizeContainer = function() {
1912
1906
  var i = this._getOption("resizeContainer");
1913
1907
  if (i) {
1914
1908
  var d = this._getContainerSize();
1915
1909
  d && (this._setContainerMeasure(d.width, !0), this._setContainerMeasure(d.height, !1));
1916
1910
  }
1917
- }, a._getContainerSize = c, a._setContainerMeasure = function(i, d) {
1911
+ }, s._getContainerSize = c, s._setContainerMeasure = function(i, d) {
1918
1912
  if (i !== void 0) {
1919
1913
  var y = this.size;
1920
1914
  y.isBorderBox && (i += d ? y.paddingLeft + y.paddingRight + y.borderLeftWidth + y.borderRightWidth : y.paddingBottom + y.paddingTop + y.borderTopWidth + y.borderBottomWidth), i = Math.max(i, 0), this.element.style[d ? "width" : "height"] = i + "px";
1921
1915
  }
1922
- }, a._emitCompleteOnItems = function(i, d) {
1916
+ }, s._emitCompleteOnItems = function(i, d) {
1923
1917
  var y = this;
1924
1918
  function E() {
1925
1919
  y.dispatchEvent(i + "Complete", null, [d]);
@@ -1936,32 +1930,32 @@ function li() {
1936
1930
  d.forEach(function(C) {
1937
1931
  C.once(i, O);
1938
1932
  });
1939
- }, a.dispatchEvent = function(i, d, y) {
1933
+ }, s.dispatchEvent = function(i, d, y) {
1940
1934
  var E = d ? [d].concat(y) : y;
1941
- if (this.emitEvent(i, E), f)
1942
- if (this.$element = this.$element || f(this.element), d) {
1943
- var S = f.Event(d);
1935
+ if (this.emitEvent(i, E), h)
1936
+ if (this.$element = this.$element || h(this.element), d) {
1937
+ var S = h.Event(d);
1944
1938
  S.type = i, this.$element.trigger(S, y);
1945
1939
  } else
1946
1940
  this.$element.trigger(i, y);
1947
- }, a.ignore = function(i) {
1941
+ }, s.ignore = function(i) {
1948
1942
  var d = this.getItem(i);
1949
1943
  d && (d.isIgnored = !0);
1950
- }, a.unignore = function(i) {
1944
+ }, s.unignore = function(i) {
1951
1945
  var d = this.getItem(i);
1952
1946
  d && delete d.isIgnored;
1953
- }, a.stamp = function(i) {
1947
+ }, s.stamp = function(i) {
1954
1948
  i = this._find(i), i && (this.stamps = this.stamps.concat(i), i.forEach(this.ignore, this));
1955
- }, a.unstamp = function(i) {
1949
+ }, s.unstamp = function(i) {
1956
1950
  i = this._find(i), i && i.forEach(function(d) {
1957
1951
  r.removeFrom(this.stamps, d), this.unignore(d);
1958
1952
  }, this);
1959
- }, a._find = function(i) {
1953
+ }, s._find = function(i) {
1960
1954
  if (i)
1961
1955
  return typeof i == "string" && (i = this.element.querySelectorAll(i)), i = r.makeArray(i), i;
1962
- }, a._manageStamps = function() {
1956
+ }, s._manageStamps = function() {
1963
1957
  !this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
1964
- }, a._getBoundingRect = function() {
1958
+ }, s._getBoundingRect = function() {
1965
1959
  var i = this.element.getBoundingClientRect(), d = this.size;
1966
1960
  this._boundingRect = {
1967
1961
  left: i.left + d.paddingLeft + d.borderLeftWidth,
@@ -1969,89 +1963,89 @@ function li() {
1969
1963
  right: i.right - (d.paddingRight + d.borderRightWidth),
1970
1964
  bottom: i.bottom - (d.paddingBottom + d.borderBottomWidth)
1971
1965
  };
1972
- }, a._manageStamp = c, a._getElementOffset = function(i) {
1973
- var d = i.getBoundingClientRect(), y = this._boundingRect, E = l(i), S = {
1966
+ }, s._manageStamp = c, s._getElementOffset = function(i) {
1967
+ var d = i.getBoundingClientRect(), y = this._boundingRect, E = a(i), S = {
1974
1968
  left: d.left - y.left - E.marginLeft,
1975
1969
  top: d.top - y.top - E.marginTop,
1976
1970
  right: y.right - d.right - E.marginRight,
1977
1971
  bottom: y.bottom - d.bottom - E.marginBottom
1978
1972
  };
1979
1973
  return S;
1980
- }, a.handleEvent = r.handleEvent, a.bindResize = function() {
1974
+ }, s.handleEvent = r.handleEvent, s.bindResize = function() {
1981
1975
  t.addEventListener("resize", this), this.isResizeBound = !0;
1982
- }, a.unbindResize = function() {
1976
+ }, s.unbindResize = function() {
1983
1977
  t.removeEventListener("resize", this), this.isResizeBound = !1;
1984
- }, a.onresize = function() {
1978
+ }, s.onresize = function() {
1985
1979
  this.resize();
1986
- }, r.debounceMethod(k, "onresize", 100), a.resize = function() {
1980
+ }, r.debounceMethod(k, "onresize", 100), s.resize = function() {
1987
1981
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
1988
- }, a.needsResizeLayout = function() {
1989
- var i = l(this.element), d = this.size && i;
1982
+ }, s.needsResizeLayout = function() {
1983
+ var i = a(this.element), d = this.size && i;
1990
1984
  return d && i.innerWidth !== this.size.innerWidth;
1991
- }, a.addItems = function(i) {
1985
+ }, s.addItems = function(i) {
1992
1986
  var d = this._itemize(i);
1993
1987
  return d.length && (this.items = this.items.concat(d)), d;
1994
- }, a.appended = function(i) {
1988
+ }, s.appended = function(i) {
1995
1989
  var d = this.addItems(i);
1996
1990
  d.length && (this.layoutItems(d, !0), this.reveal(d));
1997
- }, a.prepended = function(i) {
1991
+ }, s.prepended = function(i) {
1998
1992
  var d = this._itemize(i);
1999
1993
  if (d.length) {
2000
1994
  var y = this.items.slice(0);
2001
1995
  this.items = d.concat(y), this._resetLayout(), this._manageStamps(), this.layoutItems(d, !0), this.reveal(d), this.layoutItems(y);
2002
1996
  }
2003
- }, a.reveal = function(i) {
1997
+ }, s.reveal = function(i) {
2004
1998
  if (this._emitCompleteOnItems("reveal", i), !(!i || !i.length)) {
2005
1999
  var d = this.updateStagger();
2006
2000
  i.forEach(function(y, E) {
2007
2001
  y.stagger(E * d), y.reveal();
2008
2002
  });
2009
2003
  }
2010
- }, a.hide = function(i) {
2004
+ }, s.hide = function(i) {
2011
2005
  if (this._emitCompleteOnItems("hide", i), !(!i || !i.length)) {
2012
2006
  var d = this.updateStagger();
2013
2007
  i.forEach(function(y, E) {
2014
2008
  y.stagger(E * d), y.hide();
2015
2009
  });
2016
2010
  }
2017
- }, a.revealItemElements = function(i) {
2011
+ }, s.revealItemElements = function(i) {
2018
2012
  var d = this.getItems(i);
2019
2013
  this.reveal(d);
2020
- }, a.hideItemElements = function(i) {
2014
+ }, s.hideItemElements = function(i) {
2021
2015
  var d = this.getItems(i);
2022
2016
  this.hide(d);
2023
- }, a.getItem = function(i) {
2017
+ }, s.getItem = function(i) {
2024
2018
  for (var d = 0; d < this.items.length; d++) {
2025
2019
  var y = this.items[d];
2026
2020
  if (y.element == i)
2027
2021
  return y;
2028
2022
  }
2029
- }, a.getItems = function(i) {
2023
+ }, s.getItems = function(i) {
2030
2024
  i = r.makeArray(i);
2031
2025
  var d = [];
2032
2026
  return i.forEach(function(y) {
2033
2027
  var E = this.getItem(y);
2034
2028
  E && d.push(E);
2035
2029
  }, this), d;
2036
- }, a.remove = function(i) {
2030
+ }, s.remove = function(i) {
2037
2031
  var d = this.getItems(i);
2038
2032
  this._emitCompleteOnItems("remove", d), !(!d || !d.length) && d.forEach(function(y) {
2039
2033
  y.remove(), r.removeFrom(this.items, y);
2040
2034
  }, this);
2041
- }, a.destroy = function() {
2035
+ }, s.destroy = function() {
2042
2036
  var i = this.element.style;
2043
2037
  i.height = "", i.position = "", i.width = "", this.items.forEach(function(y) {
2044
2038
  y.destroy();
2045
2039
  }), this.unbindResize();
2046
2040
  var d = this.element.outlayerGUID;
2047
- delete g[d], delete this.element.outlayerGUID, f && f.removeData(this.element, this.constructor.namespace);
2041
+ delete g[d], delete this.element.outlayerGUID, h && h.removeData(this.element, this.constructor.namespace);
2048
2042
  }, k.data = function(i) {
2049
2043
  i = r.getQueryElement(i);
2050
2044
  var d = i && i.outlayerGUID;
2051
2045
  return d && g[d];
2052
2046
  }, k.create = function(i, d) {
2053
2047
  var y = _(k);
2054
- return y.defaults = r.extend({}, k.defaults), r.extend(y.defaults, d), y.compatOptions = r.extend({}, k.compatOptions), y.namespace = i, y.data = k.data, y.Item = _(p), r.htmlInit(y, i), f && f.bridget && f.bridget(i, y), y;
2048
+ return y.defaults = r.extend({}, k.defaults), r.extend(y.defaults, d), y.compatOptions = r.extend({}, k.compatOptions), y.namespace = i, y.data = k.data, y.Item = _(p), r.htmlInit(y, i), h && h.bridget && h.bridget(i, y), y;
2055
2049
  };
2056
2050
  function _(i) {
2057
2051
  function d() {
@@ -2063,7 +2057,7 @@ function li() {
2063
2057
  ms: 1,
2064
2058
  s: 1e3
2065
2059
  };
2066
- function h(i) {
2060
+ function f(i) {
2067
2061
  if (typeof i == "number")
2068
2062
  return i;
2069
2063
  var d = i.match(/(^\d*\.?\d*)(\w*)/), y = d && d[1], E = d && d[2];
@@ -2094,9 +2088,9 @@ function li() {
2094
2088
  e.getSize
2095
2089
  );
2096
2090
  })(window, function(t, n) {
2097
- var l = t.create("masonry");
2098
- l.compatOptions.fitWidth = "isFitWidth";
2099
- var r = l.prototype;
2091
+ var a = t.create("masonry");
2092
+ a.compatOptions.fitWidth = "isFitWidth";
2093
+ var r = a.prototype;
2100
2094
  return r._resetLayout = function() {
2101
2095
  this.getSize(), this._getMeasurement("columnWidth", "outerWidth"), this._getMeasurement("gutter", "outerWidth"), this.measureColumns(), this.colYs = [];
2102
2096
  for (var p = 0; p < this.cols; p++)
@@ -2104,57 +2098,57 @@ function li() {
2104
2098
  this.maxY = 0, this.horizontalColIndex = 0;
2105
2099
  }, r.measureColumns = function() {
2106
2100
  if (this.getContainerWidth(), !this.columnWidth) {
2107
- var p = this.items[0], u = p && p.element;
2108
- this.columnWidth = u && n(u).outerWidth || // if first elem has no width, default to size of container
2101
+ var p = this.items[0], l = p && p.element;
2102
+ this.columnWidth = l && n(l).outerWidth || // if first elem has no width, default to size of container
2109
2103
  this.containerWidth;
2110
2104
  }
2111
- var f = this.columnWidth += this.gutter, c = this.containerWidth + this.gutter, m = c / f, g = f - c % f, k = g && g < 1 ? "round" : "floor";
2105
+ var h = this.columnWidth += this.gutter, c = this.containerWidth + this.gutter, m = c / h, g = h - c % h, k = g && g < 1 ? "round" : "floor";
2112
2106
  m = Math[k](m), this.cols = Math.max(m, 1);
2113
2107
  }, r.getContainerWidth = function() {
2114
- var p = this._getOption("fitWidth"), u = p ? this.element.parentNode : this.element, f = n(u);
2115
- this.containerWidth = f && f.innerWidth;
2108
+ var p = this._getOption("fitWidth"), l = p ? this.element.parentNode : this.element, h = n(l);
2109
+ this.containerWidth = h && h.innerWidth;
2116
2110
  }, r._getItemLayoutPosition = function(p) {
2117
2111
  p.getSize();
2118
- var u = p.size.outerWidth % this.columnWidth, f = u && u < 1 ? "round" : "ceil", c = Math[f](p.size.outerWidth / this.columnWidth);
2112
+ var l = p.size.outerWidth % this.columnWidth, h = l && l < 1 ? "round" : "ceil", c = Math[h](p.size.outerWidth / this.columnWidth);
2119
2113
  c = Math.min(c, this.cols);
2120
2114
  for (var m = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[m](c, p), k = {
2121
2115
  x: this.columnWidth * g.col,
2122
2116
  y: g.y
2123
- }, a = g.y + p.size.outerHeight, _ = c + g.col, b = g.col; b < _; b++)
2124
- this.colYs[b] = a;
2117
+ }, s = g.y + p.size.outerHeight, _ = c + g.col, b = g.col; b < _; b++)
2118
+ this.colYs[b] = s;
2125
2119
  return k;
2126
2120
  }, r._getTopColPosition = function(p) {
2127
- var u = this._getTopColGroup(p), f = Math.min.apply(Math, u);
2121
+ var l = this._getTopColGroup(p), h = Math.min.apply(Math, l);
2128
2122
  return {
2129
- col: u.indexOf(f),
2130
- y: f
2123
+ col: l.indexOf(h),
2124
+ y: h
2131
2125
  };
2132
2126
  }, r._getTopColGroup = function(p) {
2133
2127
  if (p < 2)
2134
2128
  return this.colYs;
2135
- for (var u = [], f = this.cols + 1 - p, c = 0; c < f; c++)
2136
- u[c] = this._getColGroupY(c, p);
2137
- return u;
2138
- }, r._getColGroupY = function(p, u) {
2139
- if (u < 2)
2129
+ for (var l = [], h = this.cols + 1 - p, c = 0; c < h; c++)
2130
+ l[c] = this._getColGroupY(c, p);
2131
+ return l;
2132
+ }, r._getColGroupY = function(p, l) {
2133
+ if (l < 2)
2140
2134
  return this.colYs[p];
2141
- var f = this.colYs.slice(p, p + u);
2142
- return Math.max.apply(Math, f);
2143
- }, r._getHorizontalColPosition = function(p, u) {
2144
- var f = this.horizontalColIndex % this.cols, c = p > 1 && f + p > this.cols;
2145
- f = c ? 0 : f;
2146
- var m = u.size.outerWidth && u.size.outerHeight;
2147
- return this.horizontalColIndex = m ? f + p : this.horizontalColIndex, {
2148
- col: f,
2149
- y: this._getColGroupY(f, p)
2135
+ var h = this.colYs.slice(p, p + l);
2136
+ return Math.max.apply(Math, h);
2137
+ }, r._getHorizontalColPosition = function(p, l) {
2138
+ var h = this.horizontalColIndex % this.cols, c = p > 1 && h + p > this.cols;
2139
+ h = c ? 0 : h;
2140
+ var m = l.size.outerWidth && l.size.outerHeight;
2141
+ return this.horizontalColIndex = m ? h + p : this.horizontalColIndex, {
2142
+ col: h,
2143
+ y: this._getColGroupY(h, p)
2150
2144
  };
2151
2145
  }, r._manageStamp = function(p) {
2152
- var u = n(p), f = this._getElementOffset(p), c = this._getOption("originLeft"), m = c ? f.left : f.right, g = m + u.outerWidth, k = Math.floor(m / this.columnWidth);
2146
+ var l = n(p), h = this._getElementOffset(p), c = this._getOption("originLeft"), m = c ? h.left : h.right, g = m + l.outerWidth, k = Math.floor(m / this.columnWidth);
2153
2147
  k = Math.max(0, k);
2154
- var a = Math.floor(g / this.columnWidth);
2155
- a -= g % this.columnWidth ? 0 : 1, a = Math.min(this.cols - 1, a);
2156
- for (var _ = this._getOption("originTop"), b = (_ ? f.top : f.bottom) + u.outerHeight, h = k; h <= a; h++)
2157
- this.colYs[h] = Math.max(b, this.colYs[h]);
2148
+ var s = Math.floor(g / this.columnWidth);
2149
+ s -= g % this.columnWidth ? 0 : 1, s = Math.min(this.cols - 1, s);
2150
+ for (var _ = this._getOption("originTop"), b = (_ ? h.top : h.bottom) + l.outerHeight, f = k; f <= s; f++)
2151
+ this.colYs[f] = Math.max(b, this.colYs[f]);
2158
2152
  }, r._getContainerSize = function() {
2159
2153
  this.maxY = Math.max.apply(Math, this.colYs);
2160
2154
  var p = {
@@ -2162,13 +2156,13 @@ function li() {
2162
2156
  };
2163
2157
  return this._getOption("fitWidth") && (p.width = this._getContainerFitWidth()), p;
2164
2158
  }, r._getContainerFitWidth = function() {
2165
- for (var p = 0, u = this.cols; --u && this.colYs[u] === 0; )
2159
+ for (var p = 0, l = this.cols; --l && this.colYs[l] === 0; )
2166
2160
  p++;
2167
2161
  return (this.cols - p) * this.columnWidth - this.gutter;
2168
2162
  }, r.needsResizeLayout = function() {
2169
2163
  var p = this.containerWidth;
2170
2164
  return this.getContainerWidth(), p != this.containerWidth;
2171
- }, l;
2165
+ }, a;
2172
2166
  });
2173
2167
  })(St);
2174
2168
  var ui = St.exports;
@@ -2192,43 +2186,43 @@ var Ct = { exports: {} };
2192
2186
  typeof window < "u" ? window : Tt,
2193
2187
  // -------------------------- factory -------------------------- //
2194
2188
  function(t, n) {
2195
- var l = t.jQuery, r = t.console;
2196
- function p(a, _) {
2189
+ var a = t.jQuery, r = t.console;
2190
+ function p(s, _) {
2197
2191
  for (var b in _)
2198
- a[b] = _[b];
2199
- return a;
2192
+ s[b] = _[b];
2193
+ return s;
2200
2194
  }
2201
- var u = Array.prototype.slice;
2202
- function f(a) {
2203
- if (Array.isArray(a))
2204
- return a;
2205
- var _ = typeof a == "object" && typeof a.length == "number";
2206
- return _ ? u.call(a) : [a];
2195
+ var l = Array.prototype.slice;
2196
+ function h(s) {
2197
+ if (Array.isArray(s))
2198
+ return s;
2199
+ var _ = typeof s == "object" && typeof s.length == "number";
2200
+ return _ ? l.call(s) : [s];
2207
2201
  }
2208
- function c(a, _, b) {
2202
+ function c(s, _, b) {
2209
2203
  if (!(this instanceof c))
2210
- return new c(a, _, b);
2211
- var h = a;
2212
- if (typeof a == "string" && (h = document.querySelectorAll(a)), !h) {
2213
- r.error("Bad element for imagesLoaded " + (h || a));
2204
+ return new c(s, _, b);
2205
+ var f = s;
2206
+ if (typeof s == "string" && (f = document.querySelectorAll(s)), !f) {
2207
+ r.error("Bad element for imagesLoaded " + (f || s));
2214
2208
  return;
2215
2209
  }
2216
- this.elements = f(h), this.options = p({}, this.options), typeof _ == "function" ? b = _ : p(this.options, _), b && this.on("always", b), this.getImages(), l && (this.jqDeferred = new l.Deferred()), setTimeout(this.check.bind(this));
2210
+ this.elements = h(f), this.options = p({}, this.options), typeof _ == "function" ? b = _ : p(this.options, _), b && this.on("always", b), this.getImages(), a && (this.jqDeferred = new a.Deferred()), setTimeout(this.check.bind(this));
2217
2211
  }
2218
2212
  c.prototype = Object.create(n.prototype), c.prototype.options = {}, c.prototype.getImages = function() {
2219
2213
  this.images = [], this.elements.forEach(this.addElementImages, this);
2220
- }, c.prototype.addElementImages = function(a) {
2221
- a.nodeName == "IMG" && this.addImage(a), this.options.background === !0 && this.addElementBackgroundImages(a);
2222
- var _ = a.nodeType;
2214
+ }, c.prototype.addElementImages = function(s) {
2215
+ s.nodeName == "IMG" && this.addImage(s), this.options.background === !0 && this.addElementBackgroundImages(s);
2216
+ var _ = s.nodeType;
2223
2217
  if (!(!_ || !m[_])) {
2224
- for (var b = a.querySelectorAll("img"), h = 0; h < b.length; h++) {
2225
- var i = b[h];
2218
+ for (var b = s.querySelectorAll("img"), f = 0; f < b.length; f++) {
2219
+ var i = b[f];
2226
2220
  this.addImage(i);
2227
2221
  }
2228
2222
  if (typeof this.options.background == "string") {
2229
- var d = a.querySelectorAll(this.options.background);
2230
- for (h = 0; h < d.length; h++) {
2231
- var y = d[h];
2223
+ var d = s.querySelectorAll(this.options.background);
2224
+ for (f = 0; f < d.length; f++) {
2225
+ var y = d[f];
2232
2226
  this.addElementBackgroundImages(y);
2233
2227
  }
2234
2228
  }
@@ -2239,59 +2233,59 @@ var Ct = { exports: {} };
2239
2233
  9: !0,
2240
2234
  11: !0
2241
2235
  };
2242
- c.prototype.addElementBackgroundImages = function(a) {
2243
- var _ = getComputedStyle(a);
2236
+ c.prototype.addElementBackgroundImages = function(s) {
2237
+ var _ = getComputedStyle(s);
2244
2238
  if (_)
2245
- for (var b = /url\((['"])?(.*?)\1\)/gi, h = b.exec(_.backgroundImage); h !== null; ) {
2246
- var i = h && h[2];
2247
- i && this.addBackground(i, a), h = b.exec(_.backgroundImage);
2239
+ for (var b = /url\((['"])?(.*?)\1\)/gi, f = b.exec(_.backgroundImage); f !== null; ) {
2240
+ var i = f && f[2];
2241
+ i && this.addBackground(i, s), f = b.exec(_.backgroundImage);
2248
2242
  }
2249
- }, c.prototype.addImage = function(a) {
2250
- var _ = new g(a);
2243
+ }, c.prototype.addImage = function(s) {
2244
+ var _ = new g(s);
2251
2245
  this.images.push(_);
2252
- }, c.prototype.addBackground = function(a, _) {
2253
- var b = new k(a, _);
2246
+ }, c.prototype.addBackground = function(s, _) {
2247
+ var b = new k(s, _);
2254
2248
  this.images.push(b);
2255
2249
  }, c.prototype.check = function() {
2256
- var a = this;
2250
+ var s = this;
2257
2251
  if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
2258
2252
  this.complete();
2259
2253
  return;
2260
2254
  }
2261
- function _(b, h, i) {
2255
+ function _(b, f, i) {
2262
2256
  setTimeout(function() {
2263
- a.progress(b, h, i);
2257
+ s.progress(b, f, i);
2264
2258
  });
2265
2259
  }
2266
2260
  this.images.forEach(function(b) {
2267
2261
  b.once("progress", _), b.check();
2268
2262
  });
2269
- }, c.prototype.progress = function(a, _, b) {
2270
- this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !a.isLoaded, this.emitEvent("progress", [this, a, _]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, a), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + b, a, _);
2263
+ }, c.prototype.progress = function(s, _, b) {
2264
+ this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !s.isLoaded, this.emitEvent("progress", [this, s, _]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, s), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + b, s, _);
2271
2265
  }, c.prototype.complete = function() {
2272
- var a = this.hasAnyBroken ? "fail" : "done";
2273
- if (this.isComplete = !0, this.emitEvent(a, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
2266
+ var s = this.hasAnyBroken ? "fail" : "done";
2267
+ if (this.isComplete = !0, this.emitEvent(s, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
2274
2268
  var _ = this.hasAnyBroken ? "reject" : "resolve";
2275
2269
  this.jqDeferred[_](this);
2276
2270
  }
2277
2271
  };
2278
- function g(a) {
2279
- this.img = a;
2272
+ function g(s) {
2273
+ this.img = s;
2280
2274
  }
2281
2275
  g.prototype = Object.create(n.prototype), g.prototype.check = function() {
2282
- var a = this.getIsImageComplete();
2283
- if (a) {
2276
+ var s = this.getIsImageComplete();
2277
+ if (s) {
2284
2278
  this.confirm(this.img.naturalWidth !== 0, "naturalWidth");
2285
2279
  return;
2286
2280
  }
2287
2281
  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;
2288
2282
  }, g.prototype.getIsImageComplete = function() {
2289
2283
  return this.img.complete && this.img.naturalWidth;
2290
- }, g.prototype.confirm = function(a, _) {
2291
- this.isLoaded = a, this.emitEvent("progress", [this, this.img, _]);
2292
- }, g.prototype.handleEvent = function(a) {
2293
- var _ = "on" + a.type;
2294
- this[_] && this[_](a);
2284
+ }, g.prototype.confirm = function(s, _) {
2285
+ this.isLoaded = s, this.emitEvent("progress", [this, this.img, _]);
2286
+ }, g.prototype.handleEvent = function(s) {
2287
+ var _ = "on" + s.type;
2288
+ this[_] && this[_](s);
2295
2289
  }, g.prototype.onload = function() {
2296
2290
  this.confirm(!0, "onload"), this.unbindEvents();
2297
2291
  }, g.prototype.onerror = function() {
@@ -2299,21 +2293,21 @@ var Ct = { exports: {} };
2299
2293
  }, g.prototype.unbindEvents = function() {
2300
2294
  this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2301
2295
  };
2302
- function k(a, _) {
2303
- this.url = a, this.element = _, this.img = new Image();
2296
+ function k(s, _) {
2297
+ this.url = s, this.element = _, this.img = new Image();
2304
2298
  }
2305
2299
  return k.prototype = Object.create(g.prototype), k.prototype.check = function() {
2306
2300
  this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
2307
- var a = this.getIsImageComplete();
2308
- a && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
2301
+ var s = this.getIsImageComplete();
2302
+ s && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
2309
2303
  }, k.prototype.unbindEvents = function() {
2310
2304
  this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2311
- }, k.prototype.confirm = function(a, _) {
2312
- this.isLoaded = a, this.emitEvent("progress", [this, this.element, _]);
2313
- }, c.makeJQueryPlugin = function(a) {
2314
- a = a || t.jQuery, a && (l = a, l.fn.imagesLoaded = function(_, b) {
2315
- var h = new c(this, _, b);
2316
- return h.jqDeferred.promise(l(this));
2305
+ }, k.prototype.confirm = function(s, _) {
2306
+ this.isLoaded = s, this.emitEvent("progress", [this, this.element, _]);
2307
+ }, c.makeJQueryPlugin = function(s) {
2308
+ s = s || t.jQuery, s && (a = s, a.fn.imagesLoaded = function(_, b) {
2309
+ var f = new c(this, _, b);
2310
+ return f.jqDeferred.promise(a(this));
2317
2311
  });
2318
2312
  }, c.makeJQueryPlugin(), c;
2319
2313
  }
@@ -2330,10 +2324,10 @@ function pi(o) {
2330
2324
  n && (t ? n.splice(n.indexOf(t) >>> 0, 1) : o.set(e, []));
2331
2325
  }, emit: function(e, t) {
2332
2326
  var n = o.get(e);
2333
- n && n.slice().map(function(l) {
2334
- l(t);
2335
- }), (n = o.get("*")) && n.slice().map(function(l) {
2336
- l(e, t);
2327
+ n && n.slice().map(function(a) {
2328
+ a(t);
2329
+ }), (n = o.get("*")) && n.slice().map(function(a) {
2330
+ a(e, t);
2337
2331
  });
2338
2332
  } };
2339
2333
  }
@@ -2350,74 +2344,74 @@ const ye = {
2350
2344
  "horizontal-order": "horizontalOrder",
2351
2345
  stagger: "stagger",
2352
2346
  "destroy-delay": "destroyDelay"
2353
- }, ve = "vuemasonry.itemAdded", Re = "vuemasonry.itemRemoved", Me = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy", fi = function(o) {
2347
+ }, ve = "vuemasonry.itemAdded", Re = "vuemasonry.itemRemoved", Me = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy", hi = function(o) {
2354
2348
  return (o + "").toLowerCase() === "true";
2355
- }, hi = function(o) {
2349
+ }, fi = function(o) {
2356
2350
  return isNaN(o) ? o : parseInt(o);
2357
2351
  }, mi = function(o) {
2358
2352
  const e = {};
2359
2353
  return Array.prototype.slice.call(o).forEach(function(n) {
2360
- Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] = fi(n.value) : n.name === "column-width" || n.name === "gutter" ? e[ye[n.name]] = hi(n.value) : e[ye[n.name]] = n.value);
2354
+ Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] = hi(n.value) : n.name === "column-width" || n.name === "gutter" ? e[ye[n.name]] = fi(n.value) : e[ye[n.name]] = n.value);
2361
2355
  }), e;
2362
2356
  }, Vt = {};
2363
2357
  Vt.install = function(o, e) {
2364
- const t = pi(), n = "VueMasonry", l = o;
2365
- l.directive("masonry", {
2358
+ const t = pi(), n = "VueMasonry", a = o;
2359
+ a.directive("masonry", {
2366
2360
  props: ["transitionDuration", " itemSelector", "destroyDelay"],
2367
2361
  mounted: function(r, p) {
2368
2362
  if (!ct)
2369
2363
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
2370
- const u = mi(r.attributes), f = new ct(r, u), c = p.value || n, m = u.destroyDelay ? parseInt(u.destroyDelay, 10) : void 0, g = function() {
2371
- f.reloadItems(), f.layout();
2364
+ const l = mi(r.attributes), h = new ct(r, l), c = p.value || n, m = l.destroyDelay ? parseInt(l.destroyDelay, 10) : void 0, g = function() {
2365
+ h.reloadItems(), h.layout();
2372
2366
  };
2373
2367
  It(() => {
2374
2368
  g();
2375
2369
  });
2376
2370
  const k = function(_) {
2377
2371
  g();
2378
- }, a = function(_) {
2379
- t["off"](`${ve}__${c}`, k), t["off"](`${Re}__${c}`, k), t["off"](`${Me}__${c}`, k), t["off"](`${Ne}__${c}`, a);
2372
+ }, s = function(_) {
2373
+ t["off"](`${ve}__${c}`, k), t["off"](`${Re}__${c}`, k), t["off"](`${Me}__${c}`, k), t["off"](`${Ne}__${c}`, s);
2380
2374
  const b = m && !Number.isNaN(m) ? m : 0;
2381
2375
  setTimeout(function() {
2382
- f.destroy();
2376
+ h.destroy();
2383
2377
  }, b);
2384
2378
  };
2385
- t["on"](`${ve}__${c}`, k), t["on"](`${Re}__${c}`, k), t["on"](`${Me}__${c}`, k), t["on"](`${Ne}__${c}`, a);
2379
+ t["on"](`${ve}__${c}`, k), t["on"](`${Re}__${c}`, k), t["on"](`${Me}__${c}`, k), t["on"](`${Ne}__${c}`, s);
2386
2380
  },
2387
2381
  unbind: function(r, p) {
2388
- const u = p.value || n;
2389
- t["emit"](`${Ne}__${u}`);
2382
+ const l = p.value || n;
2383
+ t["emit"](`${Ne}__${l}`);
2390
2384
  }
2391
- }), l.directive("masonryTile", {
2385
+ }), a.directive("masonryTile", {
2392
2386
  mounted: function(r, p) {
2393
- const u = p.value || n;
2394
- t["emit"](`${ve}__${u}`, {
2387
+ const l = p.value || n;
2388
+ t["emit"](`${ve}__${l}`, {
2395
2389
  element: r
2396
2390
  }), new ci(r, function() {
2397
- t["emit"](`${Me}__${u}`, {
2391
+ t["emit"](`${Me}__${l}`, {
2398
2392
  element: r
2399
2393
  });
2400
2394
  });
2401
2395
  },
2402
2396
  unbind: function(r, p) {
2403
- const u = p.value || n;
2404
- t["emit"](`${Re}__${u}`, {
2397
+ const l = p.value || n;
2398
+ t["emit"](`${Re}__${l}`, {
2405
2399
  element: r
2406
2400
  });
2407
2401
  }
2408
2402
  });
2409
2403
  {
2410
2404
  const r = function(p) {
2411
- const u = p || n;
2412
- t["emit"](`${ve}__${u}`);
2405
+ const l = p || n;
2406
+ t["emit"](`${ve}__${l}`);
2413
2407
  };
2414
2408
  o.config.globalProperties.$redrawVueMasonry = r, o.provide("redrawVueMasonry", r);
2415
2409
  }
2416
2410
  };
2417
2411
  function qe(o, e = {}, t) {
2418
2412
  for (const n in o) {
2419
- const l = o[n], r = t ? `${t}:${n}` : n;
2420
- typeof l == "object" && l !== null ? qe(l, e, r) : typeof l == "function" && (e[r] = l);
2413
+ const a = o[n], r = t ? `${t}:${n}` : n;
2414
+ typeof a == "object" && a !== null ? qe(a, e, r) : typeof a == "function" && (e[r] = a);
2421
2415
  }
2422
2416
  return e;
2423
2417
  }
@@ -2425,13 +2419,13 @@ const gi = { run: (o) => o() }, yi = () => gi, Pt = typeof console.createTask <
2425
2419
  function vi(o, e) {
2426
2420
  const t = e.shift(), n = Pt(t);
2427
2421
  return o.reduce(
2428
- (l, r) => l.then(() => n.run(() => r(...e))),
2422
+ (a, r) => a.then(() => n.run(() => r(...e))),
2429
2423
  Promise.resolve()
2430
2424
  );
2431
2425
  }
2432
2426
  function _i(o, e) {
2433
2427
  const t = e.shift(), n = Pt(t);
2434
- return Promise.all(o.map((l) => n.run(() => l(...e))));
2428
+ return Promise.all(o.map((a) => n.run(() => a(...e))));
2435
2429
  }
2436
2430
  function We(o, e) {
2437
2431
  for (const t of [...o])
@@ -2445,13 +2439,13 @@ class bi {
2445
2439
  if (!e || typeof t != "function")
2446
2440
  return () => {
2447
2441
  };
2448
- const l = e;
2442
+ const a = e;
2449
2443
  let r;
2450
2444
  for (; this._deprecatedHooks[e]; )
2451
2445
  r = this._deprecatedHooks[e], e = r.to;
2452
2446
  if (r && !n.allowDeprecated) {
2453
2447
  let p = r.message;
2454
- p || (p = `${l} hook has been deprecated` + (r.to ? `, please use ${r.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(p) || (console.warn(p), this._deprecatedMessages.add(p));
2448
+ p || (p = `${a} hook has been deprecated` + (r.to ? `, please use ${r.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(p) || (console.warn(p), this._deprecatedMessages.add(p));
2455
2449
  }
2456
2450
  if (!t.name)
2457
2451
  try {
@@ -2466,8 +2460,8 @@ class bi {
2466
2460
  };
2467
2461
  }
2468
2462
  hookOnce(e, t) {
2469
- let n, l = (...r) => (typeof n == "function" && n(), n = void 0, l = void 0, t(...r));
2470
- return n = this.hook(e, l), n;
2463
+ let n, a = (...r) => (typeof n == "function" && n(), n = void 0, a = void 0, t(...r));
2464
+ return n = this.hook(e, a), n;
2471
2465
  }
2472
2466
  removeHook(e, t) {
2473
2467
  if (this._hooks[e]) {
@@ -2479,8 +2473,8 @@ class bi {
2479
2473
  this._deprecatedHooks[e] = typeof t == "string" ? { to: t } : t;
2480
2474
  const n = this._hooks[e] || [];
2481
2475
  delete this._hooks[e];
2482
- for (const l of n)
2483
- this.hook(e, l);
2476
+ for (const a of n)
2477
+ this.hook(e, a);
2484
2478
  }
2485
2479
  deprecateHooks(e) {
2486
2480
  Object.assign(this._deprecatedHooks, e);
@@ -2489,11 +2483,11 @@ class bi {
2489
2483
  }
2490
2484
  addHooks(e) {
2491
2485
  const t = qe(e), n = Object.keys(t).map(
2492
- (l) => this.hook(l, t[l])
2486
+ (a) => this.hook(a, t[a])
2493
2487
  );
2494
2488
  return () => {
2495
- for (const l of n.splice(0, n.length))
2496
- l();
2489
+ for (const a of n.splice(0, n.length))
2490
+ a();
2497
2491
  };
2498
2492
  }
2499
2493
  removeHooks(e) {
@@ -2512,15 +2506,15 @@ class bi {
2512
2506
  return t.unshift(e), this.callHookWith(_i, e, ...t);
2513
2507
  }
2514
2508
  callHookWith(e, t, ...n) {
2515
- const l = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
2516
- this._before && We(this._before, l);
2509
+ const a = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
2510
+ this._before && We(this._before, a);
2517
2511
  const r = e(
2518
2512
  t in this._hooks ? [...this._hooks[t]] : [],
2519
2513
  n
2520
2514
  );
2521
2515
  return r instanceof Promise ? r.finally(() => {
2522
- this._after && l && We(this._after, l);
2523
- }) : (this._after && l && We(this._after, l), r);
2516
+ this._after && a && We(this._after, a);
2517
+ }) : (this._after && a && We(this._after, a), r);
2524
2518
  }
2525
2519
  beforeEach(e) {
2526
2520
  return this._before = this._before || [], this._before.push(e), () => {
@@ -2582,16 +2576,16 @@ function Dt(o, e) {
2582
2576
  return "canonical";
2583
2577
  if (t.charset)
2584
2578
  return "charset";
2585
- const l = ["id"];
2586
- n === "meta" && l.push("name", "property", "http-equiv");
2587
- for (const r of l)
2579
+ const a = ["id"];
2580
+ n === "meta" && a.push("name", "property", "http-equiv");
2581
+ for (const r of a)
2588
2582
  if (typeof t[r] < "u") {
2589
2583
  const p = String(t[r]);
2590
2584
  return e && !e(p) ? !1 : `${n}:${r}:${p}`;
2591
2585
  }
2592
2586
  return !1;
2593
2587
  }
2594
- function ft(o, e) {
2588
+ function ht(o, e) {
2595
2589
  return o == null ? e || null : typeof o == "function" ? o(e) : o;
2596
2590
  }
2597
2591
  async function Si(o, e, t) {
@@ -2604,10 +2598,10 @@ async function Si(o, e, t) {
2604
2598
  ["templateParams", "titleTemplate"].includes(o)
2605
2599
  )
2606
2600
  };
2607
- return Bt.forEach((l) => {
2608
- const r = typeof n.props[l] < "u" ? n.props[l] : t[l];
2609
- typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(l) || Ii.includes(n.tag)) && (n[l === "children" ? "innerHTML" : l] = r), delete n.props[l]);
2610
- }), 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) => ({ ...n, props: { ...n.props, content: l } })) : n;
2601
+ return Bt.forEach((a) => {
2602
+ const r = typeof n.props[a] < "u" ? n.props[a] : t[a];
2603
+ typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(a) || Ii.includes(n.tag)) && (n[a === "children" ? "innerHTML" : a] = r), delete n.props[a]);
2604
+ }), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((a) => ({ ...n, props: { ...n.props, content: a } })) : n;
2611
2605
  }
2612
2606
  function Ci(o) {
2613
2607
  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(" ");
@@ -2619,8 +2613,8 @@ async function Lt(o, e) {
2619
2613
  continue;
2620
2614
  }
2621
2615
  if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !Bt.includes(t)) {
2622
- const n = String(o[t]), l = t.startsWith("data-");
2623
- n === "true" || n === "" ? o[t] = l ? "true" : !0 : o[t] || (l && n === "false" ? o[t] = "false" : delete o[t]);
2616
+ const n = String(o[t]), a = t.startsWith("data-");
2617
+ n === "true" || n === "" ? o[t] = a ? "true" : !0 : o[t] || (a && n === "false" ? o[t] = "false" : delete o[t]);
2624
2618
  }
2625
2619
  }
2626
2620
  return o;
@@ -2629,11 +2623,11 @@ const Vi = 10;
2629
2623
  async function Pi(o) {
2630
2624
  const e = [];
2631
2625
  return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" && Ei.includes(t)).forEach(([t, n]) => {
2632
- const l = xi(n);
2633
- e.push(...l.map((r) => Si(t, r, o)).flat());
2626
+ const a = xi(n);
2627
+ e.push(...a.map((r) => Si(t, r, o)).flat());
2634
2628
  }), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Vi) + n, t));
2635
2629
  }
2636
- const ht = {
2630
+ const ft = {
2637
2631
  // tags
2638
2632
  base: -10,
2639
2633
  title: 10
@@ -2646,25 +2640,25 @@ const ht = {
2646
2640
  function Ee(o) {
2647
2641
  let e = 100;
2648
2642
  const t = o.tagPriority;
2649
- return typeof t == "number" ? t : (o.tag === "meta" ? (o.props["http-equiv"] === "content-security-policy" && (e = -30), o.props.charset && (e = -20), o.props.name === "viewport" && (e = -15)) : o.tag === "link" && o.props.rel === "preconnect" ? e = 20 : o.tag in ht && (e = ht[o.tag]), typeof t == "string" && t in mt ? e + mt[t] : e);
2643
+ 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 ft && (e = ft[o.tag]), typeof t == "string" && t in mt ? e + mt[t] : e);
2650
2644
  }
2651
- const Bi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ne = "%separator";
2645
+ const Bi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], oe = "%separator";
2652
2646
  function ke(o, e, t) {
2653
2647
  if (typeof o != "string" || !o.includes("%"))
2654
2648
  return o;
2655
2649
  function n(p) {
2656
- let u;
2657
- return ["s", "pageTitle"].includes(p) ? u = e.pageTitle : p.includes(".") ? u = p.split(".").reduce((f, c) => f && f[c] || void 0, e) : u = e[p], typeof u < "u" ? (u || "").replace(/"/g, '\\"') : !1;
2650
+ let l;
2651
+ return ["s", "pageTitle"].includes(p) ? l = e.pageTitle : p.includes(".") ? l = p.split(".").reduce((h, c) => h && h[c] || void 0, e) : l = e[p], typeof l < "u" ? (l || "").replace(/"/g, '\\"') : !1;
2658
2652
  }
2659
- let l = o;
2653
+ let a = o;
2660
2654
  try {
2661
- l = decodeURI(o);
2655
+ a = decodeURI(o);
2662
2656
  } catch {
2663
2657
  }
2664
- return (l.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
2665
- const u = n(p.slice(1));
2666
- typeof u == "string" && (o = o.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (f, c) => `${u}${c}`).trim());
2667
- }), o.includes(ne) && (o.endsWith(ne) && (o = o.slice(0, -ne.length).trim()), o.startsWith(ne) && (o = o.slice(ne.length).trim()), o = o.replace(new RegExp(`\\${ne}\\s*\\${ne}`, "g"), ne), o = ke(o, { separator: t }, t)), o;
2658
+ return (a.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
2659
+ const l = n(p.slice(1));
2660
+ typeof l == "string" && (o = o.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (h, c) => `${l}${c}`).trim());
2661
+ }), o.includes(oe) && (o.endsWith(oe) && (o = o.slice(0, -oe.length).trim()), o.startsWith(oe) && (o = o.slice(oe.length).trim()), o = o.replace(new RegExp(`\\${oe}\\s*\\${oe}`, "g"), oe), o = ke(o, { separator: t }, t)), o;
2668
2662
  }
2669
2663
  async function Di(o) {
2670
2664
  const e = {
@@ -2683,7 +2677,7 @@ async function Li(o, e = {}) {
2683
2677
  const n = { shouldRender: o.dirty, tags: [] };
2684
2678
  if (await o.hooks.callHook("dom:beforeRender", n), !n.shouldRender)
2685
2679
  return;
2686
- const l = (await o.resolveTags()).map((m) => ({
2680
+ const a = (await o.resolveTags()).map((m) => ({
2687
2681
  tag: m,
2688
2682
  id: be.includes(m.tag) ? pt(m) : m.tag,
2689
2683
  shouldRender: !0
@@ -2695,52 +2689,52 @@ async function Li(o, e = {}) {
2695
2689
  };
2696
2690
  for (const m of ["body", "head"]) {
2697
2691
  const g = t?.[m]?.children;
2698
- for (const k of [...g].filter((a) => be.includes(a.tagName.toLowerCase())))
2692
+ for (const k of [...g].filter((s) => be.includes(s.tagName.toLowerCase())))
2699
2693
  r.elMap[k.getAttribute("data-hid") || pt(await Di(k))] = k;
2700
2694
  }
2701
2695
  }
2702
2696
  r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
2703
2697
  function p(m, g, k) {
2704
- const a = `${m}:${g}`;
2705
- r.sideEffects[a] = k, delete r.pendingSideEffects[a];
2698
+ const s = `${m}:${g}`;
2699
+ r.sideEffects[s] = k, delete r.pendingSideEffects[s];
2706
2700
  }
2707
- function u({ id: m, $el: g, tag: k }) {
2708
- const a = k.tag.endsWith("Attrs");
2709
- r.elMap[m] = g, a || (["textContent", "innerHTML"].forEach((_) => {
2701
+ function l({ id: m, $el: g, tag: k }) {
2702
+ const s = k.tag.endsWith("Attrs");
2703
+ r.elMap[m] = g, s || (["textContent", "innerHTML"].forEach((_) => {
2710
2704
  k[_] && k[_] !== g[_] && (g[_] = k[_]);
2711
2705
  }), p(m, "el", () => {
2712
2706
  r.elMap[m].remove(), delete r.elMap[m];
2713
2707
  })), Object.entries(k.props).forEach(([_, b]) => {
2714
- const h = `attr:${_}`;
2708
+ const f = `attr:${_}`;
2715
2709
  if (_ === "class")
2716
2710
  for (const i of (b || "").split(" ").filter(Boolean))
2717
- a && p(m, `${h}:${i}`, () => g.classList.remove(i)), !g.classList.contains(i) && g.classList.add(i);
2711
+ s && p(m, `${f}:${i}`, () => g.classList.remove(i)), !g.classList.contains(i) && g.classList.add(i);
2718
2712
  else
2719
- g.getAttribute(_) !== b && g.setAttribute(_, b === !0 ? "" : String(b)), a && p(m, h, () => g.removeAttribute(_));
2713
+ g.getAttribute(_) !== b && g.setAttribute(_, b === !0 ? "" : String(b)), s && p(m, f, () => g.removeAttribute(_));
2720
2714
  });
2721
2715
  }
2722
- const f = [], c = {
2716
+ const h = [], c = {
2723
2717
  bodyClose: void 0,
2724
2718
  bodyOpen: void 0,
2725
2719
  head: void 0
2726
2720
  };
2727
- for (const m of l) {
2728
- const { tag: g, shouldRender: k, id: a } = m;
2721
+ for (const m of a) {
2722
+ const { tag: g, shouldRender: k, id: s } = m;
2729
2723
  if (k) {
2730
2724
  if (g.tag === "title") {
2731
2725
  t.title = g.textContent;
2732
2726
  continue;
2733
2727
  }
2734
- m.$el = m.$el || r.elMap[a], m.$el ? u(m) : be.includes(g.tag) && f.push(m);
2728
+ m.$el = m.$el || r.elMap[s], m.$el ? l(m) : be.includes(g.tag) && h.push(m);
2735
2729
  }
2736
2730
  }
2737
- for (const m of f) {
2731
+ for (const m of h) {
2738
2732
  const g = m.tag.tagPosition || "head";
2739
- m.$el = t.createElement(m.tag.tag), u(m), c[g] = c[g] || t.createDocumentFragment(), c[g].appendChild(m.$el);
2733
+ m.$el = t.createElement(m.tag.tag), l(m), c[g] = c[g] || t.createDocumentFragment(), c[g].appendChild(m.$el);
2740
2734
  }
2741
- for (const m of l)
2735
+ for (const m of a)
2742
2736
  await o.hooks.callHook("dom:renderTag", m, t, p);
2743
- c.head && t.head.appendChild(c.head), c.bodyOpen && t.body.insertBefore(c.bodyOpen, t.body.firstChild), c.bodyClose && t.body.appendChild(c.bodyClose), Object.values(r.pendingSideEffects).forEach((m) => m()), o._dom = r, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: l });
2737
+ c.head && t.head.appendChild(c.head), c.bodyOpen && t.body.insertBefore(c.bodyOpen, t.body.firstChild), c.bodyClose && t.body.appendChild(c.bodyClose), Object.values(r.pendingSideEffects).forEach((m) => m()), o._dom = r, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: a });
2744
2738
  }
2745
2739
  async function wi(o, e = {}) {
2746
2740
  const t = e.delayFn || ((n) => setTimeout(n, 10));
@@ -2774,15 +2768,15 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
2774
2768
  "tags:resolve": function(o) {
2775
2769
  const e = {};
2776
2770
  o.tags.forEach((n) => {
2777
- const l = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, r = e[l];
2771
+ const a = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, r = e[a];
2778
2772
  if (r) {
2779
- let u = n?.tagDuplicateStrategy;
2780
- if (!u && Oi.includes(n.tag) && (u = "merge"), u === "merge") {
2781
- const f = r.props;
2773
+ let l = n?.tagDuplicateStrategy;
2774
+ if (!l && Oi.includes(n.tag) && (l = "merge"), l === "merge") {
2775
+ const h = r.props;
2782
2776
  ["class", "style"].forEach((c) => {
2783
- n.props[c] && f[c] && (c === "style" && !f[c].endsWith(";") && (f[c] += ";"), n.props[c] = `${f[c]} ${n.props[c]}`);
2784
- }), e[l].props = {
2785
- ...f,
2777
+ n.props[c] && h[c] && (c === "style" && !h[c].endsWith(";") && (h[c] += ";"), n.props[c] = `${h[c]} ${n.props[c]}`);
2778
+ }), e[a].props = {
2779
+ ...h,
2786
2780
  ...n.props
2787
2781
  };
2788
2782
  return;
@@ -2794,15 +2788,15 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
2794
2788
  }
2795
2789
  const p = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
2796
2790
  if (be.includes(n.tag) && p === 0) {
2797
- delete e[l];
2791
+ delete e[a];
2798
2792
  return;
2799
2793
  }
2800
- e[l] = n;
2794
+ e[a] = n;
2801
2795
  });
2802
2796
  const t = [];
2803
2797
  Object.values(e).forEach((n) => {
2804
- const l = n._duped;
2805
- delete n._duped, t.push(n), l && t.push(...l);
2798
+ const a = n._duped;
2799
+ delete n._duped, t.push(n), a && t.push(...a);
2806
2800
  }), o.tags = t, o.tags = o.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
2807
2801
  }
2808
2802
  }
@@ -2823,8 +2817,8 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
2823
2817
  }, Ri = ["script", "link", "bodyAttrs"];
2824
2818
  function Mi(o) {
2825
2819
  const e = {}, t = {};
2826
- return Object.entries(o.props).forEach(([n, l]) => {
2827
- n.startsWith("on") && typeof l == "function" ? (wt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = l) : e[n] = l;
2820
+ return Object.entries(o.props).forEach(([n, a]) => {
2821
+ n.startsWith("on") && typeof a == "function" ? (wt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = a) : e[n] = a;
2828
2822
  }), { props: e, eventHandlers: t };
2829
2823
  }
2830
2824
  const Ni = (o) => ({
@@ -2832,17 +2826,17 @@ const Ni = (o) => ({
2832
2826
  "tags:resolve": function(e) {
2833
2827
  for (const t of e.tags)
2834
2828
  if (Ri.includes(t.tag)) {
2835
- const { props: n, eventHandlers: l } = Mi(t);
2836
- t.props = n, Object.keys(l).length && ((t.props.src || t.props.href) && (t.key = t.key || Qe(t.props.src || t.props.href)), t._eventHandlers = l);
2829
+ const { props: n, eventHandlers: a } = Mi(t);
2830
+ t.props = n, Object.keys(a).length && ((t.props.src || t.props.href) && (t.key = t.key || Qe(t.props.src || t.props.href)), t._eventHandlers = a);
2837
2831
  }
2838
2832
  },
2839
2833
  "dom:renderTag": function(e, t, n) {
2840
2834
  if (!e.tag._eventHandlers)
2841
2835
  return;
2842
- const l = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
2836
+ const a = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
2843
2837
  Object.entries(e.tag._eventHandlers).forEach(([r, p]) => {
2844
- const u = `${e.tag._d || e.tag._p}:${r}`, f = r.slice(2).toLowerCase(), c = `data-h-${f}`;
2845
- if (n(e.id, u, () => {
2838
+ const l = `${e.tag._d || e.tag._p}:${r}`, h = r.slice(2).toLowerCase(), c = `data-h-${h}`;
2839
+ if (n(e.id, l, () => {
2846
2840
  }), e.$el.hasAttribute(c))
2847
2841
  return;
2848
2842
  e.$el.setAttribute(c, "");
@@ -2854,8 +2848,8 @@ const Ni = (o) => ({
2854
2848
  k.some((_) => _.attributeName === `data-${r}`) && (g(new Event(r.replace("on", ""))), m?.disconnect());
2855
2849
  }), m.observe(e.$el, {
2856
2850
  attributes: !0
2857
- })) : l.addEventListener(f, g), n(e.id, u, () => {
2858
- m?.disconnect(), l.removeEventListener(f, g), e.$el.removeAttribute(c);
2851
+ })) : a.addEventListener(h, g), n(e.id, l, () => {
2852
+ m?.disconnect(), a.removeEventListener(h, g), e.$el.removeAttribute(c);
2859
2853
  });
2860
2854
  });
2861
2855
  }
@@ -2871,11 +2865,11 @@ const Ni = (o) => ({
2871
2865
  "tags:resolve": (o) => {
2872
2866
  const e = (t) => o.tags.find((n) => n._d === t)?._p;
2873
2867
  for (const { prefix: t, offset: n } of Bi)
2874
- for (const l of o.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(t))) {
2868
+ for (const a of o.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(t))) {
2875
2869
  const r = e(
2876
- l.tagPriority.replace(t, "")
2870
+ a.tagPriority.replace(t, "")
2877
2871
  );
2878
- typeof r < "u" && (l._p = r + n);
2872
+ typeof r < "u" && (a._p = r + n);
2879
2873
  }
2880
2874
  o.tags.sort((t, n) => t._p - n._p).sort((t, n) => Ee(t) - Ee(n));
2881
2875
  }
@@ -2887,34 +2881,34 @@ const Ni = (o) => ({
2887
2881
  }, Gi = (o) => ({
2888
2882
  hooks: {
2889
2883
  "tags:resolve": (e) => {
2890
- const { tags: t } = e, n = t.find((u) => u.tag === "title")?.textContent, l = t.findIndex((u) => u.tag === "templateParams"), r = l !== -1 ? t[l].props : {}, p = r.separator || "|";
2884
+ const { tags: t } = e, n = t.find((l) => l.tag === "title")?.textContent, a = t.findIndex((l) => l.tag === "templateParams"), r = a !== -1 ? t[a].props : {}, p = r.separator || "|";
2891
2885
  delete r.separator, r.pageTitle = ke(r.pageTitle || n || "", r, p);
2892
- for (const u of t.filter((f) => f.processTemplateParams !== !1)) {
2893
- const f = qi[u.tag];
2894
- f && typeof u.props[f] == "string" ? u.props[f] = ke(u.props[f], r, p) : (u.processTemplateParams === !0 || ["titleTemplate", "title"].includes(u.tag)) && ["innerHTML", "textContent"].forEach((c) => {
2895
- typeof u[c] == "string" && (u[c] = ke(u[c], r, p));
2886
+ for (const l of t.filter((h) => h.processTemplateParams !== !1)) {
2887
+ const h = qi[l.tag];
2888
+ h && typeof l.props[h] == "string" ? l.props[h] = ke(l.props[h], r, p) : (l.processTemplateParams === !0 || ["titleTemplate", "title"].includes(l.tag)) && ["innerHTML", "textContent"].forEach((c) => {
2889
+ typeof l[c] == "string" && (l[c] = ke(l[c], r, p));
2896
2890
  });
2897
2891
  }
2898
- o._templateParams = r, o._separator = p, e.tags = t.filter((u) => u.tag !== "templateParams");
2892
+ o._templateParams = r, o._separator = p, e.tags = t.filter((l) => l.tag !== "templateParams");
2899
2893
  }
2900
2894
  }
2901
2895
  }), ji = {
2902
2896
  hooks: {
2903
2897
  "tags:resolve": (o) => {
2904
2898
  const { tags: e } = o;
2905
- let t = e.findIndex((l) => l.tag === "titleTemplate");
2906
- const n = e.findIndex((l) => l.tag === "title");
2899
+ let t = e.findIndex((a) => a.tag === "titleTemplate");
2900
+ const n = e.findIndex((a) => a.tag === "title");
2907
2901
  if (n !== -1 && t !== -1) {
2908
- const l = ft(
2902
+ const a = ht(
2909
2903
  e[t].textContent,
2910
2904
  e[n].textContent
2911
2905
  );
2912
- l !== null ? e[n].textContent = l || e[n].textContent : delete e[n];
2906
+ a !== null ? e[n].textContent = a || e[n].textContent : delete e[n];
2913
2907
  } else if (t !== -1) {
2914
- const l = ft(
2908
+ const a = ht(
2915
2909
  e[t].textContent
2916
2910
  );
2917
- l !== null && (e[t].textContent = l, e[t].tag = "title", t = -1);
2911
+ a !== null && (e[t].textContent = a, e[t].tag = "title", t = -1);
2918
2912
  }
2919
2913
  t !== -1 && delete e[t], o.tags = e.filter(Boolean);
2920
2914
  }
@@ -2939,10 +2933,10 @@ function Ki(o = {}) {
2939
2933
  const e = ki();
2940
2934
  e.addHooks(o.hooks || {}), o.document = o.document || ($i ? document : void 0);
2941
2935
  const t = !o.document, n = () => {
2942
- u.dirty = !0, e.callHook("entries:updated", u);
2936
+ l.dirty = !0, e.callHook("entries:updated", l);
2943
2937
  };
2944
- let l = 0, r = [];
2945
- const p = [], u = {
2938
+ let a = 0, r = [];
2939
+ const p = [], l = {
2946
2940
  plugins: p,
2947
2941
  dirty: !1,
2948
2942
  resolvedOptions: o,
@@ -2950,20 +2944,20 @@ function Ki(o = {}) {
2950
2944
  headEntries() {
2951
2945
  return r;
2952
2946
  },
2953
- use(f) {
2954
- const c = typeof f == "function" ? f(u) : f;
2947
+ use(h) {
2948
+ const c = typeof h == "function" ? h(l) : h;
2955
2949
  (!c.key || !p.some((m) => m.key === c.key)) && (p.push(c), gt(c.mode, t) && e.addHooks(c.hooks || {}));
2956
2950
  },
2957
- push(f, c) {
2951
+ push(h, c) {
2958
2952
  delete c?.head;
2959
2953
  const m = {
2960
- _i: l++,
2961
- input: f,
2954
+ _i: a++,
2955
+ input: h,
2962
2956
  ...c
2963
2957
  };
2964
2958
  return gt(m.mode, t) && (r.push(m), n()), {
2965
2959
  dispose() {
2966
- r = r.filter((g) => g._i !== m._i), e.callHook("entries:updated", u), n();
2960
+ r = r.filter((g) => g._i !== m._i), e.callHook("entries:updated", l), n();
2967
2961
  },
2968
2962
  // a patch is the same as creating a new entry, just a nice DX
2969
2963
  patch(g) {
@@ -2972,17 +2966,17 @@ function Ki(o = {}) {
2972
2966
  };
2973
2967
  },
2974
2968
  async resolveTags() {
2975
- const f = { tags: [], entries: [...r] };
2976
- await e.callHook("entries:resolve", f);
2977
- for (const c of f.entries) {
2969
+ const h = { tags: [], entries: [...r] };
2970
+ await e.callHook("entries:resolve", h);
2971
+ for (const c of h.entries) {
2978
2972
  const m = c.resolvedInput || c.input;
2979
2973
  if (c.resolvedInput = await (c.transform ? c.transform(m) : m), c.resolvedInput)
2980
2974
  for (const g of await Pi(c)) {
2981
- const k = { tag: g, entry: c, resolvedOptions: u.resolvedOptions };
2982
- await e.callHook("tag:normalise", k), f.tags.push(k.tag);
2975
+ const k = { tag: g, entry: c, resolvedOptions: l.resolvedOptions };
2976
+ await e.callHook("tag:normalise", k), h.tags.push(k.tag);
2983
2977
  }
2984
2978
  }
2985
- return await e.callHook("tags:beforeResolve", f), await e.callHook("tags:resolve", f), await e.callHook("tags:afterResolve", f), f.tags;
2979
+ return await e.callHook("tags:beforeResolve", h), await e.callHook("tags:resolve", h), await e.callHook("tags:afterResolve", h), h.tags;
2986
2980
  },
2987
2981
  ssr: t
2988
2982
  };
@@ -2996,18 +2990,18 @@ function Ki(o = {}) {
2996
2990
  ji,
2997
2991
  Yi,
2998
2992
  ...o?.plugins || []
2999
- ].forEach((f) => u.use(f)), u.hooks.callHook("init", u), u;
2993
+ ].forEach((h) => l.use(h)), l.hooks.callHook("init", l), l;
3000
2994
  }
3001
2995
  const Ji = vo.startsWith("3");
3002
2996
  function Xi(o) {
3003
- return typeof o == "function" ? o() : s(o);
2997
+ return typeof o == "function" ? o() : u(o);
3004
2998
  }
3005
2999
  function Ge(o, e = "") {
3006
3000
  if (o instanceof Promise)
3007
3001
  return o;
3008
3002
  const t = Xi(o);
3009
3003
  return !o || !t ? t : Array.isArray(t) ? t.map((n) => Ge(n, e)) : typeof t == "object" ? Object.fromEntries(
3010
- Object.entries(t).map(([n, l]) => n === "titleTemplate" || n.startsWith("on") ? [n, s(l)] : [n, Ge(l, n)])
3004
+ Object.entries(t).map(([n, a]) => n === "titleTemplate" || n.startsWith("on") ? [n, u(a)] : [n, Ge(a, n)])
3011
3005
  ) : t;
3012
3006
  }
3013
3007
  const Zi = {
@@ -3030,13 +3024,13 @@ function or(o = {}) {
3030
3024
  const e = /* @__PURE__ */ Qi(o);
3031
3025
  return e.use(Zi), e.install = tr(e), e;
3032
3026
  }
3033
- const nr = _o(), ir = or(), rr = bo(), oe = ko({ components: { Hotel: ii } });
3034
- oe.use(ir);
3035
- oe.use(nr);
3036
- oe.use(rr);
3037
- oe.use(Vt);
3038
- oe.use(zo);
3039
- oe.use(xo);
3040
- oe.use(Do);
3041
- oe.use(Io, { bootstrap: !0 });
3042
- oe.mount("#konnectio-hotel-app");
3027
+ const nr = _o(), ir = or(), rr = bo(), te = ko({ components: { Hotel: ii } });
3028
+ te.use(ir);
3029
+ te.use(nr);
3030
+ te.use(rr);
3031
+ te.use(Vt);
3032
+ te.use(zo);
3033
+ te.use(xo);
3034
+ te.use(Do);
3035
+ te.use(Io, { bootstrap: !0 });
3036
+ te.mount("#konnectio-hotel-app");