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