@konnectio/core 4.0.26 → 4.0.28

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