@konnectio/core 4.0.56-rc7 → 4.0.56-rc8

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 (134) hide show
  1. package/dist/{ActionField-i2xWkFyi.js → ActionField-na8McB-H.js} +1 -1
  2. package/dist/ActionField-na8McB-H.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-PWA_yfC-.js → AvailabilitySkeleton-1_yLVsq6.js} +4 -4
  4. package/dist/AvailabilitySkeleton-1_yLVsq6.js.br +0 -0
  5. package/dist/{CheckoutWindow-k3-Mh7Mp.js → CheckoutWindow-r6ch1iOr.js} +1 -1
  6. package/dist/CheckoutWindow-r6ch1iOr.js.br +0 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-Lzoa_ZgT.js → DateField.vue_vue_type_style_index_0_lang-ZM6h3KFg.js} +1 -1
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-ZM6h3KFg.js.br +0 -0
  9. package/dist/{Field-f9KUVLIW.js → Field-S_yxW5IQ.js} +2 -2
  10. package/dist/Field-S_yxW5IQ.js.br +0 -0
  11. package/dist/{SelectField.vue_vue_type_style_index_0_lang-1RNEqBhG.js → SelectField.vue_vue_type_style_index_0_lang-K94DVjrE.js} +8 -8
  12. package/dist/SelectField.vue_vue_type_style_index_0_lang-K94DVjrE.js.br +0 -0
  13. package/dist/{ThankYou-cAeMnWCk.js → ThankYou-ekf_1AWY.js} +4 -4
  14. package/dist/ThankYou-ekf_1AWY.js.br +0 -0
  15. package/dist/{_-SqGSx3KP.js → _-vErl-x3v.js} +1 -1
  16. package/dist/availability.js +101 -101
  17. package/dist/availability.js.br +0 -0
  18. package/dist/{event-WJGagPbM.js → event-iDLUEMAV.js} +7 -7
  19. package/dist/event-iDLUEMAV.js.br +0 -0
  20. package/dist/event.js +7 -7
  21. package/dist/event.js.br +0 -0
  22. package/dist/gift-card-validation.js +2 -2
  23. package/dist/gift-card-validation.js.br +0 -0
  24. package/dist/gift-card.js +217 -207
  25. package/dist/gift-card.js.br +0 -0
  26. package/dist/{hotel-z4fa3tEa.js → hotel-4O89o7V2.js} +888 -878
  27. package/dist/hotel-4O89o7V2.js.br +0 -0
  28. package/dist/hotel.js +9 -9
  29. package/dist/polyfill.js +93 -93
  30. package/dist/polyfill.js.br +0 -0
  31. package/package.json +1 -1
  32. package/dist/ActionField-i2xWkFyi.js.br +0 -0
  33. package/dist/AvailabilitySkeleton-PWA_yfC-.js.br +0 -0
  34. package/dist/CheckoutWindow-k3-Mh7Mp.js.br +0 -0
  35. package/dist/DateField.vue_vue_type_style_index_0_lang-Lzoa_ZgT.js.br +0 -0
  36. package/dist/Field-f9KUVLIW.js.br +0 -0
  37. package/dist/SelectField.vue_vue_type_style_index_0_lang-1RNEqBhG.js.br +0 -0
  38. package/dist/ThankYou-cAeMnWCk.js.br +0 -0
  39. package/dist/components/Alert.vue.d.ts +0 -5
  40. package/dist/components/Alert.vue.d.ts.map +0 -1
  41. package/dist/components/Clickable.vue.d.ts +0 -5
  42. package/dist/components/Clickable.vue.d.ts.map +0 -1
  43. package/dist/components/Container.vue.d.ts +0 -5
  44. package/dist/components/Container.vue.d.ts.map +0 -1
  45. package/dist/components/ErrorMessage.vue.d.ts +0 -5
  46. package/dist/components/ErrorMessage.vue.d.ts.map +0 -1
  47. package/dist/components/Gallery.vue.d.ts +0 -5
  48. package/dist/components/Gallery.vue.d.ts.map +0 -1
  49. package/dist/components/GoogleNotice.vue.d.ts +0 -4
  50. package/dist/components/GoogleNotice.vue.d.ts.map +0 -1
  51. package/dist/components/Icon.vue.d.ts +0 -5
  52. package/dist/components/Icon.vue.d.ts.map +0 -1
  53. package/dist/components/Loading.vue.d.ts +0 -5
  54. package/dist/components/Loading.vue.d.ts.map +0 -1
  55. package/dist/components/Spinner.vue.d.ts +0 -4
  56. package/dist/components/Spinner.vue.d.ts.map +0 -1
  57. package/dist/components/forms/EventAvailabilityForm.vue.d.ts +0 -5
  58. package/dist/components/forms/EventAvailabilityForm.vue.d.ts.map +0 -1
  59. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +0 -5
  60. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts.map +0 -1
  61. package/dist/components/forms/HotelReservationForm.vue.d.ts +0 -4
  62. package/dist/components/forms/HotelReservationForm.vue.d.ts.map +0 -1
  63. package/dist/components/forms/MultiStepForm.vue.d.ts +0 -5
  64. package/dist/components/forms/MultiStepForm.vue.d.ts.map +0 -1
  65. package/dist/components/forms/ReservationForm.vue.d.ts +0 -6
  66. package/dist/components/forms/ReservationForm.vue.d.ts.map +0 -1
  67. package/dist/components/forms/_.vue.d.ts +0 -4
  68. package/dist/components/forms/_.vue.d.ts.map +0 -1
  69. package/dist/components/inputs/Checkbox.vue.d.ts +0 -5
  70. package/dist/components/inputs/Checkbox.vue.d.ts.map +0 -1
  71. package/dist/components/inputs/CheckboxField.vue.d.ts +0 -5
  72. package/dist/components/inputs/CheckboxField.vue.d.ts.map +0 -1
  73. package/dist/components/inputs/DateField.vue.d.ts +0 -5
  74. package/dist/components/inputs/DateField.vue.d.ts.map +0 -1
  75. package/dist/components/inputs/InputField.vue.d.ts +0 -5
  76. package/dist/components/inputs/InputField.vue.d.ts.map +0 -1
  77. package/dist/components/inputs/MediaSelector.vue.d.ts +0 -5
  78. package/dist/components/inputs/MediaSelector.vue.d.ts.map +0 -1
  79. package/dist/components/inputs/NumberField.vue.d.ts +0 -5
  80. package/dist/components/inputs/NumberField.vue.d.ts.map +0 -1
  81. package/dist/components/inputs/SelectField.vue.d.ts +0 -5
  82. package/dist/components/inputs/SelectField.vue.d.ts.map +0 -1
  83. package/dist/components/inputs/TextField.vue.d.ts +0 -5
  84. package/dist/components/inputs/TextField.vue.d.ts.map +0 -1
  85. package/dist/components/inputs/TimeField.vue.d.ts +0 -5
  86. package/dist/components/inputs/TimeField.vue.d.ts.map +0 -1
  87. package/dist/components/inputs/grouped/ActionField.vue.d.ts +0 -5
  88. package/dist/components/inputs/grouped/ActionField.vue.d.ts.map +0 -1
  89. package/dist/components/inputs/grouped/CountryField.vue.d.ts +0 -5
  90. package/dist/components/inputs/grouped/CountryField.vue.d.ts.map +0 -1
  91. package/dist/components/inputs/grouped/NameField.vue.d.ts +0 -5
  92. package/dist/components/inputs/grouped/NameField.vue.d.ts.map +0 -1
  93. package/dist/components/inputs/grouped/PhoneField.vue.d.ts +0 -5
  94. package/dist/components/inputs/grouped/PhoneField.vue.d.ts.map +0 -1
  95. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +0 -5
  96. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts.map +0 -1
  97. package/dist/components/listings/Base.vue.d.ts +0 -6
  98. package/dist/components/listings/Base.vue.d.ts.map +0 -1
  99. package/dist/components/listings/Event.vue.d.ts +0 -5
  100. package/dist/components/listings/Event.vue.d.ts.map +0 -1
  101. package/dist/components/listings/Hotel.vue.d.ts +0 -5
  102. package/dist/components/listings/Hotel.vue.d.ts.map +0 -1
  103. package/dist/components/listings/Template.vue.d.ts +0 -5
  104. package/dist/components/listings/Template.vue.d.ts.map +0 -1
  105. package/dist/components/side-panels/Base.vue.d.ts +0 -6
  106. package/dist/components/side-panels/Base.vue.d.ts.map +0 -1
  107. package/dist/components/side-panels/ListingInfo.vue.d.ts +0 -5
  108. package/dist/components/side-panels/ListingInfo.vue.d.ts.map +0 -1
  109. package/dist/components/side-panels/Template.vue.d.ts +0 -5
  110. package/dist/components/side-panels/Template.vue.d.ts.map +0 -1
  111. package/dist/components/side-panels/TermsOfService.vue.d.ts +0 -5
  112. package/dist/components/side-panels/TermsOfService.vue.d.ts.map +0 -1
  113. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +0 -5
  114. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts.map +0 -1
  115. package/dist/components/skeletons/Field.vue.d.ts +0 -5
  116. package/dist/components/skeletons/Field.vue.d.ts.map +0 -1
  117. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +0 -5
  118. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts.map +0 -1
  119. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +0 -5
  120. package/dist/components/skeletons/HotelSkeleton.vue.d.ts.map +0 -1
  121. package/dist/components/skeletons/Listing.vue.d.ts +0 -5
  122. package/dist/components/skeletons/Listing.vue.d.ts.map +0 -1
  123. package/dist/components/skeletons/Sidebar.vue.d.ts +0 -5
  124. package/dist/components/skeletons/Sidebar.vue.d.ts.map +0 -1
  125. package/dist/components/skeletons/_.vue.d.ts +0 -5
  126. package/dist/components/skeletons/_.vue.d.ts.map +0 -1
  127. package/dist/components/views/CheckoutWindow.vue.d.ts +0 -5
  128. package/dist/components/views/CheckoutWindow.vue.d.ts.map +0 -1
  129. package/dist/components/views/TermsOfService.vue.d.ts +0 -5
  130. package/dist/components/views/TermsOfService.vue.d.ts.map +0 -1
  131. package/dist/components/views/ThankYou.vue.d.ts +0 -5
  132. package/dist/components/views/ThankYou.vue.d.ts.map +0 -1
  133. package/dist/event-WJGagPbM.js.br +0 -0
  134. package/dist/hotel-z4fa3tEa.js.br +0 -0
