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