@konnectio/core 4.0.13 → 4.0.15

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