@konnectio/core 4.0.24 → 4.0.25

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