@konnectio/core 4.0.25 → 4.0.26

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