@konnectio/core 4.0.16 → 4.0.18

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 (88) hide show
  1. package/dist/ActionField-25ef64cf.js +163 -0
  2. package/dist/ActionField-25ef64cf.js.br +0 -0
  3. package/dist/ActionField-86389dfe.cjs +1 -0
  4. package/dist/AvailabilitySkeleton-3bb4b572.js +200 -0
  5. package/dist/AvailabilitySkeleton-3bb4b572.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-a72464a1.cjs +1 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-f7e8a940.js → DateField.vue_vue_type_style_index_0_lang-d1a56eb0.js} +707 -701
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-d1a56eb0.js.br +0 -0
  9. package/dist/DateField.vue_vue_type_style_index_0_lang-f99302dc.cjs +5 -0
  10. package/dist/{Field-c0c88ff7.js → Field-03e6b847.js} +5 -5
  11. package/dist/Field-03e6b847.js.br +0 -0
  12. package/dist/{Field-91254e17.cjs → Field-a7c1ed62.cjs} +1 -1
  13. package/dist/NumberField.vue_vue_type_style_index_0_lang-94fa5765.js +194 -0
  14. package/dist/NumberField.vue_vue_type_style_index_0_lang-94fa5765.js.br +0 -0
  15. package/dist/NumberField.vue_vue_type_style_index_0_lang-a779a531.cjs +1 -0
  16. package/dist/SelectField.vue_vue_type_style_index_0_lang-03794d02.cjs +855 -0
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-51defa22.js +28643 -0
  18. package/dist/SelectField.vue_vue_type_style_index_0_lang-51defa22.js.br +0 -0
  19. package/dist/{ThankYou-266a1340.cjs → ThankYou-3ab29b45.cjs} +2 -2
  20. package/dist/{ThankYou-b353b8e0.js → ThankYou-f4945877.js} +11 -10
  21. package/dist/ThankYou-f4945877.js.br +0 -0
  22. package/dist/{_-f8481bc2.js → _-0787261e.js} +12 -12
  23. package/dist/_-0787261e.js.br +0 -0
  24. package/dist/{_-0a59e9b5.cjs → _-917dcead.cjs} +1 -1
  25. package/dist/{_commonjsHelpers-c5d32002.js → _commonjsHelpers-aeeeeb92.js} +2 -2
  26. package/dist/applyGiftCard-ba1da572.cjs +1 -0
  27. package/dist/applyGiftCard-f2282bd2.js +53 -0
  28. package/dist/applyGiftCard-f2282bd2.js.br +0 -0
  29. package/dist/availability.cjs +2 -2
  30. package/dist/availability.d.ts +2 -0
  31. package/dist/availability.js +66 -58
  32. package/dist/availability.js.br +0 -0
  33. package/dist/components/Clickable.vue.d.ts +1 -1
  34. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +1 -1
  35. package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
  36. package/dist/components/listings/Base.vue.d.ts +1 -1
  37. package/dist/components/listings/Hotel.vue.d.ts +1 -1
  38. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +1 -1
  39. package/dist/entries/availability.d.ts +5 -1
  40. package/dist/event-07ba3a0e.cjs +1 -0
  41. package/dist/{event-1b2cce27.js → event-208206cf.js} +9 -9
  42. package/dist/event-208206cf.js.br +0 -0
  43. package/dist/event.cjs +1 -1
  44. package/dist/event.js +153 -153
  45. package/dist/event.js.br +0 -0
  46. package/dist/gift-card-validation.cjs +1 -1
  47. package/dist/gift-card-validation.js +27 -27
  48. package/dist/gift-card-validation.js.br +0 -0
  49. package/dist/gift-card.cjs +1 -1
  50. package/dist/gift-card.js +38 -38
  51. package/dist/gift-card.js.br +0 -0
  52. package/dist/hotel.cjs +5 -5
  53. package/dist/hotel.js +954 -957
  54. package/dist/hotel.js.br +0 -0
  55. package/dist/{index-1532370f.js → index-5e1ea6f0.js} +1 -2
  56. package/dist/index-5e1ea6f0.js.br +0 -0
  57. package/dist/index-7ef3288b.cjs +1 -0
  58. package/dist/layouts/Availability.vue.d.ts +7 -4
  59. package/dist/polyfill.cjs +1 -1
  60. package/dist/polyfill.js +2 -2
  61. package/dist/polyfill.js.br +0 -0
  62. package/dist/style.css +1 -1
  63. package/dist/style.css.br +0 -0
  64. package/package.json +9 -9
  65. package/dist/ActionField-3450fcba.cjs +0 -1
  66. package/dist/ActionField-c1dc7f3e.js +0 -101
  67. package/dist/ActionField-c1dc7f3e.js.br +0 -0
  68. package/dist/AvailabilitySkeleton-454ad0ec.js +0 -190
  69. package/dist/AvailabilitySkeleton-454ad0ec.js.br +0 -0
  70. package/dist/AvailabilitySkeleton-f0e12cb1.cjs +0 -1
  71. package/dist/DateField.vue_vue_type_style_index_0_lang-4f2f4c47.cjs +0 -5
  72. package/dist/DateField.vue_vue_type_style_index_0_lang-f7e8a940.js.br +0 -0
  73. package/dist/Field-c0c88ff7.js.br +0 -0
  74. package/dist/NumberField.vue_vue_type_script_setup_true_lang-1aefdd0e.cjs +0 -1
  75. package/dist/NumberField.vue_vue_type_script_setup_true_lang-aad02565.js +0 -116
  76. package/dist/NumberField.vue_vue_type_script_setup_true_lang-aad02565.js.br +0 -0
  77. package/dist/SelectField.vue_vue_type_style_index_0_lang-2d4e943b.cjs +0 -802
  78. package/dist/SelectField.vue_vue_type_style_index_0_lang-ab6da587.js +0 -19549
  79. package/dist/SelectField.vue_vue_type_style_index_0_lang-ab6da587.js.br +0 -0
  80. package/dist/TextField-2ccfa48b.cjs +0 -54
  81. package/dist/TextField-45a6d0f3.js +0 -9271
  82. package/dist/TextField-45a6d0f3.js.br +0 -0
  83. package/dist/ThankYou-b353b8e0.js.br +0 -0
  84. package/dist/_-f8481bc2.js.br +0 -0
  85. package/dist/event-0a73d10e.cjs +0 -1
  86. package/dist/event-1b2cce27.js.br +0 -0
  87. package/dist/index-1532370f.js.br +0 -0
  88. package/dist/index-4a6e0dad.cjs +0 -1
