@konnectio/core 4.0.56-rc1 → 4.0.56-rc11

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