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