@@ -1,11 +1,11 @@
1
- import { k as j, B as ne, aE as co, s as K, c as he, W as gt, X as ie, o as E, m as R, a0 as po, z as a, w, ac as Le, x as y, F as V, K as te, a2 as Xe, aF as ho, l as C, a6 as z, $ as B, n as x, a8 as We, aG as ue, p as I, H as Q, J as oe, f as U, y as Ee, P as vt, Q as yt, _ as J, r as ce, aH as bt, Z as qe, Y as be, A as kt, C as le, aI as fo, a5 as mo, q as ke, I as _t, v as Ze, T as ee, aJ as go, N as vo, D as yo, a9 as bo, L as et, G as F, M as ko, ay as Et, aA as _o, aK as Eo, R as To, U as Io, V as Co, ab as $o } from "./SelectField.vue_vue_type_style_index_0_lang-1RNEqBhG.js";
2
- import { R as So, B as Ge, a as Vo, S as Lo, M as Po, T as xo, V as wo } from "./ThankYou-cAeMnWCk.js";
3
- import { A as Ho, H as Oo } from "./AvailabilitySkeleton-PWA_yfC-.js";
4
- import { _ as Do } from "./DateField.vue_vue_type_style_index_0_lang-Lzoa_ZgT.js";
5
- import { C as Fe, P as Ao, a as Mo } from "./CheckoutWindow-k3-Mh7Mp.js";
6
- import { E as Y } from "./_-SqGSx3KP.js";
7
- import { c as Tt, g as It } from "./_commonjsHelpers-2ufMB8rV.js";
8
- const Ro = { key: 0 }, Bo = { key: 1 }, Pe = /* @__PURE__ */ j({
1
+ import { k as G, B as ne, aE as co, s as K, c as he, W as gt, X as ie, o as E, m as R, a0 as po, z as a, w, ac as Le, x as y, F as V, K as te, a2 as Xe, aF as ho, l as I, a6 as z, $ as B, n as x, a8 as We, aG as ue, p as C, H as Q, J as oe, f as U, y as Ee, P as vt, Q as yt, _ as J, r as ce, aH as bt, Z as qe, Y as be, A as kt, C as le, aI as fo, a5 as mo, q as ke, I as _t, v as Ze, T as ee, aJ as go, N as vo, D as yo, a9 as bo, L as et, G as F, M as ko, ay as Et, aA as _o, aK as Eo, R as To, U as Co, V as Io, ab as $o } from "./SelectField.vue_vue_type_style_index_0_lang-K94DVjrE.js";
2
+ import { R as So, B as je, a as Vo, S as Lo, M as Po, T as xo, V as wo } from "./ThankYou-ekf_1AWY.js";
3
+ import { A as Ho, H as Oo } from "./AvailabilitySkeleton-1_yLVsq6.js";
4
+ import { _ as Ao } from "./DateField.vue_vue_type_style_index_0_lang-ZM6h3KFg.js";
5
+ import { C as Fe, P as Do, a as Mo } from "./CheckoutWindow-r6ch1iOr.js";
6
+ import { E as Y } from "./_-vErl-x3v.js";
7
+ import { c as Tt, g as Ct } from "./_commonjsHelpers-2ufMB8rV.js";
8
+ const Ro = { key: 0 }, Bo = { key: 1 }, Pe = /* @__PURE__ */ G({
9
9
  __name: "HotelReservationForm",
10
10
  props: {
11
11
  showGiftCard: { type: Boolean, default: !1 },
@@ -14,27 +14,27 @@ const Ro = { key: 0 }, Bo = { key: 1 }, Pe = /* @__PURE__ */ j({
14
14
  setup(o) {
15
15
  const { t: e } = ne(), t = co(), {
16
16
  hideArrivalDepartureInputs: n,
17
- disableArrivalUserSelection: l,
18
- disableDepartureUserSelection: s,
17
+ disableArrivalUserSelection: p,
18
+ disableDepartureUserSelection: r,
19
19
  arrivalDefault: h,
20
20
  departureDefault: c,
21
- currency: d
21
+ currency: l
22
22
  } = K(he()), {
23
- arrivalDate: p,
23
+ arrivalDate: u,
24
24
  departureDate: f
25
25
  } = K(gt()), {
26
26
  arrivalTime: g,
27
27
  departureTime: _,
28
- roomDisplay: u,
28
+ roomDisplay: d,
29
29
  templateID: b,
30
30
  totalPrice: k,
31
31
  areListingsLoading: m,
32
32
  getSelectedPackageRoom: i,
33
- selectedPackage: r,
33
+ selectedPackage: s,
34
34
  discountVouchers: v
35
35
  } = K(ie()), { removeRoom: T } = ie();
36
36
  function $(L) {
37
- return L.reduce((D, { totalPrice: A }) => D + A, 0);
37
+ return L.reduce((A, { totalPrice: D }) => A + D, 0);
38
38
  }
39
39
  return (L, H) => (E(), R(So, {
40
40
  "total-price": a(k),
@@ -49,46 +49,46 @@ const Ro = { key: 0 }, Bo = { key: 1 }, Pe = /* @__PURE__ */ j({
49
49
  "reservation-summary": w(() => [
50
50
  y("li", null, [
51
51
  y("span", null, V(a(e)("booking.reservation.arrival")), 1),
52
- y("b", null, V(a(n) ? a(te)(a(p)) : `${a(te)(a(p))}, ${a(l) ? a(h) : a(g)}`), 1)
52
+ y("b", null, V(a(n) ? a(te)(a(u)) : `${a(te)(a(u))}, ${a(p) ? a(h) : a(g)}`), 1)
53
53
  ]),
54
54
  y("li", null, [
55
55
  y("span", null, V(a(e)("booking.reservation.departure")), 1),
56
- y("b", null, V(a(n) ? a(te)(a(f)) : `${a(te)(a(f))}, ${a(s) ? a(c) : a(_)}`), 1)
56
+ y("b", null, V(a(n) ? a(te)(a(f)) : `${a(te)(a(f))}, ${a(r) ? a(c) : a(_)}`), 1)
57
57
  ]),
58
58
  y("li", null, [
59
59
  y("span", null, V(a(e)("booking.reservation.nights")), 1),
60
- y("b", null, V(a(Xe)(a(p), a(f))) + " " + V(a(ho)(a(Xe)(a(p), a(f)) === 1 ? a(e)("booking.reservation.night") : a(e)("booking.reservation.nights"))), 1)
60
+ y("b", null, V(a(Xe)(a(u), a(f))) + " " + V(a(ho)(a(Xe)(a(u), a(f)) === 1 ? a(e)("booking.reservation.night") : a(e)("booking.reservation.nights"))), 1)
61
61
  ]),
62
- a(v) ? (E(!0), C(B, { key: 0 }, z(a(v), (D) => (E(), C("li", {
63
- key: D.id
62
+ a(v) ? (E(!0), I(B, { key: 0 }, z(a(v), (A) => (E(), I("li", {
63
+ key: A.id
64
64
  }, [
65
- y("span", null, V(`${a(e)("general.discountCode")} (${D.value})`), 1),
66
- y("b", null, V(D.key), 1)
65
+ y("span", null, V(`${a(e)("general.discountCode")} (${A.value})`), 1),
66
+ y("b", null, V(A.key), 1)
67
67
  ]))), 128)) : x("", !0)
68
68
  ]),
69
69
  "price-summary": w(() => [
70
- isNaN(a(b)) && a(u).length > 0 ? (E(!0), C(B, { key: 0 }, z(a(u), ({
71
- roomGroupID: D,
72
- title: A,
70
+ isNaN(a(b)) && a(d).length > 0 ? (E(!0), I(B, { key: 0 }, z(a(d), ({
71
+ roomGroupID: A,
72
+ title: D,
73
73
  variants: W
74
- }) => (E(), C("div", { key: D }, [
74
+ }) => (E(), I("div", { key: A }, [
75
75
  y("h6", null, [
76
- y("span", null, V(A), 1)
76
+ y("span", null, V(D), 1)
77
77
  ]),
78
- (E(!0), C(B, null, z(W, (X, re) => (E(), C("div", { key: re }, [
79
- (E(!0), C(B, null, z(X.rooms, (q, Te) => (E(), C("ul", { key: Te }, [
78
+ (E(!0), I(B, null, z(W, (X, re) => (E(), I("div", { key: re }, [
79
+ (E(!0), I(B, null, z(X.rooms, (q, Te) => (E(), I("ul", { key: Te }, [
80
80
  y("li", null, [
81
81
  y("span", null, [
82
82
  y("span", null, [
83
83
  We(V(a(ue)(X.name)) + " ( ", 1),
84
- I(Q, {
84
+ C(Q, {
85
85
  icon: "male",
86
86
  type: "fas",
87
87
  color: "font"
88
88
  }),
89
89
  y("span", null, V(q.adultsCount), 1),
90
- q.childrenCount > 0 ? (E(), C(B, { key: 0 }, [
91
- I(Q, {
90
+ q.childrenCount > 0 ? (E(), I(B, { key: 0 }, [
91
+ C(Q, {
92
92
  icon: "child",
93
93
  type: "fas",
94
94
  color: "font"
@@ -99,20 +99,20 @@ const Ro = { key: 0 }, Bo = { key: 1 }, Pe = /* @__PURE__ */ j({
99
99
  ])
100
100
  ]),
101
101
  y("b", null, [
102
- y("span", null, V(a(oe)(q.totalPrice, a(d))), 1),
102
+ y("span", null, V(a(oe)(q.totalPrice, a(l))), 1),
103
103
  x("", !0)
104
104
  ])
105
105
  ]),
106
- $(q.roomAddons) > 0 ? (E(), C("li", Ro, [
106
+ $(q.roomAddons) > 0 ? (E(), I("li", Ro, [
107
107
  y("span", null, V(a(e)("booking.reservation.addons")), 1),
108
- y("b", null, V(a(oe)($(q.roomAddons), a(d))), 1)
108
+ y("b", null, V(a(oe)($(q.roomAddons), a(l))), 1)
109
109
  ])) : x("", !0)
110
110
  ]))), 128))
111
111
  ]))), 128))
112
112
  ]))), 128)) : x("", !0),
113
- a(i) && a(r) ? (E(), C("div", Bo, [
113
+ a(i) && a(s) ? (E(), I("div", Bo, [
114
114
  y("h6", null, [
115
- y("span", null, V(a(ue)(a(r).name)), 1)
115
+ y("span", null, V(a(ue)(a(s).name)), 1)
116
116
  ]),
117
117
  y("div", null, [
118
118
  y("ul", null, [
@@ -121,7 +121,7 @@ const Ro = { key: 0 }, Bo = { key: 1 }, Pe = /* @__PURE__ */ j({
121
121
  y("span", null, V(a(ue)(a(i).title)), 1)
122
122
  ]),
123
123
  y("b", null, [
124
- y("span", null, V(a(oe)(a(i).extraPrice, a(d))), 1)
124
+ y("span", null, V(a(oe)(a(i).extraPrice, a(l))), 1)
125
125
  ])
126
126
  ])
127
127
  ])
@@ -142,7 +142,7 @@ const Ro = { key: 0 }, Bo = { key: 1 }, Pe = /* @__PURE__ */ j({
142
142
  } : void 0
143
143
  ]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
144
144
  }
145
- }), zo = (o) => (vt("data-v-69fe83d8"), o = o(), yt(), o), Wo = { class: "konnectio-room-config-option" }, Fo = { key: 0 }, No = { class: "konnectio-selected-room-config" }, Uo = { class: "konnectio-selected-room-config-people" }, qo = { key: 0 }, Go = { class: "konnectio-selected-room-config-price" }, jo = /* @__PURE__ */ zo(() => /* @__PURE__ */ y("span", null, null, -1)), Yo = /* @__PURE__ */ j({
145
+ }), zo = (o) => (vt("data-v-69fe83d8"), o = o(), yt(), o), Wo = { class: "konnectio-room-config-option" }, Fo = { key: 0 }, No = { class: "konnectio-selected-room-config" }, Uo = { class: "konnectio-selected-room-config-people" }, qo = { key: 0 }, jo = { class: "konnectio-selected-room-config-price" }, Go = /* @__PURE__ */ zo(() => /* @__PURE__ */ y("span", null, null, -1)), Yo = /* @__PURE__ */ G({
146
146
  __name: "RoomConfigField",
147
147
  props: {
148
148
  modelValue: {},
@@ -153,38 +153,38 @@ const Ro = { key: 0 }, Bo = { key: 1 }, Pe = /* @__PURE__ */ j({
153
153
  },
154
154
  emits: ["update:modelValue"],
155
155
  setup(o, { emit: e }) {
156
- const { t } = ne(), { currency: n } = K(he()), l = e, s = o;
157
- function h(d) {
158
- l("update:modelValue", d);
156
+ const { t } = ne(), { currency: n } = K(he()), p = e, r = o;
157
+ function h(l) {
158
+ p("update:modelValue", l);
159
159
  }
160
160
  const c = U({
161
- get: () => s.modelValue,
162
- set: (d) => h(d)
161
+ get: () => r.modelValue,
162
+ set: (l) => h(l)
163
163
  });
164
- return (d, p) => (E(), R(Ee, {
164
+ return (l, u) => (E(), R(Ee, {
165
165
  modelValue: c.value,
166
- "onUpdate:modelValue": p[0] || (p[0] = (f) => c.value = f),
167
- label: d.label,
166
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => c.value = f),
167
+ label: l.label,
168
168
  placeholder: "Select guest configuration",
169
169
  labelKey: "label",
170
170
  valueKey: "value",
171
171
  "icon-placement": "label",
172
- options: d.options,
173
- readonly: d.readonly,
174
- required: d.required,
172
+ options: l.options,
173
+ readonly: l.readonly,
174
+ required: l.required,
175
175
  searchable: !1
176
176
  }, {
177
177
  option: w(({ data: f }) => [
178
178
  y("span", Wo, [
179
179
  y("div", null, [
180
- I(Q, {
180
+ C(Q, {
181
181
  icon: "male",
182
182
  type: "fas",
183
183
  color: "font"
184
184
  }),
185
185
  y("span", null, V(`${f.adults}`), 1),
186
- f.children > 0 ? (E(), C("span", Fo, [
187
- I(Q, {
186
+ f.children > 0 ? (E(), I("span", Fo, [
187
+ C(Q, {
188
188
  icon: "child",
189
189
  type: "fas",
190
190
  color: "font"
@@ -202,13 +202,13 @@ const Ro = { key: 0 }, Bo = { key: 1 }, Pe = /* @__PURE__ */ j({
202
202
  x("", !0),
203
203
  y("span", null, V(`${f.adults} ${f.adults === 1 ? a(t)("general.adult") : a(t)("general.adults")}`), 1)
204
204
  ]),
205
- f.children > 0 ? (E(), C("div", qo, [
205
+ f.children > 0 ? (E(), I("div", qo, [
206
206
  x("", !0),
207
207
  y("span", null, V(`& ${f.children} ${f.children === 1 ? a(t)("general.child") : a(t)("general.children")}`), 1)
208
208
  ])) : x("", !0)
209
209
  ]),
210
- y("div", Go, [
211
- jo,
210
+ y("div", jo, [
211
+ Go,
212
212
  We(" " + V(`(${a(oe)(f.price, a(n))})`), 1)
213
213
  ])
214
214
  ])
@@ -217,7 +217,7 @@ const Ro = { key: 0 }, Bo = { key: 1 }, Pe = /* @__PURE__ */ j({
217
217
  }, 8, ["modelValue", "label", "options", "readonly", "required"]));
218
218
  }
219
219
  }), Ko = /* @__PURE__ */ J(Yo, [["__scopeId", "data-v-69fe83d8"]]), Qo = { class: "konnectio-availability-listing-selection" }, Jo = { key: 1 }, Xo = { class: "fresh-booking-listing-config-body" }, Zo = { class: "fresh-booking-listing-units-body" };
220
- const en = /* @__PURE__ */ j({
220
+ const en = /* @__PURE__ */ G({
221
221
  __name: "Hotel",
222
222
  props: {
223
223
  room: {},
@@ -225,20 +225,20 @@ const en = /* @__PURE__ */ j({
225
225
  },
226
226
  setup(o) {
227
227
  const { t: e } = ne(), t = o, n = ce([]);
228
- function l(r) {
229
- n.value[r].config.push({
228
+ function p(s) {
229
+ n.value[s].config.push({
230
230
  id: NaN,
231
231
  units: 0,
232
232
  addons: []
233
233
  });
234
234
  }
235
- const s = U(() => t.room.rates.map((r) => ({
236
- label: r.name,
237
- value: r.id
238
- }))), { hideAvailableRoomAmount: h } = K(he()), { roomSelect: c } = K(ie()), { addToCart: d, removeFromCart: p } = bt(), f = (r, v) => t.room.rates.find((T) => T.id === r)?.occupantRates.find((T) => T.index === v), g = U(() => t.room.rates.reduce(
239
- (r, v) => r < v.rackRate ? r : v.rackRate,
235
+ const r = U(() => t.room.rates.map((s) => ({
236
+ label: s.name,
237
+ value: s.id
238
+ }))), { hideAvailableRoomAmount: h } = K(he()), { roomSelect: c } = K(ie()), { addToCart: l, removeFromCart: u } = bt(), f = (s, v) => t.room.rates.find((T) => T.id === s)?.occupantRates.find((T) => T.index === v), g = U(() => t.room.rates.reduce(
239
+ (s, v) => s < v.rackRate ? s : v.rackRate,
240
240
  1 / 0
241
- )), _ = U(() => t.room.rates.every((r) => r.isBreakfastIncluded === !0)), u = (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) => ({
241
+ )), _ = U(() => t.room.rates.every((s) => s.isBreakfastIncluded === !0)), d = (s, v) => f(s, v) ? f(s, v)?.rooms : null, b = (s) => t.room.rates.length > 0 ? t.room.rates.find((v) => v.id === s)?.occupantRates.map((v) => ({
242
242
  value: v.index,
243
243
  price: v.totalPrice,
244
244
  adults: v.adultsCount,
@@ -266,15 +266,15 @@ const en = /* @__PURE__ */ j({
266
266
  m();
267
267
  });
268
268
  const i = U(() => JSON.parse(JSON.stringify(n.value)));
269
- return be(i, (r, v) => {
270
- v.length > 0 && r.forEach((T, $) => {
269
+ return be(i, (s, v) => {
270
+ v.length > 0 && s.forEach((T, $) => {
271
271
  T.config.forEach((L, H) => {
272
- const D = L.units, A = v[$].config[H].units;
273
- D !== A && (D > A ? (n.value[$].config[H].addons.push({}), d({
272
+ const A = L.units, D = v[$].config[H].units;
273
+ A !== D && (A > D ? (n.value[$].config[H].addons.push({}), l({
274
274
  id: t.room.id,
275
275
  name: t.room.title,
276
276
  value: t.room.rates[$].rackRate
277
- })) : (n.value[$].config[H].addons.pop(), p({
277
+ })) : (n.value[$].config[H].addons.pop(), u({
278
278
  id: t.room.id,
279
279
  name: t.room.title,
280
280
  value: t.room.rates[$].rackRate
@@ -283,19 +283,19 @@ const en = /* @__PURE__ */ j({
283
283
  });
284
284
  }, { deep: !0 }), be(n, () => {
285
285
  c.value[t.room.id] = n.value;
286
- }, { deep: !0 }), (r, v) => (E(), R(Ge, {
287
- "listing-id": r.room.id,
288
- gallery: r.room.images,
289
- name: r.room.title,
290
- description: r.room.description,
291
- layout: r.layout,
292
- facilities: r.room.facilities,
286
+ }, { deep: !0 }), (s, v) => (E(), R(je, {
287
+ "listing-id": s.room.id,
288
+ gallery: s.room.images,
289
+ name: s.room.title,
290
+ description: s.room.description,
291
+ layout: s.layout,
292
+ facilities: s.room.facilities,
293
293
  "prices-from": g.value,
294
294
  "includes-breakfast": _.value
295
295
  }, {
296
296
  action: w(() => [
297
297
  y("div", Qo, [
298
- (E(!0), C(B, null, z(n.value, (T, $) => (E(), C("div", {
298
+ (E(!0), I(B, null, z(n.value, (T, $) => (E(), I("div", {
299
299
  key: T.id,
300
300
  class: "freshbooking-hotel-room"
301
301
  }, [
@@ -305,25 +305,25 @@ const en = /* @__PURE__ */ j({
305
305
  "onUpdate:modelValue": (L) => T.id = L,
306
306
  label: a(e)("hotel.roomVariant"),
307
307
  placeholder: a(e)("hotel.chooseARoomVariant"),
308
- options: s.value,
308
+ options: r.value,
309
309
  searchable: !1
310
310
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : x("", !0),
311
- T.id ? (E(), C("div", Jo, [
312
- (E(!0), C(B, null, z(r.room.rates, ({
311
+ T.id ? (E(), I("div", Jo, [
312
+ (E(!0), I(B, null, z(s.room.rates, ({
313
313
  id: L,
314
314
  maximumOccupants: H
315
- }) => (E(), C("div", {
315
+ }) => (E(), I("div", {
316
316
  key: L,
317
317
  class: "booking-availability-listing-action-selective-i"
318
318
  }, [
319
- T.id === L ? (E(!0), C(B, { key: 0 }, z(T.config, (D, A) => (E(), C("div", {
320
- key: A,
319
+ T.id === L ? (E(!0), I(B, { key: 0 }, z(T.config, (A, D) => (E(), I("div", {
320
+ key: D,
321
321
  class: "booking-availability-listing-action-selective"
322
322
  }, [
323
323
  y("ul", Xo, [
324
- I(Ko, {
325
- modelValue: D.id,
326
- "onUpdate:modelValue": (W) => D.id = W,
324
+ C(Ko, {
325
+ modelValue: A.id,
326
+ "onUpdate:modelValue": (W) => A.id = W,
327
327
  icon: "male",
328
328
  "icon-type": "fas",
329
329
  label: a(e)("general.guests"),
@@ -333,16 +333,16 @@ const en = /* @__PURE__ */ j({
333
333
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
334
334
  ]),
335
335
  y("ul", Zo, [
336
- I(kt, {
337
- modelValue: D.units,
338
- "onUpdate:modelValue": (W) => D.units = W,
339
- description: a(h) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${u(T.id, D.id)}`,
336
+ C(kt, {
337
+ modelValue: A.units,
338
+ "onUpdate:modelValue": (W) => A.units = W,
339
+ description: a(h) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${d(T.id, A.id)}`,
340
340
  icon: "house",
341
341
  "icon-type": "fas",
342
342
  "icon-placement": "label",
343
343
  label: a(e)("booking.availability.units"),
344
344
  minValue: 0,
345
- "max-value": u(L, D.id) || 1 / 0
345
+ "max-value": d(L, A.id) || 1 / 0
346
346
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
347
347
  ]),
348
348
  x("", !0)
@@ -355,7 +355,7 @@ const en = /* @__PURE__ */ j({
355
355
  _: 1
356
356
  }, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
357
357
  }
358
- }), tn = /* @__PURE__ */ J(en, [["__scopeId", "data-v-9ea89f13"]]), on = { class: "konnectio-template-side-panel" }, nn = { class: "konnectio-template-side-panel-listings" }, rn = /* @__PURE__ */ j({
358
+ }), tn = /* @__PURE__ */ J(en, [["__scopeId", "data-v-9ea89f13"]]), on = { class: "konnectio-template-side-panel" }, nn = { class: "konnectio-template-side-panel-listings" }, rn = /* @__PURE__ */ G({
359
359
  __name: "Template",
360
360
  props: {
361
361
  title: {},
@@ -364,39 +364,39 @@ const en = /* @__PURE__ */ j({
364
364
  callback: { type: Function }
365
365
  },
366
366
  setup(o) {
367
- const { t: e } = ne(), { templateID: t, roomGroupID: n } = K(ie()), { currency: l } = K(he()), { clearRoomSelection: s } = ie(), h = o;
368
- function c(d) {
369
- t.value = h.templateId, n.value = d, s(), h.callback(2);
367
+ const { t: e } = ne(), { templateID: t, roomGroupID: n } = K(ie()), { currency: p } = K(he()), { clearRoomSelection: r } = ie(), h = o;
368
+ function c(l) {
369
+ t.value = h.templateId, n.value = l, r(), h.callback(2);
370
370
  }
371
- return (d, p) => (E(), R(Vo, {
372
- title: d.title,
371
+ return (l, u) => (E(), R(Vo, {
372
+ title: l.title,
373
373
  subtitle: a(e)("booking.availability.selectATemplateRoom")
374
374
  }, {
375
375
  default: w(() => [
376
376
  y("div", on, [
377
377
  y("div", nn, [
378
- (E(!0), C(B, null, z(d.roomGroups, ({
378
+ (E(!0), I(B, null, z(l.roomGroups, ({
379
379
  id: f,
380
380
  title: g,
381
381
  description: _,
382
- images: u,
382
+ images: d,
383
383
  facilities: b,
384
384
  extraPrice: k
385
- }) => (E(), R(Ge, {
385
+ }) => (E(), R(je, {
386
386
  key: f,
387
387
  "listing-id": f,
388
388
  name: g,
389
389
  description: _,
390
390
  facilities: b,
391
- gallery: u,
391
+ gallery: d,
392
392
  "includes-breakfast": !1,
393
393
  "hide-info-button": !0
394
394
  }, {
395
395
  action: w(() => [
396
396
  y("div", null, [
397
- I(le, {
397
+ C(le, {
398
398
  onClickEvent: (m) => c(f),
399
- label: `${a(e)("booking.availability.selectThisRoom")} (${a(oe)(k, a(l))})`,
399
+ label: `${a(e)("booking.availability.selectThisRoom")} (${a(oe)(k, a(p))})`,
400
400
  "full-width": ""
401
401
  }, null, 8, ["onClickEvent", "label"])
402
402
  ])
@@ -409,7 +409,7 @@ const en = /* @__PURE__ */ j({
409
409
  _: 1
410
410
  }, 8, ["title", "subtitle"]));
411
411
  }
412
- }), sn = /* @__PURE__ */ J(rn, [["__scopeId", "data-v-4c035ea3"]]), an = ["innerHTML"], ln = /* @__PURE__ */ j({
412
+ }), sn = /* @__PURE__ */ J(rn, [["__scopeId", "data-v-4c035ea3"]]), an = ["innerHTML"], ln = /* @__PURE__ */ G({
413
413
  __name: "Template",
414
414
  props: {
415
415
  id: {},
@@ -422,39 +422,39 @@ const en = /* @__PURE__ */ j({
422
422
  },
423
423
  setup(o) {
424
424
  const { t: e } = ne(), t = o, n = U(() => t.roomGroups.reduce(
425
- (d, p) => d < p.extraPrice ? d : p.extraPrice,
425
+ (l, u) => l < u.extraPrice ? l : u.extraPrice,
426
426
  1 / 0
427
- )), l = U(() => [{
427
+ )), p = U(() => [{
428
428
  large: t.image.url,
429
429
  medium: t.image.url,
430
430
  thumb: t.image.url,
431
431
  url: t.image.url
432
- }]), s = ce(!1);
432
+ }]), r = ce(!1);
433
433
  function h() {
434
- s.value = !0;
434
+ r.value = !0;
435
435
  }
436
- function c(d) {
437
- t.callback(d), s.value = !1;
436
+ function c(l) {
437
+ t.callback(l), r.value = !1;
438
438
  }
439
- return (d, p) => (E(), R(Ge, {
440
- "listing-id": d.id,
441
- name: d.name,
442
- description: d.description,
443
- gallery: l.value,
439
+ return (l, u) => (E(), R(je, {
440
+ "listing-id": l.id,
441
+ name: l.name,
442
+ description: l.description,
443
+ gallery: p.value,
444
444
  layout: a(mo).Template,
445
445
  "includes-breakfast": !1,
446
446
  "hide-info-button": !1,
447
447
  "prices-from": n.value
448
448
  }, {
449
449
  description: w(() => [
450
- d.description ? (E(), C("p", {
450
+ l.description ? (E(), I("p", {
451
451
  key: 0,
452
- innerHTML: a(fo)(d.description)
452
+ innerHTML: a(fo)(l.description)
453
453
  }, null, 8, an)) : x("", !0)
454
454
  ]),
455
455
  action: w(() => [
456
456
  y("div", null, [
457
- I(le, {
457
+ C(le, {
458
458
  onClickEvent: h,
459
459
  label: a(e)("booking.availability.selectPackage"),
460
460
  "full-width": ""
@@ -462,19 +462,19 @@ const en = /* @__PURE__ */ j({
462
462
  ])
463
463
  ]),
464
464
  default: w(() => [
465
- I(sn, {
466
- modelValue: s.value,
467
- "onUpdate:modelValue": p[0] || (p[0] = (f) => s.value = f),
468
- title: d.name,
469
- "template-id": d.id,
470
- roomGroups: d.roomGroups,
465
+ C(sn, {
466
+ modelValue: r.value,
467
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => r.value = f),
468
+ title: l.name,
469
+ "template-id": l.id,
470
+ roomGroups: l.roomGroups,
471
471
  callback: c
472
472
  }, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
473
473
  ]),
474
474
  _: 1
475
475
  }, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
476
476
  }
477
- }), un = /* @__PURE__ */ J(ln, [["__scopeId", "data-v-edc2f058"]]), tt = /* @__PURE__ */ j({
477
+ }), un = /* @__PURE__ */ J(ln, [["__scopeId", "data-v-edc2f058"]]), tt = /* @__PURE__ */ G({
478
478
  __name: "TimeField",
479
479
  props: {
480
480
  modelValue: {},
@@ -500,15 +500,15 @@ const en = /* @__PURE__ */ j({
500
500
  emits: ["update:modelValue"],
501
501
  setup(o, { emit: e }) {
502
502
  const t = e, n = o;
503
- function l(h) {
503
+ function p(h) {
504
504
  t("update:modelValue", h);
505
505
  }
506
- const s = ce(n.modelValue);
507
- return be(s, (h) => {
508
- l(h);
509
- }), (h, c) => (E(), R(Do, {
510
- modelValue: s.value,
511
- "onUpdate:modelValue": c[0] || (c[0] = (d) => s.value = d),
506
+ const r = ce(n.modelValue);
507
+ return be(r, (h) => {
508
+ p(h);
509
+ }), (h, c) => (E(), R(Ao, {
510
+ modelValue: r.value,
511
+ "onUpdate:modelValue": c[0] || (c[0] = (l) => r.value = l),
512
512
  type: "time",
513
513
  label: h.label,
514
514
  id: h.id,
@@ -521,7 +521,7 @@ const en = /* @__PURE__ */ j({
521
521
  readonly: h.readonly
522
522
  }, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
523
523
  }
524
- }), dn = { style: { display: "flex", "align-items": "baseline" } }, cn = /* @__PURE__ */ j({
524
+ }), dn = { style: { display: "flex", "align-items": "baseline" } }, cn = /* @__PURE__ */ G({
525
525
  __name: "CountryField",
526
526
  props: {
527
527
  modelValue: {},
@@ -533,17 +533,17 @@ const en = /* @__PURE__ */ j({
533
533
  },
534
534
  emits: ["update:modelValue"],
535
535
  setup(o, { emit: e }) {
536
- const { t } = ne(), n = e, l = o;
537
- function s(c) {
536
+ const { t } = ne(), n = e, p = o;
537
+ function r(c) {
538
538
  n("update:modelValue", c);
539
539
  }
540
540
  const h = U({
541
- get: () => l.modelValue,
542
- set: (c) => s(c)
541
+ get: () => p.modelValue,
542
+ set: (c) => r(c)
543
543
  });
544
- return (c, d) => (E(), R(Ee, {
544
+ return (c, l) => (E(), R(Ee, {
545
545
  modelValue: h.value,
546
- "onUpdate:modelValue": d[0] || (d[0] = (p) => h.value = p),
546
+ "onUpdate:modelValue": l[0] || (l[0] = (u) => h.value = u),
547
547
  label: c.label,
548
548
  placeholder: a(t)("booking.reservation.countryPlaceholder"),
549
549
  labelKey: "name",
@@ -551,24 +551,24 @@ const en = /* @__PURE__ */ j({
551
551
  options: c.options,
552
552
  required: c.required
553
553
  }, {
554
- option: w(({ data: p }) => [
554
+ option: w(({ data: u }) => [
555
555
  y("i", {
556
- class: ke(["konnectio-flag-icon", p.iso])
556
+ class: ke(["konnectio-flag-icon", u.iso])
557
557
  }, null, 2),
558
- y("span", null, V(p.name), 1)
558
+ y("span", null, V(u.name), 1)
559
559
  ]),
560
- "selected-option": w(({ data: p }) => [
560
+ "selected-option": w(({ data: u }) => [
561
561
  y("div", dn, [
562
562
  y("i", {
563
- class: ke(["konnectio-flag-icon", p.iso])
563
+ class: ke(["konnectio-flag-icon", u.iso])
564
564
  }, null, 2),
565
- y("span", null, V(p.name), 1)
565
+ y("span", null, V(u.name), 1)
566
566
  ])
567
567
  ]),
568
568
  _: 1
569
569
  }, 8, ["modelValue", "label", "placeholder", "options", "required"]));
570
570
  }
571
- }), pn = /* @__PURE__ */ J(cn, [["__scopeId", "data-v-1462612d"]]), hn = { class: "konnectio-radio-checkboxes" }, fn = /* @__PURE__ */ j({
571
+ }), pn = /* @__PURE__ */ J(cn, [["__scopeId", "data-v-1462612d"]]), hn = { class: "konnectio-radio-checkboxes" }, fn = /* @__PURE__ */ G({
572
572
  __name: "CheckboxField",
573
573
  props: {
574
574
  modelValue: {},
@@ -579,12 +579,12 @@ const en = /* @__PURE__ */ j({
579
579
  emits: ["update:modelValue"],
580
580
  setup(o, { emit: e }) {
581
581
  const t = e, n = o;
582
- function l(h) {
582
+ function p(h) {
583
583
  t("update:modelValue", h);
584
584
  }
585
- const s = U({
585
+ const r = U({
586
586
  get: () => n.modelValue,
587
- set: (h) => l(h)
587
+ set: (h) => p(h)
588
588
  });
589
589
  return (h, c) => (E(), R(_t, {
590
590
  label: h.label,
@@ -592,14 +592,14 @@ const en = /* @__PURE__ */ j({
592
592
  }, {
593
593
  default: w(() => [
594
594
  y("ul", hn, [
595
- (E(!0), C(B, null, z(h.checkboxes, ({ label: d, value: p }, f) => (E(), C("li", { key: f }, [
596
- I(Fe, {
597
- modelValue: s.value,
598
- "onUpdate:modelValue": c[0] || (c[0] = (g) => s.value = g),
599
- label: d,
595
+ (E(!0), I(B, null, z(h.checkboxes, ({ label: l, value: u }, f) => (E(), I("li", { key: f }, [
596
+ C(Fe, {
597
+ modelValue: r.value,
598
+ "onUpdate:modelValue": c[0] || (c[0] = (g) => r.value = g),
599
+ label: l,
600
600
  name: h.name,
601
601
  type: "radio",
602
- val: p
602
+ val: u
603
603
  }, null, 8, ["modelValue", "label", "name", "val"])
604
604
  ]))), 128))
605
605
  ])
@@ -607,7 +607,7 @@ const en = /* @__PURE__ */ j({
607
607
  _: 1
608
608
  }, 8, ["label"]));
609
609
  }
610
- }), mn = /* @__PURE__ */ J(fn, [["__scopeId", "data-v-7185c7da"]]), gn = /* @__PURE__ */ j({
610
+ }), mn = /* @__PURE__ */ J(fn, [["__scopeId", "data-v-7185c7da"]]), gn = /* @__PURE__ */ G({
611
611
  __name: "NameField",
612
612
  props: {
613
613
  modelValue: {},
@@ -629,99 +629,99 @@ const en = /* @__PURE__ */ j({
629
629
  },
630
630
  emits: ["update:modelValue", "update:title"],
631
631
  setup(o, { emit: e }) {
632
- const t = o, n = e, l = t.id || Ze(), s = ce(""), h = ce(2);
632
+ const t = o, n = e, p = t.id || Ze(), r = ce(""), h = ce(2);
633
633
  function c() {
634
- n("update:modelValue", s.value);
634
+ n("update:modelValue", r.value);
635
635
  }
636
- be(h, (p) => {
637
- n("update:title", p);
636
+ be(h, (u) => {
637
+ n("update:title", u);
638
638
  });
639
- const { t: d } = ne();
639
+ const { t: l } = ne();
640
640
  return qe(() => {
641
- t.modelValue && (s.value = t.modelValue), t.title && (h.value = t.title);
642
- }), (p, f) => (E(), R(_t, {
643
- label: p.label,
644
- id: a(l),
645
- required: p.required,
641
+ t.modelValue && (r.value = t.modelValue), t.title && (h.value = t.title);
642
+ }), (u, f) => (E(), R(_t, {
643
+ label: u.label,
644
+ id: a(p),
645
+ required: u.required,
646
646
  type: "fresh-booking-name-field",
647
- readonly: p.readonly,
648
- limit: p.limit
647
+ readonly: u.readonly,
648
+ limit: u.limit
649
649
  }, {
650
650
  default: w(() => [
651
651
  y("div", {
652
652
  class: ke([
653
653
  "fresh-booking-name-input",
654
- { "no-title": p.excludeTitle }
654
+ { "no-title": u.excludeTitle }
655
655
  ])
656
656
  }, [
657
- p.excludeTitle ? x("", !0) : (E(), R(Ee, {
657
+ u.excludeTitle ? x("", !0) : (E(), R(Ee, {
658
658
  key: 0,
659
659
  modelValue: h.value,
660
660
  "onUpdate:modelValue": f[0] || (f[0] = (g) => h.value = g),
661
661
  id: a(Ze)(),
662
- icon: p.icon,
663
- "icon-color": p.iconColor,
664
- "icon-type": p.iconType,
662
+ icon: u.icon,
663
+ "icon-color": u.iconColor,
664
+ "icon-type": u.iconType,
665
665
  options: [
666
666
  {
667
- label: a(d)("booking.reservation.noNameTitle"),
667
+ label: a(l)("booking.reservation.noNameTitle"),
668
668
  value: 1
669
669
  },
670
670
  {
671
- label: a(d)("booking.reservation.nameTitleMr"),
671
+ label: a(l)("booking.reservation.nameTitleMr"),
672
672
  value: 2
673
673
  },
674
674
  {
675
- label: a(d)("booking.reservation.nameTitleMs"),
675
+ label: a(l)("booking.reservation.nameTitleMs"),
676
676
  value: 3
677
677
  },
678
678
  {
679
- label: a(d)("booking.reservation.nameTitleMrs"),
679
+ label: a(l)("booking.reservation.nameTitleMrs"),
680
680
  value: 4
681
681
  },
682
682
  {
683
- label: a(d)("booking.reservation.nameTitleDr"),
683
+ label: a(l)("booking.reservation.nameTitleDr"),
684
684
  value: 5
685
685
  }
686
686
  ],
687
- readonly: p.readonly,
687
+ readonly: u.readonly,
688
688
  "hide-button": "",
689
- "input-style": p.inputStyle,
689
+ "input-style": u.inputStyle,
690
690
  searchable: !1
691
691
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
692
- I(ee, {
693
- modelValue: s.value,
694
- "onUpdate:modelValue": f[1] || (f[1] = (g) => s.value = g),
692
+ C(ee, {
693
+ modelValue: r.value,
694
+ "onUpdate:modelValue": f[1] || (f[1] = (g) => r.value = g),
695
695
  type: "text",
696
696
  name: "name",
697
697
  autocomplete: "name",
698
- id: a(l),
699
- icon: p.excludeTitle ? p.icon : void 0,
700
- "icon-color": p.iconColor,
701
- "icon-type": p.iconType,
702
- placeholder: p.placeholder,
703
- required: p.required,
704
- readonly: p.readonly,
705
- limit: p.limit,
698
+ id: a(p),
699
+ icon: u.excludeTitle ? u.icon : void 0,
700
+ "icon-color": u.iconColor,
701
+ "icon-type": u.iconType,
702
+ placeholder: u.placeholder,
703
+ required: u.required,
704
+ readonly: u.readonly,
705
+ limit: u.limit,
706
706
  onInput: f[2] || (f[2] = (g) => c()),
707
- "input-style": p.inputStyle
707
+ "input-style": u.inputStyle
708
708
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
709
709
  ], 2)
710
710
  ]),
711
711
  _: 1
712
712
  }, 8, ["label", "id", "required", "readonly", "limit"]));
713
713
  }
714
- }), vn = /* @__PURE__ */ J(gn, [["__scopeId", "data-v-78b0b319"]]), yn = { class: "hotel-listing" }, bn = { class: "hotel-listing-content-gallery" }, kn = { class: "hotel-listing-content-thumbs" }, _n = { class: "hotel-listing-content" }, En = { class: "hotel-listing-content-header" }, Tn = { class: "hotel-listing-content-title" }, In = { class: "hotel-listing-content-body" }, Cn = { class: "hotel-listing-content-facilities" }, $n = /* @__PURE__ */ j({
714
+ }), vn = /* @__PURE__ */ J(gn, [["__scopeId", "data-v-78b0b319"]]), yn = { class: "hotel-listing" }, bn = { class: "hotel-listing-content-gallery" }, kn = { class: "hotel-listing-content-thumbs" }, _n = { class: "hotel-listing-content" }, En = { class: "hotel-listing-content-header" }, Tn = { class: "hotel-listing-content-title" }, Cn = { class: "hotel-listing-content-body" }, In = { class: "hotel-listing-content-facilities" }, $n = /* @__PURE__ */ G({
715
715
  __name: "Listing",
716
716
  setup(o) {
717
- return (e, t) => (E(), C("div", yn, [
717
+ return (e, t) => (E(), I("div", yn, [
718
718
  y("div", bn, [
719
- I(Y, {
719
+ C(Y, {
720
720
  width: "280px",
721
721
  height: "153px"
722
722
  }),
723
723
  y("div", kn, [
724
- (E(), C(B, null, z(3, (n) => I(Y, {
724
+ (E(), I(B, null, z(3, (n) => C(Y, {
725
725
  key: n,
726
726
  width: "84px",
727
727
  height: "44px"
@@ -731,33 +731,33 @@ const en = /* @__PURE__ */ j({
731
731
  y("div", _n, [
732
732
  y("div", En, [
733
733
  y("div", Tn, [
734
- I(Y, {
734
+ C(Y, {
735
735
  height: "30px",
736
736
  width: "60%"
737
737
  }),
738
- I(Y, {
738
+ C(Y, {
739
739
  height: "30px",
740
740
  width: "30px",
741
741
  "border-radius": "100%"
742
742
  })
743
743
  ]),
744
- I(Y, {
744
+ C(Y, {
745
745
  height: "15px",
746
746
  width: "25%"
747
747
  })
748
748
  ]),
749
- y("div", In, [
750
- I(Y, { height: "15px" }),
751
- I(Y, { height: "15px" }),
752
- I(Y, { height: "15px" }),
753
- I(Y, { height: "15px" }),
754
- I(Y, {
749
+ y("div", Cn, [
750
+ C(Y, { height: "15px" }),
751
+ C(Y, { height: "15px" }),
752
+ C(Y, { height: "15px" }),
753
+ C(Y, { height: "15px" }),
754
+ C(Y, {
755
755
  height: "15px",
756
756
  width: "90%"
757
757
  })
758
758
  ]),
759
- y("div", Cn, [
760
- (E(), C(B, null, z(5, (n) => I(Y, {
759
+ y("div", In, [
760
+ (E(), I(B, null, z(5, (n) => C(Y, {
761
761
  key: n,
762
762
  height: "25px",
763
763
  width: "25px",
@@ -767,23 +767,23 @@ const en = /* @__PURE__ */ j({
767
767
  ])
768
768
  ]));
769
769
  }
770
- }), de = /* @__PURE__ */ J($n, [["__scopeId", "data-v-c7574b59"]]), Sn = { class: "hotel-skeleton" }, Vn = { class: "hotel-skeleton-content" }, Ln = { class: "hotel-skeleton-sidebar" }, Pn = /* @__PURE__ */ j({
770
+ }), de = /* @__PURE__ */ J($n, [["__scopeId", "data-v-c7574b59"]]), Sn = { class: "hotel-skeleton" }, Vn = { class: "hotel-skeleton-content" }, Ln = { class: "hotel-skeleton-sidebar" }, Pn = /* @__PURE__ */ G({
771
771
  __name: "HotelSkeleton",
772
772
  setup(o) {
773
- return (e, t) => (E(), C("div", Sn, [
773
+ return (e, t) => (E(), I("div", Sn, [
774
774
  y("div", Vn, [
775
- I(Ho, { hotel: "" }),
776
- I(de),
777
- I(de),
778
- I(de)
775
+ C(Ho, { hotel: "" }),
776
+ C(de),
777
+ C(de),
778
+ C(de)
779
779
  ]),
780
780
  y("div", Ln, [
781
- I(Lo)
781
+ C(Lo)
782
782
  ])
783
783
  ]));
784
784
  }
785
785
  }), xn = /* @__PURE__ */ J(Pn, [["__scopeId", "data-v-49e83cbb"]]), wn = (o) => (vt("data-v-fd9b6d4f"), o = o(), yt(), o), Hn = { id: "booking-availability-container" }, On = { id: "booking-availability-controls" };
786
- const Dn = { key: 1 }, An = { key: 0 }, Mn = {
786
+ const An = { key: 1 }, Dn = { key: 0 }, Mn = {
787
787
  key: 0,
788
788
  id: "booking-availability-packages"
789
789
  }, Rn = {
@@ -802,7 +802,7 @@ const Dn = { key: 1 }, An = { key: 0 }, Mn = {
802
802
  }, qn = {
803
803
  key: 2,
804
804
  id: "reservation-availability-next-dates"
805
- }, Gn = { class: "konnectio-hotel-availability-title" }, jn = { class: "reservation-special-offers-grid" }, Yn = ["title"];
805
+ }, jn = { class: "konnectio-hotel-availability-title" }, Gn = { class: "reservation-special-offers-grid" }, Yn = ["title"];
806
806
  const Kn = {
807
807
  key: 2,
808
808
  class: "konnectio-listing-loading"
@@ -810,7 +810,7 @@ const Kn = {
810
810
  key: 0,
811
811
  id: "konnectio-hotel-addons"
812
812
  };
813
- const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei = /* @__PURE__ */ wn(() => /* @__PURE__ */ y("br", null, null, -1)), ti = ["onClick"], oi = { class: "fresh-booking-panel" }, ni = { key: 0 }, ii = { key: 1 }, ri = { class: "fresh-booking-split-inputs" }, si = ["onClick"], ai = /* @__PURE__ */ j({
813
+ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei = /* @__PURE__ */ wn(() => /* @__PURE__ */ y("br", null, null, -1)), ti = ["onClick"], oi = { class: "fresh-booking-panel" }, ni = { key: 0 }, ii = { key: 1 }, ri = { class: "fresh-booking-split-inputs" }, si = ["onClick"], ai = /* @__PURE__ */ G({
814
814
  name: "HotelLayout",
815
815
  __name: "Hotel",
816
816
  props: {
@@ -823,28 +823,28 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
823
823
  const { t: e } = ne(), {
824
824
  templateID: t,
825
825
  countries: n,
826
- areListingsLoading: l,
827
- isPaymentLoading: s,
826
+ areListingsLoading: p,
827
+ isPaymentLoading: r,
828
828
  isReservationFormFilled: h,
829
829
  travelingFor: c,
830
- arrivalTime: d,
831
- departureTime: p,
830
+ arrivalTime: l,
831
+ departureTime: u,
832
832
  name: f,
833
833
  nameTitle: g,
834
834
  email: _,
835
- phone: u,
835
+ phone: d,
836
836
  firmName: b,
837
837
  postal: k,
838
838
  city: m,
839
839
  address: i,
840
- country: r,
840
+ country: s,
841
841
  remark: v,
842
842
  allergies: T,
843
843
  newsMails: $,
844
844
  roomSelect: L,
845
845
  roomDisplay: H,
846
- hasValidRoomSelection: D,
847
- availabilityData: A,
846
+ hasValidRoomSelection: A,
847
+ availabilityData: D,
848
848
  selectionHasNoAddons: W
849
849
  } = K(ie()), {
850
850
  arrivalDate: X,
@@ -853,21 +853,21 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
853
853
  currency: q,
854
854
  disableNewsletterSignup: Te,
855
855
  arrivalEarliest: Qe,
856
- arrivalLatest: Dt,
857
- departureEarliest: At,
856
+ arrivalLatest: At,
857
+ departureEarliest: Dt,
858
858
  departureLatest: Mt,
859
859
  enableTracking: Rt,
860
860
  arrivalDefault: Bt,
861
861
  departureDefault: zt,
862
862
  hideArrivalDepartureInputs: Wt,
863
- disableArrivalUserSelection: Ie,
863
+ disableArrivalUserSelection: Ce,
864
864
  disableNamePrefix: Ft,
865
- disableDepartureUserSelection: Ce,
865
+ disableDepartureUserSelection: Ie,
866
866
  disableTravelingFor: Nt,
867
867
  disableTravelingForBleasure: Ut,
868
868
  disableCompanyField: qt,
869
- hasPaymentGateway: Gt
870
- } = K(he()), { beginCheckout: jt } = bt(), {
869
+ hasPaymentGateway: jt
870
+ } = K(he()), { beginCheckout: Gt } = bt(), {
871
871
  initialize: Yt,
872
872
  resetTemplate: Kt,
873
873
  resetDiscountVoucher: Qt,
@@ -888,22 +888,22 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
888
888
  value: "Bleasure"
889
889
  }), O;
890
890
  }), eo = U(() => {
891
- const O = A.value.roomGroups.slice();
892
- O.forEach((G) => {
893
- G.pricesFrom = G.rates.reduce(
891
+ const O = D.value.roomGroups.slice();
892
+ O.forEach((j) => {
893
+ j.pricesFrom = j.rates.reduce(
894
894
  (M, S) => M < S.rackRate ? M : S.rackRate,
895
895
  1 / 0
896
896
  );
897
897
  });
898
- function P(G, M) {
899
- return Xt.value === !0 ? G.pricesFrom > M.pricesFrom ? -1 : 1 : G.pricesFrom > M.pricesFrom ? 1 : -1;
898
+ function P(j, M) {
899
+ return Xt.value === !0 ? j.pricesFrom > M.pricesFrom ? -1 : 1 : j.pricesFrom > M.pricesFrom ? 1 : -1;
900
900
  }
901
901
  return O.sort(P);
902
902
  }), to = U(() => [[
903
903
  parseInt(Qe.value.split(":")[0]),
904
- parseInt(Dt.value.split(":")[0])
904
+ parseInt(At.value.split(":")[0])
905
905
  ]]), oo = U(() => [[
906
- parseInt(At.value.split(":")[0]),
906
+ parseInt(Dt.value.split(":")[0]),
907
907
  parseInt(Mt.value.split(":")[0])
908
908
  ]]);
909
909
  function Je(O) {
@@ -916,10 +916,10 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
916
916
  await Jt(O);
917
917
  }
918
918
  function ro(O) {
919
- Rt.value && jt(), W.value ? O(2) : O();
919
+ Rt.value && Gt(), W.value ? O(2) : O();
920
920
  }
921
921
  function so() {
922
- d.value === "" && (d.value = Bt.value), p.value === "" && (p.value = zt.value);
922
+ l.value === "" && (l.value = Bt.value), u.value === "" && (u.value = zt.value);
923
923
  }
924
924
  return qe(() => {
925
925
  Yt(), so();
@@ -927,33 +927,33 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
927
927
  default: w(() => [
928
928
  (E(), R(yo, null, {
929
929
  default: w(() => [
930
- I(ko, {
930
+ C(ko, {
931
931
  id: "fresh-booking-hotel-module",
932
932
  "access-token": O.accessToken,
933
933
  type: "hotel"
934
934
  }, {
935
935
  default: w(() => [
936
- I(Po, {
936
+ C(Po, {
937
937
  layout: O.headerLayout,
938
938
  onReset: a(Kt)
939
939
  }, {
940
- availability: w(({ next: G }) => [
941
- I(Pe, null, {
940
+ availability: w(({ next: j }) => [
941
+ C(Pe, null, {
942
942
  form: w(() => [
943
943
  y("div", Hn, [
944
944
  y("div", On, [
945
- I(Oo, { booking: !0 })
945
+ C(Oo, { booking: !0 })
946
946
  ]),
947
947
  x("", !0),
948
- a(l) ? (E(), C("div", Kn, [
949
- I(de),
950
- I(de),
951
- I(de)
952
- ])) : (E(), C("div", Dn, [
953
- a(A).roomGroups.length > 0 || a(A).templates.length > 0 ? (E(), C("div", An, [
954
- a(A).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), C("div", Mn, [
955
- O.onlyShow !== "packages" ? (E(), C("h2", Rn, [
956
- I(Q, {
948
+ a(p) ? (E(), I("div", Kn, [
949
+ C(de),
950
+ C(de),
951
+ C(de)
952
+ ])) : (E(), I("div", An, [
953
+ a(D).roomGroups.length > 0 || a(D).templates.length > 0 ? (E(), I("div", Dn, [
954
+ a(D).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("div", Mn, [
955
+ O.onlyShow !== "packages" ? (E(), I("h2", Rn, [
956
+ C(Q, {
957
957
  icon: "box",
958
958
  type: "fal",
959
959
  color: "header"
@@ -961,7 +961,7 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
961
961
  y("span", null, V(a(e)("booking.availability.packagesTitle")), 1)
962
962
  ])) : x("", !0),
963
963
  y("ul", Bn, [
964
- (E(!0), C(B, null, z(a(A).templates, ({
964
+ (E(!0), I(B, null, z(a(D).templates, ({
965
965
  id: M,
966
966
  name: S,
967
967
  templateRoomGroups: se,
@@ -976,13 +976,13 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
976
976
  image: ae,
977
977
  weekendFee: $e,
978
978
  "room-groups": se,
979
- callback: G
979
+ callback: j
980
980
  }, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
981
981
  ])
982
982
  ])) : x("", !0),
983
- a(A).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), C("div", zn, [
984
- a(A).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), C("h2", Wn, [
985
- I(Q, {
983
+ a(D).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), I("div", zn, [
984
+ a(D).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("h2", Wn, [
985
+ C(Q, {
986
986
  icon: "house",
987
987
  type: "fal",
988
988
  color: "header"
@@ -990,28 +990,28 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
990
990
  y("span", null, V(a(e)("booking.availability.roomsTitle")), 1)
991
991
  ])) : x("", !0),
992
992
  y("ul", Fn, [
993
- (E(!0), C(B, null, z(eo.value, (M, S) => (E(), R(tn, {
993
+ (E(!0), I(B, null, z(eo.value, (M, S) => (E(), R(tn, {
994
994
  room: M,
995
995
  key: S
996
996
  }, null, 8, ["room"]))), 128))
997
997
  ])
998
998
  ])) : x("", !0),
999
- (a(A).templates.length === 0 && O.onlyShow !== "rooms" || a(A).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), C("div", Nn, [
999
+ (a(D).templates.length === 0 && O.onlyShow !== "rooms" || a(D).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), I("div", Nn, [
1000
1000
  y("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
1001
1001
  ])) : x("", !0)
1002
- ])) : a(A).nextAvailableDates.length === 0 ? (E(), C("div", Un, [
1002
+ ])) : a(D).nextAvailableDates.length === 0 ? (E(), I("div", Un, [
1003
1003
  y("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
1004
- ])) : (E(), C("div", qn, [
1005
- y("h2", Gn, [
1006
- I(Q, {
1004
+ ])) : (E(), I("div", qn, [
1005
+ y("h2", jn, [
1006
+ C(Q, {
1007
1007
  icon: "calendar-circle-exclamation",
1008
1008
  type: "fal",
1009
1009
  color: "header"
1010
1010
  }),
1011
1011
  y("span", null, V(a(e)("booking.availability.nextAvailableDates")), 1)
1012
1012
  ]),
1013
- y("ul", jn, [
1014
- (E(!0), C(B, null, z(a(A).nextAvailableDates, (M, S) => (E(), C("li", { key: S }, [
1013
+ y("ul", Gn, [
1014
+ (E(!0), I(B, null, z(a(D).nextAvailableDates, (M, S) => (E(), I("li", { key: S }, [
1015
1015
  y("h3", {
1016
1016
  title: `${a(te)(M.fromDate)} - ${a(te)(M.toDate)}`
1017
1017
  }, [
@@ -1020,7 +1020,7 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1020
1020
  y("ul", null, [
1021
1021
  x("", !0),
1022
1022
  y("li", null, [
1023
- I(Q, {
1023
+ C(Q, {
1024
1024
  icon: "money-bill",
1025
1025
  type: "fal",
1026
1026
  color: "header"
@@ -1028,7 +1028,7 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1028
1028
  y("span", null, V(a(e)("booking.availability.pricesFrom")) + ": " + V(a(oe)(M.priceStartFrom, a(q))), 1)
1029
1029
  ])
1030
1030
  ]),
1031
- I(le, {
1031
+ C(le, {
1032
1032
  label: a(e)("booking.availability.selectDates"),
1033
1033
  "full-width": "",
1034
1034
  onClickEvent: (se) => no(M.fromDate, M.toDate)
@@ -1040,36 +1040,36 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1040
1040
  ])
1041
1041
  ]),
1042
1042
  navigation: w(() => [
1043
- I(le, {
1043
+ C(le, {
1044
1044
  label: a(W) ? a(e)("booking.availability.nextButton") : a(e)("general.chooseAddons"),
1045
- disabled: !a(D),
1045
+ disabled: !a(A),
1046
1046
  "is-loading": !1,
1047
1047
  "full-width": "",
1048
- onClickEvent: (M) => ro(G)
1048
+ onClickEvent: (M) => ro(j)
1049
1049
  }, null, 8, ["label", "disabled", "onClickEvent"])
1050
1050
  ]),
1051
1051
  _: 2
1052
1052
  }, 1024)
1053
1053
  ]),
1054
- addons: w(({ next: G, prev: M }) => [
1055
- I(Pe, null, {
1054
+ addons: w(({ next: j, prev: M }) => [
1055
+ C(Pe, null, {
1056
1056
  form: w(() => [
1057
1057
  y("form", Qn, [
1058
1058
  y("h2", null, [
1059
1059
  y("span", null, V(a(e)("booking.reservation.addons")), 1)
1060
1060
  ]),
1061
1061
  y("div", null, [
1062
- isNaN(a(t)) ? (E(), C("div", Jn, [
1063
- (E(!0), C(B, null, z(a(H), (S) => (E(), C("ul", {
1062
+ isNaN(a(t)) ? (E(), I("div", Jn, [
1063
+ (E(!0), I(B, null, z(a(H), (S) => (E(), I("ul", {
1064
1064
  key: S.roomGroupID
1065
1065
  }, [
1066
- (E(!0), C(B, null, z(S.variants, (se, ae) => (E(), C("li", {
1066
+ (E(!0), I(B, null, z(S.variants, (se, ae) => (E(), I("li", {
1067
1067
  key: se.ratePlanID
1068
1068
  }, [
1069
1069
  y("h4", null, [
1070
1070
  y("span", null, V(a(ue)(S.title)), 1)
1071
1071
  ]),
1072
- (E(!0), C(B, null, z(se.rooms, (N, $e) => (E(), C("table", {
1072
+ (E(!0), I(B, null, z(se.rooms, (N, $e) => (E(), I("table", {
1073
1073
  key: $e,
1074
1074
  class: "fresh-booking-table"
1075
1075
  }, [
@@ -1081,7 +1081,7 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1081
1081
  x("", !0),
1082
1082
  y("th", Xn, [
1083
1083
  y("b", null, [
1084
- I(Q, {
1084
+ C(Q, {
1085
1085
  icon: "male",
1086
1086
  type: "fas",
1087
1087
  color: "font"
@@ -1093,19 +1093,19 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1093
1093
  type: "fas",
1094
1094
  color: "font"
1095
1095
  })) : x("", !0),
1096
- N.childrenCount > 0 ? (E(), C("span", Zn, V(N.childrenCount), 1)) : x("", !0)
1096
+ N.childrenCount > 0 ? (E(), I("span", Zn, V(N.childrenCount), 1)) : x("", !0)
1097
1097
  ])
1098
1098
  ])
1099
1099
  ])
1100
1100
  ]),
1101
1101
  y("tbody", null, [
1102
- (E(!0), C(B, null, z(S.addons, ({
1102
+ (E(!0), I(B, null, z(S.addons, ({
1103
1103
  quantityStrategy: Se,
1104
1104
  maximumNumber: ao,
1105
1105
  id: pe,
1106
1106
  name: lo,
1107
1107
  price: uo
1108
- }) => (E(), C("tr", { key: pe }, [
1108
+ }) => (E(), I("tr", { key: pe }, [
1109
1109
  y("td", null, [
1110
1110
  y("b", null, V(a(ue)(lo)), 1),
1111
1111
  ei,
@@ -1136,10 +1136,10 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1136
1136
  ])
1137
1137
  ]),
1138
1138
  navigation: w(() => [
1139
- I(le, {
1139
+ C(le, {
1140
1140
  label: a(e)("general.startReservation"),
1141
1141
  "full-width": "",
1142
- onClickEvent: G
1142
+ onClickEvent: j
1143
1143
  }, null, 8, ["label", "onClickEvent"]),
1144
1144
  y("button", {
1145
1145
  class: "konnectio-abort-reservation link",
@@ -1151,8 +1151,8 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1151
1151
  _: 2
1152
1152
  }, 1024)
1153
1153
  ]),
1154
- reservation: w(({ next: G, prev: M }) => [
1155
- I(Pe, {
1154
+ reservation: w(({ next: j, prev: M }) => [
1155
+ C(Pe, {
1156
1156
  "show-terms-notice": !0,
1157
1157
  "show-gift-card": !0
1158
1158
  }, {
@@ -1161,24 +1161,24 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1161
1161
  y("h2", null, [
1162
1162
  y("span", null, V(a(e)("booking.reservation.detailsTitle")), 1)
1163
1163
  ]),
1164
- !a(Wt) && !(a(Ie) && a(Ce)) ? (E(), C("ul", {
1164
+ !a(Wt) && !(a(Ce) && a(Ie)) ? (E(), I("ul", {
1165
1165
  key: 0,
1166
- class: ke({ "fresh-booking-split-inputs": !a(Ie) && !a(Ce) })
1166
+ class: ke({ "fresh-booking-split-inputs": !a(Ce) && !a(Ie) })
1167
1167
  }, [
1168
- a(Ie) ? x("", !0) : (E(), C("li", ni, [
1169
- I(tt, {
1170
- modelValue: a(d),
1171
- "onUpdate:modelValue": P[1] || (P[1] = (S) => F(d) ? d.value = S : null),
1168
+ a(Ce) ? x("", !0) : (E(), I("li", ni, [
1169
+ C(tt, {
1170
+ modelValue: a(l),
1171
+ "onUpdate:modelValue": P[1] || (P[1] = (S) => F(l) ? l.value = S : null),
1172
1172
  label: a(e)("booking.reservation.arrivalTime"),
1173
1173
  icon: "hourglass-start",
1174
1174
  "hour-range": to.value,
1175
1175
  required: ""
1176
1176
  }, null, 8, ["modelValue", "label", "hour-range"])
1177
1177
  ])),
1178
- a(Ce) ? x("", !0) : (E(), C("li", ii, [
1179
- I(tt, {
1180
- modelValue: a(p),
1181
- "onUpdate:modelValue": P[2] || (P[2] = (S) => F(p) ? p.value = S : null),
1178
+ a(Ie) ? x("", !0) : (E(), I("li", ii, [
1179
+ C(tt, {
1180
+ modelValue: a(u),
1181
+ "onUpdate:modelValue": P[2] || (P[2] = (S) => F(u) ? u.value = S : null),
1182
1182
  label: a(e)("booking.reservation.departureTime"),
1183
1183
  icon: "hourglass-end",
1184
1184
  "hour-range": oo.value,
@@ -1186,7 +1186,7 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1186
1186
  }, null, 8, ["modelValue", "label", "hour-range"])
1187
1187
  ]))
1188
1188
  ], 2)) : x("", !0),
1189
- I(vn, {
1189
+ C(vn, {
1190
1190
  modelValue: a(f),
1191
1191
  "onUpdate:modelValue": P[3] || (P[3] = (S) => F(f) ? f.value = S : null),
1192
1192
  title: a(g),
@@ -1197,7 +1197,7 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1197
1197
  placeholder: a(e)("booking.reservation.namePlaceholder"),
1198
1198
  required: ""
1199
1199
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
1200
- I(ee, {
1200
+ C(ee, {
1201
1201
  modelValue: a(_),
1202
1202
  "onUpdate:modelValue": P[5] || (P[5] = (S) => F(_) ? _.value = S : null),
1203
1203
  type: "email",
@@ -1227,23 +1227,23 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1227
1227
  icon: "id-card",
1228
1228
  placeholder: a(e)("booking.reservation.companyNamePlaceholder")
1229
1229
  }, null, 8, ["modelValue", "label", "placeholder"])),
1230
- I(Ao, {
1231
- modelValue: a(u),
1232
- "onUpdate:modelValue": P[8] || (P[8] = (S) => F(u) ? u.value = S : null),
1230
+ C(Do, {
1231
+ modelValue: a(d),
1232
+ "onUpdate:modelValue": P[8] || (P[8] = (S) => F(d) ? d.value = S : null),
1233
1233
  icon: "phone-office",
1234
1234
  label: a(e)("booking.reservation.phone"),
1235
1235
  placeholder: a(e)("booking.reservation.phonePlaceholder"),
1236
1236
  required: ""
1237
1237
  }, null, 8, ["modelValue", "label", "placeholder"]),
1238
- I(pn, {
1239
- modelValue: a(r),
1240
- "onUpdate:modelValue": P[9] || (P[9] = (S) => F(r) ? r.value = S : null),
1238
+ C(pn, {
1239
+ modelValue: a(s),
1240
+ "onUpdate:modelValue": P[9] || (P[9] = (S) => F(s) ? s.value = S : null),
1241
1241
  label: a(e)("booking.reservation.country"),
1242
1242
  placeholder: a(e)("booking.reservation.countryPlaceholder"),
1243
1243
  options: a(n),
1244
1244
  required: ""
1245
1245
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
1246
- I(ee, {
1246
+ C(ee, {
1247
1247
  modelValue: a(i),
1248
1248
  "onUpdate:modelValue": P[10] || (P[10] = (S) => F(i) ? i.value = S : null),
1249
1249
  type: "textarea",
@@ -1256,7 +1256,7 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1256
1256
  }, null, 8, ["modelValue", "label", "placeholder"]),
1257
1257
  y("ul", ri, [
1258
1258
  y("li", null, [
1259
- I(ee, {
1259
+ C(ee, {
1260
1260
  modelValue: a(k),
1261
1261
  "onUpdate:modelValue": P[11] || (P[11] = (S) => F(k) ? k.value = S : null),
1262
1262
  type: "text",
@@ -1269,7 +1269,7 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1269
1269
  }, null, 8, ["modelValue", "label", "placeholder"])
1270
1270
  ]),
1271
1271
  y("li", null, [
1272
- I(ee, {
1272
+ C(ee, {
1273
1273
  modelValue: a(m),
1274
1274
  "onUpdate:modelValue": P[12] || (P[12] = (S) => F(m) ? m.value = S : null),
1275
1275
  type: "text",
@@ -1282,7 +1282,7 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1282
1282
  }, null, 8, ["modelValue", "label", "placeholder"])
1283
1283
  ])
1284
1284
  ]),
1285
- I(ee, {
1285
+ C(ee, {
1286
1286
  modelValue: a(v),
1287
1287
  "onUpdate:modelValue": P[13] || (P[13] = (S) => F(v) ? v.value = S : null),
1288
1288
  type: "textarea",
@@ -1290,7 +1290,7 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1290
1290
  icon: "info-circle",
1291
1291
  placeholder: a(e)("booking.reservation.remarkPlaceholder")
1292
1292
  }, null, 8, ["modelValue", "label", "placeholder"]),
1293
- I(ee, {
1293
+ C(ee, {
1294
1294
  modelValue: a(T),
1295
1295
  "onUpdate:modelValue": P[14] || (P[14] = (S) => F(T) ? T.value = S : null),
1296
1296
  type: "textarea",
@@ -1310,12 +1310,12 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1310
1310
  ]),
1311
1311
  navigation: w(() => [
1312
1312
  y("div", null, [
1313
- I(le, {
1314
- label: a(Gt) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
1313
+ C(le, {
1314
+ label: a(jt) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
1315
1315
  disabled: !a(h),
1316
- "is-loading": a(s),
1316
+ "is-loading": a(r),
1317
1317
  "full-width": "",
1318
- onClickEvent: (S) => io(G)
1318
+ onClickEvent: (S) => io(j)
1319
1319
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
1320
1320
  y("button", {
1321
1321
  class: "konnectio-abort-reservation link",
@@ -1329,10 +1329,10 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1329
1329
  }, 1024)
1330
1330
  ]),
1331
1331
  payment: w(() => [
1332
- I(Mo)
1332
+ C(Mo)
1333
1333
  ]),
1334
1334
  confirmation: w(() => [
1335
- I(xo, {
1335
+ C(xo, {
1336
1336
  message: a(e)("booking.confirmation.thankYou")
1337
1337
  }, null, 8, ["message"])
1338
1338
  ]),
@@ -1343,7 +1343,7 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1343
1343
  }, 8, ["access-token"])
1344
1344
  ]),
1345
1345
  fallback: w(() => [
1346
- I(xn)
1346
+ C(xn)
1347
1347
  ]),
1348
1348
  _: 1
1349
1349
  }))
@@ -1352,8 +1352,8 @@ const Xn = { class: "fresh-booking-event-addons-price" }, Zn = { key: 1 }, ei =
1352
1352
  }, 8, ["styling"]));
1353
1353
  }
1354
1354
  }), fe = /* @__PURE__ */ J(ai, [["__scopeId", "data-v-fd9b6d4f"]]);
1355
- var Ct = { exports: {} }, xe = { exports: {} }, we = { exports: {} }, ot;
1356
- function je() {
1355
+ var It = { exports: {} }, xe = { exports: {} }, we = { exports: {} }, ot;
1356
+ function Ge() {
1357
1357
  return ot || (ot = 1, function(o) {
1358
1358
  (function(e, t) {
1359
1359
  o.exports ? o.exports = t() : e.EvEmitter = t();
@@ -1361,30 +1361,30 @@ function je() {
1361
1361
  function e() {
1362
1362
  }
1363
1363
  var t = e.prototype;
1364
- return t.on = function(n, l) {
1365
- if (!(!n || !l)) {
1366
- var s = this._events = this._events || {}, h = s[n] = s[n] || [];
1367
- return h.indexOf(l) == -1 && h.push(l), this;
1364
+ return t.on = function(n, p) {
1365
+ if (!(!n || !p)) {
1366
+ var r = this._events = this._events || {}, h = r[n] = r[n] || [];
1367
+ return h.indexOf(p) == -1 && h.push(p), this;
1368
1368
  }
1369
- }, t.once = function(n, l) {
1370
- if (!(!n || !l)) {
1371
- this.on(n, l);
1372
- var s = this._onceEvents = this._onceEvents || {}, h = s[n] = s[n] || {};
1373
- return h[l] = !0, this;
1369
+ }, t.once = function(n, p) {
1370
+ if (!(!n || !p)) {
1371
+ this.on(n, p);
1372
+ var r = this._onceEvents = this._onceEvents || {}, h = r[n] = r[n] || {};
1373
+ return h[p] = !0, this;
1374
1374
  }
1375
- }, t.off = function(n, l) {
1376
- var s = this._events && this._events[n];
1377
- if (!(!s || !s.length)) {
1378
- var h = s.indexOf(l);
1379
- return h != -1 && s.splice(h, 1), this;
1375
+ }, t.off = function(n, p) {
1376
+ var r = this._events && this._events[n];
1377
+ if (!(!r || !r.length)) {
1378
+ var h = r.indexOf(p);
1379
+ return h != -1 && r.splice(h, 1), this;
1380
1380
  }
1381
- }, t.emitEvent = function(n, l) {
1382
- var s = this._events && this._events[n];
1383
- if (!(!s || !s.length)) {
1384
- s = s.slice(0), l = l || [];
1385
- for (var h = this._onceEvents && this._onceEvents[n], c = 0; c < s.length; c++) {
1386
- var d = s[c], p = h && h[d];
1387
- p && (this.off(n, d), delete h[d]), d.apply(this, l);
1381
+ }, t.emitEvent = function(n, p) {
1382
+ var r = this._events && this._events[n];
1383
+ if (!(!r || !r.length)) {
1384
+ r = r.slice(0), p = p || [];
1385
+ for (var h = this._onceEvents && this._onceEvents[n], c = 0; c < r.length; c++) {
1386
+ var l = r[c], u = h && h[l];
1387
+ u && (this.off(n, l), delete h[l]), l.apply(this, p);
1388
1388
  }
1389
1389
  return this;
1390
1390
  }
@@ -1406,15 +1406,15 @@ function Ye() {
1406
1406
  (function(e, t) {
1407
1407
  o.exports ? o.exports = t() : e.getSize = t();
1408
1408
  })(window, function() {
1409
- function t(u) {
1410
- var b = parseFloat(u), k = u.indexOf("%") == -1 && !isNaN(b);
1409
+ function t(d) {
1410
+ var b = parseFloat(d), k = d.indexOf("%") == -1 && !isNaN(b);
1411
1411
  return k && b;
1412
1412
  }
1413
1413
  function n() {
1414
1414
  }
1415
- var l = typeof console > "u" ? n : function(u) {
1416
- console.error(u);
1417
- }, s = [
1415
+ var p = typeof console > "u" ? n : function(d) {
1416
+ console.error(d);
1417
+ }, r = [
1418
1418
  "paddingLeft",
1419
1419
  "paddingRight",
1420
1420
  "paddingTop",
@@ -1427,9 +1427,9 @@ function Ye() {
1427
1427
  "borderRightWidth",
1428
1428
  "borderTopWidth",
1429
1429
  "borderBottomWidth"
1430
- ], h = s.length;
1430
+ ], h = r.length;
1431
1431
  function c() {
1432
- for (var u = {
1432
+ for (var d = {
1433
1433
  width: 0,
1434
1434
  height: 0,
1435
1435
  innerWidth: 0,
@@ -1437,51 +1437,51 @@ function Ye() {
1437
1437
  outerWidth: 0,
1438
1438
  outerHeight: 0
1439
1439
  }, b = 0; b < h; b++) {
1440
- var k = s[b];
1441
- u[k] = 0;
1440
+ var k = r[b];
1441
+ d[k] = 0;
1442
1442
  }
1443
- return u;
1443
+ return d;
1444
1444
  }
1445
- function d(u) {
1446
- var b = getComputedStyle(u);
1447
- return b || l("Style returned " + b + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), b;
1445
+ function l(d) {
1446
+ var b = getComputedStyle(d);
1447
+ return b || p("Style returned " + b + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), b;
1448
1448
  }
1449
- var p = !1, f;
1449
+ var u = !1, f;
1450
1450
  function g() {
1451
- if (!p) {
1452
- p = !0;
1453
- var u = document.createElement("div");
1454
- u.style.width = "200px", u.style.padding = "1px 2px 3px 4px", u.style.borderStyle = "solid", u.style.borderWidth = "1px 2px 3px 4px", u.style.boxSizing = "border-box";
1451
+ if (!u) {
1452
+ u = !0;
1453
+ var d = document.createElement("div");
1454
+ d.style.width = "200px", d.style.padding = "1px 2px 3px 4px", d.style.borderStyle = "solid", d.style.borderWidth = "1px 2px 3px 4px", d.style.boxSizing = "border-box";
1455
1455
  var b = document.body || document.documentElement;
1456
- b.appendChild(u);
1457
- var k = d(u);
1458
- f = Math.round(t(k.width)) == 200, _.isBoxSizeOuter = f, b.removeChild(u);
1456
+ b.appendChild(d);
1457
+ var k = l(d);
1458
+ f = Math.round(t(k.width)) == 200, _.isBoxSizeOuter = f, b.removeChild(d);
1459
1459
  }
1460
1460
  }
1461
- function _(u) {
1462
- if (g(), typeof u == "string" && (u = document.querySelector(u)), !(!u || typeof u != "object" || !u.nodeType)) {
1463
- var b = d(u);
1461
+ function _(d) {
1462
+ if (g(), typeof d == "string" && (d = document.querySelector(d)), !(!d || typeof d != "object" || !d.nodeType)) {
1463
+ var b = l(d);
1464
1464
  if (b.display == "none")
1465
1465
  return c();
1466
1466
  var k = {};
1467
- k.width = u.offsetWidth, k.height = u.offsetHeight;
1467
+ k.width = d.offsetWidth, k.height = d.offsetHeight;
1468
1468
  for (var m = k.isBorderBox = b.boxSizing == "border-box", i = 0; i < h; i++) {
1469
- var r = s[i], v = b[r], T = parseFloat(v);
1470
- k[r] = isNaN(T) ? 0 : T;
1469
+ var s = r[i], v = b[s], T = parseFloat(v);
1470
+ k[s] = isNaN(T) ? 0 : T;
1471
1471
  }
1472
- var $ = k.paddingLeft + k.paddingRight, L = k.paddingTop + k.paddingBottom, H = k.marginLeft + k.marginRight, D = k.marginTop + k.marginBottom, A = k.borderLeftWidth + k.borderRightWidth, W = k.borderTopWidth + k.borderBottomWidth, X = m && f, re = t(b.width);
1472
+ var $ = k.paddingLeft + k.paddingRight, L = k.paddingTop + k.paddingBottom, H = k.marginLeft + k.marginRight, A = k.marginTop + k.marginBottom, D = k.borderLeftWidth + k.borderRightWidth, W = k.borderTopWidth + k.borderBottomWidth, X = m && f, re = t(b.width);
1473
1473
  re !== !1 && (k.width = re + // add padding and border unless it's already including it
1474
- (X ? 0 : $ + A));
1474
+ (X ? 0 : $ + D));
1475
1475
  var q = t(b.height);
1476
1476
  return q !== !1 && (k.height = q + // add padding and border unless it's already including it
1477
- (X ? 0 : L + W)), k.innerWidth = k.width - ($ + A), k.innerHeight = k.height - (L + W), k.outerWidth = k.width + H, k.outerHeight = k.height + D, k;
1477
+ (X ? 0 : L + W)), k.innerWidth = k.width - ($ + D), k.innerHeight = k.height - (L + W), k.outerWidth = k.width + H, k.outerHeight = k.height + A, k;
1478
1478
  }
1479
1479
  }
1480
1480
  return _;
1481
1481
  });
1482
1482
  }(He)), He.exports;
1483
1483
  }
1484
- var Oe = { exports: {} }, De = { exports: {} }, it;
1484
+ var Oe = { exports: {} }, Ae = { exports: {} }, it;
1485
1485
  function li() {
1486
1486
  return it || (it = 1, function(o) {
1487
1487
  (function(e, t) {
@@ -1493,17 +1493,17 @@ function li() {
1493
1493
  return "matches";
1494
1494
  if (n.matchesSelector)
1495
1495
  return "matchesSelector";
1496
- for (var l = ["webkit", "moz", "ms", "o"], s = 0; s < l.length; s++) {
1497
- var h = l[s], c = h + "MatchesSelector";
1496
+ for (var p = ["webkit", "moz", "ms", "o"], r = 0; r < p.length; r++) {
1497
+ var h = p[r], c = h + "MatchesSelector";
1498
1498
  if (n[c])
1499
1499
  return c;
1500
1500
  }
1501
1501
  }();
1502
- return function(l, s) {
1503
- return l[t](s);
1502
+ return function(p, r) {
1503
+ return p[t](r);
1504
1504
  };
1505
1505
  });
1506
- }(De)), De.exports;
1506
+ }(Ae)), Ae.exports;
1507
1507
  }
1508
1508
  var rt;
1509
1509
  function ui() {
@@ -1517,108 +1517,108 @@ function ui() {
1517
1517
  e.matchesSelector
1518
1518
  );
1519
1519
  })(window, function(t, n) {
1520
- var l = {};
1521
- l.extend = function(c, d) {
1522
- for (var p in d)
1523
- c[p] = d[p];
1520
+ var p = {};
1521
+ p.extend = function(c, l) {
1522
+ for (var u in l)
1523
+ c[u] = l[u];
1524
1524
  return c;
1525
- }, l.modulo = function(c, d) {
1526
- return (c % d + d) % d;
1525
+ }, p.modulo = function(c, l) {
1526
+ return (c % l + l) % l;
1527
1527
  };
1528
- var s = Array.prototype.slice;
1529
- l.makeArray = function(c) {
1528
+ var r = Array.prototype.slice;
1529
+ p.makeArray = function(c) {
1530
1530
  if (Array.isArray(c))
1531
1531
  return c;
1532
1532
  if (c == null)
1533
1533
  return [];
1534
- var d = typeof c == "object" && typeof c.length == "number";
1535
- return d ? s.call(c) : [c];
1536
- }, l.removeFrom = function(c, d) {
1537
- var p = c.indexOf(d);
1538
- p != -1 && c.splice(p, 1);
1539
- }, l.getParent = function(c, d) {
1534
+ var l = typeof c == "object" && typeof c.length == "number";
1535
+ return l ? r.call(c) : [c];
1536
+ }, p.removeFrom = function(c, l) {
1537
+ var u = c.indexOf(l);
1538
+ u != -1 && c.splice(u, 1);
1539
+ }, p.getParent = function(c, l) {
1540
1540
  for (; c.parentNode && c != document.body; )
1541
- if (c = c.parentNode, n(c, d))
1541
+ if (c = c.parentNode, n(c, l))
1542
1542
  return c;
1543
- }, l.getQueryElement = function(c) {
1543
+ }, p.getQueryElement = function(c) {
1544
1544
  return typeof c == "string" ? document.querySelector(c) : c;
1545
- }, l.handleEvent = function(c) {
1546
- var d = "on" + c.type;
1547
- this[d] && this[d](c);
1548
- }, l.filterFindElements = function(c, d) {
1549
- c = l.makeArray(c);
1550
- var p = [];
1545
+ }, p.handleEvent = function(c) {
1546
+ var l = "on" + c.type;
1547
+ this[l] && this[l](c);
1548
+ }, p.filterFindElements = function(c, l) {
1549
+ c = p.makeArray(c);
1550
+ var u = [];
1551
1551
  return c.forEach(function(f) {
1552
1552
  if (f instanceof HTMLElement) {
1553
- if (!d) {
1554
- p.push(f);
1553
+ if (!l) {
1554
+ u.push(f);
1555
1555
  return;
1556
1556
  }
1557
- n(f, d) && p.push(f);
1558
- for (var g = f.querySelectorAll(d), _ = 0; _ < g.length; _++)
1559
- p.push(g[_]);
1557
+ n(f, l) && u.push(f);
1558
+ for (var g = f.querySelectorAll(l), _ = 0; _ < g.length; _++)
1559
+ u.push(g[_]);
1560
1560
  }
1561
- }), p;
1562
- }, l.debounceMethod = function(c, d, p) {
1563
- p = p || 100;
1564
- var f = c.prototype[d], g = d + "Timeout";
1565
- c.prototype[d] = function() {
1561
+ }), u;
1562
+ }, p.debounceMethod = function(c, l, u) {
1563
+ u = u || 100;
1564
+ var f = c.prototype[l], g = l + "Timeout";
1565
+ c.prototype[l] = function() {
1566
1566
  var _ = this[g];
1567
1567
  clearTimeout(_);
1568
- var u = arguments, b = this;
1568
+ var d = arguments, b = this;
1569
1569
  this[g] = setTimeout(function() {
1570
- f.apply(b, u), delete b[g];
1571
- }, p);
1570
+ f.apply(b, d), delete b[g];
1571
+ }, u);
1572
1572
  };
1573
- }, l.docReady = function(c) {
1574
- var d = document.readyState;
1575
- d == "complete" || d == "interactive" ? setTimeout(c) : document.addEventListener("DOMContentLoaded", c);
1576
- }, l.toDashed = function(c) {
1577
- return c.replace(/(.)([A-Z])/g, function(d, p, f) {
1578
- return p + "-" + f;
1573
+ }, p.docReady = function(c) {
1574
+ var l = document.readyState;
1575
+ l == "complete" || l == "interactive" ? setTimeout(c) : document.addEventListener("DOMContentLoaded", c);
1576
+ }, p.toDashed = function(c) {
1577
+ return c.replace(/(.)([A-Z])/g, function(l, u, f) {
1578
+ return u + "-" + f;
1579
1579
  }).toLowerCase();
1580
1580
  };
1581
1581
  var h = t.console;
1582
- return l.htmlInit = function(c, d) {
1583
- l.docReady(function() {
1584
- var p = l.toDashed(d), f = "data-" + p, g = document.querySelectorAll("[" + f + "]"), _ = document.querySelectorAll(".js-" + p), u = l.makeArray(g).concat(l.makeArray(_)), b = f + "-options", k = t.jQuery;
1585
- u.forEach(function(m) {
1586
- var i = m.getAttribute(f) || m.getAttribute(b), r;
1582
+ return p.htmlInit = function(c, l) {
1583
+ p.docReady(function() {
1584
+ var u = p.toDashed(l), f = "data-" + u, g = document.querySelectorAll("[" + f + "]"), _ = document.querySelectorAll(".js-" + u), d = p.makeArray(g).concat(p.makeArray(_)), b = f + "-options", k = t.jQuery;
1585
+ d.forEach(function(m) {
1586
+ var i = m.getAttribute(f) || m.getAttribute(b), s;
1587
1587
  try {
1588
- r = i && JSON.parse(i);
1588
+ s = i && JSON.parse(i);
1589
1589
  } catch (T) {
1590
1590
  h && h.error("Error parsing " + f + " on " + m.className + ": " + T);
1591
1591
  return;
1592
1592
  }
1593
- var v = new c(m, r);
1594
- k && k.data(m, d, v);
1593
+ var v = new c(m, s);
1594
+ k && k.data(m, l, v);
1595
1595
  });
1596
1596
  });
1597
- }, l;
1597
+ }, p;
1598
1598
  });
1599
1599
  }(Oe)), Oe.exports;
1600
1600
  }
1601
- var Ae = { exports: {} }, st;
1601
+ var De = { exports: {} }, st;
1602
1602
  function di() {
1603
1603
  return st || (st = 1, function(o) {
1604
1604
  (function(e, t) {
1605
1605
  o.exports ? o.exports = t(
1606
- je(),
1606
+ Ge(),
1607
1607
  Ye()
1608
1608
  ) : (e.Outlayer = {}, e.Outlayer.Item = t(
1609
1609
  e.EvEmitter,
1610
1610
  e.getSize
1611
1611
  ));
1612
1612
  })(window, function(t, n) {
1613
- function l(m) {
1613
+ function p(m) {
1614
1614
  for (var i in m)
1615
1615
  return !1;
1616
1616
  return i = null, !0;
1617
1617
  }
1618
- var s = document.documentElement.style, h = typeof s.transition == "string" ? "transition" : "WebkitTransition", c = typeof s.transform == "string" ? "transform" : "WebkitTransform", d = {
1618
+ var r = document.documentElement.style, h = typeof r.transition == "string" ? "transition" : "WebkitTransition", c = typeof r.transform == "string" ? "transform" : "WebkitTransform", l = {
1619
1619
  WebkitTransition: "webkitTransitionEnd",
1620
1620
  transition: "transitionend"
1621
- }[h], p = {
1621
+ }[h], u = {
1622
1622
  transform: c,
1623
1623
  transition: h,
1624
1624
  transitionDuration: h + "Duration",
@@ -1647,18 +1647,18 @@ function di() {
1647
1647
  this.size = n(this.element);
1648
1648
  }, g.css = function(m) {
1649
1649
  var i = this.element.style;
1650
- for (var r in m) {
1651
- var v = p[r] || r;
1652
- i[v] = m[r];
1650
+ for (var s in m) {
1651
+ var v = u[s] || s;
1652
+ i[v] = m[s];
1653
1653
  }
1654
1654
  }, g.getPosition = function() {
1655
- var m = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), r = this.layout._getOption("originTop"), v = m[i ? "left" : "right"], T = m[r ? "top" : "bottom"], $ = parseFloat(v), L = parseFloat(T), H = this.layout.size;
1656
- v.indexOf("%") != -1 && ($ = $ / 100 * H.width), T.indexOf("%") != -1 && (L = L / 100 * H.height), $ = isNaN($) ? 0 : $, L = isNaN(L) ? 0 : L, $ -= i ? H.paddingLeft : H.paddingRight, L -= r ? H.paddingTop : H.paddingBottom, this.position.x = $, this.position.y = L;
1655
+ var m = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), s = this.layout._getOption("originTop"), v = m[i ? "left" : "right"], T = m[s ? "top" : "bottom"], $ = parseFloat(v), L = parseFloat(T), H = this.layout.size;
1656
+ v.indexOf("%") != -1 && ($ = $ / 100 * H.width), T.indexOf("%") != -1 && (L = L / 100 * H.height), $ = isNaN($) ? 0 : $, L = isNaN(L) ? 0 : L, $ -= i ? H.paddingLeft : H.paddingRight, L -= s ? H.paddingTop : H.paddingBottom, this.position.x = $, this.position.y = L;
1657
1657
  }, g.layoutPosition = function() {
1658
- var m = 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", H = this.position.x + m[T];
1658
+ var m = this.layout.size, i = {}, s = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"), T = s ? "paddingLeft" : "paddingRight", $ = s ? "left" : "right", L = s ? "right" : "left", H = this.position.x + m[T];
1659
1659
  i[$] = this.getXValue(H), i[L] = "";
1660
- var D = v ? "paddingTop" : "paddingBottom", A = v ? "top" : "bottom", W = v ? "bottom" : "top", X = this.position.y + m[D];
1661
- i[A] = this.getYValue(X), i[W] = "", this.css(i), this.emitEvent("layout", [this]);
1660
+ var A = v ? "paddingTop" : "paddingBottom", D = v ? "top" : "bottom", W = v ? "bottom" : "top", X = this.position.y + m[A];
1661
+ i[D] = this.getYValue(X), i[W] = "", this.css(i), this.emitEvent("layout", [this]);
1662
1662
  }, g.getXValue = function(m) {
1663
1663
  var i = this.layout._getOption("horizontal");
1664
1664
  return this.layout.options.percentPosition && !i ? m / this.layout.size.width * 100 + "%" : m + "px";
@@ -1667,12 +1667,12 @@ function di() {
1667
1667
  return this.layout.options.percentPosition && i ? m / this.layout.size.height * 100 + "%" : m + "px";
1668
1668
  }, g._transitionTo = function(m, i) {
1669
1669
  this.getPosition();
1670
- var r = this.position.x, v = this.position.y, T = m == this.position.x && i == this.position.y;
1670
+ var s = this.position.x, v = this.position.y, T = m == this.position.x && i == this.position.y;
1671
1671
  if (this.setPosition(m, i), T && !this.isTransitioning) {
1672
1672
  this.layoutPosition();
1673
1673
  return;
1674
1674
  }
1675
- var $ = m - r, L = i - v, H = {};
1675
+ var $ = m - s, L = i - v, H = {};
1676
1676
  H.transform = this.getTranslate($, L), this.transition({
1677
1677
  to: H,
1678
1678
  onTransitionEnd: {
@@ -1681,8 +1681,8 @@ function di() {
1681
1681
  isCleaning: !0
1682
1682
  });
1683
1683
  }, g.getTranslate = function(m, i) {
1684
- var r = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop");
1685
- return m = r ? m : -m, i = v ? i : -i, "translate3d(" + m + "px, " + i + "px, 0)";
1684
+ var s = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop");
1685
+ return m = s ? m : -m, i = v ? i : -i, "translate3d(" + m + "px, " + i + "px, 0)";
1686
1686
  }, g.goTo = function(m, i) {
1687
1687
  this.setPosition(m, i), this.layoutPosition();
1688
1688
  }, g.moveTo = g._transitionTo, g.setPosition = function(m, i) {
@@ -1697,10 +1697,10 @@ function di() {
1697
1697
  return;
1698
1698
  }
1699
1699
  var i = this._transn;
1700
- for (var r in m.onTransitionEnd)
1701
- i.onEnd[r] = m.onTransitionEnd[r];
1702
- for (r in m.to)
1703
- i.ingProperties[r] = !0, m.isCleaning && (i.clean[r] = !0);
1700
+ for (var s in m.onTransitionEnd)
1701
+ i.onEnd[s] = m.onTransitionEnd[s];
1702
+ for (s in m.to)
1703
+ i.ingProperties[s] = !0, m.isCleaning && (i.clean[s] = !0);
1704
1704
  m.from && (this.css(m.from), this.element.offsetHeight), this.enableTransition(m.to), this.css(m.to), this.isTransitioning = !0;
1705
1705
  };
1706
1706
  function _(m) {
@@ -1708,15 +1708,15 @@ function di() {
1708
1708
  return "-" + i.toLowerCase();
1709
1709
  });
1710
1710
  }
1711
- var u = "opacity," + _(c);
1711
+ var d = "opacity," + _(c);
1712
1712
  g.enableTransition = function() {
1713
1713
  if (!this.isTransitioning) {
1714
1714
  var m = this.layout.options.transitionDuration;
1715
1715
  m = typeof m == "number" ? m + "ms" : m, this.css({
1716
- transitionProperty: u,
1716
+ transitionProperty: d,
1717
1717
  transitionDuration: m,
1718
1718
  transitionDelay: this.staggerDelay || 0
1719
- }), this.element.addEventListener(d, this, !1);
1719
+ }), this.element.addEventListener(l, this, !1);
1720
1720
  }
1721
1721
  }, g.onwebkitTransitionEnd = function(m) {
1722
1722
  this.ontransitionend(m);
@@ -1728,19 +1728,19 @@ function di() {
1728
1728
  };
1729
1729
  g.ontransitionend = function(m) {
1730
1730
  if (m.target === this.element) {
1731
- var i = this._transn, r = b[m.propertyName] || m.propertyName;
1732
- if (delete i.ingProperties[r], l(i.ingProperties) && this.disableTransition(), r in i.clean && (this.element.style[m.propertyName] = "", delete i.clean[r]), r in i.onEnd) {
1733
- var v = i.onEnd[r];
1734
- v.call(this), delete i.onEnd[r];
1731
+ var i = this._transn, s = b[m.propertyName] || m.propertyName;
1732
+ if (delete i.ingProperties[s], p(i.ingProperties) && this.disableTransition(), s in i.clean && (this.element.style[m.propertyName] = "", delete i.clean[s]), s in i.onEnd) {
1733
+ var v = i.onEnd[s];
1734
+ v.call(this), delete i.onEnd[s];
1735
1735
  }
1736
1736
  this.emitEvent("transitionEnd", [this]);
1737
1737
  }
1738
1738
  }, g.disableTransition = function() {
1739
- this.removeTransitionStyles(), this.element.removeEventListener(d, this, !1), this.isTransitioning = !1;
1739
+ this.removeTransitionStyles(), this.element.removeEventListener(l, this, !1), this.isTransitioning = !1;
1740
1740
  }, g._removeStyles = function(m) {
1741
1741
  var i = {};
1742
- for (var r in m)
1743
- i[r] = "";
1742
+ for (var s in m)
1743
+ i[s] = "";
1744
1744
  this.css(i);
1745
1745
  };
1746
1746
  var k = {
@@ -1764,8 +1764,8 @@ function di() {
1764
1764
  }), this.hide();
1765
1765
  }, g.reveal = function() {
1766
1766
  delete this.isHidden, this.css({ display: "" });
1767
- var m = this.layout.options, i = {}, r = this.getHideRevealTransitionEndProperty("visibleStyle");
1768
- i[r] = this.onRevealTransitionEnd, this.transition({
1767
+ var m = this.layout.options, i = {}, s = this.getHideRevealTransitionEndProperty("visibleStyle");
1768
+ i[s] = this.onRevealTransitionEnd, this.transition({
1769
1769
  from: m.hiddenStyle,
1770
1770
  to: m.visibleStyle,
1771
1771
  isCleaning: !0,
@@ -1777,12 +1777,12 @@ function di() {
1777
1777
  var i = this.layout.options[m];
1778
1778
  if (i.opacity)
1779
1779
  return "opacity";
1780
- for (var r in i)
1781
- return r;
1780
+ for (var s in i)
1781
+ return s;
1782
1782
  }, g.hide = function() {
1783
1783
  this.isHidden = !0, this.css({ display: "" });
1784
- var m = this.layout.options, i = {}, r = this.getHideRevealTransitionEndProperty("hiddenStyle");
1785
- i[r] = this.onHideTransitionEnd, this.transition({
1784
+ var m = this.layout.options, i = {}, s = this.getHideRevealTransitionEndProperty("hiddenStyle");
1785
+ i[s] = this.onHideTransitionEnd, this.transition({
1786
1786
  from: m.visibleStyle,
1787
1787
  to: m.hiddenStyle,
1788
1788
  // keep hidden stuff hidden
@@ -1803,7 +1803,7 @@ function di() {
1803
1803
  });
1804
1804
  }, f;
1805
1805
  });
1806
- }(Ae)), Ae.exports;
1806
+ }(De)), De.exports;
1807
1807
  }
1808
1808
  /*!
1809
1809
  * Outlayer v2.1.1
@@ -1816,7 +1816,7 @@ function ci() {
1816
1816
  (function(e, t) {
1817
1817
  o.exports ? o.exports = t(
1818
1818
  e,
1819
- je(),
1819
+ Ge(),
1820
1820
  Ye(),
1821
1821
  ui(),
1822
1822
  di()
@@ -1827,16 +1827,16 @@ function ci() {
1827
1827
  e.fizzyUIUtils,
1828
1828
  e.Outlayer.Item
1829
1829
  );
1830
- })(window, function(t, n, l, s, h) {
1831
- var c = t.console, d = t.jQuery, p = function() {
1830
+ })(window, function(t, n, p, r, h) {
1831
+ var c = t.console, l = t.jQuery, u = function() {
1832
1832
  }, f = 0, g = {};
1833
- function _(i, r) {
1834
- var v = s.getQueryElement(i);
1833
+ function _(i, s) {
1834
+ var v = r.getQueryElement(i);
1835
1835
  if (!v) {
1836
1836
  c && c.error("Bad element for " + this.constructor.namespace + ": " + (v || i));
1837
1837
  return;
1838
1838
  }
1839
- this.element = v, d && (this.$element = d(this.element)), this.options = s.extend({}, this.constructor.defaults), this.option(r);
1839
+ this.element = v, l && (this.$element = l(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(s);
1840
1840
  var T = ++f;
1841
1841
  this.element.outlayerGUID = T, g[T] = this, this._create();
1842
1842
  var $ = this._getOption("initLayout");
@@ -1862,12 +1862,12 @@ function ci() {
1862
1862
  transform: "scale(1)"
1863
1863
  }
1864
1864
  };
1865
- var u = _.prototype;
1866
- s.extend(u, n.prototype), u.option = function(i) {
1867
- s.extend(this.options, i);
1868
- }, u._getOption = function(i) {
1869
- var r = this.constructor.compatOptions[i];
1870
- return r && this.options[r] !== void 0 ? this.options[r] : this.options[i];
1865
+ var d = _.prototype;
1866
+ r.extend(d, n.prototype), d.option = function(i) {
1867
+ r.extend(this.options, i);
1868
+ }, d._getOption = function(i) {
1869
+ var s = this.constructor.compatOptions[i];
1870
+ return s && this.options[s] !== void 0 ? this.options[s] : this.options[i];
1871
1871
  }, _.compatOptions = {
1872
1872
  // currentName: oldName
1873
1873
  initLayout: "isInitLayout",
@@ -1877,87 +1877,87 @@ function ci() {
1877
1877
  originTop: "isOriginTop",
1878
1878
  resize: "isResizeBound",
1879
1879
  resizeContainer: "isResizingContainer"
1880
- }, u._create = function() {
1881
- this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), s.extend(this.element.style, this.options.containerStyle);
1880
+ }, d._create = function() {
1881
+ this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), r.extend(this.element.style, this.options.containerStyle);
1882
1882
  var i = this._getOption("resize");
1883
1883
  i && this.bindResize();
1884
- }, u.reloadItems = function() {
1884
+ }, d.reloadItems = function() {
1885
1885
  this.items = this._itemize(this.element.children);
1886
- }, u._itemize = function(i) {
1887
- for (var r = this._filterFindItemElements(i), v = this.constructor.Item, T = [], $ = 0; $ < r.length; $++) {
1888
- var L = r[$], H = new v(L, this);
1886
+ }, d._itemize = function(i) {
1887
+ for (var s = this._filterFindItemElements(i), v = this.constructor.Item, T = [], $ = 0; $ < s.length; $++) {
1888
+ var L = s[$], H = new v(L, this);
1889
1889
  T.push(H);
1890
1890
  }
1891
1891
  return T;
1892
- }, u._filterFindItemElements = function(i) {
1893
- return s.filterFindElements(i, this.options.itemSelector);
1894
- }, u.getItemElements = function() {
1892
+ }, d._filterFindItemElements = function(i) {
1893
+ return r.filterFindElements(i, this.options.itemSelector);
1894
+ }, d.getItemElements = function() {
1895
1895
  return this.items.map(function(i) {
1896
1896
  return i.element;
1897
1897
  });
1898
- }, u.layout = function() {
1898
+ }, d.layout = function() {
1899
1899
  this._resetLayout(), this._manageStamps();
1900
- var i = this._getOption("layoutInstant"), r = i !== void 0 ? i : !this._isLayoutInited;
1901
- this.layoutItems(this.items, r), this._isLayoutInited = !0;
1902
- }, u._init = u.layout, u._resetLayout = function() {
1900
+ var i = this._getOption("layoutInstant"), s = i !== void 0 ? i : !this._isLayoutInited;
1901
+ this.layoutItems(this.items, s), this._isLayoutInited = !0;
1902
+ }, d._init = d.layout, d._resetLayout = function() {
1903
1903
  this.getSize();
1904
- }, u.getSize = function() {
1905
- this.size = l(this.element);
1906
- }, u._getMeasurement = function(i, r) {
1904
+ }, d.getSize = function() {
1905
+ this.size = p(this.element);
1906
+ }, d._getMeasurement = function(i, s) {
1907
1907
  var v = this.options[i], T;
1908
- v ? (typeof v == "string" ? T = this.element.querySelector(v) : v instanceof HTMLElement && (T = v), this[i] = T ? l(T)[r] : v) : this[i] = 0;
1909
- }, u.layoutItems = function(i, r) {
1910
- i = this._getItemsForLayout(i), this._layoutItems(i, r), this._postLayout();
1911
- }, u._getItemsForLayout = function(i) {
1912
- return i.filter(function(r) {
1913
- return !r.isIgnored;
1908
+ v ? (typeof v == "string" ? T = this.element.querySelector(v) : v instanceof HTMLElement && (T = v), this[i] = T ? p(T)[s] : v) : this[i] = 0;
1909
+ }, d.layoutItems = function(i, s) {
1910
+ i = this._getItemsForLayout(i), this._layoutItems(i, s), this._postLayout();
1911
+ }, d._getItemsForLayout = function(i) {
1912
+ return i.filter(function(s) {
1913
+ return !s.isIgnored;
1914
1914
  });
1915
- }, u._layoutItems = function(i, r) {
1915
+ }, d._layoutItems = function(i, s) {
1916
1916
  if (this._emitCompleteOnItems("layout", i), !(!i || !i.length)) {
1917
1917
  var v = [];
1918
1918
  i.forEach(function(T) {
1919
1919
  var $ = this._getItemLayoutPosition(T);
1920
- $.item = T, $.isInstant = r || T.isLayoutInstant, v.push($);
1920
+ $.item = T, $.isInstant = s || T.isLayoutInstant, v.push($);
1921
1921
  }, this), this._processLayoutQueue(v);
1922
1922
  }
1923
- }, u._getItemLayoutPosition = function() {
1923
+ }, d._getItemLayoutPosition = function() {
1924
1924
  return {
1925
1925
  x: 0,
1926
1926
  y: 0
1927
1927
  };
1928
- }, u._processLayoutQueue = function(i) {
1929
- this.updateStagger(), i.forEach(function(r, v) {
1930
- this._positionItem(r.item, r.x, r.y, r.isInstant, v);
1928
+ }, d._processLayoutQueue = function(i) {
1929
+ this.updateStagger(), i.forEach(function(s, v) {
1930
+ this._positionItem(s.item, s.x, s.y, s.isInstant, v);
1931
1931
  }, this);
1932
- }, u.updateStagger = function() {
1932
+ }, d.updateStagger = function() {
1933
1933
  var i = this.options.stagger;
1934
1934
  if (i == null) {
1935
1935
  this.stagger = 0;
1936
1936
  return;
1937
1937
  }
1938
1938
  return this.stagger = m(i), this.stagger;
1939
- }, u._positionItem = function(i, r, v, T, $) {
1940
- T ? i.goTo(r, v) : (i.stagger($ * this.stagger), i.moveTo(r, v));
1941
- }, u._postLayout = function() {
1939
+ }, d._positionItem = function(i, s, v, T, $) {
1940
+ T ? i.goTo(s, v) : (i.stagger($ * this.stagger), i.moveTo(s, v));
1941
+ }, d._postLayout = function() {
1942
1942
  this.resizeContainer();
1943
- }, u.resizeContainer = function() {
1943
+ }, d.resizeContainer = function() {
1944
1944
  var i = this._getOption("resizeContainer");
1945
1945
  if (i) {
1946
- var r = this._getContainerSize();
1947
- r && (this._setContainerMeasure(r.width, !0), this._setContainerMeasure(r.height, !1));
1946
+ var s = this._getContainerSize();
1947
+ s && (this._setContainerMeasure(s.width, !0), this._setContainerMeasure(s.height, !1));
1948
1948
  }
1949
- }, u._getContainerSize = p, u._setContainerMeasure = function(i, r) {
1949
+ }, d._getContainerSize = u, d._setContainerMeasure = function(i, s) {
1950
1950
  if (i !== void 0) {
1951
1951
  var v = this.size;
1952
- 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";
1952
+ v.isBorderBox && (i += s ? v.paddingLeft + v.paddingRight + v.borderLeftWidth + v.borderRightWidth : v.paddingBottom + v.paddingTop + v.borderTopWidth + v.borderBottomWidth), i = Math.max(i, 0), this.element.style[s ? "width" : "height"] = i + "px";
1953
1953
  }
1954
- }, u._emitCompleteOnItems = function(i, r) {
1954
+ }, d._emitCompleteOnItems = function(i, s) {
1955
1955
  var v = this;
1956
1956
  function T() {
1957
- v.dispatchEvent(i + "Complete", null, [r]);
1957
+ v.dispatchEvent(i + "Complete", null, [s]);
1958
1958
  }
1959
- var $ = r.length;
1960
- if (!r || !$) {
1959
+ var $ = s.length;
1960
+ if (!s || !$) {
1961
1961
  T();
1962
1962
  return;
1963
1963
  }
@@ -1965,131 +1965,131 @@ function ci() {
1965
1965
  function H() {
1966
1966
  L++, L == $ && T();
1967
1967
  }
1968
- r.forEach(function(D) {
1969
- D.once(i, H);
1968
+ s.forEach(function(A) {
1969
+ A.once(i, H);
1970
1970
  });
1971
- }, u.dispatchEvent = function(i, r, v) {
1972
- var T = r ? [r].concat(v) : v;
1973
- if (this.emitEvent(i, T), d)
1974
- if (this.$element = this.$element || d(this.element), r) {
1975
- var $ = d.Event(r);
1971
+ }, d.dispatchEvent = function(i, s, v) {
1972
+ var T = s ? [s].concat(v) : v;
1973
+ if (this.emitEvent(i, T), l)
1974
+ if (this.$element = this.$element || l(this.element), s) {
1975
+ var $ = l.Event(s);
1976
1976
  $.type = i, this.$element.trigger($, v);
1977
1977
  } else
1978
1978
  this.$element.trigger(i, v);
1979
- }, u.ignore = function(i) {
1980
- var r = this.getItem(i);
1981
- r && (r.isIgnored = !0);
1982
- }, u.unignore = function(i) {
1983
- var r = this.getItem(i);
1984
- r && delete r.isIgnored;
1985
- }, u.stamp = function(i) {
1979
+ }, d.ignore = function(i) {
1980
+ var s = this.getItem(i);
1981
+ s && (s.isIgnored = !0);
1982
+ }, d.unignore = function(i) {
1983
+ var s = this.getItem(i);
1984
+ s && delete s.isIgnored;
1985
+ }, d.stamp = function(i) {
1986
1986
  i = this._find(i), i && (this.stamps = this.stamps.concat(i), i.forEach(this.ignore, this));
1987
- }, u.unstamp = function(i) {
1988
- i = this._find(i), i && i.forEach(function(r) {
1989
- s.removeFrom(this.stamps, r), this.unignore(r);
1987
+ }, d.unstamp = function(i) {
1988
+ i = this._find(i), i && i.forEach(function(s) {
1989
+ r.removeFrom(this.stamps, s), this.unignore(s);
1990
1990
  }, this);
1991
- }, u._find = function(i) {
1991
+ }, d._find = function(i) {
1992
1992
  if (i)
1993
- return typeof i == "string" && (i = this.element.querySelectorAll(i)), i = s.makeArray(i), i;
1994
- }, u._manageStamps = function() {
1993
+ return typeof i == "string" && (i = this.element.querySelectorAll(i)), i = r.makeArray(i), i;
1994
+ }, d._manageStamps = function() {
1995
1995
  !this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
1996
- }, u._getBoundingRect = function() {
1997
- var i = this.element.getBoundingClientRect(), r = this.size;
1996
+ }, d._getBoundingRect = function() {
1997
+ var i = this.element.getBoundingClientRect(), s = this.size;
1998
1998
  this._boundingRect = {
1999
- left: i.left + r.paddingLeft + r.borderLeftWidth,
2000
- top: i.top + r.paddingTop + r.borderTopWidth,
2001
- right: i.right - (r.paddingRight + r.borderRightWidth),
2002
- bottom: i.bottom - (r.paddingBottom + r.borderBottomWidth)
1999
+ left: i.left + s.paddingLeft + s.borderLeftWidth,
2000
+ top: i.top + s.paddingTop + s.borderTopWidth,
2001
+ right: i.right - (s.paddingRight + s.borderRightWidth),
2002
+ bottom: i.bottom - (s.paddingBottom + s.borderBottomWidth)
2003
2003
  };
2004
- }, u._manageStamp = p, u._getElementOffset = function(i) {
2005
- var r = i.getBoundingClientRect(), v = this._boundingRect, T = l(i), $ = {
2006
- left: r.left - v.left - T.marginLeft,
2007
- top: r.top - v.top - T.marginTop,
2008
- right: v.right - r.right - T.marginRight,
2009
- bottom: v.bottom - r.bottom - T.marginBottom
2004
+ }, d._manageStamp = u, d._getElementOffset = function(i) {
2005
+ var s = i.getBoundingClientRect(), v = this._boundingRect, T = p(i), $ = {
2006
+ left: s.left - v.left - T.marginLeft,
2007
+ top: s.top - v.top - T.marginTop,
2008
+ right: v.right - s.right - T.marginRight,
2009
+ bottom: v.bottom - s.bottom - T.marginBottom
2010
2010
  };
2011
2011
  return $;
2012
- }, u.handleEvent = s.handleEvent, u.bindResize = function() {
2012
+ }, d.handleEvent = r.handleEvent, d.bindResize = function() {
2013
2013
  t.addEventListener("resize", this), this.isResizeBound = !0;
2014
- }, u.unbindResize = function() {
2014
+ }, d.unbindResize = function() {
2015
2015
  t.removeEventListener("resize", this), this.isResizeBound = !1;
2016
- }, u.onresize = function() {
2016
+ }, d.onresize = function() {
2017
2017
  this.resize();
2018
- }, s.debounceMethod(_, "onresize", 100), u.resize = function() {
2018
+ }, r.debounceMethod(_, "onresize", 100), d.resize = function() {
2019
2019
  !this.isResizeBound || !this.needsResizeLayout() || this.layout();
2020
- }, u.needsResizeLayout = function() {
2021
- var i = l(this.element), r = this.size && i;
2022
- return r && i.innerWidth !== this.size.innerWidth;
2023
- }, u.addItems = function(i) {
2024
- var r = this._itemize(i);
2025
- return r.length && (this.items = this.items.concat(r)), r;
2026
- }, u.appended = function(i) {
2027
- var r = this.addItems(i);
2028
- r.length && (this.layoutItems(r, !0), this.reveal(r));
2029
- }, u.prepended = function(i) {
2030
- var r = this._itemize(i);
2031
- if (r.length) {
2020
+ }, d.needsResizeLayout = function() {
2021
+ var i = p(this.element), s = this.size && i;
2022
+ return s && i.innerWidth !== this.size.innerWidth;
2023
+ }, d.addItems = function(i) {
2024
+ var s = this._itemize(i);
2025
+ return s.length && (this.items = this.items.concat(s)), s;
2026
+ }, d.appended = function(i) {
2027
+ var s = this.addItems(i);
2028
+ s.length && (this.layoutItems(s, !0), this.reveal(s));
2029
+ }, d.prepended = function(i) {
2030
+ var s = this._itemize(i);
2031
+ if (s.length) {
2032
2032
  var v = this.items.slice(0);
2033
- this.items = r.concat(v), this._resetLayout(), this._manageStamps(), this.layoutItems(r, !0), this.reveal(r), this.layoutItems(v);
2033
+ this.items = s.concat(v), this._resetLayout(), this._manageStamps(), this.layoutItems(s, !0), this.reveal(s), this.layoutItems(v);
2034
2034
  }
2035
- }, u.reveal = function(i) {
2035
+ }, d.reveal = function(i) {
2036
2036
  if (this._emitCompleteOnItems("reveal", i), !(!i || !i.length)) {
2037
- var r = this.updateStagger();
2037
+ var s = this.updateStagger();
2038
2038
  i.forEach(function(v, T) {
2039
- v.stagger(T * r), v.reveal();
2039
+ v.stagger(T * s), v.reveal();
2040
2040
  });
2041
2041
  }
2042
- }, u.hide = function(i) {
2042
+ }, d.hide = function(i) {
2043
2043
  if (this._emitCompleteOnItems("hide", i), !(!i || !i.length)) {
2044
- var r = this.updateStagger();
2044
+ var s = this.updateStagger();
2045
2045
  i.forEach(function(v, T) {
2046
- v.stagger(T * r), v.hide();
2046
+ v.stagger(T * s), v.hide();
2047
2047
  });
2048
2048
  }
2049
- }, u.revealItemElements = function(i) {
2050
- var r = this.getItems(i);
2051
- this.reveal(r);
2052
- }, u.hideItemElements = function(i) {
2053
- var r = this.getItems(i);
2054
- this.hide(r);
2055
- }, u.getItem = function(i) {
2056
- for (var r = 0; r < this.items.length; r++) {
2057
- var v = this.items[r];
2049
+ }, d.revealItemElements = function(i) {
2050
+ var s = this.getItems(i);
2051
+ this.reveal(s);
2052
+ }, d.hideItemElements = function(i) {
2053
+ var s = this.getItems(i);
2054
+ this.hide(s);
2055
+ }, d.getItem = function(i) {
2056
+ for (var s = 0; s < this.items.length; s++) {
2057
+ var v = this.items[s];
2058
2058
  if (v.element == i)
2059
2059
  return v;
2060
2060
  }
2061
- }, u.getItems = function(i) {
2062
- i = s.makeArray(i);
2063
- var r = [];
2061
+ }, d.getItems = function(i) {
2062
+ i = r.makeArray(i);
2063
+ var s = [];
2064
2064
  return i.forEach(function(v) {
2065
2065
  var T = this.getItem(v);
2066
- T && r.push(T);
2067
- }, this), r;
2068
- }, u.remove = function(i) {
2069
- var r = this.getItems(i);
2070
- this._emitCompleteOnItems("remove", r), !(!r || !r.length) && r.forEach(function(v) {
2071
- v.remove(), s.removeFrom(this.items, v);
2066
+ T && s.push(T);
2067
+ }, this), s;
2068
+ }, d.remove = function(i) {
2069
+ var s = this.getItems(i);
2070
+ this._emitCompleteOnItems("remove", s), !(!s || !s.length) && s.forEach(function(v) {
2071
+ v.remove(), r.removeFrom(this.items, v);
2072
2072
  }, this);
2073
- }, u.destroy = function() {
2073
+ }, d.destroy = function() {
2074
2074
  var i = this.element.style;
2075
2075
  i.height = "", i.position = "", i.width = "", this.items.forEach(function(v) {
2076
2076
  v.destroy();
2077
2077
  }), this.unbindResize();
2078
- var r = this.element.outlayerGUID;
2079
- delete g[r], delete this.element.outlayerGUID, d && d.removeData(this.element, this.constructor.namespace);
2078
+ var s = this.element.outlayerGUID;
2079
+ delete g[s], delete this.element.outlayerGUID, l && l.removeData(this.element, this.constructor.namespace);
2080
2080
  }, _.data = function(i) {
2081
- i = s.getQueryElement(i);
2082
- var r = i && i.outlayerGUID;
2083
- return r && g[r];
2084
- }, _.create = function(i, r) {
2081
+ i = r.getQueryElement(i);
2082
+ var s = i && i.outlayerGUID;
2083
+ return s && g[s];
2084
+ }, _.create = function(i, s) {
2085
2085
  var v = b(_);
2086
- 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;
2086
+ return v.defaults = r.extend({}, _.defaults), r.extend(v.defaults, s), v.compatOptions = r.extend({}, _.compatOptions), v.namespace = i, v.data = _.data, v.Item = b(h), r.htmlInit(v, i), l && l.bridget && l.bridget(i, v), v;
2087
2087
  };
2088
2088
  function b(i) {
2089
- function r() {
2089
+ function s() {
2090
2090
  i.apply(this, arguments);
2091
2091
  }
2092
- return r.prototype = Object.create(i.prototype), r.prototype.constructor = r, r;
2092
+ return s.prototype = Object.create(i.prototype), s.prototype.constructor = s, s;
2093
2093
  }
2094
2094
  var k = {
2095
2095
  ms: 1,
@@ -2098,7 +2098,7 @@ function ci() {
2098
2098
  function m(i) {
2099
2099
  if (typeof i == "number")
2100
2100
  return i;
2101
- var r = i.match(/(^\d*\.?\d*)(\w*)/), v = r && r[1], T = r && r[2];
2101
+ var s = i.match(/(^\d*\.?\d*)(\w*)/), v = s && s[1], T = s && s[2];
2102
2102
  if (!v.length)
2103
2103
  return 0;
2104
2104
  v = parseFloat(v);
@@ -2126,85 +2126,85 @@ function ci() {
2126
2126
  e.getSize
2127
2127
  );
2128
2128
  })(window, function(t, n) {
2129
- var l = t.create("masonry");
2130
- l.compatOptions.fitWidth = "isFitWidth";
2131
- var s = l.prototype;
2132
- return s._resetLayout = function() {
2129
+ var p = t.create("masonry");
2130
+ p.compatOptions.fitWidth = "isFitWidth";
2131
+ var r = p.prototype;
2132
+ return r._resetLayout = function() {
2133
2133
  this.getSize(), this._getMeasurement("columnWidth", "outerWidth"), this._getMeasurement("gutter", "outerWidth"), this.measureColumns(), this.colYs = [];
2134
2134
  for (var h = 0; h < this.cols; h++)
2135
2135
  this.colYs.push(0);
2136
2136
  this.maxY = 0, this.horizontalColIndex = 0;
2137
- }, s.measureColumns = function() {
2137
+ }, r.measureColumns = function() {
2138
2138
  if (this.getContainerWidth(), !this.columnWidth) {
2139
2139
  var h = this.items[0], c = h && h.element;
2140
2140
  this.columnWidth = c && n(c).outerWidth || // if first elem has no width, default to size of container
2141
2141
  this.containerWidth;
2142
2142
  }
2143
- var d = this.columnWidth += this.gutter, p = this.containerWidth + this.gutter, f = p / d, g = d - p % d, _ = g && g < 1 ? "round" : "floor";
2143
+ var l = this.columnWidth += this.gutter, u = this.containerWidth + this.gutter, f = u / l, g = l - u % l, _ = g && g < 1 ? "round" : "floor";
2144
2144
  f = Math[_](f), this.cols = Math.max(f, 1);
2145
- }, s.getContainerWidth = function() {
2146
- var h = this._getOption("fitWidth"), c = h ? this.element.parentNode : this.element, d = n(c);
2147
- this.containerWidth = d && d.innerWidth;
2148
- }, s._getItemLayoutPosition = function(h) {
2145
+ }, r.getContainerWidth = function() {
2146
+ var h = this._getOption("fitWidth"), c = h ? this.element.parentNode : this.element, l = n(c);
2147
+ this.containerWidth = l && l.innerWidth;
2148
+ }, r._getItemLayoutPosition = function(h) {
2149
2149
  h.getSize();
2150
- var c = h.size.outerWidth % this.columnWidth, d = c && c < 1 ? "round" : "ceil", p = Math[d](h.size.outerWidth / this.columnWidth);
2151
- p = Math.min(p, this.cols);
2152
- for (var f = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[f](p, h), _ = {
2150
+ var c = h.size.outerWidth % this.columnWidth, l = c && c < 1 ? "round" : "ceil", u = Math[l](h.size.outerWidth / this.columnWidth);
2151
+ u = Math.min(u, this.cols);
2152
+ for (var f = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[f](u, h), _ = {
2153
2153
  x: this.columnWidth * g.col,
2154
2154
  y: g.y
2155
- }, u = g.y + h.size.outerHeight, b = p + g.col, k = g.col; k < b; k++)
2156
- this.colYs[k] = u;
2155
+ }, d = g.y + h.size.outerHeight, b = u + g.col, k = g.col; k < b; k++)
2156
+ this.colYs[k] = d;
2157
2157
  return _;
2158
- }, s._getTopColPosition = function(h) {
2159
- var c = this._getTopColGroup(h), d = Math.min.apply(Math, c);
2158
+ }, r._getTopColPosition = function(h) {
2159
+ var c = this._getTopColGroup(h), l = Math.min.apply(Math, c);
2160
2160
  return {
2161
- col: c.indexOf(d),
2162
- y: d
2161
+ col: c.indexOf(l),
2162
+ y: l
2163
2163
  };
2164
- }, s._getTopColGroup = function(h) {
2164
+ }, r._getTopColGroup = function(h) {
2165
2165
  if (h < 2)
2166
2166
  return this.colYs;
2167
- for (var c = [], d = this.cols + 1 - h, p = 0; p < d; p++)
2168
- c[p] = this._getColGroupY(p, h);
2167
+ for (var c = [], l = this.cols + 1 - h, u = 0; u < l; u++)
2168
+ c[u] = this._getColGroupY(u, h);
2169
2169
  return c;
2170
- }, s._getColGroupY = function(h, c) {
2170
+ }, r._getColGroupY = function(h, c) {
2171
2171
  if (c < 2)
2172
2172
  return this.colYs[h];
2173
- var d = this.colYs.slice(h, h + c);
2174
- return Math.max.apply(Math, d);
2175
- }, s._getHorizontalColPosition = function(h, c) {
2176
- var d = this.horizontalColIndex % this.cols, p = h > 1 && d + h > this.cols;
2177
- d = p ? 0 : d;
2173
+ var l = this.colYs.slice(h, h + c);
2174
+ return Math.max.apply(Math, l);
2175
+ }, r._getHorizontalColPosition = function(h, c) {
2176
+ var l = this.horizontalColIndex % this.cols, u = h > 1 && l + h > this.cols;
2177
+ l = u ? 0 : l;
2178
2178
  var f = c.size.outerWidth && c.size.outerHeight;
2179
- return this.horizontalColIndex = f ? d + h : this.horizontalColIndex, {
2180
- col: d,
2181
- y: this._getColGroupY(d, h)
2179
+ return this.horizontalColIndex = f ? l + h : this.horizontalColIndex, {
2180
+ col: l,
2181
+ y: this._getColGroupY(l, h)
2182
2182
  };
2183
- }, s._manageStamp = function(h) {
2184
- var c = n(h), d = this._getElementOffset(h), p = this._getOption("originLeft"), f = p ? d.left : d.right, g = f + c.outerWidth, _ = Math.floor(f / this.columnWidth);
2183
+ }, r._manageStamp = function(h) {
2184
+ var c = n(h), l = this._getElementOffset(h), u = this._getOption("originLeft"), f = u ? l.left : l.right, g = f + c.outerWidth, _ = Math.floor(f / this.columnWidth);
2185
2185
  _ = Math.max(0, _);
2186
- var u = Math.floor(g / this.columnWidth);
2187
- u -= g % this.columnWidth ? 0 : 1, u = Math.min(this.cols - 1, u);
2188
- for (var b = this._getOption("originTop"), k = (b ? d.top : d.bottom) + c.outerHeight, m = _; m <= u; m++)
2186
+ var d = Math.floor(g / this.columnWidth);
2187
+ d -= g % this.columnWidth ? 0 : 1, d = Math.min(this.cols - 1, d);
2188
+ for (var b = this._getOption("originTop"), k = (b ? l.top : l.bottom) + c.outerHeight, m = _; m <= d; m++)
2189
2189
  this.colYs[m] = Math.max(k, this.colYs[m]);
2190
- }, s._getContainerSize = function() {
2190
+ }, r._getContainerSize = function() {
2191
2191
  this.maxY = Math.max.apply(Math, this.colYs);
2192
2192
  var h = {
2193
2193
  height: this.maxY
2194
2194
  };
2195
2195
  return this._getOption("fitWidth") && (h.width = this._getContainerFitWidth()), h;
2196
- }, s._getContainerFitWidth = function() {
2196
+ }, r._getContainerFitWidth = function() {
2197
2197
  for (var h = 0, c = this.cols; --c && this.colYs[c] === 0; )
2198
2198
  h++;
2199
2199
  return (this.cols - h) * this.columnWidth - this.gutter;
2200
- }, s.needsResizeLayout = function() {
2200
+ }, r.needsResizeLayout = function() {
2201
2201
  var h = this.containerWidth;
2202
2202
  return this.getContainerWidth(), h != this.containerWidth;
2203
- }, l;
2203
+ }, p;
2204
2204
  });
2205
- })(Ct);
2206
- var pi = Ct.exports;
2207
- const lt = /* @__PURE__ */ It(pi);
2205
+ })(It);
2206
+ var pi = It.exports;
2207
+ const lt = /* @__PURE__ */ Ct(pi);
2208
2208
  var $t = { exports: {} };
2209
2209
  /*!
2210
2210
  * imagesLoaded v4.1.4
@@ -2215,7 +2215,7 @@ var $t = { exports: {} };
2215
2215
  (function(e, t) {
2216
2216
  o.exports ? o.exports = t(
2217
2217
  e,
2218
- je()
2218
+ Ge()
2219
2219
  ) : e.imagesLoaded = t(
2220
2220
  e,
2221
2221
  e.EvEmitter
@@ -2224,43 +2224,43 @@ var $t = { exports: {} };
2224
2224
  typeof window < "u" ? window : Tt,
2225
2225
  // -------------------------- factory -------------------------- //
2226
2226
  function(t, n) {
2227
- var l = t.jQuery, s = t.console;
2228
- function h(u, b) {
2227
+ var p = t.jQuery, r = t.console;
2228
+ function h(d, b) {
2229
2229
  for (var k in b)
2230
- u[k] = b[k];
2231
- return u;
2230
+ d[k] = b[k];
2231
+ return d;
2232
2232
  }
2233
2233
  var c = Array.prototype.slice;
2234
- function d(u) {
2235
- if (Array.isArray(u))
2236
- return u;
2237
- var b = typeof u == "object" && typeof u.length == "number";
2238
- return b ? c.call(u) : [u];
2234
+ function l(d) {
2235
+ if (Array.isArray(d))
2236
+ return d;
2237
+ var b = typeof d == "object" && typeof d.length == "number";
2238
+ return b ? c.call(d) : [d];
2239
2239
  }
2240
- function p(u, b, k) {
2241
- if (!(this instanceof p))
2242
- return new p(u, b, k);
2243
- var m = u;
2244
- if (typeof u == "string" && (m = document.querySelectorAll(u)), !m) {
2245
- s.error("Bad element for imagesLoaded " + (m || u));
2240
+ function u(d, b, k) {
2241
+ if (!(this instanceof u))
2242
+ return new u(d, b, k);
2243
+ var m = d;
2244
+ if (typeof d == "string" && (m = document.querySelectorAll(d)), !m) {
2245
+ r.error("Bad element for imagesLoaded " + (m || d));
2246
2246
  return;
2247
2247
  }
2248
- this.elements = d(m), this.options = h({}, this.options), typeof b == "function" ? k = b : h(this.options, b), k && this.on("always", k), this.getImages(), l && (this.jqDeferred = new l.Deferred()), setTimeout(this.check.bind(this));
2248
+ this.elements = l(m), 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));
2249
2249
  }
2250
- p.prototype = Object.create(n.prototype), p.prototype.options = {}, p.prototype.getImages = function() {
2250
+ u.prototype = Object.create(n.prototype), u.prototype.options = {}, u.prototype.getImages = function() {
2251
2251
  this.images = [], this.elements.forEach(this.addElementImages, this);
2252
- }, p.prototype.addElementImages = function(u) {
2253
- u.nodeName == "IMG" && this.addImage(u), this.options.background === !0 && this.addElementBackgroundImages(u);
2254
- var b = u.nodeType;
2252
+ }, u.prototype.addElementImages = function(d) {
2253
+ d.nodeName == "IMG" && this.addImage(d), this.options.background === !0 && this.addElementBackgroundImages(d);
2254
+ var b = d.nodeType;
2255
2255
  if (!(!b || !f[b])) {
2256
- for (var k = u.querySelectorAll("img"), m = 0; m < k.length; m++) {
2256
+ for (var k = d.querySelectorAll("img"), m = 0; m < k.length; m++) {
2257
2257
  var i = k[m];
2258
2258
  this.addImage(i);
2259
2259
  }
2260
2260
  if (typeof this.options.background == "string") {
2261
- var r = u.querySelectorAll(this.options.background);
2262
- for (m = 0; m < r.length; m++) {
2263
- var v = r[m];
2261
+ var s = d.querySelectorAll(this.options.background);
2262
+ for (m = 0; m < s.length; m++) {
2263
+ var v = s[m];
2264
2264
  this.addElementBackgroundImages(v);
2265
2265
  }
2266
2266
  }
@@ -2271,59 +2271,59 @@ var $t = { exports: {} };
2271
2271
  9: !0,
2272
2272
  11: !0
2273
2273
  };
2274
- p.prototype.addElementBackgroundImages = function(u) {
2275
- var b = getComputedStyle(u);
2274
+ u.prototype.addElementBackgroundImages = function(d) {
2275
+ var b = getComputedStyle(d);
2276
2276
  if (b)
2277
2277
  for (var k = /url\((['"])?(.*?)\1\)/gi, m = k.exec(b.backgroundImage); m !== null; ) {
2278
2278
  var i = m && m[2];
2279
- i && this.addBackground(i, u), m = k.exec(b.backgroundImage);
2279
+ i && this.addBackground(i, d), m = k.exec(b.backgroundImage);
2280
2280
  }
2281
- }, p.prototype.addImage = function(u) {
2282
- var b = new g(u);
2281
+ }, u.prototype.addImage = function(d) {
2282
+ var b = new g(d);
2283
2283
  this.images.push(b);
2284
- }, p.prototype.addBackground = function(u, b) {
2285
- var k = new _(u, b);
2284
+ }, u.prototype.addBackground = function(d, b) {
2285
+ var k = new _(d, b);
2286
2286
  this.images.push(k);
2287
- }, p.prototype.check = function() {
2288
- var u = this;
2287
+ }, u.prototype.check = function() {
2288
+ var d = this;
2289
2289
  if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
2290
2290
  this.complete();
2291
2291
  return;
2292
2292
  }
2293
2293
  function b(k, m, i) {
2294
2294
  setTimeout(function() {
2295
- u.progress(k, m, i);
2295
+ d.progress(k, m, i);
2296
2296
  });
2297
2297
  }
2298
2298
  this.images.forEach(function(k) {
2299
2299
  k.once("progress", b), k.check();
2300
2300
  });
2301
- }, p.prototype.progress = function(u, b, k) {
2302
- this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !u.isLoaded, this.emitEvent("progress", [this, u, b]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, u), this.progressedCount == this.images.length && this.complete(), this.options.debug && s && s.log("progress: " + k, u, b);
2303
- }, p.prototype.complete = function() {
2304
- var u = this.hasAnyBroken ? "fail" : "done";
2305
- if (this.isComplete = !0, this.emitEvent(u, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
2301
+ }, u.prototype.progress = function(d, b, k) {
2302
+ this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !d.isLoaded, this.emitEvent("progress", [this, d, b]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, d), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + k, d, b);
2303
+ }, u.prototype.complete = function() {
2304
+ var d = this.hasAnyBroken ? "fail" : "done";
2305
+ if (this.isComplete = !0, this.emitEvent(d, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
2306
2306
  var b = this.hasAnyBroken ? "reject" : "resolve";
2307
2307
  this.jqDeferred[b](this);
2308
2308
  }
2309
2309
  };
2310
- function g(u) {
2311
- this.img = u;
2310
+ function g(d) {
2311
+ this.img = d;
2312
2312
  }
2313
2313
  g.prototype = Object.create(n.prototype), g.prototype.check = function() {
2314
- var u = this.getIsImageComplete();
2315
- if (u) {
2314
+ var d = this.getIsImageComplete();
2315
+ if (d) {
2316
2316
  this.confirm(this.img.naturalWidth !== 0, "naturalWidth");
2317
2317
  return;
2318
2318
  }
2319
2319
  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;
2320
2320
  }, g.prototype.getIsImageComplete = function() {
2321
2321
  return this.img.complete && this.img.naturalWidth;
2322
- }, g.prototype.confirm = function(u, b) {
2323
- this.isLoaded = u, this.emitEvent("progress", [this, this.img, b]);
2324
- }, g.prototype.handleEvent = function(u) {
2325
- var b = "on" + u.type;
2326
- this[b] && this[b](u);
2322
+ }, g.prototype.confirm = function(d, b) {
2323
+ this.isLoaded = d, this.emitEvent("progress", [this, this.img, b]);
2324
+ }, g.prototype.handleEvent = function(d) {
2325
+ var b = "on" + d.type;
2326
+ this[b] && this[b](d);
2327
2327
  }, g.prototype.onload = function() {
2328
2328
  this.confirm(!0, "onload"), this.unbindEvents();
2329
2329
  }, g.prototype.onerror = function() {
@@ -2331,28 +2331,28 @@ var $t = { exports: {} };
2331
2331
  }, g.prototype.unbindEvents = function() {
2332
2332
  this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2333
2333
  };
2334
- function _(u, b) {
2335
- this.url = u, this.element = b, this.img = new Image();
2334
+ function _(d, b) {
2335
+ this.url = d, this.element = b, this.img = new Image();
2336
2336
  }
2337
2337
  return _.prototype = Object.create(g.prototype), _.prototype.check = function() {
2338
2338
  this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
2339
- var u = this.getIsImageComplete();
2340
- u && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
2339
+ var d = this.getIsImageComplete();
2340
+ d && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
2341
2341
  }, _.prototype.unbindEvents = function() {
2342
2342
  this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
2343
- }, _.prototype.confirm = function(u, b) {
2344
- this.isLoaded = u, this.emitEvent("progress", [this, this.element, b]);
2345
- }, p.makeJQueryPlugin = function(u) {
2346
- u = u || t.jQuery, u && (l = u, l.fn.imagesLoaded = function(b, k) {
2347
- var m = new p(this, b, k);
2348
- return m.jqDeferred.promise(l(this));
2343
+ }, _.prototype.confirm = function(d, b) {
2344
+ this.isLoaded = d, this.emitEvent("progress", [this, this.element, b]);
2345
+ }, u.makeJQueryPlugin = function(d) {
2346
+ d = d || t.jQuery, d && (p = d, p.fn.imagesLoaded = function(b, k) {
2347
+ var m = new u(this, b, k);
2348
+ return m.jqDeferred.promise(p(this));
2349
2349
  });
2350
- }, p.makeJQueryPlugin(), p;
2350
+ }, u.makeJQueryPlugin(), u;
2351
2351
  }
2352
2352
  );
2353
2353
  })($t);
2354
2354
  var hi = $t.exports;
2355
- const fi = /* @__PURE__ */ It(hi);
2355
+ const fi = /* @__PURE__ */ Ct(hi);
2356
2356
  function mi(o) {
2357
2357
  return { all: o = o || /* @__PURE__ */ new Map(), on: function(e, t) {
2358
2358
  var n = o.get(e);
@@ -2362,10 +2362,10 @@ function mi(o) {
2362
2362
  n && (t ? n.splice(n.indexOf(t) >>> 0, 1) : o.set(e, []));
2363
2363
  }, emit: function(e, t) {
2364
2364
  var n = o.get(e);
2365
- n && n.slice().map(function(l) {
2366
- l(t);
2367
- }), (n = o.get("*")) && n.slice().map(function(l) {
2368
- l(e, t);
2365
+ n && n.slice().map(function(p) {
2366
+ p(t);
2367
+ }), (n = o.get("*")) && n.slice().map(function(p) {
2368
+ p(e, t);
2369
2369
  });
2370
2370
  } };
2371
2371
  }
@@ -2393,63 +2393,63 @@ const me = {
2393
2393
  }), e;
2394
2394
  }, St = {};
2395
2395
  St.install = function(o, e) {
2396
- const t = mi(), n = "VueMasonry", l = o;
2397
- l.directive("masonry", {
2396
+ const t = mi(), n = "VueMasonry", p = o;
2397
+ p.directive("masonry", {
2398
2398
  props: ["transitionDuration", " itemSelector", "destroyDelay"],
2399
- mounted: function(s, h) {
2399
+ mounted: function(r, h) {
2400
2400
  if (!lt)
2401
2401
  throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
2402
- const c = yi(s.attributes), d = new lt(s, c), p = h.value || n, f = c.destroyDelay ? parseInt(c.destroyDelay, 10) : void 0, g = function() {
2403
- d.reloadItems(), d.layout();
2402
+ const c = yi(r.attributes), l = new lt(r, c), u = h.value || n, f = c.destroyDelay ? parseInt(c.destroyDelay, 10) : void 0, g = function() {
2403
+ l.reloadItems(), l.layout();
2404
2404
  };
2405
2405
  Et(() => {
2406
2406
  g();
2407
2407
  });
2408
2408
  const _ = function(b) {
2409
2409
  g();
2410
- }, u = function(b) {
2411
- t.off(`${ge}__${p}`, _), t.off(`${Me}__${p}`, _), t.off(`${Re}__${p}`, _), t.off(`${Be}__${p}`, u);
2410
+ }, d = function(b) {
2411
+ t.off(`${ge}__${u}`, _), t.off(`${Me}__${u}`, _), t.off(`${Re}__${u}`, _), t.off(`${Be}__${u}`, d);
2412
2412
  const k = f && !Number.isNaN(f) ? f : 0;
2413
2413
  setTimeout(function() {
2414
- d.destroy();
2414
+ l.destroy();
2415
2415
  }, k);
2416
2416
  };
2417
- t.on(`${ge}__${p}`, _), t.on(`${Me}__${p}`, _), t.on(`${Re}__${p}`, _), t.on(`${Be}__${p}`, u);
2417
+ t.on(`${ge}__${u}`, _), t.on(`${Me}__${u}`, _), t.on(`${Re}__${u}`, _), t.on(`${Be}__${u}`, d);
2418
2418
  },
2419
- unbind: function(s, h) {
2419
+ unbind: function(r, h) {
2420
2420
  const c = h.value || n;
2421
2421
  t.emit(`${Be}__${c}`);
2422
2422
  }
2423
- }), l.directive("masonryTile", {
2424
- mounted: function(s, h) {
2423
+ }), p.directive("masonryTile", {
2424
+ mounted: function(r, h) {
2425
2425
  const c = h.value || n;
2426
2426
  t.emit(`${ge}__${c}`, {
2427
- element: s
2428
- }), new fi(s, function() {
2427
+ element: r
2428
+ }), new fi(r, function() {
2429
2429
  t.emit(`${Re}__${c}`, {
2430
- element: s
2430
+ element: r
2431
2431
  });
2432
2432
  });
2433
2433
  },
2434
- unbind: function(s, h) {
2434
+ unbind: function(r, h) {
2435
2435
  const c = h.value || n;
2436
2436
  t.emit(`${Me}__${c}`, {
2437
- element: s
2437
+ element: r
2438
2438
  });
2439
2439
  }
2440
2440
  });
2441
2441
  {
2442
- const s = function(h) {
2442
+ const r = function(h) {
2443
2443
  const c = h || n;
2444
2444
  t.emit(`${ge}__${c}`);
2445
2445
  };
2446
- o.config.globalProperties.$redrawVueMasonry = s, o.provide("redrawVueMasonry", s);
2446
+ o.config.globalProperties.$redrawVueMasonry = r, o.provide("redrawVueMasonry", r);
2447
2447
  }
2448
2448
  };
2449
2449
  function Ne(o, e = {}, t) {
2450
2450
  for (const n in o) {
2451
- const l = o[n], s = t ? `${t}:${n}` : n;
2452
- typeof l == "object" && l !== null ? Ne(l, e, s) : typeof l == "function" && (e[s] = l);
2451
+ const p = o[n], r = t ? `${t}:${n}` : n;
2452
+ typeof p == "object" && p !== null ? Ne(p, e, r) : typeof p == "function" && (e[r] = p);
2453
2453
  }
2454
2454
  return e;
2455
2455
  }
@@ -2457,13 +2457,13 @@ const bi = { run: (o) => o() }, ki = () => bi, Vt = typeof console.createTask <
2457
2457
  function _i(o, e) {
2458
2458
  const t = e.shift(), n = Vt(t);
2459
2459
  return o.reduce(
2460
- (l, s) => l.then(() => n.run(() => s(...e))),
2460
+ (p, r) => p.then(() => n.run(() => r(...e))),
2461
2461
  Promise.resolve()
2462
2462
  );
2463
2463
  }
2464
2464
  function Ei(o, e) {
2465
2465
  const t = e.shift(), n = Vt(t);
2466
- return Promise.all(o.map((l) => n.run(() => l(...e))));
2466
+ return Promise.all(o.map((p) => n.run(() => p(...e))));
2467
2467
  }
2468
2468
  function ze(o, e) {
2469
2469
  for (const t of [...o])
@@ -2477,13 +2477,13 @@ class Ti {
2477
2477
  if (!e || typeof t != "function")
2478
2478
  return () => {
2479
2479
  };
2480
- const l = e;
2481
- let s;
2480
+ const p = e;
2481
+ let r;
2482
2482
  for (; this._deprecatedHooks[e]; )
2483
- s = this._deprecatedHooks[e], e = s.to;
2484
- if (s && !n.allowDeprecated) {
2485
- let h = s.message;
2486
- h || (h = `${l} 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));
2483
+ r = this._deprecatedHooks[e], e = r.to;
2484
+ if (r && !n.allowDeprecated) {
2485
+ let h = r.message;
2486
+ h || (h = `${p} 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));
2487
2487
  }
2488
2488
  if (!t.name)
2489
2489
  try {
@@ -2498,8 +2498,8 @@ class Ti {
2498
2498
  };
2499
2499
  }
2500
2500
  hookOnce(e, t) {
2501
- let n, l = (...s) => (typeof n == "function" && n(), n = void 0, l = void 0, t(...s));
2502
- return n = this.hook(e, l), n;
2501
+ let n, p = (...r) => (typeof n == "function" && n(), n = void 0, p = void 0, t(...r));
2502
+ return n = this.hook(e, p), n;
2503
2503
  }
2504
2504
  removeHook(e, t) {
2505
2505
  if (this._hooks[e]) {
@@ -2511,8 +2511,8 @@ class Ti {
2511
2511
  this._deprecatedHooks[e] = typeof t == "string" ? { to: t } : t;
2512
2512
  const n = this._hooks[e] || [];
2513
2513
  delete this._hooks[e];
2514
- for (const l of n)
2515
- this.hook(e, l);
2514
+ for (const p of n)
2515
+ this.hook(e, p);
2516
2516
  }
2517
2517
  deprecateHooks(e) {
2518
2518
  Object.assign(this._deprecatedHooks, e);
@@ -2521,11 +2521,11 @@ class Ti {
2521
2521
  }
2522
2522
  addHooks(e) {
2523
2523
  const t = Ne(e), n = Object.keys(t).map(
2524
- (l) => this.hook(l, t[l])
2524
+ (p) => this.hook(p, t[p])
2525
2525
  );
2526
2526
  return () => {
2527
- for (const l of n.splice(0, n.length))
2528
- l();
2527
+ for (const p of n.splice(0, n.length))
2528
+ p();
2529
2529
  };
2530
2530
  }
2531
2531
  removeHooks(e) {
@@ -2544,15 +2544,15 @@ class Ti {
2544
2544
  return t.unshift(e), this.callHookWith(Ei, e, ...t);
2545
2545
  }
2546
2546
  callHookWith(e, t, ...n) {
2547
- const l = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
2548
- this._before && ze(this._before, l);
2549
- const s = e(
2547
+ const p = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
2548
+ this._before && ze(this._before, p);
2549
+ const r = e(
2550
2550
  t in this._hooks ? [...this._hooks[t]] : [],
2551
2551
  n
2552
2552
  );
2553
- return s instanceof Promise ? s.finally(() => {
2554
- this._after && l && ze(this._after, l);
2555
- }) : (this._after && l && ze(this._after, l), s);
2553
+ return r instanceof Promise ? r.finally(() => {
2554
+ this._after && p && ze(this._after, p);
2555
+ }) : (this._after && p && ze(this._after, p), r);
2556
2556
  }
2557
2557
  beforeEach(e) {
2558
2558
  return this._before = this._before || [], this._before.push(e), () => {
@@ -2571,10 +2571,10 @@ class Ti {
2571
2571
  };
2572
2572
  }
2573
2573
  }
2574
- function Ii() {
2574
+ function Ci() {
2575
2575
  return new Ti();
2576
2576
  }
2577
- function Ci(o) {
2577
+ function Ii(o) {
2578
2578
  return Array.isArray(o) ? o : [o];
2579
2579
  }
2580
2580
  const $i = ["title", "titleTemplate", "script", "style", "noscript"], ve = [
@@ -2614,12 +2614,12 @@ function Pt(o, e) {
2614
2614
  return "canonical";
2615
2615
  if (t.charset)
2616
2616
  return "charset";
2617
- const l = ["id"];
2618
- n === "meta" && l.push("name", "property", "http-equiv");
2619
- for (const s of l)
2620
- if (typeof t[s] < "u") {
2621
- const h = String(t[s]);
2622
- return e && !e(h) ? !1 : `${n}:${s}:${h}`;
2617
+ const p = ["id"];
2618
+ n === "meta" && p.push("name", "property", "http-equiv");
2619
+ for (const r of p)
2620
+ if (typeof t[r] < "u") {
2621
+ const h = String(t[r]);
2622
+ return e && !e(h) ? !1 : `${n}:${r}:${h}`;
2623
2623
  }
2624
2624
  return !1;
2625
2625
  }
@@ -2636,10 +2636,10 @@ async function Pi(o, e, t) {
2636
2636
  ["templateParams", "titleTemplate"].includes(o)
2637
2637
  )
2638
2638
  };
2639
- return Lt.forEach((l) => {
2640
- const s = typeof n.props[l] < "u" ? n.props[l] : t[l];
2641
- typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(l) || $i.includes(n.tag)) && (n[l === "children" ? "innerHTML" : l] = s), delete n.props[l]);
2642
- }), 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((l) => ({ ...n, props: { ...n.props, content: l } })) : n;
2639
+ return Lt.forEach((p) => {
2640
+ const r = typeof n.props[p] < "u" ? n.props[p] : t[p];
2641
+ typeof r < "u" && ((!["innerHTML", "textContent", "children"].includes(p) || $i.includes(n.tag)) && (n[p === "children" ? "innerHTML" : p] = r), delete n.props[p]);
2642
+ }), 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;
2643
2643
  }
2644
2644
  function xi(o) {
2645
2645
  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(" ");
@@ -2651,8 +2651,8 @@ async function xt(o, e) {
2651
2651
  continue;
2652
2652
  }
2653
2653
  if (o[t] instanceof Promise && (o[t] = await o[t]), !e && !Lt.includes(t)) {
2654
- const n = String(o[t]), l = t.startsWith("data-");
2655
- n === "true" || n === "" ? o[t] = l ? "true" : !0 : o[t] || (l && n === "false" ? o[t] = "false" : delete o[t]);
2654
+ const n = String(o[t]), p = t.startsWith("data-");
2655
+ n === "true" || n === "" ? o[t] = p ? "true" : !0 : o[t] || (p && n === "false" ? o[t] = "false" : delete o[t]);
2656
2656
  }
2657
2657
  }
2658
2658
  return o;
@@ -2661,8 +2661,8 @@ const wi = 10;
2661
2661
  async function Hi(o) {
2662
2662
  const e = [];
2663
2663
  return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n < "u" && Si.includes(t)).forEach(([t, n]) => {
2664
- const l = Ci(n);
2665
- e.push(...l.map((s) => Pi(t, s, o)).flat());
2664
+ const p = Ii(n);
2665
+ e.push(...p.map((r) => Pi(t, r, o)).flat());
2666
2666
  }), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << wi) + n, t));
2667
2667
  }
2668
2668
  const ct = {
@@ -2686,19 +2686,19 @@ function ye(o, e, t) {
2686
2686
  return o;
2687
2687
  function n(h) {
2688
2688
  let c;
2689
- return ["s", "pageTitle"].includes(h) ? c = e.pageTitle : h.includes(".") ? c = h.split(".").reduce((d, p) => d && d[p] || void 0, e) : c = e[h], typeof c < "u" ? (c || "").replace(/"/g, '\\"') : !1;
2689
+ return ["s", "pageTitle"].includes(h) ? c = e.pageTitle : h.includes(".") ? c = h.split(".").reduce((l, u) => l && l[u] || void 0, e) : c = e[h], typeof c < "u" ? (c || "").replace(/"/g, '\\"') : !1;
2690
2690
  }
2691
- let l = o;
2691
+ let p = o;
2692
2692
  try {
2693
- l = decodeURI(o);
2693
+ p = decodeURI(o);
2694
2694
  } catch {
2695
2695
  }
2696
- return (l.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((h) => {
2696
+ return (p.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((h) => {
2697
2697
  const c = n(h.slice(1));
2698
- typeof c == "string" && (o = o.replace(new RegExp(`\\${h}(\\W|$)`, "g"), (d, p) => `${c}${p}`).trim());
2698
+ typeof c == "string" && (o = o.replace(new RegExp(`\\${h}(\\W|$)`, "g"), (l, u) => `${c}${u}`).trim());
2699
2699
  }), 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;
2700
2700
  }
2701
- async function Di(o) {
2701
+ async function Ai(o) {
2702
2702
  const e = {
2703
2703
  tag: o.tagName.toLowerCase(),
2704
2704
  props: await xt(
@@ -2708,76 +2708,76 @@ async function Di(o) {
2708
2708
  };
2709
2709
  return e._d = Pt(e), e;
2710
2710
  }
2711
- async function Ai(o, e = {}) {
2711
+ async function Di(o, e = {}) {
2712
2712
  const t = e.document || o.resolvedOptions.document;
2713
2713
  if (!t)
2714
2714
  return;
2715
2715
  const n = { shouldRender: o.dirty, tags: [] };
2716
2716
  if (await o.hooks.callHook("dom:beforeRender", n), !n.shouldRender)
2717
2717
  return;
2718
- const l = (await o.resolveTags()).map((f) => ({
2718
+ const p = (await o.resolveTags()).map((f) => ({
2719
2719
  tag: f,
2720
2720
  id: ve.includes(f.tag) ? ut(f) : f.tag,
2721
2721
  shouldRender: !0
2722
2722
  }));
2723
- let s = o._dom;
2724
- if (!s) {
2725
- s = {
2723
+ let r = o._dom;
2724
+ if (!r) {
2725
+ r = {
2726
2726
  elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
2727
2727
  };
2728
2728
  for (const f of ["body", "head"]) {
2729
2729
  const g = t?.[f]?.children;
2730
- for (const _ of [...g].filter((u) => ve.includes(u.tagName.toLowerCase())))
2731
- s.elMap[_.getAttribute("data-hid") || ut(await Di(_))] = _;
2730
+ for (const _ of [...g].filter((d) => ve.includes(d.tagName.toLowerCase())))
2731
+ r.elMap[_.getAttribute("data-hid") || ut(await Ai(_))] = _;
2732
2732
  }
2733
2733
  }
2734
- s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
2734
+ r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
2735
2735
  function h(f, g, _) {
2736
- const u = `${f}:${g}`;
2737
- s.sideEffects[u] = _, delete s.pendingSideEffects[u];
2736
+ const d = `${f}:${g}`;
2737
+ r.sideEffects[d] = _, delete r.pendingSideEffects[d];
2738
2738
  }
2739
2739
  function c({ id: f, $el: g, tag: _ }) {
2740
- const u = _.tag.endsWith("Attrs");
2741
- s.elMap[f] = g, u || (["textContent", "innerHTML"].forEach((b) => {
2740
+ const d = _.tag.endsWith("Attrs");
2741
+ r.elMap[f] = g, d || (["textContent", "innerHTML"].forEach((b) => {
2742
2742
  _[b] && _[b] !== g[b] && (g[b] = _[b]);
2743
2743
  }), h(f, "el", () => {
2744
- s.elMap[f].remove(), delete s.elMap[f];
2744
+ r.elMap[f].remove(), delete r.elMap[f];
2745
2745
  })), Object.entries(_.props).forEach(([b, k]) => {
2746
2746
  const m = `attr:${b}`;
2747
2747
  if (b === "class")
2748
2748
  for (const i of (k || "").split(" ").filter(Boolean))
2749
- u && h(f, `${m}:${i}`, () => g.classList.remove(i)), !g.classList.contains(i) && g.classList.add(i);
2749
+ d && h(f, `${m}:${i}`, () => g.classList.remove(i)), !g.classList.contains(i) && g.classList.add(i);
2750
2750
  else
2751
- g.getAttribute(b) !== k && g.setAttribute(b, k === !0 ? "" : String(k)), u && h(f, m, () => g.removeAttribute(b));
2751
+ g.getAttribute(b) !== k && g.setAttribute(b, k === !0 ? "" : String(k)), d && h(f, m, () => g.removeAttribute(b));
2752
2752
  });
2753
2753
  }
2754
- const d = [], p = {
2754
+ const l = [], u = {
2755
2755
  bodyClose: void 0,
2756
2756
  bodyOpen: void 0,
2757
2757
  head: void 0
2758
2758
  };
2759
- for (const f of l) {
2760
- const { tag: g, shouldRender: _, id: u } = f;
2759
+ for (const f of p) {
2760
+ const { tag: g, shouldRender: _, id: d } = f;
2761
2761
  if (_) {
2762
2762
  if (g.tag === "title") {
2763
2763
  t.title = g.textContent;
2764
2764
  continue;
2765
2765
  }
2766
- f.$el = f.$el || s.elMap[u], f.$el ? c(f) : ve.includes(g.tag) && d.push(f);
2766
+ f.$el = f.$el || r.elMap[d], f.$el ? c(f) : ve.includes(g.tag) && l.push(f);
2767
2767
  }
2768
2768
  }
2769
- for (const f of d) {
2769
+ for (const f of l) {
2770
2770
  const g = f.tag.tagPosition || "head";
2771
- f.$el = t.createElement(f.tag.tag), c(f), p[g] = p[g] || t.createDocumentFragment(), p[g].appendChild(f.$el);
2771
+ f.$el = t.createElement(f.tag.tag), c(f), u[g] = u[g] || t.createDocumentFragment(), u[g].appendChild(f.$el);
2772
2772
  }
2773
- for (const f of l)
2773
+ for (const f of p)
2774
2774
  await o.hooks.callHook("dom:renderTag", f, t, h);
2775
- p.head && t.head.appendChild(p.head), p.bodyOpen && t.body.insertBefore(p.bodyOpen, t.body.firstChild), p.bodyClose && t.body.appendChild(p.bodyClose), Object.values(s.pendingSideEffects).forEach((f) => f()), o._dom = s, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: l });
2775
+ u.head && t.head.appendChild(u.head), u.bodyOpen && t.body.insertBefore(u.bodyOpen, t.body.firstChild), u.bodyClose && t.body.appendChild(u.bodyClose), Object.values(r.pendingSideEffects).forEach((f) => f()), o._dom = r, o.dirty = !1, await o.hooks.callHook("dom:rendered", { renders: p });
2776
2776
  }
2777
2777
  async function Mi(o, e = {}) {
2778
2778
  const t = e.delayFn || ((n) => setTimeout(n, 10));
2779
2779
  return o._domUpdatePromise = o._domUpdatePromise || new Promise((n) => t(async () => {
2780
- await Ai(o, e), delete o._domUpdatePromise, n();
2780
+ await Di(o, e), delete o._domUpdatePromise, n();
2781
2781
  }));
2782
2782
  }
2783
2783
  // @__NO_SIDE_EFFECTS__
@@ -2806,35 +2806,35 @@ const Bi = ["templateParams", "htmlAttrs", "bodyAttrs"], zi = {
2806
2806
  "tags:resolve": function(o) {
2807
2807
  const e = {};
2808
2808
  o.tags.forEach((n) => {
2809
- const l = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, s = e[l];
2810
- if (s) {
2809
+ const p = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, r = e[p];
2810
+ if (r) {
2811
2811
  let c = n?.tagDuplicateStrategy;
2812
2812
  if (!c && Bi.includes(n.tag) && (c = "merge"), c === "merge") {
2813
- const d = s.props;
2814
- ["class", "style"].forEach((p) => {
2815
- d[p] && (n.props[p] ? (p === "style" && !d[p].endsWith(";") && (d[p] += ";"), n.props[p] = `${d[p]} ${n.props[p]}`) : n.props[p] = d[p]);
2816
- }), e[l].props = {
2817
- ...d,
2813
+ const l = r.props;
2814
+ ["class", "style"].forEach((u) => {
2815
+ l[u] && (n.props[u] ? (u === "style" && !l[u].endsWith(";") && (l[u] += ";"), n.props[u] = `${l[u]} ${n.props[u]}`) : n.props[u] = l[u]);
2816
+ }), e[p].props = {
2817
+ ...l,
2818
2818
  ...n.props
2819
2819
  };
2820
2820
  return;
2821
- } else if (n._e === s._e) {
2822
- s._duped = s._duped || [], n._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(n);
2821
+ } else if (n._e === r._e) {
2822
+ r._duped = r._duped || [], n._d = `${r._d}:${r._duped.length + 1}`, r._duped.push(n);
2823
2823
  return;
2824
- } else if (_e(n) > _e(s))
2824
+ } else if (_e(n) > _e(r))
2825
2825
  return;
2826
2826
  }
2827
2827
  const h = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
2828
2828
  if (ve.includes(n.tag) && h === 0) {
2829
- delete e[l];
2829
+ delete e[p];
2830
2830
  return;
2831
2831
  }
2832
- e[l] = n;
2832
+ e[p] = n;
2833
2833
  });
2834
2834
  const t = [];
2835
2835
  Object.values(e).forEach((n) => {
2836
- const l = n._duped;
2837
- delete n._duped, t.push(n), l && t.push(...l);
2836
+ const p = n._duped;
2837
+ delete n._duped, t.push(n), p && t.push(...p);
2838
2838
  }), o.tags = t, o.tags = o.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
2839
2839
  }
2840
2840
  }
@@ -2855,8 +2855,8 @@ const Bi = ["templateParams", "htmlAttrs", "bodyAttrs"], zi = {
2855
2855
  }, Fi = ["script", "link", "bodyAttrs"];
2856
2856
  function Ni(o) {
2857
2857
  const e = {}, t = {};
2858
- return Object.entries(o.props).forEach(([n, l]) => {
2859
- n.startsWith("on") && typeof l == "function" ? (wt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = l) : e[n] = l;
2858
+ return Object.entries(o.props).forEach(([n, p]) => {
2859
+ n.startsWith("on") && typeof p == "function" ? (wt.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = p) : e[n] = p;
2860
2860
  }), { props: e, eventHandlers: t };
2861
2861
  }
2862
2862
  const Ui = (o) => ({
@@ -2864,50 +2864,50 @@ const Ui = (o) => ({
2864
2864
  "tags:resolve": function(e) {
2865
2865
  for (const t of e.tags)
2866
2866
  if (Fi.includes(t.tag)) {
2867
- const { props: n, eventHandlers: l } = Ni(t);
2868
- t.props = n, Object.keys(l).length && ((t.props.src || t.props.href) && (t.key = t.key || Ke(t.props.src || t.props.href)), t._eventHandlers = l);
2867
+ const { props: n, eventHandlers: p } = Ni(t);
2868
+ 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);
2869
2869
  }
2870
2870
  },
2871
2871
  "dom:renderTag": function(e, t, n) {
2872
2872
  if (!e.tag._eventHandlers)
2873
2873
  return;
2874
- const l = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
2875
- Object.entries(e.tag._eventHandlers).forEach(([s, h]) => {
2876
- const c = `${e.tag._d || e.tag._p}:${s}`, d = s.slice(2).toLowerCase(), p = `data-h-${d}`;
2874
+ const p = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
2875
+ Object.entries(e.tag._eventHandlers).forEach(([r, h]) => {
2876
+ const c = `${e.tag._d || e.tag._p}:${r}`, l = r.slice(2).toLowerCase(), u = `data-h-${l}`;
2877
2877
  if (n(e.id, c, () => {
2878
- }), e.$el.hasAttribute(p))
2878
+ }), e.$el.hasAttribute(u))
2879
2879
  return;
2880
- e.$el.setAttribute(p, "");
2880
+ e.$el.setAttribute(u, "");
2881
2881
  let f;
2882
2882
  const g = (_) => {
2883
2883
  h(_), f?.disconnect();
2884
2884
  };
2885
- s in e.$el.dataset ? g(new Event(s.replace("on", ""))) : wt.includes(s) && typeof MutationObserver < "u" ? (f = new MutationObserver((_) => {
2886
- _.some((b) => b.attributeName === `data-${s}`) && (g(new Event(s.replace("on", ""))), f?.disconnect());
2885
+ r in e.$el.dataset ? g(new Event(r.replace("on", ""))) : wt.includes(r) && typeof MutationObserver < "u" ? (f = new MutationObserver((_) => {
2886
+ _.some((b) => b.attributeName === `data-${r}`) && (g(new Event(r.replace("on", ""))), f?.disconnect());
2887
2887
  }), f.observe(e.$el, {
2888
2888
  attributes: !0
2889
- })) : l.addEventListener(d, g), n(e.id, c, () => {
2890
- f?.disconnect(), l.removeEventListener(d, g), e.$el.removeAttribute(p);
2889
+ })) : p.addEventListener(l, g), n(e.id, c, () => {
2890
+ f?.disconnect(), p.removeEventListener(l, g), e.$el.removeAttribute(u);
2891
2891
  });
2892
2892
  });
2893
2893
  }
2894
2894
  }
2895
- }), qi = ["link", "style", "script", "noscript"], Gi = {
2895
+ }), qi = ["link", "style", "script", "noscript"], ji = {
2896
2896
  hooks: {
2897
2897
  "tag:normalise": ({ tag: o }) => {
2898
2898
  o.key && qi.includes(o.tag) && (o.props["data-hid"] = o._h = Ke(o.key));
2899
2899
  }
2900
2900
  }
2901
- }, ji = {
2901
+ }, Gi = {
2902
2902
  hooks: {
2903
2903
  "tags:resolve": (o) => {
2904
2904
  const e = (t) => o.tags.find((n) => n._d === t)?._p;
2905
2905
  for (const { prefix: t, offset: n } of Oi)
2906
- for (const l of o.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
2907
- const s = e(
2908
- l.tagPriority.replace(t, "")
2906
+ for (const p of o.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(t))) {
2907
+ const r = e(
2908
+ p.tagPriority.replace(t, "")
2909
2909
  );
2910
- typeof s < "u" && (l._p = s + n);
2910
+ typeof r < "u" && (p._p = r + n);
2911
2911
  }
2912
2912
  o.tags.sort((t, n) => t._p - n._p).sort((t, n) => _e(t) - _e(n));
2913
2913
  }
@@ -2919,34 +2919,34 @@ const Ui = (o) => ({
2919
2919
  }, Ki = (o) => ({
2920
2920
  hooks: {
2921
2921
  "tags:resolve": (e) => {
2922
- const { tags: t } = e, n = t.find((c) => c.tag === "title")?.textContent, l = t.findIndex((c) => c.tag === "templateParams"), s = l !== -1 ? t[l].props : {}, h = s.separator || "|";
2923
- delete s.separator, s.pageTitle = ye(s.pageTitle || n || "", s, h);
2924
- for (const c of t.filter((d) => d.processTemplateParams !== !1)) {
2925
- const d = Yi[c.tag];
2926
- d && typeof c.props[d] == "string" ? c.props[d] = ye(c.props[d], s, h) : (c.processTemplateParams === !0 || ["titleTemplate", "title"].includes(c.tag)) && ["innerHTML", "textContent"].forEach((p) => {
2927
- typeof c[p] == "string" && (c[p] = ye(c[p], s, h));
2922
+ const { tags: t } = e, n = t.find((c) => c.tag === "title")?.textContent, p = t.findIndex((c) => c.tag === "templateParams"), r = p !== -1 ? t[p].props : {}, h = r.separator || "|";
2923
+ delete r.separator, r.pageTitle = ye(r.pageTitle || n || "", r, h);
2924
+ for (const c of t.filter((l) => l.processTemplateParams !== !1)) {
2925
+ const l = Yi[c.tag];
2926
+ l && typeof c.props[l] == "string" ? c.props[l] = ye(c.props[l], r, h) : (c.processTemplateParams === !0 || ["titleTemplate", "title"].includes(c.tag)) && ["innerHTML", "textContent"].forEach((u) => {
2927
+ typeof c[u] == "string" && (c[u] = ye(c[u], r, h));
2928
2928
  });
2929
2929
  }
2930
- o._templateParams = s, o._separator = h, e.tags = t.filter((c) => c.tag !== "templateParams");
2930
+ o._templateParams = r, o._separator = h, e.tags = t.filter((c) => c.tag !== "templateParams");
2931
2931
  }
2932
2932
  }
2933
2933
  }), Qi = {
2934
2934
  hooks: {
2935
2935
  "tags:resolve": (o) => {
2936
2936
  const { tags: e } = o;
2937
- let t = e.findIndex((l) => l.tag === "titleTemplate");
2938
- const n = e.findIndex((l) => l.tag === "title");
2937
+ let t = e.findIndex((p) => p.tag === "titleTemplate");
2938
+ const n = e.findIndex((p) => p.tag === "title");
2939
2939
  if (n !== -1 && t !== -1) {
2940
- const l = dt(
2940
+ const p = dt(
2941
2941
  e[t].textContent,
2942
2942
  e[n].textContent
2943
2943
  );
2944
- l !== null ? e[n].textContent = l || e[n].textContent : delete e[n];
2944
+ p !== null ? e[n].textContent = p || e[n].textContent : delete e[n];
2945
2945
  } else if (t !== -1) {
2946
- const l = dt(
2946
+ const p = dt(
2947
2947
  e[t].textContent
2948
2948
  );
2949
- l !== null && (e[t].textContent = l, e[t].tag = "title", t = -1);
2949
+ p !== null && (e[t].textContent = p, e[t].tag = "title", t = -1);
2950
2950
  }
2951
2951
  t !== -1 && delete e[t], o.tags = e.filter(Boolean);
2952
2952
  }
@@ -2969,53 +2969,53 @@ function ht(o, e) {
2969
2969
  return !o || o === "server" && e || o === "client" && !e;
2970
2970
  }
2971
2971
  function Zi(o = {}) {
2972
- const e = Ii();
2972
+ const e = Ci();
2973
2973
  e.addHooks(o.hooks || {}), o.document = o.document || (Li ? document : void 0);
2974
2974
  const t = !o.document, n = () => {
2975
2975
  c.dirty = !0, e.callHook("entries:updated", c);
2976
2976
  };
2977
- let l = 0, s = [];
2977
+ let p = 0, r = [];
2978
2978
  const h = [], c = {
2979
2979
  plugins: h,
2980
2980
  dirty: !1,
2981
2981
  resolvedOptions: o,
2982
2982
  hooks: e,
2983
2983
  headEntries() {
2984
- return s;
2984
+ return r;
2985
2985
  },
2986
- use(d) {
2987
- const p = typeof d == "function" ? d(c) : d;
2988
- (!p.key || !h.some((f) => f.key === p.key)) && (h.push(p), ht(p.mode, t) && e.addHooks(p.hooks || {}));
2986
+ use(l) {
2987
+ const u = typeof l == "function" ? l(c) : l;
2988
+ (!u.key || !h.some((f) => f.key === u.key)) && (h.push(u), ht(u.mode, t) && e.addHooks(u.hooks || {}));
2989
2989
  },
2990
- push(d, p) {
2991
- delete p?.head;
2990
+ push(l, u) {
2991
+ delete u?.head;
2992
2992
  const f = {
2993
- _i: l++,
2994
- input: d,
2995
- ...p
2993
+ _i: p++,
2994
+ input: l,
2995
+ ...u
2996
2996
  };
2997
- return ht(f.mode, t) && (s.push(f), n()), {
2997
+ return ht(f.mode, t) && (r.push(f), n()), {
2998
2998
  dispose() {
2999
- s = s.filter((g) => g._i !== f._i), e.callHook("entries:updated", c), n();
2999
+ r = r.filter((g) => g._i !== f._i), e.callHook("entries:updated", c), n();
3000
3000
  },
3001
3001
  // a patch is the same as creating a new entry, just a nice DX
3002
3002
  patch(g) {
3003
- s = s.map((_) => (_._i === f._i && (_.input = f.input = g), _)), n();
3003
+ r = r.map((_) => (_._i === f._i && (_.input = f.input = g), _)), n();
3004
3004
  }
3005
3005
  };
3006
3006
  },
3007
3007
  async resolveTags() {
3008
- const d = { tags: [], entries: [...s] };
3009
- await e.callHook("entries:resolve", d);
3010
- for (const p of d.entries) {
3011
- const f = p.resolvedInput || p.input;
3012
- if (p.resolvedInput = await (p.transform ? p.transform(f) : f), p.resolvedInput)
3013
- for (const g of await Hi(p)) {
3014
- const _ = { tag: g, entry: p, resolvedOptions: c.resolvedOptions };
3015
- await e.callHook("tag:normalise", _), d.tags.push(_.tag);
3008
+ const l = { tags: [], entries: [...r] };
3009
+ await e.callHook("entries:resolve", l);
3010
+ for (const u of l.entries) {
3011
+ const f = u.resolvedInput || u.input;
3012
+ if (u.resolvedInput = await (u.transform ? u.transform(f) : f), u.resolvedInput)
3013
+ for (const g of await Hi(u)) {
3014
+ const _ = { tag: g, entry: u, resolvedOptions: c.resolvedOptions };
3015
+ await e.callHook("tag:normalise", _), l.tags.push(_.tag);
3016
3016
  }
3017
3017
  }
3018
- return await e.callHook("tags:beforeResolve", d), await e.callHook("tags:resolve", d), await e.callHook("tags:afterResolve", d), d.tags;
3018
+ return await e.callHook("tags:beforeResolve", l), await e.callHook("tags:resolve", l), await e.callHook("tags:afterResolve", l), l.tags;
3019
3019
  },
3020
3020
  ssr: t
3021
3021
  };
@@ -3023,13 +3023,13 @@ function Zi(o = {}) {
3023
3023
  zi,
3024
3024
  Wi,
3025
3025
  Ui,
3026
- Gi,
3027
3026
  ji,
3027
+ Gi,
3028
3028
  Ki,
3029
3029
  Qi,
3030
3030
  Ji,
3031
3031
  ...o?.plugins || []
3032
- ].forEach((d) => c.use(d)), c.hooks.callHook("init", c), c;
3032
+ ].forEach((l) => c.use(l)), c.hooks.callHook("init", c), c;
3033
3033
  }
3034
3034
  function er() {
3035
3035
  return Ht;
@@ -3043,7 +3043,7 @@ function Ue(o, e = "") {
3043
3043
  return o;
3044
3044
  const t = or(o);
3045
3045
  return !o || !t ? t : Array.isArray(t) ? t.map((n) => Ue(n, e)) : typeof t == "object" ? Object.fromEntries(
3046
- Object.entries(t).map(([n, l]) => n === "titleTemplate" || n.startsWith("on") ? [n, a(l)] : [n, Ue(l, n)])
3046
+ Object.entries(t).map(([n, p]) => n === "titleTemplate" || n.startsWith("on") ? [n, a(p)] : [n, Ue(p, n)])
3047
3047
  ) : t;
3048
3048
  }
3049
3049
  const nr = {
@@ -3079,17 +3079,27 @@ class lr extends HTMLElement {
3079
3079
  super();
3080
3080
  }
3081
3081
  connectedCallback() {
3082
- const e = typeof fe == "function" ? fe.options : fe, t = Array.isArray(e.props) ? e.props : Object.keys(e.props || {}), n = {};
3083
- for (const h of t) {
3084
- const c = this.attributes.getNamedItem(h)?.value;
3085
- if (!c)
3082
+ const e = typeof fe == "function" ? fe.options : fe;
3083
+ let t = Array.isArray(e.props) ? e.props : Object.keys(e.props || {});
3084
+ console.log(e);
3085
+ const n = (l) => l.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (u, f) => (f ? "-" : "") + u.toLowerCase()), p = {};
3086
+ t = t.map(n);
3087
+ const r = {};
3088
+ for (const l of this.attributes) {
3089
+ const u = l.name, f = u.split(".");
3090
+ console.log(u, f.length), f.length > 1 && (r[f[0]] || (r[f[0]] = {}), r[f[0]][f[1]] = l.value);
3091
+ }
3092
+ console.log(r);
3093
+ for (const l of t) {
3094
+ let u = this.attributes.getNamedItem(l)?.value;
3095
+ if (r.hasOwnProperty(l) && (u = r[l]), !u)
3086
3096
  break;
3087
- n[h] = c;
3097
+ p[l] = u;
3088
3098
  }
3089
- const l = Io(fe, n);
3090
- l.use(ar), l.use(sr), l.use(St), l.use(Co), l.use(wo), l.use($o, { bootstrap: !0 });
3091
- const s = document.createElement("div");
3092
- l.mount(s), this.appendChild(s.children[0]);
3099
+ const h = Co(fe, p);
3100
+ h.use(ar), h.use(sr), h.use(St), h.use(Io), h.use(wo), h.use($o, { bootstrap: !0 });
3101
+ const c = document.createElement("div");
3102
+ h.mount(c), this.appendChild(c.children[0]);
3093
3103
  }
3094
3104
  }
3095
3105
  window.customElements.define("konnectio-hotel", lr);