@konnectio/core 4.0.56-rc5 → 4.0.56-rc6
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--byx0Lp1.js → ActionField-YyW_C34E.js} +1 -1
- package/dist/ActionField-YyW_C34E.js.br +0 -0
- package/dist/{AvailabilitySkeleton-cL6E9wAp.js → AvailabilitySkeleton-lYcDX41T.js} +4 -4
- package/dist/AvailabilitySkeleton-lYcDX41T.js.br +0 -0
- package/dist/{CheckoutWindow-_ZUCAYgm.js → CheckoutWindow-T7-vrZyG.js} +1 -1
- package/dist/CheckoutWindow-T7-vrZyG.js.br +0 -0
- package/dist/{Container-6UeOakwz.js → Container-w7O0He-s.js} +1 -1
- package/dist/Container-w7O0He-s.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js → DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js.br +0 -0
- package/dist/{Field-GdMucFcQ.js → Field-fWwF40rD.js} +7 -7
- package/dist/Field-fWwF40rD.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js → SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js} +14599 -11378
- package/dist/SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js.br +0 -0
- package/dist/{ThankYou-9pzt2SfJ.js → ThankYou-pUA2X7-4.js} +1692 -1851
- package/dist/ThankYou-pUA2X7-4.js.br +0 -0
- package/dist/{_-5uiOrU07.js → _-TlutFgf7.js} +1 -1
- package/dist/availability.js +93 -94
- package/dist/availability.js.br +0 -0
- package/dist/components/Alert.vue.d.ts +4 -4
- package/dist/components/Clickable.vue.d.ts +5 -5
- package/dist/components/Container.vue.d.ts +4 -4
- package/dist/components/ErrorMessage.vue.d.ts +3 -3
- package/dist/components/Gallery.vue.d.ts +4 -4
- package/dist/components/GoogleNotice.vue.d.ts +1 -1
- package/dist/components/Icon.vue.d.ts +4 -4
- package/dist/components/Loading.vue.d.ts +4 -4
- package/dist/components/Spinner.vue.d.ts +1 -1
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts +4 -4
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +4 -4
- package/dist/components/forms/HotelReservationForm.vue.d.ts +4 -4
- package/dist/components/forms/MultiStepForm.vue.d.ts +5 -5
- package/dist/components/forms/ReservationForm.vue.d.ts +4 -4
- package/dist/components/forms/_.vue.d.ts +5 -5
- package/dist/components/inputs/Checkbox.vue.d.ts +6 -6
- package/dist/components/inputs/CheckboxField.vue.d.ts +5 -5
- package/dist/components/inputs/DateField.vue.d.ts +5 -5
- package/dist/components/inputs/InputField.vue.d.ts +4 -4
- package/dist/components/inputs/MediaSelector.vue.d.ts +5 -5
- package/dist/components/inputs/NumberField.vue.d.ts +5 -5
- package/dist/components/inputs/SelectField.vue.d.ts +5 -5
- package/dist/components/inputs/TextField.vue.d.ts +6 -6
- package/dist/components/inputs/TimeField.vue.d.ts +4 -4
- package/dist/components/inputs/grouped/ActionField.vue.d.ts +5 -5
- package/dist/components/inputs/grouped/CountryField.vue.d.ts +5 -5
- package/dist/components/inputs/grouped/NameField.vue.d.ts +6 -6
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts +6 -6
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +5 -5
- package/dist/components/listings/Base.vue.d.ts +4 -4
- package/dist/components/listings/Event.vue.d.ts +4 -4
- package/dist/components/listings/Hotel.vue.d.ts +3 -3
- package/dist/components/listings/Template.vue.d.ts +3 -3
- package/dist/components/side-panels/Base.vue.d.ts +5 -5
- package/dist/components/side-panels/ListingInfo.vue.d.ts +3 -3
- package/dist/components/side-panels/Template.vue.d.ts +3 -3
- package/dist/components/side-panels/TermsOfService.vue.d.ts +3 -3
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +4 -4
- package/dist/components/skeletons/Field.vue.d.ts +4 -4
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +1 -1
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +1 -1
- package/dist/components/skeletons/Listing.vue.d.ts +1 -1
- package/dist/components/skeletons/Sidebar.vue.d.ts +1 -1
- package/dist/components/skeletons/_.vue.d.ts +4 -4
- package/dist/components/views/CheckoutWindow.vue.d.ts +1 -1
- package/dist/components/views/TermsOfService.vue.d.ts +1 -1
- package/dist/components/views/ThankYou.vue.d.ts +4 -4
- package/dist/entries/availability.d.ts +5 -5
- package/dist/entries/event.d.ts +1 -1
- package/dist/entries/gift-card-validation.d.ts +5 -5
- package/dist/entries/gift-card.d.ts +5 -5
- package/dist/entries/hotel.d.ts +5 -5
- package/dist/{event-jnP6wH4w.js → event-mDcuoL9g.js} +7 -7
- package/dist/event-mDcuoL9g.js.br +0 -0
- package/dist/event.js +7 -7
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +79 -67
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +276 -265
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +845 -837
- package/dist/hotel.js.br +0 -0
- package/dist/layouts/Availability.vue.d.ts +4 -4
- package/dist/layouts/Event.vue.d.ts +4 -4
- package/dist/layouts/GiftCard.vue.d.ts +4 -4
- package/dist/layouts/GiftCardValidation.vue.d.ts +4 -4
- package/dist/layouts/Hotel.vue.d.ts +4 -4
- package/dist/layouts/_.vue.d.ts +4 -4
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/store/alert.d.ts +15 -15
- package/dist/store/applyGiftCard.d.ts +18 -18
- package/dist/store/availability.d.ts +12 -12
- package/dist/store/event.d.ts +141 -141
- package/dist/store/giftCard.d.ts +51 -51
- package/dist/store/payment.d.ts +39 -39
- package/dist/store/recaptcha.d.ts +3 -3
- package/dist/store/tracking.d.ts +6 -6
- package/dist/store/utilities.d.ts +129 -129
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +4 -3
- package/dist/ActionField--byx0Lp1.js.br +0 -0
- package/dist/AvailabilitySkeleton-cL6E9wAp.js.br +0 -0
- package/dist/CheckoutWindow-_ZUCAYgm.js.br +0 -0
- package/dist/Container-6UeOakwz.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js.br +0 -0
- package/dist/Field-GdMucFcQ.js.br +0 -5
- package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js.br +0 -0
- package/dist/ThankYou-9pzt2SfJ.js.br +0 -0
- package/dist/event-jnP6wH4w.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var ho = Object.defineProperty, fo = Object.defineProperties;
|
|
2
|
+
var mo = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var tt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var nt = Math.pow, ot = (o, e, t) => e in o ?
|
|
4
|
+
var go = Object.prototype.hasOwnProperty, vo = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var nt = Math.pow, ot = (o, e, t) => e in o ? ho(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, ee = (o, e) => {
|
|
6
6
|
for (var t in e || (e = {}))
|
|
7
|
-
|
|
7
|
+
go.call(e, t) && ot(o, t, e[t]);
|
|
8
8
|
if (tt)
|
|
9
9
|
for (var t of tt(e))
|
|
10
|
-
|
|
10
|
+
vo.call(e, t) && ot(o, t, e[t]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
var Q = (o, e, t) => new Promise((n,
|
|
12
|
+
}, ge = (o, e) => fo(o, mo(e));
|
|
13
|
+
var Q = (o, e, t) => new Promise((n, a) => {
|
|
14
14
|
var u = (d) => {
|
|
15
15
|
try {
|
|
16
16
|
h(t.next(d));
|
|
17
|
-
} catch (
|
|
18
|
-
|
|
17
|
+
} catch (p) {
|
|
18
|
+
a(p);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, c = (d) => {
|
|
21
21
|
try {
|
|
22
22
|
h(t.throw(d));
|
|
23
|
-
} catch (
|
|
24
|
-
|
|
23
|
+
} catch (p) {
|
|
24
|
+
a(p);
|
|
25
25
|
}
|
|
26
|
-
}, h = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(u,
|
|
26
|
+
}, h = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(u, c);
|
|
27
27
|
h((t = t.apply(o, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { k as j, F as re, al as
|
|
30
|
-
import { R as
|
|
31
|
-
import { C as
|
|
32
|
-
import { A as
|
|
33
|
-
import { _ as
|
|
34
|
-
import { C as Ue, P as No, a as
|
|
35
|
-
import { E as Y } from "./_-
|
|
29
|
+
import { k as j, F as re, al as yo, s as K, c as me, aa as kt, ab as se, o as E, m as R, X as bo, z as l, w, D as we, x as v, H as V, M as ne, Z as it, am as ko, l as C, a4 as z, a3 as B, n as x, a6 as qe, an as ce, p as I, K as J, L as ie, f as q, y as Ce, Q as _t, R as Et, _ as X, r as he, ao as Tt, B as Ye, a2 as Ee, A as It, C as de, ap as _o, a1 as Eo, q as Te, I as Ct, v as rt, T as oe, aq as To, G as Io, a7 as Co, N as st, J as N, P as $o, ar as $t, as as So, U as Vo, V as Lo, W as Po, a9 as xo } from "./SelectField.vue_vue_type_style_index_0_lang-C-MscjWo.js";
|
|
30
|
+
import { R as wo, B as Ke, a as Ho, S as Oo, M as Do, T as Ao, x as Mo } from "./ThankYou-pUA2X7-4.js";
|
|
31
|
+
import { C as Ro } from "./Container-w7O0He-s.js";
|
|
32
|
+
import { A as Bo, H as zo } from "./AvailabilitySkeleton-lYcDX41T.js";
|
|
33
|
+
import { _ as Wo } from "./DateField.vue_vue_type_style_index_0_lang-pLqbpoS_.js";
|
|
34
|
+
import { C as Ue, P as No, a as Fo } from "./CheckoutWindow-T7-vrZyG.js";
|
|
35
|
+
import { E as Y } from "./_-TlutFgf7.js";
|
|
36
36
|
import { c as St, g as Vt } from "./_commonjsHelpers-4t9S7M5p.js";
|
|
37
|
-
import "./ActionField
|
|
38
|
-
import "./Field-
|
|
39
|
-
const
|
|
37
|
+
import "./ActionField-YyW_C34E.js";
|
|
38
|
+
import "./Field-fWwF40rD.js";
|
|
39
|
+
const qo = { key: 0 }, Uo = { key: 1 }, He = /* @__PURE__ */ j({
|
|
40
40
|
__name: "HotelReservationForm",
|
|
41
41
|
props: {
|
|
42
42
|
showGiftCard: { type: Boolean, default: !1 },
|
|
43
43
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
44
44
|
},
|
|
45
45
|
setup(o) {
|
|
46
|
-
const { t: e } = re(), t =
|
|
46
|
+
const { t: e } = re(), t = yo(), {
|
|
47
47
|
hideArrivalDepartureInputs: n,
|
|
48
|
-
disableArrivalUserSelection:
|
|
48
|
+
disableArrivalUserSelection: a,
|
|
49
49
|
disableDepartureUserSelection: u,
|
|
50
|
-
arrivalDefault:
|
|
50
|
+
arrivalDefault: c,
|
|
51
51
|
departureDefault: h,
|
|
52
52
|
currency: d
|
|
53
|
-
} = K(
|
|
54
|
-
arrivalDate:
|
|
53
|
+
} = K(me()), {
|
|
54
|
+
arrivalDate: p,
|
|
55
55
|
departureDate: m
|
|
56
56
|
} = K(kt()), {
|
|
57
57
|
arrivalTime: y,
|
|
@@ -65,60 +65,60 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
|
|
|
65
65
|
discountVouchers: g
|
|
66
66
|
} = K(se()), { removeRoom: T } = se();
|
|
67
67
|
function $(L) {
|
|
68
|
-
return L.reduce((D, { totalPrice:
|
|
68
|
+
return L.reduce((D, { totalPrice: A }) => D + A, 0);
|
|
69
69
|
}
|
|
70
|
-
return (L, H) => (E(),
|
|
71
|
-
"total-price":
|
|
70
|
+
return (L, H) => (E(), R(wo, {
|
|
71
|
+
"total-price": l(_),
|
|
72
72
|
"show-gift-card": L.showGiftCard,
|
|
73
73
|
"show-terms-notice": L.showTermsNotice,
|
|
74
|
-
"is-sidebar-loading":
|
|
75
|
-
notice:
|
|
76
|
-
},
|
|
74
|
+
"is-sidebar-loading": l(f),
|
|
75
|
+
notice: l(e)("hotel.reservationNotice")
|
|
76
|
+
}, bo({
|
|
77
77
|
form: w(() => [
|
|
78
78
|
we(L.$slots, "form")
|
|
79
79
|
]),
|
|
80
80
|
"reservation-summary": w(() => [
|
|
81
81
|
v("li", null, [
|
|
82
|
-
v("span", null, V(
|
|
83
|
-
v("b", null, V(
|
|
82
|
+
v("span", null, V(l(e)("booking.reservation.arrival")), 1),
|
|
83
|
+
v("b", null, V(l(n) ? l(ne)(l(p)) : `${l(ne)(l(p))}, ${l(a) ? l(c) : l(y)}`), 1)
|
|
84
84
|
]),
|
|
85
85
|
v("li", null, [
|
|
86
|
-
v("span", null, V(
|
|
87
|
-
v("b", null, V(
|
|
86
|
+
v("span", null, V(l(e)("booking.reservation.departure")), 1),
|
|
87
|
+
v("b", null, V(l(n) ? l(ne)(l(m)) : `${l(ne)(l(m))}, ${l(u) ? l(h) : l(b)}`), 1)
|
|
88
88
|
]),
|
|
89
89
|
v("li", null, [
|
|
90
|
-
v("span", null, V(
|
|
91
|
-
v("b", null, V(
|
|
90
|
+
v("span", null, V(l(e)("booking.reservation.nights")), 1),
|
|
91
|
+
v("b", null, V(l(it)(l(p), l(m))) + " " + V(l(ko)(l(it)(l(p), l(m)) === 1 ? l(e)("booking.reservation.night") : l(e)("booking.reservation.nights"))), 1)
|
|
92
92
|
]),
|
|
93
|
-
|
|
93
|
+
l(g) ? (E(!0), C(B, { key: 0 }, z(l(g), (D) => (E(), C("li", {
|
|
94
94
|
key: D.id
|
|
95
95
|
}, [
|
|
96
|
-
v("span", null, V(`${
|
|
96
|
+
v("span", null, V(`${l(e)("general.discountCode")} (${D.value})`), 1),
|
|
97
97
|
v("b", null, V(D.key), 1)
|
|
98
98
|
]))), 128)) : x("", !0)
|
|
99
99
|
]),
|
|
100
100
|
"price-summary": w(() => [
|
|
101
|
-
isNaN(
|
|
101
|
+
isNaN(l(k)) && l(s).length > 0 ? (E(!0), C(B, { key: 0 }, z(l(s), ({
|
|
102
102
|
roomGroupID: D,
|
|
103
|
-
title:
|
|
103
|
+
title: A,
|
|
104
104
|
variants: W
|
|
105
105
|
}) => (E(), C("div", { key: D }, [
|
|
106
106
|
v("h6", null, [
|
|
107
|
-
v("span", null, V(
|
|
107
|
+
v("span", null, V(A), 1)
|
|
108
108
|
]),
|
|
109
|
-
(E(!0), C(
|
|
110
|
-
(E(!0), C(
|
|
109
|
+
(E(!0), C(B, null, z(W, (Z, ae) => (E(), C("div", { key: ae }, [
|
|
110
|
+
(E(!0), C(B, null, z(Z.rooms, (U, $e) => (E(), C("ul", { key: $e }, [
|
|
111
111
|
v("li", null, [
|
|
112
112
|
v("span", null, [
|
|
113
113
|
v("span", null, [
|
|
114
|
-
qe(V(
|
|
114
|
+
qe(V(l(ce)(Z.name)) + " ( ", 1),
|
|
115
115
|
I(J, {
|
|
116
116
|
icon: "male",
|
|
117
117
|
type: "fas",
|
|
118
118
|
color: "font"
|
|
119
119
|
}),
|
|
120
120
|
v("span", null, V(U.adultsCount), 1),
|
|
121
|
-
U.childrenCount > 0 ? (E(), C(
|
|
121
|
+
U.childrenCount > 0 ? (E(), C(B, { key: 0 }, [
|
|
122
122
|
I(J, {
|
|
123
123
|
icon: "child",
|
|
124
124
|
type: "fas",
|
|
@@ -130,29 +130,29 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
|
|
|
130
130
|
])
|
|
131
131
|
]),
|
|
132
132
|
v("b", null, [
|
|
133
|
-
v("span", null, V(
|
|
133
|
+
v("span", null, V(l(ie)(U.totalPrice, l(d))), 1),
|
|
134
134
|
x("", !0)
|
|
135
135
|
])
|
|
136
136
|
]),
|
|
137
|
-
$(U.roomAddons) > 0 ? (E(), C("li",
|
|
138
|
-
v("span", null, V(
|
|
139
|
-
v("b", null, V(
|
|
137
|
+
$(U.roomAddons) > 0 ? (E(), C("li", qo, [
|
|
138
|
+
v("span", null, V(l(e)("booking.reservation.addons")), 1),
|
|
139
|
+
v("b", null, V(l(ie)($(U.roomAddons), l(d))), 1)
|
|
140
140
|
])) : x("", !0)
|
|
141
141
|
]))), 128))
|
|
142
142
|
]))), 128))
|
|
143
143
|
]))), 128)) : x("", !0),
|
|
144
|
-
|
|
144
|
+
l(i) && l(r) ? (E(), C("div", Uo, [
|
|
145
145
|
v("h6", null, [
|
|
146
|
-
v("span", null, V(
|
|
146
|
+
v("span", null, V(l(ce)(l(r).name)), 1)
|
|
147
147
|
]),
|
|
148
148
|
v("div", null, [
|
|
149
149
|
v("ul", null, [
|
|
150
150
|
v("li", null, [
|
|
151
151
|
v("span", null, [
|
|
152
|
-
v("span", null, V(
|
|
152
|
+
v("span", null, V(l(ce)(l(i).title)), 1)
|
|
153
153
|
]),
|
|
154
154
|
v("b", null, [
|
|
155
|
-
v("span", null, V(
|
|
155
|
+
v("span", null, V(l(ie)(l(i).extraPrice, l(d))), 1)
|
|
156
156
|
])
|
|
157
157
|
])
|
|
158
158
|
])
|
|
@@ -164,7 +164,7 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
|
|
|
164
164
|
]),
|
|
165
165
|
_: 2
|
|
166
166
|
}, [
|
|
167
|
-
|
|
167
|
+
l(t).addons ? {
|
|
168
168
|
name: "addons",
|
|
169
169
|
fn: w(() => [
|
|
170
170
|
we(L.$slots, "addons")
|
|
@@ -173,7 +173,7 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
|
|
|
173
173
|
} : void 0
|
|
174
174
|
]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
175
175
|
}
|
|
176
|
-
}),
|
|
176
|
+
}), Go = (o) => (_t("data-v-69fe83d8"), o = o(), Et(), o), jo = { class: "konnectio-room-config-option" }, Yo = { key: 0 }, Ko = { class: "konnectio-selected-room-config" }, Qo = { class: "konnectio-selected-room-config-people" }, Jo = { key: 0 }, Xo = { class: "konnectio-selected-room-config-price" }, Zo = /* @__PURE__ */ Go(() => /* @__PURE__ */ v("span", null, null, -1)), en = /* @__PURE__ */ j({
|
|
177
177
|
__name: "RoomConfigField",
|
|
178
178
|
props: {
|
|
179
179
|
modelValue: {},
|
|
@@ -184,17 +184,17 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
|
|
|
184
184
|
},
|
|
185
185
|
emits: ["update:modelValue"],
|
|
186
186
|
setup(o, { emit: e }) {
|
|
187
|
-
const { t } = re(), { currency: n } = K(
|
|
188
|
-
function
|
|
189
|
-
|
|
187
|
+
const { t } = re(), { currency: n } = K(me()), a = e, u = o;
|
|
188
|
+
function c(d) {
|
|
189
|
+
a("update:modelValue", d);
|
|
190
190
|
}
|
|
191
191
|
const h = q({
|
|
192
192
|
get: () => u.modelValue,
|
|
193
|
-
set: (d) =>
|
|
193
|
+
set: (d) => c(d)
|
|
194
194
|
});
|
|
195
|
-
return (d,
|
|
195
|
+
return (d, p) => (E(), R(Ce, {
|
|
196
196
|
modelValue: h.value,
|
|
197
|
-
"onUpdate:modelValue":
|
|
197
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => h.value = m),
|
|
198
198
|
label: d.label,
|
|
199
199
|
placeholder: "Select guest configuration",
|
|
200
200
|
labelKey: "label",
|
|
@@ -206,7 +206,7 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
|
|
|
206
206
|
searchable: !1
|
|
207
207
|
}, {
|
|
208
208
|
option: w(({ data: m }) => [
|
|
209
|
-
v("span",
|
|
209
|
+
v("span", jo, [
|
|
210
210
|
v("div", null, [
|
|
211
211
|
I(J, {
|
|
212
212
|
icon: "male",
|
|
@@ -214,7 +214,7 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
|
|
|
214
214
|
color: "font"
|
|
215
215
|
}),
|
|
216
216
|
v("span", null, V(`${m.adults}`), 1),
|
|
217
|
-
m.children > 0 ? (E(), C("span",
|
|
217
|
+
m.children > 0 ? (E(), C("span", Yo, [
|
|
218
218
|
I(J, {
|
|
219
219
|
icon: "child",
|
|
220
220
|
type: "fas",
|
|
@@ -223,40 +223,40 @@ const Uo = { key: 0 }, Go = { key: 1 }, He = /* @__PURE__ */ j({
|
|
|
223
223
|
v("span", null, V(`${m.children}`), 1)
|
|
224
224
|
])) : x("", !0)
|
|
225
225
|
]),
|
|
226
|
-
v("span", null, V(`(${
|
|
226
|
+
v("span", null, V(`(${l(ie)(m.price, l(n))})`), 1)
|
|
227
227
|
])
|
|
228
228
|
]),
|
|
229
229
|
"selected-option": w(({ data: m }) => [
|
|
230
|
-
v("div",
|
|
231
|
-
v("div",
|
|
230
|
+
v("div", Ko, [
|
|
231
|
+
v("div", Qo, [
|
|
232
232
|
v("div", null, [
|
|
233
233
|
x("", !0),
|
|
234
|
-
v("span", null, V(`${m.adults} ${m.adults === 1 ?
|
|
234
|
+
v("span", null, V(`${m.adults} ${m.adults === 1 ? l(t)("general.adult") : l(t)("general.adults")}`), 1)
|
|
235
235
|
]),
|
|
236
|
-
m.children > 0 ? (E(), C("div",
|
|
236
|
+
m.children > 0 ? (E(), C("div", Jo, [
|
|
237
237
|
x("", !0),
|
|
238
|
-
v("span", null, V(`& ${m.children} ${m.children === 1 ?
|
|
238
|
+
v("span", null, V(`& ${m.children} ${m.children === 1 ? l(t)("general.child") : l(t)("general.children")}`), 1)
|
|
239
239
|
])) : x("", !0)
|
|
240
240
|
]),
|
|
241
|
-
v("div",
|
|
242
|
-
|
|
243
|
-
qe(" " + V(`(${
|
|
241
|
+
v("div", Xo, [
|
|
242
|
+
Zo,
|
|
243
|
+
qe(" " + V(`(${l(ie)(m.price, l(n))})`), 1)
|
|
244
244
|
])
|
|
245
245
|
])
|
|
246
246
|
]),
|
|
247
247
|
_: 1
|
|
248
248
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
249
249
|
}
|
|
250
|
-
}),
|
|
251
|
-
const
|
|
250
|
+
}), tn = /* @__PURE__ */ X(en, [["__scopeId", "data-v-69fe83d8"]]), on = { class: "konnectio-availability-listing-selection" }, nn = { key: 1 }, rn = { class: "fresh-booking-listing-config-body" }, sn = { class: "fresh-booking-listing-units-body" };
|
|
251
|
+
const an = /* @__PURE__ */ j({
|
|
252
252
|
__name: "Hotel",
|
|
253
253
|
props: {
|
|
254
254
|
room: {},
|
|
255
255
|
layout: {}
|
|
256
256
|
},
|
|
257
257
|
setup(o) {
|
|
258
|
-
const { t: e } = re(), t = o, n =
|
|
259
|
-
function
|
|
258
|
+
const { t: e } = re(), t = o, n = he([]);
|
|
259
|
+
function a(r) {
|
|
260
260
|
n.value[r].config.push({
|
|
261
261
|
id: NaN,
|
|
262
262
|
units: 0,
|
|
@@ -266,7 +266,7 @@ const ln = /* @__PURE__ */ j({
|
|
|
266
266
|
const u = q(() => t.room.rates.map((r) => ({
|
|
267
267
|
label: r.name,
|
|
268
268
|
value: r.id
|
|
269
|
-
}))), { hideAvailableRoomAmount:
|
|
269
|
+
}))), { hideAvailableRoomAmount: c } = K(me()), { roomSelect: h } = K(se()), { addToCart: d, removeFromCart: p } = Tt(), m = (r, g) => {
|
|
270
270
|
var T;
|
|
271
271
|
return (T = t.room.rates.find(($) => $.id === r)) == null ? void 0 : T.occupantRates.find(($) => $.index === g);
|
|
272
272
|
}, y = q(() => t.room.rates.reduce(
|
|
@@ -309,12 +309,12 @@ const ln = /* @__PURE__ */ j({
|
|
|
309
309
|
return Ee(i, (r, g) => {
|
|
310
310
|
g.length > 0 && r.forEach((T, $) => {
|
|
311
311
|
T.config.forEach((L, H) => {
|
|
312
|
-
const D = L.units,
|
|
313
|
-
D !==
|
|
312
|
+
const D = L.units, A = g[$].config[H].units;
|
|
313
|
+
D !== A && (D > A ? (n.value[$].config[H].addons.push({}), d({
|
|
314
314
|
id: t.room.id,
|
|
315
315
|
name: t.room.title,
|
|
316
316
|
value: t.room.rates[$].rackRate
|
|
317
|
-
})) : (n.value[$].config[H].addons.pop(),
|
|
317
|
+
})) : (n.value[$].config[H].addons.pop(), p({
|
|
318
318
|
id: t.room.id,
|
|
319
319
|
name: t.room.title,
|
|
320
320
|
value: t.room.rates[$].rackRate
|
|
@@ -323,7 +323,7 @@ const ln = /* @__PURE__ */ j({
|
|
|
323
323
|
});
|
|
324
324
|
}, { deep: !0 }), Ee(n, () => {
|
|
325
325
|
h.value[t.room.id] = n.value;
|
|
326
|
-
}, { deep: !0 }), (r, g) => (E(),
|
|
326
|
+
}, { deep: !0 }), (r, g) => (E(), R(Ke, {
|
|
327
327
|
"listing-id": r.room.id,
|
|
328
328
|
gallery: r.room.images,
|
|
329
329
|
name: r.room.title,
|
|
@@ -334,53 +334,53 @@ const ln = /* @__PURE__ */ j({
|
|
|
334
334
|
"includes-breakfast": b.value
|
|
335
335
|
}, {
|
|
336
336
|
action: w(() => [
|
|
337
|
-
v("div",
|
|
338
|
-
(E(!0), C(
|
|
337
|
+
v("div", on, [
|
|
338
|
+
(E(!0), C(B, null, z(n.value, (T, $) => (E(), C("div", {
|
|
339
339
|
key: T.id,
|
|
340
340
|
class: "freshbooking-hotel-room"
|
|
341
341
|
}, [
|
|
342
|
-
_.value ? (E(),
|
|
342
|
+
_.value ? (E(), R(Ce, {
|
|
343
343
|
key: 0,
|
|
344
344
|
modelValue: T.id,
|
|
345
345
|
"onUpdate:modelValue": (L) => T.id = L,
|
|
346
|
-
label:
|
|
347
|
-
placeholder:
|
|
346
|
+
label: l(e)("hotel.roomVariant"),
|
|
347
|
+
placeholder: l(e)("hotel.chooseARoomVariant"),
|
|
348
348
|
options: u.value,
|
|
349
349
|
searchable: !1
|
|
350
350
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : x("", !0),
|
|
351
|
-
T.id ? (E(), C("div",
|
|
352
|
-
(E(!0), C(
|
|
351
|
+
T.id ? (E(), C("div", nn, [
|
|
352
|
+
(E(!0), C(B, null, z(r.room.rates, ({
|
|
353
353
|
id: L,
|
|
354
354
|
maximumOccupants: H
|
|
355
355
|
}) => (E(), C("div", {
|
|
356
356
|
key: L,
|
|
357
357
|
class: "booking-availability-listing-action-selective-i"
|
|
358
358
|
}, [
|
|
359
|
-
T.id === L ? (E(!0), C(
|
|
360
|
-
key:
|
|
359
|
+
T.id === L ? (E(!0), C(B, { key: 0 }, z(T.config, (D, A) => (E(), C("div", {
|
|
360
|
+
key: A,
|
|
361
361
|
class: "booking-availability-listing-action-selective"
|
|
362
362
|
}, [
|
|
363
|
-
v("ul",
|
|
364
|
-
I(
|
|
363
|
+
v("ul", rn, [
|
|
364
|
+
I(tn, {
|
|
365
365
|
modelValue: D.id,
|
|
366
366
|
"onUpdate:modelValue": (W) => D.id = W,
|
|
367
367
|
icon: "male",
|
|
368
368
|
"icon-type": "fas",
|
|
369
|
-
label:
|
|
370
|
-
description: `${
|
|
369
|
+
label: l(e)("general.guests"),
|
|
370
|
+
description: `${l(e)("general.maximumGuests")}: ${H}`,
|
|
371
371
|
options: k(L),
|
|
372
372
|
readonly: !(k(L).length > 1)
|
|
373
373
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
374
374
|
]),
|
|
375
|
-
v("ul",
|
|
375
|
+
v("ul", sn, [
|
|
376
376
|
I(It, {
|
|
377
377
|
modelValue: D.units,
|
|
378
378
|
"onUpdate:modelValue": (W) => D.units = W,
|
|
379
|
-
description:
|
|
379
|
+
description: l(c) ? void 0 : `${l(e)("booking.availability.availableUnits")}: ${s(T.id, D.id)}`,
|
|
380
380
|
icon: "house",
|
|
381
381
|
"icon-type": "fas",
|
|
382
382
|
"icon-placement": "label",
|
|
383
|
-
label:
|
|
383
|
+
label: l(e)("booking.availability.units"),
|
|
384
384
|
minValue: 0,
|
|
385
385
|
"max-value": s(L, D.id) || 1 / 0
|
|
386
386
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
@@ -395,7 +395,7 @@ const ln = /* @__PURE__ */ j({
|
|
|
395
395
|
_: 1
|
|
396
396
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
397
397
|
}
|
|
398
|
-
}),
|
|
398
|
+
}), ln = /* @__PURE__ */ X(an, [["__scopeId", "data-v-9ea89f13"]]), un = { class: "konnectio-template-side-panel" }, dn = { class: "konnectio-template-side-panel-listings" }, cn = /* @__PURE__ */ j({
|
|
399
399
|
__name: "Template",
|
|
400
400
|
props: {
|
|
401
401
|
title: {},
|
|
@@ -404,25 +404,25 @@ const ln = /* @__PURE__ */ j({
|
|
|
404
404
|
callback: { type: Function }
|
|
405
405
|
},
|
|
406
406
|
setup(o) {
|
|
407
|
-
const { t: e } = re(), { templateID: t, roomGroupID: n } = K(se()), { currency:
|
|
407
|
+
const { t: e } = re(), { templateID: t, roomGroupID: n } = K(se()), { currency: a } = K(me()), { clearRoomSelection: u } = se(), c = o;
|
|
408
408
|
function h(d) {
|
|
409
|
-
t.value =
|
|
409
|
+
t.value = c.templateId, n.value = d, u(), c.callback(2);
|
|
410
410
|
}
|
|
411
|
-
return (d,
|
|
411
|
+
return (d, p) => (E(), R(Ho, {
|
|
412
412
|
title: d.title,
|
|
413
|
-
subtitle:
|
|
413
|
+
subtitle: l(e)("booking.availability.selectATemplateRoom")
|
|
414
414
|
}, {
|
|
415
415
|
default: w(() => [
|
|
416
|
-
v("div",
|
|
417
|
-
v("div",
|
|
418
|
-
(E(!0), C(
|
|
416
|
+
v("div", un, [
|
|
417
|
+
v("div", dn, [
|
|
418
|
+
(E(!0), C(B, null, z(d.roomGroups, ({
|
|
419
419
|
id: m,
|
|
420
420
|
title: y,
|
|
421
421
|
description: b,
|
|
422
422
|
images: s,
|
|
423
423
|
facilities: k,
|
|
424
424
|
extraPrice: _
|
|
425
|
-
}) => (E(),
|
|
425
|
+
}) => (E(), R(Ke, {
|
|
426
426
|
key: m,
|
|
427
427
|
"listing-id": m,
|
|
428
428
|
name: y,
|
|
@@ -434,9 +434,9 @@ const ln = /* @__PURE__ */ j({
|
|
|
434
434
|
}, {
|
|
435
435
|
action: w(() => [
|
|
436
436
|
v("div", null, [
|
|
437
|
-
I(
|
|
437
|
+
I(de, {
|
|
438
438
|
onClickEvent: (f) => h(m),
|
|
439
|
-
label: `${
|
|
439
|
+
label: `${l(e)("booking.availability.selectThisRoom")} (${l(ie)(_, l(a))})`,
|
|
440
440
|
"full-width": ""
|
|
441
441
|
}, null, 8, ["onClickEvent", "label"])
|
|
442
442
|
])
|
|
@@ -449,7 +449,7 @@ const ln = /* @__PURE__ */ j({
|
|
|
449
449
|
_: 1
|
|
450
450
|
}, 8, ["title", "subtitle"]));
|
|
451
451
|
}
|
|
452
|
-
}),
|
|
452
|
+
}), pn = /* @__PURE__ */ X(cn, [["__scopeId", "data-v-4c035ea3"]]), hn = ["innerHTML"], fn = /* @__PURE__ */ j({
|
|
453
453
|
__name: "Template",
|
|
454
454
|
props: {
|
|
455
455
|
id: {},
|
|
@@ -462,26 +462,26 @@ const ln = /* @__PURE__ */ j({
|
|
|
462
462
|
},
|
|
463
463
|
setup(o) {
|
|
464
464
|
const { t: e } = re(), t = o, n = q(() => t.roomGroups.reduce(
|
|
465
|
-
(d,
|
|
465
|
+
(d, p) => d < p.extraPrice ? d : p.extraPrice,
|
|
466
466
|
1 / 0
|
|
467
|
-
)),
|
|
467
|
+
)), a = q(() => [{
|
|
468
468
|
large: t.image.url,
|
|
469
469
|
medium: t.image.url,
|
|
470
470
|
thumb: t.image.url,
|
|
471
471
|
url: t.image.url
|
|
472
|
-
}]), u =
|
|
473
|
-
function
|
|
472
|
+
}]), u = he(!1);
|
|
473
|
+
function c() {
|
|
474
474
|
u.value = !0;
|
|
475
475
|
}
|
|
476
476
|
function h(d) {
|
|
477
477
|
t.callback(d), u.value = !1;
|
|
478
478
|
}
|
|
479
|
-
return (d,
|
|
479
|
+
return (d, p) => (E(), R(Ke, {
|
|
480
480
|
"listing-id": d.id,
|
|
481
481
|
name: d.name,
|
|
482
482
|
description: d.description,
|
|
483
|
-
gallery:
|
|
484
|
-
layout:
|
|
483
|
+
gallery: a.value,
|
|
484
|
+
layout: l(Eo).Template,
|
|
485
485
|
"includes-breakfast": !1,
|
|
486
486
|
"hide-info-button": !1,
|
|
487
487
|
"prices-from": n.value
|
|
@@ -489,22 +489,22 @@ const ln = /* @__PURE__ */ j({
|
|
|
489
489
|
description: w(() => [
|
|
490
490
|
d.description ? (E(), C("p", {
|
|
491
491
|
key: 0,
|
|
492
|
-
innerHTML:
|
|
493
|
-
}, null, 8,
|
|
492
|
+
innerHTML: l(_o)(d.description)
|
|
493
|
+
}, null, 8, hn)) : x("", !0)
|
|
494
494
|
]),
|
|
495
495
|
action: w(() => [
|
|
496
496
|
v("div", null, [
|
|
497
|
-
I(
|
|
498
|
-
onClickEvent:
|
|
499
|
-
label:
|
|
497
|
+
I(de, {
|
|
498
|
+
onClickEvent: c,
|
|
499
|
+
label: l(e)("booking.availability.selectPackage"),
|
|
500
500
|
"full-width": ""
|
|
501
501
|
}, null, 8, ["label"])
|
|
502
502
|
])
|
|
503
503
|
]),
|
|
504
504
|
default: w(() => [
|
|
505
|
-
I(
|
|
505
|
+
I(pn, {
|
|
506
506
|
modelValue: u.value,
|
|
507
|
-
"onUpdate:modelValue":
|
|
507
|
+
"onUpdate:modelValue": p[0] || (p[0] = (m) => u.value = m),
|
|
508
508
|
title: d.name,
|
|
509
509
|
"template-id": d.id,
|
|
510
510
|
roomGroups: d.roomGroups,
|
|
@@ -514,7 +514,7 @@ const ln = /* @__PURE__ */ j({
|
|
|
514
514
|
_: 1
|
|
515
515
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
516
516
|
}
|
|
517
|
-
}),
|
|
517
|
+
}), mn = /* @__PURE__ */ X(fn, [["__scopeId", "data-v-edc2f058"]]), at = /* @__PURE__ */ j({
|
|
518
518
|
__name: "TimeField",
|
|
519
519
|
props: {
|
|
520
520
|
modelValue: {},
|
|
@@ -540,28 +540,28 @@ const ln = /* @__PURE__ */ j({
|
|
|
540
540
|
emits: ["update:modelValue"],
|
|
541
541
|
setup(o, { emit: e }) {
|
|
542
542
|
const t = e, n = o;
|
|
543
|
-
function
|
|
544
|
-
t("update:modelValue",
|
|
543
|
+
function a(c) {
|
|
544
|
+
t("update:modelValue", c);
|
|
545
545
|
}
|
|
546
|
-
const u =
|
|
547
|
-
return Ee(u, (
|
|
548
|
-
|
|
549
|
-
}), (
|
|
546
|
+
const u = he(n.modelValue);
|
|
547
|
+
return Ee(u, (c) => {
|
|
548
|
+
a(c);
|
|
549
|
+
}), (c, h) => (E(), R(Wo, {
|
|
550
550
|
modelValue: u.value,
|
|
551
551
|
"onUpdate:modelValue": h[0] || (h[0] = (d) => u.value = d),
|
|
552
552
|
type: "time",
|
|
553
|
-
label:
|
|
554
|
-
id:
|
|
555
|
-
name:
|
|
556
|
-
icon:
|
|
557
|
-
"icon-type":
|
|
558
|
-
"icon-color":
|
|
553
|
+
label: c.label,
|
|
554
|
+
id: c.id,
|
|
555
|
+
name: c.name,
|
|
556
|
+
icon: c.icon,
|
|
557
|
+
"icon-type": c.iconType,
|
|
558
|
+
"icon-color": c.iconColor,
|
|
559
559
|
"auto-apply": !0,
|
|
560
|
-
required:
|
|
561
|
-
readonly:
|
|
560
|
+
required: c.required,
|
|
561
|
+
readonly: c.readonly
|
|
562
562
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
563
563
|
}
|
|
564
|
-
}),
|
|
564
|
+
}), gn = { style: { display: "flex", "align-items": "baseline" } }, vn = /* @__PURE__ */ j({
|
|
565
565
|
__name: "CountryField",
|
|
566
566
|
props: {
|
|
567
567
|
modelValue: {},
|
|
@@ -573,42 +573,42 @@ const ln = /* @__PURE__ */ j({
|
|
|
573
573
|
},
|
|
574
574
|
emits: ["update:modelValue"],
|
|
575
575
|
setup(o, { emit: e }) {
|
|
576
|
-
const { t } = re(), n = e,
|
|
576
|
+
const { t } = re(), n = e, a = o;
|
|
577
577
|
function u(h) {
|
|
578
578
|
n("update:modelValue", h);
|
|
579
579
|
}
|
|
580
|
-
const
|
|
581
|
-
get: () =>
|
|
580
|
+
const c = q({
|
|
581
|
+
get: () => a.modelValue,
|
|
582
582
|
set: (h) => u(h)
|
|
583
583
|
});
|
|
584
|
-
return (h, d) => (E(),
|
|
585
|
-
modelValue:
|
|
586
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
584
|
+
return (h, d) => (E(), R(Ce, {
|
|
585
|
+
modelValue: c.value,
|
|
586
|
+
"onUpdate:modelValue": d[0] || (d[0] = (p) => c.value = p),
|
|
587
587
|
label: h.label,
|
|
588
|
-
placeholder:
|
|
588
|
+
placeholder: l(t)("booking.reservation.countryPlaceholder"),
|
|
589
589
|
labelKey: "name",
|
|
590
590
|
valueKey: "id",
|
|
591
591
|
options: h.options,
|
|
592
592
|
required: h.required
|
|
593
593
|
}, {
|
|
594
|
-
option: w(({ data:
|
|
594
|
+
option: w(({ data: p }) => [
|
|
595
595
|
v("i", {
|
|
596
|
-
class: Te(["konnectio-flag-icon",
|
|
596
|
+
class: Te(["konnectio-flag-icon", p.iso])
|
|
597
597
|
}, null, 2),
|
|
598
|
-
v("span", null, V(
|
|
598
|
+
v("span", null, V(p.name), 1)
|
|
599
599
|
]),
|
|
600
|
-
"selected-option": w(({ data:
|
|
601
|
-
v("div",
|
|
600
|
+
"selected-option": w(({ data: p }) => [
|
|
601
|
+
v("div", gn, [
|
|
602
602
|
v("i", {
|
|
603
|
-
class: Te(["konnectio-flag-icon",
|
|
603
|
+
class: Te(["konnectio-flag-icon", p.iso])
|
|
604
604
|
}, null, 2),
|
|
605
|
-
v("span", null, V(
|
|
605
|
+
v("span", null, V(p.name), 1)
|
|
606
606
|
])
|
|
607
607
|
]),
|
|
608
608
|
_: 1
|
|
609
609
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
610
610
|
}
|
|
611
|
-
}),
|
|
611
|
+
}), yn = /* @__PURE__ */ X(vn, [["__scopeId", "data-v-1462612d"]]), bn = { class: "konnectio-radio-checkboxes" }, kn = /* @__PURE__ */ j({
|
|
612
612
|
__name: "CheckboxField",
|
|
613
613
|
props: {
|
|
614
614
|
modelValue: {},
|
|
@@ -619,27 +619,27 @@ const ln = /* @__PURE__ */ j({
|
|
|
619
619
|
emits: ["update:modelValue"],
|
|
620
620
|
setup(o, { emit: e }) {
|
|
621
621
|
const t = e, n = o;
|
|
622
|
-
function
|
|
623
|
-
t("update:modelValue",
|
|
622
|
+
function a(c) {
|
|
623
|
+
t("update:modelValue", c);
|
|
624
624
|
}
|
|
625
625
|
const u = q({
|
|
626
626
|
get: () => n.modelValue,
|
|
627
|
-
set: (
|
|
627
|
+
set: (c) => a(c)
|
|
628
628
|
});
|
|
629
|
-
return (
|
|
630
|
-
label:
|
|
629
|
+
return (c, h) => (E(), R(Ct, {
|
|
630
|
+
label: c.label,
|
|
631
631
|
type: "multi-radio"
|
|
632
632
|
}, {
|
|
633
633
|
default: w(() => [
|
|
634
|
-
v("ul",
|
|
635
|
-
(E(!0), C(
|
|
634
|
+
v("ul", bn, [
|
|
635
|
+
(E(!0), C(B, null, z(c.checkboxes, ({ label: d, value: p }, m) => (E(), C("li", { key: m }, [
|
|
636
636
|
I(Ue, {
|
|
637
637
|
modelValue: u.value,
|
|
638
638
|
"onUpdate:modelValue": h[0] || (h[0] = (y) => u.value = y),
|
|
639
639
|
label: d,
|
|
640
|
-
name:
|
|
640
|
+
name: c.name,
|
|
641
641
|
type: "radio",
|
|
642
|
-
val:
|
|
642
|
+
val: p
|
|
643
643
|
}, null, 8, ["modelValue", "label", "name", "val"])
|
|
644
644
|
]))), 128))
|
|
645
645
|
])
|
|
@@ -647,7 +647,7 @@ const ln = /* @__PURE__ */ j({
|
|
|
647
647
|
_: 1
|
|
648
648
|
}, 8, ["label"]));
|
|
649
649
|
}
|
|
650
|
-
}),
|
|
650
|
+
}), _n = /* @__PURE__ */ X(kn, [["__scopeId", "data-v-d8d42a8a"]]), En = /* @__PURE__ */ j({
|
|
651
651
|
__name: "NameField",
|
|
652
652
|
props: {
|
|
653
653
|
modelValue: {},
|
|
@@ -669,64 +669,64 @@ const ln = /* @__PURE__ */ j({
|
|
|
669
669
|
},
|
|
670
670
|
emits: ["update:modelValue", "update:title"],
|
|
671
671
|
setup(o, { emit: e }) {
|
|
672
|
-
const t = o, n = e,
|
|
672
|
+
const t = o, n = e, a = t.id || rt(), u = he(""), c = he(2);
|
|
673
673
|
function h() {
|
|
674
674
|
n("update:modelValue", u.value);
|
|
675
675
|
}
|
|
676
|
-
Ee(
|
|
677
|
-
n("update:title",
|
|
676
|
+
Ee(c, (p) => {
|
|
677
|
+
n("update:title", p);
|
|
678
678
|
});
|
|
679
679
|
const { t: d } = re();
|
|
680
680
|
return Ye(() => {
|
|
681
|
-
t.modelValue && (u.value = t.modelValue), t.title && (
|
|
682
|
-
}), (
|
|
683
|
-
label:
|
|
684
|
-
id: a
|
|
685
|
-
required:
|
|
681
|
+
t.modelValue && (u.value = t.modelValue), t.title && (c.value = t.title);
|
|
682
|
+
}), (p, m) => (E(), R(Ct, {
|
|
683
|
+
label: p.label,
|
|
684
|
+
id: l(a),
|
|
685
|
+
required: p.required,
|
|
686
686
|
type: "fresh-booking-name-field",
|
|
687
|
-
readonly:
|
|
688
|
-
limit:
|
|
687
|
+
readonly: p.readonly,
|
|
688
|
+
limit: p.limit
|
|
689
689
|
}, {
|
|
690
690
|
default: w(() => [
|
|
691
691
|
v("div", {
|
|
692
692
|
class: Te([
|
|
693
693
|
"fresh-booking-name-input",
|
|
694
|
-
{ "no-title":
|
|
694
|
+
{ "no-title": p.excludeTitle }
|
|
695
695
|
])
|
|
696
696
|
}, [
|
|
697
|
-
|
|
697
|
+
p.excludeTitle ? x("", !0) : (E(), R(Ce, {
|
|
698
698
|
key: 0,
|
|
699
|
-
modelValue:
|
|
700
|
-
"onUpdate:modelValue": m[0] || (m[0] = (y) =>
|
|
701
|
-
id:
|
|
702
|
-
icon:
|
|
703
|
-
"icon-color":
|
|
704
|
-
"icon-type":
|
|
699
|
+
modelValue: c.value,
|
|
700
|
+
"onUpdate:modelValue": m[0] || (m[0] = (y) => c.value = y),
|
|
701
|
+
id: l(rt)(),
|
|
702
|
+
icon: p.icon,
|
|
703
|
+
"icon-color": p.iconColor,
|
|
704
|
+
"icon-type": p.iconType,
|
|
705
705
|
options: [
|
|
706
706
|
{
|
|
707
|
-
label:
|
|
707
|
+
label: l(d)("booking.reservation.noNameTitle"),
|
|
708
708
|
value: 1
|
|
709
709
|
},
|
|
710
710
|
{
|
|
711
|
-
label:
|
|
711
|
+
label: l(d)("booking.reservation.nameTitleMr"),
|
|
712
712
|
value: 2
|
|
713
713
|
},
|
|
714
714
|
{
|
|
715
|
-
label:
|
|
715
|
+
label: l(d)("booking.reservation.nameTitleMs"),
|
|
716
716
|
value: 3
|
|
717
717
|
},
|
|
718
718
|
{
|
|
719
|
-
label:
|
|
719
|
+
label: l(d)("booking.reservation.nameTitleMrs"),
|
|
720
720
|
value: 4
|
|
721
721
|
},
|
|
722
722
|
{
|
|
723
|
-
label:
|
|
723
|
+
label: l(d)("booking.reservation.nameTitleDr"),
|
|
724
724
|
value: 5
|
|
725
725
|
}
|
|
726
726
|
],
|
|
727
|
-
readonly:
|
|
727
|
+
readonly: p.readonly,
|
|
728
728
|
"hide-button": "",
|
|
729
|
-
"input-style":
|
|
729
|
+
"input-style": p.inputStyle,
|
|
730
730
|
searchable: !1
|
|
731
731
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
732
732
|
I(oe, {
|
|
@@ -735,42 +735,42 @@ const ln = /* @__PURE__ */ j({
|
|
|
735
735
|
type: "text",
|
|
736
736
|
name: "name",
|
|
737
737
|
autocomplete: "name",
|
|
738
|
-
id: a
|
|
739
|
-
icon:
|
|
740
|
-
"icon-color":
|
|
741
|
-
"icon-type":
|
|
742
|
-
placeholder:
|
|
743
|
-
required:
|
|
744
|
-
readonly:
|
|
745
|
-
limit:
|
|
738
|
+
id: l(a),
|
|
739
|
+
icon: p.excludeTitle ? p.icon : void 0,
|
|
740
|
+
"icon-color": p.iconColor,
|
|
741
|
+
"icon-type": p.iconType,
|
|
742
|
+
placeholder: p.placeholder,
|
|
743
|
+
required: p.required,
|
|
744
|
+
readonly: p.readonly,
|
|
745
|
+
limit: p.limit,
|
|
746
746
|
onInput: m[2] || (m[2] = (y) => h()),
|
|
747
|
-
"input-style":
|
|
747
|
+
"input-style": p.inputStyle
|
|
748
748
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
749
749
|
], 2)
|
|
750
750
|
]),
|
|
751
751
|
_: 1
|
|
752
752
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
753
753
|
}
|
|
754
|
-
}),
|
|
754
|
+
}), Tn = /* @__PURE__ */ X(En, [["__scopeId", "data-v-78b0b319"]]), In = { class: "hotel-listing" }, Cn = { class: "hotel-listing-content-gallery" }, $n = { class: "hotel-listing-content-thumbs" }, Sn = { class: "hotel-listing-content" }, Vn = { class: "hotel-listing-content-header" }, Ln = { class: "hotel-listing-content-title" }, Pn = { class: "hotel-listing-content-body" }, xn = { class: "hotel-listing-content-facilities" }, wn = /* @__PURE__ */ j({
|
|
755
755
|
__name: "Listing",
|
|
756
756
|
setup(o) {
|
|
757
|
-
return (e, t) => (E(), C("div",
|
|
758
|
-
v("div",
|
|
757
|
+
return (e, t) => (E(), C("div", In, [
|
|
758
|
+
v("div", Cn, [
|
|
759
759
|
I(Y, {
|
|
760
760
|
width: "280px",
|
|
761
761
|
height: "153px"
|
|
762
762
|
}),
|
|
763
|
-
v("div",
|
|
764
|
-
(E(), C(
|
|
763
|
+
v("div", $n, [
|
|
764
|
+
(E(), C(B, null, z(3, (n) => I(Y, {
|
|
765
765
|
key: n,
|
|
766
766
|
width: "84px",
|
|
767
767
|
height: "44px"
|
|
768
768
|
})), 64))
|
|
769
769
|
])
|
|
770
770
|
]),
|
|
771
|
-
v("div",
|
|
772
|
-
v("div",
|
|
773
|
-
v("div",
|
|
771
|
+
v("div", Sn, [
|
|
772
|
+
v("div", Vn, [
|
|
773
|
+
v("div", Ln, [
|
|
774
774
|
I(Y, {
|
|
775
775
|
height: "30px",
|
|
776
776
|
width: "60%"
|
|
@@ -786,7 +786,7 @@ const ln = /* @__PURE__ */ j({
|
|
|
786
786
|
width: "25%"
|
|
787
787
|
})
|
|
788
788
|
]),
|
|
789
|
-
v("div",
|
|
789
|
+
v("div", Pn, [
|
|
790
790
|
I(Y, { height: "15px" }),
|
|
791
791
|
I(Y, { height: "15px" }),
|
|
792
792
|
I(Y, { height: "15px" }),
|
|
@@ -796,8 +796,8 @@ const ln = /* @__PURE__ */ j({
|
|
|
796
796
|
width: "90%"
|
|
797
797
|
})
|
|
798
798
|
]),
|
|
799
|
-
v("div",
|
|
800
|
-
(E(), C(
|
|
799
|
+
v("div", xn, [
|
|
800
|
+
(E(), C(B, null, z(5, (n) => I(Y, {
|
|
801
801
|
key: n,
|
|
802
802
|
height: "25px",
|
|
803
803
|
width: "25px",
|
|
@@ -807,55 +807,55 @@ const ln = /* @__PURE__ */ j({
|
|
|
807
807
|
])
|
|
808
808
|
]));
|
|
809
809
|
}
|
|
810
|
-
}),
|
|
810
|
+
}), pe = /* @__PURE__ */ X(wn, [["__scopeId", "data-v-c7574b59"]]), Hn = { class: "hotel-skeleton" }, On = { class: "hotel-skeleton-content" }, Dn = { class: "hotel-skeleton-sidebar" }, An = /* @__PURE__ */ j({
|
|
811
811
|
__name: "HotelSkeleton",
|
|
812
812
|
setup(o) {
|
|
813
|
-
return (e, t) => (E(), C("div",
|
|
814
|
-
v("div",
|
|
815
|
-
I(
|
|
816
|
-
I(
|
|
817
|
-
I(
|
|
818
|
-
I(
|
|
813
|
+
return (e, t) => (E(), C("div", Hn, [
|
|
814
|
+
v("div", On, [
|
|
815
|
+
I(Bo, { hotel: "" }),
|
|
816
|
+
I(pe),
|
|
817
|
+
I(pe),
|
|
818
|
+
I(pe)
|
|
819
819
|
]),
|
|
820
|
-
v("div",
|
|
821
|
-
I(
|
|
820
|
+
v("div", Dn, [
|
|
821
|
+
I(Oo)
|
|
822
822
|
])
|
|
823
823
|
]));
|
|
824
824
|
}
|
|
825
|
-
}),
|
|
826
|
-
const
|
|
825
|
+
}), Mn = /* @__PURE__ */ X(An, [["__scopeId", "data-v-49e83cbb"]]), Rn = (o) => (_t("data-v-fd9b6d4f"), o = o(), Et(), o), Bn = { id: "booking-availability-container" }, zn = { id: "booking-availability-controls" };
|
|
826
|
+
const Wn = { key: 1 }, Nn = { key: 0 }, Fn = {
|
|
827
827
|
key: 0,
|
|
828
828
|
id: "booking-availability-packages"
|
|
829
|
-
},
|
|
829
|
+
}, qn = {
|
|
830
830
|
key: 0,
|
|
831
831
|
class: "konnectio-hotel-availability-title"
|
|
832
|
-
},
|
|
832
|
+
}, Un = { id: "booking-availability-packages-wrapper" }, Gn = { key: 1 }, jn = {
|
|
833
833
|
key: 0,
|
|
834
834
|
class: "konnectio-hotel-availability-title"
|
|
835
|
-
},
|
|
835
|
+
}, Yn = { id: "booking-availability-listings" }, Kn = {
|
|
836
836
|
key: 2,
|
|
837
837
|
id: "booking-availability-no-listings",
|
|
838
838
|
class: "fresh-booking-panel"
|
|
839
|
-
},
|
|
839
|
+
}, Qn = {
|
|
840
840
|
key: 1,
|
|
841
841
|
id: "booking-availability-no-listings"
|
|
842
|
-
},
|
|
842
|
+
}, Jn = {
|
|
843
843
|
key: 2,
|
|
844
844
|
id: "reservation-availability-next-dates"
|
|
845
|
-
},
|
|
846
|
-
const
|
|
845
|
+
}, Xn = { class: "konnectio-hotel-availability-title" }, Zn = { class: "reservation-special-offers-grid" }, ei = ["title"];
|
|
846
|
+
const ti = {
|
|
847
847
|
key: 2,
|
|
848
848
|
class: "konnectio-listing-loading"
|
|
849
|
-
},
|
|
849
|
+
}, oi = { class: "fresh-booking-panel" }, ni = {
|
|
850
850
|
key: 0,
|
|
851
851
|
id: "konnectio-hotel-addons"
|
|
852
852
|
};
|
|
853
|
-
const
|
|
853
|
+
const ii = { class: "fresh-booking-event-addons-price" }, ri = { key: 1 }, si = /* @__PURE__ */ Rn(() => /* @__PURE__ */ v("br", null, null, -1)), ai = ["onClick"], li = { class: "fresh-booking-panel" }, ui = { key: 0 }, di = { key: 1 }, ci = { class: "fresh-booking-split-inputs" }, pi = ["onClick"], hi = /* @__PURE__ */ j({
|
|
854
854
|
name: "HotelLayout",
|
|
855
855
|
__name: "Hotel",
|
|
856
856
|
props: {
|
|
857
857
|
accessToken: {},
|
|
858
|
-
headerLayout: { default:
|
|
858
|
+
headerLayout: { default: To.Minimal },
|
|
859
859
|
onlyShow: { default: "everything" },
|
|
860
860
|
styling: {}
|
|
861
861
|
},
|
|
@@ -863,12 +863,12 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
|
|
|
863
863
|
const { t: e } = re(), {
|
|
864
864
|
templateID: t,
|
|
865
865
|
countries: n,
|
|
866
|
-
areListingsLoading:
|
|
866
|
+
areListingsLoading: a,
|
|
867
867
|
isPaymentLoading: u,
|
|
868
|
-
isReservationFormFilled:
|
|
868
|
+
isReservationFormFilled: c,
|
|
869
869
|
travelingFor: h,
|
|
870
870
|
arrivalTime: d,
|
|
871
|
-
departureTime:
|
|
871
|
+
departureTime: p,
|
|
872
872
|
name: m,
|
|
873
873
|
nameTitle: y,
|
|
874
874
|
email: b,
|
|
@@ -884,35 +884,35 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
|
|
|
884
884
|
roomSelect: L,
|
|
885
885
|
roomDisplay: H,
|
|
886
886
|
hasValidRoomSelection: D,
|
|
887
|
-
availabilityData:
|
|
887
|
+
availabilityData: A,
|
|
888
888
|
selectionHasNoAddons: W
|
|
889
889
|
} = K(se()), {
|
|
890
890
|
arrivalDate: Z,
|
|
891
|
-
departureDate:
|
|
891
|
+
departureDate: ae
|
|
892
892
|
} = K(kt()), {
|
|
893
893
|
currency: U,
|
|
894
894
|
disableNewsletterSignup: $e,
|
|
895
895
|
arrivalEarliest: Ze,
|
|
896
|
-
arrivalLatest:
|
|
897
|
-
departureEarliest:
|
|
898
|
-
departureLatest:
|
|
899
|
-
enableTracking:
|
|
900
|
-
arrivalDefault:
|
|
896
|
+
arrivalLatest: Mt,
|
|
897
|
+
departureEarliest: Rt,
|
|
898
|
+
departureLatest: Bt,
|
|
899
|
+
enableTracking: zt,
|
|
900
|
+
arrivalDefault: Wt,
|
|
901
901
|
departureDefault: Nt,
|
|
902
|
-
hideArrivalDepartureInputs:
|
|
902
|
+
hideArrivalDepartureInputs: Ft,
|
|
903
903
|
disableArrivalUserSelection: Se,
|
|
904
|
-
disableNamePrefix:
|
|
904
|
+
disableNamePrefix: qt,
|
|
905
905
|
disableDepartureUserSelection: Ve,
|
|
906
|
-
disableTravelingFor:
|
|
907
|
-
disableTravelingForBleasure:
|
|
908
|
-
disableCompanyField:
|
|
909
|
-
hasPaymentGateway:
|
|
910
|
-
} = K(
|
|
911
|
-
initialize:
|
|
912
|
-
resetTemplate:
|
|
913
|
-
resetDiscountVoucher:
|
|
914
|
-
createReservation:
|
|
915
|
-
} = se(),
|
|
906
|
+
disableTravelingFor: Ut,
|
|
907
|
+
disableTravelingForBleasure: Gt,
|
|
908
|
+
disableCompanyField: jt,
|
|
909
|
+
hasPaymentGateway: Yt
|
|
910
|
+
} = K(me()), { beginCheckout: Kt } = Tt(), {
|
|
911
|
+
initialize: Qt,
|
|
912
|
+
resetTemplate: Jt,
|
|
913
|
+
resetDiscountVoucher: Xt,
|
|
914
|
+
createReservation: Zt
|
|
915
|
+
} = se(), eo = he(!0), to = q(() => {
|
|
916
916
|
const O = [
|
|
917
917
|
{
|
|
918
918
|
label: e("booking.reservation.business"),
|
|
@@ -923,12 +923,12 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
|
|
|
923
923
|
value: "Pleasure"
|
|
924
924
|
}
|
|
925
925
|
];
|
|
926
|
-
return
|
|
926
|
+
return Gt.value || O.push({
|
|
927
927
|
label: e("booking.reservation.bleasure"),
|
|
928
928
|
value: "Bleasure"
|
|
929
929
|
}), O;
|
|
930
|
-
}),
|
|
931
|
-
const O =
|
|
930
|
+
}), oo = q(() => {
|
|
931
|
+
const O = A.value.roomGroups.slice();
|
|
932
932
|
O.forEach((G) => {
|
|
933
933
|
G.pricesFrom = G.rates.reduce(
|
|
934
934
|
(M, S) => M < S.rackRate ? M : S.rackRate,
|
|
@@ -936,129 +936,129 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
|
|
|
936
936
|
);
|
|
937
937
|
});
|
|
938
938
|
function P(G, M) {
|
|
939
|
-
return
|
|
939
|
+
return eo.value === !0 ? G.pricesFrom > M.pricesFrom ? -1 : 1 : G.pricesFrom > M.pricesFrom ? 1 : -1;
|
|
940
940
|
}
|
|
941
941
|
return O.sort(P);
|
|
942
|
-
}),
|
|
942
|
+
}), no = q(() => [[
|
|
943
943
|
parseInt(Ze.value.split(":")[0]),
|
|
944
|
+
parseInt(Mt.value.split(":")[0])
|
|
945
|
+
]]), io = q(() => [[
|
|
946
|
+
parseInt(Rt.value.split(":")[0]),
|
|
944
947
|
parseInt(Bt.value.split(":")[0])
|
|
945
|
-
]]), ro = q(() => [[
|
|
946
|
-
parseInt(At.value.split(":")[0]),
|
|
947
|
-
parseInt(zt.value.split(":")[0])
|
|
948
948
|
]]);
|
|
949
949
|
function et(O) {
|
|
950
|
-
W.value ? O(2) : O(),
|
|
950
|
+
W.value ? O(2) : O(), Xt();
|
|
951
951
|
}
|
|
952
|
-
function
|
|
953
|
-
|
|
952
|
+
function ro(O, P) {
|
|
953
|
+
ae.value = new Date(P), Z.value = new Date(O), location.reload();
|
|
954
954
|
}
|
|
955
|
-
function
|
|
955
|
+
function so(O) {
|
|
956
956
|
return Q(this, null, function* () {
|
|
957
|
-
yield
|
|
957
|
+
yield Zt(O);
|
|
958
958
|
});
|
|
959
959
|
}
|
|
960
|
-
function
|
|
961
|
-
|
|
960
|
+
function ao(O) {
|
|
961
|
+
zt.value && Kt(), W.value ? O(2) : O();
|
|
962
962
|
}
|
|
963
|
-
function
|
|
964
|
-
d.value === "" && (d.value =
|
|
963
|
+
function lo() {
|
|
964
|
+
d.value === "" && (d.value = Wt.value), p.value === "" && (p.value = Nt.value);
|
|
965
965
|
}
|
|
966
966
|
return Ye(() => {
|
|
967
|
-
|
|
968
|
-
}), (O, P) => (E(),
|
|
967
|
+
Qt(), lo();
|
|
968
|
+
}), (O, P) => (E(), R(Ro, { styling: O.styling }, {
|
|
969
969
|
default: w(() => [
|
|
970
|
-
(E(),
|
|
970
|
+
(E(), R(Io, null, {
|
|
971
971
|
default: w(() => [
|
|
972
|
-
I(
|
|
972
|
+
I($o, {
|
|
973
973
|
id: "fresh-booking-hotel-module",
|
|
974
974
|
"access-token": O.accessToken,
|
|
975
975
|
type: "hotel"
|
|
976
976
|
}, {
|
|
977
977
|
default: w(() => [
|
|
978
|
-
I(
|
|
978
|
+
I(Do, {
|
|
979
979
|
layout: O.headerLayout,
|
|
980
|
-
onReset:
|
|
980
|
+
onReset: l(Jt)
|
|
981
981
|
}, {
|
|
982
982
|
availability: w(({ next: G }) => [
|
|
983
983
|
I(He, null, {
|
|
984
984
|
form: w(() => [
|
|
985
|
-
v("div",
|
|
986
|
-
v("div",
|
|
987
|
-
I(
|
|
985
|
+
v("div", Bn, [
|
|
986
|
+
v("div", zn, [
|
|
987
|
+
I(zo, { booking: !0 })
|
|
988
988
|
]),
|
|
989
989
|
x("", !0),
|
|
990
|
-
a
|
|
991
|
-
I(
|
|
992
|
-
I(
|
|
993
|
-
I(
|
|
994
|
-
])) : (E(), C("div",
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
O.onlyShow !== "packages" ? (E(), C("h2",
|
|
990
|
+
l(a) ? (E(), C("div", ti, [
|
|
991
|
+
I(pe),
|
|
992
|
+
I(pe),
|
|
993
|
+
I(pe)
|
|
994
|
+
])) : (E(), C("div", Wn, [
|
|
995
|
+
l(A).roomGroups.length > 0 || l(A).templates.length > 0 ? (E(), C("div", Nn, [
|
|
996
|
+
l(A).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), C("div", Fn, [
|
|
997
|
+
O.onlyShow !== "packages" ? (E(), C("h2", qn, [
|
|
998
998
|
I(J, {
|
|
999
999
|
icon: "box",
|
|
1000
1000
|
type: "fal",
|
|
1001
1001
|
color: "header"
|
|
1002
1002
|
}),
|
|
1003
|
-
v("span", null, V(
|
|
1003
|
+
v("span", null, V(l(e)("booking.availability.packagesTitle")), 1)
|
|
1004
1004
|
])) : x("", !0),
|
|
1005
|
-
v("ul",
|
|
1006
|
-
(E(!0), C(
|
|
1005
|
+
v("ul", Un, [
|
|
1006
|
+
(E(!0), C(B, null, z(l(A).templates, ({
|
|
1007
1007
|
id: M,
|
|
1008
1008
|
name: S,
|
|
1009
|
-
templateRoomGroups:
|
|
1010
|
-
image:
|
|
1011
|
-
description:
|
|
1009
|
+
templateRoomGroups: le,
|
|
1010
|
+
image: ue,
|
|
1011
|
+
description: F,
|
|
1012
1012
|
weekendFee: Le
|
|
1013
|
-
}) => (E(),
|
|
1013
|
+
}) => (E(), R(mn, {
|
|
1014
1014
|
key: M,
|
|
1015
1015
|
id: M,
|
|
1016
|
-
description:
|
|
1016
|
+
description: F,
|
|
1017
1017
|
name: S,
|
|
1018
|
-
image:
|
|
1018
|
+
image: ue,
|
|
1019
1019
|
weekendFee: Le,
|
|
1020
|
-
"room-groups":
|
|
1020
|
+
"room-groups": le,
|
|
1021
1021
|
callback: G
|
|
1022
1022
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1023
1023
|
])
|
|
1024
1024
|
])) : x("", !0),
|
|
1025
|
-
|
|
1026
|
-
|
|
1025
|
+
l(A).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), C("div", Gn, [
|
|
1026
|
+
l(A).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), C("h2", jn, [
|
|
1027
1027
|
I(J, {
|
|
1028
1028
|
icon: "house",
|
|
1029
1029
|
type: "fal",
|
|
1030
1030
|
color: "header"
|
|
1031
1031
|
}),
|
|
1032
|
-
v("span", null, V(
|
|
1032
|
+
v("span", null, V(l(e)("booking.availability.roomsTitle")), 1)
|
|
1033
1033
|
])) : x("", !0),
|
|
1034
|
-
v("ul",
|
|
1035
|
-
(E(!0), C(
|
|
1034
|
+
v("ul", Yn, [
|
|
1035
|
+
(E(!0), C(B, null, z(oo.value, (M, S) => (E(), R(ln, {
|
|
1036
1036
|
room: M,
|
|
1037
1037
|
key: S
|
|
1038
1038
|
}, null, 8, ["room"]))), 128))
|
|
1039
1039
|
])
|
|
1040
1040
|
])) : x("", !0),
|
|
1041
|
-
(
|
|
1042
|
-
v("span", null, V(
|
|
1041
|
+
(l(A).templates.length === 0 && O.onlyShow !== "rooms" || l(A).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), C("div", Kn, [
|
|
1042
|
+
v("span", null, V(l(e)("booking.availability.nothingAvailable")), 1)
|
|
1043
1043
|
])) : x("", !0)
|
|
1044
|
-
])) :
|
|
1045
|
-
v("span", null, V(
|
|
1046
|
-
])) : (E(), C("div",
|
|
1047
|
-
v("h2",
|
|
1044
|
+
])) : l(A).nextAvailableDates.length === 0 ? (E(), C("div", Qn, [
|
|
1045
|
+
v("span", null, V(l(e)("booking.availability.nothingAvailable")), 1)
|
|
1046
|
+
])) : (E(), C("div", Jn, [
|
|
1047
|
+
v("h2", Xn, [
|
|
1048
1048
|
I(J, {
|
|
1049
1049
|
icon: "calendar-circle-exclamation",
|
|
1050
1050
|
type: "fal",
|
|
1051
1051
|
color: "header"
|
|
1052
1052
|
}),
|
|
1053
|
-
v("span", null, V(
|
|
1053
|
+
v("span", null, V(l(e)("booking.availability.nextAvailableDates")), 1)
|
|
1054
1054
|
]),
|
|
1055
|
-
v("ul",
|
|
1056
|
-
(E(!0), C(
|
|
1055
|
+
v("ul", Zn, [
|
|
1056
|
+
(E(!0), C(B, null, z(l(A).nextAvailableDates, (M, S) => (E(), C("li", { key: S }, [
|
|
1057
1057
|
v("h3", {
|
|
1058
|
-
title: `${
|
|
1058
|
+
title: `${l(ne)(M.fromDate)} - ${l(ne)(M.toDate)}`
|
|
1059
1059
|
}, [
|
|
1060
|
-
v("span", null, V(`${
|
|
1061
|
-
], 8,
|
|
1060
|
+
v("span", null, V(`${l(ne)(M.fromDate)} - ${l(ne)(M.toDate)}`), 1)
|
|
1061
|
+
], 8, ei),
|
|
1062
1062
|
v("ul", null, [
|
|
1063
1063
|
x("", !0),
|
|
1064
1064
|
v("li", null, [
|
|
@@ -1067,13 +1067,13 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
|
|
|
1067
1067
|
type: "fal",
|
|
1068
1068
|
color: "header"
|
|
1069
1069
|
}),
|
|
1070
|
-
v("span", null, V(
|
|
1070
|
+
v("span", null, V(l(e)("booking.availability.pricesFrom")) + ": " + V(l(ie)(M.priceStartFrom, l(U))), 1)
|
|
1071
1071
|
])
|
|
1072
1072
|
]),
|
|
1073
|
-
I(
|
|
1074
|
-
label:
|
|
1073
|
+
I(de, {
|
|
1074
|
+
label: l(e)("booking.availability.selectDates"),
|
|
1075
1075
|
"full-width": "",
|
|
1076
|
-
onClickEvent: (
|
|
1076
|
+
onClickEvent: (le) => ro(M.fromDate, M.toDate)
|
|
1077
1077
|
}, null, 8, ["label", "onClickEvent"])
|
|
1078
1078
|
]))), 128))
|
|
1079
1079
|
])
|
|
@@ -1082,12 +1082,12 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
|
|
|
1082
1082
|
])
|
|
1083
1083
|
]),
|
|
1084
1084
|
navigation: w(() => [
|
|
1085
|
-
I(
|
|
1086
|
-
label:
|
|
1087
|
-
disabled: !
|
|
1085
|
+
I(de, {
|
|
1086
|
+
label: l(W) ? l(e)("booking.availability.nextButton") : l(e)("general.chooseAddons"),
|
|
1087
|
+
disabled: !l(D),
|
|
1088
1088
|
"is-loading": !1,
|
|
1089
1089
|
"full-width": "",
|
|
1090
|
-
onClickEvent: (M) =>
|
|
1090
|
+
onClickEvent: (M) => ao(G)
|
|
1091
1091
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
1092
1092
|
]),
|
|
1093
1093
|
_: 2
|
|
@@ -1096,75 +1096,75 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
|
|
|
1096
1096
|
addons: w(({ next: G, prev: M }) => [
|
|
1097
1097
|
I(He, null, {
|
|
1098
1098
|
form: w(() => [
|
|
1099
|
-
v("form",
|
|
1099
|
+
v("form", oi, [
|
|
1100
1100
|
v("h2", null, [
|
|
1101
|
-
v("span", null, V(
|
|
1101
|
+
v("span", null, V(l(e)("booking.reservation.addons")), 1)
|
|
1102
1102
|
]),
|
|
1103
1103
|
v("div", null, [
|
|
1104
|
-
isNaN(
|
|
1105
|
-
(E(!0), C(
|
|
1104
|
+
isNaN(l(t)) ? (E(), C("div", ni, [
|
|
1105
|
+
(E(!0), C(B, null, z(l(H), (S) => (E(), C("ul", {
|
|
1106
1106
|
key: S.roomGroupID
|
|
1107
1107
|
}, [
|
|
1108
|
-
(E(!0), C(
|
|
1109
|
-
key:
|
|
1108
|
+
(E(!0), C(B, null, z(S.variants, (le, ue) => (E(), C("li", {
|
|
1109
|
+
key: le.ratePlanID
|
|
1110
1110
|
}, [
|
|
1111
1111
|
v("h4", null, [
|
|
1112
|
-
v("span", null, V(
|
|
1112
|
+
v("span", null, V(l(ce)(S.title)), 1)
|
|
1113
1113
|
]),
|
|
1114
|
-
(E(!0), C(
|
|
1114
|
+
(E(!0), C(B, null, z(le.rooms, (F, Le) => (E(), C("table", {
|
|
1115
1115
|
key: Le,
|
|
1116
1116
|
class: "fresh-booking-table"
|
|
1117
1117
|
}, [
|
|
1118
1118
|
v("thead", null, [
|
|
1119
1119
|
v("tr", null, [
|
|
1120
1120
|
v("th", null, [
|
|
1121
|
-
v("span", null, V(
|
|
1121
|
+
v("span", null, V(l(ce)(le.name)), 1)
|
|
1122
1122
|
]),
|
|
1123
1123
|
x("", !0),
|
|
1124
|
-
v("th",
|
|
1124
|
+
v("th", ii, [
|
|
1125
1125
|
v("b", null, [
|
|
1126
1126
|
I(J, {
|
|
1127
1127
|
icon: "male",
|
|
1128
1128
|
type: "fas",
|
|
1129
1129
|
color: "font"
|
|
1130
1130
|
}),
|
|
1131
|
-
v("span", null, V(
|
|
1132
|
-
|
|
1131
|
+
v("span", null, V(F.adultsCount), 1),
|
|
1132
|
+
F.childrenCount > 0 ? (E(), R(J, {
|
|
1133
1133
|
key: 0,
|
|
1134
1134
|
icon: "child",
|
|
1135
1135
|
type: "fas",
|
|
1136
1136
|
color: "font"
|
|
1137
1137
|
})) : x("", !0),
|
|
1138
|
-
|
|
1138
|
+
F.childrenCount > 0 ? (E(), C("span", ri, V(F.childrenCount), 1)) : x("", !0)
|
|
1139
1139
|
])
|
|
1140
1140
|
])
|
|
1141
1141
|
])
|
|
1142
1142
|
]),
|
|
1143
1143
|
v("tbody", null, [
|
|
1144
|
-
(E(!0), C(
|
|
1144
|
+
(E(!0), C(B, null, z(S.addons, ({
|
|
1145
1145
|
quantityStrategy: Pe,
|
|
1146
|
-
maximumNumber:
|
|
1147
|
-
id:
|
|
1148
|
-
name:
|
|
1149
|
-
price:
|
|
1150
|
-
}) => (E(), C("tr", { key:
|
|
1146
|
+
maximumNumber: uo,
|
|
1147
|
+
id: fe,
|
|
1148
|
+
name: co,
|
|
1149
|
+
price: po
|
|
1150
|
+
}) => (E(), C("tr", { key: fe }, [
|
|
1151
1151
|
v("td", null, [
|
|
1152
|
-
v("b", null, V(
|
|
1153
|
-
|
|
1154
|
-
v("span", null, V(
|
|
1152
|
+
v("b", null, V(l(ce)(co)), 1),
|
|
1153
|
+
si,
|
|
1154
|
+
v("span", null, V(l(ie)(po, l(U))) + " " + V(l(Co)(Pe)), 1)
|
|
1155
1155
|
]),
|
|
1156
1156
|
v("td", null, [
|
|
1157
|
-
Pe === 1 || Pe === 12 ? (E(),
|
|
1157
|
+
Pe === 1 || Pe === 12 ? (E(), R(It, {
|
|
1158
1158
|
key: 0,
|
|
1159
|
-
modelValue:
|
|
1160
|
-
"onUpdate:modelValue": (xe) =>
|
|
1159
|
+
modelValue: l(L)[S.roomGroupID][ue].config[F.configIdx].addons[F.roomIdx][fe],
|
|
1160
|
+
"onUpdate:modelValue": (xe) => l(L)[S.roomGroupID][ue].config[F.configIdx].addons[F.roomIdx][fe] = xe,
|
|
1161
1161
|
small: !0,
|
|
1162
1162
|
"min-value": 0,
|
|
1163
|
-
"max-value":
|
|
1164
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(),
|
|
1163
|
+
"max-value": uo || 1 / 0
|
|
1164
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (E(), R(Ue, {
|
|
1165
1165
|
key: 1,
|
|
1166
|
-
modelValue:
|
|
1167
|
-
"onUpdate:modelValue": (xe) =>
|
|
1166
|
+
modelValue: l(L)[S.roomGroupID][ue].config[F.configIdx].addons[F.roomIdx][fe],
|
|
1167
|
+
"onUpdate:modelValue": (xe) => l(L)[S.roomGroupID][ue].config[F.configIdx].addons[F.roomIdx][fe] = xe,
|
|
1168
1168
|
numeric: !0
|
|
1169
1169
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1170
1170
|
])
|
|
@@ -1178,8 +1178,8 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
|
|
|
1178
1178
|
])
|
|
1179
1179
|
]),
|
|
1180
1180
|
navigation: w(() => [
|
|
1181
|
-
I(
|
|
1182
|
-
label:
|
|
1181
|
+
I(de, {
|
|
1182
|
+
label: l(e)("general.startReservation"),
|
|
1183
1183
|
"full-width": "",
|
|
1184
1184
|
onClickEvent: G
|
|
1185
1185
|
}, null, 8, ["label", "onClickEvent"]),
|
|
@@ -1187,8 +1187,8 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
|
|
|
1187
1187
|
class: "konnectio-abort-reservation link",
|
|
1188
1188
|
onClick: st((S) => et(M), ["prevent"])
|
|
1189
1189
|
}, [
|
|
1190
|
-
v("span", null, V(
|
|
1191
|
-
], 8,
|
|
1190
|
+
v("span", null, V(l(e)("general.goAStepBack")), 1)
|
|
1191
|
+
], 8, ai)
|
|
1192
1192
|
]),
|
|
1193
1193
|
_: 2
|
|
1194
1194
|
}, 1024)
|
|
@@ -1199,183 +1199,183 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
|
|
|
1199
1199
|
"show-gift-card": !0
|
|
1200
1200
|
}, {
|
|
1201
1201
|
form: w(() => [
|
|
1202
|
-
v("form",
|
|
1202
|
+
v("form", li, [
|
|
1203
1203
|
v("h2", null, [
|
|
1204
|
-
v("span", null, V(
|
|
1204
|
+
v("span", null, V(l(e)("booking.reservation.detailsTitle")), 1)
|
|
1205
1205
|
]),
|
|
1206
|
-
!
|
|
1206
|
+
!l(Ft) && !(l(Se) && l(Ve)) ? (E(), C("ul", {
|
|
1207
1207
|
key: 0,
|
|
1208
|
-
class: Te({ "fresh-booking-split-inputs": !
|
|
1208
|
+
class: Te({ "fresh-booking-split-inputs": !l(Se) && !l(Ve) })
|
|
1209
1209
|
}, [
|
|
1210
|
-
|
|
1210
|
+
l(Se) ? x("", !0) : (E(), C("li", ui, [
|
|
1211
1211
|
I(at, {
|
|
1212
|
-
modelValue:
|
|
1213
|
-
"onUpdate:modelValue": P[1] || (P[1] = (S) =>
|
|
1214
|
-
label:
|
|
1212
|
+
modelValue: l(d),
|
|
1213
|
+
"onUpdate:modelValue": P[1] || (P[1] = (S) => N(d) ? d.value = S : null),
|
|
1214
|
+
label: l(e)("booking.reservation.arrivalTime"),
|
|
1215
1215
|
icon: "hourglass-start",
|
|
1216
|
-
"hour-range":
|
|
1216
|
+
"hour-range": no.value,
|
|
1217
1217
|
required: ""
|
|
1218
1218
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1219
1219
|
])),
|
|
1220
|
-
|
|
1220
|
+
l(Ve) ? x("", !0) : (E(), C("li", di, [
|
|
1221
1221
|
I(at, {
|
|
1222
|
-
modelValue:
|
|
1223
|
-
"onUpdate:modelValue": P[2] || (P[2] = (S) =>
|
|
1224
|
-
label:
|
|
1222
|
+
modelValue: l(p),
|
|
1223
|
+
"onUpdate:modelValue": P[2] || (P[2] = (S) => N(p) ? p.value = S : null),
|
|
1224
|
+
label: l(e)("booking.reservation.departureTime"),
|
|
1225
1225
|
icon: "hourglass-end",
|
|
1226
|
-
"hour-range":
|
|
1226
|
+
"hour-range": io.value,
|
|
1227
1227
|
required: ""
|
|
1228
1228
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1229
1229
|
]))
|
|
1230
1230
|
], 2)) : x("", !0),
|
|
1231
|
-
I(
|
|
1232
|
-
modelValue:
|
|
1233
|
-
"onUpdate:modelValue": P[3] || (P[3] = (S) =>
|
|
1234
|
-
title:
|
|
1235
|
-
"onUpdate:title": P[4] || (P[4] = (S) =>
|
|
1236
|
-
"exclude-title":
|
|
1237
|
-
label:
|
|
1231
|
+
I(Tn, {
|
|
1232
|
+
modelValue: l(m),
|
|
1233
|
+
"onUpdate:modelValue": P[3] || (P[3] = (S) => N(m) ? m.value = S : null),
|
|
1234
|
+
title: l(y),
|
|
1235
|
+
"onUpdate:title": P[4] || (P[4] = (S) => N(y) ? y.value = S : null),
|
|
1236
|
+
"exclude-title": l(qt),
|
|
1237
|
+
label: l(e)("booking.reservation.name"),
|
|
1238
1238
|
icon: "user-alt",
|
|
1239
|
-
placeholder:
|
|
1239
|
+
placeholder: l(e)("booking.reservation.namePlaceholder"),
|
|
1240
1240
|
required: ""
|
|
1241
1241
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1242
1242
|
I(oe, {
|
|
1243
|
-
modelValue:
|
|
1244
|
-
"onUpdate:modelValue": P[5] || (P[5] = (S) =>
|
|
1243
|
+
modelValue: l(b),
|
|
1244
|
+
"onUpdate:modelValue": P[5] || (P[5] = (S) => N(b) ? b.value = S : null),
|
|
1245
1245
|
type: "email",
|
|
1246
1246
|
name: "email",
|
|
1247
1247
|
autocomplete: "email",
|
|
1248
|
-
label:
|
|
1248
|
+
label: l(e)("booking.reservation.email"),
|
|
1249
1249
|
icon: "at",
|
|
1250
|
-
placeholder:
|
|
1250
|
+
placeholder: l(e)("booking.reservation.emailPlaceholder"),
|
|
1251
1251
|
required: ""
|
|
1252
1252
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1253
|
-
|
|
1253
|
+
l($e) ? x("", !0) : (E(), R(Ue, {
|
|
1254
1254
|
key: 1,
|
|
1255
|
-
modelValue:
|
|
1256
|
-
"onUpdate:modelValue": P[6] || (P[6] = (S) =>
|
|
1255
|
+
modelValue: l($),
|
|
1256
|
+
"onUpdate:modelValue": P[6] || (P[6] = (S) => N($) ? $.value = S : null),
|
|
1257
1257
|
type: "checkbox",
|
|
1258
1258
|
name: "newsletter",
|
|
1259
|
-
label:
|
|
1259
|
+
label: l(e)("booking.reservation.newsletterSignUp")
|
|
1260
1260
|
}, null, 8, ["modelValue", "label"])),
|
|
1261
|
-
|
|
1261
|
+
l(jt) ? x("", !0) : (E(), R(oe, {
|
|
1262
1262
|
key: 2,
|
|
1263
|
-
modelValue:
|
|
1264
|
-
"onUpdate:modelValue": P[7] || (P[7] = (S) =>
|
|
1263
|
+
modelValue: l(k),
|
|
1264
|
+
"onUpdate:modelValue": P[7] || (P[7] = (S) => N(k) ? k.value = S : null),
|
|
1265
1265
|
type: "text",
|
|
1266
1266
|
name: "firm",
|
|
1267
1267
|
autocomplete: "firm",
|
|
1268
|
-
label: `${
|
|
1268
|
+
label: `${l(e)("booking.reservation.companyName")} (${l(e)("booking.reservation.optional")})`,
|
|
1269
1269
|
icon: "id-card",
|
|
1270
|
-
placeholder:
|
|
1270
|
+
placeholder: l(e)("booking.reservation.companyNamePlaceholder")
|
|
1271
1271
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1272
1272
|
I(No, {
|
|
1273
|
-
modelValue:
|
|
1274
|
-
"onUpdate:modelValue": P[8] || (P[8] = (S) =>
|
|
1273
|
+
modelValue: l(s),
|
|
1274
|
+
"onUpdate:modelValue": P[8] || (P[8] = (S) => N(s) ? s.value = S : null),
|
|
1275
1275
|
icon: "phone-office",
|
|
1276
|
-
label:
|
|
1277
|
-
placeholder:
|
|
1276
|
+
label: l(e)("booking.reservation.phone"),
|
|
1277
|
+
placeholder: l(e)("booking.reservation.phonePlaceholder"),
|
|
1278
1278
|
required: ""
|
|
1279
1279
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1280
|
-
I(
|
|
1281
|
-
modelValue:
|
|
1282
|
-
"onUpdate:modelValue": P[9] || (P[9] = (S) =>
|
|
1283
|
-
label:
|
|
1284
|
-
placeholder:
|
|
1285
|
-
options:
|
|
1280
|
+
I(yn, {
|
|
1281
|
+
modelValue: l(r),
|
|
1282
|
+
"onUpdate:modelValue": P[9] || (P[9] = (S) => N(r) ? r.value = S : null),
|
|
1283
|
+
label: l(e)("booking.reservation.country"),
|
|
1284
|
+
placeholder: l(e)("booking.reservation.countryPlaceholder"),
|
|
1285
|
+
options: l(n),
|
|
1286
1286
|
required: ""
|
|
1287
1287
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1288
1288
|
I(oe, {
|
|
1289
|
-
modelValue:
|
|
1290
|
-
"onUpdate:modelValue": P[10] || (P[10] = (S) =>
|
|
1289
|
+
modelValue: l(i),
|
|
1290
|
+
"onUpdate:modelValue": P[10] || (P[10] = (S) => N(i) ? i.value = S : null),
|
|
1291
1291
|
type: "textarea",
|
|
1292
1292
|
name: "address",
|
|
1293
1293
|
autocomplete: "street-address",
|
|
1294
|
-
label:
|
|
1294
|
+
label: l(e)("booking.reservation.streetAddress"),
|
|
1295
1295
|
icon: "map-marked",
|
|
1296
|
-
placeholder:
|
|
1296
|
+
placeholder: l(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1297
1297
|
required: ""
|
|
1298
1298
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1299
|
-
v("ul",
|
|
1299
|
+
v("ul", ci, [
|
|
1300
1300
|
v("li", null, [
|
|
1301
1301
|
I(oe, {
|
|
1302
|
-
modelValue:
|
|
1303
|
-
"onUpdate:modelValue": P[11] || (P[11] = (S) =>
|
|
1302
|
+
modelValue: l(_),
|
|
1303
|
+
"onUpdate:modelValue": P[11] || (P[11] = (S) => N(_) ? _.value = S : null),
|
|
1304
1304
|
type: "text",
|
|
1305
1305
|
name: "postal",
|
|
1306
1306
|
autocomplete: "postal-code",
|
|
1307
|
-
label:
|
|
1307
|
+
label: l(e)("booking.reservation.postal"),
|
|
1308
1308
|
icon: "mailbox",
|
|
1309
|
-
placeholder:
|
|
1309
|
+
placeholder: l(e)("booking.reservation.postalPlaceholder"),
|
|
1310
1310
|
required: ""
|
|
1311
1311
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1312
1312
|
]),
|
|
1313
1313
|
v("li", null, [
|
|
1314
1314
|
I(oe, {
|
|
1315
|
-
modelValue:
|
|
1316
|
-
"onUpdate:modelValue": P[12] || (P[12] = (S) =>
|
|
1315
|
+
modelValue: l(f),
|
|
1316
|
+
"onUpdate:modelValue": P[12] || (P[12] = (S) => N(f) ? f.value = S : null),
|
|
1317
1317
|
type: "text",
|
|
1318
1318
|
name: "city",
|
|
1319
1319
|
autocomplete: "address-level2",
|
|
1320
|
-
label:
|
|
1320
|
+
label: l(e)("booking.reservation.city"),
|
|
1321
1321
|
icon: "city",
|
|
1322
|
-
placeholder:
|
|
1322
|
+
placeholder: l(e)("booking.reservation.cityPlaceholder"),
|
|
1323
1323
|
required: ""
|
|
1324
1324
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1325
1325
|
])
|
|
1326
1326
|
]),
|
|
1327
1327
|
I(oe, {
|
|
1328
|
-
modelValue:
|
|
1329
|
-
"onUpdate:modelValue": P[13] || (P[13] = (S) =>
|
|
1328
|
+
modelValue: l(g),
|
|
1329
|
+
"onUpdate:modelValue": P[13] || (P[13] = (S) => N(g) ? g.value = S : null),
|
|
1330
1330
|
type: "textarea",
|
|
1331
|
-
label: `${
|
|
1331
|
+
label: `${l(e)("booking.reservation.remark")} (${l(e)("booking.reservation.optional")})`,
|
|
1332
1332
|
icon: "info-circle",
|
|
1333
|
-
placeholder:
|
|
1333
|
+
placeholder: l(e)("booking.reservation.remarkPlaceholder")
|
|
1334
1334
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1335
1335
|
I(oe, {
|
|
1336
|
-
modelValue:
|
|
1337
|
-
"onUpdate:modelValue": P[14] || (P[14] = (S) =>
|
|
1336
|
+
modelValue: l(T),
|
|
1337
|
+
"onUpdate:modelValue": P[14] || (P[14] = (S) => N(T) ? T.value = S : null),
|
|
1338
1338
|
type: "textarea",
|
|
1339
|
-
label: `${
|
|
1339
|
+
label: `${l(e)("booking.reservation.allergies")} (${l(e)("booking.reservation.optional")})`,
|
|
1340
1340
|
icon: "allergies",
|
|
1341
|
-
placeholder:
|
|
1341
|
+
placeholder: l(e)("booking.reservation.allergiesPlaceholder")
|
|
1342
1342
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1343
|
-
|
|
1343
|
+
l(Ut) ? x("", !0) : (E(), R(_n, {
|
|
1344
1344
|
key: 3,
|
|
1345
|
-
modelValue:
|
|
1346
|
-
"onUpdate:modelValue": P[15] || (P[15] = (S) =>
|
|
1347
|
-
label: `${
|
|
1345
|
+
modelValue: l(h),
|
|
1346
|
+
"onUpdate:modelValue": P[15] || (P[15] = (S) => N(h) ? h.value = S : null),
|
|
1347
|
+
label: `${l(e)("booking.reservation.purposeOfStay")} (${l(e)("booking.reservation.optional")})`,
|
|
1348
1348
|
name: "travelingFor",
|
|
1349
|
-
checkboxes:
|
|
1349
|
+
checkboxes: to.value
|
|
1350
1350
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1351
1351
|
])
|
|
1352
1352
|
]),
|
|
1353
1353
|
navigation: w(() => [
|
|
1354
1354
|
v("div", null, [
|
|
1355
|
-
I(
|
|
1356
|
-
label:
|
|
1357
|
-
disabled: !
|
|
1358
|
-
"is-loading":
|
|
1355
|
+
I(de, {
|
|
1356
|
+
label: l(Yt) ? l(e)("booking.reservation.nextButton") : l(e)("general.confirmReservation"),
|
|
1357
|
+
disabled: !l(c),
|
|
1358
|
+
"is-loading": l(u),
|
|
1359
1359
|
"full-width": "",
|
|
1360
|
-
onClickEvent: (S) =>
|
|
1360
|
+
onClickEvent: (S) => so(G)
|
|
1361
1361
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1362
1362
|
v("button", {
|
|
1363
1363
|
class: "konnectio-abort-reservation link",
|
|
1364
1364
|
onClick: st((S) => et(M), ["prevent"])
|
|
1365
1365
|
}, [
|
|
1366
|
-
v("span", null, V(
|
|
1367
|
-
], 8,
|
|
1366
|
+
v("span", null, V(l(e)("general.goAStepBack")), 1)
|
|
1367
|
+
], 8, pi)
|
|
1368
1368
|
])
|
|
1369
1369
|
]),
|
|
1370
1370
|
_: 2
|
|
1371
1371
|
}, 1024)
|
|
1372
1372
|
]),
|
|
1373
1373
|
payment: w(() => [
|
|
1374
|
-
I(
|
|
1374
|
+
I(Fo)
|
|
1375
1375
|
]),
|
|
1376
1376
|
confirmation: w(() => [
|
|
1377
|
-
I(
|
|
1378
|
-
message:
|
|
1377
|
+
I(Ao, {
|
|
1378
|
+
message: l(e)("booking.confirmation.thankYou")
|
|
1379
1379
|
}, null, 8, ["message"])
|
|
1380
1380
|
]),
|
|
1381
1381
|
_: 1
|
|
@@ -1385,7 +1385,7 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
|
|
|
1385
1385
|
}, 8, ["access-token"])
|
|
1386
1386
|
]),
|
|
1387
1387
|
fallback: w(() => [
|
|
1388
|
-
I(
|
|
1388
|
+
I(Mn)
|
|
1389
1389
|
]),
|
|
1390
1390
|
_: 1
|
|
1391
1391
|
}))
|
|
@@ -1393,8 +1393,8 @@ const ri = { class: "fresh-booking-event-addons-price" }, si = { key: 1 }, ai =
|
|
|
1393
1393
|
_: 1
|
|
1394
1394
|
}, 8, ["styling"]));
|
|
1395
1395
|
}
|
|
1396
|
-
}),
|
|
1397
|
-
var
|
|
1396
|
+
}), ve = /* @__PURE__ */ X(hi, [["__scopeId", "data-v-fd9b6d4f"]]);
|
|
1397
|
+
var Lt = { exports: {} }, Oe = { exports: {} }, De = { exports: {} }, lt;
|
|
1398
1398
|
function Qe() {
|
|
1399
1399
|
return lt || (lt = 1, function(o) {
|
|
1400
1400
|
(function(e, t) {
|
|
@@ -1403,30 +1403,30 @@ function Qe() {
|
|
|
1403
1403
|
function e() {
|
|
1404
1404
|
}
|
|
1405
1405
|
var t = e.prototype;
|
|
1406
|
-
return t.on = function(n,
|
|
1407
|
-
if (!(!n || !
|
|
1408
|
-
var u = this._events = this._events || {},
|
|
1409
|
-
return
|
|
1406
|
+
return t.on = function(n, a) {
|
|
1407
|
+
if (!(!n || !a)) {
|
|
1408
|
+
var u = this._events = this._events || {}, c = u[n] = u[n] || [];
|
|
1409
|
+
return c.indexOf(a) == -1 && c.push(a), this;
|
|
1410
1410
|
}
|
|
1411
|
-
}, t.once = function(n,
|
|
1412
|
-
if (!(!n || !
|
|
1413
|
-
this.on(n,
|
|
1414
|
-
var u = this._onceEvents = this._onceEvents || {},
|
|
1415
|
-
return
|
|
1411
|
+
}, t.once = function(n, a) {
|
|
1412
|
+
if (!(!n || !a)) {
|
|
1413
|
+
this.on(n, a);
|
|
1414
|
+
var u = this._onceEvents = this._onceEvents || {}, c = u[n] = u[n] || {};
|
|
1415
|
+
return c[a] = !0, this;
|
|
1416
1416
|
}
|
|
1417
|
-
}, t.off = function(n,
|
|
1417
|
+
}, t.off = function(n, a) {
|
|
1418
1418
|
var u = this._events && this._events[n];
|
|
1419
1419
|
if (!(!u || !u.length)) {
|
|
1420
|
-
var
|
|
1421
|
-
return
|
|
1420
|
+
var c = u.indexOf(a);
|
|
1421
|
+
return c != -1 && u.splice(c, 1), this;
|
|
1422
1422
|
}
|
|
1423
|
-
}, t.emitEvent = function(n,
|
|
1423
|
+
}, t.emitEvent = function(n, a) {
|
|
1424
1424
|
var u = this._events && this._events[n];
|
|
1425
1425
|
if (!(!u || !u.length)) {
|
|
1426
|
-
u = u.slice(0),
|
|
1427
|
-
for (var
|
|
1428
|
-
var d = u[h],
|
|
1429
|
-
|
|
1426
|
+
u = u.slice(0), a = a || [];
|
|
1427
|
+
for (var c = this._onceEvents && this._onceEvents[n], h = 0; h < u.length; h++) {
|
|
1428
|
+
var d = u[h], p = c && c[d];
|
|
1429
|
+
p && (this.off(n, d), delete c[d]), d.apply(this, a);
|
|
1430
1430
|
}
|
|
1431
1431
|
return this;
|
|
1432
1432
|
}
|
|
@@ -1436,7 +1436,7 @@ function Qe() {
|
|
|
1436
1436
|
});
|
|
1437
1437
|
}(De)), De.exports;
|
|
1438
1438
|
}
|
|
1439
|
-
var
|
|
1439
|
+
var Ae = { exports: {} };
|
|
1440
1440
|
/*!
|
|
1441
1441
|
* getSize v2.0.3
|
|
1442
1442
|
* measure size of elements
|
|
@@ -1454,7 +1454,7 @@ function Je() {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
function n() {
|
|
1456
1456
|
}
|
|
1457
|
-
var
|
|
1457
|
+
var a = typeof console == "undefined" ? n : function(s) {
|
|
1458
1458
|
console.error(s);
|
|
1459
1459
|
}, u = [
|
|
1460
1460
|
"paddingLeft",
|
|
@@ -1469,7 +1469,7 @@ function Je() {
|
|
|
1469
1469
|
"borderRightWidth",
|
|
1470
1470
|
"borderTopWidth",
|
|
1471
1471
|
"borderBottomWidth"
|
|
1472
|
-
],
|
|
1472
|
+
], c = u.length;
|
|
1473
1473
|
function h() {
|
|
1474
1474
|
for (var s = {
|
|
1475
1475
|
width: 0,
|
|
@@ -1478,7 +1478,7 @@ function Je() {
|
|
|
1478
1478
|
innerHeight: 0,
|
|
1479
1479
|
outerWidth: 0,
|
|
1480
1480
|
outerHeight: 0
|
|
1481
|
-
}, k = 0; k <
|
|
1481
|
+
}, k = 0; k < c; k++) {
|
|
1482
1482
|
var _ = u[k];
|
|
1483
1483
|
s[_] = 0;
|
|
1484
1484
|
}
|
|
@@ -1486,12 +1486,12 @@ function Je() {
|
|
|
1486
1486
|
}
|
|
1487
1487
|
function d(s) {
|
|
1488
1488
|
var k = getComputedStyle(s);
|
|
1489
|
-
return k ||
|
|
1489
|
+
return k || a("Style returned " + k + ". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"), k;
|
|
1490
1490
|
}
|
|
1491
|
-
var
|
|
1491
|
+
var p = !1, m;
|
|
1492
1492
|
function y() {
|
|
1493
|
-
if (!
|
|
1494
|
-
|
|
1493
|
+
if (!p) {
|
|
1494
|
+
p = !0;
|
|
1495
1495
|
var s = document.createElement("div");
|
|
1496
1496
|
s.style.width = "200px", s.style.padding = "1px 2px 3px 4px", s.style.borderStyle = "solid", s.style.borderWidth = "1px 2px 3px 4px", s.style.boxSizing = "border-box";
|
|
1497
1497
|
var k = document.body || document.documentElement;
|
|
@@ -1507,24 +1507,24 @@ function Je() {
|
|
|
1507
1507
|
return h();
|
|
1508
1508
|
var _ = {};
|
|
1509
1509
|
_.width = s.offsetWidth, _.height = s.offsetHeight;
|
|
1510
|
-
for (var f = _.isBorderBox = k.boxSizing == "border-box", i = 0; i <
|
|
1510
|
+
for (var f = _.isBorderBox = k.boxSizing == "border-box", i = 0; i < c; i++) {
|
|
1511
1511
|
var r = u[i], g = k[r], T = parseFloat(g);
|
|
1512
1512
|
_[r] = isNaN(T) ? 0 : T;
|
|
1513
1513
|
}
|
|
1514
|
-
var $ = _.paddingLeft + _.paddingRight, L = _.paddingTop + _.paddingBottom, H = _.marginLeft + _.marginRight, D = _.marginTop + _.marginBottom,
|
|
1515
|
-
|
|
1516
|
-
(Z ? 0 : $ +
|
|
1514
|
+
var $ = _.paddingLeft + _.paddingRight, L = _.paddingTop + _.paddingBottom, H = _.marginLeft + _.marginRight, D = _.marginTop + _.marginBottom, A = _.borderLeftWidth + _.borderRightWidth, W = _.borderTopWidth + _.borderBottomWidth, Z = f && m, ae = t(k.width);
|
|
1515
|
+
ae !== !1 && (_.width = ae + // add padding and border unless it's already including it
|
|
1516
|
+
(Z ? 0 : $ + A));
|
|
1517
1517
|
var U = t(k.height);
|
|
1518
1518
|
return U !== !1 && (_.height = U + // add padding and border unless it's already including it
|
|
1519
|
-
(Z ? 0 : L + W)), _.innerWidth = _.width - ($ +
|
|
1519
|
+
(Z ? 0 : L + W)), _.innerWidth = _.width - ($ + A), _.innerHeight = _.height - (L + W), _.outerWidth = _.width + H, _.outerHeight = _.height + D, _;
|
|
1520
1520
|
}
|
|
1521
1521
|
}
|
|
1522
1522
|
return b;
|
|
1523
1523
|
});
|
|
1524
|
-
}(
|
|
1524
|
+
}(Ae)), Ae.exports;
|
|
1525
1525
|
}
|
|
1526
|
-
var Me = { exports: {} },
|
|
1527
|
-
function
|
|
1526
|
+
var Me = { exports: {} }, Re = { exports: {} }, dt;
|
|
1527
|
+
function fi() {
|
|
1528
1528
|
return dt || (dt = 1, function(o) {
|
|
1529
1529
|
(function(e, t) {
|
|
1530
1530
|
o.exports ? o.exports = t() : e.matchesSelector = t();
|
|
@@ -1535,74 +1535,74 @@ function mi() {
|
|
|
1535
1535
|
return "matches";
|
|
1536
1536
|
if (n.matchesSelector)
|
|
1537
1537
|
return "matchesSelector";
|
|
1538
|
-
for (var
|
|
1539
|
-
var
|
|
1538
|
+
for (var a = ["webkit", "moz", "ms", "o"], u = 0; u < a.length; u++) {
|
|
1539
|
+
var c = a[u], h = c + "MatchesSelector";
|
|
1540
1540
|
if (n[h])
|
|
1541
1541
|
return h;
|
|
1542
1542
|
}
|
|
1543
1543
|
}();
|
|
1544
|
-
return function(
|
|
1545
|
-
return
|
|
1544
|
+
return function(a, u) {
|
|
1545
|
+
return a[t](u);
|
|
1546
1546
|
};
|
|
1547
1547
|
});
|
|
1548
|
-
}(
|
|
1548
|
+
}(Re)), Re.exports;
|
|
1549
1549
|
}
|
|
1550
1550
|
var ct;
|
|
1551
|
-
function
|
|
1551
|
+
function mi() {
|
|
1552
1552
|
return ct || (ct = 1, function(o) {
|
|
1553
1553
|
(function(e, t) {
|
|
1554
1554
|
o.exports ? o.exports = t(
|
|
1555
1555
|
e,
|
|
1556
|
-
|
|
1556
|
+
fi()
|
|
1557
1557
|
) : e.fizzyUIUtils = t(
|
|
1558
1558
|
e,
|
|
1559
1559
|
e.matchesSelector
|
|
1560
1560
|
);
|
|
1561
1561
|
})(window, function(t, n) {
|
|
1562
|
-
var
|
|
1563
|
-
|
|
1564
|
-
for (var
|
|
1565
|
-
h[
|
|
1562
|
+
var a = {};
|
|
1563
|
+
a.extend = function(h, d) {
|
|
1564
|
+
for (var p in d)
|
|
1565
|
+
h[p] = d[p];
|
|
1566
1566
|
return h;
|
|
1567
|
-
},
|
|
1567
|
+
}, a.modulo = function(h, d) {
|
|
1568
1568
|
return (h % d + d) % d;
|
|
1569
1569
|
};
|
|
1570
1570
|
var u = Array.prototype.slice;
|
|
1571
|
-
|
|
1571
|
+
a.makeArray = function(h) {
|
|
1572
1572
|
if (Array.isArray(h))
|
|
1573
1573
|
return h;
|
|
1574
1574
|
if (h == null)
|
|
1575
1575
|
return [];
|
|
1576
1576
|
var d = typeof h == "object" && typeof h.length == "number";
|
|
1577
1577
|
return d ? u.call(h) : [h];
|
|
1578
|
-
},
|
|
1579
|
-
var
|
|
1580
|
-
|
|
1581
|
-
},
|
|
1578
|
+
}, a.removeFrom = function(h, d) {
|
|
1579
|
+
var p = h.indexOf(d);
|
|
1580
|
+
p != -1 && h.splice(p, 1);
|
|
1581
|
+
}, a.getParent = function(h, d) {
|
|
1582
1582
|
for (; h.parentNode && h != document.body; )
|
|
1583
1583
|
if (h = h.parentNode, n(h, d))
|
|
1584
1584
|
return h;
|
|
1585
|
-
},
|
|
1585
|
+
}, a.getQueryElement = function(h) {
|
|
1586
1586
|
return typeof h == "string" ? document.querySelector(h) : h;
|
|
1587
|
-
},
|
|
1587
|
+
}, a.handleEvent = function(h) {
|
|
1588
1588
|
var d = "on" + h.type;
|
|
1589
1589
|
this[d] && this[d](h);
|
|
1590
|
-
},
|
|
1591
|
-
h =
|
|
1592
|
-
var
|
|
1590
|
+
}, a.filterFindElements = function(h, d) {
|
|
1591
|
+
h = a.makeArray(h);
|
|
1592
|
+
var p = [];
|
|
1593
1593
|
return h.forEach(function(m) {
|
|
1594
1594
|
if (m instanceof HTMLElement) {
|
|
1595
1595
|
if (!d) {
|
|
1596
|
-
|
|
1596
|
+
p.push(m);
|
|
1597
1597
|
return;
|
|
1598
1598
|
}
|
|
1599
|
-
n(m, d) &&
|
|
1599
|
+
n(m, d) && p.push(m);
|
|
1600
1600
|
for (var y = m.querySelectorAll(d), b = 0; b < y.length; b++)
|
|
1601
|
-
|
|
1601
|
+
p.push(y[b]);
|
|
1602
1602
|
}
|
|
1603
|
-
}),
|
|
1604
|
-
},
|
|
1605
|
-
|
|
1603
|
+
}), p;
|
|
1604
|
+
}, a.debounceMethod = function(h, d, p) {
|
|
1605
|
+
p = p || 100;
|
|
1606
1606
|
var m = h.prototype[d], y = d + "Timeout";
|
|
1607
1607
|
h.prototype[d] = function() {
|
|
1608
1608
|
var b = this[y];
|
|
@@ -1610,38 +1610,38 @@ function gi() {
|
|
|
1610
1610
|
var s = arguments, k = this;
|
|
1611
1611
|
this[y] = setTimeout(function() {
|
|
1612
1612
|
m.apply(k, s), delete k[y];
|
|
1613
|
-
},
|
|
1613
|
+
}, p);
|
|
1614
1614
|
};
|
|
1615
|
-
},
|
|
1615
|
+
}, a.docReady = function(h) {
|
|
1616
1616
|
var d = document.readyState;
|
|
1617
1617
|
d == "complete" || d == "interactive" ? setTimeout(h) : document.addEventListener("DOMContentLoaded", h);
|
|
1618
|
-
},
|
|
1619
|
-
return h.replace(/(.)([A-Z])/g, function(d,
|
|
1620
|
-
return
|
|
1618
|
+
}, a.toDashed = function(h) {
|
|
1619
|
+
return h.replace(/(.)([A-Z])/g, function(d, p, m) {
|
|
1620
|
+
return p + "-" + m;
|
|
1621
1621
|
}).toLowerCase();
|
|
1622
1622
|
};
|
|
1623
|
-
var
|
|
1624
|
-
return
|
|
1625
|
-
|
|
1626
|
-
var
|
|
1623
|
+
var c = t.console;
|
|
1624
|
+
return a.htmlInit = function(h, d) {
|
|
1625
|
+
a.docReady(function() {
|
|
1626
|
+
var p = a.toDashed(d), m = "data-" + p, y = document.querySelectorAll("[" + m + "]"), b = document.querySelectorAll(".js-" + p), s = a.makeArray(y).concat(a.makeArray(b)), k = m + "-options", _ = t.jQuery;
|
|
1627
1627
|
s.forEach(function(f) {
|
|
1628
1628
|
var i = f.getAttribute(m) || f.getAttribute(k), r;
|
|
1629
1629
|
try {
|
|
1630
1630
|
r = i && JSON.parse(i);
|
|
1631
1631
|
} catch (T) {
|
|
1632
|
-
|
|
1632
|
+
c && c.error("Error parsing " + m + " on " + f.className + ": " + T);
|
|
1633
1633
|
return;
|
|
1634
1634
|
}
|
|
1635
1635
|
var g = new h(f, r);
|
|
1636
1636
|
_ && _.data(f, d, g);
|
|
1637
1637
|
});
|
|
1638
1638
|
});
|
|
1639
|
-
},
|
|
1639
|
+
}, a;
|
|
1640
1640
|
});
|
|
1641
1641
|
}(Me)), Me.exports;
|
|
1642
1642
|
}
|
|
1643
|
-
var
|
|
1644
|
-
function
|
|
1643
|
+
var Be = { exports: {} }, pt;
|
|
1644
|
+
function gi() {
|
|
1645
1645
|
return pt || (pt = 1, function(o) {
|
|
1646
1646
|
(function(e, t) {
|
|
1647
1647
|
o.exports ? o.exports = t(
|
|
@@ -1652,20 +1652,20 @@ function vi() {
|
|
|
1652
1652
|
e.getSize
|
|
1653
1653
|
));
|
|
1654
1654
|
})(window, function(t, n) {
|
|
1655
|
-
function
|
|
1655
|
+
function a(f) {
|
|
1656
1656
|
for (var i in f)
|
|
1657
1657
|
return !1;
|
|
1658
1658
|
return i = null, !0;
|
|
1659
1659
|
}
|
|
1660
|
-
var u = document.documentElement.style,
|
|
1660
|
+
var u = document.documentElement.style, c = typeof u.transition == "string" ? "transition" : "WebkitTransition", h = typeof u.transform == "string" ? "transform" : "WebkitTransform", d = {
|
|
1661
1661
|
WebkitTransition: "webkitTransitionEnd",
|
|
1662
1662
|
transition: "transitionend"
|
|
1663
|
-
}[
|
|
1663
|
+
}[c], p = {
|
|
1664
1664
|
transform: h,
|
|
1665
|
-
transition:
|
|
1666
|
-
transitionDuration:
|
|
1667
|
-
transitionProperty:
|
|
1668
|
-
transitionDelay:
|
|
1665
|
+
transition: c,
|
|
1666
|
+
transitionDuration: c + "Duration",
|
|
1667
|
+
transitionProperty: c + "Property",
|
|
1668
|
+
transitionDelay: c + "Delay"
|
|
1669
1669
|
};
|
|
1670
1670
|
function m(f, i) {
|
|
1671
1671
|
f && (this.element = f, this.layout = i, this.position = {
|
|
@@ -1690,7 +1690,7 @@ function vi() {
|
|
|
1690
1690
|
}, y.css = function(f) {
|
|
1691
1691
|
var i = this.element.style;
|
|
1692
1692
|
for (var r in f) {
|
|
1693
|
-
var g =
|
|
1693
|
+
var g = p[r] || r;
|
|
1694
1694
|
i[g] = f[r];
|
|
1695
1695
|
}
|
|
1696
1696
|
}, y.getPosition = function() {
|
|
@@ -1699,8 +1699,8 @@ function vi() {
|
|
|
1699
1699
|
}, y.layoutPosition = function() {
|
|
1700
1700
|
var f = this.layout.size, i = {}, r = this.layout._getOption("originLeft"), g = this.layout._getOption("originTop"), T = r ? "paddingLeft" : "paddingRight", $ = r ? "left" : "right", L = r ? "right" : "left", H = this.position.x + f[T];
|
|
1701
1701
|
i[$] = this.getXValue(H), i[L] = "";
|
|
1702
|
-
var D = g ? "paddingTop" : "paddingBottom",
|
|
1703
|
-
i[
|
|
1702
|
+
var D = g ? "paddingTop" : "paddingBottom", A = g ? "top" : "bottom", W = g ? "bottom" : "top", Z = this.position.y + f[D];
|
|
1703
|
+
i[A] = this.getYValue(Z), i[W] = "", this.css(i), this.emitEvent("layout", [this]);
|
|
1704
1704
|
}, y.getXValue = function(f) {
|
|
1705
1705
|
var i = this.layout._getOption("horizontal");
|
|
1706
1706
|
return this.layout.options.percentPosition && !i ? f / this.layout.size.width * 100 + "%" : f + "px";
|
|
@@ -1771,7 +1771,7 @@ function vi() {
|
|
|
1771
1771
|
y.ontransitionend = function(f) {
|
|
1772
1772
|
if (f.target === this.element) {
|
|
1773
1773
|
var i = this._transn, r = k[f.propertyName] || f.propertyName;
|
|
1774
|
-
if (delete i.ingProperties[r],
|
|
1774
|
+
if (delete i.ingProperties[r], a(i.ingProperties) && this.disableTransition(), r in i.clean && (this.element.style[f.propertyName] = "", delete i.clean[r]), r in i.onEnd) {
|
|
1775
1775
|
var g = i.onEnd[r];
|
|
1776
1776
|
g.call(this), delete i.onEnd[r];
|
|
1777
1777
|
}
|
|
@@ -1797,7 +1797,7 @@ function vi() {
|
|
|
1797
1797
|
}, y.removeElem = function() {
|
|
1798
1798
|
this.element.parentNode.removeChild(this.element), this.css({ display: "" }), this.emitEvent("remove", [this]);
|
|
1799
1799
|
}, y.remove = function() {
|
|
1800
|
-
if (!
|
|
1800
|
+
if (!c || !parseFloat(this.layout.options.transitionDuration)) {
|
|
1801
1801
|
this.removeElem();
|
|
1802
1802
|
return;
|
|
1803
1803
|
}
|
|
@@ -1845,7 +1845,7 @@ function vi() {
|
|
|
1845
1845
|
});
|
|
1846
1846
|
}, m;
|
|
1847
1847
|
});
|
|
1848
|
-
}(
|
|
1848
|
+
}(Be)), Be.exports;
|
|
1849
1849
|
}
|
|
1850
1850
|
/*!
|
|
1851
1851
|
* Outlayer v2.1.1
|
|
@@ -1853,15 +1853,15 @@ function vi() {
|
|
|
1853
1853
|
* MIT license
|
|
1854
1854
|
*/
|
|
1855
1855
|
var ht;
|
|
1856
|
-
function
|
|
1856
|
+
function vi() {
|
|
1857
1857
|
return ht || (ht = 1, function(o) {
|
|
1858
1858
|
(function(e, t) {
|
|
1859
1859
|
o.exports ? o.exports = t(
|
|
1860
1860
|
e,
|
|
1861
1861
|
Qe(),
|
|
1862
1862
|
Je(),
|
|
1863
|
-
|
|
1864
|
-
|
|
1863
|
+
mi(),
|
|
1864
|
+
gi()
|
|
1865
1865
|
) : e.Outlayer = t(
|
|
1866
1866
|
e,
|
|
1867
1867
|
e.EvEmitter,
|
|
@@ -1869,8 +1869,8 @@ function yi() {
|
|
|
1869
1869
|
e.fizzyUIUtils,
|
|
1870
1870
|
e.Outlayer.Item
|
|
1871
1871
|
);
|
|
1872
|
-
})(window, function(t, n,
|
|
1873
|
-
var h = t.console, d = t.jQuery,
|
|
1872
|
+
})(window, function(t, n, a, u, c) {
|
|
1873
|
+
var h = t.console, d = t.jQuery, p = function() {
|
|
1874
1874
|
}, m = 0, y = {};
|
|
1875
1875
|
function b(i, r) {
|
|
1876
1876
|
var g = u.getQueryElement(i);
|
|
@@ -1884,7 +1884,7 @@ function yi() {
|
|
|
1884
1884
|
var $ = this._getOption("initLayout");
|
|
1885
1885
|
$ && this.layout();
|
|
1886
1886
|
}
|
|
1887
|
-
b.namespace = "outlayer", b.Item =
|
|
1887
|
+
b.namespace = "outlayer", b.Item = c, b.defaults = {
|
|
1888
1888
|
containerStyle: {
|
|
1889
1889
|
position: "relative"
|
|
1890
1890
|
},
|
|
@@ -1944,10 +1944,10 @@ function yi() {
|
|
|
1944
1944
|
}, s._init = s.layout, s._resetLayout = function() {
|
|
1945
1945
|
this.getSize();
|
|
1946
1946
|
}, s.getSize = function() {
|
|
1947
|
-
this.size =
|
|
1947
|
+
this.size = a(this.element);
|
|
1948
1948
|
}, s._getMeasurement = function(i, r) {
|
|
1949
1949
|
var g = this.options[i], T;
|
|
1950
|
-
g ? (typeof g == "string" ? T = this.element.querySelector(g) : g instanceof HTMLElement && (T = g), this[i] = T ?
|
|
1950
|
+
g ? (typeof g == "string" ? T = this.element.querySelector(g) : g instanceof HTMLElement && (T = g), this[i] = T ? a(T)[r] : g) : this[i] = 0;
|
|
1951
1951
|
}, s.layoutItems = function(i, r) {
|
|
1952
1952
|
i = this._getItemsForLayout(i), this._layoutItems(i, r), this._postLayout();
|
|
1953
1953
|
}, s._getItemsForLayout = function(i) {
|
|
@@ -1988,7 +1988,7 @@ function yi() {
|
|
|
1988
1988
|
var r = this._getContainerSize();
|
|
1989
1989
|
r && (this._setContainerMeasure(r.width, !0), this._setContainerMeasure(r.height, !1));
|
|
1990
1990
|
}
|
|
1991
|
-
}, s._getContainerSize =
|
|
1991
|
+
}, s._getContainerSize = p, s._setContainerMeasure = function(i, r) {
|
|
1992
1992
|
if (i !== void 0) {
|
|
1993
1993
|
var g = this.size;
|
|
1994
1994
|
g.isBorderBox && (i += r ? g.paddingLeft + g.paddingRight + g.borderLeftWidth + g.borderRightWidth : g.paddingBottom + g.paddingTop + g.borderTopWidth + g.borderBottomWidth), i = Math.max(i, 0), this.element.style[r ? "width" : "height"] = i + "px";
|
|
@@ -2043,8 +2043,8 @@ function yi() {
|
|
|
2043
2043
|
right: i.right - (r.paddingRight + r.borderRightWidth),
|
|
2044
2044
|
bottom: i.bottom - (r.paddingBottom + r.borderBottomWidth)
|
|
2045
2045
|
};
|
|
2046
|
-
}, s._manageStamp =
|
|
2047
|
-
var r = i.getBoundingClientRect(), g = this._boundingRect, T =
|
|
2046
|
+
}, s._manageStamp = p, s._getElementOffset = function(i) {
|
|
2047
|
+
var r = i.getBoundingClientRect(), g = this._boundingRect, T = a(i), $ = {
|
|
2048
2048
|
left: r.left - g.left - T.marginLeft,
|
|
2049
2049
|
top: r.top - g.top - T.marginTop,
|
|
2050
2050
|
right: g.right - r.right - T.marginRight,
|
|
@@ -2060,7 +2060,7 @@ function yi() {
|
|
|
2060
2060
|
}, u.debounceMethod(b, "onresize", 100), s.resize = function() {
|
|
2061
2061
|
!this.isResizeBound || !this.needsResizeLayout() || this.layout();
|
|
2062
2062
|
}, s.needsResizeLayout = function() {
|
|
2063
|
-
var i =
|
|
2063
|
+
var i = a(this.element), r = this.size && i;
|
|
2064
2064
|
return r && i.innerWidth !== this.size.innerWidth;
|
|
2065
2065
|
}, s.addItems = function(i) {
|
|
2066
2066
|
var r = this._itemize(i);
|
|
@@ -2125,7 +2125,7 @@ function yi() {
|
|
|
2125
2125
|
return r && y[r];
|
|
2126
2126
|
}, b.create = function(i, r) {
|
|
2127
2127
|
var g = k(b);
|
|
2128
|
-
return g.defaults = u.extend({}, b.defaults), u.extend(g.defaults, r), g.compatOptions = u.extend({}, b.compatOptions), g.namespace = i, g.data = b.data, g.Item = k(
|
|
2128
|
+
return g.defaults = u.extend({}, b.defaults), u.extend(g.defaults, r), g.compatOptions = u.extend({}, b.compatOptions), g.namespace = i, g.data = b.data, g.Item = k(c), u.htmlInit(g, i), d && d.bridget && d.bridget(i, g), g;
|
|
2129
2129
|
};
|
|
2130
2130
|
function k(i) {
|
|
2131
2131
|
function r() {
|
|
@@ -2147,7 +2147,7 @@ function yi() {
|
|
|
2147
2147
|
var $ = _[T] || 1;
|
|
2148
2148
|
return g * $;
|
|
2149
2149
|
}
|
|
2150
|
-
return b.Item =
|
|
2150
|
+
return b.Item = c, b;
|
|
2151
2151
|
});
|
|
2152
2152
|
}(Oe)), Oe.exports;
|
|
2153
2153
|
}
|
|
@@ -2161,69 +2161,69 @@ function yi() {
|
|
|
2161
2161
|
(function(o) {
|
|
2162
2162
|
(function(e, t) {
|
|
2163
2163
|
o.exports ? o.exports = t(
|
|
2164
|
-
|
|
2164
|
+
vi(),
|
|
2165
2165
|
Je()
|
|
2166
2166
|
) : e.Masonry = t(
|
|
2167
2167
|
e.Outlayer,
|
|
2168
2168
|
e.getSize
|
|
2169
2169
|
);
|
|
2170
2170
|
})(window, function(t, n) {
|
|
2171
|
-
var
|
|
2172
|
-
|
|
2173
|
-
var u =
|
|
2171
|
+
var a = t.create("masonry");
|
|
2172
|
+
a.compatOptions.fitWidth = "isFitWidth";
|
|
2173
|
+
var u = a.prototype;
|
|
2174
2174
|
return u._resetLayout = function() {
|
|
2175
2175
|
this.getSize(), this._getMeasurement("columnWidth", "outerWidth"), this._getMeasurement("gutter", "outerWidth"), this.measureColumns(), this.colYs = [];
|
|
2176
|
-
for (var
|
|
2176
|
+
for (var c = 0; c < this.cols; c++)
|
|
2177
2177
|
this.colYs.push(0);
|
|
2178
2178
|
this.maxY = 0, this.horizontalColIndex = 0;
|
|
2179
2179
|
}, u.measureColumns = function() {
|
|
2180
2180
|
if (this.getContainerWidth(), !this.columnWidth) {
|
|
2181
|
-
var
|
|
2181
|
+
var c = this.items[0], h = c && c.element;
|
|
2182
2182
|
this.columnWidth = h && n(h).outerWidth || // if first elem has no width, default to size of container
|
|
2183
2183
|
this.containerWidth;
|
|
2184
2184
|
}
|
|
2185
|
-
var d = this.columnWidth += this.gutter,
|
|
2185
|
+
var d = this.columnWidth += this.gutter, p = this.containerWidth + this.gutter, m = p / d, y = d - p % d, b = y && y < 1 ? "round" : "floor";
|
|
2186
2186
|
m = Math[b](m), this.cols = Math.max(m, 1);
|
|
2187
2187
|
}, u.getContainerWidth = function() {
|
|
2188
|
-
var
|
|
2188
|
+
var c = this._getOption("fitWidth"), h = c ? this.element.parentNode : this.element, d = n(h);
|
|
2189
2189
|
this.containerWidth = d && d.innerWidth;
|
|
2190
|
-
}, u._getItemLayoutPosition = function(
|
|
2191
|
-
|
|
2192
|
-
var h =
|
|
2193
|
-
|
|
2194
|
-
for (var m = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", y = this[m](
|
|
2190
|
+
}, u._getItemLayoutPosition = function(c) {
|
|
2191
|
+
c.getSize();
|
|
2192
|
+
var h = c.size.outerWidth % this.columnWidth, d = h && h < 1 ? "round" : "ceil", p = Math[d](c.size.outerWidth / this.columnWidth);
|
|
2193
|
+
p = Math.min(p, this.cols);
|
|
2194
|
+
for (var m = this.options.horizontalOrder ? "_getHorizontalColPosition" : "_getTopColPosition", y = this[m](p, c), b = {
|
|
2195
2195
|
x: this.columnWidth * y.col,
|
|
2196
2196
|
y: y.y
|
|
2197
|
-
}, s = y.y +
|
|
2197
|
+
}, s = y.y + c.size.outerHeight, k = p + y.col, _ = y.col; _ < k; _++)
|
|
2198
2198
|
this.colYs[_] = s;
|
|
2199
2199
|
return b;
|
|
2200
|
-
}, u._getTopColPosition = function(
|
|
2201
|
-
var h = this._getTopColGroup(
|
|
2200
|
+
}, u._getTopColPosition = function(c) {
|
|
2201
|
+
var h = this._getTopColGroup(c), d = Math.min.apply(Math, h);
|
|
2202
2202
|
return {
|
|
2203
2203
|
col: h.indexOf(d),
|
|
2204
2204
|
y: d
|
|
2205
2205
|
};
|
|
2206
|
-
}, u._getTopColGroup = function(
|
|
2207
|
-
if (
|
|
2206
|
+
}, u._getTopColGroup = function(c) {
|
|
2207
|
+
if (c < 2)
|
|
2208
2208
|
return this.colYs;
|
|
2209
|
-
for (var h = [], d = this.cols + 1 -
|
|
2210
|
-
h[
|
|
2209
|
+
for (var h = [], d = this.cols + 1 - c, p = 0; p < d; p++)
|
|
2210
|
+
h[p] = this._getColGroupY(p, c);
|
|
2211
2211
|
return h;
|
|
2212
|
-
}, u._getColGroupY = function(
|
|
2212
|
+
}, u._getColGroupY = function(c, h) {
|
|
2213
2213
|
if (h < 2)
|
|
2214
|
-
return this.colYs[
|
|
2215
|
-
var d = this.colYs.slice(
|
|
2214
|
+
return this.colYs[c];
|
|
2215
|
+
var d = this.colYs.slice(c, c + h);
|
|
2216
2216
|
return Math.max.apply(Math, d);
|
|
2217
|
-
}, u._getHorizontalColPosition = function(
|
|
2218
|
-
var d = this.horizontalColIndex % this.cols,
|
|
2219
|
-
d =
|
|
2217
|
+
}, u._getHorizontalColPosition = function(c, h) {
|
|
2218
|
+
var d = this.horizontalColIndex % this.cols, p = c > 1 && d + c > this.cols;
|
|
2219
|
+
d = p ? 0 : d;
|
|
2220
2220
|
var m = h.size.outerWidth && h.size.outerHeight;
|
|
2221
|
-
return this.horizontalColIndex = m ? d +
|
|
2221
|
+
return this.horizontalColIndex = m ? d + c : this.horizontalColIndex, {
|
|
2222
2222
|
col: d,
|
|
2223
|
-
y: this._getColGroupY(d,
|
|
2223
|
+
y: this._getColGroupY(d, c)
|
|
2224
2224
|
};
|
|
2225
|
-
}, u._manageStamp = function(
|
|
2226
|
-
var h = n(
|
|
2225
|
+
}, u._manageStamp = function(c) {
|
|
2226
|
+
var h = n(c), d = this._getElementOffset(c), p = this._getOption("originLeft"), m = p ? d.left : d.right, y = m + h.outerWidth, b = Math.floor(m / this.columnWidth);
|
|
2227
2227
|
b = Math.max(0, b);
|
|
2228
2228
|
var s = Math.floor(y / this.columnWidth);
|
|
2229
2229
|
s -= y % this.columnWidth ? 0 : 1, s = Math.min(this.cols - 1, s);
|
|
@@ -2231,23 +2231,23 @@ function yi() {
|
|
|
2231
2231
|
this.colYs[f] = Math.max(_, this.colYs[f]);
|
|
2232
2232
|
}, u._getContainerSize = function() {
|
|
2233
2233
|
this.maxY = Math.max.apply(Math, this.colYs);
|
|
2234
|
-
var
|
|
2234
|
+
var c = {
|
|
2235
2235
|
height: this.maxY
|
|
2236
2236
|
};
|
|
2237
|
-
return this._getOption("fitWidth") && (
|
|
2237
|
+
return this._getOption("fitWidth") && (c.width = this._getContainerFitWidth()), c;
|
|
2238
2238
|
}, u._getContainerFitWidth = function() {
|
|
2239
|
-
for (var
|
|
2240
|
-
|
|
2241
|
-
return (this.cols -
|
|
2239
|
+
for (var c = 0, h = this.cols; --h && this.colYs[h] === 0; )
|
|
2240
|
+
c++;
|
|
2241
|
+
return (this.cols - c) * this.columnWidth - this.gutter;
|
|
2242
2242
|
}, u.needsResizeLayout = function() {
|
|
2243
|
-
var
|
|
2244
|
-
return this.getContainerWidth(),
|
|
2245
|
-
},
|
|
2243
|
+
var c = this.containerWidth;
|
|
2244
|
+
return this.getContainerWidth(), c != this.containerWidth;
|
|
2245
|
+
}, a;
|
|
2246
2246
|
});
|
|
2247
|
-
})(
|
|
2248
|
-
var
|
|
2249
|
-
const ft = /* @__PURE__ */ Vt(
|
|
2250
|
-
var
|
|
2247
|
+
})(Lt);
|
|
2248
|
+
var yi = Lt.exports;
|
|
2249
|
+
const ft = /* @__PURE__ */ Vt(yi);
|
|
2250
|
+
var Pt = { exports: {} };
|
|
2251
2251
|
/*!
|
|
2252
2252
|
* imagesLoaded v4.1.4
|
|
2253
2253
|
* JavaScript is all like "You images are done yet or what?"
|
|
@@ -2266,8 +2266,8 @@ var xt = { exports: {} };
|
|
|
2266
2266
|
typeof window != "undefined" ? window : St,
|
|
2267
2267
|
// -------------------------- factory -------------------------- //
|
|
2268
2268
|
function(t, n) {
|
|
2269
|
-
var
|
|
2270
|
-
function
|
|
2269
|
+
var a = t.jQuery, u = t.console;
|
|
2270
|
+
function c(s, k) {
|
|
2271
2271
|
for (var _ in k)
|
|
2272
2272
|
s[_] = k[_];
|
|
2273
2273
|
return s;
|
|
@@ -2279,19 +2279,19 @@ var xt = { exports: {} };
|
|
|
2279
2279
|
var k = typeof s == "object" && typeof s.length == "number";
|
|
2280
2280
|
return k ? h.call(s) : [s];
|
|
2281
2281
|
}
|
|
2282
|
-
function
|
|
2283
|
-
if (!(this instanceof
|
|
2284
|
-
return new
|
|
2282
|
+
function p(s, k, _) {
|
|
2283
|
+
if (!(this instanceof p))
|
|
2284
|
+
return new p(s, k, _);
|
|
2285
2285
|
var f = s;
|
|
2286
2286
|
if (typeof s == "string" && (f = document.querySelectorAll(s)), !f) {
|
|
2287
2287
|
u.error("Bad element for imagesLoaded " + (f || s));
|
|
2288
2288
|
return;
|
|
2289
2289
|
}
|
|
2290
|
-
this.elements = d(f), this.options =
|
|
2290
|
+
this.elements = d(f), this.options = c({}, this.options), typeof k == "function" ? _ = k : c(this.options, k), _ && this.on("always", _), this.getImages(), a && (this.jqDeferred = new a.Deferred()), setTimeout(this.check.bind(this));
|
|
2291
2291
|
}
|
|
2292
|
-
|
|
2292
|
+
p.prototype = Object.create(n.prototype), p.prototype.options = {}, p.prototype.getImages = function() {
|
|
2293
2293
|
this.images = [], this.elements.forEach(this.addElementImages, this);
|
|
2294
|
-
},
|
|
2294
|
+
}, p.prototype.addElementImages = function(s) {
|
|
2295
2295
|
s.nodeName == "IMG" && this.addImage(s), this.options.background === !0 && this.addElementBackgroundImages(s);
|
|
2296
2296
|
var k = s.nodeType;
|
|
2297
2297
|
if (!(!k || !m[k])) {
|
|
@@ -2313,20 +2313,20 @@ var xt = { exports: {} };
|
|
|
2313
2313
|
9: !0,
|
|
2314
2314
|
11: !0
|
|
2315
2315
|
};
|
|
2316
|
-
|
|
2316
|
+
p.prototype.addElementBackgroundImages = function(s) {
|
|
2317
2317
|
var k = getComputedStyle(s);
|
|
2318
2318
|
if (k)
|
|
2319
2319
|
for (var _ = /url\((['"])?(.*?)\1\)/gi, f = _.exec(k.backgroundImage); f !== null; ) {
|
|
2320
2320
|
var i = f && f[2];
|
|
2321
2321
|
i && this.addBackground(i, s), f = _.exec(k.backgroundImage);
|
|
2322
2322
|
}
|
|
2323
|
-
},
|
|
2323
|
+
}, p.prototype.addImage = function(s) {
|
|
2324
2324
|
var k = new y(s);
|
|
2325
2325
|
this.images.push(k);
|
|
2326
|
-
},
|
|
2326
|
+
}, p.prototype.addBackground = function(s, k) {
|
|
2327
2327
|
var _ = new b(s, k);
|
|
2328
2328
|
this.images.push(_);
|
|
2329
|
-
},
|
|
2329
|
+
}, p.prototype.check = function() {
|
|
2330
2330
|
var s = this;
|
|
2331
2331
|
if (this.progressedCount = 0, this.hasAnyBroken = !1, !this.images.length) {
|
|
2332
2332
|
this.complete();
|
|
@@ -2340,9 +2340,9 @@ var xt = { exports: {} };
|
|
|
2340
2340
|
this.images.forEach(function(_) {
|
|
2341
2341
|
_.once("progress", k), _.check();
|
|
2342
2342
|
});
|
|
2343
|
-
},
|
|
2343
|
+
}, p.prototype.progress = function(s, k, _) {
|
|
2344
2344
|
this.progressedCount++, this.hasAnyBroken = this.hasAnyBroken || !s.isLoaded, this.emitEvent("progress", [this, s, k]), this.jqDeferred && this.jqDeferred.notify && this.jqDeferred.notify(this, s), this.progressedCount == this.images.length && this.complete(), this.options.debug && u && u.log("progress: " + _, s, k);
|
|
2345
|
-
},
|
|
2345
|
+
}, p.prototype.complete = function() {
|
|
2346
2346
|
var s = this.hasAnyBroken ? "fail" : "done";
|
|
2347
2347
|
if (this.isComplete = !0, this.emitEvent(s, [this]), this.emitEvent("always", [this]), this.jqDeferred) {
|
|
2348
2348
|
var k = this.hasAnyBroken ? "reject" : "resolve";
|
|
@@ -2384,18 +2384,18 @@ var xt = { exports: {} };
|
|
|
2384
2384
|
this.img.removeEventListener("load", this), this.img.removeEventListener("error", this);
|
|
2385
2385
|
}, b.prototype.confirm = function(s, k) {
|
|
2386
2386
|
this.isLoaded = s, this.emitEvent("progress", [this, this.element, k]);
|
|
2387
|
-
},
|
|
2388
|
-
s = s || t.jQuery, s && (
|
|
2389
|
-
var f = new
|
|
2390
|
-
return f.jqDeferred.promise(
|
|
2387
|
+
}, p.makeJQueryPlugin = function(s) {
|
|
2388
|
+
s = s || t.jQuery, s && (a = s, a.fn.imagesLoaded = function(k, _) {
|
|
2389
|
+
var f = new p(this, k, _);
|
|
2390
|
+
return f.jqDeferred.promise(a(this));
|
|
2391
2391
|
});
|
|
2392
|
-
},
|
|
2392
|
+
}, p.makeJQueryPlugin(), p;
|
|
2393
2393
|
}
|
|
2394
2394
|
);
|
|
2395
|
-
})(
|
|
2396
|
-
var
|
|
2397
|
-
const
|
|
2398
|
-
function
|
|
2395
|
+
})(Pt);
|
|
2396
|
+
var bi = Pt.exports;
|
|
2397
|
+
const ki = /* @__PURE__ */ Vt(bi);
|
|
2398
|
+
function _i(o) {
|
|
2399
2399
|
return { all: o = o || /* @__PURE__ */ new Map(), on: function(e, t) {
|
|
2400
2400
|
var n = o.get(e);
|
|
2401
2401
|
n ? n.push(t) : o.set(e, [t]);
|
|
@@ -2404,10 +2404,10 @@ function Ei(o) {
|
|
|
2404
2404
|
n && (t ? n.splice(n.indexOf(t) >>> 0, 1) : o.set(e, []));
|
|
2405
2405
|
}, emit: function(e, t) {
|
|
2406
2406
|
var n = o.get(e);
|
|
2407
|
-
n && n.slice().map(function(
|
|
2408
|
-
|
|
2409
|
-
}), (n = o.get("*")) && n.slice().map(function(
|
|
2410
|
-
|
|
2407
|
+
n && n.slice().map(function(a) {
|
|
2408
|
+
a(t);
|
|
2409
|
+
}), (n = o.get("*")) && n.slice().map(function(a) {
|
|
2410
|
+
a(e, t);
|
|
2411
2411
|
});
|
|
2412
2412
|
} };
|
|
2413
2413
|
}
|
|
@@ -2424,24 +2424,24 @@ const ye = {
|
|
|
2424
2424
|
"horizontal-order": "horizontalOrder",
|
|
2425
2425
|
stagger: "stagger",
|
|
2426
2426
|
"destroy-delay": "destroyDelay"
|
|
2427
|
-
}, be = "vuemasonry.itemAdded", ze = "vuemasonry.itemRemoved", We = "vuemasonry.imageLoaded",
|
|
2427
|
+
}, be = "vuemasonry.itemAdded", ze = "vuemasonry.itemRemoved", We = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy", Ei = function(o) {
|
|
2428
2428
|
return (o + "").toLowerCase() === "true";
|
|
2429
|
-
},
|
|
2429
|
+
}, Ti = function(o) {
|
|
2430
2430
|
return isNaN(o) ? o : parseInt(o);
|
|
2431
|
-
},
|
|
2431
|
+
}, Ii = function(o) {
|
|
2432
2432
|
const e = {};
|
|
2433
2433
|
return Array.prototype.slice.call(o).forEach(function(n) {
|
|
2434
|
-
Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] =
|
|
2434
|
+
Object.keys(ye).indexOf(n.name) > -1 && (n.name.indexOf("origin") > -1 ? e[ye[n.name]] = Ei(n.value) : n.name === "column-width" || n.name === "gutter" ? e[ye[n.name]] = Ti(n.value) : e[ye[n.name]] = n.value);
|
|
2435
2435
|
}), e;
|
|
2436
|
-
},
|
|
2437
|
-
|
|
2438
|
-
const t =
|
|
2439
|
-
|
|
2436
|
+
}, xt = {};
|
|
2437
|
+
xt.install = function(o, e) {
|
|
2438
|
+
const t = _i(), n = "VueMasonry", a = o;
|
|
2439
|
+
a.directive("masonry", {
|
|
2440
2440
|
props: ["transitionDuration", " itemSelector", "destroyDelay"],
|
|
2441
|
-
mounted: function(u,
|
|
2441
|
+
mounted: function(u, c) {
|
|
2442
2442
|
if (!ft)
|
|
2443
2443
|
throw new Error("Masonry plugin is not defined. Please check it's connected and parsed correctly.");
|
|
2444
|
-
const h =
|
|
2444
|
+
const h = Ii(u.attributes), d = new ft(u, h), p = c.value || n, m = h.destroyDelay ? parseInt(h.destroyDelay, 10) : void 0, y = function() {
|
|
2445
2445
|
d.reloadItems(), d.layout();
|
|
2446
2446
|
};
|
|
2447
2447
|
$t(() => {
|
|
@@ -2450,39 +2450,39 @@ wt.install = function(o, e) {
|
|
|
2450
2450
|
const b = function(k) {
|
|
2451
2451
|
y();
|
|
2452
2452
|
}, s = function(k) {
|
|
2453
|
-
t.off(`${be}__${
|
|
2453
|
+
t.off(`${be}__${p}`, b), t.off(`${ze}__${p}`, b), t.off(`${We}__${p}`, b), t.off(`${Ne}__${p}`, s);
|
|
2454
2454
|
const _ = m && !Number.isNaN(m) ? m : 0;
|
|
2455
2455
|
setTimeout(function() {
|
|
2456
2456
|
d.destroy();
|
|
2457
2457
|
}, _);
|
|
2458
2458
|
};
|
|
2459
|
-
t.on(`${be}__${
|
|
2459
|
+
t.on(`${be}__${p}`, b), t.on(`${ze}__${p}`, b), t.on(`${We}__${p}`, b), t.on(`${Ne}__${p}`, s);
|
|
2460
2460
|
},
|
|
2461
|
-
unbind: function(u,
|
|
2462
|
-
const h =
|
|
2463
|
-
t.emit(`${
|
|
2461
|
+
unbind: function(u, c) {
|
|
2462
|
+
const h = c.value || n;
|
|
2463
|
+
t.emit(`${Ne}__${h}`);
|
|
2464
2464
|
}
|
|
2465
|
-
}),
|
|
2466
|
-
mounted: function(u,
|
|
2467
|
-
const h =
|
|
2465
|
+
}), a.directive("masonryTile", {
|
|
2466
|
+
mounted: function(u, c) {
|
|
2467
|
+
const h = c.value || n;
|
|
2468
2468
|
t.emit(`${be}__${h}`, {
|
|
2469
2469
|
element: u
|
|
2470
|
-
}), new
|
|
2470
|
+
}), new ki(u, function() {
|
|
2471
2471
|
t.emit(`${We}__${h}`, {
|
|
2472
2472
|
element: u
|
|
2473
2473
|
});
|
|
2474
2474
|
});
|
|
2475
2475
|
},
|
|
2476
|
-
unbind: function(u,
|
|
2477
|
-
const h =
|
|
2476
|
+
unbind: function(u, c) {
|
|
2477
|
+
const h = c.value || n;
|
|
2478
2478
|
t.emit(`${ze}__${h}`, {
|
|
2479
2479
|
element: u
|
|
2480
2480
|
});
|
|
2481
2481
|
}
|
|
2482
2482
|
});
|
|
2483
2483
|
{
|
|
2484
|
-
const u = function(
|
|
2485
|
-
const h =
|
|
2484
|
+
const u = function(c) {
|
|
2485
|
+
const h = c || n;
|
|
2486
2486
|
t.emit(`${be}__${h}`);
|
|
2487
2487
|
};
|
|
2488
2488
|
o.config.globalProperties.$redrawVueMasonry = u, o.provide("redrawVueMasonry", u);
|
|
@@ -2490,28 +2490,28 @@ wt.install = function(o, e) {
|
|
|
2490
2490
|
};
|
|
2491
2491
|
function Ge(o, e = {}, t) {
|
|
2492
2492
|
for (const n in o) {
|
|
2493
|
-
const
|
|
2494
|
-
typeof
|
|
2493
|
+
const a = o[n], u = t ? `${t}:${n}` : n;
|
|
2494
|
+
typeof a == "object" && a !== null ? Ge(a, e, u) : typeof a == "function" && (e[u] = a);
|
|
2495
2495
|
}
|
|
2496
2496
|
return e;
|
|
2497
2497
|
}
|
|
2498
|
-
const
|
|
2499
|
-
function
|
|
2500
|
-
const t = e.shift(), n =
|
|
2498
|
+
const Ci = { run: (o) => o() }, $i = () => Ci, wt = typeof console.createTask != "undefined" ? console.createTask : $i;
|
|
2499
|
+
function Si(o, e) {
|
|
2500
|
+
const t = e.shift(), n = wt(t);
|
|
2501
2501
|
return o.reduce(
|
|
2502
|
-
(
|
|
2502
|
+
(a, u) => a.then(() => n.run(() => u(...e))),
|
|
2503
2503
|
Promise.resolve()
|
|
2504
2504
|
);
|
|
2505
2505
|
}
|
|
2506
|
-
function
|
|
2507
|
-
const t = e.shift(), n =
|
|
2508
|
-
return Promise.all(o.map((
|
|
2506
|
+
function Vi(o, e) {
|
|
2507
|
+
const t = e.shift(), n = wt(t);
|
|
2508
|
+
return Promise.all(o.map((a) => n.run(() => a(...e))));
|
|
2509
2509
|
}
|
|
2510
|
-
function
|
|
2510
|
+
function Fe(o, e) {
|
|
2511
2511
|
for (const t of [...o])
|
|
2512
2512
|
t(e);
|
|
2513
2513
|
}
|
|
2514
|
-
class
|
|
2514
|
+
class Li {
|
|
2515
2515
|
constructor() {
|
|
2516
2516
|
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);
|
|
2517
2517
|
}
|
|
@@ -2519,13 +2519,13 @@ class Pi {
|
|
|
2519
2519
|
if (!e || typeof t != "function")
|
|
2520
2520
|
return () => {
|
|
2521
2521
|
};
|
|
2522
|
-
const
|
|
2522
|
+
const a = e;
|
|
2523
2523
|
let u;
|
|
2524
2524
|
for (; this._deprecatedHooks[e]; )
|
|
2525
2525
|
u = this._deprecatedHooks[e], e = u.to;
|
|
2526
2526
|
if (u && !n.allowDeprecated) {
|
|
2527
|
-
let
|
|
2528
|
-
|
|
2527
|
+
let c = u.message;
|
|
2528
|
+
c || (c = `${a} hook has been deprecated` + (u.to ? `, please use ${u.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(c) || (console.warn(c), this._deprecatedMessages.add(c));
|
|
2529
2529
|
}
|
|
2530
2530
|
if (!t.name)
|
|
2531
2531
|
try {
|
|
@@ -2533,15 +2533,15 @@ class Pi {
|
|
|
2533
2533
|
get: () => "_" + e.replace(/\W+/g, "_") + "_hook_cb",
|
|
2534
2534
|
configurable: !0
|
|
2535
2535
|
});
|
|
2536
|
-
} catch (
|
|
2536
|
+
} catch (c) {
|
|
2537
2537
|
}
|
|
2538
2538
|
return this._hooks[e] = this._hooks[e] || [], this._hooks[e].push(t), () => {
|
|
2539
2539
|
t && (this.removeHook(e, t), t = void 0);
|
|
2540
2540
|
};
|
|
2541
2541
|
}
|
|
2542
2542
|
hookOnce(e, t) {
|
|
2543
|
-
let n,
|
|
2544
|
-
return n = this.hook(e,
|
|
2543
|
+
let n, a = (...u) => (typeof n == "function" && n(), n = void 0, a = void 0, t(...u));
|
|
2544
|
+
return n = this.hook(e, a), n;
|
|
2545
2545
|
}
|
|
2546
2546
|
removeHook(e, t) {
|
|
2547
2547
|
if (this._hooks[e]) {
|
|
@@ -2553,8 +2553,8 @@ class Pi {
|
|
|
2553
2553
|
this._deprecatedHooks[e] = typeof t == "string" ? { to: t } : t;
|
|
2554
2554
|
const n = this._hooks[e] || [];
|
|
2555
2555
|
delete this._hooks[e];
|
|
2556
|
-
for (const
|
|
2557
|
-
this.hook(e,
|
|
2556
|
+
for (const a of n)
|
|
2557
|
+
this.hook(e, a);
|
|
2558
2558
|
}
|
|
2559
2559
|
deprecateHooks(e) {
|
|
2560
2560
|
Object.assign(this._deprecatedHooks, e);
|
|
@@ -2563,11 +2563,11 @@ class Pi {
|
|
|
2563
2563
|
}
|
|
2564
2564
|
addHooks(e) {
|
|
2565
2565
|
const t = Ge(e), n = Object.keys(t).map(
|
|
2566
|
-
(
|
|
2566
|
+
(a) => this.hook(a, t[a])
|
|
2567
2567
|
);
|
|
2568
2568
|
return () => {
|
|
2569
|
-
for (const
|
|
2570
|
-
|
|
2569
|
+
for (const a of n.splice(0, n.length))
|
|
2570
|
+
a();
|
|
2571
2571
|
};
|
|
2572
2572
|
}
|
|
2573
2573
|
removeHooks(e) {
|
|
@@ -2580,21 +2580,21 @@ class Pi {
|
|
|
2580
2580
|
delete this._hooks[e];
|
|
2581
2581
|
}
|
|
2582
2582
|
callHook(e, ...t) {
|
|
2583
|
-
return t.unshift(e), this.callHookWith(
|
|
2583
|
+
return t.unshift(e), this.callHookWith(Si, e, ...t);
|
|
2584
2584
|
}
|
|
2585
2585
|
callHookParallel(e, ...t) {
|
|
2586
|
-
return t.unshift(e), this.callHookWith(
|
|
2586
|
+
return t.unshift(e), this.callHookWith(Vi, e, ...t);
|
|
2587
2587
|
}
|
|
2588
2588
|
callHookWith(e, t, ...n) {
|
|
2589
|
-
const
|
|
2590
|
-
this._before &&
|
|
2589
|
+
const a = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
|
|
2590
|
+
this._before && Fe(this._before, a);
|
|
2591
2591
|
const u = e(
|
|
2592
2592
|
t in this._hooks ? [...this._hooks[t]] : [],
|
|
2593
2593
|
n
|
|
2594
2594
|
);
|
|
2595
2595
|
return u instanceof Promise ? u.finally(() => {
|
|
2596
|
-
this._after &&
|
|
2597
|
-
}) : (this._after &&
|
|
2596
|
+
this._after && a && Fe(this._after, a);
|
|
2597
|
+
}) : (this._after && a && Fe(this._after, a), u);
|
|
2598
2598
|
}
|
|
2599
2599
|
beforeEach(e) {
|
|
2600
2600
|
return this._before = this._before || [], this._before.push(e), () => {
|
|
@@ -2613,20 +2613,20 @@ class Pi {
|
|
|
2613
2613
|
};
|
|
2614
2614
|
}
|
|
2615
2615
|
}
|
|
2616
|
-
function
|
|
2617
|
-
return new
|
|
2616
|
+
function Pi() {
|
|
2617
|
+
return new Li();
|
|
2618
2618
|
}
|
|
2619
|
-
function
|
|
2619
|
+
function xi(o) {
|
|
2620
2620
|
return Array.isArray(o) ? o : [o];
|
|
2621
2621
|
}
|
|
2622
|
-
const
|
|
2622
|
+
const wi = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
|
|
2623
2623
|
"base",
|
|
2624
2624
|
"meta",
|
|
2625
2625
|
"link",
|
|
2626
2626
|
"style",
|
|
2627
2627
|
"script",
|
|
2628
2628
|
"noscript"
|
|
2629
|
-
],
|
|
2629
|
+
], Hi = [
|
|
2630
2630
|
"title",
|
|
2631
2631
|
"titleTemplate",
|
|
2632
2632
|
"templateParams",
|
|
@@ -2638,7 +2638,7 @@ const Hi = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
|
|
|
2638
2638
|
"style",
|
|
2639
2639
|
"script",
|
|
2640
2640
|
"noscript"
|
|
2641
|
-
],
|
|
2641
|
+
], Oi = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Ht = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Di = typeof window != "undefined";
|
|
2642
2642
|
function Xe(o) {
|
|
2643
2643
|
let e = 9;
|
|
2644
2644
|
for (let t = 0; t < o.length; )
|
|
@@ -2648,69 +2648,69 @@ function Xe(o) {
|
|
|
2648
2648
|
function mt(o) {
|
|
2649
2649
|
return o._h || Xe(o._d ? o._d : `${o.tag}:${o.textContent || o.innerHTML || ""}:${Object.entries(o.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
|
|
2650
2650
|
}
|
|
2651
|
-
function
|
|
2651
|
+
function Ot(o, e) {
|
|
2652
2652
|
const { props: t, tag: n } = o;
|
|
2653
|
-
if (
|
|
2653
|
+
if (Oi.includes(n))
|
|
2654
2654
|
return n;
|
|
2655
2655
|
if (n === "link" && t.rel === "canonical")
|
|
2656
2656
|
return "canonical";
|
|
2657
2657
|
if (t.charset)
|
|
2658
2658
|
return "charset";
|
|
2659
|
-
const
|
|
2660
|
-
n === "meta" &&
|
|
2661
|
-
for (const u of
|
|
2659
|
+
const a = ["id"];
|
|
2660
|
+
n === "meta" && a.push("name", "property", "http-equiv");
|
|
2661
|
+
for (const u of a)
|
|
2662
2662
|
if (typeof t[u] != "undefined") {
|
|
2663
|
-
const
|
|
2664
|
-
return e && !e(
|
|
2663
|
+
const c = String(t[u]);
|
|
2664
|
+
return e && !e(c) ? !1 : `${n}:${u}:${c}`;
|
|
2665
2665
|
}
|
|
2666
2666
|
return !1;
|
|
2667
2667
|
}
|
|
2668
2668
|
function gt(o, e) {
|
|
2669
2669
|
return o == null ? e || null : typeof o == "function" ? o(e) : o;
|
|
2670
2670
|
}
|
|
2671
|
-
function
|
|
2671
|
+
function Ai(o, e, t) {
|
|
2672
2672
|
return Q(this, null, function* () {
|
|
2673
2673
|
const n = {
|
|
2674
2674
|
tag: o,
|
|
2675
|
-
props: yield
|
|
2675
|
+
props: yield Dt(
|
|
2676
2676
|
// explicitly check for an object
|
|
2677
2677
|
// @ts-expect-error untyped
|
|
2678
2678
|
typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? ee({}, e) : { [["script", "noscript", "style"].includes(o) ? "innerHTML" : "textContent"]: e },
|
|
2679
2679
|
["templateParams", "titleTemplate"].includes(o)
|
|
2680
2680
|
)
|
|
2681
2681
|
};
|
|
2682
|
-
return
|
|
2683
|
-
const u = typeof n.props[
|
|
2684
|
-
typeof u != "undefined" && ((!["innerHTML", "textContent", "children"].includes(
|
|
2685
|
-
}), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((
|
|
2682
|
+
return Ht.forEach((a) => {
|
|
2683
|
+
const u = typeof n.props[a] != "undefined" ? n.props[a] : t[a];
|
|
2684
|
+
typeof u != "undefined" && ((!["innerHTML", "textContent", "children"].includes(a) || wi.includes(n.tag)) && (n[a === "children" ? "innerHTML" : a] = u), delete n.props[a]);
|
|
2685
|
+
}), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((a) => ge(ee({}, n), { props: ge(ee({}, n.props), { content: a }) })) : n;
|
|
2686
2686
|
});
|
|
2687
2687
|
}
|
|
2688
|
-
function
|
|
2688
|
+
function Mi(o) {
|
|
2689
2689
|
return typeof o == "object" && !Array.isArray(o) && (o = Object.keys(o).filter((e) => o[e])), (Array.isArray(o) ? o.join(" ") : o).split(" ").filter((e) => e.trim()).filter(Boolean).join(" ");
|
|
2690
2690
|
}
|
|
2691
|
-
function
|
|
2691
|
+
function Dt(o, e) {
|
|
2692
2692
|
return Q(this, null, function* () {
|
|
2693
2693
|
for (const t of Object.keys(o)) {
|
|
2694
2694
|
if (t === "class") {
|
|
2695
|
-
o[t] =
|
|
2695
|
+
o[t] = Mi(o[t]);
|
|
2696
2696
|
continue;
|
|
2697
2697
|
}
|
|
2698
|
-
if (o[t] instanceof Promise && (o[t] = yield o[t]), !e && !
|
|
2699
|
-
const n = String(o[t]),
|
|
2700
|
-
n === "true" || n === "" ? o[t] =
|
|
2698
|
+
if (o[t] instanceof Promise && (o[t] = yield o[t]), !e && !Ht.includes(t)) {
|
|
2699
|
+
const n = String(o[t]), a = t.startsWith("data-");
|
|
2700
|
+
n === "true" || n === "" ? o[t] = a ? "true" : !0 : o[t] || (a && n === "false" ? o[t] = "false" : delete o[t]);
|
|
2701
2701
|
}
|
|
2702
2702
|
}
|
|
2703
2703
|
return o;
|
|
2704
2704
|
});
|
|
2705
2705
|
}
|
|
2706
|
-
const
|
|
2707
|
-
function
|
|
2706
|
+
const Ri = 10;
|
|
2707
|
+
function Bi(o) {
|
|
2708
2708
|
return Q(this, null, function* () {
|
|
2709
2709
|
const e = [];
|
|
2710
|
-
return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n != "undefined" &&
|
|
2711
|
-
const
|
|
2712
|
-
e.push(...
|
|
2713
|
-
}), (yield Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i <<
|
|
2710
|
+
return Object.entries(o.resolvedInput).filter(([t, n]) => typeof n != "undefined" && Hi.includes(t)).forEach(([t, n]) => {
|
|
2711
|
+
const a = xi(n);
|
|
2712
|
+
e.push(...a.map((u) => Ai(t, u, o)).flat());
|
|
2713
|
+
}), (yield Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = o._i, o.mode && (t._m = o.mode), t._p = (o._i << Ri) + n, t));
|
|
2714
2714
|
});
|
|
2715
2715
|
}
|
|
2716
2716
|
const vt = {
|
|
@@ -2728,34 +2728,34 @@ function Ie(o) {
|
|
|
2728
2728
|
const t = o.tagPriority;
|
|
2729
2729
|
return typeof t == "number" ? t : (o.tag === "meta" ? (o.props["http-equiv"] === "content-security-policy" && (e = -30), o.props.charset && (e = -20), o.props.name === "viewport" && (e = -15)) : o.tag === "link" && o.props.rel === "preconnect" ? e = 20 : o.tag in vt && (e = vt[o.tag]), typeof t == "string" && t in yt ? e + yt[t] : e);
|
|
2730
2730
|
}
|
|
2731
|
-
const
|
|
2731
|
+
const zi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], At = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], te = "%separator";
|
|
2732
2732
|
function _e(o, e, t) {
|
|
2733
2733
|
if (typeof o != "string" || !o.includes("%"))
|
|
2734
2734
|
return o;
|
|
2735
|
-
function n(
|
|
2735
|
+
function n(c) {
|
|
2736
2736
|
let h;
|
|
2737
|
-
return ["s", "pageTitle"].includes(
|
|
2737
|
+
return ["s", "pageTitle"].includes(c) ? h = e.pageTitle : c.includes(".") ? h = c.split(".").reduce((d, p) => d && d[p] || void 0, e) : h = e[c], typeof h != "undefined" ? (h || "").replace(/"/g, '\\"') : !1;
|
|
2738
2738
|
}
|
|
2739
|
-
let
|
|
2739
|
+
let a = o;
|
|
2740
2740
|
try {
|
|
2741
|
-
|
|
2742
|
-
} catch (
|
|
2741
|
+
a = decodeURI(o);
|
|
2742
|
+
} catch (c) {
|
|
2743
2743
|
}
|
|
2744
|
-
return (
|
|
2745
|
-
const h = n(
|
|
2746
|
-
typeof h == "string" && (o = o.replace(new RegExp(`\\${
|
|
2744
|
+
return (a.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((c) => {
|
|
2745
|
+
const h = n(c.slice(1));
|
|
2746
|
+
typeof h == "string" && (o = o.replace(new RegExp(`\\${c}(\\W|$)`, "g"), (d, p) => `${h}${p}`).trim());
|
|
2747
2747
|
}), o.includes(te) && (o.endsWith(te) && (o = o.slice(0, -te.length).trim()), o.startsWith(te) && (o = o.slice(te.length).trim()), o = o.replace(new RegExp(`\\${te}\\s*\\${te}`, "g"), te), o = _e(o, { separator: t }, t)), o;
|
|
2748
2748
|
}
|
|
2749
|
-
function
|
|
2749
|
+
function Wi(o) {
|
|
2750
2750
|
return Q(this, null, function* () {
|
|
2751
2751
|
const e = {
|
|
2752
2752
|
tag: o.tagName.toLowerCase(),
|
|
2753
|
-
props: yield
|
|
2754
|
-
o.getAttributeNames().reduce((t, n) =>
|
|
2753
|
+
props: yield Dt(
|
|
2754
|
+
o.getAttributeNames().reduce((t, n) => ge(ee({}, t), { [n]: o.getAttribute(n) }), {})
|
|
2755
2755
|
),
|
|
2756
2756
|
innerHTML: o.innerHTML
|
|
2757
2757
|
};
|
|
2758
|
-
return e._d =
|
|
2758
|
+
return e._d = Ot(e), e;
|
|
2759
2759
|
});
|
|
2760
2760
|
}
|
|
2761
2761
|
function Ni(t) {
|
|
@@ -2764,36 +2764,36 @@ function Ni(t) {
|
|
|
2764
2764
|
const n = e.document || o.resolvedOptions.document;
|
|
2765
2765
|
if (!n)
|
|
2766
2766
|
return;
|
|
2767
|
-
const
|
|
2768
|
-
if (yield o.hooks.callHook("dom:beforeRender",
|
|
2767
|
+
const a = { shouldRender: o.dirty, tags: [] };
|
|
2768
|
+
if (yield o.hooks.callHook("dom:beforeRender", a), !a.shouldRender)
|
|
2769
2769
|
return;
|
|
2770
2770
|
const u = (yield o.resolveTags()).map((b) => ({
|
|
2771
2771
|
tag: b,
|
|
2772
2772
|
id: ke.includes(b.tag) ? mt(b) : b.tag,
|
|
2773
2773
|
shouldRender: !0
|
|
2774
2774
|
}));
|
|
2775
|
-
let
|
|
2776
|
-
if (!
|
|
2777
|
-
|
|
2775
|
+
let c = o._dom;
|
|
2776
|
+
if (!c) {
|
|
2777
|
+
c = {
|
|
2778
2778
|
elMap: { htmlAttrs: n.documentElement, bodyAttrs: n.body }
|
|
2779
2779
|
};
|
|
2780
2780
|
for (const b of ["body", "head"]) {
|
|
2781
2781
|
const s = (y = n == null ? void 0 : n[b]) == null ? void 0 : y.children;
|
|
2782
2782
|
for (const k of [...s].filter((_) => ke.includes(_.tagName.toLowerCase())))
|
|
2783
|
-
|
|
2783
|
+
c.elMap[k.getAttribute("data-hid") || mt(yield Wi(k))] = k;
|
|
2784
2784
|
}
|
|
2785
2785
|
}
|
|
2786
|
-
|
|
2786
|
+
c.pendingSideEffects = ee({}, c.sideEffects || {}), c.sideEffects = {};
|
|
2787
2787
|
function h(b, s, k) {
|
|
2788
2788
|
const _ = `${b}:${s}`;
|
|
2789
|
-
|
|
2789
|
+
c.sideEffects[_] = k, delete c.pendingSideEffects[_];
|
|
2790
2790
|
}
|
|
2791
2791
|
function d({ id: b, $el: s, tag: k }) {
|
|
2792
2792
|
const _ = k.tag.endsWith("Attrs");
|
|
2793
|
-
|
|
2793
|
+
c.elMap[b] = s, _ || (["textContent", "innerHTML"].forEach((f) => {
|
|
2794
2794
|
k[f] && k[f] !== s[f] && (s[f] = k[f]);
|
|
2795
2795
|
}), h(b, "el", () => {
|
|
2796
|
-
|
|
2796
|
+
c.elMap[b].remove(), delete c.elMap[b];
|
|
2797
2797
|
})), Object.entries(k.props).forEach(([f, i]) => {
|
|
2798
2798
|
const r = `attr:${f}`;
|
|
2799
2799
|
if (f === "class")
|
|
@@ -2803,7 +2803,7 @@ function Ni(t) {
|
|
|
2803
2803
|
s.getAttribute(f) !== i && s.setAttribute(f, i === !0 ? "" : String(i)), _ && h(b, r, () => s.removeAttribute(f));
|
|
2804
2804
|
});
|
|
2805
2805
|
}
|
|
2806
|
-
const
|
|
2806
|
+
const p = [], m = {
|
|
2807
2807
|
bodyClose: void 0,
|
|
2808
2808
|
bodyOpen: void 0,
|
|
2809
2809
|
head: void 0
|
|
@@ -2815,61 +2815,61 @@ function Ni(t) {
|
|
|
2815
2815
|
n.title = s.textContent;
|
|
2816
2816
|
continue;
|
|
2817
2817
|
}
|
|
2818
|
-
b.$el = b.$el ||
|
|
2818
|
+
b.$el = b.$el || c.elMap[_], b.$el ? d(b) : ke.includes(s.tag) && p.push(b);
|
|
2819
2819
|
}
|
|
2820
2820
|
}
|
|
2821
|
-
for (const b of
|
|
2821
|
+
for (const b of p) {
|
|
2822
2822
|
const s = b.tag.tagPosition || "head";
|
|
2823
2823
|
b.$el = n.createElement(b.tag.tag), d(b), m[s] = m[s] || n.createDocumentFragment(), m[s].appendChild(b.$el);
|
|
2824
2824
|
}
|
|
2825
2825
|
for (const b of u)
|
|
2826
2826
|
yield o.hooks.callHook("dom:renderTag", b, n, h);
|
|
2827
|
-
m.head && n.head.appendChild(m.head), m.bodyOpen && n.body.insertBefore(m.bodyOpen, n.body.firstChild), m.bodyClose && n.body.appendChild(m.bodyClose), Object.values(
|
|
2827
|
+
m.head && n.head.appendChild(m.head), m.bodyOpen && n.body.insertBefore(m.bodyOpen, n.body.firstChild), m.bodyClose && n.body.appendChild(m.bodyClose), Object.values(c.pendingSideEffects).forEach((b) => b()), o._dom = c, o.dirty = !1, yield o.hooks.callHook("dom:rendered", { renders: u });
|
|
2828
2828
|
});
|
|
2829
2829
|
}
|
|
2830
|
-
function
|
|
2830
|
+
function Fi(t) {
|
|
2831
2831
|
return Q(this, arguments, function* (o, e = {}) {
|
|
2832
|
-
const n = e.delayFn || ((
|
|
2833
|
-
return o._domUpdatePromise = o._domUpdatePromise || new Promise((
|
|
2834
|
-
yield Ni(o, e), delete o._domUpdatePromise,
|
|
2832
|
+
const n = e.delayFn || ((a) => setTimeout(a, 10));
|
|
2833
|
+
return o._domUpdatePromise = o._domUpdatePromise || new Promise((a) => n(() => Q(this, null, function* () {
|
|
2834
|
+
yield Ni(o, e), delete o._domUpdatePromise, a();
|
|
2835
2835
|
})));
|
|
2836
2836
|
});
|
|
2837
2837
|
}
|
|
2838
2838
|
// @__NO_SIDE_EFFECTS__
|
|
2839
|
-
function
|
|
2839
|
+
function qi(o) {
|
|
2840
2840
|
return (e) => {
|
|
2841
|
-
var n,
|
|
2842
|
-
const t = ((
|
|
2841
|
+
var n, a;
|
|
2842
|
+
const t = ((a = (n = e.resolvedOptions.document) == null ? void 0 : n.head.querySelector('script[id="unhead:payload"]')) == null ? void 0 : a.innerHTML) || !1;
|
|
2843
2843
|
return t && e.push(JSON.parse(t)), {
|
|
2844
2844
|
mode: "client",
|
|
2845
2845
|
hooks: {
|
|
2846
2846
|
"entries:updated": function(u) {
|
|
2847
|
-
|
|
2847
|
+
Fi(u, o);
|
|
2848
2848
|
}
|
|
2849
2849
|
}
|
|
2850
2850
|
};
|
|
2851
2851
|
};
|
|
2852
2852
|
}
|
|
2853
|
-
const
|
|
2853
|
+
const Ui = ["templateParams", "htmlAttrs", "bodyAttrs"], Gi = {
|
|
2854
2854
|
hooks: {
|
|
2855
2855
|
"tag:normalise": function({ tag: o }) {
|
|
2856
2856
|
["hid", "vmid", "key"].forEach((n) => {
|
|
2857
2857
|
o.props[n] && (o.key = o.props[n], delete o.props[n]);
|
|
2858
2858
|
});
|
|
2859
|
-
const t =
|
|
2859
|
+
const t = Ot(o) || (o.key ? `${o.tag}:${o.key}` : !1);
|
|
2860
2860
|
t && (o._d = t);
|
|
2861
2861
|
},
|
|
2862
2862
|
"tags:resolve": function(o) {
|
|
2863
2863
|
const e = {};
|
|
2864
2864
|
o.tags.forEach((n) => {
|
|
2865
|
-
const
|
|
2865
|
+
const a = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, u = e[a];
|
|
2866
2866
|
if (u) {
|
|
2867
2867
|
let h = n == null ? void 0 : n.tagDuplicateStrategy;
|
|
2868
|
-
if (!h &&
|
|
2868
|
+
if (!h && Ui.includes(n.tag) && (h = "merge"), h === "merge") {
|
|
2869
2869
|
const d = u.props;
|
|
2870
|
-
["class", "style"].forEach((
|
|
2871
|
-
d[
|
|
2872
|
-
}), e[
|
|
2870
|
+
["class", "style"].forEach((p) => {
|
|
2871
|
+
d[p] && (n.props[p] ? (p === "style" && !d[p].endsWith(";") && (d[p] += ";"), n.props[p] = `${d[p]} ${n.props[p]}`) : n.props[p] = d[p]);
|
|
2872
|
+
}), e[a].props = ee(ee({}, d), n.props);
|
|
2873
2873
|
return;
|
|
2874
2874
|
} else if (n._e === u._e) {
|
|
2875
2875
|
u._duped = u._duped || [], n._d = `${u._d}:${u._duped.length + 1}`, u._duped.push(n);
|
|
@@ -2877,21 +2877,21 @@ const Gi = ["templateParams", "htmlAttrs", "bodyAttrs"], ji = {
|
|
|
2877
2877
|
} else if (Ie(n) > Ie(u))
|
|
2878
2878
|
return;
|
|
2879
2879
|
}
|
|
2880
|
-
const
|
|
2881
|
-
if (ke.includes(n.tag) &&
|
|
2882
|
-
delete e[
|
|
2880
|
+
const c = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
|
|
2881
|
+
if (ke.includes(n.tag) && c === 0) {
|
|
2882
|
+
delete e[a];
|
|
2883
2883
|
return;
|
|
2884
2884
|
}
|
|
2885
|
-
e[
|
|
2885
|
+
e[a] = n;
|
|
2886
2886
|
});
|
|
2887
2887
|
const t = [];
|
|
2888
2888
|
Object.values(e).forEach((n) => {
|
|
2889
|
-
const
|
|
2890
|
-
delete n._duped, t.push(n),
|
|
2889
|
+
const a = n._duped;
|
|
2890
|
+
delete n._duped, t.push(n), a && t.push(...a);
|
|
2891
2891
|
}), o.tags = t, o.tags = o.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
|
|
2892
2892
|
}
|
|
2893
2893
|
}
|
|
2894
|
-
},
|
|
2894
|
+
}, ji = {
|
|
2895
2895
|
mode: "server",
|
|
2896
2896
|
hooks: {
|
|
2897
2897
|
"tags:resolve": function(o) {
|
|
@@ -2905,110 +2905,110 @@ const Gi = ["templateParams", "htmlAttrs", "bodyAttrs"], ji = {
|
|
|
2905
2905
|
});
|
|
2906
2906
|
}
|
|
2907
2907
|
}
|
|
2908
|
-
},
|
|
2909
|
-
function
|
|
2908
|
+
}, Yi = ["script", "link", "bodyAttrs"];
|
|
2909
|
+
function Ki(o) {
|
|
2910
2910
|
const e = {}, t = {};
|
|
2911
|
-
return Object.entries(o.props).forEach(([n,
|
|
2912
|
-
n.startsWith("on") && typeof
|
|
2911
|
+
return Object.entries(o.props).forEach(([n, a]) => {
|
|
2912
|
+
n.startsWith("on") && typeof a == "function" ? (At.includes(n) && (e[n] = `this.dataset.${n} = true`), t[n] = a) : e[n] = a;
|
|
2913
2913
|
}), { props: e, eventHandlers: t };
|
|
2914
2914
|
}
|
|
2915
|
-
const
|
|
2915
|
+
const Qi = (o) => ({
|
|
2916
2916
|
hooks: {
|
|
2917
2917
|
"tags:resolve": function(e) {
|
|
2918
2918
|
for (const t of e.tags)
|
|
2919
|
-
if (
|
|
2920
|
-
const { props: n, eventHandlers:
|
|
2921
|
-
t.props = n, Object.keys(
|
|
2919
|
+
if (Yi.includes(t.tag)) {
|
|
2920
|
+
const { props: n, eventHandlers: a } = Ki(t);
|
|
2921
|
+
t.props = n, Object.keys(a).length && ((t.props.src || t.props.href) && (t.key = t.key || Xe(t.props.src || t.props.href)), t._eventHandlers = a);
|
|
2922
2922
|
}
|
|
2923
2923
|
},
|
|
2924
2924
|
"dom:renderTag": function(e, t, n) {
|
|
2925
2925
|
if (!e.tag._eventHandlers)
|
|
2926
2926
|
return;
|
|
2927
|
-
const
|
|
2928
|
-
Object.entries(e.tag._eventHandlers).forEach(([u,
|
|
2929
|
-
const h = `${e.tag._d || e.tag._p}:${u}`, d = u.slice(2).toLowerCase(),
|
|
2927
|
+
const a = e.tag.tag === "bodyAttrs" ? t.defaultView : e.$el;
|
|
2928
|
+
Object.entries(e.tag._eventHandlers).forEach(([u, c]) => {
|
|
2929
|
+
const h = `${e.tag._d || e.tag._p}:${u}`, d = u.slice(2).toLowerCase(), p = `data-h-${d}`;
|
|
2930
2930
|
if (n(e.id, h, () => {
|
|
2931
|
-
}), e.$el.hasAttribute(
|
|
2931
|
+
}), e.$el.hasAttribute(p))
|
|
2932
2932
|
return;
|
|
2933
|
-
e.$el.setAttribute(
|
|
2933
|
+
e.$el.setAttribute(p, "");
|
|
2934
2934
|
let m;
|
|
2935
2935
|
const y = (b) => {
|
|
2936
|
-
|
|
2936
|
+
c(b), m == null || m.disconnect();
|
|
2937
2937
|
};
|
|
2938
|
-
u in e.$el.dataset ? y(new Event(u.replace("on", ""))) :
|
|
2938
|
+
u in e.$el.dataset ? y(new Event(u.replace("on", ""))) : At.includes(u) && typeof MutationObserver != "undefined" ? (m = new MutationObserver((b) => {
|
|
2939
2939
|
b.some((k) => k.attributeName === `data-${u}`) && (y(new Event(u.replace("on", ""))), m == null || m.disconnect());
|
|
2940
2940
|
}), m.observe(e.$el, {
|
|
2941
2941
|
attributes: !0
|
|
2942
|
-
})) :
|
|
2943
|
-
m == null || m.disconnect(),
|
|
2942
|
+
})) : a.addEventListener(d, y), n(e.id, h, () => {
|
|
2943
|
+
m == null || m.disconnect(), a.removeEventListener(d, y), e.$el.removeAttribute(p);
|
|
2944
2944
|
});
|
|
2945
2945
|
});
|
|
2946
2946
|
}
|
|
2947
2947
|
}
|
|
2948
|
-
}),
|
|
2948
|
+
}), Ji = ["link", "style", "script", "noscript"], Xi = {
|
|
2949
2949
|
hooks: {
|
|
2950
2950
|
"tag:normalise": ({ tag: o }) => {
|
|
2951
|
-
o.key &&
|
|
2951
|
+
o.key && Ji.includes(o.tag) && (o.props["data-hid"] = o._h = Xe(o.key));
|
|
2952
2952
|
}
|
|
2953
2953
|
}
|
|
2954
|
-
},
|
|
2954
|
+
}, Zi = {
|
|
2955
2955
|
hooks: {
|
|
2956
2956
|
"tags:resolve": (o) => {
|
|
2957
2957
|
const e = (t) => {
|
|
2958
2958
|
var n;
|
|
2959
|
-
return (n = o.tags.find((
|
|
2959
|
+
return (n = o.tags.find((a) => a._d === t)) == null ? void 0 : n._p;
|
|
2960
2960
|
};
|
|
2961
|
-
for (const { prefix: t, offset: n } of
|
|
2962
|
-
for (const
|
|
2961
|
+
for (const { prefix: t, offset: n } of zi)
|
|
2962
|
+
for (const a of o.tags.filter((u) => typeof u.tagPriority == "string" && u.tagPriority.startsWith(t))) {
|
|
2963
2963
|
const u = e(
|
|
2964
|
-
|
|
2964
|
+
a.tagPriority.replace(t, "")
|
|
2965
2965
|
);
|
|
2966
|
-
typeof u != "undefined" && (
|
|
2966
|
+
typeof u != "undefined" && (a._p = u + n);
|
|
2967
2967
|
}
|
|
2968
2968
|
o.tags.sort((t, n) => t._p - n._p).sort((t, n) => Ie(t) - Ie(n));
|
|
2969
2969
|
}
|
|
2970
2970
|
}
|
|
2971
|
-
},
|
|
2971
|
+
}, er = {
|
|
2972
2972
|
meta: "content",
|
|
2973
2973
|
link: "href",
|
|
2974
2974
|
htmlAttrs: "lang"
|
|
2975
|
-
},
|
|
2975
|
+
}, tr = (o) => ({
|
|
2976
2976
|
hooks: {
|
|
2977
2977
|
"tags:resolve": (e) => {
|
|
2978
2978
|
var h;
|
|
2979
|
-
const { tags: t } = e, n = (h = t.find((d) => d.tag === "title")) == null ? void 0 : h.textContent,
|
|
2980
|
-
delete u.separator, u.pageTitle = _e(u.pageTitle || n || "", u,
|
|
2981
|
-
for (const d of t.filter((
|
|
2982
|
-
const
|
|
2983
|
-
|
|
2984
|
-
typeof d[m] == "string" && (d[m] = _e(d[m], u,
|
|
2979
|
+
const { tags: t } = e, n = (h = t.find((d) => d.tag === "title")) == null ? void 0 : h.textContent, a = t.findIndex((d) => d.tag === "templateParams"), u = a !== -1 ? t[a].props : {}, c = u.separator || "|";
|
|
2980
|
+
delete u.separator, u.pageTitle = _e(u.pageTitle || n || "", u, c);
|
|
2981
|
+
for (const d of t.filter((p) => p.processTemplateParams !== !1)) {
|
|
2982
|
+
const p = er[d.tag];
|
|
2983
|
+
p && typeof d.props[p] == "string" ? d.props[p] = _e(d.props[p], u, c) : (d.processTemplateParams === !0 || ["titleTemplate", "title"].includes(d.tag)) && ["innerHTML", "textContent"].forEach((m) => {
|
|
2984
|
+
typeof d[m] == "string" && (d[m] = _e(d[m], u, c));
|
|
2985
2985
|
});
|
|
2986
2986
|
}
|
|
2987
|
-
o._templateParams = u, o._separator =
|
|
2987
|
+
o._templateParams = u, o._separator = c, e.tags = t.filter((d) => d.tag !== "templateParams");
|
|
2988
2988
|
}
|
|
2989
2989
|
}
|
|
2990
|
-
}),
|
|
2990
|
+
}), or = {
|
|
2991
2991
|
hooks: {
|
|
2992
2992
|
"tags:resolve": (o) => {
|
|
2993
2993
|
const { tags: e } = o;
|
|
2994
|
-
let t = e.findIndex((
|
|
2995
|
-
const n = e.findIndex((
|
|
2994
|
+
let t = e.findIndex((a) => a.tag === "titleTemplate");
|
|
2995
|
+
const n = e.findIndex((a) => a.tag === "title");
|
|
2996
2996
|
if (n !== -1 && t !== -1) {
|
|
2997
|
-
const
|
|
2997
|
+
const a = gt(
|
|
2998
2998
|
e[t].textContent,
|
|
2999
2999
|
e[n].textContent
|
|
3000
3000
|
);
|
|
3001
|
-
|
|
3001
|
+
a !== null ? e[n].textContent = a || e[n].textContent : delete e[n];
|
|
3002
3002
|
} else if (t !== -1) {
|
|
3003
|
-
const
|
|
3003
|
+
const a = gt(
|
|
3004
3004
|
e[t].textContent
|
|
3005
3005
|
);
|
|
3006
|
-
|
|
3006
|
+
a !== null && (e[t].textContent = a, e[t].tag = "title", t = -1);
|
|
3007
3007
|
}
|
|
3008
3008
|
t !== -1 && delete e[t], o.tags = e.filter(Boolean);
|
|
3009
3009
|
}
|
|
3010
3010
|
}
|
|
3011
|
-
},
|
|
3011
|
+
}, nr = {
|
|
3012
3012
|
hooks: {
|
|
3013
3013
|
"tags:afterResolve": function(o) {
|
|
3014
3014
|
for (const e of o.tags)
|
|
@@ -3017,37 +3017,37 @@ const Ji = (o) => ({
|
|
|
3017
3017
|
}
|
|
3018
3018
|
};
|
|
3019
3019
|
// @__NO_SIDE_EFFECTS__
|
|
3020
|
-
function
|
|
3021
|
-
const e =
|
|
3022
|
-
return e.use(/* @__PURE__ */
|
|
3020
|
+
function ir(o = {}) {
|
|
3021
|
+
const e = rr(o);
|
|
3022
|
+
return e.use(/* @__PURE__ */ qi()), e;
|
|
3023
3023
|
}
|
|
3024
3024
|
function bt(o, e) {
|
|
3025
3025
|
return !o || o === "server" && e || o === "client" && !e;
|
|
3026
3026
|
}
|
|
3027
|
-
function
|
|
3028
|
-
const e =
|
|
3029
|
-
e.addHooks(o.hooks || {}), o.document = o.document || (
|
|
3027
|
+
function rr(o = {}) {
|
|
3028
|
+
const e = Pi();
|
|
3029
|
+
e.addHooks(o.hooks || {}), o.document = o.document || (Di ? document : void 0);
|
|
3030
3030
|
const t = !o.document, n = () => {
|
|
3031
3031
|
h.dirty = !0, e.callHook("entries:updated", h);
|
|
3032
3032
|
};
|
|
3033
|
-
let
|
|
3034
|
-
const
|
|
3035
|
-
plugins:
|
|
3033
|
+
let a = 0, u = [];
|
|
3034
|
+
const c = [], h = {
|
|
3035
|
+
plugins: c,
|
|
3036
3036
|
dirty: !1,
|
|
3037
3037
|
resolvedOptions: o,
|
|
3038
3038
|
hooks: e,
|
|
3039
3039
|
headEntries() {
|
|
3040
3040
|
return u;
|
|
3041
3041
|
},
|
|
3042
|
-
use(
|
|
3043
|
-
const m = typeof
|
|
3044
|
-
(!m.key || !
|
|
3042
|
+
use(p) {
|
|
3043
|
+
const m = typeof p == "function" ? p(h) : p;
|
|
3044
|
+
(!m.key || !c.some((y) => y.key === m.key)) && (c.push(m), bt(m.mode, t) && e.addHooks(m.hooks || {}));
|
|
3045
3045
|
},
|
|
3046
|
-
push(
|
|
3046
|
+
push(p, m) {
|
|
3047
3047
|
m == null || delete m.head;
|
|
3048
3048
|
const y = ee({
|
|
3049
|
-
_i:
|
|
3050
|
-
input:
|
|
3049
|
+
_i: a++,
|
|
3050
|
+
input: p
|
|
3051
3051
|
}, m);
|
|
3052
3052
|
return bt(y.mode, t) && (u.push(y), n()), {
|
|
3053
3053
|
dispose() {
|
|
@@ -3061,78 +3061,86 @@ function sr(o = {}) {
|
|
|
3061
3061
|
},
|
|
3062
3062
|
resolveTags() {
|
|
3063
3063
|
return Q(this, null, function* () {
|
|
3064
|
-
const
|
|
3065
|
-
yield e.callHook("entries:resolve",
|
|
3066
|
-
for (const m of
|
|
3064
|
+
const p = { tags: [], entries: [...u] };
|
|
3065
|
+
yield e.callHook("entries:resolve", p);
|
|
3066
|
+
for (const m of p.entries) {
|
|
3067
3067
|
const y = m.resolvedInput || m.input;
|
|
3068
3068
|
if (m.resolvedInput = yield m.transform ? m.transform(y) : y, m.resolvedInput)
|
|
3069
|
-
for (const b of yield
|
|
3069
|
+
for (const b of yield Bi(m)) {
|
|
3070
3070
|
const s = { tag: b, entry: m, resolvedOptions: h.resolvedOptions };
|
|
3071
|
-
yield e.callHook("tag:normalise", s),
|
|
3071
|
+
yield e.callHook("tag:normalise", s), p.tags.push(s.tag);
|
|
3072
3072
|
}
|
|
3073
3073
|
}
|
|
3074
|
-
return yield e.callHook("tags:beforeResolve",
|
|
3074
|
+
return yield e.callHook("tags:beforeResolve", p), yield e.callHook("tags:resolve", p), yield e.callHook("tags:afterResolve", p), p.tags;
|
|
3075
3075
|
});
|
|
3076
3076
|
},
|
|
3077
3077
|
ssr: t
|
|
3078
3078
|
};
|
|
3079
3079
|
return [
|
|
3080
|
+
Gi,
|
|
3080
3081
|
ji,
|
|
3081
|
-
|
|
3082
|
-
|
|
3082
|
+
Qi,
|
|
3083
|
+
Xi,
|
|
3083
3084
|
Zi,
|
|
3084
|
-
|
|
3085
|
+
tr,
|
|
3085
3086
|
or,
|
|
3086
3087
|
nr,
|
|
3087
|
-
ir,
|
|
3088
3088
|
...(o == null ? void 0 : o.plugins) || []
|
|
3089
|
-
].forEach((
|
|
3089
|
+
].forEach((p) => h.use(p)), h.hooks.callHook("init", h), h;
|
|
3090
3090
|
}
|
|
3091
|
-
const
|
|
3092
|
-
function
|
|
3093
|
-
return typeof o == "function" ? o() :
|
|
3091
|
+
const sr = So.startsWith("3");
|
|
3092
|
+
function ar(o) {
|
|
3093
|
+
return typeof o == "function" ? o() : l(o);
|
|
3094
3094
|
}
|
|
3095
3095
|
function je(o, e = "") {
|
|
3096
3096
|
if (o instanceof Promise)
|
|
3097
3097
|
return o;
|
|
3098
|
-
const t =
|
|
3098
|
+
const t = ar(o);
|
|
3099
3099
|
return !o || !t ? t : Array.isArray(t) ? t.map((n) => je(n, e)) : typeof t == "object" ? Object.fromEntries(
|
|
3100
|
-
Object.entries(t).map(([n,
|
|
3100
|
+
Object.entries(t).map(([n, a]) => n === "titleTemplate" || n.startsWith("on") ? [n, l(a)] : [n, je(a, n)])
|
|
3101
3101
|
) : t;
|
|
3102
3102
|
}
|
|
3103
|
-
const
|
|
3103
|
+
const lr = {
|
|
3104
3104
|
hooks: {
|
|
3105
3105
|
"entries:resolve": function(o) {
|
|
3106
3106
|
for (const e of o.entries)
|
|
3107
3107
|
e.resolvedInput = je(e.input);
|
|
3108
3108
|
}
|
|
3109
3109
|
}
|
|
3110
|
-
},
|
|
3111
|
-
function
|
|
3110
|
+
}, ur = "usehead";
|
|
3111
|
+
function dr(o) {
|
|
3112
3112
|
return {
|
|
3113
3113
|
install(t) {
|
|
3114
|
-
|
|
3114
|
+
sr && (t.config.globalProperties.$unhead = o, t.config.globalProperties.$head = o, t.provide(ur, o));
|
|
3115
3115
|
}
|
|
3116
3116
|
}.install;
|
|
3117
3117
|
}
|
|
3118
|
-
function
|
|
3118
|
+
function cr(o = {}) {
|
|
3119
3119
|
o.domDelayFn = o.domDelayFn || ((t) => $t(() => setTimeout(() => t(), 0)));
|
|
3120
|
-
const e = /* @__PURE__ */
|
|
3121
|
-
return e.use(
|
|
3120
|
+
const e = /* @__PURE__ */ ir(o);
|
|
3121
|
+
return e.use(lr), e.install = dr(e), e;
|
|
3122
3122
|
}
|
|
3123
|
-
const
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
ae.use(xo);
|
|
3128
|
-
ae.use(Bo);
|
|
3129
|
-
ae.use(wo, { bootstrap: !0 });
|
|
3130
|
-
ae.mount("#konnectio-hotel-app");
|
|
3131
|
-
const $r = {
|
|
3132
|
-
install: (o) => {
|
|
3133
|
-
o.component("Hotel", Lt);
|
|
3123
|
+
const pr = Vo(), hr = cr();
|
|
3124
|
+
class fr extends HTMLElement {
|
|
3125
|
+
constructor() {
|
|
3126
|
+
super();
|
|
3134
3127
|
}
|
|
3135
|
-
|
|
3128
|
+
connectedCallback() {
|
|
3129
|
+
var c;
|
|
3130
|
+
const e = typeof ve == "function" ? ve.options : ve, t = Array.isArray(e.props) ? e.props : Object.keys(e.props || {}), n = {};
|
|
3131
|
+
for (const h of t) {
|
|
3132
|
+
const d = (c = this.attributes.getNamedItem(h)) == null ? void 0 : c.value;
|
|
3133
|
+
if (!d)
|
|
3134
|
+
break;
|
|
3135
|
+
n[h] = d;
|
|
3136
|
+
}
|
|
3137
|
+
const a = Lo(ve, n);
|
|
3138
|
+
a.use(hr), a.use(pr), a.use(xt), a.use(Po), a.use(Mo), a.use(xo, { bootstrap: !0 });
|
|
3139
|
+
const u = document.createElement("div");
|
|
3140
|
+
a.mount(u), this.appendChild(u.children[0]);
|
|
3141
|
+
}
|
|
3142
|
+
}
|
|
3143
|
+
window.customElements.define("konnectio-hotel", fr);
|
|
3136
3144
|
export {
|
|
3137
|
-
|
|
3145
|
+
fr as default
|
|
3138
3146
|
};
|