@konnectio/core 4.0.28 → 4.0.29
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-20fd2fef.js → ActionField-1fcb30ea.js} +2 -2
- package/dist/ActionField-1fcb30ea.js.br +0 -0
- package/dist/{ActionField-487e86aa.cjs → ActionField-81384aa7.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-813806c7.js → AvailabilitySkeleton-e38800f8.js} +5 -5
- package/dist/AvailabilitySkeleton-e38800f8.js.br +0 -0
- package/dist/{AvailabilitySkeleton-ff721887.cjs → AvailabilitySkeleton-f371a6ba.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-c80f334d.cjs → DateField.vue_vue_type_style_index_0_lang-16f1eb52.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-3abac10d.js → DateField.vue_vue_type_style_index_0_lang-5eb1cfc9.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-5eb1cfc9.js.br +0 -0
- package/dist/{Field-6b050caf.cjs → Field-9be15a05.cjs} +1 -1
- package/dist/{Field-79fc7dfa.js → Field-eb8d429d.js} +2 -2
- package/dist/Field-eb8d429d.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-13b2e6c5.js → NumberField.vue_vue_type_script_setup_true_lang-959c8429.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-959c8429.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-1c0634a0.cjs → NumberField.vue_vue_type_script_setup_true_lang-ae0eb65d.cjs} +1 -1
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-d631c22b.js → SelectField.vue_vue_type_style_index_0_lang-6b27dec6.js} +13271 -12305
- package/dist/SelectField.vue_vue_type_style_index_0_lang-6b27dec6.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-80ce269e.cjs +860 -0
- package/dist/{ThankYou-9dd940b6.js → ThankYou-90871d9e.js} +846 -845
- package/dist/ThankYou-90871d9e.js.br +0 -0
- package/dist/{ThankYou-3ada7b03.cjs → ThankYou-db84768c.cjs} +6 -6
- package/dist/{_-b36ce0a6.cjs → _-0041bfd0.cjs} +1 -1
- package/dist/{_-f9c3008a.js → _-c47e8eec.js} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/components/forms/MultiStepForm.vue.d.ts +1 -1
- package/dist/{event-16449760.js → event-97fce505.js} +7 -7
- package/dist/event-97fce505.js.br +0 -0
- package/dist/{event-69ba12c7.cjs → event-f7d31cb8.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 +254 -278
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +555 -554
- package/dist/hotel.js.br +0 -0
- package/dist/{index-ddf58f34.js → index-1f2fa31e.js} +77 -107
- package/dist/index-1f2fa31e.js.br +0 -0
- package/dist/index-2c822f23.cjs +1 -0
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/store/hotel.d.ts +4 -1
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +2 -1
- package/dist/ActionField-20fd2fef.js.br +0 -0
- package/dist/AvailabilitySkeleton-813806c7.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-3abac10d.js.br +0 -0
- package/dist/Field-79fc7dfa.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-13b2e6c5.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-aa9c0c1a.cjs +0 -858
- package/dist/SelectField.vue_vue_type_style_index_0_lang-d631c22b.js.br +0 -0
- package/dist/ThankYou-9dd940b6.js.br +0 -0
- package/dist/event-16449760.js.br +0 -0
- package/dist/index-bf17dd6e.cjs +0 -1
- package/dist/index-ddf58f34.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { k as Q, D as de, aE as
|
|
2
|
-
import { R as
|
|
3
|
-
import { A as
|
|
4
|
-
import { _ as It } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as
|
|
6
|
-
import { C as Ue, P as zo, a as
|
|
7
|
-
import { E as X } from "./_-
|
|
1
|
+
import { k as Q, D as de, aE as po, s as ee, c as Te, ab as gt, ac as me, m as x, n as M, W as yt, q as s, w, aa as Pe, A as v, F as V, K as ae, Y as Xe, aF as ho, v as I, a3 as W, a2 as R, x as D, aG as ve, a5 as _e, p as T, H as Z, J as ue, f as j, B as $e, P as vt, Q as _t, _ as te, r as se, o as Se, ag as Ze, ah as Be, aH as bt, aC as fo, a1 as xe, y as Ie, I as kt, l as et, T as re, aA as mo, b as go, N as yo, C as fe, a6 as vo, L as tt, G as F, M as _o, an as xt, aI as bo, U as ko, a8 as xo, R as Io, V as Eo, a9 as To } from "./SelectField.vue_vue_type_style_index_0_lang-6b27dec6.js";
|
|
2
|
+
import { R as $o, S as So, F as Co, _ as Vo, B as Po, a as Bo, M as Do, T as Lo, x as wo } from "./ThankYou-90871d9e.js";
|
|
3
|
+
import { A as Oo, H as Ho } from "./AvailabilitySkeleton-e38800f8.js";
|
|
4
|
+
import { _ as It } from "./NumberField.vue_vue_type_script_setup_true_lang-959c8429.js";
|
|
5
|
+
import { _ as Ao } from "./DateField.vue_vue_type_style_index_0_lang-5eb1cfc9.js";
|
|
6
|
+
import { C as Ue, P as zo, a as Mo, S as Ro } from "./index-1f2fa31e.js";
|
|
7
|
+
import { E as X } from "./_-c47e8eec.js";
|
|
8
8
|
import { c as Et, a as Tt } from "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
-
import "./ActionField-
|
|
10
|
-
import "./Field-
|
|
11
|
-
const
|
|
9
|
+
import "./ActionField-1fcb30ea.js";
|
|
10
|
+
import "./Field-eb8d429d.js";
|
|
11
|
+
const No = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
12
12
|
__name: "HotelReservationForm",
|
|
13
13
|
props: {
|
|
14
14
|
showGiftCard: { type: Boolean, default: !1 },
|
|
15
15
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
16
16
|
},
|
|
17
17
|
setup(n) {
|
|
18
|
-
const { t: e } = de(), t =
|
|
18
|
+
const { t: e } = de(), t = po(), {
|
|
19
19
|
hideArrivalDepartureInputs: o,
|
|
20
20
|
disableArrivalUserSelection: u,
|
|
21
21
|
disableDepartureUserSelection: r,
|
|
22
22
|
arrivalDefault: p,
|
|
23
|
-
departureDefault:
|
|
23
|
+
departureDefault: l,
|
|
24
24
|
currency: h
|
|
25
25
|
} = ee(Te()), {
|
|
26
26
|
arrivalDate: c,
|
|
@@ -36,32 +36,32 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
36
36
|
function d(y) {
|
|
37
37
|
return y.reduce((S, { totalPrice: L }) => S + L, 0);
|
|
38
38
|
}
|
|
39
|
-
return (y, E) => (x(), M(
|
|
40
|
-
"total-price":
|
|
39
|
+
return (y, E) => (x(), M($o, {
|
|
40
|
+
"total-price": s(b),
|
|
41
41
|
"show-gift-card": y.showGiftCard,
|
|
42
42
|
"show-terms-notice": y.showTermsNotice,
|
|
43
|
-
"is-sidebar-loading":
|
|
44
|
-
notice:
|
|
43
|
+
"is-sidebar-loading": s(f),
|
|
44
|
+
notice: s(e)("hotel.reservationNotice")
|
|
45
45
|
}, yt({
|
|
46
46
|
form: w(() => [
|
|
47
47
|
Pe(y.$slots, "form")
|
|
48
48
|
]),
|
|
49
49
|
"reservation-summary": w(() => [
|
|
50
50
|
v("li", null, [
|
|
51
|
-
v("span", null, V(
|
|
52
|
-
v("b", null, V(
|
|
51
|
+
v("span", null, V(s(e)("booking.reservation.arrival")), 1),
|
|
52
|
+
v("b", null, V(s(o) ? s(ae)(s(c)) : `${s(ae)(s(c))}, ${s(u) ? s(p) : s(g)}`), 1)
|
|
53
53
|
]),
|
|
54
54
|
v("li", null, [
|
|
55
|
-
v("span", null, V(
|
|
56
|
-
v("b", null, V(
|
|
55
|
+
v("span", null, V(s(e)("booking.reservation.departure")), 1),
|
|
56
|
+
v("b", null, V(s(o) ? s(ae)(s(m)) : `${s(ae)(s(m))}, ${s(r) ? s(l) : s(k)}`), 1)
|
|
57
57
|
]),
|
|
58
58
|
v("li", null, [
|
|
59
|
-
v("span", null, V(
|
|
60
|
-
v("b", null, V(
|
|
59
|
+
v("span", null, V(s(e)("booking.reservation.nights")), 1),
|
|
60
|
+
v("b", null, V(s(Xe)(s(c), s(m))) + " " + V(s(ho)(s(Xe)(s(c), s(m)) === 1 ? s(e)("booking.reservation.night") : s(e)("booking.reservation.nights"))), 1)
|
|
61
61
|
])
|
|
62
62
|
]),
|
|
63
63
|
"price-summary": w(() => [
|
|
64
|
-
isNaN(
|
|
64
|
+
isNaN(s(_)) && s(a).length > 0 ? (x(!0), I(R, { key: 0 }, W(s(a), ({
|
|
65
65
|
roomGroupID: S,
|
|
66
66
|
title: L,
|
|
67
67
|
variants: H
|
|
@@ -69,12 +69,12 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
69
69
|
v("h6", null, [
|
|
70
70
|
v("span", null, V(L), 1)
|
|
71
71
|
]),
|
|
72
|
-
(x(!0), I(R, null,
|
|
72
|
+
(x(!0), I(R, null, W(H, (C, B) => (x(), I("div", { key: B }, [
|
|
73
73
|
D("", !0),
|
|
74
|
-
(x(!0), I(R, null,
|
|
74
|
+
(x(!0), I(R, null, W(C.rooms, (O, q) => (x(), I("ul", { key: q }, [
|
|
75
75
|
v("li", null, [
|
|
76
76
|
v("span", null, [
|
|
77
|
-
v("span", null, V(
|
|
77
|
+
v("span", null, V(s(ve)(C.name)), 1),
|
|
78
78
|
v("span", null, [
|
|
79
79
|
_e("( "),
|
|
80
80
|
T(Z, {
|
|
@@ -96,13 +96,13 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
96
96
|
])
|
|
97
97
|
]),
|
|
98
98
|
v("b", null, [
|
|
99
|
-
v("span", null, V(
|
|
99
|
+
v("span", null, V(s(ue)(O.totalPrice, s(h))), 1),
|
|
100
100
|
D("", !0)
|
|
101
101
|
])
|
|
102
102
|
]),
|
|
103
|
-
d(O.roomAddons) > 0 ? (x(), I("li",
|
|
104
|
-
v("span", null, V(
|
|
105
|
-
v("b", null, V(
|
|
103
|
+
d(O.roomAddons) > 0 ? (x(), I("li", No, [
|
|
104
|
+
v("span", null, V(s(e)("booking.reservation.addons")), 1),
|
|
105
|
+
v("b", null, V(s(ue)(d(O.roomAddons), s(h))), 1)
|
|
106
106
|
])) : D("", !0)
|
|
107
107
|
]))), 128))
|
|
108
108
|
]))), 128))
|
|
@@ -113,7 +113,7 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
113
113
|
]),
|
|
114
114
|
_: 2
|
|
115
115
|
}, [
|
|
116
|
-
|
|
116
|
+
s(t).addons ? {
|
|
117
117
|
name: "addons",
|
|
118
118
|
fn: w(() => [
|
|
119
119
|
Pe(y.$slots, "addons")
|
|
@@ -122,7 +122,7 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
122
122
|
} : void 0
|
|
123
123
|
]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
124
124
|
}
|
|
125
|
-
}),
|
|
125
|
+
}), Wo = (n) => (vt("data-v-e18f4cd3"), n = n(), _t(), n), Uo = { key: 0 }, Fo = { class: "konnectio-selected-room-config" }, qo = { class: "konnectio-selected-room-config-people" }, Go = { key: 0 }, jo = { class: "konnectio-selected-room-config-price" }, Yo = /* @__PURE__ */ Wo(() => /* @__PURE__ */ v("span", null, null, -1)), Qo = /* @__PURE__ */ Q({
|
|
126
126
|
__name: "RoomConfigField",
|
|
127
127
|
props: {
|
|
128
128
|
modelValue: {},
|
|
@@ -137,13 +137,13 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
137
137
|
function p(h) {
|
|
138
138
|
u("update:modelValue", h);
|
|
139
139
|
}
|
|
140
|
-
const
|
|
140
|
+
const l = j({
|
|
141
141
|
get: () => r.modelValue,
|
|
142
142
|
set: (h) => p(h)
|
|
143
143
|
});
|
|
144
144
|
return (h, c) => (x(), M($e, {
|
|
145
|
-
modelValue:
|
|
146
|
-
"onUpdate:modelValue": c[0] || (c[0] = (m) =>
|
|
145
|
+
modelValue: l.value,
|
|
146
|
+
"onUpdate:modelValue": c[0] || (c[0] = (m) => l.value = m),
|
|
147
147
|
label: h.label,
|
|
148
148
|
placeholder: "Select guest configuration",
|
|
149
149
|
labelKey: "label",
|
|
@@ -163,7 +163,7 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
163
163
|
}),
|
|
164
164
|
v("span", null, V(`${m.adults}`), 1)
|
|
165
165
|
]),
|
|
166
|
-
m.children > 0 ? (x(), I("span",
|
|
166
|
+
m.children > 0 ? (x(), I("span", Uo, [
|
|
167
167
|
T(Z, {
|
|
168
168
|
icon: "child",
|
|
169
169
|
type: "fas",
|
|
@@ -171,23 +171,23 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
171
171
|
}),
|
|
172
172
|
v("span", null, V(`${m.children}`), 1)
|
|
173
173
|
])) : D("", !0),
|
|
174
|
-
v("span", null, V(`(${
|
|
174
|
+
v("span", null, V(`(${s(ue)(m.price, s(o))})`), 1)
|
|
175
175
|
]),
|
|
176
176
|
"selected-option": w(({ data: m }) => [
|
|
177
|
-
v("div",
|
|
178
|
-
v("div",
|
|
177
|
+
v("div", Fo, [
|
|
178
|
+
v("div", qo, [
|
|
179
179
|
v("div", null, [
|
|
180
180
|
D("", !0),
|
|
181
|
-
v("span", null, V(`${m.adults} ${m.adults === 1 ?
|
|
181
|
+
v("span", null, V(`${m.adults} ${m.adults === 1 ? s(t)("general.adult") : s(t)("general.adults")}`), 1)
|
|
182
182
|
]),
|
|
183
|
-
m.children > 0 ? (x(), I("div",
|
|
183
|
+
m.children > 0 ? (x(), I("div", Go, [
|
|
184
184
|
D("", !0),
|
|
185
|
-
v("span", null, V(`& ${m.children} ${m.children === 1 ?
|
|
185
|
+
v("span", null, V(`& ${m.children} ${m.children === 1 ? s(t)("general.child") : s(t)("general.children")}`), 1)
|
|
186
186
|
])) : D("", !0)
|
|
187
187
|
]),
|
|
188
|
-
v("div",
|
|
189
|
-
|
|
190
|
-
_e(" " + V(`(${
|
|
188
|
+
v("div", jo, [
|
|
189
|
+
Yo,
|
|
190
|
+
_e(" " + V(`(${s(ue)(m.price, s(o))})`), 1)
|
|
191
191
|
])
|
|
192
192
|
])
|
|
193
193
|
]),
|
|
@@ -195,17 +195,17 @@ const Ro = { key: 0 }, De = /* @__PURE__ */ Q({
|
|
|
195
195
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
196
196
|
}
|
|
197
197
|
});
|
|
198
|
-
const ot = /* @__PURE__ */ te(
|
|
198
|
+
const ot = /* @__PURE__ */ te(Qo, [["__scopeId", "data-v-e18f4cd3"]]), Ko = ["src"], Jo = /* @__PURE__ */ Q({
|
|
199
199
|
__name: "Gallery",
|
|
200
200
|
props: {
|
|
201
201
|
gallery: {}
|
|
202
202
|
},
|
|
203
203
|
setup(n) {
|
|
204
|
-
const e =
|
|
205
|
-
|
|
206
|
-
const t =
|
|
204
|
+
const e = se();
|
|
205
|
+
se();
|
|
206
|
+
const t = se();
|
|
207
207
|
return Se(() => {
|
|
208
|
-
t.value = [new
|
|
208
|
+
t.value = [new So({
|
|
209
209
|
type: "index",
|
|
210
210
|
synchronizedFlickingOptions: [
|
|
211
211
|
{
|
|
@@ -220,7 +220,7 @@ const ot = /* @__PURE__ */ te(Yo, [["__scopeId", "data-v-e18f4cd3"]]), Qo = ["sr
|
|
|
220
220
|
]
|
|
221
221
|
})];
|
|
222
222
|
}), (o, u) => (x(), I("div", null, [
|
|
223
|
-
o.gallery.length > 1 ? (x(), M(
|
|
223
|
+
o.gallery.length > 1 ? (x(), M(s(Co), {
|
|
224
224
|
ref_key: "slideshow",
|
|
225
225
|
ref: e,
|
|
226
226
|
key: o.gallery.length,
|
|
@@ -228,28 +228,28 @@ const ot = /* @__PURE__ */ te(Yo, [["__scopeId", "data-v-e18f4cd3"]]), Qo = ["sr
|
|
|
228
228
|
plugins: t.value
|
|
229
229
|
}, {
|
|
230
230
|
default: w(() => [
|
|
231
|
-
(x(!0), I(R, null,
|
|
232
|
-
key:
|
|
231
|
+
(x(!0), I(R, null, W(o.gallery, ({ medium: r, large: p }, l) => (x(), I("div", {
|
|
232
|
+
key: l,
|
|
233
233
|
class: "booking-availability-listing-featured-img"
|
|
234
234
|
}, [
|
|
235
|
-
v("img", { src: p }, null, 8,
|
|
235
|
+
v("img", { src: p }, null, 8, Ko)
|
|
236
236
|
]))), 128))
|
|
237
237
|
]),
|
|
238
238
|
_: 1
|
|
239
239
|
}, 8, ["plugins"])) : D("", !0)
|
|
240
240
|
]));
|
|
241
241
|
}
|
|
242
|
-
}),
|
|
242
|
+
}), Xo = {
|
|
243
243
|
key: 0,
|
|
244
244
|
class: "fresh-booking-modal-facilities"
|
|
245
|
-
},
|
|
245
|
+
}, Zo = {
|
|
246
246
|
class: "fresh-booking-modal-facilities-masonry",
|
|
247
247
|
"transition-duration": "0s",
|
|
248
248
|
"destroy-delay": 0,
|
|
249
249
|
"percent-position": !0,
|
|
250
250
|
"column-width": ".grid-sizer",
|
|
251
251
|
"item-selector": ".fresh-booking-modal-facility"
|
|
252
|
-
},
|
|
252
|
+
}, en = { class: "grid-sizer" }, tn = /* @__PURE__ */ Q({
|
|
253
253
|
__name: "Info",
|
|
254
254
|
props: {
|
|
255
255
|
title: {},
|
|
@@ -260,25 +260,25 @@ const ot = /* @__PURE__ */ te(Yo, [["__scopeId", "data-v-e18f4cd3"]]), Qo = ["sr
|
|
|
260
260
|
setup(n) {
|
|
261
261
|
return (e, t) => {
|
|
262
262
|
const o = Ze("masonry-tile"), u = Ze("masonry");
|
|
263
|
-
return x(), M(
|
|
263
|
+
return x(), M(Vo, {
|
|
264
264
|
title: e.title,
|
|
265
265
|
description: e.description
|
|
266
266
|
}, yt({
|
|
267
267
|
default: w(() => [
|
|
268
|
-
e.facilities && e.facilities.length !== 0 ? (x(), I("div",
|
|
269
|
-
Be((x(), I("ul",
|
|
270
|
-
Be(v("div",
|
|
268
|
+
e.facilities && e.facilities.length !== 0 ? (x(), I("div", Xo, [
|
|
269
|
+
Be((x(), I("ul", Zo, [
|
|
270
|
+
Be(v("div", en, null, 512), [
|
|
271
271
|
[o]
|
|
272
272
|
]),
|
|
273
|
-
(x(!0), I(R, null,
|
|
274
|
-
key:
|
|
273
|
+
(x(!0), I(R, null, W(e.facilities, ({ name: r, subFacilities: p }, l) => Be((x(), I("li", {
|
|
274
|
+
key: l,
|
|
275
275
|
class: "fresh-booking-modal-facility"
|
|
276
276
|
}, [
|
|
277
277
|
v("h6", null, [
|
|
278
278
|
v("span", null, V(r), 1)
|
|
279
279
|
]),
|
|
280
280
|
v("ul", null, [
|
|
281
|
-
(x(!0), I(R, null,
|
|
281
|
+
(x(!0), I(R, null, W(p, ({ name: h }, c) => (x(), I("li", { key: c }, V(h), 1))), 128))
|
|
282
282
|
])
|
|
283
283
|
])), [
|
|
284
284
|
[o]
|
|
@@ -294,7 +294,7 @@ const ot = /* @__PURE__ */ te(Yo, [["__scopeId", "data-v-e18f4cd3"]]), Qo = ["sr
|
|
|
294
294
|
name: "above-description",
|
|
295
295
|
fn: w(() => [
|
|
296
296
|
v("div", null, [
|
|
297
|
-
T(
|
|
297
|
+
T(Jo, { gallery: e.gallery }, null, 8, ["gallery"])
|
|
298
298
|
])
|
|
299
299
|
]),
|
|
300
300
|
key: "0"
|
|
@@ -303,15 +303,15 @@ const ot = /* @__PURE__ */ te(Yo, [["__scopeId", "data-v-e18f4cd3"]]), Qo = ["sr
|
|
|
303
303
|
};
|
|
304
304
|
}
|
|
305
305
|
});
|
|
306
|
-
const
|
|
307
|
-
const
|
|
306
|
+
const on = /* @__PURE__ */ te(tn, [["__scopeId", "data-v-f1ca1684"]]), nn = { class: "konnectio-availability-listing-selection" }, rn = { key: 1 }, an = { class: "fresh-booking-listing-config-body" }, sn = { class: "fresh-booking-listing-units-body" };
|
|
307
|
+
const ln = /* @__PURE__ */ Q({
|
|
308
308
|
__name: "Hotel",
|
|
309
309
|
props: {
|
|
310
310
|
room: {},
|
|
311
311
|
layout: {}
|
|
312
312
|
},
|
|
313
313
|
setup(n) {
|
|
314
|
-
const { t: e } = de(), t = n, o =
|
|
314
|
+
const { t: e } = de(), t = n, o = se([]);
|
|
315
315
|
function u(C) {
|
|
316
316
|
o.value[C].config.push({
|
|
317
317
|
id: NaN,
|
|
@@ -324,7 +324,7 @@ const sn = /* @__PURE__ */ Q({
|
|
|
324
324
|
value: C.id
|
|
325
325
|
}))), p = j(() => o.value.flatMap((C) => C.id));
|
|
326
326
|
j(() => r.value.filter((C) => !p.value.includes(C.value)));
|
|
327
|
-
const { hideAvailableRoomAmount:
|
|
327
|
+
const { hideAvailableRoomAmount: l, currency: h } = ee(Te()), { roomSelect: c } = ee(me()), { viewItem: m, addToCart: g, removeFromCart: k } = bt(), a = (C, B) => t.room.rates.find((O) => O.id === C)?.occupantRates.find((O) => O.index === B), _ = j(() => t.room.rates.reduce(
|
|
328
328
|
(C, B) => C < B.rackRate ? C : B.rackRate,
|
|
329
329
|
1 / 0
|
|
330
330
|
)), b = j(() => t.room.rates.every((C) => C.isBreakfastIncluded === !0)), f = (C, B) => a(C, B) ? a(C, B)?.rooms : null, i = (C) => t.room.rates.length > 0 ? t.room.rates.find((B) => B.id === C)?.occupantRates.map((B) => ({
|
|
@@ -333,8 +333,8 @@ const sn = /* @__PURE__ */ Q({
|
|
|
333
333
|
adults: B.adultsCount,
|
|
334
334
|
children: B.childrenCount,
|
|
335
335
|
hasBreakfast: B.hasBreakfast
|
|
336
|
-
})) || [] : [], d = j(() => t.room.rates.length > 1), { open: y, close: E } =
|
|
337
|
-
component:
|
|
336
|
+
})) || [] : [], d = j(() => t.room.rates.length > 1), { open: y, close: E } = fo({
|
|
337
|
+
component: on,
|
|
338
338
|
attrs: {
|
|
339
339
|
title: t.room.title,
|
|
340
340
|
description: t.room.description,
|
|
@@ -371,13 +371,13 @@ const sn = /* @__PURE__ */ Q({
|
|
|
371
371
|
const H = j(() => JSON.parse(JSON.stringify(o.value)));
|
|
372
372
|
return xe(H, (C, B) => {
|
|
373
373
|
B.length > 0 && C.forEach((O, q) => {
|
|
374
|
-
O.config.forEach((U,
|
|
375
|
-
const
|
|
376
|
-
|
|
374
|
+
O.config.forEach((U, A) => {
|
|
375
|
+
const ne = U.units, K = B[q].config[A].units;
|
|
376
|
+
ne !== K && (ne > K ? (o.value[q].config[A].addons.push({}), g({
|
|
377
377
|
id: t.room.id,
|
|
378
378
|
name: t.room.title,
|
|
379
379
|
value: 100
|
|
380
|
-
})) : (o.value[q].config[
|
|
380
|
+
})) : (o.value[q].config[A].addons.pop(), k({
|
|
381
381
|
id: t.room.id,
|
|
382
382
|
name: t.room.title,
|
|
383
383
|
value: 100
|
|
@@ -386,7 +386,7 @@ const sn = /* @__PURE__ */ Q({
|
|
|
386
386
|
});
|
|
387
387
|
}, { deep: !0 }), xe(o, () => {
|
|
388
388
|
c.value[t.room.id] = o.value;
|
|
389
|
-
}, { deep: !0 }), (C, B) => (x(), M(
|
|
389
|
+
}, { deep: !0 }), (C, B) => (x(), M(Po, {
|
|
390
390
|
"listing-id": C.room.id,
|
|
391
391
|
gallery: C.room.images,
|
|
392
392
|
name: C.room.title,
|
|
@@ -398,8 +398,8 @@ const sn = /* @__PURE__ */ Q({
|
|
|
398
398
|
callback: S
|
|
399
399
|
}, {
|
|
400
400
|
action: w(() => [
|
|
401
|
-
v("div",
|
|
402
|
-
(x(!0), I(R, null,
|
|
401
|
+
v("div", nn, [
|
|
402
|
+
(x(!0), I(R, null, W(o.value, (O, q) => (x(), I("div", {
|
|
403
403
|
key: O.id,
|
|
404
404
|
class: "freshbooking-hotel-room"
|
|
405
405
|
}, [
|
|
@@ -407,50 +407,50 @@ const sn = /* @__PURE__ */ Q({
|
|
|
407
407
|
key: 0,
|
|
408
408
|
modelValue: O.id,
|
|
409
409
|
"onUpdate:modelValue": (U) => O.id = U,
|
|
410
|
-
label:
|
|
411
|
-
placeholder:
|
|
410
|
+
label: s(e)("hotel.roomVariant"),
|
|
411
|
+
placeholder: s(e)("hotel.chooseARoomVariant"),
|
|
412
412
|
options: r.value,
|
|
413
413
|
searchable: !1
|
|
414
414
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : D("", !0),
|
|
415
|
-
O.id ? (x(), I("div",
|
|
416
|
-
(x(!0), I(R, null,
|
|
415
|
+
O.id ? (x(), I("div", rn, [
|
|
416
|
+
(x(!0), I(R, null, W(C.room.rates, ({
|
|
417
417
|
id: U
|
|
418
418
|
}) => (x(), I("div", { key: U }, [
|
|
419
|
-
O.id === U ? (x(!0), I(R, { key: 0 },
|
|
420
|
-
key:
|
|
419
|
+
O.id === U ? (x(!0), I(R, { key: 0 }, W(O.config, (A, ne) => (x(), I("div", {
|
|
420
|
+
key: ne,
|
|
421
421
|
class: "booking-availability-listing-action-selective"
|
|
422
422
|
}, [
|
|
423
|
-
v("ul",
|
|
423
|
+
v("ul", an, [
|
|
424
424
|
i(U).length > 1 ? (x(), M(ot, {
|
|
425
425
|
key: 0,
|
|
426
|
-
modelValue:
|
|
427
|
-
"onUpdate:modelValue": (K) =>
|
|
426
|
+
modelValue: A.id,
|
|
427
|
+
"onUpdate:modelValue": (K) => A.id = K,
|
|
428
428
|
icon: "male",
|
|
429
429
|
"icon-type": "fas",
|
|
430
|
-
label:
|
|
430
|
+
label: s(e)("general.guests"),
|
|
431
431
|
options: i(U)
|
|
432
432
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (x(), M(ot, {
|
|
433
433
|
key: 1,
|
|
434
|
-
modelValue:
|
|
435
|
-
"onUpdate:modelValue": (K) =>
|
|
434
|
+
modelValue: A.id,
|
|
435
|
+
"onUpdate:modelValue": (K) => A.id = K,
|
|
436
436
|
icon: "male",
|
|
437
437
|
"icon-type": "fas",
|
|
438
|
-
label:
|
|
438
|
+
label: s(e)("general.guests"),
|
|
439
439
|
options: i(U),
|
|
440
440
|
readonly: ""
|
|
441
441
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"]))
|
|
442
442
|
]),
|
|
443
|
-
v("ul",
|
|
443
|
+
v("ul", sn, [
|
|
444
444
|
T(It, {
|
|
445
|
-
modelValue:
|
|
446
|
-
"onUpdate:modelValue": (K) =>
|
|
447
|
-
description: l
|
|
445
|
+
modelValue: A.units,
|
|
446
|
+
"onUpdate:modelValue": (K) => A.units = K,
|
|
447
|
+
description: s(l) ? void 0 : `${s(e)("booking.availability.availableUnits")}: ${f(O.id, A.id)}`,
|
|
448
448
|
icon: "house",
|
|
449
449
|
"icon-type": "fas",
|
|
450
450
|
"icon-placement": "label",
|
|
451
|
-
label:
|
|
451
|
+
label: s(e)("booking.availability.units"),
|
|
452
452
|
minValue: 0,
|
|
453
|
-
"max-value": f(U,
|
|
453
|
+
"max-value": f(U, A.id) || 1 / 0
|
|
454
454
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
455
455
|
]),
|
|
456
456
|
D("", !0)
|
|
@@ -464,7 +464,7 @@ const sn = /* @__PURE__ */ Q({
|
|
|
464
464
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
465
465
|
}
|
|
466
466
|
});
|
|
467
|
-
const
|
|
467
|
+
const un = /* @__PURE__ */ te(ln, [["__scopeId", "data-v-65a22e18"]]), nt = /* @__PURE__ */ Q({
|
|
468
468
|
__name: "TimeField",
|
|
469
469
|
props: {
|
|
470
470
|
modelValue: {},
|
|
@@ -493,12 +493,12 @@ const ln = /* @__PURE__ */ te(sn, [["__scopeId", "data-v-65a22e18"]]), nt = /* @
|
|
|
493
493
|
function u(p) {
|
|
494
494
|
t("update:modelValue", p);
|
|
495
495
|
}
|
|
496
|
-
const r =
|
|
496
|
+
const r = se(o.modelValue);
|
|
497
497
|
return xe(r, (p) => {
|
|
498
498
|
u(p);
|
|
499
|
-
}), (p,
|
|
499
|
+
}), (p, l) => (x(), M(Ao, {
|
|
500
500
|
modelValue: r.value,
|
|
501
|
-
"onUpdate:modelValue":
|
|
501
|
+
"onUpdate:modelValue": l[0] || (l[0] = (h) => r.value = h),
|
|
502
502
|
type: "time",
|
|
503
503
|
label: p.label,
|
|
504
504
|
id: p.id,
|
|
@@ -512,7 +512,7 @@ const ln = /* @__PURE__ */ te(sn, [["__scopeId", "data-v-65a22e18"]]), nt = /* @
|
|
|
512
512
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
513
513
|
}
|
|
514
514
|
});
|
|
515
|
-
const
|
|
515
|
+
const dn = { style: { display: "flex", "align-items": "baseline" } }, cn = /* @__PURE__ */ Q({
|
|
516
516
|
__name: "CountryField",
|
|
517
517
|
props: {
|
|
518
518
|
modelValue: {},
|
|
@@ -525,22 +525,22 @@ const un = { style: { display: "flex", "align-items": "baseline" } }, dn = /* @_
|
|
|
525
525
|
emits: ["update:modelValue"],
|
|
526
526
|
setup(n, { emit: e }) {
|
|
527
527
|
const { t } = de(), o = e, u = n;
|
|
528
|
-
function r(
|
|
529
|
-
o("update:modelValue",
|
|
528
|
+
function r(l) {
|
|
529
|
+
o("update:modelValue", l);
|
|
530
530
|
}
|
|
531
531
|
const p = j({
|
|
532
532
|
get: () => u.modelValue,
|
|
533
|
-
set: (
|
|
533
|
+
set: (l) => r(l)
|
|
534
534
|
});
|
|
535
|
-
return (
|
|
535
|
+
return (l, h) => (x(), M($e, {
|
|
536
536
|
modelValue: p.value,
|
|
537
537
|
"onUpdate:modelValue": h[0] || (h[0] = (c) => p.value = c),
|
|
538
|
-
label:
|
|
539
|
-
placeholder:
|
|
538
|
+
label: l.label,
|
|
539
|
+
placeholder: s(t)("booking.reservation.countryPlaceholder"),
|
|
540
540
|
labelKey: "name",
|
|
541
541
|
valueKey: "id",
|
|
542
|
-
options:
|
|
543
|
-
required:
|
|
542
|
+
options: l.options,
|
|
543
|
+
required: l.required
|
|
544
544
|
}, {
|
|
545
545
|
option: w(({ data: c }) => [
|
|
546
546
|
v("i", {
|
|
@@ -549,7 +549,7 @@ const un = { style: { display: "flex", "align-items": "baseline" } }, dn = /* @_
|
|
|
549
549
|
v("span", null, V(c.name), 1)
|
|
550
550
|
]),
|
|
551
551
|
"selected-option": w(({ data: c }) => [
|
|
552
|
-
v("div",
|
|
552
|
+
v("div", dn, [
|
|
553
553
|
v("i", {
|
|
554
554
|
class: Ie(["konnectio-flag-icon", c.iso])
|
|
555
555
|
}, null, 2),
|
|
@@ -560,7 +560,7 @@ const un = { style: { display: "flex", "align-items": "baseline" } }, dn = /* @_
|
|
|
560
560
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
561
561
|
}
|
|
562
562
|
});
|
|
563
|
-
const
|
|
563
|
+
const pn = /* @__PURE__ */ te(cn, [["__scopeId", "data-v-1462612d"]]), hn = { class: "konnectio-radio-checkboxes" }, fn = /* @__PURE__ */ Q({
|
|
564
564
|
__name: "CheckboxField",
|
|
565
565
|
props: {
|
|
566
566
|
modelValue: {},
|
|
@@ -578,16 +578,16 @@ const cn = /* @__PURE__ */ te(dn, [["__scopeId", "data-v-1462612d"]]), pn = { cl
|
|
|
578
578
|
get: () => o.modelValue,
|
|
579
579
|
set: (p) => u(p)
|
|
580
580
|
});
|
|
581
|
-
return (p,
|
|
581
|
+
return (p, l) => (x(), M(kt, {
|
|
582
582
|
label: p.label,
|
|
583
583
|
type: "multi-radio"
|
|
584
584
|
}, {
|
|
585
585
|
default: w(() => [
|
|
586
|
-
v("ul",
|
|
587
|
-
(x(!0), I(R, null,
|
|
586
|
+
v("ul", hn, [
|
|
587
|
+
(x(!0), I(R, null, W(p.checkboxes, ({ label: h, value: c }, m) => (x(), I("li", { key: m }, [
|
|
588
588
|
T(Ue, {
|
|
589
589
|
modelValue: r.value,
|
|
590
|
-
"onUpdate:modelValue":
|
|
590
|
+
"onUpdate:modelValue": l[0] || (l[0] = (g) => r.value = g),
|
|
591
591
|
label: h,
|
|
592
592
|
name: p.name,
|
|
593
593
|
type: "radio",
|
|
@@ -600,7 +600,7 @@ const cn = /* @__PURE__ */ te(dn, [["__scopeId", "data-v-1462612d"]]), pn = { cl
|
|
|
600
600
|
}, 8, ["label"]));
|
|
601
601
|
}
|
|
602
602
|
});
|
|
603
|
-
const
|
|
603
|
+
const mn = /* @__PURE__ */ te(fn, [["__scopeId", "data-v-fc900ad2"]]), gn = /* @__PURE__ */ Q({
|
|
604
604
|
__name: "NameField",
|
|
605
605
|
props: {
|
|
606
606
|
modelValue: {},
|
|
@@ -622,8 +622,8 @@ const fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-fc900ad2"]]), mn = /* @
|
|
|
622
622
|
},
|
|
623
623
|
emits: ["update:modelValue", "update:title"],
|
|
624
624
|
setup(n, { emit: e }) {
|
|
625
|
-
const t = n, o = e, u = t.id || et(), r =
|
|
626
|
-
function
|
|
625
|
+
const t = n, o = e, u = t.id || et(), r = se(""), p = se(2);
|
|
626
|
+
function l() {
|
|
627
627
|
o("update:modelValue", r.value);
|
|
628
628
|
}
|
|
629
629
|
xe(p, (c) => {
|
|
@@ -634,7 +634,7 @@ const fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-fc900ad2"]]), mn = /* @
|
|
|
634
634
|
t.modelValue && (r.value = t.modelValue), t.title && (p.value = t.title);
|
|
635
635
|
}), (c, m) => (x(), M(kt, {
|
|
636
636
|
label: c.label,
|
|
637
|
-
id:
|
|
637
|
+
id: s(u),
|
|
638
638
|
required: c.required,
|
|
639
639
|
type: "fresh-booking-name-field",
|
|
640
640
|
readonly: c.readonly,
|
|
@@ -651,29 +651,29 @@ const fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-fc900ad2"]]), mn = /* @
|
|
|
651
651
|
key: 0,
|
|
652
652
|
modelValue: p.value,
|
|
653
653
|
"onUpdate:modelValue": m[0] || (m[0] = (g) => p.value = g),
|
|
654
|
-
id:
|
|
654
|
+
id: s(et)(),
|
|
655
655
|
icon: c.icon,
|
|
656
656
|
"icon-color": c.iconColor,
|
|
657
657
|
"icon-type": c.iconType,
|
|
658
658
|
options: [
|
|
659
659
|
{
|
|
660
|
-
label:
|
|
660
|
+
label: s(h)("booking.reservation.noNameTitle"),
|
|
661
661
|
value: 1
|
|
662
662
|
},
|
|
663
663
|
{
|
|
664
|
-
label:
|
|
664
|
+
label: s(h)("booking.reservation.nameTitleMr"),
|
|
665
665
|
value: 2
|
|
666
666
|
},
|
|
667
667
|
{
|
|
668
|
-
label:
|
|
668
|
+
label: s(h)("booking.reservation.nameTitleMs"),
|
|
669
669
|
value: 3
|
|
670
670
|
},
|
|
671
671
|
{
|
|
672
|
-
label:
|
|
672
|
+
label: s(h)("booking.reservation.nameTitleMrs"),
|
|
673
673
|
value: 4
|
|
674
674
|
},
|
|
675
675
|
{
|
|
676
|
-
label:
|
|
676
|
+
label: s(h)("booking.reservation.nameTitleDr"),
|
|
677
677
|
value: 5
|
|
678
678
|
}
|
|
679
679
|
],
|
|
@@ -682,13 +682,13 @@ const fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-fc900ad2"]]), mn = /* @
|
|
|
682
682
|
"input-style": c.inputStyle,
|
|
683
683
|
searchable: !1
|
|
684
684
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
685
|
-
T(
|
|
685
|
+
T(re, {
|
|
686
686
|
modelValue: r.value,
|
|
687
687
|
"onUpdate:modelValue": m[1] || (m[1] = (g) => r.value = g),
|
|
688
688
|
type: "text",
|
|
689
689
|
name: "name",
|
|
690
690
|
autocomplete: "name",
|
|
691
|
-
id:
|
|
691
|
+
id: s(u),
|
|
692
692
|
icon: c.excludeTitle ? c.icon : void 0,
|
|
693
693
|
"icon-color": c.iconColor,
|
|
694
694
|
"icon-type": c.iconType,
|
|
@@ -696,7 +696,7 @@ const fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-fc900ad2"]]), mn = /* @
|
|
|
696
696
|
required: c.required,
|
|
697
697
|
readonly: c.readonly,
|
|
698
698
|
limit: c.limit,
|
|
699
|
-
onInput: m[2] || (m[2] = (g) =>
|
|
699
|
+
onInput: m[2] || (m[2] = (g) => l()),
|
|
700
700
|
"input-style": c.inputStyle
|
|
701
701
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
702
702
|
], 2)
|
|
@@ -705,26 +705,26 @@ const fn = /* @__PURE__ */ te(hn, [["__scopeId", "data-v-fc900ad2"]]), mn = /* @
|
|
|
705
705
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
706
706
|
}
|
|
707
707
|
});
|
|
708
|
-
const
|
|
708
|
+
const yn = /* @__PURE__ */ te(gn, [["__scopeId", "data-v-78b0b319"]]), vn = { class: "hotel-listing" }, _n = { class: "hotel-listing-content-gallery" }, bn = { class: "hotel-listing-content-thumbs" }, kn = { class: "hotel-listing-content" }, xn = { class: "hotel-listing-content-header" }, In = { class: "hotel-listing-content-title" }, En = { class: "hotel-listing-content-body" }, Tn = { class: "hotel-listing-content-facilities" }, $n = /* @__PURE__ */ Q({
|
|
709
709
|
__name: "Listing",
|
|
710
710
|
setup(n) {
|
|
711
|
-
return (e, t) => (x(), I("div",
|
|
712
|
-
v("div",
|
|
711
|
+
return (e, t) => (x(), I("div", vn, [
|
|
712
|
+
v("div", _n, [
|
|
713
713
|
T(X, {
|
|
714
714
|
width: "280px",
|
|
715
715
|
height: "153px"
|
|
716
716
|
}),
|
|
717
|
-
v("div",
|
|
718
|
-
(x(), I(R, null,
|
|
717
|
+
v("div", bn, [
|
|
718
|
+
(x(), I(R, null, W(3, (o) => T(X, {
|
|
719
719
|
key: o,
|
|
720
720
|
width: "84px",
|
|
721
721
|
height: "44px"
|
|
722
722
|
})), 64))
|
|
723
723
|
])
|
|
724
724
|
]),
|
|
725
|
-
v("div",
|
|
726
|
-
v("div",
|
|
727
|
-
v("div",
|
|
725
|
+
v("div", kn, [
|
|
726
|
+
v("div", xn, [
|
|
727
|
+
v("div", In, [
|
|
728
728
|
T(X, {
|
|
729
729
|
height: "30px",
|
|
730
730
|
width: "60%"
|
|
@@ -740,7 +740,7 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { cl
|
|
|
740
740
|
width: "25%"
|
|
741
741
|
})
|
|
742
742
|
]),
|
|
743
|
-
v("div",
|
|
743
|
+
v("div", En, [
|
|
744
744
|
T(X, { height: "15px" }),
|
|
745
745
|
T(X, { height: "15px" }),
|
|
746
746
|
T(X, { height: "15px" }),
|
|
@@ -750,8 +750,8 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { cl
|
|
|
750
750
|
width: "90%"
|
|
751
751
|
})
|
|
752
752
|
]),
|
|
753
|
-
v("div",
|
|
754
|
-
(x(), I(R, null,
|
|
753
|
+
v("div", Tn, [
|
|
754
|
+
(x(), I(R, null, W(5, (o) => T(X, {
|
|
755
755
|
key: o,
|
|
756
756
|
height: "25px",
|
|
757
757
|
width: "25px",
|
|
@@ -762,50 +762,50 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-78b0b319"]]), yn = { cl
|
|
|
762
762
|
]));
|
|
763
763
|
}
|
|
764
764
|
});
|
|
765
|
-
const le = /* @__PURE__ */ te(
|
|
765
|
+
const le = /* @__PURE__ */ te($n, [["__scopeId", "data-v-5c132d7f"]]), Sn = { class: "hotel-skeleton" }, Cn = { class: "hotel-skeleton-content" }, Vn = { class: "hotel-skeleton-sidebar" }, Pn = /* @__PURE__ */ Q({
|
|
766
766
|
__name: "HotelSkeleton",
|
|
767
767
|
setup(n) {
|
|
768
|
-
return (e, t) => (x(), I("div",
|
|
769
|
-
v("div",
|
|
770
|
-
T(
|
|
768
|
+
return (e, t) => (x(), I("div", Sn, [
|
|
769
|
+
v("div", Cn, [
|
|
770
|
+
T(Oo),
|
|
771
771
|
T(le),
|
|
772
772
|
T(le),
|
|
773
773
|
T(le)
|
|
774
774
|
]),
|
|
775
|
-
v("div",
|
|
776
|
-
T(
|
|
775
|
+
v("div", Vn, [
|
|
776
|
+
T(Bo)
|
|
777
777
|
])
|
|
778
778
|
]));
|
|
779
779
|
}
|
|
780
780
|
});
|
|
781
|
-
const
|
|
782
|
-
const
|
|
781
|
+
const Bn = /* @__PURE__ */ te(Pn, [["__scopeId", "data-v-4e50a5a1"]]), Dn = (n) => (vt("data-v-8ac5995b"), n = n(), _t(), n), Ln = { id: "booking-availability-container" }, wn = { id: "booking-availability-controls" };
|
|
782
|
+
const On = {
|
|
783
783
|
key: 1,
|
|
784
784
|
"sticky-container": ""
|
|
785
|
-
},
|
|
786
|
-
const
|
|
785
|
+
}, Hn = { key: 0 };
|
|
786
|
+
const An = { key: 1 }, zn = { key: 0 }, Mn = { key: 0 }, Rn = { id: "booking-availability-listings" }, Nn = {
|
|
787
787
|
key: 1,
|
|
788
788
|
id: "booking-availability-no-listings"
|
|
789
|
-
},
|
|
789
|
+
}, Wn = {
|
|
790
790
|
key: 1,
|
|
791
791
|
id: "booking-availability-no-listings"
|
|
792
|
-
},
|
|
792
|
+
}, Un = {
|
|
793
793
|
key: 2,
|
|
794
794
|
id: "reservation-availability-next-dates"
|
|
795
|
-
},
|
|
796
|
-
const
|
|
795
|
+
}, Fn = { class: "reservation-special-offers-grid" }, qn = ["title"];
|
|
796
|
+
const Gn = {
|
|
797
797
|
key: 2,
|
|
798
798
|
class: "konnectio-listing-loading"
|
|
799
|
-
},
|
|
799
|
+
}, jn = { class: "fresh-booking-panel" }, Yn = {
|
|
800
800
|
key: 0,
|
|
801
801
|
id: "konnectio-hotel-addons"
|
|
802
|
-
},
|
|
803
|
-
const
|
|
802
|
+
}, Qn = { key: 1 }, Kn = /* @__PURE__ */ Dn(() => /* @__PURE__ */ v("br", null, null, -1));
|
|
803
|
+
const Jn = ["onClick"], Xn = { class: "fresh-booking-panel" }, Zn = { key: 0 }, ei = { key: 1 }, ti = { class: "fresh-booking-split-inputs" }, oi = ["onClick"], ni = /* @__PURE__ */ Q({
|
|
804
804
|
name: "HotelLayout",
|
|
805
805
|
__name: "Hotel",
|
|
806
806
|
props: {
|
|
807
807
|
accessToken: {},
|
|
808
|
-
headerLayout: { default:
|
|
808
|
+
headerLayout: { default: mo.Minimal },
|
|
809
809
|
styling: {}
|
|
810
810
|
},
|
|
811
811
|
setup(n) {
|
|
@@ -815,7 +815,7 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
815
815
|
countries: u,
|
|
816
816
|
areListingsLoading: r,
|
|
817
817
|
isAvailabilityDataAvailable: p,
|
|
818
|
-
isPaymentLoading:
|
|
818
|
+
isPaymentLoading: l,
|
|
819
819
|
isReservationFormFilled: h,
|
|
820
820
|
selectedPackage: c,
|
|
821
821
|
travelingFor: m,
|
|
@@ -838,143 +838,144 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
838
838
|
hasValidRoomSelection: q,
|
|
839
839
|
//canStartReservation,
|
|
840
840
|
getSelectedPackageRoom: U,
|
|
841
|
-
availabilityData:
|
|
841
|
+
availabilityData: A,
|
|
842
|
+
selectionHasNoAddons: ne
|
|
842
843
|
} = ee(me()), {
|
|
843
|
-
arrivalDate:
|
|
844
|
-
departureDate:
|
|
844
|
+
arrivalDate: K,
|
|
845
|
+
departureDate: wt
|
|
845
846
|
} = ee(gt()), {
|
|
846
847
|
currency: Qe,
|
|
847
|
-
isRecaptchaEnabled:
|
|
848
|
-
disableNewsletterSignup:
|
|
849
|
-
arrivalEarliest:
|
|
850
|
-
arrivalLatest:
|
|
848
|
+
isRecaptchaEnabled: rr,
|
|
849
|
+
disableNewsletterSignup: Ot,
|
|
850
|
+
arrivalEarliest: Ht,
|
|
851
|
+
arrivalLatest: At,
|
|
851
852
|
departureEarliest: zt,
|
|
852
|
-
departureLatest:
|
|
853
|
-
enableTracking:
|
|
854
|
-
arrivalDefault:
|
|
855
|
-
departureDefault:
|
|
856
|
-
enablePackages:
|
|
857
|
-
hideArrivalDepartureInputs:
|
|
853
|
+
departureLatest: Mt,
|
|
854
|
+
enableTracking: Rt,
|
|
855
|
+
arrivalDefault: Nt,
|
|
856
|
+
departureDefault: Wt,
|
|
857
|
+
enablePackages: ar,
|
|
858
|
+
hideArrivalDepartureInputs: Ut,
|
|
858
859
|
disableArrivalUserSelection: Ce,
|
|
859
|
-
disableNamePrefix:
|
|
860
|
+
disableNamePrefix: Ft,
|
|
860
861
|
disableDepartureUserSelection: Ve,
|
|
861
|
-
disableTravelingFor:
|
|
862
|
-
disableCompanyField:
|
|
863
|
-
hasPaymentGateway:
|
|
862
|
+
disableTravelingFor: qt,
|
|
863
|
+
disableCompanyField: Gt,
|
|
864
|
+
hasPaymentGateway: jt
|
|
864
865
|
} = ee(Te());
|
|
865
|
-
|
|
866
|
-
const { beginCheckout:
|
|
867
|
-
initialize:
|
|
868
|
-
createReservation:
|
|
869
|
-
getSingleListing:
|
|
870
|
-
} = me(),
|
|
871
|
-
const
|
|
872
|
-
|
|
866
|
+
go();
|
|
867
|
+
const { beginCheckout: Yt } = bt(), {
|
|
868
|
+
initialize: Qt,
|
|
869
|
+
createReservation: Kt,
|
|
870
|
+
getSingleListing: sr
|
|
871
|
+
} = me(), Jt = se(!0), Xt = j(() => {
|
|
872
|
+
const N = A.value.roomGroups.slice();
|
|
873
|
+
N.forEach((J) => {
|
|
873
874
|
J.pricesFrom = J.rates.reduce(
|
|
874
|
-
(
|
|
875
|
+
(z, $) => z < $.rackRate ? z : $.rackRate,
|
|
875
876
|
1 / 0
|
|
876
877
|
);
|
|
877
878
|
});
|
|
878
|
-
function P(J,
|
|
879
|
-
return
|
|
879
|
+
function P(J, z) {
|
|
880
|
+
return Jt.value === !0 ? J.pricesFrom > z.pricesFrom ? -1 : 1 : J.pricesFrom > z.pricesFrom ? 1 : -1;
|
|
880
881
|
}
|
|
881
|
-
return
|
|
882
|
-
}),
|
|
883
|
-
parseInt(
|
|
884
|
-
parseInt(Ht.value.split(":")[0])
|
|
885
|
-
]]), Zt = j(() => [[
|
|
886
|
-
parseInt(zt.value.split(":")[0]),
|
|
882
|
+
return N.sort(P);
|
|
883
|
+
}), Zt = j(() => [[
|
|
884
|
+
parseInt(Ht.value.split(":")[0]),
|
|
887
885
|
parseInt(At.value.split(":")[0])
|
|
886
|
+
]]), eo = j(() => [[
|
|
887
|
+
parseInt(zt.value.split(":")[0]),
|
|
888
|
+
parseInt(Mt.value.split(":")[0])
|
|
888
889
|
]]);
|
|
889
|
-
function
|
|
890
|
-
t.value =
|
|
890
|
+
function lr(N) {
|
|
891
|
+
t.value = N;
|
|
891
892
|
}
|
|
892
|
-
function
|
|
893
|
+
function to() {
|
|
893
894
|
t.value = NaN;
|
|
894
895
|
}
|
|
895
|
-
function Ke(
|
|
896
|
-
|
|
896
|
+
function Ke(N) {
|
|
897
|
+
ne.value ? N(2) : N();
|
|
897
898
|
}
|
|
898
|
-
function
|
|
899
|
-
|
|
899
|
+
function oo(N, P) {
|
|
900
|
+
wt.value = new Date(P), K.value = new Date(N), location.reload();
|
|
900
901
|
}
|
|
901
|
-
async function
|
|
902
|
-
await
|
|
902
|
+
async function no(N) {
|
|
903
|
+
await Kt(N);
|
|
903
904
|
}
|
|
904
|
-
function
|
|
905
|
-
|
|
905
|
+
function io(N) {
|
|
906
|
+
Rt && Yt(), ne.value ? N(2) : N();
|
|
906
907
|
}
|
|
907
|
-
function
|
|
908
|
-
g.value === "" && (g.value =
|
|
908
|
+
function ro() {
|
|
909
|
+
g.value === "" && (g.value = Nt.value), k.value === "" && (k.value = Wt.value);
|
|
909
910
|
}
|
|
910
911
|
return Se(() => {
|
|
911
|
-
|
|
912
|
-
}), (
|
|
912
|
+
Qt(), ro();
|
|
913
|
+
}), (N, P) => (x(), M(yo, null, {
|
|
913
914
|
default: w(() => [
|
|
914
|
-
T(
|
|
915
|
+
T(_o, {
|
|
915
916
|
id: "fresh-booking-hotel-module",
|
|
916
|
-
"access-token":
|
|
917
|
+
"access-token": N.accessToken,
|
|
917
918
|
type: "hotel",
|
|
918
|
-
styling:
|
|
919
|
+
styling: N.styling
|
|
919
920
|
}, {
|
|
920
921
|
default: w(() => [
|
|
921
|
-
T(
|
|
922
|
-
title:
|
|
923
|
-
layout:
|
|
922
|
+
T(Do, {
|
|
923
|
+
title: s(o),
|
|
924
|
+
layout: N.headerLayout
|
|
924
925
|
}, {
|
|
925
926
|
availability: w(({ next: J }) => [
|
|
926
927
|
T(De, null, {
|
|
927
928
|
form: w(() => [
|
|
928
|
-
v("div",
|
|
929
|
-
v("div",
|
|
930
|
-
T(
|
|
929
|
+
v("div", Ln, [
|
|
930
|
+
v("div", wn, [
|
|
931
|
+
T(Ho, { booking: !0 })
|
|
931
932
|
]),
|
|
932
933
|
D("", !0),
|
|
933
|
-
|
|
934
|
+
s(r) ? (x(), I("div", Gn, [
|
|
934
935
|
T(le),
|
|
935
936
|
T(le),
|
|
936
937
|
T(le)
|
|
937
|
-
])) : (x(), I("div",
|
|
938
|
-
|
|
939
|
-
(
|
|
940
|
-
isNaN(
|
|
941
|
-
|
|
942
|
-
|
|
938
|
+
])) : (x(), I("div", On, [
|
|
939
|
+
s(A).roomGroups.length > 0 ? (x(), I("div", Hn, [
|
|
940
|
+
(s(A).templates.length > 0, D("", !0)),
|
|
941
|
+
isNaN(s(t)) ? (x(), I("div", An, [
|
|
942
|
+
s(A).roomGroups.length > 0 ? (x(), I("div", zn, [
|
|
943
|
+
s(A).templates.length > 0 ? (x(), I("h2", Mn, [
|
|
943
944
|
T(Z, {
|
|
944
945
|
icon: "house",
|
|
945
946
|
type: "fal",
|
|
946
947
|
color: "header"
|
|
947
948
|
}),
|
|
948
|
-
v("span", null, V(
|
|
949
|
+
v("span", null, V(s(e)("booking.availability.roomsTitle")), 1)
|
|
949
950
|
])) : D("", !0),
|
|
950
|
-
v("ul",
|
|
951
|
-
(x(!0), I(R, null,
|
|
952
|
-
room:
|
|
951
|
+
v("ul", Rn, [
|
|
952
|
+
(x(!0), I(R, null, W(Xt.value, (z, $) => (x(), M(un, {
|
|
953
|
+
room: z,
|
|
953
954
|
key: $
|
|
954
955
|
}, null, 8, ["room"]))), 128))
|
|
955
956
|
])
|
|
956
|
-
])) : (x(), I("div",
|
|
957
|
-
v("span", null, V(
|
|
957
|
+
])) : (x(), I("div", Nn, [
|
|
958
|
+
v("span", null, V(s(e)("booking.availability.nothingAvailable")), 1)
|
|
958
959
|
]))
|
|
959
960
|
])) : D("", !0)
|
|
960
|
-
])) :
|
|
961
|
-
v("span", null, V(
|
|
962
|
-
])) : (x(), I("div",
|
|
961
|
+
])) : s(A).nextAvailableDates.length === 0 ? (x(), I("div", Wn, [
|
|
962
|
+
v("span", null, V(s(e)("booking.availability.nothingAvailable")), 1)
|
|
963
|
+
])) : (x(), I("div", Un, [
|
|
963
964
|
v("h2", null, [
|
|
964
965
|
T(Z, {
|
|
965
966
|
icon: "calendar-circle-exclamation",
|
|
966
967
|
type: "fal",
|
|
967
968
|
color: "header"
|
|
968
969
|
}),
|
|
969
|
-
v("span", null, V(
|
|
970
|
+
v("span", null, V(s(e)("booking.availability.nextAvailableDates")), 1)
|
|
970
971
|
]),
|
|
971
|
-
v("ul",
|
|
972
|
-
(x(!0), I(R, null,
|
|
972
|
+
v("ul", Fn, [
|
|
973
|
+
(x(!0), I(R, null, W(s(A).nextAvailableDates, (z, $) => (x(), I("li", { key: $ }, [
|
|
973
974
|
v("h3", {
|
|
974
|
-
title: `${
|
|
975
|
+
title: `${s(ae)(z.fromDate)} - ${s(ae)(z.toDate)}`
|
|
975
976
|
}, [
|
|
976
|
-
v("span", null, V(`${
|
|
977
|
-
], 8,
|
|
977
|
+
v("span", null, V(`${s(ae)(z.fromDate)} - ${s(ae)(z.toDate)}`), 1)
|
|
978
|
+
], 8, qn),
|
|
978
979
|
v("ul", null, [
|
|
979
980
|
D("", !0),
|
|
980
981
|
v("li", null, [
|
|
@@ -983,13 +984,13 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
983
984
|
type: "fal",
|
|
984
985
|
color: "header"
|
|
985
986
|
}),
|
|
986
|
-
v("span", null, V(
|
|
987
|
+
v("span", null, V(s(e)("booking.availability.pricesFrom")) + ": " + V(s(ue)(z.priceStartFrom, s(Qe))), 1)
|
|
987
988
|
])
|
|
988
989
|
]),
|
|
989
990
|
T(fe, {
|
|
990
|
-
label:
|
|
991
|
+
label: s(e)("booking.availability.selectDates"),
|
|
991
992
|
"full-width": "",
|
|
992
|
-
onClickEvent: (ce) =>
|
|
993
|
+
onClickEvent: (ce) => oo(z.fromDate, z.toDate)
|
|
993
994
|
}, null, 8, ["label", "onClickEvent"])
|
|
994
995
|
]))), 128))
|
|
995
996
|
])
|
|
@@ -998,49 +999,49 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
998
999
|
])
|
|
999
1000
|
]),
|
|
1000
1001
|
navigation: w(() => [
|
|
1001
|
-
isNaN(
|
|
1002
|
+
isNaN(s(t)) ? (x(), M(fe, {
|
|
1002
1003
|
key: 0,
|
|
1003
|
-
label:
|
|
1004
|
-
disabled: !
|
|
1004
|
+
label: s(ne) ? s(e)("booking.availability.nextButton") : s(e)("general.chooseAddons"),
|
|
1005
|
+
disabled: !s(q),
|
|
1005
1006
|
"is-loading": !1,
|
|
1006
1007
|
"full-width": "",
|
|
1007
|
-
onClickEvent: (
|
|
1008
|
+
onClickEvent: (z) => io(J)
|
|
1008
1009
|
}, null, 8, ["label", "disabled", "onClickEvent"])) : (x(), M(fe, {
|
|
1009
1010
|
key: 1,
|
|
1010
|
-
label:
|
|
1011
|
+
label: s(e)("booking.reservation.prevButton"),
|
|
1011
1012
|
"full-width": "",
|
|
1012
|
-
onClickEvent: P[1] || (P[1] = (
|
|
1013
|
+
onClickEvent: P[1] || (P[1] = (z) => to())
|
|
1013
1014
|
}, null, 8, ["label"]))
|
|
1014
1015
|
]),
|
|
1015
1016
|
_: 2
|
|
1016
1017
|
}, 1024)
|
|
1017
1018
|
]),
|
|
1018
|
-
addons: w(({ next: J, prev:
|
|
1019
|
+
addons: w(({ next: J, prev: z }) => [
|
|
1019
1020
|
T(De, null, {
|
|
1020
1021
|
form: w(() => [
|
|
1021
|
-
v("form",
|
|
1022
|
+
v("form", jn, [
|
|
1022
1023
|
v("h2", null, [
|
|
1023
|
-
v("span", null, V(
|
|
1024
|
+
v("span", null, V(s(e)("booking.reservation.addons")), 1)
|
|
1024
1025
|
]),
|
|
1025
1026
|
v("div", null, [
|
|
1026
|
-
isNaN(
|
|
1027
|
-
(x(!0), I(R, null,
|
|
1027
|
+
isNaN(s(t)) ? (x(), I("div", Yn, [
|
|
1028
|
+
(x(!0), I(R, null, W(s(O), ($) => (x(), I("ul", {
|
|
1028
1029
|
key: $.roomGroupID
|
|
1029
1030
|
}, [
|
|
1030
|
-
(x(!0), I(R, null,
|
|
1031
|
+
(x(!0), I(R, null, W($.variants, (ce, pe) => (x(), I("li", {
|
|
1031
1032
|
key: ce.ratePlanID
|
|
1032
1033
|
}, [
|
|
1033
1034
|
v("h4", null, [
|
|
1034
|
-
v("span", null, V(
|
|
1035
|
+
v("span", null, V(s(ve)($.title)), 1)
|
|
1035
1036
|
]),
|
|
1036
|
-
(x(!0), I(R, null,
|
|
1037
|
+
(x(!0), I(R, null, W(ce.rooms, (G, Je) => (x(), I("table", {
|
|
1037
1038
|
key: Je,
|
|
1038
1039
|
class: "fresh-booking-table"
|
|
1039
1040
|
}, [
|
|
1040
1041
|
v("thead", null, [
|
|
1041
1042
|
v("tr", null, [
|
|
1042
1043
|
v("th", null, [
|
|
1043
|
-
v("span", null, V(
|
|
1044
|
+
v("span", null, V(s(ve)(ce.name)), 1)
|
|
1044
1045
|
]),
|
|
1045
1046
|
v("th", null, [
|
|
1046
1047
|
v("b", null, [
|
|
@@ -1056,37 +1057,37 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
1056
1057
|
type: "fas",
|
|
1057
1058
|
color: "font"
|
|
1058
1059
|
})) : D("", !0),
|
|
1059
|
-
G.childrenCount > 0 ? (x(), I("span",
|
|
1060
|
+
G.childrenCount > 0 ? (x(), I("span", Qn, V(G.childrenCount), 1)) : D("", !0)
|
|
1060
1061
|
])
|
|
1061
1062
|
])
|
|
1062
1063
|
])
|
|
1063
1064
|
]),
|
|
1064
1065
|
v("tbody", null, [
|
|
1065
|
-
(x(!0), I(R, null,
|
|
1066
|
-
cardinality:
|
|
1067
|
-
quantityStrategy:
|
|
1068
|
-
maximumNumber:
|
|
1066
|
+
(x(!0), I(R, null, W($.addons, ({
|
|
1067
|
+
cardinality: ao,
|
|
1068
|
+
quantityStrategy: so,
|
|
1069
|
+
maximumNumber: lo,
|
|
1069
1070
|
id: he,
|
|
1070
|
-
name:
|
|
1071
|
-
price:
|
|
1071
|
+
name: uo,
|
|
1072
|
+
price: co
|
|
1072
1073
|
}) => (x(), I("tr", { key: he }, [
|
|
1073
1074
|
v("td", null, [
|
|
1074
|
-
v("b", null, V(
|
|
1075
|
-
|
|
1076
|
-
v("span", null, V(
|
|
1075
|
+
v("b", null, V(s(ve)(uo)), 1),
|
|
1076
|
+
Kn,
|
|
1077
|
+
v("span", null, V(s(ue)(co, s(Qe))) + " " + V(s(vo)(so)), 1)
|
|
1077
1078
|
]),
|
|
1078
1079
|
v("td", null, [
|
|
1079
|
-
|
|
1080
|
+
ao === 3 ? (x(), M(It, {
|
|
1080
1081
|
key: 0,
|
|
1081
|
-
modelValue:
|
|
1082
|
-
"onUpdate:modelValue": (Y) =>
|
|
1082
|
+
modelValue: s(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he],
|
|
1083
|
+
"onUpdate:modelValue": (Y) => s(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he] = Y,
|
|
1083
1084
|
small: !0,
|
|
1084
1085
|
"min-value": 0,
|
|
1085
|
-
"max-value":
|
|
1086
|
+
"max-value": lo || 1 / 0
|
|
1086
1087
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (x(), M(Ue, {
|
|
1087
1088
|
key: 1,
|
|
1088
|
-
modelValue:
|
|
1089
|
-
"onUpdate:modelValue": (Y) =>
|
|
1089
|
+
modelValue: s(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he],
|
|
1090
|
+
"onUpdate:modelValue": (Y) => s(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he] = Y
|
|
1090
1091
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1091
1092
|
]),
|
|
1092
1093
|
D("", !0)
|
|
@@ -1101,184 +1102,184 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
1101
1102
|
]),
|
|
1102
1103
|
navigation: w(() => [
|
|
1103
1104
|
T(fe, {
|
|
1104
|
-
label:
|
|
1105
|
+
label: s(e)("general.startReservation"),
|
|
1105
1106
|
"full-width": "",
|
|
1106
1107
|
onClickEvent: J
|
|
1107
1108
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1108
1109
|
v("button", {
|
|
1109
1110
|
class: "konnectio-abort-reservation link",
|
|
1110
|
-
onClick: tt(($) => Ke(
|
|
1111
|
+
onClick: tt(($) => Ke(z), ["prevent"])
|
|
1111
1112
|
}, [
|
|
1112
|
-
v("span", null, V(
|
|
1113
|
-
], 8,
|
|
1113
|
+
v("span", null, V(s(e)("general.goAStepBack")), 1)
|
|
1114
|
+
], 8, Jn)
|
|
1114
1115
|
]),
|
|
1115
1116
|
_: 2
|
|
1116
1117
|
}, 1024)
|
|
1117
1118
|
]),
|
|
1118
|
-
reservation: w(({ next: J, prev:
|
|
1119
|
+
reservation: w(({ next: J, prev: z }) => [
|
|
1119
1120
|
T(De, {
|
|
1120
1121
|
"show-terms-notice": !0,
|
|
1121
1122
|
"show-gift-card": !0
|
|
1122
1123
|
}, {
|
|
1123
1124
|
form: w(() => [
|
|
1124
|
-
v("form",
|
|
1125
|
+
v("form", Xn, [
|
|
1125
1126
|
v("h2", null, [
|
|
1126
|
-
v("span", null, V(
|
|
1127
|
+
v("span", null, V(s(e)("booking.reservation.detailsTitle")), 1)
|
|
1127
1128
|
]),
|
|
1128
|
-
!
|
|
1129
|
+
!s(Ut) && !(s(Ce) && s(Ve)) ? (x(), I("ul", {
|
|
1129
1130
|
key: 0,
|
|
1130
|
-
class: Ie({ "fresh-booking-split-inputs": !
|
|
1131
|
+
class: Ie({ "fresh-booking-split-inputs": !s(Ce) && !s(Ve) })
|
|
1131
1132
|
}, [
|
|
1132
|
-
|
|
1133
|
+
s(Ce) ? D("", !0) : (x(), I("li", Zn, [
|
|
1133
1134
|
T(nt, {
|
|
1134
|
-
modelValue:
|
|
1135
|
+
modelValue: s(g),
|
|
1135
1136
|
"onUpdate:modelValue": P[2] || (P[2] = ($) => F(g) ? g.value = $ : null),
|
|
1136
|
-
label:
|
|
1137
|
+
label: s(e)("booking.reservation.arrivalTime"),
|
|
1137
1138
|
icon: "hourglass-start",
|
|
1138
|
-
"hour-range":
|
|
1139
|
+
"hour-range": Zt.value,
|
|
1139
1140
|
required: ""
|
|
1140
1141
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1141
1142
|
])),
|
|
1142
|
-
|
|
1143
|
+
s(Ve) ? D("", !0) : (x(), I("li", ei, [
|
|
1143
1144
|
T(nt, {
|
|
1144
|
-
modelValue:
|
|
1145
|
+
modelValue: s(k),
|
|
1145
1146
|
"onUpdate:modelValue": P[3] || (P[3] = ($) => F(k) ? k.value = $ : null),
|
|
1146
|
-
label:
|
|
1147
|
+
label: s(e)("booking.reservation.departureTime"),
|
|
1147
1148
|
icon: "hourglass-end",
|
|
1148
|
-
"hour-range":
|
|
1149
|
+
"hour-range": eo.value,
|
|
1149
1150
|
required: ""
|
|
1150
1151
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1151
1152
|
]))
|
|
1152
1153
|
], 2)) : D("", !0),
|
|
1153
|
-
T(
|
|
1154
|
-
modelValue:
|
|
1154
|
+
T(yn, {
|
|
1155
|
+
modelValue: s(a),
|
|
1155
1156
|
"onUpdate:modelValue": P[4] || (P[4] = ($) => F(a) ? a.value = $ : null),
|
|
1156
|
-
title:
|
|
1157
|
+
title: s(_),
|
|
1157
1158
|
"onUpdate:title": P[5] || (P[5] = ($) => F(_) ? _.value = $ : null),
|
|
1158
|
-
"exclude-title":
|
|
1159
|
-
label:
|
|
1159
|
+
"exclude-title": s(Ft),
|
|
1160
|
+
label: s(e)("booking.reservation.name"),
|
|
1160
1161
|
icon: "user-alt",
|
|
1161
|
-
placeholder:
|
|
1162
|
+
placeholder: s(e)("booking.reservation.namePlaceholder"),
|
|
1162
1163
|
required: ""
|
|
1163
1164
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1164
|
-
T(
|
|
1165
|
-
modelValue:
|
|
1165
|
+
T(re, {
|
|
1166
|
+
modelValue: s(b),
|
|
1166
1167
|
"onUpdate:modelValue": P[6] || (P[6] = ($) => F(b) ? b.value = $ : null),
|
|
1167
1168
|
type: "email",
|
|
1168
1169
|
name: "email",
|
|
1169
1170
|
autocomplete: "email",
|
|
1170
|
-
label:
|
|
1171
|
+
label: s(e)("booking.reservation.email"),
|
|
1171
1172
|
icon: "at",
|
|
1172
|
-
placeholder:
|
|
1173
|
+
placeholder: s(e)("booking.reservation.emailPlaceholder"),
|
|
1173
1174
|
required: ""
|
|
1174
1175
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1175
|
-
|
|
1176
|
+
s(Ot) ? D("", !0) : (x(), M(Ue, {
|
|
1176
1177
|
key: 1,
|
|
1177
|
-
modelValue:
|
|
1178
|
+
modelValue: s(C),
|
|
1178
1179
|
"onUpdate:modelValue": P[7] || (P[7] = ($) => F(C) ? C.value = $ : null),
|
|
1179
1180
|
type: "checkbox",
|
|
1180
1181
|
name: "newsletter",
|
|
1181
|
-
label:
|
|
1182
|
+
label: s(e)("booking.reservation.newsletterSignUp")
|
|
1182
1183
|
}, null, 8, ["modelValue", "label"])),
|
|
1183
|
-
|
|
1184
|
+
s(Gt) ? D("", !0) : (x(), M(re, {
|
|
1184
1185
|
key: 2,
|
|
1185
|
-
modelValue:
|
|
1186
|
+
modelValue: s(i),
|
|
1186
1187
|
"onUpdate:modelValue": P[8] || (P[8] = ($) => F(i) ? i.value = $ : null),
|
|
1187
1188
|
type: "text",
|
|
1188
1189
|
name: "firm",
|
|
1189
1190
|
autocomplete: "firm",
|
|
1190
|
-
label: `${
|
|
1191
|
+
label: `${s(e)("booking.reservation.companyName")} (${s(e)("booking.reservation.optional")})`,
|
|
1191
1192
|
icon: "id-card",
|
|
1192
|
-
placeholder:
|
|
1193
|
+
placeholder: s(e)("booking.reservation.companyNamePlaceholder")
|
|
1193
1194
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1194
1195
|
T(zo, {
|
|
1195
|
-
modelValue:
|
|
1196
|
+
modelValue: s(f),
|
|
1196
1197
|
"onUpdate:modelValue": P[9] || (P[9] = ($) => F(f) ? f.value = $ : null),
|
|
1197
1198
|
icon: "phone-office",
|
|
1198
|
-
label:
|
|
1199
|
-
placeholder:
|
|
1199
|
+
label: s(e)("booking.reservation.phone"),
|
|
1200
|
+
placeholder: s(e)("booking.reservation.phonePlaceholder"),
|
|
1200
1201
|
required: ""
|
|
1201
1202
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1202
|
-
T(
|
|
1203
|
-
modelValue:
|
|
1203
|
+
T(pn, {
|
|
1204
|
+
modelValue: s(S),
|
|
1204
1205
|
"onUpdate:modelValue": P[10] || (P[10] = ($) => F(S) ? S.value = $ : null),
|
|
1205
|
-
label:
|
|
1206
|
-
placeholder:
|
|
1207
|
-
options:
|
|
1206
|
+
label: s(e)("booking.reservation.country"),
|
|
1207
|
+
placeholder: s(e)("booking.reservation.countryPlaceholder"),
|
|
1208
|
+
options: s(u),
|
|
1208
1209
|
required: ""
|
|
1209
1210
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1210
|
-
T(
|
|
1211
|
-
modelValue:
|
|
1211
|
+
T(re, {
|
|
1212
|
+
modelValue: s(E),
|
|
1212
1213
|
"onUpdate:modelValue": P[11] || (P[11] = ($) => F(E) ? E.value = $ : null),
|
|
1213
1214
|
type: "textarea",
|
|
1214
1215
|
name: "address",
|
|
1215
1216
|
autocomplete: "street-address",
|
|
1216
|
-
label:
|
|
1217
|
+
label: s(e)("booking.reservation.streetAddress"),
|
|
1217
1218
|
icon: "map-marked",
|
|
1218
|
-
placeholder:
|
|
1219
|
+
placeholder: s(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1219
1220
|
required: ""
|
|
1220
1221
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1221
|
-
v("ul",
|
|
1222
|
+
v("ul", ti, [
|
|
1222
1223
|
v("li", null, [
|
|
1223
|
-
T(
|
|
1224
|
-
modelValue:
|
|
1224
|
+
T(re, {
|
|
1225
|
+
modelValue: s(d),
|
|
1225
1226
|
"onUpdate:modelValue": P[12] || (P[12] = ($) => F(d) ? d.value = $ : null),
|
|
1226
1227
|
type: "text",
|
|
1227
1228
|
name: "postal",
|
|
1228
1229
|
autocomplete: "postal-code",
|
|
1229
|
-
label:
|
|
1230
|
+
label: s(e)("booking.reservation.postal"),
|
|
1230
1231
|
icon: "mailbox",
|
|
1231
|
-
placeholder:
|
|
1232
|
+
placeholder: s(e)("booking.reservation.postalPlaceholder"),
|
|
1232
1233
|
required: ""
|
|
1233
1234
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1234
1235
|
]),
|
|
1235
1236
|
v("li", null, [
|
|
1236
|
-
T(
|
|
1237
|
-
modelValue:
|
|
1237
|
+
T(re, {
|
|
1238
|
+
modelValue: s(y),
|
|
1238
1239
|
"onUpdate:modelValue": P[13] || (P[13] = ($) => F(y) ? y.value = $ : null),
|
|
1239
1240
|
type: "text",
|
|
1240
1241
|
name: "city",
|
|
1241
1242
|
autocomplete: "address-level2",
|
|
1242
|
-
label:
|
|
1243
|
+
label: s(e)("booking.reservation.city"),
|
|
1243
1244
|
icon: "city",
|
|
1244
|
-
placeholder:
|
|
1245
|
+
placeholder: s(e)("booking.reservation.cityPlaceholder"),
|
|
1245
1246
|
required: ""
|
|
1246
1247
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1247
1248
|
])
|
|
1248
1249
|
]),
|
|
1249
|
-
T(
|
|
1250
|
-
modelValue:
|
|
1250
|
+
T(re, {
|
|
1251
|
+
modelValue: s(L),
|
|
1251
1252
|
"onUpdate:modelValue": P[14] || (P[14] = ($) => F(L) ? L.value = $ : null),
|
|
1252
1253
|
type: "textarea",
|
|
1253
|
-
label: `${
|
|
1254
|
+
label: `${s(e)("booking.reservation.remark")} (${s(e)("booking.reservation.optional")})`,
|
|
1254
1255
|
icon: "info-circle",
|
|
1255
|
-
placeholder:
|
|
1256
|
+
placeholder: s(e)("booking.reservation.remarkPlaceholder")
|
|
1256
1257
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1257
|
-
T(
|
|
1258
|
-
modelValue:
|
|
1258
|
+
T(re, {
|
|
1259
|
+
modelValue: s(H),
|
|
1259
1260
|
"onUpdate:modelValue": P[15] || (P[15] = ($) => F(H) ? H.value = $ : null),
|
|
1260
1261
|
type: "textarea",
|
|
1261
|
-
label: `${
|
|
1262
|
+
label: `${s(e)("booking.reservation.allergies")} (${s(e)("booking.reservation.optional")})`,
|
|
1262
1263
|
icon: "allergies",
|
|
1263
|
-
placeholder:
|
|
1264
|
+
placeholder: s(e)("booking.reservation.allergiesPlaceholder")
|
|
1264
1265
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1265
|
-
|
|
1266
|
+
s(qt) ? D("", !0) : (x(), M(mn, {
|
|
1266
1267
|
key: 3,
|
|
1267
|
-
modelValue:
|
|
1268
|
+
modelValue: s(m),
|
|
1268
1269
|
"onUpdate:modelValue": P[16] || (P[16] = ($) => F(m) ? m.value = $ : null),
|
|
1269
|
-
label: `${
|
|
1270
|
+
label: `${s(e)("booking.reservation.purposeOfStay")} (${s(e)("booking.reservation.optional")})`,
|
|
1270
1271
|
name: "travelingFor",
|
|
1271
1272
|
checkboxes: [
|
|
1272
1273
|
{
|
|
1273
|
-
label:
|
|
1274
|
+
label: s(e)("booking.reservation.business"),
|
|
1274
1275
|
value: "Business"
|
|
1275
1276
|
},
|
|
1276
1277
|
{
|
|
1277
|
-
label:
|
|
1278
|
+
label: s(e)("booking.reservation.pleasure"),
|
|
1278
1279
|
value: "Pleasure"
|
|
1279
1280
|
},
|
|
1280
1281
|
{
|
|
1281
|
-
label:
|
|
1282
|
+
label: s(e)("booking.reservation.bleasure"),
|
|
1282
1283
|
value: "Bleasure"
|
|
1283
1284
|
}
|
|
1284
1285
|
]
|
|
@@ -1288,29 +1289,29 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
1288
1289
|
navigation: w(() => [
|
|
1289
1290
|
v("div", null, [
|
|
1290
1291
|
T(fe, {
|
|
1291
|
-
label:
|
|
1292
|
-
disabled: !
|
|
1293
|
-
"is-loading": l
|
|
1292
|
+
label: s(jt) ? s(e)("booking.reservation.nextButton") : s(e)("general.confirmReservation"),
|
|
1293
|
+
disabled: !s(h),
|
|
1294
|
+
"is-loading": s(l),
|
|
1294
1295
|
"full-width": "",
|
|
1295
|
-
onClickEvent: ($) =>
|
|
1296
|
+
onClickEvent: ($) => no(J)
|
|
1296
1297
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1297
1298
|
v("button", {
|
|
1298
1299
|
class: "konnectio-abort-reservation link",
|
|
1299
|
-
onClick: tt(($) => Ke(
|
|
1300
|
+
onClick: tt(($) => Ke(z), ["prevent"])
|
|
1300
1301
|
}, [
|
|
1301
|
-
v("span", null, V(
|
|
1302
|
-
], 8,
|
|
1302
|
+
v("span", null, V(s(e)("general.goAStepBack")), 1)
|
|
1303
|
+
], 8, oi)
|
|
1303
1304
|
])
|
|
1304
1305
|
]),
|
|
1305
1306
|
_: 2
|
|
1306
1307
|
}, 1024)
|
|
1307
1308
|
]),
|
|
1308
1309
|
payment: w(() => [
|
|
1309
|
-
T(
|
|
1310
|
+
T(Mo)
|
|
1310
1311
|
]),
|
|
1311
1312
|
confirmation: w(() => [
|
|
1312
|
-
T(
|
|
1313
|
-
message:
|
|
1313
|
+
T(Lo, {
|
|
1314
|
+
message: s(e)("booking.confirmation.thankYou")
|
|
1314
1315
|
}, null, 8, ["message"])
|
|
1315
1316
|
]),
|
|
1316
1317
|
_: 1
|
|
@@ -1320,13 +1321,13 @@ const Kn = ["onClick"], Jn = { class: "fresh-booking-panel" }, Xn = { key: 0 },
|
|
|
1320
1321
|
}, 8, ["access-token", "styling"])
|
|
1321
1322
|
]),
|
|
1322
1323
|
fallback: w(() => [
|
|
1323
|
-
T(
|
|
1324
|
+
T(Bn)
|
|
1324
1325
|
]),
|
|
1325
1326
|
_: 1
|
|
1326
1327
|
}));
|
|
1327
1328
|
}
|
|
1328
1329
|
});
|
|
1329
|
-
const
|
|
1330
|
+
const ii = /* @__PURE__ */ te(ni, [["__scopeId", "data-v-8ac5995b"]]);
|
|
1330
1331
|
var $t = { exports: {} }, Le = { exports: {} }, we = { exports: {} }, it;
|
|
1331
1332
|
function Ge() {
|
|
1332
1333
|
return it || (it = 1, function(n) {
|
|
@@ -1357,8 +1358,8 @@ function Ge() {
|
|
|
1357
1358
|
var r = this._events && this._events[o];
|
|
1358
1359
|
if (!(!r || !r.length)) {
|
|
1359
1360
|
r = r.slice(0), u = u || [];
|
|
1360
|
-
for (var p = this._onceEvents && this._onceEvents[o],
|
|
1361
|
-
var h = r[
|
|
1361
|
+
for (var p = this._onceEvents && this._onceEvents[o], l = 0; l < r.length; l++) {
|
|
1362
|
+
var h = r[l], c = p && p[h];
|
|
1362
1363
|
c && (this.off(o, h), delete p[h]), h.apply(this, u);
|
|
1363
1364
|
}
|
|
1364
1365
|
return this;
|
|
@@ -1403,7 +1404,7 @@ function je() {
|
|
|
1403
1404
|
"borderTopWidth",
|
|
1404
1405
|
"borderBottomWidth"
|
|
1405
1406
|
], p = r.length;
|
|
1406
|
-
function
|
|
1407
|
+
function l() {
|
|
1407
1408
|
for (var a = {
|
|
1408
1409
|
width: 0,
|
|
1409
1410
|
height: 0,
|
|
@@ -1437,7 +1438,7 @@ function je() {
|
|
|
1437
1438
|
if (g(), typeof a == "string" && (a = document.querySelector(a)), !(!a || typeof a != "object" || !a.nodeType)) {
|
|
1438
1439
|
var _ = h(a);
|
|
1439
1440
|
if (_.display == "none")
|
|
1440
|
-
return
|
|
1441
|
+
return l();
|
|
1441
1442
|
var b = {};
|
|
1442
1443
|
b.width = a.offsetWidth, b.height = a.offsetHeight;
|
|
1443
1444
|
for (var f = b.isBorderBox = _.boxSizing == "border-box", i = 0; i < p; i++) {
|
|
@@ -1447,8 +1448,8 @@ function je() {
|
|
|
1447
1448
|
var S = b.paddingLeft + b.paddingRight, L = b.paddingTop + b.paddingBottom, H = b.marginLeft + b.marginRight, C = b.marginTop + b.marginBottom, B = b.borderLeftWidth + b.borderRightWidth, O = b.borderTopWidth + b.borderBottomWidth, q = f && m, U = t(_.width);
|
|
1448
1449
|
U !== !1 && (b.width = U + // add padding and border unless it's already including it
|
|
1449
1450
|
(q ? 0 : S + B));
|
|
1450
|
-
var
|
|
1451
|
-
return
|
|
1451
|
+
var A = t(_.height);
|
|
1452
|
+
return A !== !1 && (b.height = A + // add padding and border unless it's already including it
|
|
1452
1453
|
(q ? 0 : L + O)), b.innerWidth = b.width - (S + B), b.innerHeight = b.height - (L + O), b.outerWidth = b.width + H, b.outerHeight = b.height + C, b;
|
|
1453
1454
|
}
|
|
1454
1455
|
}
|
|
@@ -1456,8 +1457,8 @@ function je() {
|
|
|
1456
1457
|
});
|
|
1457
1458
|
}(Oe)), Oe.exports;
|
|
1458
1459
|
}
|
|
1459
|
-
var He = { exports: {} },
|
|
1460
|
-
function
|
|
1460
|
+
var He = { exports: {} }, Ae = { exports: {} }, at;
|
|
1461
|
+
function ri() {
|
|
1461
1462
|
return at || (at = 1, function(n) {
|
|
1462
1463
|
(function(e, t) {
|
|
1463
1464
|
n.exports ? n.exports = t() : e.matchesSelector = t();
|
|
@@ -1469,61 +1470,61 @@ function ii() {
|
|
|
1469
1470
|
if (o.matchesSelector)
|
|
1470
1471
|
return "matchesSelector";
|
|
1471
1472
|
for (var u = ["webkit", "moz", "ms", "o"], r = 0; r < u.length; r++) {
|
|
1472
|
-
var p = u[r],
|
|
1473
|
-
if (o[
|
|
1474
|
-
return
|
|
1473
|
+
var p = u[r], l = p + "MatchesSelector";
|
|
1474
|
+
if (o[l])
|
|
1475
|
+
return l;
|
|
1475
1476
|
}
|
|
1476
1477
|
}();
|
|
1477
1478
|
return function(u, r) {
|
|
1478
1479
|
return u[t](r);
|
|
1479
1480
|
};
|
|
1480
1481
|
});
|
|
1481
|
-
}(
|
|
1482
|
+
}(Ae)), Ae.exports;
|
|
1482
1483
|
}
|
|
1483
1484
|
var st;
|
|
1484
|
-
function
|
|
1485
|
+
function ai() {
|
|
1485
1486
|
return st || (st = 1, function(n) {
|
|
1486
1487
|
(function(e, t) {
|
|
1487
1488
|
n.exports ? n.exports = t(
|
|
1488
1489
|
e,
|
|
1489
|
-
|
|
1490
|
+
ri()
|
|
1490
1491
|
) : e.fizzyUIUtils = t(
|
|
1491
1492
|
e,
|
|
1492
1493
|
e.matchesSelector
|
|
1493
1494
|
);
|
|
1494
1495
|
})(window, function(t, o) {
|
|
1495
1496
|
var u = {};
|
|
1496
|
-
u.extend = function(
|
|
1497
|
+
u.extend = function(l, h) {
|
|
1497
1498
|
for (var c in h)
|
|
1498
|
-
|
|
1499
|
-
return
|
|
1500
|
-
}, u.modulo = function(
|
|
1501
|
-
return (
|
|
1499
|
+
l[c] = h[c];
|
|
1500
|
+
return l;
|
|
1501
|
+
}, u.modulo = function(l, h) {
|
|
1502
|
+
return (l % h + h) % h;
|
|
1502
1503
|
};
|
|
1503
1504
|
var r = Array.prototype.slice;
|
|
1504
|
-
u.makeArray = function(
|
|
1505
|
-
if (Array.isArray(
|
|
1506
|
-
return
|
|
1507
|
-
if (
|
|
1505
|
+
u.makeArray = function(l) {
|
|
1506
|
+
if (Array.isArray(l))
|
|
1507
|
+
return l;
|
|
1508
|
+
if (l == null)
|
|
1508
1509
|
return [];
|
|
1509
|
-
var h = typeof
|
|
1510
|
-
return h ? r.call(
|
|
1511
|
-
}, u.removeFrom = function(
|
|
1512
|
-
var c =
|
|
1513
|
-
c != -1 &&
|
|
1514
|
-
}, u.getParent = function(
|
|
1515
|
-
for (;
|
|
1516
|
-
if (
|
|
1517
|
-
return
|
|
1518
|
-
}, u.getQueryElement = function(
|
|
1519
|
-
return typeof
|
|
1520
|
-
}, u.handleEvent = function(
|
|
1521
|
-
var h = "on" +
|
|
1522
|
-
this[h] && this[h](
|
|
1523
|
-
}, u.filterFindElements = function(
|
|
1524
|
-
|
|
1510
|
+
var h = typeof l == "object" && typeof l.length == "number";
|
|
1511
|
+
return h ? r.call(l) : [l];
|
|
1512
|
+
}, u.removeFrom = function(l, h) {
|
|
1513
|
+
var c = l.indexOf(h);
|
|
1514
|
+
c != -1 && l.splice(c, 1);
|
|
1515
|
+
}, u.getParent = function(l, h) {
|
|
1516
|
+
for (; l.parentNode && l != document.body; )
|
|
1517
|
+
if (l = l.parentNode, o(l, h))
|
|
1518
|
+
return l;
|
|
1519
|
+
}, u.getQueryElement = function(l) {
|
|
1520
|
+
return typeof l == "string" ? document.querySelector(l) : l;
|
|
1521
|
+
}, u.handleEvent = function(l) {
|
|
1522
|
+
var h = "on" + l.type;
|
|
1523
|
+
this[h] && this[h](l);
|
|
1524
|
+
}, u.filterFindElements = function(l, h) {
|
|
1525
|
+
l = u.makeArray(l);
|
|
1525
1526
|
var c = [];
|
|
1526
|
-
return
|
|
1527
|
+
return l.forEach(function(m) {
|
|
1527
1528
|
if (m instanceof HTMLElement) {
|
|
1528
1529
|
if (!h) {
|
|
1529
1530
|
c.push(m);
|
|
@@ -1534,10 +1535,10 @@ function ri() {
|
|
|
1534
1535
|
c.push(g[k]);
|
|
1535
1536
|
}
|
|
1536
1537
|
}), c;
|
|
1537
|
-
}, u.debounceMethod = function(
|
|
1538
|
+
}, u.debounceMethod = function(l, h, c) {
|
|
1538
1539
|
c = c || 100;
|
|
1539
|
-
var m =
|
|
1540
|
-
|
|
1540
|
+
var m = l.prototype[h], g = h + "Timeout";
|
|
1541
|
+
l.prototype[h] = function() {
|
|
1541
1542
|
var k = this[g];
|
|
1542
1543
|
clearTimeout(k);
|
|
1543
1544
|
var a = arguments, _ = this;
|
|
@@ -1545,16 +1546,16 @@ function ri() {
|
|
|
1545
1546
|
m.apply(_, a), delete _[g];
|
|
1546
1547
|
}, c);
|
|
1547
1548
|
};
|
|
1548
|
-
}, u.docReady = function(
|
|
1549
|
+
}, u.docReady = function(l) {
|
|
1549
1550
|
var h = document.readyState;
|
|
1550
|
-
h == "complete" || h == "interactive" ? setTimeout(
|
|
1551
|
-
}, u.toDashed = function(
|
|
1552
|
-
return
|
|
1551
|
+
h == "complete" || h == "interactive" ? setTimeout(l) : document.addEventListener("DOMContentLoaded", l);
|
|
1552
|
+
}, u.toDashed = function(l) {
|
|
1553
|
+
return l.replace(/(.)([A-Z])/g, function(h, c, m) {
|
|
1553
1554
|
return c + "-" + m;
|
|
1554
1555
|
}).toLowerCase();
|
|
1555
1556
|
};
|
|
1556
1557
|
var p = t.console;
|
|
1557
|
-
return u.htmlInit = function(
|
|
1558
|
+
return u.htmlInit = function(l, h) {
|
|
1558
1559
|
u.docReady(function() {
|
|
1559
1560
|
var c = u.toDashed(h), m = "data-" + c, g = document.querySelectorAll("[" + m + "]"), k = document.querySelectorAll(".js-" + c), a = u.makeArray(g).concat(u.makeArray(k)), _ = m + "-options", b = t.jQuery;
|
|
1560
1561
|
a.forEach(function(f) {
|
|
@@ -1565,7 +1566,7 @@ function ri() {
|
|
|
1565
1566
|
p && p.error("Error parsing " + m + " on " + f.className + ": " + E);
|
|
1566
1567
|
return;
|
|
1567
1568
|
}
|
|
1568
|
-
var y = new
|
|
1569
|
+
var y = new l(f, d);
|
|
1569
1570
|
b && b.data(f, h, y);
|
|
1570
1571
|
});
|
|
1571
1572
|
});
|
|
@@ -1573,8 +1574,8 @@ function ri() {
|
|
|
1573
1574
|
});
|
|
1574
1575
|
}(He)), He.exports;
|
|
1575
1576
|
}
|
|
1576
|
-
var
|
|
1577
|
-
function
|
|
1577
|
+
var ze = { exports: {} }, lt;
|
|
1578
|
+
function si() {
|
|
1578
1579
|
return lt || (lt = 1, function(n) {
|
|
1579
1580
|
(function(e, t) {
|
|
1580
1581
|
n.exports ? n.exports = t(
|
|
@@ -1590,11 +1591,11 @@ function ai() {
|
|
|
1590
1591
|
return !1;
|
|
1591
1592
|
return i = null, !0;
|
|
1592
1593
|
}
|
|
1593
|
-
var r = document.documentElement.style, p = typeof r.transition == "string" ? "transition" : "WebkitTransition",
|
|
1594
|
+
var r = document.documentElement.style, p = typeof r.transition == "string" ? "transition" : "WebkitTransition", l = typeof r.transform == "string" ? "transform" : "WebkitTransform", h = {
|
|
1594
1595
|
WebkitTransition: "webkitTransitionEnd",
|
|
1595
1596
|
transition: "transitionend"
|
|
1596
1597
|
}[p], c = {
|
|
1597
|
-
transform:
|
|
1598
|
+
transform: l,
|
|
1598
1599
|
transition: p,
|
|
1599
1600
|
transitionDuration: p + "Duration",
|
|
1600
1601
|
transitionProperty: p + "Property",
|
|
@@ -1683,7 +1684,7 @@ function ai() {
|
|
|
1683
1684
|
return "-" + i.toLowerCase();
|
|
1684
1685
|
});
|
|
1685
1686
|
}
|
|
1686
|
-
var a = "opacity," + k(
|
|
1687
|
+
var a = "opacity," + k(l);
|
|
1687
1688
|
g.enableTransition = function() {
|
|
1688
1689
|
if (!this.isTransitioning) {
|
|
1689
1690
|
var f = this.layout.options.transitionDuration;
|
|
@@ -1778,7 +1779,7 @@ function ai() {
|
|
|
1778
1779
|
});
|
|
1779
1780
|
}, m;
|
|
1780
1781
|
});
|
|
1781
|
-
}(
|
|
1782
|
+
}(ze)), ze.exports;
|
|
1782
1783
|
}
|
|
1783
1784
|
/*!
|
|
1784
1785
|
* Outlayer v2.1.1
|
|
@@ -1786,15 +1787,15 @@ function ai() {
|
|
|
1786
1787
|
* MIT license
|
|
1787
1788
|
*/
|
|
1788
1789
|
var ut;
|
|
1789
|
-
function
|
|
1790
|
+
function li() {
|
|
1790
1791
|
return ut || (ut = 1, function(n) {
|
|
1791
1792
|
(function(e, t) {
|
|
1792
1793
|
n.exports ? n.exports = t(
|
|
1793
1794
|
e,
|
|
1794
1795
|
Ge(),
|
|
1795
1796
|
je(),
|
|
1796
|
-
|
|
1797
|
-
|
|
1797
|
+
ai(),
|
|
1798
|
+
si()
|
|
1798
1799
|
) : e.Outlayer = t(
|
|
1799
1800
|
e,
|
|
1800
1801
|
e.EvEmitter,
|
|
@@ -1803,12 +1804,12 @@ function si() {
|
|
|
1803
1804
|
e.Outlayer.Item
|
|
1804
1805
|
);
|
|
1805
1806
|
})(window, function(t, o, u, r, p) {
|
|
1806
|
-
var
|
|
1807
|
+
var l = t.console, h = t.jQuery, c = function() {
|
|
1807
1808
|
}, m = 0, g = {};
|
|
1808
1809
|
function k(i, d) {
|
|
1809
1810
|
var y = r.getQueryElement(i);
|
|
1810
1811
|
if (!y) {
|
|
1811
|
-
|
|
1812
|
+
l && l.error("Bad element for " + this.constructor.namespace + ": " + (y || i));
|
|
1812
1813
|
return;
|
|
1813
1814
|
}
|
|
1814
1815
|
this.element = y, h && (this.$element = h(this.element)), this.options = r.extend({}, this.constructor.defaults), this.option(d);
|
|
@@ -2094,7 +2095,7 @@ function si() {
|
|
|
2094
2095
|
(function(n) {
|
|
2095
2096
|
(function(e, t) {
|
|
2096
2097
|
n.exports ? n.exports = t(
|
|
2097
|
-
|
|
2098
|
+
li(),
|
|
2098
2099
|
je()
|
|
2099
2100
|
) : e.Masonry = t(
|
|
2100
2101
|
e.Outlayer,
|
|
@@ -2111,18 +2112,18 @@ function si() {
|
|
|
2111
2112
|
this.maxY = 0, this.horizontalColIndex = 0;
|
|
2112
2113
|
}, r.measureColumns = function() {
|
|
2113
2114
|
if (this.getContainerWidth(), !this.columnWidth) {
|
|
2114
|
-
var p = this.items[0],
|
|
2115
|
-
this.columnWidth =
|
|
2115
|
+
var p = this.items[0], l = p && p.element;
|
|
2116
|
+
this.columnWidth = l && o(l).outerWidth || // if first elem has no width, default to size of container
|
|
2116
2117
|
this.containerWidth;
|
|
2117
2118
|
}
|
|
2118
2119
|
var h = this.columnWidth += this.gutter, c = this.containerWidth + this.gutter, m = c / h, g = h - c % h, k = g && g < 1 ? "round" : "floor";
|
|
2119
2120
|
m = Math[k](m), this.cols = Math.max(m, 1);
|
|
2120
2121
|
}, r.getContainerWidth = function() {
|
|
2121
|
-
var p = this._getOption("fitWidth"),
|
|
2122
|
+
var p = this._getOption("fitWidth"), l = p ? this.element.parentNode : this.element, h = o(l);
|
|
2122
2123
|
this.containerWidth = h && h.innerWidth;
|
|
2123
2124
|
}, r._getItemLayoutPosition = function(p) {
|
|
2124
2125
|
p.getSize();
|
|
2125
|
-
var
|
|
2126
|
+
var l = p.size.outerWidth % this.columnWidth, h = l && l < 1 ? "round" : "ceil", c = Math[h](p.size.outerWidth / this.columnWidth);
|
|
2126
2127
|
c = Math.min(c, this.cols);
|
|
2127
2128
|
for (var m = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", g = this[m](c, p), k = {
|
|
2128
2129
|
x: this.columnWidth * g.col,
|
|
@@ -2131,36 +2132,36 @@ function si() {
|
|
|
2131
2132
|
this.colYs[b] = a;
|
|
2132
2133
|
return k;
|
|
2133
2134
|
}, r._getTopColPosition = function(p) {
|
|
2134
|
-
var
|
|
2135
|
+
var l = this._getTopColGroup(p), h = Math.min.apply(Math, l);
|
|
2135
2136
|
return {
|
|
2136
|
-
col:
|
|
2137
|
+
col: l.indexOf(h),
|
|
2137
2138
|
y: h
|
|
2138
2139
|
};
|
|
2139
2140
|
}, r._getTopColGroup = function(p) {
|
|
2140
2141
|
if (p < 2)
|
|
2141
2142
|
return this.colYs;
|
|
2142
|
-
for (var
|
|
2143
|
-
|
|
2144
|
-
return
|
|
2145
|
-
}, r._getColGroupY = function(p,
|
|
2146
|
-
if (
|
|
2143
|
+
for (var l = [], h = this.cols + 1 - p, c = 0; c < h; c++)
|
|
2144
|
+
l[c] = this._getColGroupY(c, p);
|
|
2145
|
+
return l;
|
|
2146
|
+
}, r._getColGroupY = function(p, l) {
|
|
2147
|
+
if (l < 2)
|
|
2147
2148
|
return this.colYs[p];
|
|
2148
|
-
var h = this.colYs.slice(p, p +
|
|
2149
|
+
var h = this.colYs.slice(p, p + l);
|
|
2149
2150
|
return Math.max.apply(Math, h);
|
|
2150
|
-
}, r._getHorizontalColPosition = function(p,
|
|
2151
|
+
}, r._getHorizontalColPosition = function(p, l) {
|
|
2151
2152
|
var h = this.horizontalColIndex % this.cols, c = p > 1 && h + p > this.cols;
|
|
2152
2153
|
h = c ? 0 : h;
|
|
2153
|
-
var m =
|
|
2154
|
+
var m = l.size.outerWidth && l.size.outerHeight;
|
|
2154
2155
|
return this.horizontalColIndex = m ? h + p : this.horizontalColIndex, {
|
|
2155
2156
|
col: h,
|
|
2156
2157
|
y: this._getColGroupY(h, p)
|
|
2157
2158
|
};
|
|
2158
2159
|
}, r._manageStamp = function(p) {
|
|
2159
|
-
var
|
|
2160
|
+
var l = o(p), h = this._getElementOffset(p), c = this._getOption("originLeft"), m = c ? h.left : h.right, g = m + l.outerWidth, k = Math.floor(m / this.columnWidth);
|
|
2160
2161
|
k = Math.max(0, k);
|
|
2161
2162
|
var a = Math.floor(g / this.columnWidth);
|
|
2162
2163
|
a -= g % this.columnWidth ? 0 : 1, a = Math.min(this.cols - 1, a);
|
|
2163
|
-
for (var _ = this._getOption("originTop"), b = (_ ? h.top : h.bottom) +
|
|
2164
|
+
for (var _ = this._getOption("originTop"), b = (_ ? h.top : h.bottom) + l.outerHeight, f = k; f <= a; f++)
|
|
2164
2165
|
this.colYs[f] = Math.max(b, this.colYs[f]);
|
|
2165
2166
|
}, r._getContainerSize = function() {
|
|
2166
2167
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
@@ -2169,7 +2170,7 @@ function si() {
|
|
|
2169
2170
|
};
|
|
2170
2171
|
return this._getOption("fitWidth") && (p.width = this._getContainerFitWidth()), p;
|
|
2171
2172
|
}, r._getContainerFitWidth = function() {
|
|
2172
|
-
for (var p = 0,
|
|
2173
|
+
for (var p = 0, l = this.cols; --l && this.colYs[l] === 0; )
|
|
2173
2174
|
p++;
|
|
2174
2175
|
return (this.cols - p) * this.columnWidth - this.gutter;
|
|
2175
2176
|
}, r.needsResizeLayout = function() {
|
|
@@ -2178,8 +2179,8 @@ function si() {
|
|
|
2178
2179
|
}, u;
|
|
2179
2180
|
});
|
|
2180
2181
|
})($t);
|
|
2181
|
-
var
|
|
2182
|
-
const dt = /* @__PURE__ */ Tt(
|
|
2182
|
+
var ui = $t.exports;
|
|
2183
|
+
const dt = /* @__PURE__ */ Tt(ui);
|
|
2183
2184
|
var St = { exports: {} };
|
|
2184
2185
|
/*!
|
|
2185
2186
|
* imagesLoaded v4.1.4
|
|
@@ -2205,12 +2206,12 @@ var St = { exports: {} };
|
|
|
2205
2206
|
a[b] = _[b];
|
|
2206
2207
|
return a;
|
|
2207
2208
|
}
|
|
2208
|
-
var
|
|
2209
|
+
var l = Array.prototype.slice;
|
|
2209
2210
|
function h(a) {
|
|
2210
2211
|
if (Array.isArray(a))
|
|
2211
2212
|
return a;
|
|
2212
2213
|
var _ = typeof a == "object" && typeof a.length == "number";
|
|
2213
|
-
return _ ?
|
|
2214
|
+
return _ ? l.call(a) : [a];
|
|
2214
2215
|
}
|
|
2215
2216
|
function c(a, _, b) {
|
|
2216
2217
|
if (!(this instanceof c))
|
|
@@ -2326,9 +2327,9 @@ var St = { exports: {} };
|
|
|
2326
2327
|
}
|
|
2327
2328
|
);
|
|
2328
2329
|
})(St);
|
|
2329
|
-
var
|
|
2330
|
-
const
|
|
2331
|
-
function
|
|
2330
|
+
var di = St.exports;
|
|
2331
|
+
const ci = /* @__PURE__ */ Tt(di);
|
|
2332
|
+
function pi(n) {
|
|
2332
2333
|
return { all: n = n || /* @__PURE__ */ new Map(), on: function(e, t) {
|
|
2333
2334
|
var o = n.get(e);
|
|
2334
2335
|
o ? o.push(t) : n.set(e, [t]);
|
|
@@ -2357,24 +2358,24 @@ const ge = {
|
|
|
2357
2358
|
"horizontal-order": "horizontalOrder",
|
|
2358
2359
|
stagger: "stagger",
|
|
2359
2360
|
"destroy-delay": "destroyDelay"
|
|
2360
|
-
}, ye = "vuemasonry.itemAdded", Me = "vuemasonry.itemRemoved", Re = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy",
|
|
2361
|
+
}, ye = "vuemasonry.itemAdded", Me = "vuemasonry.itemRemoved", Re = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy", hi = function(n) {
|
|
2361
2362
|
return (n + "").toLowerCase() === "true";
|
|
2362
|
-
}, hi = function(n) {
|
|
2363
|
-
return isNaN(n) ? n : parseInt(n);
|
|
2364
2363
|
}, fi = function(n) {
|
|
2364
|
+
return isNaN(n) ? n : parseInt(n);
|
|
2365
|
+
}, mi = function(n) {
|
|
2365
2366
|
const e = {};
|
|
2366
2367
|
return Array.prototype.slice.call(n).forEach(function(o) {
|
|
2367
|
-
Object.keys(ge).indexOf(o.name) > -1 && (o.name.indexOf("origin") > -1 ? e[ge[o.name]] =
|
|
2368
|
+
Object.keys(ge).indexOf(o.name) > -1 && (o.name.indexOf("origin") > -1 ? e[ge[o.name]] = hi(o.value) : o.name === "column-width" || o.name === "gutter" ? e[ge[o.name]] = fi(o.value) : e[ge[o.name]] = o.value);
|
|
2368
2369
|
}), e;
|
|
2369
2370
|
}, Ct = {};
|
|
2370
2371
|
Ct.install = function(n, e) {
|
|
2371
|
-
const t =
|
|
2372
|
+
const t = pi(), o = "VueMasonry", u = n;
|
|
2372
2373
|
u.directive("masonry", {
|
|
2373
2374
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2374
2375
|
mounted: function(r, p) {
|
|
2375
2376
|
if (!dt)
|
|
2376
2377
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2377
|
-
const
|
|
2378
|
+
const l = mi(r.attributes), h = new dt(r, l), c = p.value || o, m = l.destroyDelay ? parseInt(l.destroyDelay, 10) : void 0, g = function() {
|
|
2378
2379
|
h.reloadItems(), h.layout();
|
|
2379
2380
|
};
|
|
2380
2381
|
xt(() => {
|
|
@@ -2392,31 +2393,31 @@ Ct.install = function(n, e) {
|
|
|
2392
2393
|
t["on"](`${ye}__${c}`, k), t["on"](`${Me}__${c}`, k), t["on"](`${Re}__${c}`, k), t["on"](`${Ne}__${c}`, a);
|
|
2393
2394
|
},
|
|
2394
2395
|
unbind: function(r, p) {
|
|
2395
|
-
const
|
|
2396
|
-
t["emit"](`${Ne}__${
|
|
2396
|
+
const l = p.value || o;
|
|
2397
|
+
t["emit"](`${Ne}__${l}`);
|
|
2397
2398
|
}
|
|
2398
2399
|
}), u.directive("masonryTile", {
|
|
2399
2400
|
mounted: function(r, p) {
|
|
2400
|
-
const
|
|
2401
|
-
t["emit"](`${ye}__${
|
|
2401
|
+
const l = p.value || o;
|
|
2402
|
+
t["emit"](`${ye}__${l}`, {
|
|
2402
2403
|
element: r
|
|
2403
|
-
}), new
|
|
2404
|
-
t["emit"](`${Re}__${
|
|
2404
|
+
}), new ci(r, function() {
|
|
2405
|
+
t["emit"](`${Re}__${l}`, {
|
|
2405
2406
|
element: r
|
|
2406
2407
|
});
|
|
2407
2408
|
});
|
|
2408
2409
|
},
|
|
2409
2410
|
unbind: function(r, p) {
|
|
2410
|
-
const
|
|
2411
|
-
t["emit"](`${Me}__${
|
|
2411
|
+
const l = p.value || o;
|
|
2412
|
+
t["emit"](`${Me}__${l}`, {
|
|
2412
2413
|
element: r
|
|
2413
2414
|
});
|
|
2414
2415
|
}
|
|
2415
2416
|
});
|
|
2416
2417
|
{
|
|
2417
2418
|
const r = function(p) {
|
|
2418
|
-
const
|
|
2419
|
-
t["emit"](`${ye}__${
|
|
2419
|
+
const l = p || o;
|
|
2420
|
+
t["emit"](`${ye}__${l}`);
|
|
2420
2421
|
};
|
|
2421
2422
|
n.config.globalProperties.$redrawVueMasonry = r, n.provide("redrawVueMasonry", r);
|
|
2422
2423
|
}
|
|
@@ -2428,15 +2429,15 @@ function Fe(n, e = {}, t) {
|
|
|
2428
2429
|
}
|
|
2429
2430
|
return e;
|
|
2430
2431
|
}
|
|
2431
|
-
const
|
|
2432
|
-
function
|
|
2432
|
+
const gi = { run: (n) => n() }, yi = () => gi, Vt = typeof console.createTask < "u" ? console.createTask : yi;
|
|
2433
|
+
function vi(n, e) {
|
|
2433
2434
|
const t = e.shift(), o = Vt(t);
|
|
2434
2435
|
return n.reduce(
|
|
2435
2436
|
(u, r) => u.then(() => o.run(() => r(...e))),
|
|
2436
2437
|
Promise.resolve()
|
|
2437
2438
|
);
|
|
2438
2439
|
}
|
|
2439
|
-
function
|
|
2440
|
+
function _i(n, e) {
|
|
2440
2441
|
const t = e.shift(), o = Vt(t);
|
|
2441
2442
|
return Promise.all(n.map((u) => o.run(() => u(...e))));
|
|
2442
2443
|
}
|
|
@@ -2444,7 +2445,7 @@ function We(n, e) {
|
|
|
2444
2445
|
for (const t of [...n])
|
|
2445
2446
|
t(e);
|
|
2446
2447
|
}
|
|
2447
|
-
class
|
|
2448
|
+
class bi {
|
|
2448
2449
|
constructor() {
|
|
2449
2450
|
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);
|
|
2450
2451
|
}
|
|
@@ -2513,10 +2514,10 @@ class _i {
|
|
|
2513
2514
|
delete this._hooks[e];
|
|
2514
2515
|
}
|
|
2515
2516
|
callHook(e, ...t) {
|
|
2516
|
-
return t.unshift(e), this.callHookWith(
|
|
2517
|
+
return t.unshift(e), this.callHookWith(vi, e, ...t);
|
|
2517
2518
|
}
|
|
2518
2519
|
callHookParallel(e, ...t) {
|
|
2519
|
-
return t.unshift(e), this.callHookWith(
|
|
2520
|
+
return t.unshift(e), this.callHookWith(_i, e, ...t);
|
|
2520
2521
|
}
|
|
2521
2522
|
callHookWith(e, t, ...o) {
|
|
2522
2523
|
const u = this._before || this._after ? { name: t, args: o, context: {} } : void 0;
|
|
@@ -2546,20 +2547,20 @@ class _i {
|
|
|
2546
2547
|
};
|
|
2547
2548
|
}
|
|
2548
2549
|
}
|
|
2549
|
-
function
|
|
2550
|
-
return new
|
|
2550
|
+
function ki() {
|
|
2551
|
+
return new bi();
|
|
2551
2552
|
}
|
|
2552
|
-
function
|
|
2553
|
+
function xi(n) {
|
|
2553
2554
|
return Array.isArray(n) ? n : [n];
|
|
2554
2555
|
}
|
|
2555
|
-
const
|
|
2556
|
+
const Ii = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
2556
2557
|
"base",
|
|
2557
2558
|
"meta",
|
|
2558
2559
|
"link",
|
|
2559
2560
|
"style",
|
|
2560
2561
|
"script",
|
|
2561
2562
|
"noscript"
|
|
2562
|
-
],
|
|
2563
|
+
], Ei = [
|
|
2563
2564
|
"title",
|
|
2564
2565
|
"titleTemplate",
|
|
2565
2566
|
"templateParams",
|
|
@@ -2571,7 +2572,7 @@ const xi = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
|
2571
2572
|
"style",
|
|
2572
2573
|
"script",
|
|
2573
2574
|
"noscript"
|
|
2574
|
-
],
|
|
2575
|
+
], Ti = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Pt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "innerHTML", "textContent", "processTemplateParams"], $i = typeof window < "u";
|
|
2575
2576
|
function Ye(n) {
|
|
2576
2577
|
let e = 9;
|
|
2577
2578
|
for (let t = 0; t < n.length; )
|
|
@@ -2583,7 +2584,7 @@ function ct(n) {
|
|
|
2583
2584
|
}
|
|
2584
2585
|
function Bt(n, e) {
|
|
2585
2586
|
const { props: t, tag: o } = n;
|
|
2586
|
-
if (
|
|
2587
|
+
if (Ti.includes(o))
|
|
2587
2588
|
return o;
|
|
2588
2589
|
if (o === "link" && t.rel === "canonical")
|
|
2589
2590
|
return "canonical";
|
|
@@ -2601,7 +2602,7 @@ function Bt(n, e) {
|
|
|
2601
2602
|
function pt(n, e) {
|
|
2602
2603
|
return n == null ? e || null : typeof n == "function" ? n(e) : n;
|
|
2603
2604
|
}
|
|
2604
|
-
async function
|
|
2605
|
+
async function Si(n, e, t) {
|
|
2605
2606
|
const o = {
|
|
2606
2607
|
tag: n,
|
|
2607
2608
|
props: await Dt(
|
|
@@ -2613,16 +2614,16 @@ async function $i(n, e, t) {
|
|
|
2613
2614
|
};
|
|
2614
2615
|
return Pt.forEach((u) => {
|
|
2615
2616
|
const r = typeof o.props[u] < "u" ? o.props[u] : t[u];
|
|
2616
|
-
typeof r < "u" && ((!["innerHTML", "textContent"].includes(u) ||
|
|
2617
|
+
typeof r < "u" && ((!["innerHTML", "textContent"].includes(u) || Ii.includes(o.tag)) && (o[u] = r), delete o.props[u]);
|
|
2617
2618
|
}), o.props.body && (o.tagPosition = "bodyClose", delete o.props.body), o.props.children && (o.innerHTML = o.props.children, delete o.props.children), o.tag === "script" && (typeof o.innerHTML == "object" && (o.innerHTML = JSON.stringify(o.innerHTML), o.props.type = o.props.type || "application/json"), o.innerHTML && ["application/ld+json", "application/json"].includes(o.props.type) && (o.innerHTML = o.innerHTML.replace(/</g, "\\u003C"))), Array.isArray(o.props.content) ? o.props.content.map((u) => ({ ...o, props: { ...o.props, content: u } })) : o;
|
|
2618
2619
|
}
|
|
2619
|
-
function
|
|
2620
|
+
function Ci(n) {
|
|
2620
2621
|
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(" ");
|
|
2621
2622
|
}
|
|
2622
2623
|
async function Dt(n, e) {
|
|
2623
2624
|
for (const t of Object.keys(n)) {
|
|
2624
2625
|
if (t === "class") {
|
|
2625
|
-
n[t] =
|
|
2626
|
+
n[t] = Ci(n[t]);
|
|
2626
2627
|
continue;
|
|
2627
2628
|
}
|
|
2628
2629
|
if (n[t] instanceof Promise && (n[t] = await n[t]), !e && !Pt.includes(t)) {
|
|
@@ -2632,13 +2633,13 @@ async function Dt(n, e) {
|
|
|
2632
2633
|
}
|
|
2633
2634
|
return n;
|
|
2634
2635
|
}
|
|
2635
|
-
const
|
|
2636
|
-
async function
|
|
2636
|
+
const Vi = 10;
|
|
2637
|
+
async function Pi(n) {
|
|
2637
2638
|
const e = [];
|
|
2638
|
-
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" &&
|
|
2639
|
-
const u =
|
|
2640
|
-
e.push(...u.map((r) =>
|
|
2641
|
-
}), (await Promise.all(e)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i <<
|
|
2639
|
+
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" && Ei.includes(t)).forEach(([t, o]) => {
|
|
2640
|
+
const u = xi(o);
|
|
2641
|
+
e.push(...u.map((r) => Si(t, r, n)).flat());
|
|
2642
|
+
}), (await Promise.all(e)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << Vi) + o, t));
|
|
2642
2643
|
}
|
|
2643
2644
|
const ht = {
|
|
2644
2645
|
// tags
|
|
@@ -2655,13 +2656,13 @@ function Ee(n) {
|
|
|
2655
2656
|
const t = n.tagPriority;
|
|
2656
2657
|
return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (e = -30), n.props.charset && (e = -20), n.props.name === "viewport" && (e = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? e = 20 : n.tag in ht && (e = ht[n.tag]), typeof t == "string" && t in ft ? e + ft[t] : e);
|
|
2657
2658
|
}
|
|
2658
|
-
const
|
|
2659
|
+
const Bi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Lt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
|
|
2659
2660
|
function ke(n, e, t) {
|
|
2660
2661
|
if (typeof n != "string" || !n.includes("%"))
|
|
2661
2662
|
return n;
|
|
2662
2663
|
function o(p) {
|
|
2663
|
-
let
|
|
2664
|
-
return ["s", "pageTitle"].includes(p) ?
|
|
2664
|
+
let l;
|
|
2665
|
+
return ["s", "pageTitle"].includes(p) ? l = e.pageTitle : p.includes(".") ? l = p.split(".").reduce((h, c) => h && h[c] || void 0, e) : l = e[p], typeof l < "u" ? (l || "").replace(/"/g, '\\"') : !1;
|
|
2665
2666
|
}
|
|
2666
2667
|
let u = n;
|
|
2667
2668
|
try {
|
|
@@ -2669,11 +2670,11 @@ function ke(n, e, t) {
|
|
|
2669
2670
|
} catch {
|
|
2670
2671
|
}
|
|
2671
2672
|
return (u.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
|
|
2672
|
-
const
|
|
2673
|
-
typeof
|
|
2674
|
-
}), n.includes(
|
|
2673
|
+
const l = o(p.slice(1));
|
|
2674
|
+
typeof l == "string" && (n = n.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (h, c) => `${l}${c}`).trim());
|
|
2675
|
+
}), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n = ke(n, { separator: t }, t)), n;
|
|
2675
2676
|
}
|
|
2676
|
-
async function
|
|
2677
|
+
async function Di(n) {
|
|
2677
2678
|
const e = {
|
|
2678
2679
|
tag: n.tagName.toLowerCase(),
|
|
2679
2680
|
props: await Dt(
|
|
@@ -2683,7 +2684,7 @@ async function Bi(n) {
|
|
|
2683
2684
|
};
|
|
2684
2685
|
return e._d = Bt(e), e;
|
|
2685
2686
|
}
|
|
2686
|
-
async function
|
|
2687
|
+
async function Li(n, e = {}) {
|
|
2687
2688
|
const t = e.document || n.resolvedOptions.document;
|
|
2688
2689
|
if (!t)
|
|
2689
2690
|
return;
|
|
@@ -2703,7 +2704,7 @@ async function Di(n, e = {}) {
|
|
|
2703
2704
|
for (const m of ["body", "head"]) {
|
|
2704
2705
|
const g = t?.[m]?.children;
|
|
2705
2706
|
for (const k of [...g].filter((a) => be.includes(a.tagName.toLowerCase())))
|
|
2706
|
-
r.elMap[k.getAttribute("data-hid") || ct(await
|
|
2707
|
+
r.elMap[k.getAttribute("data-hid") || ct(await Di(k))] = k;
|
|
2707
2708
|
}
|
|
2708
2709
|
}
|
|
2709
2710
|
r.pendingSideEffects = { ...r.sideEffects || {} }, r.sideEffects = {};
|
|
@@ -2711,7 +2712,7 @@ async function Di(n, e = {}) {
|
|
|
2711
2712
|
const a = `${m}:${g}`;
|
|
2712
2713
|
r.sideEffects[a] = k, delete r.pendingSideEffects[a];
|
|
2713
2714
|
}
|
|
2714
|
-
function
|
|
2715
|
+
function l({ id: m, $el: g, tag: k }) {
|
|
2715
2716
|
const a = k.tag.endsWith("Attrs");
|
|
2716
2717
|
r.elMap[m] = g, a || (["textContent", "innerHTML"].forEach((_) => {
|
|
2717
2718
|
k[_] && k[_] !== g[_] && (g[_] = k[_]);
|
|
@@ -2738,38 +2739,38 @@ async function Di(n, e = {}) {
|
|
|
2738
2739
|
t.title = g.textContent;
|
|
2739
2740
|
continue;
|
|
2740
2741
|
}
|
|
2741
|
-
m.$el = m.$el || r.elMap[a], m.$el ?
|
|
2742
|
+
m.$el = m.$el || r.elMap[a], m.$el ? l(m) : be.includes(g.tag) && h.push(m);
|
|
2742
2743
|
}
|
|
2743
2744
|
}
|
|
2744
2745
|
for (const m of h) {
|
|
2745
2746
|
const g = m.tag.tagPosition || "head";
|
|
2746
|
-
m.$el = t.createElement(m.tag.tag),
|
|
2747
|
+
m.$el = t.createElement(m.tag.tag), l(m), c[g] = c[g] || t.createDocumentFragment(), c[g].appendChild(m.$el);
|
|
2747
2748
|
}
|
|
2748
2749
|
for (const m of u)
|
|
2749
2750
|
await n.hooks.callHook("dom:renderTag", m, t, p);
|
|
2750
2751
|
c.head && t.head.appendChild(c.head), c.bodyOpen && t.body.insertBefore(c.bodyOpen, t.body.firstChild), c.bodyClose && t.body.appendChild(c.bodyClose), Object.values(r.pendingSideEffects).forEach((m) => m()), n._dom = r, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: u });
|
|
2751
2752
|
}
|
|
2752
|
-
async function
|
|
2753
|
+
async function wi(n, e = {}) {
|
|
2753
2754
|
const t = e.delayFn || ((o) => setTimeout(o, 10));
|
|
2754
2755
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((o) => t(async () => {
|
|
2755
|
-
await
|
|
2756
|
+
await Li(n, e), delete n._domUpdatePromise, o();
|
|
2756
2757
|
}));
|
|
2757
2758
|
}
|
|
2758
2759
|
// @__NO_SIDE_EFFECTS__
|
|
2759
|
-
function
|
|
2760
|
+
function Oi(n) {
|
|
2760
2761
|
return (e) => {
|
|
2761
2762
|
const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
2762
2763
|
return t && e.push(JSON.parse(t)), {
|
|
2763
2764
|
mode: "client",
|
|
2764
2765
|
hooks: {
|
|
2765
2766
|
"entries:updated": function(o) {
|
|
2766
|
-
|
|
2767
|
+
wi(o, n);
|
|
2767
2768
|
}
|
|
2768
2769
|
}
|
|
2769
2770
|
};
|
|
2770
2771
|
};
|
|
2771
2772
|
}
|
|
2772
|
-
const
|
|
2773
|
+
const Hi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ai = {
|
|
2773
2774
|
hooks: {
|
|
2774
2775
|
"tag:normalise": function({ tag: n }) {
|
|
2775
2776
|
["hid", "vmid", "key"].forEach((o) => {
|
|
@@ -2783,8 +2784,8 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
|
|
|
2783
2784
|
n.tags.forEach((o) => {
|
|
2784
2785
|
const u = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, r = e[u];
|
|
2785
2786
|
if (r) {
|
|
2786
|
-
let
|
|
2787
|
-
if (!
|
|
2787
|
+
let l = o?.tagDuplicateStrategy;
|
|
2788
|
+
if (!l && Hi.includes(o.tag) && (l = "merge"), l === "merge") {
|
|
2788
2789
|
const h = r.props;
|
|
2789
2790
|
["class", "style"].forEach((c) => {
|
|
2790
2791
|
o.props[c] && h[c] && (c === "style" && !h[c].endsWith(";") && (h[c] += ";"), o.props[c] = `${h[c]} ${o.props[c]}`);
|
|
@@ -2827,19 +2828,19 @@ const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
|
|
|
2827
2828
|
});
|
|
2828
2829
|
}
|
|
2829
2830
|
}
|
|
2830
|
-
},
|
|
2831
|
-
function
|
|
2831
|
+
}, Mi = ["script", "link", "bodyAttrs"];
|
|
2832
|
+
function Ri(n) {
|
|
2832
2833
|
const e = {}, t = {};
|
|
2833
2834
|
return Object.entries(n.props).forEach(([o, u]) => {
|
|
2834
2835
|
o.startsWith("on") && typeof u == "function" ? (Lt.includes(o) && (e[o] = `this.dataset.${o} = true`), t[o] = u) : e[o] = u;
|
|
2835
2836
|
}), { props: e, eventHandlers: t };
|
|
2836
2837
|
}
|
|
2837
|
-
const
|
|
2838
|
+
const Ni = (n) => ({
|
|
2838
2839
|
hooks: {
|
|
2839
2840
|
"tags:resolve": function(e) {
|
|
2840
2841
|
for (const t of e.tags)
|
|
2841
|
-
if (
|
|
2842
|
-
const { props: o, eventHandlers: u } =
|
|
2842
|
+
if (Mi.includes(t.tag)) {
|
|
2843
|
+
const { props: o, eventHandlers: u } = Ri(t);
|
|
2843
2844
|
t.props = o, Object.keys(u).length && ((t.props.src || t.props.href) && (t.key = t.key || Ye(t.props.src || t.props.href)), t._eventHandlers = u);
|
|
2844
2845
|
}
|
|
2845
2846
|
},
|
|
@@ -2848,8 +2849,8 @@ const Ri = (n) => ({
|
|
|
2848
2849
|
return;
|
|
2849
2850
|
const u = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
|
|
2850
2851
|
Object.entries(e.tag._eventHandlers).forEach(([r, p]) => {
|
|
2851
|
-
const
|
|
2852
|
-
if (o(e.id,
|
|
2852
|
+
const l = `${e.tag._d || e.tag._p}:${r}`, h = r.slice(2).toLowerCase(), c = `data-h-${h}`;
|
|
2853
|
+
if (o(e.id, l, () => {
|
|
2853
2854
|
}), e.$el.hasAttribute(c))
|
|
2854
2855
|
return;
|
|
2855
2856
|
e.$el.setAttribute(c, "");
|
|
@@ -2861,23 +2862,23 @@ const Ri = (n) => ({
|
|
|
2861
2862
|
k.some((_) => _.attributeName === `data-${r}`) && (g(new Event(r.replace("on", ""))), m?.disconnect());
|
|
2862
2863
|
}), m.observe(e.$el, {
|
|
2863
2864
|
attributes: !0
|
|
2864
|
-
})) : u.addEventListener(h, g), o(e.id,
|
|
2865
|
+
})) : u.addEventListener(h, g), o(e.id, l, () => {
|
|
2865
2866
|
m?.disconnect(), u.removeEventListener(h, g), e.$el.removeAttribute(c);
|
|
2866
2867
|
});
|
|
2867
2868
|
});
|
|
2868
2869
|
}
|
|
2869
2870
|
}
|
|
2870
|
-
}),
|
|
2871
|
+
}), Wi = ["link", "style", "script", "noscript"], Ui = {
|
|
2871
2872
|
hooks: {
|
|
2872
2873
|
"tag:normalise": ({ tag: n }) => {
|
|
2873
|
-
n.key &&
|
|
2874
|
+
n.key && Wi.includes(n.tag) && (n.props["data-hid"] = n._h = Ye(n.key));
|
|
2874
2875
|
}
|
|
2875
2876
|
}
|
|
2876
|
-
},
|
|
2877
|
+
}, Fi = {
|
|
2877
2878
|
hooks: {
|
|
2878
2879
|
"tags:resolve": (n) => {
|
|
2879
2880
|
const e = (t) => n.tags.find((o) => o._d === t)?._p;
|
|
2880
|
-
for (const { prefix: t, offset: o } of
|
|
2881
|
+
for (const { prefix: t, offset: o } of Bi)
|
|
2881
2882
|
for (const u of n.tags.filter((r) => typeof r.tagPriority == "string" && r.tagPriority.startsWith(t))) {
|
|
2882
2883
|
const r = e(
|
|
2883
2884
|
u.tagPriority.replace(t, "")
|
|
@@ -2887,25 +2888,25 @@ const Ri = (n) => ({
|
|
|
2887
2888
|
n.tags.sort((t, o) => t._p - o._p).sort((t, o) => Ee(t) - Ee(o));
|
|
2888
2889
|
}
|
|
2889
2890
|
}
|
|
2890
|
-
},
|
|
2891
|
+
}, qi = {
|
|
2891
2892
|
meta: "content",
|
|
2892
2893
|
link: "href",
|
|
2893
2894
|
htmlAttrs: "lang"
|
|
2894
|
-
},
|
|
2895
|
+
}, Gi = (n) => ({
|
|
2895
2896
|
hooks: {
|
|
2896
2897
|
"tags:resolve": (e) => {
|
|
2897
|
-
const { tags: t } = e, o = t.find((
|
|
2898
|
+
const { tags: t } = e, o = t.find((l) => l.tag === "title")?.textContent, u = t.findIndex((l) => l.tag === "templateParams"), r = u !== -1 ? t[u].props : {}, p = r.separator || "|";
|
|
2898
2899
|
delete r.separator, r.pageTitle = ke(r.pageTitle || o || "", r, p);
|
|
2899
|
-
for (const
|
|
2900
|
-
const h =
|
|
2901
|
-
h && typeof
|
|
2902
|
-
typeof
|
|
2900
|
+
for (const l of t.filter((h) => h.processTemplateParams !== !1)) {
|
|
2901
|
+
const h = qi[l.tag];
|
|
2902
|
+
h && typeof l.props[h] == "string" ? l.props[h] = ke(l.props[h], r, p) : (l.processTemplateParams === !0 || ["titleTemplate", "title"].includes(l.tag)) && ["innerHTML", "textContent"].forEach((c) => {
|
|
2903
|
+
typeof l[c] == "string" && (l[c] = ke(l[c], r, p));
|
|
2903
2904
|
});
|
|
2904
2905
|
}
|
|
2905
|
-
n._templateParams = r, n._separator = p, e.tags = t.filter((
|
|
2906
|
+
n._templateParams = r, n._separator = p, e.tags = t.filter((l) => l.tag !== "templateParams");
|
|
2906
2907
|
}
|
|
2907
2908
|
}
|
|
2908
|
-
}),
|
|
2909
|
+
}), ji = {
|
|
2909
2910
|
hooks: {
|
|
2910
2911
|
"tags:resolve": (n) => {
|
|
2911
2912
|
const { tags: e } = n;
|
|
@@ -2928,21 +2929,21 @@ const Ri = (n) => ({
|
|
|
2928
2929
|
}
|
|
2929
2930
|
};
|
|
2930
2931
|
// @__NO_SIDE_EFFECTS__
|
|
2931
|
-
function
|
|
2932
|
-
const e =
|
|
2933
|
-
return e.use(/* @__PURE__ */
|
|
2932
|
+
function Yi(n = {}) {
|
|
2933
|
+
const e = Qi(n);
|
|
2934
|
+
return e.use(/* @__PURE__ */ Oi()), e;
|
|
2934
2935
|
}
|
|
2935
2936
|
function mt(n, e) {
|
|
2936
2937
|
return !n || n === "server" && e || n === "client" && !e;
|
|
2937
2938
|
}
|
|
2938
|
-
function
|
|
2939
|
-
const e =
|
|
2940
|
-
e.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2939
|
+
function Qi(n = {}) {
|
|
2940
|
+
const e = ki();
|
|
2941
|
+
e.addHooks(n.hooks || {}), n.document = n.document || ($i ? document : void 0);
|
|
2941
2942
|
const t = !n.document, o = () => {
|
|
2942
|
-
|
|
2943
|
+
l.dirty = !0, e.callHook("entries:updated", l);
|
|
2943
2944
|
};
|
|
2944
2945
|
let u = 0, r = [];
|
|
2945
|
-
const p = [],
|
|
2946
|
+
const p = [], l = {
|
|
2946
2947
|
plugins: p,
|
|
2947
2948
|
dirty: !1,
|
|
2948
2949
|
resolvedOptions: n,
|
|
@@ -2951,7 +2952,7 @@ function Yi(n = {}) {
|
|
|
2951
2952
|
return r;
|
|
2952
2953
|
},
|
|
2953
2954
|
use(h) {
|
|
2954
|
-
const c = typeof h == "function" ? h(
|
|
2955
|
+
const c = typeof h == "function" ? h(l) : h;
|
|
2955
2956
|
(!c.key || !p.some((m) => m.key === c.key)) && (p.push(c), mt(c.mode, t) && e.addHooks(c.hooks || {}));
|
|
2956
2957
|
},
|
|
2957
2958
|
push(h, c) {
|
|
@@ -2963,7 +2964,7 @@ function Yi(n = {}) {
|
|
|
2963
2964
|
};
|
|
2964
2965
|
return mt(m.mode, t) && (r.push(m), o()), {
|
|
2965
2966
|
dispose() {
|
|
2966
|
-
r = r.filter((g) => g._i !== m._i), e.callHook("entries:updated",
|
|
2967
|
+
r = r.filter((g) => g._i !== m._i), e.callHook("entries:updated", l), o();
|
|
2967
2968
|
},
|
|
2968
2969
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2969
2970
|
patch(g) {
|
|
@@ -2977,8 +2978,8 @@ function Yi(n = {}) {
|
|
|
2977
2978
|
for (const c of h.entries) {
|
|
2978
2979
|
const m = c.resolvedInput || c.input;
|
|
2979
2980
|
if (c.resolvedInput = await (c.transform ? c.transform(m) : m), c.resolvedInput)
|
|
2980
|
-
for (const g of await
|
|
2981
|
-
const k = { tag: g, entry: c, resolvedOptions:
|
|
2981
|
+
for (const g of await Pi(c)) {
|
|
2982
|
+
const k = { tag: g, entry: c, resolvedOptions: l.resolvedOptions };
|
|
2982
2983
|
await e.callHook("tag:normalise", k), h.tags.push(k.tag);
|
|
2983
2984
|
}
|
|
2984
2985
|
}
|
|
@@ -2987,55 +2988,55 @@ function Yi(n = {}) {
|
|
|
2987
2988
|
ssr: t
|
|
2988
2989
|
};
|
|
2989
2990
|
return [
|
|
2990
|
-
|
|
2991
|
+
Ai,
|
|
2991
2992
|
zi,
|
|
2992
|
-
|
|
2993
|
-
Wi,
|
|
2993
|
+
Ni,
|
|
2994
2994
|
Ui,
|
|
2995
|
-
|
|
2995
|
+
Fi,
|
|
2996
2996
|
Gi,
|
|
2997
|
+
ji,
|
|
2997
2998
|
...n?.plugins || []
|
|
2998
|
-
].forEach((h) =>
|
|
2999
|
+
].forEach((h) => l.use(h)), l.hooks.callHook("init", l), l;
|
|
2999
3000
|
}
|
|
3000
|
-
const
|
|
3001
|
-
function
|
|
3002
|
-
return typeof n == "function" ? n() :
|
|
3001
|
+
const Ki = bo.startsWith("3");
|
|
3002
|
+
function Ji(n) {
|
|
3003
|
+
return typeof n == "function" ? n() : s(n);
|
|
3003
3004
|
}
|
|
3004
3005
|
function qe(n, e = "") {
|
|
3005
3006
|
if (n instanceof Promise)
|
|
3006
3007
|
return n;
|
|
3007
|
-
const t =
|
|
3008
|
+
const t = Ji(n);
|
|
3008
3009
|
return !n || !t ? t : Array.isArray(t) ? t.map((o) => qe(o, e)) : typeof t == "object" ? Object.fromEntries(
|
|
3009
|
-
Object.entries(t).map(([o, u]) => o === "titleTemplate" || o.startsWith("on") ? [o,
|
|
3010
|
+
Object.entries(t).map(([o, u]) => o === "titleTemplate" || o.startsWith("on") ? [o, s(u)] : [o, qe(u, o)])
|
|
3010
3011
|
) : t;
|
|
3011
3012
|
}
|
|
3012
|
-
const
|
|
3013
|
+
const Xi = {
|
|
3013
3014
|
hooks: {
|
|
3014
3015
|
"entries:resolve": function(n) {
|
|
3015
3016
|
for (const e of n.entries)
|
|
3016
3017
|
e.resolvedInput = qe(e.input);
|
|
3017
3018
|
}
|
|
3018
3019
|
}
|
|
3019
|
-
},
|
|
3020
|
-
function
|
|
3020
|
+
}, Zi = "usehead";
|
|
3021
|
+
function er(n) {
|
|
3021
3022
|
return {
|
|
3022
3023
|
install(t) {
|
|
3023
|
-
|
|
3024
|
+
Ki && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(Zi, n));
|
|
3024
3025
|
}
|
|
3025
3026
|
}.install;
|
|
3026
3027
|
}
|
|
3027
|
-
function
|
|
3028
|
+
function tr(n = {}) {
|
|
3028
3029
|
n.domDelayFn = n.domDelayFn || ((t) => xt(() => setTimeout(() => t(), 0)));
|
|
3029
|
-
const e = /* @__PURE__ */
|
|
3030
|
-
return e.use(
|
|
3030
|
+
const e = /* @__PURE__ */ Yi(n);
|
|
3031
|
+
return e.use(Xi), e.install = er(e), e;
|
|
3031
3032
|
}
|
|
3032
|
-
const
|
|
3033
|
-
oe.use(or);
|
|
3034
|
-
oe.use(tr);
|
|
3033
|
+
const or = ko(), nr = tr(), ir = xo(), oe = Io({ components: { Hotel: ii } });
|
|
3035
3034
|
oe.use(nr);
|
|
3035
|
+
oe.use(or);
|
|
3036
|
+
oe.use(ir);
|
|
3036
3037
|
oe.use(Ct);
|
|
3037
|
-
oe.use(
|
|
3038
|
-
oe.use(
|
|
3039
|
-
oe.use(
|
|
3040
|
-
oe.use(
|
|
3038
|
+
oe.use(Ro);
|
|
3039
|
+
oe.use(Eo);
|
|
3040
|
+
oe.use(wo);
|
|
3041
|
+
oe.use(To, { bootstrap: !0 });
|
|
3041
3042
|
oe.mount("#konnectio-hotel-app");
|