@konnectio/core 4.0.23 → 4.0.24
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-8386d3a0.cjs → ActionField-8ee667bd.cjs} +1 -1
- package/dist/{ActionField-a1ee7410.js → ActionField-b2ee8f91.js} +2 -2
- package/dist/ActionField-b2ee8f91.js.br +0 -0
- package/dist/AvailabilitySkeleton-16a3be88.js +227 -0
- package/dist/AvailabilitySkeleton-16a3be88.js.br +0 -0
- package/dist/AvailabilitySkeleton-83a2e2c6.cjs +1 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-f99a57e9.cjs → DateField.vue_vue_type_style_index_0_lang-4caf9daf.cjs} +2 -2
- package/dist/{DateField.vue_vue_type_style_index_0_lang-7eca1f41.js → DateField.vue_vue_type_style_index_0_lang-a4abbe86.js} +6 -6
- package/dist/DateField.vue_vue_type_style_index_0_lang-a4abbe86.js.br +0 -0
- package/dist/{Field-8a225f2e.cjs → Field-877b4588.cjs} +1 -1
- package/dist/{Field-01acaecd.js → Field-f5f98938.js} +2 -2
- package/dist/Field-f5f98938.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-966e55eb.js → NumberField.vue_vue_type_script_setup_true_lang-5bf8b187.js} +2 -2
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-5bf8b187.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-2520c9fa.cjs → NumberField.vue_vue_type_script_setup_true_lang-f72da2f4.cjs} +1 -1
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-8552e557.cjs → SelectField.vue_vue_type_style_index_0_lang-727c44d8.cjs} +22 -22
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-6fa298e4.js → SelectField.vue_vue_type_style_index_0_lang-f136675d.js} +739 -724
- package/dist/SelectField.vue_vue_type_style_index_0_lang-f136675d.js.br +0 -0
- package/dist/{ThankYou-384c77e1.js → ThankYou-58baa41d.js} +9 -9
- package/dist/ThankYou-58baa41d.js.br +0 -0
- package/dist/{ThankYou-c1397863.cjs → ThankYou-f027d958.cjs} +2 -2
- package/dist/{_-570b650d.cjs → _-573e46fc.cjs} +1 -1
- package/dist/{_-0e8ce73d.js → _-e0a2fd6e.js} +1 -1
- package/dist/_-e0a2fd6e.js.br +0 -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/inputs/InputField.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-3a539ded.cjs → event-01f44344.cjs} +1 -1
- package/dist/{event-20213c2c.js → event-3e48b8ad.js} +9 -9
- package/dist/event-3e48b8ad.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +3 -3
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +5 -5
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +770 -760
- package/dist/hotel.js.br +0 -0
- package/dist/{index-4b1265f3.cjs → index-68332b8a.cjs} +1 -1
- package/dist/{index-f9af089a.js → index-931022d3.js} +1 -1
- package/dist/index-931022d3.js.br +0 -0
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-a1ee7410.js.br +0 -0
- package/dist/AvailabilitySkeleton-6c6bec89.js +0 -223
- package/dist/AvailabilitySkeleton-6c6bec89.js.br +0 -0
- package/dist/AvailabilitySkeleton-b36452fe.cjs +0 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-7eca1f41.js.br +0 -0
- package/dist/Field-01acaecd.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-966e55eb.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6fa298e4.js.br +0 -0
- package/dist/ThankYou-384c77e1.js.br +0 -0
- package/dist/_-0e8ce73d.js.br +0 -0
- package/dist/event-20213c2c.js.br +0 -0
- package/dist/index-f9af089a.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,129 +1,128 @@
|
|
|
1
|
-
import { h as
|
|
2
|
-
import { R as
|
|
3
|
-
import { u as
|
|
4
|
-
import { A as
|
|
5
|
-
import { _ as $o } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { C as Q, P as
|
|
7
|
-
import { E as
|
|
1
|
+
import { h as ne, z as be, aB as eo, s as ue, a as Pe, ab as vt, k as E, l as H, W as to, n as r, w as A, aa as De, x as y, A as D, G as he, Y as Ze, aC as oo, q as $, a3 as j, a2 as G, t as B, aD as J, a5 as Oe, m as C, D as oe, F as K, c as X, y as Se, af as et, ag as He, _ as fe, r as ve, aE as no, aA as io, o as Ye, a1 as Ce, v as Ve, j as tt, T as pe, I as ro, ay as so, u as ao, K as lo, C as ge, aF as le, H as ot, B as q, J as uo, L as Ui, M as Fi, al as yt, aG as co, P as po, a8 as ho, N as fo, Q as mo, a9 as go } from "./SelectField.vue_vue_type_style_index_0_lang-f136675d.js";
|
|
2
|
+
import { R as vo, _ as yo, B as bo, S as _o, M as ko, T as Eo, x as Io } from "./ThankYou-58baa41d.js";
|
|
3
|
+
import { u as ye, _ as To } from "./DateField.vue_vue_type_style_index_0_lang-a4abbe86.js";
|
|
4
|
+
import { A as Co, H as Vo } from "./AvailabilitySkeleton-16a3be88.js";
|
|
5
|
+
import { _ as $o } from "./NumberField.vue_vue_type_script_setup_true_lang-5bf8b187.js";
|
|
6
|
+
import { C as Q, P as Po, a as So, S as Lo } from "./index-931022d3.js";
|
|
7
|
+
import { E as ee } from "./_-e0a2fd6e.js";
|
|
8
8
|
import { c as bt, a as _t } from "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
-
import "./ActionField-
|
|
10
|
-
import "./Field-
|
|
11
|
-
const
|
|
9
|
+
import "./ActionField-b2ee8f91.js";
|
|
10
|
+
import "./Field-f5f98938.js";
|
|
11
|
+
const we = /* @__PURE__ */ ne({
|
|
12
12
|
__name: "HotelReservationForm",
|
|
13
13
|
props: {
|
|
14
14
|
showGiftCard: { type: Boolean, default: !1 },
|
|
15
15
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
16
16
|
},
|
|
17
17
|
setup(n) {
|
|
18
|
-
const { t: e } =
|
|
18
|
+
const { t: e } = be(), t = eo(), {
|
|
19
19
|
hideArrivalDepartureInputs: o,
|
|
20
20
|
disableArrivalUserSelection: c,
|
|
21
21
|
disableDepartureUserSelection: s,
|
|
22
22
|
arrivalDefault: p,
|
|
23
23
|
departureDefault: l,
|
|
24
24
|
currency: h
|
|
25
|
-
} = ue(
|
|
25
|
+
} = ue(Pe()), {
|
|
26
26
|
arrivalDate: u,
|
|
27
27
|
departureDate: g
|
|
28
28
|
} = ue(vt()), {
|
|
29
29
|
arrivalTime: m,
|
|
30
30
|
departureTime: k,
|
|
31
31
|
roomDisplay: a,
|
|
32
|
-
templateID:
|
|
32
|
+
templateID: b,
|
|
33
33
|
totalPrice: _,
|
|
34
34
|
areListingsLoading: f
|
|
35
|
-
} = ue(
|
|
35
|
+
} = ue(ye()), { removeRoom: i } = ye();
|
|
36
36
|
function d(v) {
|
|
37
37
|
return v.reduce((P, { totalPrice: T }) => P + T, 0);
|
|
38
38
|
}
|
|
39
|
-
return (v,
|
|
39
|
+
return (v, V) => (E(), H(vo, {
|
|
40
40
|
"total-price": r(_),
|
|
41
41
|
"show-gift-card": v.showGiftCard,
|
|
42
42
|
"show-terms-notice": v.showTermsNotice,
|
|
43
43
|
"is-sidebar-loading": r(f),
|
|
44
44
|
notice: r(e)("hotel.reservationNotice")
|
|
45
|
-
},
|
|
46
|
-
form:
|
|
47
|
-
|
|
45
|
+
}, to({
|
|
46
|
+
form: A(() => [
|
|
47
|
+
De(v.$slots, "form")
|
|
48
48
|
]),
|
|
49
|
-
"reservation-summary":
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
"reservation-summary": A(() => [
|
|
50
|
+
y("li", null, [
|
|
51
|
+
y("span", null, D(r(e)("booking.reservation.arrival")), 1),
|
|
52
|
+
y("b", null, D(r(o) ? r(he)(r(u)) : `${r(he)(r(u))}, ${r(c) ? r(p) : r(m)}`), 1)
|
|
53
53
|
]),
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
y("li", null, [
|
|
55
|
+
y("span", null, D(r(e)("booking.reservation.departure")), 1),
|
|
56
|
+
y("b", null, D(r(o) ? r(he)(r(g)) : `${r(he)(r(g))}, ${r(s) ? r(l) : r(k)}`), 1)
|
|
57
57
|
]),
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
y("li", null, [
|
|
59
|
+
y("span", null, D(r(e)("booking.reservation.nights")), 1),
|
|
60
|
+
y("b", null, D(r(Ze)(r(u), r(g))) + " " + D(r(oo)(r(Ze)(r(u), r(g)) === 1 ? r(e)("booking.reservation.night") : r(e)("booking.reservation.nights"))), 1)
|
|
61
61
|
])
|
|
62
62
|
]),
|
|
63
|
-
"price-summary":
|
|
64
|
-
isNaN(r(
|
|
63
|
+
"price-summary": A(() => [
|
|
64
|
+
isNaN(r(b)) && r(a).length > 0 ? (E(!0), $(G, { key: 0 }, j(r(a), ({
|
|
65
65
|
roomGroupID: P,
|
|
66
66
|
title: T,
|
|
67
67
|
variants: S
|
|
68
|
-
}) => (E(),
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
}) => (E(), $("div", { key: P }, [
|
|
69
|
+
y("h6", null, [
|
|
70
|
+
y("span", null, D(T), 1)
|
|
71
71
|
]),
|
|
72
|
-
(E(!0),
|
|
73
|
-
|
|
74
|
-
(E(!0),
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
C(
|
|
72
|
+
(E(!0), $(G, null, j(S, (w, O) => (E(), $("div", { key: O }, [
|
|
73
|
+
B("", !0),
|
|
74
|
+
(E(!0), $(G, null, j(w.rooms, (M, R) => (E(), $("ul", { key: R }, [
|
|
75
|
+
y("li", null, [
|
|
76
|
+
y("span", null, [
|
|
77
|
+
y("span", null, D(r(J)(w.name)), 1),
|
|
78
|
+
y("span", null, [
|
|
79
|
+
Oe("( "),
|
|
80
|
+
C(oe, {
|
|
81
81
|
icon: "male",
|
|
82
82
|
type: "fas",
|
|
83
83
|
color: "font"
|
|
84
84
|
}),
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
C(
|
|
85
|
+
y("span", null, D(M.adultsCount), 1),
|
|
86
|
+
Oe(") "),
|
|
87
|
+
M.childrenCount > 0 ? (E(), $(G, { key: 0 }, [
|
|
88
|
+
C(oe, {
|
|
89
89
|
icon: "child",
|
|
90
90
|
type: "fas",
|
|
91
91
|
color: "font"
|
|
92
92
|
}),
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
], 64)) :
|
|
93
|
+
y("span", null, D(M.childrenCount), 1),
|
|
94
|
+
Oe(") ")
|
|
95
|
+
], 64)) : B("", !0)
|
|
96
96
|
])
|
|
97
97
|
]),
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
y("b", null, [
|
|
99
|
+
y("span", null, D(r(K)(M.totalPrice, r(h))), 1),
|
|
100
|
+
B("", !0)
|
|
101
101
|
])
|
|
102
102
|
]),
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
y("li", null, [
|
|
104
|
+
y("span", null, D(r(e)("booking.reservation.addons")), 1),
|
|
105
|
+
y("b", null, D(r(K)(d(M.roomAddons), r(h))), 1)
|
|
106
106
|
])
|
|
107
107
|
]))), 128))
|
|
108
108
|
]))), 128))
|
|
109
|
-
]))), 128)) :
|
|
109
|
+
]))), 128)) : B("", !0)
|
|
110
110
|
]),
|
|
111
|
-
navigation:
|
|
112
|
-
|
|
111
|
+
navigation: A(() => [
|
|
112
|
+
De(v.$slots, "navigation")
|
|
113
113
|
]),
|
|
114
114
|
_: 2
|
|
115
115
|
}, [
|
|
116
116
|
r(t).addons ? {
|
|
117
117
|
name: "addons",
|
|
118
|
-
fn:
|
|
119
|
-
|
|
118
|
+
fn: A(() => [
|
|
119
|
+
De(v.$slots, "addons")
|
|
120
120
|
]),
|
|
121
121
|
key: "0"
|
|
122
122
|
} : void 0
|
|
123
123
|
]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
124
124
|
}
|
|
125
|
-
}), xo = { key: 0 },
|
|
126
|
-
const Oo = /* @__PURE__ */ ie({
|
|
125
|
+
}), xo = { key: 0 }, Do = { style: { display: "flex", "align-items": "baseline" } }, Oo = { key: 0 }, nt = /* @__PURE__ */ ne({
|
|
127
126
|
__name: "RoomConfigField",
|
|
128
127
|
props: {
|
|
129
128
|
modelValue: {},
|
|
@@ -134,15 +133,15 @@ const Oo = /* @__PURE__ */ ie({
|
|
|
134
133
|
},
|
|
135
134
|
emits: ["update:modelValue"],
|
|
136
135
|
setup(n, { emit: e }) {
|
|
137
|
-
const { currency: t } = ue(
|
|
136
|
+
const { currency: t } = ue(Pe()), o = e, c = n;
|
|
138
137
|
function s(l) {
|
|
139
138
|
o("update:modelValue", l);
|
|
140
139
|
}
|
|
141
|
-
const p =
|
|
140
|
+
const p = X({
|
|
142
141
|
get: () => c.modelValue,
|
|
143
142
|
set: (l) => s(l)
|
|
144
143
|
});
|
|
145
|
-
return (l, h) => (E(),
|
|
144
|
+
return (l, h) => (E(), H(Se, {
|
|
146
145
|
modelValue: p.value,
|
|
147
146
|
"onUpdate:modelValue": h[0] || (h[0] = (u) => p.value = u),
|
|
148
147
|
label: l.label,
|
|
@@ -151,46 +150,48 @@ const Oo = /* @__PURE__ */ ie({
|
|
|
151
150
|
valueKey: "value",
|
|
152
151
|
"icon-placement": "label",
|
|
153
152
|
options: l.options,
|
|
154
|
-
|
|
153
|
+
readonly: l.readonly,
|
|
154
|
+
required: l.required,
|
|
155
|
+
searchable: !1
|
|
155
156
|
}, {
|
|
156
|
-
option:
|
|
157
|
-
|
|
158
|
-
C(
|
|
157
|
+
option: A(({ data: u }) => [
|
|
158
|
+
y("span", null, [
|
|
159
|
+
C(oe, {
|
|
159
160
|
icon: "male",
|
|
160
161
|
type: "fas"
|
|
161
162
|
}),
|
|
162
|
-
|
|
163
|
+
y("span", null, D(`${u.adults}`), 1)
|
|
163
164
|
]),
|
|
164
|
-
u.children > 0 ? (E(),
|
|
165
|
-
C(
|
|
165
|
+
u.children > 0 ? (E(), $("span", xo, [
|
|
166
|
+
C(oe, {
|
|
166
167
|
icon: "child",
|
|
167
168
|
type: "fas"
|
|
168
169
|
}),
|
|
169
|
-
|
|
170
|
-
])) :
|
|
171
|
-
|
|
170
|
+
y("span", null, D(`${u.children}`), 1)
|
|
171
|
+
])) : B("", !0),
|
|
172
|
+
y("span", null, D(`(${r(K)(u.price, r(t))})`), 1)
|
|
172
173
|
]),
|
|
173
|
-
"selected-option":
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
C(
|
|
174
|
+
"selected-option": A(({ data: u }) => [
|
|
175
|
+
y("div", Do, [
|
|
176
|
+
y("div", null, [
|
|
177
|
+
C(oe, {
|
|
177
178
|
icon: "male",
|
|
178
179
|
type: "fas"
|
|
179
180
|
}),
|
|
180
|
-
|
|
181
|
+
y("span", null, D(`${u.adults}`), 1)
|
|
181
182
|
]),
|
|
182
|
-
u.children > 0 ? (E(),
|
|
183
|
-
C(
|
|
183
|
+
u.children > 0 ? (E(), $("div", Oo, [
|
|
184
|
+
C(oe, {
|
|
184
185
|
icon: "child",
|
|
185
186
|
type: "fas"
|
|
186
187
|
}),
|
|
187
|
-
|
|
188
|
-
])) :
|
|
189
|
-
|
|
188
|
+
y("span", null, D(`${u.children}`), 1)
|
|
189
|
+
])) : B("", !0),
|
|
190
|
+
y("div", null, D(`(${r(K)(u.price, r(t))})`), 1)
|
|
190
191
|
])
|
|
191
192
|
]),
|
|
192
193
|
_: 1
|
|
193
|
-
}, 8, ["modelValue", "label", "options", "required"]));
|
|
194
|
+
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
194
195
|
}
|
|
195
196
|
}), Ho = {
|
|
196
197
|
key: 0,
|
|
@@ -202,7 +203,7 @@ const Oo = /* @__PURE__ */ ie({
|
|
|
202
203
|
"percent-position": !0,
|
|
203
204
|
"column-width": ".grid-sizer",
|
|
204
205
|
"item-selector": ".fresh-booking-modal-facility"
|
|
205
|
-
}, Ao = { class: "grid-sizer" }, Bo = /* @__PURE__ */
|
|
206
|
+
}, Ao = { class: "grid-sizer" }, Bo = /* @__PURE__ */ ne({
|
|
206
207
|
__name: "Info",
|
|
207
208
|
props: {
|
|
208
209
|
title: {},
|
|
@@ -211,26 +212,26 @@ const Oo = /* @__PURE__ */ ie({
|
|
|
211
212
|
},
|
|
212
213
|
setup(n) {
|
|
213
214
|
return (e, t) => {
|
|
214
|
-
const o =
|
|
215
|
-
return E(),
|
|
215
|
+
const o = et("masonry-tile"), c = et("masonry");
|
|
216
|
+
return E(), H(yo, {
|
|
216
217
|
title: e.title,
|
|
217
218
|
description: e.description
|
|
218
219
|
}, {
|
|
219
|
-
default:
|
|
220
|
-
e.facilities && e.facilities.length !== 0 ? (E(),
|
|
221
|
-
|
|
222
|
-
|
|
220
|
+
default: A(() => [
|
|
221
|
+
e.facilities && e.facilities.length !== 0 ? (E(), $("div", Ho, [
|
|
222
|
+
He((E(), $("ul", wo, [
|
|
223
|
+
He(y("div", Ao, null, 512), [
|
|
223
224
|
[o]
|
|
224
225
|
]),
|
|
225
|
-
(E(!0),
|
|
226
|
+
(E(!0), $(G, null, j(e.facilities, ({ name: s, subFacilities: p }, l) => He((E(), $("li", {
|
|
226
227
|
key: l,
|
|
227
228
|
class: "fresh-booking-modal-facility"
|
|
228
229
|
}, [
|
|
229
|
-
|
|
230
|
-
|
|
230
|
+
y("h6", null, [
|
|
231
|
+
y("span", null, D(s), 1)
|
|
231
232
|
]),
|
|
232
|
-
|
|
233
|
-
(E(!0),
|
|
233
|
+
y("ul", null, [
|
|
234
|
+
(E(!0), $(G, null, j(p, ({ name: h }, u) => (E(), $("li", { key: u }, D(h), 1))), 128))
|
|
234
235
|
])
|
|
235
236
|
])), [
|
|
236
237
|
[o]
|
|
@@ -238,22 +239,22 @@ const Oo = /* @__PURE__ */ ie({
|
|
|
238
239
|
])), [
|
|
239
240
|
[c]
|
|
240
241
|
])
|
|
241
|
-
])) :
|
|
242
|
+
])) : B("", !0)
|
|
242
243
|
]),
|
|
243
244
|
_: 1
|
|
244
245
|
}, 8, ["title", "description"]);
|
|
245
246
|
};
|
|
246
247
|
}
|
|
247
248
|
});
|
|
248
|
-
const Mo = /* @__PURE__ */ fe(Bo, [["__scopeId", "data-v-4e226a17"]]), zo = { key: 1 },
|
|
249
|
-
const
|
|
249
|
+
const Mo = /* @__PURE__ */ fe(Bo, [["__scopeId", "data-v-4e226a17"]]), zo = { class: "konnectio-availability-listing-selection" }, Ro = { key: 1 }, Wo = { class: "fresh-booking-listing-config-body" }, No = { class: "fresh-booking-listing-units-body" };
|
|
250
|
+
const Uo = /* @__PURE__ */ ne({
|
|
250
251
|
__name: "Hotel",
|
|
251
252
|
props: {
|
|
252
253
|
room: {},
|
|
253
254
|
layout: {}
|
|
254
255
|
},
|
|
255
256
|
setup(n) {
|
|
256
|
-
const { t: e } =
|
|
257
|
+
const { t: e } = be(), t = n, o = ve([]);
|
|
257
258
|
function c(T) {
|
|
258
259
|
o.value[T].config.push({
|
|
259
260
|
id: NaN,
|
|
@@ -261,21 +262,21 @@ const No = /* @__PURE__ */ ie({
|
|
|
261
262
|
addons: []
|
|
262
263
|
});
|
|
263
264
|
}
|
|
264
|
-
const s =
|
|
265
|
+
const s = X(() => t.room.rates.map((T) => ({
|
|
265
266
|
label: T.name,
|
|
266
267
|
value: T.id
|
|
267
|
-
}))), p =
|
|
268
|
-
|
|
269
|
-
const { roomSelect: l } = ue(
|
|
268
|
+
}))), p = X(() => o.value.flatMap((T) => T.id));
|
|
269
|
+
X(() => s.value.filter((T) => !p.value.includes(T.value))), ue(Pe());
|
|
270
|
+
const { roomSelect: l } = ue(ye()), { viewItem: h, addToCart: u, removeFromCart: g } = no(), m = (T, S) => t.room.rates.find((w) => w.id === T)?.occupantRates.find((w) => w.index === S), k = X(() => t.room.rates.reduce(
|
|
270
271
|
(T, S) => T < S.rackRate ? T : S.rackRate,
|
|
271
272
|
1 / 0
|
|
272
|
-
)), a =
|
|
273
|
+
)), a = X(() => t.room.rates.every((T) => T.isBreakfastIncluded === !0)), b = (T, S) => m(T, S) ? m(T, S)?.rooms : null, _ = (T) => t.room.rates.length > 0 ? t.room.rates.find((S) => S.id === T)?.occupantRates.map((S) => ({
|
|
273
274
|
value: S.index,
|
|
274
275
|
price: S.totalPrice,
|
|
275
276
|
adults: S.adultsCount,
|
|
276
277
|
children: S.childrenCount,
|
|
277
278
|
hasBreakfast: S.hasBreakfast
|
|
278
|
-
})) || [] : [], f =
|
|
279
|
+
})) || [] : [], f = X(() => t.room.rates.length > 1), { open: i, close: d } = io({
|
|
279
280
|
component: Mo,
|
|
280
281
|
attrs: {
|
|
281
282
|
title: t.room.title,
|
|
@@ -289,7 +290,7 @@ const No = /* @__PURE__ */ ie({
|
|
|
289
290
|
function v() {
|
|
290
291
|
i(), h(t.room.title);
|
|
291
292
|
}
|
|
292
|
-
function
|
|
293
|
+
function V() {
|
|
293
294
|
f.value ? o.value.push({
|
|
294
295
|
id: void 0,
|
|
295
296
|
config: [{
|
|
@@ -306,28 +307,28 @@ const No = /* @__PURE__ */ ie({
|
|
|
306
307
|
}]
|
|
307
308
|
});
|
|
308
309
|
}
|
|
309
|
-
|
|
310
|
-
|
|
310
|
+
Ye(() => {
|
|
311
|
+
V();
|
|
311
312
|
});
|
|
312
|
-
const P =
|
|
313
|
-
return
|
|
313
|
+
const P = X(() => JSON.parse(JSON.stringify(o.value)));
|
|
314
|
+
return Ce(P, (T, S) => {
|
|
314
315
|
S.length > 0 && T.forEach((w, O) => {
|
|
315
|
-
w.config.forEach((
|
|
316
|
-
const
|
|
317
|
-
|
|
316
|
+
w.config.forEach((M, R) => {
|
|
317
|
+
const ie = M.units, N = S[O].config[R].units;
|
|
318
|
+
ie !== N && (ie > N ? (o.value[O].config[R].addons.push({}), u({
|
|
318
319
|
id: t.room.id,
|
|
319
320
|
name: t.room.title,
|
|
320
321
|
value: 100
|
|
321
|
-
})) : (o.value[O].config[
|
|
322
|
+
})) : (o.value[O].config[R].addons.pop(), g({
|
|
322
323
|
id: t.room.id,
|
|
323
324
|
name: t.room.title,
|
|
324
325
|
value: 100
|
|
325
326
|
})));
|
|
326
327
|
});
|
|
327
328
|
});
|
|
328
|
-
}, { deep: !0 }),
|
|
329
|
+
}, { deep: !0 }), Ce(o, () => {
|
|
329
330
|
l.value[t.room.id] = o.value;
|
|
330
|
-
}, { deep: !0 }), (T, S) => (E(),
|
|
331
|
+
}, { deep: !0 }), (T, S) => (E(), H(bo, {
|
|
331
332
|
"listing-id": T.room.id,
|
|
332
333
|
gallery: T.room.images,
|
|
333
334
|
name: T.room.title,
|
|
@@ -338,65 +339,74 @@ const No = /* @__PURE__ */ ie({
|
|
|
338
339
|
"includes-breakfast": a.value,
|
|
339
340
|
callback: v
|
|
340
341
|
}, {
|
|
341
|
-
action:
|
|
342
|
-
(
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
(E(
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
options:
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
"
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
342
|
+
action: A(() => [
|
|
343
|
+
y("div", zo, [
|
|
344
|
+
(E(!0), $(G, null, j(o.value, (w, O) => (E(), $("div", {
|
|
345
|
+
key: w.id,
|
|
346
|
+
class: "freshbooking-hotel-room"
|
|
347
|
+
}, [
|
|
348
|
+
f.value ? (E(), H(Se, {
|
|
349
|
+
key: 0,
|
|
350
|
+
modelValue: w.id,
|
|
351
|
+
"onUpdate:modelValue": (M) => w.id = M,
|
|
352
|
+
label: r(e)("hotel.roomVariant"),
|
|
353
|
+
placeholder: r(e)("hotel.chooseARoomVariant"),
|
|
354
|
+
options: s.value,
|
|
355
|
+
searchable: !1
|
|
356
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : B("", !0),
|
|
357
|
+
w.id ? (E(), $("div", Ro, [
|
|
358
|
+
(E(!0), $(G, null, j(T.room.rates, ({
|
|
359
|
+
id: M
|
|
360
|
+
}) => (E(), $("div", { key: M }, [
|
|
361
|
+
w.id === M ? (E(!0), $(G, { key: 0 }, j(w.config, (R, ie) => (E(), $("div", {
|
|
362
|
+
key: ie,
|
|
363
|
+
class: "booking-availability-listing-action-selective"
|
|
364
|
+
}, [
|
|
365
|
+
y("ul", Wo, [
|
|
366
|
+
_(M).length > 1 ? (E(), H(nt, {
|
|
367
|
+
key: 0,
|
|
368
|
+
modelValue: R.id,
|
|
369
|
+
"onUpdate:modelValue": (N) => R.id = N,
|
|
370
|
+
icon: "male",
|
|
371
|
+
"icon-type": "fas",
|
|
372
|
+
label: r(e)("availability.adults"),
|
|
373
|
+
options: _(M)
|
|
374
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (E(), H(nt, {
|
|
375
|
+
key: 1,
|
|
376
|
+
modelValue: R.id,
|
|
377
|
+
"onUpdate:modelValue": (N) => R.id = N,
|
|
378
|
+
icon: "male",
|
|
379
|
+
"icon-type": "fas",
|
|
380
|
+
label: r(e)("availability.adults"),
|
|
381
|
+
options: _(M),
|
|
382
|
+
readonly: ""
|
|
383
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"]))
|
|
384
|
+
]),
|
|
385
|
+
y("ul", No, [
|
|
386
|
+
C($o, {
|
|
387
|
+
modelValue: R.units,
|
|
388
|
+
"onUpdate:modelValue": (N) => R.units = N,
|
|
389
|
+
description: `${r(e)("booking.availability.availableUnits")}: ${b(w.id, R.id)}`,
|
|
390
|
+
icon: "house",
|
|
391
|
+
"icon-type": "fas",
|
|
392
|
+
"icon-placement": "label",
|
|
393
|
+
label: r(e)("booking.availability.units"),
|
|
394
|
+
minValue: 0,
|
|
395
|
+
"max-value": b(M, R.id) || 1 / 0
|
|
396
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
397
|
+
]),
|
|
398
|
+
B("", !0)
|
|
399
|
+
]))), 128)) : B("", !0)
|
|
400
|
+
]))), 128))
|
|
401
|
+
])) : B("", !0)
|
|
402
|
+
]))), 128))
|
|
403
|
+
])
|
|
394
404
|
]),
|
|
395
405
|
_: 1
|
|
396
406
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
397
407
|
}
|
|
398
408
|
});
|
|
399
|
-
const
|
|
409
|
+
const Fo = /* @__PURE__ */ fe(Uo, [["__scopeId", "data-v-7f4da3f9"]]), it = /* @__PURE__ */ ne({
|
|
400
410
|
__name: "TimeField",
|
|
401
411
|
props: {
|
|
402
412
|
modelValue: {},
|
|
@@ -425,10 +435,10 @@ const Uo = /* @__PURE__ */ fe(No, [["__scopeId", "data-v-0065bace"]]), it = /* @
|
|
|
425
435
|
function c(p) {
|
|
426
436
|
t("update:modelValue", p);
|
|
427
437
|
}
|
|
428
|
-
const s =
|
|
429
|
-
return
|
|
438
|
+
const s = ve(o.modelValue);
|
|
439
|
+
return Ce(s, (p) => {
|
|
430
440
|
c(p);
|
|
431
|
-
}), (p, l) => (E(),
|
|
441
|
+
}), (p, l) => (E(), H(To, {
|
|
432
442
|
modelValue: s.value,
|
|
433
443
|
"onUpdate:modelValue": l[0] || (l[0] = (h) => s.value = h),
|
|
434
444
|
type: "time",
|
|
@@ -444,7 +454,7 @@ const Uo = /* @__PURE__ */ fe(No, [["__scopeId", "data-v-0065bace"]]), it = /* @
|
|
|
444
454
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
445
455
|
}
|
|
446
456
|
});
|
|
447
|
-
const
|
|
457
|
+
const qo = { style: { display: "flex", "align-items": "baseline" } }, Go = /* @__PURE__ */ ne({
|
|
448
458
|
__name: "CountryField",
|
|
449
459
|
props: {
|
|
450
460
|
modelValue: {},
|
|
@@ -456,15 +466,15 @@ const Fo = { style: { display: "flex", "align-items": "baseline" } }, qo = /* @_
|
|
|
456
466
|
},
|
|
457
467
|
emits: ["update:modelValue"],
|
|
458
468
|
setup(n, { emit: e }) {
|
|
459
|
-
const { t } =
|
|
469
|
+
const { t } = be(), o = e, c = n;
|
|
460
470
|
function s(l) {
|
|
461
471
|
o("update:modelValue", l);
|
|
462
472
|
}
|
|
463
|
-
const p =
|
|
473
|
+
const p = X({
|
|
464
474
|
get: () => c.modelValue,
|
|
465
475
|
set: (l) => s(l)
|
|
466
476
|
});
|
|
467
|
-
return (l, h) => (E(),
|
|
477
|
+
return (l, h) => (E(), H(Se, {
|
|
468
478
|
modelValue: p.value,
|
|
469
479
|
"onUpdate:modelValue": h[0] || (h[0] = (u) => p.value = u),
|
|
470
480
|
label: l.label,
|
|
@@ -474,25 +484,25 @@ const Fo = { style: { display: "flex", "align-items": "baseline" } }, qo = /* @_
|
|
|
474
484
|
options: l.options,
|
|
475
485
|
required: l.required
|
|
476
486
|
}, {
|
|
477
|
-
option:
|
|
478
|
-
|
|
487
|
+
option: A(({ data: u }) => [
|
|
488
|
+
y("i", {
|
|
479
489
|
class: Ve(["konnectio-flag-icon", u.iso])
|
|
480
490
|
}, null, 2),
|
|
481
|
-
|
|
491
|
+
y("span", null, D(u.name), 1)
|
|
482
492
|
]),
|
|
483
|
-
"selected-option":
|
|
484
|
-
|
|
485
|
-
|
|
493
|
+
"selected-option": A(({ data: u }) => [
|
|
494
|
+
y("div", qo, [
|
|
495
|
+
y("i", {
|
|
486
496
|
class: Ve(["konnectio-flag-icon", u.iso])
|
|
487
497
|
}, null, 2),
|
|
488
|
-
|
|
498
|
+
y("span", null, D(u.name), 1)
|
|
489
499
|
])
|
|
490
500
|
]),
|
|
491
501
|
_: 1
|
|
492
502
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
493
503
|
}
|
|
494
504
|
});
|
|
495
|
-
const
|
|
505
|
+
const jo = /* @__PURE__ */ fe(Go, [["__scopeId", "data-v-1462612d"]]), Yo = /* @__PURE__ */ ne({
|
|
496
506
|
__name: "NameField",
|
|
497
507
|
props: {
|
|
498
508
|
modelValue: {},
|
|
@@ -514,17 +524,17 @@ const Go = /* @__PURE__ */ fe(qo, [["__scopeId", "data-v-1462612d"]]), jo = /* @
|
|
|
514
524
|
},
|
|
515
525
|
emits: ["update:modelValue", "update:title"],
|
|
516
526
|
setup(n, { emit: e }) {
|
|
517
|
-
const t = n, o = e, c = t.id ||
|
|
527
|
+
const t = n, o = e, c = t.id || tt(), s = ve(""), p = ve(2);
|
|
518
528
|
function l() {
|
|
519
529
|
o("update:modelValue", s.value);
|
|
520
530
|
}
|
|
521
|
-
|
|
531
|
+
Ce(p, (u) => {
|
|
522
532
|
o("update:title", u);
|
|
523
533
|
});
|
|
524
|
-
const { t: h } =
|
|
525
|
-
return
|
|
534
|
+
const { t: h } = be();
|
|
535
|
+
return Ye(() => {
|
|
526
536
|
t.modelValue && (s.value = t.modelValue), t.title && (p.value = t.title);
|
|
527
|
-
}), (u, g) => (E(),
|
|
537
|
+
}), (u, g) => (E(), H(ro, {
|
|
528
538
|
label: u.label,
|
|
529
539
|
id: r(c),
|
|
530
540
|
required: u.required,
|
|
@@ -532,18 +542,18 @@ const Go = /* @__PURE__ */ fe(qo, [["__scopeId", "data-v-1462612d"]]), jo = /* @
|
|
|
532
542
|
readonly: u.readonly,
|
|
533
543
|
limit: u.limit
|
|
534
544
|
}, {
|
|
535
|
-
default:
|
|
536
|
-
|
|
545
|
+
default: A(() => [
|
|
546
|
+
y("div", {
|
|
537
547
|
class: Ve([
|
|
538
548
|
"fresh-booking-name-input",
|
|
539
549
|
{ "no-title": u.excludeTitle }
|
|
540
550
|
])
|
|
541
551
|
}, [
|
|
542
|
-
u.excludeTitle ?
|
|
552
|
+
u.excludeTitle ? B("", !0) : (E(), H(Se, {
|
|
543
553
|
key: 0,
|
|
544
554
|
modelValue: p.value,
|
|
545
555
|
"onUpdate:modelValue": g[0] || (g[0] = (m) => p.value = m),
|
|
546
|
-
id: r(
|
|
556
|
+
id: r(tt)(),
|
|
547
557
|
icon: u.icon,
|
|
548
558
|
"icon-color": u.iconColor,
|
|
549
559
|
"icon-type": u.iconType,
|
|
@@ -597,53 +607,53 @@ const Go = /* @__PURE__ */ fe(qo, [["__scopeId", "data-v-1462612d"]]), jo = /* @
|
|
|
597
607
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
598
608
|
}
|
|
599
609
|
});
|
|
600
|
-
const
|
|
610
|
+
const Ko = /* @__PURE__ */ fe(Yo, [["__scopeId", "data-v-78b0b319"]]), Qo = { class: "hotel-listing" }, Jo = { class: "hotel-listing-content-gallery" }, Xo = { class: "hotel-listing-content-thumbs" }, Zo = { class: "hotel-listing-content" }, en = { class: "hotel-listing-content-header" }, tn = { class: "hotel-listing-content-title" }, on = { class: "hotel-listing-content-body" }, nn = { class: "hotel-listing-content-facilities" }, rn = /* @__PURE__ */ ne({
|
|
601
611
|
__name: "Listing",
|
|
602
612
|
setup(n) {
|
|
603
|
-
return (e, t) => (E(),
|
|
604
|
-
|
|
605
|
-
C(
|
|
613
|
+
return (e, t) => (E(), $("div", Qo, [
|
|
614
|
+
y("div", Jo, [
|
|
615
|
+
C(ee, {
|
|
606
616
|
width: "280px",
|
|
607
617
|
height: "153px"
|
|
608
618
|
}),
|
|
609
|
-
|
|
610
|
-
(E(),
|
|
619
|
+
y("div", Xo, [
|
|
620
|
+
(E(), $(G, null, j(3, (o) => C(ee, {
|
|
611
621
|
key: o,
|
|
612
622
|
width: "84px",
|
|
613
623
|
height: "44px"
|
|
614
624
|
})), 64))
|
|
615
625
|
])
|
|
616
626
|
]),
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
C(
|
|
627
|
+
y("div", Zo, [
|
|
628
|
+
y("div", en, [
|
|
629
|
+
y("div", tn, [
|
|
630
|
+
C(ee, {
|
|
621
631
|
height: "30px",
|
|
622
632
|
width: "60%"
|
|
623
633
|
}),
|
|
624
|
-
C(
|
|
634
|
+
C(ee, {
|
|
625
635
|
height: "30px",
|
|
626
636
|
width: "30px",
|
|
627
637
|
"border-radius": "100%"
|
|
628
638
|
})
|
|
629
639
|
]),
|
|
630
|
-
C(
|
|
640
|
+
C(ee, {
|
|
631
641
|
height: "15px",
|
|
632
642
|
width: "25%"
|
|
633
643
|
})
|
|
634
644
|
]),
|
|
635
|
-
|
|
636
|
-
C(
|
|
637
|
-
C(
|
|
638
|
-
C(
|
|
639
|
-
C(
|
|
640
|
-
C(
|
|
645
|
+
y("div", on, [
|
|
646
|
+
C(ee, { height: "15px" }),
|
|
647
|
+
C(ee, { height: "15px" }),
|
|
648
|
+
C(ee, { height: "15px" }),
|
|
649
|
+
C(ee, { height: "15px" }),
|
|
650
|
+
C(ee, {
|
|
641
651
|
height: "15px",
|
|
642
652
|
width: "90%"
|
|
643
653
|
})
|
|
644
654
|
]),
|
|
645
|
-
|
|
646
|
-
(E(),
|
|
655
|
+
y("div", nn, [
|
|
656
|
+
(E(), $(G, null, j(5, (o) => C(ee, {
|
|
647
657
|
key: o,
|
|
648
658
|
height: "25px",
|
|
649
659
|
width: "25px",
|
|
@@ -654,53 +664,53 @@ const Yo = /* @__PURE__ */ fe(jo, [["__scopeId", "data-v-78b0b319"]]), Ko = { cl
|
|
|
654
664
|
]));
|
|
655
665
|
}
|
|
656
666
|
});
|
|
657
|
-
const
|
|
667
|
+
const me = /* @__PURE__ */ fe(rn, [["__scopeId", "data-v-5c132d7f"]]), sn = { class: "hotel-skeleton" }, an = { class: "hotel-skeleton-content" }, ln = { class: "hotel-skeleton-sidebar" }, un = /* @__PURE__ */ ne({
|
|
658
668
|
__name: "HotelSkeleton",
|
|
659
669
|
setup(n) {
|
|
660
|
-
return (e, t) => (E(),
|
|
661
|
-
|
|
662
|
-
C(
|
|
663
|
-
C(
|
|
664
|
-
C(
|
|
665
|
-
C(
|
|
670
|
+
return (e, t) => (E(), $("div", sn, [
|
|
671
|
+
y("div", an, [
|
|
672
|
+
C(Co),
|
|
673
|
+
C(me),
|
|
674
|
+
C(me),
|
|
675
|
+
C(me)
|
|
666
676
|
]),
|
|
667
|
-
|
|
668
|
-
C(
|
|
677
|
+
y("div", ln, [
|
|
678
|
+
C(_o)
|
|
669
679
|
])
|
|
670
680
|
]));
|
|
671
681
|
}
|
|
672
682
|
});
|
|
673
|
-
const
|
|
674
|
-
const
|
|
675
|
-
const
|
|
683
|
+
const dn = /* @__PURE__ */ fe(un, [["__scopeId", "data-v-4e50a5a1"]]);
|
|
684
|
+
const cn = { id: "booking-availability-container" }, pn = { id: "booking-availability-controls" };
|
|
685
|
+
const hn = {
|
|
676
686
|
key: 1,
|
|
677
687
|
"sticky-container": ""
|
|
678
|
-
},
|
|
679
|
-
const
|
|
688
|
+
}, fn = { key: 0 }, mn = { key: 0 }, gn = { key: 0 };
|
|
689
|
+
const vn = { id: "booking-availability-listings" }, yn = {
|
|
680
690
|
key: 1,
|
|
681
691
|
id: "booking-availability-no-listings"
|
|
682
|
-
},
|
|
692
|
+
}, bn = {
|
|
683
693
|
key: 1,
|
|
684
694
|
id: "booking-availability-no-listings"
|
|
685
|
-
},
|
|
695
|
+
}, _n = {
|
|
686
696
|
key: 2,
|
|
687
697
|
id: "reservation-availability-next-dates"
|
|
688
|
-
},
|
|
689
|
-
const
|
|
698
|
+
}, kn = { class: "reservation-special-offers-grid" }, En = ["title"];
|
|
699
|
+
const In = {
|
|
690
700
|
key: 2,
|
|
691
701
|
class: "konnectio-listing-loading"
|
|
692
|
-
},
|
|
702
|
+
}, Tn = { class: "fresh-booking-panel" }, Cn = { key: 1 }, Vn = { class: "fresh-booking-checkbox-spacing" }, $n = ["onClick"], Pn = { class: "fresh-booking-panel" }, Sn = { key: 0 }, Ln = { key: 1 }, xn = { class: "fresh-booking-split-inputs" }, Dn = { key: 3 }, On = { class: "fresh-booking-label" }, Hn = { class: "fresh-booking-checkbox-spacing" }, wn = ["onClick"], An = /* @__PURE__ */ ne({
|
|
693
703
|
name: "HotelLayout",
|
|
694
704
|
__name: "Hotel",
|
|
695
705
|
props: {
|
|
696
706
|
accessToken: {},
|
|
697
|
-
headerLayout: { default:
|
|
707
|
+
headerLayout: { default: so.Minimal },
|
|
698
708
|
layout: {},
|
|
699
709
|
packagesTitleMaxLines: { default: "2" },
|
|
700
710
|
styling: {}
|
|
701
711
|
},
|
|
702
712
|
setup(n) {
|
|
703
|
-
const { t: e } =
|
|
713
|
+
const { t: e } = be(), {
|
|
704
714
|
templateID: t,
|
|
705
715
|
title: o,
|
|
706
716
|
countries: c,
|
|
@@ -713,163 +723,163 @@ const En = {
|
|
|
713
723
|
arrivalTime: m,
|
|
714
724
|
departureTime: k,
|
|
715
725
|
name: a,
|
|
716
|
-
nameTitle:
|
|
726
|
+
nameTitle: b,
|
|
717
727
|
email: _,
|
|
718
728
|
phone: f,
|
|
719
729
|
firmName: i,
|
|
720
730
|
postal: d,
|
|
721
731
|
city: v,
|
|
722
|
-
address:
|
|
732
|
+
address: V,
|
|
723
733
|
country: P,
|
|
724
734
|
remark: T,
|
|
725
735
|
allergies: S,
|
|
726
736
|
newsMails: w,
|
|
727
737
|
roomSelect: O,
|
|
728
|
-
roomDisplay:
|
|
729
|
-
hasValidRoomSelection:
|
|
738
|
+
roomDisplay: M,
|
|
739
|
+
hasValidRoomSelection: R,
|
|
730
740
|
//canStartReservation,
|
|
731
|
-
getSelectedPackageRoom:
|
|
732
|
-
availabilityData:
|
|
733
|
-
} = ue(
|
|
734
|
-
arrivalDate:
|
|
735
|
-
departureDate:
|
|
741
|
+
getSelectedPackageRoom: ie,
|
|
742
|
+
availabilityData: N
|
|
743
|
+
} = ue(ye()), {
|
|
744
|
+
arrivalDate: St,
|
|
745
|
+
departureDate: Lt
|
|
736
746
|
} = ue(vt()), {
|
|
737
|
-
currency:
|
|
738
|
-
isRecaptchaEnabled:
|
|
747
|
+
currency: te,
|
|
748
|
+
isRecaptchaEnabled: Mi,
|
|
739
749
|
disableNewsletterSignup: xt,
|
|
740
|
-
arrivalEarliest:
|
|
741
|
-
arrivalLatest:
|
|
742
|
-
departureEarliest:
|
|
743
|
-
departureLatest:
|
|
744
|
-
enableTracking:
|
|
745
|
-
arrivalDefault:
|
|
746
|
-
departureDefault:
|
|
747
|
-
enablePackages:
|
|
748
|
-
hideArrivalDepartureInputs:
|
|
750
|
+
arrivalEarliest: Dt,
|
|
751
|
+
arrivalLatest: Ot,
|
|
752
|
+
departureEarliest: Ht,
|
|
753
|
+
departureLatest: wt,
|
|
754
|
+
enableTracking: zi,
|
|
755
|
+
arrivalDefault: At,
|
|
756
|
+
departureDefault: Bt,
|
|
757
|
+
enablePackages: Ri,
|
|
758
|
+
hideArrivalDepartureInputs: Mt,
|
|
749
759
|
disableArrivalUserSelection: Le,
|
|
750
|
-
disableNamePrefix:
|
|
751
|
-
disableDepartureUserSelection:
|
|
752
|
-
disableTravelingFor:
|
|
753
|
-
disableCompanyField:
|
|
754
|
-
} = ue(
|
|
755
|
-
|
|
760
|
+
disableNamePrefix: zt,
|
|
761
|
+
disableDepartureUserSelection: xe,
|
|
762
|
+
disableTravelingFor: Rt,
|
|
763
|
+
disableCompanyField: Wt
|
|
764
|
+
} = ue(Pe());
|
|
765
|
+
ao();
|
|
756
766
|
const {
|
|
757
|
-
initialize:
|
|
758
|
-
createReservation:
|
|
759
|
-
getSingleListing:
|
|
760
|
-
} =
|
|
761
|
-
const
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
(
|
|
767
|
+
initialize: Nt,
|
|
768
|
+
createReservation: Ut,
|
|
769
|
+
getSingleListing: Wi
|
|
770
|
+
} = ye(), Ft = ve(!0), qt = X(() => {
|
|
771
|
+
const Y = N.value.roomGroups.slice();
|
|
772
|
+
Y.forEach((Z) => {
|
|
773
|
+
Z.pricesFrom = Z.rates.reduce(
|
|
774
|
+
(z, I) => z < I.rackRate ? z : I.rackRate,
|
|
765
775
|
1 / 0
|
|
766
776
|
);
|
|
767
777
|
});
|
|
768
|
-
function
|
|
769
|
-
return
|
|
778
|
+
function x(Z, z) {
|
|
779
|
+
return Ft.value === !0 ? Z.pricesFrom > z.pricesFrom ? -1 : 1 : Z.pricesFrom > z.pricesFrom ? 1 : -1;
|
|
770
780
|
}
|
|
771
|
-
return
|
|
772
|
-
}),
|
|
773
|
-
parseInt(
|
|
774
|
-
parseInt(
|
|
775
|
-
]]),
|
|
776
|
-
parseInt(
|
|
777
|
-
parseInt(
|
|
781
|
+
return Y.sort(x);
|
|
782
|
+
}), Gt = X(() => [[
|
|
783
|
+
parseInt(Dt.value.split(":")[0]),
|
|
784
|
+
parseInt(Ot.value.split(":")[0])
|
|
785
|
+
]]), jt = X(() => [[
|
|
786
|
+
parseInt(Ht.value.split(":")[0]),
|
|
787
|
+
parseInt(wt.value.split(":")[0])
|
|
778
788
|
]]);
|
|
779
|
-
function
|
|
789
|
+
function Yt() {
|
|
780
790
|
t.value = NaN;
|
|
781
791
|
}
|
|
782
|
-
function
|
|
783
|
-
|
|
792
|
+
function Xe(Y) {
|
|
793
|
+
Y();
|
|
784
794
|
}
|
|
785
|
-
function
|
|
786
|
-
|
|
795
|
+
function Kt(Y, x) {
|
|
796
|
+
Lt.value = new Date(x), St.value = new Date(Y), location.reload();
|
|
787
797
|
}
|
|
788
|
-
async function
|
|
789
|
-
await
|
|
798
|
+
async function Qt(Y) {
|
|
799
|
+
await Ut(Y);
|
|
790
800
|
}
|
|
791
|
-
function
|
|
792
|
-
|
|
801
|
+
function Jt(Y) {
|
|
802
|
+
Y();
|
|
793
803
|
}
|
|
794
|
-
function
|
|
795
|
-
m.value === "" && (m.value =
|
|
804
|
+
function Xt() {
|
|
805
|
+
m.value === "" && (m.value = At.value), k.value === "" && (k.value = Bt.value);
|
|
796
806
|
}
|
|
797
|
-
return
|
|
798
|
-
|
|
799
|
-
}), (
|
|
800
|
-
default:
|
|
801
|
-
C(
|
|
807
|
+
return Ye(() => {
|
|
808
|
+
Nt(), Xt();
|
|
809
|
+
}), (Y, x) => (E(), H(lo, null, {
|
|
810
|
+
default: A(() => [
|
|
811
|
+
C(uo, {
|
|
802
812
|
id: "fresh-booking-hotel-module",
|
|
803
|
-
"access-token":
|
|
813
|
+
"access-token": Y.accessToken,
|
|
804
814
|
type: "hotel",
|
|
805
|
-
styling:
|
|
815
|
+
styling: Y.styling
|
|
806
816
|
}, {
|
|
807
|
-
default:
|
|
808
|
-
C(
|
|
817
|
+
default: A(() => [
|
|
818
|
+
C(ko, {
|
|
809
819
|
title: r(o),
|
|
810
|
-
layout:
|
|
820
|
+
layout: Y.headerLayout
|
|
811
821
|
}, {
|
|
812
|
-
availability:
|
|
813
|
-
C(
|
|
814
|
-
form:
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
C(
|
|
822
|
+
availability: A(({ next: Z }) => [
|
|
823
|
+
C(we, null, {
|
|
824
|
+
form: A(() => [
|
|
825
|
+
y("div", cn, [
|
|
826
|
+
y("div", pn, [
|
|
827
|
+
C(Vo, { booking: !0 })
|
|
818
828
|
]),
|
|
819
|
-
|
|
820
|
-
r(s) ? (E(),
|
|
821
|
-
C(
|
|
822
|
-
C(
|
|
823
|
-
C(
|
|
824
|
-
])) : (E(),
|
|
825
|
-
r(
|
|
826
|
-
isNaN(r(t)) ? (E(),
|
|
827
|
-
r(
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
(E(!0),
|
|
831
|
-
room:
|
|
832
|
-
layout:
|
|
829
|
+
B("", !0),
|
|
830
|
+
r(s) ? (E(), $("div", In, [
|
|
831
|
+
C(me),
|
|
832
|
+
C(me),
|
|
833
|
+
C(me)
|
|
834
|
+
])) : (E(), $("div", hn, [
|
|
835
|
+
r(N).roomGroups.length > 0 ? (E(), $("div", fn, [
|
|
836
|
+
isNaN(r(t)) ? (E(), $("div", mn, [
|
|
837
|
+
r(N).roomGroups.length > 0 ? (E(), $("div", gn, [
|
|
838
|
+
B("", !0),
|
|
839
|
+
y("ul", vn, [
|
|
840
|
+
(E(!0), $(G, null, j(qt.value, (z, I) => (E(), H(Fo, {
|
|
841
|
+
room: z,
|
|
842
|
+
layout: Y.layout,
|
|
833
843
|
key: I
|
|
834
844
|
}, null, 8, ["room", "layout"]))), 128))
|
|
835
845
|
])
|
|
836
|
-
])) : (E(),
|
|
837
|
-
|
|
846
|
+
])) : (E(), $("div", yn, [
|
|
847
|
+
y("span", null, D(r(e)("booking.availability.nothingAvailable")), 1)
|
|
838
848
|
]))
|
|
839
|
-
])) :
|
|
840
|
-
])) : r(
|
|
841
|
-
|
|
842
|
-
])) : (E(),
|
|
843
|
-
|
|
844
|
-
C(
|
|
849
|
+
])) : B("", !0)
|
|
850
|
+
])) : r(N).nextAvailableDates.length === 0 ? (E(), $("div", bn, [
|
|
851
|
+
y("span", null, D(r(e)("booking.availability.nothingAvailable")), 1)
|
|
852
|
+
])) : (E(), $("div", _n, [
|
|
853
|
+
y("h2", null, [
|
|
854
|
+
C(oe, {
|
|
845
855
|
icon: "calendar-circle-exclamation",
|
|
846
856
|
type: "fal",
|
|
847
857
|
color: "header"
|
|
848
858
|
}),
|
|
849
|
-
|
|
859
|
+
y("span", null, D(r(e)("booking.availability.nextAvailableDates")), 1)
|
|
850
860
|
]),
|
|
851
|
-
|
|
852
|
-
(E(!0),
|
|
853
|
-
|
|
854
|
-
title: `${r(he)(
|
|
861
|
+
y("ul", kn, [
|
|
862
|
+
(E(!0), $(G, null, j(r(N).nextAvailableDates, (z, I) => (E(), $("li", { key: I }, [
|
|
863
|
+
y("h3", {
|
|
864
|
+
title: `${r(he)(z.fromDate)} - ${r(he)(z.toDate)}`
|
|
855
865
|
}, [
|
|
856
|
-
|
|
857
|
-
], 8,
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
C(
|
|
866
|
+
y("span", null, D(`${r(he)(z.fromDate)} - ${r(he)(z.toDate)}`), 1)
|
|
867
|
+
], 8, En),
|
|
868
|
+
y("ul", null, [
|
|
869
|
+
B("", !0),
|
|
870
|
+
y("li", null, [
|
|
871
|
+
C(oe, {
|
|
862
872
|
icon: "money-bill",
|
|
863
873
|
type: "fal",
|
|
864
874
|
color: "header"
|
|
865
875
|
}),
|
|
866
|
-
|
|
876
|
+
y("span", null, D(r(e)("booking.availability.pricesFrom")) + ": " + D(r(K)(z.priceStartFrom, r(te))), 1)
|
|
867
877
|
])
|
|
868
878
|
]),
|
|
869
|
-
C(
|
|
879
|
+
C(ge, {
|
|
870
880
|
label: r(e)("booking.availability.selectDates"),
|
|
871
881
|
"full-width": "",
|
|
872
|
-
onClickEvent: (
|
|
882
|
+
onClickEvent: (_e) => Kt(z.fromDate, z.toDate)
|
|
873
883
|
}, null, 8, ["label", "onClickEvent"])
|
|
874
884
|
]))), 128))
|
|
875
885
|
])
|
|
@@ -877,200 +887,200 @@ const En = {
|
|
|
877
887
|
]))
|
|
878
888
|
])
|
|
879
889
|
]),
|
|
880
|
-
navigation:
|
|
881
|
-
isNaN(r(t)) ? (E(),
|
|
890
|
+
navigation: A(() => [
|
|
891
|
+
isNaN(r(t)) ? (E(), H(ge, {
|
|
882
892
|
key: 0,
|
|
883
893
|
label: r(e)("booking.availability.nextButton"),
|
|
884
|
-
disabled: !r(
|
|
894
|
+
disabled: !r(R),
|
|
885
895
|
"is-loading": !1,
|
|
886
896
|
"full-width": "",
|
|
887
|
-
onClickEvent: (
|
|
888
|
-
}, null, 8, ["label", "disabled", "onClickEvent"])) : (E(),
|
|
897
|
+
onClickEvent: (z) => Jt(Z)
|
|
898
|
+
}, null, 8, ["label", "disabled", "onClickEvent"])) : (E(), H(ge, {
|
|
889
899
|
key: 1,
|
|
890
900
|
label: r(e)("booking.reservation.prevButton"),
|
|
891
901
|
"full-width": "",
|
|
892
|
-
onClickEvent:
|
|
902
|
+
onClickEvent: x[1] || (x[1] = (z) => Yt())
|
|
893
903
|
}, null, 8, ["label"]))
|
|
894
904
|
]),
|
|
895
905
|
_: 2
|
|
896
906
|
}, 1024)
|
|
897
907
|
]),
|
|
898
|
-
addons:
|
|
899
|
-
C(
|
|
900
|
-
form:
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
908
|
+
addons: A(({ next: Z, prev: z }) => [
|
|
909
|
+
C(we, null, {
|
|
910
|
+
form: A(() => [
|
|
911
|
+
y("div", Tn, [
|
|
912
|
+
y("h2", null, [
|
|
913
|
+
y("span", null, D(r(e)("booking.reservation.addons")), 1)
|
|
904
914
|
]),
|
|
905
|
-
|
|
906
|
-
isNaN(r(t)) ? (E(!0),
|
|
915
|
+
y("div", null, [
|
|
916
|
+
isNaN(r(t)) ? (E(!0), $(G, { key: 0 }, j(r(M), (I) => (E(), $("ul", {
|
|
907
917
|
key: I.roomGroupID
|
|
908
918
|
}, [
|
|
909
|
-
(E(!0),
|
|
910
|
-
key:
|
|
919
|
+
(E(!0), $(G, null, j(I.variants, (_e, U) => (E(), $("li", {
|
|
920
|
+
key: _e.ratePlanID
|
|
911
921
|
}, [
|
|
912
|
-
|
|
913
|
-
|
|
922
|
+
y("h4", null, [
|
|
923
|
+
y("span", null, D(r(J)(I.title)), 1)
|
|
914
924
|
]),
|
|
915
|
-
(E(!0),
|
|
916
|
-
key:
|
|
925
|
+
(E(!0), $(G, null, j(_e.rooms, (L, Zt) => (E(), $("table", {
|
|
926
|
+
key: Zt,
|
|
917
927
|
class: "fresh-booking-table"
|
|
918
928
|
}, [
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
929
|
+
y("thead", null, [
|
|
930
|
+
y("tr", null, [
|
|
931
|
+
y("th", null, [
|
|
932
|
+
y("span", null, D(r(J)(_e.name)), 1)
|
|
923
933
|
]),
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
C(
|
|
934
|
+
y("th", null, [
|
|
935
|
+
y("b", null, [
|
|
936
|
+
C(oe, {
|
|
927
937
|
icon: "male",
|
|
928
938
|
type: "fas",
|
|
929
939
|
color: "font"
|
|
930
940
|
}),
|
|
931
|
-
|
|
932
|
-
|
|
941
|
+
y("span", null, D(L.adultsCount), 1),
|
|
942
|
+
L.childrenCount > 0 ? (E(), H(oe, {
|
|
933
943
|
key: 0,
|
|
934
944
|
icon: "child",
|
|
935
945
|
type: "fas",
|
|
936
946
|
color: "font"
|
|
937
|
-
})) :
|
|
938
|
-
|
|
947
|
+
})) : B("", !0),
|
|
948
|
+
L.childrenCount > 0 ? (E(), $("span", Cn, D(L.childrenCount), 1)) : B("", !0)
|
|
939
949
|
])
|
|
940
950
|
])
|
|
941
951
|
])
|
|
942
952
|
]),
|
|
943
|
-
|
|
944
|
-
(E(!0),
|
|
953
|
+
y("tbody", null, [
|
|
954
|
+
(E(!0), $(G, null, j(I.addons, ({
|
|
945
955
|
quantityStrategy: re,
|
|
946
|
-
id:
|
|
956
|
+
id: W,
|
|
947
957
|
name: se,
|
|
948
958
|
price: ae
|
|
949
|
-
}) => (E(),
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
re === r(le).PerPerson ? (E(),
|
|
959
|
+
}) => (E(), $("tr", { key: W }, [
|
|
960
|
+
y("ul", Vn, [
|
|
961
|
+
y("li", null, [
|
|
962
|
+
re === r(le).PerPerson ? (E(), H(Q, {
|
|
953
963
|
key: 0,
|
|
954
|
-
modelValue: r(O)[I.roomGroupID][
|
|
955
|
-
"onUpdate:modelValue": (
|
|
956
|
-
label: r(
|
|
957
|
-
price: `${r(
|
|
958
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerChild &&
|
|
964
|
+
modelValue: r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W],
|
|
965
|
+
"onUpdate:modelValue": (F) => r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W] = F,
|
|
966
|
+
label: r(J)(se),
|
|
967
|
+
price: `${r(K)(ae, r(te))} ${r(e)("general.perPerson")}`
|
|
968
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerChild && L.childrenCount > 0 ? (E(), H(Q, {
|
|
959
969
|
key: 1,
|
|
960
|
-
modelValue: r(O)[I.roomGroupID][
|
|
961
|
-
"onUpdate:modelValue": (
|
|
962
|
-
label: r(
|
|
963
|
-
price: `${r(
|
|
964
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerAdult ? (E(),
|
|
970
|
+
modelValue: r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W],
|
|
971
|
+
"onUpdate:modelValue": (F) => r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W] = F,
|
|
972
|
+
label: r(J)(se),
|
|
973
|
+
price: `${r(K)(ae, r(te))} ${r(e)("general.perChild")}`
|
|
974
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerAdult ? (E(), H(Q, {
|
|
965
975
|
key: 2,
|
|
966
|
-
modelValue: r(O)[I.roomGroupID][
|
|
967
|
-
"onUpdate:modelValue": (
|
|
968
|
-
label: r(
|
|
969
|
-
price: `${r(
|
|
970
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerPersonPerNight ? (E(),
|
|
976
|
+
modelValue: r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W],
|
|
977
|
+
"onUpdate:modelValue": (F) => r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W] = F,
|
|
978
|
+
label: r(J)(se),
|
|
979
|
+
price: `${r(K)(ae, r(te))} ${r(e)("general.perAdult")}`
|
|
980
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerPersonPerNight ? (E(), H(Q, {
|
|
971
981
|
key: 3,
|
|
972
|
-
modelValue: r(O)[I.roomGroupID][
|
|
973
|
-
"onUpdate:modelValue": (
|
|
974
|
-
label: r(
|
|
975
|
-
price: `${r(
|
|
976
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerAdultPerNight ? (E(),
|
|
982
|
+
modelValue: r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W],
|
|
983
|
+
"onUpdate:modelValue": (F) => r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W] = F,
|
|
984
|
+
label: r(J)(se),
|
|
985
|
+
price: `${r(K)(ae, r(te))} ${r(e)("general.perPersonPerNight")}`
|
|
986
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerAdultPerNight ? (E(), H(Q, {
|
|
977
987
|
key: 4,
|
|
978
|
-
modelValue: r(O)[I.roomGroupID][
|
|
979
|
-
"onUpdate:modelValue": (
|
|
980
|
-
label: r(
|
|
981
|
-
price: `${r(
|
|
982
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerChildPerNight ? (E(),
|
|
988
|
+
modelValue: r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W],
|
|
989
|
+
"onUpdate:modelValue": (F) => r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W] = F,
|
|
990
|
+
label: r(J)(se),
|
|
991
|
+
price: `${r(K)(ae, r(te))} ${r(e)("general.perAdultPerNight")}`
|
|
992
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerChildPerNight ? (E(), H(Q, {
|
|
983
993
|
key: 5,
|
|
984
|
-
modelValue: r(O)[I.roomGroupID][
|
|
985
|
-
"onUpdate:modelValue": (
|
|
986
|
-
label: r(
|
|
987
|
-
price: `${r(
|
|
988
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerNight ? (E(),
|
|
994
|
+
modelValue: r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W],
|
|
995
|
+
"onUpdate:modelValue": (F) => r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W] = F,
|
|
996
|
+
label: r(J)(se),
|
|
997
|
+
price: `${r(K)(ae, r(te))} ${r(e)("general.perChildPerNight")}`
|
|
998
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerNight ? (E(), H(Q, {
|
|
989
999
|
key: 6,
|
|
990
|
-
modelValue: r(O)[I.roomGroupID][
|
|
991
|
-
"onUpdate:modelValue": (
|
|
992
|
-
label: r(
|
|
993
|
-
price: `${r(
|
|
994
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerUnit ? (E(),
|
|
1000
|
+
modelValue: r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W],
|
|
1001
|
+
"onUpdate:modelValue": (F) => r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W] = F,
|
|
1002
|
+
label: r(J)(se),
|
|
1003
|
+
price: `${r(K)(ae, r(te))} ${r(e)("general.perNight")}`
|
|
1004
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).PerUnit ? (E(), H(Q, {
|
|
995
1005
|
key: 7,
|
|
996
|
-
modelValue: r(O)[I.roomGroupID][
|
|
997
|
-
"onUpdate:modelValue": (
|
|
998
|
-
label: r(
|
|
999
|
-
price: `${r(
|
|
1000
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).OneTimePayment ? (E(),
|
|
1006
|
+
modelValue: r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W],
|
|
1007
|
+
"onUpdate:modelValue": (F) => r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W] = F,
|
|
1008
|
+
label: r(J)(se),
|
|
1009
|
+
price: `${r(K)(ae, r(te))}`
|
|
1010
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : re === r(le).OneTimePayment ? (E(), H(Q, {
|
|
1001
1011
|
key: 8,
|
|
1002
|
-
modelValue: r(O)[I.roomGroupID][
|
|
1003
|
-
"onUpdate:modelValue": (
|
|
1004
|
-
label: r(
|
|
1005
|
-
price: `${r(
|
|
1006
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) :
|
|
1012
|
+
modelValue: r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W],
|
|
1013
|
+
"onUpdate:modelValue": (F) => r(O)[I.roomGroupID][U].config[L.configIdx].addons[L.roomIdx][W] = F,
|
|
1014
|
+
label: r(J)(se),
|
|
1015
|
+
price: `${r(K)(ae, r(te))}`
|
|
1016
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : B("", !0)
|
|
1007
1017
|
])
|
|
1008
1018
|
])
|
|
1009
1019
|
]))), 128))
|
|
1010
1020
|
])
|
|
1011
1021
|
]))), 128))
|
|
1012
1022
|
]))), 128))
|
|
1013
|
-
]))), 128)) :
|
|
1023
|
+
]))), 128)) : B("", !0)
|
|
1014
1024
|
])
|
|
1015
1025
|
])
|
|
1016
1026
|
]),
|
|
1017
|
-
navigation:
|
|
1018
|
-
C(
|
|
1027
|
+
navigation: A(() => [
|
|
1028
|
+
C(ge, {
|
|
1019
1029
|
label: r(e)("general.startReservation"),
|
|
1020
1030
|
"full-width": "",
|
|
1021
|
-
onClickEvent:
|
|
1031
|
+
onClickEvent: Z
|
|
1022
1032
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1023
|
-
|
|
1033
|
+
y("button", {
|
|
1024
1034
|
class: "konnectio-abort-reservation link",
|
|
1025
|
-
onClick:
|
|
1035
|
+
onClick: ot((I) => Xe(z), ["prevent"])
|
|
1026
1036
|
}, [
|
|
1027
|
-
|
|
1037
|
+
y("span", null, D(r(e)("general.abortReservation")), 1)
|
|
1028
1038
|
], 8, $n)
|
|
1029
1039
|
]),
|
|
1030
1040
|
_: 2
|
|
1031
1041
|
}, 1024)
|
|
1032
1042
|
]),
|
|
1033
|
-
reservation:
|
|
1034
|
-
C(
|
|
1043
|
+
reservation: A(({ next: Z, prev: z }) => [
|
|
1044
|
+
C(we, {
|
|
1035
1045
|
"show-terms-notice": !0,
|
|
1036
1046
|
"show-gift-card": !0
|
|
1037
1047
|
}, {
|
|
1038
|
-
form:
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1048
|
+
form: A(() => [
|
|
1049
|
+
y("form", Pn, [
|
|
1050
|
+
y("h2", null, [
|
|
1051
|
+
y("span", null, D(r(e)("booking.reservation.detailsTitle")), 1)
|
|
1042
1052
|
]),
|
|
1043
|
-
!r(
|
|
1053
|
+
!r(Mt) && !(r(Le) && r(xe)) ? (E(), $("ul", {
|
|
1044
1054
|
key: 0,
|
|
1045
|
-
class: Ve({ "fresh-booking-split-inputs": !r(Le) && !r(
|
|
1055
|
+
class: Ve({ "fresh-booking-split-inputs": !r(Le) && !r(xe) })
|
|
1046
1056
|
}, [
|
|
1047
|
-
r(Le) ?
|
|
1057
|
+
r(Le) ? B("", !0) : (E(), $("li", Sn, [
|
|
1048
1058
|
C(it, {
|
|
1049
1059
|
modelValue: r(m),
|
|
1050
|
-
"onUpdate:modelValue":
|
|
1060
|
+
"onUpdate:modelValue": x[2] || (x[2] = (I) => q(m) ? m.value = I : null),
|
|
1051
1061
|
label: r(e)("booking.reservation.arrivalTime"),
|
|
1052
1062
|
icon: "hourglass-start",
|
|
1053
|
-
"hour-range":
|
|
1063
|
+
"hour-range": Gt.value,
|
|
1054
1064
|
required: ""
|
|
1055
1065
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1056
1066
|
])),
|
|
1057
|
-
r(
|
|
1067
|
+
r(xe) ? B("", !0) : (E(), $("li", Ln, [
|
|
1058
1068
|
C(it, {
|
|
1059
1069
|
modelValue: r(k),
|
|
1060
|
-
"onUpdate:modelValue":
|
|
1070
|
+
"onUpdate:modelValue": x[3] || (x[3] = (I) => q(k) ? k.value = I : null),
|
|
1061
1071
|
label: r(e)("booking.reservation.departureTime"),
|
|
1062
1072
|
icon: "hourglass-end",
|
|
1063
|
-
"hour-range":
|
|
1073
|
+
"hour-range": jt.value,
|
|
1064
1074
|
required: ""
|
|
1065
1075
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1066
1076
|
]))
|
|
1067
|
-
], 2)) :
|
|
1068
|
-
C(
|
|
1077
|
+
], 2)) : B("", !0),
|
|
1078
|
+
C(Ko, {
|
|
1069
1079
|
modelValue: r(a),
|
|
1070
|
-
"onUpdate:modelValue":
|
|
1071
|
-
title: r(
|
|
1072
|
-
"onUpdate:title":
|
|
1073
|
-
"exclude-title": r(
|
|
1080
|
+
"onUpdate:modelValue": x[4] || (x[4] = (I) => q(a) ? a.value = I : null),
|
|
1081
|
+
title: r(b),
|
|
1082
|
+
"onUpdate:title": x[5] || (x[5] = (I) => q(b) ? b.value = I : null),
|
|
1083
|
+
"exclude-title": r(zt),
|
|
1074
1084
|
label: r(e)("booking.reservation.name"),
|
|
1075
1085
|
icon: "user-alt",
|
|
1076
1086
|
placeholder: r(e)("booking.reservation.namePlaceholder"),
|
|
@@ -1078,7 +1088,7 @@ const En = {
|
|
|
1078
1088
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1079
1089
|
C(pe, {
|
|
1080
1090
|
modelValue: r(_),
|
|
1081
|
-
"onUpdate:modelValue":
|
|
1091
|
+
"onUpdate:modelValue": x[6] || (x[6] = (I) => q(_) ? _.value = I : null),
|
|
1082
1092
|
type: "email",
|
|
1083
1093
|
name: "email",
|
|
1084
1094
|
autocomplete: "email",
|
|
@@ -1087,18 +1097,18 @@ const En = {
|
|
|
1087
1097
|
placeholder: r(e)("booking.reservation.emailPlaceholder"),
|
|
1088
1098
|
required: ""
|
|
1089
1099
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1090
|
-
r(xt) ?
|
|
1100
|
+
r(xt) ? B("", !0) : (E(), H(Q, {
|
|
1091
1101
|
key: 1,
|
|
1092
1102
|
modelValue: r(w),
|
|
1093
|
-
"onUpdate:modelValue":
|
|
1103
|
+
"onUpdate:modelValue": x[7] || (x[7] = (I) => q(w) ? w.value = I : null),
|
|
1094
1104
|
type: "checkbox",
|
|
1095
1105
|
name: "newsletter",
|
|
1096
1106
|
label: r(e)("booking.reservation.newsletterSignUp")
|
|
1097
1107
|
}, null, 8, ["modelValue", "label"])),
|
|
1098
|
-
r(
|
|
1108
|
+
r(Wt) ? B("", !0) : (E(), H(pe, {
|
|
1099
1109
|
key: 2,
|
|
1100
1110
|
modelValue: r(i),
|
|
1101
|
-
"onUpdate:modelValue":
|
|
1111
|
+
"onUpdate:modelValue": x[8] || (x[8] = (I) => q(i) ? i.value = I : null),
|
|
1102
1112
|
type: "text",
|
|
1103
1113
|
name: "firm",
|
|
1104
1114
|
autocomplete: "firm",
|
|
@@ -1106,25 +1116,25 @@ const En = {
|
|
|
1106
1116
|
icon: "id-card",
|
|
1107
1117
|
placeholder: r(e)("booking.reservation.companyNamePlaceholder")
|
|
1108
1118
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1109
|
-
C(
|
|
1119
|
+
C(Po, {
|
|
1110
1120
|
modelValue: r(f),
|
|
1111
|
-
"onUpdate:modelValue":
|
|
1121
|
+
"onUpdate:modelValue": x[9] || (x[9] = (I) => q(f) ? f.value = I : null),
|
|
1112
1122
|
icon: "phone-office",
|
|
1113
1123
|
label: r(e)("booking.reservation.phone"),
|
|
1114
1124
|
placeholder: r(e)("booking.reservation.phonePlaceholder"),
|
|
1115
1125
|
required: ""
|
|
1116
1126
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1117
|
-
C(
|
|
1127
|
+
C(jo, {
|
|
1118
1128
|
modelValue: r(P),
|
|
1119
|
-
"onUpdate:modelValue":
|
|
1129
|
+
"onUpdate:modelValue": x[10] || (x[10] = (I) => q(P) ? P.value = I : null),
|
|
1120
1130
|
label: r(e)("booking.reservation.country"),
|
|
1121
1131
|
placeholder: r(e)("booking.reservation.countryPlaceholder"),
|
|
1122
1132
|
options: r(c),
|
|
1123
1133
|
required: ""
|
|
1124
1134
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1125
1135
|
C(pe, {
|
|
1126
|
-
modelValue: r(
|
|
1127
|
-
"onUpdate:modelValue":
|
|
1136
|
+
modelValue: r(V),
|
|
1137
|
+
"onUpdate:modelValue": x[11] || (x[11] = (I) => q(V) ? V.value = I : null),
|
|
1128
1138
|
type: "textarea",
|
|
1129
1139
|
name: "address",
|
|
1130
1140
|
autocomplete: "street-address",
|
|
@@ -1133,11 +1143,11 @@ const En = {
|
|
|
1133
1143
|
placeholder: r(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1134
1144
|
required: ""
|
|
1135
1145
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1136
|
-
|
|
1137
|
-
|
|
1146
|
+
y("ul", xn, [
|
|
1147
|
+
y("li", null, [
|
|
1138
1148
|
C(pe, {
|
|
1139
1149
|
modelValue: r(d),
|
|
1140
|
-
"onUpdate:modelValue":
|
|
1150
|
+
"onUpdate:modelValue": x[12] || (x[12] = (I) => q(d) ? d.value = I : null),
|
|
1141
1151
|
type: "text",
|
|
1142
1152
|
name: "postal",
|
|
1143
1153
|
autocomplete: "postal-code",
|
|
@@ -1147,10 +1157,10 @@ const En = {
|
|
|
1147
1157
|
required: ""
|
|
1148
1158
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1149
1159
|
]),
|
|
1150
|
-
|
|
1160
|
+
y("li", null, [
|
|
1151
1161
|
C(pe, {
|
|
1152
1162
|
modelValue: r(v),
|
|
1153
|
-
"onUpdate:modelValue":
|
|
1163
|
+
"onUpdate:modelValue": x[13] || (x[13] = (I) => q(v) ? v.value = I : null),
|
|
1154
1164
|
type: "text",
|
|
1155
1165
|
name: "city",
|
|
1156
1166
|
autocomplete: "address-level2",
|
|
@@ -1163,7 +1173,7 @@ const En = {
|
|
|
1163
1173
|
]),
|
|
1164
1174
|
C(pe, {
|
|
1165
1175
|
modelValue: r(T),
|
|
1166
|
-
"onUpdate:modelValue":
|
|
1176
|
+
"onUpdate:modelValue": x[14] || (x[14] = (I) => q(T) ? T.value = I : null),
|
|
1167
1177
|
type: "textarea",
|
|
1168
1178
|
label: `${r(e)("booking.reservation.remark")} (${r(e)("booking.reservation.optional")})`,
|
|
1169
1179
|
icon: "info-circle",
|
|
@@ -1171,41 +1181,41 @@ const En = {
|
|
|
1171
1181
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1172
1182
|
C(pe, {
|
|
1173
1183
|
modelValue: r(S),
|
|
1174
|
-
"onUpdate:modelValue":
|
|
1184
|
+
"onUpdate:modelValue": x[15] || (x[15] = (I) => q(S) ? S.value = I : null),
|
|
1175
1185
|
type: "textarea",
|
|
1176
1186
|
label: `${r(e)("booking.reservation.allergies")} (${r(e)("booking.reservation.optional")})`,
|
|
1177
1187
|
icon: "allergies",
|
|
1178
1188
|
placeholder: r(e)("booking.reservation.allergiesPlaceholder")
|
|
1179
1189
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1180
|
-
r(
|
|
1181
|
-
|
|
1182
|
-
|
|
1190
|
+
r(Rt) ? B("", !0) : (E(), $("div", Dn, [
|
|
1191
|
+
y("label", On, [
|
|
1192
|
+
y("span", null, D(r(e)("booking.reservation.purposeOfStay")) + " (" + D(r(e)("booking.reservation.optional")) + ")", 1)
|
|
1183
1193
|
]),
|
|
1184
|
-
|
|
1185
|
-
|
|
1194
|
+
y("ul", Hn, [
|
|
1195
|
+
y("li", null, [
|
|
1186
1196
|
C(Q, {
|
|
1187
1197
|
modelValue: r(g),
|
|
1188
|
-
"onUpdate:modelValue":
|
|
1198
|
+
"onUpdate:modelValue": x[16] || (x[16] = (I) => q(g) ? g.value = I : null),
|
|
1189
1199
|
type: "radio",
|
|
1190
1200
|
name: "travelingFor",
|
|
1191
1201
|
label: r(e)("booking.reservation.business"),
|
|
1192
1202
|
val: "Business"
|
|
1193
1203
|
}, null, 8, ["modelValue", "label"])
|
|
1194
1204
|
]),
|
|
1195
|
-
|
|
1205
|
+
y("li", null, [
|
|
1196
1206
|
C(Q, {
|
|
1197
1207
|
modelValue: r(g),
|
|
1198
|
-
"onUpdate:modelValue":
|
|
1208
|
+
"onUpdate:modelValue": x[17] || (x[17] = (I) => q(g) ? g.value = I : null),
|
|
1199
1209
|
type: "radio",
|
|
1200
1210
|
name: "travelingFor",
|
|
1201
1211
|
label: r(e)("booking.reservation.pleasure"),
|
|
1202
1212
|
val: "Pleasure"
|
|
1203
1213
|
}, null, 8, ["modelValue", "label"])
|
|
1204
1214
|
]),
|
|
1205
|
-
|
|
1215
|
+
y("li", null, [
|
|
1206
1216
|
C(Q, {
|
|
1207
1217
|
modelValue: r(g),
|
|
1208
|
-
"onUpdate:modelValue":
|
|
1218
|
+
"onUpdate:modelValue": x[18] || (x[18] = (I) => q(g) ? g.value = I : null),
|
|
1209
1219
|
type: "radio",
|
|
1210
1220
|
name: "travelingFor",
|
|
1211
1221
|
label: r(e)("booking.reservation.bleasure"),
|
|
@@ -1216,31 +1226,31 @@ const En = {
|
|
|
1216
1226
|
]))
|
|
1217
1227
|
])
|
|
1218
1228
|
]),
|
|
1219
|
-
navigation:
|
|
1220
|
-
|
|
1221
|
-
C(
|
|
1229
|
+
navigation: A(() => [
|
|
1230
|
+
y("div", null, [
|
|
1231
|
+
C(ge, {
|
|
1222
1232
|
label: r(e)("general.confirmReservation"),
|
|
1223
1233
|
disabled: !r(h),
|
|
1224
1234
|
"is-loading": r(l),
|
|
1225
1235
|
"full-width": "",
|
|
1226
|
-
onClickEvent: (I) =>
|
|
1236
|
+
onClickEvent: (I) => Qt(Z)
|
|
1227
1237
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1228
|
-
|
|
1238
|
+
y("button", {
|
|
1229
1239
|
class: "konnectio-abort-reservation link",
|
|
1230
|
-
onClick:
|
|
1240
|
+
onClick: ot((I) => Xe(z), ["prevent"])
|
|
1231
1241
|
}, [
|
|
1232
|
-
|
|
1233
|
-
], 8,
|
|
1242
|
+
y("span", null, D(r(e)("general.abortReservation")), 1)
|
|
1243
|
+
], 8, wn)
|
|
1234
1244
|
])
|
|
1235
1245
|
]),
|
|
1236
1246
|
_: 2
|
|
1237
1247
|
}, 1024)
|
|
1238
1248
|
]),
|
|
1239
|
-
payment:
|
|
1240
|
-
C(
|
|
1249
|
+
payment: A(() => [
|
|
1250
|
+
C(So)
|
|
1241
1251
|
]),
|
|
1242
|
-
confirmation:
|
|
1243
|
-
C(
|
|
1252
|
+
confirmation: A(() => [
|
|
1253
|
+
C(Eo, {
|
|
1244
1254
|
message: r(e)("booking.confirmation.thankYou")
|
|
1245
1255
|
}, null, 8, ["message"])
|
|
1246
1256
|
]),
|
|
@@ -1250,16 +1260,16 @@ const En = {
|
|
|
1250
1260
|
_: 1
|
|
1251
1261
|
}, 8, ["access-token", "styling"])
|
|
1252
1262
|
]),
|
|
1253
|
-
fallback:
|
|
1254
|
-
C(
|
|
1263
|
+
fallback: A(() => [
|
|
1264
|
+
C(dn)
|
|
1255
1265
|
]),
|
|
1256
1266
|
_: 1
|
|
1257
1267
|
}));
|
|
1258
1268
|
}
|
|
1259
1269
|
});
|
|
1260
|
-
const
|
|
1261
|
-
var kt = { exports: {} },
|
|
1262
|
-
function
|
|
1270
|
+
const Bn = /* @__PURE__ */ fe(An, [["__scopeId", "data-v-3b68f8f4"]]);
|
|
1271
|
+
var kt = { exports: {} }, Ae = { exports: {} }, Be = { exports: {} }, rt;
|
|
1272
|
+
function Ke() {
|
|
1263
1273
|
return rt || (rt = 1, function(n) {
|
|
1264
1274
|
(function(e, t) {
|
|
1265
1275
|
n.exports ? n.exports = t() : e.EvEmitter = t();
|
|
@@ -1298,23 +1308,23 @@ function Qe() {
|
|
|
1298
1308
|
delete this._events, delete this._onceEvents;
|
|
1299
1309
|
}, e;
|
|
1300
1310
|
});
|
|
1301
|
-
}(
|
|
1311
|
+
}(Be)), Be.exports;
|
|
1302
1312
|
}
|
|
1303
|
-
var
|
|
1313
|
+
var Me = { exports: {} };
|
|
1304
1314
|
/*!
|
|
1305
1315
|
* getSize v2.0.3
|
|
1306
1316
|
* measure size of elements
|
|
1307
1317
|
* MIT license
|
|
1308
1318
|
*/
|
|
1309
1319
|
var st;
|
|
1310
|
-
function
|
|
1320
|
+
function Qe() {
|
|
1311
1321
|
return st || (st = 1, function(n) {
|
|
1312
1322
|
(function(e, t) {
|
|
1313
1323
|
n.exports ? n.exports = t() : e.getSize = t();
|
|
1314
1324
|
})(window, function() {
|
|
1315
1325
|
function t(a) {
|
|
1316
|
-
var
|
|
1317
|
-
return _ &&
|
|
1326
|
+
var b = parseFloat(a), _ = a.indexOf("%") == -1 && !isNaN(b);
|
|
1327
|
+
return _ && b;
|
|
1318
1328
|
}
|
|
1319
1329
|
function o() {
|
|
1320
1330
|
}
|
|
@@ -1342,15 +1352,15 @@ function Je() {
|
|
|
1342
1352
|
innerHeight: 0,
|
|
1343
1353
|
outerWidth: 0,
|
|
1344
1354
|
outerHeight: 0
|
|
1345
|
-
},
|
|
1346
|
-
var _ = s[
|
|
1355
|
+
}, b = 0; b < p; b++) {
|
|
1356
|
+
var _ = s[b];
|
|
1347
1357
|
a[_] = 0;
|
|
1348
1358
|
}
|
|
1349
1359
|
return a;
|
|
1350
1360
|
}
|
|
1351
1361
|
function h(a) {
|
|
1352
|
-
var
|
|
1353
|
-
return
|
|
1362
|
+
var b = getComputedStyle(a);
|
|
1363
|
+
return b || c("Style returned " + b + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), b;
|
|
1354
1364
|
}
|
|
1355
1365
|
var u = !1, g;
|
|
1356
1366
|
function m() {
|
|
@@ -1358,37 +1368,37 @@ function Je() {
|
|
|
1358
1368
|
u = !0;
|
|
1359
1369
|
var a = document.createElement("div");
|
|
1360
1370
|
a.style.width = "200px", a.style.padding = "1px 2px 3px 4px", a.style.borderStyle = "solid", a.style.borderWidth = "1px 2px 3px 4px", a.style.boxSizing = "border-box";
|
|
1361
|
-
var
|
|
1362
|
-
|
|
1371
|
+
var b = document.body || document.documentElement;
|
|
1372
|
+
b.appendChild(a);
|
|
1363
1373
|
var _ = h(a);
|
|
1364
|
-
g = Math.round(t(_.width)) == 200, k.isBoxSizeOuter = g,
|
|
1374
|
+
g = Math.round(t(_.width)) == 200, k.isBoxSizeOuter = g, b.removeChild(a);
|
|
1365
1375
|
}
|
|
1366
1376
|
}
|
|
1367
1377
|
function k(a) {
|
|
1368
1378
|
if (m(), typeof a == "string" && (a = document.querySelector(a)), !(!a || typeof a != "object" || !a.nodeType)) {
|
|
1369
|
-
var
|
|
1370
|
-
if (
|
|
1379
|
+
var b = h(a);
|
|
1380
|
+
if (b.display == "none")
|
|
1371
1381
|
return l();
|
|
1372
1382
|
var _ = {};
|
|
1373
1383
|
_.width = a.offsetWidth, _.height = a.offsetHeight;
|
|
1374
|
-
for (var f = _.isBorderBox =
|
|
1375
|
-
var d = s[i], v =
|
|
1376
|
-
_[d] = isNaN(
|
|
1384
|
+
for (var f = _.isBorderBox = b.boxSizing == "border-box", i = 0; i < p; i++) {
|
|
1385
|
+
var d = s[i], v = b[d], V = parseFloat(v);
|
|
1386
|
+
_[d] = isNaN(V) ? 0 : V;
|
|
1377
1387
|
}
|
|
1378
|
-
var P = _.paddingLeft + _.paddingRight, T = _.paddingTop + _.paddingBottom, S = _.marginLeft + _.marginRight, w = _.marginTop + _.marginBottom, O = _.borderLeftWidth + _.borderRightWidth,
|
|
1379
|
-
|
|
1380
|
-
(
|
|
1381
|
-
var
|
|
1382
|
-
return
|
|
1383
|
-
(
|
|
1388
|
+
var P = _.paddingLeft + _.paddingRight, T = _.paddingTop + _.paddingBottom, S = _.marginLeft + _.marginRight, w = _.marginTop + _.marginBottom, O = _.borderLeftWidth + _.borderRightWidth, M = _.borderTopWidth + _.borderBottomWidth, R = f && g, ie = t(b.width);
|
|
1389
|
+
ie !== !1 && (_.width = ie + // add padding and border unless it's already including it
|
|
1390
|
+
(R ? 0 : P + O));
|
|
1391
|
+
var N = t(b.height);
|
|
1392
|
+
return N !== !1 && (_.height = N + // add padding and border unless it's already including it
|
|
1393
|
+
(R ? 0 : T + M)), _.innerWidth = _.width - (P + O), _.innerHeight = _.height - (T + M), _.outerWidth = _.width + S, _.outerHeight = _.height + w, _;
|
|
1384
1394
|
}
|
|
1385
1395
|
}
|
|
1386
1396
|
return k;
|
|
1387
1397
|
});
|
|
1388
|
-
}(
|
|
1398
|
+
}(Me)), Me.exports;
|
|
1389
1399
|
}
|
|
1390
|
-
var
|
|
1391
|
-
function
|
|
1400
|
+
var ze = { exports: {} }, Re = { exports: {} }, at;
|
|
1401
|
+
function Mn() {
|
|
1392
1402
|
return at || (at = 1, function(n) {
|
|
1393
1403
|
(function(e, t) {
|
|
1394
1404
|
n.exports ? n.exports = t() : e.matchesSelector = t();
|
|
@@ -1409,15 +1419,15 @@ function Bn() {
|
|
|
1409
1419
|
return c[t](s);
|
|
1410
1420
|
};
|
|
1411
1421
|
});
|
|
1412
|
-
}(
|
|
1422
|
+
}(Re)), Re.exports;
|
|
1413
1423
|
}
|
|
1414
1424
|
var lt;
|
|
1415
|
-
function
|
|
1425
|
+
function zn() {
|
|
1416
1426
|
return lt || (lt = 1, function(n) {
|
|
1417
1427
|
(function(e, t) {
|
|
1418
1428
|
n.exports ? n.exports = t(
|
|
1419
1429
|
e,
|
|
1420
|
-
|
|
1430
|
+
Mn()
|
|
1421
1431
|
) : e.fizzyUIUtils = t(
|
|
1422
1432
|
e,
|
|
1423
1433
|
e.matchesSelector
|
|
@@ -1471,9 +1481,9 @@ function Mn() {
|
|
|
1471
1481
|
l.prototype[h] = function() {
|
|
1472
1482
|
var k = this[m];
|
|
1473
1483
|
clearTimeout(k);
|
|
1474
|
-
var a = arguments,
|
|
1484
|
+
var a = arguments, b = this;
|
|
1475
1485
|
this[m] = setTimeout(function() {
|
|
1476
|
-
g.apply(
|
|
1486
|
+
g.apply(b, a), delete b[m];
|
|
1477
1487
|
}, u);
|
|
1478
1488
|
};
|
|
1479
1489
|
}, c.docReady = function(l) {
|
|
@@ -1487,13 +1497,13 @@ function Mn() {
|
|
|
1487
1497
|
var p = t.console;
|
|
1488
1498
|
return c.htmlInit = function(l, h) {
|
|
1489
1499
|
c.docReady(function() {
|
|
1490
|
-
var u = c.toDashed(h), g = "data-" + u, m = document.querySelectorAll("[" + g + "]"), k = document.querySelectorAll(".js-" + u), a = c.makeArray(m).concat(c.makeArray(k)),
|
|
1500
|
+
var u = c.toDashed(h), g = "data-" + u, m = document.querySelectorAll("[" + g + "]"), k = document.querySelectorAll(".js-" + u), a = c.makeArray(m).concat(c.makeArray(k)), b = g + "-options", _ = t.jQuery;
|
|
1491
1501
|
a.forEach(function(f) {
|
|
1492
|
-
var i = f.getAttribute(g) || f.getAttribute(
|
|
1502
|
+
var i = f.getAttribute(g) || f.getAttribute(b), d;
|
|
1493
1503
|
try {
|
|
1494
1504
|
d = i && JSON.parse(i);
|
|
1495
|
-
} catch (
|
|
1496
|
-
p && p.error("Error parsing " + g + " on " + f.className + ": " +
|
|
1505
|
+
} catch (V) {
|
|
1506
|
+
p && p.error("Error parsing " + g + " on " + f.className + ": " + V);
|
|
1497
1507
|
return;
|
|
1498
1508
|
}
|
|
1499
1509
|
var v = new l(f, d);
|
|
@@ -1502,15 +1512,15 @@ function Mn() {
|
|
|
1502
1512
|
});
|
|
1503
1513
|
}, c;
|
|
1504
1514
|
});
|
|
1505
|
-
}(
|
|
1515
|
+
}(ze)), ze.exports;
|
|
1506
1516
|
}
|
|
1507
|
-
var
|
|
1508
|
-
function
|
|
1517
|
+
var We = { exports: {} }, ut;
|
|
1518
|
+
function Rn() {
|
|
1509
1519
|
return ut || (ut = 1, function(n) {
|
|
1510
1520
|
(function(e, t) {
|
|
1511
1521
|
n.exports ? n.exports = t(
|
|
1512
|
-
|
|
1513
|
-
|
|
1522
|
+
Ke(),
|
|
1523
|
+
Qe()
|
|
1514
1524
|
) : (e.Outlayer = {}, e.Outlayer.Item = t(
|
|
1515
1525
|
e.EvEmitter,
|
|
1516
1526
|
e.getSize
|
|
@@ -1558,13 +1568,13 @@ function zn() {
|
|
|
1558
1568
|
i[v] = f[d];
|
|
1559
1569
|
}
|
|
1560
1570
|
}, m.getPosition = function() {
|
|
1561
|
-
var f = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), d = this.layout._getOption("originTop"), v = f[i ? "left" : "right"],
|
|
1562
|
-
v.indexOf("%") != -1 && (P = P / 100 * S.width),
|
|
1571
|
+
var f = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), d = this.layout._getOption("originTop"), v = f[i ? "left" : "right"], V = f[d ? "top" : "bottom"], P = parseFloat(v), T = parseFloat(V), S = this.layout.size;
|
|
1572
|
+
v.indexOf("%") != -1 && (P = P / 100 * S.width), V.indexOf("%") != -1 && (T = T / 100 * S.height), P = isNaN(P) ? 0 : P, T = isNaN(T) ? 0 : T, P -= i ? S.paddingLeft : S.paddingRight, T -= d ? S.paddingTop : S.paddingBottom, this.position.x = P, this.position.y = T;
|
|
1563
1573
|
}, m.layoutPosition = function() {
|
|
1564
|
-
var f = this.layout.size, i = {}, d = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"),
|
|
1574
|
+
var f = this.layout.size, i = {}, d = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"), V = d ? "paddingLeft" : "paddingRight", P = d ? "left" : "right", T = d ? "right" : "left", S = this.position.x + f[V];
|
|
1565
1575
|
i[P] = this.getXValue(S), i[T] = "";
|
|
1566
|
-
var w = v ? "paddingTop" : "paddingBottom", O = v ? "top" : "bottom",
|
|
1567
|
-
i[O] = this.getYValue(
|
|
1576
|
+
var w = v ? "paddingTop" : "paddingBottom", O = v ? "top" : "bottom", M = v ? "bottom" : "top", R = this.position.y + f[w];
|
|
1577
|
+
i[O] = this.getYValue(R), i[M] = "", this.css(i), this.emitEvent("layout", [this]);
|
|
1568
1578
|
}, m.getXValue = function(f) {
|
|
1569
1579
|
var i = this.layout._getOption("horizontal");
|
|
1570
1580
|
return this.layout.options.percentPosition && !i ? f / this.layout.size.width * 100 + "%" : f + "px";
|
|
@@ -1573,8 +1583,8 @@ function zn() {
|
|
|
1573
1583
|
return this.layout.options.percentPosition && i ? f / this.layout.size.height * 100 + "%" : f + "px";
|
|
1574
1584
|
}, m._transitionTo = function(f, i) {
|
|
1575
1585
|
this.getPosition();
|
|
1576
|
-
var d = this.position.x, v = this.position.y,
|
|
1577
|
-
if (this.setPosition(f, i),
|
|
1586
|
+
var d = this.position.x, v = this.position.y, V = f == this.position.x && i == this.position.y;
|
|
1587
|
+
if (this.setPosition(f, i), V && !this.isTransitioning) {
|
|
1578
1588
|
this.layoutPosition();
|
|
1579
1589
|
return;
|
|
1580
1590
|
}
|
|
@@ -1629,12 +1639,12 @@ function zn() {
|
|
|
1629
1639
|
}, m.onotransitionend = function(f) {
|
|
1630
1640
|
this.ontransitionend(f);
|
|
1631
1641
|
};
|
|
1632
|
-
var
|
|
1642
|
+
var b = {
|
|
1633
1643
|
"-webkit-transform": "transform"
|
|
1634
1644
|
};
|
|
1635
1645
|
m.ontransitionend = function(f) {
|
|
1636
1646
|
if (f.target === this.element) {
|
|
1637
|
-
var i = this._transn, d =
|
|
1647
|
+
var i = this._transn, d = b[f.propertyName] || f.propertyName;
|
|
1638
1648
|
if (delete i.ingProperties[d], c(i.ingProperties) && this.disableTransition(), d in i.clean && (this.element.style[f.propertyName] = "", delete i.clean[d]), d in i.onEnd) {
|
|
1639
1649
|
var v = i.onEnd[d];
|
|
1640
1650
|
v.call(this), delete i.onEnd[d];
|
|
@@ -1709,7 +1719,7 @@ function zn() {
|
|
|
1709
1719
|
});
|
|
1710
1720
|
}, g;
|
|
1711
1721
|
});
|
|
1712
|
-
}(
|
|
1722
|
+
}(We)), We.exports;
|
|
1713
1723
|
}
|
|
1714
1724
|
/*!
|
|
1715
1725
|
* Outlayer v2.1.1
|
|
@@ -1717,15 +1727,15 @@ function zn() {
|
|
|
1717
1727
|
* MIT license
|
|
1718
1728
|
*/
|
|
1719
1729
|
var dt;
|
|
1720
|
-
function
|
|
1730
|
+
function Wn() {
|
|
1721
1731
|
return dt || (dt = 1, function(n) {
|
|
1722
1732
|
(function(e, t) {
|
|
1723
1733
|
n.exports ? n.exports = t(
|
|
1724
1734
|
e,
|
|
1735
|
+
Ke(),
|
|
1725
1736
|
Qe(),
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
zn()
|
|
1737
|
+
zn(),
|
|
1738
|
+
Rn()
|
|
1729
1739
|
) : e.Outlayer = t(
|
|
1730
1740
|
e,
|
|
1731
1741
|
e.EvEmitter,
|
|
@@ -1743,8 +1753,8 @@ function Rn() {
|
|
|
1743
1753
|
return;
|
|
1744
1754
|
}
|
|
1745
1755
|
this.element = v, h && (this.$element = h(this.element)), this.options = s.extend({}, this.constructor.defaults), this.option(d);
|
|
1746
|
-
var
|
|
1747
|
-
this.element.outlayerGUID =
|
|
1756
|
+
var V = ++g;
|
|
1757
|
+
this.element.outlayerGUID = V, m[V] = this, this._create();
|
|
1748
1758
|
var P = this._getOption("initLayout");
|
|
1749
1759
|
P && this.layout();
|
|
1750
1760
|
}
|
|
@@ -1790,11 +1800,11 @@ function Rn() {
|
|
|
1790
1800
|
}, a.reloadItems = function() {
|
|
1791
1801
|
this.items = this._itemize(this.element.children);
|
|
1792
1802
|
}, a._itemize = function(i) {
|
|
1793
|
-
for (var d = this._filterFindItemElements(i), v = this.constructor.Item,
|
|
1803
|
+
for (var d = this._filterFindItemElements(i), v = this.constructor.Item, V = [], P = 0; P < d.length; P++) {
|
|
1794
1804
|
var T = d[P], S = new v(T, this);
|
|
1795
|
-
|
|
1805
|
+
V.push(S);
|
|
1796
1806
|
}
|
|
1797
|
-
return
|
|
1807
|
+
return V;
|
|
1798
1808
|
}, a._filterFindItemElements = function(i) {
|
|
1799
1809
|
return s.filterFindElements(i, this.options.itemSelector);
|
|
1800
1810
|
}, a.getItemElements = function() {
|
|
@@ -1810,8 +1820,8 @@ function Rn() {
|
|
|
1810
1820
|
}, a.getSize = function() {
|
|
1811
1821
|
this.size = c(this.element);
|
|
1812
1822
|
}, a._getMeasurement = function(i, d) {
|
|
1813
|
-
var v = this.options[i],
|
|
1814
|
-
v ? (typeof v == "string" ?
|
|
1823
|
+
var v = this.options[i], V;
|
|
1824
|
+
v ? (typeof v == "string" ? V = this.element.querySelector(v) : v instanceof HTMLElement && (V = v), this[i] = V ? c(V)[d] : v) : this[i] = 0;
|
|
1815
1825
|
}, a.layoutItems = function(i, d) {
|
|
1816
1826
|
i = this._getItemsForLayout(i), this._layoutItems(i, d), this._postLayout();
|
|
1817
1827
|
}, a._getItemsForLayout = function(i) {
|
|
@@ -1821,9 +1831,9 @@ function Rn() {
|
|
|
1821
1831
|
}, a._layoutItems = function(i, d) {
|
|
1822
1832
|
if (this._emitCompleteOnItems("layout", i), !(!i || !i.length)) {
|
|
1823
1833
|
var v = [];
|
|
1824
|
-
i.forEach(function(
|
|
1825
|
-
var P = this._getItemLayoutPosition(
|
|
1826
|
-
P.item =
|
|
1834
|
+
i.forEach(function(V) {
|
|
1835
|
+
var P = this._getItemLayoutPosition(V);
|
|
1836
|
+
P.item = V, P.isInstant = d || V.isLayoutInstant, v.push(P);
|
|
1827
1837
|
}, this), this._processLayoutQueue(v);
|
|
1828
1838
|
}
|
|
1829
1839
|
}, a._getItemLayoutPosition = function() {
|
|
@@ -1842,8 +1852,8 @@ function Rn() {
|
|
|
1842
1852
|
return;
|
|
1843
1853
|
}
|
|
1844
1854
|
return this.stagger = f(i), this.stagger;
|
|
1845
|
-
}, a._positionItem = function(i, d, v,
|
|
1846
|
-
|
|
1855
|
+
}, a._positionItem = function(i, d, v, V, P) {
|
|
1856
|
+
V ? i.goTo(d, v) : (i.stagger(P * this.stagger), i.moveTo(d, v));
|
|
1847
1857
|
}, a._postLayout = function() {
|
|
1848
1858
|
this.resizeContainer();
|
|
1849
1859
|
}, a.resizeContainer = function() {
|
|
@@ -1859,24 +1869,24 @@ function Rn() {
|
|
|
1859
1869
|
}
|
|
1860
1870
|
}, a._emitCompleteOnItems = function(i, d) {
|
|
1861
1871
|
var v = this;
|
|
1862
|
-
function
|
|
1872
|
+
function V() {
|
|
1863
1873
|
v.dispatchEvent(i + "Complete", null, [d]);
|
|
1864
1874
|
}
|
|
1865
1875
|
var P = d.length;
|
|
1866
1876
|
if (!d || !P) {
|
|
1867
|
-
|
|
1877
|
+
V();
|
|
1868
1878
|
return;
|
|
1869
1879
|
}
|
|
1870
1880
|
var T = 0;
|
|
1871
1881
|
function S() {
|
|
1872
|
-
T++, T == P &&
|
|
1882
|
+
T++, T == P && V();
|
|
1873
1883
|
}
|
|
1874
1884
|
d.forEach(function(w) {
|
|
1875
1885
|
w.once(i, S);
|
|
1876
1886
|
});
|
|
1877
1887
|
}, a.dispatchEvent = function(i, d, v) {
|
|
1878
|
-
var
|
|
1879
|
-
if (this.emitEvent(i,
|
|
1888
|
+
var V = d ? [d].concat(v) : v;
|
|
1889
|
+
if (this.emitEvent(i, V), h)
|
|
1880
1890
|
if (this.$element = this.$element || h(this.element), d) {
|
|
1881
1891
|
var P = h.Event(d);
|
|
1882
1892
|
P.type = i, this.$element.trigger(P, v);
|
|
@@ -1908,11 +1918,11 @@ function Rn() {
|
|
|
1908
1918
|
bottom: i.bottom - (d.paddingBottom + d.borderBottomWidth)
|
|
1909
1919
|
};
|
|
1910
1920
|
}, a._manageStamp = u, a._getElementOffset = function(i) {
|
|
1911
|
-
var d = i.getBoundingClientRect(), v = this._boundingRect,
|
|
1912
|
-
left: d.left - v.left -
|
|
1913
|
-
top: d.top - v.top -
|
|
1914
|
-
right: v.right - d.right -
|
|
1915
|
-
bottom: v.bottom - d.bottom -
|
|
1921
|
+
var d = i.getBoundingClientRect(), v = this._boundingRect, V = c(i), P = {
|
|
1922
|
+
left: d.left - v.left - V.marginLeft,
|
|
1923
|
+
top: d.top - v.top - V.marginTop,
|
|
1924
|
+
right: v.right - d.right - V.marginRight,
|
|
1925
|
+
bottom: v.bottom - d.bottom - V.marginBottom
|
|
1916
1926
|
};
|
|
1917
1927
|
return P;
|
|
1918
1928
|
}, a.handleEvent = s.handleEvent, a.bindResize = function() {
|
|
@@ -1941,15 +1951,15 @@ function Rn() {
|
|
|
1941
1951
|
}, a.reveal = function(i) {
|
|
1942
1952
|
if (this._emitCompleteOnItems("reveal", i), !(!i || !i.length)) {
|
|
1943
1953
|
var d = this.updateStagger();
|
|
1944
|
-
i.forEach(function(v,
|
|
1945
|
-
v.stagger(
|
|
1954
|
+
i.forEach(function(v, V) {
|
|
1955
|
+
v.stagger(V * d), v.reveal();
|
|
1946
1956
|
});
|
|
1947
1957
|
}
|
|
1948
1958
|
}, a.hide = function(i) {
|
|
1949
1959
|
if (this._emitCompleteOnItems("hide", i), !(!i || !i.length)) {
|
|
1950
1960
|
var d = this.updateStagger();
|
|
1951
|
-
i.forEach(function(v,
|
|
1952
|
-
v.stagger(
|
|
1961
|
+
i.forEach(function(v, V) {
|
|
1962
|
+
v.stagger(V * d), v.hide();
|
|
1953
1963
|
});
|
|
1954
1964
|
}
|
|
1955
1965
|
}, a.revealItemElements = function(i) {
|
|
@@ -1968,8 +1978,8 @@ function Rn() {
|
|
|
1968
1978
|
i = s.makeArray(i);
|
|
1969
1979
|
var d = [];
|
|
1970
1980
|
return i.forEach(function(v) {
|
|
1971
|
-
var
|
|
1972
|
-
|
|
1981
|
+
var V = this.getItem(v);
|
|
1982
|
+
V && d.push(V);
|
|
1973
1983
|
}, this), d;
|
|
1974
1984
|
}, a.remove = function(i) {
|
|
1975
1985
|
var d = this.getItems(i);
|
|
@@ -1988,10 +1998,10 @@ function Rn() {
|
|
|
1988
1998
|
var d = i && i.outlayerGUID;
|
|
1989
1999
|
return d && m[d];
|
|
1990
2000
|
}, k.create = function(i, d) {
|
|
1991
|
-
var v =
|
|
1992
|
-
return v.defaults = s.extend({}, k.defaults), s.extend(v.defaults, d), v.compatOptions = s.extend({}, k.compatOptions), v.namespace = i, v.data = k.data, v.Item =
|
|
2001
|
+
var v = b(k);
|
|
2002
|
+
return v.defaults = s.extend({}, k.defaults), s.extend(v.defaults, d), v.compatOptions = s.extend({}, k.compatOptions), v.namespace = i, v.data = k.data, v.Item = b(p), s.htmlInit(v, i), h && h.bridget && h.bridget(i, v), v;
|
|
1993
2003
|
};
|
|
1994
|
-
function
|
|
2004
|
+
function b(i) {
|
|
1995
2005
|
function d() {
|
|
1996
2006
|
i.apply(this, arguments);
|
|
1997
2007
|
}
|
|
@@ -2004,16 +2014,16 @@ function Rn() {
|
|
|
2004
2014
|
function f(i) {
|
|
2005
2015
|
if (typeof i == "number")
|
|
2006
2016
|
return i;
|
|
2007
|
-
var d = i.match(/(^\d*\.?\d*)(\w*)/), v = d && d[1],
|
|
2017
|
+
var d = i.match(/(^\d*\.?\d*)(\w*)/), v = d && d[1], V = d && d[2];
|
|
2008
2018
|
if (!v.length)
|
|
2009
2019
|
return 0;
|
|
2010
2020
|
v = parseFloat(v);
|
|
2011
|
-
var P = _[
|
|
2021
|
+
var P = _[V] || 1;
|
|
2012
2022
|
return v * P;
|
|
2013
2023
|
}
|
|
2014
2024
|
return k.Item = p, k;
|
|
2015
2025
|
});
|
|
2016
|
-
}(
|
|
2026
|
+
}(Ae)), Ae.exports;
|
|
2017
2027
|
}
|
|
2018
2028
|
/*!
|
|
2019
2029
|
* Masonry v4.2.2
|
|
@@ -2025,8 +2035,8 @@ function Rn() {
|
|
|
2025
2035
|
(function(n) {
|
|
2026
2036
|
(function(e, t) {
|
|
2027
2037
|
n.exports ? n.exports = t(
|
|
2028
|
-
|
|
2029
|
-
|
|
2038
|
+
Wn(),
|
|
2039
|
+
Qe()
|
|
2030
2040
|
) : e.Masonry = t(
|
|
2031
2041
|
e.Outlayer,
|
|
2032
2042
|
e.getSize
|
|
@@ -2058,7 +2068,7 @@ function Rn() {
|
|
|
2058
2068
|
for (var g = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", m = this[g](u, p), k = {
|
|
2059
2069
|
x: this.columnWidth * m.col,
|
|
2060
2070
|
y: m.y
|
|
2061
|
-
}, a = m.y + p.size.outerHeight,
|
|
2071
|
+
}, a = m.y + p.size.outerHeight, b = u + m.col, _ = m.col; _ < b; _++)
|
|
2062
2072
|
this.colYs[_] = a;
|
|
2063
2073
|
return k;
|
|
2064
2074
|
}, s._getTopColPosition = function(p) {
|
|
@@ -2091,7 +2101,7 @@ function Rn() {
|
|
|
2091
2101
|
k = Math.max(0, k);
|
|
2092
2102
|
var a = Math.floor(m / this.columnWidth);
|
|
2093
2103
|
a -= m % this.columnWidth ? 0 : 1, a = Math.min(this.cols - 1, a);
|
|
2094
|
-
for (var
|
|
2104
|
+
for (var b = this._getOption("originTop"), _ = (b ? h.top : h.bottom) + l.outerHeight, f = k; f <= a; f++)
|
|
2095
2105
|
this.colYs[f] = Math.max(_, this.colYs[f]);
|
|
2096
2106
|
}, s._getContainerSize = function() {
|
|
2097
2107
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
@@ -2109,8 +2119,8 @@ function Rn() {
|
|
|
2109
2119
|
}, c;
|
|
2110
2120
|
});
|
|
2111
2121
|
})(kt);
|
|
2112
|
-
var
|
|
2113
|
-
const ct = /* @__PURE__ */ _t(
|
|
2122
|
+
var Nn = kt.exports;
|
|
2123
|
+
const ct = /* @__PURE__ */ _t(Nn);
|
|
2114
2124
|
var Et = { exports: {} };
|
|
2115
2125
|
/*!
|
|
2116
2126
|
* imagesLoaded v4.1.4
|
|
@@ -2121,7 +2131,7 @@ var Et = { exports: {} };
|
|
|
2121
2131
|
(function(e, t) {
|
|
2122
2132
|
n.exports ? n.exports = t(
|
|
2123
2133
|
e,
|
|
2124
|
-
|
|
2134
|
+
Ke()
|
|
2125
2135
|
) : e.imagesLoaded = t(
|
|
2126
2136
|
e,
|
|
2127
2137
|
e.EvEmitter
|
|
@@ -2131,34 +2141,34 @@ var Et = { exports: {} };
|
|
|
2131
2141
|
// -------------------------- factory -------------------------- //
|
|
2132
2142
|
function(t, o) {
|
|
2133
2143
|
var c = t.jQuery, s = t.console;
|
|
2134
|
-
function p(a,
|
|
2135
|
-
for (var _ in
|
|
2136
|
-
a[_] =
|
|
2144
|
+
function p(a, b) {
|
|
2145
|
+
for (var _ in b)
|
|
2146
|
+
a[_] = b[_];
|
|
2137
2147
|
return a;
|
|
2138
2148
|
}
|
|
2139
2149
|
var l = Array.prototype.slice;
|
|
2140
2150
|
function h(a) {
|
|
2141
2151
|
if (Array.isArray(a))
|
|
2142
2152
|
return a;
|
|
2143
|
-
var
|
|
2144
|
-
return
|
|
2153
|
+
var b = typeof a == "object" && typeof a.length == "number";
|
|
2154
|
+
return b ? l.call(a) : [a];
|
|
2145
2155
|
}
|
|
2146
|
-
function u(a,
|
|
2156
|
+
function u(a, b, _) {
|
|
2147
2157
|
if (!(this instanceof u))
|
|
2148
|
-
return new u(a,
|
|
2158
|
+
return new u(a, b, _);
|
|
2149
2159
|
var f = a;
|
|
2150
2160
|
if (typeof a == "string" && (f = document.querySelectorAll(a)), !f) {
|
|
2151
2161
|
s.error("Bad element for imagesLoaded " + (f || a));
|
|
2152
2162
|
return;
|
|
2153
2163
|
}
|
|
2154
|
-
this.elements = h(f), this.options = p({}, this.options), typeof
|
|
2164
|
+
this.elements = h(f), this.options = p({}, this.options), typeof b == "function" ? _ = b : p(this.options, b), _ && this.on("always", _), this.getImages(), c && (this.jqDeferred = new c.Deferred()), setTimeout(this.check.bind(this));
|
|
2155
2165
|
}
|
|
2156
2166
|
u.prototype = Object.create(o.prototype), u.prototype.options = {}, u.prototype.getImages = function() {
|
|
2157
2167
|
this.images = [], this.elements.forEach(this.addElementImages, this);
|
|
2158
2168
|
}, u.prototype.addElementImages = function(a) {
|
|
2159
2169
|
a.nodeName == "IMG" && this.addImage(a), this.options.background === !0 && this.addElementBackgroundImages(a);
|
|
2160
|
-
var
|
|
2161
|
-
if (!(!
|
|
2170
|
+
var b = a.nodeType;
|
|
2171
|
+
if (!(!b || !g[b])) {
|
|
2162
2172
|
for (var _ = a.querySelectorAll("img"), f = 0; f < _.length; f++) {
|
|
2163
2173
|
var i = _[f];
|
|
2164
2174
|
this.addImage(i);
|
|
@@ -2178,17 +2188,17 @@ var Et = { exports: {} };
|
|
|
2178
2188
|
11: !0
|
|
2179
2189
|
};
|
|
2180
2190
|
u.prototype.addElementBackgroundImages = function(a) {
|
|
2181
|
-
var
|
|
2182
|
-
if (
|
|
2183
|
-
for (var _ = /url\((['"])?(.*?)\1\)/gi, f = _.exec(
|
|
2191
|
+
var b = getComputedStyle(a);
|
|
2192
|
+
if (b)
|
|
2193
|
+
for (var _ = /url\((['"])?(.*?)\1\)/gi, f = _.exec(b.backgroundImage); f !== null; ) {
|
|
2184
2194
|
var i = f && f[2];
|
|
2185
|
-
i && this.addBackground(i, a), f = _.exec(
|
|
2195
|
+
i && this.addBackground(i, a), f = _.exec(b.backgroundImage);
|
|
2186
2196
|
}
|
|
2187
2197
|
}, u.prototype.addImage = function(a) {
|
|
2188
|
-
var
|
|
2189
|
-
this.images.push(
|
|
2190
|
-
}, u.prototype.addBackground = function(a,
|
|
2191
|
-
var _ = new k(a,
|
|
2198
|
+
var b = new m(a);
|
|
2199
|
+
this.images.push(b);
|
|
2200
|
+
}, u.prototype.addBackground = function(a, b) {
|
|
2201
|
+
var _ = new k(a, b);
|
|
2192
2202
|
this.images.push(_);
|
|
2193
2203
|
}, u.prototype.check = function() {
|
|
2194
2204
|
var a = this;
|
|
@@ -2196,21 +2206,21 @@ var Et = { exports: {} };
|
|
|
2196
2206
|
this.complete();
|
|
2197
2207
|
return;
|
|
2198
2208
|
}
|
|
2199
|
-
function
|
|
2209
|
+
function b(_, f, i) {
|
|
2200
2210
|
setTimeout(function() {
|
|
2201
2211
|
a.progress(_, f, i);
|
|
2202
2212
|
});
|
|
2203
2213
|
}
|
|
2204
2214
|
this.images.forEach(function(_) {
|
|
2205
|
-
_.once("progress",
|
|
2215
|
+
_.once("progress", b), _.check();
|
|
2206
2216
|
});
|
|
2207
|
-
}, u.prototype.progress = function(a,
|
|
2208
|
-
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !a.isLoaded, this.emitEvent("progress", [this, a,
|
|
2217
|
+
}, u.prototype.progress = function(a, b, _) {
|
|
2218
|
+
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !a.isLoaded, this.emitEvent("progress", [this, a, b]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, a), this.progressedCount == this.images.length && this.complete(), this.options.debug && s && s.log("progress: " + _, a, b);
|
|
2209
2219
|
}, u.prototype.complete = function() {
|
|
2210
2220
|
var a = this.hasAnyBroken ? "fail" : "done";
|
|
2211
2221
|
if (this.isComplete = !0, this.emitEvent(a, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
|
|
2212
|
-
var
|
|
2213
|
-
this.jqDeferred[
|
|
2222
|
+
var b = this.hasAnyBroken ? "reject" : "resolve";
|
|
2223
|
+
this.jqDeferred[b](this);
|
|
2214
2224
|
}
|
|
2215
2225
|
};
|
|
2216
2226
|
function m(a) {
|
|
@@ -2225,11 +2235,11 @@ var Et = { exports: {} };
|
|
|
2225
2235
|
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;
|
|
2226
2236
|
}, m.prototype.getIsImageComplete = function() {
|
|
2227
2237
|
return this.img.complete && this.img.naturalWidth;
|
|
2228
|
-
}, m.prototype.confirm = function(a,
|
|
2229
|
-
this.isLoaded = a, this.emitEvent("progress", [this, this.img,
|
|
2238
|
+
}, m.prototype.confirm = function(a, b) {
|
|
2239
|
+
this.isLoaded = a, this.emitEvent("progress", [this, this.img, b]);
|
|
2230
2240
|
}, m.prototype.handleEvent = function(a) {
|
|
2231
|
-
var
|
|
2232
|
-
this[
|
|
2241
|
+
var b = "on" + a.type;
|
|
2242
|
+
this[b] && this[b](a);
|
|
2233
2243
|
}, m.prototype.onload = function() {
|
|
2234
2244
|
this.confirm(!0, "onload"), this.unbindEvents();
|
|
2235
2245
|
}, m.prototype.onerror = function() {
|
|
@@ -2237,8 +2247,8 @@ var Et = { exports: {} };
|
|
|
2237
2247
|
}, m.prototype.unbindEvents = function() {
|
|
2238
2248
|
this.proxyImage.removeEventListener("load", this), this.proxyImage.removeEventListener("error", this), this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
|
|
2239
2249
|
};
|
|
2240
|
-
function k(a,
|
|
2241
|
-
this.url = a, this.element =
|
|
2250
|
+
function k(a, b) {
|
|
2251
|
+
this.url = a, this.element = b, this.img = new Image();
|
|
2242
2252
|
}
|
|
2243
2253
|
return k.prototype = Object.create(m.prototype), k.prototype.check = function() {
|
|
2244
2254
|
this.img.addEventListener("load", this), this.img.addEventListener("error", this), this.img.src = this.url;
|
|
@@ -2246,20 +2256,20 @@ var Et = { exports: {} };
|
|
|
2246
2256
|
a && (this.confirm(this.img.naturalWidth !== 0, "naturalWidth"), this.unbindEvents());
|
|
2247
2257
|
}, k.prototype.unbindEvents = function() {
|
|
2248
2258
|
this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
|
|
2249
|
-
}, k.prototype.confirm = function(a,
|
|
2250
|
-
this.isLoaded = a, this.emitEvent("progress", [this, this.element,
|
|
2259
|
+
}, k.prototype.confirm = function(a, b) {
|
|
2260
|
+
this.isLoaded = a, this.emitEvent("progress", [this, this.element, b]);
|
|
2251
2261
|
}, u.makeJQueryPlugin = function(a) {
|
|
2252
|
-
a = a || t.jQuery, a && (c = a, c.fn.imagesLoaded = function(
|
|
2253
|
-
var f = new u(this,
|
|
2262
|
+
a = a || t.jQuery, a && (c = a, c.fn.imagesLoaded = function(b, _) {
|
|
2263
|
+
var f = new u(this, b, _);
|
|
2254
2264
|
return f.jqDeferred.promise(c(this));
|
|
2255
2265
|
});
|
|
2256
2266
|
}, u.makeJQueryPlugin(), u;
|
|
2257
2267
|
}
|
|
2258
2268
|
);
|
|
2259
2269
|
})(Et);
|
|
2260
|
-
var
|
|
2261
|
-
const
|
|
2262
|
-
function
|
|
2270
|
+
var Un = Et.exports;
|
|
2271
|
+
const Fn = /* @__PURE__ */ _t(Un);
|
|
2272
|
+
function qn(n) {
|
|
2263
2273
|
return { all: n = n || /* @__PURE__ */ new Map(), on: function(e, t) {
|
|
2264
2274
|
var o = n.get(e);
|
|
2265
2275
|
o ? o.push(t) : n.set(e, [t]);
|
|
@@ -2275,7 +2285,7 @@ function Fn(n) {
|
|
|
2275
2285
|
});
|
|
2276
2286
|
} };
|
|
2277
2287
|
}
|
|
2278
|
-
const
|
|
2288
|
+
const ke = {
|
|
2279
2289
|
"column-width": "columnWidth",
|
|
2280
2290
|
"transition-duration": "transitionDuration",
|
|
2281
2291
|
"item-selector": "itemSelector",
|
|
@@ -2288,58 +2298,58 @@ const Ee = {
|
|
|
2288
2298
|
"horizontal-order": "horizontalOrder",
|
|
2289
2299
|
stagger: "stagger",
|
|
2290
2300
|
"destroy-delay": "destroyDelay"
|
|
2291
|
-
},
|
|
2301
|
+
}, Ee = "vuemasonry.itemAdded", Ne = "vuemasonry.itemRemoved", Ue = "vuemasonry.imageLoaded", Fe = "vuemasonry.destroy", Gn = function(n) {
|
|
2292
2302
|
return (n + "").toLowerCase() === "true";
|
|
2293
|
-
}, Gn = function(n) {
|
|
2294
|
-
return isNaN(n) ? n : parseInt(n);
|
|
2295
2303
|
}, jn = function(n) {
|
|
2304
|
+
return isNaN(n) ? n : parseInt(n);
|
|
2305
|
+
}, Yn = function(n) {
|
|
2296
2306
|
const e = {};
|
|
2297
2307
|
return Array.prototype.slice.call(n).forEach(function(o) {
|
|
2298
|
-
Object.keys(
|
|
2308
|
+
Object.keys(ke).indexOf(o.name) > -1 && (o.name.indexOf("origin") > -1 ? e[ke[o.name]] = Gn(o.value) : o.name === "column-width" || o.name === "gutter" ? e[ke[o.name]] = jn(o.value) : e[ke[o.name]] = o.value);
|
|
2299
2309
|
}), e;
|
|
2300
2310
|
}, It = {};
|
|
2301
2311
|
It.install = function(n, e) {
|
|
2302
|
-
const t =
|
|
2312
|
+
const t = qn(), o = "VueMasonry", c = n;
|
|
2303
2313
|
c.directive("masonry", {
|
|
2304
2314
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2305
2315
|
mounted: function(s, p) {
|
|
2306
2316
|
if (!ct)
|
|
2307
2317
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2308
|
-
const l =
|
|
2318
|
+
const l = Yn(s.attributes), h = new ct(s, l), u = p.value || o, g = l.destroyDelay ? parseInt(l.destroyDelay, 10) : void 0, m = function() {
|
|
2309
2319
|
h.reloadItems(), h.layout();
|
|
2310
2320
|
};
|
|
2311
2321
|
yt(() => {
|
|
2312
2322
|
m();
|
|
2313
2323
|
});
|
|
2314
|
-
const k = function(
|
|
2324
|
+
const k = function(b) {
|
|
2315
2325
|
m();
|
|
2316
|
-
}, a = function(
|
|
2317
|
-
t["off"](`${
|
|
2326
|
+
}, a = function(b) {
|
|
2327
|
+
t["off"](`${Ee}__${u}`, k), t["off"](`${Ne}__${u}`, k), t["off"](`${Ue}__${u}`, k), t["off"](`${Fe}__${u}`, a);
|
|
2318
2328
|
const _ = g && !Number.isNaN(g) ? g : 0;
|
|
2319
2329
|
setTimeout(function() {
|
|
2320
2330
|
h.destroy();
|
|
2321
2331
|
}, _);
|
|
2322
2332
|
};
|
|
2323
|
-
t["on"](`${
|
|
2333
|
+
t["on"](`${Ee}__${u}`, k), t["on"](`${Ne}__${u}`, k), t["on"](`${Ue}__${u}`, k), t["on"](`${Fe}__${u}`, a);
|
|
2324
2334
|
},
|
|
2325
2335
|
unbind: function(s, p) {
|
|
2326
2336
|
const l = p.value || o;
|
|
2327
|
-
t["emit"](`${
|
|
2337
|
+
t["emit"](`${Fe}__${l}`);
|
|
2328
2338
|
}
|
|
2329
2339
|
}), c.directive("masonryTile", {
|
|
2330
2340
|
mounted: function(s, p) {
|
|
2331
2341
|
const l = p.value || o;
|
|
2332
|
-
t["emit"](`${
|
|
2342
|
+
t["emit"](`${Ee}__${l}`, {
|
|
2333
2343
|
element: s
|
|
2334
|
-
}), new
|
|
2335
|
-
t["emit"](`${
|
|
2344
|
+
}), new Fn(s, function() {
|
|
2345
|
+
t["emit"](`${Ue}__${l}`, {
|
|
2336
2346
|
element: s
|
|
2337
2347
|
});
|
|
2338
2348
|
});
|
|
2339
2349
|
},
|
|
2340
2350
|
unbind: function(s, p) {
|
|
2341
2351
|
const l = p.value || o;
|
|
2342
|
-
t["emit"](`${
|
|
2352
|
+
t["emit"](`${Ne}__${l}`, {
|
|
2343
2353
|
element: s
|
|
2344
2354
|
});
|
|
2345
2355
|
}
|
|
@@ -2347,35 +2357,35 @@ It.install = function(n, e) {
|
|
|
2347
2357
|
{
|
|
2348
2358
|
const s = function(p) {
|
|
2349
2359
|
const l = p || o;
|
|
2350
|
-
t["emit"](`${
|
|
2360
|
+
t["emit"](`${Ee}__${l}`);
|
|
2351
2361
|
};
|
|
2352
2362
|
n.config.globalProperties.$redrawVueMasonry = s, n.provide("redrawVueMasonry", s);
|
|
2353
2363
|
}
|
|
2354
2364
|
};
|
|
2355
|
-
function
|
|
2365
|
+
function Ge(n, e = {}, t) {
|
|
2356
2366
|
for (const o in n) {
|
|
2357
2367
|
const c = n[o], s = t ? `${t}:${o}` : o;
|
|
2358
|
-
typeof c == "object" && c !== null ?
|
|
2368
|
+
typeof c == "object" && c !== null ? Ge(c, e, s) : typeof c == "function" && (e[s] = c);
|
|
2359
2369
|
}
|
|
2360
2370
|
return e;
|
|
2361
2371
|
}
|
|
2362
|
-
const
|
|
2363
|
-
function
|
|
2372
|
+
const Kn = { run: (n) => n() }, Qn = () => Kn, Tt = typeof console.createTask < "u" ? console.createTask : Qn;
|
|
2373
|
+
function Jn(n, e) {
|
|
2364
2374
|
const t = e.shift(), o = Tt(t);
|
|
2365
2375
|
return n.reduce(
|
|
2366
2376
|
(c, s) => c.then(() => o.run(() => s(...e))),
|
|
2367
2377
|
Promise.resolve()
|
|
2368
2378
|
);
|
|
2369
2379
|
}
|
|
2370
|
-
function
|
|
2380
|
+
function Xn(n, e) {
|
|
2371
2381
|
const t = e.shift(), o = Tt(t);
|
|
2372
2382
|
return Promise.all(n.map((c) => o.run(() => c(...e))));
|
|
2373
2383
|
}
|
|
2374
|
-
function
|
|
2384
|
+
function qe(n, e) {
|
|
2375
2385
|
for (const t of [...n])
|
|
2376
2386
|
t(e);
|
|
2377
2387
|
}
|
|
2378
|
-
class
|
|
2388
|
+
class Zn {
|
|
2379
2389
|
constructor() {
|
|
2380
2390
|
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);
|
|
2381
2391
|
}
|
|
@@ -2426,7 +2436,7 @@ class Xn {
|
|
|
2426
2436
|
this.deprecateHook(t, e[t]);
|
|
2427
2437
|
}
|
|
2428
2438
|
addHooks(e) {
|
|
2429
|
-
const t =
|
|
2439
|
+
const t = Ge(e), o = Object.keys(t).map(
|
|
2430
2440
|
(c) => this.hook(c, t[c])
|
|
2431
2441
|
);
|
|
2432
2442
|
return () => {
|
|
@@ -2435,7 +2445,7 @@ class Xn {
|
|
|
2435
2445
|
};
|
|
2436
2446
|
}
|
|
2437
2447
|
removeHooks(e) {
|
|
2438
|
-
const t =
|
|
2448
|
+
const t = Ge(e);
|
|
2439
2449
|
for (const o in t)
|
|
2440
2450
|
this.removeHook(o, t[o]);
|
|
2441
2451
|
}
|
|
@@ -2444,21 +2454,21 @@ class Xn {
|
|
|
2444
2454
|
delete this._hooks[e];
|
|
2445
2455
|
}
|
|
2446
2456
|
callHook(e, ...t) {
|
|
2447
|
-
return t.unshift(e), this.callHookWith(
|
|
2457
|
+
return t.unshift(e), this.callHookWith(Jn, e, ...t);
|
|
2448
2458
|
}
|
|
2449
2459
|
callHookParallel(e, ...t) {
|
|
2450
|
-
return t.unshift(e), this.callHookWith(
|
|
2460
|
+
return t.unshift(e), this.callHookWith(Xn, e, ...t);
|
|
2451
2461
|
}
|
|
2452
2462
|
callHookWith(e, t, ...o) {
|
|
2453
2463
|
const c = this._before || this._after ? { name: t, args: o, context: {} } : void 0;
|
|
2454
|
-
this._before &&
|
|
2464
|
+
this._before && qe(this._before, c);
|
|
2455
2465
|
const s = e(
|
|
2456
2466
|
t in this._hooks ? [...this._hooks[t]] : [],
|
|
2457
2467
|
o
|
|
2458
2468
|
);
|
|
2459
2469
|
return s instanceof Promise ? s.finally(() => {
|
|
2460
|
-
this._after && c &&
|
|
2461
|
-
}) : (this._after && c &&
|
|
2470
|
+
this._after && c && qe(this._after, c);
|
|
2471
|
+
}) : (this._after && c && qe(this._after, c), s);
|
|
2462
2472
|
}
|
|
2463
2473
|
beforeEach(e) {
|
|
2464
2474
|
return this._before = this._before || [], this._before.push(e), () => {
|
|
@@ -2477,20 +2487,20 @@ class Xn {
|
|
|
2477
2487
|
};
|
|
2478
2488
|
}
|
|
2479
2489
|
}
|
|
2480
|
-
function
|
|
2481
|
-
return new
|
|
2490
|
+
function ei() {
|
|
2491
|
+
return new Zn();
|
|
2482
2492
|
}
|
|
2483
|
-
function
|
|
2493
|
+
function ti(n) {
|
|
2484
2494
|
return Array.isArray(n) ? n : [n];
|
|
2485
2495
|
}
|
|
2486
|
-
const
|
|
2496
|
+
const oi = ["title", "titleTemplate", "script", "style", "noscript"], Ie = [
|
|
2487
2497
|
"base",
|
|
2488
2498
|
"meta",
|
|
2489
2499
|
"link",
|
|
2490
2500
|
"style",
|
|
2491
2501
|
"script",
|
|
2492
2502
|
"noscript"
|
|
2493
|
-
],
|
|
2503
|
+
], ni = [
|
|
2494
2504
|
"title",
|
|
2495
2505
|
"titleTemplate",
|
|
2496
2506
|
"templateParams",
|
|
@@ -2502,19 +2512,19 @@ const ti = ["title", "titleTemplate", "script", "style", "noscript"], Te = [
|
|
|
2502
2512
|
"style",
|
|
2503
2513
|
"script",
|
|
2504
2514
|
"noscript"
|
|
2505
|
-
],
|
|
2506
|
-
function
|
|
2515
|
+
], ii = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Ct = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "innerHTML", "textContent", "processTemplateParams"], ri = typeof window < "u";
|
|
2516
|
+
function Je(n) {
|
|
2507
2517
|
let e = 9;
|
|
2508
2518
|
for (let t = 0; t < n.length; )
|
|
2509
2519
|
e = Math.imul(e ^ n.charCodeAt(t++), 9 ** 9);
|
|
2510
2520
|
return ((e ^ e >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
2511
2521
|
}
|
|
2512
2522
|
function pt(n) {
|
|
2513
|
-
return n._h ||
|
|
2523
|
+
return n._h || Je(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
|
|
2514
2524
|
}
|
|
2515
|
-
function
|
|
2525
|
+
function Vt(n, e) {
|
|
2516
2526
|
const { props: t, tag: o } = n;
|
|
2517
|
-
if (
|
|
2527
|
+
if (ii.includes(o))
|
|
2518
2528
|
return o;
|
|
2519
2529
|
if (o === "link" && t.rel === "canonical")
|
|
2520
2530
|
return "canonical";
|
|
@@ -2532,10 +2542,10 @@ function $t(n, e) {
|
|
|
2532
2542
|
function ht(n, e) {
|
|
2533
2543
|
return n == null ? e || null : typeof n == "function" ? n(e) : n;
|
|
2534
2544
|
}
|
|
2535
|
-
async function
|
|
2545
|
+
async function si(n, e, t) {
|
|
2536
2546
|
const o = {
|
|
2537
2547
|
tag: n,
|
|
2538
|
-
props: await
|
|
2548
|
+
props: await $t(
|
|
2539
2549
|
// explicitly check for an object
|
|
2540
2550
|
// @ts-expect-error untyped
|
|
2541
2551
|
typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? { ...e } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: e },
|
|
@@ -2544,16 +2554,16 @@ async function ri(n, e, t) {
|
|
|
2544
2554
|
};
|
|
2545
2555
|
return Ct.forEach((c) => {
|
|
2546
2556
|
const s = typeof o.props[c] < "u" ? o.props[c] : t[c];
|
|
2547
|
-
typeof s < "u" && ((!["innerHTML", "textContent"].includes(c) ||
|
|
2557
|
+
typeof s < "u" && ((!["innerHTML", "textContent"].includes(c) || oi.includes(o.tag)) && (o[c] = s), delete o.props[c]);
|
|
2548
2558
|
}), 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((c) => ({ ...o, props: { ...o.props, content: c } })) : o;
|
|
2549
2559
|
}
|
|
2550
|
-
function
|
|
2560
|
+
function ai(n) {
|
|
2551
2561
|
return typeof n == "object" && !Array.isArray(n) && (n = Object.keys(n).filter((e) => n[e])), (Array.isArray(n) ? n.join(" ") : n).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
|
|
2552
2562
|
}
|
|
2553
|
-
async function
|
|
2563
|
+
async function $t(n, e) {
|
|
2554
2564
|
for (const t of Object.keys(n)) {
|
|
2555
2565
|
if (t === "class") {
|
|
2556
|
-
n[t] =
|
|
2566
|
+
n[t] = ai(n[t]);
|
|
2557
2567
|
continue;
|
|
2558
2568
|
}
|
|
2559
2569
|
if (n[t] instanceof Promise && (n[t] = await n[t]), !e && !Ct.includes(t)) {
|
|
@@ -2563,13 +2573,13 @@ async function Vt(n, e) {
|
|
|
2563
2573
|
}
|
|
2564
2574
|
return n;
|
|
2565
2575
|
}
|
|
2566
|
-
const
|
|
2567
|
-
async function
|
|
2576
|
+
const li = 10;
|
|
2577
|
+
async function ui(n) {
|
|
2568
2578
|
const e = [];
|
|
2569
|
-
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" &&
|
|
2570
|
-
const c =
|
|
2571
|
-
e.push(...c.map((s) =>
|
|
2572
|
-
}), (await Promise.all(e)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i <<
|
|
2579
|
+
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" && ni.includes(t)).forEach(([t, o]) => {
|
|
2580
|
+
const c = ti(o);
|
|
2581
|
+
e.push(...c.map((s) => si(t, s, n)).flat());
|
|
2582
|
+
}), (await Promise.all(e)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << li) + o, t));
|
|
2573
2583
|
}
|
|
2574
2584
|
const ft = {
|
|
2575
2585
|
// tags
|
|
@@ -2581,13 +2591,13 @@ const ft = {
|
|
|
2581
2591
|
high: -10,
|
|
2582
2592
|
low: 20
|
|
2583
2593
|
};
|
|
2584
|
-
function
|
|
2594
|
+
function $e(n) {
|
|
2585
2595
|
let e = 100;
|
|
2586
2596
|
const t = n.tagPriority;
|
|
2587
2597
|
return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (e = -30), n.props.charset && (e = -20), n.props.name === "viewport" && (e = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? e = 20 : n.tag in ft && (e = ft[n.tag]), typeof t == "string" && t in mt ? e + mt[t] : e);
|
|
2588
2598
|
}
|
|
2589
|
-
const
|
|
2590
|
-
function
|
|
2599
|
+
const di = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Pt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ce = "%separator";
|
|
2600
|
+
function Te(n, e, t) {
|
|
2591
2601
|
if (typeof n != "string" || !n.includes("%"))
|
|
2592
2602
|
return n;
|
|
2593
2603
|
function o(p) {
|
|
@@ -2602,19 +2612,19 @@ function Ce(n, e, t) {
|
|
|
2602
2612
|
return (c.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
|
|
2603
2613
|
const l = o(p.slice(1));
|
|
2604
2614
|
typeof l == "string" && (n = n.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (h, u) => `${l}${u}`).trim());
|
|
2605
|
-
}), n.includes(ce) && (n.endsWith(ce) && (n = n.slice(0, -ce.length).trim()), n.startsWith(ce) && (n = n.slice(ce.length).trim()), n = n.replace(new RegExp(`\\${ce}\\s*\\${ce}`, "g"), ce), n =
|
|
2615
|
+
}), n.includes(ce) && (n.endsWith(ce) && (n = n.slice(0, -ce.length).trim()), n.startsWith(ce) && (n = n.slice(ce.length).trim()), n = n.replace(new RegExp(`\\${ce}\\s*\\${ce}`, "g"), ce), n = Te(n, { separator: t }, t)), n;
|
|
2606
2616
|
}
|
|
2607
|
-
async function
|
|
2617
|
+
async function ci(n) {
|
|
2608
2618
|
const e = {
|
|
2609
2619
|
tag: n.tagName.toLowerCase(),
|
|
2610
|
-
props: await
|
|
2620
|
+
props: await $t(
|
|
2611
2621
|
n.getAttributeNames().reduce((t, o) => ({ ...t, [o]: n.getAttribute(o) }), {})
|
|
2612
2622
|
),
|
|
2613
2623
|
innerHTML: n.innerHTML
|
|
2614
2624
|
};
|
|
2615
|
-
return e._d =
|
|
2625
|
+
return e._d = Vt(e), e;
|
|
2616
2626
|
}
|
|
2617
|
-
async function
|
|
2627
|
+
async function pi(n, e = {}) {
|
|
2618
2628
|
const t = e.document || n.resolvedOptions.document;
|
|
2619
2629
|
if (!t)
|
|
2620
2630
|
return;
|
|
@@ -2623,7 +2633,7 @@ async function ci(n, e = {}) {
|
|
|
2623
2633
|
return;
|
|
2624
2634
|
const c = (await n.resolveTags()).map((g) => ({
|
|
2625
2635
|
tag: g,
|
|
2626
|
-
id:
|
|
2636
|
+
id: Ie.includes(g.tag) ? pt(g) : g.tag,
|
|
2627
2637
|
shouldRender: !0
|
|
2628
2638
|
}));
|
|
2629
2639
|
let s = n._dom;
|
|
@@ -2633,8 +2643,8 @@ async function ci(n, e = {}) {
|
|
|
2633
2643
|
};
|
|
2634
2644
|
for (const g of ["body", "head"]) {
|
|
2635
2645
|
const m = t?.[g]?.children;
|
|
2636
|
-
for (const k of [...m].filter((a) =>
|
|
2637
|
-
s.elMap[k.getAttribute("data-hid") || pt(await
|
|
2646
|
+
for (const k of [...m].filter((a) => Ie.includes(a.tagName.toLowerCase())))
|
|
2647
|
+
s.elMap[k.getAttribute("data-hid") || pt(await ci(k))] = k;
|
|
2638
2648
|
}
|
|
2639
2649
|
}
|
|
2640
2650
|
s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
|
|
@@ -2644,17 +2654,17 @@ async function ci(n, e = {}) {
|
|
|
2644
2654
|
}
|
|
2645
2655
|
function l({ id: g, $el: m, tag: k }) {
|
|
2646
2656
|
const a = k.tag.endsWith("Attrs");
|
|
2647
|
-
s.elMap[g] = m, a || (["textContent", "innerHTML"].forEach((
|
|
2648
|
-
k[
|
|
2657
|
+
s.elMap[g] = m, a || (["textContent", "innerHTML"].forEach((b) => {
|
|
2658
|
+
k[b] && k[b] !== m[b] && (m[b] = k[b]);
|
|
2649
2659
|
}), p(g, "el", () => {
|
|
2650
2660
|
s.elMap[g].remove(), delete s.elMap[g];
|
|
2651
|
-
})), Object.entries(k.props).forEach(([
|
|
2652
|
-
const f = `attr:${
|
|
2653
|
-
if (
|
|
2661
|
+
})), Object.entries(k.props).forEach(([b, _]) => {
|
|
2662
|
+
const f = `attr:${b}`;
|
|
2663
|
+
if (b === "class")
|
|
2654
2664
|
for (const i of (_ || "").split(" ").filter(Boolean))
|
|
2655
2665
|
a && p(g, `${f}:${i}`, () => m.classList.remove(i)), !m.classList.contains(i) && m.classList.add(i);
|
|
2656
2666
|
else
|
|
2657
|
-
m.getAttribute(
|
|
2667
|
+
m.getAttribute(b) !== _ && m.setAttribute(b, _ === !0 ? "" : String(_)), a && p(g, f, () => m.removeAttribute(b));
|
|
2658
2668
|
});
|
|
2659
2669
|
}
|
|
2660
2670
|
const h = [], u = {
|
|
@@ -2669,7 +2679,7 @@ async function ci(n, e = {}) {
|
|
|
2669
2679
|
t.title = m.textContent;
|
|
2670
2680
|
continue;
|
|
2671
2681
|
}
|
|
2672
|
-
g.$el = g.$el || s.elMap[a], g.$el ? l(g) :
|
|
2682
|
+
g.$el = g.$el || s.elMap[a], g.$el ? l(g) : Ie.includes(m.tag) && h.push(g);
|
|
2673
2683
|
}
|
|
2674
2684
|
}
|
|
2675
2685
|
for (const g of h) {
|
|
@@ -2680,33 +2690,33 @@ async function ci(n, e = {}) {
|
|
|
2680
2690
|
await n.hooks.callHook("dom:renderTag", g, t, p);
|
|
2681
2691
|
u.head && t.head.appendChild(u.head), u.bodyOpen && t.body.insertBefore(u.bodyOpen, t.body.firstChild), u.bodyClose && t.body.appendChild(u.bodyClose), Object.values(s.pendingSideEffects).forEach((g) => g()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: c });
|
|
2682
2692
|
}
|
|
2683
|
-
async function
|
|
2693
|
+
async function hi(n, e = {}) {
|
|
2684
2694
|
const t = e.delayFn || ((o) => setTimeout(o, 10));
|
|
2685
2695
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((o) => t(async () => {
|
|
2686
|
-
await
|
|
2696
|
+
await pi(n, e), delete n._domUpdatePromise, o();
|
|
2687
2697
|
}));
|
|
2688
2698
|
}
|
|
2689
2699
|
// @__NO_SIDE_EFFECTS__
|
|
2690
|
-
function
|
|
2700
|
+
function fi(n) {
|
|
2691
2701
|
return (e) => {
|
|
2692
2702
|
const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
2693
2703
|
return t && e.push(JSON.parse(t)), {
|
|
2694
2704
|
mode: "client",
|
|
2695
2705
|
hooks: {
|
|
2696
2706
|
"entries:updated": function(o) {
|
|
2697
|
-
|
|
2707
|
+
hi(o, n);
|
|
2698
2708
|
}
|
|
2699
2709
|
}
|
|
2700
2710
|
};
|
|
2701
2711
|
};
|
|
2702
2712
|
}
|
|
2703
|
-
const
|
|
2713
|
+
const mi = ["templateParams", "htmlAttrs", "bodyAttrs"], gi = {
|
|
2704
2714
|
hooks: {
|
|
2705
2715
|
"tag:normalise": function({ tag: n }) {
|
|
2706
2716
|
["hid", "vmid", "key"].forEach((o) => {
|
|
2707
2717
|
n.props[o] && (n.key = n.props[o], delete n.props[o]);
|
|
2708
2718
|
});
|
|
2709
|
-
const t =
|
|
2719
|
+
const t = Vt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
|
|
2710
2720
|
t && (n._d = t);
|
|
2711
2721
|
},
|
|
2712
2722
|
"tags:resolve": function(n) {
|
|
@@ -2715,7 +2725,7 @@ const fi = ["templateParams", "htmlAttrs", "bodyAttrs"], mi = {
|
|
|
2715
2725
|
const c = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, s = e[c];
|
|
2716
2726
|
if (s) {
|
|
2717
2727
|
let l = o?.tagDuplicateStrategy;
|
|
2718
|
-
if (!l &&
|
|
2728
|
+
if (!l && mi.includes(o.tag) && (l = "merge"), l === "merge") {
|
|
2719
2729
|
const h = s.props;
|
|
2720
2730
|
["class", "style"].forEach((u) => {
|
|
2721
2731
|
o.props[u] && h[u] && (u === "style" && !h[u].endsWith(";") && (h[u] += ";"), o.props[u] = `${h[u]} ${o.props[u]}`);
|
|
@@ -2727,11 +2737,11 @@ const fi = ["templateParams", "htmlAttrs", "bodyAttrs"], mi = {
|
|
|
2727
2737
|
} else if (o._e === s._e) {
|
|
2728
2738
|
s._duped = s._duped || [], o._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(o);
|
|
2729
2739
|
return;
|
|
2730
|
-
} else if (
|
|
2740
|
+
} else if ($e(o) > $e(s))
|
|
2731
2741
|
return;
|
|
2732
2742
|
}
|
|
2733
2743
|
const p = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
|
|
2734
|
-
if (
|
|
2744
|
+
if (Ie.includes(o.tag) && p === 0) {
|
|
2735
2745
|
delete e[c];
|
|
2736
2746
|
return;
|
|
2737
2747
|
}
|
|
@@ -2744,7 +2754,7 @@ const fi = ["templateParams", "htmlAttrs", "bodyAttrs"], mi = {
|
|
|
2744
2754
|
}), n.tags = t, n.tags = n.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
|
|
2745
2755
|
}
|
|
2746
2756
|
}
|
|
2747
|
-
},
|
|
2757
|
+
}, vi = {
|
|
2748
2758
|
mode: "server",
|
|
2749
2759
|
hooks: {
|
|
2750
2760
|
"tags:resolve": function(n) {
|
|
@@ -2758,20 +2768,20 @@ const fi = ["templateParams", "htmlAttrs", "bodyAttrs"], mi = {
|
|
|
2758
2768
|
});
|
|
2759
2769
|
}
|
|
2760
2770
|
}
|
|
2761
|
-
},
|
|
2762
|
-
function
|
|
2771
|
+
}, yi = ["script", "link", "bodyAttrs"];
|
|
2772
|
+
function bi(n) {
|
|
2763
2773
|
const e = {}, t = {};
|
|
2764
2774
|
return Object.entries(n.props).forEach(([o, c]) => {
|
|
2765
2775
|
o.startsWith("on") && typeof c == "function" ? (Pt.includes(o) && (e[o] = `this.dataset.${o} = true`), t[o] = c) : e[o] = c;
|
|
2766
2776
|
}), { props: e, eventHandlers: t };
|
|
2767
2777
|
}
|
|
2768
|
-
const
|
|
2778
|
+
const _i = (n) => ({
|
|
2769
2779
|
hooks: {
|
|
2770
2780
|
"tags:resolve": function(e) {
|
|
2771
2781
|
for (const t of e.tags)
|
|
2772
|
-
if (
|
|
2773
|
-
const { props: o, eventHandlers: c } =
|
|
2774
|
-
t.props = o, Object.keys(c).length && ((t.props.src || t.props.href) && (t.key = t.key ||
|
|
2782
|
+
if (yi.includes(t.tag)) {
|
|
2783
|
+
const { props: o, eventHandlers: c } = bi(t);
|
|
2784
|
+
t.props = o, Object.keys(c).length && ((t.props.src || t.props.href) && (t.key = t.key || Je(t.props.src || t.props.href)), t._eventHandlers = c);
|
|
2775
2785
|
}
|
|
2776
2786
|
},
|
|
2777
2787
|
"dom:renderTag": function(e, t, o) {
|
|
@@ -2789,7 +2799,7 @@ const bi = (n) => ({
|
|
|
2789
2799
|
p(k), g?.disconnect();
|
|
2790
2800
|
};
|
|
2791
2801
|
s in e.$el.dataset ? m(new Event(s.replace("on", ""))) : Pt.includes(s) && typeof MutationObserver < "u" ? (g = new MutationObserver((k) => {
|
|
2792
|
-
k.some((
|
|
2802
|
+
k.some((b) => b.attributeName === `data-${s}`) && (m(new Event(s.replace("on", ""))), g?.disconnect());
|
|
2793
2803
|
}), g.observe(e.$el, {
|
|
2794
2804
|
attributes: !0
|
|
2795
2805
|
})) : c.addEventListener(h, m), o(e.id, l, () => {
|
|
@@ -2798,45 +2808,45 @@ const bi = (n) => ({
|
|
|
2798
2808
|
});
|
|
2799
2809
|
}
|
|
2800
2810
|
}
|
|
2801
|
-
}),
|
|
2811
|
+
}), ki = ["link", "style", "script", "noscript"], Ei = {
|
|
2802
2812
|
hooks: {
|
|
2803
2813
|
"tag:normalise": ({ tag: n }) => {
|
|
2804
|
-
n.key &&
|
|
2814
|
+
n.key && ki.includes(n.tag) && (n.props["data-hid"] = n._h = Je(n.key));
|
|
2805
2815
|
}
|
|
2806
2816
|
}
|
|
2807
|
-
},
|
|
2817
|
+
}, Ii = {
|
|
2808
2818
|
hooks: {
|
|
2809
2819
|
"tags:resolve": (n) => {
|
|
2810
2820
|
const e = (t) => n.tags.find((o) => o._d === t)?._p;
|
|
2811
|
-
for (const { prefix: t, offset: o } of
|
|
2821
|
+
for (const { prefix: t, offset: o } of di)
|
|
2812
2822
|
for (const c of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
|
|
2813
2823
|
const s = e(
|
|
2814
2824
|
c.tagPriority.replace(t, "")
|
|
2815
2825
|
);
|
|
2816
2826
|
typeof s < "u" && (c._p = s + o);
|
|
2817
2827
|
}
|
|
2818
|
-
n.tags.sort((t, o) => t._p - o._p).sort((t, o) =>
|
|
2828
|
+
n.tags.sort((t, o) => t._p - o._p).sort((t, o) => $e(t) - $e(o));
|
|
2819
2829
|
}
|
|
2820
2830
|
}
|
|
2821
|
-
},
|
|
2831
|
+
}, Ti = {
|
|
2822
2832
|
meta: "content",
|
|
2823
2833
|
link: "href",
|
|
2824
2834
|
htmlAttrs: "lang"
|
|
2825
|
-
},
|
|
2835
|
+
}, Ci = (n) => ({
|
|
2826
2836
|
hooks: {
|
|
2827
2837
|
"tags:resolve": (e) => {
|
|
2828
2838
|
const { tags: t } = e, o = t.find((l) => l.tag === "title")?.textContent, c = t.findIndex((l) => l.tag === "templateParams"), s = c !== -1 ? t[c].props : {}, p = s.separator || "|";
|
|
2829
|
-
delete s.separator, s.pageTitle =
|
|
2839
|
+
delete s.separator, s.pageTitle = Te(s.pageTitle || o || "", s, p);
|
|
2830
2840
|
for (const l of t.filter((h) => h.processTemplateParams !== !1)) {
|
|
2831
|
-
const h =
|
|
2832
|
-
h && typeof l.props[h] == "string" ? l.props[h] =
|
|
2833
|
-
typeof l[u] == "string" && (l[u] =
|
|
2841
|
+
const h = Ti[l.tag];
|
|
2842
|
+
h && typeof l.props[h] == "string" ? l.props[h] = Te(l.props[h], s, p) : (l.processTemplateParams === !0 || ["titleTemplate", "title"].includes(l.tag)) && ["innerHTML", "textContent"].forEach((u) => {
|
|
2843
|
+
typeof l[u] == "string" && (l[u] = Te(l[u], s, p));
|
|
2834
2844
|
});
|
|
2835
2845
|
}
|
|
2836
2846
|
n._templateParams = s, n._separator = p, e.tags = t.filter((l) => l.tag !== "templateParams");
|
|
2837
2847
|
}
|
|
2838
2848
|
}
|
|
2839
|
-
}),
|
|
2849
|
+
}), Vi = {
|
|
2840
2850
|
hooks: {
|
|
2841
2851
|
"tags:resolve": (n) => {
|
|
2842
2852
|
const { tags: e } = n;
|
|
@@ -2860,15 +2870,15 @@ const bi = (n) => ({
|
|
|
2860
2870
|
};
|
|
2861
2871
|
// @__NO_SIDE_EFFECTS__
|
|
2862
2872
|
function $i(n = {}) {
|
|
2863
|
-
const e =
|
|
2864
|
-
return e.use(/* @__PURE__ */
|
|
2873
|
+
const e = Pi(n);
|
|
2874
|
+
return e.use(/* @__PURE__ */ fi()), e;
|
|
2865
2875
|
}
|
|
2866
2876
|
function gt(n, e) {
|
|
2867
2877
|
return !n || n === "server" && e || n === "client" && !e;
|
|
2868
2878
|
}
|
|
2869
|
-
function
|
|
2870
|
-
const e =
|
|
2871
|
-
e.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2879
|
+
function Pi(n = {}) {
|
|
2880
|
+
const e = ei();
|
|
2881
|
+
e.addHooks(n.hooks || {}), n.document = n.document || (ri ? document : void 0);
|
|
2872
2882
|
const t = !n.document, o = () => {
|
|
2873
2883
|
l.dirty = !0, e.callHook("entries:updated", l);
|
|
2874
2884
|
};
|
|
@@ -2908,7 +2918,7 @@ function Vi(n = {}) {
|
|
|
2908
2918
|
for (const u of h.entries) {
|
|
2909
2919
|
const g = u.resolvedInput || u.input;
|
|
2910
2920
|
if (u.resolvedInput = await (u.transform ? u.transform(g) : g), u.resolvedInput)
|
|
2911
|
-
for (const m of await
|
|
2921
|
+
for (const m of await ui(u)) {
|
|
2912
2922
|
const k = { tag: m, entry: u, resolvedOptions: l.resolvedOptions };
|
|
2913
2923
|
await e.callHook("tag:normalise", k), h.tags.push(k.tag);
|
|
2914
2924
|
}
|
|
@@ -2918,55 +2928,55 @@ function Vi(n = {}) {
|
|
|
2918
2928
|
ssr: t
|
|
2919
2929
|
};
|
|
2920
2930
|
return [
|
|
2921
|
-
mi,
|
|
2922
2931
|
gi,
|
|
2923
|
-
|
|
2924
|
-
|
|
2932
|
+
vi,
|
|
2933
|
+
_i,
|
|
2925
2934
|
Ei,
|
|
2926
|
-
|
|
2935
|
+
Ii,
|
|
2927
2936
|
Ci,
|
|
2937
|
+
Vi,
|
|
2928
2938
|
...n?.plugins || []
|
|
2929
2939
|
].forEach((h) => l.use(h)), l.hooks.callHook("init", l), l;
|
|
2930
2940
|
}
|
|
2931
|
-
const
|
|
2932
|
-
function
|
|
2941
|
+
const Si = co.startsWith("3");
|
|
2942
|
+
function Li(n) {
|
|
2933
2943
|
return typeof n == "function" ? n() : r(n);
|
|
2934
2944
|
}
|
|
2935
|
-
function
|
|
2945
|
+
function je(n, e = "") {
|
|
2936
2946
|
if (n instanceof Promise)
|
|
2937
2947
|
return n;
|
|
2938
|
-
const t =
|
|
2939
|
-
return !n || !t ? t : Array.isArray(t) ? t.map((o) =>
|
|
2940
|
-
Object.entries(t).map(([o, c]) => o === "titleTemplate" || o.startsWith("on") ? [o, r(c)] : [o,
|
|
2948
|
+
const t = Li(n);
|
|
2949
|
+
return !n || !t ? t : Array.isArray(t) ? t.map((o) => je(o, e)) : typeof t == "object" ? Object.fromEntries(
|
|
2950
|
+
Object.entries(t).map(([o, c]) => o === "titleTemplate" || o.startsWith("on") ? [o, r(c)] : [o, je(c, o)])
|
|
2941
2951
|
) : t;
|
|
2942
2952
|
}
|
|
2943
2953
|
const xi = {
|
|
2944
2954
|
hooks: {
|
|
2945
2955
|
"entries:resolve": function(n) {
|
|
2946
2956
|
for (const e of n.entries)
|
|
2947
|
-
e.resolvedInput =
|
|
2957
|
+
e.resolvedInput = je(e.input);
|
|
2948
2958
|
}
|
|
2949
2959
|
}
|
|
2950
|
-
},
|
|
2951
|
-
function
|
|
2960
|
+
}, Di = "usehead";
|
|
2961
|
+
function Oi(n) {
|
|
2952
2962
|
return {
|
|
2953
2963
|
install(t) {
|
|
2954
|
-
|
|
2964
|
+
Si && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(Di, n));
|
|
2955
2965
|
}
|
|
2956
2966
|
}.install;
|
|
2957
2967
|
}
|
|
2958
|
-
function
|
|
2968
|
+
function Hi(n = {}) {
|
|
2959
2969
|
n.domDelayFn = n.domDelayFn || ((t) => yt(() => setTimeout(() => t(), 0)));
|
|
2960
2970
|
const e = /* @__PURE__ */ $i(n);
|
|
2961
|
-
return e.use(xi), e.install =
|
|
2971
|
+
return e.use(xi), e.install = Oi(e), e;
|
|
2962
2972
|
}
|
|
2963
|
-
const
|
|
2964
|
-
de.use(wi);
|
|
2965
|
-
de.use(Hi);
|
|
2973
|
+
const wi = po(), Ai = Hi(), Bi = ho(), de = fo({ components: { Hotel: Bn } });
|
|
2966
2974
|
de.use(Ai);
|
|
2975
|
+
de.use(wi);
|
|
2976
|
+
de.use(Bi);
|
|
2967
2977
|
de.use(It);
|
|
2968
|
-
de.use(
|
|
2969
|
-
de.use(
|
|
2970
|
-
de.use(
|
|
2971
|
-
de.use(
|
|
2978
|
+
de.use(Lo);
|
|
2979
|
+
de.use(mo);
|
|
2980
|
+
de.use(Io);
|
|
2981
|
+
de.use(go, { bootstrap: !0 });
|
|
2972
2982
|
de.mount("#konnectio-hotel-app");
|