@konnectio/core 4.0.56-rc62 → 4.0.56-rc64
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-BAmWCmNj.js → ActionField-xeMqSNQh.js} +3 -3
- package/dist/ActionField-xeMqSNQh.js.br +0 -0
- package/dist/{AvailabilitySkeleton-hnj2IB72.js → AvailabilitySkeleton-Cm51ig4A.js} +6 -6
- package/dist/AvailabilitySkeleton-Cm51ig4A.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DNhFVa3I.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Jibz1S9m.js} +2828 -2434
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Jibz1S9m.js.br +0 -0
- package/dist/{CheckoutWindow-D-2StEA9.js → CheckoutWindow-DUUP0i2c.js} +4 -4
- package/dist/CheckoutWindow-DUUP0i2c.js.br +0 -0
- package/dist/{ErrorMessage-meGV_pjV.js → ErrorMessage-CNmb4fgo.js} +3 -3
- package/dist/ErrorMessage-CNmb4fgo.js.br +0 -0
- package/dist/{EventAvailabilityForm-8BS4vRPQ.js → EventAvailabilityForm-DoeApTeZ.js} +5 -5
- package/dist/EventAvailabilityForm-DoeApTeZ.js.br +0 -0
- package/dist/{Field-cQkCPR1i.js → Field-5NMD_Snp.js} +3 -3
- package/dist/Field-5NMD_Snp.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CaK9Vq45.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-dMNuXkV-.js} +6786 -6563
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-dMNuXkV-.js.br +0 -0
- package/dist/{TermsOfService-C4NdU9pI.js → TermsOfService-9GMd7DGG.js} +5 -5
- package/dist/TermsOfService-9GMd7DGG.js.br +0 -0
- package/dist/{_-DKwTcGqD.js → _-ClXZZYPD.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-D3ANvLnT.js → _.vue_vue_type_style_index_0_lang-dkmOhbYK.js} +4 -4
- package/dist/_.vue_vue_type_style_index_0_lang-dkmOhbYK.js.br +0 -0
- package/dist/{_commonjsHelpers-DH5UFFrM.js → _commonjsHelpers-xcCgOPO5.js} +2 -2
- package/dist/{_sentry-release-injection-file-Bm35dIRL.js → _sentry-release-injection-file-a-zaobF4.js} +3 -3
- package/dist/_sentry-release-injection-file-a-zaobF4.js.br +0 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +324 -321
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +8 -8
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +9 -9
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-h9CkNr7M.js → giftCard-S-NeqMyV.js} +18 -18
- package/dist/giftCard-S-NeqMyV.js.br +0 -0
- package/dist/hotel.js +250 -250
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CKtOKvjw.js → masonry.plugin-BuatG57-.js} +1021 -1021
- package/dist/masonry.plugin-BuatG57-.js.br +0 -0
- package/dist/{mitt-CtCsoiRh.js → mitt-DjUTGgqc.js} +2 -2
- package/dist/mitt-DjUTGgqc.js.br +0 -0
- package/dist/polyfill.js +7338 -8699
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/tracing-z3gaNes7.js +2537 -0
- package/dist/tracing-z3gaNes7.js.br +0 -0
- package/package.json +10 -10
- package/dist/ActionField-BAmWCmNj.js.br +0 -0
- package/dist/AvailabilitySkeleton-hnj2IB72.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DNhFVa3I.js.br +0 -0
- package/dist/CheckoutWindow-D-2StEA9.js.br +0 -0
- package/dist/ErrorMessage-meGV_pjV.js.br +0 -0
- package/dist/EventAvailabilityForm-8BS4vRPQ.js.br +0 -0
- package/dist/Field-cQkCPR1i.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CaK9Vq45.js.br +0 -0
- package/dist/TermsOfService-C4NdU9pI.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-D3ANvLnT.js.br +0 -0
- package/dist/_sentry-release-injection-file-Bm35dIRL.js.br +0 -0
- package/dist/giftCard-h9CkNr7M.js.br +0 -0
- package/dist/masonry.plugin-CKtOKvjw.js.br +0 -0
- package/dist/mitt-CtCsoiRh.js.br +0 -0
- package/dist/tracing-SGZEiE7O.js +0 -2287
- package/dist/tracing-SGZEiE7O.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { d as Q, r as oe, a as c, b as A, w as $, l as qe, u as o, g as f, e as a, t as v, A as We, B as Ke, f as g, i as _, s as F, F as
|
|
2
|
-
import { u as ne, s as Z, T as ao, c as io, i as so, m as ro } from "./mitt-
|
|
3
|
-
import { d as
|
|
4
|
-
import { R as vo, B as
|
|
5
|
-
import { A as $o, H as Co } from "./AvailabilitySkeleton-
|
|
6
|
-
import { S as wo } from "./TermsOfService-
|
|
7
|
-
import { C as
|
|
8
|
-
import { _ as Ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-
|
|
1
|
+
import { d as Q, r as oe, a as c, b as A, w as $, l as qe, u as o, g as f, e as a, t as v, A as We, B as Ke, f as g, i as _, s as F, F as M, x as Ye, v as N, h as Pe, c as G, p as kt, j as _t, o as tt, z as Ae, n as De, S as eo, C as to, D as oo, E as lo, k as no } from "./_sentry-release-injection-file-a-zaobF4.js";
|
|
2
|
+
import { u as ne, s as Z, T as ao, c as io, i as so, m as ro } from "./mitt-DjUTGgqc.js";
|
|
3
|
+
import { d as Ve, x as me, u as _e, I as K, f as ue, y as Ze, l as dt, z as re, h as te, _ as ce, n as Ie, A as Vt, b as Qe, c as de, e as Tt, B as $t, D as ut, T as se, p as uo, F as co, a as po, C as mo, i as ct, j as fo, k as pt, m as ho } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-dMNuXkV-.js";
|
|
4
|
+
import { R as vo, B as Be, L as yo, S as go, M as bo, a as xe, C as ko, T as _o, V as Vo, G as To } from "./masonry.plugin-BuatG57-.js";
|
|
5
|
+
import { A as $o, H as Co } from "./AvailabilitySkeleton-Cm51ig4A.js";
|
|
6
|
+
import { S as wo } from "./TermsOfService-9GMd7DGG.js";
|
|
7
|
+
import { C as He, B as Po, P as Ao, a as Do } from "./CheckoutWindow-DUUP0i2c.js";
|
|
8
|
+
import { _ as Ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Jibz1S9m.js";
|
|
9
9
|
(function() {
|
|
10
10
|
try {
|
|
11
11
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
|
|
12
|
-
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "
|
|
12
|
+
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "145ec41c-9480-468d-a50d-93ed5a8a9c48", n._sentryDebugIdIdentifier = "sentry-dbid-145ec41c-9480-468d-a50d-93ed5a8a9c48");
|
|
13
13
|
} catch {
|
|
14
14
|
}
|
|
15
15
|
})();
|
|
16
|
-
const Ho = { key: 0 },
|
|
16
|
+
const Ho = { key: 0 }, So = { class: "konnectio-hotel-reservation-warning" }, Io = { class: "konnectio-hotel-reservation-warning" }, Bo = { class: "konnectio-hotel-reservation-warning" };
|
|
17
17
|
const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnectio-reservation-actions" }, Ro = /* @__PURE__ */ Q({
|
|
18
18
|
__name: "HotelReservationForm",
|
|
19
19
|
props: {
|
|
@@ -29,16 +29,16 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
29
29
|
departureDefault: m,
|
|
30
30
|
disableNewsletterSignup: p,
|
|
31
31
|
currency: u
|
|
32
|
-
} = Z(
|
|
32
|
+
} = Z(Ve()), {
|
|
33
33
|
arrivalTime: r,
|
|
34
34
|
departureTime: d,
|
|
35
35
|
roomDisplay: h,
|
|
36
36
|
templateID: V,
|
|
37
37
|
totalPrice: P,
|
|
38
38
|
areListingsLoading: C,
|
|
39
|
-
getSelectedPackageRoom:
|
|
39
|
+
getSelectedPackageRoom: I,
|
|
40
40
|
selectedPackage: B,
|
|
41
|
-
discountVouchers:
|
|
41
|
+
discountVouchers: b,
|
|
42
42
|
currentArrivalDate: w,
|
|
43
43
|
currentDepartureDate: H,
|
|
44
44
|
datesMismatch: O,
|
|
@@ -47,17 +47,17 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
47
47
|
newsMails: R,
|
|
48
48
|
termsOfService: z,
|
|
49
49
|
discountCode: X,
|
|
50
|
-
hasTermOfService:
|
|
51
|
-
acceptTerms:
|
|
50
|
+
hasTermOfService: Ee,
|
|
51
|
+
acceptTerms: L,
|
|
52
52
|
totalTemplateAddonPrice: pe
|
|
53
|
-
} = Z(me()), { hasHotelLocations:
|
|
54
|
-
function
|
|
55
|
-
return le.reduce((
|
|
53
|
+
} = Z(me()), { hasHotelLocations: ye } = Z(_e()), { removeRoom: Te, validateDiscountCode: Me } = me(), { getHotelLocationName: Le } = _e(), fe = oe(!1);
|
|
54
|
+
function ge(le) {
|
|
55
|
+
return le.reduce((U, { totalPrice: be }) => U + be, 0);
|
|
56
56
|
}
|
|
57
57
|
return (le, x) => (c(), A(vo, {
|
|
58
58
|
"discount-code": o(X),
|
|
59
|
-
"onUpdate:discountCode": x[4] || (x[4] = (
|
|
60
|
-
"validate-discount-code": o(
|
|
59
|
+
"onUpdate:discountCode": x[4] || (x[4] = (U) => N(X) ? X.value = U : null),
|
|
60
|
+
"validate-discount-code": o(Me),
|
|
61
61
|
"total-price": o(P),
|
|
62
62
|
"show-gift-card": le.showGiftCard,
|
|
63
63
|
"show-terms-notice": le.showTermsNotice,
|
|
@@ -68,11 +68,11 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
68
68
|
qe(le.$slots, "form", {}, void 0, !0)
|
|
69
69
|
]),
|
|
70
70
|
"reservation-summary": $(() => [
|
|
71
|
-
o(
|
|
71
|
+
o(ye) ? (c(), f("li", Ho, [
|
|
72
72
|
a("span", null, v(o(l)("general.location")), 1),
|
|
73
73
|
a("b", null, [
|
|
74
|
-
a("span", null, v(o(
|
|
75
|
-
We(a("span",
|
|
74
|
+
a("span", null, v(o(Le)(o(j))), 1),
|
|
75
|
+
We(a("span", So, [
|
|
76
76
|
g(K, {
|
|
77
77
|
icon: "exclamation-triangle",
|
|
78
78
|
type: "fas"
|
|
@@ -86,7 +86,7 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
86
86
|
a("span", null, v(o(l)("booking.reservation.arrival")), 1),
|
|
87
87
|
a("b", null, [
|
|
88
88
|
a("span", null, v(o(t) ? o(ue)(o(w)) : `${o(ue)(o(w))}, ${o(e) ? o(s) : o(r)}`), 1),
|
|
89
|
-
We(a("span",
|
|
89
|
+
We(a("span", Io, [
|
|
90
90
|
g(K, {
|
|
91
91
|
icon: "exclamation-triangle",
|
|
92
92
|
type: "fas"
|
|
@@ -114,24 +114,24 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
114
114
|
a("span", null, v(o(l)("booking.reservation.nights")), 1),
|
|
115
115
|
a("b", null, v(o(Ze)(o(w), o(H))) + " " + v(o(dt)(o(Ze)(o(w), o(H)) === 1 ? o(l)("booking.reservation.night") : o(l)("booking.reservation.nights"))), 1)
|
|
116
116
|
]),
|
|
117
|
-
o(
|
|
118
|
-
key:
|
|
117
|
+
o(b) ? (c(!0), f(M, { key: 1 }, F(o(b), (U) => (c(), f("li", {
|
|
118
|
+
key: U.id
|
|
119
119
|
}, [
|
|
120
|
-
a("span", null, v(`${o(l)("general.discountCode")} (${
|
|
121
|
-
a("b", null, v(
|
|
120
|
+
a("span", null, v(`${o(l)("general.discountCode")} (${U.value})`), 1),
|
|
121
|
+
a("b", null, v(U.key), 1)
|
|
122
122
|
]))), 128)) : _("", !0)
|
|
123
123
|
]),
|
|
124
124
|
"price-summary": $(() => [
|
|
125
|
-
isNaN(o(V)) && o(h).length > 0 ? (c(!0), f(
|
|
126
|
-
roomGroupID:
|
|
127
|
-
title:
|
|
128
|
-
variants:
|
|
129
|
-
}) => (c(), f("div", { key:
|
|
125
|
+
isNaN(o(V)) && o(h).length > 0 ? (c(!0), f(M, { key: 0 }, F(o(h), ({
|
|
126
|
+
roomGroupID: U,
|
|
127
|
+
title: be,
|
|
128
|
+
variants: Ue
|
|
129
|
+
}) => (c(), f("div", { key: U }, [
|
|
130
130
|
a("h6", null, [
|
|
131
|
-
a("span", null, v(
|
|
131
|
+
a("span", null, v(be), 1)
|
|
132
132
|
]),
|
|
133
|
-
(c(!0), f(
|
|
134
|
-
(c(!0), f(
|
|
133
|
+
(c(!0), f(M, null, F(Ue, (he, Re) => (c(), f("div", { key: Re }, [
|
|
134
|
+
(c(!0), f(M, null, F(he.rooms, (ae, Ne) => (c(), f("ul", { key: Ne }, [
|
|
135
135
|
a("li", null, [
|
|
136
136
|
a("span", null, [
|
|
137
137
|
a("span", null, [
|
|
@@ -142,7 +142,7 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
142
142
|
color: "font"
|
|
143
143
|
}),
|
|
144
144
|
a("span", null, v(ae.adultsCount), 1),
|
|
145
|
-
ae.childrenCount > 0 ? (c(), f(
|
|
145
|
+
ae.childrenCount > 0 ? (c(), f(M, { key: 0 }, [
|
|
146
146
|
g(K, {
|
|
147
147
|
icon: "child",
|
|
148
148
|
type: "fas",
|
|
@@ -158,14 +158,14 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
158
158
|
_("", !0)
|
|
159
159
|
])
|
|
160
160
|
]),
|
|
161
|
-
|
|
161
|
+
ge(ae.roomAddons) > 0 ? (c(), f("li", Eo, [
|
|
162
162
|
a("span", null, v(o(l)("general.addons")), 1),
|
|
163
|
-
a("b", null, v(o(te)(
|
|
163
|
+
a("b", null, v(o(te)(ge(ae.roomAddons), o(u))), 1)
|
|
164
164
|
])) : _("", !0)
|
|
165
165
|
]))), 128))
|
|
166
166
|
]))), 128))
|
|
167
167
|
]))), 128)) : _("", !0),
|
|
168
|
-
o(
|
|
168
|
+
o(I) && o(B) ? (c(), f("div", Mo, [
|
|
169
169
|
a("h6", null, [
|
|
170
170
|
a("span", null, v(o(re)(o(B).name)), 1)
|
|
171
171
|
]),
|
|
@@ -173,10 +173,10 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
173
173
|
a("ul", null, [
|
|
174
174
|
a("li", null, [
|
|
175
175
|
a("span", null, [
|
|
176
|
-
a("span", null, v(o(re)(o(
|
|
176
|
+
a("span", null, v(o(re)(o(I).title)), 1)
|
|
177
177
|
]),
|
|
178
178
|
a("b", null, [
|
|
179
|
-
a("span", null, v(o(te)(o(
|
|
179
|
+
a("span", null, v(o(te)(o(I).extraPrice, o(u))), 1)
|
|
180
180
|
])
|
|
181
181
|
]),
|
|
182
182
|
o(pe) ? (c(), f("li", Lo, [
|
|
@@ -189,18 +189,18 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
189
189
|
]),
|
|
190
190
|
actions: $(() => [
|
|
191
191
|
a("ul", Uo, [
|
|
192
|
-
o(p) ? _("", !0) : (c(), A(
|
|
192
|
+
o(p) ? _("", !0) : (c(), A(He, {
|
|
193
193
|
key: 0,
|
|
194
194
|
modelValue: o(R),
|
|
195
|
-
"onUpdate:modelValue": x[0] || (x[0] = (
|
|
195
|
+
"onUpdate:modelValue": x[0] || (x[0] = (U) => N(R) ? R.value = U : null),
|
|
196
196
|
type: "checkbox",
|
|
197
197
|
name: "newsletter",
|
|
198
198
|
label: o(l)("booking.reservation.newsletterSignUp")
|
|
199
199
|
}, null, 8, ["modelValue", "label"])),
|
|
200
|
-
o(
|
|
200
|
+
o(Ee) ? (c(), A(He, {
|
|
201
201
|
key: 1,
|
|
202
|
-
modelValue: o(
|
|
203
|
-
"onUpdate:modelValue": x[2] || (x[2] = (
|
|
202
|
+
modelValue: o(L),
|
|
203
|
+
"onUpdate:modelValue": x[2] || (x[2] = (U) => N(L) ? L.value = U : null),
|
|
204
204
|
type: "checkbox",
|
|
205
205
|
name: "terms"
|
|
206
206
|
}, {
|
|
@@ -213,7 +213,7 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
213
213
|
terms: $(() => [
|
|
214
214
|
a("a", {
|
|
215
215
|
class: "konnectio-accept-terms-link",
|
|
216
|
-
onClick: x[1] || (x[1] =
|
|
216
|
+
onClick: x[1] || (x[1] = Pe((U) => fe.value = !0, ["prevent"]))
|
|
217
217
|
}, [
|
|
218
218
|
a("span", null, v(o(dt)(o(l)("general.termsAndConditions"))), 1)
|
|
219
219
|
])
|
|
@@ -226,7 +226,7 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
226
226
|
qe(le.$slots, "actions", {}, void 0, !0),
|
|
227
227
|
g(wo, {
|
|
228
228
|
modelValue: fe.value,
|
|
229
|
-
"onUpdate:modelValue": x[3] || (x[3] = (
|
|
229
|
+
"onUpdate:modelValue": x[3] || (x[3] = (U) => fe.value = U),
|
|
230
230
|
description: o(z)
|
|
231
231
|
}, null, 8, ["modelValue", "description"])
|
|
232
232
|
])
|
|
@@ -237,7 +237,7 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
237
237
|
_: 3
|
|
238
238
|
}, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
239
239
|
}
|
|
240
|
-
}), ze = /* @__PURE__ */ ce(Ro, [["__scopeId", "data-v-61664f48"]]), No = (n) => (
|
|
240
|
+
}), ze = /* @__PURE__ */ ce(Ro, [["__scopeId", "data-v-61664f48"]]), No = (n) => (kt("data-v-69fe83d8"), n = n(), _t(), n), Fo = { class: "konnectio-room-config-option" }, Oo = { key: 0 }, jo = { class: "konnectio-selected-room-config" }, Go = { class: "konnectio-selected-room-config-people" }, qo = { key: 0 }, Wo = { class: "konnectio-selected-room-config-price" }, Ko = /* @__PURE__ */ No(() => /* @__PURE__ */ a("span", null, null, -1)), xo = /* @__PURE__ */ Q({
|
|
241
241
|
__name: "RoomConfigField",
|
|
242
242
|
props: {
|
|
243
243
|
modelValue: {},
|
|
@@ -248,7 +248,7 @@ const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnecti
|
|
|
248
248
|
},
|
|
249
249
|
emits: ["update:modelValue"],
|
|
250
250
|
setup(n, { emit: l }) {
|
|
251
|
-
const { t } = ne(), { currency: e } = Z(
|
|
251
|
+
const { t } = ne(), { currency: e } = Z(Ve()), i = l, s = n;
|
|
252
252
|
function m(u) {
|
|
253
253
|
i("update:modelValue", u);
|
|
254
254
|
}
|
|
@@ -320,24 +320,24 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
320
320
|
},
|
|
321
321
|
setup(n) {
|
|
322
322
|
const { t: l } = ne(), t = n, e = oe([]);
|
|
323
|
-
function i(
|
|
324
|
-
e.value[
|
|
323
|
+
function i(b) {
|
|
324
|
+
e.value[b].config.push({
|
|
325
325
|
id: NaN,
|
|
326
326
|
units: 0,
|
|
327
327
|
addons: []
|
|
328
328
|
});
|
|
329
329
|
}
|
|
330
|
-
const s = G(() => t.room.rates.map((
|
|
331
|
-
label:
|
|
332
|
-
value:
|
|
333
|
-
}))), { hideAvailableRoomAmount: m } = Z(
|
|
330
|
+
const s = G(() => t.room.rates.map((b) => ({
|
|
331
|
+
label: b.name,
|
|
332
|
+
value: b.id
|
|
333
|
+
}))), { hideAvailableRoomAmount: m } = Z(Ve()), { roomSelect: p } = Z(me()), { addToCart: u, removeFromCart: r } = Vt(), d = (b, w) => t.room.rates.find((H) => H.id === b)?.occupantRates.find((H) => H.index === w), h = G(() => t.room.rates.every((b) => b.isBreakfastIncluded === !0)), V = (b, w) => d(b, w) ? d(b, w)?.rooms : null, P = (b) => t.room.rates.length > 0 ? t.room.rates.find((w) => w.id === b)?.occupantRates.map((w) => ({
|
|
334
334
|
value: w.index,
|
|
335
335
|
price: w.totalPrice,
|
|
336
336
|
adults: w.adultsCount,
|
|
337
337
|
children: w.childrenCount,
|
|
338
338
|
hasBreakfast: w.hasBreakfast
|
|
339
339
|
})) || [] : [], C = G(() => t.room.rates.length > 1);
|
|
340
|
-
function
|
|
340
|
+
function I() {
|
|
341
341
|
C.value ? e.value.push({
|
|
342
342
|
id: void 0,
|
|
343
343
|
config: [{
|
|
@@ -355,11 +355,11 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
357
|
tt(() => {
|
|
358
|
-
|
|
358
|
+
I();
|
|
359
359
|
});
|
|
360
360
|
const B = G(() => JSON.parse(JSON.stringify(e.value)));
|
|
361
|
-
return
|
|
362
|
-
w.length > 0 &&
|
|
361
|
+
return Ae(B, (b, w) => {
|
|
362
|
+
w.length > 0 && b.forEach((H, O) => {
|
|
363
363
|
H.config.forEach((j, Y) => {
|
|
364
364
|
const R = j.units, z = w[O].config[Y].units;
|
|
365
365
|
R !== z && (R > z ? (e.value[O].config[Y].addons.push({}), u({
|
|
@@ -373,22 +373,22 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
373
373
|
})));
|
|
374
374
|
});
|
|
375
375
|
});
|
|
376
|
-
}, { deep: !0 }),
|
|
376
|
+
}, { deep: !0 }), Ae(e, () => {
|
|
377
377
|
p.value[t.room.id] = e.value;
|
|
378
|
-
}, { deep: !0 }), (
|
|
378
|
+
}, { deep: !0 }), (b, w) => (c(), A(Be, {
|
|
379
379
|
type: "hotel",
|
|
380
|
-
"listing-id":
|
|
381
|
-
gallery:
|
|
382
|
-
name:
|
|
383
|
-
description:
|
|
384
|
-
layout:
|
|
385
|
-
facilities:
|
|
386
|
-
"prices-from":
|
|
380
|
+
"listing-id": b.room.id,
|
|
381
|
+
gallery: b.room.images,
|
|
382
|
+
name: b.room.title,
|
|
383
|
+
description: b.room.description,
|
|
384
|
+
layout: b.layout,
|
|
385
|
+
facilities: b.room.facilities,
|
|
386
|
+
"prices-from": b.room.pricesFrom,
|
|
387
387
|
"includes-breakfast": h.value
|
|
388
388
|
}, {
|
|
389
389
|
action: $(() => [
|
|
390
390
|
a("div", Jo, [
|
|
391
|
-
(c(!0), f(
|
|
391
|
+
(c(!0), f(M, null, F(e.value, (H, O) => (c(), f("div", {
|
|
392
392
|
key: H.id,
|
|
393
393
|
class: "konnectio-hotel-room"
|
|
394
394
|
}, [
|
|
@@ -402,14 +402,14 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
402
402
|
searchable: !1
|
|
403
403
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
|
|
404
404
|
H.id ? (c(), f("div", Yo, [
|
|
405
|
-
(c(!0), f(
|
|
405
|
+
(c(!0), f(M, null, F(b.room.rates, ({
|
|
406
406
|
id: j,
|
|
407
407
|
maximumOccupants: Y
|
|
408
408
|
}) => (c(), f("div", {
|
|
409
409
|
key: j,
|
|
410
410
|
class: "konnectio-listing-action-selective-i"
|
|
411
411
|
}, [
|
|
412
|
-
H.id === j ? (c(!0), f(
|
|
412
|
+
H.id === j ? (c(!0), f(M, { key: 0 }, F(H.config, (R, z) => (c(), f("div", {
|
|
413
413
|
key: z,
|
|
414
414
|
class: "konnectio-listing-action-selective"
|
|
415
415
|
}, [
|
|
@@ -458,7 +458,7 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
458
458
|
callback: { type: Function }
|
|
459
459
|
},
|
|
460
460
|
setup(n) {
|
|
461
|
-
const { t: l } = ne(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } = Z(me()), { currency: s } = Z(
|
|
461
|
+
const { t: l } = ne(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } = Z(me()), { currency: s } = Z(Ve()), { clearRoomSelection: m } = me(), p = n, u = oe(!0), r = G(() => {
|
|
462
462
|
function h(V, P) {
|
|
463
463
|
return u.value === !0 ? V.extraPrice > P.extraPrice ? -1 : 1 : V.extraPrice > P.extraPrice ? 1 : -1;
|
|
464
464
|
}
|
|
@@ -474,19 +474,19 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
474
474
|
default: $(() => [
|
|
475
475
|
a("div", tl, [
|
|
476
476
|
a("div", ol, [
|
|
477
|
-
(c(!0), f(
|
|
477
|
+
(c(!0), f(M, null, F(r.value, ({
|
|
478
478
|
id: P,
|
|
479
479
|
title: C,
|
|
480
|
-
description:
|
|
480
|
+
description: I,
|
|
481
481
|
images: B,
|
|
482
|
-
facilities:
|
|
482
|
+
facilities: b,
|
|
483
483
|
extraPrice: w
|
|
484
|
-
}) => (c(), A(
|
|
484
|
+
}) => (c(), A(Be, {
|
|
485
485
|
key: P,
|
|
486
486
|
"listing-id": P,
|
|
487
487
|
name: C,
|
|
488
|
-
description:
|
|
489
|
-
facilities:
|
|
488
|
+
description: I,
|
|
489
|
+
facilities: b,
|
|
490
490
|
gallery: B,
|
|
491
491
|
"includes-breakfast": !1,
|
|
492
492
|
"hide-info-button": !0
|
|
@@ -539,7 +539,7 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
539
539
|
function p(u) {
|
|
540
540
|
t.callback(u), s.value = !1;
|
|
541
541
|
}
|
|
542
|
-
return (u, r) => (c(), A(
|
|
542
|
+
return (u, r) => (c(), A(Be, {
|
|
543
543
|
type: "template",
|
|
544
544
|
"listing-id": u.id,
|
|
545
545
|
name: u.name,
|
|
@@ -593,7 +593,7 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
593
593
|
callback: { type: Function }
|
|
594
594
|
},
|
|
595
595
|
setup(n) {
|
|
596
|
-
const { t: l } = ne(), { updateDates: t } =
|
|
596
|
+
const { t: l } = ne(), { updateDates: t } = _e(), e = n, i = oe([]), s = G(() => Ze(e.fromDate, e.toDate) === 1), m = G(() => [{
|
|
597
597
|
large: e.image.url,
|
|
598
598
|
medium: e.image.url,
|
|
599
599
|
thumb: e.image.url,
|
|
@@ -607,7 +607,7 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
607
607
|
}
|
|
608
608
|
return tt(() => {
|
|
609
609
|
s.value && (i.value = [new Date(e.fromDate), new Date(e.toDate)]);
|
|
610
|
-
}), (d, h) => (c(), A(
|
|
610
|
+
}), (d, h) => (c(), A(Be, {
|
|
611
611
|
type: "template",
|
|
612
612
|
"listing-id": d.id,
|
|
613
613
|
name: d.name,
|
|
@@ -644,7 +644,7 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
644
644
|
a("div", dl, [
|
|
645
645
|
g(de, {
|
|
646
646
|
label: o(l)("availability.buttonLabel"),
|
|
647
|
-
onClick:
|
|
647
|
+
onClick: Pe(r, ["prevent"])
|
|
648
648
|
}, null, 8, ["label"])
|
|
649
649
|
])
|
|
650
650
|
])
|
|
@@ -692,7 +692,7 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
692
692
|
t("update:modelValue", m);
|
|
693
693
|
}
|
|
694
694
|
const s = oe(e.modelValue);
|
|
695
|
-
return
|
|
695
|
+
return Ae(s, (m) => {
|
|
696
696
|
i(m);
|
|
697
697
|
}), (m, p) => (c(), A(Ct, {
|
|
698
698
|
modelValue: s.value,
|
|
@@ -741,14 +741,14 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
741
741
|
}, {
|
|
742
742
|
option: $(({ data: r }) => [
|
|
743
743
|
a("i", {
|
|
744
|
-
class:
|
|
744
|
+
class: De(["konnectio-flag-icon", r.iso])
|
|
745
745
|
}, null, 2),
|
|
746
746
|
a("span", null, v(r.name), 1)
|
|
747
747
|
]),
|
|
748
748
|
"selected-option": $(({ data: r }) => [
|
|
749
749
|
a("div", cl, [
|
|
750
750
|
a("i", {
|
|
751
|
-
class:
|
|
751
|
+
class: De(["konnectio-flag-icon", r.iso])
|
|
752
752
|
}, null, 2),
|
|
753
753
|
a("span", null, v(r.name), 1)
|
|
754
754
|
])
|
|
@@ -782,7 +782,7 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
782
782
|
function p() {
|
|
783
783
|
e("update:modelValue", s.value);
|
|
784
784
|
}
|
|
785
|
-
|
|
785
|
+
Ae(m, (r) => {
|
|
786
786
|
e("update:title", r);
|
|
787
787
|
});
|
|
788
788
|
const { t: u } = ne();
|
|
@@ -798,7 +798,7 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
798
798
|
}, {
|
|
799
799
|
default: $(() => [
|
|
800
800
|
a("div", {
|
|
801
|
-
class:
|
|
801
|
+
class: De([
|
|
802
802
|
"fresh-booking-name-input",
|
|
803
803
|
{ "no-title": r.excludeTitle }
|
|
804
804
|
])
|
|
@@ -860,7 +860,7 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
860
860
|
_: 1
|
|
861
861
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
862
862
|
}
|
|
863
|
-
}), hl = /* @__PURE__ */ ce(fl, [["__scopeId", "data-v-78b0b319"]]), vl = { class: "hotel-skeleton" }, yl = { class: "hotel-skeleton-content" }, gl = { class: "hotel-skeleton-sidebar" },
|
|
863
|
+
}), hl = /* @__PURE__ */ ce(fl, [["__scopeId", "data-v-78b0b319"]]), vl = { class: "hotel-skeleton" }, yl = { class: "hotel-skeleton-content" }, gl = { class: "hotel-skeleton-sidebar" }, bl = /* @__PURE__ */ Q({
|
|
864
864
|
__name: "HotelSkeleton",
|
|
865
865
|
setup(n) {
|
|
866
866
|
return (l, t) => (c(), f("div", vl, [
|
|
@@ -873,7 +873,7 @@ const Xo = /* @__PURE__ */ Q({
|
|
|
873
873
|
])
|
|
874
874
|
]));
|
|
875
875
|
}
|
|
876
|
-
}),
|
|
876
|
+
}), kl = /* @__PURE__ */ ce(bl, [["__scopeId", "data-v-1bb21da4"]]), ot = (n) => (kt("data-v-85e39a62"), n = n(), _t(), n), _l = { id: "booking-availability-container" }, Vl = { id: "booking-availability-controls" };
|
|
877
877
|
const Tl = { key: 1 }, $l = { key: 0 }, Cl = {
|
|
878
878
|
key: 0,
|
|
879
879
|
id: "booking-availability-packages"
|
|
@@ -883,10 +883,10 @@ const Tl = { key: 1 }, $l = { key: 0 }, Cl = {
|
|
|
883
883
|
}, Pl = { id: "booking-availability-packages-wrapper" }, Al = { key: 1 }, Dl = {
|
|
884
884
|
key: 0,
|
|
885
885
|
class: "konnectio-hotel-availability-title"
|
|
886
|
-
}, Hl = { id: "konnectio-listings" },
|
|
886
|
+
}, Hl = { id: "konnectio-listings" }, Sl = {
|
|
887
887
|
key: 2,
|
|
888
888
|
id: "booking-availability-packages"
|
|
889
|
-
},
|
|
889
|
+
}, Il = { class: "konnectio-hotel-availability-title" }, Bl = { id: "booking-availability-packages-wrapper" }, El = {
|
|
890
890
|
key: 3,
|
|
891
891
|
id: "booking-availability-no-listings",
|
|
892
892
|
class: "konnectio-panel"
|
|
@@ -920,7 +920,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
920
920
|
styling: {}
|
|
921
921
|
},
|
|
922
922
|
setup(n) {
|
|
923
|
-
const l = to(() => import("./_-
|
|
923
|
+
const l = to(() => import("./_-ClXZZYPD.js")), t = n, { t: e } = ne(), {
|
|
924
924
|
templateID: i,
|
|
925
925
|
templateAddons: s,
|
|
926
926
|
countries: m,
|
|
@@ -932,9 +932,9 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
932
932
|
departureTime: V,
|
|
933
933
|
name: P,
|
|
934
934
|
nameTitle: C,
|
|
935
|
-
email:
|
|
935
|
+
email: I,
|
|
936
936
|
phone: B,
|
|
937
|
-
firmName:
|
|
937
|
+
firmName: b,
|
|
938
938
|
postal: w,
|
|
939
939
|
city: H,
|
|
940
940
|
address: O,
|
|
@@ -943,37 +943,37 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
943
943
|
allergies: R,
|
|
944
944
|
roomSelect: z,
|
|
945
945
|
roomDisplay: X,
|
|
946
|
-
hasValidRoomSelection:
|
|
947
|
-
availabilityData:
|
|
946
|
+
hasValidRoomSelection: Ee,
|
|
947
|
+
availabilityData: L,
|
|
948
948
|
selectionHasNoAddons: pe,
|
|
949
|
-
isAvailabilityDataAvailable:
|
|
950
|
-
getSelectedPackageRoom:
|
|
951
|
-
selectedPackage:
|
|
952
|
-
isSearchOutdated:
|
|
949
|
+
isAvailabilityDataAvailable: ye,
|
|
950
|
+
getSelectedPackageRoom: Te,
|
|
951
|
+
selectedPackage: Me,
|
|
952
|
+
isSearchOutdated: Le
|
|
953
953
|
} = Z(me()), {
|
|
954
954
|
adults: fe,
|
|
955
|
-
children:
|
|
955
|
+
children: ge,
|
|
956
956
|
location: le,
|
|
957
957
|
arrivalDate: x,
|
|
958
|
-
departureDate:
|
|
959
|
-
} = Z(
|
|
958
|
+
departureDate: U
|
|
959
|
+
} = Z(_e()), { isValidHotelId: be, updateDates: Ue } = _e(), {
|
|
960
960
|
currency: he,
|
|
961
|
-
arrivalEarliest:
|
|
961
|
+
arrivalEarliest: Re,
|
|
962
962
|
arrivalLatest: ae,
|
|
963
|
-
departureEarliest:
|
|
963
|
+
departureEarliest: Ne,
|
|
964
964
|
departureLatest: nt,
|
|
965
|
-
enableTracking:
|
|
966
|
-
hideArrivalDepartureInputs:
|
|
967
|
-
disableArrivalUserSelection:
|
|
965
|
+
enableTracking: St,
|
|
966
|
+
hideArrivalDepartureInputs: It,
|
|
967
|
+
disableArrivalUserSelection: Fe,
|
|
968
968
|
disableNamePrefix: Bt,
|
|
969
|
-
disableDepartureUserSelection:
|
|
969
|
+
disableDepartureUserSelection: Oe,
|
|
970
970
|
disableTravelingFor: Et,
|
|
971
971
|
disableTravelingForBleasure: Mt,
|
|
972
972
|
disableCompanyField: Lt,
|
|
973
973
|
hasPaymentGateway: Ut,
|
|
974
974
|
maxAdultAmount: at,
|
|
975
975
|
maxChildAmount: it
|
|
976
|
-
} = Z(
|
|
976
|
+
} = Z(Ve()), { beginCheckout: Rt } = Vt(), { display: je } = po(), {
|
|
977
977
|
resetTemplate: Nt,
|
|
978
978
|
resetDiscountVoucher: Ft,
|
|
979
979
|
createReservation: Ot,
|
|
@@ -1006,7 +1006,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1006
1006
|
icon: "calendar-check"
|
|
1007
1007
|
}
|
|
1008
1008
|
], Wt = G(() => {
|
|
1009
|
-
const
|
|
1009
|
+
const k = [
|
|
1010
1010
|
{
|
|
1011
1011
|
label: e("booking.reservation.business"),
|
|
1012
1012
|
value: "Business"
|
|
@@ -1016,66 +1016,66 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1016
1016
|
value: "Pleasure"
|
|
1017
1017
|
}
|
|
1018
1018
|
];
|
|
1019
|
-
return Mt.value ||
|
|
1019
|
+
return Mt.value || k.push({
|
|
1020
1020
|
label: e("booking.reservation.bleasure"),
|
|
1021
1021
|
value: "Bleasure"
|
|
1022
|
-
}),
|
|
1022
|
+
}), k;
|
|
1023
1023
|
}), Kt = G(() => {
|
|
1024
|
-
const
|
|
1024
|
+
const k = L.value.roomGroups.slice();
|
|
1025
1025
|
function T(q, D) {
|
|
1026
1026
|
return Gt.value === !0 ? q.pricesFrom > D.pricesFrom ? -1 : 1 : q.pricesFrom > D.pricesFrom ? 1 : -1;
|
|
1027
1027
|
}
|
|
1028
|
-
return
|
|
1028
|
+
return k.sort(T);
|
|
1029
1029
|
}), xt = G(() => [[
|
|
1030
|
-
parseInt(
|
|
1030
|
+
parseInt(Re.value.split(":")[0]),
|
|
1031
1031
|
parseInt(ae.value.split(":")[0])
|
|
1032
1032
|
]]), zt = G(() => [[
|
|
1033
|
-
parseInt(
|
|
1033
|
+
parseInt(Ne.value.split(":")[0]),
|
|
1034
1034
|
parseInt(nt.value.split(":")[0])
|
|
1035
1035
|
]]);
|
|
1036
|
-
function rt(
|
|
1037
|
-
t.hideAddons === "yes" || pe.value ?
|
|
1036
|
+
function rt(k) {
|
|
1037
|
+
t.hideAddons === "yes" || pe.value ? k(2) : k(), Ft();
|
|
1038
1038
|
}
|
|
1039
|
-
async function Jt(
|
|
1040
|
-
await Ot(
|
|
1039
|
+
async function Jt(k) {
|
|
1040
|
+
await Ot(k);
|
|
1041
1041
|
}
|
|
1042
|
-
function Yt(
|
|
1043
|
-
|
|
1042
|
+
function Yt(k) {
|
|
1043
|
+
St.value && Rt(), t.hideAddons === "yes" || pe.value ? k(2) : k();
|
|
1044
1044
|
}
|
|
1045
1045
|
function Zt() {
|
|
1046
|
-
const
|
|
1046
|
+
const k = fo("hash-params", {
|
|
1047
1047
|
removeNullishValues: !0
|
|
1048
|
-
}), T = parseInt(
|
|
1049
|
-
if (isNaN(T) || (T > at.value ? fe.value = at.value : fe.value = T,
|
|
1048
|
+
}), T = parseInt(k.a), q = parseInt(k.c), D = parseInt(k.hid), y = parseInt(k.n), W = k.ci, E = k.co, S = k.id;
|
|
1049
|
+
if (isNaN(T) || (T > at.value ? fe.value = at.value : fe.value = T, k.a = void 0), isNaN(q) || (q > it.value ? ge.value = it.value : ge.value = q, k.c = void 0), isNaN(y) || y > 0 && (k.n = void 0), isNaN(D) || (be(D) ? (le.value = D, k.hid = void 0) : je({
|
|
1050
1050
|
message: e("alert.error.hotelIdNotFound"),
|
|
1051
1051
|
type: "error"
|
|
1052
|
-
})),
|
|
1053
|
-
if (pt(
|
|
1054
|
-
const
|
|
1055
|
-
|
|
1052
|
+
})), W && E)
|
|
1053
|
+
if (pt(W) && pt(E)) {
|
|
1054
|
+
const J = new Date(W), ve = new Date(E);
|
|
1055
|
+
J <= ve ? (x.value = J, U.value = ve, k.ci = void 0, k.co = void 0) : je({
|
|
1056
1056
|
message: e("alert.error.invalidDateRange"),
|
|
1057
1057
|
type: "error"
|
|
1058
1058
|
});
|
|
1059
1059
|
} else
|
|
1060
|
-
|
|
1060
|
+
je({
|
|
1061
1061
|
message: e("alert.error.wrongDateFormat"),
|
|
1062
1062
|
type: "error"
|
|
1063
1063
|
});
|
|
1064
|
-
let
|
|
1065
|
-
|
|
1064
|
+
let ee = null;
|
|
1065
|
+
S && (ee = S), st(ee);
|
|
1066
1066
|
}
|
|
1067
|
-
return (
|
|
1067
|
+
return (k, T) => (c(), A(mo, { styling: k.styling }, {
|
|
1068
1068
|
default: $(() => [
|
|
1069
1069
|
(c(), A(eo, { onResolve: Zt }, {
|
|
1070
1070
|
default: $(() => [
|
|
1071
1071
|
g(o(l), {
|
|
1072
1072
|
id: "konnectio-hotel-module",
|
|
1073
|
-
"access-token":
|
|
1073
|
+
"access-token": k.accessToken,
|
|
1074
1074
|
callback: o(jt)
|
|
1075
1075
|
}, {
|
|
1076
1076
|
default: $(() => [
|
|
1077
|
-
g(
|
|
1078
|
-
layout:
|
|
1077
|
+
g(bo, {
|
|
1078
|
+
layout: k.headerLayout,
|
|
1079
1079
|
steps: qt,
|
|
1080
1080
|
onReset: o(Nt)
|
|
1081
1081
|
}, {
|
|
@@ -1086,14 +1086,14 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1086
1086
|
a("div", Vl, [
|
|
1087
1087
|
g(Co, {
|
|
1088
1088
|
booking: !0,
|
|
1089
|
-
"selected-location": Number(
|
|
1089
|
+
"selected-location": Number(k.selectedLocation)
|
|
1090
1090
|
}, null, 8, ["selected-location"])
|
|
1091
1091
|
]),
|
|
1092
1092
|
_("", !0),
|
|
1093
|
-
!o(p) && o(
|
|
1094
|
-
o(
|
|
1095
|
-
o(
|
|
1096
|
-
|
|
1093
|
+
!o(p) && o(ye) ? (c(), f("div", Tl, [
|
|
1094
|
+
o(L).roomGroups.length > 0 || o(L).templates.length > 0 || o(L).specialTemplates.length > 0 ? (c(), f("div", $l, [
|
|
1095
|
+
o(L).templates.length > 0 && k.onlyShow !== "rooms" ? (c(), f("div", Cl, [
|
|
1096
|
+
k.onlyShow !== "packages" ? (c(), f("h2", wl, [
|
|
1097
1097
|
g(K, {
|
|
1098
1098
|
icon: "box",
|
|
1099
1099
|
type: "fal",
|
|
@@ -1102,28 +1102,28 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1102
1102
|
a("span", null, v(o(e)("booking.availability.packagesTitle")), 1)
|
|
1103
1103
|
])) : _("", !0),
|
|
1104
1104
|
a("ul", Pl, [
|
|
1105
|
-
(c(!0), f(
|
|
1105
|
+
(c(!0), f(M, null, F(o(L).templates, ({
|
|
1106
1106
|
id: D,
|
|
1107
1107
|
name: y,
|
|
1108
1108
|
templateRoomGroups: W,
|
|
1109
|
-
image:
|
|
1110
|
-
description:
|
|
1109
|
+
image: E,
|
|
1110
|
+
description: S,
|
|
1111
1111
|
weekendFee: ee
|
|
1112
1112
|
}) => (c(), A(il, {
|
|
1113
1113
|
key: D,
|
|
1114
1114
|
id: D,
|
|
1115
|
-
description:
|
|
1115
|
+
description: S,
|
|
1116
1116
|
name: y,
|
|
1117
|
-
image:
|
|
1117
|
+
image: E,
|
|
1118
1118
|
weekendFee: ee,
|
|
1119
1119
|
"room-groups": W,
|
|
1120
1120
|
callback: q,
|
|
1121
|
-
"hide-addons":
|
|
1121
|
+
"hide-addons": k.hideAddons
|
|
1122
1122
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1123
1123
|
])
|
|
1124
1124
|
])) : _("", !0),
|
|
1125
|
-
o(
|
|
1126
|
-
o(
|
|
1125
|
+
o(L).roomGroups.length > 0 && k.onlyShow !== "packages" ? (c(), f("div", Al, [
|
|
1126
|
+
o(L).templates.length > 0 && k.onlyShow !== "rooms" ? (c(), f("h2", Dl, [
|
|
1127
1127
|
g(K, {
|
|
1128
1128
|
icon: "house",
|
|
1129
1129
|
type: "fal",
|
|
@@ -1132,14 +1132,14 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1132
1132
|
a("span", null, v(o(e)("booking.availability.roomsTitle")), 1)
|
|
1133
1133
|
])) : _("", !0),
|
|
1134
1134
|
a("ul", Hl, [
|
|
1135
|
-
(c(!0), f(
|
|
1135
|
+
(c(!0), f(M, null, F(Kt.value, (D, y) => (c(), A(el, {
|
|
1136
1136
|
room: D,
|
|
1137
1137
|
key: y
|
|
1138
1138
|
}, null, 8, ["room"]))), 128))
|
|
1139
1139
|
])
|
|
1140
1140
|
])) : _("", !0),
|
|
1141
|
-
o(
|
|
1142
|
-
a("h2",
|
|
1141
|
+
o(L).specialTemplates.length > 0 && k.onlyShow !== "rooms" ? (c(), f("div", Sl, [
|
|
1142
|
+
a("h2", Il, [
|
|
1143
1143
|
g(K, {
|
|
1144
1144
|
icon: "sparkles",
|
|
1145
1145
|
type: "fal",
|
|
@@ -1148,33 +1148,33 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1148
1148
|
a("span", null, v(o(e)("hotel.specialOffers")), 1)
|
|
1149
1149
|
]),
|
|
1150
1150
|
a("ul", Bl, [
|
|
1151
|
-
(c(!0), f(
|
|
1151
|
+
(c(!0), f(M, null, F(o(L).specialTemplates, ({
|
|
1152
1152
|
id: D,
|
|
1153
1153
|
name: y,
|
|
1154
1154
|
templateRoomGroups: W,
|
|
1155
|
-
image:
|
|
1156
|
-
description:
|
|
1155
|
+
image: E,
|
|
1156
|
+
description: S,
|
|
1157
1157
|
weekendFee: ee,
|
|
1158
1158
|
fromDate: J,
|
|
1159
|
-
toDate:
|
|
1159
|
+
toDate: ve
|
|
1160
1160
|
}) => (c(), A(ul, {
|
|
1161
1161
|
key: D,
|
|
1162
1162
|
id: D,
|
|
1163
|
-
description:
|
|
1163
|
+
description: S,
|
|
1164
1164
|
name: y,
|
|
1165
|
-
image:
|
|
1165
|
+
image: E,
|
|
1166
1166
|
fromDate: J,
|
|
1167
|
-
toDate:
|
|
1167
|
+
toDate: ve,
|
|
1168
1168
|
weekendFee: ee,
|
|
1169
1169
|
"room-groups": W,
|
|
1170
1170
|
callback: q
|
|
1171
1171
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1172
1172
|
])
|
|
1173
1173
|
])) : _("", !0),
|
|
1174
|
-
(o(
|
|
1174
|
+
(o(L).templates.length === 0 && k.onlyShow !== "rooms" || o(L).roomGroups.length === 0 && k.onlyShow !== "packages") && (k.onlyShow === "rooms" || k.onlyShow === "packages") ? (c(), f("div", El, [
|
|
1175
1175
|
a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
|
|
1176
1176
|
])) : _("", !0)
|
|
1177
|
-
])) : o(
|
|
1177
|
+
])) : o(L).nextAvailableDates.length === 0 ? (c(), f("div", Ml, [
|
|
1178
1178
|
a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
|
|
1179
1179
|
])) : (c(), f("div", Ll, [
|
|
1180
1180
|
a("h2", Ul, [
|
|
@@ -1186,7 +1186,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1186
1186
|
a("span", null, v(o(e)("booking.availability.nextAvailableDates")), 1)
|
|
1187
1187
|
]),
|
|
1188
1188
|
a("ul", Rl, [
|
|
1189
|
-
(c(!0), f(
|
|
1189
|
+
(c(!0), f(M, null, F(o(L).nextAvailableDates, (D, y) => (c(), f("li", { key: y }, [
|
|
1190
1190
|
a("h3", {
|
|
1191
1191
|
title: `${o(ue)(D.fromDate)} - ${o(ue)(D.toDate)}`
|
|
1192
1192
|
}, [
|
|
@@ -1206,7 +1206,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1206
1206
|
g(de, {
|
|
1207
1207
|
label: o(e)("booking.availability.selectDates"),
|
|
1208
1208
|
"full-width": "",
|
|
1209
|
-
onClickEvent: (W) => o(
|
|
1209
|
+
onClickEvent: (W) => o(Ue)(new Date(D.fromDate), new Date(D.toDate))
|
|
1210
1210
|
}, null, 8, ["label", "onClickEvent"])
|
|
1211
1211
|
]))), 128))
|
|
1212
1212
|
])
|
|
@@ -1219,7 +1219,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1219
1219
|
])
|
|
1220
1220
|
]),
|
|
1221
1221
|
navigation: $(() => [
|
|
1222
|
-
o(
|
|
1222
|
+
o(Le) ? (c(), A(de, {
|
|
1223
1223
|
key: 0,
|
|
1224
1224
|
label: o(e)("general.searchAgain"),
|
|
1225
1225
|
"is-loading": o(p),
|
|
@@ -1227,8 +1227,8 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1227
1227
|
onClickEvent: T[1] || (T[1] = (D) => o(st)())
|
|
1228
1228
|
}, null, 8, ["label", "is-loading"])) : (c(), A(de, {
|
|
1229
1229
|
key: 1,
|
|
1230
|
-
label: o(pe) ||
|
|
1231
|
-
disabled: !o(
|
|
1230
|
+
label: o(pe) || k.hideAddons === "yes" ? o(e)("booking.availability.nextButton") : o(e)("general.chooseAddons"),
|
|
1231
|
+
disabled: !o(Ee),
|
|
1232
1232
|
"full-width": "",
|
|
1233
1233
|
onClickEvent: (D) => Yt(q)
|
|
1234
1234
|
}, null, 8, ["label", "disabled", "onClickEvent"]))
|
|
@@ -1237,7 +1237,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1237
1237
|
}, 1024)
|
|
1238
1238
|
]),
|
|
1239
1239
|
addons: $(({ next: q, prev: D }) => [
|
|
1240
|
-
o(
|
|
1240
|
+
o(ye) ? (c(), A(ze, { key: 0 }, {
|
|
1241
1241
|
form: $(() => [
|
|
1242
1242
|
a("form", Ol, [
|
|
1243
1243
|
a("h2", null, [
|
|
@@ -1245,16 +1245,16 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1245
1245
|
]),
|
|
1246
1246
|
a("div", null, [
|
|
1247
1247
|
isNaN(o(i)) ? (c(), f("div", jl, [
|
|
1248
|
-
(c(!0), f(
|
|
1248
|
+
(c(!0), f(M, null, F(o(X), (y) => (c(), f("ul", {
|
|
1249
1249
|
key: y.roomGroupID
|
|
1250
1250
|
}, [
|
|
1251
|
-
(c(!0), f(
|
|
1251
|
+
(c(!0), f(M, null, F(y.variants, (W, E) => (c(), f("li", {
|
|
1252
1252
|
key: W.ratePlanID
|
|
1253
1253
|
}, [
|
|
1254
1254
|
a("h4", null, [
|
|
1255
1255
|
a("span", null, v(o(re)(y.title)), 1)
|
|
1256
1256
|
]),
|
|
1257
|
-
(c(!0), f(
|
|
1257
|
+
(c(!0), f(M, null, F(W.rooms, (S, ee) => (c(), f("table", {
|
|
1258
1258
|
key: ee,
|
|
1259
1259
|
class: "konnectio-table with-lines"
|
|
1260
1260
|
}, [
|
|
@@ -1271,22 +1271,22 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1271
1271
|
type: "fas",
|
|
1272
1272
|
color: "font"
|
|
1273
1273
|
}),
|
|
1274
|
-
a("span", null, v(
|
|
1275
|
-
|
|
1274
|
+
a("span", null, v(S.adultsCount), 1),
|
|
1275
|
+
S.childrenCount > 0 ? (c(), A(K, {
|
|
1276
1276
|
key: 0,
|
|
1277
1277
|
icon: "child",
|
|
1278
1278
|
type: "fas",
|
|
1279
1279
|
color: "font"
|
|
1280
1280
|
})) : _("", !0),
|
|
1281
|
-
|
|
1281
|
+
S.childrenCount > 0 ? (c(), f("span", ql, v(S.childrenCount), 1)) : _("", !0)
|
|
1282
1282
|
])
|
|
1283
1283
|
])
|
|
1284
1284
|
])
|
|
1285
1285
|
]),
|
|
1286
1286
|
a("tbody", null, [
|
|
1287
|
-
(c(!0), f(
|
|
1287
|
+
(c(!0), f(M, null, F(y.addons, ({
|
|
1288
1288
|
quantityStrategy: J,
|
|
1289
|
-
maximumNumber:
|
|
1289
|
+
maximumNumber: ve,
|
|
1290
1290
|
id: ke,
|
|
1291
1291
|
name: Qt,
|
|
1292
1292
|
price: Xt
|
|
@@ -1297,18 +1297,18 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1297
1297
|
a("span", null, v(o(te)(Xt, o(he))) + " " + v(o(ct)(J)), 1)
|
|
1298
1298
|
]),
|
|
1299
1299
|
a("td", Kl, [
|
|
1300
|
-
o(z)[y.roomGroupID][
|
|
1300
|
+
o(z)[y.roomGroupID][E].config[S.configIdx].addons[S.roomIdx] ? (c(), f(M, { key: 0 }, [
|
|
1301
1301
|
J === 1 || J === 12 ? (c(), A(Qe, {
|
|
1302
1302
|
key: 0,
|
|
1303
|
-
modelValue: o(z)[y.roomGroupID][
|
|
1304
|
-
"onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][
|
|
1303
|
+
modelValue: o(z)[y.roomGroupID][E].config[S.configIdx].addons[S.roomIdx][ke],
|
|
1304
|
+
"onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][E].config[S.configIdx].addons[S.roomIdx][ke] = Ge,
|
|
1305
1305
|
small: !0,
|
|
1306
1306
|
"min-value": 0,
|
|
1307
|
-
"max-value":
|
|
1308
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(
|
|
1307
|
+
"max-value": ve || 1 / 0
|
|
1308
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(He, {
|
|
1309
1309
|
key: 1,
|
|
1310
|
-
modelValue: o(z)[y.roomGroupID][
|
|
1311
|
-
"onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][
|
|
1310
|
+
modelValue: o(z)[y.roomGroupID][E].config[S.configIdx].addons[S.roomIdx][ke],
|
|
1311
|
+
"onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][E].config[S.configIdx].addons[S.roomIdx][ke] = Ge,
|
|
1312
1312
|
numeric: !0
|
|
1313
1313
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1314
1314
|
], 64)) : _("", !0)
|
|
@@ -1318,46 +1318,46 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1318
1318
|
]))), 128))
|
|
1319
1319
|
]))), 128))
|
|
1320
1320
|
]))), 128))
|
|
1321
|
-
])) : o(
|
|
1321
|
+
])) : o(Te) ? (c(), f("div", xl, [
|
|
1322
1322
|
a("div", null, [
|
|
1323
1323
|
a("h4", null, [
|
|
1324
|
-
a("span", null, v(o(
|
|
1324
|
+
a("span", null, v(o(Me).name), 1)
|
|
1325
1325
|
]),
|
|
1326
1326
|
a("table", zl, [
|
|
1327
1327
|
a("thead", null, [
|
|
1328
1328
|
a("tr", null, [
|
|
1329
1329
|
a("th", null, [
|
|
1330
|
-
a("span", null, v(o(re)(o(
|
|
1330
|
+
a("span", null, v(o(re)(o(Te).title)), 1)
|
|
1331
1331
|
]),
|
|
1332
1332
|
_("", !0),
|
|
1333
1333
|
Jl
|
|
1334
1334
|
])
|
|
1335
1335
|
]),
|
|
1336
1336
|
a("tbody", null, [
|
|
1337
|
-
(c(!0), f(
|
|
1337
|
+
(c(!0), f(M, null, F(o(Te).addons, ({
|
|
1338
1338
|
quantityStrategy: y,
|
|
1339
1339
|
maximumNumber: W,
|
|
1340
|
-
id:
|
|
1341
|
-
name:
|
|
1340
|
+
id: E,
|
|
1341
|
+
name: S,
|
|
1342
1342
|
price: ee
|
|
1343
|
-
}) => (c(), f("tr", { key:
|
|
1343
|
+
}) => (c(), f("tr", { key: E }, [
|
|
1344
1344
|
a("td", null, [
|
|
1345
|
-
a("b", null, v(o(re)(
|
|
1345
|
+
a("b", null, v(o(re)(S)), 1),
|
|
1346
1346
|
Yl,
|
|
1347
1347
|
a("span", null, v(o(te)(ee, o(he))) + " " + v(o(ct)(y)), 1)
|
|
1348
1348
|
]),
|
|
1349
1349
|
a("td", Zl, [
|
|
1350
1350
|
y === 1 || y === 12 ? (c(), A(Qe, {
|
|
1351
1351
|
key: 0,
|
|
1352
|
-
modelValue: o(s)[
|
|
1353
|
-
"onUpdate:modelValue": (J) => o(s)[
|
|
1352
|
+
modelValue: o(s)[E],
|
|
1353
|
+
"onUpdate:modelValue": (J) => o(s)[E] = J,
|
|
1354
1354
|
small: !0,
|
|
1355
1355
|
"min-value": 0,
|
|
1356
1356
|
"max-value": W || 1 / 0
|
|
1357
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(
|
|
1357
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(He, {
|
|
1358
1358
|
key: 1,
|
|
1359
|
-
modelValue: o(s)[
|
|
1360
|
-
"onUpdate:modelValue": (J) => o(s)[
|
|
1359
|
+
modelValue: o(s)[E],
|
|
1360
|
+
"onUpdate:modelValue": (J) => o(s)[E] = J,
|
|
1361
1361
|
numeric: !0
|
|
1362
1362
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1363
1363
|
])
|
|
@@ -1377,7 +1377,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1377
1377
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1378
1378
|
a("button", {
|
|
1379
1379
|
class: "konnectio-abort-reservation link",
|
|
1380
|
-
onClick:
|
|
1380
|
+
onClick: Pe((y) => rt(D), ["prevent"])
|
|
1381
1381
|
}, [
|
|
1382
1382
|
a("span", null, v(o(e)("general.goAStepBack")), 1)
|
|
1383
1383
|
], 8, Ql)
|
|
@@ -1386,7 +1386,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1386
1386
|
}, 1024)) : _("", !0)
|
|
1387
1387
|
]),
|
|
1388
1388
|
reservation: $(({ next: q, prev: D }) => [
|
|
1389
|
-
o(
|
|
1389
|
+
o(ye) ? (c(), A(ze, {
|
|
1390
1390
|
key: 0,
|
|
1391
1391
|
"show-terms-notice": !0,
|
|
1392
1392
|
"show-gift-card": !0
|
|
@@ -1396,11 +1396,11 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1396
1396
|
a("h2", null, [
|
|
1397
1397
|
a("span", null, v(o(e)("booking.reservation.detailsTitle")), 1)
|
|
1398
1398
|
]),
|
|
1399
|
-
!o(
|
|
1399
|
+
!o(It) && !(o(Fe) && o(Oe)) ? (c(), f("ul", {
|
|
1400
1400
|
key: 0,
|
|
1401
|
-
class:
|
|
1401
|
+
class: De({ "konnectio-split-inputs": !o(Fe) && !o(Oe) })
|
|
1402
1402
|
}, [
|
|
1403
|
-
o(
|
|
1403
|
+
o(Fe) ? _("", !0) : (c(), f("li", en, [
|
|
1404
1404
|
g(mt, {
|
|
1405
1405
|
modelValue: o(h),
|
|
1406
1406
|
"onUpdate:modelValue": T[2] || (T[2] = (y) => N(h) ? h.value = y : null),
|
|
@@ -1410,7 +1410,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1410
1410
|
required: ""
|
|
1411
1411
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1412
1412
|
])),
|
|
1413
|
-
o(
|
|
1413
|
+
o(Oe) ? _("", !0) : (c(), f("li", tn, [
|
|
1414
1414
|
g(mt, {
|
|
1415
1415
|
modelValue: o(V),
|
|
1416
1416
|
"onUpdate:modelValue": T[3] || (T[3] = (y) => N(V) ? V.value = y : null),
|
|
@@ -1433,8 +1433,8 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1433
1433
|
required: ""
|
|
1434
1434
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1435
1435
|
g(se, {
|
|
1436
|
-
modelValue: o(
|
|
1437
|
-
"onUpdate:modelValue": T[6] || (T[6] = (y) => N(
|
|
1436
|
+
modelValue: o(I),
|
|
1437
|
+
"onUpdate:modelValue": T[6] || (T[6] = (y) => N(I) ? I.value = y : null),
|
|
1438
1438
|
type: "email",
|
|
1439
1439
|
name: "email",
|
|
1440
1440
|
autocomplete: "email",
|
|
@@ -1445,8 +1445,8 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1445
1445
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1446
1446
|
o(Lt) ? _("", !0) : (c(), A(se, {
|
|
1447
1447
|
key: 1,
|
|
1448
|
-
modelValue: o(
|
|
1449
|
-
"onUpdate:modelValue": T[7] || (T[7] = (y) => N(
|
|
1448
|
+
modelValue: o(b),
|
|
1449
|
+
"onUpdate:modelValue": T[7] || (T[7] = (y) => N(b) ? b.value = y : null),
|
|
1450
1450
|
type: "text",
|
|
1451
1451
|
name: "firm",
|
|
1452
1452
|
autocomplete: "firm",
|
|
@@ -1525,7 +1525,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1525
1525
|
icon: "allergies",
|
|
1526
1526
|
placeholder: o(e)("booking.reservation.allergiesPlaceholder")
|
|
1527
1527
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1528
|
-
o(Et) ? _("", !0) : (c(), A(
|
|
1528
|
+
o(Et) ? _("", !0) : (c(), A(ko, {
|
|
1529
1529
|
key: 2,
|
|
1530
1530
|
modelValue: o(d),
|
|
1531
1531
|
"onUpdate:modelValue": T[15] || (T[15] = (y) => N(d) ? d.value = y : null),
|
|
@@ -1546,7 +1546,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1546
1546
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1547
1547
|
a("button", {
|
|
1548
1548
|
class: "konnectio-abort-reservation link",
|
|
1549
|
-
onClick:
|
|
1549
|
+
onClick: Pe((y) => rt(D), ["prevent"])
|
|
1550
1550
|
}, [
|
|
1551
1551
|
a("span", null, v(o(e)("general.goAStepBack")), 1)
|
|
1552
1552
|
], 8, ln)
|
|
@@ -1570,7 +1570,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1570
1570
|
}, 8, ["access-token", "callback"])
|
|
1571
1571
|
]),
|
|
1572
1572
|
fallback: $(() => [
|
|
1573
|
-
g(
|
|
1573
|
+
g(kl)
|
|
1574
1574
|
]),
|
|
1575
1575
|
_: 1
|
|
1576
1576
|
}))
|
|
@@ -1578,7 +1578,7 @@ const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1578
1578
|
_: 1
|
|
1579
1579
|
}, 8, ["styling"]));
|
|
1580
1580
|
}
|
|
1581
|
-
}),
|
|
1581
|
+
}), $e = /* @__PURE__ */ ce(nn, [["__scopeId", "data-v-85e39a62"]]);
|
|
1582
1582
|
function Xe(n, l = {}, t) {
|
|
1583
1583
|
for (const e in n) {
|
|
1584
1584
|
const i = n[e], s = t ? `${t}:${e}` : e;
|
|
@@ -1710,7 +1710,7 @@ function cn() {
|
|
|
1710
1710
|
function pn(n) {
|
|
1711
1711
|
return Array.isArray(n) ? n : [n];
|
|
1712
1712
|
}
|
|
1713
|
-
const mn = ["title", "titleTemplate", "script", "style", "noscript"],
|
|
1713
|
+
const mn = ["title", "titleTemplate", "script", "style", "noscript"], Ce = [
|
|
1714
1714
|
"base",
|
|
1715
1715
|
"meta",
|
|
1716
1716
|
"link",
|
|
@@ -1791,13 +1791,13 @@ async function Ht(n, l) {
|
|
|
1791
1791
|
}
|
|
1792
1792
|
return n;
|
|
1793
1793
|
}
|
|
1794
|
-
const
|
|
1795
|
-
async function
|
|
1794
|
+
const bn = 10;
|
|
1795
|
+
async function kn(n) {
|
|
1796
1796
|
const l = [];
|
|
1797
1797
|
return Object.entries(n.resolvedInput).filter(([t, e]) => typeof e < "u" && fn.includes(t)).forEach(([t, e]) => {
|
|
1798
1798
|
const i = pn(e);
|
|
1799
1799
|
l.push(...i.map((s) => yn(t, s, n)).flat());
|
|
1800
|
-
}), (await Promise.all(l)).flat().filter(Boolean).map((t, e) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i <<
|
|
1800
|
+
}), (await Promise.all(l)).flat().filter(Boolean).map((t, e) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << bn) + e, t));
|
|
1801
1801
|
}
|
|
1802
1802
|
const vt = {
|
|
1803
1803
|
// tags
|
|
@@ -1809,13 +1809,13 @@ const vt = {
|
|
|
1809
1809
|
high: -10,
|
|
1810
1810
|
low: 20
|
|
1811
1811
|
};
|
|
1812
|
-
function
|
|
1812
|
+
function Se(n) {
|
|
1813
1813
|
let l = 100;
|
|
1814
1814
|
const t = n.tagPriority;
|
|
1815
1815
|
return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (l = -30), n.props.charset && (l = -20), n.props.name === "viewport" && (l = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? l = 20 : n.tag in vt && (l = vt[n.tag]), typeof t == "string" && t in yt ? l + yt[t] : l);
|
|
1816
1816
|
}
|
|
1817
1817
|
const _n = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], gt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
|
|
1818
|
-
function
|
|
1818
|
+
function we(n, l, t) {
|
|
1819
1819
|
if (typeof n != "string" || !n.includes("%"))
|
|
1820
1820
|
return n;
|
|
1821
1821
|
function e(m) {
|
|
@@ -1830,7 +1830,7 @@ function Ce(n, l, t) {
|
|
|
1830
1830
|
return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((m) => {
|
|
1831
1831
|
const p = e(m.slice(1));
|
|
1832
1832
|
typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
|
|
1833
|
-
}), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n =
|
|
1833
|
+
}), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n = we(n, { separator: t }, t)), n;
|
|
1834
1834
|
}
|
|
1835
1835
|
async function Vn(n, l = {}) {
|
|
1836
1836
|
const t = l.document || n.resolvedOptions.document;
|
|
@@ -1841,7 +1841,7 @@ async function Vn(n, l = {}) {
|
|
|
1841
1841
|
return;
|
|
1842
1842
|
const i = (await n.resolveTags()).map((d) => ({
|
|
1843
1843
|
tag: d,
|
|
1844
|
-
id:
|
|
1844
|
+
id: Ce.includes(d.tag) ? ft(d) : d.tag,
|
|
1845
1845
|
shouldRender: !0
|
|
1846
1846
|
}));
|
|
1847
1847
|
let s = n._dom;
|
|
@@ -1851,17 +1851,17 @@ async function Vn(n, l = {}) {
|
|
|
1851
1851
|
};
|
|
1852
1852
|
for (const d of ["body", "head"]) {
|
|
1853
1853
|
const h = t[d]?.children, V = [];
|
|
1854
|
-
for (const P of [...h].filter((C) =>
|
|
1854
|
+
for (const P of [...h].filter((C) => Ce.includes(C.tagName.toLowerCase()))) {
|
|
1855
1855
|
const C = {
|
|
1856
1856
|
tag: P.tagName.toLowerCase(),
|
|
1857
1857
|
props: await Ht(
|
|
1858
|
-
P.getAttributeNames().reduce((
|
|
1858
|
+
P.getAttributeNames().reduce((b, w) => ({ ...b, [w]: P.getAttribute(w) }), {})
|
|
1859
1859
|
),
|
|
1860
1860
|
innerHTML: P.innerHTML
|
|
1861
1861
|
};
|
|
1862
|
-
let
|
|
1863
|
-
for (; B && V.find((
|
|
1864
|
-
B = `${B}:${
|
|
1862
|
+
let I = 1, B = Dt(C);
|
|
1863
|
+
for (; B && V.find((b) => b._d === B); )
|
|
1864
|
+
B = `${B}:${I++}`;
|
|
1865
1865
|
C._d = B || void 0, V.push(C), s.elMap[P.getAttribute("data-hid") || ft(C)] = P;
|
|
1866
1866
|
}
|
|
1867
1867
|
}
|
|
@@ -1878,22 +1878,22 @@ async function Vn(n, l = {}) {
|
|
|
1878
1878
|
}), m(d, "el", () => {
|
|
1879
1879
|
s.elMap[d]?.remove(), delete s.elMap[d];
|
|
1880
1880
|
}));
|
|
1881
|
-
for (const [C,
|
|
1882
|
-
h.getAttribute(`data-${C}`) !== "" && ((V.tag === "bodyAttrs" ? t.defaultView : h).addEventListener(C.replace("on", ""),
|
|
1883
|
-
Object.entries(V.props).forEach(([C,
|
|
1881
|
+
for (const [C, I] of Object.entries(V._eventHandlers || {}))
|
|
1882
|
+
h.getAttribute(`data-${C}`) !== "" && ((V.tag === "bodyAttrs" ? t.defaultView : h).addEventListener(C.replace("on", ""), I.bind(h)), h.setAttribute(`data-${C}`, ""));
|
|
1883
|
+
Object.entries(V.props).forEach(([C, I]) => {
|
|
1884
1884
|
const B = `attr:${C}`;
|
|
1885
1885
|
if (C === "class")
|
|
1886
|
-
for (const
|
|
1887
|
-
P && m(d, `${B}:${
|
|
1886
|
+
for (const b of (I || "").split(" ").filter(Boolean))
|
|
1887
|
+
P && m(d, `${B}:${b}`, () => h.classList.remove(b)), !h.classList.contains(b) && h.classList.add(b);
|
|
1888
1888
|
else if (C === "style")
|
|
1889
|
-
for (const
|
|
1890
|
-
const [w, ...H] =
|
|
1891
|
-
m(d, `${B}:${
|
|
1889
|
+
for (const b of (I || "").split(";").filter(Boolean)) {
|
|
1890
|
+
const [w, ...H] = b.split(":").map((O) => O.trim());
|
|
1891
|
+
m(d, `${B}:${b}:${w}`, () => {
|
|
1892
1892
|
h.style.removeProperty(w);
|
|
1893
1893
|
}), h.style.setProperty(w, H.join(":"));
|
|
1894
1894
|
}
|
|
1895
1895
|
else
|
|
1896
|
-
h.getAttribute(C) !==
|
|
1896
|
+
h.getAttribute(C) !== I && h.setAttribute(C, I === !0 ? "" : String(I)), P && m(d, B, () => h.removeAttribute(C));
|
|
1897
1897
|
});
|
|
1898
1898
|
}
|
|
1899
1899
|
const u = [], r = {
|
|
@@ -1908,7 +1908,7 @@ async function Vn(n, l = {}) {
|
|
|
1908
1908
|
t.title = h.textContent;
|
|
1909
1909
|
continue;
|
|
1910
1910
|
}
|
|
1911
|
-
d.$el = d.$el || s.elMap[P], d.$el ? p(d) :
|
|
1911
|
+
d.$el = d.$el || s.elMap[P], d.$el ? p(d) : Ce.includes(h.tag) && u.push(d);
|
|
1912
1912
|
}
|
|
1913
1913
|
}
|
|
1914
1914
|
for (const d of u) {
|
|
@@ -1966,11 +1966,11 @@ const Cn = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
|
|
|
1966
1966
|
} else if (e._e === s._e) {
|
|
1967
1967
|
s._duped = s._duped || [], e._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(e);
|
|
1968
1968
|
return;
|
|
1969
|
-
} else if (
|
|
1969
|
+
} else if (Se(e) > Se(s))
|
|
1970
1970
|
return;
|
|
1971
1971
|
}
|
|
1972
1972
|
const m = Object.keys(e.props).length + (e.innerHTML ? 1 : 0) + (e.textContent ? 1 : 0);
|
|
1973
|
-
if (
|
|
1973
|
+
if (Ce.includes(e.tag) && m === 0) {
|
|
1974
1974
|
delete l[i];
|
|
1975
1975
|
return;
|
|
1976
1976
|
}
|
|
@@ -2012,13 +2012,13 @@ const Cn = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
|
|
|
2012
2012
|
}
|
|
2013
2013
|
}
|
|
2014
2014
|
}
|
|
2015
|
-
}), Hn = ["link", "style", "script", "noscript"],
|
|
2015
|
+
}), Hn = ["link", "style", "script", "noscript"], Sn = {
|
|
2016
2016
|
hooks: {
|
|
2017
2017
|
"tag:normalise": ({ tag: n }) => {
|
|
2018
2018
|
n.key && Hn.includes(n.tag) && (n.props["data-hid"] = n._h = lt(n.key));
|
|
2019
2019
|
}
|
|
2020
2020
|
}
|
|
2021
|
-
},
|
|
2021
|
+
}, In = {
|
|
2022
2022
|
hooks: {
|
|
2023
2023
|
"tags:resolve": (n) => {
|
|
2024
2024
|
const l = (t) => n.tags.find((e) => e._d === t)?._p;
|
|
@@ -2029,7 +2029,7 @@ const Cn = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
|
|
|
2029
2029
|
);
|
|
2030
2030
|
typeof s < "u" && (i._p = s + e);
|
|
2031
2031
|
}
|
|
2032
|
-
n.tags.sort((t, e) => t._p - e._p).sort((t, e) =>
|
|
2032
|
+
n.tags.sort((t, e) => t._p - e._p).sort((t, e) => Se(t) - Se(e));
|
|
2033
2033
|
}
|
|
2034
2034
|
}
|
|
2035
2035
|
}, Bn = {
|
|
@@ -2040,11 +2040,11 @@ const Cn = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
|
|
|
2040
2040
|
hooks: {
|
|
2041
2041
|
"tags:resolve": (l) => {
|
|
2042
2042
|
const { tags: t } = l, e = t.find((p) => p.tag === "title")?.textContent, i = t.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, m = s.separator || "|";
|
|
2043
|
-
delete s.separator, s.pageTitle =
|
|
2043
|
+
delete s.separator, s.pageTitle = we(s.pageTitle || e || "", s, m);
|
|
2044
2044
|
for (const p of t.filter((u) => u.processTemplateParams !== !1)) {
|
|
2045
2045
|
const u = Bn[p.tag];
|
|
2046
|
-
u && typeof p.props[u] == "string" ? p.props[u] =
|
|
2047
|
-
typeof p[r] == "string" && (p[r] =
|
|
2046
|
+
u && typeof p.props[u] == "string" ? p.props[u] = we(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
|
|
2047
|
+
typeof p[r] == "string" && (p[r] = we(p[r], s, m));
|
|
2048
2048
|
});
|
|
2049
2049
|
}
|
|
2050
2050
|
n._templateParams = s, n._separator = m, l.tags = t.filter((p) => p.tag !== "templateParams");
|
|
@@ -2084,7 +2084,7 @@ function Un(n = {}) {
|
|
|
2084
2084
|
const l = Rn(n);
|
|
2085
2085
|
return l.use(/* @__PURE__ */ $n()), l;
|
|
2086
2086
|
}
|
|
2087
|
-
function
|
|
2087
|
+
function bt(n, l) {
|
|
2088
2088
|
return !n || n === "server" && l || n === "client" && !l;
|
|
2089
2089
|
}
|
|
2090
2090
|
function Rn(n = {}) {
|
|
@@ -2104,7 +2104,7 @@ function Rn(n = {}) {
|
|
|
2104
2104
|
},
|
|
2105
2105
|
use(u) {
|
|
2106
2106
|
const r = typeof u == "function" ? u(p) : u;
|
|
2107
|
-
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r),
|
|
2107
|
+
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), bt(r.mode, t) && l.addHooks(r.hooks || {}));
|
|
2108
2108
|
},
|
|
2109
2109
|
push(u, r) {
|
|
2110
2110
|
delete r?.head;
|
|
@@ -2113,7 +2113,7 @@ function Rn(n = {}) {
|
|
|
2113
2113
|
input: u,
|
|
2114
2114
|
...r
|
|
2115
2115
|
};
|
|
2116
|
-
return
|
|
2116
|
+
return bt(d.mode, t) && (s.push(d), e()), {
|
|
2117
2117
|
dispose() {
|
|
2118
2118
|
s = s.filter((h) => h._i !== d._i), l.callHook("entries:updated", p), e();
|
|
2119
2119
|
},
|
|
@@ -2129,7 +2129,7 @@ function Rn(n = {}) {
|
|
|
2129
2129
|
for (const r of u.entries) {
|
|
2130
2130
|
const d = r.resolvedInput || r.input;
|
|
2131
2131
|
if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
|
|
2132
|
-
for (const h of await
|
|
2132
|
+
for (const h of await kn(r)) {
|
|
2133
2133
|
const V = { tag: h, entry: r, resolvedOptions: p.resolvedOptions };
|
|
2134
2134
|
await l.callHook("tag:normalise", V), u.tags.push(V.tag);
|
|
2135
2135
|
}
|
|
@@ -2142,8 +2142,8 @@ function Rn(n = {}) {
|
|
|
2142
2142
|
wn,
|
|
2143
2143
|
Pn,
|
|
2144
2144
|
Dn,
|
|
2145
|
-
In,
|
|
2146
2145
|
Sn,
|
|
2146
|
+
In,
|
|
2147
2147
|
En,
|
|
2148
2148
|
Mn,
|
|
2149
2149
|
Ln,
|
|
@@ -2192,7 +2192,7 @@ class zn extends HTMLElement {
|
|
|
2192
2192
|
this.vueApp.unmount();
|
|
2193
2193
|
}
|
|
2194
2194
|
connectedCallback() {
|
|
2195
|
-
const l = typeof
|
|
2195
|
+
const l = typeof $e == "function" ? $e.options : $e;
|
|
2196
2196
|
let t = Array.isArray(l.props) ? l.props : Object.keys(l.props || {});
|
|
2197
2197
|
const e = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (r, d) => (d ? "-" : "") + r.toLowerCase()), i = (u) => u.replace(/-./g, (r) => r[1].toUpperCase()), s = {};
|
|
2198
2198
|
t = t.map(e);
|
|
@@ -2205,7 +2205,7 @@ class zn extends HTMLElement {
|
|
|
2205
2205
|
let r = this.attributes.getNamedItem(u)?.value;
|
|
2206
2206
|
m.hasOwnProperty(u) && (r = m[u]), s[u] = r;
|
|
2207
2207
|
}
|
|
2208
|
-
this.vueApp = no(
|
|
2208
|
+
this.vueApp = no($e, s), this.vueApp.provide("emitter", xn), this.vueApp.use(Kn), this.vueApp.use(Wn), this.vueApp.use(Vo), this.vueApp.use(so), this.vueApp.use(To), this.vueApp.use(ho, { bootstrap: !0 });
|
|
2209
2209
|
const p = document.createElement("div");
|
|
2210
2210
|
this.vueApp.mount(p), this.appendChild(p.children[0]);
|
|
2211
2211
|
}
|