@konnectio/core 4.0.29 → 4.0.31
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-81384aa7.cjs → ActionField-4146b273.cjs} +1 -1
- package/dist/{ActionField-1fcb30ea.js → ActionField-cad55dd0.js} +2 -2
- package/dist/ActionField-cad55dd0.js.br +0 -0
- package/dist/{AvailabilitySkeleton-e38800f8.js → AvailabilitySkeleton-119a2dda.js} +5 -5
- package/dist/AvailabilitySkeleton-119a2dda.js.br +0 -0
- package/dist/{AvailabilitySkeleton-f371a6ba.cjs → AvailabilitySkeleton-e50c7f3b.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-16f1eb52.cjs → DateField.vue_vue_type_style_index_0_lang-6e16a80f.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-5eb1cfc9.js → DateField.vue_vue_type_style_index_0_lang-a4445293.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-a4445293.js.br +0 -0
- package/dist/{Field-9be15a05.cjs → Field-30b9bc8d.cjs} +1 -1
- package/dist/{Field-eb8d429d.js → Field-c6cc5881.js} +2 -2
- package/dist/Field-c6cc5881.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-ae0eb65d.cjs → NumberField.vue_vue_type_script_setup_true_lang-9678cc59.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-959c8429.js → NumberField.vue_vue_type_script_setup_true_lang-dbfb9925.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-dbfb9925.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-6b27dec6.js → SelectField.vue_vue_type_style_index_0_lang-c497c637.js} +9149 -9125
- package/dist/SelectField.vue_vue_type_style_index_0_lang-c497c637.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-dec7ee54.cjs +860 -0
- package/dist/{ThankYou-db84768c.cjs → ThankYou-07315679.cjs} +2 -2
- package/dist/{ThankYou-90871d9e.js → ThankYou-2449c13f.js} +11 -11
- package/dist/ThankYou-2449c13f.js.br +0 -0
- package/dist/{_-c47e8eec.js → _-c92afce5.js} +1 -1
- package/dist/{_-0041bfd0.cjs → _-d75fab60.cjs} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/views/TermsOfService.vue.d.ts +1 -1
- package/dist/{event-97fce505.js → event-1457c6d2.js} +7 -7
- package/dist/event-1457c6d2.js.br +0 -0
- package/dist/{event-f7d31cb8.cjs → event-a3ccc3af.cjs} +1 -1
- package/dist/event.cjs +1 -1
- package/dist/event.js +8 -8
- 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 +646 -645
- package/dist/hotel.js.br +0 -0
- package/dist/{index-1f2fa31e.js → index-51291895.js} +1 -1
- package/dist/index-51291895.js.br +0 -0
- package/dist/{index-2c822f23.cjs → index-551fafbf.cjs} +1 -1
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/store/tracking.d.ts +17 -2
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +4 -4
- package/dist/ActionField-1fcb30ea.js.br +0 -0
- package/dist/AvailabilitySkeleton-e38800f8.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-5eb1cfc9.js.br +0 -0
- package/dist/Field-eb8d429d.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-959c8429.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6b27dec6.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-80ce269e.cjs +0 -860
- package/dist/ThankYou-90871d9e.js.br +0 -0
- package/dist/event-97fce505.js.br +0 -0
- package/dist/index-1f2fa31e.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { k as Q, D as de, aE as
|
|
2
|
-
import { R as
|
|
3
|
-
import { A as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { C as Ue, P as
|
|
7
|
-
import { E as X } from "./_-
|
|
8
|
-
import { c as
|
|
9
|
-
import "./ActionField-
|
|
10
|
-
import "./Field-
|
|
11
|
-
const
|
|
1
|
+
import { k as Q, D as de, aE as ho, s as ee, c as Ee, ab as yt, ac as me, m as x, n as M, W as vt, q as a, w, aa as Ve, A as v, F as V, K as se, Y as Ze, aF as fo, v as I, a3 as W, a2 as R, x as D, aG as ve, a5 as We, p as T, H as Z, J as ue, f as j, B as Te, P as _t, Q as bt, _ as te, r as ae, o as $e, ag as et, ah as Pe, aH as kt, aC as mo, a1 as ke, y as xe, I as xt, l as tt, T as re, aA as go, b as yo, N as vo, C as fe, a6 as _o, L as ot, G as F, M as bo, an as It, aI as ko, U as xo, a8 as Io, R as Eo, V as To, a9 as $o } from "./SelectField.vue_vue_type_style_index_0_lang-c497c637.js";
|
|
2
|
+
import { R as So, S as Co, F as Vo, _ as Po, B as Bo, a as Do, M as Lo, T as wo, x as Oo } from "./ThankYou-2449c13f.js";
|
|
3
|
+
import { A as Ho, H as Ao } from "./AvailabilitySkeleton-119a2dda.js";
|
|
4
|
+
import { _ as Et } from "./NumberField.vue_vue_type_script_setup_true_lang-dbfb9925.js";
|
|
5
|
+
import { _ as zo } from "./DateField.vue_vue_type_style_index_0_lang-a4445293.js";
|
|
6
|
+
import { C as Ue, P as Mo, a as Ro, S as No } from "./index-51291895.js";
|
|
7
|
+
import { E as X } from "./_-c92afce5.js";
|
|
8
|
+
import { c as Tt, a as $t } from "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
+
import "./ActionField-cad55dd0.js";
|
|
10
|
+
import "./Field-c6cc5881.js";
|
|
11
|
+
const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
12
12
|
__name: "HotelReservationForm",
|
|
13
13
|
props: {
|
|
14
14
|
showGiftCard: { type: Boolean, default: !1 },
|
|
15
15
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
16
16
|
},
|
|
17
17
|
setup(n) {
|
|
18
|
-
const { t: e } = de(), t =
|
|
18
|
+
const { t: e } = de(), t = ho(), {
|
|
19
19
|
hideArrivalDepartureInputs: o,
|
|
20
20
|
disableArrivalUserSelection: u,
|
|
21
21
|
disableDepartureUserSelection: r,
|
|
22
22
|
arrivalDefault: p,
|
|
23
23
|
departureDefault: l,
|
|
24
24
|
currency: h
|
|
25
|
-
} = ee(
|
|
25
|
+
} = ee(Ee()), {
|
|
26
26
|
arrivalDate: c,
|
|
27
27
|
departureDate: m
|
|
28
|
-
} = ee(
|
|
28
|
+
} = ee(yt()), {
|
|
29
29
|
arrivalTime: g,
|
|
30
30
|
departureTime: k,
|
|
31
|
-
roomDisplay:
|
|
31
|
+
roomDisplay: s,
|
|
32
32
|
templateID: _,
|
|
33
33
|
totalPrice: b,
|
|
34
34
|
areListingsLoading: f
|
|
@@ -36,32 +36,32 @@ const No = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
36
36
|
function d(y) {
|
|
37
37
|
return y.reduce((S, { totalPrice: L }) => S + L, 0);
|
|
38
38
|
}
|
|
39
|
-
return (y, E) => (x(), M(
|
|
40
|
-
"total-price":
|
|
39
|
+
return (y, E) => (x(), M(So, {
|
|
40
|
+
"total-price": a(b),
|
|
41
41
|
"show-gift-card": y.showGiftCard,
|
|
42
42
|
"show-terms-notice": y.showTermsNotice,
|
|
43
|
-
"is-sidebar-loading":
|
|
44
|
-
notice:
|
|
45
|
-
},
|
|
43
|
+
"is-sidebar-loading": a(f),
|
|
44
|
+
notice: a(e)("hotel.reservationNotice")
|
|
45
|
+
}, vt({
|
|
46
46
|
form: w(() => [
|
|
47
|
-
|
|
47
|
+
Ve(y.$slots, "form")
|
|
48
48
|
]),
|
|
49
49
|
"reservation-summary": w(() => [
|
|
50
50
|
v("li", null, [
|
|
51
|
-
v("span", null, V(
|
|
52
|
-
v("b", null, V(
|
|
51
|
+
v("span", null, V(a(e)("booking.reservation.arrival")), 1),
|
|
52
|
+
v("b", null, V(a(o) ? a(se)(a(c)) : `${a(se)(a(c))}, ${a(u) ? a(p) : a(g)}`), 1)
|
|
53
53
|
]),
|
|
54
54
|
v("li", null, [
|
|
55
|
-
v("span", null, V(
|
|
56
|
-
v("b", null, V(
|
|
55
|
+
v("span", null, V(a(e)("booking.reservation.departure")), 1),
|
|
56
|
+
v("b", null, V(a(o) ? a(se)(a(m)) : `${a(se)(a(m))}, ${a(r) ? a(l) : a(k)}`), 1)
|
|
57
57
|
]),
|
|
58
58
|
v("li", null, [
|
|
59
|
-
v("span", null, V(
|
|
60
|
-
v("b", null, V(
|
|
59
|
+
v("span", null, V(a(e)("booking.reservation.nights")), 1),
|
|
60
|
+
v("b", null, V(a(Ze)(a(c), a(m))) + " " + V(a(fo)(a(Ze)(a(c), a(m)) === 1 ? a(e)("booking.reservation.night") : a(e)("booking.reservation.nights"))), 1)
|
|
61
61
|
])
|
|
62
62
|
]),
|
|
63
63
|
"price-summary": w(() => [
|
|
64
|
-
isNaN(
|
|
64
|
+
isNaN(a(_)) && a(s).length > 0 ? (x(!0), I(R, { key: 0 }, W(a(s), ({
|
|
65
65
|
roomGroupID: S,
|
|
66
66
|
title: L,
|
|
67
67
|
variants: H
|
|
@@ -74,55 +74,54 @@ const No = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
74
74
|
(x(!0), I(R, null, W(C.rooms, (O, q) => (x(), I("ul", { key: q }, [
|
|
75
75
|
v("li", null, [
|
|
76
76
|
v("span", null, [
|
|
77
|
-
v("span", null, V(
|
|
77
|
+
v("span", null, V(a(ve)(C.name)), 1),
|
|
78
78
|
v("span", null, [
|
|
79
|
-
|
|
79
|
+
We("( "),
|
|
80
80
|
T(Z, {
|
|
81
81
|
icon: "male",
|
|
82
82
|
type: "fas",
|
|
83
83
|
color: "font"
|
|
84
84
|
}),
|
|
85
85
|
v("span", null, V(O.adultsCount), 1),
|
|
86
|
-
_e(") "),
|
|
87
86
|
O.childrenCount > 0 ? (x(), I(R, { key: 0 }, [
|
|
88
87
|
T(Z, {
|
|
89
88
|
icon: "child",
|
|
90
89
|
type: "fas",
|
|
91
90
|
color: "font"
|
|
92
91
|
}),
|
|
93
|
-
v("span", null, V(O.childrenCount), 1)
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
v("span", null, V(O.childrenCount), 1)
|
|
93
|
+
], 64)) : D("", !0),
|
|
94
|
+
We(") ")
|
|
96
95
|
])
|
|
97
96
|
]),
|
|
98
97
|
v("b", null, [
|
|
99
|
-
v("span", null, V(
|
|
98
|
+
v("span", null, V(a(ue)(O.totalPrice, a(h))), 1),
|
|
100
99
|
D("", !0)
|
|
101
100
|
])
|
|
102
101
|
]),
|
|
103
|
-
d(O.roomAddons) > 0 ? (x(), I("li",
|
|
104
|
-
v("span", null, V(
|
|
105
|
-
v("b", null, V(
|
|
102
|
+
d(O.roomAddons) > 0 ? (x(), I("li", Wo, [
|
|
103
|
+
v("span", null, V(a(e)("booking.reservation.addons")), 1),
|
|
104
|
+
v("b", null, V(a(ue)(d(O.roomAddons), a(h))), 1)
|
|
106
105
|
])) : D("", !0)
|
|
107
106
|
]))), 128))
|
|
108
107
|
]))), 128))
|
|
109
108
|
]))), 128)) : D("", !0)
|
|
110
109
|
]),
|
|
111
110
|
navigation: w(() => [
|
|
112
|
-
|
|
111
|
+
Ve(y.$slots, "navigation")
|
|
113
112
|
]),
|
|
114
113
|
_: 2
|
|
115
114
|
}, [
|
|
116
|
-
|
|
115
|
+
a(t).addons ? {
|
|
117
116
|
name: "addons",
|
|
118
117
|
fn: w(() => [
|
|
119
|
-
|
|
118
|
+
Ve(y.$slots, "addons")
|
|
120
119
|
]),
|
|
121
120
|
key: "0"
|
|
122
121
|
} : void 0
|
|
123
122
|
]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
124
123
|
}
|
|
125
|
-
}),
|
|
124
|
+
}), Uo = (n) => (_t("data-v-c84b41ba"), n = n(), bt(), n), Fo = { key: 0 }, qo = { class: "konnectio-selected-room-config" }, Go = { class: "konnectio-selected-room-config-people" }, jo = { key: 0 }, Yo = { class: "konnectio-selected-room-config-price" }, Qo = /* @__PURE__ */ Uo(() => /* @__PURE__ */ v("span", null, null, -1)), Ko = /* @__PURE__ */ Q({
|
|
126
125
|
__name: "RoomConfigField",
|
|
127
126
|
props: {
|
|
128
127
|
modelValue: {},
|
|
@@ -133,7 +132,7 @@ const No = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
133
132
|
},
|
|
134
133
|
emits: ["update:modelValue"],
|
|
135
134
|
setup(n, { emit: e }) {
|
|
136
|
-
const { t } = de(), { currency: o } = ee(
|
|
135
|
+
const { t } = de(), { currency: o } = ee(Ee()), u = e, r = n;
|
|
137
136
|
function p(h) {
|
|
138
137
|
u("update:modelValue", h);
|
|
139
138
|
}
|
|
@@ -141,7 +140,7 @@ const No = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
141
140
|
get: () => r.modelValue,
|
|
142
141
|
set: (h) => p(h)
|
|
143
142
|
});
|
|
144
|
-
return (h, c) => (x(), M(
|
|
143
|
+
return (h, c) => (x(), M(Te, {
|
|
145
144
|
modelValue: l.value,
|
|
146
145
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => l.value = m),
|
|
147
146
|
label: h.label,
|
|
@@ -161,33 +160,33 @@ const No = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
161
160
|
type: "fas",
|
|
162
161
|
color: "font"
|
|
163
162
|
}),
|
|
164
|
-
v("span", null, V(`${m.adults}`), 1)
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
163
|
+
v("span", null, V(`${m.adults}`), 1),
|
|
164
|
+
m.children > 0 ? (x(), I("span", Fo, [
|
|
165
|
+
T(Z, {
|
|
166
|
+
icon: "child",
|
|
167
|
+
type: "fas",
|
|
168
|
+
color: "font"
|
|
169
|
+
}),
|
|
170
|
+
v("span", null, V(`${m.children}`), 1)
|
|
171
|
+
])) : D("", !0),
|
|
172
|
+
v("span", null, V(`(${a(ue)(m.price, a(o))})`), 1)
|
|
173
|
+
])
|
|
175
174
|
]),
|
|
176
175
|
"selected-option": w(({ data: m }) => [
|
|
177
|
-
v("div",
|
|
178
|
-
v("div",
|
|
176
|
+
v("div", qo, [
|
|
177
|
+
v("div", Go, [
|
|
179
178
|
v("div", null, [
|
|
180
179
|
D("", !0),
|
|
181
|
-
v("span", null, V(`${m.adults} ${m.adults === 1 ?
|
|
180
|
+
v("span", null, V(`${m.adults} ${m.adults === 1 ? a(t)("general.adult") : a(t)("general.adults")}`), 1)
|
|
182
181
|
]),
|
|
183
|
-
m.children > 0 ? (x(), I("div",
|
|
182
|
+
m.children > 0 ? (x(), I("div", jo, [
|
|
184
183
|
D("", !0),
|
|
185
|
-
v("span", null, V(`& ${m.children} ${m.children === 1 ?
|
|
184
|
+
v("span", null, V(`& ${m.children} ${m.children === 1 ? a(t)("general.child") : a(t)("general.children")}`), 1)
|
|
186
185
|
])) : D("", !0)
|
|
187
186
|
]),
|
|
188
|
-
v("div",
|
|
189
|
-
|
|
190
|
-
|
|
187
|
+
v("div", Yo, [
|
|
188
|
+
Qo,
|
|
189
|
+
We(" " + V(`(${a(ue)(m.price, a(o))})`), 1)
|
|
191
190
|
])
|
|
192
191
|
])
|
|
193
192
|
]),
|
|
@@ -195,17 +194,17 @@ const No = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
195
194
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
196
195
|
}
|
|
197
196
|
});
|
|
198
|
-
const
|
|
197
|
+
const nt = /* @__PURE__ */ te(Ko, [["__scopeId", "data-v-c84b41ba"]]), Jo = ["src"], Xo = /* @__PURE__ */ Q({
|
|
199
198
|
__name: "Gallery",
|
|
200
199
|
props: {
|
|
201
200
|
gallery: {}
|
|
202
201
|
},
|
|
203
202
|
setup(n) {
|
|
204
|
-
const e =
|
|
205
|
-
|
|
206
|
-
const t =
|
|
207
|
-
return
|
|
208
|
-
t.value = [new
|
|
203
|
+
const e = ae();
|
|
204
|
+
ae();
|
|
205
|
+
const t = ae();
|
|
206
|
+
return $e(() => {
|
|
207
|
+
t.value = [new Co({
|
|
209
208
|
type: "index",
|
|
210
209
|
synchronizedFlickingOptions: [
|
|
211
210
|
{
|
|
@@ -220,7 +219,7 @@ const ot = /* @__PURE__ */ te(Qo, [["__scopeId", "data-v-e18f4cd3"]]), Ko = ["sr
|
|
|
220
219
|
]
|
|
221
220
|
})];
|
|
222
221
|
}), (o, u) => (x(), I("div", null, [
|
|
223
|
-
o.gallery.length > 1 ? (x(), M(
|
|
222
|
+
o.gallery.length > 1 ? (x(), M(a(Vo), {
|
|
224
223
|
ref_key: "slideshow",
|
|
225
224
|
ref: e,
|
|
226
225
|
key: o.gallery.length,
|
|
@@ -232,24 +231,24 @@ const ot = /* @__PURE__ */ te(Qo, [["__scopeId", "data-v-e18f4cd3"]]), Ko = ["sr
|
|
|
232
231
|
key: l,
|
|
233
232
|
class: "booking-availability-listing-featured-img"
|
|
234
233
|
}, [
|
|
235
|
-
v("img", { src: p }, null, 8,
|
|
234
|
+
v("img", { src: p }, null, 8, Jo)
|
|
236
235
|
]))), 128))
|
|
237
236
|
]),
|
|
238
237
|
_: 1
|
|
239
238
|
}, 8, ["plugins"])) : D("", !0)
|
|
240
239
|
]));
|
|
241
240
|
}
|
|
242
|
-
}),
|
|
241
|
+
}), Zo = {
|
|
243
242
|
key: 0,
|
|
244
243
|
class: "fresh-booking-modal-facilities"
|
|
245
|
-
},
|
|
244
|
+
}, en = {
|
|
246
245
|
class: "fresh-booking-modal-facilities-masonry",
|
|
247
246
|
"transition-duration": "0s",
|
|
248
247
|
"destroy-delay": 0,
|
|
249
248
|
"percent-position": !0,
|
|
250
249
|
"column-width": ".grid-sizer",
|
|
251
250
|
"item-selector": ".fresh-booking-modal-facility"
|
|
252
|
-
},
|
|
251
|
+
}, tn = { class: "grid-sizer" }, on = /* @__PURE__ */ Q({
|
|
253
252
|
__name: "Info",
|
|
254
253
|
props: {
|
|
255
254
|
title: {},
|
|
@@ -259,18 +258,18 @@ const ot = /* @__PURE__ */ te(Qo, [["__scopeId", "data-v-e18f4cd3"]]), Ko = ["sr
|
|
|
259
258
|
},
|
|
260
259
|
setup(n) {
|
|
261
260
|
return (e, t) => {
|
|
262
|
-
const o =
|
|
263
|
-
return x(), M(
|
|
261
|
+
const o = et("masonry-tile"), u = et("masonry");
|
|
262
|
+
return x(), M(Po, {
|
|
264
263
|
title: e.title,
|
|
265
264
|
description: e.description
|
|
266
|
-
},
|
|
265
|
+
}, vt({
|
|
267
266
|
default: w(() => [
|
|
268
|
-
e.facilities && e.facilities.length !== 0 ? (x(), I("div",
|
|
269
|
-
|
|
270
|
-
|
|
267
|
+
e.facilities && e.facilities.length !== 0 ? (x(), I("div", Zo, [
|
|
268
|
+
Pe((x(), I("ul", en, [
|
|
269
|
+
Pe(v("div", tn, null, 512), [
|
|
271
270
|
[o]
|
|
272
271
|
]),
|
|
273
|
-
(x(!0), I(R, null, W(e.facilities, ({ name: r, subFacilities: p }, l) =>
|
|
272
|
+
(x(!0), I(R, null, W(e.facilities, ({ name: r, subFacilities: p }, l) => Pe((x(), I("li", {
|
|
274
273
|
key: l,
|
|
275
274
|
class: "fresh-booking-modal-facility"
|
|
276
275
|
}, [
|
|
@@ -294,7 +293,7 @@ const ot = /* @__PURE__ */ te(Qo, [["__scopeId", "data-v-e18f4cd3"]]), Ko = ["sr
|
|
|
294
293
|
name: "above-description",
|
|
295
294
|
fn: w(() => [
|
|
296
295
|
v("div", null, [
|
|
297
|
-
T(
|
|
296
|
+
T(Xo, { gallery: e.gallery }, null, 8, ["gallery"])
|
|
298
297
|
])
|
|
299
298
|
]),
|
|
300
299
|
key: "0"
|
|
@@ -303,15 +302,15 @@ const ot = /* @__PURE__ */ te(Qo, [["__scopeId", "data-v-e18f4cd3"]]), Ko = ["sr
|
|
|
303
302
|
};
|
|
304
303
|
}
|
|
305
304
|
});
|
|
306
|
-
const
|
|
307
|
-
const
|
|
305
|
+
const nn = /* @__PURE__ */ te(on, [["__scopeId", "data-v-f1ca1684"]]), rn = { class: "konnectio-availability-listing-selection" }, sn = { key: 1 }, an = { class: "fresh-booking-listing-config-body" }, ln = { class: "fresh-booking-listing-units-body" };
|
|
306
|
+
const un = /* @__PURE__ */ Q({
|
|
308
307
|
__name: "Hotel",
|
|
309
308
|
props: {
|
|
310
309
|
room: {},
|
|
311
310
|
layout: {}
|
|
312
311
|
},
|
|
313
312
|
setup(n) {
|
|
314
|
-
const { t: e } = de(), t = n, o =
|
|
313
|
+
const { t: e } = de(), t = n, o = ae([]);
|
|
315
314
|
function u(C) {
|
|
316
315
|
o.value[C].config.push({
|
|
317
316
|
id: NaN,
|
|
@@ -324,17 +323,17 @@ const ln = /* @__PURE__ */ Q({
|
|
|
324
323
|
value: C.id
|
|
325
324
|
}))), p = j(() => o.value.flatMap((C) => C.id));
|
|
326
325
|
j(() => r.value.filter((C) => !p.value.includes(C.value)));
|
|
327
|
-
const { hideAvailableRoomAmount: l, currency: h } = ee(
|
|
326
|
+
const { hideAvailableRoomAmount: l, currency: h } = ee(Ee()), { roomSelect: c } = ee(me()), { viewItem: m, addToCart: g, removeFromCart: k } = kt(), s = (C, B) => t.room.rates.find((O) => O.id === C)?.occupantRates.find((O) => O.index === B), _ = j(() => t.room.rates.reduce(
|
|
328
327
|
(C, B) => C < B.rackRate ? C : B.rackRate,
|
|
329
328
|
1 / 0
|
|
330
|
-
)), b = j(() => t.room.rates.every((C) => C.isBreakfastIncluded === !0)), f = (C, B) =>
|
|
329
|
+
)), b = j(() => t.room.rates.every((C) => C.isBreakfastIncluded === !0)), f = (C, B) => s(C, B) ? s(C, B)?.rooms : null, i = (C) => t.room.rates.length > 0 ? t.room.rates.find((B) => B.id === C)?.occupantRates.map((B) => ({
|
|
331
330
|
value: B.index,
|
|
332
331
|
price: B.totalPrice,
|
|
333
332
|
adults: B.adultsCount,
|
|
334
333
|
children: B.childrenCount,
|
|
335
334
|
hasBreakfast: B.hasBreakfast
|
|
336
|
-
})) || [] : [], d = j(() => t.room.rates.length > 1), { open: y, close: E } =
|
|
337
|
-
component:
|
|
335
|
+
})) || [] : [], d = j(() => t.room.rates.length > 1), { open: y, close: E } = mo({
|
|
336
|
+
component: nn,
|
|
338
337
|
attrs: {
|
|
339
338
|
title: t.room.title,
|
|
340
339
|
description: t.room.description,
|
|
@@ -365,11 +364,11 @@ const ln = /* @__PURE__ */ Q({
|
|
|
365
364
|
}]
|
|
366
365
|
});
|
|
367
366
|
}
|
|
368
|
-
|
|
367
|
+
$e(() => {
|
|
369
368
|
L();
|
|
370
369
|
});
|
|
371
370
|
const H = j(() => JSON.parse(JSON.stringify(o.value)));
|
|
372
|
-
return
|
|
371
|
+
return ke(H, (C, B) => {
|
|
373
372
|
B.length > 0 && C.forEach((O, q) => {
|
|
374
373
|
O.config.forEach((U, A) => {
|
|
375
374
|
const ne = U.units, K = B[q].config[A].units;
|
|
@@ -384,9 +383,9 @@ const ln = /* @__PURE__ */ Q({
|
|
|
384
383
|
})));
|
|
385
384
|
});
|
|
386
385
|
});
|
|
387
|
-
}, { deep: !0 }),
|
|
386
|
+
}, { deep: !0 }), ke(o, () => {
|
|
388
387
|
c.value[t.room.id] = o.value;
|
|
389
|
-
}, { deep: !0 }), (C, B) => (x(), M(
|
|
388
|
+
}, { deep: !0 }), (C, B) => (x(), M(Bo, {
|
|
390
389
|
"listing-id": C.room.id,
|
|
391
390
|
gallery: C.room.images,
|
|
392
391
|
name: C.room.title,
|
|
@@ -398,21 +397,21 @@ const ln = /* @__PURE__ */ Q({
|
|
|
398
397
|
callback: S
|
|
399
398
|
}, {
|
|
400
399
|
action: w(() => [
|
|
401
|
-
v("div",
|
|
400
|
+
v("div", rn, [
|
|
402
401
|
(x(!0), I(R, null, W(o.value, (O, q) => (x(), I("div", {
|
|
403
402
|
key: O.id,
|
|
404
403
|
class: "freshbooking-hotel-room"
|
|
405
404
|
}, [
|
|
406
|
-
d.value ? (x(), M(
|
|
405
|
+
d.value ? (x(), M(Te, {
|
|
407
406
|
key: 0,
|
|
408
407
|
modelValue: O.id,
|
|
409
408
|
"onUpdate:modelValue": (U) => O.id = U,
|
|
410
|
-
label:
|
|
411
|
-
placeholder:
|
|
409
|
+
label: a(e)("hotel.roomVariant"),
|
|
410
|
+
placeholder: a(e)("hotel.chooseARoomVariant"),
|
|
412
411
|
options: r.value,
|
|
413
412
|
searchable: !1
|
|
414
413
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : D("", !0),
|
|
415
|
-
O.id ? (x(), I("div",
|
|
414
|
+
O.id ? (x(), I("div", sn, [
|
|
416
415
|
(x(!0), I(R, null, W(C.room.rates, ({
|
|
417
416
|
id: U
|
|
418
417
|
}) => (x(), I("div", { key: U }, [
|
|
@@ -421,34 +420,34 @@ const ln = /* @__PURE__ */ Q({
|
|
|
421
420
|
class: "booking-availability-listing-action-selective"
|
|
422
421
|
}, [
|
|
423
422
|
v("ul", an, [
|
|
424
|
-
i(U).length > 1 ? (x(), M(
|
|
423
|
+
i(U).length > 1 ? (x(), M(nt, {
|
|
425
424
|
key: 0,
|
|
426
425
|
modelValue: A.id,
|
|
427
426
|
"onUpdate:modelValue": (K) => A.id = K,
|
|
428
427
|
icon: "male",
|
|
429
428
|
"icon-type": "fas",
|
|
430
|
-
label:
|
|
429
|
+
label: a(e)("general.guests"),
|
|
431
430
|
options: i(U)
|
|
432
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (x(), M(
|
|
431
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (x(), M(nt, {
|
|
433
432
|
key: 1,
|
|
434
433
|
modelValue: A.id,
|
|
435
434
|
"onUpdate:modelValue": (K) => A.id = K,
|
|
436
435
|
icon: "male",
|
|
437
436
|
"icon-type": "fas",
|
|
438
|
-
label:
|
|
437
|
+
label: a(e)("general.guests"),
|
|
439
438
|
options: i(U),
|
|
440
439
|
readonly: ""
|
|
441
440
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"]))
|
|
442
441
|
]),
|
|
443
|
-
v("ul",
|
|
444
|
-
T(
|
|
442
|
+
v("ul", ln, [
|
|
443
|
+
T(Et, {
|
|
445
444
|
modelValue: A.units,
|
|
446
445
|
"onUpdate:modelValue": (K) => A.units = K,
|
|
447
|
-
description:
|
|
446
|
+
description: a(l) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${f(O.id, A.id)}`,
|
|
448
447
|
icon: "house",
|
|
449
448
|
"icon-type": "fas",
|
|
450
449
|
"icon-placement": "label",
|
|
451
|
-
label:
|
|
450
|
+
label: a(e)("booking.availability.units"),
|
|
452
451
|
minValue: 0,
|
|
453
452
|
"max-value": f(U, A.id) || 1 / 0
|
|
454
453
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
@@ -464,7 +463,7 @@ const ln = /* @__PURE__ */ Q({
|
|
|
464
463
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
465
464
|
}
|
|
466
465
|
});
|
|
467
|
-
const
|
|
466
|
+
const dn = /* @__PURE__ */ te(un, [["__scopeId", "data-v-65a22e18"]]), it = /* @__PURE__ */ Q({
|
|
468
467
|
__name: "TimeField",
|
|
469
468
|
props: {
|
|
470
469
|
modelValue: {},
|
|
@@ -493,10 +492,10 @@ const un = /* @__PURE__ */ te(ln, [["__scopeId", "data-v-65a22e18"]]), nt = /* @
|
|
|
493
492
|
function u(p) {
|
|
494
493
|
t("update:modelValue", p);
|
|
495
494
|
}
|
|
496
|
-
const r =
|
|
497
|
-
return
|
|
495
|
+
const r = ae(o.modelValue);
|
|
496
|
+
return ke(r, (p) => {
|
|
498
497
|
u(p);
|
|
499
|
-
}), (p, l) => (x(), M(
|
|
498
|
+
}), (p, l) => (x(), M(zo, {
|
|
500
499
|
modelValue: r.value,
|
|
501
500
|
"onUpdate:modelValue": l[0] || (l[0] = (h) => r.value = h),
|
|
502
501
|
type: "time",
|
|
@@ -512,7 +511,7 @@ const un = /* @__PURE__ */ te(ln, [["__scopeId", "data-v-65a22e18"]]), nt = /* @
|
|
|
512
511
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
513
512
|
}
|
|
514
513
|
});
|
|
515
|
-
const
|
|
514
|
+
const cn = { style: { display: "flex", "align-items": "baseline" } }, pn = /* @__PURE__ */ Q({
|
|
516
515
|
__name: "CountryField",
|
|
517
516
|
props: {
|
|
518
517
|
modelValue: {},
|
|
@@ -532,11 +531,11 @@ const dn = { style: { display: "flex", "align-items": "baseline" } }, cn = /* @_
|
|
|
532
531
|
get: () => u.modelValue,
|
|
533
532
|
set: (l) => r(l)
|
|
534
533
|
});
|
|
535
|
-
return (l, h) => (x(), M(
|
|
534
|
+
return (l, h) => (x(), M(Te, {
|
|
536
535
|
modelValue: p.value,
|
|
537
536
|
"onUpdate:modelValue": h[0] || (h[0] = (c) => p.value = c),
|
|
538
537
|
label: l.label,
|
|
539
|
-
placeholder:
|
|
538
|
+
placeholder: a(t)("booking.reservation.countryPlaceholder"),
|
|
540
539
|
labelKey: "name",
|
|
541
540
|
valueKey: "id",
|
|
542
541
|
options: l.options,
|
|
@@ -544,14 +543,14 @@ const dn = { style: { display: "flex", "align-items": "baseline" } }, cn = /* @_
|
|
|
544
543
|
}, {
|
|
545
544
|
option: w(({ data: c }) => [
|
|
546
545
|
v("i", {
|
|
547
|
-
class:
|
|
546
|
+
class: xe(["konnectio-flag-icon", c.iso])
|
|
548
547
|
}, null, 2),
|
|
549
548
|
v("span", null, V(c.name), 1)
|
|
550
549
|
]),
|
|
551
550
|
"selected-option": w(({ data: c }) => [
|
|
552
|
-
v("div",
|
|
551
|
+
v("div", cn, [
|
|
553
552
|
v("i", {
|
|
554
|
-
class:
|
|
553
|
+
class: xe(["konnectio-flag-icon", c.iso])
|
|
555
554
|
}, null, 2),
|
|
556
555
|
v("span", null, V(c.name), 1)
|
|
557
556
|
])
|
|
@@ -560,7 +559,7 @@ const dn = { style: { display: "flex", "align-items": "baseline" } }, cn = /* @_
|
|
|
560
559
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
561
560
|
}
|
|
562
561
|
});
|
|
563
|
-
const
|
|
562
|
+
const hn = /* @__PURE__ */ te(pn, [["__scopeId", "data-v-1462612d"]]), fn = { class: "konnectio-radio-checkboxes" }, mn = /* @__PURE__ */ Q({
|
|
564
563
|
__name: "CheckboxField",
|
|
565
564
|
props: {
|
|
566
565
|
modelValue: {},
|
|
@@ -578,12 +577,12 @@ const pn = /* @__PURE__ */ te(cn, [["__scopeId", "data-v-1462612d"]]), hn = { cl
|
|
|
578
577
|
get: () => o.modelValue,
|
|
579
578
|
set: (p) => u(p)
|
|
580
579
|
});
|
|
581
|
-
return (p, l) => (x(), M(
|
|
580
|
+
return (p, l) => (x(), M(xt, {
|
|
582
581
|
label: p.label,
|
|
583
582
|
type: "multi-radio"
|
|
584
583
|
}, {
|
|
585
584
|
default: w(() => [
|
|
586
|
-
v("ul",
|
|
585
|
+
v("ul", fn, [
|
|
587
586
|
(x(!0), I(R, null, W(p.checkboxes, ({ label: h, value: c }, m) => (x(), I("li", { key: m }, [
|
|
588
587
|
T(Ue, {
|
|
589
588
|
modelValue: r.value,
|
|
@@ -600,7 +599,7 @@ const pn = /* @__PURE__ */ te(cn, [["__scopeId", "data-v-1462612d"]]), hn = { cl
|
|
|
600
599
|
}, 8, ["label"]));
|
|
601
600
|
}
|
|
602
601
|
});
|
|
603
|
-
const
|
|
602
|
+
const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-fc900ad2"]]), yn = /* @__PURE__ */ Q({
|
|
604
603
|
__name: "NameField",
|
|
605
604
|
props: {
|
|
606
605
|
modelValue: {},
|
|
@@ -622,19 +621,19 @@ const mn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-fc900ad2"]]), gn = /* @
|
|
|
622
621
|
},
|
|
623
622
|
emits: ["update:modelValue", "update:title"],
|
|
624
623
|
setup(n, { emit: e }) {
|
|
625
|
-
const t = n, o = e, u = t.id ||
|
|
624
|
+
const t = n, o = e, u = t.id || tt(), r = ae(""), p = ae(2);
|
|
626
625
|
function l() {
|
|
627
626
|
o("update:modelValue", r.value);
|
|
628
627
|
}
|
|
629
|
-
|
|
628
|
+
ke(p, (c) => {
|
|
630
629
|
o("update:title", c);
|
|
631
630
|
});
|
|
632
631
|
const { t: h } = de();
|
|
633
|
-
return
|
|
632
|
+
return $e(() => {
|
|
634
633
|
t.modelValue && (r.value = t.modelValue), t.title && (p.value = t.title);
|
|
635
|
-
}), (c, m) => (x(), M(
|
|
634
|
+
}), (c, m) => (x(), M(xt, {
|
|
636
635
|
label: c.label,
|
|
637
|
-
id:
|
|
636
|
+
id: a(u),
|
|
638
637
|
required: c.required,
|
|
639
638
|
type: "fresh-booking-name-field",
|
|
640
639
|
readonly: c.readonly,
|
|
@@ -642,38 +641,38 @@ const mn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-fc900ad2"]]), gn = /* @
|
|
|
642
641
|
}, {
|
|
643
642
|
default: w(() => [
|
|
644
643
|
v("div", {
|
|
645
|
-
class:
|
|
644
|
+
class: xe([
|
|
646
645
|
"fresh-booking-name-input",
|
|
647
646
|
{ "no-title": c.excludeTitle }
|
|
648
647
|
])
|
|
649
648
|
}, [
|
|
650
|
-
c.excludeTitle ? D("", !0) : (x(), M(
|
|
649
|
+
c.excludeTitle ? D("", !0) : (x(), M(Te, {
|
|
651
650
|
key: 0,
|
|
652
651
|
modelValue: p.value,
|
|
653
652
|
"onUpdate:modelValue": m[0] || (m[0] = (g) => p.value = g),
|
|
654
|
-
id:
|
|
653
|
+
id: a(tt)(),
|
|
655
654
|
icon: c.icon,
|
|
656
655
|
"icon-color": c.iconColor,
|
|
657
656
|
"icon-type": c.iconType,
|
|
658
657
|
options: [
|
|
659
658
|
{
|
|
660
|
-
label:
|
|
659
|
+
label: a(h)("booking.reservation.noNameTitle"),
|
|
661
660
|
value: 1
|
|
662
661
|
},
|
|
663
662
|
{
|
|
664
|
-
label:
|
|
663
|
+
label: a(h)("booking.reservation.nameTitleMr"),
|
|
665
664
|
value: 2
|
|
666
665
|
},
|
|
667
666
|
{
|
|
668
|
-
label:
|
|
667
|
+
label: a(h)("booking.reservation.nameTitleMs"),
|
|
669
668
|
value: 3
|
|
670
669
|
},
|
|
671
670
|
{
|
|
672
|
-
label:
|
|
671
|
+
label: a(h)("booking.reservation.nameTitleMrs"),
|
|
673
672
|
value: 4
|
|
674
673
|
},
|
|
675
674
|
{
|
|
676
|
-
label:
|
|
675
|
+
label: a(h)("booking.reservation.nameTitleDr"),
|
|
677
676
|
value: 5
|
|
678
677
|
}
|
|
679
678
|
],
|
|
@@ -688,7 +687,7 @@ const mn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-fc900ad2"]]), gn = /* @
|
|
|
688
687
|
type: "text",
|
|
689
688
|
name: "name",
|
|
690
689
|
autocomplete: "name",
|
|
691
|
-
id:
|
|
690
|
+
id: a(u),
|
|
692
691
|
icon: c.excludeTitle ? c.icon : void 0,
|
|
693
692
|
"icon-color": c.iconColor,
|
|
694
693
|
"icon-type": c.iconType,
|
|
@@ -705,16 +704,16 @@ const mn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-fc900ad2"]]), gn = /* @
|
|
|
705
704
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
706
705
|
}
|
|
707
706
|
});
|
|
708
|
-
const
|
|
707
|
+
const vn = /* @__PURE__ */ te(yn, [["__scopeId", "data-v-78b0b319"]]), _n = { class: "hotel-listing" }, bn = { class: "hotel-listing-content-gallery" }, kn = { class: "hotel-listing-content-thumbs" }, xn = { class: "hotel-listing-content" }, In = { class: "hotel-listing-content-header" }, En = { class: "hotel-listing-content-title" }, Tn = { class: "hotel-listing-content-body" }, $n = { class: "hotel-listing-content-facilities" }, Sn = /* @__PURE__ */ Q({
|
|
709
708
|
__name: "Listing",
|
|
710
709
|
setup(n) {
|
|
711
|
-
return (e, t) => (x(), I("div",
|
|
712
|
-
v("div",
|
|
710
|
+
return (e, t) => (x(), I("div", _n, [
|
|
711
|
+
v("div", bn, [
|
|
713
712
|
T(X, {
|
|
714
713
|
width: "280px",
|
|
715
714
|
height: "153px"
|
|
716
715
|
}),
|
|
717
|
-
v("div",
|
|
716
|
+
v("div", kn, [
|
|
718
717
|
(x(), I(R, null, W(3, (o) => T(X, {
|
|
719
718
|
key: o,
|
|
720
719
|
width: "84px",
|
|
@@ -722,9 +721,9 @@ const yn = /* @__PURE__ */ te(gn, [["__scopeId", "data-v-78b0b319"]]), vn = { cl
|
|
|
722
721
|
})), 64))
|
|
723
722
|
])
|
|
724
723
|
]),
|
|
725
|
-
v("div",
|
|
726
|
-
v("div",
|
|
727
|
-
v("div",
|
|
724
|
+
v("div", xn, [
|
|
725
|
+
v("div", In, [
|
|
726
|
+
v("div", En, [
|
|
728
727
|
T(X, {
|
|
729
728
|
height: "30px",
|
|
730
729
|
width: "60%"
|
|
@@ -740,7 +739,7 @@ const yn = /* @__PURE__ */ te(gn, [["__scopeId", "data-v-78b0b319"]]), vn = { cl
|
|
|
740
739
|
width: "25%"
|
|
741
740
|
})
|
|
742
741
|
]),
|
|
743
|
-
v("div",
|
|
742
|
+
v("div", Tn, [
|
|
744
743
|
T(X, { height: "15px" }),
|
|
745
744
|
T(X, { height: "15px" }),
|
|
746
745
|
T(X, { height: "15px" }),
|
|
@@ -750,7 +749,7 @@ const yn = /* @__PURE__ */ te(gn, [["__scopeId", "data-v-78b0b319"]]), vn = { cl
|
|
|
750
749
|
width: "90%"
|
|
751
750
|
})
|
|
752
751
|
]),
|
|
753
|
-
v("div",
|
|
752
|
+
v("div", $n, [
|
|
754
753
|
(x(), I(R, null, W(5, (o) => T(X, {
|
|
755
754
|
key: o,
|
|
756
755
|
height: "25px",
|
|
@@ -762,23 +761,23 @@ const yn = /* @__PURE__ */ te(gn, [["__scopeId", "data-v-78b0b319"]]), vn = { cl
|
|
|
762
761
|
]));
|
|
763
762
|
}
|
|
764
763
|
});
|
|
765
|
-
const le = /* @__PURE__ */ te(
|
|
764
|
+
const le = /* @__PURE__ */ te(Sn, [["__scopeId", "data-v-5c132d7f"]]), Cn = { class: "hotel-skeleton" }, Vn = { class: "hotel-skeleton-content" }, Pn = { class: "hotel-skeleton-sidebar" }, Bn = /* @__PURE__ */ Q({
|
|
766
765
|
__name: "HotelSkeleton",
|
|
767
766
|
setup(n) {
|
|
768
|
-
return (e, t) => (x(), I("div",
|
|
769
|
-
v("div",
|
|
770
|
-
T(
|
|
767
|
+
return (e, t) => (x(), I("div", Cn, [
|
|
768
|
+
v("div", Vn, [
|
|
769
|
+
T(Ho),
|
|
771
770
|
T(le),
|
|
772
771
|
T(le),
|
|
773
772
|
T(le)
|
|
774
773
|
]),
|
|
775
|
-
v("div",
|
|
776
|
-
T(
|
|
774
|
+
v("div", Pn, [
|
|
775
|
+
T(Do)
|
|
777
776
|
])
|
|
778
777
|
]));
|
|
779
778
|
}
|
|
780
779
|
});
|
|
781
|
-
const
|
|
780
|
+
const Dn = /* @__PURE__ */ te(Bn, [["__scopeId", "data-v-4e50a5a1"]]), Ge = (n) => (_t("data-v-feb89526"), n = n(), bt(), n), Ln = { id: "booking-availability-container" }, wn = { id: "booking-availability-controls" };
|
|
782
781
|
const On = {
|
|
783
782
|
key: 1,
|
|
784
783
|
"sticky-container": ""
|
|
@@ -799,13 +798,13 @@ const Gn = {
|
|
|
799
798
|
}, jn = { class: "fresh-booking-panel" }, Yn = {
|
|
800
799
|
key: 0,
|
|
801
800
|
id: "konnectio-hotel-addons"
|
|
802
|
-
}, Qn = { key: 1 },
|
|
803
|
-
const
|
|
801
|
+
}, Qn = /* @__PURE__ */ Ge(() => /* @__PURE__ */ v("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Kn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn = /* @__PURE__ */ Ge(() => /* @__PURE__ */ v("br", null, null, -1)), Zn = /* @__PURE__ */ Ge(() => /* @__PURE__ */ v("td", null, null, -1));
|
|
802
|
+
const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 }, ni = { key: 1 }, ii = { class: "fresh-booking-split-inputs" }, ri = ["onClick"], si = /* @__PURE__ */ Q({
|
|
804
803
|
name: "HotelLayout",
|
|
805
804
|
__name: "Hotel",
|
|
806
805
|
props: {
|
|
807
806
|
accessToken: {},
|
|
808
|
-
headerLayout: { default:
|
|
807
|
+
headerLayout: { default: go.Minimal },
|
|
809
808
|
styling: {}
|
|
810
809
|
},
|
|
811
810
|
setup(n) {
|
|
@@ -821,7 +820,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
821
820
|
travelingFor: m,
|
|
822
821
|
arrivalTime: g,
|
|
823
822
|
departureTime: k,
|
|
824
|
-
name:
|
|
823
|
+
name: s,
|
|
825
824
|
nameTitle: _,
|
|
826
825
|
email: b,
|
|
827
826
|
phone: f,
|
|
@@ -842,33 +841,33 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
842
841
|
selectionHasNoAddons: ne
|
|
843
842
|
} = ee(me()), {
|
|
844
843
|
arrivalDate: K,
|
|
845
|
-
departureDate:
|
|
846
|
-
} = ee(
|
|
847
|
-
currency:
|
|
848
|
-
isRecaptchaEnabled:
|
|
849
|
-
disableNewsletterSignup:
|
|
850
|
-
arrivalEarliest:
|
|
851
|
-
arrivalLatest:
|
|
852
|
-
departureEarliest:
|
|
853
|
-
departureLatest:
|
|
854
|
-
enableTracking:
|
|
855
|
-
arrivalDefault:
|
|
856
|
-
departureDefault:
|
|
857
|
-
enablePackages:
|
|
858
|
-
hideArrivalDepartureInputs:
|
|
859
|
-
disableArrivalUserSelection:
|
|
860
|
-
disableNamePrefix:
|
|
861
|
-
disableDepartureUserSelection:
|
|
862
|
-
disableTravelingFor:
|
|
863
|
-
disableCompanyField:
|
|
864
|
-
hasPaymentGateway:
|
|
865
|
-
} = ee(
|
|
866
|
-
|
|
867
|
-
const { beginCheckout:
|
|
868
|
-
initialize:
|
|
869
|
-
createReservation:
|
|
870
|
-
getSingleListing:
|
|
871
|
-
} = me(),
|
|
844
|
+
departureDate: Ot
|
|
845
|
+
} = ee(yt()), {
|
|
846
|
+
currency: Ke,
|
|
847
|
+
isRecaptchaEnabled: lr,
|
|
848
|
+
disableNewsletterSignup: Ht,
|
|
849
|
+
arrivalEarliest: At,
|
|
850
|
+
arrivalLatest: zt,
|
|
851
|
+
departureEarliest: Mt,
|
|
852
|
+
departureLatest: Rt,
|
|
853
|
+
enableTracking: Nt,
|
|
854
|
+
arrivalDefault: Wt,
|
|
855
|
+
departureDefault: Ut,
|
|
856
|
+
enablePackages: ur,
|
|
857
|
+
hideArrivalDepartureInputs: Ft,
|
|
858
|
+
disableArrivalUserSelection: Se,
|
|
859
|
+
disableNamePrefix: qt,
|
|
860
|
+
disableDepartureUserSelection: Ce,
|
|
861
|
+
disableTravelingFor: Gt,
|
|
862
|
+
disableCompanyField: jt,
|
|
863
|
+
hasPaymentGateway: Yt
|
|
864
|
+
} = ee(Ee());
|
|
865
|
+
yo();
|
|
866
|
+
const { beginCheckout: Qt } = kt(), {
|
|
867
|
+
initialize: Kt,
|
|
868
|
+
createReservation: Jt,
|
|
869
|
+
getSingleListing: dr
|
|
870
|
+
} = me(), Xt = ae(!0), Zt = j(() => {
|
|
872
871
|
const N = A.value.roomGroups.slice();
|
|
873
872
|
N.forEach((J) => {
|
|
874
873
|
J.pricesFrom = J.rates.reduce(
|
|
@@ -877,89 +876,89 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
877
876
|
);
|
|
878
877
|
});
|
|
879
878
|
function P(J, z) {
|
|
880
|
-
return
|
|
879
|
+
return Xt.value === !0 ? J.pricesFrom > z.pricesFrom ? -1 : 1 : J.pricesFrom > z.pricesFrom ? 1 : -1;
|
|
881
880
|
}
|
|
882
881
|
return N.sort(P);
|
|
883
|
-
}),
|
|
884
|
-
parseInt(
|
|
885
|
-
parseInt(
|
|
886
|
-
]]),
|
|
887
|
-
parseInt(
|
|
888
|
-
parseInt(
|
|
882
|
+
}), eo = j(() => [[
|
|
883
|
+
parseInt(At.value.split(":")[0]),
|
|
884
|
+
parseInt(zt.value.split(":")[0])
|
|
885
|
+
]]), to = j(() => [[
|
|
886
|
+
parseInt(Mt.value.split(":")[0]),
|
|
887
|
+
parseInt(Rt.value.split(":")[0])
|
|
889
888
|
]]);
|
|
890
|
-
function
|
|
889
|
+
function cr(N) {
|
|
891
890
|
t.value = N;
|
|
892
891
|
}
|
|
893
|
-
function
|
|
892
|
+
function oo() {
|
|
894
893
|
t.value = NaN;
|
|
895
894
|
}
|
|
896
|
-
function
|
|
895
|
+
function Je(N) {
|
|
897
896
|
ne.value ? N(2) : N();
|
|
898
897
|
}
|
|
899
|
-
function
|
|
900
|
-
|
|
898
|
+
function no(N, P) {
|
|
899
|
+
Ot.value = new Date(P), K.value = new Date(N), location.reload();
|
|
901
900
|
}
|
|
902
|
-
async function
|
|
903
|
-
await
|
|
901
|
+
async function io(N) {
|
|
902
|
+
await Jt(N);
|
|
904
903
|
}
|
|
905
|
-
function
|
|
906
|
-
|
|
904
|
+
function ro(N) {
|
|
905
|
+
Nt && Qt(), ne.value ? N(2) : N();
|
|
907
906
|
}
|
|
908
|
-
function
|
|
909
|
-
g.value === "" && (g.value =
|
|
907
|
+
function so() {
|
|
908
|
+
g.value === "" && (g.value = Wt.value), k.value === "" && (k.value = Ut.value);
|
|
910
909
|
}
|
|
911
|
-
return
|
|
912
|
-
|
|
913
|
-
}), (N, P) => (x(), M(
|
|
910
|
+
return $e(() => {
|
|
911
|
+
Kt(), so();
|
|
912
|
+
}), (N, P) => (x(), M(vo, null, {
|
|
914
913
|
default: w(() => [
|
|
915
|
-
T(
|
|
914
|
+
T(bo, {
|
|
916
915
|
id: "fresh-booking-hotel-module",
|
|
917
916
|
"access-token": N.accessToken,
|
|
918
917
|
type: "hotel",
|
|
919
918
|
styling: N.styling
|
|
920
919
|
}, {
|
|
921
920
|
default: w(() => [
|
|
922
|
-
T(
|
|
923
|
-
title:
|
|
921
|
+
T(Lo, {
|
|
922
|
+
title: a(o),
|
|
924
923
|
layout: N.headerLayout
|
|
925
924
|
}, {
|
|
926
925
|
availability: w(({ next: J }) => [
|
|
927
|
-
T(
|
|
926
|
+
T(Be, null, {
|
|
928
927
|
form: w(() => [
|
|
929
928
|
v("div", Ln, [
|
|
930
929
|
v("div", wn, [
|
|
931
|
-
T(
|
|
930
|
+
T(Ao, { booking: !0 })
|
|
932
931
|
]),
|
|
933
932
|
D("", !0),
|
|
934
|
-
|
|
933
|
+
a(r) ? (x(), I("div", Gn, [
|
|
935
934
|
T(le),
|
|
936
935
|
T(le),
|
|
937
936
|
T(le)
|
|
938
937
|
])) : (x(), I("div", On, [
|
|
939
|
-
|
|
940
|
-
(
|
|
941
|
-
isNaN(
|
|
942
|
-
|
|
943
|
-
|
|
938
|
+
a(A).roomGroups.length > 0 ? (x(), I("div", Hn, [
|
|
939
|
+
(a(A).templates.length > 0, D("", !0)),
|
|
940
|
+
isNaN(a(t)) ? (x(), I("div", An, [
|
|
941
|
+
a(A).roomGroups.length > 0 ? (x(), I("div", zn, [
|
|
942
|
+
a(A).templates.length > 0 ? (x(), I("h2", Mn, [
|
|
944
943
|
T(Z, {
|
|
945
944
|
icon: "house",
|
|
946
945
|
type: "fal",
|
|
947
946
|
color: "header"
|
|
948
947
|
}),
|
|
949
|
-
v("span", null, V(
|
|
948
|
+
v("span", null, V(a(e)("booking.availability.roomsTitle")), 1)
|
|
950
949
|
])) : D("", !0),
|
|
951
950
|
v("ul", Rn, [
|
|
952
|
-
(x(!0), I(R, null, W(
|
|
951
|
+
(x(!0), I(R, null, W(Zt.value, (z, $) => (x(), M(dn, {
|
|
953
952
|
room: z,
|
|
954
953
|
key: $
|
|
955
954
|
}, null, 8, ["room"]))), 128))
|
|
956
955
|
])
|
|
957
956
|
])) : (x(), I("div", Nn, [
|
|
958
|
-
v("span", null, V(
|
|
957
|
+
v("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
|
|
959
958
|
]))
|
|
960
959
|
])) : D("", !0)
|
|
961
|
-
])) :
|
|
962
|
-
v("span", null, V(
|
|
960
|
+
])) : a(A).nextAvailableDates.length === 0 ? (x(), I("div", Wn, [
|
|
961
|
+
v("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
|
|
963
962
|
])) : (x(), I("div", Un, [
|
|
964
963
|
v("h2", null, [
|
|
965
964
|
T(Z, {
|
|
@@ -967,14 +966,14 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
967
966
|
type: "fal",
|
|
968
967
|
color: "header"
|
|
969
968
|
}),
|
|
970
|
-
v("span", null, V(
|
|
969
|
+
v("span", null, V(a(e)("booking.availability.nextAvailableDates")), 1)
|
|
971
970
|
]),
|
|
972
971
|
v("ul", Fn, [
|
|
973
|
-
(x(!0), I(R, null, W(
|
|
972
|
+
(x(!0), I(R, null, W(a(A).nextAvailableDates, (z, $) => (x(), I("li", { key: $ }, [
|
|
974
973
|
v("h3", {
|
|
975
|
-
title: `${
|
|
974
|
+
title: `${a(se)(z.fromDate)} - ${a(se)(z.toDate)}`
|
|
976
975
|
}, [
|
|
977
|
-
v("span", null, V(`${
|
|
976
|
+
v("span", null, V(`${a(se)(z.fromDate)} - ${a(se)(z.toDate)}`), 1)
|
|
978
977
|
], 8, qn),
|
|
979
978
|
v("ul", null, [
|
|
980
979
|
D("", !0),
|
|
@@ -984,13 +983,13 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
984
983
|
type: "fal",
|
|
985
984
|
color: "header"
|
|
986
985
|
}),
|
|
987
|
-
v("span", null, V(
|
|
986
|
+
v("span", null, V(a(e)("booking.availability.pricesFrom")) + ": " + V(a(ue)(z.priceStartFrom, a(Ke))), 1)
|
|
988
987
|
])
|
|
989
988
|
]),
|
|
990
989
|
T(fe, {
|
|
991
|
-
label:
|
|
990
|
+
label: a(e)("booking.availability.selectDates"),
|
|
992
991
|
"full-width": "",
|
|
993
|
-
onClickEvent: (ce) =>
|
|
992
|
+
onClickEvent: (ce) => no(z.fromDate, z.toDate)
|
|
994
993
|
}, null, 8, ["label", "onClickEvent"])
|
|
995
994
|
]))), 128))
|
|
996
995
|
])
|
|
@@ -999,51 +998,52 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
999
998
|
])
|
|
1000
999
|
]),
|
|
1001
1000
|
navigation: w(() => [
|
|
1002
|
-
isNaN(
|
|
1001
|
+
isNaN(a(t)) ? (x(), M(fe, {
|
|
1003
1002
|
key: 0,
|
|
1004
|
-
label:
|
|
1005
|
-
disabled: !
|
|
1003
|
+
label: a(ne) ? a(e)("booking.availability.nextButton") : a(e)("general.chooseAddons"),
|
|
1004
|
+
disabled: !a(q),
|
|
1006
1005
|
"is-loading": !1,
|
|
1007
1006
|
"full-width": "",
|
|
1008
|
-
onClickEvent: (z) =>
|
|
1007
|
+
onClickEvent: (z) => ro(J)
|
|
1009
1008
|
}, null, 8, ["label", "disabled", "onClickEvent"])) : (x(), M(fe, {
|
|
1010
1009
|
key: 1,
|
|
1011
|
-
label:
|
|
1010
|
+
label: a(e)("booking.reservation.prevButton"),
|
|
1012
1011
|
"full-width": "",
|
|
1013
|
-
onClickEvent: P[1] || (P[1] = (z) =>
|
|
1012
|
+
onClickEvent: P[1] || (P[1] = (z) => oo())
|
|
1014
1013
|
}, null, 8, ["label"]))
|
|
1015
1014
|
]),
|
|
1016
1015
|
_: 2
|
|
1017
1016
|
}, 1024)
|
|
1018
1017
|
]),
|
|
1019
1018
|
addons: w(({ next: J, prev: z }) => [
|
|
1020
|
-
T(
|
|
1019
|
+
T(Be, null, {
|
|
1021
1020
|
form: w(() => [
|
|
1022
1021
|
v("form", jn, [
|
|
1023
1022
|
v("h2", null, [
|
|
1024
|
-
v("span", null, V(
|
|
1023
|
+
v("span", null, V(a(e)("booking.reservation.addons")), 1)
|
|
1025
1024
|
]),
|
|
1026
1025
|
v("div", null, [
|
|
1027
|
-
isNaN(
|
|
1028
|
-
(x(!0), I(R, null, W(
|
|
1026
|
+
isNaN(a(t)) ? (x(), I("div", Yn, [
|
|
1027
|
+
(x(!0), I(R, null, W(a(O), ($) => (x(), I("ul", {
|
|
1029
1028
|
key: $.roomGroupID
|
|
1030
1029
|
}, [
|
|
1031
1030
|
(x(!0), I(R, null, W($.variants, (ce, pe) => (x(), I("li", {
|
|
1032
1031
|
key: ce.ratePlanID
|
|
1033
1032
|
}, [
|
|
1034
1033
|
v("h4", null, [
|
|
1035
|
-
v("span", null, V(
|
|
1034
|
+
v("span", null, V(a(ve)($.title)), 1)
|
|
1036
1035
|
]),
|
|
1037
|
-
(x(!0), I(R, null, W(ce.rooms, (G,
|
|
1038
|
-
key:
|
|
1036
|
+
(x(!0), I(R, null, W(ce.rooms, (G, Xe) => (x(), I("table", {
|
|
1037
|
+
key: Xe,
|
|
1039
1038
|
class: "fresh-booking-table"
|
|
1040
1039
|
}, [
|
|
1041
1040
|
v("thead", null, [
|
|
1042
1041
|
v("tr", null, [
|
|
1043
1042
|
v("th", null, [
|
|
1044
|
-
v("span", null, V(
|
|
1043
|
+
v("span", null, V(a(ve)(ce.name)), 1)
|
|
1045
1044
|
]),
|
|
1046
|
-
|
|
1045
|
+
Qn,
|
|
1046
|
+
v("th", Kn, [
|
|
1047
1047
|
v("b", null, [
|
|
1048
1048
|
T(Z, {
|
|
1049
1049
|
icon: "male",
|
|
@@ -1057,7 +1057,7 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1057
1057
|
type: "fas",
|
|
1058
1058
|
color: "font"
|
|
1059
1059
|
})) : D("", !0),
|
|
1060
|
-
G.childrenCount > 0 ? (x(), I("span",
|
|
1060
|
+
G.childrenCount > 0 ? (x(), I("span", Jn, V(G.childrenCount), 1)) : D("", !0)
|
|
1061
1061
|
])
|
|
1062
1062
|
])
|
|
1063
1063
|
])
|
|
@@ -1065,31 +1065,32 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1065
1065
|
v("tbody", null, [
|
|
1066
1066
|
(x(!0), I(R, null, W($.addons, ({
|
|
1067
1067
|
cardinality: ao,
|
|
1068
|
-
quantityStrategy:
|
|
1069
|
-
maximumNumber:
|
|
1068
|
+
quantityStrategy: lo,
|
|
1069
|
+
maximumNumber: uo,
|
|
1070
1070
|
id: he,
|
|
1071
|
-
name:
|
|
1072
|
-
price:
|
|
1071
|
+
name: co,
|
|
1072
|
+
price: po
|
|
1073
1073
|
}) => (x(), I("tr", { key: he }, [
|
|
1074
1074
|
v("td", null, [
|
|
1075
|
-
v("b", null, V(
|
|
1076
|
-
|
|
1077
|
-
v("span", null, V(
|
|
1075
|
+
v("b", null, V(a(ve)(co)), 1),
|
|
1076
|
+
Xn,
|
|
1077
|
+
v("span", null, V(a(ue)(po, a(Ke))) + " " + V(a(_o)(lo)), 1)
|
|
1078
1078
|
]),
|
|
1079
1079
|
v("td", null, [
|
|
1080
|
-
ao === 3 ? (x(), M(
|
|
1080
|
+
ao === 3 ? (x(), M(Et, {
|
|
1081
1081
|
key: 0,
|
|
1082
|
-
modelValue:
|
|
1083
|
-
"onUpdate:modelValue": (Y) =>
|
|
1082
|
+
modelValue: a(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he],
|
|
1083
|
+
"onUpdate:modelValue": (Y) => a(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he] = Y,
|
|
1084
1084
|
small: !0,
|
|
1085
1085
|
"min-value": 0,
|
|
1086
|
-
"max-value":
|
|
1086
|
+
"max-value": uo || 1 / 0
|
|
1087
1087
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (x(), M(Ue, {
|
|
1088
1088
|
key: 1,
|
|
1089
|
-
modelValue:
|
|
1090
|
-
"onUpdate:modelValue": (Y) =>
|
|
1089
|
+
modelValue: a(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he],
|
|
1090
|
+
"onUpdate:modelValue": (Y) => a(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he] = Y
|
|
1091
1091
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1092
1092
|
]),
|
|
1093
|
+
Zn,
|
|
1093
1094
|
D("", !0)
|
|
1094
1095
|
]))), 128))
|
|
1095
1096
|
])
|
|
@@ -1102,184 +1103,184 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1102
1103
|
]),
|
|
1103
1104
|
navigation: w(() => [
|
|
1104
1105
|
T(fe, {
|
|
1105
|
-
label:
|
|
1106
|
+
label: a(e)("general.startReservation"),
|
|
1106
1107
|
"full-width": "",
|
|
1107
1108
|
onClickEvent: J
|
|
1108
1109
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1109
1110
|
v("button", {
|
|
1110
1111
|
class: "konnectio-abort-reservation link",
|
|
1111
|
-
onClick:
|
|
1112
|
+
onClick: ot(($) => Je(z), ["prevent"])
|
|
1112
1113
|
}, [
|
|
1113
|
-
v("span", null, V(
|
|
1114
|
-
], 8,
|
|
1114
|
+
v("span", null, V(a(e)("general.goAStepBack")), 1)
|
|
1115
|
+
], 8, ei)
|
|
1115
1116
|
]),
|
|
1116
1117
|
_: 2
|
|
1117
1118
|
}, 1024)
|
|
1118
1119
|
]),
|
|
1119
1120
|
reservation: w(({ next: J, prev: z }) => [
|
|
1120
|
-
T(
|
|
1121
|
+
T(Be, {
|
|
1121
1122
|
"show-terms-notice": !0,
|
|
1122
1123
|
"show-gift-card": !0
|
|
1123
1124
|
}, {
|
|
1124
1125
|
form: w(() => [
|
|
1125
|
-
v("form",
|
|
1126
|
+
v("form", ti, [
|
|
1126
1127
|
v("h2", null, [
|
|
1127
|
-
v("span", null, V(
|
|
1128
|
+
v("span", null, V(a(e)("booking.reservation.detailsTitle")), 1)
|
|
1128
1129
|
]),
|
|
1129
|
-
!
|
|
1130
|
+
!a(Ft) && !(a(Se) && a(Ce)) ? (x(), I("ul", {
|
|
1130
1131
|
key: 0,
|
|
1131
|
-
class:
|
|
1132
|
+
class: xe({ "fresh-booking-split-inputs": !a(Se) && !a(Ce) })
|
|
1132
1133
|
}, [
|
|
1133
|
-
|
|
1134
|
-
T(
|
|
1135
|
-
modelValue:
|
|
1134
|
+
a(Se) ? D("", !0) : (x(), I("li", oi, [
|
|
1135
|
+
T(it, {
|
|
1136
|
+
modelValue: a(g),
|
|
1136
1137
|
"onUpdate:modelValue": P[2] || (P[2] = ($) => F(g) ? g.value = $ : null),
|
|
1137
|
-
label:
|
|
1138
|
+
label: a(e)("booking.reservation.arrivalTime"),
|
|
1138
1139
|
icon: "hourglass-start",
|
|
1139
|
-
"hour-range":
|
|
1140
|
+
"hour-range": eo.value,
|
|
1140
1141
|
required: ""
|
|
1141
1142
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1142
1143
|
])),
|
|
1143
|
-
|
|
1144
|
-
T(
|
|
1145
|
-
modelValue:
|
|
1144
|
+
a(Ce) ? D("", !0) : (x(), I("li", ni, [
|
|
1145
|
+
T(it, {
|
|
1146
|
+
modelValue: a(k),
|
|
1146
1147
|
"onUpdate:modelValue": P[3] || (P[3] = ($) => F(k) ? k.value = $ : null),
|
|
1147
|
-
label:
|
|
1148
|
+
label: a(e)("booking.reservation.departureTime"),
|
|
1148
1149
|
icon: "hourglass-end",
|
|
1149
|
-
"hour-range":
|
|
1150
|
+
"hour-range": to.value,
|
|
1150
1151
|
required: ""
|
|
1151
1152
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1152
1153
|
]))
|
|
1153
1154
|
], 2)) : D("", !0),
|
|
1154
|
-
T(
|
|
1155
|
-
modelValue: s
|
|
1156
|
-
"onUpdate:modelValue": P[4] || (P[4] = ($) => F(
|
|
1157
|
-
title:
|
|
1155
|
+
T(vn, {
|
|
1156
|
+
modelValue: a(s),
|
|
1157
|
+
"onUpdate:modelValue": P[4] || (P[4] = ($) => F(s) ? s.value = $ : null),
|
|
1158
|
+
title: a(_),
|
|
1158
1159
|
"onUpdate:title": P[5] || (P[5] = ($) => F(_) ? _.value = $ : null),
|
|
1159
|
-
"exclude-title":
|
|
1160
|
-
label:
|
|
1160
|
+
"exclude-title": a(qt),
|
|
1161
|
+
label: a(e)("booking.reservation.name"),
|
|
1161
1162
|
icon: "user-alt",
|
|
1162
|
-
placeholder:
|
|
1163
|
+
placeholder: a(e)("booking.reservation.namePlaceholder"),
|
|
1163
1164
|
required: ""
|
|
1164
1165
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1165
1166
|
T(re, {
|
|
1166
|
-
modelValue:
|
|
1167
|
+
modelValue: a(b),
|
|
1167
1168
|
"onUpdate:modelValue": P[6] || (P[6] = ($) => F(b) ? b.value = $ : null),
|
|
1168
1169
|
type: "email",
|
|
1169
1170
|
name: "email",
|
|
1170
1171
|
autocomplete: "email",
|
|
1171
|
-
label:
|
|
1172
|
+
label: a(e)("booking.reservation.email"),
|
|
1172
1173
|
icon: "at",
|
|
1173
|
-
placeholder:
|
|
1174
|
+
placeholder: a(e)("booking.reservation.emailPlaceholder"),
|
|
1174
1175
|
required: ""
|
|
1175
1176
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1176
|
-
|
|
1177
|
+
a(Ht) ? D("", !0) : (x(), M(Ue, {
|
|
1177
1178
|
key: 1,
|
|
1178
|
-
modelValue:
|
|
1179
|
+
modelValue: a(C),
|
|
1179
1180
|
"onUpdate:modelValue": P[7] || (P[7] = ($) => F(C) ? C.value = $ : null),
|
|
1180
1181
|
type: "checkbox",
|
|
1181
1182
|
name: "newsletter",
|
|
1182
|
-
label:
|
|
1183
|
+
label: a(e)("booking.reservation.newsletterSignUp")
|
|
1183
1184
|
}, null, 8, ["modelValue", "label"])),
|
|
1184
|
-
|
|
1185
|
+
a(jt) ? D("", !0) : (x(), M(re, {
|
|
1185
1186
|
key: 2,
|
|
1186
|
-
modelValue:
|
|
1187
|
+
modelValue: a(i),
|
|
1187
1188
|
"onUpdate:modelValue": P[8] || (P[8] = ($) => F(i) ? i.value = $ : null),
|
|
1188
1189
|
type: "text",
|
|
1189
1190
|
name: "firm",
|
|
1190
1191
|
autocomplete: "firm",
|
|
1191
|
-
label: `${
|
|
1192
|
+
label: `${a(e)("booking.reservation.companyName")} (${a(e)("booking.reservation.optional")})`,
|
|
1192
1193
|
icon: "id-card",
|
|
1193
|
-
placeholder:
|
|
1194
|
+
placeholder: a(e)("booking.reservation.companyNamePlaceholder")
|
|
1194
1195
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1195
|
-
T(
|
|
1196
|
-
modelValue:
|
|
1196
|
+
T(Mo, {
|
|
1197
|
+
modelValue: a(f),
|
|
1197
1198
|
"onUpdate:modelValue": P[9] || (P[9] = ($) => F(f) ? f.value = $ : null),
|
|
1198
1199
|
icon: "phone-office",
|
|
1199
|
-
label:
|
|
1200
|
-
placeholder:
|
|
1200
|
+
label: a(e)("booking.reservation.phone"),
|
|
1201
|
+
placeholder: a(e)("booking.reservation.phonePlaceholder"),
|
|
1201
1202
|
required: ""
|
|
1202
1203
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1203
|
-
T(
|
|
1204
|
-
modelValue:
|
|
1204
|
+
T(hn, {
|
|
1205
|
+
modelValue: a(S),
|
|
1205
1206
|
"onUpdate:modelValue": P[10] || (P[10] = ($) => F(S) ? S.value = $ : null),
|
|
1206
|
-
label:
|
|
1207
|
-
placeholder:
|
|
1208
|
-
options:
|
|
1207
|
+
label: a(e)("booking.reservation.country"),
|
|
1208
|
+
placeholder: a(e)("booking.reservation.countryPlaceholder"),
|
|
1209
|
+
options: a(u),
|
|
1209
1210
|
required: ""
|
|
1210
1211
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1211
1212
|
T(re, {
|
|
1212
|
-
modelValue:
|
|
1213
|
+
modelValue: a(E),
|
|
1213
1214
|
"onUpdate:modelValue": P[11] || (P[11] = ($) => F(E) ? E.value = $ : null),
|
|
1214
1215
|
type: "textarea",
|
|
1215
1216
|
name: "address",
|
|
1216
1217
|
autocomplete: "street-address",
|
|
1217
|
-
label:
|
|
1218
|
+
label: a(e)("booking.reservation.streetAddress"),
|
|
1218
1219
|
icon: "map-marked",
|
|
1219
|
-
placeholder:
|
|
1220
|
+
placeholder: a(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1220
1221
|
required: ""
|
|
1221
1222
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1222
|
-
v("ul",
|
|
1223
|
+
v("ul", ii, [
|
|
1223
1224
|
v("li", null, [
|
|
1224
1225
|
T(re, {
|
|
1225
|
-
modelValue:
|
|
1226
|
+
modelValue: a(d),
|
|
1226
1227
|
"onUpdate:modelValue": P[12] || (P[12] = ($) => F(d) ? d.value = $ : null),
|
|
1227
1228
|
type: "text",
|
|
1228
1229
|
name: "postal",
|
|
1229
1230
|
autocomplete: "postal-code",
|
|
1230
|
-
label:
|
|
1231
|
+
label: a(e)("booking.reservation.postal"),
|
|
1231
1232
|
icon: "mailbox",
|
|
1232
|
-
placeholder:
|
|
1233
|
+
placeholder: a(e)("booking.reservation.postalPlaceholder"),
|
|
1233
1234
|
required: ""
|
|
1234
1235
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1235
1236
|
]),
|
|
1236
1237
|
v("li", null, [
|
|
1237
1238
|
T(re, {
|
|
1238
|
-
modelValue:
|
|
1239
|
+
modelValue: a(y),
|
|
1239
1240
|
"onUpdate:modelValue": P[13] || (P[13] = ($) => F(y) ? y.value = $ : null),
|
|
1240
1241
|
type: "text",
|
|
1241
1242
|
name: "city",
|
|
1242
1243
|
autocomplete: "address-level2",
|
|
1243
|
-
label:
|
|
1244
|
+
label: a(e)("booking.reservation.city"),
|
|
1244
1245
|
icon: "city",
|
|
1245
|
-
placeholder:
|
|
1246
|
+
placeholder: a(e)("booking.reservation.cityPlaceholder"),
|
|
1246
1247
|
required: ""
|
|
1247
1248
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1248
1249
|
])
|
|
1249
1250
|
]),
|
|
1250
1251
|
T(re, {
|
|
1251
|
-
modelValue:
|
|
1252
|
+
modelValue: a(L),
|
|
1252
1253
|
"onUpdate:modelValue": P[14] || (P[14] = ($) => F(L) ? L.value = $ : null),
|
|
1253
1254
|
type: "textarea",
|
|
1254
|
-
label: `${
|
|
1255
|
+
label: `${a(e)("booking.reservation.remark")} (${a(e)("booking.reservation.optional")})`,
|
|
1255
1256
|
icon: "info-circle",
|
|
1256
|
-
placeholder:
|
|
1257
|
+
placeholder: a(e)("booking.reservation.remarkPlaceholder")
|
|
1257
1258
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1258
1259
|
T(re, {
|
|
1259
|
-
modelValue:
|
|
1260
|
+
modelValue: a(H),
|
|
1260
1261
|
"onUpdate:modelValue": P[15] || (P[15] = ($) => F(H) ? H.value = $ : null),
|
|
1261
1262
|
type: "textarea",
|
|
1262
|
-
label: `${
|
|
1263
|
+
label: `${a(e)("booking.reservation.allergies")} (${a(e)("booking.reservation.optional")})`,
|
|
1263
1264
|
icon: "allergies",
|
|
1264
|
-
placeholder:
|
|
1265
|
+
placeholder: a(e)("booking.reservation.allergiesPlaceholder")
|
|
1265
1266
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1266
|
-
|
|
1267
|
+
a(Gt) ? D("", !0) : (x(), M(gn, {
|
|
1267
1268
|
key: 3,
|
|
1268
|
-
modelValue:
|
|
1269
|
+
modelValue: a(m),
|
|
1269
1270
|
"onUpdate:modelValue": P[16] || (P[16] = ($) => F(m) ? m.value = $ : null),
|
|
1270
|
-
label: `${
|
|
1271
|
+
label: `${a(e)("booking.reservation.purposeOfStay")} (${a(e)("booking.reservation.optional")})`,
|
|
1271
1272
|
name: "travelingFor",
|
|
1272
1273
|
checkboxes: [
|
|
1273
1274
|
{
|
|
1274
|
-
label:
|
|
1275
|
+
label: a(e)("booking.reservation.business"),
|
|
1275
1276
|
value: "Business"
|
|
1276
1277
|
},
|
|
1277
1278
|
{
|
|
1278
|
-
label:
|
|
1279
|
+
label: a(e)("booking.reservation.pleasure"),
|
|
1279
1280
|
value: "Pleasure"
|
|
1280
1281
|
},
|
|
1281
1282
|
{
|
|
1282
|
-
label:
|
|
1283
|
+
label: a(e)("booking.reservation.bleasure"),
|
|
1283
1284
|
value: "Bleasure"
|
|
1284
1285
|
}
|
|
1285
1286
|
]
|
|
@@ -1289,29 +1290,29 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1289
1290
|
navigation: w(() => [
|
|
1290
1291
|
v("div", null, [
|
|
1291
1292
|
T(fe, {
|
|
1292
|
-
label:
|
|
1293
|
-
disabled: !
|
|
1294
|
-
"is-loading":
|
|
1293
|
+
label: a(Yt) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
|
|
1294
|
+
disabled: !a(h),
|
|
1295
|
+
"is-loading": a(l),
|
|
1295
1296
|
"full-width": "",
|
|
1296
|
-
onClickEvent: ($) =>
|
|
1297
|
+
onClickEvent: ($) => io(J)
|
|
1297
1298
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1298
1299
|
v("button", {
|
|
1299
1300
|
class: "konnectio-abort-reservation link",
|
|
1300
|
-
onClick:
|
|
1301
|
+
onClick: ot(($) => Je(z), ["prevent"])
|
|
1301
1302
|
}, [
|
|
1302
|
-
v("span", null, V(
|
|
1303
|
-
], 8,
|
|
1303
|
+
v("span", null, V(a(e)("general.goAStepBack")), 1)
|
|
1304
|
+
], 8, ri)
|
|
1304
1305
|
])
|
|
1305
1306
|
]),
|
|
1306
1307
|
_: 2
|
|
1307
1308
|
}, 1024)
|
|
1308
1309
|
]),
|
|
1309
1310
|
payment: w(() => [
|
|
1310
|
-
T(
|
|
1311
|
+
T(Ro)
|
|
1311
1312
|
]),
|
|
1312
1313
|
confirmation: w(() => [
|
|
1313
|
-
T(
|
|
1314
|
-
message:
|
|
1314
|
+
T(wo, {
|
|
1315
|
+
message: a(e)("booking.confirmation.thankYou")
|
|
1315
1316
|
}, null, 8, ["message"])
|
|
1316
1317
|
]),
|
|
1317
1318
|
_: 1
|
|
@@ -1321,19 +1322,19 @@ const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 },
|
|
|
1321
1322
|
}, 8, ["access-token", "styling"])
|
|
1322
1323
|
]),
|
|
1323
1324
|
fallback: w(() => [
|
|
1324
|
-
T(
|
|
1325
|
+
T(Dn)
|
|
1325
1326
|
]),
|
|
1326
1327
|
_: 1
|
|
1327
1328
|
}));
|
|
1328
1329
|
}
|
|
1329
1330
|
});
|
|
1330
|
-
const
|
|
1331
|
-
var
|
|
1332
|
-
function
|
|
1333
|
-
return
|
|
1331
|
+
const ai = /* @__PURE__ */ te(si, [["__scopeId", "data-v-feb89526"]]);
|
|
1332
|
+
var St = { exports: {} }, De = { exports: {} }, Le = { exports: {} }, rt;
|
|
1333
|
+
function je() {
|
|
1334
|
+
return rt || (rt = 1, function(n) {
|
|
1334
1335
|
(function(e, t) {
|
|
1335
1336
|
n.exports ? n.exports = t() : e.EvEmitter = t();
|
|
1336
|
-
})(typeof window < "u" ? window :
|
|
1337
|
+
})(typeof window < "u" ? window : Tt, function() {
|
|
1337
1338
|
function e() {
|
|
1338
1339
|
}
|
|
1339
1340
|
var t = e.prototype;
|
|
@@ -1368,28 +1369,28 @@ function Ge() {
|
|
|
1368
1369
|
delete this._events, delete this._onceEvents;
|
|
1369
1370
|
}, e;
|
|
1370
1371
|
});
|
|
1371
|
-
}(
|
|
1372
|
+
}(Le)), Le.exports;
|
|
1372
1373
|
}
|
|
1373
|
-
var
|
|
1374
|
+
var we = { exports: {} };
|
|
1374
1375
|
/*!
|
|
1375
1376
|
* getSize v2.0.3
|
|
1376
1377
|
* measure size of elements
|
|
1377
1378
|
* MIT license
|
|
1378
1379
|
*/
|
|
1379
|
-
var
|
|
1380
|
-
function
|
|
1381
|
-
return
|
|
1380
|
+
var st;
|
|
1381
|
+
function Ye() {
|
|
1382
|
+
return st || (st = 1, function(n) {
|
|
1382
1383
|
(function(e, t) {
|
|
1383
1384
|
n.exports ? n.exports = t() : e.getSize = t();
|
|
1384
1385
|
})(window, function() {
|
|
1385
|
-
function t(
|
|
1386
|
-
var _ = parseFloat(
|
|
1386
|
+
function t(s) {
|
|
1387
|
+
var _ = parseFloat(s), b = s.indexOf("%") == -1 && !isNaN(_);
|
|
1387
1388
|
return b && _;
|
|
1388
1389
|
}
|
|
1389
1390
|
function o() {
|
|
1390
1391
|
}
|
|
1391
|
-
var u = typeof console > "u" ? o : function(
|
|
1392
|
-
console.error(
|
|
1392
|
+
var u = typeof console > "u" ? o : function(s) {
|
|
1393
|
+
console.error(s);
|
|
1393
1394
|
}, r = [
|
|
1394
1395
|
"paddingLeft",
|
|
1395
1396
|
"paddingRight",
|
|
@@ -1405,7 +1406,7 @@ function je() {
|
|
|
1405
1406
|
"borderBottomWidth"
|
|
1406
1407
|
], p = r.length;
|
|
1407
1408
|
function l() {
|
|
1408
|
-
for (var
|
|
1409
|
+
for (var s = {
|
|
1409
1410
|
width: 0,
|
|
1410
1411
|
height: 0,
|
|
1411
1412
|
innerWidth: 0,
|
|
@@ -1414,33 +1415,33 @@ function je() {
|
|
|
1414
1415
|
outerHeight: 0
|
|
1415
1416
|
}, _ = 0; _ < p; _++) {
|
|
1416
1417
|
var b = r[_];
|
|
1417
|
-
|
|
1418
|
+
s[b] = 0;
|
|
1418
1419
|
}
|
|
1419
|
-
return
|
|
1420
|
+
return s;
|
|
1420
1421
|
}
|
|
1421
|
-
function h(
|
|
1422
|
-
var _ = getComputedStyle(
|
|
1422
|
+
function h(s) {
|
|
1423
|
+
var _ = getComputedStyle(s);
|
|
1423
1424
|
return _ || u("Style returned " + _ + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), _;
|
|
1424
1425
|
}
|
|
1425
1426
|
var c = !1, m;
|
|
1426
1427
|
function g() {
|
|
1427
1428
|
if (!c) {
|
|
1428
1429
|
c = !0;
|
|
1429
|
-
var
|
|
1430
|
-
|
|
1430
|
+
var s = document.createElement("div");
|
|
1431
|
+
s.style.width = "200px", s.style.padding = "1px 2px 3px 4px", s.style.borderStyle = "solid", s.style.borderWidth = "1px 2px 3px 4px", s.style.boxSizing = "border-box";
|
|
1431
1432
|
var _ = document.body || document.documentElement;
|
|
1432
|
-
_.appendChild(
|
|
1433
|
-
var b = h(
|
|
1434
|
-
m = Math.round(t(b.width)) == 200, k.isBoxSizeOuter = m, _.removeChild(
|
|
1433
|
+
_.appendChild(s);
|
|
1434
|
+
var b = h(s);
|
|
1435
|
+
m = Math.round(t(b.width)) == 200, k.isBoxSizeOuter = m, _.removeChild(s);
|
|
1435
1436
|
}
|
|
1436
1437
|
}
|
|
1437
|
-
function k(
|
|
1438
|
-
if (g(), typeof
|
|
1439
|
-
var _ = h(
|
|
1438
|
+
function k(s) {
|
|
1439
|
+
if (g(), typeof s == "string" && (s = document.querySelector(s)), !(!s || typeof s != "object" || !s.nodeType)) {
|
|
1440
|
+
var _ = h(s);
|
|
1440
1441
|
if (_.display == "none")
|
|
1441
1442
|
return l();
|
|
1442
1443
|
var b = {};
|
|
1443
|
-
b.width =
|
|
1444
|
+
b.width = s.offsetWidth, b.height = s.offsetHeight;
|
|
1444
1445
|
for (var f = b.isBorderBox = _.boxSizing == "border-box", i = 0; i < p; i++) {
|
|
1445
1446
|
var d = r[i], y = _[d], E = parseFloat(y);
|
|
1446
1447
|
b[d] = isNaN(E) ? 0 : E;
|
|
@@ -1455,10 +1456,10 @@ function je() {
|
|
|
1455
1456
|
}
|
|
1456
1457
|
return k;
|
|
1457
1458
|
});
|
|
1458
|
-
}(
|
|
1459
|
+
}(we)), we.exports;
|
|
1459
1460
|
}
|
|
1460
|
-
var
|
|
1461
|
-
function
|
|
1461
|
+
var Oe = { exports: {} }, He = { exports: {} }, at;
|
|
1462
|
+
function li() {
|
|
1462
1463
|
return at || (at = 1, function(n) {
|
|
1463
1464
|
(function(e, t) {
|
|
1464
1465
|
n.exports ? n.exports = t() : e.matchesSelector = t();
|
|
@@ -1479,15 +1480,15 @@ function ri() {
|
|
|
1479
1480
|
return u[t](r);
|
|
1480
1481
|
};
|
|
1481
1482
|
});
|
|
1482
|
-
}(
|
|
1483
|
+
}(He)), He.exports;
|
|
1483
1484
|
}
|
|
1484
|
-
var
|
|
1485
|
-
function
|
|
1486
|
-
return
|
|
1485
|
+
var lt;
|
|
1486
|
+
function ui() {
|
|
1487
|
+
return lt || (lt = 1, function(n) {
|
|
1487
1488
|
(function(e, t) {
|
|
1488
1489
|
n.exports ? n.exports = t(
|
|
1489
1490
|
e,
|
|
1490
|
-
|
|
1491
|
+
li()
|
|
1491
1492
|
) : e.fizzyUIUtils = t(
|
|
1492
1493
|
e,
|
|
1493
1494
|
e.matchesSelector
|
|
@@ -1541,9 +1542,9 @@ function ai() {
|
|
|
1541
1542
|
l.prototype[h] = function() {
|
|
1542
1543
|
var k = this[g];
|
|
1543
1544
|
clearTimeout(k);
|
|
1544
|
-
var
|
|
1545
|
+
var s = arguments, _ = this;
|
|
1545
1546
|
this[g] = setTimeout(function() {
|
|
1546
|
-
m.apply(_,
|
|
1547
|
+
m.apply(_, s), delete _[g];
|
|
1547
1548
|
}, c);
|
|
1548
1549
|
};
|
|
1549
1550
|
}, u.docReady = function(l) {
|
|
@@ -1557,8 +1558,8 @@ function ai() {
|
|
|
1557
1558
|
var p = t.console;
|
|
1558
1559
|
return u.htmlInit = function(l, h) {
|
|
1559
1560
|
u.docReady(function() {
|
|
1560
|
-
var c = u.toDashed(h), m = "data-" + c, g = document.querySelectorAll("[" + m + "]"), k = document.querySelectorAll(".js-" + c),
|
|
1561
|
-
|
|
1561
|
+
var c = u.toDashed(h), m = "data-" + c, g = document.querySelectorAll("[" + m + "]"), k = document.querySelectorAll(".js-" + c), s = u.makeArray(g).concat(u.makeArray(k)), _ = m + "-options", b = t.jQuery;
|
|
1562
|
+
s.forEach(function(f) {
|
|
1562
1563
|
var i = f.getAttribute(m) || f.getAttribute(_), d;
|
|
1563
1564
|
try {
|
|
1564
1565
|
d = i && JSON.parse(i);
|
|
@@ -1572,15 +1573,15 @@ function ai() {
|
|
|
1572
1573
|
});
|
|
1573
1574
|
}, u;
|
|
1574
1575
|
});
|
|
1575
|
-
}(
|
|
1576
|
+
}(Oe)), Oe.exports;
|
|
1576
1577
|
}
|
|
1577
|
-
var
|
|
1578
|
-
function
|
|
1579
|
-
return
|
|
1578
|
+
var Ae = { exports: {} }, ut;
|
|
1579
|
+
function di() {
|
|
1580
|
+
return ut || (ut = 1, function(n) {
|
|
1580
1581
|
(function(e, t) {
|
|
1581
1582
|
n.exports ? n.exports = t(
|
|
1582
|
-
|
|
1583
|
-
|
|
1583
|
+
je(),
|
|
1584
|
+
Ye()
|
|
1584
1585
|
) : (e.Outlayer = {}, e.Outlayer.Item = t(
|
|
1585
1586
|
e.EvEmitter,
|
|
1586
1587
|
e.getSize
|
|
@@ -1684,12 +1685,12 @@ function si() {
|
|
|
1684
1685
|
return "-" + i.toLowerCase();
|
|
1685
1686
|
});
|
|
1686
1687
|
}
|
|
1687
|
-
var
|
|
1688
|
+
var s = "opacity," + k(l);
|
|
1688
1689
|
g.enableTransition = function() {
|
|
1689
1690
|
if (!this.isTransitioning) {
|
|
1690
1691
|
var f = this.layout.options.transitionDuration;
|
|
1691
1692
|
f = typeof f == "number" ? f + "ms" : f, this.css({
|
|
1692
|
-
transitionProperty:
|
|
1693
|
+
transitionProperty: s,
|
|
1693
1694
|
transitionDuration: f,
|
|
1694
1695
|
transitionDelay: this.staggerDelay || 0
|
|
1695
1696
|
}), this.element.addEventListener(h, this, !1);
|
|
@@ -1779,23 +1780,23 @@ function si() {
|
|
|
1779
1780
|
});
|
|
1780
1781
|
}, m;
|
|
1781
1782
|
});
|
|
1782
|
-
}(
|
|
1783
|
+
}(Ae)), Ae.exports;
|
|
1783
1784
|
}
|
|
1784
1785
|
/*!
|
|
1785
1786
|
* Outlayer v2.1.1
|
|
1786
1787
|
* the brains and guts of a layout library
|
|
1787
1788
|
* MIT license
|
|
1788
1789
|
*/
|
|
1789
|
-
var
|
|
1790
|
-
function
|
|
1791
|
-
return
|
|
1790
|
+
var dt;
|
|
1791
|
+
function ci() {
|
|
1792
|
+
return dt || (dt = 1, function(n) {
|
|
1792
1793
|
(function(e, t) {
|
|
1793
1794
|
n.exports ? n.exports = t(
|
|
1794
1795
|
e,
|
|
1795
|
-
Ge(),
|
|
1796
1796
|
je(),
|
|
1797
|
-
|
|
1798
|
-
|
|
1797
|
+
Ye(),
|
|
1798
|
+
ui(),
|
|
1799
|
+
di()
|
|
1799
1800
|
) : e.Outlayer = t(
|
|
1800
1801
|
e,
|
|
1801
1802
|
e.EvEmitter,
|
|
@@ -1838,10 +1839,10 @@ function li() {
|
|
|
1838
1839
|
transform: "scale(1)"
|
|
1839
1840
|
}
|
|
1840
1841
|
};
|
|
1841
|
-
var
|
|
1842
|
-
r.extend(
|
|
1842
|
+
var s = k.prototype;
|
|
1843
|
+
r.extend(s, o.prototype), s.option = function(i) {
|
|
1843
1844
|
r.extend(this.options, i);
|
|
1844
|
-
},
|
|
1845
|
+
}, s._getOption = function(i) {
|
|
1845
1846
|
var d = this.constructor.compatOptions[i];
|
|
1846
1847
|
return d && this.options[d] !== void 0 ? this.options[d] : this.options[i];
|
|
1847
1848
|
}, k.compatOptions = {
|
|
@@ -1853,42 +1854,42 @@ function li() {
|
|
|
1853
1854
|
originTop: "isOriginTop",
|
|
1854
1855
|
resize: "isResizeBound",
|
|
1855
1856
|
resizeContainer: "isResizingContainer"
|
|
1856
|
-
},
|
|
1857
|
+
}, s._create = function() {
|
|
1857
1858
|
this.reloadItems(), this.stamps = [], this.stamp(this.options.stamp), r.extend(this.element.style, this.options.containerStyle);
|
|
1858
1859
|
var i = this._getOption("resize");
|
|
1859
1860
|
i && this.bindResize();
|
|
1860
|
-
},
|
|
1861
|
+
}, s.reloadItems = function() {
|
|
1861
1862
|
this.items = this._itemize(this.element.children);
|
|
1862
|
-
},
|
|
1863
|
+
}, s._itemize = function(i) {
|
|
1863
1864
|
for (var d = this._filterFindItemElements(i), y = this.constructor.Item, E = [], S = 0; S < d.length; S++) {
|
|
1864
1865
|
var L = d[S], H = new y(L, this);
|
|
1865
1866
|
E.push(H);
|
|
1866
1867
|
}
|
|
1867
1868
|
return E;
|
|
1868
|
-
},
|
|
1869
|
+
}, s._filterFindItemElements = function(i) {
|
|
1869
1870
|
return r.filterFindElements(i, this.options.itemSelector);
|
|
1870
|
-
},
|
|
1871
|
+
}, s.getItemElements = function() {
|
|
1871
1872
|
return this.items.map(function(i) {
|
|
1872
1873
|
return i.element;
|
|
1873
1874
|
});
|
|
1874
|
-
},
|
|
1875
|
+
}, s.layout = function() {
|
|
1875
1876
|
this._resetLayout(), this._manageStamps();
|
|
1876
1877
|
var i = this._getOption("layoutInstant"), d = i !== void 0 ? i : !this._isLayoutInited;
|
|
1877
1878
|
this.layoutItems(this.items, d), this._isLayoutInited = !0;
|
|
1878
|
-
},
|
|
1879
|
+
}, s._init = s.layout, s._resetLayout = function() {
|
|
1879
1880
|
this.getSize();
|
|
1880
|
-
},
|
|
1881
|
+
}, s.getSize = function() {
|
|
1881
1882
|
this.size = u(this.element);
|
|
1882
|
-
},
|
|
1883
|
+
}, s._getMeasurement = function(i, d) {
|
|
1883
1884
|
var y = this.options[i], E;
|
|
1884
1885
|
y ? (typeof y == "string" ? E = this.element.querySelector(y) : y instanceof HTMLElement && (E = y), this[i] = E ? u(E)[d] : y) : this[i] = 0;
|
|
1885
|
-
},
|
|
1886
|
+
}, s.layoutItems = function(i, d) {
|
|
1886
1887
|
i = this._getItemsForLayout(i), this._layoutItems(i, d), this._postLayout();
|
|
1887
|
-
},
|
|
1888
|
+
}, s._getItemsForLayout = function(i) {
|
|
1888
1889
|
return i.filter(function(d) {
|
|
1889
1890
|
return !d.isIgnored;
|
|
1890
1891
|
});
|
|
1891
|
-
},
|
|
1892
|
+
}, s._layoutItems = function(i, d) {
|
|
1892
1893
|
if (this._emitCompleteOnItems("layout", i), !(!i || !i.length)) {
|
|
1893
1894
|
var y = [];
|
|
1894
1895
|
i.forEach(function(E) {
|
|
@@ -1896,38 +1897,38 @@ function li() {
|
|
|
1896
1897
|
S.item = E, S.isInstant = d || E.isLayoutInstant, y.push(S);
|
|
1897
1898
|
}, this), this._processLayoutQueue(y);
|
|
1898
1899
|
}
|
|
1899
|
-
},
|
|
1900
|
+
}, s._getItemLayoutPosition = function() {
|
|
1900
1901
|
return {
|
|
1901
1902
|
x: 0,
|
|
1902
1903
|
y: 0
|
|
1903
1904
|
};
|
|
1904
|
-
},
|
|
1905
|
+
}, s._processLayoutQueue = function(i) {
|
|
1905
1906
|
this.updateStagger(), i.forEach(function(d, y) {
|
|
1906
1907
|
this._positionItem(d.item, d.x, d.y, d.isInstant, y);
|
|
1907
1908
|
}, this);
|
|
1908
|
-
},
|
|
1909
|
+
}, s.updateStagger = function() {
|
|
1909
1910
|
var i = this.options.stagger;
|
|
1910
1911
|
if (i == null) {
|
|
1911
1912
|
this.stagger = 0;
|
|
1912
1913
|
return;
|
|
1913
1914
|
}
|
|
1914
1915
|
return this.stagger = f(i), this.stagger;
|
|
1915
|
-
},
|
|
1916
|
+
}, s._positionItem = function(i, d, y, E, S) {
|
|
1916
1917
|
E ? i.goTo(d, y) : (i.stagger(S * this.stagger), i.moveTo(d, y));
|
|
1917
|
-
},
|
|
1918
|
+
}, s._postLayout = function() {
|
|
1918
1919
|
this.resizeContainer();
|
|
1919
|
-
},
|
|
1920
|
+
}, s.resizeContainer = function() {
|
|
1920
1921
|
var i = this._getOption("resizeContainer");
|
|
1921
1922
|
if (i) {
|
|
1922
1923
|
var d = this._getContainerSize();
|
|
1923
1924
|
d && (this._setContainerMeasure(d.width, !0), this._setContainerMeasure(d.height, !1));
|
|
1924
1925
|
}
|
|
1925
|
-
},
|
|
1926
|
+
}, s._getContainerSize = c, s._setContainerMeasure = function(i, d) {
|
|
1926
1927
|
if (i !== void 0) {
|
|
1927
1928
|
var y = this.size;
|
|
1928
1929
|
y.isBorderBox && (i += d ? y.paddingLeft + y.paddingRight + y.borderLeftWidth + y.borderRightWidth : y.paddingBottom + y.paddingTop + y.borderTopWidth + y.borderBottomWidth), i = Math.max(i, 0), this.element.style[d ? "width" : "height"] = i + "px";
|
|
1929
1930
|
}
|
|
1930
|
-
},
|
|
1931
|
+
}, s._emitCompleteOnItems = function(i, d) {
|
|
1931
1932
|
var y = this;
|
|
1932
1933
|
function E() {
|
|
1933
1934
|
y.dispatchEvent(i + "Complete", null, [d]);
|
|
@@ -1944,7 +1945,7 @@ function li() {
|
|
|
1944
1945
|
d.forEach(function(C) {
|
|
1945
1946
|
C.once(i, H);
|
|
1946
1947
|
});
|
|
1947
|
-
},
|
|
1948
|
+
}, s.dispatchEvent = function(i, d, y) {
|
|
1948
1949
|
var E = d ? [d].concat(y) : y;
|
|
1949
1950
|
if (this.emitEvent(i, E), h)
|
|
1950
1951
|
if (this.$element = this.$element || h(this.element), d) {
|
|
@@ -1952,24 +1953,24 @@ function li() {
|
|
|
1952
1953
|
S.type = i, this.$element.trigger(S, y);
|
|
1953
1954
|
} else
|
|
1954
1955
|
this.$element.trigger(i, y);
|
|
1955
|
-
},
|
|
1956
|
+
}, s.ignore = function(i) {
|
|
1956
1957
|
var d = this.getItem(i);
|
|
1957
1958
|
d && (d.isIgnored = !0);
|
|
1958
|
-
},
|
|
1959
|
+
}, s.unignore = function(i) {
|
|
1959
1960
|
var d = this.getItem(i);
|
|
1960
1961
|
d && delete d.isIgnored;
|
|
1961
|
-
},
|
|
1962
|
+
}, s.stamp = function(i) {
|
|
1962
1963
|
i = this._find(i), i && (this.stamps = this.stamps.concat(i), i.forEach(this.ignore, this));
|
|
1963
|
-
},
|
|
1964
|
+
}, s.unstamp = function(i) {
|
|
1964
1965
|
i = this._find(i), i && i.forEach(function(d) {
|
|
1965
1966
|
r.removeFrom(this.stamps, d), this.unignore(d);
|
|
1966
1967
|
}, this);
|
|
1967
|
-
},
|
|
1968
|
+
}, s._find = function(i) {
|
|
1968
1969
|
if (i)
|
|
1969
1970
|
return typeof i == "string" && (i = this.element.querySelectorAll(i)), i = r.makeArray(i), i;
|
|
1970
|
-
},
|
|
1971
|
+
}, s._manageStamps = function() {
|
|
1971
1972
|
!this.stamps || !this.stamps.length || (this._getBoundingRect(), this.stamps.forEach(this._manageStamp, this));
|
|
1972
|
-
},
|
|
1973
|
+
}, s._getBoundingRect = function() {
|
|
1973
1974
|
var i = this.element.getBoundingClientRect(), d = this.size;
|
|
1974
1975
|
this._boundingRect = {
|
|
1975
1976
|
left: i.left + d.paddingLeft + d.borderLeftWidth,
|
|
@@ -1977,7 +1978,7 @@ function li() {
|
|
|
1977
1978
|
right: i.right - (d.paddingRight + d.borderRightWidth),
|
|
1978
1979
|
bottom: i.bottom - (d.paddingBottom + d.borderBottomWidth)
|
|
1979
1980
|
};
|
|
1980
|
-
},
|
|
1981
|
+
}, s._manageStamp = c, s._getElementOffset = function(i) {
|
|
1981
1982
|
var d = i.getBoundingClientRect(), y = this._boundingRect, E = u(i), S = {
|
|
1982
1983
|
left: d.left - y.left - E.marginLeft,
|
|
1983
1984
|
top: d.top - y.top - E.marginTop,
|
|
@@ -1985,68 +1986,68 @@ function li() {
|
|
|
1985
1986
|
bottom: y.bottom - d.bottom - E.marginBottom
|
|
1986
1987
|
};
|
|
1987
1988
|
return S;
|
|
1988
|
-
},
|
|
1989
|
+
}, s.handleEvent = r.handleEvent, s.bindResize = function() {
|
|
1989
1990
|
t.addEventListener("resize", this), this.isResizeBound = !0;
|
|
1990
|
-
},
|
|
1991
|
+
}, s.unbindResize = function() {
|
|
1991
1992
|
t.removeEventListener("resize", this), this.isResizeBound = !1;
|
|
1992
|
-
},
|
|
1993
|
+
}, s.onresize = function() {
|
|
1993
1994
|
this.resize();
|
|
1994
|
-
}, r.debounceMethod(k, "onresize", 100),
|
|
1995
|
+
}, r.debounceMethod(k, "onresize", 100), s.resize = function() {
|
|
1995
1996
|
!this.isResizeBound || !this.needsResizeLayout() || this.layout();
|
|
1996
|
-
},
|
|
1997
|
+
}, s.needsResizeLayout = function() {
|
|
1997
1998
|
var i = u(this.element), d = this.size && i;
|
|
1998
1999
|
return d && i.innerWidth !== this.size.innerWidth;
|
|
1999
|
-
},
|
|
2000
|
+
}, s.addItems = function(i) {
|
|
2000
2001
|
var d = this._itemize(i);
|
|
2001
2002
|
return d.length && (this.items = this.items.concat(d)), d;
|
|
2002
|
-
},
|
|
2003
|
+
}, s.appended = function(i) {
|
|
2003
2004
|
var d = this.addItems(i);
|
|
2004
2005
|
d.length && (this.layoutItems(d, !0), this.reveal(d));
|
|
2005
|
-
},
|
|
2006
|
+
}, s.prepended = function(i) {
|
|
2006
2007
|
var d = this._itemize(i);
|
|
2007
2008
|
if (d.length) {
|
|
2008
2009
|
var y = this.items.slice(0);
|
|
2009
2010
|
this.items = d.concat(y), this._resetLayout(), this._manageStamps(), this.layoutItems(d, !0), this.reveal(d), this.layoutItems(y);
|
|
2010
2011
|
}
|
|
2011
|
-
},
|
|
2012
|
+
}, s.reveal = function(i) {
|
|
2012
2013
|
if (this._emitCompleteOnItems("reveal", i), !(!i || !i.length)) {
|
|
2013
2014
|
var d = this.updateStagger();
|
|
2014
2015
|
i.forEach(function(y, E) {
|
|
2015
2016
|
y.stagger(E * d), y.reveal();
|
|
2016
2017
|
});
|
|
2017
2018
|
}
|
|
2018
|
-
},
|
|
2019
|
+
}, s.hide = function(i) {
|
|
2019
2020
|
if (this._emitCompleteOnItems("hide", i), !(!i || !i.length)) {
|
|
2020
2021
|
var d = this.updateStagger();
|
|
2021
2022
|
i.forEach(function(y, E) {
|
|
2022
2023
|
y.stagger(E * d), y.hide();
|
|
2023
2024
|
});
|
|
2024
2025
|
}
|
|
2025
|
-
},
|
|
2026
|
+
}, s.revealItemElements = function(i) {
|
|
2026
2027
|
var d = this.getItems(i);
|
|
2027
2028
|
this.reveal(d);
|
|
2028
|
-
},
|
|
2029
|
+
}, s.hideItemElements = function(i) {
|
|
2029
2030
|
var d = this.getItems(i);
|
|
2030
2031
|
this.hide(d);
|
|
2031
|
-
},
|
|
2032
|
+
}, s.getItem = function(i) {
|
|
2032
2033
|
for (var d = 0; d < this.items.length; d++) {
|
|
2033
2034
|
var y = this.items[d];
|
|
2034
2035
|
if (y.element == i)
|
|
2035
2036
|
return y;
|
|
2036
2037
|
}
|
|
2037
|
-
},
|
|
2038
|
+
}, s.getItems = function(i) {
|
|
2038
2039
|
i = r.makeArray(i);
|
|
2039
2040
|
var d = [];
|
|
2040
2041
|
return i.forEach(function(y) {
|
|
2041
2042
|
var E = this.getItem(y);
|
|
2042
2043
|
E && d.push(E);
|
|
2043
2044
|
}, this), d;
|
|
2044
|
-
},
|
|
2045
|
+
}, s.remove = function(i) {
|
|
2045
2046
|
var d = this.getItems(i);
|
|
2046
2047
|
this._emitCompleteOnItems("remove", d), !(!d || !d.length) && d.forEach(function(y) {
|
|
2047
2048
|
y.remove(), r.removeFrom(this.items, y);
|
|
2048
2049
|
}, this);
|
|
2049
|
-
},
|
|
2050
|
+
}, s.destroy = function() {
|
|
2050
2051
|
var i = this.element.style;
|
|
2051
2052
|
i.height = "", i.position = "", i.width = "", this.items.forEach(function(y) {
|
|
2052
2053
|
y.destroy();
|
|
@@ -2083,7 +2084,7 @@ function li() {
|
|
|
2083
2084
|
}
|
|
2084
2085
|
return k.Item = p, k;
|
|
2085
2086
|
});
|
|
2086
|
-
}(
|
|
2087
|
+
}(De)), De.exports;
|
|
2087
2088
|
}
|
|
2088
2089
|
/*!
|
|
2089
2090
|
* Masonry v4.2.2
|
|
@@ -2095,8 +2096,8 @@ function li() {
|
|
|
2095
2096
|
(function(n) {
|
|
2096
2097
|
(function(e, t) {
|
|
2097
2098
|
n.exports ? n.exports = t(
|
|
2098
|
-
|
|
2099
|
-
|
|
2099
|
+
ci(),
|
|
2100
|
+
Ye()
|
|
2100
2101
|
) : e.Masonry = t(
|
|
2101
2102
|
e.Outlayer,
|
|
2102
2103
|
e.getSize
|
|
@@ -2128,8 +2129,8 @@ function li() {
|
|
|
2128
2129
|
for (var m = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[m](c, p), k = {
|
|
2129
2130
|
x: this.columnWidth * g.col,
|
|
2130
2131
|
y: g.y
|
|
2131
|
-
},
|
|
2132
|
-
this.colYs[b] =
|
|
2132
|
+
}, s = g.y + p.size.outerHeight, _ = c + g.col, b = g.col; b < _; b++)
|
|
2133
|
+
this.colYs[b] = s;
|
|
2133
2134
|
return k;
|
|
2134
2135
|
}, r._getTopColPosition = function(p) {
|
|
2135
2136
|
var l = this._getTopColGroup(p), h = Math.min.apply(Math, l);
|
|
@@ -2159,9 +2160,9 @@ function li() {
|
|
|
2159
2160
|
}, r._manageStamp = function(p) {
|
|
2160
2161
|
var l = o(p), h = this._getElementOffset(p), c = this._getOption("originLeft"), m = c ? h.left : h.right, g = m + l.outerWidth, k = Math.floor(m / this.columnWidth);
|
|
2161
2162
|
k = Math.max(0, k);
|
|
2162
|
-
var
|
|
2163
|
-
|
|
2164
|
-
for (var _ = this._getOption("originTop"), b = (_ ? h.top : h.bottom) + l.outerHeight, f = k; f <=
|
|
2163
|
+
var s = Math.floor(g / this.columnWidth);
|
|
2164
|
+
s -= g % this.columnWidth ? 0 : 1, s = Math.min(this.cols - 1, s);
|
|
2165
|
+
for (var _ = this._getOption("originTop"), b = (_ ? h.top : h.bottom) + l.outerHeight, f = k; f <= s; f++)
|
|
2165
2166
|
this.colYs[f] = Math.max(b, this.colYs[f]);
|
|
2166
2167
|
}, r._getContainerSize = function() {
|
|
2167
2168
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
@@ -2178,10 +2179,10 @@ function li() {
|
|
|
2178
2179
|
return this.getContainerWidth(), p != this.containerWidth;
|
|
2179
2180
|
}, u;
|
|
2180
2181
|
});
|
|
2181
|
-
})(
|
|
2182
|
-
var
|
|
2183
|
-
const
|
|
2184
|
-
var
|
|
2182
|
+
})(St);
|
|
2183
|
+
var pi = St.exports;
|
|
2184
|
+
const ct = /* @__PURE__ */ $t(pi);
|
|
2185
|
+
var Ct = { exports: {} };
|
|
2185
2186
|
/*!
|
|
2186
2187
|
* imagesLoaded v4.1.4
|
|
2187
2188
|
* JavaScript is all like "You images are done yet or what?"
|
|
@@ -2191,50 +2192,50 @@ var St = { exports: {} };
|
|
|
2191
2192
|
(function(e, t) {
|
|
2192
2193
|
n.exports ? n.exports = t(
|
|
2193
2194
|
e,
|
|
2194
|
-
|
|
2195
|
+
je()
|
|
2195
2196
|
) : e.imagesLoaded = t(
|
|
2196
2197
|
e,
|
|
2197
2198
|
e.EvEmitter
|
|
2198
2199
|
);
|
|
2199
2200
|
})(
|
|
2200
|
-
typeof window < "u" ? window :
|
|
2201
|
+
typeof window < "u" ? window : Tt,
|
|
2201
2202
|
// -------------------------- factory -------------------------- //
|
|
2202
2203
|
function(t, o) {
|
|
2203
2204
|
var u = t.jQuery, r = t.console;
|
|
2204
|
-
function p(
|
|
2205
|
+
function p(s, _) {
|
|
2205
2206
|
for (var b in _)
|
|
2206
|
-
|
|
2207
|
-
return
|
|
2207
|
+
s[b] = _[b];
|
|
2208
|
+
return s;
|
|
2208
2209
|
}
|
|
2209
2210
|
var l = Array.prototype.slice;
|
|
2210
|
-
function h(
|
|
2211
|
-
if (Array.isArray(
|
|
2212
|
-
return
|
|
2213
|
-
var _ = typeof
|
|
2214
|
-
return _ ? l.call(
|
|
2211
|
+
function h(s) {
|
|
2212
|
+
if (Array.isArray(s))
|
|
2213
|
+
return s;
|
|
2214
|
+
var _ = typeof s == "object" && typeof s.length == "number";
|
|
2215
|
+
return _ ? l.call(s) : [s];
|
|
2215
2216
|
}
|
|
2216
|
-
function c(
|
|
2217
|
+
function c(s, _, b) {
|
|
2217
2218
|
if (!(this instanceof c))
|
|
2218
|
-
return new c(
|
|
2219
|
-
var f =
|
|
2220
|
-
if (typeof
|
|
2221
|
-
r.error("Bad element for imagesLoaded " + (f ||
|
|
2219
|
+
return new c(s, _, b);
|
|
2220
|
+
var f = s;
|
|
2221
|
+
if (typeof s == "string" && (f = document.querySelectorAll(s)), !f) {
|
|
2222
|
+
r.error("Bad element for imagesLoaded " + (f || s));
|
|
2222
2223
|
return;
|
|
2223
2224
|
}
|
|
2224
2225
|
this.elements = h(f), this.options = p({}, this.options), typeof _ == "function" ? b = _ : p(this.options, _), b && this.on("always", b), this.getImages(), u && (this.jqDeferred = new u.Deferred()), setTimeout(this.check.bind(this));
|
|
2225
2226
|
}
|
|
2226
2227
|
c.prototype = Object.create(o.prototype), c.prototype.options = {}, c.prototype.getImages = function() {
|
|
2227
2228
|
this.images = [], this.elements.forEach(this.addElementImages, this);
|
|
2228
|
-
}, c.prototype.addElementImages = function(
|
|
2229
|
-
|
|
2230
|
-
var _ =
|
|
2229
|
+
}, c.prototype.addElementImages = function(s) {
|
|
2230
|
+
s.nodeName == "IMG" && this.addImage(s), this.options.background === !0 && this.addElementBackgroundImages(s);
|
|
2231
|
+
var _ = s.nodeType;
|
|
2231
2232
|
if (!(!_ || !m[_])) {
|
|
2232
|
-
for (var b =
|
|
2233
|
+
for (var b = s.querySelectorAll("img"), f = 0; f < b.length; f++) {
|
|
2233
2234
|
var i = b[f];
|
|
2234
2235
|
this.addImage(i);
|
|
2235
2236
|
}
|
|
2236
2237
|
if (typeof this.options.background == "string") {
|
|
2237
|
-
var d =
|
|
2238
|
+
var d = s.querySelectorAll(this.options.background);
|
|
2238
2239
|
for (f = 0; f < d.length; f++) {
|
|
2239
2240
|
var y = d[f];
|
|
2240
2241
|
this.addElementBackgroundImages(y);
|
|
@@ -2247,59 +2248,59 @@ var St = { exports: {} };
|
|
|
2247
2248
|
9: !0,
|
|
2248
2249
|
11: !0
|
|
2249
2250
|
};
|
|
2250
|
-
c.prototype.addElementBackgroundImages = function(
|
|
2251
|
-
var _ = getComputedStyle(
|
|
2251
|
+
c.prototype.addElementBackgroundImages = function(s) {
|
|
2252
|
+
var _ = getComputedStyle(s);
|
|
2252
2253
|
if (_)
|
|
2253
2254
|
for (var b = /url\((['"])?(.*?)\1\)/gi, f = b.exec(_.backgroundImage); f !== null; ) {
|
|
2254
2255
|
var i = f && f[2];
|
|
2255
|
-
i && this.addBackground(i,
|
|
2256
|
+
i && this.addBackground(i, s), f = b.exec(_.backgroundImage);
|
|
2256
2257
|
}
|
|
2257
|
-
}, c.prototype.addImage = function(
|
|
2258
|
-
var _ = new g(
|
|
2258
|
+
}, c.prototype.addImage = function(s) {
|
|
2259
|
+
var _ = new g(s);
|
|
2259
2260
|
this.images.push(_);
|
|
2260
|
-
}, c.prototype.addBackground = function(
|
|
2261
|
-
var b = new k(
|
|
2261
|
+
}, c.prototype.addBackground = function(s, _) {
|
|
2262
|
+
var b = new k(s, _);
|
|
2262
2263
|
this.images.push(b);
|
|
2263
2264
|
}, c.prototype.check = function() {
|
|
2264
|
-
var
|
|
2265
|
+
var s = this;
|
|
2265
2266
|
if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
|
|
2266
2267
|
this.complete();
|
|
2267
2268
|
return;
|
|
2268
2269
|
}
|
|
2269
2270
|
function _(b, f, i) {
|
|
2270
2271
|
setTimeout(function() {
|
|
2271
|
-
|
|
2272
|
+
s.progress(b, f, i);
|
|
2272
2273
|
});
|
|
2273
2274
|
}
|
|
2274
2275
|
this.images.forEach(function(b) {
|
|
2275
2276
|
b.once("progress", _), b.check();
|
|
2276
2277
|
});
|
|
2277
|
-
}, c.prototype.progress = function(
|
|
2278
|
-
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !
|
|
2278
|
+
}, c.prototype.progress = function(s, _, b) {
|
|
2279
|
+
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !s.isLoaded, this.emitEvent("progress", [this, s, _]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, s), this.progressedCount == this.images.length && this.complete(), this.options.debug && r && r.log("progress: " + b, s, _);
|
|
2279
2280
|
}, c.prototype.complete = function() {
|
|
2280
|
-
var
|
|
2281
|
-
if (this.isComplete = !0, this.emitEvent(
|
|
2281
|
+
var s = this.hasAnyBroken ? "fail" : "done";
|
|
2282
|
+
if (this.isComplete = !0, this.emitEvent(s, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
|
|
2282
2283
|
var _ = this.hasAnyBroken ? "reject" : "resolve";
|
|
2283
2284
|
this.jqDeferred[_](this);
|
|
2284
2285
|
}
|
|
2285
2286
|
};
|
|
2286
|
-
function g(
|
|
2287
|
-
this.img =
|
|
2287
|
+
function g(s) {
|
|
2288
|
+
this.img = s;
|
|
2288
2289
|
}
|
|
2289
2290
|
g.prototype = Object.create(o.prototype), g.prototype.check = function() {
|
|
2290
|
-
var
|
|
2291
|
-
if (
|
|
2291
|
+
var s = this.getIsImageComplete();
|
|
2292
|
+
if (s) {
|
|
2292
2293
|
this.confirm(this.img.naturalWidth !== 0, "naturalWidth");
|
|
2293
2294
|
return;
|
|
2294
2295
|
}
|
|
2295
2296
|
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;
|
|
2296
2297
|
}, g.prototype.getIsImageComplete = function() {
|
|
2297
2298
|
return this.img.complete && this.img.naturalWidth;
|
|
2298
|
-
}, g.prototype.confirm = function(
|
|
2299
|
-
this.isLoaded =
|
|
2300
|
-
}, g.prototype.handleEvent = function(
|
|
2301
|
-
var _ = "on" +
|
|
2302
|
-
this[_] && this[_](
|
|
2299
|
+
}, g.prototype.confirm = function(s, _) {
|
|
2300
|
+
this.isLoaded = s, this.emitEvent("progress", [this, this.img, _]);
|
|
2301
|
+
}, g.prototype.handleEvent = function(s) {
|
|
2302
|
+
var _ = "on" + s.type;
|
|
2303
|
+
this[_] && this[_](s);
|
|
2303
2304
|
}, g.prototype.onload = function() {
|
|
2304
2305
|
this.confirm(!0, "onload"), this.unbindEvents();
|
|
2305
2306
|
}, g.prototype.onerror = function() {
|
|
@@ -2307,29 +2308,29 @@ var St = { exports: {} };
|
|
|
2307
2308
|
}, g.prototype.unbindEvents = function() {
|
|
2308
2309
|
this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
|
|
2309
2310
|
};
|
|
2310
|
-
function k(
|
|
2311
|
-
this.url =
|
|
2311
|
+
function k(s, _) {
|
|
2312
|
+
this.url = s, this.element = _, this.img = new Image();
|
|
2312
2313
|
}
|
|
2313
2314
|
return k.prototype = Object.create(g.prototype), k.prototype.check = function() {
|
|
2314
2315
|
this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
|
|
2315
|
-
var
|
|
2316
|
-
|
|
2316
|
+
var s = this.getIsImageComplete();
|
|
2317
|
+
s && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
|
|
2317
2318
|
}, k.prototype.unbindEvents = function() {
|
|
2318
2319
|
this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
|
|
2319
|
-
}, k.prototype.confirm = function(
|
|
2320
|
-
this.isLoaded =
|
|
2321
|
-
}, c.makeJQueryPlugin = function(
|
|
2322
|
-
|
|
2320
|
+
}, k.prototype.confirm = function(s, _) {
|
|
2321
|
+
this.isLoaded = s, this.emitEvent("progress", [this, this.element, _]);
|
|
2322
|
+
}, c.makeJQueryPlugin = function(s) {
|
|
2323
|
+
s = s || t.jQuery, s && (u = s, u.fn.imagesLoaded = function(_, b) {
|
|
2323
2324
|
var f = new c(this, _, b);
|
|
2324
2325
|
return f.jqDeferred.promise(u(this));
|
|
2325
2326
|
});
|
|
2326
2327
|
}, c.makeJQueryPlugin(), c;
|
|
2327
2328
|
}
|
|
2328
2329
|
);
|
|
2329
|
-
})(
|
|
2330
|
-
var
|
|
2331
|
-
const
|
|
2332
|
-
function
|
|
2330
|
+
})(Ct);
|
|
2331
|
+
var hi = Ct.exports;
|
|
2332
|
+
const fi = /* @__PURE__ */ $t(hi);
|
|
2333
|
+
function mi(n) {
|
|
2333
2334
|
return { all: n = n || /* @__PURE__ */ new Map(), on: function(e, t) {
|
|
2334
2335
|
var o = n.get(e);
|
|
2335
2336
|
o ? o.push(t) : n.set(e, [t]);
|
|
@@ -2358,58 +2359,58 @@ const ge = {
|
|
|
2358
2359
|
"horizontal-order": "horizontalOrder",
|
|
2359
2360
|
stagger: "stagger",
|
|
2360
2361
|
"destroy-delay": "destroyDelay"
|
|
2361
|
-
}, ye = "vuemasonry.itemAdded",
|
|
2362
|
+
}, ye = "vuemasonry.itemAdded", ze = "vuemasonry.itemRemoved", Me = "vuemasonry.imageLoaded", Re = "vuemasonry.destroy", gi = function(n) {
|
|
2362
2363
|
return (n + "").toLowerCase() === "true";
|
|
2363
|
-
},
|
|
2364
|
+
}, yi = function(n) {
|
|
2364
2365
|
return isNaN(n) ? n : parseInt(n);
|
|
2365
|
-
},
|
|
2366
|
+
}, vi = function(n) {
|
|
2366
2367
|
const e = {};
|
|
2367
2368
|
return Array.prototype.slice.call(n).forEach(function(o) {
|
|
2368
|
-
Object.keys(ge).indexOf(o.name) > -1 && (o.name.indexOf("origin") > -1 ? e[ge[o.name]] =
|
|
2369
|
+
Object.keys(ge).indexOf(o.name) > -1 && (o.name.indexOf("origin") > -1 ? e[ge[o.name]] = gi(o.value) : o.name === "column-width" || o.name === "gutter" ? e[ge[o.name]] = yi(o.value) : e[ge[o.name]] = o.value);
|
|
2369
2370
|
}), e;
|
|
2370
|
-
},
|
|
2371
|
-
|
|
2372
|
-
const t =
|
|
2371
|
+
}, Vt = {};
|
|
2372
|
+
Vt.install = function(n, e) {
|
|
2373
|
+
const t = mi(), o = "VueMasonry", u = n;
|
|
2373
2374
|
u.directive("masonry", {
|
|
2374
2375
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2375
2376
|
mounted: function(r, p) {
|
|
2376
|
-
if (!
|
|
2377
|
+
if (!ct)
|
|
2377
2378
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2378
|
-
const l =
|
|
2379
|
+
const l = vi(r.attributes), h = new ct(r, l), c = p.value || o, m = l.destroyDelay ? parseInt(l.destroyDelay, 10) : void 0, g = function() {
|
|
2379
2380
|
h.reloadItems(), h.layout();
|
|
2380
2381
|
};
|
|
2381
|
-
|
|
2382
|
+
It(() => {
|
|
2382
2383
|
g();
|
|
2383
2384
|
});
|
|
2384
2385
|
const k = function(_) {
|
|
2385
2386
|
g();
|
|
2386
|
-
},
|
|
2387
|
-
t["off"](`${ye}__${c}`, k), t["off"](`${
|
|
2387
|
+
}, s = function(_) {
|
|
2388
|
+
t["off"](`${ye}__${c}`, k), t["off"](`${ze}__${c}`, k), t["off"](`${Me}__${c}`, k), t["off"](`${Re}__${c}`, s);
|
|
2388
2389
|
const b = m && !Number.isNaN(m) ? m : 0;
|
|
2389
2390
|
setTimeout(function() {
|
|
2390
2391
|
h.destroy();
|
|
2391
2392
|
}, b);
|
|
2392
2393
|
};
|
|
2393
|
-
t["on"](`${ye}__${c}`, k), t["on"](`${
|
|
2394
|
+
t["on"](`${ye}__${c}`, k), t["on"](`${ze}__${c}`, k), t["on"](`${Me}__${c}`, k), t["on"](`${Re}__${c}`, s);
|
|
2394
2395
|
},
|
|
2395
2396
|
unbind: function(r, p) {
|
|
2396
2397
|
const l = p.value || o;
|
|
2397
|
-
t["emit"](`${
|
|
2398
|
+
t["emit"](`${Re}__${l}`);
|
|
2398
2399
|
}
|
|
2399
2400
|
}), u.directive("masonryTile", {
|
|
2400
2401
|
mounted: function(r, p) {
|
|
2401
2402
|
const l = p.value || o;
|
|
2402
2403
|
t["emit"](`${ye}__${l}`, {
|
|
2403
2404
|
element: r
|
|
2404
|
-
}), new
|
|
2405
|
-
t["emit"](`${
|
|
2405
|
+
}), new fi(r, function() {
|
|
2406
|
+
t["emit"](`${Me}__${l}`, {
|
|
2406
2407
|
element: r
|
|
2407
2408
|
});
|
|
2408
2409
|
});
|
|
2409
2410
|
},
|
|
2410
2411
|
unbind: function(r, p) {
|
|
2411
2412
|
const l = p.value || o;
|
|
2412
|
-
t["emit"](`${
|
|
2413
|
+
t["emit"](`${ze}__${l}`, {
|
|
2413
2414
|
element: r
|
|
2414
2415
|
});
|
|
2415
2416
|
}
|
|
@@ -2429,23 +2430,23 @@ function Fe(n, e = {}, t) {
|
|
|
2429
2430
|
}
|
|
2430
2431
|
return e;
|
|
2431
2432
|
}
|
|
2432
|
-
const
|
|
2433
|
-
function
|
|
2434
|
-
const t = e.shift(), o =
|
|
2433
|
+
const _i = { run: (n) => n() }, bi = () => _i, Pt = typeof console.createTask < "u" ? console.createTask : bi;
|
|
2434
|
+
function ki(n, e) {
|
|
2435
|
+
const t = e.shift(), o = Pt(t);
|
|
2435
2436
|
return n.reduce(
|
|
2436
2437
|
(u, r) => u.then(() => o.run(() => r(...e))),
|
|
2437
2438
|
Promise.resolve()
|
|
2438
2439
|
);
|
|
2439
2440
|
}
|
|
2440
|
-
function
|
|
2441
|
-
const t = e.shift(), o =
|
|
2441
|
+
function xi(n, e) {
|
|
2442
|
+
const t = e.shift(), o = Pt(t);
|
|
2442
2443
|
return Promise.all(n.map((u) => o.run(() => u(...e))));
|
|
2443
2444
|
}
|
|
2444
|
-
function
|
|
2445
|
+
function Ne(n, e) {
|
|
2445
2446
|
for (const t of [...n])
|
|
2446
2447
|
t(e);
|
|
2447
2448
|
}
|
|
2448
|
-
class
|
|
2449
|
+
class Ii {
|
|
2449
2450
|
constructor() {
|
|
2450
2451
|
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);
|
|
2451
2452
|
}
|
|
@@ -2514,21 +2515,21 @@ class bi {
|
|
|
2514
2515
|
delete this._hooks[e];
|
|
2515
2516
|
}
|
|
2516
2517
|
callHook(e, ...t) {
|
|
2517
|
-
return t.unshift(e), this.callHookWith(
|
|
2518
|
+
return t.unshift(e), this.callHookWith(ki, e, ...t);
|
|
2518
2519
|
}
|
|
2519
2520
|
callHookParallel(e, ...t) {
|
|
2520
|
-
return t.unshift(e), this.callHookWith(
|
|
2521
|
+
return t.unshift(e), this.callHookWith(xi, e, ...t);
|
|
2521
2522
|
}
|
|
2522
2523
|
callHookWith(e, t, ...o) {
|
|
2523
2524
|
const u = this._before || this._after ? { name: t, args: o, context: {} } : void 0;
|
|
2524
|
-
this._before &&
|
|
2525
|
+
this._before && Ne(this._before, u);
|
|
2525
2526
|
const r = e(
|
|
2526
2527
|
t in this._hooks ? [...this._hooks[t]] : [],
|
|
2527
2528
|
o
|
|
2528
2529
|
);
|
|
2529
2530
|
return r instanceof Promise ? r.finally(() => {
|
|
2530
|
-
this._after && u &&
|
|
2531
|
-
}) : (this._after && u &&
|
|
2531
|
+
this._after && u && Ne(this._after, u);
|
|
2532
|
+
}) : (this._after && u && Ne(this._after, u), r);
|
|
2532
2533
|
}
|
|
2533
2534
|
beforeEach(e) {
|
|
2534
2535
|
return this._before = this._before || [], this._before.push(e), () => {
|
|
@@ -2547,20 +2548,20 @@ class bi {
|
|
|
2547
2548
|
};
|
|
2548
2549
|
}
|
|
2549
2550
|
}
|
|
2550
|
-
function
|
|
2551
|
-
return new
|
|
2551
|
+
function Ei() {
|
|
2552
|
+
return new Ii();
|
|
2552
2553
|
}
|
|
2553
|
-
function
|
|
2554
|
+
function Ti(n) {
|
|
2554
2555
|
return Array.isArray(n) ? n : [n];
|
|
2555
2556
|
}
|
|
2556
|
-
const
|
|
2557
|
+
const $i = ["title", "titleTemplate", "script", "style", "noscript"], _e = [
|
|
2557
2558
|
"base",
|
|
2558
2559
|
"meta",
|
|
2559
2560
|
"link",
|
|
2560
2561
|
"style",
|
|
2561
2562
|
"script",
|
|
2562
2563
|
"noscript"
|
|
2563
|
-
],
|
|
2564
|
+
], Si = [
|
|
2564
2565
|
"title",
|
|
2565
2566
|
"titleTemplate",
|
|
2566
2567
|
"templateParams",
|
|
@@ -2572,19 +2573,19 @@ const Ii = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
|
2572
2573
|
"style",
|
|
2573
2574
|
"script",
|
|
2574
2575
|
"noscript"
|
|
2575
|
-
],
|
|
2576
|
-
function
|
|
2576
|
+
], Ci = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Bt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "innerHTML", "textContent", "processTemplateParams"], Vi = typeof window < "u";
|
|
2577
|
+
function Qe(n) {
|
|
2577
2578
|
let e = 9;
|
|
2578
2579
|
for (let t = 0; t < n.length; )
|
|
2579
2580
|
e = Math.imul(e ^ n.charCodeAt(t++), 9 ** 9);
|
|
2580
2581
|
return ((e ^ e >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
2581
2582
|
}
|
|
2582
|
-
function
|
|
2583
|
-
return n._h ||
|
|
2583
|
+
function pt(n) {
|
|
2584
|
+
return n._h || Qe(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
|
|
2584
2585
|
}
|
|
2585
|
-
function
|
|
2586
|
+
function Dt(n, e) {
|
|
2586
2587
|
const { props: t, tag: o } = n;
|
|
2587
|
-
if (
|
|
2588
|
+
if (Ci.includes(o))
|
|
2588
2589
|
return o;
|
|
2589
2590
|
if (o === "link" && t.rel === "canonical")
|
|
2590
2591
|
return "canonical";
|
|
@@ -2599,65 +2600,65 @@ function Bt(n, e) {
|
|
|
2599
2600
|
}
|
|
2600
2601
|
return !1;
|
|
2601
2602
|
}
|
|
2602
|
-
function
|
|
2603
|
+
function ht(n, e) {
|
|
2603
2604
|
return n == null ? e || null : typeof n == "function" ? n(e) : n;
|
|
2604
2605
|
}
|
|
2605
|
-
async function
|
|
2606
|
+
async function Pi(n, e, t) {
|
|
2606
2607
|
const o = {
|
|
2607
2608
|
tag: n,
|
|
2608
|
-
props: await
|
|
2609
|
+
props: await Lt(
|
|
2609
2610
|
// explicitly check for an object
|
|
2610
2611
|
// @ts-expect-error untyped
|
|
2611
2612
|
typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? { ...e } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: e },
|
|
2612
2613
|
["templateParams", "titleTemplate"].includes(n)
|
|
2613
2614
|
)
|
|
2614
2615
|
};
|
|
2615
|
-
return
|
|
2616
|
+
return Bt.forEach((u) => {
|
|
2616
2617
|
const r = typeof o.props[u] < "u" ? o.props[u] : t[u];
|
|
2617
|
-
typeof r < "u" && ((!["innerHTML", "textContent"].includes(u) ||
|
|
2618
|
+
typeof r < "u" && ((!["innerHTML", "textContent"].includes(u) || $i.includes(o.tag)) && (o[u] = r), delete o.props[u]);
|
|
2618
2619
|
}), 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((u) => ({ ...o, props: { ...o.props, content: u } })) : o;
|
|
2619
2620
|
}
|
|
2620
|
-
function
|
|
2621
|
+
function Bi(n) {
|
|
2621
2622
|
return typeof n == "object" && !Array.isArray(n) && (n = Object.keys(n).filter((e) => n[e])), (Array.isArray(n) ? n.join(" ") : n).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
|
|
2622
2623
|
}
|
|
2623
|
-
async function
|
|
2624
|
+
async function Lt(n, e) {
|
|
2624
2625
|
for (const t of Object.keys(n)) {
|
|
2625
2626
|
if (t === "class") {
|
|
2626
|
-
n[t] =
|
|
2627
|
+
n[t] = Bi(n[t]);
|
|
2627
2628
|
continue;
|
|
2628
2629
|
}
|
|
2629
|
-
if (n[t] instanceof Promise && (n[t] = await n[t]), !e && !
|
|
2630
|
+
if (n[t] instanceof Promise && (n[t] = await n[t]), !e && !Bt.includes(t)) {
|
|
2630
2631
|
const o = String(n[t]), u = t.startsWith("data-");
|
|
2631
2632
|
o === "true" || o === "" ? n[t] = u ? "true" : !0 : n[t] || (u && o === "false" ? n[t] = "false" : delete n[t]);
|
|
2632
2633
|
}
|
|
2633
2634
|
}
|
|
2634
2635
|
return n;
|
|
2635
2636
|
}
|
|
2636
|
-
const
|
|
2637
|
-
async function
|
|
2637
|
+
const Di = 10;
|
|
2638
|
+
async function Li(n) {
|
|
2638
2639
|
const e = [];
|
|
2639
|
-
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" &&
|
|
2640
|
-
const u =
|
|
2641
|
-
e.push(...u.map((r) =>
|
|
2642
|
-
}), (await Promise.all(e)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i <<
|
|
2640
|
+
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" && Si.includes(t)).forEach(([t, o]) => {
|
|
2641
|
+
const u = Ti(o);
|
|
2642
|
+
e.push(...u.map((r) => Pi(t, r, n)).flat());
|
|
2643
|
+
}), (await Promise.all(e)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << Di) + o, t));
|
|
2643
2644
|
}
|
|
2644
|
-
const
|
|
2645
|
+
const ft = {
|
|
2645
2646
|
// tags
|
|
2646
2647
|
base: -10,
|
|
2647
2648
|
title: 10
|
|
2648
|
-
},
|
|
2649
|
+
}, mt = {
|
|
2649
2650
|
// relative scores to their default values
|
|
2650
2651
|
critical: -80,
|
|
2651
2652
|
high: -10,
|
|
2652
2653
|
low: 20
|
|
2653
2654
|
};
|
|
2654
|
-
function
|
|
2655
|
+
function Ie(n) {
|
|
2655
2656
|
let e = 100;
|
|
2656
2657
|
const t = n.tagPriority;
|
|
2657
|
-
return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (e = -30), n.props.charset && (e = -20), n.props.name === "viewport" && (e = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? e = 20 : n.tag in
|
|
2658
|
+
return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (e = -30), n.props.charset && (e = -20), n.props.name === "viewport" && (e = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? e = 20 : n.tag in ft && (e = ft[n.tag]), typeof t == "string" && t in mt ? e + mt[t] : e);
|
|
2658
2659
|
}
|
|
2659
|
-
const
|
|
2660
|
-
function
|
|
2660
|
+
const wi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
|
|
2661
|
+
function be(n, e, t) {
|
|
2661
2662
|
if (typeof n != "string" || !n.includes("%"))
|
|
2662
2663
|
return n;
|
|
2663
2664
|
function o(p) {
|
|
@@ -2672,19 +2673,19 @@ function ke(n, e, t) {
|
|
|
2672
2673
|
return (u.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
|
|
2673
2674
|
const l = o(p.slice(1));
|
|
2674
2675
|
typeof l == "string" && (n = n.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (h, c) => `${l}${c}`).trim());
|
|
2675
|
-
}), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n =
|
|
2676
|
+
}), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n = be(n, { separator: t }, t)), n;
|
|
2676
2677
|
}
|
|
2677
|
-
async function
|
|
2678
|
+
async function Oi(n) {
|
|
2678
2679
|
const e = {
|
|
2679
2680
|
tag: n.tagName.toLowerCase(),
|
|
2680
|
-
props: await
|
|
2681
|
+
props: await Lt(
|
|
2681
2682
|
n.getAttributeNames().reduce((t, o) => ({ ...t, [o]: n.getAttribute(o) }), {})
|
|
2682
2683
|
),
|
|
2683
2684
|
innerHTML: n.innerHTML
|
|
2684
2685
|
};
|
|
2685
|
-
return e._d =
|
|
2686
|
+
return e._d = Dt(e), e;
|
|
2686
2687
|
}
|
|
2687
|
-
async function
|
|
2688
|
+
async function Hi(n, e = {}) {
|
|
2688
2689
|
const t = e.document || n.resolvedOptions.document;
|
|
2689
2690
|
if (!t)
|
|
2690
2691
|
return;
|
|
@@ -2693,7 +2694,7 @@ async function Li(n, e = {}) {
|
|
|
2693
2694
|
return;
|
|
2694
2695
|
const u = (await n.resolveTags()).map((m) => ({
|
|
2695
2696
|
tag: m,
|
|
2696
|
-
id:
|
|
2697
|
+
id: _e.includes(m.tag) ? pt(m) : m.tag,
|
|
2697
2698
|
shouldRender: !0
|
|
2698
2699
|
}));
|
|
2699
2700
|
let r = n._dom;
|
|
@@ -2703,18 +2704,18 @@ async function Li(n, e = {}) {
|
|
|
2703
2704
|
};
|
|
2704
2705
|
for (const m of ["body", "head"]) {
|
|
2705
2706
|
const g = t?.[m]?.children;
|
|
2706
|
-
for (const k of [...g].filter((
|
|
2707
|
-
r.elMap[k.getAttribute("data-hid") ||
|
|
2707
|
+
for (const k of [...g].filter((s) => _e.includes(s.tagName.toLowerCase())))
|
|
2708
|
+
r.elMap[k.getAttribute("data-hid") || pt(await Oi(k))] = k;
|
|
2708
2709
|
}
|
|
2709
2710
|
}
|
|
2710
2711
|
r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
|
|
2711
2712
|
function p(m, g, k) {
|
|
2712
|
-
const
|
|
2713
|
-
r.sideEffects[
|
|
2713
|
+
const s = `${m}:${g}`;
|
|
2714
|
+
r.sideEffects[s] = k, delete r.pendingSideEffects[s];
|
|
2714
2715
|
}
|
|
2715
2716
|
function l({ id: m, $el: g, tag: k }) {
|
|
2716
|
-
const
|
|
2717
|
-
r.elMap[m] = g,
|
|
2717
|
+
const s = k.tag.endsWith("Attrs");
|
|
2718
|
+
r.elMap[m] = g, s || (["textContent", "innerHTML"].forEach((_) => {
|
|
2718
2719
|
k[_] && k[_] !== g[_] && (g[_] = k[_]);
|
|
2719
2720
|
}), p(m, "el", () => {
|
|
2720
2721
|
r.elMap[m].remove(), delete r.elMap[m];
|
|
@@ -2722,9 +2723,9 @@ async function Li(n, e = {}) {
|
|
|
2722
2723
|
const f = `attr:${_}`;
|
|
2723
2724
|
if (_ === "class")
|
|
2724
2725
|
for (const i of (b || "").split(" ").filter(Boolean))
|
|
2725
|
-
|
|
2726
|
+
s && p(m, `${f}:${i}`, () => g.classList.remove(i)), !g.classList.contains(i) && g.classList.add(i);
|
|
2726
2727
|
else
|
|
2727
|
-
g.getAttribute(_) !== b && g.setAttribute(_, b === !0 ? "" : String(b)),
|
|
2728
|
+
g.getAttribute(_) !== b && g.setAttribute(_, b === !0 ? "" : String(b)), s && p(m, f, () => g.removeAttribute(_));
|
|
2728
2729
|
});
|
|
2729
2730
|
}
|
|
2730
2731
|
const h = [], c = {
|
|
@@ -2733,13 +2734,13 @@ async function Li(n, e = {}) {
|
|
|
2733
2734
|
head: void 0
|
|
2734
2735
|
};
|
|
2735
2736
|
for (const m of u) {
|
|
2736
|
-
const { tag: g, shouldRender: k, id:
|
|
2737
|
+
const { tag: g, shouldRender: k, id: s } = m;
|
|
2737
2738
|
if (k) {
|
|
2738
2739
|
if (g.tag === "title") {
|
|
2739
2740
|
t.title = g.textContent;
|
|
2740
2741
|
continue;
|
|
2741
2742
|
}
|
|
2742
|
-
m.$el = m.$el || r.elMap[
|
|
2743
|
+
m.$el = m.$el || r.elMap[s], m.$el ? l(m) : _e.includes(g.tag) && h.push(m);
|
|
2743
2744
|
}
|
|
2744
2745
|
}
|
|
2745
2746
|
for (const m of h) {
|
|
@@ -2750,33 +2751,33 @@ async function Li(n, e = {}) {
|
|
|
2750
2751
|
await n.hooks.callHook("dom:renderTag", m, t, p);
|
|
2751
2752
|
c.head && t.head.appendChild(c.head), c.bodyOpen && t.body.insertBefore(c.bodyOpen, t.body.firstChild), c.bodyClose && t.body.appendChild(c.bodyClose), Object.values(r.pendingSideEffects).forEach((m) => m()), n._dom = r, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: u });
|
|
2752
2753
|
}
|
|
2753
|
-
async function
|
|
2754
|
+
async function Ai(n, e = {}) {
|
|
2754
2755
|
const t = e.delayFn || ((o) => setTimeout(o, 10));
|
|
2755
2756
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((o) => t(async () => {
|
|
2756
|
-
await
|
|
2757
|
+
await Hi(n, e), delete n._domUpdatePromise, o();
|
|
2757
2758
|
}));
|
|
2758
2759
|
}
|
|
2759
2760
|
// @__NO_SIDE_EFFECTS__
|
|
2760
|
-
function
|
|
2761
|
+
function zi(n) {
|
|
2761
2762
|
return (e) => {
|
|
2762
2763
|
const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
2763
2764
|
return t && e.push(JSON.parse(t)), {
|
|
2764
2765
|
mode: "client",
|
|
2765
2766
|
hooks: {
|
|
2766
2767
|
"entries:updated": function(o) {
|
|
2767
|
-
|
|
2768
|
+
Ai(o, n);
|
|
2768
2769
|
}
|
|
2769
2770
|
}
|
|
2770
2771
|
};
|
|
2771
2772
|
};
|
|
2772
2773
|
}
|
|
2773
|
-
const
|
|
2774
|
+
const Mi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ri = {
|
|
2774
2775
|
hooks: {
|
|
2775
2776
|
"tag:normalise": function({ tag: n }) {
|
|
2776
2777
|
["hid", "vmid", "key"].forEach((o) => {
|
|
2777
2778
|
n.props[o] && (n.key = n.props[o], delete n.props[o]);
|
|
2778
2779
|
});
|
|
2779
|
-
const t =
|
|
2780
|
+
const t = Dt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
|
|
2780
2781
|
t && (n._d = t);
|
|
2781
2782
|
},
|
|
2782
2783
|
"tags:resolve": function(n) {
|
|
@@ -2785,7 +2786,7 @@ const Hi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2785
2786
|
const u = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, r = e[u];
|
|
2786
2787
|
if (r) {
|
|
2787
2788
|
let l = o?.tagDuplicateStrategy;
|
|
2788
|
-
if (!l &&
|
|
2789
|
+
if (!l && Mi.includes(o.tag) && (l = "merge"), l === "merge") {
|
|
2789
2790
|
const h = r.props;
|
|
2790
2791
|
["class", "style"].forEach((c) => {
|
|
2791
2792
|
o.props[c] && h[c] && (c === "style" && !h[c].endsWith(";") && (h[c] += ";"), o.props[c] = `${h[c]} ${o.props[c]}`);
|
|
@@ -2797,11 +2798,11 @@ const Hi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2797
2798
|
} else if (o._e === r._e) {
|
|
2798
2799
|
r._duped = r._duped || [], o._d = `${r._d}:${r._duped.length + 1}`, r._duped.push(o);
|
|
2799
2800
|
return;
|
|
2800
|
-
} else if (
|
|
2801
|
+
} else if (Ie(o) > Ie(r))
|
|
2801
2802
|
return;
|
|
2802
2803
|
}
|
|
2803
2804
|
const p = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
|
|
2804
|
-
if (
|
|
2805
|
+
if (_e.includes(o.tag) && p === 0) {
|
|
2805
2806
|
delete e[u];
|
|
2806
2807
|
return;
|
|
2807
2808
|
}
|
|
@@ -2814,7 +2815,7 @@ const Hi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2814
2815
|
}), n.tags = t, n.tags = n.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
|
|
2815
2816
|
}
|
|
2816
2817
|
}
|
|
2817
|
-
},
|
|
2818
|
+
}, Ni = {
|
|
2818
2819
|
mode: "server",
|
|
2819
2820
|
hooks: {
|
|
2820
2821
|
"tags:resolve": function(n) {
|
|
@@ -2828,20 +2829,20 @@ const Hi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
|
2828
2829
|
});
|
|
2829
2830
|
}
|
|
2830
2831
|
}
|
|
2831
|
-
},
|
|
2832
|
-
function
|
|
2832
|
+
}, Wi = ["script", "link", "bodyAttrs"];
|
|
2833
|
+
function Ui(n) {
|
|
2833
2834
|
const e = {}, t = {};
|
|
2834
2835
|
return Object.entries(n.props).forEach(([o, u]) => {
|
|
2835
|
-
o.startsWith("on") && typeof u == "function" ? (
|
|
2836
|
+
o.startsWith("on") && typeof u == "function" ? (wt.includes(o) && (e[o] = `this.dataset.${o} = true`), t[o] = u) : e[o] = u;
|
|
2836
2837
|
}), { props: e, eventHandlers: t };
|
|
2837
2838
|
}
|
|
2838
|
-
const
|
|
2839
|
+
const Fi = (n) => ({
|
|
2839
2840
|
hooks: {
|
|
2840
2841
|
"tags:resolve": function(e) {
|
|
2841
2842
|
for (const t of e.tags)
|
|
2842
|
-
if (
|
|
2843
|
-
const { props: o, eventHandlers: u } =
|
|
2844
|
-
t.props = o, Object.keys(u).length && ((t.props.src || t.props.href) && (t.key = t.key ||
|
|
2843
|
+
if (Wi.includes(t.tag)) {
|
|
2844
|
+
const { props: o, eventHandlers: u } = Ui(t);
|
|
2845
|
+
t.props = o, Object.keys(u).length && ((t.props.src || t.props.href) && (t.key = t.key || Qe(t.props.src || t.props.href)), t._eventHandlers = u);
|
|
2845
2846
|
}
|
|
2846
2847
|
},
|
|
2847
2848
|
"dom:renderTag": function(e, t, o) {
|
|
@@ -2858,7 +2859,7 @@ const Ni = (n) => ({
|
|
|
2858
2859
|
const g = (k) => {
|
|
2859
2860
|
p(k), m?.disconnect();
|
|
2860
2861
|
};
|
|
2861
|
-
r in e.$el.dataset ? g(new Event(r.replace("on", ""))) :
|
|
2862
|
+
r in e.$el.dataset ? g(new Event(r.replace("on", ""))) : wt.includes(r) && typeof MutationObserver < "u" ? (m = new MutationObserver((k) => {
|
|
2862
2863
|
k.some((_) => _.attributeName === `data-${r}`) && (g(new Event(r.replace("on", ""))), m?.disconnect());
|
|
2863
2864
|
}), m.observe(e.$el, {
|
|
2864
2865
|
attributes: !0
|
|
@@ -2868,58 +2869,58 @@ const Ni = (n) => ({
|
|
|
2868
2869
|
});
|
|
2869
2870
|
}
|
|
2870
2871
|
}
|
|
2871
|
-
}),
|
|
2872
|
+
}), qi = ["link", "style", "script", "noscript"], Gi = {
|
|
2872
2873
|
hooks: {
|
|
2873
2874
|
"tag:normalise": ({ tag: n }) => {
|
|
2874
|
-
n.key &&
|
|
2875
|
+
n.key && qi.includes(n.tag) && (n.props["data-hid"] = n._h = Qe(n.key));
|
|
2875
2876
|
}
|
|
2876
2877
|
}
|
|
2877
|
-
},
|
|
2878
|
+
}, ji = {
|
|
2878
2879
|
hooks: {
|
|
2879
2880
|
"tags:resolve": (n) => {
|
|
2880
2881
|
const e = (t) => n.tags.find((o) => o._d === t)?._p;
|
|
2881
|
-
for (const { prefix: t, offset: o } of
|
|
2882
|
+
for (const { prefix: t, offset: o } of wi)
|
|
2882
2883
|
for (const u of n.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(t))) {
|
|
2883
2884
|
const r = e(
|
|
2884
2885
|
u.tagPriority.replace(t, "")
|
|
2885
2886
|
);
|
|
2886
2887
|
typeof r < "u" && (u._p = r + o);
|
|
2887
2888
|
}
|
|
2888
|
-
n.tags.sort((t, o) => t._p - o._p).sort((t, o) =>
|
|
2889
|
+
n.tags.sort((t, o) => t._p - o._p).sort((t, o) => Ie(t) - Ie(o));
|
|
2889
2890
|
}
|
|
2890
2891
|
}
|
|
2891
|
-
},
|
|
2892
|
+
}, Yi = {
|
|
2892
2893
|
meta: "content",
|
|
2893
2894
|
link: "href",
|
|
2894
2895
|
htmlAttrs: "lang"
|
|
2895
|
-
},
|
|
2896
|
+
}, Qi = (n) => ({
|
|
2896
2897
|
hooks: {
|
|
2897
2898
|
"tags:resolve": (e) => {
|
|
2898
2899
|
const { tags: t } = e, o = t.find((l) => l.tag === "title")?.textContent, u = t.findIndex((l) => l.tag === "templateParams"), r = u !== -1 ? t[u].props : {}, p = r.separator || "|";
|
|
2899
|
-
delete r.separator, r.pageTitle =
|
|
2900
|
+
delete r.separator, r.pageTitle = be(r.pageTitle || o || "", r, p);
|
|
2900
2901
|
for (const l of t.filter((h) => h.processTemplateParams !== !1)) {
|
|
2901
|
-
const h =
|
|
2902
|
-
h && typeof l.props[h] == "string" ? l.props[h] =
|
|
2903
|
-
typeof l[c] == "string" && (l[c] =
|
|
2902
|
+
const h = Yi[l.tag];
|
|
2903
|
+
h && typeof l.props[h] == "string" ? l.props[h] = be(l.props[h], r, p) : (l.processTemplateParams === !0 || ["titleTemplate", "title"].includes(l.tag)) && ["innerHTML", "textContent"].forEach((c) => {
|
|
2904
|
+
typeof l[c] == "string" && (l[c] = be(l[c], r, p));
|
|
2904
2905
|
});
|
|
2905
2906
|
}
|
|
2906
2907
|
n._templateParams = r, n._separator = p, e.tags = t.filter((l) => l.tag !== "templateParams");
|
|
2907
2908
|
}
|
|
2908
2909
|
}
|
|
2909
|
-
}),
|
|
2910
|
+
}), Ki = {
|
|
2910
2911
|
hooks: {
|
|
2911
2912
|
"tags:resolve": (n) => {
|
|
2912
2913
|
const { tags: e } = n;
|
|
2913
2914
|
let t = e.findIndex((u) => u.tag === "titleTemplate");
|
|
2914
2915
|
const o = e.findIndex((u) => u.tag === "title");
|
|
2915
2916
|
if (o !== -1 && t !== -1) {
|
|
2916
|
-
const u =
|
|
2917
|
+
const u = ht(
|
|
2917
2918
|
e[t].textContent,
|
|
2918
2919
|
e[o].textContent
|
|
2919
2920
|
);
|
|
2920
2921
|
u !== null ? e[o].textContent = u || e[o].textContent : delete e[o];
|
|
2921
2922
|
} else if (t !== -1) {
|
|
2922
|
-
const u =
|
|
2923
|
+
const u = ht(
|
|
2923
2924
|
e[t].textContent
|
|
2924
2925
|
);
|
|
2925
2926
|
u !== null && (e[t].textContent = u, e[t].tag = "title", t = -1);
|
|
@@ -2929,16 +2930,16 @@ const Ni = (n) => ({
|
|
|
2929
2930
|
}
|
|
2930
2931
|
};
|
|
2931
2932
|
// @__NO_SIDE_EFFECTS__
|
|
2932
|
-
function
|
|
2933
|
-
const e =
|
|
2934
|
-
return e.use(/* @__PURE__ */
|
|
2933
|
+
function Ji(n = {}) {
|
|
2934
|
+
const e = Xi(n);
|
|
2935
|
+
return e.use(/* @__PURE__ */ zi()), e;
|
|
2935
2936
|
}
|
|
2936
|
-
function
|
|
2937
|
+
function gt(n, e) {
|
|
2937
2938
|
return !n || n === "server" && e || n === "client" && !e;
|
|
2938
2939
|
}
|
|
2939
|
-
function
|
|
2940
|
-
const e =
|
|
2941
|
-
e.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2940
|
+
function Xi(n = {}) {
|
|
2941
|
+
const e = Ei();
|
|
2942
|
+
e.addHooks(n.hooks || {}), n.document = n.document || (Vi ? document : void 0);
|
|
2942
2943
|
const t = !n.document, o = () => {
|
|
2943
2944
|
l.dirty = !0, e.callHook("entries:updated", l);
|
|
2944
2945
|
};
|
|
@@ -2953,7 +2954,7 @@ function Qi(n = {}) {
|
|
|
2953
2954
|
},
|
|
2954
2955
|
use(h) {
|
|
2955
2956
|
const c = typeof h == "function" ? h(l) : h;
|
|
2956
|
-
(!c.key || !p.some((m) => m.key === c.key)) && (p.push(c),
|
|
2957
|
+
(!c.key || !p.some((m) => m.key === c.key)) && (p.push(c), gt(c.mode, t) && e.addHooks(c.hooks || {}));
|
|
2957
2958
|
},
|
|
2958
2959
|
push(h, c) {
|
|
2959
2960
|
delete c?.head;
|
|
@@ -2962,7 +2963,7 @@ function Qi(n = {}) {
|
|
|
2962
2963
|
input: h,
|
|
2963
2964
|
...c
|
|
2964
2965
|
};
|
|
2965
|
-
return
|
|
2966
|
+
return gt(m.mode, t) && (r.push(m), o()), {
|
|
2966
2967
|
dispose() {
|
|
2967
2968
|
r = r.filter((g) => g._i !== m._i), e.callHook("entries:updated", l), o();
|
|
2968
2969
|
},
|
|
@@ -2978,7 +2979,7 @@ function Qi(n = {}) {
|
|
|
2978
2979
|
for (const c of h.entries) {
|
|
2979
2980
|
const m = c.resolvedInput || c.input;
|
|
2980
2981
|
if (c.resolvedInput = await (c.transform ? c.transform(m) : m), c.resolvedInput)
|
|
2981
|
-
for (const g of await
|
|
2982
|
+
for (const g of await Li(c)) {
|
|
2982
2983
|
const k = { tag: g, entry: c, resolvedOptions: l.resolvedOptions };
|
|
2983
2984
|
await e.callHook("tag:normalise", k), h.tags.push(k.tag);
|
|
2984
2985
|
}
|
|
@@ -2988,55 +2989,55 @@ function Qi(n = {}) {
|
|
|
2988
2989
|
ssr: t
|
|
2989
2990
|
};
|
|
2990
2991
|
return [
|
|
2991
|
-
|
|
2992
|
-
zi,
|
|
2992
|
+
Ri,
|
|
2993
2993
|
Ni,
|
|
2994
|
-
Ui,
|
|
2995
2994
|
Fi,
|
|
2996
2995
|
Gi,
|
|
2997
2996
|
ji,
|
|
2997
|
+
Qi,
|
|
2998
|
+
Ki,
|
|
2998
2999
|
...n?.plugins || []
|
|
2999
3000
|
].forEach((h) => l.use(h)), l.hooks.callHook("init", l), l;
|
|
3000
3001
|
}
|
|
3001
|
-
const
|
|
3002
|
-
function
|
|
3003
|
-
return typeof n == "function" ? n() :
|
|
3002
|
+
const Zi = ko.startsWith("3");
|
|
3003
|
+
function er(n) {
|
|
3004
|
+
return typeof n == "function" ? n() : a(n);
|
|
3004
3005
|
}
|
|
3005
3006
|
function qe(n, e = "") {
|
|
3006
3007
|
if (n instanceof Promise)
|
|
3007
3008
|
return n;
|
|
3008
|
-
const t =
|
|
3009
|
+
const t = er(n);
|
|
3009
3010
|
return !n || !t ? t : Array.isArray(t) ? t.map((o) => qe(o, e)) : typeof t == "object" ? Object.fromEntries(
|
|
3010
|
-
Object.entries(t).map(([o, u]) => o === "titleTemplate" || o.startsWith("on") ? [o,
|
|
3011
|
+
Object.entries(t).map(([o, u]) => o === "titleTemplate" || o.startsWith("on") ? [o, a(u)] : [o, qe(u, o)])
|
|
3011
3012
|
) : t;
|
|
3012
3013
|
}
|
|
3013
|
-
const
|
|
3014
|
+
const tr = {
|
|
3014
3015
|
hooks: {
|
|
3015
3016
|
"entries:resolve": function(n) {
|
|
3016
3017
|
for (const e of n.entries)
|
|
3017
3018
|
e.resolvedInput = qe(e.input);
|
|
3018
3019
|
}
|
|
3019
3020
|
}
|
|
3020
|
-
},
|
|
3021
|
-
function
|
|
3021
|
+
}, or = "usehead";
|
|
3022
|
+
function nr(n) {
|
|
3022
3023
|
return {
|
|
3023
3024
|
install(t) {
|
|
3024
|
-
|
|
3025
|
+
Zi && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(or, n));
|
|
3025
3026
|
}
|
|
3026
3027
|
}.install;
|
|
3027
3028
|
}
|
|
3028
|
-
function
|
|
3029
|
-
n.domDelayFn = n.domDelayFn || ((t) =>
|
|
3030
|
-
const e = /* @__PURE__ */
|
|
3031
|
-
return e.use(
|
|
3029
|
+
function ir(n = {}) {
|
|
3030
|
+
n.domDelayFn = n.domDelayFn || ((t) => It(() => setTimeout(() => t(), 0)));
|
|
3031
|
+
const e = /* @__PURE__ */ Ji(n);
|
|
3032
|
+
return e.use(tr), e.install = nr(e), e;
|
|
3032
3033
|
}
|
|
3033
|
-
const
|
|
3034
|
-
oe.use(
|
|
3035
|
-
oe.use(
|
|
3036
|
-
oe.use(
|
|
3037
|
-
oe.use(
|
|
3038
|
-
oe.use(
|
|
3039
|
-
oe.use(
|
|
3040
|
-
oe.use(
|
|
3041
|
-
oe.use(
|
|
3034
|
+
const rr = xo(), sr = ir(), ar = Io(), oe = Eo({ components: { Hotel: ai } });
|
|
3035
|
+
oe.use(sr);
|
|
3036
|
+
oe.use(rr);
|
|
3037
|
+
oe.use(ar);
|
|
3038
|
+
oe.use(Vt);
|
|
3039
|
+
oe.use(No);
|
|
3040
|
+
oe.use(To);
|
|
3041
|
+
oe.use(Oo);
|
|
3042
|
+
oe.use($o, { bootstrap: !0 });
|
|
3042
3043
|
oe.mount("#konnectio-hotel-app");
|