@konnectio/core 4.0.56-rc1 → 4.0.56-rc3

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