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