@konnectio/core 4.0.18 → 4.0.20
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-11f4ccee.cjs +1 -0
- package/dist/ActionField-b64a1572.js +100 -0
- package/dist/ActionField-b64a1572.js.br +0 -0
- package/dist/AvailabilitySkeleton-7e2eb59c.js +223 -0
- package/dist/AvailabilitySkeleton-7e2eb59c.js.br +0 -0
- package/dist/AvailabilitySkeleton-7ffbfe43.cjs +1 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-d1a56eb0.js → DateField.vue_vue_type_style_index_0_lang-02fb5e5b.js} +2227 -2226
- package/dist/DateField.vue_vue_type_style_index_0_lang-02fb5e5b.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-c71c3980.cjs +5 -0
- package/dist/{Field-03e6b847.js → Field-b1950c55.js} +5 -5
- package/dist/Field-b1950c55.js.br +0 -0
- package/dist/{Field-a7c1ed62.cjs → Field-efcdcec2.cjs} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-4edef708.cjs +1 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-d5f3da80.js +116 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-d5f3da80.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-51defa22.js → SelectField.vue_vue_type_style_index_0_lang-3fb22f7d.js} +4696 -4499
- package/dist/SelectField.vue_vue_type_style_index_0_lang-3fb22f7d.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-03794d02.cjs → SelectField.vue_vue_type_style_index_0_lang-5d0dffb8.cjs} +46 -46
- package/dist/{ThankYou-3ab29b45.cjs → ThankYou-74362b99.cjs} +2 -2
- package/dist/{ThankYou-f4945877.js → ThankYou-aa12ca2d.js} +18 -12
- package/dist/ThankYou-aa12ca2d.js.br +0 -0
- package/dist/{_-917dcead.cjs → _-29774432.cjs} +1 -1
- package/dist/{_-0787261e.js → _-4e24cc83.js} +9 -9
- package/dist/_-4e24cc83.js.br +0 -0
- package/dist/assets/typescript/mixins.d.ts +1 -0
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +1 -1
- package/dist/components/forms/MultiStepForm.vue.d.ts +1 -1
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/components/inputs/grouped/ActionField.vue.d.ts +1 -1
- package/dist/components/inputs/grouped/NameField.vue.d.ts +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/components/listings/Hotel.vue.d.ts +1 -1
- package/dist/event-35c4accb.cjs +1 -0
- package/dist/{event-208206cf.js → event-9664d920.js} +9 -9
- package/dist/event-9664d920.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +144 -145
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +25 -26
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +36 -37
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +720 -687
- package/dist/hotel.js.br +0 -0
- package/dist/{index-5e1ea6f0.js → index-61423a7a.js} +1 -1
- package/dist/index-61423a7a.js.br +0 -0
- package/dist/{index-7ef3288b.cjs → index-c6a01479.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/hotel.d.ts +4 -1
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/ActionField-25ef64cf.js +0 -163
- package/dist/ActionField-25ef64cf.js.br +0 -0
- package/dist/ActionField-86389dfe.cjs +0 -1
- package/dist/AvailabilitySkeleton-3bb4b572.js +0 -200
- package/dist/AvailabilitySkeleton-3bb4b572.js.br +0 -0
- package/dist/AvailabilitySkeleton-a72464a1.cjs +0 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-d1a56eb0.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-f99302dc.cjs +0 -5
- package/dist/Field-03e6b847.js.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-94fa5765.js +0 -194
- package/dist/NumberField.vue_vue_type_style_index_0_lang-94fa5765.js.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-a779a531.cjs +0 -1
- package/dist/SelectField.vue_vue_type_style_index_0_lang-51defa22.js.br +0 -0
- package/dist/ThankYou-f4945877.js.br +0 -0
- package/dist/_-0787261e.js.br +0 -0
- package/dist/applyGiftCard-ba1da572.cjs +0 -1
- package/dist/applyGiftCard-f2282bd2.js +0 -53
- package/dist/applyGiftCard-f2282bd2.js.br +0 -0
- package/dist/event-07ba3a0e.cjs +0 -1
- package/dist/event-208206cf.js.br +0 -0
- package/dist/index-5e1ea6f0.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,89 +1,88 @@
|
|
|
1
|
-
import { h as oe,
|
|
2
|
-
import { s as
|
|
3
|
-
import { R as
|
|
4
|
-
import { u as
|
|
5
|
-
import { A as
|
|
6
|
-
import { _ as
|
|
7
|
-
import "./
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import "./
|
|
11
|
-
|
|
12
|
-
const tt = /* @__PURE__ */ oe({
|
|
1
|
+
import { h as oe, z as ve, aB as eo, s as te, a as ye, k as I, l as H, W as to, n as r, w, a9 as De, x as b, A as D, G as de, Y as et, aC as oo, q as V, a3 as F, a2 as N, t as A, aD as Ge, a5 as Oe, m as $, D as ee, F as Y, d as no, c as K, y as Pe, ad as tt, ae as He, _ as ce, r as Te, aA as io, o as Ke, a1 as Ce, v as $e, j as ot, T as ue, I as ro, ay as so, u as ao, K as lo, C as me, aE as se, H as nt, B as W, J as uo, ah as yt, aF as co, P as po, a8 as ho, N as fo, Q as mo } from "./SelectField.vue_vue_type_style_index_0_lang-3fb22f7d.js";
|
|
2
|
+
import { s as go, e as it, C as j, P as vo, a as yo, S as bo, i as _o } from "./index-61423a7a.js";
|
|
3
|
+
import { R as ko, _ as Eo, B as Io, S as To, M as Co, T as $o, x as Vo } from "./ThankYou-aa12ca2d.js";
|
|
4
|
+
import { u as bt, a as ge, _ as Po } from "./DateField.vue_vue_type_style_index_0_lang-02fb5e5b.js";
|
|
5
|
+
import { A as So, H as xo } from "./AvailabilitySkeleton-7e2eb59c.js";
|
|
6
|
+
import { _ as Lo } from "./NumberField.vue_vue_type_script_setup_true_lang-d5f3da80.js";
|
|
7
|
+
import { E as J } from "./_-4e24cc83.js";
|
|
8
|
+
import { c as _t, a as kt } from "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
+
import "./ActionField-b64a1572.js";
|
|
10
|
+
import "./Field-b1950c55.js";
|
|
11
|
+
const we = /* @__PURE__ */ oe({
|
|
13
12
|
__name: "HotelReservationForm",
|
|
14
13
|
props: {
|
|
15
14
|
showGiftCard: { type: Boolean, default: !1 },
|
|
16
15
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
17
16
|
},
|
|
18
17
|
setup(n) {
|
|
19
|
-
const { t } =
|
|
18
|
+
const { t } = ve(), e = eo(), {
|
|
20
19
|
hideArrivalDepartureInputs: o,
|
|
21
20
|
disableArrivalUserSelection: d,
|
|
22
21
|
disableDepartureUserSelection: s,
|
|
23
22
|
arrivalDefault: h,
|
|
24
23
|
departureDefault: u,
|
|
25
24
|
currency: p
|
|
26
|
-
} = te(
|
|
25
|
+
} = te(ye()), {
|
|
27
26
|
arrivalDate: a,
|
|
28
27
|
departureDate: g
|
|
29
|
-
} = te(
|
|
28
|
+
} = te(bt()), {
|
|
30
29
|
arrivalTime: m,
|
|
31
|
-
departureTime:
|
|
30
|
+
departureTime: _,
|
|
32
31
|
roomDisplay: l,
|
|
33
32
|
templateID: y,
|
|
34
|
-
totalPrice:
|
|
33
|
+
totalPrice: k,
|
|
35
34
|
areListingsLoading: f
|
|
36
|
-
} = te(
|
|
35
|
+
} = te(ge()), { removeRoom: i } = ge();
|
|
37
36
|
function c(v) {
|
|
38
|
-
return v.reduce((T, { totalPrice:
|
|
37
|
+
return v.reduce((T, { totalPrice: P }) => T + P, 0);
|
|
39
38
|
}
|
|
40
|
-
return (v, E) => (I(), H(
|
|
41
|
-
"total-price": r(
|
|
39
|
+
return (v, E) => (I(), H(ko, {
|
|
40
|
+
"total-price": r(k),
|
|
42
41
|
"show-gift-card": v.showGiftCard,
|
|
43
42
|
"show-terms-notice": v.showTermsNotice,
|
|
44
43
|
"is-sidebar-loading": r(f),
|
|
45
44
|
notice: r(t)("hotel.reservationNotice")
|
|
46
|
-
},
|
|
45
|
+
}, to({
|
|
47
46
|
form: w(() => [
|
|
48
47
|
De(v.$slots, "form")
|
|
49
48
|
]),
|
|
50
49
|
"reservation-summary": w(() => [
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
b("li", null, [
|
|
51
|
+
b("span", null, D(r(t)("booking.reservation.arrival")), 1),
|
|
52
|
+
b("b", null, D(r(o) ? r(de)(r(a)) : `${r(de)(r(a))}, ${r(d) ? r(h) : r(m)}`), 1)
|
|
54
53
|
]),
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
b("li", null, [
|
|
55
|
+
b("span", null, D(r(t)("booking.reservation.departure")), 1),
|
|
56
|
+
b("b", null, D(r(o) ? r(de)(r(g)) : `${r(de)(r(g))}, ${r(s) ? r(u) : r(_)}`), 1)
|
|
58
57
|
]),
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
b("li", null, [
|
|
59
|
+
b("span", null, D(r(t)("booking.reservation.nights")), 1),
|
|
60
|
+
b("b", null, D(r(et)(r(a), r(g))) + " " + D(r(oo)(r(et)(r(a), r(g)) === 1 ? r(t)("booking.reservation.night") : r(t)("booking.reservation.nights"))), 1)
|
|
62
61
|
])
|
|
63
62
|
]),
|
|
64
63
|
"price-summary": w(() => [
|
|
65
64
|
isNaN(r(y)) && r(l).length > 0 ? (I(!0), V(N, { key: 0 }, F(r(l), ({
|
|
66
65
|
roomGroupID: T,
|
|
67
|
-
title:
|
|
66
|
+
title: P,
|
|
68
67
|
variants: O
|
|
69
68
|
}) => (I(), V("div", { key: T }, [
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
b("h6", null, [
|
|
70
|
+
b("span", null, D(P), 1)
|
|
72
71
|
]),
|
|
73
72
|
(I(!0), V(N, null, F(O, (B, U) => (I(), V("div", { key: U }, [
|
|
74
73
|
A("", !0),
|
|
75
|
-
(I(!0), V(N, null, F(B.rooms, (x,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
(I(!0), V(N, null, F(B.rooms, (x, G) => (I(), V("ul", { key: G }, [
|
|
75
|
+
b("li", null, [
|
|
76
|
+
b("span", null, [
|
|
77
|
+
b("span", null, D(r(Ge)(B.name)), 1),
|
|
78
|
+
b("span", null, [
|
|
80
79
|
Oe("( "),
|
|
81
80
|
$(ee, {
|
|
82
81
|
icon: "male",
|
|
83
82
|
type: "fas",
|
|
84
83
|
color: "font"
|
|
85
84
|
}),
|
|
86
|
-
|
|
85
|
+
b("span", null, D(x.adultsCount), 1),
|
|
87
86
|
Oe(") "),
|
|
88
87
|
x.childrenCount > 0 ? (I(), V(N, { key: 0 }, [
|
|
89
88
|
$(ee, {
|
|
@@ -91,19 +90,19 @@ const tt = /* @__PURE__ */ oe({
|
|
|
91
90
|
type: "fas",
|
|
92
91
|
color: "font"
|
|
93
92
|
}),
|
|
94
|
-
|
|
93
|
+
b("span", null, D(x.childrenCount), 1),
|
|
95
94
|
Oe(") ")
|
|
96
95
|
], 64)) : A("", !0)
|
|
97
96
|
])
|
|
98
97
|
]),
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
b("b", null, [
|
|
99
|
+
b("span", null, D(r(Y)(x.totalPrice, r(p))), 1),
|
|
101
100
|
A("", !0)
|
|
102
101
|
])
|
|
103
102
|
]),
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
103
|
+
b("li", null, [
|
|
104
|
+
b("span", null, D(r(t)("booking.reservation.addons")), 1),
|
|
105
|
+
b("b", null, D(r(Y)(c(x.roomAddons), r(p))), 1)
|
|
107
106
|
])
|
|
108
107
|
]))), 128))
|
|
109
108
|
]))), 128))
|
|
@@ -123,13 +122,13 @@ const tt = /* @__PURE__ */ oe({
|
|
|
123
122
|
} : void 0
|
|
124
123
|
]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
125
124
|
}
|
|
126
|
-
}),
|
|
125
|
+
}), Do = no("tracking", () => {
|
|
127
126
|
const {
|
|
128
127
|
enableTracking: n,
|
|
129
128
|
googleApiKey: t
|
|
130
|
-
} = te(
|
|
129
|
+
} = te(ye());
|
|
131
130
|
function e() {
|
|
132
|
-
console.log("Tracking"), console.log(t),
|
|
131
|
+
console.log("Tracking"), console.log(t), go({
|
|
133
132
|
config: {
|
|
134
133
|
id: t.value,
|
|
135
134
|
params: {
|
|
@@ -139,19 +138,19 @@ const tt = /* @__PURE__ */ oe({
|
|
|
139
138
|
enabled: n.value
|
|
140
139
|
});
|
|
141
140
|
}
|
|
142
|
-
function o({ id: p, name: a, value: g, label: m, category:
|
|
141
|
+
function o({ id: p, name: a, value: g, label: m, category: _ = "general" }) {
|
|
143
142
|
return {
|
|
144
143
|
items: [{
|
|
145
144
|
id: p,
|
|
146
145
|
name: a
|
|
147
146
|
}],
|
|
148
147
|
event_label: m,
|
|
149
|
-
event_category:
|
|
148
|
+
event_category: _,
|
|
150
149
|
value: g
|
|
151
150
|
};
|
|
152
151
|
}
|
|
153
152
|
function d(p, a) {
|
|
154
|
-
|
|
153
|
+
it(p, o(a));
|
|
155
154
|
}
|
|
156
155
|
function s(p, a, g) {
|
|
157
156
|
d("add_to_cart", {
|
|
@@ -172,7 +171,7 @@ const tt = /* @__PURE__ */ oe({
|
|
|
172
171
|
});
|
|
173
172
|
}
|
|
174
173
|
function u(p) {
|
|
175
|
-
|
|
174
|
+
it("view_item", {
|
|
176
175
|
items: [{
|
|
177
176
|
name: p
|
|
178
177
|
//: getRoomName(props.listingId)
|
|
@@ -185,8 +184,8 @@ const tt = /* @__PURE__ */ oe({
|
|
|
185
184
|
addToCart: s,
|
|
186
185
|
removeFromCart: h
|
|
187
186
|
};
|
|
188
|
-
}),
|
|
189
|
-
const
|
|
187
|
+
}), Oo = { key: 0 }, Ho = { style: { display: "flex", "align-items": "baseline" } }, wo = { key: 0 };
|
|
188
|
+
const Ao = /* @__PURE__ */ oe({
|
|
190
189
|
__name: "RoomConfigField",
|
|
191
190
|
props: {
|
|
192
191
|
modelValue: {},
|
|
@@ -197,7 +196,7 @@ const wo = /* @__PURE__ */ oe({
|
|
|
197
196
|
},
|
|
198
197
|
emits: ["update:modelValue"],
|
|
199
198
|
setup(n, { emit: t }) {
|
|
200
|
-
const { currency: e } = te(
|
|
199
|
+
const { currency: e } = te(ye()), o = t, d = n;
|
|
201
200
|
function s(u) {
|
|
202
201
|
o("update:modelValue", u);
|
|
203
202
|
}
|
|
@@ -205,7 +204,7 @@ const wo = /* @__PURE__ */ oe({
|
|
|
205
204
|
get: () => d.modelValue,
|
|
206
205
|
set: (u) => s(u)
|
|
207
206
|
});
|
|
208
|
-
return (u, p) => (I(), H(
|
|
207
|
+
return (u, p) => (I(), H(Pe, {
|
|
209
208
|
modelValue: h.value,
|
|
210
209
|
"onUpdate:modelValue": p[0] || (p[0] = (a) => h.value = a),
|
|
211
210
|
label: u.label,
|
|
@@ -217,37 +216,37 @@ const wo = /* @__PURE__ */ oe({
|
|
|
217
216
|
required: u.required
|
|
218
217
|
}, {
|
|
219
218
|
option: w(({ data: a }) => [
|
|
220
|
-
|
|
219
|
+
b("span", null, [
|
|
221
220
|
$(ee, {
|
|
222
221
|
icon: "male",
|
|
223
222
|
type: "fas"
|
|
224
223
|
}),
|
|
225
|
-
|
|
224
|
+
b("span", null, D(`${a.adults}`), 1)
|
|
226
225
|
]),
|
|
227
|
-
a.children > 0 ? (I(), V("span",
|
|
226
|
+
a.children > 0 ? (I(), V("span", Oo, [
|
|
228
227
|
$(ee, {
|
|
229
228
|
icon: "child",
|
|
230
229
|
type: "fas"
|
|
231
230
|
}),
|
|
232
|
-
|
|
231
|
+
b("span", null, D(`${a.children}`), 1)
|
|
233
232
|
])) : A("", !0),
|
|
234
|
-
|
|
233
|
+
b("span", null, D(`(${r(Y)(a.price, r(e))})`), 1)
|
|
235
234
|
]),
|
|
236
235
|
"selected-option": w(({ data: a }) => [
|
|
237
|
-
|
|
238
|
-
|
|
236
|
+
b("div", Ho, [
|
|
237
|
+
b("div", null, [
|
|
239
238
|
$(ee, {
|
|
240
239
|
icon: "male",
|
|
241
240
|
type: "fas"
|
|
242
241
|
}),
|
|
243
|
-
|
|
242
|
+
b("span", null, D(`${a.adults}`), 1)
|
|
244
243
|
]),
|
|
245
|
-
a.children > 0 ? (I(), V("div",
|
|
244
|
+
a.children > 0 ? (I(), V("div", wo, [
|
|
246
245
|
$(ee, {
|
|
247
246
|
icon: "child",
|
|
248
247
|
type: "fas"
|
|
249
248
|
}),
|
|
250
|
-
|
|
249
|
+
b("span", null, D(`${a.children}`), 1)
|
|
251
250
|
])) : A("", !0),
|
|
252
251
|
A("", !0)
|
|
253
252
|
])
|
|
@@ -255,17 +254,17 @@ const wo = /* @__PURE__ */ oe({
|
|
|
255
254
|
_: 1
|
|
256
255
|
}, 8, ["modelValue", "label", "options", "required"]));
|
|
257
256
|
}
|
|
258
|
-
}),
|
|
257
|
+
}), Bo = {
|
|
259
258
|
key: 0,
|
|
260
259
|
class: "fresh-booking-modal-facilities"
|
|
261
|
-
},
|
|
260
|
+
}, zo = {
|
|
262
261
|
class: "fresh-booking-modal-facilities-masonry",
|
|
263
262
|
"transition-duration": "0s",
|
|
264
263
|
"destroy-delay": 0,
|
|
265
264
|
"percent-position": !0,
|
|
266
265
|
"column-width": ".grid-sizer",
|
|
267
266
|
"item-selector": ".fresh-booking-modal-facility"
|
|
268
|
-
}, Mo = { class: "grid-sizer" },
|
|
267
|
+
}, Mo = { class: "grid-sizer" }, Ro = /* @__PURE__ */ oe({
|
|
269
268
|
__name: "Info",
|
|
270
269
|
props: {
|
|
271
270
|
title: {},
|
|
@@ -274,25 +273,25 @@ const wo = /* @__PURE__ */ oe({
|
|
|
274
273
|
},
|
|
275
274
|
setup(n) {
|
|
276
275
|
return (t, e) => {
|
|
277
|
-
const o =
|
|
278
|
-
return I(), H(
|
|
276
|
+
const o = tt("masonry-tile"), d = tt("masonry");
|
|
277
|
+
return I(), H(Eo, {
|
|
279
278
|
title: t.title,
|
|
280
279
|
description: t.description
|
|
281
280
|
}, {
|
|
282
281
|
default: w(() => [
|
|
283
|
-
t.facilities && t.facilities.length !== 0 ? (I(), V("div",
|
|
284
|
-
He((I(), V("ul",
|
|
285
|
-
He(
|
|
282
|
+
t.facilities && t.facilities.length !== 0 ? (I(), V("div", Bo, [
|
|
283
|
+
He((I(), V("ul", zo, [
|
|
284
|
+
He(b("div", Mo, null, 512), [
|
|
286
285
|
[o]
|
|
287
286
|
]),
|
|
288
287
|
(I(!0), V(N, null, F(t.facilities, ({ name: s, subFacilities: h }, u) => He((I(), V("li", {
|
|
289
288
|
key: u,
|
|
290
289
|
class: "fresh-booking-modal-facility"
|
|
291
290
|
}, [
|
|
292
|
-
|
|
293
|
-
|
|
291
|
+
b("h6", null, [
|
|
292
|
+
b("span", null, D(s), 1)
|
|
294
293
|
]),
|
|
295
|
-
|
|
294
|
+
b("ul", null, [
|
|
296
295
|
(I(!0), V(N, null, F(h, ({ name: p }, a) => (I(), V("li", { key: a }, D(p), 1))), 128))
|
|
297
296
|
])
|
|
298
297
|
])), [
|
|
@@ -308,15 +307,15 @@ const wo = /* @__PURE__ */ oe({
|
|
|
308
307
|
};
|
|
309
308
|
}
|
|
310
309
|
});
|
|
311
|
-
const
|
|
312
|
-
const
|
|
310
|
+
const Wo = /* @__PURE__ */ ce(Ro, [["__scopeId", "data-v-4e226a17"]]), No = { key: 1 }, Uo = { class: "fresh-booking-listing-config-body" }, Fo = { class: "fresh-booking-listing-units-body" };
|
|
311
|
+
const qo = /* @__PURE__ */ oe({
|
|
313
312
|
__name: "Hotel",
|
|
314
313
|
props: {
|
|
315
314
|
room: {},
|
|
316
315
|
layout: {}
|
|
317
316
|
},
|
|
318
317
|
setup(n) {
|
|
319
|
-
const { t } =
|
|
318
|
+
const { t } = ve(), e = n, o = Te([]);
|
|
320
319
|
function d(E) {
|
|
321
320
|
o.value[E].config.push({
|
|
322
321
|
id: NaN,
|
|
@@ -328,18 +327,18 @@ const Uo = /* @__PURE__ */ oe({
|
|
|
328
327
|
label: E.name,
|
|
329
328
|
value: E.id
|
|
330
329
|
}))), h = K(() => o.value.flatMap((E) => E.id));
|
|
331
|
-
K(() => s.value.filter((E) => !h.value.includes(E.value))), te(
|
|
332
|
-
const { roomSelect: u } = te(
|
|
330
|
+
K(() => s.value.filter((E) => !h.value.includes(E.value))), te(ye());
|
|
331
|
+
const { roomSelect: u } = te(ge()), { viewItem: p } = Do(), a = (E, T) => e.room.rates.find((P) => P.id === E)?.occupantRates.find((P) => P.index === T), g = K(() => e.room.rates.reduce(
|
|
333
332
|
(E, T) => E < T.rackRate ? E : T.rackRate,
|
|
334
333
|
1 / 0
|
|
335
|
-
)), m = K(() => e.room.rates.every((E) => E.isBreakfastIncluded === !0)),
|
|
334
|
+
)), m = K(() => e.room.rates.every((E) => E.isBreakfastIncluded === !0)), _ = (E, T) => a(E, T) ? a(E, T)?.rooms : null, l = (E) => e.room.rates.length > 0 ? e.room.rates.find((T) => T.id === E)?.occupantRates.map((T) => ({
|
|
336
335
|
value: T.index,
|
|
337
336
|
price: T.totalPrice,
|
|
338
337
|
adults: T.adultsCount,
|
|
339
338
|
children: T.childrenCount,
|
|
340
339
|
hasBreakfast: T.hasBreakfast
|
|
341
|
-
})) || [] : [], y = K(() => e.room.rates.length > 1), { open:
|
|
342
|
-
component:
|
|
340
|
+
})) || [] : [], y = K(() => e.room.rates.length > 1), { open: k, close: f } = io({
|
|
341
|
+
component: Wo,
|
|
343
342
|
attrs: {
|
|
344
343
|
title: e.room.title,
|
|
345
344
|
description: e.room.description,
|
|
@@ -350,7 +349,7 @@ const Uo = /* @__PURE__ */ oe({
|
|
|
350
349
|
}
|
|
351
350
|
});
|
|
352
351
|
function i() {
|
|
353
|
-
|
|
352
|
+
k(), p(e.room.title);
|
|
354
353
|
}
|
|
355
354
|
function c() {
|
|
356
355
|
y.value ? o.value.push({
|
|
@@ -369,20 +368,20 @@ const Uo = /* @__PURE__ */ oe({
|
|
|
369
368
|
}]
|
|
370
369
|
});
|
|
371
370
|
}
|
|
372
|
-
|
|
371
|
+
Ke(() => {
|
|
373
372
|
c();
|
|
374
373
|
});
|
|
375
374
|
const v = K(() => JSON.parse(JSON.stringify(o.value)));
|
|
376
|
-
return
|
|
377
|
-
T.length > 0 && E.forEach((
|
|
378
|
-
|
|
379
|
-
const x = B.units,
|
|
380
|
-
x !==
|
|
375
|
+
return Ce(v, (E, T) => {
|
|
376
|
+
T.length > 0 && E.forEach((P, O) => {
|
|
377
|
+
P.config.forEach((B, U) => {
|
|
378
|
+
const x = B.units, G = T[O].config[U].units;
|
|
379
|
+
x !== G && (x > G ? o.value[O].config[U].addons.push({}) : o.value[O].config[U].addons.pop());
|
|
381
380
|
});
|
|
382
381
|
});
|
|
383
|
-
}, { deep: !0 }),
|
|
382
|
+
}, { deep: !0 }), Ce(o, () => {
|
|
384
383
|
u.value[e.room.id] = o.value;
|
|
385
|
-
}, { deep: !0 }), (E, T) => (I(), H(
|
|
384
|
+
}, { deep: !0 }), (E, T) => (I(), H(Io, {
|
|
386
385
|
"listing-id": E.room.id,
|
|
387
386
|
gallery: E.room.images,
|
|
388
387
|
name: E.room.title,
|
|
@@ -394,29 +393,30 @@ const Uo = /* @__PURE__ */ oe({
|
|
|
394
393
|
callback: i
|
|
395
394
|
}, {
|
|
396
395
|
action: w(() => [
|
|
397
|
-
(I(!0), V(N, null, F(o.value, (
|
|
398
|
-
key:
|
|
396
|
+
(I(!0), V(N, null, F(o.value, (P, O) => (I(), V("div", {
|
|
397
|
+
key: P.id,
|
|
399
398
|
class: "freshbooking-hotel-room"
|
|
400
399
|
}, [
|
|
401
|
-
y.value ? (I(), H(
|
|
400
|
+
y.value ? (I(), H(Pe, {
|
|
402
401
|
key: 0,
|
|
403
|
-
modelValue:
|
|
404
|
-
"onUpdate:modelValue": (B) =>
|
|
402
|
+
modelValue: P.id,
|
|
403
|
+
"onUpdate:modelValue": (B) => P.id = B,
|
|
405
404
|
label: r(t)("hotel.roomVariant"),
|
|
406
405
|
placeholder: r(t)("hotel.chooseARoomVariant"),
|
|
407
|
-
options: s.value
|
|
406
|
+
options: s.value,
|
|
407
|
+
searchable: !1
|
|
408
408
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : A("", !0),
|
|
409
|
-
|
|
409
|
+
P.id ? (I(), V("div", No, [
|
|
410
410
|
(I(!0), V(N, null, F(E.room.rates, ({
|
|
411
411
|
id: B,
|
|
412
412
|
maximumAdults: U
|
|
413
413
|
}) => (I(), V("div", { key: B }, [
|
|
414
|
-
|
|
415
|
-
key:
|
|
414
|
+
P.id === B ? (I(!0), V(N, { key: 0 }, F(P.config, (x, G) => (I(), V("div", {
|
|
415
|
+
key: G,
|
|
416
416
|
class: "booking-availability-listing-action-selective"
|
|
417
417
|
}, [
|
|
418
|
-
|
|
419
|
-
(I(), H(
|
|
418
|
+
b("ul", Uo, [
|
|
419
|
+
(I(), H(Ao, {
|
|
420
420
|
key: 0,
|
|
421
421
|
modelValue: x.id,
|
|
422
422
|
"onUpdate:modelValue": (X) => x.id = X,
|
|
@@ -427,30 +427,30 @@ const Uo = /* @__PURE__ */ oe({
|
|
|
427
427
|
options: l(B)
|
|
428
428
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "options"]))
|
|
429
429
|
]),
|
|
430
|
-
|
|
431
|
-
$(
|
|
430
|
+
b("ul", Fo, [
|
|
431
|
+
$(Lo, {
|
|
432
432
|
modelValue: x.units,
|
|
433
433
|
"onUpdate:modelValue": (X) => x.units = X,
|
|
434
|
-
description: `Available units: ${
|
|
434
|
+
description: `Available units: ${_(P.id, x.id)}`,
|
|
435
435
|
icon: "house",
|
|
436
436
|
"icon-type": "fas",
|
|
437
437
|
"icon-placement": "label",
|
|
438
438
|
label: r(t)("booking.availability.units"),
|
|
439
439
|
minValue: 0,
|
|
440
|
-
"max-value":
|
|
440
|
+
"max-value": _(B, x.id) || 1 / 0
|
|
441
441
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
442
442
|
]),
|
|
443
443
|
A("", !0)
|
|
444
444
|
]))), 128)) : A("", !0)
|
|
445
445
|
]))), 128))
|
|
446
|
-
])
|
|
446
|
+
])) : A("", !0)
|
|
447
447
|
]))), 128))
|
|
448
448
|
]),
|
|
449
449
|
_: 1
|
|
450
450
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
451
451
|
}
|
|
452
452
|
});
|
|
453
|
-
const
|
|
453
|
+
const Go = /* @__PURE__ */ ce(qo, [["__scopeId", "data-v-0e887f8f"]]), rt = /* @__PURE__ */ oe({
|
|
454
454
|
__name: "TimeField",
|
|
455
455
|
props: {
|
|
456
456
|
modelValue: {},
|
|
@@ -479,10 +479,10 @@ const Fo = /* @__PURE__ */ ce(Uo, [["__scopeId", "data-v-06777084"]]), ot = /* @
|
|
|
479
479
|
function d(h) {
|
|
480
480
|
e("update:modelValue", h);
|
|
481
481
|
}
|
|
482
|
-
const s =
|
|
483
|
-
return
|
|
482
|
+
const s = Te(o.modelValue);
|
|
483
|
+
return Ce(s, (h) => {
|
|
484
484
|
d(h);
|
|
485
|
-
}), (h, u) => (I(), H(
|
|
485
|
+
}), (h, u) => (I(), H(Po, {
|
|
486
486
|
modelValue: s.value,
|
|
487
487
|
"onUpdate:modelValue": u[0] || (u[0] = (p) => s.value = p),
|
|
488
488
|
type: "time",
|
|
@@ -498,7 +498,7 @@ const Fo = /* @__PURE__ */ ce(Uo, [["__scopeId", "data-v-06777084"]]), ot = /* @
|
|
|
498
498
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
499
499
|
}
|
|
500
500
|
});
|
|
501
|
-
const
|
|
501
|
+
const jo = { style: { display: "flex", "align-items": "baseline" } }, Yo = /* @__PURE__ */ oe({
|
|
502
502
|
__name: "CountryField",
|
|
503
503
|
props: {
|
|
504
504
|
modelValue: {},
|
|
@@ -510,7 +510,7 @@ const qo = { style: { display: "flex", "align-items": "baseline" } }, Go = /* @_
|
|
|
510
510
|
},
|
|
511
511
|
emits: ["update:modelValue"],
|
|
512
512
|
setup(n, { emit: t }) {
|
|
513
|
-
const { t: e } =
|
|
513
|
+
const { t: e } = ve(), o = t, d = n;
|
|
514
514
|
function s(u) {
|
|
515
515
|
o("update:modelValue", u);
|
|
516
516
|
}
|
|
@@ -518,7 +518,7 @@ const qo = { style: { display: "flex", "align-items": "baseline" } }, Go = /* @_
|
|
|
518
518
|
get: () => d.modelValue,
|
|
519
519
|
set: (u) => s(u)
|
|
520
520
|
});
|
|
521
|
-
return (u, p) => (I(), H(
|
|
521
|
+
return (u, p) => (I(), H(Pe, {
|
|
522
522
|
modelValue: h.value,
|
|
523
523
|
"onUpdate:modelValue": p[0] || (p[0] = (a) => h.value = a),
|
|
524
524
|
label: u.label,
|
|
@@ -529,24 +529,24 @@ const qo = { style: { display: "flex", "align-items": "baseline" } }, Go = /* @_
|
|
|
529
529
|
required: u.required
|
|
530
530
|
}, {
|
|
531
531
|
option: w(({ data: a }) => [
|
|
532
|
-
|
|
533
|
-
class:
|
|
532
|
+
b("i", {
|
|
533
|
+
class: $e(["konnectio-flag-icon", a.iso])
|
|
534
534
|
}, null, 2),
|
|
535
|
-
|
|
535
|
+
b("span", null, D(a.name), 1)
|
|
536
536
|
]),
|
|
537
537
|
"selected-option": w(({ data: a }) => [
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
class:
|
|
538
|
+
b("div", jo, [
|
|
539
|
+
b("i", {
|
|
540
|
+
class: $e(["konnectio-flag-icon", a.iso])
|
|
541
541
|
}, null, 2),
|
|
542
|
-
|
|
542
|
+
b("span", null, D(a.name), 1)
|
|
543
543
|
])
|
|
544
544
|
]),
|
|
545
545
|
_: 1
|
|
546
546
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
547
547
|
}
|
|
548
548
|
});
|
|
549
|
-
const
|
|
549
|
+
const Ko = /* @__PURE__ */ ce(Yo, [["__scopeId", "data-v-1462612d"]]), Qo = /* @__PURE__ */ oe({
|
|
550
550
|
__name: "NameField",
|
|
551
551
|
props: {
|
|
552
552
|
modelValue: {},
|
|
@@ -568,17 +568,17 @@ const jo = /* @__PURE__ */ ce(Go, [["__scopeId", "data-v-1462612d"]]), Yo = /* @
|
|
|
568
568
|
},
|
|
569
569
|
emits: ["update:modelValue", "update:title"],
|
|
570
570
|
setup(n, { emit: t }) {
|
|
571
|
-
const e = n, o = t, d = e.id ||
|
|
571
|
+
const e = n, o = t, d = e.id || ot(), s = Te(""), h = Te(2);
|
|
572
572
|
function u() {
|
|
573
573
|
o("update:modelValue", s.value);
|
|
574
574
|
}
|
|
575
|
-
|
|
575
|
+
Ce(h, (a) => {
|
|
576
576
|
o("update:title", a);
|
|
577
577
|
});
|
|
578
|
-
const { t: p } =
|
|
579
|
-
return
|
|
578
|
+
const { t: p } = ve();
|
|
579
|
+
return Ke(() => {
|
|
580
580
|
e.modelValue && (s.value = e.modelValue), e.title && (h.value = e.title);
|
|
581
|
-
}), (a, g) => (I(), H(
|
|
581
|
+
}), (a, g) => (I(), H(ro, {
|
|
582
582
|
label: a.label,
|
|
583
583
|
id: r(d),
|
|
584
584
|
required: a.required,
|
|
@@ -587,17 +587,17 @@ const jo = /* @__PURE__ */ ce(Go, [["__scopeId", "data-v-1462612d"]]), Yo = /* @
|
|
|
587
587
|
limit: a.limit
|
|
588
588
|
}, {
|
|
589
589
|
default: w(() => [
|
|
590
|
-
|
|
591
|
-
class:
|
|
590
|
+
b("div", {
|
|
591
|
+
class: $e([
|
|
592
592
|
"fresh-booking-name-input",
|
|
593
593
|
{ "no-title": a.excludeTitle }
|
|
594
594
|
])
|
|
595
595
|
}, [
|
|
596
|
-
a.excludeTitle ? A("", !0) : (I(), H(
|
|
596
|
+
a.excludeTitle ? A("", !0) : (I(), H(Pe, {
|
|
597
597
|
key: 0,
|
|
598
598
|
modelValue: h.value,
|
|
599
599
|
"onUpdate:modelValue": g[0] || (g[0] = (m) => h.value = m),
|
|
600
|
-
id: r(
|
|
600
|
+
id: r(ot)(),
|
|
601
601
|
icon: a.icon,
|
|
602
602
|
"icon-color": a.iconColor,
|
|
603
603
|
"icon-type": a.iconType,
|
|
@@ -650,16 +650,16 @@ const jo = /* @__PURE__ */ ce(Go, [["__scopeId", "data-v-1462612d"]]), Yo = /* @
|
|
|
650
650
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
651
651
|
}
|
|
652
652
|
});
|
|
653
|
-
const
|
|
653
|
+
const Jo = /* @__PURE__ */ ce(Qo, [["__scopeId", "data-v-f17661ec"]]), Xo = { class: "hotel-listing" }, Zo = { class: "hotel-listing-content-gallery" }, en = { class: "hotel-listing-content-thumbs" }, tn = { class: "hotel-listing-content" }, on = { class: "hotel-listing-content-header" }, nn = { class: "hotel-listing-content-title" }, rn = { class: "hotel-listing-content-body" }, sn = { class: "hotel-listing-content-facilities" }, an = /* @__PURE__ */ oe({
|
|
654
654
|
__name: "Listing",
|
|
655
655
|
setup(n) {
|
|
656
|
-
return (t, e) => (I(), V("div",
|
|
657
|
-
|
|
656
|
+
return (t, e) => (I(), V("div", Xo, [
|
|
657
|
+
b("div", Zo, [
|
|
658
658
|
$(J, {
|
|
659
659
|
width: "280px",
|
|
660
660
|
height: "153px"
|
|
661
661
|
}),
|
|
662
|
-
|
|
662
|
+
b("div", en, [
|
|
663
663
|
(I(), V(N, null, F(3, (o) => $(J, {
|
|
664
664
|
key: o,
|
|
665
665
|
width: "84px",
|
|
@@ -667,9 +667,9 @@ const Ko = /* @__PURE__ */ ce(Yo, [["__scopeId", "data-v-5599e141"]]), Qo = { cl
|
|
|
667
667
|
})), 64))
|
|
668
668
|
])
|
|
669
669
|
]),
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
670
|
+
b("div", tn, [
|
|
671
|
+
b("div", on, [
|
|
672
|
+
b("div", nn, [
|
|
673
673
|
$(J, {
|
|
674
674
|
height: "30px",
|
|
675
675
|
width: "60%"
|
|
@@ -685,7 +685,7 @@ const Ko = /* @__PURE__ */ ce(Yo, [["__scopeId", "data-v-5599e141"]]), Qo = { cl
|
|
|
685
685
|
width: "25%"
|
|
686
686
|
})
|
|
687
687
|
]),
|
|
688
|
-
|
|
688
|
+
b("div", rn, [
|
|
689
689
|
$(J, { height: "15px" }),
|
|
690
690
|
$(J, { height: "15px" }),
|
|
691
691
|
$(J, { height: "15px" }),
|
|
@@ -695,7 +695,7 @@ const Ko = /* @__PURE__ */ ce(Yo, [["__scopeId", "data-v-5599e141"]]), Qo = { cl
|
|
|
695
695
|
width: "90%"
|
|
696
696
|
})
|
|
697
697
|
]),
|
|
698
|
-
|
|
698
|
+
b("div", sn, [
|
|
699
699
|
(I(), V(N, null, F(5, (o) => $(J, {
|
|
700
700
|
key: o,
|
|
701
701
|
height: "25px",
|
|
@@ -707,51 +707,51 @@ const Ko = /* @__PURE__ */ ce(Yo, [["__scopeId", "data-v-5599e141"]]), Qo = { cl
|
|
|
707
707
|
]));
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
|
-
const pe = /* @__PURE__ */ ce(
|
|
710
|
+
const pe = /* @__PURE__ */ ce(an, [["__scopeId", "data-v-5c132d7f"]]), ln = { class: "hotel-skeleton" }, un = { class: "hotel-skeleton-content" }, dn = { class: "hotel-skeleton-sidebar" }, cn = /* @__PURE__ */ oe({
|
|
711
711
|
__name: "HotelSkeleton",
|
|
712
712
|
setup(n) {
|
|
713
|
-
return (t, e) => (I(), V("div",
|
|
714
|
-
|
|
715
|
-
$(
|
|
713
|
+
return (t, e) => (I(), V("div", ln, [
|
|
714
|
+
b("div", un, [
|
|
715
|
+
$(So),
|
|
716
716
|
$(pe),
|
|
717
717
|
$(pe),
|
|
718
718
|
$(pe)
|
|
719
719
|
]),
|
|
720
|
-
|
|
721
|
-
$(
|
|
720
|
+
b("div", dn, [
|
|
721
|
+
$(To)
|
|
722
722
|
])
|
|
723
723
|
]));
|
|
724
724
|
}
|
|
725
725
|
});
|
|
726
|
-
const
|
|
726
|
+
const pn = /* @__PURE__ */ ce(cn, [["__scopeId", "data-v-4e50a5a1"]]), hn = { id: "booking-availability-container" }, fn = { id: "booking-availability-controls" }, mn = {
|
|
727
727
|
key: 0,
|
|
728
728
|
"sticky-container": ""
|
|
729
|
-
},
|
|
730
|
-
const
|
|
729
|
+
}, gn = { key: 0 }, vn = { key: 0 }, yn = { key: 0 };
|
|
730
|
+
const bn = { id: "booking-availability-listings" }, _n = {
|
|
731
731
|
key: 1,
|
|
732
732
|
id: "booking-availability-no-listings"
|
|
733
|
-
},
|
|
733
|
+
}, kn = {
|
|
734
734
|
key: 1,
|
|
735
735
|
id: "booking-availability-no-listings"
|
|
736
|
-
},
|
|
736
|
+
}, En = {
|
|
737
737
|
key: 2,
|
|
738
738
|
id: "reservation-availability-next-dates"
|
|
739
|
-
},
|
|
740
|
-
const
|
|
739
|
+
}, In = { class: "reservation-special-offers-grid" }, Tn = ["title"];
|
|
740
|
+
const Cn = {
|
|
741
741
|
key: 1,
|
|
742
742
|
class: "konnectio-listing-loading"
|
|
743
|
-
},
|
|
743
|
+
}, $n = { class: "fresh-booking-panel" }, Vn = { key: 1 }, Pn = { class: "fresh-booking-checkbox-spacing" }, Sn = ["onClick"], xn = { class: "fresh-booking-panel" }, Ln = { key: 0 }, Dn = { key: 1 }, On = { class: "fresh-booking-split-inputs" }, Hn = { key: 3 }, wn = { class: "fresh-booking-label" }, An = { class: "fresh-booking-checkbox-spacing" }, Bn = ["onClick"], zn = /* @__PURE__ */ oe({
|
|
744
744
|
name: "HotelLayout",
|
|
745
745
|
__name: "Hotel",
|
|
746
746
|
props: {
|
|
747
747
|
accessToken: {},
|
|
748
|
-
headerLayout: { default:
|
|
748
|
+
headerLayout: { default: so.Minimal },
|
|
749
749
|
layout: {},
|
|
750
750
|
packagesTitleMaxLines: { default: "2" },
|
|
751
751
|
styling: {}
|
|
752
752
|
},
|
|
753
753
|
setup(n) {
|
|
754
|
-
const t = n, { t: e } =
|
|
754
|
+
const t = n, { t: e } = ve(), {
|
|
755
755
|
templateID: o,
|
|
756
756
|
title: d,
|
|
757
757
|
countries: s,
|
|
@@ -761,159 +761,159 @@ const In = {
|
|
|
761
761
|
isReservationFormFilled: a,
|
|
762
762
|
selectedPackage: g,
|
|
763
763
|
travelingFor: m,
|
|
764
|
-
arrivalTime:
|
|
764
|
+
arrivalTime: _,
|
|
765
765
|
departureTime: l,
|
|
766
766
|
name: y,
|
|
767
|
-
nameTitle:
|
|
767
|
+
nameTitle: k,
|
|
768
768
|
email: f,
|
|
769
769
|
phone: i,
|
|
770
770
|
firmName: c,
|
|
771
771
|
postal: v,
|
|
772
772
|
city: E,
|
|
773
773
|
address: T,
|
|
774
|
-
country:
|
|
774
|
+
country: P,
|
|
775
775
|
remark: O,
|
|
776
776
|
allergies: B,
|
|
777
777
|
newsMails: U,
|
|
778
778
|
roomSelect: x,
|
|
779
|
-
roomDisplay:
|
|
779
|
+
roomDisplay: G,
|
|
780
780
|
hasValidRoomSelection: X,
|
|
781
781
|
//canStartReservation,
|
|
782
|
-
getSelectedPackageRoom:
|
|
782
|
+
getSelectedPackageRoom: Se,
|
|
783
783
|
availabilityData: he
|
|
784
|
-
} = te(
|
|
785
|
-
arrivalDate:
|
|
786
|
-
departureDate:
|
|
787
|
-
} = te(
|
|
784
|
+
} = te(ge()), {
|
|
785
|
+
arrivalDate: xt,
|
|
786
|
+
departureDate: Lt
|
|
787
|
+
} = te(bt()), {
|
|
788
788
|
currency: Z,
|
|
789
|
-
isRecaptchaEnabled:
|
|
790
|
-
disableNewsletterSignup:
|
|
791
|
-
arrivalEarliest:
|
|
792
|
-
arrivalLatest:
|
|
793
|
-
departureEarliest:
|
|
794
|
-
departureLatest:
|
|
795
|
-
enableTracking:
|
|
796
|
-
arrivalDefault:
|
|
797
|
-
departureDefault:
|
|
798
|
-
enablePackages:
|
|
799
|
-
hideArrivalDepartureInputs:
|
|
800
|
-
disableArrivalUserSelection:
|
|
801
|
-
disableNamePrefix:
|
|
802
|
-
disableDepartureUserSelection:
|
|
803
|
-
disableTravelingFor:
|
|
804
|
-
disableCompanyField:
|
|
805
|
-
} = te(
|
|
806
|
-
|
|
789
|
+
isRecaptchaEnabled: Ri,
|
|
790
|
+
disableNewsletterSignup: Dt,
|
|
791
|
+
arrivalEarliest: Ot,
|
|
792
|
+
arrivalLatest: Ht,
|
|
793
|
+
departureEarliest: wt,
|
|
794
|
+
departureLatest: At,
|
|
795
|
+
enableTracking: Wi,
|
|
796
|
+
arrivalDefault: Bt,
|
|
797
|
+
departureDefault: zt,
|
|
798
|
+
enablePackages: Ni,
|
|
799
|
+
hideArrivalDepartureInputs: Mt,
|
|
800
|
+
disableArrivalUserSelection: xe,
|
|
801
|
+
disableNamePrefix: Rt,
|
|
802
|
+
disableDepartureUserSelection: Le,
|
|
803
|
+
disableTravelingFor: Wt,
|
|
804
|
+
disableCompanyField: Nt
|
|
805
|
+
} = te(ye());
|
|
806
|
+
ao();
|
|
807
807
|
const {
|
|
808
|
-
initialize:
|
|
809
|
-
createReservation:
|
|
810
|
-
getSingleListing:
|
|
811
|
-
} =
|
|
808
|
+
initialize: Ut,
|
|
809
|
+
createReservation: Ft,
|
|
810
|
+
getSingleListing: Ui
|
|
811
|
+
} = ge(), qt = K(() => ({
|
|
812
812
|
inputBorderWidth: "0px 0px 1px",
|
|
813
813
|
inputBorderRadius: "6px",
|
|
814
814
|
inputBackground: "#f8f8f8",
|
|
815
815
|
inputFontColor: "#6b6b6b",
|
|
816
816
|
...t.styling
|
|
817
|
-
})),
|
|
818
|
-
parseInt(Lt.value.split(":")[0]),
|
|
819
|
-
parseInt(Dt.value.split(":")[0])
|
|
820
|
-
]]), qt = K(() => [[
|
|
817
|
+
})), Gt = K(() => [[
|
|
821
818
|
parseInt(Ot.value.split(":")[0]),
|
|
822
819
|
parseInt(Ht.value.split(":")[0])
|
|
820
|
+
]]), jt = K(() => [[
|
|
821
|
+
parseInt(wt.value.split(":")[0]),
|
|
822
|
+
parseInt(At.value.split(":")[0])
|
|
823
823
|
]]);
|
|
824
|
-
function
|
|
824
|
+
function Yt() {
|
|
825
825
|
o.value = NaN;
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function Ze(Q) {
|
|
828
828
|
Q();
|
|
829
829
|
}
|
|
830
|
-
function
|
|
831
|
-
|
|
830
|
+
function Kt(Q, L) {
|
|
831
|
+
Lt.value = new Date(L), xt.value = new Date(Q), location.reload();
|
|
832
832
|
}
|
|
833
|
-
async function
|
|
834
|
-
await
|
|
833
|
+
async function Qt(Q) {
|
|
834
|
+
await Ft(Q);
|
|
835
835
|
}
|
|
836
|
-
function
|
|
836
|
+
function Jt(Q) {
|
|
837
837
|
Q();
|
|
838
838
|
}
|
|
839
|
-
function
|
|
840
|
-
|
|
839
|
+
function Xt() {
|
|
840
|
+
_.value === "" && (_.value = Bt.value), l.value === "" && (l.value = zt.value);
|
|
841
841
|
}
|
|
842
|
-
return
|
|
843
|
-
|
|
844
|
-
}), (Q, L) => (I(), H(
|
|
842
|
+
return Ke(() => {
|
|
843
|
+
Ut(), Xt();
|
|
844
|
+
}), (Q, L) => (I(), H(lo, null, {
|
|
845
845
|
default: w(() => [
|
|
846
|
-
$(
|
|
846
|
+
$(uo, {
|
|
847
847
|
id: "fresh-booking-hotel-module",
|
|
848
848
|
"access-token": Q.accessToken,
|
|
849
849
|
type: "hotel",
|
|
850
|
-
styling:
|
|
850
|
+
styling: qt.value
|
|
851
851
|
}, {
|
|
852
852
|
default: w(() => [
|
|
853
|
-
$(
|
|
853
|
+
$(Co, {
|
|
854
854
|
title: r(d),
|
|
855
855
|
layout: Q.headerLayout
|
|
856
856
|
}, {
|
|
857
|
-
availability: w(({ next:
|
|
858
|
-
$(
|
|
857
|
+
availability: w(({ next: fe }) => [
|
|
858
|
+
$(we, null, {
|
|
859
859
|
form: w(() => [
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
$(
|
|
860
|
+
b("div", hn, [
|
|
861
|
+
b("div", fn, [
|
|
862
|
+
$(xo, { booking: !0 })
|
|
863
863
|
]),
|
|
864
|
-
r(h) ? (I(), V("div",
|
|
864
|
+
r(h) ? (I(), V("div", Cn, [
|
|
865
865
|
$(pe),
|
|
866
866
|
$(pe),
|
|
867
867
|
$(pe)
|
|
868
|
-
])) : (I(), V("div",
|
|
869
|
-
r(he).roomGroups.length > 0 ? (I(), V("div",
|
|
870
|
-
isNaN(r(o)) ? (I(), V("div",
|
|
871
|
-
r(he).roomGroups.length > 0 ? (I(), V("div",
|
|
868
|
+
])) : (I(), V("div", mn, [
|
|
869
|
+
r(he).roomGroups.length > 0 ? (I(), V("div", gn, [
|
|
870
|
+
isNaN(r(o)) ? (I(), V("div", vn, [
|
|
871
|
+
r(he).roomGroups.length > 0 ? (I(), V("div", yn, [
|
|
872
872
|
A("", !0),
|
|
873
|
-
|
|
874
|
-
(I(!0), V(N, null, F(r(he).roomGroups, (
|
|
875
|
-
room:
|
|
873
|
+
b("ul", bn, [
|
|
874
|
+
(I(!0), V(N, null, F(r(he).roomGroups, (q, C) => (I(), H(Go, {
|
|
875
|
+
room: q,
|
|
876
876
|
layout: Q.layout,
|
|
877
877
|
key: C
|
|
878
878
|
}, null, 8, ["room", "layout"]))), 128))
|
|
879
879
|
])
|
|
880
|
-
])) : (I(), V("div",
|
|
881
|
-
|
|
880
|
+
])) : (I(), V("div", _n, [
|
|
881
|
+
b("span", null, D(r(e)("booking.availability.nothingAvailable")), 1)
|
|
882
882
|
]))
|
|
883
883
|
])) : A("", !0)
|
|
884
|
-
])) : r(he).nextAvailableDates.length === 0 ? (I(), V("div",
|
|
885
|
-
|
|
886
|
-
])) : (I(), V("div",
|
|
887
|
-
|
|
884
|
+
])) : r(he).nextAvailableDates.length === 0 ? (I(), V("div", kn, [
|
|
885
|
+
b("span", null, D(r(e)("booking.availability.nothingAvailable")), 1)
|
|
886
|
+
])) : (I(), V("div", En, [
|
|
887
|
+
b("h2", null, [
|
|
888
888
|
$(ee, {
|
|
889
889
|
icon: "calendar-circle-exclamation",
|
|
890
890
|
type: "fal",
|
|
891
891
|
color: "header"
|
|
892
892
|
}),
|
|
893
|
-
|
|
893
|
+
b("span", null, D(r(e)("booking.availability.nextAvailableDates")), 1)
|
|
894
894
|
]),
|
|
895
|
-
|
|
896
|
-
(I(!0), V(N, null, F(r(he).nextAvailableDates, (
|
|
897
|
-
|
|
898
|
-
title: `${r(de)(
|
|
895
|
+
b("ul", In, [
|
|
896
|
+
(I(!0), V(N, null, F(r(he).nextAvailableDates, (q, C) => (I(), V("li", { key: C }, [
|
|
897
|
+
b("h3", {
|
|
898
|
+
title: `${r(de)(q.fromDate)} - ${r(de)(q.toDate)}`
|
|
899
899
|
}, [
|
|
900
|
-
|
|
901
|
-
], 8,
|
|
902
|
-
|
|
900
|
+
b("span", null, D(`${r(de)(q.fromDate)} - ${r(de)(q.toDate)}`), 1)
|
|
901
|
+
], 8, Tn),
|
|
902
|
+
b("ul", null, [
|
|
903
903
|
A("", !0),
|
|
904
|
-
|
|
904
|
+
b("li", null, [
|
|
905
905
|
$(ee, {
|
|
906
906
|
icon: "money-bill",
|
|
907
907
|
type: "fal",
|
|
908
908
|
color: "header"
|
|
909
909
|
}),
|
|
910
|
-
|
|
910
|
+
b("span", null, D(r(e)("booking.availability.pricesFrom")) + ": " + D(r(Y)(q.priceStartFrom, r(Z))), 1)
|
|
911
911
|
])
|
|
912
912
|
]),
|
|
913
|
-
$(
|
|
913
|
+
$(me, {
|
|
914
914
|
label: r(e)("booking.availability.selectDates"),
|
|
915
915
|
"full-width": "",
|
|
916
|
-
onClickEvent: (
|
|
916
|
+
onClickEvent: (be) => Kt(q.fromDate, q.toDate)
|
|
917
917
|
}, null, 8, ["label", "onClickEvent"])
|
|
918
918
|
]))), 128))
|
|
919
919
|
])
|
|
@@ -922,61 +922,197 @@ const In = {
|
|
|
922
922
|
])
|
|
923
923
|
]),
|
|
924
924
|
navigation: w(() => [
|
|
925
|
-
isNaN(r(o)) ? (I(), H(
|
|
925
|
+
isNaN(r(o)) ? (I(), H(me, {
|
|
926
926
|
key: 0,
|
|
927
927
|
label: r(e)("booking.availability.nextButton"),
|
|
928
928
|
disabled: !r(X),
|
|
929
929
|
"is-loading": !1,
|
|
930
930
|
"full-width": "",
|
|
931
|
-
onClickEvent: (
|
|
932
|
-
}, null, 8, ["label", "disabled", "onClickEvent"])) : (I(), H(
|
|
931
|
+
onClickEvent: (q) => Jt(fe)
|
|
932
|
+
}, null, 8, ["label", "disabled", "onClickEvent"])) : (I(), H(me, {
|
|
933
933
|
key: 1,
|
|
934
934
|
label: r(e)("booking.reservation.prevButton"),
|
|
935
935
|
"full-width": "",
|
|
936
|
-
onClickEvent: L[0] || (L[0] = (
|
|
936
|
+
onClickEvent: L[0] || (L[0] = (q) => Yt())
|
|
937
937
|
}, null, 8, ["label"]))
|
|
938
938
|
]),
|
|
939
939
|
_: 2
|
|
940
940
|
}, 1024)
|
|
941
941
|
]),
|
|
942
|
-
|
|
943
|
-
$(
|
|
942
|
+
addons: w(({ next: fe, prev: q }) => [
|
|
943
|
+
$(we, null, {
|
|
944
|
+
form: w(() => [
|
|
945
|
+
b("div", $n, [
|
|
946
|
+
b("h2", null, [
|
|
947
|
+
b("span", null, D(r(e)("booking.reservation.addons")), 1)
|
|
948
|
+
]),
|
|
949
|
+
b("div", null, [
|
|
950
|
+
isNaN(r(o)) ? (I(!0), V(N, { key: 0 }, F(r(G), (C) => (I(), V("ul", {
|
|
951
|
+
key: C.roomGroupID
|
|
952
|
+
}, [
|
|
953
|
+
(I(!0), V(N, null, F(C.variants, (be, M) => (I(), V("li", {
|
|
954
|
+
key: be.ratePlanID
|
|
955
|
+
}, [
|
|
956
|
+
b("h4", null, [
|
|
957
|
+
b("span", null, D(r(Ge)(C.title)), 1)
|
|
958
|
+
]),
|
|
959
|
+
(I(!0), V(N, null, F(be.rooms, (S, Zt) => (I(), V("table", {
|
|
960
|
+
key: Zt,
|
|
961
|
+
class: "fresh-booking-table"
|
|
962
|
+
}, [
|
|
963
|
+
b("thead", null, [
|
|
964
|
+
b("tr", null, [
|
|
965
|
+
b("th", null, [
|
|
966
|
+
b("span", null, D(r(Ge)(be.name)), 1)
|
|
967
|
+
]),
|
|
968
|
+
b("th", null, [
|
|
969
|
+
b("b", null, [
|
|
970
|
+
$(ee, {
|
|
971
|
+
icon: "male",
|
|
972
|
+
type: "fas",
|
|
973
|
+
color: "font"
|
|
974
|
+
}),
|
|
975
|
+
b("span", null, D(S.adultsCount), 1),
|
|
976
|
+
S.childrenCount > 0 ? (I(), H(ee, {
|
|
977
|
+
key: 0,
|
|
978
|
+
icon: "child",
|
|
979
|
+
type: "fas",
|
|
980
|
+
color: "font"
|
|
981
|
+
})) : A("", !0),
|
|
982
|
+
S.childrenCount > 0 ? (I(), V("span", Vn, D(S.childrenCount), 1)) : A("", !0)
|
|
983
|
+
])
|
|
984
|
+
])
|
|
985
|
+
])
|
|
986
|
+
]),
|
|
987
|
+
b("tbody", null, [
|
|
988
|
+
(I(!0), V(N, null, F(C.addons, ({
|
|
989
|
+
quantityStrategy: ne,
|
|
990
|
+
id: z,
|
|
991
|
+
name: ie,
|
|
992
|
+
price: re
|
|
993
|
+
}) => (I(), V("tr", { key: z }, [
|
|
994
|
+
b("ul", Pn, [
|
|
995
|
+
b("li", null, [
|
|
996
|
+
ne === r(se).PerPerson ? (I(), H(j, {
|
|
997
|
+
key: 0,
|
|
998
|
+
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
999
|
+
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1000
|
+
label: ie,
|
|
1001
|
+
price: `${r(Y)(re, r(Z))} ${r(e)("general.perPerson")}`
|
|
1002
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerChild && S.childrenCount > 0 ? (I(), H(j, {
|
|
1003
|
+
key: 1,
|
|
1004
|
+
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1005
|
+
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1006
|
+
label: ie,
|
|
1007
|
+
price: `${r(Y)(re, r(Z))} ${r(e)("general.perChild")}`
|
|
1008
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerAdult ? (I(), H(j, {
|
|
1009
|
+
key: 2,
|
|
1010
|
+
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1011
|
+
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1012
|
+
label: ie,
|
|
1013
|
+
price: `${r(Y)(re, r(Z))} ${r(e)("general.perAdult")}`
|
|
1014
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerPersonPerNight ? (I(), H(j, {
|
|
1015
|
+
key: 3,
|
|
1016
|
+
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1017
|
+
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1018
|
+
label: ie,
|
|
1019
|
+
price: `${r(Y)(re, r(Z))} ${r(e)("general.perPersonPerNight")}`
|
|
1020
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerAdultPerNight ? (I(), H(j, {
|
|
1021
|
+
key: 4,
|
|
1022
|
+
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1023
|
+
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1024
|
+
label: ie,
|
|
1025
|
+
price: `${r(Y)(re, r(Z))} ${r(e)("general.perAdultPerNight")}`
|
|
1026
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerChildPerNight ? (I(), H(j, {
|
|
1027
|
+
key: 5,
|
|
1028
|
+
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1029
|
+
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1030
|
+
label: ie,
|
|
1031
|
+
price: `${r(Y)(re, r(Z))} ${r(e)("general.perChildPerNight")}`
|
|
1032
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerNight ? (I(), H(j, {
|
|
1033
|
+
key: 6,
|
|
1034
|
+
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1035
|
+
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1036
|
+
label: ie,
|
|
1037
|
+
price: `${r(Y)(re, r(Z))} ${r(e)("general.perNight")}`
|
|
1038
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerUnit ? (I(), H(j, {
|
|
1039
|
+
key: 7,
|
|
1040
|
+
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1041
|
+
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1042
|
+
label: ie,
|
|
1043
|
+
price: `${r(Y)(re, r(Z))}`
|
|
1044
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).OneTimePayment ? (I(), H(j, {
|
|
1045
|
+
key: 8,
|
|
1046
|
+
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1047
|
+
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1048
|
+
label: ie,
|
|
1049
|
+
price: `${r(Y)(re, r(Z))}`
|
|
1050
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : A("", !0)
|
|
1051
|
+
])
|
|
1052
|
+
])
|
|
1053
|
+
]))), 128))
|
|
1054
|
+
])
|
|
1055
|
+
]))), 128))
|
|
1056
|
+
]))), 128))
|
|
1057
|
+
]))), 128)) : A("", !0)
|
|
1058
|
+
])
|
|
1059
|
+
])
|
|
1060
|
+
]),
|
|
1061
|
+
navigation: w(() => [
|
|
1062
|
+
$(me, {
|
|
1063
|
+
label: r(e)("booking.availability.nextButton"),
|
|
1064
|
+
"is-loading": !1,
|
|
1065
|
+
"full-width": "",
|
|
1066
|
+
onClickEvent: fe
|
|
1067
|
+
}, null, 8, ["label", "onClickEvent"]),
|
|
1068
|
+
b("button", {
|
|
1069
|
+
class: "konnectio-abort-reservation link",
|
|
1070
|
+
onClick: nt((C) => Ze(q), ["prevent"])
|
|
1071
|
+
}, [
|
|
1072
|
+
b("span", null, D(r(e)("general.abortReservation")), 1)
|
|
1073
|
+
], 8, Sn)
|
|
1074
|
+
]),
|
|
1075
|
+
_: 2
|
|
1076
|
+
}, 1024)
|
|
1077
|
+
]),
|
|
1078
|
+
reservation: w(({ next: fe, prev: q }) => [
|
|
1079
|
+
$(we, {
|
|
944
1080
|
"show-terms-notice": !0,
|
|
945
1081
|
"show-gift-card": !0
|
|
946
|
-
},
|
|
1082
|
+
}, {
|
|
947
1083
|
form: w(() => [
|
|
948
|
-
|
|
949
|
-
!r(
|
|
1084
|
+
b("form", xn, [
|
|
1085
|
+
!r(Mt) && !(r(xe) && r(Le)) ? (I(), V("ul", {
|
|
950
1086
|
key: 0,
|
|
951
|
-
class:
|
|
1087
|
+
class: $e({ "fresh-booking-split-inputs": !r(xe) && !r(Le) })
|
|
952
1088
|
}, [
|
|
953
|
-
r(
|
|
954
|
-
$(
|
|
955
|
-
modelValue: r(
|
|
956
|
-
"onUpdate:modelValue": L[1] || (L[1] = (C) => W(
|
|
1089
|
+
r(xe) ? A("", !0) : (I(), V("li", Ln, [
|
|
1090
|
+
$(rt, {
|
|
1091
|
+
modelValue: r(_),
|
|
1092
|
+
"onUpdate:modelValue": L[1] || (L[1] = (C) => W(_) ? _.value = C : null),
|
|
957
1093
|
label: r(e)("booking.reservation.arrivalTime"),
|
|
958
1094
|
icon: "hourglass-start",
|
|
959
|
-
"hour-range":
|
|
1095
|
+
"hour-range": Gt.value,
|
|
960
1096
|
required: ""
|
|
961
1097
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
962
1098
|
])),
|
|
963
|
-
r(
|
|
964
|
-
$(
|
|
1099
|
+
r(Le) ? A("", !0) : (I(), V("li", Dn, [
|
|
1100
|
+
$(rt, {
|
|
965
1101
|
modelValue: r(l),
|
|
966
1102
|
"onUpdate:modelValue": L[2] || (L[2] = (C) => W(l) ? l.value = C : null),
|
|
967
1103
|
label: r(e)("booking.reservation.departureTime"),
|
|
968
1104
|
icon: "hourglass-end",
|
|
969
|
-
"hour-range":
|
|
1105
|
+
"hour-range": jt.value,
|
|
970
1106
|
required: ""
|
|
971
1107
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
972
1108
|
]))
|
|
973
1109
|
], 2)) : A("", !0),
|
|
974
|
-
$(
|
|
1110
|
+
$(Jo, {
|
|
975
1111
|
modelValue: r(y),
|
|
976
1112
|
"onUpdate:modelValue": L[3] || (L[3] = (C) => W(y) ? y.value = C : null),
|
|
977
|
-
title: r(
|
|
978
|
-
"onUpdate:title": L[4] || (L[4] = (C) => W(
|
|
979
|
-
"exclude-title": r(
|
|
1113
|
+
title: r(k),
|
|
1114
|
+
"onUpdate:title": L[4] || (L[4] = (C) => W(k) ? k.value = C : null),
|
|
1115
|
+
"exclude-title": r(Rt),
|
|
980
1116
|
label: r(e)("booking.reservation.name"),
|
|
981
1117
|
icon: "user-alt",
|
|
982
1118
|
placeholder: r(e)("booking.reservation.namePlaceholder"),
|
|
@@ -993,7 +1129,7 @@ const In = {
|
|
|
993
1129
|
placeholder: r(e)("booking.reservation.emailPlaceholder"),
|
|
994
1130
|
required: ""
|
|
995
1131
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
996
|
-
r(
|
|
1132
|
+
r(Dt) ? A("", !0) : (I(), H(j, {
|
|
997
1133
|
key: 1,
|
|
998
1134
|
modelValue: r(U),
|
|
999
1135
|
"onUpdate:modelValue": L[6] || (L[6] = (C) => W(U) ? U.value = C : null),
|
|
@@ -1001,7 +1137,7 @@ const In = {
|
|
|
1001
1137
|
name: "newsletter",
|
|
1002
1138
|
label: r(e)("booking.reservation.newsletterSignUp")
|
|
1003
1139
|
}, null, 8, ["modelValue", "label"])),
|
|
1004
|
-
r(
|
|
1140
|
+
r(Nt) ? A("", !0) : (I(), H(ue, {
|
|
1005
1141
|
key: 2,
|
|
1006
1142
|
modelValue: r(c),
|
|
1007
1143
|
"onUpdate:modelValue": L[7] || (L[7] = (C) => W(c) ? c.value = C : null),
|
|
@@ -1012,7 +1148,7 @@ const In = {
|
|
|
1012
1148
|
icon: "id-card",
|
|
1013
1149
|
placeholder: r(e)("booking.reservation.companyNamePlaceholder")
|
|
1014
1150
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1015
|
-
$(
|
|
1151
|
+
$(vo, {
|
|
1016
1152
|
modelValue: r(i),
|
|
1017
1153
|
"onUpdate:modelValue": L[8] || (L[8] = (C) => W(i) ? i.value = C : null),
|
|
1018
1154
|
icon: "phone-office",
|
|
@@ -1020,9 +1156,9 @@ const In = {
|
|
|
1020
1156
|
placeholder: r(e)("booking.reservation.phonePlaceholder"),
|
|
1021
1157
|
required: ""
|
|
1022
1158
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1023
|
-
$(
|
|
1024
|
-
modelValue: r(
|
|
1025
|
-
"onUpdate:modelValue": L[9] || (L[9] = (C) => W(
|
|
1159
|
+
$(Ko, {
|
|
1160
|
+
modelValue: r(P),
|
|
1161
|
+
"onUpdate:modelValue": L[9] || (L[9] = (C) => W(P) ? P.value = C : null),
|
|
1026
1162
|
label: r(e)("booking.reservation.country"),
|
|
1027
1163
|
placeholder: r(e)("booking.reservation.countryPlaceholder"),
|
|
1028
1164
|
options: r(s),
|
|
@@ -1039,8 +1175,8 @@ const In = {
|
|
|
1039
1175
|
placeholder: r(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1040
1176
|
required: ""
|
|
1041
1177
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1042
|
-
|
|
1043
|
-
|
|
1178
|
+
b("ul", On, [
|
|
1179
|
+
b("li", null, [
|
|
1044
1180
|
$(ue, {
|
|
1045
1181
|
modelValue: r(v),
|
|
1046
1182
|
"onUpdate:modelValue": L[11] || (L[11] = (C) => W(v) ? v.value = C : null),
|
|
@@ -1053,7 +1189,7 @@ const In = {
|
|
|
1053
1189
|
required: ""
|
|
1054
1190
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1055
1191
|
]),
|
|
1056
|
-
|
|
1192
|
+
b("li", null, [
|
|
1057
1193
|
$(ue, {
|
|
1058
1194
|
modelValue: r(E),
|
|
1059
1195
|
"onUpdate:modelValue": L[12] || (L[12] = (C) => W(E) ? E.value = C : null),
|
|
@@ -1083,12 +1219,12 @@ const In = {
|
|
|
1083
1219
|
icon: "allergies",
|
|
1084
1220
|
placeholder: r(e)("booking.reservation.allergiesPlaceholder")
|
|
1085
1221
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1086
|
-
r(
|
|
1087
|
-
|
|
1088
|
-
|
|
1222
|
+
r(Wt) ? A("", !0) : (I(), V("div", Hn, [
|
|
1223
|
+
b("label", wn, [
|
|
1224
|
+
b("span", null, D(r(e)("booking.reservation.purposeOfStay")) + " (" + D(r(e)("booking.reservation.optional")) + ")", 1)
|
|
1089
1225
|
]),
|
|
1090
|
-
|
|
1091
|
-
|
|
1226
|
+
b("ul", An, [
|
|
1227
|
+
b("li", null, [
|
|
1092
1228
|
$(j, {
|
|
1093
1229
|
modelValue: r(m),
|
|
1094
1230
|
"onUpdate:modelValue": L[15] || (L[15] = (C) => W(m) ? m.value = C : null),
|
|
@@ -1098,7 +1234,7 @@ const In = {
|
|
|
1098
1234
|
val: "Business"
|
|
1099
1235
|
}, null, 8, ["modelValue", "label"])
|
|
1100
1236
|
]),
|
|
1101
|
-
|
|
1237
|
+
b("li", null, [
|
|
1102
1238
|
$(j, {
|
|
1103
1239
|
modelValue: r(m),
|
|
1104
1240
|
"onUpdate:modelValue": L[16] || (L[16] = (C) => W(m) ? m.value = C : null),
|
|
@@ -1108,7 +1244,7 @@ const In = {
|
|
|
1108
1244
|
val: "Pleasure"
|
|
1109
1245
|
}, null, 8, ["modelValue", "label"])
|
|
1110
1246
|
]),
|
|
1111
|
-
|
|
1247
|
+
b("li", null, [
|
|
1112
1248
|
$(j, {
|
|
1113
1249
|
modelValue: r(m),
|
|
1114
1250
|
"onUpdate:modelValue": L[17] || (L[17] = (C) => W(m) ? m.value = C : null),
|
|
@@ -1123,133 +1259,30 @@ const In = {
|
|
|
1123
1259
|
])
|
|
1124
1260
|
]),
|
|
1125
1261
|
navigation: w(() => [
|
|
1126
|
-
|
|
1127
|
-
$(
|
|
1262
|
+
b("div", null, [
|
|
1263
|
+
$(me, {
|
|
1128
1264
|
label: r(e)("general.confirmReservation"),
|
|
1129
1265
|
disabled: !r(a),
|
|
1130
1266
|
"is-loading": r(p),
|
|
1131
1267
|
"full-width": "",
|
|
1132
|
-
onClickEvent: (C) =>
|
|
1268
|
+
onClickEvent: (C) => Qt(fe)
|
|
1133
1269
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1134
|
-
|
|
1135
|
-
class: "konnectio-abort-reservation",
|
|
1136
|
-
onClick:
|
|
1270
|
+
b("button", {
|
|
1271
|
+
class: "konnectio-abort-reservation link",
|
|
1272
|
+
onClick: nt((C) => Ze(q), ["prevent"])
|
|
1137
1273
|
}, [
|
|
1138
|
-
|
|
1139
|
-
], 8,
|
|
1274
|
+
b("span", null, D(r(e)("general.abortReservation")), 1)
|
|
1275
|
+
], 8, Bn)
|
|
1140
1276
|
])
|
|
1141
1277
|
]),
|
|
1142
1278
|
_: 2
|
|
1143
|
-
},
|
|
1144
|
-
isNaN(r(o)) ? {
|
|
1145
|
-
name: "addons",
|
|
1146
|
-
fn: w(() => [
|
|
1147
|
-
(I(!0), V(N, null, F(r(q), (C) => (I(), V("li", {
|
|
1148
|
-
key: C.roomGroupID
|
|
1149
|
-
}, [
|
|
1150
|
-
k("h6", null, [
|
|
1151
|
-
k("span", null, D(C.title), 1)
|
|
1152
|
-
]),
|
|
1153
|
-
(I(!0), V(N, null, F(C.variants, (ve, z) => (I(), V("div", {
|
|
1154
|
-
key: ve.ratePlanID,
|
|
1155
|
-
class: "addons-rate-plans"
|
|
1156
|
-
}, [
|
|
1157
|
-
(I(!0), V(N, null, F(ve.rooms, (P, Xt) => (I(), V("div", { key: Xt }, [
|
|
1158
|
-
k("div", Ln, [
|
|
1159
|
-
k("span", null, D(`${ve.name}`), 1),
|
|
1160
|
-
k("b", null, [
|
|
1161
|
-
$(ee, {
|
|
1162
|
-
icon: "male",
|
|
1163
|
-
type: "fas",
|
|
1164
|
-
color: "font"
|
|
1165
|
-
}),
|
|
1166
|
-
k("span", null, D(P.adultsCount), 1),
|
|
1167
|
-
P.childrenCount > 0 ? (I(), H(ee, {
|
|
1168
|
-
key: 0,
|
|
1169
|
-
icon: "child",
|
|
1170
|
-
type: "fas",
|
|
1171
|
-
color: "font"
|
|
1172
|
-
})) : A("", !0),
|
|
1173
|
-
P.childrenCount > 0 ? (I(), V("span", Dn, D(P.childrenCount), 1)) : A("", !0)
|
|
1174
|
-
])
|
|
1175
|
-
]),
|
|
1176
|
-
k("ul", On, [
|
|
1177
|
-
(I(!0), V(N, null, F(C.addons, ({
|
|
1178
|
-
quantityStrategy: ne,
|
|
1179
|
-
id: M,
|
|
1180
|
-
name: ie,
|
|
1181
|
-
price: re
|
|
1182
|
-
}) => (I(), V("li", { key: M }, [
|
|
1183
|
-
ne === r(se).PerPerson ? (I(), H(j, {
|
|
1184
|
-
key: 0,
|
|
1185
|
-
modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
|
|
1186
|
-
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
|
|
1187
|
-
label: ie,
|
|
1188
|
-
price: `${r(Y)(re, r(Z))} ${r(e)("general.perPerson")}`
|
|
1189
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerChild && P.childrenCount > 0 ? (I(), H(j, {
|
|
1190
|
-
key: 1,
|
|
1191
|
-
modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
|
|
1192
|
-
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
|
|
1193
|
-
label: ie,
|
|
1194
|
-
price: `${r(Y)(re, r(Z))} ${r(e)("general.perChild")}`
|
|
1195
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerAdult ? (I(), H(j, {
|
|
1196
|
-
key: 2,
|
|
1197
|
-
modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
|
|
1198
|
-
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
|
|
1199
|
-
label: ie,
|
|
1200
|
-
price: `${r(Y)(re, r(Z))} ${r(e)("general.perAdult")}`
|
|
1201
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerPersonPerNight ? (I(), H(j, {
|
|
1202
|
-
key: 3,
|
|
1203
|
-
modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
|
|
1204
|
-
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
|
|
1205
|
-
label: ie,
|
|
1206
|
-
price: `${r(Y)(re, r(Z))} ${r(e)("general.perPersonPerNight")}`
|
|
1207
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerAdultPerNight ? (I(), H(j, {
|
|
1208
|
-
key: 4,
|
|
1209
|
-
modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
|
|
1210
|
-
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
|
|
1211
|
-
label: ie,
|
|
1212
|
-
price: `${r(Y)(re, r(Z))} ${r(e)("general.perAdultPerNight")}`
|
|
1213
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerChildPerNight ? (I(), H(j, {
|
|
1214
|
-
key: 5,
|
|
1215
|
-
modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
|
|
1216
|
-
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
|
|
1217
|
-
label: ie,
|
|
1218
|
-
price: `${r(Y)(re, r(Z))} ${r(e)("general.perChildPerNight")}`
|
|
1219
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerNight ? (I(), H(j, {
|
|
1220
|
-
key: 6,
|
|
1221
|
-
modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
|
|
1222
|
-
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
|
|
1223
|
-
label: ie,
|
|
1224
|
-
price: `${r(Y)(re, r(Z))} ${r(e)("general.perNight")}`
|
|
1225
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).PerUnit ? (I(), H(j, {
|
|
1226
|
-
key: 7,
|
|
1227
|
-
modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
|
|
1228
|
-
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
|
|
1229
|
-
label: ie,
|
|
1230
|
-
price: `${r(Y)(re, r(Z))}`
|
|
1231
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ne === r(se).OneTimePayment ? (I(), H(j, {
|
|
1232
|
-
key: 8,
|
|
1233
|
-
modelValue: r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M],
|
|
1234
|
-
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][z].config[P.configIdx].addons[P.roomIdx][M] = R,
|
|
1235
|
-
label: ie,
|
|
1236
|
-
price: `${r(Y)(re, r(Z))}`
|
|
1237
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : A("", !0)
|
|
1238
|
-
]))), 128))
|
|
1239
|
-
])
|
|
1240
|
-
]))), 128))
|
|
1241
|
-
]))), 128))
|
|
1242
|
-
]))), 128))
|
|
1243
|
-
]),
|
|
1244
|
-
key: "0"
|
|
1245
|
-
} : void 0
|
|
1246
|
-
]), 1024)
|
|
1279
|
+
}, 1024)
|
|
1247
1280
|
]),
|
|
1248
1281
|
payment: w(() => [
|
|
1249
|
-
$(
|
|
1282
|
+
$(yo)
|
|
1250
1283
|
]),
|
|
1251
1284
|
confirmation: w(() => [
|
|
1252
|
-
$(
|
|
1285
|
+
$($o, {
|
|
1253
1286
|
message: r(e)("booking.confirmation.thankYou")
|
|
1254
1287
|
}, null, 8, ["message"])
|
|
1255
1288
|
]),
|
|
@@ -1260,19 +1293,19 @@ const In = {
|
|
|
1260
1293
|
}, 8, ["access-token", "styling"])
|
|
1261
1294
|
]),
|
|
1262
1295
|
fallback: w(() => [
|
|
1263
|
-
$(
|
|
1296
|
+
$(pn)
|
|
1264
1297
|
]),
|
|
1265
1298
|
_: 1
|
|
1266
1299
|
}));
|
|
1267
1300
|
}
|
|
1268
1301
|
});
|
|
1269
|
-
const
|
|
1270
|
-
var
|
|
1271
|
-
function
|
|
1272
|
-
return
|
|
1302
|
+
const Mn = /* @__PURE__ */ ce(zn, [["__scopeId", "data-v-95983ad9"]]);
|
|
1303
|
+
var Et = { exports: {} }, Ae = { exports: {} }, Be = { exports: {} }, st;
|
|
1304
|
+
function Qe() {
|
|
1305
|
+
return st || (st = 1, function(n) {
|
|
1273
1306
|
(function(t, e) {
|
|
1274
1307
|
n.exports ? n.exports = e() : t.EvEmitter = e();
|
|
1275
|
-
})(typeof window < "u" ? window :
|
|
1308
|
+
})(typeof window < "u" ? window : _t, function() {
|
|
1276
1309
|
function t() {
|
|
1277
1310
|
}
|
|
1278
1311
|
var e = t.prototype;
|
|
@@ -1307,23 +1340,23 @@ function Ye() {
|
|
|
1307
1340
|
delete this._events, delete this._onceEvents;
|
|
1308
1341
|
}, t;
|
|
1309
1342
|
});
|
|
1310
|
-
}(
|
|
1343
|
+
}(Be)), Be.exports;
|
|
1311
1344
|
}
|
|
1312
|
-
var
|
|
1345
|
+
var ze = { exports: {} };
|
|
1313
1346
|
/*!
|
|
1314
1347
|
* getSize v2.0.3
|
|
1315
1348
|
* measure size of elements
|
|
1316
1349
|
* MIT license
|
|
1317
1350
|
*/
|
|
1318
|
-
var
|
|
1319
|
-
function
|
|
1320
|
-
return
|
|
1351
|
+
var at;
|
|
1352
|
+
function Je() {
|
|
1353
|
+
return at || (at = 1, function(n) {
|
|
1321
1354
|
(function(t, e) {
|
|
1322
1355
|
n.exports ? n.exports = e() : t.getSize = e();
|
|
1323
1356
|
})(window, function() {
|
|
1324
1357
|
function e(l) {
|
|
1325
|
-
var y = parseFloat(l),
|
|
1326
|
-
return
|
|
1358
|
+
var y = parseFloat(l), k = l.indexOf("%") == -1 && !isNaN(y);
|
|
1359
|
+
return k && y;
|
|
1327
1360
|
}
|
|
1328
1361
|
function o() {
|
|
1329
1362
|
}
|
|
@@ -1352,8 +1385,8 @@ function Ke() {
|
|
|
1352
1385
|
outerWidth: 0,
|
|
1353
1386
|
outerHeight: 0
|
|
1354
1387
|
}, y = 0; y < h; y++) {
|
|
1355
|
-
var
|
|
1356
|
-
l[
|
|
1388
|
+
var k = s[y];
|
|
1389
|
+
l[k] = 0;
|
|
1357
1390
|
}
|
|
1358
1391
|
return l;
|
|
1359
1392
|
}
|
|
@@ -1369,36 +1402,36 @@ function Ke() {
|
|
|
1369
1402
|
l.style.width = "200px", l.style.padding = "1px 2px 3px 4px", l.style.borderStyle = "solid", l.style.borderWidth = "1px 2px 3px 4px", l.style.boxSizing = "border-box";
|
|
1370
1403
|
var y = document.body || document.documentElement;
|
|
1371
1404
|
y.appendChild(l);
|
|
1372
|
-
var
|
|
1373
|
-
g = Math.round(e(
|
|
1405
|
+
var k = p(l);
|
|
1406
|
+
g = Math.round(e(k.width)) == 200, _.isBoxSizeOuter = g, y.removeChild(l);
|
|
1374
1407
|
}
|
|
1375
1408
|
}
|
|
1376
|
-
function
|
|
1409
|
+
function _(l) {
|
|
1377
1410
|
if (m(), typeof l == "string" && (l = document.querySelector(l)), !(!l || typeof l != "object" || !l.nodeType)) {
|
|
1378
1411
|
var y = p(l);
|
|
1379
1412
|
if (y.display == "none")
|
|
1380
1413
|
return u();
|
|
1381
|
-
var
|
|
1382
|
-
|
|
1383
|
-
for (var f =
|
|
1414
|
+
var k = {};
|
|
1415
|
+
k.width = l.offsetWidth, k.height = l.offsetHeight;
|
|
1416
|
+
for (var f = k.isBorderBox = y.boxSizing == "border-box", i = 0; i < h; i++) {
|
|
1384
1417
|
var c = s[i], v = y[c], E = parseFloat(v);
|
|
1385
|
-
|
|
1418
|
+
k[c] = isNaN(E) ? 0 : E;
|
|
1386
1419
|
}
|
|
1387
|
-
var T =
|
|
1388
|
-
X !== !1 && (
|
|
1389
|
-
(
|
|
1390
|
-
var
|
|
1391
|
-
return
|
|
1392
|
-
(
|
|
1420
|
+
var T = k.paddingLeft + k.paddingRight, P = k.paddingTop + k.paddingBottom, O = k.marginLeft + k.marginRight, B = k.marginTop + k.marginBottom, U = k.borderLeftWidth + k.borderRightWidth, x = k.borderTopWidth + k.borderBottomWidth, G = f && g, X = e(y.width);
|
|
1421
|
+
X !== !1 && (k.width = X + // add padding and border unless it's already including it
|
|
1422
|
+
(G ? 0 : T + U));
|
|
1423
|
+
var Se = e(y.height);
|
|
1424
|
+
return Se !== !1 && (k.height = Se + // add padding and border unless it's already including it
|
|
1425
|
+
(G ? 0 : P + x)), k.innerWidth = k.width - (T + U), k.innerHeight = k.height - (P + x), k.outerWidth = k.width + O, k.outerHeight = k.height + B, k;
|
|
1393
1426
|
}
|
|
1394
1427
|
}
|
|
1395
|
-
return
|
|
1428
|
+
return _;
|
|
1396
1429
|
});
|
|
1397
|
-
}(
|
|
1430
|
+
}(ze)), ze.exports;
|
|
1398
1431
|
}
|
|
1399
|
-
var Me = { exports: {} },
|
|
1400
|
-
function
|
|
1401
|
-
return
|
|
1432
|
+
var Me = { exports: {} }, Re = { exports: {} }, lt;
|
|
1433
|
+
function Rn() {
|
|
1434
|
+
return lt || (lt = 1, function(n) {
|
|
1402
1435
|
(function(t, e) {
|
|
1403
1436
|
n.exports ? n.exports = e() : t.matchesSelector = e();
|
|
1404
1437
|
})(window, function() {
|
|
@@ -1418,15 +1451,15 @@ function Bn() {
|
|
|
1418
1451
|
return d[e](s);
|
|
1419
1452
|
};
|
|
1420
1453
|
});
|
|
1421
|
-
}(
|
|
1454
|
+
}(Re)), Re.exports;
|
|
1422
1455
|
}
|
|
1423
|
-
var
|
|
1424
|
-
function
|
|
1425
|
-
return
|
|
1456
|
+
var ut;
|
|
1457
|
+
function Wn() {
|
|
1458
|
+
return ut || (ut = 1, function(n) {
|
|
1426
1459
|
(function(t, e) {
|
|
1427
1460
|
n.exports ? n.exports = e(
|
|
1428
1461
|
t,
|
|
1429
|
-
|
|
1462
|
+
Rn()
|
|
1430
1463
|
) : t.fizzyUIUtils = e(
|
|
1431
1464
|
t,
|
|
1432
1465
|
t.matchesSelector
|
|
@@ -1470,16 +1503,16 @@ function Mn() {
|
|
|
1470
1503
|
return;
|
|
1471
1504
|
}
|
|
1472
1505
|
o(g, p) && a.push(g);
|
|
1473
|
-
for (var m = g.querySelectorAll(p),
|
|
1474
|
-
a.push(m[
|
|
1506
|
+
for (var m = g.querySelectorAll(p), _ = 0; _ < m.length; _++)
|
|
1507
|
+
a.push(m[_]);
|
|
1475
1508
|
}
|
|
1476
1509
|
}), a;
|
|
1477
1510
|
}, d.debounceMethod = function(u, p, a) {
|
|
1478
1511
|
a = a || 100;
|
|
1479
1512
|
var g = u.prototype[p], m = p + "Timeout";
|
|
1480
1513
|
u.prototype[p] = function() {
|
|
1481
|
-
var
|
|
1482
|
-
clearTimeout(
|
|
1514
|
+
var _ = this[m];
|
|
1515
|
+
clearTimeout(_);
|
|
1483
1516
|
var l = arguments, y = this;
|
|
1484
1517
|
this[m] = setTimeout(function() {
|
|
1485
1518
|
g.apply(y, l), delete y[m];
|
|
@@ -1496,7 +1529,7 @@ function Mn() {
|
|
|
1496
1529
|
var h = e.console;
|
|
1497
1530
|
return d.htmlInit = function(u, p) {
|
|
1498
1531
|
d.docReady(function() {
|
|
1499
|
-
var a = d.toDashed(p), g = "data-" + a, m = document.querySelectorAll("[" + g + "]"),
|
|
1532
|
+
var a = d.toDashed(p), g = "data-" + a, m = document.querySelectorAll("[" + g + "]"), _ = document.querySelectorAll(".js-" + a), l = d.makeArray(m).concat(d.makeArray(_)), y = g + "-options", k = e.jQuery;
|
|
1500
1533
|
l.forEach(function(f) {
|
|
1501
1534
|
var i = f.getAttribute(g) || f.getAttribute(y), c;
|
|
1502
1535
|
try {
|
|
@@ -1506,20 +1539,20 @@ function Mn() {
|
|
|
1506
1539
|
return;
|
|
1507
1540
|
}
|
|
1508
1541
|
var v = new u(f, c);
|
|
1509
|
-
|
|
1542
|
+
k && k.data(f, p, v);
|
|
1510
1543
|
});
|
|
1511
1544
|
});
|
|
1512
1545
|
}, d;
|
|
1513
1546
|
});
|
|
1514
1547
|
}(Me)), Me.exports;
|
|
1515
1548
|
}
|
|
1516
|
-
var
|
|
1517
|
-
function
|
|
1518
|
-
return
|
|
1549
|
+
var We = { exports: {} }, dt;
|
|
1550
|
+
function Nn() {
|
|
1551
|
+
return dt || (dt = 1, function(n) {
|
|
1519
1552
|
(function(t, e) {
|
|
1520
1553
|
n.exports ? n.exports = e(
|
|
1521
|
-
|
|
1522
|
-
|
|
1554
|
+
Qe(),
|
|
1555
|
+
Je()
|
|
1523
1556
|
) : (t.Outlayer = {}, t.Outlayer.Item = e(
|
|
1524
1557
|
t.EvEmitter,
|
|
1525
1558
|
t.getSize
|
|
@@ -1567,13 +1600,13 @@ function zn() {
|
|
|
1567
1600
|
i[v] = f[c];
|
|
1568
1601
|
}
|
|
1569
1602
|
}, m.getPosition = function() {
|
|
1570
|
-
var f = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), c = this.layout._getOption("originTop"), v = f[i ? "left" : "right"], E = f[c ? "top" : "bottom"], T = parseFloat(v),
|
|
1571
|
-
v.indexOf("%") != -1 && (T = T / 100 * O.width), E.indexOf("%") != -1 && (
|
|
1603
|
+
var f = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), c = this.layout._getOption("originTop"), v = f[i ? "left" : "right"], E = f[c ? "top" : "bottom"], T = parseFloat(v), P = parseFloat(E), O = this.layout.size;
|
|
1604
|
+
v.indexOf("%") != -1 && (T = T / 100 * O.width), E.indexOf("%") != -1 && (P = P / 100 * O.height), T = isNaN(T) ? 0 : T, P = isNaN(P) ? 0 : P, T -= i ? O.paddingLeft : O.paddingRight, P -= c ? O.paddingTop : O.paddingBottom, this.position.x = T, this.position.y = P;
|
|
1572
1605
|
}, m.layoutPosition = function() {
|
|
1573
|
-
var f = this.layout.size, i = {}, c = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"), E = c ? "paddingLeft" : "paddingRight", T = c ? "left" : "right",
|
|
1574
|
-
i[T] = this.getXValue(O), i[
|
|
1575
|
-
var B = v ? "paddingTop" : "paddingBottom", U = v ? "top" : "bottom", x = v ? "bottom" : "top",
|
|
1576
|
-
i[U] = this.getYValue(
|
|
1606
|
+
var f = this.layout.size, i = {}, c = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"), E = c ? "paddingLeft" : "paddingRight", T = c ? "left" : "right", P = c ? "right" : "left", O = this.position.x + f[E];
|
|
1607
|
+
i[T] = this.getXValue(O), i[P] = "";
|
|
1608
|
+
var B = v ? "paddingTop" : "paddingBottom", U = v ? "top" : "bottom", x = v ? "bottom" : "top", G = this.position.y + f[B];
|
|
1609
|
+
i[U] = this.getYValue(G), i[x] = "", this.css(i), this.emitEvent("layout", [this]);
|
|
1577
1610
|
}, m.getXValue = function(f) {
|
|
1578
1611
|
var i = this.layout._getOption("horizontal");
|
|
1579
1612
|
return this.layout.options.percentPosition && !i ? f / this.layout.size.width * 100 + "%" : f + "px";
|
|
@@ -1587,8 +1620,8 @@ function zn() {
|
|
|
1587
1620
|
this.layoutPosition();
|
|
1588
1621
|
return;
|
|
1589
1622
|
}
|
|
1590
|
-
var T = f - c,
|
|
1591
|
-
O.transform = this.getTranslate(T,
|
|
1623
|
+
var T = f - c, P = i - v, O = {};
|
|
1624
|
+
O.transform = this.getTranslate(T, P), this.transition({
|
|
1592
1625
|
to: O,
|
|
1593
1626
|
onTransitionEnd: {
|
|
1594
1627
|
transform: this.layoutPosition
|
|
@@ -1618,12 +1651,12 @@ function zn() {
|
|
|
1618
1651
|
i.ingProperties[c] = !0, f.isCleaning && (i.clean[c] = !0);
|
|
1619
1652
|
f.from && (this.css(f.from), this.element.offsetHeight), this.enableTransition(f.to), this.css(f.to), this.isTransitioning = !0;
|
|
1620
1653
|
};
|
|
1621
|
-
function
|
|
1654
|
+
function _(f) {
|
|
1622
1655
|
return f.replace(/([A-Z])/g, function(i) {
|
|
1623
1656
|
return "-" + i.toLowerCase();
|
|
1624
1657
|
});
|
|
1625
1658
|
}
|
|
1626
|
-
var l = "opacity," +
|
|
1659
|
+
var l = "opacity," + _(u);
|
|
1627
1660
|
m.enableTransition = function() {
|
|
1628
1661
|
if (!this.isTransitioning) {
|
|
1629
1662
|
var f = this.layout.options.transitionDuration;
|
|
@@ -1658,13 +1691,13 @@ function zn() {
|
|
|
1658
1691
|
i[c] = "";
|
|
1659
1692
|
this.css(i);
|
|
1660
1693
|
};
|
|
1661
|
-
var
|
|
1694
|
+
var k = {
|
|
1662
1695
|
transitionProperty: "",
|
|
1663
1696
|
transitionDuration: "",
|
|
1664
1697
|
transitionDelay: ""
|
|
1665
1698
|
};
|
|
1666
1699
|
return m.removeTransitionStyles = function() {
|
|
1667
|
-
this.css(
|
|
1700
|
+
this.css(k);
|
|
1668
1701
|
}, m.stagger = function(f) {
|
|
1669
1702
|
f = isNaN(f) ? 0 : f, this.staggerDelay = f + "ms";
|
|
1670
1703
|
}, m.removeElem = function() {
|
|
@@ -1718,23 +1751,23 @@ function zn() {
|
|
|
1718
1751
|
});
|
|
1719
1752
|
}, g;
|
|
1720
1753
|
});
|
|
1721
|
-
}(
|
|
1754
|
+
}(We)), We.exports;
|
|
1722
1755
|
}
|
|
1723
1756
|
/*!
|
|
1724
1757
|
* Outlayer v2.1.1
|
|
1725
1758
|
* the brains and guts of a layout library
|
|
1726
1759
|
* MIT license
|
|
1727
1760
|
*/
|
|
1728
|
-
var
|
|
1729
|
-
function
|
|
1730
|
-
return
|
|
1761
|
+
var ct;
|
|
1762
|
+
function Un() {
|
|
1763
|
+
return ct || (ct = 1, function(n) {
|
|
1731
1764
|
(function(t, e) {
|
|
1732
1765
|
n.exports ? n.exports = e(
|
|
1733
1766
|
t,
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1767
|
+
Qe(),
|
|
1768
|
+
Je(),
|
|
1769
|
+
Wn(),
|
|
1770
|
+
Nn()
|
|
1738
1771
|
) : t.Outlayer = e(
|
|
1739
1772
|
t,
|
|
1740
1773
|
t.EvEmitter,
|
|
@@ -1745,7 +1778,7 @@ function Rn() {
|
|
|
1745
1778
|
})(window, function(e, o, d, s, h) {
|
|
1746
1779
|
var u = e.console, p = e.jQuery, a = function() {
|
|
1747
1780
|
}, g = 0, m = {};
|
|
1748
|
-
function
|
|
1781
|
+
function _(i, c) {
|
|
1749
1782
|
var v = s.getQueryElement(i);
|
|
1750
1783
|
if (!v) {
|
|
1751
1784
|
u && u.error("Bad element for " + this.constructor.namespace + ": " + (v || i));
|
|
@@ -1757,7 +1790,7 @@ function Rn() {
|
|
|
1757
1790
|
var T = this._getOption("initLayout");
|
|
1758
1791
|
T && this.layout();
|
|
1759
1792
|
}
|
|
1760
|
-
|
|
1793
|
+
_.namespace = "outlayer", _.Item = h, _.defaults = {
|
|
1761
1794
|
containerStyle: {
|
|
1762
1795
|
position: "relative"
|
|
1763
1796
|
},
|
|
@@ -1777,13 +1810,13 @@ function Rn() {
|
|
|
1777
1810
|
transform: "scale(1)"
|
|
1778
1811
|
}
|
|
1779
1812
|
};
|
|
1780
|
-
var l =
|
|
1813
|
+
var l = _.prototype;
|
|
1781
1814
|
s.extend(l, o.prototype), l.option = function(i) {
|
|
1782
1815
|
s.extend(this.options, i);
|
|
1783
1816
|
}, l._getOption = function(i) {
|
|
1784
1817
|
var c = this.constructor.compatOptions[i];
|
|
1785
1818
|
return c && this.options[c] !== void 0 ? this.options[c] : this.options[i];
|
|
1786
|
-
},
|
|
1819
|
+
}, _.compatOptions = {
|
|
1787
1820
|
// currentName: oldName
|
|
1788
1821
|
initLayout: "isInitLayout",
|
|
1789
1822
|
horizontal: "isHorizontal",
|
|
@@ -1800,7 +1833,7 @@ function Rn() {
|
|
|
1800
1833
|
this.items = this._itemize(this.element.children);
|
|
1801
1834
|
}, l._itemize = function(i) {
|
|
1802
1835
|
for (var c = this._filterFindItemElements(i), v = this.constructor.Item, E = [], T = 0; T < c.length; T++) {
|
|
1803
|
-
var
|
|
1836
|
+
var P = c[T], O = new v(P, this);
|
|
1804
1837
|
E.push(O);
|
|
1805
1838
|
}
|
|
1806
1839
|
return E;
|
|
@@ -1876,9 +1909,9 @@ function Rn() {
|
|
|
1876
1909
|
E();
|
|
1877
1910
|
return;
|
|
1878
1911
|
}
|
|
1879
|
-
var
|
|
1912
|
+
var P = 0;
|
|
1880
1913
|
function O() {
|
|
1881
|
-
|
|
1914
|
+
P++, P == T && E();
|
|
1882
1915
|
}
|
|
1883
1916
|
c.forEach(function(B) {
|
|
1884
1917
|
B.once(i, O);
|
|
@@ -1930,7 +1963,7 @@ function Rn() {
|
|
|
1930
1963
|
e.removeEventListener("resize", this), this.isResizeBound = !1;
|
|
1931
1964
|
}, l.onresize = function() {
|
|
1932
1965
|
this.resize();
|
|
1933
|
-
}, s.debounceMethod(
|
|
1966
|
+
}, s.debounceMethod(_, "onresize", 100), l.resize = function() {
|
|
1934
1967
|
!this.isResizeBound || !this.needsResizeLayout() || this.layout();
|
|
1935
1968
|
}, l.needsResizeLayout = function() {
|
|
1936
1969
|
var i = d(this.element), c = this.size && i;
|
|
@@ -1992,13 +2025,13 @@ function Rn() {
|
|
|
1992
2025
|
}), this.unbindResize();
|
|
1993
2026
|
var c = this.element.outlayerGUID;
|
|
1994
2027
|
delete m[c], delete this.element.outlayerGUID, p && p.removeData(this.element, this.constructor.namespace);
|
|
1995
|
-
},
|
|
2028
|
+
}, _.data = function(i) {
|
|
1996
2029
|
i = s.getQueryElement(i);
|
|
1997
2030
|
var c = i && i.outlayerGUID;
|
|
1998
2031
|
return c && m[c];
|
|
1999
|
-
},
|
|
2000
|
-
var v = y(
|
|
2001
|
-
return v.defaults = s.extend({},
|
|
2032
|
+
}, _.create = function(i, c) {
|
|
2033
|
+
var v = y(_);
|
|
2034
|
+
return v.defaults = s.extend({}, _.defaults), s.extend(v.defaults, c), v.compatOptions = s.extend({}, _.compatOptions), v.namespace = i, v.data = _.data, v.Item = y(h), s.htmlInit(v, i), p && p.bridget && p.bridget(i, v), v;
|
|
2002
2035
|
};
|
|
2003
2036
|
function y(i) {
|
|
2004
2037
|
function c() {
|
|
@@ -2006,7 +2039,7 @@ function Rn() {
|
|
|
2006
2039
|
}
|
|
2007
2040
|
return c.prototype = Object.create(i.prototype), c.prototype.constructor = c, c;
|
|
2008
2041
|
}
|
|
2009
|
-
var
|
|
2042
|
+
var k = {
|
|
2010
2043
|
ms: 1,
|
|
2011
2044
|
s: 1e3
|
|
2012
2045
|
};
|
|
@@ -2017,12 +2050,12 @@ function Rn() {
|
|
|
2017
2050
|
if (!v.length)
|
|
2018
2051
|
return 0;
|
|
2019
2052
|
v = parseFloat(v);
|
|
2020
|
-
var T =
|
|
2053
|
+
var T = k[E] || 1;
|
|
2021
2054
|
return v * T;
|
|
2022
2055
|
}
|
|
2023
|
-
return
|
|
2056
|
+
return _.Item = h, _;
|
|
2024
2057
|
});
|
|
2025
|
-
}(
|
|
2058
|
+
}(Ae)), Ae.exports;
|
|
2026
2059
|
}
|
|
2027
2060
|
/*!
|
|
2028
2061
|
* Masonry v4.2.2
|
|
@@ -2034,8 +2067,8 @@ function Rn() {
|
|
|
2034
2067
|
(function(n) {
|
|
2035
2068
|
(function(t, e) {
|
|
2036
2069
|
n.exports ? n.exports = e(
|
|
2037
|
-
|
|
2038
|
-
|
|
2070
|
+
Un(),
|
|
2071
|
+
Je()
|
|
2039
2072
|
) : t.Masonry = e(
|
|
2040
2073
|
t.Outlayer,
|
|
2041
2074
|
t.getSize
|
|
@@ -2055,8 +2088,8 @@ function Rn() {
|
|
|
2055
2088
|
this.columnWidth = u && o(u).outerWidth || // if first elem has no width, default to size of container
|
|
2056
2089
|
this.containerWidth;
|
|
2057
2090
|
}
|
|
2058
|
-
var p = this.columnWidth += this.gutter, a = this.containerWidth + this.gutter, g = a / p, m = p - a % p,
|
|
2059
|
-
g = Math[
|
|
2091
|
+
var p = this.columnWidth += this.gutter, a = this.containerWidth + this.gutter, g = a / p, m = p - a % p, _ = m && m < 1 ? "round" : "floor";
|
|
2092
|
+
g = Math[_](g), this.cols = Math.max(g, 1);
|
|
2060
2093
|
}, s.getContainerWidth = function() {
|
|
2061
2094
|
var h = this._getOption("fitWidth"), u = h ? this.element.parentNode : this.element, p = o(u);
|
|
2062
2095
|
this.containerWidth = p && p.innerWidth;
|
|
@@ -2064,12 +2097,12 @@ function Rn() {
|
|
|
2064
2097
|
h.getSize();
|
|
2065
2098
|
var u = h.size.outerWidth % this.columnWidth, p = u && u < 1 ? "round" : "ceil", a = Math[p](h.size.outerWidth / this.columnWidth);
|
|
2066
2099
|
a = Math.min(a, this.cols);
|
|
2067
|
-
for (var g = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[g](a, h),
|
|
2100
|
+
for (var g = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[g](a, h), _ = {
|
|
2068
2101
|
x: this.columnWidth * m.col,
|
|
2069
2102
|
y: m.y
|
|
2070
|
-
}, l = m.y + h.size.outerHeight, y = a + m.col,
|
|
2071
|
-
this.colYs[
|
|
2072
|
-
return
|
|
2103
|
+
}, l = m.y + h.size.outerHeight, y = a + m.col, k = m.col; k < y; k++)
|
|
2104
|
+
this.colYs[k] = l;
|
|
2105
|
+
return _;
|
|
2073
2106
|
}, s._getTopColPosition = function(h) {
|
|
2074
2107
|
var u = this._getTopColGroup(h), p = Math.min.apply(Math, u);
|
|
2075
2108
|
return {
|
|
@@ -2096,12 +2129,12 @@ function Rn() {
|
|
|
2096
2129
|
y: this._getColGroupY(p, h)
|
|
2097
2130
|
};
|
|
2098
2131
|
}, s._manageStamp = function(h) {
|
|
2099
|
-
var u = o(h), p = this._getElementOffset(h), a = this._getOption("originLeft"), g = a ? p.left : p.right, m = g + u.outerWidth,
|
|
2100
|
-
|
|
2132
|
+
var u = o(h), p = this._getElementOffset(h), a = this._getOption("originLeft"), g = a ? p.left : p.right, m = g + u.outerWidth, _ = Math.floor(g / this.columnWidth);
|
|
2133
|
+
_ = Math.max(0, _);
|
|
2101
2134
|
var l = Math.floor(m / this.columnWidth);
|
|
2102
2135
|
l -= m % this.columnWidth ? 0 : 1, l = Math.min(this.cols - 1, l);
|
|
2103
|
-
for (var y = this._getOption("originTop"),
|
|
2104
|
-
this.colYs[f] = Math.max(
|
|
2136
|
+
for (var y = this._getOption("originTop"), k = (y ? p.top : p.bottom) + u.outerHeight, f = _; f <= l; f++)
|
|
2137
|
+
this.colYs[f] = Math.max(k, this.colYs[f]);
|
|
2105
2138
|
}, s._getContainerSize = function() {
|
|
2106
2139
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
2107
2140
|
var h = {
|
|
@@ -2117,10 +2150,10 @@ function Rn() {
|
|
|
2117
2150
|
return this.getContainerWidth(), h != this.containerWidth;
|
|
2118
2151
|
}, d;
|
|
2119
2152
|
});
|
|
2120
|
-
})(
|
|
2121
|
-
var
|
|
2122
|
-
const
|
|
2123
|
-
var
|
|
2153
|
+
})(Et);
|
|
2154
|
+
var Fn = Et.exports;
|
|
2155
|
+
const pt = /* @__PURE__ */ kt(Fn);
|
|
2156
|
+
var It = { exports: {} };
|
|
2124
2157
|
/*!
|
|
2125
2158
|
* imagesLoaded v4.1.4
|
|
2126
2159
|
* JavaScript is all like "You images are done yet or what?"
|
|
@@ -2130,19 +2163,19 @@ var kt = { exports: {} };
|
|
|
2130
2163
|
(function(t, e) {
|
|
2131
2164
|
n.exports ? n.exports = e(
|
|
2132
2165
|
t,
|
|
2133
|
-
|
|
2166
|
+
Qe()
|
|
2134
2167
|
) : t.imagesLoaded = e(
|
|
2135
2168
|
t,
|
|
2136
2169
|
t.EvEmitter
|
|
2137
2170
|
);
|
|
2138
2171
|
})(
|
|
2139
|
-
typeof window < "u" ? window :
|
|
2172
|
+
typeof window < "u" ? window : _t,
|
|
2140
2173
|
// -------------------------- factory -------------------------- //
|
|
2141
2174
|
function(e, o) {
|
|
2142
2175
|
var d = e.jQuery, s = e.console;
|
|
2143
2176
|
function h(l, y) {
|
|
2144
|
-
for (var
|
|
2145
|
-
l[
|
|
2177
|
+
for (var k in y)
|
|
2178
|
+
l[k] = y[k];
|
|
2146
2179
|
return l;
|
|
2147
2180
|
}
|
|
2148
2181
|
var u = Array.prototype.slice;
|
|
@@ -2152,15 +2185,15 @@ var kt = { exports: {} };
|
|
|
2152
2185
|
var y = typeof l == "object" && typeof l.length == "number";
|
|
2153
2186
|
return y ? u.call(l) : [l];
|
|
2154
2187
|
}
|
|
2155
|
-
function a(l, y,
|
|
2188
|
+
function a(l, y, k) {
|
|
2156
2189
|
if (!(this instanceof a))
|
|
2157
|
-
return new a(l, y,
|
|
2190
|
+
return new a(l, y, k);
|
|
2158
2191
|
var f = l;
|
|
2159
2192
|
if (typeof l == "string" && (f = document.querySelectorAll(l)), !f) {
|
|
2160
2193
|
s.error("Bad element for imagesLoaded " + (f || l));
|
|
2161
2194
|
return;
|
|
2162
2195
|
}
|
|
2163
|
-
this.elements = p(f), this.options = h({}, this.options), typeof y == "function" ?
|
|
2196
|
+
this.elements = p(f), this.options = h({}, this.options), typeof y == "function" ? k = y : h(this.options, y), k && this.on("always", k), this.getImages(), d && (this.jqDeferred = new d.Deferred()), setTimeout(this.check.bind(this));
|
|
2164
2197
|
}
|
|
2165
2198
|
a.prototype = Object.create(o.prototype), a.prototype.options = {}, a.prototype.getImages = function() {
|
|
2166
2199
|
this.images = [], this.elements.forEach(this.addElementImages, this);
|
|
@@ -2168,8 +2201,8 @@ var kt = { exports: {} };
|
|
|
2168
2201
|
l.nodeName == "IMG" && this.addImage(l), this.options.background === !0 && this.addElementBackgroundImages(l);
|
|
2169
2202
|
var y = l.nodeType;
|
|
2170
2203
|
if (!(!y || !g[y])) {
|
|
2171
|
-
for (var
|
|
2172
|
-
var i =
|
|
2204
|
+
for (var k = l.querySelectorAll("img"), f = 0; f < k.length; f++) {
|
|
2205
|
+
var i = k[f];
|
|
2173
2206
|
this.addImage(i);
|
|
2174
2207
|
}
|
|
2175
2208
|
if (typeof this.options.background == "string") {
|
|
@@ -2189,32 +2222,32 @@ var kt = { exports: {} };
|
|
|
2189
2222
|
a.prototype.addElementBackgroundImages = function(l) {
|
|
2190
2223
|
var y = getComputedStyle(l);
|
|
2191
2224
|
if (y)
|
|
2192
|
-
for (var
|
|
2225
|
+
for (var k = /url\((['"])?(.*?)\1\)/gi, f = k.exec(y.backgroundImage); f !== null; ) {
|
|
2193
2226
|
var i = f && f[2];
|
|
2194
|
-
i && this.addBackground(i, l), f =
|
|
2227
|
+
i && this.addBackground(i, l), f = k.exec(y.backgroundImage);
|
|
2195
2228
|
}
|
|
2196
2229
|
}, a.prototype.addImage = function(l) {
|
|
2197
2230
|
var y = new m(l);
|
|
2198
2231
|
this.images.push(y);
|
|
2199
2232
|
}, a.prototype.addBackground = function(l, y) {
|
|
2200
|
-
var
|
|
2201
|
-
this.images.push(
|
|
2233
|
+
var k = new _(l, y);
|
|
2234
|
+
this.images.push(k);
|
|
2202
2235
|
}, a.prototype.check = function() {
|
|
2203
2236
|
var l = this;
|
|
2204
2237
|
if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
|
|
2205
2238
|
this.complete();
|
|
2206
2239
|
return;
|
|
2207
2240
|
}
|
|
2208
|
-
function y(
|
|
2241
|
+
function y(k, f, i) {
|
|
2209
2242
|
setTimeout(function() {
|
|
2210
|
-
l.progress(
|
|
2243
|
+
l.progress(k, f, i);
|
|
2211
2244
|
});
|
|
2212
2245
|
}
|
|
2213
|
-
this.images.forEach(function(
|
|
2214
|
-
|
|
2246
|
+
this.images.forEach(function(k) {
|
|
2247
|
+
k.once("progress", y), k.check();
|
|
2215
2248
|
});
|
|
2216
|
-
}, a.prototype.progress = function(l, y,
|
|
2217
|
-
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !l.isLoaded, this.emitEvent("progress", [this, l, y]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, l), this.progressedCount == this.images.length && this.complete(), this.options.debug && s && s.log("progress: " +
|
|
2249
|
+
}, a.prototype.progress = function(l, y, k) {
|
|
2250
|
+
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !l.isLoaded, this.emitEvent("progress", [this, l, y]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, l), this.progressedCount == this.images.length && this.complete(), this.options.debug && s && s.log("progress: " + k, l, y);
|
|
2218
2251
|
}, a.prototype.complete = function() {
|
|
2219
2252
|
var l = this.hasAnyBroken ? "fail" : "done";
|
|
2220
2253
|
if (this.isComplete = !0, this.emitEvent(l, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
|
|
@@ -2246,29 +2279,29 @@ var kt = { exports: {} };
|
|
|
2246
2279
|
}, m.prototype.unbindEvents = function() {
|
|
2247
2280
|
this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
|
|
2248
2281
|
};
|
|
2249
|
-
function
|
|
2282
|
+
function _(l, y) {
|
|
2250
2283
|
this.url = l, this.element = y, this.img = new Image();
|
|
2251
2284
|
}
|
|
2252
|
-
return
|
|
2285
|
+
return _.prototype = Object.create(m.prototype), _.prototype.check = function() {
|
|
2253
2286
|
this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
|
|
2254
2287
|
var l = this.getIsImageComplete();
|
|
2255
2288
|
l && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
|
|
2256
|
-
},
|
|
2289
|
+
}, _.prototype.unbindEvents = function() {
|
|
2257
2290
|
this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
|
|
2258
|
-
},
|
|
2291
|
+
}, _.prototype.confirm = function(l, y) {
|
|
2259
2292
|
this.isLoaded = l, this.emitEvent("progress", [this, this.element, y]);
|
|
2260
2293
|
}, a.makeJQueryPlugin = function(l) {
|
|
2261
|
-
l = l || e.jQuery, l && (d = l, d.fn.imagesLoaded = function(y,
|
|
2262
|
-
var f = new a(this, y,
|
|
2294
|
+
l = l || e.jQuery, l && (d = l, d.fn.imagesLoaded = function(y, k) {
|
|
2295
|
+
var f = new a(this, y, k);
|
|
2263
2296
|
return f.jqDeferred.promise(d(this));
|
|
2264
2297
|
});
|
|
2265
2298
|
}, a.makeJQueryPlugin(), a;
|
|
2266
2299
|
}
|
|
2267
2300
|
);
|
|
2268
|
-
})(
|
|
2269
|
-
var
|
|
2270
|
-
const
|
|
2271
|
-
function
|
|
2301
|
+
})(It);
|
|
2302
|
+
var qn = It.exports;
|
|
2303
|
+
const Gn = /* @__PURE__ */ kt(qn);
|
|
2304
|
+
function jn(n) {
|
|
2272
2305
|
return { all: n = n || /* @__PURE__ */ new Map(), on: function(t, e) {
|
|
2273
2306
|
var o = n.get(t);
|
|
2274
2307
|
o ? o.push(e) : n.set(t, [e]);
|
|
@@ -2284,7 +2317,7 @@ function Fn(n) {
|
|
|
2284
2317
|
});
|
|
2285
2318
|
} };
|
|
2286
2319
|
}
|
|
2287
|
-
const
|
|
2320
|
+
const _e = {
|
|
2288
2321
|
"column-width": "columnWidth",
|
|
2289
2322
|
"transition-duration": "transitionDuration",
|
|
2290
2323
|
"item-selector": "itemSelector",
|
|
@@ -2297,58 +2330,58 @@ const be = {
|
|
|
2297
2330
|
"horizontal-order": "horizontalOrder",
|
|
2298
2331
|
stagger: "stagger",
|
|
2299
2332
|
"destroy-delay": "destroyDelay"
|
|
2300
|
-
},
|
|
2333
|
+
}, ke = "vuemasonry.itemAdded", Ne = "vuemasonry.itemRemoved", Ue = "vuemasonry.imageLoaded", Fe = "vuemasonry.destroy", Yn = function(n) {
|
|
2301
2334
|
return (n + "").toLowerCase() === "true";
|
|
2302
|
-
},
|
|
2335
|
+
}, Kn = function(n) {
|
|
2303
2336
|
return isNaN(n) ? n : parseInt(n);
|
|
2304
|
-
},
|
|
2337
|
+
}, Qn = function(n) {
|
|
2305
2338
|
const t = {};
|
|
2306
2339
|
return Array.prototype.slice.call(n).forEach(function(o) {
|
|
2307
|
-
Object.keys(
|
|
2340
|
+
Object.keys(_e).indexOf(o.name) > -1 && (o.name.indexOf("origin") > -1 ? t[_e[o.name]] = Yn(o.value) : o.name === "column-width" || o.name === "gutter" ? t[_e[o.name]] = Kn(o.value) : t[_e[o.name]] = o.value);
|
|
2308
2341
|
}), t;
|
|
2309
|
-
},
|
|
2310
|
-
|
|
2311
|
-
const e =
|
|
2342
|
+
}, Tt = {};
|
|
2343
|
+
Tt.install = function(n, t) {
|
|
2344
|
+
const e = jn(), o = "VueMasonry", d = n;
|
|
2312
2345
|
d.directive("masonry", {
|
|
2313
2346
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2314
2347
|
mounted: function(s, h) {
|
|
2315
|
-
if (!
|
|
2348
|
+
if (!pt)
|
|
2316
2349
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2317
|
-
const u =
|
|
2350
|
+
const u = Qn(s.attributes), p = new pt(s, u), a = h.value || o, g = u.destroyDelay ? parseInt(u.destroyDelay, 10) : void 0, m = function() {
|
|
2318
2351
|
p.reloadItems(), p.layout();
|
|
2319
2352
|
};
|
|
2320
|
-
|
|
2353
|
+
yt(() => {
|
|
2321
2354
|
m();
|
|
2322
2355
|
});
|
|
2323
|
-
const
|
|
2356
|
+
const _ = function(y) {
|
|
2324
2357
|
m();
|
|
2325
2358
|
}, l = function(y) {
|
|
2326
|
-
e["off"](`${
|
|
2327
|
-
const
|
|
2359
|
+
e["off"](`${ke}__${a}`, _), e["off"](`${Ne}__${a}`, _), e["off"](`${Ue}__${a}`, _), e["off"](`${Fe}__${a}`, l);
|
|
2360
|
+
const k = g && !Number.isNaN(g) ? g : 0;
|
|
2328
2361
|
setTimeout(function() {
|
|
2329
2362
|
p.destroy();
|
|
2330
|
-
},
|
|
2363
|
+
}, k);
|
|
2331
2364
|
};
|
|
2332
|
-
e["on"](`${
|
|
2365
|
+
e["on"](`${ke}__${a}`, _), e["on"](`${Ne}__${a}`, _), e["on"](`${Ue}__${a}`, _), e["on"](`${Fe}__${a}`, l);
|
|
2333
2366
|
},
|
|
2334
2367
|
unbind: function(s, h) {
|
|
2335
2368
|
const u = h.value || o;
|
|
2336
|
-
e["emit"](`${
|
|
2369
|
+
e["emit"](`${Fe}__${u}`);
|
|
2337
2370
|
}
|
|
2338
2371
|
}), d.directive("masonryTile", {
|
|
2339
2372
|
mounted: function(s, h) {
|
|
2340
2373
|
const u = h.value || o;
|
|
2341
|
-
e["emit"](`${
|
|
2374
|
+
e["emit"](`${ke}__${u}`, {
|
|
2342
2375
|
element: s
|
|
2343
|
-
}), new
|
|
2344
|
-
e["emit"](`${
|
|
2376
|
+
}), new Gn(s, function() {
|
|
2377
|
+
e["emit"](`${Ue}__${u}`, {
|
|
2345
2378
|
element: s
|
|
2346
2379
|
});
|
|
2347
2380
|
});
|
|
2348
2381
|
},
|
|
2349
2382
|
unbind: function(s, h) {
|
|
2350
2383
|
const u = h.value || o;
|
|
2351
|
-
e["emit"](`${
|
|
2384
|
+
e["emit"](`${Ne}__${u}`, {
|
|
2352
2385
|
element: s
|
|
2353
2386
|
});
|
|
2354
2387
|
}
|
|
@@ -2356,35 +2389,35 @@ Et.install = function(n, t) {
|
|
|
2356
2389
|
{
|
|
2357
2390
|
const s = function(h) {
|
|
2358
2391
|
const u = h || o;
|
|
2359
|
-
e["emit"](`${
|
|
2392
|
+
e["emit"](`${ke}__${u}`);
|
|
2360
2393
|
};
|
|
2361
2394
|
n.config.globalProperties.$redrawVueMasonry = s, n.provide("redrawVueMasonry", s);
|
|
2362
2395
|
}
|
|
2363
2396
|
};
|
|
2364
|
-
function
|
|
2397
|
+
function je(n, t = {}, e) {
|
|
2365
2398
|
for (const o in n) {
|
|
2366
2399
|
const d = n[o], s = e ? `${e}:${o}` : o;
|
|
2367
|
-
typeof d == "object" && d !== null ?
|
|
2400
|
+
typeof d == "object" && d !== null ? je(d, t, s) : typeof d == "function" && (t[s] = d);
|
|
2368
2401
|
}
|
|
2369
2402
|
return t;
|
|
2370
2403
|
}
|
|
2371
|
-
const
|
|
2372
|
-
function
|
|
2373
|
-
const e = t.shift(), o =
|
|
2404
|
+
const Jn = { run: (n) => n() }, Xn = () => Jn, Ct = typeof console.createTask < "u" ? console.createTask : Xn;
|
|
2405
|
+
function Zn(n, t) {
|
|
2406
|
+
const e = t.shift(), o = Ct(e);
|
|
2374
2407
|
return n.reduce(
|
|
2375
2408
|
(d, s) => d.then(() => o.run(() => s(...t))),
|
|
2376
2409
|
Promise.resolve()
|
|
2377
2410
|
);
|
|
2378
2411
|
}
|
|
2379
|
-
function
|
|
2380
|
-
const e = t.shift(), o =
|
|
2412
|
+
function ei(n, t) {
|
|
2413
|
+
const e = t.shift(), o = Ct(e);
|
|
2381
2414
|
return Promise.all(n.map((d) => o.run(() => d(...t))));
|
|
2382
2415
|
}
|
|
2383
|
-
function
|
|
2416
|
+
function qe(n, t) {
|
|
2384
2417
|
for (const e of [...n])
|
|
2385
2418
|
e(t);
|
|
2386
2419
|
}
|
|
2387
|
-
class
|
|
2420
|
+
class ti {
|
|
2388
2421
|
constructor() {
|
|
2389
2422
|
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);
|
|
2390
2423
|
}
|
|
@@ -2435,7 +2468,7 @@ class Xn {
|
|
|
2435
2468
|
this.deprecateHook(e, t[e]);
|
|
2436
2469
|
}
|
|
2437
2470
|
addHooks(t) {
|
|
2438
|
-
const e =
|
|
2471
|
+
const e = je(t), o = Object.keys(e).map(
|
|
2439
2472
|
(d) => this.hook(d, e[d])
|
|
2440
2473
|
);
|
|
2441
2474
|
return () => {
|
|
@@ -2444,7 +2477,7 @@ class Xn {
|
|
|
2444
2477
|
};
|
|
2445
2478
|
}
|
|
2446
2479
|
removeHooks(t) {
|
|
2447
|
-
const e =
|
|
2480
|
+
const e = je(t);
|
|
2448
2481
|
for (const o in e)
|
|
2449
2482
|
this.removeHook(o, e[o]);
|
|
2450
2483
|
}
|
|
@@ -2453,21 +2486,21 @@ class Xn {
|
|
|
2453
2486
|
delete this._hooks[t];
|
|
2454
2487
|
}
|
|
2455
2488
|
callHook(t, ...e) {
|
|
2456
|
-
return e.unshift(t), this.callHookWith(
|
|
2489
|
+
return e.unshift(t), this.callHookWith(Zn, t, ...e);
|
|
2457
2490
|
}
|
|
2458
2491
|
callHookParallel(t, ...e) {
|
|
2459
|
-
return e.unshift(t), this.callHookWith(
|
|
2492
|
+
return e.unshift(t), this.callHookWith(ei, t, ...e);
|
|
2460
2493
|
}
|
|
2461
2494
|
callHookWith(t, e, ...o) {
|
|
2462
2495
|
const d = this._before || this._after ? { name: e, args: o, context: {} } : void 0;
|
|
2463
|
-
this._before &&
|
|
2496
|
+
this._before && qe(this._before, d);
|
|
2464
2497
|
const s = t(
|
|
2465
2498
|
e in this._hooks ? [...this._hooks[e]] : [],
|
|
2466
2499
|
o
|
|
2467
2500
|
);
|
|
2468
2501
|
return s instanceof Promise ? s.finally(() => {
|
|
2469
|
-
this._after && d &&
|
|
2470
|
-
}) : (this._after && d &&
|
|
2502
|
+
this._after && d && qe(this._after, d);
|
|
2503
|
+
}) : (this._after && d && qe(this._after, d), s);
|
|
2471
2504
|
}
|
|
2472
2505
|
beforeEach(t) {
|
|
2473
2506
|
return this._before = this._before || [], this._before.push(t), () => {
|
|
@@ -2486,20 +2519,20 @@ class Xn {
|
|
|
2486
2519
|
};
|
|
2487
2520
|
}
|
|
2488
2521
|
}
|
|
2489
|
-
function
|
|
2490
|
-
return new
|
|
2522
|
+
function oi() {
|
|
2523
|
+
return new ti();
|
|
2491
2524
|
}
|
|
2492
|
-
function
|
|
2525
|
+
function ni(n) {
|
|
2493
2526
|
return Array.isArray(n) ? n : [n];
|
|
2494
2527
|
}
|
|
2495
|
-
const
|
|
2528
|
+
const ii = ["title", "titleTemplate", "script", "style", "noscript"], Ee = [
|
|
2496
2529
|
"base",
|
|
2497
2530
|
"meta",
|
|
2498
2531
|
"link",
|
|
2499
2532
|
"style",
|
|
2500
2533
|
"script",
|
|
2501
2534
|
"noscript"
|
|
2502
|
-
],
|
|
2535
|
+
], ri = [
|
|
2503
2536
|
"title",
|
|
2504
2537
|
"titleTemplate",
|
|
2505
2538
|
"templateParams",
|
|
@@ -2511,19 +2544,19 @@ const ti = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
|
|
|
2511
2544
|
"style",
|
|
2512
2545
|
"script",
|
|
2513
2546
|
"noscript"
|
|
2514
|
-
],
|
|
2515
|
-
function
|
|
2547
|
+
], si = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], $t = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "innerHTML", "textContent", "processTemplateParams"], ai = typeof window < "u";
|
|
2548
|
+
function Xe(n) {
|
|
2516
2549
|
let t = 9;
|
|
2517
2550
|
for (let e = 0; e < n.length; )
|
|
2518
2551
|
t = Math.imul(t ^ n.charCodeAt(e++), 9 ** 9);
|
|
2519
2552
|
return ((t ^ t >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
2520
2553
|
}
|
|
2521
|
-
function
|
|
2522
|
-
return n._h ||
|
|
2554
|
+
function ht(n) {
|
|
2555
|
+
return n._h || Xe(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([t, e]) => `${t}:${String(e)}`).join(",")}`);
|
|
2523
2556
|
}
|
|
2524
|
-
function
|
|
2557
|
+
function Vt(n, t) {
|
|
2525
2558
|
const { props: e, tag: o } = n;
|
|
2526
|
-
if (
|
|
2559
|
+
if (si.includes(o))
|
|
2527
2560
|
return o;
|
|
2528
2561
|
if (o === "link" && e.rel === "canonical")
|
|
2529
2562
|
return "canonical";
|
|
@@ -2538,65 +2571,65 @@ function Ct(n, t) {
|
|
|
2538
2571
|
}
|
|
2539
2572
|
return !1;
|
|
2540
2573
|
}
|
|
2541
|
-
function
|
|
2574
|
+
function ft(n, t) {
|
|
2542
2575
|
return n == null ? t || null : typeof n == "function" ? n(t) : n;
|
|
2543
2576
|
}
|
|
2544
|
-
async function
|
|
2577
|
+
async function li(n, t, e) {
|
|
2545
2578
|
const o = {
|
|
2546
2579
|
tag: n,
|
|
2547
|
-
props: await
|
|
2580
|
+
props: await Pt(
|
|
2548
2581
|
// explicitly check for an object
|
|
2549
2582
|
// @ts-expect-error untyped
|
|
2550
2583
|
typeof t == "object" && typeof t != "function" && !(t instanceof Promise) ? { ...t } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: t },
|
|
2551
2584
|
["templateParams", "titleTemplate"].includes(n)
|
|
2552
2585
|
)
|
|
2553
2586
|
};
|
|
2554
|
-
return
|
|
2587
|
+
return $t.forEach((d) => {
|
|
2555
2588
|
const s = typeof o.props[d] < "u" ? o.props[d] : e[d];
|
|
2556
|
-
typeof s < "u" && ((!["innerHTML", "textContent"].includes(d) ||
|
|
2589
|
+
typeof s < "u" && ((!["innerHTML", "textContent"].includes(d) || ii.includes(o.tag)) && (o[d] = s), delete o.props[d]);
|
|
2557
2590
|
}), o.props.body && (o.tagPosition = "bodyClose", delete o.props.body), o.props.children && (o.innerHTML = o.props.children, delete o.props.children), o.tag === "script" && (typeof o.innerHTML == "object" && (o.innerHTML = JSON.stringify(o.innerHTML), o.props.type = o.props.type || "application/json"), o.innerHTML && ["application/ld+json", "application/json"].includes(o.props.type) && (o.innerHTML = o.innerHTML.replace(/</g, "\\u003C"))), Array.isArray(o.props.content) ? o.props.content.map((d) => ({ ...o, props: { ...o.props, content: d } })) : o;
|
|
2558
2591
|
}
|
|
2559
|
-
function
|
|
2592
|
+
function ui(n) {
|
|
2560
2593
|
return typeof n == "object" && !Array.isArray(n) && (n = Object.keys(n).filter((t) => n[t])), (Array.isArray(n) ? n.join(" ") : n).split(" ").filter((t) => t.trim()).filter(Boolean).join(" ");
|
|
2561
2594
|
}
|
|
2562
|
-
async function
|
|
2595
|
+
async function Pt(n, t) {
|
|
2563
2596
|
for (const e of Object.keys(n)) {
|
|
2564
2597
|
if (e === "class") {
|
|
2565
|
-
n[e] =
|
|
2598
|
+
n[e] = ui(n[e]);
|
|
2566
2599
|
continue;
|
|
2567
2600
|
}
|
|
2568
|
-
if (n[e] instanceof Promise && (n[e] = await n[e]), !t &&
|
|
2601
|
+
if (n[e] instanceof Promise && (n[e] = await n[e]), !t && !$t.includes(e)) {
|
|
2569
2602
|
const o = String(n[e]), d = e.startsWith("data-");
|
|
2570
2603
|
o === "true" || o === "" ? n[e] = d ? "true" : !0 : n[e] || (d && o === "false" ? n[e] = "false" : delete n[e]);
|
|
2571
2604
|
}
|
|
2572
2605
|
}
|
|
2573
2606
|
return n;
|
|
2574
2607
|
}
|
|
2575
|
-
const
|
|
2576
|
-
async function
|
|
2608
|
+
const di = 10;
|
|
2609
|
+
async function ci(n) {
|
|
2577
2610
|
const t = [];
|
|
2578
|
-
return Object.entries(n.resolvedInput).filter(([e, o]) => typeof o < "u" &&
|
|
2579
|
-
const d =
|
|
2580
|
-
t.push(...d.map((s) =>
|
|
2581
|
-
}), (await Promise.all(t)).flat().filter(Boolean).map((e, o) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i <<
|
|
2611
|
+
return Object.entries(n.resolvedInput).filter(([e, o]) => typeof o < "u" && ri.includes(e)).forEach(([e, o]) => {
|
|
2612
|
+
const d = ni(o);
|
|
2613
|
+
t.push(...d.map((s) => li(e, s, n)).flat());
|
|
2614
|
+
}), (await Promise.all(t)).flat().filter(Boolean).map((e, o) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i << di) + o, e));
|
|
2582
2615
|
}
|
|
2583
|
-
const
|
|
2616
|
+
const mt = {
|
|
2584
2617
|
// tags
|
|
2585
2618
|
base: -10,
|
|
2586
2619
|
title: 10
|
|
2587
|
-
},
|
|
2620
|
+
}, gt = {
|
|
2588
2621
|
// relative scores to their default values
|
|
2589
2622
|
critical: -80,
|
|
2590
2623
|
high: -10,
|
|
2591
2624
|
low: 20
|
|
2592
2625
|
};
|
|
2593
|
-
function
|
|
2626
|
+
function Ve(n) {
|
|
2594
2627
|
let t = 100;
|
|
2595
2628
|
const e = n.tagPriority;
|
|
2596
|
-
return typeof e == "number" ? e : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (t = -30), n.props.charset && (t = -20), n.props.name === "viewport" && (t = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? t = 20 : n.tag in
|
|
2629
|
+
return typeof e == "number" ? e : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (t = -30), n.props.charset && (t = -20), n.props.name === "viewport" && (t = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? t = 20 : n.tag in mt && (t = mt[n.tag]), typeof e == "string" && e in gt ? t + gt[e] : t);
|
|
2597
2630
|
}
|
|
2598
|
-
const
|
|
2599
|
-
function
|
|
2631
|
+
const pi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], St = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], le = "%separator";
|
|
2632
|
+
function Ie(n, t, e) {
|
|
2600
2633
|
if (typeof n != "string" || !n.includes("%"))
|
|
2601
2634
|
return n;
|
|
2602
2635
|
function o(h) {
|
|
@@ -2611,19 +2644,19 @@ function Ee(n, t, e) {
|
|
|
2611
2644
|
return (d.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((h) => {
|
|
2612
2645
|
const u = o(h.slice(1));
|
|
2613
2646
|
typeof u == "string" && (n = n.replace(new RegExp(`\\${h}(\\W|$)`, "g"), (p, a) => `${u}${a}`).trim());
|
|
2614
|
-
}), n.includes(le) && (n.endsWith(le) && (n = n.slice(0, -le.length).trim()), n.startsWith(le) && (n = n.slice(le.length).trim()), n = n.replace(new RegExp(`\\${le}\\s*\\${le}`, "g"), le), n =
|
|
2647
|
+
}), n.includes(le) && (n.endsWith(le) && (n = n.slice(0, -le.length).trim()), n.startsWith(le) && (n = n.slice(le.length).trim()), n = n.replace(new RegExp(`\\${le}\\s*\\${le}`, "g"), le), n = Ie(n, { separator: e }, e)), n;
|
|
2615
2648
|
}
|
|
2616
|
-
async function
|
|
2649
|
+
async function hi(n) {
|
|
2617
2650
|
const t = {
|
|
2618
2651
|
tag: n.tagName.toLowerCase(),
|
|
2619
|
-
props: await
|
|
2652
|
+
props: await Pt(
|
|
2620
2653
|
n.getAttributeNames().reduce((e, o) => ({ ...e, [o]: n.getAttribute(o) }), {})
|
|
2621
2654
|
),
|
|
2622
2655
|
innerHTML: n.innerHTML
|
|
2623
2656
|
};
|
|
2624
|
-
return t._d =
|
|
2657
|
+
return t._d = Vt(t), t;
|
|
2625
2658
|
}
|
|
2626
|
-
async function
|
|
2659
|
+
async function fi(n, t = {}) {
|
|
2627
2660
|
const e = t.document || n.resolvedOptions.document;
|
|
2628
2661
|
if (!e)
|
|
2629
2662
|
return;
|
|
@@ -2632,7 +2665,7 @@ async function ci(n, t = {}) {
|
|
|
2632
2665
|
return;
|
|
2633
2666
|
const d = (await n.resolveTags()).map((g) => ({
|
|
2634
2667
|
tag: g,
|
|
2635
|
-
id:
|
|
2668
|
+
id: Ee.includes(g.tag) ? ht(g) : g.tag,
|
|
2636
2669
|
shouldRender: !0
|
|
2637
2670
|
}));
|
|
2638
2671
|
let s = n._dom;
|
|
@@ -2642,28 +2675,28 @@ async function ci(n, t = {}) {
|
|
|
2642
2675
|
};
|
|
2643
2676
|
for (const g of ["body", "head"]) {
|
|
2644
2677
|
const m = e?.[g]?.children;
|
|
2645
|
-
for (const
|
|
2646
|
-
s.elMap[
|
|
2678
|
+
for (const _ of [...m].filter((l) => Ee.includes(l.tagName.toLowerCase())))
|
|
2679
|
+
s.elMap[_.getAttribute("data-hid") || ht(await hi(_))] = _;
|
|
2647
2680
|
}
|
|
2648
2681
|
}
|
|
2649
2682
|
s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
|
|
2650
|
-
function h(g, m,
|
|
2683
|
+
function h(g, m, _) {
|
|
2651
2684
|
const l = `${g}:${m}`;
|
|
2652
|
-
s.sideEffects[l] =
|
|
2685
|
+
s.sideEffects[l] = _, delete s.pendingSideEffects[l];
|
|
2653
2686
|
}
|
|
2654
|
-
function u({ id: g, $el: m, tag:
|
|
2655
|
-
const l =
|
|
2687
|
+
function u({ id: g, $el: m, tag: _ }) {
|
|
2688
|
+
const l = _.tag.endsWith("Attrs");
|
|
2656
2689
|
s.elMap[g] = m, l || (["textContent", "innerHTML"].forEach((y) => {
|
|
2657
|
-
|
|
2690
|
+
_[y] && _[y] !== m[y] && (m[y] = _[y]);
|
|
2658
2691
|
}), h(g, "el", () => {
|
|
2659
2692
|
s.elMap[g].remove(), delete s.elMap[g];
|
|
2660
|
-
})), Object.entries(
|
|
2693
|
+
})), Object.entries(_.props).forEach(([y, k]) => {
|
|
2661
2694
|
const f = `attr:${y}`;
|
|
2662
2695
|
if (y === "class")
|
|
2663
|
-
for (const i of (
|
|
2696
|
+
for (const i of (k || "").split(" ").filter(Boolean))
|
|
2664
2697
|
l && h(g, `${f}:${i}`, () => m.classList.remove(i)), !m.classList.contains(i) && m.classList.add(i);
|
|
2665
2698
|
else
|
|
2666
|
-
m.getAttribute(y) !==
|
|
2699
|
+
m.getAttribute(y) !== k && m.setAttribute(y, k === !0 ? "" : String(k)), l && h(g, f, () => m.removeAttribute(y));
|
|
2667
2700
|
});
|
|
2668
2701
|
}
|
|
2669
2702
|
const p = [], a = {
|
|
@@ -2672,13 +2705,13 @@ async function ci(n, t = {}) {
|
|
|
2672
2705
|
head: void 0
|
|
2673
2706
|
};
|
|
2674
2707
|
for (const g of d) {
|
|
2675
|
-
const { tag: m, shouldRender:
|
|
2676
|
-
if (
|
|
2708
|
+
const { tag: m, shouldRender: _, id: l } = g;
|
|
2709
|
+
if (_) {
|
|
2677
2710
|
if (m.tag === "title") {
|
|
2678
2711
|
e.title = m.textContent;
|
|
2679
2712
|
continue;
|
|
2680
2713
|
}
|
|
2681
|
-
g.$el = g.$el || s.elMap[l], g.$el ? u(g) :
|
|
2714
|
+
g.$el = g.$el || s.elMap[l], g.$el ? u(g) : Ee.includes(m.tag) && p.push(g);
|
|
2682
2715
|
}
|
|
2683
2716
|
}
|
|
2684
2717
|
for (const g of p) {
|
|
@@ -2689,33 +2722,33 @@ async function ci(n, t = {}) {
|
|
|
2689
2722
|
await n.hooks.callHook("dom:renderTag", g, e, h);
|
|
2690
2723
|
a.head && e.head.appendChild(a.head), a.bodyOpen && e.body.insertBefore(a.bodyOpen, e.body.firstChild), a.bodyClose && e.body.appendChild(a.bodyClose), Object.values(s.pendingSideEffects).forEach((g) => g()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: d });
|
|
2691
2724
|
}
|
|
2692
|
-
async function
|
|
2725
|
+
async function mi(n, t = {}) {
|
|
2693
2726
|
const e = t.delayFn || ((o) => setTimeout(o, 10));
|
|
2694
2727
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((o) => e(async () => {
|
|
2695
|
-
await
|
|
2728
|
+
await fi(n, t), delete n._domUpdatePromise, o();
|
|
2696
2729
|
}));
|
|
2697
2730
|
}
|
|
2698
2731
|
// @__NO_SIDE_EFFECTS__
|
|
2699
|
-
function
|
|
2732
|
+
function gi(n) {
|
|
2700
2733
|
return (t) => {
|
|
2701
2734
|
const e = t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
2702
2735
|
return e && t.push(JSON.parse(e)), {
|
|
2703
2736
|
mode: "client",
|
|
2704
2737
|
hooks: {
|
|
2705
2738
|
"entries:updated": function(o) {
|
|
2706
|
-
|
|
2739
|
+
mi(o, n);
|
|
2707
2740
|
}
|
|
2708
2741
|
}
|
|
2709
2742
|
};
|
|
2710
2743
|
};
|
|
2711
2744
|
}
|
|
2712
|
-
const
|
|
2745
|
+
const vi = ["templateParams", "htmlAttrs", "bodyAttrs"], yi = {
|
|
2713
2746
|
hooks: {
|
|
2714
2747
|
"tag:normalise": function({ tag: n }) {
|
|
2715
2748
|
["hid", "vmid", "key"].forEach((o) => {
|
|
2716
2749
|
n.props[o] && (n.key = n.props[o], delete n.props[o]);
|
|
2717
2750
|
});
|
|
2718
|
-
const e =
|
|
2751
|
+
const e = Vt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
|
|
2719
2752
|
e && (n._d = e);
|
|
2720
2753
|
},
|
|
2721
2754
|
"tags:resolve": function(n) {
|
|
@@ -2724,7 +2757,7 @@ const fi = ["templateParams", "htmlAttrs", "bodyAttrs"], mi = {
|
|
|
2724
2757
|
const d = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, s = t[d];
|
|
2725
2758
|
if (s) {
|
|
2726
2759
|
let u = o?.tagDuplicateStrategy;
|
|
2727
|
-
if (!u &&
|
|
2760
|
+
if (!u && vi.includes(o.tag) && (u = "merge"), u === "merge") {
|
|
2728
2761
|
const p = s.props;
|
|
2729
2762
|
["class", "style"].forEach((a) => {
|
|
2730
2763
|
o.props[a] && p[a] && (a === "style" && !p[a].endsWith(";") && (p[a] += ";"), o.props[a] = `${p[a]} ${o.props[a]}`);
|
|
@@ -2736,11 +2769,11 @@ const fi = ["templateParams", "htmlAttrs", "bodyAttrs"], mi = {
|
|
|
2736
2769
|
} else if (o._e === s._e) {
|
|
2737
2770
|
s._duped = s._duped || [], o._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(o);
|
|
2738
2771
|
return;
|
|
2739
|
-
} else if (
|
|
2772
|
+
} else if (Ve(o) > Ve(s))
|
|
2740
2773
|
return;
|
|
2741
2774
|
}
|
|
2742
2775
|
const h = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
|
|
2743
|
-
if (
|
|
2776
|
+
if (Ee.includes(o.tag) && h === 0) {
|
|
2744
2777
|
delete t[d];
|
|
2745
2778
|
return;
|
|
2746
2779
|
}
|
|
@@ -2753,7 +2786,7 @@ const fi = ["templateParams", "htmlAttrs", "bodyAttrs"], mi = {
|
|
|
2753
2786
|
}), n.tags = e, n.tags = n.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
|
|
2754
2787
|
}
|
|
2755
2788
|
}
|
|
2756
|
-
},
|
|
2789
|
+
}, bi = {
|
|
2757
2790
|
mode: "server",
|
|
2758
2791
|
hooks: {
|
|
2759
2792
|
"tags:resolve": function(n) {
|
|
@@ -2767,20 +2800,20 @@ const fi = ["templateParams", "htmlAttrs", "bodyAttrs"], mi = {
|
|
|
2767
2800
|
});
|
|
2768
2801
|
}
|
|
2769
2802
|
}
|
|
2770
|
-
},
|
|
2771
|
-
function
|
|
2803
|
+
}, _i = ["script", "link", "bodyAttrs"];
|
|
2804
|
+
function ki(n) {
|
|
2772
2805
|
const t = {}, e = {};
|
|
2773
2806
|
return Object.entries(n.props).forEach(([o, d]) => {
|
|
2774
|
-
o.startsWith("on") && typeof d == "function" ? (
|
|
2807
|
+
o.startsWith("on") && typeof d == "function" ? (St.includes(o) && (t[o] = `this.dataset.${o} = true`), e[o] = d) : t[o] = d;
|
|
2775
2808
|
}), { props: t, eventHandlers: e };
|
|
2776
2809
|
}
|
|
2777
|
-
const
|
|
2810
|
+
const Ei = (n) => ({
|
|
2778
2811
|
hooks: {
|
|
2779
2812
|
"tags:resolve": function(t) {
|
|
2780
2813
|
for (const e of t.tags)
|
|
2781
|
-
if (
|
|
2782
|
-
const { props: o, eventHandlers: d } =
|
|
2783
|
-
e.props = o, Object.keys(d).length && ((e.props.src || e.props.href) && (e.key = e.key ||
|
|
2814
|
+
if (_i.includes(e.tag)) {
|
|
2815
|
+
const { props: o, eventHandlers: d } = ki(e);
|
|
2816
|
+
e.props = o, Object.keys(d).length && ((e.props.src || e.props.href) && (e.key = e.key || Xe(e.props.src || e.props.href)), e._eventHandlers = d);
|
|
2784
2817
|
}
|
|
2785
2818
|
},
|
|
2786
2819
|
"dom:renderTag": function(t, e, o) {
|
|
@@ -2794,11 +2827,11 @@ const bi = (n) => ({
|
|
|
2794
2827
|
return;
|
|
2795
2828
|
t.$el.setAttribute(a, "");
|
|
2796
2829
|
let g;
|
|
2797
|
-
const m = (
|
|
2798
|
-
h(
|
|
2830
|
+
const m = (_) => {
|
|
2831
|
+
h(_), g?.disconnect();
|
|
2799
2832
|
};
|
|
2800
|
-
s in t.$el.dataset ? m(new Event(s.replace("on", ""))) :
|
|
2801
|
-
|
|
2833
|
+
s in t.$el.dataset ? m(new Event(s.replace("on", ""))) : St.includes(s) && typeof MutationObserver < "u" ? (g = new MutationObserver((_) => {
|
|
2834
|
+
_.some((y) => y.attributeName === `data-${s}`) && (m(new Event(s.replace("on", ""))), g?.disconnect());
|
|
2802
2835
|
}), g.observe(t.$el, {
|
|
2803
2836
|
attributes: !0
|
|
2804
2837
|
})) : d.addEventListener(p, m), o(t.id, u, () => {
|
|
@@ -2807,58 +2840,58 @@ const bi = (n) => ({
|
|
|
2807
2840
|
});
|
|
2808
2841
|
}
|
|
2809
2842
|
}
|
|
2810
|
-
}),
|
|
2843
|
+
}), Ii = ["link", "style", "script", "noscript"], Ti = {
|
|
2811
2844
|
hooks: {
|
|
2812
2845
|
"tag:normalise": ({ tag: n }) => {
|
|
2813
|
-
n.key &&
|
|
2846
|
+
n.key && Ii.includes(n.tag) && (n.props["data-hid"] = n._h = Xe(n.key));
|
|
2814
2847
|
}
|
|
2815
2848
|
}
|
|
2816
|
-
},
|
|
2849
|
+
}, Ci = {
|
|
2817
2850
|
hooks: {
|
|
2818
2851
|
"tags:resolve": (n) => {
|
|
2819
2852
|
const t = (e) => n.tags.find((o) => o._d === e)?._p;
|
|
2820
|
-
for (const { prefix: e, offset: o } of
|
|
2853
|
+
for (const { prefix: e, offset: o } of pi)
|
|
2821
2854
|
for (const d of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(e))) {
|
|
2822
2855
|
const s = t(
|
|
2823
2856
|
d.tagPriority.replace(e, "")
|
|
2824
2857
|
);
|
|
2825
2858
|
typeof s < "u" && (d._p = s + o);
|
|
2826
2859
|
}
|
|
2827
|
-
n.tags.sort((e, o) => e._p - o._p).sort((e, o) =>
|
|
2860
|
+
n.tags.sort((e, o) => e._p - o._p).sort((e, o) => Ve(e) - Ve(o));
|
|
2828
2861
|
}
|
|
2829
2862
|
}
|
|
2830
|
-
},
|
|
2863
|
+
}, $i = {
|
|
2831
2864
|
meta: "content",
|
|
2832
2865
|
link: "href",
|
|
2833
2866
|
htmlAttrs: "lang"
|
|
2834
|
-
},
|
|
2867
|
+
}, Vi = (n) => ({
|
|
2835
2868
|
hooks: {
|
|
2836
2869
|
"tags:resolve": (t) => {
|
|
2837
2870
|
const { tags: e } = t, o = e.find((u) => u.tag === "title")?.textContent, d = e.findIndex((u) => u.tag === "templateParams"), s = d !== -1 ? e[d].props : {}, h = s.separator || "|";
|
|
2838
|
-
delete s.separator, s.pageTitle =
|
|
2871
|
+
delete s.separator, s.pageTitle = Ie(s.pageTitle || o || "", s, h);
|
|
2839
2872
|
for (const u of e.filter((p) => p.processTemplateParams !== !1)) {
|
|
2840
|
-
const p =
|
|
2841
|
-
p && typeof u.props[p] == "string" ? u.props[p] =
|
|
2842
|
-
typeof u[a] == "string" && (u[a] =
|
|
2873
|
+
const p = $i[u.tag];
|
|
2874
|
+
p && typeof u.props[p] == "string" ? u.props[p] = Ie(u.props[p], s, h) : (u.processTemplateParams === !0 || ["titleTemplate", "title"].includes(u.tag)) && ["innerHTML", "textContent"].forEach((a) => {
|
|
2875
|
+
typeof u[a] == "string" && (u[a] = Ie(u[a], s, h));
|
|
2843
2876
|
});
|
|
2844
2877
|
}
|
|
2845
2878
|
n._templateParams = s, n._separator = h, t.tags = e.filter((u) => u.tag !== "templateParams");
|
|
2846
2879
|
}
|
|
2847
2880
|
}
|
|
2848
|
-
}),
|
|
2881
|
+
}), Pi = {
|
|
2849
2882
|
hooks: {
|
|
2850
2883
|
"tags:resolve": (n) => {
|
|
2851
2884
|
const { tags: t } = n;
|
|
2852
2885
|
let e = t.findIndex((d) => d.tag === "titleTemplate");
|
|
2853
2886
|
const o = t.findIndex((d) => d.tag === "title");
|
|
2854
2887
|
if (o !== -1 && e !== -1) {
|
|
2855
|
-
const d =
|
|
2888
|
+
const d = ft(
|
|
2856
2889
|
t[e].textContent,
|
|
2857
2890
|
t[o].textContent
|
|
2858
2891
|
);
|
|
2859
2892
|
d !== null ? t[o].textContent = d || t[o].textContent : delete t[o];
|
|
2860
2893
|
} else if (e !== -1) {
|
|
2861
|
-
const d =
|
|
2894
|
+
const d = ft(
|
|
2862
2895
|
t[e].textContent
|
|
2863
2896
|
);
|
|
2864
2897
|
d !== null && (t[e].textContent = d, t[e].tag = "title", e = -1);
|
|
@@ -2868,16 +2901,16 @@ const bi = (n) => ({
|
|
|
2868
2901
|
}
|
|
2869
2902
|
};
|
|
2870
2903
|
// @__NO_SIDE_EFFECTS__
|
|
2871
|
-
function
|
|
2872
|
-
const t =
|
|
2873
|
-
return t.use(/* @__PURE__ */
|
|
2904
|
+
function Si(n = {}) {
|
|
2905
|
+
const t = xi(n);
|
|
2906
|
+
return t.use(/* @__PURE__ */ gi()), t;
|
|
2874
2907
|
}
|
|
2875
|
-
function
|
|
2908
|
+
function vt(n, t) {
|
|
2876
2909
|
return !n || n === "server" && t || n === "client" && !t;
|
|
2877
2910
|
}
|
|
2878
|
-
function
|
|
2879
|
-
const t =
|
|
2880
|
-
t.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2911
|
+
function xi(n = {}) {
|
|
2912
|
+
const t = oi();
|
|
2913
|
+
t.addHooks(n.hooks || {}), n.document = n.document || (ai ? document : void 0);
|
|
2881
2914
|
const e = !n.document, o = () => {
|
|
2882
2915
|
u.dirty = !0, t.callHook("entries:updated", u);
|
|
2883
2916
|
};
|
|
@@ -2892,7 +2925,7 @@ function Vi(n = {}) {
|
|
|
2892
2925
|
},
|
|
2893
2926
|
use(p) {
|
|
2894
2927
|
const a = typeof p == "function" ? p(u) : p;
|
|
2895
|
-
(!a.key || !h.some((g) => g.key === a.key)) && (h.push(a),
|
|
2928
|
+
(!a.key || !h.some((g) => g.key === a.key)) && (h.push(a), vt(a.mode, e) && t.addHooks(a.hooks || {}));
|
|
2896
2929
|
},
|
|
2897
2930
|
push(p, a) {
|
|
2898
2931
|
delete a?.head;
|
|
@@ -2901,13 +2934,13 @@ function Vi(n = {}) {
|
|
|
2901
2934
|
input: p,
|
|
2902
2935
|
...a
|
|
2903
2936
|
};
|
|
2904
|
-
return
|
|
2937
|
+
return vt(g.mode, e) && (s.push(g), o()), {
|
|
2905
2938
|
dispose() {
|
|
2906
2939
|
s = s.filter((m) => m._i !== g._i), t.callHook("entries:updated", u), o();
|
|
2907
2940
|
},
|
|
2908
2941
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2909
2942
|
patch(m) {
|
|
2910
|
-
s = s.map((
|
|
2943
|
+
s = s.map((_) => (_._i === g._i && (_.input = g.input = m), _)), o();
|
|
2911
2944
|
}
|
|
2912
2945
|
};
|
|
2913
2946
|
},
|
|
@@ -2917,9 +2950,9 @@ function Vi(n = {}) {
|
|
|
2917
2950
|
for (const a of p.entries) {
|
|
2918
2951
|
const g = a.resolvedInput || a.input;
|
|
2919
2952
|
if (a.resolvedInput = await (a.transform ? a.transform(g) : g), a.resolvedInput)
|
|
2920
|
-
for (const m of await
|
|
2921
|
-
const
|
|
2922
|
-
await t.callHook("tag:normalise",
|
|
2953
|
+
for (const m of await ci(a)) {
|
|
2954
|
+
const _ = { tag: m, entry: a, resolvedOptions: u.resolvedOptions };
|
|
2955
|
+
await t.callHook("tag:normalise", _), p.tags.push(_.tag);
|
|
2923
2956
|
}
|
|
2924
2957
|
}
|
|
2925
2958
|
return await t.callHook("tags:beforeResolve", p), await t.callHook("tags:resolve", p), p.tags;
|
|
@@ -2927,55 +2960,55 @@ function Vi(n = {}) {
|
|
|
2927
2960
|
ssr: e
|
|
2928
2961
|
};
|
|
2929
2962
|
return [
|
|
2930
|
-
|
|
2931
|
-
gi,
|
|
2963
|
+
yi,
|
|
2932
2964
|
bi,
|
|
2933
|
-
ki,
|
|
2934
2965
|
Ei,
|
|
2935
2966
|
Ti,
|
|
2936
2967
|
Ci,
|
|
2968
|
+
Vi,
|
|
2969
|
+
Pi,
|
|
2937
2970
|
...n?.plugins || []
|
|
2938
2971
|
].forEach((p) => u.use(p)), u.hooks.callHook("init", u), u;
|
|
2939
2972
|
}
|
|
2940
|
-
const
|
|
2941
|
-
function
|
|
2973
|
+
const Li = co.startsWith("3");
|
|
2974
|
+
function Di(n) {
|
|
2942
2975
|
return typeof n == "function" ? n() : r(n);
|
|
2943
2976
|
}
|
|
2944
|
-
function
|
|
2977
|
+
function Ye(n, t = "") {
|
|
2945
2978
|
if (n instanceof Promise)
|
|
2946
2979
|
return n;
|
|
2947
|
-
const e =
|
|
2948
|
-
return !n || !e ? e : Array.isArray(e) ? e.map((o) =>
|
|
2949
|
-
Object.entries(e).map(([o, d]) => o === "titleTemplate" || o.startsWith("on") ? [o, r(d)] : [o,
|
|
2980
|
+
const e = Di(n);
|
|
2981
|
+
return !n || !e ? e : Array.isArray(e) ? e.map((o) => Ye(o, t)) : typeof e == "object" ? Object.fromEntries(
|
|
2982
|
+
Object.entries(e).map(([o, d]) => o === "titleTemplate" || o.startsWith("on") ? [o, r(d)] : [o, Ye(d, o)])
|
|
2950
2983
|
) : e;
|
|
2951
2984
|
}
|
|
2952
|
-
const
|
|
2985
|
+
const Oi = {
|
|
2953
2986
|
hooks: {
|
|
2954
2987
|
"entries:resolve": function(n) {
|
|
2955
2988
|
for (const t of n.entries)
|
|
2956
|
-
t.resolvedInput =
|
|
2989
|
+
t.resolvedInput = Ye(t.input);
|
|
2957
2990
|
}
|
|
2958
2991
|
}
|
|
2959
|
-
},
|
|
2960
|
-
function
|
|
2992
|
+
}, Hi = "usehead";
|
|
2993
|
+
function wi(n) {
|
|
2961
2994
|
return {
|
|
2962
2995
|
install(e) {
|
|
2963
|
-
|
|
2996
|
+
Li && (e.config.globalProperties.$unhead = n, e.config.globalProperties.$head = n, e.provide(Hi, n));
|
|
2964
2997
|
}
|
|
2965
2998
|
}.install;
|
|
2966
2999
|
}
|
|
2967
|
-
function
|
|
2968
|
-
n.domDelayFn = n.domDelayFn || ((e) =>
|
|
2969
|
-
const t = /* @__PURE__ */
|
|
2970
|
-
return t.use(
|
|
3000
|
+
function Ai(n = {}) {
|
|
3001
|
+
n.domDelayFn = n.domDelayFn || ((e) => yt(() => setTimeout(() => e(), 0)));
|
|
3002
|
+
const t = /* @__PURE__ */ Si(n);
|
|
3003
|
+
return t.use(Oi), t.install = wi(t), t;
|
|
2971
3004
|
}
|
|
2972
|
-
const
|
|
2973
|
-
ae.use(
|
|
2974
|
-
ae.use(
|
|
2975
|
-
ae.use(
|
|
2976
|
-
ae.use(
|
|
2977
|
-
ae.use(
|
|
2978
|
-
ae.use(
|
|
2979
|
-
ae.use(
|
|
2980
|
-
ae.use(
|
|
3005
|
+
const Bi = po(), zi = Ai(), Mi = ho(), ae = fo({ components: { Hotel: Mn } });
|
|
3006
|
+
ae.use(zi);
|
|
3007
|
+
ae.use(Bi);
|
|
3008
|
+
ae.use(Mi);
|
|
3009
|
+
ae.use(Tt);
|
|
3010
|
+
ae.use(bo);
|
|
3011
|
+
ae.use(mo);
|
|
3012
|
+
ae.use(Vo);
|
|
3013
|
+
ae.use(_o, { bootstrap: !1 });
|
|
2981
3014
|
ae.mount("#konnectio-hotel-app");
|