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