@konnectio/core 4.0.70 → 4.0.71
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-B2nkVHpm.js → ActionField-BOjNNOwm.js} +4 -4
- package/dist/ActionField-BOjNNOwm.js.br +0 -0
- package/dist/{AvailabilitySkeleton-B861c-E-.js → AvailabilitySkeleton-BBZ1jYsL.js} +7 -7
- package/dist/AvailabilitySkeleton-BBZ1jYsL.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BBnNIH98.js} +5 -5
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BBnNIH98.js.br +0 -0
- package/dist/{CheckoutWindow-DM8NiuXR.js → CheckoutWindow-Be87geqA.js} +5 -5
- package/dist/CheckoutWindow-Be87geqA.js.br +0 -0
- package/dist/{ErrorMessage-DHi8BQ6u.js → ErrorMessage-PrTNCV3L.js} +4 -4
- package/dist/ErrorMessage-PrTNCV3L.js.br +0 -0
- package/dist/{EventAvailabilityForm-DPn-Gce_.js → EventAvailabilityForm-B_kQ68K4.js} +25 -25
- package/dist/EventAvailabilityForm-B_kQ68K4.js.br +0 -0
- package/dist/{Field-DxsuquwZ.js → Field-Cly4g5NO.js} +9 -9
- package/dist/Field-Cly4g5NO.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js} +2444 -2436
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js.br +0 -0
- package/dist/{TermsOfService-D_Jn5Zg_.js → TermsOfService-B4VF2Mqd.js} +13 -13
- package/dist/TermsOfService-B4VF2Mqd.js.br +0 -0
- package/dist/{_-DvTtY1Ya.js → _-D9xfNmwK.js} +3 -3
- package/dist/{_.vue_vue_type_style_index_0_lang-B9P9xmGD.js → _.vue_vue_type_style_index_0_lang-CEE8x56y.js} +4 -4
- package/dist/_.vue_vue_type_style_index_0_lang-CEE8x56y.js.br +0 -0
- package/dist/{_commonjsHelpers-zI2TZkyo.js → _commonjsHelpers-CjBehFnu.js} +2 -2
- package/dist/_commonjsHelpers-CjBehFnu.js.br +0 -0
- package/dist/{_sentry-release-injection-file-DvEZJp-B.js → _sentry-release-injection-file-DsYwID46.js} +13 -13
- package/dist/_sentry-release-injection-file-DsYwID46.js.br +0 -0
- package/dist/availability.js +40 -39
- 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 +344 -336
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +19 -18
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +64 -63
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-awGtNaxi.js → giftCard-DL8SvzFu.js} +15 -15
- package/dist/giftCard-DL8SvzFu.js.br +0 -0
- package/dist/hotel.js +779 -758
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BrevVGLo.js → masonry.plugin-DyMWv_cS.js} +1655 -1585
- package/dist/masonry.plugin-DyMWv_cS.js.br +0 -0
- package/dist/{mitt-CHkQwqe3.js → mitt-CxLBLOxI.js} +177 -177
- package/dist/mitt-CxLBLOxI.js.br +0 -0
- package/dist/polyfill.js +108 -108
- package/dist/polyfill.js.br +0 -0
- package/dist/sentry-9IPMO-VI.js +26 -0
- package/dist/{style-CTJOBGnG.js → style-bf_adpj0.js} +124 -131
- package/dist/style-bf_adpj0.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-B2nkVHpm.js.br +0 -0
- package/dist/AvailabilitySkeleton-B861c-E-.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js.br +0 -0
- package/dist/CheckoutWindow-DM8NiuXR.js.br +0 -0
- package/dist/ErrorMessage-DHi8BQ6u.js.br +0 -0
- package/dist/EventAvailabilityForm-DPn-Gce_.js.br +0 -0
- package/dist/Field-DxsuquwZ.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js.br +0 -0
- package/dist/TermsOfService-D_Jn5Zg_.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-B9P9xmGD.js.br +0 -0
- package/dist/_commonjsHelpers-zI2TZkyo.js.br +0 -0
- package/dist/_sentry-release-injection-file-DvEZJp-B.js.br +0 -0
- package/dist/giftCard-awGtNaxi.js.br +0 -0
- package/dist/masonry.plugin-BrevVGLo.js.br +0 -0
- package/dist/mitt-CHkQwqe3.js.br +0 -0
- package/dist/style-CTJOBGnG.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { u as
|
|
3
|
-
import { c as
|
|
4
|
-
import {
|
|
5
|
-
import { A as
|
|
6
|
-
import { R as Co, B as
|
|
7
|
-
import { S as Eo } from "./TermsOfService-
|
|
8
|
-
import { C as
|
|
9
|
-
import { _ as
|
|
1
|
+
import { d as ee, r as ae, C as no, a as u, b as P, q as ao, u as e, w as T, g as v, e as a, t as f, A as He, B as ze, f as y, i as _, s as G, F, l as Ye, x as tt, v as q, h as Pt, p as at, j as it, c as x, o as st, z as Ee, n as Be, S as io, D as so, E as ro, G as uo, k as co } from "./_sentry-release-injection-file-DsYwID46.js";
|
|
2
|
+
import { u as ie, s as Z, T as po, c as mo, l as fo, i as ho, m as vo } from "./mitt-CxLBLOxI.js";
|
|
3
|
+
import { d as Ce, x as ye, u as we, I as W, s as le, y as Te, l as Qe, i as pe, g as ne, _ as fe, n as Re, z as At, b as ot, c as me, B as Dt, A as vt, T as ce, p as yo, D as bo, a as go, C as ko, h as yt, j as _o, k as bt, m as Vo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DeBoKL9k.js";
|
|
4
|
+
import { G as $o } from "./style-bf_adpj0.js";
|
|
5
|
+
import { A as To, H as wo } from "./AvailabilitySkeleton-BBZ1jYsL.js";
|
|
6
|
+
import { R as Co, B as Le, L as Po, S as Ao, M as Do, a as Xe, C as Ho, T as So, V as Io } from "./masonry.plugin-DyMWv_cS.js";
|
|
7
|
+
import { S as Eo } from "./TermsOfService-B4VF2Mqd.js";
|
|
8
|
+
import { C as Ne, B as Bo, P as No, a as Mo } from "./CheckoutWindow-Be87geqA.js";
|
|
9
|
+
import { _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BBnNIH98.js";
|
|
10
10
|
(function() {
|
|
11
11
|
try {
|
|
12
12
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
|
|
13
|
-
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "
|
|
13
|
+
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "8b2509ce-49a8-4f96-b7be-967eb9aa5b43", n._sentryDebugIdIdentifier = "sentry-dbid-8b2509ce-49a8-4f96-b7be-967eb9aa5b43");
|
|
14
14
|
} catch {
|
|
15
15
|
}
|
|
16
16
|
})();
|
|
17
17
|
{
|
|
18
|
-
var
|
|
19
|
-
|
|
18
|
+
var De = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
19
|
+
De._sentryModuleMetadata = De._sentryModuleMetadata || {}, De._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
20
20
|
{},
|
|
21
|
-
|
|
21
|
+
De._sentryModuleMetadata[new Error().stack],
|
|
22
22
|
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
23
23
|
);
|
|
24
24
|
}
|
|
25
|
-
const Ro = { key: 0 },
|
|
26
|
-
const
|
|
25
|
+
const Ro = (n) => (at("data-v-8b2d66e3"), n = n(), it(), n), Lo = { key: 0 }, Uo = { class: "konnectio-hotel-reservation-warning" }, Fo = { class: "konnectio-hotel-reservation-warning" }, Oo = { class: "konnectio-hotel-reservation-warning" };
|
|
26
|
+
const jo = { key: 0 }, qo = { key: 1 }, Go = { key: 0 }, Wo = { class: "konnectio-reservation-actions" }, xo = /* @__PURE__ */ Ro(() => /* @__PURE__ */ a("span", null, "For ", -1)), Ko = /* @__PURE__ */ ee({
|
|
27
27
|
__name: "HotelReservationForm",
|
|
28
28
|
props: {
|
|
29
29
|
showGiftCard: { type: Boolean, default: !1 },
|
|
30
|
-
showTermsNotice: { type: Boolean, default: !1 }
|
|
30
|
+
showTermsNotice: { type: Boolean, default: !1 },
|
|
31
|
+
prevCallback: {}
|
|
31
32
|
},
|
|
32
33
|
setup(n) {
|
|
33
|
-
const { t: l } =
|
|
34
|
+
const { t: l } = ie(), {
|
|
34
35
|
hideArrivalDepartureInputs: t,
|
|
35
36
|
disableArrivalUserSelection: o,
|
|
36
37
|
disableDepartureUserSelection: i,
|
|
@@ -38,220 +39,248 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
38
39
|
departureDefault: m,
|
|
39
40
|
disableNewsletterSignup: p,
|
|
40
41
|
currency: c
|
|
41
|
-
} =
|
|
42
|
+
} = Z(Ce()), {
|
|
42
43
|
arrivalTime: r,
|
|
43
44
|
departureTime: d,
|
|
44
|
-
roomDisplay:
|
|
45
|
-
templateID:
|
|
45
|
+
roomDisplay: h,
|
|
46
|
+
templateID: $,
|
|
46
47
|
totalPrice: C,
|
|
47
48
|
areListingsLoading: w,
|
|
48
49
|
getSelectedPackageRoom: I,
|
|
49
|
-
selectedPackage:
|
|
50
|
-
discountVouchers:
|
|
51
|
-
currentArrivalDate:
|
|
50
|
+
selectedPackage: M,
|
|
51
|
+
discountVouchers: N,
|
|
52
|
+
currentArrivalDate: E,
|
|
52
53
|
currentDepartureDate: k,
|
|
53
54
|
datesMismatch: D,
|
|
54
|
-
currentLocation:
|
|
55
|
-
locationMismatch:
|
|
56
|
-
newsMails:
|
|
55
|
+
currentLocation: B,
|
|
56
|
+
locationMismatch: J,
|
|
57
|
+
newsMails: R,
|
|
57
58
|
termsOfService: Y,
|
|
58
|
-
discountCode:
|
|
59
|
-
hasTermOfService:
|
|
60
|
-
acceptTerms:
|
|
61
|
-
totalTemplateAddonPrice: j
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
discountCode: L,
|
|
60
|
+
hasTermOfService: se,
|
|
61
|
+
acceptTerms: te,
|
|
62
|
+
totalTemplateAddonPrice: j,
|
|
63
|
+
totalRooms: he,
|
|
64
|
+
totalAdults: be,
|
|
65
|
+
totalChildren: ge
|
|
66
|
+
} = Z(ye()), { hasHotelLocations: Ue } = Z(we()), { removeRoom: dt, validateDiscountCode: Fe } = ye(), { getHotelLocationName: Pe } = we(), ve = ae(!1);
|
|
67
|
+
function ke(X) {
|
|
68
|
+
return X.reduce((Ve, { totalPrice: O }) => Ve + O, 0);
|
|
65
69
|
}
|
|
66
|
-
return (
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
70
|
+
return (X, z) => {
|
|
71
|
+
const Ve = no("tooltip");
|
|
72
|
+
return u(), P(Co, {
|
|
73
|
+
"discount-code": e(L),
|
|
74
|
+
"onUpdate:discountCode": z[4] || (z[4] = (O) => q(L) ? L.value = O : null),
|
|
75
|
+
"validate-discount-code": e(Fe),
|
|
76
|
+
"total-price": e(C),
|
|
77
|
+
"show-gift-card": X.showGiftCard,
|
|
78
|
+
"show-terms-notice": X.showTermsNotice,
|
|
79
|
+
"is-sidebar-loading": e(w),
|
|
80
|
+
notice: e(l)("hotel.reservationNotice"),
|
|
81
|
+
"prev-callback": X.prevCallback
|
|
82
|
+
}, ao({
|
|
83
|
+
form: T(() => [
|
|
84
|
+
Ye(X.$slots, "form", {}, void 0, !0)
|
|
85
|
+
]),
|
|
86
|
+
"price-summary": T(() => [
|
|
87
|
+
isNaN(e($)) && e(h).length > 0 ? (u(!0), v(F, { key: 0 }, G(e(h), ({
|
|
88
|
+
roomGroupID: O,
|
|
89
|
+
title: Oe,
|
|
90
|
+
variants: $e
|
|
91
|
+
}) => (u(), v("div", { key: O }, [
|
|
92
|
+
a("h6", null, [
|
|
93
|
+
a("span", null, f(Oe), 1)
|
|
94
|
+
]),
|
|
95
|
+
(u(!0), v(F, null, G($e, (Ae, je) => (u(), v("div", { key: je }, [
|
|
96
|
+
(u(!0), v(F, null, G(Ae.rooms, (re, qe) => (u(), v("ul", { key: qe }, [
|
|
97
|
+
a("li", null, [
|
|
92
98
|
a("span", null, [
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
color: "font"
|
|
98
|
-
}),
|
|
99
|
-
a("span", null, v(se.adultsCount), 1),
|
|
100
|
-
se.childrenCount > 0 ? (u(), h(O, { key: 0 }, [
|
|
101
|
-
y(K, {
|
|
102
|
-
icon: "child",
|
|
99
|
+
a("span", null, [
|
|
100
|
+
tt(f(e(pe)(Ae.name)) + " ( ", 1),
|
|
101
|
+
y(W, {
|
|
102
|
+
icon: "male",
|
|
103
103
|
type: "fas",
|
|
104
104
|
color: "font"
|
|
105
105
|
}),
|
|
106
|
-
a("span", null,
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
a("span", null, f(re.adultsCount), 1),
|
|
107
|
+
re.childrenCount > 0 ? (u(), v(F, { key: 0 }, [
|
|
108
|
+
y(W, {
|
|
109
|
+
icon: "child",
|
|
110
|
+
type: "fas",
|
|
111
|
+
color: "font"
|
|
112
|
+
}),
|
|
113
|
+
a("span", null, f(re.childrenCount), 1)
|
|
114
|
+
], 64)) : _("", !0),
|
|
115
|
+
tt(") ")
|
|
116
|
+
])
|
|
117
|
+
]),
|
|
118
|
+
a("b", null, [
|
|
119
|
+
a("span", null, f(e(ne)(re.totalPrice, e(c))), 1),
|
|
120
|
+
_("", !0)
|
|
109
121
|
])
|
|
110
122
|
]),
|
|
111
|
-
|
|
112
|
-
a("span", null,
|
|
113
|
-
|
|
114
|
-
])
|
|
115
|
-
]),
|
|
116
|
-
$e(se.roomAddons) > 0 ? (u(), h("li", Oo, [
|
|
117
|
-
a("span", null, v(e(l)("general.addons")), 1),
|
|
118
|
-
a("b", null, v(e(le)($e(se.roomAddons), e(c))), 1)
|
|
119
|
-
])) : _("", !0)
|
|
123
|
+
ke(re.roomAddons) > 0 ? (u(), v("li", jo, [
|
|
124
|
+
a("span", null, f(e(l)("general.addons")), 1),
|
|
125
|
+
a("b", null, f(e(ne)(ke(re.roomAddons), e(c))), 1)
|
|
126
|
+
])) : _("", !0)
|
|
127
|
+
]))), 128))
|
|
120
128
|
]))), 128))
|
|
121
|
-
]))), 128))
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
a("span", null, v(e(le)(e(I).extraPrice, e(c))), 1)
|
|
135
|
-
])
|
|
136
|
-
]),
|
|
137
|
-
e(j) ? (u(), h("li", qo, [
|
|
138
|
-
a("span", null, v(e(l)("general.addons")), 1),
|
|
139
|
-
a("b", null, v(e(le)(e(j), e(c))), 1)
|
|
140
|
-
])) : _("", !0)
|
|
141
|
-
])
|
|
142
|
-
])
|
|
143
|
-
])) : _("", !0)
|
|
144
|
-
]),
|
|
145
|
-
actions: $(() => [
|
|
146
|
-
a("ul", Go, [
|
|
147
|
-
e(p) ? _("", !0) : (u(), A(Ee, {
|
|
148
|
-
key: 0,
|
|
149
|
-
modelValue: e(L),
|
|
150
|
-
"onUpdate:modelValue": W[0] || (W[0] = (M) => q(L) ? L.value = M : null),
|
|
151
|
-
type: "checkbox",
|
|
152
|
-
name: "newsletter",
|
|
153
|
-
label: e(l)("booking.reservation.newsletterSignUp")
|
|
154
|
-
}, null, 8, ["modelValue", "label"])),
|
|
155
|
-
e(ie) ? (u(), A(Ee, {
|
|
156
|
-
key: 1,
|
|
157
|
-
modelValue: e(ee),
|
|
158
|
-
"onUpdate:modelValue": W[2] || (W[2] = (M) => q(ee) ? ee.value = M : null),
|
|
159
|
-
type: "checkbox",
|
|
160
|
-
name: "terms"
|
|
161
|
-
}, {
|
|
162
|
-
default: $(() => [
|
|
163
|
-
y(e(co), {
|
|
164
|
-
keypath: "general.termsAndConditionsCheckbox",
|
|
165
|
-
tag: "span",
|
|
166
|
-
scope: "global"
|
|
167
|
-
}, {
|
|
168
|
-
terms: $(() => [
|
|
169
|
-
a("a", {
|
|
170
|
-
class: "konnectio-accept-terms-link",
|
|
171
|
-
onClick: W[1] || (W[1] = Se((M) => ke.value = !0, ["prevent"]))
|
|
172
|
-
}, [
|
|
173
|
-
a("span", null, v(e(ut)(e(l)("general.termsAndConditions"))), 1)
|
|
129
|
+
]))), 128)) : _("", !0),
|
|
130
|
+
e(I) && e(M) ? (u(), v("div", qo, [
|
|
131
|
+
a("h6", null, [
|
|
132
|
+
a("span", null, f(e(pe)(e(M).name)), 1)
|
|
133
|
+
]),
|
|
134
|
+
a("div", null, [
|
|
135
|
+
a("ul", null, [
|
|
136
|
+
a("li", null, [
|
|
137
|
+
a("span", null, [
|
|
138
|
+
a("span", null, f(e(pe)(e(I).title)), 1)
|
|
139
|
+
]),
|
|
140
|
+
a("b", null, [
|
|
141
|
+
a("span", null, f(e(ne)(e(I).extraPrice, e(c))), 1)
|
|
174
142
|
])
|
|
175
143
|
]),
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}, 8, ["modelValue"])) : _("", !0),
|
|
181
|
-
Ke(te.$slots, "actions", {}, void 0, !0),
|
|
182
|
-
y(Eo, {
|
|
183
|
-
modelValue: ke.value,
|
|
184
|
-
"onUpdate:modelValue": W[3] || (W[3] = (M) => ke.value = M),
|
|
185
|
-
description: e(Y)
|
|
186
|
-
}, null, 8, ["modelValue", "description"])
|
|
187
|
-
])
|
|
188
|
-
]),
|
|
189
|
-
navigation: $(() => [
|
|
190
|
-
Ke(te.$slots, "navigation", {}, void 0, !0)
|
|
191
|
-
]),
|
|
192
|
-
_: 2
|
|
193
|
-
}, [
|
|
194
|
-
isNaN(e(E)) ? void 0 : {
|
|
195
|
-
name: "reservation-summary",
|
|
196
|
-
fn: $(() => [
|
|
197
|
-
e(ve) ? (u(), h("li", Ro, [
|
|
198
|
-
a("span", null, v(e(l)("general.location")), 1),
|
|
199
|
-
a("b", null, [
|
|
200
|
-
a("span", null, v(e(Re)(e(E))), 1),
|
|
201
|
-
We(a("span", Lo, [
|
|
202
|
-
y(K, {
|
|
203
|
-
icon: "exclamation-triangle",
|
|
204
|
-
type: "fas"
|
|
205
|
-
})
|
|
206
|
-
], 512), [
|
|
207
|
-
[xe, e(z)]
|
|
144
|
+
e(j) ? (u(), v("li", Go, [
|
|
145
|
+
a("span", null, f(e(l)("general.addons")), 1),
|
|
146
|
+
a("b", null, f(e(ne)(e(j), e(c))), 1)
|
|
147
|
+
])) : _("", !0)
|
|
208
148
|
])
|
|
209
149
|
])
|
|
210
|
-
])) : _("", !0)
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
150
|
+
])) : _("", !0)
|
|
151
|
+
]),
|
|
152
|
+
actions: T(() => [
|
|
153
|
+
a("ul", Wo, [
|
|
154
|
+
e(p) ? _("", !0) : (u(), P(Ne, {
|
|
155
|
+
key: 0,
|
|
156
|
+
modelValue: e(R),
|
|
157
|
+
"onUpdate:modelValue": z[0] || (z[0] = (O) => q(R) ? R.value = O : null),
|
|
158
|
+
type: "checkbox",
|
|
159
|
+
name: "newsletter",
|
|
160
|
+
label: e(l)("booking.reservation.newsletterSignUp")
|
|
161
|
+
}, null, 8, ["modelValue", "label"])),
|
|
162
|
+
e(se) ? (u(), P(Ne, {
|
|
163
|
+
key: 1,
|
|
164
|
+
modelValue: e(te),
|
|
165
|
+
"onUpdate:modelValue": z[2] || (z[2] = (O) => q(te) ? te.value = O : null),
|
|
166
|
+
type: "checkbox",
|
|
167
|
+
name: "terms"
|
|
168
|
+
}, {
|
|
169
|
+
default: T(() => [
|
|
170
|
+
y(e(po), {
|
|
171
|
+
keypath: "general.termsAndConditionsCheckbox",
|
|
172
|
+
tag: "span",
|
|
173
|
+
scope: "global"
|
|
174
|
+
}, {
|
|
175
|
+
terms: T(() => [
|
|
176
|
+
a("a", {
|
|
177
|
+
class: "konnectio-accept-terms-link",
|
|
178
|
+
onClick: z[1] || (z[1] = Pt((O) => ve.value = !0, ["prevent"]))
|
|
179
|
+
}, [
|
|
180
|
+
a("span", null, f(e(Qe)(e(l)("general.termsAndConditions"))), 1)
|
|
181
|
+
])
|
|
182
|
+
]),
|
|
183
|
+
_: 1
|
|
219
184
|
})
|
|
220
|
-
]
|
|
221
|
-
|
|
185
|
+
]),
|
|
186
|
+
_: 1
|
|
187
|
+
}, 8, ["modelValue"])) : _("", !0),
|
|
188
|
+
Ye(X.$slots, "actions", {}, void 0, !0),
|
|
189
|
+
y(Eo, {
|
|
190
|
+
modelValue: ve.value,
|
|
191
|
+
"onUpdate:modelValue": z[3] || (z[3] = (O) => ve.value = O),
|
|
192
|
+
description: e(Y)
|
|
193
|
+
}, null, 8, ["modelValue", "description"])
|
|
194
|
+
])
|
|
195
|
+
]),
|
|
196
|
+
navigation: T(() => [
|
|
197
|
+
Ye(X.$slots, "navigation", {}, void 0, !0)
|
|
198
|
+
]),
|
|
199
|
+
"mobile-under-price": T(() => [
|
|
200
|
+
xo,
|
|
201
|
+
a("b", null, f(e(Te)(e(E), e(k))) + " " + f(e(Qe)(e(Te)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1),
|
|
202
|
+
He((u(), v("span", null, [
|
|
203
|
+
y(W, {
|
|
204
|
+
icon: "circle-info",
|
|
205
|
+
type: "fas"
|
|
206
|
+
})
|
|
207
|
+
])), [
|
|
208
|
+
[Ve, {
|
|
209
|
+
content: `<span>(${e(le)(e(E))} - ${e(le)(e(k))})</span>`,
|
|
210
|
+
classes: ["tooltip", "konnectio-tooltip"],
|
|
211
|
+
html: !0
|
|
212
|
+
}]
|
|
213
|
+
])
|
|
214
|
+
]),
|
|
215
|
+
"mobile-summary": T(() => [
|
|
216
|
+
a("span", null, f(`${e(be)} ${e(be) === 1 ? e(l)("general.adult") : e(l)("general.adults")}`), 1),
|
|
217
|
+
a("span", null, f(`${e(ge)} ${e(ge) === 1 ? e(l)("general.child") : e(l)("general.children")}`), 1),
|
|
218
|
+
a("span", null, f(`${e(he)} ${e(he) === 1 ? e(l)("booking.reservation.room") : e(l)("booking.reservation.rooms")}`), 1)
|
|
219
|
+
]),
|
|
220
|
+
_: 2
|
|
221
|
+
}, [
|
|
222
|
+
isNaN(e(B)) ? void 0 : {
|
|
223
|
+
name: "reservation-summary",
|
|
224
|
+
fn: T(() => [
|
|
225
|
+
e(Ue) ? (u(), v("li", Lo, [
|
|
226
|
+
a("span", null, f(e(l)("general.location")), 1),
|
|
227
|
+
a("b", null, [
|
|
228
|
+
a("span", null, f(e(Pe)(e(B))), 1),
|
|
229
|
+
He(a("span", Uo, [
|
|
230
|
+
y(W, {
|
|
231
|
+
icon: "exclamation-triangle",
|
|
232
|
+
type: "fas"
|
|
233
|
+
})
|
|
234
|
+
], 512), [
|
|
235
|
+
[ze, e(J)]
|
|
236
|
+
])
|
|
222
237
|
])
|
|
223
|
-
])
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
238
|
+
])) : _("", !0),
|
|
239
|
+
a("li", null, [
|
|
240
|
+
a("span", null, f(e(l)("booking.reservation.arrival")), 1),
|
|
241
|
+
a("b", null, [
|
|
242
|
+
a("span", null, f(e(t) ? e(le)(e(E)) : `${e(le)(e(E))}, ${e(o) ? e(s) : e(r)}`), 1),
|
|
243
|
+
He(a("span", Fo, [
|
|
244
|
+
y(W, {
|
|
245
|
+
icon: "exclamation-triangle",
|
|
246
|
+
type: "fas"
|
|
247
|
+
})
|
|
248
|
+
], 512), [
|
|
249
|
+
[ze, e(D)]
|
|
250
|
+
])
|
|
236
251
|
])
|
|
237
|
-
])
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
252
|
+
]),
|
|
253
|
+
a("li", null, [
|
|
254
|
+
a("span", null, f(e(l)("booking.reservation.departure")), 1),
|
|
255
|
+
a("b", null, [
|
|
256
|
+
a("span", null, f(e(t) ? e(le)(e(k)) : `${e(le)(e(k))}, ${e(i) ? e(m) : e(d)}`), 1),
|
|
257
|
+
He(a("span", Oo, [
|
|
258
|
+
y(W, {
|
|
259
|
+
icon: "exclamation-triangle",
|
|
260
|
+
type: "fas"
|
|
261
|
+
})
|
|
262
|
+
], 512), [
|
|
263
|
+
[ze, e(D)]
|
|
264
|
+
])
|
|
265
|
+
])
|
|
266
|
+
]),
|
|
267
|
+
a("li", null, [
|
|
268
|
+
a("span", null, f(e(l)("booking.reservation.nights")), 1),
|
|
269
|
+
a("b", null, f(e(Te)(e(E), e(k))) + " " + f(e(Qe)(e(Te)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1)
|
|
270
|
+
]),
|
|
271
|
+
e(N) ? (u(!0), v(F, { key: 1 }, G(e(N), (O) => (u(), v("li", {
|
|
272
|
+
key: O.id
|
|
273
|
+
}, [
|
|
274
|
+
a("span", null, f(`${e(l)("general.discountCode")} (${O.value})`), 1),
|
|
275
|
+
a("b", null, f(O.key), 1)
|
|
276
|
+
]))), 128)) : _("", !0)
|
|
242
277
|
]),
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
a("b", null, v(M.key), 1)
|
|
248
|
-
]))), 128)) : _("", !0)
|
|
249
|
-
]),
|
|
250
|
-
key: "0"
|
|
251
|
-
}
|
|
252
|
-
]), 1032, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
278
|
+
key: "0"
|
|
279
|
+
}
|
|
280
|
+
]), 1032, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
|
|
281
|
+
};
|
|
253
282
|
}
|
|
254
|
-
}),
|
|
283
|
+
}), Ze = /* @__PURE__ */ fe(Ko, [["__scopeId", "data-v-8b2d66e3"]]), Jo = (n) => (at("data-v-69fe83d8"), n = n(), it(), n), zo = { class: "konnectio-room-config-option" }, Yo = { key: 0 }, Qo = { class: "konnectio-selected-room-config" }, Xo = { class: "konnectio-selected-room-config-people" }, Zo = { key: 0 }, el = { class: "konnectio-selected-room-config-price" }, tl = /* @__PURE__ */ Jo(() => /* @__PURE__ */ a("span", null, null, -1)), ol = /* @__PURE__ */ ee({
|
|
255
284
|
__name: "RoomConfigField",
|
|
256
285
|
props: {
|
|
257
286
|
modelValue: {},
|
|
@@ -262,15 +291,15 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
262
291
|
},
|
|
263
292
|
emits: ["update:modelValue"],
|
|
264
293
|
setup(n, { emit: l }) {
|
|
265
|
-
const { t } =
|
|
294
|
+
const { t } = ie(), { currency: o } = Z(Ce()), i = l, s = n;
|
|
266
295
|
function m(c) {
|
|
267
296
|
i("update:modelValue", c);
|
|
268
297
|
}
|
|
269
|
-
const p =
|
|
298
|
+
const p = x({
|
|
270
299
|
get: () => s.modelValue,
|
|
271
300
|
set: (c) => m(c)
|
|
272
301
|
});
|
|
273
|
-
return (c, r) => (u(),
|
|
302
|
+
return (c, r) => (u(), P(Re, {
|
|
274
303
|
modelValue: p.value,
|
|
275
304
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => p.value = d),
|
|
276
305
|
label: c.label,
|
|
@@ -283,57 +312,57 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
283
312
|
required: c.required,
|
|
284
313
|
searchable: !1
|
|
285
314
|
}, {
|
|
286
|
-
option:
|
|
287
|
-
a("span",
|
|
315
|
+
option: T(({ data: d }) => [
|
|
316
|
+
a("span", zo, [
|
|
288
317
|
a("div", null, [
|
|
289
|
-
y(
|
|
318
|
+
y(W, {
|
|
290
319
|
icon: "male",
|
|
291
320
|
type: "fas",
|
|
292
321
|
color: "font"
|
|
293
322
|
}),
|
|
294
|
-
a("span", null,
|
|
295
|
-
d.children > 0 ? (u(),
|
|
296
|
-
y(
|
|
323
|
+
a("span", null, f(`${d.adults}`), 1),
|
|
324
|
+
d.children > 0 ? (u(), v("span", Yo, [
|
|
325
|
+
y(W, {
|
|
297
326
|
icon: "child",
|
|
298
327
|
type: "fas",
|
|
299
328
|
color: "font"
|
|
300
329
|
}),
|
|
301
|
-
a("span", null,
|
|
330
|
+
a("span", null, f(`${d.children}`), 1)
|
|
302
331
|
])) : _("", !0)
|
|
303
332
|
]),
|
|
304
|
-
a("span", null,
|
|
333
|
+
a("span", null, f(`(${e(ne)(d.price, e(o))})`), 1)
|
|
305
334
|
])
|
|
306
335
|
]),
|
|
307
|
-
"selected-option":
|
|
308
|
-
a("div",
|
|
309
|
-
a("div",
|
|
336
|
+
"selected-option": T(({ data: d }) => [
|
|
337
|
+
a("div", Qo, [
|
|
338
|
+
a("div", Xo, [
|
|
310
339
|
a("div", null, [
|
|
311
340
|
_("", !0),
|
|
312
|
-
a("span", null,
|
|
341
|
+
a("span", null, f(`${d.adults} ${d.adults === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1)
|
|
313
342
|
]),
|
|
314
|
-
d.children > 0 ? (u(),
|
|
343
|
+
d.children > 0 ? (u(), v("div", Zo, [
|
|
315
344
|
_("", !0),
|
|
316
|
-
a("span", null,
|
|
345
|
+
a("span", null, f(`& ${d.children} ${d.children === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1)
|
|
317
346
|
])) : _("", !0)
|
|
318
347
|
]),
|
|
319
|
-
a("div",
|
|
320
|
-
|
|
321
|
-
|
|
348
|
+
a("div", el, [
|
|
349
|
+
tl,
|
|
350
|
+
tt(" " + f(`(${e(ne)(d.price, e(o))})`), 1)
|
|
322
351
|
])
|
|
323
352
|
])
|
|
324
353
|
]),
|
|
325
354
|
_: 1
|
|
326
355
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
327
356
|
}
|
|
328
|
-
}),
|
|
329
|
-
const
|
|
357
|
+
}), ll = /* @__PURE__ */ fe(ol, [["__scopeId", "data-v-69fe83d8"]]), nl = { class: "konnectio-availability-listing-selection" }, al = { key: 1 }, il = { class: "konnectio-listing-config-body" }, sl = { class: "konnectio-listing-units-body" };
|
|
358
|
+
const rl = /* @__PURE__ */ ee({
|
|
330
359
|
__name: "Hotel",
|
|
331
360
|
props: {
|
|
332
361
|
room: {},
|
|
333
362
|
layout: {}
|
|
334
363
|
},
|
|
335
364
|
setup(n) {
|
|
336
|
-
const { t: l } =
|
|
365
|
+
const { t: l } = ie(), t = n, o = ae([]);
|
|
337
366
|
function i(k) {
|
|
338
367
|
o.value[k].config.push({
|
|
339
368
|
id: NaN,
|
|
@@ -341,20 +370,20 @@ const il = /* @__PURE__ */ Z({
|
|
|
341
370
|
addons: []
|
|
342
371
|
});
|
|
343
372
|
}
|
|
344
|
-
const s =
|
|
373
|
+
const s = x(() => t.room.rates.map((k) => ({
|
|
345
374
|
label: k.name,
|
|
346
375
|
value: k.id
|
|
347
|
-
}))), { hideAvailableRoomAmount: m, autoSelectRateId: p } =
|
|
376
|
+
}))), { hideAvailableRoomAmount: m, autoSelectRateId: p } = Z(Ce()), { roomSelect: c } = Z(ye()), { addToCart: r, removeFromCart: d } = At(), h = (k, D) => t.room.rates.find((B) => B.id === k)?.occupantRates.find((B) => B.index === D), $ = x(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), C = (k, D) => h(k, D) ? h(k, D)?.rooms : null, w = (k) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === k)?.occupantRates.map((D) => ({
|
|
348
377
|
value: D.index,
|
|
349
378
|
price: D.totalPrice,
|
|
350
379
|
adults: D.adultsCount,
|
|
351
380
|
children: D.childrenCount,
|
|
352
381
|
hasBreakfast: D.hasBreakfast
|
|
353
|
-
})) || [] : [], I =
|
|
354
|
-
function
|
|
355
|
-
o.value[k].config[0].id = t.room.rates.find((
|
|
382
|
+
})) || [] : [], I = x(() => t.room.rates.length > 1);
|
|
383
|
+
function M(k, D) {
|
|
384
|
+
o.value[k].config[0].id = t.room.rates.find((B) => B.id === D.value)?.occupantRateIndex || NaN;
|
|
356
385
|
}
|
|
357
|
-
function
|
|
386
|
+
function N() {
|
|
358
387
|
I.value ? p.value ? o.value.push({
|
|
359
388
|
id: t.room.bestRateMatch || void 0,
|
|
360
389
|
config: [{
|
|
@@ -378,28 +407,28 @@ const il = /* @__PURE__ */ Z({
|
|
|
378
407
|
}]
|
|
379
408
|
});
|
|
380
409
|
}
|
|
381
|
-
|
|
382
|
-
|
|
410
|
+
st(() => {
|
|
411
|
+
N();
|
|
383
412
|
});
|
|
384
|
-
const
|
|
385
|
-
return
|
|
386
|
-
D.length > 0 && k.forEach((
|
|
387
|
-
|
|
388
|
-
const
|
|
389
|
-
|
|
413
|
+
const E = x(() => JSON.parse(JSON.stringify(o.value)));
|
|
414
|
+
return Ee(E, (k, D) => {
|
|
415
|
+
D.length > 0 && k.forEach((B, J) => {
|
|
416
|
+
B.config.forEach((R, Y) => {
|
|
417
|
+
const L = R.units, se = D[J].config[Y].units;
|
|
418
|
+
L !== se && (L > se ? (o.value[J].config[Y].addons.push({}), r({
|
|
390
419
|
id: t.room.id,
|
|
391
420
|
name: t.room.title,
|
|
392
|
-
value: t.room.rates[
|
|
393
|
-
})) : (o.value[
|
|
421
|
+
value: t.room.rates[J].rackRate
|
|
422
|
+
})) : (o.value[J].config[Y].addons.pop(), d({
|
|
394
423
|
id: t.room.id,
|
|
395
424
|
name: t.room.title,
|
|
396
|
-
value: t.room.rates[
|
|
425
|
+
value: t.room.rates[J].rackRate
|
|
397
426
|
})));
|
|
398
427
|
});
|
|
399
428
|
});
|
|
400
|
-
}, { deep: !0 }),
|
|
429
|
+
}, { deep: !0 }), Ee(o, () => {
|
|
401
430
|
c.value[t.room.id] = o.value;
|
|
402
|
-
}, { deep: !0 }), (k, D) => (u(),
|
|
431
|
+
}, { deep: !0 }), (k, D) => (u(), P(Le, {
|
|
403
432
|
type: "hotel",
|
|
404
433
|
"listing-id": k.room.id,
|
|
405
434
|
gallery: k.room.images,
|
|
@@ -408,59 +437,59 @@ const il = /* @__PURE__ */ Z({
|
|
|
408
437
|
layout: k.layout,
|
|
409
438
|
facilities: k.room.facilities,
|
|
410
439
|
"prices-from": k.room.pricesFrom,
|
|
411
|
-
"includes-breakfast":
|
|
440
|
+
"includes-breakfast": $.value
|
|
412
441
|
}, {
|
|
413
|
-
action:
|
|
414
|
-
a("div",
|
|
415
|
-
(u(!0),
|
|
416
|
-
key:
|
|
442
|
+
action: T(() => [
|
|
443
|
+
a("div", nl, [
|
|
444
|
+
(u(!0), v(F, null, G(o.value, (B, J) => (u(), v("div", {
|
|
445
|
+
key: B.id,
|
|
417
446
|
class: "konnectio-hotel-room"
|
|
418
447
|
}, [
|
|
419
|
-
I.value ? (u(),
|
|
448
|
+
I.value ? (u(), P(Re, {
|
|
420
449
|
key: 0,
|
|
421
|
-
modelValue:
|
|
422
|
-
"onUpdate:modelValue": (
|
|
450
|
+
modelValue: B.id,
|
|
451
|
+
"onUpdate:modelValue": (R) => B.id = R,
|
|
423
452
|
label: e(l)("hotel.roomVariant"),
|
|
424
453
|
placeholder: e(l)("hotel.chooseARoomVariant"),
|
|
425
454
|
options: s.value,
|
|
426
455
|
searchable: !1,
|
|
427
|
-
onChanged: (
|
|
456
|
+
onChanged: (R) => M(J, R)
|
|
428
457
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) : _("", !0),
|
|
429
|
-
|
|
430
|
-
(u(!0),
|
|
431
|
-
id:
|
|
458
|
+
B.id ? (u(), v("div", al, [
|
|
459
|
+
(u(!0), v(F, null, G(k.room.rates, ({
|
|
460
|
+
id: R,
|
|
432
461
|
maximumOccupants: Y
|
|
433
|
-
}) => (u(),
|
|
434
|
-
key:
|
|
462
|
+
}) => (u(), v("div", {
|
|
463
|
+
key: R,
|
|
435
464
|
class: "konnectio-listing-action-selective-i"
|
|
436
465
|
}, [
|
|
437
|
-
|
|
438
|
-
key:
|
|
466
|
+
B.id === R ? (u(!0), v(F, { key: 0 }, G(B.config, (L, se) => (u(), v("div", {
|
|
467
|
+
key: se,
|
|
439
468
|
class: "konnectio-listing-action-selective"
|
|
440
469
|
}, [
|
|
441
|
-
a("ul",
|
|
442
|
-
y(
|
|
443
|
-
modelValue:
|
|
444
|
-
"onUpdate:modelValue": (
|
|
470
|
+
a("ul", il, [
|
|
471
|
+
y(ll, {
|
|
472
|
+
modelValue: L.id,
|
|
473
|
+
"onUpdate:modelValue": (te) => L.id = te,
|
|
445
474
|
icon: "male",
|
|
446
475
|
"icon-type": "fas",
|
|
447
476
|
label: e(l)("general.guests"),
|
|
448
477
|
description: Y === 0 ? void 0 : `${e(l)("general.maximumGuests")}: ${Y}`,
|
|
449
|
-
options: w(
|
|
450
|
-
readonly: !(w(
|
|
478
|
+
options: w(R),
|
|
479
|
+
readonly: !(w(R).length > 1)
|
|
451
480
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
452
481
|
]),
|
|
453
|
-
a("ul",
|
|
454
|
-
y(
|
|
455
|
-
modelValue:
|
|
456
|
-
"onUpdate:modelValue": (
|
|
457
|
-
description: e(m) ? void 0 : `${e(l)("booking.availability.availableUnits")}: ${C(
|
|
482
|
+
a("ul", sl, [
|
|
483
|
+
y(ot, {
|
|
484
|
+
modelValue: L.units,
|
|
485
|
+
"onUpdate:modelValue": (te) => L.units = te,
|
|
486
|
+
description: e(m) ? void 0 : `${e(l)("booking.availability.availableUnits")}: ${C(B.id, L.id)}`,
|
|
458
487
|
icon: "house",
|
|
459
488
|
"icon-type": "fas",
|
|
460
489
|
"icon-placement": "label",
|
|
461
490
|
label: e(l)("booking.availability.units"),
|
|
462
491
|
minValue: 0,
|
|
463
|
-
"max-value": C(
|
|
492
|
+
"max-value": C(R, L.id) || 1 / 0
|
|
464
493
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
465
494
|
]),
|
|
466
495
|
_("", !0)
|
|
@@ -473,7 +502,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
473
502
|
_: 1
|
|
474
503
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
475
504
|
}
|
|
476
|
-
}),
|
|
505
|
+
}), dl = /* @__PURE__ */ fe(rl, [["__scopeId", "data-v-102e8e63"]]), ul = { class: "konnectio-template-side-panel" }, cl = { class: "konnectio-template-side-panel-listings" }, pl = /* @__PURE__ */ ee({
|
|
477
506
|
__name: "Template",
|
|
478
507
|
props: {
|
|
479
508
|
title: {},
|
|
@@ -483,44 +512,44 @@ const il = /* @__PURE__ */ Z({
|
|
|
483
512
|
callback: { type: Function }
|
|
484
513
|
},
|
|
485
514
|
setup(n) {
|
|
486
|
-
const { t: l } =
|
|
487
|
-
function
|
|
488
|
-
return c.value === !0 ?
|
|
515
|
+
const { t: l } = ie(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = Z(ye()), { currency: s } = Z(Ce()), { clearRoomSelection: m } = ye(), p = n, c = ae(!0), r = x(() => {
|
|
516
|
+
function h($, C) {
|
|
517
|
+
return c.value === !0 ? $.extraPrice > C.extraPrice ? -1 : 1 : $.extraPrice > C.extraPrice ? 1 : -1;
|
|
489
518
|
}
|
|
490
|
-
return p.roomGroups?.slice().sort(
|
|
519
|
+
return p.roomGroups?.slice().sort(h);
|
|
491
520
|
});
|
|
492
|
-
function d(
|
|
493
|
-
t.value = p.templateId, o.value =
|
|
521
|
+
function d(h) {
|
|
522
|
+
t.value = p.templateId, o.value = h, m(), p.hideAddons === !0 || i.value ? p.callback(2) : p.callback(1);
|
|
494
523
|
}
|
|
495
|
-
return (
|
|
496
|
-
title:
|
|
524
|
+
return (h, $) => (u(), P(Bo, {
|
|
525
|
+
title: h.title,
|
|
497
526
|
subtitle: e(l)("booking.availability.selectATemplateRoom")
|
|
498
527
|
}, {
|
|
499
|
-
default:
|
|
500
|
-
a("div",
|
|
501
|
-
a("div",
|
|
502
|
-
(u(!0),
|
|
528
|
+
default: T(() => [
|
|
529
|
+
a("div", ul, [
|
|
530
|
+
a("div", cl, [
|
|
531
|
+
(u(!0), v(F, null, G(r.value, ({
|
|
503
532
|
id: C,
|
|
504
533
|
title: w,
|
|
505
534
|
description: I,
|
|
506
|
-
images:
|
|
507
|
-
facilities:
|
|
508
|
-
extraPrice:
|
|
509
|
-
}) => (u(),
|
|
535
|
+
images: M,
|
|
536
|
+
facilities: N,
|
|
537
|
+
extraPrice: E
|
|
538
|
+
}) => (u(), P(Le, {
|
|
510
539
|
key: C,
|
|
511
540
|
"listing-id": C,
|
|
512
541
|
name: w,
|
|
513
542
|
description: I,
|
|
514
|
-
facilities:
|
|
515
|
-
gallery:
|
|
543
|
+
facilities: N,
|
|
544
|
+
gallery: M,
|
|
516
545
|
"includes-breakfast": !1,
|
|
517
546
|
"hide-info-button": !0
|
|
518
547
|
}, {
|
|
519
|
-
action:
|
|
548
|
+
action: T(() => [
|
|
520
549
|
a("div", null, [
|
|
521
|
-
y(
|
|
550
|
+
y(me, {
|
|
522
551
|
onClickEvent: (k) => d(C),
|
|
523
|
-
label: `${e(l)("booking.availability.selectThisRoom")} (${e(
|
|
552
|
+
label: `${e(l)("booking.availability.selectThisRoom")} (${e(ne)(E, e(s))})`,
|
|
524
553
|
"full-width": ""
|
|
525
554
|
}, null, 8, ["onClickEvent", "label"])
|
|
526
555
|
])
|
|
@@ -533,7 +562,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
533
562
|
_: 1
|
|
534
563
|
}, 8, ["title", "subtitle"]));
|
|
535
564
|
}
|
|
536
|
-
}),
|
|
565
|
+
}), St = /* @__PURE__ */ fe(pl, [["__scopeId", "data-v-7424de30"]]), ml = { class: "konnectio-template-select-package" }, fl = /* @__PURE__ */ ee({
|
|
537
566
|
__name: "Template",
|
|
538
567
|
props: {
|
|
539
568
|
id: {},
|
|
@@ -546,10 +575,10 @@ const il = /* @__PURE__ */ Z({
|
|
|
546
575
|
callback: { type: Function }
|
|
547
576
|
},
|
|
548
577
|
setup(n) {
|
|
549
|
-
const { t: l } =
|
|
578
|
+
const { t: l } = ie(), t = n, o = x(() => t.roomGroups.reduce(
|
|
550
579
|
(c, r) => c < r.extraPrice ? c : r.extraPrice,
|
|
551
580
|
1 / 0
|
|
552
|
-
)), i =
|
|
581
|
+
)), i = x(() => {
|
|
553
582
|
if (t.image)
|
|
554
583
|
return [{
|
|
555
584
|
large: t.image.url,
|
|
@@ -557,35 +586,35 @@ const il = /* @__PURE__ */ Z({
|
|
|
557
586
|
thumb: t.image.url,
|
|
558
587
|
url: t.image.url
|
|
559
588
|
}];
|
|
560
|
-
}), s =
|
|
589
|
+
}), s = ae(!1);
|
|
561
590
|
function m() {
|
|
562
591
|
s.value = !0;
|
|
563
592
|
}
|
|
564
593
|
function p(c) {
|
|
565
594
|
t.callback(c), s.value = !1;
|
|
566
595
|
}
|
|
567
|
-
return (c, r) => (u(),
|
|
596
|
+
return (c, r) => (u(), P(Le, {
|
|
568
597
|
type: "template",
|
|
569
598
|
"listing-id": c.id,
|
|
570
599
|
name: c.name,
|
|
571
600
|
description: c.description,
|
|
572
601
|
gallery: i.value,
|
|
573
|
-
layout: e(
|
|
602
|
+
layout: e(Dt).Template,
|
|
574
603
|
"includes-breakfast": !1,
|
|
575
604
|
"hide-info-button": !1,
|
|
576
605
|
"prices-from": o.value
|
|
577
606
|
}, {
|
|
578
|
-
action:
|
|
579
|
-
a("div",
|
|
580
|
-
y(
|
|
607
|
+
action: T(() => [
|
|
608
|
+
a("div", ml, [
|
|
609
|
+
y(me, {
|
|
581
610
|
onClickEvent: m,
|
|
582
611
|
label: e(l)("booking.availability.selectPackage"),
|
|
583
612
|
"full-width": ""
|
|
584
613
|
}, null, 8, ["label"])
|
|
585
614
|
])
|
|
586
615
|
]),
|
|
587
|
-
default:
|
|
588
|
-
y(
|
|
616
|
+
default: T(() => [
|
|
617
|
+
y(St, {
|
|
589
618
|
modelValue: s.value,
|
|
590
619
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => s.value = d),
|
|
591
620
|
title: c.name,
|
|
@@ -598,7 +627,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
598
627
|
_: 1
|
|
599
628
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
600
629
|
}
|
|
601
|
-
}),
|
|
630
|
+
}), hl = { class: "konnectio-special-offer-availability" }, vl = { class: "konnectio-special-offer-availability-button" }, yl = /* @__PURE__ */ ee({
|
|
602
631
|
__name: "SpecialOffer",
|
|
603
632
|
props: {
|
|
604
633
|
id: {},
|
|
@@ -612,37 +641,37 @@ const il = /* @__PURE__ */ Z({
|
|
|
612
641
|
callback: { type: Function }
|
|
613
642
|
},
|
|
614
643
|
setup(n) {
|
|
615
|
-
const { t: l } =
|
|
644
|
+
const { t: l } = ie(), { updateDates: t } = we(), o = n, i = ae([]), s = x(() => Te(o.fromDate, o.toDate) === 1), m = x(() => [{
|
|
616
645
|
large: o.image.url,
|
|
617
646
|
medium: o.image.url,
|
|
618
647
|
thumb: o.image.url,
|
|
619
648
|
url: o.image.url
|
|
620
|
-
}]), p =
|
|
649
|
+
}]), p = ae(!1);
|
|
621
650
|
function c(d) {
|
|
622
651
|
o.callback(d), p.value = !1;
|
|
623
652
|
}
|
|
624
653
|
function r() {
|
|
625
654
|
t(i.value[0], i.value[1]);
|
|
626
655
|
}
|
|
627
|
-
return
|
|
656
|
+
return st(() => {
|
|
628
657
|
s.value && (i.value = [new Date(o.fromDate), new Date(o.toDate)]);
|
|
629
|
-
}), (d,
|
|
658
|
+
}), (d, h) => (u(), P(Le, {
|
|
630
659
|
type: "template",
|
|
631
660
|
"listing-id": d.id,
|
|
632
661
|
name: d.name,
|
|
633
662
|
description: d.description,
|
|
634
663
|
gallery: m.value,
|
|
635
|
-
layout: e(
|
|
664
|
+
layout: e(Dt).Template,
|
|
636
665
|
"includes-breakfast": !1,
|
|
637
666
|
"hide-info-button": !1,
|
|
638
667
|
"to-date": d.toDate,
|
|
639
668
|
"from-date": d.fromDate
|
|
640
669
|
}, {
|
|
641
|
-
action:
|
|
642
|
-
a("div",
|
|
643
|
-
y(
|
|
670
|
+
action: T(() => [
|
|
671
|
+
a("div", hl, [
|
|
672
|
+
y(Ht, {
|
|
644
673
|
modelValue: i.value,
|
|
645
|
-
"onUpdate:modelValue":
|
|
674
|
+
"onUpdate:modelValue": h[0] || (h[0] = ($) => i.value = $),
|
|
646
675
|
label: e(l)("availability.checkInOut"),
|
|
647
676
|
placeholder: e(l)("booking.availability.selectDates"),
|
|
648
677
|
"icon-type": "fas",
|
|
@@ -654,18 +683,18 @@ const il = /* @__PURE__ */ Z({
|
|
|
654
683
|
readonly: s.value,
|
|
655
684
|
range: ""
|
|
656
685
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
657
|
-
a("div",
|
|
658
|
-
y(
|
|
686
|
+
a("div", vl, [
|
|
687
|
+
y(me, {
|
|
659
688
|
label: e(l)("availability.buttonLabel"),
|
|
660
|
-
onClick:
|
|
689
|
+
onClick: Pt(r, ["prevent"])
|
|
661
690
|
}, null, 8, ["label"])
|
|
662
691
|
])
|
|
663
692
|
])
|
|
664
693
|
]),
|
|
665
|
-
default:
|
|
666
|
-
y(
|
|
694
|
+
default: T(() => [
|
|
695
|
+
y(St, {
|
|
667
696
|
modelValue: p.value,
|
|
668
|
-
"onUpdate:modelValue":
|
|
697
|
+
"onUpdate:modelValue": h[1] || (h[1] = ($) => p.value = $),
|
|
669
698
|
title: d.name,
|
|
670
699
|
"template-id": d.id,
|
|
671
700
|
roomGroups: d.roomGroups,
|
|
@@ -675,7 +704,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
675
704
|
_: 1
|
|
676
705
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
677
706
|
}
|
|
678
|
-
}),
|
|
707
|
+
}), gt = /* @__PURE__ */ ee({
|
|
679
708
|
__name: "TimeField",
|
|
680
709
|
props: {
|
|
681
710
|
modelValue: {},
|
|
@@ -697,10 +726,10 @@ const il = /* @__PURE__ */ Z({
|
|
|
697
726
|
function i(m) {
|
|
698
727
|
t("update:modelValue", m);
|
|
699
728
|
}
|
|
700
|
-
const s =
|
|
701
|
-
return
|
|
729
|
+
const s = ae(o.modelValue);
|
|
730
|
+
return Ee(s, (m) => {
|
|
702
731
|
i(m);
|
|
703
|
-
}), (m, p) => (u(),
|
|
732
|
+
}), (m, p) => (u(), P(Ht, {
|
|
704
733
|
modelValue: s.value,
|
|
705
734
|
"onUpdate:modelValue": p[0] || (p[0] = (c) => s.value = c),
|
|
706
735
|
type: "time",
|
|
@@ -717,7 +746,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
717
746
|
"max-time": m.maxTime
|
|
718
747
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly", "min-time", "max-time"]));
|
|
719
748
|
}
|
|
720
|
-
}),
|
|
749
|
+
}), bl = { style: { display: "flex", "align-items": "baseline" } }, gl = /* @__PURE__ */ ee({
|
|
721
750
|
__name: "CountryField",
|
|
722
751
|
props: {
|
|
723
752
|
modelValue: {},
|
|
@@ -729,15 +758,15 @@ const il = /* @__PURE__ */ Z({
|
|
|
729
758
|
},
|
|
730
759
|
emits: ["update:modelValue"],
|
|
731
760
|
setup(n, { emit: l }) {
|
|
732
|
-
const { t } =
|
|
761
|
+
const { t } = ie(), o = l, i = n;
|
|
733
762
|
function s(p) {
|
|
734
763
|
o("update:modelValue", p);
|
|
735
764
|
}
|
|
736
|
-
const m =
|
|
765
|
+
const m = x({
|
|
737
766
|
get: () => i.modelValue,
|
|
738
767
|
set: (p) => s(p)
|
|
739
768
|
});
|
|
740
|
-
return (p, c) => (u(),
|
|
769
|
+
return (p, c) => (u(), P(Re, {
|
|
741
770
|
modelValue: m.value,
|
|
742
771
|
"onUpdate:modelValue": c[0] || (c[0] = (r) => m.value = r),
|
|
743
772
|
label: p.label,
|
|
@@ -747,24 +776,24 @@ const il = /* @__PURE__ */ Z({
|
|
|
747
776
|
options: p.options,
|
|
748
777
|
required: p.required
|
|
749
778
|
}, {
|
|
750
|
-
option:
|
|
779
|
+
option: T(({ data: r }) => [
|
|
751
780
|
a("i", {
|
|
752
|
-
class:
|
|
781
|
+
class: Be(["konnectio-flag-icon", r.iso])
|
|
753
782
|
}, null, 2),
|
|
754
|
-
a("span", null,
|
|
783
|
+
a("span", null, f(r.name), 1)
|
|
755
784
|
]),
|
|
756
|
-
"selected-option":
|
|
757
|
-
a("div",
|
|
785
|
+
"selected-option": T(({ data: r }) => [
|
|
786
|
+
a("div", bl, [
|
|
758
787
|
a("i", {
|
|
759
|
-
class:
|
|
788
|
+
class: Be(["konnectio-flag-icon", r.iso])
|
|
760
789
|
}, null, 2),
|
|
761
|
-
a("span", null,
|
|
790
|
+
a("span", null, f(r.name), 1)
|
|
762
791
|
])
|
|
763
792
|
]),
|
|
764
793
|
_: 1
|
|
765
794
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
766
795
|
}
|
|
767
|
-
}),
|
|
796
|
+
}), kl = /* @__PURE__ */ fe(gl, [["__scopeId", "data-v-1462612d"]]), _l = /* @__PURE__ */ ee({
|
|
768
797
|
__name: "NameField",
|
|
769
798
|
props: {
|
|
770
799
|
modelValue: {},
|
|
@@ -786,17 +815,17 @@ const il = /* @__PURE__ */ Z({
|
|
|
786
815
|
},
|
|
787
816
|
emits: ["update:modelValue", "update:title"],
|
|
788
817
|
setup(n, { emit: l }) {
|
|
789
|
-
const t = n, o = l, i = t.id ||
|
|
818
|
+
const t = n, o = l, i = t.id || vt(), s = ae(""), m = ae(2);
|
|
790
819
|
function p() {
|
|
791
820
|
o("update:modelValue", s.value);
|
|
792
821
|
}
|
|
793
|
-
|
|
822
|
+
Ee(m, (r) => {
|
|
794
823
|
o("update:title", r);
|
|
795
824
|
});
|
|
796
|
-
const { t: c } =
|
|
797
|
-
return
|
|
825
|
+
const { t: c } = ie();
|
|
826
|
+
return st(() => {
|
|
798
827
|
t.modelValue && (s.value = t.modelValue), t.title && (m.value = t.title);
|
|
799
|
-
}), (r, d) => (u(),
|
|
828
|
+
}), (r, d) => (u(), P(yo, {
|
|
800
829
|
label: r.label,
|
|
801
830
|
id: e(i),
|
|
802
831
|
required: r.required,
|
|
@@ -804,18 +833,18 @@ const il = /* @__PURE__ */ Z({
|
|
|
804
833
|
readonly: r.readonly,
|
|
805
834
|
limit: r.limit
|
|
806
835
|
}, {
|
|
807
|
-
default:
|
|
836
|
+
default: T(() => [
|
|
808
837
|
a("div", {
|
|
809
|
-
class:
|
|
838
|
+
class: Be([
|
|
810
839
|
"fresh-booking-name-input",
|
|
811
840
|
{ "no-title": r.excludeTitle }
|
|
812
841
|
])
|
|
813
842
|
}, [
|
|
814
|
-
r.excludeTitle ? _("", !0) : (u(),
|
|
843
|
+
r.excludeTitle ? _("", !0) : (u(), P(Re, {
|
|
815
844
|
key: 0,
|
|
816
845
|
modelValue: m.value,
|
|
817
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
818
|
-
id: e(
|
|
846
|
+
"onUpdate:modelValue": d[0] || (d[0] = (h) => m.value = h),
|
|
847
|
+
id: e(vt)(),
|
|
819
848
|
icon: r.icon,
|
|
820
849
|
"icon-color": r.iconColor,
|
|
821
850
|
"icon-type": r.iconType,
|
|
@@ -846,9 +875,9 @@ const il = /* @__PURE__ */ Z({
|
|
|
846
875
|
"input-style": r.inputStyle,
|
|
847
876
|
searchable: !1
|
|
848
877
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
849
|
-
y(
|
|
878
|
+
y(ce, {
|
|
850
879
|
modelValue: s.value,
|
|
851
|
-
"onUpdate:modelValue": d[1] || (d[1] = (
|
|
880
|
+
"onUpdate:modelValue": d[1] || (d[1] = (h) => s.value = h),
|
|
852
881
|
type: "text",
|
|
853
882
|
name: "name",
|
|
854
883
|
autocomplete: "name",
|
|
@@ -860,7 +889,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
860
889
|
required: r.required,
|
|
861
890
|
readonly: r.readonly,
|
|
862
891
|
limit: r.limit,
|
|
863
|
-
onInput: d[2] || (d[2] = (
|
|
892
|
+
onInput: d[2] || (d[2] = (h) => p()),
|
|
864
893
|
"input-style": r.inputStyle
|
|
865
894
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
866
895
|
], 2)
|
|
@@ -868,58 +897,58 @@ const il = /* @__PURE__ */ Z({
|
|
|
868
897
|
_: 1
|
|
869
898
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
870
899
|
}
|
|
871
|
-
}),
|
|
900
|
+
}), Vl = /* @__PURE__ */ fe(_l, [["__scopeId", "data-v-78b0b319"]]), $l = { class: "hotel-skeleton" }, Tl = { class: "hotel-skeleton-content" }, wl = { class: "hotel-skeleton-sidebar" }, Cl = /* @__PURE__ */ ee({
|
|
872
901
|
__name: "HotelSkeleton",
|
|
873
902
|
setup(n) {
|
|
874
|
-
return (l, t) => (u(),
|
|
875
|
-
a("div", Vl, [
|
|
876
|
-
y(wo, { hotel: "" }),
|
|
877
|
-
y(Ao)
|
|
878
|
-
]),
|
|
903
|
+
return (l, t) => (u(), v("div", $l, [
|
|
879
904
|
a("div", Tl, [
|
|
905
|
+
y(To, { hotel: "" }),
|
|
880
906
|
y(Po)
|
|
907
|
+
]),
|
|
908
|
+
a("div", wl, [
|
|
909
|
+
y(Ao)
|
|
881
910
|
])
|
|
882
911
|
]));
|
|
883
912
|
}
|
|
884
|
-
}),
|
|
885
|
-
const
|
|
913
|
+
}), Pl = /* @__PURE__ */ fe(Cl, [["__scopeId", "data-v-1bb21da4"]]), Al = (n) => (at("data-v-e0188aee"), n = n(), it(), n), Dl = { id: "booking-availability-container" }, Hl = { id: "booking-availability-controls" };
|
|
914
|
+
const Sl = { key: 1 }, Il = { key: 0 }, El = {
|
|
886
915
|
key: 0,
|
|
887
916
|
id: "booking-availability-packages"
|
|
888
|
-
},
|
|
917
|
+
}, Bl = {
|
|
889
918
|
key: 0,
|
|
890
919
|
class: "konnectio-hotel-availability-title"
|
|
891
|
-
},
|
|
920
|
+
}, Nl = { id: "booking-availability-packages-wrapper" }, Ml = { key: 1 }, Rl = {
|
|
892
921
|
key: 0,
|
|
893
922
|
class: "konnectio-hotel-availability-title"
|
|
894
|
-
},
|
|
923
|
+
}, Ll = { id: "konnectio-listings" }, Ul = {
|
|
895
924
|
key: 2,
|
|
896
925
|
id: "booking-availability-packages"
|
|
897
|
-
},
|
|
926
|
+
}, Fl = { class: "konnectio-hotel-availability-title" }, Ol = { id: "booking-availability-packages-wrapper" }, jl = {
|
|
898
927
|
key: 3,
|
|
899
928
|
id: "booking-availability-no-listings",
|
|
900
929
|
class: "konnectio-panel"
|
|
901
|
-
},
|
|
930
|
+
}, ql = {
|
|
902
931
|
key: 1,
|
|
903
932
|
id: "booking-availability-no-listings"
|
|
904
|
-
},
|
|
933
|
+
}, Gl = {
|
|
905
934
|
key: 2,
|
|
906
935
|
id: "reservation-availability-next-dates"
|
|
907
|
-
},
|
|
908
|
-
const
|
|
936
|
+
}, Wl = { class: "konnectio-hotel-availability-title" }, xl = { class: "reservation-special-offers-grid" }, Kl = ["title"];
|
|
937
|
+
const Jl = {
|
|
909
938
|
key: 2,
|
|
910
939
|
class: "konnectio-panel"
|
|
911
|
-
},
|
|
940
|
+
}, zl = {
|
|
912
941
|
key: 3,
|
|
913
942
|
class: "konnectio-listing-loading"
|
|
914
|
-
},
|
|
943
|
+
}, Yl = { class: "konnectio-panel" }, Ql = {
|
|
915
944
|
key: 0,
|
|
916
945
|
id: "konnectio-hotel-addons"
|
|
917
946
|
};
|
|
918
|
-
const
|
|
947
|
+
const Xl = { class: "konnectio-event-addons-price" }, Zl = { key: 1 }, en = { class: "konnectio-table-addons-information" }, tn = { class: "konnectio-table-addons-option" }, on = {
|
|
919
948
|
key: 1,
|
|
920
949
|
id: "konnectio-hotel-addons"
|
|
921
|
-
},
|
|
922
|
-
const
|
|
950
|
+
}, ln = { class: "konnectio-table with-lines" };
|
|
951
|
+
const nn = /* @__PURE__ */ Al(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), an = { class: "konnectio-table-addons-information" }, sn = { class: "konnectio-table-addons-option" }, rn = { class: "konnectio-panel" }, dn = { key: 0 }, un = { key: 1 }, cn = { class: "konnectio-split-inputs" }, pn = /* @__PURE__ */ ee({
|
|
923
952
|
name: "HotelLayout",
|
|
924
953
|
__name: "Hotel",
|
|
925
954
|
props: {
|
|
@@ -932,7 +961,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
932
961
|
styling: {}
|
|
933
962
|
},
|
|
934
963
|
setup(n) {
|
|
935
|
-
const l =
|
|
964
|
+
const l = so(() => import("./_-D9xfNmwK.js")), t = n, { t: o } = ie(), {
|
|
936
965
|
currentLocation: i,
|
|
937
966
|
templateID: s,
|
|
938
967
|
templateAddons: m,
|
|
@@ -940,64 +969,64 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
940
969
|
areListingsLoading: c,
|
|
941
970
|
isPaymentLoading: r,
|
|
942
971
|
isReservationFormFilled: d,
|
|
943
|
-
travelingFor:
|
|
944
|
-
arrivalTime:
|
|
972
|
+
travelingFor: h,
|
|
973
|
+
arrivalTime: $,
|
|
945
974
|
departureTime: C,
|
|
946
975
|
name: w,
|
|
947
976
|
nameTitle: I,
|
|
948
|
-
email:
|
|
949
|
-
phone:
|
|
950
|
-
firmName:
|
|
977
|
+
email: M,
|
|
978
|
+
phone: N,
|
|
979
|
+
firmName: E,
|
|
951
980
|
postal: k,
|
|
952
981
|
city: D,
|
|
953
|
-
address:
|
|
954
|
-
country:
|
|
955
|
-
remark:
|
|
982
|
+
address: B,
|
|
983
|
+
country: J,
|
|
984
|
+
remark: R,
|
|
956
985
|
allergies: Y,
|
|
957
|
-
roomSelect:
|
|
958
|
-
roomDisplay:
|
|
959
|
-
hasValidRoomSelection:
|
|
986
|
+
roomSelect: L,
|
|
987
|
+
roomDisplay: se,
|
|
988
|
+
hasValidRoomSelection: te,
|
|
960
989
|
availabilityData: j,
|
|
961
|
-
selectionHasNoAddons:
|
|
962
|
-
isAvailabilityDataAvailable:
|
|
963
|
-
getSelectedPackageRoom:
|
|
964
|
-
selectedPackage:
|
|
965
|
-
isSearchOutdated:
|
|
966
|
-
currentChildren:
|
|
967
|
-
isTemplateReservation:
|
|
968
|
-
} =
|
|
969
|
-
adults:
|
|
970
|
-
children:
|
|
971
|
-
location:
|
|
972
|
-
arrivalDate:
|
|
973
|
-
departureDate:
|
|
974
|
-
} =
|
|
975
|
-
currency:
|
|
976
|
-
arrivalEarliest:
|
|
977
|
-
arrivalLatest:
|
|
978
|
-
departureEarliest:
|
|
979
|
-
departureLatest:
|
|
980
|
-
enableTracking:
|
|
990
|
+
selectionHasNoAddons: he,
|
|
991
|
+
isAvailabilityDataAvailable: be,
|
|
992
|
+
getSelectedPackageRoom: ge,
|
|
993
|
+
selectedPackage: Ue,
|
|
994
|
+
isSearchOutdated: dt,
|
|
995
|
+
currentChildren: Fe,
|
|
996
|
+
isTemplateReservation: Pe
|
|
997
|
+
} = Z(ye()), {
|
|
998
|
+
adults: ve,
|
|
999
|
+
children: ke,
|
|
1000
|
+
location: X,
|
|
1001
|
+
arrivalDate: z,
|
|
1002
|
+
departureDate: Ve
|
|
1003
|
+
} = Z(we()), { isValidHotelId: O, updateDates: Oe } = we(), {
|
|
1004
|
+
currency: $e,
|
|
1005
|
+
arrivalEarliest: Ae,
|
|
1006
|
+
arrivalLatest: je,
|
|
1007
|
+
departureEarliest: re,
|
|
1008
|
+
departureLatest: qe,
|
|
1009
|
+
enableTracking: ut,
|
|
981
1010
|
hideArrivalDepartureInputs: Mt,
|
|
982
|
-
disableArrivalUserSelection:
|
|
1011
|
+
disableArrivalUserSelection: Ge,
|
|
983
1012
|
disableNamePrefix: Rt,
|
|
984
|
-
disableDepartureUserSelection:
|
|
1013
|
+
disableDepartureUserSelection: We,
|
|
985
1014
|
disableTravelingFor: Lt,
|
|
986
1015
|
disableTravelingForBleasure: Ut,
|
|
987
1016
|
disableCompanyField: Ft,
|
|
988
1017
|
hasPaymentGateway: Ot,
|
|
989
|
-
maxAdultAmount:
|
|
990
|
-
maxChildAmount:
|
|
1018
|
+
maxAdultAmount: ct,
|
|
1019
|
+
maxChildAmount: pt,
|
|
991
1020
|
defaultAdultAmount: jt,
|
|
992
1021
|
defaultChildAmount: qt
|
|
993
|
-
} =
|
|
1022
|
+
} = Z(Ce()), { beginCheckout: Gt } = At(), { display: xe } = go(), {
|
|
994
1023
|
resetTemplate: Wt,
|
|
995
1024
|
resetDiscountVoucher: xt,
|
|
996
1025
|
createReservation: Kt,
|
|
997
1026
|
fetchMetadata: Jt,
|
|
998
|
-
fetchAvailabilityData:
|
|
999
|
-
filterAddons:
|
|
1000
|
-
} =
|
|
1027
|
+
fetchAvailabilityData: mt,
|
|
1028
|
+
filterAddons: ft
|
|
1029
|
+
} = ye(), zt = ae(!0), Yt = x(() => [
|
|
1001
1030
|
{
|
|
1002
1031
|
id: "availability",
|
|
1003
1032
|
label: o("booking.availability.title"),
|
|
@@ -1005,13 +1034,13 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1005
1034
|
},
|
|
1006
1035
|
{
|
|
1007
1036
|
id: "addons",
|
|
1008
|
-
label: o("booking.reservation.
|
|
1009
|
-
icon: "
|
|
1010
|
-
hidden:
|
|
1037
|
+
label: o("booking.reservation.addons"),
|
|
1038
|
+
icon: "shopping-cart",
|
|
1039
|
+
hidden: he.value
|
|
1011
1040
|
},
|
|
1012
1041
|
{
|
|
1013
1042
|
id: "reservation",
|
|
1014
|
-
label: o("booking.reservation.
|
|
1043
|
+
label: o("booking.reservation.detailsTitle"),
|
|
1015
1044
|
icon: "concierge-bell"
|
|
1016
1045
|
},
|
|
1017
1046
|
{
|
|
@@ -1023,7 +1052,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1023
1052
|
label: o("booking.confirmation.title"),
|
|
1024
1053
|
icon: "calendar-check"
|
|
1025
1054
|
}
|
|
1026
|
-
], Qt =
|
|
1055
|
+
]), Qt = x(() => {
|
|
1027
1056
|
const b = [
|
|
1028
1057
|
{
|
|
1029
1058
|
label: o("booking.reservation.business"),
|
|
@@ -1038,292 +1067,295 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1038
1067
|
label: o("booking.reservation.bleasure"),
|
|
1039
1068
|
value: "Bleasure"
|
|
1040
1069
|
}), b;
|
|
1041
|
-
}), Xt =
|
|
1070
|
+
}), Xt = x(() => {
|
|
1042
1071
|
const b = j.value.roomGroups.slice();
|
|
1043
|
-
function V(
|
|
1044
|
-
return zt.value === !0 ?
|
|
1072
|
+
function V(K, A) {
|
|
1073
|
+
return zt.value === !0 ? K.pricesFrom > A.pricesFrom ? -1 : 1 : K.pricesFrom > A.pricesFrom ? 1 : -1;
|
|
1045
1074
|
}
|
|
1046
1075
|
return b.sort(V);
|
|
1047
|
-
}),
|
|
1048
|
-
function
|
|
1049
|
-
|
|
1076
|
+
}), Ke = x(() => t.hideAddons === "yes" || Pe.value && t.hideAddons === "packages" || !Pe.value && t.hideAddons === "rooms");
|
|
1077
|
+
function ht(b) {
|
|
1078
|
+
Ke.value || he.value ? b(2) : b(), xt();
|
|
1050
1079
|
}
|
|
1051
1080
|
async function Zt(b, V) {
|
|
1052
1081
|
await Kt(b, V);
|
|
1053
1082
|
}
|
|
1054
1083
|
function eo(b) {
|
|
1055
|
-
|
|
1084
|
+
ut.value && Gt(), Ke.value || he.value ? b(2) : b();
|
|
1056
1085
|
}
|
|
1057
1086
|
function to() {
|
|
1058
|
-
const b =
|
|
1087
|
+
const b = _o("history", {
|
|
1059
1088
|
removeNullishValues: !0
|
|
1060
|
-
}), V = parseInt(b.a),
|
|
1089
|
+
}), V = parseInt(b.a), K = parseInt(b.c), A = parseInt(b.hid), H = parseInt(b.n), g = b.ci, U = b.co, S = b.id;
|
|
1061
1090
|
let oe = !1;
|
|
1062
|
-
if (isNaN(V) || (V >
|
|
1091
|
+
if (isNaN(V) || (V > ct.value ? ve.value = ct.value : ve.value = V, ve.value === jt.value && (b.a = void 0)), isNaN(K) || (K > pt.value ? ke.value = pt.value : ke.value = K, ke.value === qt.value && (b.c = void 0)), isNaN(H) || H > 0 && (b.n = void 0), isNaN(A) || (O(A) ? (X.value = A, oe = !0) : xe({
|
|
1063
1092
|
message: o("alert.error.hotelIdNotFound"),
|
|
1064
1093
|
type: "error"
|
|
1065
|
-
})), g &&
|
|
1066
|
-
if (
|
|
1067
|
-
const
|
|
1068
|
-
|
|
1094
|
+
})), g && U)
|
|
1095
|
+
if (bt(g) && bt(U)) {
|
|
1096
|
+
const _e = new Date(g), de = new Date(U);
|
|
1097
|
+
_e <= de ? (z.value = _e, Ve.value = de) : (b.ci = void 0, b.co = void 0, xe({
|
|
1069
1098
|
message: o("alert.error.invalidDateRange"),
|
|
1070
1099
|
type: "error"
|
|
1071
1100
|
}));
|
|
1072
1101
|
} else
|
|
1073
|
-
|
|
1102
|
+
xe({
|
|
1074
1103
|
message: o("alert.error.wrongDateFormat"),
|
|
1075
1104
|
type: "error"
|
|
1076
1105
|
});
|
|
1077
1106
|
let Q = null;
|
|
1078
|
-
|
|
1107
|
+
S && (Q = S), t.disableDefaultLocation === "yes" && oe === !1 ? (X.value = void 0, i.value = void 0) : mt(Q);
|
|
1079
1108
|
}
|
|
1080
|
-
return (b, V) => (u(),
|
|
1081
|
-
default:
|
|
1082
|
-
(u(),
|
|
1083
|
-
default:
|
|
1109
|
+
return (b, V) => (u(), P(ko, { styling: b.styling }, {
|
|
1110
|
+
default: T(() => [
|
|
1111
|
+
(u(), P(io, { onResolve: to }, {
|
|
1112
|
+
default: T(() => [
|
|
1084
1113
|
y(e(l), {
|
|
1085
1114
|
id: "konnectio-hotel-module",
|
|
1086
1115
|
"access-token": b.accessToken,
|
|
1087
1116
|
callback: e(Jt)
|
|
1088
1117
|
}, {
|
|
1089
|
-
default:
|
|
1118
|
+
default: T(() => [
|
|
1090
1119
|
y(Do, {
|
|
1091
1120
|
layout: b.headerLayout,
|
|
1092
|
-
steps: Yt,
|
|
1121
|
+
steps: Yt.value,
|
|
1093
1122
|
onReset: e(Wt)
|
|
1094
1123
|
}, {
|
|
1095
|
-
availability:
|
|
1096
|
-
y(
|
|
1097
|
-
form:
|
|
1098
|
-
a("div",
|
|
1099
|
-
a("div",
|
|
1100
|
-
y(
|
|
1124
|
+
availability: T(({ next: K }) => [
|
|
1125
|
+
y(Ze, null, {
|
|
1126
|
+
form: T(() => [
|
|
1127
|
+
a("div", Dl, [
|
|
1128
|
+
a("div", Hl, [
|
|
1129
|
+
y(wo, {
|
|
1101
1130
|
booking: !0,
|
|
1102
1131
|
"selected-location": Number(b.selectedLocation),
|
|
1103
1132
|
"disable-default-location": b.disableDefaultLocation === "yes"
|
|
1104
1133
|
}, null, 8, ["selected-location", "disable-default-location"])
|
|
1105
1134
|
]),
|
|
1106
1135
|
_("", !0),
|
|
1107
|
-
!e(c) && e(
|
|
1108
|
-
e(j).roomGroups.length > 0 || e(j).templates.length > 0 || e(j).specialTemplates.length > 0 ? (u(),
|
|
1109
|
-
e(j).templates.length > 0 && b.onlyShow !== "rooms" ? (u(),
|
|
1110
|
-
b.onlyShow !== "packages" ? (u(),
|
|
1111
|
-
y(
|
|
1136
|
+
!e(c) && e(be) ? (u(), v("div", Sl, [
|
|
1137
|
+
e(j).roomGroups.length > 0 || e(j).templates.length > 0 || e(j).specialTemplates.length > 0 ? (u(), v("div", Il, [
|
|
1138
|
+
e(j).templates.length > 0 && b.onlyShow !== "rooms" ? (u(), v("div", El, [
|
|
1139
|
+
b.onlyShow !== "packages" ? (u(), v("h2", Bl, [
|
|
1140
|
+
y(W, {
|
|
1112
1141
|
icon: "box",
|
|
1113
1142
|
type: "fal",
|
|
1114
1143
|
color: "header"
|
|
1115
1144
|
}),
|
|
1116
|
-
a("span", null,
|
|
1145
|
+
a("span", null, f(e(o)("booking.availability.packagesTitle")), 1)
|
|
1117
1146
|
])) : _("", !0),
|
|
1118
|
-
a("ul",
|
|
1119
|
-
(u(!0),
|
|
1120
|
-
id:
|
|
1121
|
-
name:
|
|
1147
|
+
a("ul", Nl, [
|
|
1148
|
+
(u(!0), v(F, null, G(e(j).templates, ({
|
|
1149
|
+
id: A,
|
|
1150
|
+
name: H,
|
|
1122
1151
|
templateRoomGroups: g,
|
|
1123
|
-
image:
|
|
1124
|
-
description:
|
|
1152
|
+
image: U,
|
|
1153
|
+
description: S,
|
|
1125
1154
|
weekendFee: oe
|
|
1126
|
-
}) => (u(),
|
|
1127
|
-
key:
|
|
1128
|
-
id:
|
|
1129
|
-
description:
|
|
1130
|
-
name:
|
|
1131
|
-
image:
|
|
1155
|
+
}) => (u(), P(fl, {
|
|
1156
|
+
key: A,
|
|
1157
|
+
id: A,
|
|
1158
|
+
description: S,
|
|
1159
|
+
name: H,
|
|
1160
|
+
image: U,
|
|
1132
1161
|
weekendFee: oe,
|
|
1133
1162
|
"room-groups": g,
|
|
1134
|
-
callback:
|
|
1163
|
+
callback: K,
|
|
1135
1164
|
"hide-addons": b.hideAddons === "yes" || b.hideAddons === "packages"
|
|
1136
1165
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1137
1166
|
])
|
|
1138
1167
|
])) : _("", !0),
|
|
1139
|
-
e(j).roomGroups.length > 0 && b.onlyShow !== "packages" ? (u(),
|
|
1140
|
-
e(j).templates.length > 0 && b.onlyShow !== "rooms" ? (u(),
|
|
1141
|
-
y(
|
|
1168
|
+
e(j).roomGroups.length > 0 && b.onlyShow !== "packages" ? (u(), v("div", Ml, [
|
|
1169
|
+
e(j).templates.length > 0 && b.onlyShow !== "rooms" ? (u(), v("h2", Rl, [
|
|
1170
|
+
y(W, {
|
|
1142
1171
|
icon: "house",
|
|
1143
1172
|
type: "fal",
|
|
1144
1173
|
color: "header"
|
|
1145
1174
|
}),
|
|
1146
|
-
a("span", null,
|
|
1175
|
+
a("span", null, f(e(o)("booking.availability.roomsTitle")), 1)
|
|
1147
1176
|
])) : _("", !0),
|
|
1148
|
-
a("ul",
|
|
1149
|
-
(u(!0),
|
|
1150
|
-
room:
|
|
1151
|
-
key:
|
|
1177
|
+
a("ul", Ll, [
|
|
1178
|
+
(u(!0), v(F, null, G(Xt.value, (A, H) => (u(), P(dl, {
|
|
1179
|
+
room: A,
|
|
1180
|
+
key: H
|
|
1152
1181
|
}, null, 8, ["room"]))), 128))
|
|
1153
1182
|
])
|
|
1154
1183
|
])) : _("", !0),
|
|
1155
|
-
e(j).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (u(),
|
|
1156
|
-
a("h2",
|
|
1157
|
-
y(
|
|
1184
|
+
e(j).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (u(), v("div", Ul, [
|
|
1185
|
+
a("h2", Fl, [
|
|
1186
|
+
y(W, {
|
|
1158
1187
|
icon: "sparkles",
|
|
1159
1188
|
type: "fal",
|
|
1160
1189
|
color: "header"
|
|
1161
1190
|
}),
|
|
1162
|
-
a("span", null,
|
|
1191
|
+
a("span", null, f(e(o)("hotel.specialOffers")), 1)
|
|
1163
1192
|
]),
|
|
1164
|
-
a("ul",
|
|
1165
|
-
(u(!0),
|
|
1166
|
-
id:
|
|
1167
|
-
name:
|
|
1193
|
+
a("ul", Ol, [
|
|
1194
|
+
(u(!0), v(F, null, G(e(j).specialTemplates, ({
|
|
1195
|
+
id: A,
|
|
1196
|
+
name: H,
|
|
1168
1197
|
templateRoomGroups: g,
|
|
1169
|
-
image:
|
|
1170
|
-
description:
|
|
1198
|
+
image: U,
|
|
1199
|
+
description: S,
|
|
1171
1200
|
weekendFee: oe,
|
|
1172
1201
|
fromDate: Q,
|
|
1173
|
-
toDate:
|
|
1174
|
-
}) => (u(),
|
|
1175
|
-
key:
|
|
1176
|
-
id:
|
|
1177
|
-
description:
|
|
1178
|
-
name:
|
|
1179
|
-
image:
|
|
1202
|
+
toDate: _e
|
|
1203
|
+
}) => (u(), P(yl, {
|
|
1204
|
+
key: A,
|
|
1205
|
+
id: A,
|
|
1206
|
+
description: S,
|
|
1207
|
+
name: H,
|
|
1208
|
+
image: U,
|
|
1180
1209
|
fromDate: Q,
|
|
1181
|
-
toDate:
|
|
1210
|
+
toDate: _e,
|
|
1182
1211
|
weekendFee: oe,
|
|
1183
1212
|
"room-groups": g,
|
|
1184
|
-
callback:
|
|
1213
|
+
callback: K
|
|
1185
1214
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1186
1215
|
])
|
|
1187
1216
|
])) : _("", !0),
|
|
1188
|
-
(e(j).templates.length === 0 && b.onlyShow !== "rooms" || e(j).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (u(),
|
|
1189
|
-
a("span", null,
|
|
1217
|
+
(e(j).templates.length === 0 && b.onlyShow !== "rooms" || e(j).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (u(), v("div", jl, [
|
|
1218
|
+
a("span", null, f(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1190
1219
|
])) : _("", !0)
|
|
1191
|
-
])) : e(j).nextAvailableDates.length === 0 ? (u(),
|
|
1192
|
-
a("span", null,
|
|
1193
|
-
])) : (u(),
|
|
1194
|
-
a("h2",
|
|
1195
|
-
y(
|
|
1220
|
+
])) : e(j).nextAvailableDates.length === 0 ? (u(), v("div", ql, [
|
|
1221
|
+
a("span", null, f(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1222
|
+
])) : (u(), v("div", Gl, [
|
|
1223
|
+
a("h2", Wl, [
|
|
1224
|
+
y(W, {
|
|
1196
1225
|
icon: "calendar-circle-exclamation",
|
|
1197
1226
|
type: "fal",
|
|
1198
1227
|
color: "header"
|
|
1199
1228
|
}),
|
|
1200
|
-
a("span", null,
|
|
1229
|
+
a("span", null, f(e(o)("booking.availability.nextAvailableDates")), 1)
|
|
1201
1230
|
]),
|
|
1202
|
-
a("ul",
|
|
1203
|
-
(u(!0),
|
|
1231
|
+
a("ul", xl, [
|
|
1232
|
+
(u(!0), v(F, null, G(e(j).nextAvailableDates, (A, H) => (u(), v("li", { key: H }, [
|
|
1204
1233
|
a("h3", {
|
|
1205
|
-
title: `${e(
|
|
1234
|
+
title: `${e(le)(A.fromDate)} - ${e(le)(A.toDate)}`
|
|
1206
1235
|
}, [
|
|
1207
|
-
a("span", null,
|
|
1208
|
-
], 8,
|
|
1236
|
+
a("span", null, f(`${e(le)(A.fromDate)} - ${e(le)(A.toDate)}`), 1)
|
|
1237
|
+
], 8, Kl),
|
|
1209
1238
|
a("ul", null, [
|
|
1210
1239
|
_("", !0),
|
|
1211
1240
|
a("li", null, [
|
|
1212
|
-
y(
|
|
1241
|
+
y(W, {
|
|
1213
1242
|
icon: "money-bill",
|
|
1214
1243
|
type: "fal",
|
|
1215
1244
|
color: "header"
|
|
1216
1245
|
}),
|
|
1217
|
-
a("span", null,
|
|
1246
|
+
a("span", null, f(e(o)("booking.availability.pricesFrom")) + ": " + f(e(ne)(A.priceStartFrom, e($e))), 1)
|
|
1218
1247
|
])
|
|
1219
1248
|
]),
|
|
1220
|
-
y(
|
|
1249
|
+
y(me, {
|
|
1221
1250
|
label: e(o)("booking.availability.selectDates"),
|
|
1222
1251
|
"full-width": "",
|
|
1223
|
-
onClickEvent: (g) => e(
|
|
1252
|
+
onClickEvent: (g) => e(Oe)(new Date(A.fromDate), new Date(A.toDate))
|
|
1224
1253
|
}, null, 8, ["label", "onClickEvent"])
|
|
1225
1254
|
]))), 128))
|
|
1226
1255
|
])
|
|
1227
1256
|
]))
|
|
1228
|
-
])) : isNaN(e(i)) && !e(c) ? (u(),
|
|
1229
|
-
a("span", null,
|
|
1230
|
-
])) : (u(),
|
|
1231
|
-
y(
|
|
1232
|
-
y(
|
|
1233
|
-
y(
|
|
1257
|
+
])) : isNaN(e(i)) && !e(c) ? (u(), v("div", Jl, [
|
|
1258
|
+
a("span", null, f(e(o)("alert.info.selectHotelToStart")), 1)
|
|
1259
|
+
])) : (u(), v("div", zl, [
|
|
1260
|
+
y(Xe),
|
|
1261
|
+
y(Xe),
|
|
1262
|
+
y(Xe)
|
|
1234
1263
|
]))
|
|
1235
1264
|
])
|
|
1236
1265
|
]),
|
|
1237
|
-
navigation:
|
|
1238
|
-
e(
|
|
1266
|
+
navigation: T(() => [
|
|
1267
|
+
e(dt) ? (u(), P(me, {
|
|
1239
1268
|
key: 0,
|
|
1240
1269
|
label: isNaN(e(i)) ? e(o)("availability.buttonLabel") : e(o)("general.searchAgain"),
|
|
1241
1270
|
"is-loading": e(c),
|
|
1242
1271
|
"full-width": "",
|
|
1243
|
-
onClickEvent: V[1] || (V[1] = (
|
|
1244
|
-
}, null, 8, ["label", "is-loading"])) : (u(),
|
|
1272
|
+
onClickEvent: V[1] || (V[1] = (A) => e(mt)())
|
|
1273
|
+
}, null, 8, ["label", "is-loading"])) : (u(), P(me, {
|
|
1245
1274
|
key: 1,
|
|
1246
|
-
label: e(
|
|
1247
|
-
disabled: !e(
|
|
1275
|
+
label: e(he) || Ke.value ? e(o)("booking.availability.nextButton") : e(o)("general.chooseAddons"),
|
|
1276
|
+
disabled: !e(te),
|
|
1248
1277
|
"full-width": "",
|
|
1249
|
-
onClickEvent: (
|
|
1278
|
+
onClickEvent: (A) => eo(K)
|
|
1250
1279
|
}, null, 8, ["label", "disabled", "onClickEvent"]))
|
|
1251
1280
|
]),
|
|
1252
1281
|
_: 2
|
|
1253
1282
|
}, 1024)
|
|
1254
1283
|
]),
|
|
1255
|
-
addons:
|
|
1256
|
-
e(
|
|
1257
|
-
|
|
1258
|
-
|
|
1284
|
+
addons: T(({ next: K, prev: A }) => [
|
|
1285
|
+
e(be) ? (u(), P(Ze, {
|
|
1286
|
+
key: 0,
|
|
1287
|
+
"prev-callback": () => ht(A)
|
|
1288
|
+
}, {
|
|
1289
|
+
form: T(() => [
|
|
1290
|
+
a("form", Yl, [
|
|
1259
1291
|
a("h2", null, [
|
|
1260
|
-
a("span", null,
|
|
1292
|
+
a("span", null, f(e(o)("booking.reservation.addons")), 1)
|
|
1261
1293
|
]),
|
|
1262
1294
|
a("div", null, [
|
|
1263
|
-
isNaN(e(s)) ? (u(),
|
|
1264
|
-
(u(!0),
|
|
1265
|
-
key:
|
|
1295
|
+
isNaN(e(s)) ? (u(), v("div", Ql, [
|
|
1296
|
+
(u(!0), v(F, null, G(e(se), (H) => (u(), v("ul", {
|
|
1297
|
+
key: H.roomGroupID
|
|
1266
1298
|
}, [
|
|
1267
|
-
(u(!0),
|
|
1299
|
+
(u(!0), v(F, null, G(H.variants, (g, U) => (u(), v("li", {
|
|
1268
1300
|
key: g.ratePlanID
|
|
1269
1301
|
}, [
|
|
1270
1302
|
a("h4", null, [
|
|
1271
|
-
a("span", null,
|
|
1303
|
+
a("span", null, f(e(pe)(H.title)), 1)
|
|
1272
1304
|
]),
|
|
1273
|
-
(u(!0),
|
|
1305
|
+
(u(!0), v(F, null, G(g.rooms, (S, oe) => (u(), v("table", {
|
|
1274
1306
|
key: oe,
|
|
1275
1307
|
class: "konnectio-table with-lines"
|
|
1276
1308
|
}, [
|
|
1277
1309
|
a("thead", null, [
|
|
1278
1310
|
a("tr", null, [
|
|
1279
1311
|
a("th", null, [
|
|
1280
|
-
a("span", null,
|
|
1312
|
+
a("span", null, f(e(pe)(g.name)), 1)
|
|
1281
1313
|
]),
|
|
1282
1314
|
_("", !0),
|
|
1283
|
-
a("th",
|
|
1315
|
+
a("th", Xl, [
|
|
1284
1316
|
a("b", null, [
|
|
1285
|
-
y(
|
|
1317
|
+
y(W, {
|
|
1286
1318
|
icon: "male",
|
|
1287
1319
|
type: "fas",
|
|
1288
1320
|
color: "font"
|
|
1289
1321
|
}),
|
|
1290
|
-
a("span", null,
|
|
1291
|
-
|
|
1322
|
+
a("span", null, f(S.adultsCount), 1),
|
|
1323
|
+
S.childrenCount > 0 ? (u(), P(W, {
|
|
1292
1324
|
key: 0,
|
|
1293
1325
|
icon: "child",
|
|
1294
1326
|
type: "fas",
|
|
1295
1327
|
color: "font"
|
|
1296
1328
|
})) : _("", !0),
|
|
1297
|
-
|
|
1329
|
+
S.childrenCount > 0 ? (u(), v("span", Zl, f(S.childrenCount), 1)) : _("", !0)
|
|
1298
1330
|
])
|
|
1299
1331
|
])
|
|
1300
1332
|
])
|
|
1301
1333
|
]),
|
|
1302
1334
|
a("tbody", null, [
|
|
1303
|
-
(u(!0),
|
|
1335
|
+
(u(!0), v(F, null, G(e(ft)(g.addons, S.childrenCount), ({
|
|
1304
1336
|
quantityStrategy: Q,
|
|
1305
|
-
maximumNumber:
|
|
1306
|
-
id:
|
|
1337
|
+
maximumNumber: _e,
|
|
1338
|
+
id: de,
|
|
1307
1339
|
name: oo,
|
|
1308
1340
|
price: lo
|
|
1309
|
-
}) => (u(),
|
|
1310
|
-
a("td",
|
|
1311
|
-
a("b", null,
|
|
1312
|
-
a("span", null,
|
|
1341
|
+
}) => (u(), v("tr", { key: de }, [
|
|
1342
|
+
a("td", en, [
|
|
1343
|
+
a("b", null, f(e(pe)(oo)), 1),
|
|
1344
|
+
a("span", null, f(e(ne)(lo, e($e))) + " " + f(e(yt)(Q)), 1)
|
|
1313
1345
|
]),
|
|
1314
|
-
a("td",
|
|
1315
|
-
e(
|
|
1316
|
-
Q === 1 || Q === 12 ? (u(),
|
|
1346
|
+
a("td", tn, [
|
|
1347
|
+
e(L)[H.roomGroupID][U].config[S.configIdx].addons[S.roomIdx] ? (u(), v(F, { key: 0 }, [
|
|
1348
|
+
Q === 1 || Q === 12 ? (u(), P(ot, {
|
|
1317
1349
|
key: 0,
|
|
1318
|
-
modelValue: e(
|
|
1319
|
-
"onUpdate:modelValue": (
|
|
1350
|
+
modelValue: e(L)[H.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][de],
|
|
1351
|
+
"onUpdate:modelValue": (Je) => e(L)[H.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][de] = Je,
|
|
1320
1352
|
small: !0,
|
|
1321
1353
|
"min-value": 0,
|
|
1322
|
-
"max-value":
|
|
1323
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(),
|
|
1354
|
+
"max-value": _e || 1 / 0
|
|
1355
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(), P(Ne, {
|
|
1324
1356
|
key: 1,
|
|
1325
|
-
modelValue: e(
|
|
1326
|
-
"onUpdate:modelValue": (
|
|
1357
|
+
modelValue: e(L)[H.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][de],
|
|
1358
|
+
"onUpdate:modelValue": (Je) => e(L)[H.roomGroupID][U].config[S.configIdx].addons[S.roomIdx][de] = Je,
|
|
1327
1359
|
numeric: !0
|
|
1328
1360
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1329
1361
|
], 64)) : _("", !0)
|
|
@@ -1333,45 +1365,45 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1333
1365
|
]))), 128))
|
|
1334
1366
|
]))), 128))
|
|
1335
1367
|
]))), 128))
|
|
1336
|
-
])) : e(
|
|
1368
|
+
])) : e(ge) ? (u(), v("div", on, [
|
|
1337
1369
|
a("div", null, [
|
|
1338
1370
|
a("h4", null, [
|
|
1339
|
-
a("span", null,
|
|
1371
|
+
a("span", null, f(e(Ue).name), 1)
|
|
1340
1372
|
]),
|
|
1341
|
-
a("table",
|
|
1373
|
+
a("table", ln, [
|
|
1342
1374
|
a("thead", null, [
|
|
1343
1375
|
a("tr", null, [
|
|
1344
1376
|
a("th", null, [
|
|
1345
|
-
a("span", null,
|
|
1377
|
+
a("span", null, f(e(pe)(e(ge).title)), 1)
|
|
1346
1378
|
]),
|
|
1347
1379
|
_("", !0),
|
|
1348
|
-
|
|
1380
|
+
nn
|
|
1349
1381
|
])
|
|
1350
1382
|
]),
|
|
1351
1383
|
a("tbody", null, [
|
|
1352
|
-
(u(!0),
|
|
1353
|
-
quantityStrategy:
|
|
1384
|
+
(u(!0), v(F, null, G(e(ft)(e(ge).addons, e(Fe)), ({
|
|
1385
|
+
quantityStrategy: H,
|
|
1354
1386
|
maximumNumber: g,
|
|
1355
|
-
id:
|
|
1356
|
-
name:
|
|
1387
|
+
id: U,
|
|
1388
|
+
name: S,
|
|
1357
1389
|
price: oe
|
|
1358
|
-
}) => (u(),
|
|
1359
|
-
a("td",
|
|
1360
|
-
a("b", null,
|
|
1361
|
-
a("span", null,
|
|
1390
|
+
}) => (u(), v("tr", { key: U }, [
|
|
1391
|
+
a("td", an, [
|
|
1392
|
+
a("b", null, f(e(pe)(S)), 1),
|
|
1393
|
+
a("span", null, f(e(ne)(oe, e($e))) + " " + f(e(yt)(H)), 1)
|
|
1362
1394
|
]),
|
|
1363
|
-
a("td",
|
|
1364
|
-
|
|
1395
|
+
a("td", sn, [
|
|
1396
|
+
H === 1 || H === 12 ? (u(), P(ot, {
|
|
1365
1397
|
key: 0,
|
|
1366
|
-
modelValue: e(m)[
|
|
1367
|
-
"onUpdate:modelValue": (Q) => e(m)[
|
|
1398
|
+
modelValue: e(m)[U],
|
|
1399
|
+
"onUpdate:modelValue": (Q) => e(m)[U] = Q,
|
|
1368
1400
|
small: !0,
|
|
1369
1401
|
"min-value": 0,
|
|
1370
1402
|
"max-value": g || 1 / 0
|
|
1371
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(),
|
|
1403
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(), P(Ne, {
|
|
1372
1404
|
key: 1,
|
|
1373
|
-
modelValue: e(m)[
|
|
1374
|
-
"onUpdate:modelValue": (Q) => e(m)[
|
|
1405
|
+
modelValue: e(m)[U],
|
|
1406
|
+
"onUpdate:modelValue": (Q) => e(m)[U] = Q,
|
|
1375
1407
|
numeric: !0
|
|
1376
1408
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1377
1409
|
])
|
|
@@ -1383,61 +1415,56 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1383
1415
|
])
|
|
1384
1416
|
])
|
|
1385
1417
|
]),
|
|
1386
|
-
navigation:
|
|
1387
|
-
y(
|
|
1418
|
+
navigation: T(() => [
|
|
1419
|
+
y(me, {
|
|
1388
1420
|
label: e(o)("general.startReservation"),
|
|
1389
1421
|
"full-width": "",
|
|
1390
|
-
onClickEvent:
|
|
1391
|
-
}, null, 8, ["label", "onClickEvent"])
|
|
1392
|
-
a("button", {
|
|
1393
|
-
class: "konnectio-abort-reservation link",
|
|
1394
|
-
onClick: Se((S) => dt(P), ["prevent"])
|
|
1395
|
-
}, [
|
|
1396
|
-
a("span", null, v(e(o)("general.goAStepBack")), 1)
|
|
1397
|
-
], 8, an)
|
|
1422
|
+
onClickEvent: K
|
|
1423
|
+
}, null, 8, ["label", "onClickEvent"])
|
|
1398
1424
|
]),
|
|
1399
1425
|
_: 2
|
|
1400
|
-
},
|
|
1426
|
+
}, 1032, ["prev-callback"])) : _("", !0)
|
|
1401
1427
|
]),
|
|
1402
|
-
reservation:
|
|
1403
|
-
e(
|
|
1428
|
+
reservation: T(({ next: K, prev: A, reset: H }) => [
|
|
1429
|
+
e(be) ? (u(), P(Ze, {
|
|
1404
1430
|
key: 0,
|
|
1431
|
+
"prev-callback": () => ht(A),
|
|
1405
1432
|
"show-terms-notice": !0,
|
|
1406
1433
|
"show-gift-card": !0
|
|
1407
1434
|
}, {
|
|
1408
|
-
form:
|
|
1409
|
-
a("form",
|
|
1435
|
+
form: T(() => [
|
|
1436
|
+
a("form", rn, [
|
|
1410
1437
|
a("h2", null, [
|
|
1411
|
-
a("span", null,
|
|
1438
|
+
a("span", null, f(e(o)("booking.reservation.detailsTitle")), 1)
|
|
1412
1439
|
]),
|
|
1413
|
-
!e(Mt) && !(e(
|
|
1440
|
+
!e(Mt) && !(e(Ge) && e(We)) ? (u(), v("ul", {
|
|
1414
1441
|
key: 0,
|
|
1415
|
-
class:
|
|
1442
|
+
class: Be(["konnectio-reservation-timepicker", { "konnectio-split-inputs": !e(Ge) && !e(We) }])
|
|
1416
1443
|
}, [
|
|
1417
|
-
e(
|
|
1418
|
-
y(
|
|
1419
|
-
modelValue: e(
|
|
1420
|
-
"onUpdate:modelValue": V[2] || (V[2] = (g) => q(
|
|
1444
|
+
e(Ge) ? _("", !0) : (u(), v("li", dn, [
|
|
1445
|
+
y(gt, {
|
|
1446
|
+
modelValue: e($),
|
|
1447
|
+
"onUpdate:modelValue": V[2] || (V[2] = (g) => q($) ? $.value = g : null),
|
|
1421
1448
|
label: e(o)("booking.reservation.arrivalTime"),
|
|
1422
1449
|
icon: "hourglass-start",
|
|
1423
|
-
"min-time": e(
|
|
1424
|
-
"max-time": e(
|
|
1450
|
+
"min-time": e(Ae),
|
|
1451
|
+
"max-time": e(je),
|
|
1425
1452
|
required: ""
|
|
1426
1453
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1427
1454
|
])),
|
|
1428
|
-
e(
|
|
1429
|
-
y(
|
|
1455
|
+
e(We) ? _("", !0) : (u(), v("li", un, [
|
|
1456
|
+
y(gt, {
|
|
1430
1457
|
modelValue: e(C),
|
|
1431
1458
|
"onUpdate:modelValue": V[3] || (V[3] = (g) => q(C) ? C.value = g : null),
|
|
1432
1459
|
label: e(o)("booking.reservation.departureTime"),
|
|
1433
1460
|
icon: "hourglass-end",
|
|
1434
|
-
"min-time": e(
|
|
1435
|
-
"max-time": e(
|
|
1461
|
+
"min-time": e(re),
|
|
1462
|
+
"max-time": e(qe),
|
|
1436
1463
|
required: ""
|
|
1437
1464
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1438
1465
|
]))
|
|
1439
1466
|
], 2)) : _("", !0),
|
|
1440
|
-
y(
|
|
1467
|
+
y(Vl, {
|
|
1441
1468
|
modelValue: e(w),
|
|
1442
1469
|
"onUpdate:modelValue": V[4] || (V[4] = (g) => q(w) ? w.value = g : null),
|
|
1443
1470
|
title: e(I),
|
|
@@ -1448,9 +1475,9 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1448
1475
|
placeholder: e(o)("booking.reservation.namePlaceholder"),
|
|
1449
1476
|
required: ""
|
|
1450
1477
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1451
|
-
y(
|
|
1452
|
-
modelValue: e(
|
|
1453
|
-
"onUpdate:modelValue": V[6] || (V[6] = (g) => q(
|
|
1478
|
+
y(ce, {
|
|
1479
|
+
modelValue: e(M),
|
|
1480
|
+
"onUpdate:modelValue": V[6] || (V[6] = (g) => q(M) ? M.value = g : null),
|
|
1454
1481
|
type: "email",
|
|
1455
1482
|
name: "email",
|
|
1456
1483
|
autocomplete: "email",
|
|
@@ -1459,10 +1486,10 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1459
1486
|
placeholder: e(o)("booking.reservation.emailPlaceholder"),
|
|
1460
1487
|
required: ""
|
|
1461
1488
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1462
|
-
e(Ft) ? _("", !0) : (u(),
|
|
1489
|
+
e(Ft) ? _("", !0) : (u(), P(ce, {
|
|
1463
1490
|
key: 1,
|
|
1464
|
-
modelValue: e(
|
|
1465
|
-
"onUpdate:modelValue": V[7] || (V[7] = (g) => q(
|
|
1491
|
+
modelValue: e(E),
|
|
1492
|
+
"onUpdate:modelValue": V[7] || (V[7] = (g) => q(E) ? E.value = g : null),
|
|
1466
1493
|
type: "text",
|
|
1467
1494
|
name: "firm",
|
|
1468
1495
|
autocomplete: "firm",
|
|
@@ -1471,24 +1498,24 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1471
1498
|
placeholder: e(o)("booking.reservation.companyNamePlaceholder")
|
|
1472
1499
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1473
1500
|
y(No, {
|
|
1474
|
-
modelValue: e(
|
|
1475
|
-
"onUpdate:modelValue": V[8] || (V[8] = (g) => q(
|
|
1501
|
+
modelValue: e(N),
|
|
1502
|
+
"onUpdate:modelValue": V[8] || (V[8] = (g) => q(N) ? N.value = g : null),
|
|
1476
1503
|
icon: "phone-office",
|
|
1477
1504
|
label: e(o)("booking.reservation.phone"),
|
|
1478
1505
|
placeholder: e(o)("booking.reservation.phonePlaceholder"),
|
|
1479
1506
|
required: ""
|
|
1480
1507
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1481
|
-
y(
|
|
1482
|
-
modelValue: e(
|
|
1483
|
-
"onUpdate:modelValue": V[9] || (V[9] = (g) => q(
|
|
1508
|
+
y(kl, {
|
|
1509
|
+
modelValue: e(J),
|
|
1510
|
+
"onUpdate:modelValue": V[9] || (V[9] = (g) => q(J) ? J.value = g : null),
|
|
1484
1511
|
label: e(o)("booking.reservation.country"),
|
|
1485
1512
|
placeholder: e(o)("booking.reservation.countryPlaceholder"),
|
|
1486
1513
|
options: e(p),
|
|
1487
1514
|
required: ""
|
|
1488
1515
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1489
|
-
y(
|
|
1490
|
-
modelValue: e(
|
|
1491
|
-
"onUpdate:modelValue": V[10] || (V[10] = (g) => q(
|
|
1516
|
+
y(ce, {
|
|
1517
|
+
modelValue: e(B),
|
|
1518
|
+
"onUpdate:modelValue": V[10] || (V[10] = (g) => q(B) ? B.value = g : null),
|
|
1492
1519
|
type: "textarea",
|
|
1493
1520
|
name: "address",
|
|
1494
1521
|
autocomplete: "street-address",
|
|
@@ -1497,9 +1524,9 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1497
1524
|
placeholder: e(o)("booking.reservation.streetAddressPlaceholder"),
|
|
1498
1525
|
required: ""
|
|
1499
1526
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1500
|
-
a("ul",
|
|
1527
|
+
a("ul", cn, [
|
|
1501
1528
|
a("li", null, [
|
|
1502
|
-
y(
|
|
1529
|
+
y(ce, {
|
|
1503
1530
|
modelValue: e(k),
|
|
1504
1531
|
"onUpdate:modelValue": V[11] || (V[11] = (g) => q(k) ? k.value = g : null),
|
|
1505
1532
|
type: "text",
|
|
@@ -1512,7 +1539,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1512
1539
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1513
1540
|
]),
|
|
1514
1541
|
a("li", null, [
|
|
1515
|
-
y(
|
|
1542
|
+
y(ce, {
|
|
1516
1543
|
modelValue: e(D),
|
|
1517
1544
|
"onUpdate:modelValue": V[12] || (V[12] = (g) => q(D) ? D.value = g : null),
|
|
1518
1545
|
type: "text",
|
|
@@ -1525,15 +1552,15 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1525
1552
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1526
1553
|
])
|
|
1527
1554
|
]),
|
|
1528
|
-
y(
|
|
1529
|
-
modelValue: e(
|
|
1530
|
-
"onUpdate:modelValue": V[13] || (V[13] = (g) => q(
|
|
1555
|
+
y(ce, {
|
|
1556
|
+
modelValue: e(R),
|
|
1557
|
+
"onUpdate:modelValue": V[13] || (V[13] = (g) => q(R) ? R.value = g : null),
|
|
1531
1558
|
type: "textarea",
|
|
1532
1559
|
label: `${e(o)("booking.reservation.remark")} (${e(o)("booking.reservation.optional")})`,
|
|
1533
1560
|
icon: "info-circle",
|
|
1534
1561
|
placeholder: e(o)("booking.reservation.remarkPlaceholder")
|
|
1535
1562
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1536
|
-
y(
|
|
1563
|
+
y(ce, {
|
|
1537
1564
|
modelValue: e(Y),
|
|
1538
1565
|
"onUpdate:modelValue": V[14] || (V[14] = (g) => q(Y) ? Y.value = g : null),
|
|
1539
1566
|
type: "textarea",
|
|
@@ -1541,52 +1568,46 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1541
1568
|
icon: "allergies",
|
|
1542
1569
|
placeholder: e(o)("booking.reservation.allergiesPlaceholder")
|
|
1543
1570
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1544
|
-
e(Lt) ? _("", !0) : (u(),
|
|
1571
|
+
e(Lt) ? _("", !0) : (u(), P(Ho, {
|
|
1545
1572
|
key: 2,
|
|
1546
|
-
modelValue: e(
|
|
1547
|
-
"onUpdate:modelValue": V[15] || (V[15] = (g) => q(
|
|
1573
|
+
modelValue: e(h),
|
|
1574
|
+
"onUpdate:modelValue": V[15] || (V[15] = (g) => q(h) ? h.value = g : null),
|
|
1548
1575
|
label: `${e(o)("booking.reservation.purposeOfStay")} (${e(o)("booking.reservation.optional")})`,
|
|
1549
1576
|
name: "travelingFor",
|
|
1550
1577
|
checkboxes: Qt.value
|
|
1551
1578
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1552
1579
|
])
|
|
1553
1580
|
]),
|
|
1554
|
-
navigation:
|
|
1581
|
+
navigation: T(() => [
|
|
1555
1582
|
a("div", null, [
|
|
1556
|
-
y(
|
|
1583
|
+
y(me, {
|
|
1557
1584
|
label: e(Ot) ? e(o)("booking.reservation.nextButton") : e(o)("general.confirmReservation"),
|
|
1558
1585
|
disabled: !e(d),
|
|
1559
1586
|
"is-loading": e(r),
|
|
1560
1587
|
"full-width": "",
|
|
1561
|
-
onClickEvent: (g) => Zt(
|
|
1562
|
-
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
|
|
1563
|
-
a("button", {
|
|
1564
|
-
class: "konnectio-abort-reservation link",
|
|
1565
|
-
onClick: Se((g) => dt(P), ["prevent"])
|
|
1566
|
-
}, [
|
|
1567
|
-
a("span", null, v(e(o)("general.goAStepBack")), 1)
|
|
1568
|
-
], 8, cn)
|
|
1588
|
+
onClickEvent: (g) => Zt(K, H)
|
|
1589
|
+
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
|
|
1569
1590
|
])
|
|
1570
1591
|
]),
|
|
1571
1592
|
_: 2
|
|
1572
|
-
},
|
|
1593
|
+
}, 1032, ["prev-callback"])) : _("", !0)
|
|
1573
1594
|
]),
|
|
1574
|
-
payment:
|
|
1595
|
+
payment: T(() => [
|
|
1575
1596
|
y(Mo)
|
|
1576
1597
|
]),
|
|
1577
|
-
confirmation:
|
|
1578
|
-
y(
|
|
1598
|
+
confirmation: T(() => [
|
|
1599
|
+
y(So, {
|
|
1579
1600
|
message: e(o)("booking.confirmation.thankYou")
|
|
1580
1601
|
}, null, 8, ["message"])
|
|
1581
1602
|
]),
|
|
1582
1603
|
_: 1
|
|
1583
|
-
}, 8, ["layout", "onReset"])
|
|
1604
|
+
}, 8, ["layout", "steps", "onReset"])
|
|
1584
1605
|
]),
|
|
1585
1606
|
_: 1
|
|
1586
1607
|
}, 8, ["access-token", "callback"])
|
|
1587
1608
|
]),
|
|
1588
|
-
fallback:
|
|
1589
|
-
y(
|
|
1609
|
+
fallback: T(() => [
|
|
1610
|
+
y(Pl)
|
|
1590
1611
|
]),
|
|
1591
1612
|
_: 1
|
|
1592
1613
|
}))
|
|
@@ -1594,27 +1615,27 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1594
1615
|
_: 1
|
|
1595
1616
|
}, 8, ["styling"]));
|
|
1596
1617
|
}
|
|
1597
|
-
}),
|
|
1598
|
-
function
|
|
1618
|
+
}), kt = /* @__PURE__ */ fe(pn, [["__scopeId", "data-v-e0188aee"]]);
|
|
1619
|
+
function lt(n, l = {}, t) {
|
|
1599
1620
|
for (const o in n) {
|
|
1600
1621
|
const i = n[o], s = t ? `${t}:${o}` : o;
|
|
1601
|
-
typeof i == "object" && i !== null ?
|
|
1622
|
+
typeof i == "object" && i !== null ? lt(i, l, s) : typeof i == "function" && (l[s] = i);
|
|
1602
1623
|
}
|
|
1603
1624
|
return l;
|
|
1604
1625
|
}
|
|
1605
|
-
const mn = { run: (n) => n() }, fn = () => mn,
|
|
1626
|
+
const mn = { run: (n) => n() }, fn = () => mn, It = typeof console.createTask < "u" ? console.createTask : fn;
|
|
1606
1627
|
function hn(n, l) {
|
|
1607
|
-
const t = l.shift(), o =
|
|
1628
|
+
const t = l.shift(), o = It(t);
|
|
1608
1629
|
return n.reduce(
|
|
1609
1630
|
(i, s) => i.then(() => o.run(() => s(...l))),
|
|
1610
1631
|
Promise.resolve()
|
|
1611
1632
|
);
|
|
1612
1633
|
}
|
|
1613
1634
|
function vn(n, l) {
|
|
1614
|
-
const t = l.shift(), o =
|
|
1635
|
+
const t = l.shift(), o = It(t);
|
|
1615
1636
|
return Promise.all(n.map((i) => o.run(() => i(...l))));
|
|
1616
1637
|
}
|
|
1617
|
-
function
|
|
1638
|
+
function et(n, l) {
|
|
1618
1639
|
for (const t of [...n])
|
|
1619
1640
|
t(l);
|
|
1620
1641
|
}
|
|
@@ -1669,7 +1690,7 @@ class yn {
|
|
|
1669
1690
|
this.deprecateHook(t, l[t]);
|
|
1670
1691
|
}
|
|
1671
1692
|
addHooks(l) {
|
|
1672
|
-
const t =
|
|
1693
|
+
const t = lt(l), o = Object.keys(t).map(
|
|
1673
1694
|
(i) => this.hook(i, t[i])
|
|
1674
1695
|
);
|
|
1675
1696
|
return () => {
|
|
@@ -1678,7 +1699,7 @@ class yn {
|
|
|
1678
1699
|
};
|
|
1679
1700
|
}
|
|
1680
1701
|
removeHooks(l) {
|
|
1681
|
-
const t =
|
|
1702
|
+
const t = lt(l);
|
|
1682
1703
|
for (const o in t)
|
|
1683
1704
|
this.removeHook(o, t[o]);
|
|
1684
1705
|
}
|
|
@@ -1694,14 +1715,14 @@ class yn {
|
|
|
1694
1715
|
}
|
|
1695
1716
|
callHookWith(l, t, ...o) {
|
|
1696
1717
|
const i = this._before || this._after ? { name: t, args: o, context: {} } : void 0;
|
|
1697
|
-
this._before &&
|
|
1718
|
+
this._before && et(this._before, i);
|
|
1698
1719
|
const s = l(
|
|
1699
1720
|
t in this._hooks ? [...this._hooks[t]] : [],
|
|
1700
1721
|
o
|
|
1701
1722
|
);
|
|
1702
1723
|
return s instanceof Promise ? s.finally(() => {
|
|
1703
|
-
this._after && i &&
|
|
1704
|
-
}) : (this._after && i &&
|
|
1724
|
+
this._after && i && et(this._after, i);
|
|
1725
|
+
}) : (this._after && i && et(this._after, i), s);
|
|
1705
1726
|
}
|
|
1706
1727
|
beforeEach(l) {
|
|
1707
1728
|
return this._before = this._before || [], this._before.push(l), () => {
|
|
@@ -1720,13 +1741,13 @@ class yn {
|
|
|
1720
1741
|
};
|
|
1721
1742
|
}
|
|
1722
1743
|
}
|
|
1723
|
-
function
|
|
1744
|
+
function bn() {
|
|
1724
1745
|
return new yn();
|
|
1725
1746
|
}
|
|
1726
|
-
function
|
|
1747
|
+
function gn(n) {
|
|
1727
1748
|
return Array.isArray(n) ? n : [n];
|
|
1728
1749
|
}
|
|
1729
|
-
const kn = ["title", "titleTemplate", "script", "style", "noscript"],
|
|
1750
|
+
const kn = ["title", "titleTemplate", "script", "style", "noscript"], Se = [
|
|
1730
1751
|
"base",
|
|
1731
1752
|
"meta",
|
|
1732
1753
|
"link",
|
|
@@ -1745,17 +1766,17 @@ const kn = ["title", "titleTemplate", "script", "style", "noscript"], Pe = [
|
|
|
1745
1766
|
"style",
|
|
1746
1767
|
"script",
|
|
1747
1768
|
"noscript"
|
|
1748
|
-
], Vn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"],
|
|
1749
|
-
function
|
|
1769
|
+
], Vn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Et = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], $n = typeof window < "u";
|
|
1770
|
+
function rt(n) {
|
|
1750
1771
|
let l = 9;
|
|
1751
1772
|
for (let t = 0; t < n.length; )
|
|
1752
1773
|
l = Math.imul(l ^ n.charCodeAt(t++), 9 ** 9);
|
|
1753
1774
|
return ((l ^ l >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
1754
1775
|
}
|
|
1755
|
-
function
|
|
1756
|
-
return n._h ||
|
|
1776
|
+
function _t(n) {
|
|
1777
|
+
return n._h || rt(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([l, t]) => `${l}:${String(t)}`).join(",")}`);
|
|
1757
1778
|
}
|
|
1758
|
-
function
|
|
1779
|
+
function Bt(n, l) {
|
|
1759
1780
|
const { props: t, tag: o } = n;
|
|
1760
1781
|
if (Vn.includes(o))
|
|
1761
1782
|
return o;
|
|
@@ -1772,35 +1793,35 @@ function St(n, l) {
|
|
|
1772
1793
|
}
|
|
1773
1794
|
return !1;
|
|
1774
1795
|
}
|
|
1775
|
-
function
|
|
1796
|
+
function Vt(n, l) {
|
|
1776
1797
|
return n == null ? l || null : typeof n == "function" ? n(l) : n;
|
|
1777
1798
|
}
|
|
1778
|
-
async function
|
|
1799
|
+
async function Tn(n, l, t) {
|
|
1779
1800
|
const o = {
|
|
1780
1801
|
tag: n,
|
|
1781
|
-
props: await
|
|
1802
|
+
props: await Nt(
|
|
1782
1803
|
// explicitly check for an object
|
|
1783
1804
|
// @ts-expect-error untyped
|
|
1784
1805
|
typeof l == "object" && typeof l != "function" && !(l instanceof Promise) ? { ...l } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: l },
|
|
1785
1806
|
["templateParams", "titleTemplate"].includes(n)
|
|
1786
1807
|
)
|
|
1787
1808
|
};
|
|
1788
|
-
return
|
|
1809
|
+
return Et.forEach((i) => {
|
|
1789
1810
|
const s = typeof o.props[i] < "u" ? o.props[i] : t[i];
|
|
1790
1811
|
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || kn.includes(o.tag)) && (o[i === "children" ? "innerHTML" : i] = s), delete o.props[i]);
|
|
1791
1812
|
}), o.props.body && (o.tagPosition = "bodyClose", delete o.props.body), o.tag === "script" && typeof o.innerHTML == "object" && (o.innerHTML = JSON.stringify(o.innerHTML), o.props.type = o.props.type || "application/json"), Array.isArray(o.props.content) ? o.props.content.map((i) => ({ ...o, props: { ...o.props, content: i } })) : o;
|
|
1792
1813
|
}
|
|
1793
|
-
function
|
|
1814
|
+
function wn(n, l) {
|
|
1794
1815
|
const t = n === "class" ? " " : ";";
|
|
1795
1816
|
return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, o]) => o).map(([o, i]) => n === "style" ? `${o}:${i}` : o)), String(Array.isArray(l) ? l.join(t) : l)?.split(t).filter((o) => o.trim()).filter(Boolean).join(t);
|
|
1796
1817
|
}
|
|
1797
|
-
async function
|
|
1818
|
+
async function Nt(n, l) {
|
|
1798
1819
|
for (const t of Object.keys(n)) {
|
|
1799
1820
|
if (["class", "style"].includes(t)) {
|
|
1800
|
-
n[t] =
|
|
1821
|
+
n[t] = wn(t, n[t]);
|
|
1801
1822
|
continue;
|
|
1802
1823
|
}
|
|
1803
|
-
if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !
|
|
1824
|
+
if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !Et.includes(t)) {
|
|
1804
1825
|
const o = String(n[t]), i = t.startsWith("data-");
|
|
1805
1826
|
o === "true" || o === "" ? n[t] = i ? "true" : !0 : n[t] || (i && o === "false" ? n[t] = "false" : delete n[t]);
|
|
1806
1827
|
}
|
|
@@ -1808,30 +1829,30 @@ async function Ht(n, l) {
|
|
|
1808
1829
|
return n;
|
|
1809
1830
|
}
|
|
1810
1831
|
const Cn = 10;
|
|
1811
|
-
async function
|
|
1832
|
+
async function Pn(n) {
|
|
1812
1833
|
const l = [];
|
|
1813
1834
|
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" && _n.includes(t)).forEach(([t, o]) => {
|
|
1814
|
-
const i =
|
|
1815
|
-
l.push(...i.map((s) =>
|
|
1835
|
+
const i = gn(o);
|
|
1836
|
+
l.push(...i.map((s) => Tn(t, s, n)).flat());
|
|
1816
1837
|
}), (await Promise.all(l)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << Cn) + o, t));
|
|
1817
1838
|
}
|
|
1818
|
-
const
|
|
1839
|
+
const $t = {
|
|
1819
1840
|
// tags
|
|
1820
1841
|
base: -10,
|
|
1821
1842
|
title: 10
|
|
1822
|
-
},
|
|
1843
|
+
}, Tt = {
|
|
1823
1844
|
// relative scores to their default values
|
|
1824
1845
|
critical: -80,
|
|
1825
1846
|
high: -10,
|
|
1826
1847
|
low: 20
|
|
1827
1848
|
};
|
|
1828
|
-
function
|
|
1849
|
+
function Me(n) {
|
|
1829
1850
|
let l = 100;
|
|
1830
1851
|
const t = n.tagPriority;
|
|
1831
|
-
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
|
|
1852
|
+
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 $t && (l = $t[n.tag]), typeof t == "string" && t in Tt ? l + Tt[t] : l);
|
|
1832
1853
|
}
|
|
1833
|
-
const
|
|
1834
|
-
function
|
|
1854
|
+
const An = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ue = "%separator";
|
|
1855
|
+
function Ie(n, l, t) {
|
|
1835
1856
|
if (typeof n != "string" || !n.includes("%"))
|
|
1836
1857
|
return n;
|
|
1837
1858
|
function o(m) {
|
|
@@ -1846,7 +1867,7 @@ function De(n, l, t) {
|
|
|
1846
1867
|
return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((m) => {
|
|
1847
1868
|
const p = o(m.slice(1));
|
|
1848
1869
|
typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (c, r) => `${p}${r}`).trim());
|
|
1849
|
-
}), n.includes(
|
|
1870
|
+
}), n.includes(ue) && (n.endsWith(ue) && (n = n.slice(0, -ue.length).trim()), n.startsWith(ue) && (n = n.slice(ue.length).trim()), n = n.replace(new RegExp(`\\${ue}\\s*\\${ue}`, "g"), ue), n = Ie(n, { separator: t }, t)), n;
|
|
1850
1871
|
}
|
|
1851
1872
|
async function Dn(n, l = {}) {
|
|
1852
1873
|
const t = l.document || n.resolvedOptions.document;
|
|
@@ -1857,7 +1878,7 @@ async function Dn(n, l = {}) {
|
|
|
1857
1878
|
return;
|
|
1858
1879
|
const i = (await n.resolveTags()).map((d) => ({
|
|
1859
1880
|
tag: d,
|
|
1860
|
-
id:
|
|
1881
|
+
id: Se.includes(d.tag) ? _t(d) : d.tag,
|
|
1861
1882
|
shouldRender: !0
|
|
1862
1883
|
}));
|
|
1863
1884
|
let s = n._dom;
|
|
@@ -1866,50 +1887,50 @@ async function Dn(n, l = {}) {
|
|
|
1866
1887
|
elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
|
|
1867
1888
|
};
|
|
1868
1889
|
for (const d of ["body", "head"]) {
|
|
1869
|
-
const
|
|
1870
|
-
for (const C of [...
|
|
1890
|
+
const h = t[d]?.children, $ = [];
|
|
1891
|
+
for (const C of [...h].filter((w) => Se.includes(w.tagName.toLowerCase()))) {
|
|
1871
1892
|
const w = {
|
|
1872
1893
|
tag: C.tagName.toLowerCase(),
|
|
1873
|
-
props: await
|
|
1874
|
-
C.getAttributeNames().reduce((
|
|
1894
|
+
props: await Nt(
|
|
1895
|
+
C.getAttributeNames().reduce((N, E) => ({ ...N, [E]: C.getAttribute(E) }), {})
|
|
1875
1896
|
),
|
|
1876
1897
|
innerHTML: C.innerHTML
|
|
1877
1898
|
};
|
|
1878
|
-
let I = 1,
|
|
1879
|
-
for (;
|
|
1880
|
-
|
|
1881
|
-
w._d =
|
|
1899
|
+
let I = 1, M = Bt(w);
|
|
1900
|
+
for (; M && $.find((N) => N._d === M); )
|
|
1901
|
+
M = `${M}:${I++}`;
|
|
1902
|
+
w._d = M || void 0, $.push(w), s.elMap[C.getAttribute("data-hid") || _t(w)] = C;
|
|
1882
1903
|
}
|
|
1883
1904
|
}
|
|
1884
1905
|
}
|
|
1885
1906
|
s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
|
|
1886
|
-
function m(d,
|
|
1887
|
-
const C = `${d}:${
|
|
1888
|
-
s.sideEffects[C] =
|
|
1907
|
+
function m(d, h, $) {
|
|
1908
|
+
const C = `${d}:${h}`;
|
|
1909
|
+
s.sideEffects[C] = $, delete s.pendingSideEffects[C];
|
|
1889
1910
|
}
|
|
1890
|
-
function p({ id: d, $el:
|
|
1891
|
-
const C =
|
|
1892
|
-
s.elMap[d] =
|
|
1893
|
-
|
|
1911
|
+
function p({ id: d, $el: h, tag: $ }) {
|
|
1912
|
+
const C = $.tag.endsWith("Attrs");
|
|
1913
|
+
s.elMap[d] = h, C || (["textContent", "innerHTML"].forEach((w) => {
|
|
1914
|
+
$[w] && $[w] !== h[w] && (h[w] = $[w]);
|
|
1894
1915
|
}), m(d, "el", () => {
|
|
1895
1916
|
s.elMap[d]?.remove(), delete s.elMap[d];
|
|
1896
1917
|
}));
|
|
1897
|
-
for (const [w, I] of Object.entries(
|
|
1898
|
-
|
|
1899
|
-
Object.entries(
|
|
1900
|
-
const
|
|
1918
|
+
for (const [w, I] of Object.entries($._eventHandlers || {}))
|
|
1919
|
+
h.getAttribute(`data-${w}`) !== "" && (($.tag === "bodyAttrs" ? t.defaultView : h).addEventListener(w.replace("on", ""), I.bind(h)), h.setAttribute(`data-${w}`, ""));
|
|
1920
|
+
Object.entries($.props).forEach(([w, I]) => {
|
|
1921
|
+
const M = `attr:${w}`;
|
|
1901
1922
|
if (w === "class")
|
|
1902
|
-
for (const
|
|
1903
|
-
C && m(d, `${
|
|
1923
|
+
for (const N of (I || "").split(" ").filter(Boolean))
|
|
1924
|
+
C && m(d, `${M}:${N}`, () => h.classList.remove(N)), !h.classList.contains(N) && h.classList.add(N);
|
|
1904
1925
|
else if (w === "style")
|
|
1905
|
-
for (const
|
|
1906
|
-
const [
|
|
1907
|
-
m(d, `${
|
|
1908
|
-
|
|
1909
|
-
}),
|
|
1926
|
+
for (const N of (I || "").split(";").filter(Boolean)) {
|
|
1927
|
+
const [E, ...k] = N.split(":").map((D) => D.trim());
|
|
1928
|
+
m(d, `${M}:${E}`, () => {
|
|
1929
|
+
h.style.removeProperty(E);
|
|
1930
|
+
}), h.style.setProperty(E, k.join(":"));
|
|
1910
1931
|
}
|
|
1911
1932
|
else
|
|
1912
|
-
|
|
1933
|
+
h.getAttribute(w) !== I && h.setAttribute(w, I === !0 ? "" : String(I)), C && m(d, M, () => h.removeAttribute(w));
|
|
1913
1934
|
});
|
|
1914
1935
|
}
|
|
1915
1936
|
const c = [], r = {
|
|
@@ -1918,38 +1939,38 @@ async function Dn(n, l = {}) {
|
|
|
1918
1939
|
head: void 0
|
|
1919
1940
|
};
|
|
1920
1941
|
for (const d of i) {
|
|
1921
|
-
const { tag:
|
|
1922
|
-
if (
|
|
1923
|
-
if (
|
|
1924
|
-
t.title =
|
|
1942
|
+
const { tag: h, shouldRender: $, id: C } = d;
|
|
1943
|
+
if ($) {
|
|
1944
|
+
if (h.tag === "title") {
|
|
1945
|
+
t.title = h.textContent;
|
|
1925
1946
|
continue;
|
|
1926
1947
|
}
|
|
1927
|
-
d.$el = d.$el || s.elMap[C], d.$el ? p(d) :
|
|
1948
|
+
d.$el = d.$el || s.elMap[C], d.$el ? p(d) : Se.includes(h.tag) && c.push(d);
|
|
1928
1949
|
}
|
|
1929
1950
|
}
|
|
1930
1951
|
for (const d of c) {
|
|
1931
|
-
const
|
|
1932
|
-
d.$el = t.createElement(d.tag.tag), p(d), r[
|
|
1952
|
+
const h = d.tag.tagPosition || "head";
|
|
1953
|
+
d.$el = t.createElement(d.tag.tag), p(d), r[h] = r[h] || t.createDocumentFragment(), r[h].appendChild(d.$el);
|
|
1933
1954
|
}
|
|
1934
1955
|
for (const d of i)
|
|
1935
1956
|
await n.hooks.callHook("dom:renderTag", d, t, m);
|
|
1936
1957
|
r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((d) => d()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
|
|
1937
1958
|
}
|
|
1938
|
-
async function
|
|
1959
|
+
async function Hn(n, l = {}) {
|
|
1939
1960
|
const t = l.delayFn || ((o) => setTimeout(o, 10));
|
|
1940
1961
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((o) => t(async () => {
|
|
1941
1962
|
await Dn(n, l), delete n._domUpdatePromise, o();
|
|
1942
1963
|
}));
|
|
1943
1964
|
}
|
|
1944
1965
|
// @__NO_SIDE_EFFECTS__
|
|
1945
|
-
function
|
|
1966
|
+
function Sn(n) {
|
|
1946
1967
|
return (l) => {
|
|
1947
1968
|
const t = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1948
1969
|
return t && l.push(JSON.parse(t)), {
|
|
1949
1970
|
mode: "client",
|
|
1950
1971
|
hooks: {
|
|
1951
1972
|
"entries:updated": function(o) {
|
|
1952
|
-
|
|
1973
|
+
Hn(o, n);
|
|
1953
1974
|
}
|
|
1954
1975
|
}
|
|
1955
1976
|
};
|
|
@@ -1961,7 +1982,7 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
|
|
|
1961
1982
|
["hid", "vmid", "key"].forEach((o) => {
|
|
1962
1983
|
n.props[o] && (n.key = n.props[o], delete n.props[o]);
|
|
1963
1984
|
});
|
|
1964
|
-
const t =
|
|
1985
|
+
const t = Bt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
|
|
1965
1986
|
t && (n._d = t);
|
|
1966
1987
|
},
|
|
1967
1988
|
"tags:resolve": function(n) {
|
|
@@ -1982,11 +2003,11 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
|
|
|
1982
2003
|
} else if (o._e === s._e) {
|
|
1983
2004
|
s._duped = s._duped || [], o._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(o);
|
|
1984
2005
|
return;
|
|
1985
|
-
} else if (
|
|
2006
|
+
} else if (Me(o) > Me(s))
|
|
1986
2007
|
return;
|
|
1987
2008
|
}
|
|
1988
2009
|
const m = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
|
|
1989
|
-
if (
|
|
2010
|
+
if (Se.includes(o.tag) && m === 0) {
|
|
1990
2011
|
delete l[i];
|
|
1991
2012
|
return;
|
|
1992
2013
|
}
|
|
@@ -2018,11 +2039,11 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
|
|
|
2018
2039
|
"tags:resolve": function(l) {
|
|
2019
2040
|
for (const t of l.tags.filter((o) => Nn.includes(o.tag)))
|
|
2020
2041
|
Object.entries(t.props).forEach(([o, i]) => {
|
|
2021
|
-
o.startsWith("on") && typeof i == "function" && (n.ssr &&
|
|
2022
|
-
}), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key ||
|
|
2042
|
+
o.startsWith("on") && typeof i == "function" && (n.ssr && wt.includes(o) ? t.props[o] = `this.dataset.${o}fired = true` : delete t.props[o], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[o] = i);
|
|
2043
|
+
}), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || rt(t.props.src || t.props.href));
|
|
2023
2044
|
},
|
|
2024
2045
|
"dom:renderTag": function({ $el: l, tag: t }) {
|
|
2025
|
-
for (const o of Object.keys(l?.dataset || {}).filter((i) =>
|
|
2046
|
+
for (const o of Object.keys(l?.dataset || {}).filter((i) => wt.some((s) => `${s}fired` === i))) {
|
|
2026
2047
|
const i = o.replace("fired", "");
|
|
2027
2048
|
t._eventHandlers?.[i]?.call(l, new Event(i.replace("on", "")));
|
|
2028
2049
|
}
|
|
@@ -2031,21 +2052,21 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
|
|
|
2031
2052
|
}), Rn = ["link", "style", "script", "noscript"], Ln = {
|
|
2032
2053
|
hooks: {
|
|
2033
2054
|
"tag:normalise": ({ tag: n }) => {
|
|
2034
|
-
n.key && Rn.includes(n.tag) && (n.props["data-hid"] = n._h =
|
|
2055
|
+
n.key && Rn.includes(n.tag) && (n.props["data-hid"] = n._h = rt(n.key));
|
|
2035
2056
|
}
|
|
2036
2057
|
}
|
|
2037
2058
|
}, Un = {
|
|
2038
2059
|
hooks: {
|
|
2039
2060
|
"tags:resolve": (n) => {
|
|
2040
2061
|
const l = (t) => n.tags.find((o) => o._d === t)?._p;
|
|
2041
|
-
for (const { prefix: t, offset: o } of
|
|
2062
|
+
for (const { prefix: t, offset: o } of An)
|
|
2042
2063
|
for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
|
|
2043
2064
|
const s = l(
|
|
2044
2065
|
i.tagPriority.replace(t, "")
|
|
2045
2066
|
);
|
|
2046
2067
|
typeof s < "u" && (i._p = s + o);
|
|
2047
2068
|
}
|
|
2048
|
-
n.tags.sort((t, o) => t._p - o._p).sort((t, o) =>
|
|
2069
|
+
n.tags.sort((t, o) => t._p - o._p).sort((t, o) => Me(t) - Me(o));
|
|
2049
2070
|
}
|
|
2050
2071
|
}
|
|
2051
2072
|
}, Fn = {
|
|
@@ -2056,11 +2077,11 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
|
|
|
2056
2077
|
hooks: {
|
|
2057
2078
|
"tags:resolve": (l) => {
|
|
2058
2079
|
const { tags: t } = l, o = t.find((p) => p.tag === "title")?.textContent, i = t.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, m = s.separator || "|";
|
|
2059
|
-
delete s.separator, s.pageTitle =
|
|
2080
|
+
delete s.separator, s.pageTitle = Ie(s.pageTitle || o || "", s, m);
|
|
2060
2081
|
for (const p of t.filter((c) => c.processTemplateParams !== !1)) {
|
|
2061
2082
|
const c = Fn[p.tag];
|
|
2062
|
-
c && typeof p.props[c] == "string" ? p.props[c] =
|
|
2063
|
-
typeof p[r] == "string" && (p[r] =
|
|
2083
|
+
c && typeof p.props[c] == "string" ? p.props[c] = Ie(p.props[c], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
|
|
2084
|
+
typeof p[r] == "string" && (p[r] = Ie(p[r], s, m));
|
|
2064
2085
|
});
|
|
2065
2086
|
}
|
|
2066
2087
|
n._templateParams = s, n._separator = m, l.tags = t.filter((p) => p.tag !== "templateParams");
|
|
@@ -2073,13 +2094,13 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
|
|
|
2073
2094
|
let t = l.findIndex((i) => i.tag === "titleTemplate");
|
|
2074
2095
|
const o = l.findIndex((i) => i.tag === "title");
|
|
2075
2096
|
if (o !== -1 && t !== -1) {
|
|
2076
|
-
const i =
|
|
2097
|
+
const i = Vt(
|
|
2077
2098
|
l[t].textContent,
|
|
2078
2099
|
l[o].textContent
|
|
2079
2100
|
);
|
|
2080
2101
|
i !== null ? l[o].textContent = i || l[o].textContent : delete l[o];
|
|
2081
2102
|
} else if (t !== -1) {
|
|
2082
|
-
const i =
|
|
2103
|
+
const i = Vt(
|
|
2083
2104
|
l[t].textContent
|
|
2084
2105
|
);
|
|
2085
2106
|
i !== null && (l[t].textContent = i, l[t].tag = "title", t = -1);
|
|
@@ -2098,14 +2119,14 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
|
|
|
2098
2119
|
// @__NO_SIDE_EFFECTS__
|
|
2099
2120
|
function Gn(n = {}) {
|
|
2100
2121
|
const l = Wn(n);
|
|
2101
|
-
return l.use(/* @__PURE__ */
|
|
2122
|
+
return l.use(/* @__PURE__ */ Sn()), l;
|
|
2102
2123
|
}
|
|
2103
|
-
function
|
|
2124
|
+
function Ct(n, l) {
|
|
2104
2125
|
return !n || n === "server" && l || n === "client" && !l;
|
|
2105
2126
|
}
|
|
2106
2127
|
function Wn(n = {}) {
|
|
2107
|
-
const l =
|
|
2108
|
-
l.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2128
|
+
const l = bn();
|
|
2129
|
+
l.addHooks(n.hooks || {}), n.document = n.document || ($n ? document : void 0);
|
|
2109
2130
|
const t = !n.document, o = () => {
|
|
2110
2131
|
p.dirty = !0, l.callHook("entries:updated", p);
|
|
2111
2132
|
};
|
|
@@ -2120,7 +2141,7 @@ function Wn(n = {}) {
|
|
|
2120
2141
|
},
|
|
2121
2142
|
use(c) {
|
|
2122
2143
|
const r = typeof c == "function" ? c(p) : c;
|
|
2123
|
-
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r),
|
|
2144
|
+
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), Ct(r.mode, t) && l.addHooks(r.hooks || {}));
|
|
2124
2145
|
},
|
|
2125
2146
|
push(c, r) {
|
|
2126
2147
|
delete r?.head;
|
|
@@ -2129,13 +2150,13 @@ function Wn(n = {}) {
|
|
|
2129
2150
|
input: c,
|
|
2130
2151
|
...r
|
|
2131
2152
|
};
|
|
2132
|
-
return
|
|
2153
|
+
return Ct(d.mode, t) && (s.push(d), o()), {
|
|
2133
2154
|
dispose() {
|
|
2134
|
-
s = s.filter((
|
|
2155
|
+
s = s.filter((h) => h._i !== d._i), l.callHook("entries:updated", p), o();
|
|
2135
2156
|
},
|
|
2136
2157
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2137
|
-
patch(
|
|
2138
|
-
s = s.map((
|
|
2158
|
+
patch(h) {
|
|
2159
|
+
s = s.map(($) => ($._i === d._i && ($.input = d.input = h), $)), o();
|
|
2139
2160
|
}
|
|
2140
2161
|
};
|
|
2141
2162
|
},
|
|
@@ -2145,9 +2166,9 @@ function Wn(n = {}) {
|
|
|
2145
2166
|
for (const r of c.entries) {
|
|
2146
2167
|
const d = r.resolvedInput || r.input;
|
|
2147
2168
|
if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
|
|
2148
|
-
for (const
|
|
2149
|
-
const
|
|
2150
|
-
await l.callHook("tag:normalise",
|
|
2169
|
+
for (const h of await Pn(r)) {
|
|
2170
|
+
const $ = { tag: h, entry: r, resolvedOptions: p.resolvedOptions };
|
|
2171
|
+
await l.callHook("tag:normalise", $), c.tags.push($.tag);
|
|
2151
2172
|
}
|
|
2152
2173
|
}
|
|
2153
2174
|
return await l.callHook("tags:beforeResolve", c), await l.callHook("tags:resolve", c), await l.callHook("tags:afterResolve", c), c.tags;
|
|
@@ -2166,23 +2187,23 @@ function Wn(n = {}) {
|
|
|
2166
2187
|
...n?.plugins || []
|
|
2167
2188
|
].forEach((c) => p.use(c)), p.hooks.callHook("init", p), p;
|
|
2168
2189
|
}
|
|
2169
|
-
const xn =
|
|
2190
|
+
const xn = uo.startsWith("3");
|
|
2170
2191
|
function Kn(n) {
|
|
2171
2192
|
return typeof n == "function" ? n() : e(n);
|
|
2172
2193
|
}
|
|
2173
|
-
function
|
|
2194
|
+
function nt(n, l = "") {
|
|
2174
2195
|
if (n instanceof Promise)
|
|
2175
2196
|
return n;
|
|
2176
2197
|
const t = Kn(n);
|
|
2177
|
-
return !n || !t ? t : Array.isArray(t) ? t.map((o) =>
|
|
2178
|
-
Object.entries(t).map(([o, i]) => o === "titleTemplate" || o.startsWith("on") ? [o, e(i)] : [o,
|
|
2198
|
+
return !n || !t ? t : Array.isArray(t) ? t.map((o) => nt(o, l)) : typeof t == "object" ? Object.fromEntries(
|
|
2199
|
+
Object.entries(t).map(([o, i]) => o === "titleTemplate" || o.startsWith("on") ? [o, e(i)] : [o, nt(i, o)])
|
|
2179
2200
|
) : t;
|
|
2180
2201
|
}
|
|
2181
2202
|
const Jn = {
|
|
2182
2203
|
hooks: {
|
|
2183
2204
|
"entries:resolve": function(n) {
|
|
2184
2205
|
for (const l of n.entries)
|
|
2185
|
-
l.resolvedInput =
|
|
2206
|
+
l.resolvedInput = nt(l.input);
|
|
2186
2207
|
}
|
|
2187
2208
|
}
|
|
2188
2209
|
}, zn = "usehead";
|
|
@@ -2194,11 +2215,11 @@ function Yn(n) {
|
|
|
2194
2215
|
}.install;
|
|
2195
2216
|
}
|
|
2196
2217
|
function Qn(n = {}) {
|
|
2197
|
-
n.domDelayFn = n.domDelayFn || ((t) =>
|
|
2218
|
+
n.domDelayFn = n.domDelayFn || ((t) => ro(() => setTimeout(() => t(), 0)));
|
|
2198
2219
|
const l = /* @__PURE__ */ Gn(n);
|
|
2199
2220
|
return l.use(Jn), l.install = Yn(l), l;
|
|
2200
2221
|
}
|
|
2201
|
-
const Xn =
|
|
2222
|
+
const Xn = mo(), Zn = Qn(), ea = vo();
|
|
2202
2223
|
class ta extends HTMLElement {
|
|
2203
2224
|
vueApp;
|
|
2204
2225
|
constructor() {
|
|
@@ -2208,8 +2229,8 @@ class ta extends HTMLElement {
|
|
|
2208
2229
|
this.vueApp.unmount();
|
|
2209
2230
|
}
|
|
2210
2231
|
connectedCallback() {
|
|
2211
|
-
const l =
|
|
2212
|
-
this.vueApp =
|
|
2232
|
+
const l = fo(kt, this.attributes);
|
|
2233
|
+
this.vueApp = co(kt, l), this.vueApp.provide("emitter", ea), this.vueApp.use(Zn), this.vueApp.use(Xn), this.vueApp.use(Io), this.vueApp.use(ho), this.vueApp.use($o), this.vueApp.use(Vo, { bootstrap: !0 });
|
|
2213
2234
|
const t = document.createElement("div");
|
|
2214
2235
|
this.vueApp.mount(t), this.appendChild(t.children[0]);
|
|
2215
2236
|
}
|