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