package/dist/hotel.js CHANGED
@@ -1,137 +1,137 @@
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 no, K as io, 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-ab6da587.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-1532370f.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-b353b8e0.js";
4
- import { u as gt, a as fe, _ as Co } from "./DateField.vue_vue_type_style_index_0_lang-f7e8a940.js";
5
- import { A as $o, H as Vo } from "./AvailabilitySkeleton-454ad0ec.js";
6
- import { _ as Po } from "./NumberField.vue_vue_type_script_setup_true_lang-aad02565.js";
7
- import { T as de } from "./TextField-45a6d0f3.js";
8
- import { E as Q } from "./_-f8481bc2.js";
9
- import { c as vt, g as yt } from "./_commonjsHelpers-c5d32002.js";
10
- import "./ActionField-c1dc7f3e.js";
11
- import "./Field-c0c88ff7.js";
12
- const et = /* @__PURE__ */ te({
1
+ import { h as oe, t as me, aA as Zt, s as te, a as ge, o as I, p as H, W as mt, x as r, w, a9 as De, l as k, v as D, A as de, Y as Je, aB as eo, j as V, a3 as F, a2 as N, k as A, a5 as Oe, q as $, I as ee, z as Y, d as to, c as K, T as Ve, ad as Xe, ae as He, _ as ce, r as Ie, az as oo, N as je, a1 as Te, n as Ce, M as Ze, U as ue, Q as no, ax as io, u as ro, D as so, V as ye, aC as se, y as W, B as ao, C as lo, ah as gt, aD as uo, J as co, a8 as po, H as ho, K as fo } from "./SelectField.vue_vue_type_style_index_0_lang-51defa22.js";
2
+ import { s as mo, e as et, C as j, P as go, a as vo, S as yo, i as bo } from "./index-5e1ea6f0.js";
3
+ import { R as _o, _ as ko, B as Eo, S as Io, M as To, T as Co, x as $o } from "./ThankYou-f4945877.js";
4
+ import { u as vt, a as fe, _ as Vo } from "./DateField.vue_vue_type_style_index_0_lang-d1a56eb0.js";
5
+ import { A as Po, H as So } from "./AvailabilitySkeleton-3bb4b572.js";
6
+ import { _ as xo } from "./ActionField-25ef64cf.js";
7
+ import "./NumberField.vue_vue_type_style_index_0_lang-94fa5765.js";
8
+ import { E as J } from "./_-0787261e.js";
9
+ import { c as yt, a as bt } from "./_commonjsHelpers-aeeeeb92.js";
10
+ import "./applyGiftCard-f2282bd2.js";
11
+ import "./Field-03e6b847.js";
12
+ const tt = /* @__PURE__ */ oe({
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(n) {
19
- const { t: e } = me(), t = Jt(), {
19
+ const { t } = me(), e = Zt(), {
20
20
  hideArrivalDepartureInputs: o,
21
21
  disableArrivalUserSelection: d,
22
22
  disableDepartureUserSelection: s,
23
23
  arrivalDefault: h,
24
24
  departureDefault: u,
25
25
  currency: p
26
- } = ee(ge()), {
26
+ } = te(ge()), {
27
27
  arrivalDate: a,
28
28
  departureDate: g
29
- } = ee(gt()), {
29
+ } = te(vt()), {
30
30
  arrivalTime: m,
31
- departureTime: _,
31
+ departureTime: b,
32
32
  roomDisplay: l,
33
33
  templateID: y,
34
- totalPrice: k,
34
+ totalPrice: _,
35
35
  areListingsLoading: f
36
- } = ee(fe()), { removeRoom: i } = fe();
36
+ } = te(fe()), { removeRoom: i } = fe();
37
37
  function c(v) {
38
38
  return v.reduce((T, { totalPrice: S }) => T + S, 0);
39
39
  }
40
- return (v, E) => (I(), H(yo, {
41
- "total-price": r(k),
40
+ return (v, E) => (I(), H(_o, {
41
+ "total-price": r(_),
42
42
  "show-gift-card": v.showGiftCard,
43
43
  "show-terms-notice": v.showTermsNotice,
44
44
  "is-sidebar-loading": r(f),
45
- notice: r(e)("hotel.reservationNotice")
46
- }, ft({
45
+ notice: r(t)("hotel.reservationNotice")
46
+ }, mt({
47
47
  form: w(() => [
48
- Le(v.$slots, "form")
48
+ De(v.$slots, "form")
49
49
  ]),
50
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)
51
+ k("li", null, [
52
+ k("span", null, D(r(t)("booking.reservation.arrival")), 1),
53
+ k("b", null, D(r(o) ? r(de)(r(a)) : `${r(de)(r(a))}, ${r(d) ? r(h) : r(m)}`), 1)
54
54
  ]),
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)
55
+ k("li", null, [
56
+ k("span", null, D(r(t)("booking.reservation.departure")), 1),
57
+ k("b", null, D(r(o) ? r(de)(r(g)) : `${r(de)(r(g))}, ${r(s) ? r(u) : r(b)}`), 1)
58
58
  ]),
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)
59
+ k("li", null, [
60
+ k("span", null, D(r(t)("booking.reservation.nights")), 1),
61
+ k("b", null, D(r(Je)(r(a), r(g))) + " " + D(r(eo)(r(Je)(r(a), r(g)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)
62
62
  ])
63
63
  ]),
64
64
  "price-summary": w(() => [
65
- isNaN(r(y)) && r(l).length > 0 ? (I(!0), V(U, { key: 0 }, F(r(l), ({
65
+ isNaN(r(y)) && r(l).length > 0 ? (I(!0), V(N, { key: 0 }, F(r(l), ({
66
66
  roomGroupID: T,
67
67
  title: S,
68
68
  variants: O
69
69
  }) => (I(), V("div", { key: T }, [
70
- b("h6", null, [
71
- b("span", null, L(S), 1)
70
+ k("h6", null, [
71
+ k("span", null, D(S), 1)
72
72
  ]),
73
- (I(!0), V(U, null, F(O, (z, D) => (I(), V("div", { key: D }, [
73
+ (I(!0), V(N, null, F(O, (B, U) => (I(), V("div", { key: U }, [
74
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, {
75
+ (I(!0), V(N, null, F(B.rooms, (x, q) => (I(), V("ul", { key: q }, [
76
+ k("li", null, [
77
+ k("span", null, [
78
+ k("span", null, D(B.name), 1),
79
+ k("span", null, [
80
+ Oe("( "),
81
+ $(ee, {
82
82
  icon: "male",
83
83
  type: "fas",
84
84
  color: "font"
85
85
  }),
86
- b("span", null, L(M.adultsCount), 1),
87
- De(") "),
88
- M.childrenCount > 0 ? (I(), V(U, { key: 0 }, [
89
- $(X, {
86
+ k("span", null, D(x.adultsCount), 1),
87
+ Oe(") "),
88
+ x.childrenCount > 0 ? (I(), V(N, { key: 0 }, [
89
+ $(ee, {
90
90
  icon: "child",
91
91
  type: "fas",
92
92
  color: "font"
93
93
  }),
94
- b("span", null, L(M.childrenCount), 1),
95
- De(") ")
94
+ k("span", null, D(x.childrenCount), 1),
95
+ Oe(") ")
96
96
  ], 64)) : A("", !0)
97
97
  ])
98
98
  ]),
99
- b("b", null, [
100
- b("span", null, L(r(Y)(M.totalPrice, r(p))), 1),
99
+ k("b", null, [
100
+ k("span", null, D(r(Y)(x.totalPrice, r(p))), 1),
101
101
  A("", !0)
102
102
  ])
103
103
  ]),
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)
104
+ k("li", null, [
105
+ k("span", null, D(r(t)("booking.reservation.addons")), 1),
106
+ k("b", null, D(r(Y)(c(x.roomAddons), r(p))), 1)
107
107
  ])
108
108
  ]))), 128))
109
109
  ]))), 128))
110
110
  ]))), 128)) : A("", !0)
111
111
  ]),
112
112
  navigation: w(() => [
113
- Le(v.$slots, "navigation")
113
+ De(v.$slots, "navigation")
114
114
  ]),
115
115
  _: 2
116
116
  }, [
117
- r(t).addons ? {
117
+ r(e).addons ? {
118
118
  name: "addons",
119
119
  fn: w(() => [
120
- Le(v.$slots, "addons")
120
+ De(v.$slots, "addons")
121
121
  ]),
122
122
  key: "0"
123
123
  } : void 0
124
124
  ]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
125
125
  }
126
- }), So = Zt("tracking", () => {
126
+ }), Lo = to("tracking", () => {
127
127
  const {
128
128
  enableTracking: n,
129
- googleApiKey: e
130
- } = ee(ge());
131
- function t() {
132
- console.log("Tracking"), console.log(e), ho({
129
+ googleApiKey: t
130
+ } = te(ge());
131
+ function e() {
132
+ console.log("Tracking"), console.log(t), mo({
133
133
  config: {
134
- id: e.value,
134
+ id: t.value,
135
135
  params: {
136
136
  send_page_view: !1
137
137
  }
@@ -139,19 +139,19 @@ const et = /* @__PURE__ */ te({
139
139
  enabled: n.value
140
140
  });
141
141
  }
142
- function o({ id: p, name: a, value: g, label: m, category: _ = "general" }) {
142
+ function o({ id: p, name: a, value: g, label: m, category: b = "general" }) {
143
143
  return {
144
144
  items: [{
145
145
  id: p,
146
146
  name: a
147
147
  }],
148
148
  event_label: m,
149
- event_category: _,
149
+ event_category: b,
150
150
  value: g
151
151
  };
152
152
  }
153
153
  function d(p, a) {
154
- Ze(p, o(a));
154
+ et(p, o(a));
155
155
  }
156
156
  function s(p, a, g) {
157
157
  d("add_to_cart", {
@@ -172,7 +172,7 @@ const et = /* @__PURE__ */ te({
172
172
  });
173
173
  }
174
174
  function u(p) {
175
- Ze("view_item", {
175
+ et("view_item", {
176
176
  items: [{
177
177
  name: p
178
178
  //: getRoomName(props.listingId)
@@ -180,13 +180,13 @@ const et = /* @__PURE__ */ te({
180
180
  });
181
181
  }
182
182
  return {
183
- setup: t,
183
+ setup: e,
184
184
  viewItem: u,
185
185
  addToCart: s,
186
186
  removeFromCart: h
187
187
  };
188
- }), xo = { key: 0 }, Lo = { style: { display: "flex", "align-items": "baseline" } }, Do = { key: 0 };
189
- const Oo = /* @__PURE__ */ te({
188
+ }), Do = { key: 0 }, Oo = { style: { display: "flex", "align-items": "baseline" } }, Ho = { key: 0 };
189
+ const wo = /* @__PURE__ */ oe({
190
190
  __name: "RoomConfigField",
191
191
  props: {
192
192
  modelValue: {},
@@ -196,12 +196,12 @@ const Oo = /* @__PURE__ */ te({
196
196
  label: {}
197
197
  },
198
198
  emits: ["update:modelValue"],
199
- setup(n, { emit: e }) {
200
- const { currency: t } = ee(ge()), o = e, d = n;
199
+ setup(n, { emit: t }) {
200
+ const { currency: e } = te(ge()), o = t, d = n;
201
201
  function s(u) {
202
202
  o("update:modelValue", u);
203
203
  }
204
- const h = J({
204
+ const h = K({
205
205
  get: () => d.modelValue,
206
206
  set: (u) => s(u)
207
207
  });
@@ -217,37 +217,37 @@ const Oo = /* @__PURE__ */ te({
217
217
  required: u.required
218
218
  }, {
219
219
  option: w(({ data: a }) => [
220
- b("span", null, [
221
- $(X, {
220
+ k("span", null, [
221
+ $(ee, {
222
222
  icon: "male",
223
223
  type: "fas"
224
224
  }),
225
- b("span", null, L(`${a.adults}`), 1)
225
+ k("span", null, D(`${a.adults}`), 1)
226
226
  ]),
227
- a.children > 0 ? (I(), V("span", xo, [
228
- $(X, {
227
+ a.children > 0 ? (I(), V("span", Do, [
228
+ $(ee, {
229
229
  icon: "child",
230
230
  type: "fas"
231
231
  }),
232
- b("span", null, L(`${a.children}`), 1)
232
+ k("span", null, D(`${a.children}`), 1)
233
233
  ])) : A("", !0),
234
- b("span", null, L(`(${r(Y)(a.price, r(t))})`), 1)
234
+ k("span", null, D(`(${r(Y)(a.price, r(e))})`), 1)
235
235
  ]),
236
236
  "selected-option": w(({ data: a }) => [
237
- b("div", Lo, [
238
- b("div", null, [
239
- $(X, {
237
+ k("div", Oo, [
238
+ k("div", null, [
239
+ $(ee, {
240
240
  icon: "male",
241
241
  type: "fas"
242
242
  }),
243
- b("span", null, L(`${a.adults}`), 1)
243
+ k("span", null, D(`${a.adults}`), 1)
244
244
  ]),
245
- a.children > 0 ? (I(), V("div", Do, [
246
- $(X, {
245
+ a.children > 0 ? (I(), V("div", Ho, [
246
+ $(ee, {
247
247
  icon: "child",
248
248
  type: "fas"
249
249
  }),
250
- b("span", null, L(`${a.children}`), 1)
250
+ k("span", null, D(`${a.children}`), 1)
251
251
  ])) : A("", !0),
252
252
  A("", !0)
253
253
  ])
@@ -255,17 +255,17 @@ const Oo = /* @__PURE__ */ te({
255
255
  _: 1
256
256
  }, 8, ["modelValue", "label", "options", "required"]));
257
257
  }
258
- }), Ho = {
258
+ }), Ao = {
259
259
  key: 0,
260
260
  class: "fresh-booking-modal-facilities"
261
- }, wo = {
261
+ }, Bo = {
262
262
  class: "fresh-booking-modal-facilities-masonry",
263
263
  "transition-duration": "0s",
264
264
  "destroy-delay": 0,
265
265
  "percent-position": !0,
266
266
  "column-width": ".grid-sizer",
267
267
  "item-selector": ".fresh-booking-modal-facility"
268
- }, Ao = { class: "grid-sizer" }, Mo = /* @__PURE__ */ te({
268
+ }, Mo = { class: "grid-sizer" }, zo = /* @__PURE__ */ oe({
269
269
  __name: "Info",
270
270
  props: {
271
271
  title: {},
@@ -273,27 +273,27 @@ const Oo = /* @__PURE__ */ te({
273
273
  facilities: {}
274
274
  },
275
275
  setup(n) {
276
- return (e, t) => {
277
- const o = Je("masonry-tile"), d = Je("masonry");
278
- return I(), H(bo, {
279
- title: e.title,
280
- description: e.description
276
+ return (t, e) => {
277
+ const o = Xe("masonry-tile"), d = Xe("masonry");
278
+ return I(), H(ko, {
279
+ title: t.title,
280
+ description: t.description
281
281
  }, {
282
282
  default: w(() => [
283
- e.facilities && e.facilities.length !== 0 ? (I(), V("div", Ho, [
284
- Oe((I(), V("ul", wo, [
285
- Oe(b("div", Ao, null, 512), [
283
+ t.facilities && t.facilities.length !== 0 ? (I(), V("div", Ao, [
284
+ He((I(), V("ul", Bo, [
285
+ He(k("div", Mo, null, 512), [
286
286
  [o]
287
287
  ]),
288
- (I(!0), V(U, null, F(e.facilities, ({ name: s, subFacilities: h }, u) => Oe((I(), V("li", {
288
+ (I(!0), V(N, null, F(t.facilities, ({ name: s, subFacilities: h }, u) => He((I(), V("li", {
289
289
  key: u,
290
290
  class: "fresh-booking-modal-facility"
291
291
  }, [
292
- b("h6", null, [
293
- b("span", null, L(s), 1)
292
+ k("h6", null, [
293
+ k("span", null, D(s), 1)
294
294
  ]),
295
- b("ul", null, [
296
- (I(!0), V(U, null, F(h, ({ name: p }, a) => (I(), V("li", { key: a }, L(p), 1))), 128))
295
+ k("ul", null, [
296
+ (I(!0), V(N, null, F(h, ({ name: p }, a) => (I(), V("li", { key: a }, D(p), 1))), 128))
297
297
  ])
298
298
  ])), [
299
299
  [o]
@@ -308,15 +308,15 @@ const Oo = /* @__PURE__ */ te({
308
308
  };
309
309
  }
310
310
  });
311
- const zo = /* @__PURE__ */ pe(Mo, [["__scopeId", "data-v-4e226a17"]]), Bo = { class: "fresh-booking-listing-config-body" }, Ro = { class: "fresh-booking-listing-units-body" };
312
- const Wo = /* @__PURE__ */ te({
311
+ const Ro = /* @__PURE__ */ ce(zo, [["__scopeId", "data-v-4e226a17"]]), Wo = { class: "fresh-booking-listing-config-body" }, No = { class: "fresh-booking-listing-units-body" };
312
+ const Uo = /* @__PURE__ */ oe({
313
313
  __name: "Hotel",
314
314
  props: {
315
315
  room: {},
316
316
  layout: {}
317
317
  },
318
318
  setup(n) {
319
- const { t: e } = me(), t = n, o = Ie([]);
319
+ const { t } = me(), e = n, o = Ie([]);
320
320
  function d(E) {
321
321
  o.value[E].config.push({
322
322
  id: NaN,
@@ -324,65 +324,65 @@ const Wo = /* @__PURE__ */ te({
324
324
  addons: []
325
325
  });
326
326
  }
327
- const s = J(() => t.room.rates.map((E) => ({
327
+ const s = K(() => e.room.rates.map((E) => ({
328
328
  label: E.name,
329
329
  value: E.id
330
- }))), h = J(() => o.value.flatMap((E) => E.id));
331
- J(() => s.value.filter((E) => !h.value.includes(E.value))), ee(ge());
332
- 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(
330
+ }))), h = K(() => o.value.flatMap((E) => E.id));
331
+ K(() => s.value.filter((E) => !h.value.includes(E.value))), te(ge());
332
+ const { roomSelect: u } = te(fe()), { viewItem: p } = Lo(), a = (E, T) => e.room.rates.find((S) => S.id === E)?.occupantRates.find((S) => S.index === T), g = K(() => e.room.rates.reduce(
333
333
  (E, T) => E < T.rackRate ? E : T.rackRate,
334
334
  1 / 0
335
- )), 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) => ({
335
+ )), m = K(() => e.room.rates.every((E) => E.isBreakfastIncluded === !0)), b = (E, T) => a(E, T) ? a(E, T)?.rooms : null, l = (E) => e.room.rates.length > 0 ? e.room.rates.find((T) => T.id === E)?.occupantRates.map((T) => ({
336
336
  value: T.index,
337
337
  price: T.totalPrice,
338
338
  adults: T.adultsCount,
339
339
  children: T.childrenCount,
340
340
  hasBreakfast: T.hasBreakfast
341
- })) || [] : [], y = J(() => t.room.rates.length > 1), { open: k, close: f } = eo({
342
- component: zo,
341
+ })) || [] : [], y = K(() => e.room.rates.length > 1), { open: _, close: f } = oo({
342
+ component: Ro,
343
343
  attrs: {
344
- title: t.room.title,
345
- description: t.room.description,
346
- facilities: t.room.facilities,
344
+ title: e.room.title,
345
+ description: e.room.description,
346
+ facilities: e.room.facilities,
347
347
  onConfirm() {
348
348
  f();
349
349
  }
350
350
  }
351
351
  });
352
352
  function i() {
353
- k(), p(t.room.title);
353
+ _(), p(e.room.title);
354
354
  }
355
355
  function c() {
356
356
  y.value ? o.value.push({
357
357
  id: void 0,
358
358
  config: [{
359
- id: t.room.rates[0].occupantRateIndex || NaN,
359
+ id: e.room.rates[0].occupantRateIndex || NaN,
360
360
  units: 0,
361
361
  addons: []
362
362
  }]
363
363
  }) : o.value.push({
364
- id: t.room.rates[0].id,
364
+ id: e.room.rates[0].id,
365
365
  config: [{
366
- id: t.room.rates[0].occupantRateIndex || NaN,
366
+ id: e.room.rates[0].occupantRateIndex || NaN,
367
367
  units: 0,
368
368
  addons: []
369
369
  }]
370
370
  });
371
371
  }
372
- Ge(() => {
372
+ je(() => {
373
373
  c();
374
374
  });
375
- const v = J(() => JSON.parse(JSON.stringify(o.value)));
375
+ const v = K(() => JSON.parse(JSON.stringify(o.value)));
376
376
  return Te(v, (E, T) => {
377
377
  T.length > 0 && E.forEach((S, O) => {
378
- S.config.forEach((z, D) => {
379
- const M = z.units, G = T[O].config[D].units;
380
- M !== G && (M > G ? o.value[O].config[D].addons.push({}) : o.value[O].config[D].addons.pop());
378
+ S.config.forEach((B, U) => {
379
+ const x = B.units, q = T[O].config[U].units;
380
+ x !== q && (x > q ? o.value[O].config[U].addons.push({}) : o.value[O].config[U].addons.pop());
381
381
  });
382
382
  });
383
383
  }, { deep: !0 }), Te(o, () => {
384
- u.value[t.room.id] = o.value;
385
- }, { deep: !0 }), (E, T) => (I(), H(_o, {
384
+ u.value[e.room.id] = o.value;
385
+ }, { deep: !0 }), (E, T) => (I(), H(Eo, {
386
386
  "listing-id": E.room.id,
387
387
  gallery: E.room.images,
388
388
  name: E.room.title,
@@ -391,56 +391,53 @@ const Wo = /* @__PURE__ */ te({
391
391
  facilities: E.room.facilities,
392
392
  "prices-from": g.value,
393
393
  "includes-breakfast": m.value,
394
- callback: i,
395
- style: {
396
- "--inputBackground": "transparent"
397
- }
394
+ callback: i
398
395
  }, {
399
396
  action: w(() => [
400
- (I(!0), V(U, null, F(o.value, (S, O) => (I(), V("div", {
397
+ (I(!0), V(N, null, F(o.value, (S, O) => (I(), V("div", {
401
398
  key: S.id,
402
399
  class: "freshbooking-hotel-room"
403
400
  }, [
404
401
  y.value ? (I(), H(Ve, {
405
402
  key: 0,
406
403
  modelValue: S.id,
407
- "onUpdate:modelValue": (z) => S.id = z,
408
- label: r(e)("hotel.roomVariant"),
409
- placeholder: r(e)("hotel.chooseARoomVariant"),
404
+ "onUpdate:modelValue": (B) => S.id = B,
405
+ label: r(t)("hotel.roomVariant"),
406
+ placeholder: r(t)("hotel.chooseARoomVariant"),
410
407
  options: s.value
411
408
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : A("", !0),
412
- b("div", null, [
413
- (I(!0), V(U, null, F(E.room.rates, ({
414
- id: z,
415
- maximumAdults: D
416
- }) => (I(), V("div", { key: z }, [
417
- S.id === z ? (I(!0), V(U, { key: 0 }, F(S.config, (M, G) => (I(), V("div", {
418
- key: G,
409
+ k("div", null, [
410
+ (I(!0), V(N, null, F(E.room.rates, ({
411
+ id: B,
412
+ maximumAdults: U
413
+ }) => (I(), V("div", { key: B }, [
414
+ S.id === B ? (I(!0), V(N, { key: 0 }, F(S.config, (x, q) => (I(), V("div", {
415
+ key: q,
419
416
  class: "booking-availability-listing-action-selective"
420
417
  }, [
421
- b("ul", Bo, [
422
- (I(), H(Oo, {
418
+ k("ul", Wo, [
419
+ (I(), H(wo, {
423
420
  key: 0,
424
- modelValue: M.id,
425
- "onUpdate:modelValue": (oe) => M.id = oe,
426
- description: `Maximum adults: ${D}`,
421
+ modelValue: x.id,
422
+ "onUpdate:modelValue": (X) => x.id = X,
423
+ description: `Maximum adults: ${U}`,
427
424
  icon: "male",
428
425
  "icon-type": "fas",
429
- label: r(e)("availability.adults"),
430
- options: l(z)
426
+ label: r(t)("availability.adults"),
427
+ options: l(B)
431
428
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "options"]))
432
429
  ]),
433
- b("ul", Ro, [
434
- $(Po, {
435
- modelValue: M.units,
436
- "onUpdate:modelValue": (oe) => M.units = oe,
437
- description: `Available units: ${_(S.id, M.id)}`,
430
+ k("ul", No, [
431
+ $(xo, {
432
+ modelValue: x.units,
433
+ "onUpdate:modelValue": (X) => x.units = X,
434
+ description: `Available units: ${b(S.id, x.id)}`,
438
435
  icon: "house",
439
436
  "icon-type": "fas",
440
437
  "icon-placement": "label",
441
- label: r(e)("booking.availability.units"),
438
+ label: r(t)("booking.availability.units"),
442
439
  minValue: 0,
443
- "max-value": _(z, M.id) || 1 / 0
440
+ "max-value": b(B, x.id) || 1 / 0
444
441
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
445
442
  ]),
446
443
  A("", !0)
@@ -453,7 +450,7 @@ const Wo = /* @__PURE__ */ te({
453
450
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
454
451
  }
455
452
  });
456
- const No = /* @__PURE__ */ pe(Wo, [["__scopeId", "data-v-2d10462e"]]), tt = /* @__PURE__ */ te({
453
+ const Fo = /* @__PURE__ */ ce(Uo, [["__scopeId", "data-v-06777084"]]), ot = /* @__PURE__ */ oe({
457
454
  __name: "TimeField",
458
455
  props: {
459
456
  modelValue: {},
@@ -477,15 +474,15 @@ const No = /* @__PURE__ */ pe(Wo, [["__scopeId", "data-v-2d10462e"]]), tt = /* @
477
474
  inputStyle: {}
478
475
  },
479
476
  emits: ["update:modelValue"],
480
- setup(n, { emit: e }) {
481
- const t = e, o = n;
477
+ setup(n, { emit: t }) {
478
+ const e = t, o = n;
482
479
  function d(h) {
483
- t("update:modelValue", h);
480
+ e("update:modelValue", h);
484
481
  }
485
482
  const s = Ie(o.modelValue);
486
483
  return Te(s, (h) => {
487
484
  d(h);
488
- }), (h, u) => (I(), H(Co, {
485
+ }), (h, u) => (I(), H(Vo, {
489
486
  modelValue: s.value,
490
487
  "onUpdate:modelValue": u[0] || (u[0] = (p) => s.value = p),
491
488
  type: "time",
@@ -501,7 +498,7 @@ const No = /* @__PURE__ */ pe(Wo, [["__scopeId", "data-v-2d10462e"]]), tt = /* @
501
498
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
502
499
  }
503
500
  });
504
- const Uo = { style: { display: "flex", "align-items": "baseline" } }, Fo = /* @__PURE__ */ te({
501
+ const qo = { style: { display: "flex", "align-items": "baseline" } }, Go = /* @__PURE__ */ oe({
505
502
  __name: "CountryField",
506
503
  props: {
507
504
  modelValue: {},
@@ -512,12 +509,12 @@ const Uo = { style: { display: "flex", "align-items": "baseline" } }, Fo = /* @_
512
509
  placeholder: {}
513
510
  },
514
511
  emits: ["update:modelValue"],
515
- setup(n, { emit: e }) {
516
- const { t } = me(), o = e, d = n;
512
+ setup(n, { emit: t }) {
513
+ const { t: e } = me(), o = t, d = n;
517
514
  function s(u) {
518
515
  o("update:modelValue", u);
519
516
  }
520
- const h = J({
517
+ const h = K({
521
518
  get: () => d.modelValue,
522
519
  set: (u) => s(u)
523
520
  });
@@ -525,31 +522,31 @@ const Uo = { style: { display: "flex", "align-items": "baseline" } }, Fo = /* @_
525
522
  modelValue: h.value,
526
523
  "onUpdate:modelValue": p[0] || (p[0] = (a) => h.value = a),
527
524
  label: u.label,
528
- placeholder: r(t)("booking.reservation.countryPlaceholder"),
525
+ placeholder: r(e)("booking.reservation.countryPlaceholder"),
529
526
  labelKey: "name",
530
527
  valueKey: "id",
531
528
  options: u.options,
532
529
  required: u.required
533
530
  }, {
534
531
  option: w(({ data: a }) => [
535
- b("i", {
532
+ k("i", {
536
533
  class: Ce(["konnectio-flag-icon", a.iso])
537
534
  }, null, 2),
538
- b("span", null, L(a.name), 1)
535
+ k("span", null, D(a.name), 1)
539
536
  ]),
540
537
  "selected-option": w(({ data: a }) => [
541
- b("div", Uo, [
542
- b("i", {
538
+ k("div", qo, [
539
+ k("i", {
543
540
  class: Ce(["konnectio-flag-icon", a.iso])
544
541
  }, null, 2),
545
- b("span", null, L(a.name), 1)
542
+ k("span", null, D(a.name), 1)
546
543
  ])
547
544
  ]),
548
545
  _: 1
549
546
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
550
547
  }
551
548
  });
552
- const qo = /* @__PURE__ */ pe(Fo, [["__scopeId", "data-v-1462612d"]]), Go = /* @__PURE__ */ te({
549
+ const jo = /* @__PURE__ */ ce(Go, [["__scopeId", "data-v-1462612d"]]), Yo = /* @__PURE__ */ oe({
553
550
  __name: "NameField",
554
551
  props: {
555
552
  modelValue: {},
@@ -570,8 +567,8 @@ const qo = /* @__PURE__ */ pe(Fo, [["__scopeId", "data-v-1462612d"]]), Go = /* @
570
567
  excludeTitle: { type: Boolean, default: !1 }
571
568
  },
572
569
  emits: ["update:modelValue", "update:title"],
573
- setup(n, { emit: e }) {
574
- const t = n, o = e, d = t.id || Xe(), s = Ie(""), h = Ie(2);
570
+ setup(n, { emit: t }) {
571
+ const e = n, o = t, d = e.id || Ze(), s = Ie(""), h = Ie(2);
575
572
  function u() {
576
573
  o("update:modelValue", s.value);
577
574
  }
@@ -579,9 +576,9 @@ const qo = /* @__PURE__ */ pe(Fo, [["__scopeId", "data-v-1462612d"]]), Go = /* @
579
576
  o("update:title", a);
580
577
  });
581
578
  const { t: p } = me();
582
- return Ge(() => {
583
- t.modelValue && (s.value = t.modelValue), t.title && (h.value = t.title);
584
- }), (a, g) => (I(), H(to, {
579
+ return je(() => {
580
+ e.modelValue && (s.value = e.modelValue), e.title && (h.value = e.title);
581
+ }), (a, g) => (I(), H(no, {
585
582
  label: a.label,
586
583
  id: r(d),
587
584
  required: a.required,
@@ -590,7 +587,7 @@ const qo = /* @__PURE__ */ pe(Fo, [["__scopeId", "data-v-1462612d"]]), Go = /* @
590
587
  limit: a.limit
591
588
  }, {
592
589
  default: w(() => [
593
- b("div", {
590
+ k("div", {
594
591
  class: Ce([
595
592
  "fresh-booking-name-input",
596
593
  { "no-title": a.excludeTitle }
@@ -600,7 +597,7 @@ const qo = /* @__PURE__ */ pe(Fo, [["__scopeId", "data-v-1462612d"]]), Go = /* @
600
597
  key: 0,
601
598
  modelValue: h.value,
602
599
  "onUpdate:modelValue": g[0] || (g[0] = (m) => h.value = m),
603
- id: r(Xe)(),
600
+ id: r(Ze)(),
604
601
  icon: a.icon,
605
602
  "icon-color": a.iconColor,
606
603
  "icon-type": a.iconType,
@@ -630,7 +627,7 @@ const qo = /* @__PURE__ */ pe(Fo, [["__scopeId", "data-v-1462612d"]]), Go = /* @
630
627
  "hide-button": "",
631
628
  "input-style": a.inputStyle
632
629
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
633
- $(de, {
630
+ $(ue, {
634
631
  modelValue: s.value,
635
632
  "onUpdate:modelValue": g[1] || (g[1] = (m) => s.value = m),
636
633
  type: "text",
@@ -653,53 +650,53 @@ const qo = /* @__PURE__ */ pe(Fo, [["__scopeId", "data-v-1462612d"]]), Go = /* @
653
650
  }, 8, ["label", "id", "required", "readonly", "limit"]));
654
651
  }
655
652
  });
656
- const jo = /* @__PURE__ */ pe(Go, [["__scopeId", "data-v-5599e141"]]), Yo = { class: "hotel-listing" }, Ko = { class: "hotel-listing-content-gallery" }, Qo = { class: "hotel-listing-content-thumbs" }, Jo = { class: "hotel-listing-content" }, Xo = { class: "hotel-listing-content-header" }, Zo = { class: "hotel-listing-content-title" }, en = { class: "hotel-listing-content-body" }, tn = { class: "hotel-listing-content-facilities" }, on = /* @__PURE__ */ te({
653
+ const Ko = /* @__PURE__ */ ce(Yo, [["__scopeId", "data-v-5599e141"]]), Qo = { class: "hotel-listing" }, Jo = { class: "hotel-listing-content-gallery" }, Xo = { class: "hotel-listing-content-thumbs" }, Zo = { class: "hotel-listing-content" }, en = { class: "hotel-listing-content-header" }, tn = { class: "hotel-listing-content-title" }, on = { class: "hotel-listing-content-body" }, nn = { class: "hotel-listing-content-facilities" }, rn = /* @__PURE__ */ oe({
657
654
  __name: "Listing",
658
655
  setup(n) {
659
- return (e, t) => (I(), V("div", Yo, [
660
- b("div", Ko, [
661
- $(Q, {
656
+ return (t, e) => (I(), V("div", Qo, [
657
+ k("div", Jo, [
658
+ $(J, {
662
659
  width: "280px",
663
660
  height: "153px"
664
661
  }),
665
- b("div", Qo, [
666
- (I(), V(U, null, F(3, (o) => $(Q, {
662
+ k("div", Xo, [
663
+ (I(), V(N, null, F(3, (o) => $(J, {
667
664
  key: o,
668
665
  width: "84px",
669
666
  height: "44px"
670
667
  })), 64))
671
668
  ])
672
669
  ]),
673
- b("div", Jo, [
674
- b("div", Xo, [
675
- b("div", Zo, [
676
- $(Q, {
670
+ k("div", Zo, [
671
+ k("div", en, [
672
+ k("div", tn, [
673
+ $(J, {
677
674
  height: "30px",
678
675
  width: "60%"
679
676
  }),
680
- $(Q, {
677
+ $(J, {
681
678
  height: "30px",
682
679
  width: "30px",
683
680
  "border-radius": "100%"
684
681
  })
685
682
  ]),
686
- $(Q, {
683
+ $(J, {
687
684
  height: "15px",
688
685
  width: "25%"
689
686
  })
690
687
  ]),
691
- b("div", en, [
692
- $(Q, { height: "15px" }),
693
- $(Q, { height: "15px" }),
694
- $(Q, { height: "15px" }),
695
- $(Q, { height: "15px" }),
696
- $(Q, {
688
+ k("div", on, [
689
+ $(J, { height: "15px" }),
690
+ $(J, { height: "15px" }),
691
+ $(J, { height: "15px" }),
692
+ $(J, { height: "15px" }),
693
+ $(J, {
697
694
  height: "15px",
698
695
  width: "90%"
699
696
  })
700
697
  ]),
701
- b("div", tn, [
702
- (I(), V(U, null, F(5, (o) => $(Q, {
698
+ k("div", nn, [
699
+ (I(), V(N, null, F(5, (o) => $(J, {
703
700
  key: o,
704
701
  height: "25px",
705
702
  width: "25px",
@@ -710,213 +707,213 @@ const jo = /* @__PURE__ */ pe(Go, [["__scopeId", "data-v-5599e141"]]), Yo = { cl
710
707
  ]));
711
708
  }
712
709
  });
713
- const he = /* @__PURE__ */ pe(on, [["__scopeId", "data-v-5c132d7f"]]), nn = { class: "hotel-skeleton" }, rn = { class: "hotel-skeleton-content" }, sn = { class: "hotel-skeleton-sidebar" }, an = /* @__PURE__ */ te({
710
+ const pe = /* @__PURE__ */ ce(rn, [["__scopeId", "data-v-5c132d7f"]]), sn = { class: "hotel-skeleton" }, an = { class: "hotel-skeleton-content" }, ln = { class: "hotel-skeleton-sidebar" }, un = /* @__PURE__ */ oe({
714
711
  __name: "HotelSkeleton",
715
712
  setup(n) {
716
- return (e, t) => (I(), V("div", nn, [
717
- b("div", rn, [
718
- $($o),
719
- $(he),
720
- $(he),
721
- $(he)
713
+ return (t, e) => (I(), V("div", sn, [
714
+ k("div", an, [
715
+ $(Po),
716
+ $(pe),
717
+ $(pe),
718
+ $(pe)
722
719
  ]),
723
- b("div", sn, [
724
- $(ko)
720
+ k("div", ln, [
721
+ $(Io)
725
722
  ])
726
723
  ]));
727
724
  }
728
725
  });
729
- const ln = /* @__PURE__ */ pe(an, [["__scopeId", "data-v-11247c5f"]]), un = { id: "booking-availability-container" }, dn = { id: "booking-availability-controls" }, cn = {
726
+ const dn = /* @__PURE__ */ ce(un, [["__scopeId", "data-v-4e50a5a1"]]), cn = { id: "booking-availability-container" }, pn = { id: "booking-availability-controls" }, hn = {
730
727
  key: 0,
731
728
  "sticky-container": ""
732
- }, pn = { key: 0 }, hn = { key: 0 }, fn = { key: 0 };
733
- const mn = { id: "booking-availability-listings" }, gn = {
729
+ }, fn = { key: 0 }, mn = { key: 0 }, gn = { key: 0 };
730
+ const vn = { id: "booking-availability-listings" }, yn = {
734
731
  key: 1,
735
732
  id: "booking-availability-no-listings"
736
- }, vn = {
733
+ }, bn = {
737
734
  key: 1,
738
735
  id: "booking-availability-no-listings"
739
- }, yn = {
736
+ }, _n = {
740
737
  key: 2,
741
738
  id: "reservation-availability-next-dates"
742
- }, bn = { class: "reservation-special-offers-grid" }, _n = ["title"], kn = {
739
+ }, kn = { class: "reservation-special-offers-grid" }, En = ["title"];
740
+ const In = {
743
741
  key: 1,
744
742
  class: "konnectio-listing-loading"
745
- }, En = { class: "fresh-booking-panel" }, In = { key: 0 }, Tn = { key: 1 }, Cn = { class: "fresh-booking-split-inputs" }, $n = { key: 3 }, Vn = { class: "fresh-booking-label" }, Pn = { class: "fresh-booking-checkbox-spacing" }, Sn = { class: "booking-reservation-resume-recept-item" }, xn = { key: 1 }, Ln = { class: "fresh-booking-checkbox-spacing" }, Dn = ["onClick"], On = /* @__PURE__ */ te({
743
+ }, Tn = { class: "fresh-booking-panel" }, Cn = { key: 0 }, $n = { key: 1 }, Vn = { class: "fresh-booking-split-inputs" }, Pn = { key: 3 }, Sn = { class: "fresh-booking-label" }, xn = { class: "fresh-booking-checkbox-spacing" }, Ln = { class: "booking-reservation-resume-recept-item" }, Dn = { key: 1 }, On = { class: "fresh-booking-checkbox-spacing" }, Hn = ["onClick"], wn = /* @__PURE__ */ oe({
746
744
  name: "HotelLayout",
747
745
  __name: "Hotel",
748
746
  props: {
749
747
  accessToken: {},
750
- headerLayout: { default: oo.Minimal },
748
+ headerLayout: { default: io.Minimal },
751
749
  layout: {},
752
750
  packagesTitleMaxLines: { default: "2" },
753
751
  styling: {}
754
752
  },
755
753
  setup(n) {
756
- const { t: e } = me(), {
757
- templateID: t,
758
- title: o,
759
- countries: d,
760
- areListingsLoading: s,
761
- isAvailabilityDataAvailable: h,
762
- isPaymentLoading: u,
763
- isReservationFormFilled: p,
764
- selectedPackage: a,
765
- travelingFor: g,
766
- arrivalTime: m,
767
- departureTime: _,
768
- name: l,
769
- nameTitle: y,
770
- email: k,
771
- phone: f,
772
- firmName: i,
773
- postal: c,
774
- city: v,
775
- address: E,
776
- country: T,
777
- remark: S,
778
- allergies: O,
779
- newsMails: z,
780
- roomSelect: D,
781
- roomDisplay: M,
782
- hasValidRoomSelection: G,
754
+ const t = n, { t: e } = me(), {
755
+ templateID: o,
756
+ title: d,
757
+ countries: s,
758
+ areListingsLoading: h,
759
+ isAvailabilityDataAvailable: u,
760
+ isPaymentLoading: p,
761
+ isReservationFormFilled: a,
762
+ selectedPackage: g,
763
+ travelingFor: m,
764
+ arrivalTime: b,
765
+ departureTime: l,
766
+ name: y,
767
+ nameTitle: _,
768
+ email: f,
769
+ phone: i,
770
+ firmName: c,
771
+ postal: v,
772
+ city: E,
773
+ address: T,
774
+ country: S,
775
+ remark: O,
776
+ allergies: B,
777
+ newsMails: U,
778
+ roomSelect: x,
779
+ roomDisplay: q,
780
+ hasValidRoomSelection: X,
783
781
  //canStartReservation,
784
- getSelectedPackageRoom: oe,
785
- availabilityData: le
786
- } = ee(fe()), {
787
- arrivalDate: Vt,
788
- departureDate: Pt
789
- } = ee(gt()), {
782
+ getSelectedPackageRoom: Pe,
783
+ availabilityData: he
784
+ } = te(fe()), {
785
+ arrivalDate: Pt,
786
+ departureDate: St
787
+ } = te(vt()), {
790
788
  currency: Z,
791
- isRecaptchaEnabled: wi,
792
- disableNewsletterSignup: St,
793
- arrivalEarliest: xt,
794
- arrivalLatest: Lt,
795
- departureEarliest: Dt,
796
- departureLatest: Ot,
797
- enableTracking: Ai,
798
- arrivalDefault: Ht,
799
- departureDefault: wt,
800
- enablePackages: Mi,
801
- hideArrivalDepartureInputs: At,
802
- disableArrivalUserSelection: Pe,
789
+ isRecaptchaEnabled: Bi,
790
+ disableNewsletterSignup: xt,
791
+ arrivalEarliest: Lt,
792
+ arrivalLatest: Dt,
793
+ departureEarliest: Ot,
794
+ departureLatest: Ht,
795
+ enableTracking: Mi,
796
+ arrivalDefault: wt,
797
+ departureDefault: At,
798
+ enablePackages: zi,
799
+ hideArrivalDepartureInputs: Bt,
800
+ disableArrivalUserSelection: Se,
803
801
  disableNamePrefix: Mt,
804
- disableDepartureUserSelection: Se,
802
+ disableDepartureUserSelection: xe,
805
803
  disableTravelingFor: zt,
806
- disableCompanyField: Bt
807
- } = ee(ge());
808
- no();
804
+ disableCompanyField: Rt
805
+ } = te(ge());
806
+ ro();
809
807
  const {
810
- initialize: Rt,
811
- createReservation: Wt,
812
- getSingleListing: zi
813
- } = fe(), Nt = J(() => [[
814
- parseInt(xt.value.split(":")[0]),
815
- parseInt(Lt.value.split(":")[0])
816
- ]]), Ut = J(() => [[
817
- parseInt(Dt.value.split(":")[0]),
818
- parseInt(Ot.value.split(":")[0])
808
+ initialize: Wt,
809
+ createReservation: Nt,
810
+ getSingleListing: Ri
811
+ } = fe(), Ut = K(() => ({
812
+ inputBorderWidth: "0px 0px 1px",
813
+ inputBorderRadius: "6px",
814
+ inputBackground: "#f8f8f8",
815
+ inputFontColor: "#6b6b6b",
816
+ ...t.styling
817
+ })), Ft = K(() => [[
818
+ parseInt(Lt.value.split(":")[0]),
819
+ parseInt(Dt.value.split(":")[0])
820
+ ]]), qt = K(() => [[
821
+ parseInt(Ot.value.split(":")[0]),
822
+ parseInt(Ht.value.split(":")[0])
819
823
  ]]);
820
- function Ft() {
821
- t.value = NaN;
824
+ function Gt() {
825
+ o.value = NaN;
822
826
  }
823
- function qt(K) {
824
- K();
827
+ function jt(Q) {
828
+ Q();
825
829
  }
826
- function Gt(K, x) {
827
- Vt.value = new Date(K), Pt.value = new Date(x), location.reload();
830
+ function Yt(Q, L) {
831
+ St.value = new Date(L), Pt.value = new Date(Q), location.reload();
828
832
  }
829
- async function jt(K) {
830
- await Wt(K);
833
+ async function Kt(Q) {
834
+ await Nt(Q);
831
835
  }
832
- function Yt(K) {
833
- K();
836
+ function Qt(Q) {
837
+ Q();
834
838
  }
835
- function Kt() {
836
- m.value === "" && (m.value = Ht.value), _.value === "" && (_.value = wt.value);
839
+ function Jt() {
840
+ b.value === "" && (b.value = wt.value), l.value === "" && (l.value = At.value);
837
841
  }
838
- return Ge(() => {
839
- Rt(), Kt();
840
- }), (K, x) => (I(), H(io, null, {
842
+ return je(() => {
843
+ Wt(), Jt();
844
+ }), (Q, L) => (I(), H(so, null, {
841
845
  default: w(() => [
842
- $(so, {
846
+ $(lo, {
843
847
  id: "fresh-booking-hotel-module",
844
- "access-token": K.accessToken,
848
+ "access-token": Q.accessToken,
845
849
  type: "hotel",
846
- styling: K.styling
850
+ styling: Ut.value
847
851
  }, {
848
852
  default: w(() => [
849
- $(Eo, {
850
- title: r(o),
851
- layout: K.headerLayout
853
+ $(To, {
854
+ title: r(d),
855
+ layout: Q.headerLayout
852
856
  }, {
853
- availability: w(({ next: xe }) => [
854
- $(et, null, {
857
+ availability: w(({ next: Le }) => [
858
+ $(tt, null, {
855
859
  form: w(() => [
856
- b("div", un, [
857
- b("div", dn, [
858
- $(Vo, { booking: !0 })
860
+ k("div", cn, [
861
+ k("div", pn, [
862
+ $(So, { booking: !0 })
859
863
  ]),
860
- r(s) ? (I(), V("div", kn, [
861
- $(he),
862
- $(he),
863
- $(he)
864
- ])) : (I(), V("div", cn, [
865
- r(le).roomGroups.length > 0 ? (I(), V("div", pn, [
866
- isNaN(r(t)) ? (I(), V("div", hn, [
867
- r(le).roomGroups.length > 0 ? (I(), V("div", fn, [
864
+ r(h) ? (I(), V("div", In, [
865
+ $(pe),
866
+ $(pe),
867
+ $(pe)
868
+ ])) : (I(), V("div", hn, [
869
+ r(he).roomGroups.length > 0 ? (I(), V("div", fn, [
870
+ isNaN(r(o)) ? (I(), V("div", mn, [
871
+ r(he).roomGroups.length > 0 ? (I(), V("div", gn, [
868
872
  A("", !0),
869
- b("ul", mn, [
870
- (I(!0), V(U, null, F(r(le).roomGroups, (q, C) => (I(), H(No, {
871
- room: q,
872
- layout: K.layout,
873
+ k("ul", vn, [
874
+ (I(!0), V(N, null, F(r(he).roomGroups, (G, C) => (I(), H(Fo, {
875
+ room: G,
876
+ layout: Q.layout,
873
877
  key: C
874
878
  }, null, 8, ["room", "layout"]))), 128))
875
879
  ])
876
- ])) : (I(), V("div", gn, [
877
- b("span", null, L(r(e)("booking.availability.nothingAvailable")), 1)
880
+ ])) : (I(), V("div", yn, [
881
+ k("span", null, D(r(e)("booking.availability.nothingAvailable")), 1)
878
882
  ]))
879
883
  ])) : A("", !0)
880
- ])) : r(le).nextAvailableDates.length === 0 ? (I(), V("div", vn, [
881
- b("span", null, L(r(e)("booking.availability.nothingAvailable")), 1)
882
- ])) : (I(), V("div", yn, [
883
- b("h2", null, [
884
- $(X, {
884
+ ])) : r(he).nextAvailableDates.length === 0 ? (I(), V("div", bn, [
885
+ k("span", null, D(r(e)("booking.availability.nothingAvailable")), 1)
886
+ ])) : (I(), V("div", _n, [
887
+ k("h2", null, [
888
+ $(ee, {
885
889
  icon: "calendar-circle-exclamation",
886
890
  type: "fal",
887
891
  color: "header"
888
892
  }),
889
- b("span", null, L(r(e)("booking.availability.nextAvailableDates")), 1)
893
+ k("span", null, D(r(e)("booking.availability.nextAvailableDates")), 1)
890
894
  ]),
891
- b("ul", bn, [
892
- (I(!0), V(U, null, F(r(le).nextAvailableDates, (q, C) => (I(), V("li", { key: C }, [
893
- b("h3", {
894
- title: `${r(ce)(q.fromDate)} - ${r(ce)(q.toDate)}`
895
+ k("ul", kn, [
896
+ (I(!0), V(N, null, F(r(he).nextAvailableDates, (G, C) => (I(), V("li", { key: C }, [
897
+ k("h3", {
898
+ title: `${r(de)(G.fromDate)} - ${r(de)(G.toDate)}`
895
899
  }, [
896
- b("span", null, L(`${r(ce)(q.fromDate)} - ${r(ce)(q.toDate)}`), 1)
897
- ], 8, _n),
898
- b("ul", null, [
899
- b("li", null, [
900
- $(X, {
901
- icon: "house",
902
- type: "fal",
903
- color: "header"
904
- }),
905
- b("span", null, L(r(e)("booking.availability.units")) + ": " + L(q.roomCount), 1)
906
- ]),
907
- b("li", null, [
908
- $(X, {
900
+ k("span", null, D(`${r(de)(G.fromDate)} - ${r(de)(G.toDate)}`), 1)
901
+ ], 8, En),
902
+ k("ul", null, [
903
+ A("", !0),
904
+ k("li", null, [
905
+ $(ee, {
909
906
  icon: "money-bill",
910
907
  type: "fal",
911
908
  color: "header"
912
909
  }),
913
- b("span", null, L(r(e)("booking.availability.pricesFrom")) + ": " + L(r(Y)(q.priceStartFrom, r(Z))), 1)
910
+ k("span", null, D(r(e)("booking.availability.pricesFrom")) + ": " + D(r(Y)(G.priceStartFrom, r(Z))), 1)
914
911
  ])
915
912
  ]),
916
913
  $(ye, {
917
914
  label: r(e)("booking.availability.selectDates"),
918
915
  "full-width": "",
919
- onClickEvent: (ve) => Gt(q.fromDate, q.toDate)
916
+ onClickEvent: (ve) => Yt(G.fromDate, G.toDate)
920
917
  }, null, 8, ["label", "onClickEvent"])
921
918
  ]))), 128))
922
919
  ])
@@ -925,69 +922,69 @@ const mn = { id: "booking-availability-listings" }, gn = {
925
922
  ])
926
923
  ]),
927
924
  navigation: w(() => [
928
- isNaN(r(t)) ? (I(), H(ye, {
925
+ isNaN(r(o)) ? (I(), H(ye, {
929
926
  key: 0,
930
927
  label: r(e)("booking.availability.nextButton"),
931
- disabled: !r(G),
928
+ disabled: !r(X),
932
929
  "is-loading": !1,
933
930
  "full-width": "",
934
- onClickEvent: (q) => Yt(xe)
931
+ onClickEvent: (G) => Qt(Le)
935
932
  }, null, 8, ["label", "disabled", "onClickEvent"])) : (I(), H(ye, {
936
933
  key: 1,
937
934
  label: r(e)("booking.reservation.prevButton"),
938
935
  "full-width": "",
939
- onClickEvent: x[0] || (x[0] = (q) => Ft())
936
+ onClickEvent: L[0] || (L[0] = (G) => Gt())
940
937
  }, null, 8, ["label"]))
941
938
  ]),
942
939
  _: 2
943
940
  }, 1024)
944
941
  ]),
945
- reservation: w(({ next: xe, prev: q }) => [
946
- $(et, {
942
+ reservation: w(({ next: Le, prev: G }) => [
943
+ $(tt, {
947
944
  "show-terms-notice": !0,
948
945
  "show-gift-card": !0
949
- }, ft({
946
+ }, mt({
950
947
  form: w(() => [
951
- b("form", En, [
952
- !r(At) && !(r(Pe) && r(Se)) ? (I(), V("ul", {
948
+ k("form", Tn, [
949
+ !r(Bt) && !(r(Se) && r(xe)) ? (I(), V("ul", {
953
950
  key: 0,
954
- class: Ce({ "fresh-booking-split-inputs": !r(Pe) && !r(Se) })
951
+ class: Ce({ "fresh-booking-split-inputs": !r(Se) && !r(xe) })
955
952
  }, [
956
- r(Pe) ? A("", !0) : (I(), V("li", In, [
957
- $(tt, {
958
- modelValue: r(m),
959
- "onUpdate:modelValue": x[1] || (x[1] = (C) => N(m) ? m.value = C : null),
953
+ r(Se) ? A("", !0) : (I(), V("li", Cn, [
954
+ $(ot, {
955
+ modelValue: r(b),
956
+ "onUpdate:modelValue": L[1] || (L[1] = (C) => W(b) ? b.value = C : null),
960
957
  label: r(e)("booking.reservation.arrivalTime"),
961
958
  icon: "hourglass-start",
962
- "hour-range": Nt.value,
959
+ "hour-range": Ft.value,
963
960
  required: ""
964
961
  }, null, 8, ["modelValue", "label", "hour-range"])
965
962
  ])),
966
- r(Se) ? A("", !0) : (I(), V("li", Tn, [
967
- $(tt, {
968
- modelValue: r(_),
969
- "onUpdate:modelValue": x[2] || (x[2] = (C) => N(_) ? _.value = C : null),
963
+ r(xe) ? A("", !0) : (I(), V("li", $n, [
964
+ $(ot, {
965
+ modelValue: r(l),
966
+ "onUpdate:modelValue": L[2] || (L[2] = (C) => W(l) ? l.value = C : null),
970
967
  label: r(e)("booking.reservation.departureTime"),
971
968
  icon: "hourglass-end",
972
- "hour-range": Ut.value,
969
+ "hour-range": qt.value,
973
970
  required: ""
974
971
  }, null, 8, ["modelValue", "label", "hour-range"])
975
972
  ]))
976
973
  ], 2)) : A("", !0),
977
- $(jo, {
978
- modelValue: r(l),
979
- "onUpdate:modelValue": x[3] || (x[3] = (C) => N(l) ? l.value = C : null),
980
- title: r(y),
981
- "onUpdate:title": x[4] || (x[4] = (C) => N(y) ? y.value = C : null),
974
+ $(Ko, {
975
+ modelValue: r(y),
976
+ "onUpdate:modelValue": L[3] || (L[3] = (C) => W(y) ? y.value = C : null),
977
+ title: r(_),
978
+ "onUpdate:title": L[4] || (L[4] = (C) => W(_) ? _.value = C : null),
982
979
  "exclude-title": r(Mt),
983
980
  label: r(e)("booking.reservation.name"),
984
981
  icon: "user-alt",
985
982
  placeholder: r(e)("booking.reservation.namePlaceholder"),
986
983
  required: ""
987
984
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
988
- $(de, {
989
- modelValue: r(k),
990
- "onUpdate:modelValue": x[5] || (x[5] = (C) => N(k) ? k.value = C : null),
985
+ $(ue, {
986
+ modelValue: r(f),
987
+ "onUpdate:modelValue": L[5] || (L[5] = (C) => W(f) ? f.value = C : null),
991
988
  type: "email",
992
989
  name: "email",
993
990
  autocomplete: "email",
@@ -996,18 +993,18 @@ const mn = { id: "booking-availability-listings" }, gn = {
996
993
  placeholder: r(e)("booking.reservation.emailPlaceholder"),
997
994
  required: ""
998
995
  }, null, 8, ["modelValue", "label", "placeholder"]),
999
- r(St) ? A("", !0) : (I(), H(j, {
996
+ r(xt) ? A("", !0) : (I(), H(j, {
1000
997
  key: 1,
1001
- modelValue: r(z),
1002
- "onUpdate:modelValue": x[6] || (x[6] = (C) => N(z) ? z.value = C : null),
998
+ modelValue: r(U),
999
+ "onUpdate:modelValue": L[6] || (L[6] = (C) => W(U) ? U.value = C : null),
1003
1000
  type: "checkbox",
1004
1001
  name: "newsletter",
1005
1002
  label: r(e)("booking.reservation.newsletterSignUp")
1006
1003
  }, null, 8, ["modelValue", "label"])),
1007
- r(Bt) ? A("", !0) : (I(), H(de, {
1004
+ r(Rt) ? A("", !0) : (I(), H(ue, {
1008
1005
  key: 2,
1009
- modelValue: r(i),
1010
- "onUpdate:modelValue": x[7] || (x[7] = (C) => N(i) ? i.value = C : null),
1006
+ modelValue: r(c),
1007
+ "onUpdate:modelValue": L[7] || (L[7] = (C) => W(c) ? c.value = C : null),
1011
1008
  type: "text",
1012
1009
  name: "firm",
1013
1010
  autocomplete: "firm",
@@ -1015,25 +1012,25 @@ const mn = { id: "booking-availability-listings" }, gn = {
1015
1012
  icon: "id-card",
1016
1013
  placeholder: r(e)("booking.reservation.companyNamePlaceholder")
1017
1014
  }, null, 8, ["modelValue", "label", "placeholder"])),
1018
- $(fo, {
1019
- modelValue: r(f),
1020
- "onUpdate:modelValue": x[8] || (x[8] = (C) => N(f) ? f.value = C : null),
1015
+ $(go, {
1016
+ modelValue: r(i),
1017
+ "onUpdate:modelValue": L[8] || (L[8] = (C) => W(i) ? i.value = C : null),
1021
1018
  icon: "phone-office",
1022
1019
  label: r(e)("booking.reservation.phone"),
1023
1020
  placeholder: r(e)("booking.reservation.phonePlaceholder"),
1024
1021
  required: ""
1025
1022
  }, null, 8, ["modelValue", "label", "placeholder"]),
1026
- $(qo, {
1027
- modelValue: r(T),
1028
- "onUpdate:modelValue": x[9] || (x[9] = (C) => N(T) ? T.value = C : null),
1023
+ $(jo, {
1024
+ modelValue: r(S),
1025
+ "onUpdate:modelValue": L[9] || (L[9] = (C) => W(S) ? S.value = C : null),
1029
1026
  label: r(e)("booking.reservation.country"),
1030
1027
  placeholder: r(e)("booking.reservation.countryPlaceholder"),
1031
- options: r(d),
1028
+ options: r(s),
1032
1029
  required: ""
1033
1030
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1034
- $(de, {
1035
- modelValue: r(E),
1036
- "onUpdate:modelValue": x[10] || (x[10] = (C) => N(E) ? E.value = C : null),
1031
+ $(ue, {
1032
+ modelValue: r(T),
1033
+ "onUpdate:modelValue": L[10] || (L[10] = (C) => W(T) ? T.value = C : null),
1037
1034
  type: "textarea",
1038
1035
  name: "address",
1039
1036
  autocomplete: "street-address",
@@ -1042,11 +1039,11 @@ const mn = { id: "booking-availability-listings" }, gn = {
1042
1039
  placeholder: r(e)("booking.reservation.streetAddressPlaceholder"),
1043
1040
  required: ""
1044
1041
  }, null, 8, ["modelValue", "label", "placeholder"]),
1045
- b("ul", Cn, [
1046
- b("li", null, [
1047
- $(de, {
1048
- modelValue: r(c),
1049
- "onUpdate:modelValue": x[11] || (x[11] = (C) => N(c) ? c.value = C : null),
1042
+ k("ul", Vn, [
1043
+ k("li", null, [
1044
+ $(ue, {
1045
+ modelValue: r(v),
1046
+ "onUpdate:modelValue": L[11] || (L[11] = (C) => W(v) ? v.value = C : null),
1050
1047
  type: "text",
1051
1048
  name: "postal",
1052
1049
  autocomplete: "postal-code",
@@ -1056,10 +1053,10 @@ const mn = { id: "booking-availability-listings" }, gn = {
1056
1053
  required: ""
1057
1054
  }, null, 8, ["modelValue", "label", "placeholder"])
1058
1055
  ]),
1059
- b("li", null, [
1060
- $(de, {
1061
- modelValue: r(v),
1062
- "onUpdate:modelValue": x[12] || (x[12] = (C) => N(v) ? v.value = C : null),
1056
+ k("li", null, [
1057
+ $(ue, {
1058
+ modelValue: r(E),
1059
+ "onUpdate:modelValue": L[12] || (L[12] = (C) => W(E) ? E.value = C : null),
1063
1060
  type: "text",
1064
1061
  name: "city",
1065
1062
  autocomplete: "address-level2",
@@ -1070,51 +1067,51 @@ const mn = { id: "booking-availability-listings" }, gn = {
1070
1067
  }, null, 8, ["modelValue", "label", "placeholder"])
1071
1068
  ])
1072
1069
  ]),
1073
- $(de, {
1074
- modelValue: r(S),
1075
- "onUpdate:modelValue": x[13] || (x[13] = (C) => N(S) ? S.value = C : null),
1070
+ $(ue, {
1071
+ modelValue: r(O),
1072
+ "onUpdate:modelValue": L[13] || (L[13] = (C) => W(O) ? O.value = C : null),
1076
1073
  type: "textarea",
1077
1074
  label: `${r(e)("booking.reservation.remark")} (${r(e)("booking.reservation.optional")})`,
1078
1075
  icon: "info-circle",
1079
1076
  placeholder: r(e)("booking.reservation.remarkPlaceholder")
1080
1077
  }, null, 8, ["modelValue", "label", "placeholder"]),
1081
- $(de, {
1082
- modelValue: r(O),
1083
- "onUpdate:modelValue": x[14] || (x[14] = (C) => N(O) ? O.value = C : null),
1078
+ $(ue, {
1079
+ modelValue: r(B),
1080
+ "onUpdate:modelValue": L[14] || (L[14] = (C) => W(B) ? B.value = C : null),
1084
1081
  type: "textarea",
1085
1082
  label: `${r(e)("booking.reservation.allergies")} (${r(e)("booking.reservation.optional")})`,
1086
1083
  icon: "allergies",
1087
1084
  placeholder: r(e)("booking.reservation.allergiesPlaceholder")
1088
1085
  }, null, 8, ["modelValue", "label", "placeholder"]),
1089
- r(zt) ? A("", !0) : (I(), V("div", $n, [
1090
- b("label", Vn, [
1091
- b("span", null, L(r(e)("booking.reservation.purposeOfStay")) + " (" + L(r(e)("booking.reservation.optional")) + ")", 1)
1086
+ r(zt) ? A("", !0) : (I(), V("div", Pn, [
1087
+ k("label", Sn, [
1088
+ k("span", null, D(r(e)("booking.reservation.purposeOfStay")) + " (" + D(r(e)("booking.reservation.optional")) + ")", 1)
1092
1089
  ]),
1093
- b("ul", Pn, [
1094
- b("li", null, [
1090
+ k("ul", xn, [
1091
+ k("li", null, [
1095
1092
  $(j, {
1096
- modelValue: r(g),
1097
- "onUpdate:modelValue": x[15] || (x[15] = (C) => N(g) ? g.value = C : null),
1093
+ modelValue: r(m),
1094
+ "onUpdate:modelValue": L[15] || (L[15] = (C) => W(m) ? m.value = C : null),
1098
1095
  type: "radio",
1099
1096
  name: "travelingFor",
1100
1097
  label: r(e)("booking.reservation.business"),
1101
1098
  val: "Business"
1102
1099
  }, null, 8, ["modelValue", "label"])
1103
1100
  ]),
1104
- b("li", null, [
1101
+ k("li", null, [
1105
1102
  $(j, {
1106
- modelValue: r(g),
1107
- "onUpdate:modelValue": x[16] || (x[16] = (C) => N(g) ? g.value = C : null),
1103
+ modelValue: r(m),
1104
+ "onUpdate:modelValue": L[16] || (L[16] = (C) => W(m) ? m.value = C : null),
1108
1105
  type: "radio",
1109
1106
  name: "travelingFor",
1110
1107
  label: r(e)("booking.reservation.pleasure"),
1111
1108
  val: "Pleasure"
1112
1109
  }, null, 8, ["modelValue", "label"])
1113
1110
  ]),
1114
- b("li", null, [
1111
+ k("li", null, [
1115
1112
  $(j, {
1116
- modelValue: r(g),
1117
- "onUpdate:modelValue": x[17] || (x[17] = (C) => N(g) ? g.value = C : null),
1113
+ modelValue: r(m),
1114
+ "onUpdate:modelValue": L[17] || (L[17] = (C) => W(m) ? m.value = C : null),
1118
1115
  type: "radio",
1119
1116
  name: "travelingFor",
1120
1117
  label: r(e)("booking.reservation.bleasure"),
@@ -1126,115 +1123,115 @@ const mn = { id: "booking-availability-listings" }, gn = {
1126
1123
  ])
1127
1124
  ]),
1128
1125
  navigation: w(() => [
1129
- b("div", null, [
1126
+ k("div", null, [
1130
1127
  $(ye, {
1131
1128
  label: r(e)("general.confirmReservation"),
1132
- disabled: !r(p),
1133
- "is-loading": r(u),
1129
+ disabled: !r(a),
1130
+ "is-loading": r(p),
1134
1131
  "full-width": "",
1135
- onClickEvent: (C) => jt(xe)
1132
+ onClickEvent: (C) => Kt(Le)
1136
1133
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
1137
- b("button", {
1134
+ k("button", {
1138
1135
  class: "konnectio-abort-reservation",
1139
- onClick: ro((C) => qt(q), ["prevent"])
1136
+ onClick: ao((C) => jt(G), ["prevent"])
1140
1137
  }, [
1141
- b("span", null, L(r(e)("general.abortReservation")), 1)
1142
- ], 8, Dn)
1138
+ k("span", null, D(r(e)("general.abortReservation")), 1)
1139
+ ], 8, Hn)
1143
1140
  ])
1144
1141
  ]),
1145
1142
  _: 2
1146
1143
  }, [
1147
- isNaN(r(t)) ? {
1144
+ isNaN(r(o)) ? {
1148
1145
  name: "addons",
1149
1146
  fn: w(() => [
1150
- (I(!0), V(U, null, F(r(M), (C) => (I(), V("li", {
1147
+ (I(!0), V(N, null, F(r(q), (C) => (I(), V("li", {
1151
1148
  key: C.roomGroupID
1152
1149
  }, [
1153
- b("h6", null, [
1154
- b("span", null, L(C.title), 1)
1150
+ k("h6", null, [
1151
+ k("span", null, D(C.title), 1)
1155
1152
  ]),
1156
- (I(!0), V(U, null, F(C.variants, (ve, R) => (I(), V("div", {
1153
+ (I(!0), V(N, null, F(C.variants, (ve, z) => (I(), V("div", {
1157
1154
  key: ve.ratePlanID,
1158
1155
  class: "addons-rate-plans"
1159
1156
  }, [
1160
- (I(!0), V(U, null, F(ve.rooms, (P, Qt) => (I(), V("div", { key: Qt }, [
1161
- b("div", Sn, [
1162
- b("span", null, L(`${ve.name}`), 1),
1163
- b("b", null, [
1164
- $(X, {
1157
+ (I(!0), V(N, null, F(ve.rooms, (P, Xt) => (I(), V("div", { key: Xt }, [
1158
+ k("div", Ln, [
1159
+ k("span", null, D(`${ve.name}`), 1),
1160
+ k("b", null, [
1161
+ $(ee, {
1165
1162
  icon: "male",
1166
1163
  type: "fas",
1167
1164
  color: "font"
1168
1165
  }),
1169
- b("span", null, L(P.adultsCount), 1),
1170
- P.childrenCount > 0 ? (I(), H(X, {
1166
+ k("span", null, D(P.adultsCount), 1),
1167
+ P.childrenCount > 0 ? (I(), H(ee, {
1171
1168
  key: 0,
1172
1169
  icon: "child",
1173
1170
  type: "fas",
1174
1171
  color: "font"
1175
1172
  })) : A("", !0),
1176
- P.childrenCount > 0 ? (I(), V("span", xn, L(P.childrenCount), 1)) : A("", !0)
1173
+ P.childrenCount > 0 ? (I(), V("span", Dn, D(P.childrenCount), 1)) : A("", !0)
1177
1174
  ])
1178
1175
  ]),
1179
- b("ul", Ln, [
1180
- (I(!0), V(U, null, F(C.addons, ({
1176
+ k("ul", On, [
1177
+ (I(!0), V(N, null, F(C.addons, ({
1181
1178
  quantityStrategy: ne,
1182
- id: B,
1179
+ id: M,
1183
1180
  name: ie,
1184
1181
  price: re
1185
- }) => (I(), V("li", { key: B }, [
1182
+ }) => (I(), V("li", { key: M }, [
1186
1183
  ne === r(se).PerPerson ? (I(), H(j, {
1187
1184
  key: 0,
1188
- modelValue: r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B],
1189
- "onUpdate:modelValue": (W) => r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B] = W,
1185
+ modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
1186
+ "onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
1190
1187
  label: ie,
1191
1188
  price: `${r(Y)(re, r(Z))} ${r(e)("general.perPerson")}`
1192
1189
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerChild && P.childrenCount > 0 ? (I(), H(j, {
1193
1190
  key: 1,
1194
- modelValue: r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B],
1195
- "onUpdate:modelValue": (W) => r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B] = W,
1191
+ modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
1192
+ "onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
1196
1193
  label: ie,
1197
1194
  price: `${r(Y)(re, r(Z))} ${r(e)("general.perChild")}`
1198
1195
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerAdult ? (I(), H(j, {
1199
1196
  key: 2,
1200
- modelValue: r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B],
1201
- "onUpdate:modelValue": (W) => r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B] = W,
1197
+ modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
1198
+ "onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
1202
1199
  label: ie,
1203
1200
  price: `${r(Y)(re, r(Z))} ${r(e)("general.perAdult")}`
1204
1201
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerPersonPerNight ? (I(), H(j, {
1205
1202
  key: 3,
1206
- modelValue: r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B],
1207
- "onUpdate:modelValue": (W) => r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B] = W,
1203
+ modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
1204
+ "onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
1208
1205
  label: ie,
1209
1206
  price: `${r(Y)(re, r(Z))} ${r(e)("general.perPersonPerNight")}`
1210
1207
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerAdultPerNight ? (I(), H(j, {
1211
1208
  key: 4,
1212
- modelValue: r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B],
1213
- "onUpdate:modelValue": (W) => r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B] = W,
1209
+ modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
1210
+ "onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
1214
1211
  label: ie,
1215
1212
  price: `${r(Y)(re, r(Z))} ${r(e)("general.perAdultPerNight")}`
1216
1213
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerChildPerNight ? (I(), H(j, {
1217
1214
  key: 5,
1218
- modelValue: r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B],
1219
- "onUpdate:modelValue": (W) => r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B] = W,
1215
+ modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
1216
+ "onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
1220
1217
  label: ie,
1221
1218
  price: `${r(Y)(re, r(Z))} ${r(e)("general.perChildPerNight")}`
1222
1219
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerNight ? (I(), H(j, {
1223
1220
  key: 6,
1224
- modelValue: r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B],
1225
- "onUpdate:modelValue": (W) => r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B] = W,
1221
+ modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
1222
+ "onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
1226
1223
  label: ie,
1227
1224
  price: `${r(Y)(re, r(Z))} ${r(e)("general.perNight")}`
1228
1225
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerUnit ? (I(), H(j, {
1229
1226
  key: 7,
1230
- modelValue: r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B],
1231
- "onUpdate:modelValue": (W) => r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B] = W,
1227
+ modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
1228
+ "onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
1232
1229
  label: ie,
1233
1230
  price: `${r(Y)(re, r(Z))}`
1234
1231
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).OneTimePayment ? (I(), H(j, {
1235
1232
  key: 8,
1236
- modelValue: r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B],
1237
- "onUpdate:modelValue": (W) => r(D)[C.roomGroupID][R].config[P.configIdx].addons[P.roomIdx][B] = W,
1233
+ modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
1234
+ "onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
1238
1235
  label: ie,
1239
1236
  price: `${r(Y)(re, r(Z))}`
1240
1237
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : A("", !0)
@@ -1249,10 +1246,10 @@ const mn = { id: "booking-availability-listings" }, gn = {
1249
1246
  ]), 1024)
1250
1247
  ]),
1251
1248
  payment: w(() => [
1252
- $(mo)
1249
+ $(vo)
1253
1250
  ]),
1254
1251
  confirmation: w(() => [
1255
- $(Io, {
1252
+ $(Co, {
1256
1253
  message: r(e)("booking.confirmation.thankYou")
1257
1254
  }, null, 8, ["message"])
1258
1255
  ]),
@@ -1263,40 +1260,40 @@ const mn = { id: "booking-availability-listings" }, gn = {
1263
1260
  }, 8, ["access-token", "styling"])
1264
1261
  ]),
1265
1262
  fallback: w(() => [
1266
- $(ln)
1263
+ $(dn)
1267
1264
  ]),
1268
1265
  _: 1
1269
1266
  }));
1270
1267
  }
1271
1268
  });
1272
- const Hn = /* @__PURE__ */ pe(On, [["__scopeId", "data-v-dfc98540"]]);
1273
- var bt = { exports: {} }, He = { exports: {} }, we = { exports: {} }, ot;
1274
- function je() {
1275
- return ot || (ot = 1, function(n) {
1276
- (function(e, t) {
1277
- n.exports ? n.exports = t() : e.EvEmitter = t();
1278
- })(typeof window < "u" ? window : vt, function() {
1279
- function e() {
1269
+ const An = /* @__PURE__ */ ce(wn, [["__scopeId", "data-v-9a68bcd7"]]);
1270
+ var _t = { exports: {} }, we = { exports: {} }, Ae = { exports: {} }, nt;
1271
+ function Ye() {
1272
+ return nt || (nt = 1, function(n) {
1273
+ (function(t, e) {
1274
+ n.exports ? n.exports = e() : t.EvEmitter = e();
1275
+ })(typeof window < "u" ? window : yt, function() {
1276
+ function t() {
1280
1277
  }
1281
- var t = e.prototype;
1282
- return t.on = function(o, d) {
1278
+ var e = t.prototype;
1279
+ return e.on = function(o, d) {
1283
1280
  if (!(!o || !d)) {
1284
1281
  var s = this._events = this._events || {}, h = s[o] = s[o] || [];
1285
1282
  return h.indexOf(d) == -1 && h.push(d), this;
1286
1283
  }
1287
- }, t.once = function(o, d) {
1284
+ }, e.once = function(o, d) {
1288
1285
  if (!(!o || !d)) {
1289
1286
  this.on(o, d);
1290
1287
  var s = this._onceEvents = this._onceEvents || {}, h = s[o] = s[o] || {};
1291
1288
  return h[d] = !0, this;
1292
1289
  }
1293
- }, t.off = function(o, d) {
1290
+ }, e.off = function(o, d) {
1294
1291
  var s = this._events && this._events[o];
1295
1292
  if (!(!s || !s.length)) {
1296
1293
  var h = s.indexOf(d);
1297
1294
  return h != -1 && s.splice(h, 1), this;
1298
1295
  }
1299
- }, t.emitEvent = function(o, d) {
1296
+ }, e.emitEvent = function(o, d) {
1300
1297
  var s = this._events && this._events[o];
1301
1298
  if (!(!s || !s.length)) {
1302
1299
  s = s.slice(0), d = d || [];
@@ -1306,27 +1303,27 @@ function je() {
1306
1303
  }
1307
1304
  return this;
1308
1305
  }
1309
- }, t.allOff = function() {
1306
+ }, e.allOff = function() {
1310
1307
  delete this._events, delete this._onceEvents;
1311
- }, e;
1308
+ }, t;
1312
1309
  });
1313
- }(we)), we.exports;
1310
+ }(Ae)), Ae.exports;
1314
1311
  }
1315
- var Ae = { exports: {} };
1312
+ var Be = { exports: {} };
1316
1313
  /*!
1317
1314
  * getSize v2.0.3
1318
1315
  * measure size of elements
1319
1316
  * MIT license
1320
1317
  */
1321
- var nt;
1322
- function Ye() {
1323
- return nt || (nt = 1, function(n) {
1324
- (function(e, t) {
1325
- n.exports ? n.exports = t() : e.getSize = t();
1318
+ var it;
1319
+ function Ke() {
1320
+ return it || (it = 1, function(n) {
1321
+ (function(t, e) {
1322
+ n.exports ? n.exports = e() : t.getSize = e();
1326
1323
  })(window, function() {
1327
- function t(l) {
1328
- var y = parseFloat(l), k = l.indexOf("%") == -1 && !isNaN(y);
1329
- return k && y;
1324
+ function e(l) {
1325
+ var y = parseFloat(l), _ = l.indexOf("%") == -1 && !isNaN(y);
1326
+ return _ && y;
1330
1327
  }
1331
1328
  function o() {
1332
1329
  }
@@ -1355,8 +1352,8 @@ function Ye() {
1355
1352
  outerWidth: 0,
1356
1353
  outerHeight: 0
1357
1354
  }, y = 0; y < h; y++) {
1358
- var k = s[y];
1359
- l[k] = 0;
1355
+ var _ = s[y];
1356
+ l[_] = 0;
1360
1357
  }
1361
1358
  return l;
1362
1359
  }
@@ -1372,40 +1369,40 @@ function Ye() {
1372
1369
  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";
1373
1370
  var y = document.body || document.documentElement;
1374
1371
  y.appendChild(l);
1375
- var k = p(l);
1376
- g = Math.round(t(k.width)) == 200, _.isBoxSizeOuter = g, y.removeChild(l);
1372
+ var _ = p(l);
1373
+ g = Math.round(e(_.width)) == 200, b.isBoxSizeOuter = g, y.removeChild(l);
1377
1374
  }
1378
1375
  }
1379
- function _(l) {
1376
+ function b(l) {
1380
1377
  if (m(), typeof l == "string" && (l = document.querySelector(l)), !(!l || typeof l != "object" || !l.nodeType)) {
1381
1378
  var y = p(l);
1382
1379
  if (y.display == "none")
1383
1380
  return u();
1384
- var k = {};
1385
- k.width = l.offsetWidth, k.height = l.offsetHeight;
1386
- for (var f = k.isBorderBox = y.boxSizing == "border-box", i = 0; i < h; i++) {
1381
+ var _ = {};
1382
+ _.width = l.offsetWidth, _.height = l.offsetHeight;
1383
+ for (var f = _.isBorderBox = y.boxSizing == "border-box", i = 0; i < h; i++) {
1387
1384
  var c = s[i], v = y[c], E = parseFloat(v);
1388
- k[c] = isNaN(E) ? 0 : E;
1385
+ _[c] = isNaN(E) ? 0 : E;
1389
1386
  }
1390
- 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);
1391
- oe !== !1 && (k.width = oe + // add padding and border unless it's already including it
1392
- (G ? 0 : T + D));
1393
- var le = t(y.height);
1394
- return le !== !1 && (k.height = le + // add padding and border unless it's already including it
1395
- (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;
1387
+ var T = _.paddingLeft + _.paddingRight, S = _.paddingTop + _.paddingBottom, O = _.marginLeft + _.marginRight, B = _.marginTop + _.marginBottom, U = _.borderLeftWidth + _.borderRightWidth, x = _.borderTopWidth + _.borderBottomWidth, q = f && g, X = e(y.width);
1388
+ X !== !1 && (_.width = X + // add padding and border unless it's already including it
1389
+ (q ? 0 : T + U));
1390
+ var Pe = e(y.height);
1391
+ return Pe !== !1 && (_.height = Pe + // add padding and border unless it's already including it
1392
+ (q ? 0 : S + x)), _.innerWidth = _.width - (T + U), _.innerHeight = _.height - (S + x), _.outerWidth = _.width + O, _.outerHeight = _.height + B, _;
1396
1393
  }
1397
1394
  }
1398
- return _;
1395
+ return b;
1399
1396
  });
1400
- }(Ae)), Ae.exports;
1397
+ }(Be)), Be.exports;
1401
1398
  }
1402
- var Me = { exports: {} }, ze = { exports: {} }, it;
1403
- function wn() {
1404
- return it || (it = 1, function(n) {
1405
- (function(e, t) {
1406
- n.exports ? n.exports = t() : e.matchesSelector = t();
1399
+ var Me = { exports: {} }, ze = { exports: {} }, rt;
1400
+ function Bn() {
1401
+ return rt || (rt = 1, function(n) {
1402
+ (function(t, e) {
1403
+ n.exports ? n.exports = e() : t.matchesSelector = e();
1407
1404
  })(window, function() {
1408
- var t = function() {
1405
+ var e = function() {
1409
1406
  var o = window.Element.prototype;
1410
1407
  if (o.matches)
1411
1408
  return "matches";
@@ -1418,23 +1415,23 @@ function wn() {
1418
1415
  }
1419
1416
  }();
1420
1417
  return function(d, s) {
1421
- return d[t](s);
1418
+ return d[e](s);
1422
1419
  };
1423
1420
  });
1424
1421
  }(ze)), ze.exports;
1425
1422
  }
1426
- var rt;
1427
- function An() {
1428
- return rt || (rt = 1, function(n) {
1429
- (function(e, t) {
1430
- n.exports ? n.exports = t(
1431
- e,
1432
- wn()
1433
- ) : e.fizzyUIUtils = t(
1434
- e,
1435
- e.matchesSelector
1423
+ var st;
1424
+ function Mn() {
1425
+ return st || (st = 1, function(n) {
1426
+ (function(t, e) {
1427
+ n.exports ? n.exports = e(
1428
+ t,
1429
+ Bn()
1430
+ ) : t.fizzyUIUtils = e(
1431
+ t,
1432
+ t.matchesSelector
1436
1433
  );
1437
- })(window, function(t, o) {
1434
+ })(window, function(e, o) {
1438
1435
  var d = {};
1439
1436
  d.extend = function(u, p) {
1440
1437
  for (var a in p)
@@ -1473,16 +1470,16 @@ function An() {
1473
1470
  return;
1474
1471
  }
1475
1472
  o(g, p) && a.push(g);
1476
- for (var m = g.querySelectorAll(p), _ = 0; _ < m.length; _++)
1477
- a.push(m[_]);
1473
+ for (var m = g.querySelectorAll(p), b = 0; b < m.length; b++)
1474
+ a.push(m[b]);
1478
1475
  }
1479
1476
  }), a;
1480
1477
  }, d.debounceMethod = function(u, p, a) {
1481
1478
  a = a || 100;
1482
1479
  var g = u.prototype[p], m = p + "Timeout";
1483
1480
  u.prototype[p] = function() {
1484
- var _ = this[m];
1485
- clearTimeout(_);
1481
+ var b = this[m];
1482
+ clearTimeout(b);
1486
1483
  var l = arguments, y = this;
1487
1484
  this[m] = setTimeout(function() {
1488
1485
  g.apply(y, l), delete y[m];
@@ -1496,10 +1493,10 @@ function An() {
1496
1493
  return a + "-" + g;
1497
1494
  }).toLowerCase();
1498
1495
  };
1499
- var h = t.console;
1496
+ var h = e.console;
1500
1497
  return d.htmlInit = function(u, p) {
1501
1498
  d.docReady(function() {
1502
- 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;
1499
+ var a = d.toDashed(p), g = "data-" + a, m = document.querySelectorAll("[" + g + "]"), b = document.querySelectorAll(".js-" + a), l = d.makeArray(m).concat(d.makeArray(b)), y = g + "-options", _ = e.jQuery;
1503
1500
  l.forEach(function(f) {
1504
1501
  var i = f.getAttribute(g) || f.getAttribute(y), c;
1505
1502
  try {
@@ -1509,25 +1506,25 @@ function An() {
1509
1506
  return;
1510
1507
  }
1511
1508
  var v = new u(f, c);
1512
- k && k.data(f, p, v);
1509
+ _ && _.data(f, p, v);
1513
1510
  });
1514
1511
  });
1515
1512
  }, d;
1516
1513
  });
1517
1514
  }(Me)), Me.exports;
1518
1515
  }
1519
- var Be = { exports: {} }, st;
1520
- function Mn() {
1521
- return st || (st = 1, function(n) {
1522
- (function(e, t) {
1523
- n.exports ? n.exports = t(
1524
- je(),
1525
- Ye()
1526
- ) : (e.Outlayer = {}, e.Outlayer.Item = t(
1527
- e.EvEmitter,
1528
- e.getSize
1516
+ var Re = { exports: {} }, at;
1517
+ function zn() {
1518
+ return at || (at = 1, function(n) {
1519
+ (function(t, e) {
1520
+ n.exports ? n.exports = e(
1521
+ Ye(),
1522
+ Ke()
1523
+ ) : (t.Outlayer = {}, t.Outlayer.Item = e(
1524
+ t.EvEmitter,
1525
+ t.getSize
1529
1526
  ));
1530
- })(window, function(t, o) {
1527
+ })(window, function(e, o) {
1531
1528
  function d(f) {
1532
1529
  for (var i in f)
1533
1530
  return !1;
@@ -1549,7 +1546,7 @@ function Mn() {
1549
1546
  y: 0
1550
1547
  }, this._create());
1551
1548
  }
1552
- var m = g.prototype = Object.create(t.prototype);
1549
+ var m = g.prototype = Object.create(e.prototype);
1553
1550
  m.constructor = g, m._create = function() {
1554
1551
  this._transn = {
1555
1552
  ingProperties: {},
@@ -1575,8 +1572,8 @@ function Mn() {
1575
1572
  }, m.layoutPosition = function() {
1576
1573
  var f = this.layout.size, i = {}, 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];
1577
1574
  i[T] = this.getXValue(O), i[S] = "";
1578
- var z = v ? "paddingTop" : "paddingBottom", D = v ? "top" : "bottom", M = v ? "bottom" : "top", G = this.position.y + f[z];
1579
- i[D] = this.getYValue(G), i[M] = "", this.css(i), this.emitEvent("layout", [this]);
1575
+ var B = v ? "paddingTop" : "paddingBottom", U = v ? "top" : "bottom", x = v ? "bottom" : "top", q = this.position.y + f[B];
1576
+ i[U] = this.getYValue(q), i[x] = "", this.css(i), this.emitEvent("layout", [this]);
1580
1577
  }, m.getXValue = function(f) {
1581
1578
  var i = this.layout._getOption("horizontal");
1582
1579
  return this.layout.options.percentPosition && !i ? f / this.layout.size.width * 100 + "%" : f + "px";
@@ -1621,12 +1618,12 @@ function Mn() {
1621
1618
  i.ingProperties[c] = !0, f.isCleaning && (i.clean[c] = !0);
1622
1619
  f.from && (this.css(f.from), this.element.offsetHeight), this.enableTransition(f.to), this.css(f.to), this.isTransitioning = !0;
1623
1620
  };
1624
- function _(f) {
1621
+ function b(f) {
1625
1622
  return f.replace(/([A-Z])/g, function(i) {
1626
1623
  return "-" + i.toLowerCase();
1627
1624
  });
1628
1625
  }
1629
- var l = "opacity," + _(u);
1626
+ var l = "opacity," + b(u);
1630
1627
  m.enableTransition = function() {
1631
1628
  if (!this.isTransitioning) {
1632
1629
  var f = this.layout.options.transitionDuration;
@@ -1661,13 +1658,13 @@ function Mn() {
1661
1658
  i[c] = "";
1662
1659
  this.css(i);
1663
1660
  };
1664
- var k = {
1661
+ var _ = {
1665
1662
  transitionProperty: "",
1666
1663
  transitionDuration: "",
1667
1664
  transitionDelay: ""
1668
1665
  };
1669
1666
  return m.removeTransitionStyles = function() {
1670
- this.css(k);
1667
+ this.css(_);
1671
1668
  }, m.stagger = function(f) {
1672
1669
  f = isNaN(f) ? 0 : f, this.staggerDelay = f + "ms";
1673
1670
  }, m.removeElem = function() {
@@ -1721,34 +1718,34 @@ function Mn() {
1721
1718
  });
1722
1719
  }, g;
1723
1720
  });
1724
- }(Be)), Be.exports;
1721
+ }(Re)), Re.exports;
1725
1722
  }
1726
1723
  /*!
1727
1724
  * Outlayer v2.1.1
1728
1725
  * the brains and guts of a layout library
1729
1726
  * MIT license
1730
1727
  */
1731
- var at;
1732
- function zn() {
1733
- return at || (at = 1, function(n) {
1734
- (function(e, t) {
1735
- n.exports ? n.exports = t(
1736
- e,
1737
- je(),
1728
+ var lt;
1729
+ function Rn() {
1730
+ return lt || (lt = 1, function(n) {
1731
+ (function(t, e) {
1732
+ n.exports ? n.exports = e(
1733
+ t,
1738
1734
  Ye(),
1739
- An(),
1740
- Mn()
1741
- ) : e.Outlayer = t(
1742
- e,
1743
- e.EvEmitter,
1744
- e.getSize,
1745
- e.fizzyUIUtils,
1746
- e.Outlayer.Item
1735
+ Ke(),
1736
+ Mn(),
1737
+ zn()
1738
+ ) : t.Outlayer = e(
1739
+ t,
1740
+ t.EvEmitter,
1741
+ t.getSize,
1742
+ t.fizzyUIUtils,
1743
+ t.Outlayer.Item
1747
1744
  );
1748
- })(window, function(t, o, d, s, h) {
1749
- var u = t.console, p = t.jQuery, a = function() {
1745
+ })(window, function(e, o, d, s, h) {
1746
+ var u = e.console, p = e.jQuery, a = function() {
1750
1747
  }, g = 0, m = {};
1751
- function _(i, c) {
1748
+ function b(i, c) {
1752
1749
  var v = s.getQueryElement(i);
1753
1750
  if (!v) {
1754
1751
  u && u.error("Bad element for " + this.constructor.namespace + ": " + (v || i));
@@ -1760,7 +1757,7 @@ function zn() {
1760
1757
  var T = this._getOption("initLayout");
1761
1758
  T && this.layout();
1762
1759
  }
1763
- _.namespace = "outlayer", _.Item = h, _.defaults = {
1760
+ b.namespace = "outlayer", b.Item = h, b.defaults = {
1764
1761
  containerStyle: {
1765
1762
  position: "relative"
1766
1763
  },
@@ -1780,13 +1777,13 @@ function zn() {
1780
1777
  transform: "scale(1)"
1781
1778
  }
1782
1779
  };
1783
- var l = _.prototype;
1780
+ var l = b.prototype;
1784
1781
  s.extend(l, o.prototype), l.option = function(i) {
1785
1782
  s.extend(this.options, i);
1786
1783
  }, l._getOption = function(i) {
1787
1784
  var c = this.constructor.compatOptions[i];
1788
1785
  return c && this.options[c] !== void 0 ? this.options[c] : this.options[i];
1789
- }, _.compatOptions = {
1786
+ }, b.compatOptions = {
1790
1787
  // currentName: oldName
1791
1788
  initLayout: "isInitLayout",
1792
1789
  horizontal: "isHorizontal",
@@ -1883,8 +1880,8 @@ function zn() {
1883
1880
  function O() {
1884
1881
  S++, S == T && E();
1885
1882
  }
1886
- c.forEach(function(z) {
1887
- z.once(i, O);
1883
+ c.forEach(function(B) {
1884
+ B.once(i, O);
1888
1885
  });
1889
1886
  }, l.dispatchEvent = function(i, c, v) {
1890
1887
  var E = c ? [c].concat(v) : v;
@@ -1928,12 +1925,12 @@ function zn() {
1928
1925
  };
1929
1926
  return T;
1930
1927
  }, l.handleEvent = s.handleEvent, l.bindResize = function() {
1931
- t.addEventListener("resize", this), this.isResizeBound = !0;
1928
+ e.addEventListener("resize", this), this.isResizeBound = !0;
1932
1929
  }, l.unbindResize = function() {
1933
- t.removeEventListener("resize", this), this.isResizeBound = !1;
1930
+ e.removeEventListener("resize", this), this.isResizeBound = !1;
1934
1931
  }, l.onresize = function() {
1935
1932
  this.resize();
1936
- }, s.debounceMethod(_, "onresize", 100), l.resize = function() {
1933
+ }, s.debounceMethod(b, "onresize", 100), l.resize = function() {
1937
1934
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
1938
1935
  }, l.needsResizeLayout = function() {
1939
1936
  var i = d(this.element), c = this.size && i;
@@ -1995,13 +1992,13 @@ function zn() {
1995
1992
  }), this.unbindResize();
1996
1993
  var c = this.element.outlayerGUID;
1997
1994
  delete m[c], delete this.element.outlayerGUID, p && p.removeData(this.element, this.constructor.namespace);
1998
- }, _.data = function(i) {
1995
+ }, b.data = function(i) {
1999
1996
  i = s.getQueryElement(i);
2000
1997
  var c = i && i.outlayerGUID;
2001
1998
  return c && m[c];
2002
- }, _.create = function(i, c) {
2003
- var v = y(_);
2004
- return v.defaults = s.extend({}, _.defaults), s.extend(v.defaults, c), v.compatOptions = s.extend({}, _.compatOptions), v.namespace = i, v.data = _.data, v.Item = y(h), s.htmlInit(v, i), p && p.bridget && p.bridget(i, v), v;
1999
+ }, b.create = function(i, c) {
2000
+ var v = y(b);
2001
+ return v.defaults = s.extend({}, b.defaults), s.extend(v.defaults, c), v.compatOptions = s.extend({}, b.compatOptions), v.namespace = i, v.data = b.data, v.Item = y(h), s.htmlInit(v, i), p && p.bridget && p.bridget(i, v), v;
2005
2002
  };
2006
2003
  function y(i) {
2007
2004
  function c() {
@@ -2009,7 +2006,7 @@ function zn() {
2009
2006
  }
2010
2007
  return c.prototype = Object.create(i.prototype), c.prototype.constructor = c, c;
2011
2008
  }
2012
- var k = {
2009
+ var _ = {
2013
2010
  ms: 1,
2014
2011
  s: 1e3
2015
2012
  };
@@ -2020,12 +2017,12 @@ function zn() {
2020
2017
  if (!v.length)
2021
2018
  return 0;
2022
2019
  v = parseFloat(v);
2023
- var T = k[E] || 1;
2020
+ var T = _[E] || 1;
2024
2021
  return v * T;
2025
2022
  }
2026
- return _.Item = h, _;
2023
+ return b.Item = h, b;
2027
2024
  });
2028
- }(He)), He.exports;
2025
+ }(we)), we.exports;
2029
2026
  }
2030
2027
  /*!
2031
2028
  * Masonry v4.2.2
@@ -2035,16 +2032,16 @@ function zn() {
2035
2032
  * by David DeSandro
2036
2033
  */
2037
2034
  (function(n) {
2038
- (function(e, t) {
2039
- n.exports ? n.exports = t(
2040
- zn(),
2041
- Ye()
2042
- ) : e.Masonry = t(
2043
- e.Outlayer,
2044
- e.getSize
2035
+ (function(t, e) {
2036
+ n.exports ? n.exports = e(
2037
+ Rn(),
2038
+ Ke()
2039
+ ) : t.Masonry = e(
2040
+ t.Outlayer,
2041
+ t.getSize
2045
2042
  );
2046
- })(window, function(t, o) {
2047
- var d = t.create("masonry");
2043
+ })(window, function(e, o) {
2044
+ var d = e.create("masonry");
2048
2045
  d.compatOptions.fitWidth = "isFitWidth";
2049
2046
  var s = d.prototype;
2050
2047
  return s._resetLayout = function() {
@@ -2058,8 +2055,8 @@ function zn() {
2058
2055
  this.columnWidth = u && o(u).outerWidth || // if first elem has no width, default to size of container
2059
2056
  this.containerWidth;
2060
2057
  }
2061
- var p = this.columnWidth += this.gutter, a = this.containerWidth + this.gutter, g = a / p, m = p - a % p, _ = m && m < 1 ? "round" : "floor";
2062
- g = Math[_](g), this.cols = Math.max(g, 1);
2058
+ var p = this.columnWidth += this.gutter, a = this.containerWidth + this.gutter, g = a / p, m = p - a % p, b = m && m < 1 ? "round" : "floor";
2059
+ g = Math[b](g), this.cols = Math.max(g, 1);
2063
2060
  }, s.getContainerWidth = function() {
2064
2061
  var h = this._getOption("fitWidth"), u = h ? this.element.parentNode : this.element, p = o(u);
2065
2062
  this.containerWidth = p && p.innerWidth;
@@ -2067,12 +2064,12 @@ function zn() {
2067
2064
  h.getSize();
2068
2065
  var u = h.size.outerWidth % this.columnWidth, p = u && u < 1 ? "round" : "ceil", a = Math[p](h.size.outerWidth / this.columnWidth);
2069
2066
  a = Math.min(a, this.cols);
2070
- for (var g = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[g](a, h), _ = {
2067
+ for (var g = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[g](a, h), b = {
2071
2068
  x: this.columnWidth * m.col,
2072
2069
  y: m.y
2073
- }, l = m.y + h.size.outerHeight, y = a + m.col, k = m.col; k < y; k++)
2074
- this.colYs[k] = l;
2075
- return _;
2070
+ }, l = m.y + h.size.outerHeight, y = a + m.col, _ = m.col; _ < y; _++)
2071
+ this.colYs[_] = l;
2072
+ return b;
2076
2073
  }, s._getTopColPosition = function(h) {
2077
2074
  var u = this._getTopColGroup(h), p = Math.min.apply(Math, u);
2078
2075
  return {
@@ -2099,12 +2096,12 @@ function zn() {
2099
2096
  y: this._getColGroupY(p, h)
2100
2097
  };
2101
2098
  }, s._manageStamp = function(h) {
2102
- 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);
2103
- _ = Math.max(0, _);
2099
+ var u = o(h), p = this._getElementOffset(h), a = this._getOption("originLeft"), g = a ? p.left : p.right, m = g + u.outerWidth, b = Math.floor(g / this.columnWidth);
2100
+ b = Math.max(0, b);
2104
2101
  var l = Math.floor(m / this.columnWidth);
2105
2102
  l -= m % this.columnWidth ? 0 : 1, l = Math.min(this.cols - 1, l);
2106
- for (var y = this._getOption("originTop"), k = (y ? p.top : p.bottom) + u.outerHeight, f = _; f <= l; f++)
2107
- this.colYs[f] = Math.max(k, this.colYs[f]);
2103
+ for (var y = this._getOption("originTop"), _ = (y ? p.top : p.bottom) + u.outerHeight, f = b; f <= l; f++)
2104
+ this.colYs[f] = Math.max(_, this.colYs[f]);
2108
2105
  }, s._getContainerSize = function() {
2109
2106
  this.maxY = Math.max.apply(Math, this.colYs);
2110
2107
  var h = {
@@ -2120,32 +2117,32 @@ function zn() {
2120
2117
  return this.getContainerWidth(), h != this.containerWidth;
2121
2118
  }, d;
2122
2119
  });
2123
- })(bt);
2124
- var Bn = bt.exports;
2125
- const lt = /* @__PURE__ */ yt(Bn);
2126
- var _t = { exports: {} };
2120
+ })(_t);
2121
+ var Wn = _t.exports;
2122
+ const ut = /* @__PURE__ */ bt(Wn);
2123
+ var kt = { exports: {} };
2127
2124
  /*!
2128
2125
  * imagesLoaded v4.1.4
2129
2126
  * JavaScript is all like "You images are done yet or what?"
2130
2127
  * MIT License
2131
2128
  */
2132
2129
  (function(n) {
2133
- (function(e, t) {
2134
- n.exports ? n.exports = t(
2135
- e,
2136
- je()
2137
- ) : e.imagesLoaded = t(
2138
- e,
2139
- e.EvEmitter
2130
+ (function(t, e) {
2131
+ n.exports ? n.exports = e(
2132
+ t,
2133
+ Ye()
2134
+ ) : t.imagesLoaded = e(
2135
+ t,
2136
+ t.EvEmitter
2140
2137
  );
2141
2138
  })(
2142
- typeof window < "u" ? window : vt,
2139
+ typeof window < "u" ? window : yt,
2143
2140
  // -------------------------- factory -------------------------- //
2144
- function(t, o) {
2145
- var d = t.jQuery, s = t.console;
2141
+ function(e, o) {
2142
+ var d = e.jQuery, s = e.console;
2146
2143
  function h(l, y) {
2147
- for (var k in y)
2148
- l[k] = y[k];
2144
+ for (var _ in y)
2145
+ l[_] = y[_];
2149
2146
  return l;
2150
2147
  }
2151
2148
  var u = Array.prototype.slice;
@@ -2155,15 +2152,15 @@ var _t = { exports: {} };
2155
2152
  var y = typeof l == "object" && typeof l.length == "number";
2156
2153
  return y ? u.call(l) : [l];
2157
2154
  }
2158
- function a(l, y, k) {
2155
+ function a(l, y, _) {
2159
2156
  if (!(this instanceof a))
2160
- return new a(l, y, k);
2157
+ return new a(l, y, _);
2161
2158
  var f = l;
2162
2159
  if (typeof l == "string" && (f = document.querySelectorAll(l)), !f) {
2163
2160
  s.error("Bad element for imagesLoaded " + (f || l));
2164
2161
  return;
2165
2162
  }
2166
- 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));
2163
+ this.elements = p(f), this.options = h({}, this.options), typeof y == "function" ? _ = y : h(this.options, y), _ && this.on("always", _), this.getImages(), d && (this.jqDeferred = new d.Deferred()), setTimeout(this.check.bind(this));
2167
2164
  }
2168
2165
  a.prototype = Object.create(o.prototype), a.prototype.options = {}, a.prototype.getImages = function() {
2169
2166
  this.images = [], this.elements.forEach(this.addElementImages, this);
@@ -2171,8 +2168,8 @@ var _t = { exports: {} };
2171
2168
  l.nodeName == "IMG" && this.addImage(l), this.options.background === !0 && this.addElementBackgroundImages(l);
2172
2169
  var y = l.nodeType;
2173
2170
  if (!(!y || !g[y])) {
2174
- for (var k = l.querySelectorAll("img"), f = 0; f < k.length; f++) {
2175
- var i = k[f];
2171
+ for (var _ = l.querySelectorAll("img"), f = 0; f < _.length; f++) {
2172
+ var i = _[f];
2176
2173
  this.addImage(i);
2177
2174
  }
2178
2175
  if (typeof this.options.background == "string") {
@@ -2192,32 +2189,32 @@ var _t = { exports: {} };
2192
2189
  a.prototype.addElementBackgroundImages = function(l) {
2193
2190
  var y = getComputedStyle(l);
2194
2191
  if (y)
2195
- for (var k = /url\((['"])?(.*?)\1\)/gi, f = k.exec(y.backgroundImage); f !== null; ) {
2192
+ for (var _ = /url\((['"])?(.*?)\1\)/gi, f = _.exec(y.backgroundImage); f !== null; ) {
2196
2193
  var i = f && f[2];
2197
- i && this.addBackground(i, l), f = k.exec(y.backgroundImage);
2194
+ i && this.addBackground(i, l), f = _.exec(y.backgroundImage);
2198
2195
  }
2199
2196
  }, a.prototype.addImage = function(l) {
2200
2197
  var y = new m(l);
2201
2198
  this.images.push(y);
2202
2199
  }, a.prototype.addBackground = function(l, y) {
2203
- var k = new _(l, y);
2204
- this.images.push(k);
2200
+ var _ = new b(l, y);
2201
+ this.images.push(_);
2205
2202
  }, a.prototype.check = function() {
2206
2203
  var l = this;
2207
2204
  if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
2208
2205
  this.complete();
2209
2206
  return;
2210
2207
  }
2211
- function y(k, f, i) {
2208
+ function y(_, f, i) {
2212
2209
  setTimeout(function() {
2213
- l.progress(k, f, i);
2210
+ l.progress(_, f, i);
2214
2211
  });
2215
2212
  }
2216
- this.images.forEach(function(k) {
2217
- k.once("progress", y), k.check();
2213
+ this.images.forEach(function(_) {
2214
+ _.once("progress", y), _.check();
2218
2215
  });
2219
- }, a.prototype.progress = function(l, y, k) {
2220
- 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);
2216
+ }, a.prototype.progress = function(l, y, _) {
2217
+ 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: " + _, l, y);
2221
2218
  }, a.prototype.complete = function() {
2222
2219
  var l = this.hasAnyBroken ? "fail" : "done";
2223
2220
  if (this.isComplete = !0, this.emitEvent(l, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
@@ -2249,41 +2246,41 @@ var _t = { exports: {} };
2249
2246
  }, m.prototype.unbindEvents = function() {
2250
2247
  this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2251
2248
  };
2252
- function _(l, y) {
2249
+ function b(l, y) {
2253
2250
  this.url = l, this.element = y, this.img = new Image();
2254
2251
  }
2255
- return _.prototype = Object.create(m.prototype), _.prototype.check = function() {
2252
+ return b.prototype = Object.create(m.prototype), b.prototype.check = function() {
2256
2253
  this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
2257
2254
  var l = this.getIsImageComplete();
2258
2255
  l && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
2259
- }, _.prototype.unbindEvents = function() {
2256
+ }, b.prototype.unbindEvents = function() {
2260
2257
  this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2261
- }, _.prototype.confirm = function(l, y) {
2258
+ }, b.prototype.confirm = function(l, y) {
2262
2259
  this.isLoaded = l, this.emitEvent("progress", [this, this.element, y]);
2263
2260
  }, a.makeJQueryPlugin = function(l) {
2264
- l = l || t.jQuery, l && (d = l, d.fn.imagesLoaded = function(y, k) {
2265
- var f = new a(this, y, k);
2261
+ l = l || e.jQuery, l && (d = l, d.fn.imagesLoaded = function(y, _) {
2262
+ var f = new a(this, y, _);
2266
2263
  return f.jqDeferred.promise(d(this));
2267
2264
  });
2268
2265
  }, a.makeJQueryPlugin(), a;
2269
2266
  }
2270
2267
  );
2271
- })(_t);
2272
- var Rn = _t.exports;
2273
- const Wn = /* @__PURE__ */ yt(Rn);
2274
- function Nn(n) {
2275
- return { all: n = n || /* @__PURE__ */ new Map(), on: function(e, t) {
2276
- var o = n.get(e);
2277
- o ? o.push(t) : n.set(e, [t]);
2278
- }, off: function(e, t) {
2279
- var o = n.get(e);
2280
- o && (t ? o.splice(o.indexOf(t) >>> 0, 1) : n.set(e, []));
2281
- }, emit: function(e, t) {
2282
- var o = n.get(e);
2268
+ })(kt);
2269
+ var Nn = kt.exports;
2270
+ const Un = /* @__PURE__ */ bt(Nn);
2271
+ function Fn(n) {
2272
+ return { all: n = n || /* @__PURE__ */ new Map(), on: function(t, e) {
2273
+ var o = n.get(t);
2274
+ o ? o.push(e) : n.set(t, [e]);
2275
+ }, off: function(t, e) {
2276
+ var o = n.get(t);
2277
+ o && (e ? o.splice(o.indexOf(e) >>> 0, 1) : n.set(t, []));
2278
+ }, emit: function(t, e) {
2279
+ var o = n.get(t);
2283
2280
  o && o.slice().map(function(d) {
2284
- d(t);
2281
+ d(e);
2285
2282
  }), (o = n.get("*")) && o.slice().map(function(d) {
2286
- d(e, t);
2283
+ d(t, e);
2287
2284
  });
2288
2285
  } };
2289
2286
  }
@@ -2300,58 +2297,58 @@ const be = {
2300
2297
  "horizontal-order": "horizontalOrder",
2301
2298
  stagger: "stagger",
2302
2299
  "destroy-delay": "destroyDelay"
2303
- }, _e = "vuemasonry.itemAdded", Re = "vuemasonry.itemRemoved", We = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy", Un = function(n) {
2300
+ }, _e = "vuemasonry.itemAdded", We = "vuemasonry.itemRemoved", Ne = "vuemasonry.imageLoaded", Ue = "vuemasonry.destroy", qn = function(n) {
2304
2301
  return (n + "").toLowerCase() === "true";
2305
- }, Fn = function(n) {
2302
+ }, Gn = function(n) {
2306
2303
  return isNaN(n) ? n : parseInt(n);
2307
- }, qn = function(n) {
2308
- const e = {};
2304
+ }, jn = function(n) {
2305
+ const t = {};
2309
2306
  return Array.prototype.slice.call(n).forEach(function(o) {
2310
- Object.keys(be).indexOf(o.name) > -1 && (o.name.indexOf("origin") > -1 ? e[be[o.name]] = Un(o.value) : o.name === "column-width" || o.name === "gutter" ? e[be[o.name]] = Fn(o.value) : e[be[o.name]] = o.value);
2311
- }), e;
2312
- }, kt = {};
2313
- kt.install = function(n, e) {
2314
- const t = Nn(), o = "VueMasonry", d = n;
2307
+ Object.keys(be).indexOf(o.name) > -1 && (o.name.indexOf("origin") > -1 ? t[be[o.name]] = qn(o.value) : o.name === "column-width" || o.name === "gutter" ? t[be[o.name]] = Gn(o.value) : t[be[o.name]] = o.value);
2308
+ }), t;
2309
+ }, Et = {};
2310
+ Et.install = function(n, t) {
2311
+ const e = Fn(), o = "VueMasonry", d = n;
2315
2312
  d.directive("masonry", {
2316
2313
  props: ["transitionDuration", " itemSelector", "destroyDelay"],
2317
2314
  mounted: function(s, h) {
2318
- if (!lt)
2315
+ if (!ut)
2319
2316
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
2320
- const u = qn(s.attributes), p = new lt(s, u), a = h.value || o, g = u.destroyDelay ? parseInt(u.destroyDelay, 10) : void 0, m = function() {
2317
+ const u = jn(s.attributes), p = new ut(s, u), a = h.value || o, g = u.destroyDelay ? parseInt(u.destroyDelay, 10) : void 0, m = function() {
2321
2318
  p.reloadItems(), p.layout();
2322
2319
  };
2323
- mt(() => {
2320
+ gt(() => {
2324
2321
  m();
2325
2322
  });
2326
- const _ = function(y) {
2323
+ const b = function(y) {
2327
2324
  m();
2328
2325
  }, l = function(y) {
2329
- t["off"](`${_e}__${a}`, _), t["off"](`${Re}__${a}`, _), t["off"](`${We}__${a}`, _), t["off"](`${Ne}__${a}`, l);
2330
- const k = g && !Number.isNaN(g) ? g : 0;
2326
+ e["off"](`${_e}__${a}`, b), e["off"](`${We}__${a}`, b), e["off"](`${Ne}__${a}`, b), e["off"](`${Ue}__${a}`, l);
2327
+ const _ = g && !Number.isNaN(g) ? g : 0;
2331
2328
  setTimeout(function() {
2332
2329
  p.destroy();
2333
- }, k);
2330
+ }, _);
2334
2331
  };
2335
- t["on"](`${_e}__${a}`, _), t["on"](`${Re}__${a}`, _), t["on"](`${We}__${a}`, _), t["on"](`${Ne}__${a}`, l);
2332
+ e["on"](`${_e}__${a}`, b), e["on"](`${We}__${a}`, b), e["on"](`${Ne}__${a}`, b), e["on"](`${Ue}__${a}`, l);
2336
2333
  },
2337
2334
  unbind: function(s, h) {
2338
2335
  const u = h.value || o;
2339
- t["emit"](`${Ne}__${u}`);
2336
+ e["emit"](`${Ue}__${u}`);
2340
2337
  }
2341
2338
  }), d.directive("masonryTile", {
2342
2339
  mounted: function(s, h) {
2343
2340
  const u = h.value || o;
2344
- t["emit"](`${_e}__${u}`, {
2341
+ e["emit"](`${_e}__${u}`, {
2345
2342
  element: s
2346
- }), new Wn(s, function() {
2347
- t["emit"](`${We}__${u}`, {
2343
+ }), new Un(s, function() {
2344
+ e["emit"](`${Ne}__${u}`, {
2348
2345
  element: s
2349
2346
  });
2350
2347
  });
2351
2348
  },
2352
2349
  unbind: function(s, h) {
2353
2350
  const u = h.value || o;
2354
- t["emit"](`${Re}__${u}`, {
2351
+ e["emit"](`${We}__${u}`, {
2355
2352
  element: s
2356
2353
  });
2357
2354
  }
@@ -2359,150 +2356,150 @@ kt.install = function(n, e) {
2359
2356
  {
2360
2357
  const s = function(h) {
2361
2358
  const u = h || o;
2362
- t["emit"](`${_e}__${u}`);
2359
+ e["emit"](`${_e}__${u}`);
2363
2360
  };
2364
2361
  n.config.globalProperties.$redrawVueMasonry = s, n.provide("redrawVueMasonry", s);
2365
2362
  }
2366
2363
  };
2367
- function Fe(n, e = {}, t) {
2364
+ function qe(n, t = {}, e) {
2368
2365
  for (const o in n) {
2369
- const d = n[o], s = t ? `${t}:${o}` : o;
2370
- typeof d == "object" && d !== null ? Fe(d, e, s) : typeof d == "function" && (e[s] = d);
2366
+ const d = n[o], s = e ? `${e}:${o}` : o;
2367
+ typeof d == "object" && d !== null ? qe(d, t, s) : typeof d == "function" && (t[s] = d);
2371
2368
  }
2372
- return e;
2369
+ return t;
2373
2370
  }
2374
- const Gn = { run: (n) => n() }, jn = () => Gn, Et = typeof console.createTask < "u" ? console.createTask : jn;
2375
- function Yn(n, e) {
2376
- const t = e.shift(), o = Et(t);
2371
+ const Yn = { run: (n) => n() }, Kn = () => Yn, It = typeof console.createTask < "u" ? console.createTask : Kn;
2372
+ function Qn(n, t) {
2373
+ const e = t.shift(), o = It(e);
2377
2374
  return n.reduce(
2378
- (d, s) => d.then(() => o.run(() => s(...e))),
2375
+ (d, s) => d.then(() => o.run(() => s(...t))),
2379
2376
  Promise.resolve()
2380
2377
  );
2381
2378
  }
2382
- function Kn(n, e) {
2383
- const t = e.shift(), o = Et(t);
2384
- return Promise.all(n.map((d) => o.run(() => d(...e))));
2379
+ function Jn(n, t) {
2380
+ const e = t.shift(), o = It(e);
2381
+ return Promise.all(n.map((d) => o.run(() => d(...t))));
2385
2382
  }
2386
- function Ue(n, e) {
2387
- for (const t of [...n])
2388
- t(e);
2383
+ function Fe(n, t) {
2384
+ for (const e of [...n])
2385
+ e(t);
2389
2386
  }
2390
- class Qn {
2387
+ class Xn {
2391
2388
  constructor() {
2392
2389
  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);
2393
2390
  }
2394
- hook(e, t, o = {}) {
2395
- if (!e || typeof t != "function")
2391
+ hook(t, e, o = {}) {
2392
+ if (!t || typeof e != "function")
2396
2393
  return () => {
2397
2394
  };
2398
- const d = e;
2395
+ const d = t;
2399
2396
  let s;
2400
- for (; this._deprecatedHooks[e]; )
2401
- s = this._deprecatedHooks[e], e = s.to;
2397
+ for (; this._deprecatedHooks[t]; )
2398
+ s = this._deprecatedHooks[t], t = s.to;
2402
2399
  if (s && !o.allowDeprecated) {
2403
2400
  let h = s.message;
2404
2401
  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));
2405
2402
  }
2406
- if (!t.name)
2403
+ if (!e.name)
2407
2404
  try {
2408
- Object.defineProperty(t, "name", {
2409
- get: () => "_" + e.replace(/\W+/g, "_") + "_hook_cb",
2405
+ Object.defineProperty(e, "name", {
2406
+ get: () => "_" + t.replace(/\W+/g, "_") + "_hook_cb",
2410
2407
  configurable: !0
2411
2408
  });
2412
2409
  } catch {
2413
2410
  }
2414
- return this._hooks[e] = this._hooks[e] || [], this._hooks[e].push(t), () => {
2415
- t && (this.removeHook(e, t), t = void 0);
2411
+ return this._hooks[t] = this._hooks[t] || [], this._hooks[t].push(e), () => {
2412
+ e && (this.removeHook(t, e), e = void 0);
2416
2413
  };
2417
2414
  }
2418
- hookOnce(e, t) {
2419
- let o, d = (...s) => (typeof o == "function" && o(), o = void 0, d = void 0, t(...s));
2420
- return o = this.hook(e, d), o;
2415
+ hookOnce(t, e) {
2416
+ let o, d = (...s) => (typeof o == "function" && o(), o = void 0, d = void 0, e(...s));
2417
+ return o = this.hook(t, d), o;
2421
2418
  }
2422
- removeHook(e, t) {
2423
- if (this._hooks[e]) {
2424
- const o = this._hooks[e].indexOf(t);
2425
- o !== -1 && this._hooks[e].splice(o, 1), this._hooks[e].length === 0 && delete this._hooks[e];
2419
+ removeHook(t, e) {
2420
+ if (this._hooks[t]) {
2421
+ const o = this._hooks[t].indexOf(e);
2422
+ o !== -1 && this._hooks[t].splice(o, 1), this._hooks[t].length === 0 && delete this._hooks[t];
2426
2423
  }
2427
2424
  }
2428
- deprecateHook(e, t) {
2429
- this._deprecatedHooks[e] = typeof t == "string" ? { to: t } : t;
2430
- const o = this._hooks[e] || [];
2431
- delete this._hooks[e];
2425
+ deprecateHook(t, e) {
2426
+ this._deprecatedHooks[t] = typeof e == "string" ? { to: e } : e;
2427
+ const o = this._hooks[t] || [];
2428
+ delete this._hooks[t];
2432
2429
  for (const d of o)
2433
- this.hook(e, d);
2430
+ this.hook(t, d);
2434
2431
  }
2435
- deprecateHooks(e) {
2436
- Object.assign(this._deprecatedHooks, e);
2437
- for (const t in e)
2438
- this.deprecateHook(t, e[t]);
2432
+ deprecateHooks(t) {
2433
+ Object.assign(this._deprecatedHooks, t);
2434
+ for (const e in t)
2435
+ this.deprecateHook(e, t[e]);
2439
2436
  }
2440
- addHooks(e) {
2441
- const t = Fe(e), o = Object.keys(t).map(
2442
- (d) => this.hook(d, t[d])
2437
+ addHooks(t) {
2438
+ const e = qe(t), o = Object.keys(e).map(
2439
+ (d) => this.hook(d, e[d])
2443
2440
  );
2444
2441
  return () => {
2445
2442
  for (const d of o.splice(0, o.length))
2446
2443
  d();
2447
2444
  };
2448
2445
  }
2449
- removeHooks(e) {
2450
- const t = Fe(e);
2451
- for (const o in t)
2452
- this.removeHook(o, t[o]);
2446
+ removeHooks(t) {
2447
+ const e = qe(t);
2448
+ for (const o in e)
2449
+ this.removeHook(o, e[o]);
2453
2450
  }
2454
2451
  removeAllHooks() {
2455
- for (const e in this._hooks)
2456
- delete this._hooks[e];
2452
+ for (const t in this._hooks)
2453
+ delete this._hooks[t];
2457
2454
  }
2458
- callHook(e, ...t) {
2459
- return t.unshift(e), this.callHookWith(Yn, e, ...t);
2455
+ callHook(t, ...e) {
2456
+ return e.unshift(t), this.callHookWith(Qn, t, ...e);
2460
2457
  }
2461
- callHookParallel(e, ...t) {
2462
- return t.unshift(e), this.callHookWith(Kn, e, ...t);
2458
+ callHookParallel(t, ...e) {
2459
+ return e.unshift(t), this.callHookWith(Jn, t, ...e);
2463
2460
  }
2464
- callHookWith(e, t, ...o) {
2465
- const d = this._before || this._after ? { name: t, args: o, context: {} } : void 0;
2466
- this._before && Ue(this._before, d);
2467
- const s = e(
2468
- t in this._hooks ? [...this._hooks[t]] : [],
2461
+ callHookWith(t, e, ...o) {
2462
+ const d = this._before || this._after ? { name: e, args: o, context: {} } : void 0;
2463
+ this._before && Fe(this._before, d);
2464
+ const s = t(
2465
+ e in this._hooks ? [...this._hooks[e]] : [],
2469
2466
  o
2470
2467
  );
2471
2468
  return s instanceof Promise ? s.finally(() => {
2472
- this._after && d && Ue(this._after, d);
2473
- }) : (this._after && d && Ue(this._after, d), s);
2469
+ this._after && d && Fe(this._after, d);
2470
+ }) : (this._after && d && Fe(this._after, d), s);
2474
2471
  }
2475
- beforeEach(e) {
2476
- return this._before = this._before || [], this._before.push(e), () => {
2472
+ beforeEach(t) {
2473
+ return this._before = this._before || [], this._before.push(t), () => {
2477
2474
  if (this._before !== void 0) {
2478
- const t = this._before.indexOf(e);
2479
- t !== -1 && this._before.splice(t, 1);
2475
+ const e = this._before.indexOf(t);
2476
+ e !== -1 && this._before.splice(e, 1);
2480
2477
  }
2481
2478
  };
2482
2479
  }
2483
- afterEach(e) {
2484
- return this._after = this._after || [], this._after.push(e), () => {
2480
+ afterEach(t) {
2481
+ return this._after = this._after || [], this._after.push(t), () => {
2485
2482
  if (this._after !== void 0) {
2486
- const t = this._after.indexOf(e);
2487
- t !== -1 && this._after.splice(t, 1);
2483
+ const e = this._after.indexOf(t);
2484
+ e !== -1 && this._after.splice(e, 1);
2488
2485
  }
2489
2486
  };
2490
2487
  }
2491
2488
  }
2492
- function Jn() {
2493
- return new Qn();
2489
+ function Zn() {
2490
+ return new Xn();
2494
2491
  }
2495
- function Xn(n) {
2492
+ function ei(n) {
2496
2493
  return Array.isArray(n) ? n : [n];
2497
2494
  }
2498
- const Zn = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
2495
+ const ti = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
2499
2496
  "base",
2500
2497
  "meta",
2501
2498
  "link",
2502
2499
  "style",
2503
2500
  "script",
2504
2501
  "noscript"
2505
- ], ei = [
2502
+ ], oi = [
2506
2503
  "title",
2507
2504
  "titleTemplate",
2508
2505
  "templateParams",
@@ -2514,97 +2511,97 @@ const Zn = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
2514
2511
  "style",
2515
2512
  "script",
2516
2513
  "noscript"
2517
- ], ti = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], It = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "innerHTML", "textContent", "processTemplateParams"], oi = typeof window < "u";
2518
- function Ke(n) {
2519
- let e = 9;
2520
- for (let t = 0; t < n.length; )
2521
- e = Math.imul(e ^ n.charCodeAt(t++), 9 ** 9);
2522
- return ((e ^ e >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
2514
+ ], ni = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Tt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "innerHTML", "textContent", "processTemplateParams"], ii = typeof window < "u";
2515
+ function Qe(n) {
2516
+ let t = 9;
2517
+ for (let e = 0; e < n.length; )
2518
+ t = Math.imul(t ^ n.charCodeAt(e++), 9 ** 9);
2519
+ return ((t ^ t >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
2523
2520
  }
2524
- function ut(n) {
2525
- return n._h || Ke(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
2521
+ function dt(n) {
2522
+ return n._h || Qe(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([t, e]) => `${t}:${String(e)}`).join(",")}`);
2526
2523
  }
2527
- function Tt(n, e) {
2528
- const { props: t, tag: o } = n;
2529
- if (ti.includes(o))
2524
+ function Ct(n, t) {
2525
+ const { props: e, tag: o } = n;
2526
+ if (ni.includes(o))
2530
2527
  return o;
2531
- if (o === "link" && t.rel === "canonical")
2528
+ if (o === "link" && e.rel === "canonical")
2532
2529
  return "canonical";
2533
- if (t.charset)
2530
+ if (e.charset)
2534
2531
  return "charset";
2535
2532
  const d = ["id"];
2536
2533
  o === "meta" && d.push("name", "property", "http-equiv");
2537
2534
  for (const s of d)
2538
- if (typeof t[s] < "u") {
2539
- const h = String(t[s]);
2540
- return e && !e(h) ? !1 : `${o}:${s}:${h}`;
2535
+ if (typeof e[s] < "u") {
2536
+ const h = String(e[s]);
2537
+ return t && !t(h) ? !1 : `${o}:${s}:${h}`;
2541
2538
  }
2542
2539
  return !1;
2543
2540
  }
2544
- function dt(n, e) {
2545
- return n == null ? e || null : typeof n == "function" ? n(e) : n;
2541
+ function ct(n, t) {
2542
+ return n == null ? t || null : typeof n == "function" ? n(t) : n;
2546
2543
  }
2547
- async function ni(n, e, t) {
2544
+ async function ri(n, t, e) {
2548
2545
  const o = {
2549
2546
  tag: n,
2550
- props: await Ct(
2547
+ props: await $t(
2551
2548
  // explicitly check for an object
2552
2549
  // @ts-expect-error untyped
2553
- typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? { ...e } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: e },
2550
+ typeof t == "object" && typeof t != "function" && !(t instanceof Promise) ? { ...t } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: t },
2554
2551
  ["templateParams", "titleTemplate"].includes(n)
2555
2552
  )
2556
2553
  };
2557
- return It.forEach((d) => {
2558
- const s = typeof o.props[d] < "u" ? o.props[d] : t[d];
2559
- typeof s < "u" && ((!["innerHTML", "textContent"].includes(d) || Zn.includes(o.tag)) && (o[d] = s), delete o.props[d]);
2554
+ return Tt.forEach((d) => {
2555
+ const s = typeof o.props[d] < "u" ? o.props[d] : e[d];
2556
+ typeof s < "u" && ((!["innerHTML", "textContent"].includes(d) || ti.includes(o.tag)) && (o[d] = s), delete o.props[d]);
2560
2557
  }), 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;
2561
2558
  }
2562
- function ii(n) {
2563
- return typeof n == "object" && !Array.isArray(n) && (n = Object.keys(n).filter((e) => n[e])), (Array.isArray(n) ? n.join(" ") : n).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
2559
+ function si(n) {
2560
+ return typeof n == "object" && !Array.isArray(n) && (n = Object.keys(n).filter((t) => n[t])), (Array.isArray(n) ? n.join(" ") : n).split(" ").filter((t) => t.trim()).filter(Boolean).join(" ");
2564
2561
  }
2565
- async function Ct(n, e) {
2566
- for (const t of Object.keys(n)) {
2567
- if (t === "class") {
2568
- n[t] = ii(n[t]);
2562
+ async function $t(n, t) {
2563
+ for (const e of Object.keys(n)) {
2564
+ if (e === "class") {
2565
+ n[e] = si(n[e]);
2569
2566
  continue;
2570
2567
  }
2571
- if (n[t] instanceof Promise && (n[t] = await n[t]), !e && !It.includes(t)) {
2572
- const o = String(n[t]), d = t.startsWith("data-");
2573
- o === "true" || o === "" ? n[t] = d ? "true" : !0 : n[t] || (d && o === "false" ? n[t] = "false" : delete n[t]);
2568
+ if (n[e] instanceof Promise && (n[e] = await n[e]), !t && !Tt.includes(e)) {
2569
+ const o = String(n[e]), d = e.startsWith("data-");
2570
+ o === "true" || o === "" ? n[e] = d ? "true" : !0 : n[e] || (d && o === "false" ? n[e] = "false" : delete n[e]);
2574
2571
  }
2575
2572
  }
2576
2573
  return n;
2577
2574
  }
2578
- const ri = 10;
2579
- async function si(n) {
2580
- const e = [];
2581
- return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" && ei.includes(t)).forEach(([t, o]) => {
2582
- const d = Xn(o);
2583
- e.push(...d.map((s) => ni(t, s, n)).flat());
2584
- }), (await Promise.all(e)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << ri) + o, t));
2575
+ const ai = 10;
2576
+ async function li(n) {
2577
+ const t = [];
2578
+ return Object.entries(n.resolvedInput).filter(([e, o]) => typeof o < "u" && oi.includes(e)).forEach(([e, o]) => {
2579
+ const d = ei(o);
2580
+ t.push(...d.map((s) => ri(e, s, n)).flat());
2581
+ }), (await Promise.all(t)).flat().filter(Boolean).map((e, o) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i << ai) + o, e));
2585
2582
  }
2586
- const ct = {
2583
+ const pt = {
2587
2584
  // tags
2588
2585
  base: -10,
2589
2586
  title: 10
2590
- }, pt = {
2587
+ }, ht = {
2591
2588
  // relative scores to their default values
2592
2589
  critical: -80,
2593
2590
  high: -10,
2594
2591
  low: 20
2595
2592
  };
2596
2593
  function $e(n) {
2597
- let e = 100;
2598
- const t = n.tagPriority;
2599
- return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (e = -30), n.props.charset && (e = -20), n.props.name === "viewport" && (e = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? e = 20 : n.tag in ct && (e = ct[n.tag]), typeof t == "string" && t in pt ? e + pt[t] : e);
2594
+ let t = 100;
2595
+ const e = n.tagPriority;
2596
+ return typeof e == "number" ? e : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (t = -30), n.props.charset && (t = -20), n.props.name === "viewport" && (t = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? t = 20 : n.tag in pt && (t = pt[n.tag]), typeof e == "string" && e in ht ? t + ht[e] : t);
2600
2597
  }
2601
- const ai = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], $t = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ue = "%separator";
2602
- function Ee(n, e, t) {
2598
+ const ui = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Vt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], le = "%separator";
2599
+ function Ee(n, t, e) {
2603
2600
  if (typeof n != "string" || !n.includes("%"))
2604
2601
  return n;
2605
2602
  function o(h) {
2606
2603
  let u;
2607
- 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;
2604
+ return ["s", "pageTitle"].includes(h) ? u = t.pageTitle : h.includes(".") ? u = h.split(".").reduce((p, a) => p && p[a] || void 0, t) : u = t[h], typeof u < "u" ? (u || "").replace(/"/g, '\\"') : !1;
2608
2605
  }
2609
2606
  let d = n;
2610
2607
  try {
@@ -2614,59 +2611,59 @@ function Ee(n, e, t) {
2614
2611
  return (d.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((h) => {
2615
2612
  const u = o(h.slice(1));
2616
2613
  typeof u == "string" && (n = n.replace(new RegExp(`\\${h}(\\W|$)`, "g"), (p, a) => `${u}${a}`).trim());
2617
- }), n.includes(ue) && (n.endsWith(ue) && (n = n.slice(0, -ue.length).trim()), n.startsWith(ue) && (n = n.slice(ue.length).trim()), n = n.replace(new RegExp(`\\${ue}\\s*\\${ue}`, "g"), ue), n = Ee(n, { separator: t }, t)), n;
2614
+ }), n.includes(le) && (n.endsWith(le) && (n = n.slice(0, -le.length).trim()), n.startsWith(le) && (n = n.slice(le.length).trim()), n = n.replace(new RegExp(`\\${le}\\s*\\${le}`, "g"), le), n = Ee(n, { separator: e }, e)), n;
2618
2615
  }
2619
- async function li(n) {
2620
- const e = {
2616
+ async function di(n) {
2617
+ const t = {
2621
2618
  tag: n.tagName.toLowerCase(),
2622
- props: await Ct(
2623
- n.getAttributeNames().reduce((t, o) => ({ ...t, [o]: n.getAttribute(o) }), {})
2619
+ props: await $t(
2620
+ n.getAttributeNames().reduce((e, o) => ({ ...e, [o]: n.getAttribute(o) }), {})
2624
2621
  ),
2625
2622
  innerHTML: n.innerHTML
2626
2623
  };
2627
- return e._d = Tt(e), e;
2624
+ return t._d = Ct(t), t;
2628
2625
  }
2629
- async function ui(n, e = {}) {
2630
- const t = e.document || n.resolvedOptions.document;
2631
- if (!t)
2626
+ async function ci(n, t = {}) {
2627
+ const e = t.document || n.resolvedOptions.document;
2628
+ if (!e)
2632
2629
  return;
2633
2630
  const o = { shouldRender: n.dirty, tags: [] };
2634
2631
  if (await n.hooks.callHook("dom:beforeRender", o), !o.shouldRender)
2635
2632
  return;
2636
2633
  const d = (await n.resolveTags()).map((g) => ({
2637
2634
  tag: g,
2638
- id: ke.includes(g.tag) ? ut(g) : g.tag,
2635
+ id: ke.includes(g.tag) ? dt(g) : g.tag,
2639
2636
  shouldRender: !0
2640
2637
  }));
2641
2638
  let s = n._dom;
2642
2639
  if (!s) {
2643
2640
  s = {
2644
- elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
2641
+ elMap: { htmlAttrs: e.documentElement, bodyAttrs: e.body }
2645
2642
  };
2646
2643
  for (const g of ["body", "head"]) {
2647
- const m = t?.[g]?.children;
2648
- for (const _ of [...m].filter((l) => ke.includes(l.tagName.toLowerCase())))
2649
- s.elMap[_.getAttribute("data-hid") || ut(await li(_))] = _;
2644
+ const m = e?.[g]?.children;
2645
+ for (const b of [...m].filter((l) => ke.includes(l.tagName.toLowerCase())))
2646
+ s.elMap[b.getAttribute("data-hid") || dt(await di(b))] = b;
2650
2647
  }
2651
2648
  }
2652
2649
  s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
2653
- function h(g, m, _) {
2650
+ function h(g, m, b) {
2654
2651
  const l = `${g}:${m}`;
2655
- s.sideEffects[l] = _, delete s.pendingSideEffects[l];
2652
+ s.sideEffects[l] = b, delete s.pendingSideEffects[l];
2656
2653
  }
2657
- function u({ id: g, $el: m, tag: _ }) {
2658
- const l = _.tag.endsWith("Attrs");
2654
+ function u({ id: g, $el: m, tag: b }) {
2655
+ const l = b.tag.endsWith("Attrs");
2659
2656
  s.elMap[g] = m, l || (["textContent", "innerHTML"].forEach((y) => {
2660
- _[y] && _[y] !== m[y] && (m[y] = _[y]);
2657
+ b[y] && b[y] !== m[y] && (m[y] = b[y]);
2661
2658
  }), h(g, "el", () => {
2662
2659
  s.elMap[g].remove(), delete s.elMap[g];
2663
- })), Object.entries(_.props).forEach(([y, k]) => {
2660
+ })), Object.entries(b.props).forEach(([y, _]) => {
2664
2661
  const f = `attr:${y}`;
2665
2662
  if (y === "class")
2666
- for (const i of (k || "").split(" ").filter(Boolean))
2663
+ for (const i of (_ || "").split(" ").filter(Boolean))
2667
2664
  l && h(g, `${f}:${i}`, () => m.classList.remove(i)), !m.classList.contains(i) && m.classList.add(i);
2668
2665
  else
2669
- m.getAttribute(y) !== k && m.setAttribute(y, k === !0 ? "" : String(k)), l && h(g, f, () => m.removeAttribute(y));
2666
+ m.getAttribute(y) !== _ && m.setAttribute(y, _ === !0 ? "" : String(_)), l && h(g, f, () => m.removeAttribute(y));
2670
2667
  });
2671
2668
  }
2672
2669
  const p = [], a = {
@@ -2675,10 +2672,10 @@ async function ui(n, e = {}) {
2675
2672
  head: void 0
2676
2673
  };
2677
2674
  for (const g of d) {
2678
- const { tag: m, shouldRender: _, id: l } = g;
2679
- if (_) {
2675
+ const { tag: m, shouldRender: b, id: l } = g;
2676
+ if (b) {
2680
2677
  if (m.tag === "title") {
2681
- t.title = m.textContent;
2678
+ e.title = m.textContent;
2682
2679
  continue;
2683
2680
  }
2684
2681
  g.$el = g.$el || s.elMap[l], g.$el ? u(g) : ke.includes(m.tag) && p.push(g);
@@ -2686,52 +2683,52 @@ async function ui(n, e = {}) {
2686
2683
  }
2687
2684
  for (const g of p) {
2688
2685
  const m = g.tag.tagPosition || "head";
2689
- g.$el = t.createElement(g.tag.tag), u(g), a[m] = a[m] || t.createDocumentFragment(), a[m].appendChild(g.$el);
2686
+ g.$el = e.createElement(g.tag.tag), u(g), a[m] = a[m] || e.createDocumentFragment(), a[m].appendChild(g.$el);
2690
2687
  }
2691
2688
  for (const g of d)
2692
- await n.hooks.callHook("dom:renderTag", g, t, h);
2693
- 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()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: d });
2689
+ await n.hooks.callHook("dom:renderTag", g, e, h);
2690
+ a.head && e.head.appendChild(a.head), a.bodyOpen && e.body.insertBefore(a.bodyOpen, e.body.firstChild), a.bodyClose && e.body.appendChild(a.bodyClose), Object.values(s.pendingSideEffects).forEach((g) => g()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: d });
2694
2691
  }
2695
- async function di(n, e = {}) {
2696
- const t = e.delayFn || ((o) => setTimeout(o, 10));
2697
- return n._domUpdatePromise = n._domUpdatePromise || new Promise((o) => t(async () => {
2698
- await ui(n, e), delete n._domUpdatePromise, o();
2692
+ async function pi(n, t = {}) {
2693
+ const e = t.delayFn || ((o) => setTimeout(o, 10));
2694
+ return n._domUpdatePromise = n._domUpdatePromise || new Promise((o) => e(async () => {
2695
+ await ci(n, t), delete n._domUpdatePromise, o();
2699
2696
  }));
2700
2697
  }
2701
2698
  // @__NO_SIDE_EFFECTS__
2702
- function ci(n) {
2703
- return (e) => {
2704
- const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
2705
- return t && e.push(JSON.parse(t)), {
2699
+ function hi(n) {
2700
+ return (t) => {
2701
+ const e = t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
2702
+ return e && t.push(JSON.parse(e)), {
2706
2703
  mode: "client",
2707
2704
  hooks: {
2708
2705
  "entries:updated": function(o) {
2709
- di(o, n);
2706
+ pi(o, n);
2710
2707
  }
2711
2708
  }
2712
2709
  };
2713
2710
  };
2714
2711
  }
2715
- const pi = ["templateParams", "htmlAttrs", "bodyAttrs"], hi = {
2712
+ const fi = ["templateParams", "htmlAttrs", "bodyAttrs"], mi = {
2716
2713
  hooks: {
2717
2714
  "tag:normalise": function({ tag: n }) {
2718
2715
  ["hid", "vmid", "key"].forEach((o) => {
2719
2716
  n.props[o] && (n.key = n.props[o], delete n.props[o]);
2720
2717
  });
2721
- const t = Tt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
2722
- t && (n._d = t);
2718
+ const e = Ct(n) || (n.key ? `${n.tag}:${n.key}` : !1);
2719
+ e && (n._d = e);
2723
2720
  },
2724
2721
  "tags:resolve": function(n) {
2725
- const e = {};
2722
+ const t = {};
2726
2723
  n.tags.forEach((o) => {
2727
- const d = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, s = e[d];
2724
+ const d = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, s = t[d];
2728
2725
  if (s) {
2729
2726
  let u = o?.tagDuplicateStrategy;
2730
- if (!u && pi.includes(o.tag) && (u = "merge"), u === "merge") {
2727
+ if (!u && fi.includes(o.tag) && (u = "merge"), u === "merge") {
2731
2728
  const p = s.props;
2732
2729
  ["class", "style"].forEach((a) => {
2733
2730
  o.props[a] && p[a] && (a === "style" && !p[a].endsWith(";") && (p[a] += ";"), o.props[a] = `${p[a]} ${o.props[a]}`);
2734
- }), e[d].props = {
2731
+ }), t[d].props = {
2735
2732
  ...p,
2736
2733
  ...o.props
2737
2734
  };
@@ -2744,158 +2741,158 @@ const pi = ["templateParams", "htmlAttrs", "bodyAttrs"], hi = {
2744
2741
  }
2745
2742
  const h = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
2746
2743
  if (ke.includes(o.tag) && h === 0) {
2747
- delete e[d];
2744
+ delete t[d];
2748
2745
  return;
2749
2746
  }
2750
- e[d] = o;
2747
+ t[d] = o;
2751
2748
  });
2752
- const t = [];
2753
- Object.values(e).forEach((o) => {
2749
+ const e = [];
2750
+ Object.values(t).forEach((o) => {
2754
2751
  const d = o._duped;
2755
- delete o._duped, t.push(o), d && t.push(...d);
2756
- }), n.tags = t, n.tags = n.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
2752
+ delete o._duped, e.push(o), d && e.push(...d);
2753
+ }), n.tags = e, n.tags = n.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
2757
2754
  }
2758
2755
  }
2759
- }, fi = {
2756
+ }, gi = {
2760
2757
  mode: "server",
2761
2758
  hooks: {
2762
2759
  "tags:resolve": function(n) {
2763
- const e = {};
2764
- n.tags.filter((t) => ["titleTemplate", "templateParams", "title"].includes(t.tag) && t._m === "server").forEach((t) => {
2765
- e[t.tag] = t.tag.startsWith("title") ? t.textContent : t.props;
2766
- }), Object.keys(e).length && n.tags.push({
2760
+ const t = {};
2761
+ n.tags.filter((e) => ["titleTemplate", "templateParams", "title"].includes(e.tag) && e._m === "server").forEach((e) => {
2762
+ t[e.tag] = e.tag.startsWith("title") ? e.textContent : e.props;
2763
+ }), Object.keys(t).length && n.tags.push({
2767
2764
  tag: "script",
2768
- innerHTML: JSON.stringify(e),
2765
+ innerHTML: JSON.stringify(t),
2769
2766
  props: { id: "unhead:payload", type: "application/json" }
2770
2767
  });
2771
2768
  }
2772
2769
  }
2773
- }, mi = ["script", "link", "bodyAttrs"];
2774
- function gi(n) {
2775
- const e = {}, t = {};
2770
+ }, vi = ["script", "link", "bodyAttrs"];
2771
+ function yi(n) {
2772
+ const t = {}, e = {};
2776
2773
  return Object.entries(n.props).forEach(([o, d]) => {
2777
- o.startsWith("on") && typeof d == "function" ? ($t.includes(o) && (e[o] = `this.dataset.${o} = true`), t[o] = d) : e[o] = d;
2778
- }), { props: e, eventHandlers: t };
2774
+ o.startsWith("on") && typeof d == "function" ? (Vt.includes(o) && (t[o] = `this.dataset.${o} = true`), e[o] = d) : t[o] = d;
2775
+ }), { props: t, eventHandlers: e };
2779
2776
  }
2780
- const vi = (n) => ({
2777
+ const bi = (n) => ({
2781
2778
  hooks: {
2782
- "tags:resolve": function(e) {
2783
- for (const t of e.tags)
2784
- if (mi.includes(t.tag)) {
2785
- const { props: o, eventHandlers: d } = gi(t);
2786
- 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);
2779
+ "tags:resolve": function(t) {
2780
+ for (const e of t.tags)
2781
+ if (vi.includes(e.tag)) {
2782
+ const { props: o, eventHandlers: d } = yi(e);
2783
+ e.props = o, Object.keys(d).length && ((e.props.src || e.props.href) && (e.key = e.key || Qe(e.props.src || e.props.href)), e._eventHandlers = d);
2787
2784
  }
2788
2785
  },
2789
- "dom:renderTag": function(e, t, o) {
2790
- if (!e.tag._eventHandlers)
2786
+ "dom:renderTag": function(t, e, o) {
2787
+ if (!t.tag._eventHandlers)
2791
2788
  return;
2792
- const d = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
2793
- Object.entries(e.tag._eventHandlers).forEach(([s, h]) => {
2794
- const u = `${e.tag._d || e.tag._p}:${s}`, p = s.slice(2).toLowerCase(), a = `data-h-${p}`;
2795
- if (o(e.id, u, () => {
2796
- }), e.$el.hasAttribute(a))
2789
+ const d = t.tag.tag === "bodyAttrs" ? e.defaultView : t.$el;
2790
+ Object.entries(t.tag._eventHandlers).forEach(([s, h]) => {
2791
+ const u = `${t.tag._d || t.tag._p}:${s}`, p = s.slice(2).toLowerCase(), a = `data-h-${p}`;
2792
+ if (o(t.id, u, () => {
2793
+ }), t.$el.hasAttribute(a))
2797
2794
  return;
2798
- e.$el.setAttribute(a, "");
2795
+ t.$el.setAttribute(a, "");
2799
2796
  let g;
2800
- const m = (_) => {
2801
- h(_), g?.disconnect();
2797
+ const m = (b) => {
2798
+ h(b), g?.disconnect();
2802
2799
  };
2803
- s in e.$el.dataset ? m(new Event(s.replace("on", ""))) : $t.includes(s) && typeof MutationObserver < "u" ? (g = new MutationObserver((_) => {
2804
- _.some((y) => y.attributeName === `data-${s}`) && (m(new Event(s.replace("on", ""))), g?.disconnect());
2805
- }), g.observe(e.$el, {
2800
+ s in t.$el.dataset ? m(new Event(s.replace("on", ""))) : Vt.includes(s) && typeof MutationObserver < "u" ? (g = new MutationObserver((b) => {
2801
+ b.some((y) => y.attributeName === `data-${s}`) && (m(new Event(s.replace("on", ""))), g?.disconnect());
2802
+ }), g.observe(t.$el, {
2806
2803
  attributes: !0
2807
- })) : d.addEventListener(p, m), o(e.id, u, () => {
2808
- g?.disconnect(), d.removeEventListener(p, m), e.$el.removeAttribute(a);
2804
+ })) : d.addEventListener(p, m), o(t.id, u, () => {
2805
+ g?.disconnect(), d.removeEventListener(p, m), t.$el.removeAttribute(a);
2809
2806
  });
2810
2807
  });
2811
2808
  }
2812
2809
  }
2813
- }), yi = ["link", "style", "script", "noscript"], bi = {
2810
+ }), _i = ["link", "style", "script", "noscript"], ki = {
2814
2811
  hooks: {
2815
2812
  "tag:normalise": ({ tag: n }) => {
2816
- n.key && yi.includes(n.tag) && (n.props["data-hid"] = n._h = Ke(n.key));
2813
+ n.key && _i.includes(n.tag) && (n.props["data-hid"] = n._h = Qe(n.key));
2817
2814
  }
2818
2815
  }
2819
- }, _i = {
2816
+ }, Ei = {
2820
2817
  hooks: {
2821
2818
  "tags:resolve": (n) => {
2822
- const e = (t) => n.tags.find((o) => o._d === t)?._p;
2823
- for (const { prefix: t, offset: o } of ai)
2824
- for (const d of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
2825
- const s = e(
2826
- d.tagPriority.replace(t, "")
2819
+ const t = (e) => n.tags.find((o) => o._d === e)?._p;
2820
+ for (const { prefix: e, offset: o } of ui)
2821
+ for (const d of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(e))) {
2822
+ const s = t(
2823
+ d.tagPriority.replace(e, "")
2827
2824
  );
2828
2825
  typeof s < "u" && (d._p = s + o);
2829
2826
  }
2830
- n.tags.sort((t, o) => t._p - o._p).sort((t, o) => $e(t) - $e(o));
2827
+ n.tags.sort((e, o) => e._p - o._p).sort((e, o) => $e(e) - $e(o));
2831
2828
  }
2832
2829
  }
2833
- }, ki = {
2830
+ }, Ii = {
2834
2831
  meta: "content",
2835
2832
  link: "href",
2836
2833
  htmlAttrs: "lang"
2837
- }, Ei = (n) => ({
2834
+ }, Ti = (n) => ({
2838
2835
  hooks: {
2839
- "tags:resolve": (e) => {
2840
- 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 || "|";
2836
+ "tags:resolve": (t) => {
2837
+ const { tags: e } = t, o = e.find((u) => u.tag === "title")?.textContent, d = e.findIndex((u) => u.tag === "templateParams"), s = d !== -1 ? e[d].props : {}, h = s.separator || "|";
2841
2838
  delete s.separator, s.pageTitle = Ee(s.pageTitle || o || "", s, h);
2842
- for (const u of t.filter((p) => p.processTemplateParams !== !1)) {
2843
- const p = ki[u.tag];
2839
+ for (const u of e.filter((p) => p.processTemplateParams !== !1)) {
2840
+ const p = Ii[u.tag];
2844
2841
  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) => {
2845
2842
  typeof u[a] == "string" && (u[a] = Ee(u[a], s, h));
2846
2843
  });
2847
2844
  }
2848
- n._templateParams = s, n._separator = h, e.tags = t.filter((u) => u.tag !== "templateParams");
2845
+ n._templateParams = s, n._separator = h, t.tags = e.filter((u) => u.tag !== "templateParams");
2849
2846
  }
2850
2847
  }
2851
- }), Ii = {
2848
+ }), Ci = {
2852
2849
  hooks: {
2853
2850
  "tags:resolve": (n) => {
2854
- const { tags: e } = n;
2855
- let t = e.findIndex((d) => d.tag === "titleTemplate");
2856
- const o = e.findIndex((d) => d.tag === "title");
2857
- if (o !== -1 && t !== -1) {
2858
- const d = dt(
2859
- e[t].textContent,
2860
- e[o].textContent
2851
+ const { tags: t } = n;
2852
+ let e = t.findIndex((d) => d.tag === "titleTemplate");
2853
+ const o = t.findIndex((d) => d.tag === "title");
2854
+ if (o !== -1 && e !== -1) {
2855
+ const d = ct(
2856
+ t[e].textContent,
2857
+ t[o].textContent
2861
2858
  );
2862
- d !== null ? e[o].textContent = d || e[o].textContent : delete e[o];
2863
- } else if (t !== -1) {
2864
- const d = dt(
2865
- e[t].textContent
2859
+ d !== null ? t[o].textContent = d || t[o].textContent : delete t[o];
2860
+ } else if (e !== -1) {
2861
+ const d = ct(
2862
+ t[e].textContent
2866
2863
  );
2867
- d !== null && (e[t].textContent = d, e[t].tag = "title", t = -1);
2864
+ d !== null && (t[e].textContent = d, t[e].tag = "title", e = -1);
2868
2865
  }
2869
- t !== -1 && delete e[t], n.tags = e.filter(Boolean);
2866
+ e !== -1 && delete t[e], n.tags = t.filter(Boolean);
2870
2867
  }
2871
2868
  }
2872
2869
  };
2873
2870
  // @__NO_SIDE_EFFECTS__
2874
- function Ti(n = {}) {
2875
- const e = Ci(n);
2876
- return e.use(/* @__PURE__ */ ci()), e;
2871
+ function $i(n = {}) {
2872
+ const t = Vi(n);
2873
+ return t.use(/* @__PURE__ */ hi()), t;
2877
2874
  }
2878
- function ht(n, e) {
2879
- return !n || n === "server" && e || n === "client" && !e;
2875
+ function ft(n, t) {
2876
+ return !n || n === "server" && t || n === "client" && !t;
2880
2877
  }
2881
- function Ci(n = {}) {
2882
- const e = Jn();
2883
- e.addHooks(n.hooks || {}), n.document = n.document || (oi ? document : void 0);
2884
- const t = !n.document, o = () => {
2885
- u.dirty = !0, e.callHook("entries:updated", u);
2878
+ function Vi(n = {}) {
2879
+ const t = Zn();
2880
+ t.addHooks(n.hooks || {}), n.document = n.document || (ii ? document : void 0);
2881
+ const e = !n.document, o = () => {
2882
+ u.dirty = !0, t.callHook("entries:updated", u);
2886
2883
  };
2887
2884
  let d = 0, s = [];
2888
2885
  const h = [], u = {
2889
2886
  plugins: h,
2890
2887
  dirty: !1,
2891
2888
  resolvedOptions: n,
2892
- hooks: e,
2889
+ hooks: t,
2893
2890
  headEntries() {
2894
2891
  return s;
2895
2892
  },
2896
2893
  use(p) {
2897
2894
  const a = typeof p == "function" ? p(u) : p;
2898
- (!a.key || !h.some((g) => g.key === a.key)) && (h.push(a), ht(a.mode, t) && e.addHooks(a.hooks || {}));
2895
+ (!a.key || !h.some((g) => g.key === a.key)) && (h.push(a), ft(a.mode, e) && t.addHooks(a.hooks || {}));
2899
2896
  },
2900
2897
  push(p, a) {
2901
2898
  delete a?.head;
@@ -2904,81 +2901,81 @@ function Ci(n = {}) {
2904
2901
  input: p,
2905
2902
  ...a
2906
2903
  };
2907
- return ht(g.mode, t) && (s.push(g), o()), {
2904
+ return ft(g.mode, e) && (s.push(g), o()), {
2908
2905
  dispose() {
2909
- s = s.filter((m) => m._i !== g._i), e.callHook("entries:updated", u), o();
2906
+ s = s.filter((m) => m._i !== g._i), t.callHook("entries:updated", u), o();
2910
2907
  },
2911
2908
  // a patch is the same as creating a new entry, just a nice DX
2912
2909
  patch(m) {
2913
- s = s.map((_) => (_._i === g._i && (_.input = g.input = m), _)), o();
2910
+ s = s.map((b) => (b._i === g._i && (b.input = g.input = m), b)), o();
2914
2911
  }
2915
2912
  };
2916
2913
  },
2917
2914
  async resolveTags() {
2918
2915
  const p = { tags: [], entries: [...s] };
2919
- await e.callHook("entries:resolve", p);
2916
+ await t.callHook("entries:resolve", p);
2920
2917
  for (const a of p.entries) {
2921
2918
  const g = a.resolvedInput || a.input;
2922
2919
  if (a.resolvedInput = await (a.transform ? a.transform(g) : g), a.resolvedInput)
2923
- for (const m of await si(a)) {
2924
- const _ = { tag: m, entry: a, resolvedOptions: u.resolvedOptions };
2925
- await e.callHook("tag:normalise", _), p.tags.push(_.tag);
2920
+ for (const m of await li(a)) {
2921
+ const b = { tag: m, entry: a, resolvedOptions: u.resolvedOptions };
2922
+ await t.callHook("tag:normalise", b), p.tags.push(b.tag);
2926
2923
  }
2927
2924
  }
2928
- return await e.callHook("tags:beforeResolve", p), await e.callHook("tags:resolve", p), p.tags;
2925
+ return await t.callHook("tags:beforeResolve", p), await t.callHook("tags:resolve", p), p.tags;
2929
2926
  },
2930
- ssr: t
2927
+ ssr: e
2931
2928
  };
2932
2929
  return [
2933
- hi,
2934
- fi,
2935
- vi,
2930
+ mi,
2931
+ gi,
2936
2932
  bi,
2937
- _i,
2933
+ ki,
2938
2934
  Ei,
2939
- Ii,
2935
+ Ti,
2936
+ Ci,
2940
2937
  ...n?.plugins || []
2941
2938
  ].forEach((p) => u.use(p)), u.hooks.callHook("init", u), u;
2942
2939
  }
2943
- const $i = ao.startsWith("3");
2944
- function Vi(n) {
2940
+ const Pi = uo.startsWith("3");
2941
+ function Si(n) {
2945
2942
  return typeof n == "function" ? n() : r(n);
2946
2943
  }
2947
- function qe(n, e = "") {
2944
+ function Ge(n, t = "") {
2948
2945
  if (n instanceof Promise)
2949
2946
  return n;
2950
- const t = Vi(n);
2951
- return !n || !t ? t : Array.isArray(t) ? t.map((o) => qe(o, e)) : typeof t == "object" ? Object.fromEntries(
2952
- Object.entries(t).map(([o, d]) => o === "titleTemplate" || o.startsWith("on") ? [o, r(d)] : [o, qe(d, o)])
2953
- ) : t;
2947
+ const e = Si(n);
2948
+ return !n || !e ? e : Array.isArray(e) ? e.map((o) => Ge(o, t)) : typeof e == "object" ? Object.fromEntries(
2949
+ Object.entries(e).map(([o, d]) => o === "titleTemplate" || o.startsWith("on") ? [o, r(d)] : [o, Ge(d, o)])
2950
+ ) : e;
2954
2951
  }
2955
- const Pi = {
2952
+ const xi = {
2956
2953
  hooks: {
2957
2954
  "entries:resolve": function(n) {
2958
- for (const e of n.entries)
2959
- e.resolvedInput = qe(e.input);
2955
+ for (const t of n.entries)
2956
+ t.resolvedInput = Ge(t.input);
2960
2957
  }
2961
2958
  }
2962
- }, Si = "usehead";
2963
- function xi(n) {
2959
+ }, Li = "usehead";
2960
+ function Di(n) {
2964
2961
  return {
2965
- install(t) {
2966
- $i && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(Si, n));
2962
+ install(e) {
2963
+ Pi && (e.config.globalProperties.$unhead = n, e.config.globalProperties.$head = n, e.provide(Li, n));
2967
2964
  }
2968
2965
  }.install;
2969
2966
  }
2970
- function Li(n = {}) {
2971
- n.domDelayFn = n.domDelayFn || ((t) => mt(() => setTimeout(() => t(), 0)));
2972
- const e = /* @__PURE__ */ Ti(n);
2973
- return e.use(Pi), e.install = xi(e), e;
2967
+ function Oi(n = {}) {
2968
+ n.domDelayFn = n.domDelayFn || ((e) => gt(() => setTimeout(() => e(), 0)));
2969
+ const t = /* @__PURE__ */ $i(n);
2970
+ return t.use(xi), t.install = Di(t), t;
2974
2971
  }
2975
- const Di = lo(), Oi = Li(), Hi = uo(), ae = co({ components: { Hotel: Hn } });
2976
- ae.use(Oi);
2977
- ae.use(Di);
2972
+ const Hi = co(), wi = Oi(), Ai = po(), ae = ho({ components: { Hotel: An } });
2973
+ ae.use(wi);
2978
2974
  ae.use(Hi);
2979
- ae.use(kt);
2980
- ae.use(go);
2981
- ae.use(po);
2982
- ae.use(To);
2983
- ae.use(vo, { bootstrap: !1 });
2975
+ ae.use(Ai);
2976
+ ae.use(Et);
2977
+ ae.use(yo);
2978
+ ae.use(fo);
2979
+ ae.use($o);
2980
+ ae.use(bo, { bootstrap: !1 });
2984
2981
  ae.mount("#konnectio-hotel-app");