@konnectio/core 4.0.26 → 4.0.27

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