@konnectio/core 4.0.99 → 4.0.101
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-IOx3ZRnf.js → ActionField-C3Cyxi5Q.js} +2 -2
- package/dist/ActionField-C3Cyxi5Q.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DJZ5q3NO.js → AvailabilitySkeleton-BIc6OPvo.js} +5 -5
- package/dist/AvailabilitySkeleton-BIc6OPvo.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-bIDNSR5b.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BnJFLLBB.js} +160 -160
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BnJFLLBB.js.br +0 -0
- package/dist/{CheckoutWindow-BoDi-872.js → CheckoutWindow-D4TzWjhF.js} +2 -2
- package/dist/CheckoutWindow-D4TzWjhF.js.br +0 -0
- package/dist/{ErrorMessage-Dm6szrbM.js → ErrorMessage-CIeuHK4s.js} +2 -2
- package/dist/ErrorMessage-CIeuHK4s.js.br +0 -0
- package/dist/{EventAvailabilityForm-SimpuNtH.js → EventAvailabilityForm-BLI0AB6C.js} +3 -3
- package/dist/EventAvailabilityForm-BLI0AB6C.js.br +0 -0
- package/dist/{Field-NwGowmOF.js → Field-3yPNEwdb.js} +3 -3
- package/dist/Field-3yPNEwdb.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B_h4O-O8.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BO7UgYF-.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-BrxKwUUL.js → SelectField.vue_vue_type_style_index_0_lang-DdksDWOr.js} +2 -2
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DdksDWOr.js.br +0 -0
- package/dist/{TermsOfService-BrVaz2YB.js → TermsOfService-Cbm3UR7t.js} +3 -3
- package/dist/_-CAqjShU3.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-BMOiT4OK.js → _.vue_vue_type_style_index_0_lang-CLXvfe45.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/event.js +406 -402
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-ApIE63zX.js → giftCard-DlkMDK-m.js} +2 -2
- package/dist/giftCard-DlkMDK-m.js.br +0 -0
- package/dist/hotel.js +425 -431
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CFKgaeSf.js → masonry.plugin-CZHScYDX.js} +6 -6
- package/dist/masonry.plugin-CZHScYDX.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +7 -7
- package/dist/ActionField-IOx3ZRnf.js.br +0 -0
- package/dist/AvailabilitySkeleton-DJZ5q3NO.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-bIDNSR5b.js.br +0 -0
- package/dist/CheckoutWindow-BoDi-872.js.br +0 -0
- package/dist/ErrorMessage-Dm6szrbM.js.br +0 -0
- package/dist/EventAvailabilityForm-SimpuNtH.js.br +0 -0
- package/dist/Field-NwGowmOF.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-BrxKwUUL.js.br +0 -0
- package/dist/_-BU4kS4Or.js +0 -5
- package/dist/giftCard-ApIE63zX.js.br +0 -0
- package/dist/masonry.plugin-CFKgaeSf.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as Z, u as
|
|
2
|
-
import { g as he, b as ve, u as Ce, I as
|
|
1
|
+
import { d as Z, u as se, s as X, r as ie, a as d, b as D, y as uo, i as e, w as C, g as h, e as s, t as f, G as Se, H as We, f as v, j as _, z as q, F as O, v as Ke, B as Xe, A as F, h as Tt, E as co, K as po, c as K, o as at, C as Ne, n as Me, S as mo, L as fo, M as ho, N as vo, k as yo, l as go, m as ko, p as bo, q as _o } from "./mitt-BvlSsOyy.js";
|
|
2
|
+
import { g as he, b as ve, u as Ce, I as x, s as te, z as we, l as Je, m as ae, j as oe, _ as me, c as Ie, A as Vt, f as Ze, d as pe, B as wt, a as Ct, D as pt, T as ue, r as To, E as Vo, C as wo, k as mt, n as Co, o as ft, p as $o } from "./SelectField.vue_vue_type_style_index_0_lang-DdksDWOr.js";
|
|
3
3
|
import { G as Po } from "./style-CYxgAqoT.js";
|
|
4
|
-
import { R as Ao, B as
|
|
5
|
-
import { A as Io, H as Lo } from "./AvailabilitySkeleton-
|
|
6
|
-
import { S as
|
|
7
|
-
import { C as
|
|
8
|
-
import { _ as $t } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-
|
|
4
|
+
import { R as Ao, B as Le, L as So, S as Ho, M as Do, b as ze, C as No, T as Mo, V as Ro, a as Bo } from "./masonry.plugin-CZHScYDX.js";
|
|
5
|
+
import { A as Io, H as Lo } from "./AvailabilitySkeleton-BIc6OPvo.js";
|
|
6
|
+
import { S as Eo } from "./TermsOfService-Cbm3UR7t.js";
|
|
7
|
+
import { C as et, B as Uo, P as Oo, a as Fo } from "./CheckoutWindow-D4TzWjhF.js";
|
|
8
|
+
import { _ as $t } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BnJFLLBB.js";
|
|
9
9
|
const qo = { key: 0 }, Go = { class: "konnectio-hotel-reservation-warning" }, jo = { class: "konnectio-hotel-reservation-warning" }, xo = { class: "konnectio-hotel-reservation-warning" };
|
|
10
10
|
const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnectio-reservation-actions" }, Yo = {
|
|
11
11
|
key: 0,
|
|
@@ -18,7 +18,7 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
18
18
|
prevCallback: {}
|
|
19
19
|
},
|
|
20
20
|
setup(l) {
|
|
21
|
-
const { t } =
|
|
21
|
+
const { t } = se(), {
|
|
22
22
|
disableNewsletterSignup: n,
|
|
23
23
|
currency: o
|
|
24
24
|
} = X(he()), {
|
|
@@ -29,108 +29,108 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
29
29
|
roomDisplay: p,
|
|
30
30
|
templateID: c,
|
|
31
31
|
totalPrice: u,
|
|
32
|
-
areListingsLoading:
|
|
32
|
+
areListingsLoading: y,
|
|
33
33
|
getSelectedPackageRoom: m,
|
|
34
|
-
selectedPackage:
|
|
34
|
+
selectedPackage: g,
|
|
35
35
|
discountVouchers: w,
|
|
36
36
|
currentArrivalDate: P,
|
|
37
37
|
currentDepartureDate: $,
|
|
38
|
-
datesMismatch:
|
|
38
|
+
datesMismatch: M,
|
|
39
39
|
currentLocation: L,
|
|
40
40
|
locationMismatch: N,
|
|
41
41
|
newsMails: T,
|
|
42
|
-
termsOfService:
|
|
43
|
-
discountCode:
|
|
42
|
+
termsOfService: S,
|
|
43
|
+
discountCode: H,
|
|
44
44
|
hasTermOfService: z,
|
|
45
|
-
acceptTerms:
|
|
45
|
+
acceptTerms: E,
|
|
46
46
|
totalTemplateAddonPrice: Y,
|
|
47
|
-
totalRooms:
|
|
48
|
-
totalAdults:
|
|
49
|
-
totalChildren:
|
|
50
|
-
templateRoomTotalPrice:
|
|
51
|
-
weekendFee:
|
|
52
|
-
} = X(ve()), { hasHotelLocations: be } = X(Ce()), { removeRoom: $e, validateDiscountCode: Ee } = ve(), { getHotelLocationName:
|
|
47
|
+
totalRooms: G,
|
|
48
|
+
totalAdults: ne,
|
|
49
|
+
totalChildren: le,
|
|
50
|
+
templateRoomTotalPrice: j,
|
|
51
|
+
weekendFee: ke
|
|
52
|
+
} = X(ve()), { hasHotelLocations: be } = X(Ce()), { removeRoom: $e, validateDiscountCode: Ee } = ve(), { getHotelLocationName: Ue } = Ce(), _e = ie(!1);
|
|
53
53
|
function Te(Q) {
|
|
54
54
|
return Q.reduce((fe, { totalPrice: B }) => fe + B, 0);
|
|
55
55
|
}
|
|
56
|
-
return (Q,
|
|
56
|
+
return (Q, U) => {
|
|
57
57
|
const fe = po("tooltip");
|
|
58
58
|
return d(), D(Ao, {
|
|
59
|
-
"discount-code": e(
|
|
60
|
-
"onUpdate:discountCode":
|
|
59
|
+
"discount-code": e(H),
|
|
60
|
+
"onUpdate:discountCode": U[4] || (U[4] = (B) => F(H) ? H.value = B : null),
|
|
61
61
|
"validate-discount-code": e(Ee),
|
|
62
62
|
"total-price": e(u),
|
|
63
|
-
"weekend-fee": e(
|
|
63
|
+
"weekend-fee": e(ke),
|
|
64
64
|
"show-gift-card": Q.showGiftCard,
|
|
65
65
|
"show-terms-notice": Q.showTermsNotice,
|
|
66
|
-
"is-sidebar-loading": e(
|
|
66
|
+
"is-sidebar-loading": e(y),
|
|
67
67
|
notice: e(t)("hotel.reservationNotice"),
|
|
68
68
|
"prev-callback": Q.prevCallback
|
|
69
69
|
}, uo({
|
|
70
70
|
form: C(() => [
|
|
71
|
-
|
|
71
|
+
Ke(Q.$slots, "form", {}, void 0, !0)
|
|
72
72
|
]),
|
|
73
73
|
"price-summary": C(() => [
|
|
74
|
-
isNaN(e(c)) && e(p).length > 0 ? (d(!0), h(O, { key: 0 },
|
|
74
|
+
isNaN(e(c)) && e(p).length > 0 ? (d(!0), h(O, { key: 0 }, q(e(p), ({
|
|
75
75
|
roomGroupID: B,
|
|
76
|
-
title:
|
|
77
|
-
variants:
|
|
76
|
+
title: Oe,
|
|
77
|
+
variants: Fe
|
|
78
78
|
}) => (d(), h("div", { key: B }, [
|
|
79
79
|
s("h6", null, [
|
|
80
|
-
s("span", null, f(e(
|
|
80
|
+
s("span", null, f(e(ae)(Oe)), 1)
|
|
81
81
|
]),
|
|
82
|
-
(d(!0), h(O, null,
|
|
83
|
-
(d(!0), h(O, null,
|
|
82
|
+
(d(!0), h(O, null, q(Fe, (Pe, qe) => (d(), h("div", { key: qe }, [
|
|
83
|
+
(d(!0), h(O, null, q(Pe.rooms, (re, Ve) => (d(), h("ul", { key: Ve }, [
|
|
84
84
|
s("li", null, [
|
|
85
85
|
s("span", null, [
|
|
86
86
|
s("span", null, [
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
Xe(f(e(ae)(Pe.name)) + " ( ", 1),
|
|
88
|
+
v(x, {
|
|
89
89
|
icon: "male",
|
|
90
90
|
type: "fas",
|
|
91
91
|
color: "font"
|
|
92
92
|
}),
|
|
93
|
-
s("span", null, f(
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
s("span", null, f(re.adultsCount), 1),
|
|
94
|
+
re.childrenCount > 0 ? (d(), h(O, { key: 0 }, [
|
|
95
|
+
v(x, {
|
|
96
96
|
icon: "child",
|
|
97
97
|
type: "fas",
|
|
98
98
|
color: "font"
|
|
99
99
|
}),
|
|
100
|
-
s("span", null, f(
|
|
100
|
+
s("span", null, f(re.childrenCount), 1)
|
|
101
101
|
], 64)) : _("", !0),
|
|
102
|
-
|
|
102
|
+
U[5] || (U[5] = Xe(") "))
|
|
103
103
|
])
|
|
104
104
|
]),
|
|
105
105
|
s("b", null, [
|
|
106
|
-
s("span", null, f(e(
|
|
106
|
+
s("span", null, f(e(oe)(re.totalPrice, e(o))), 1),
|
|
107
107
|
_("", !0)
|
|
108
108
|
])
|
|
109
109
|
]),
|
|
110
|
-
Te(
|
|
110
|
+
Te(re.roomAddons) > 0 ? (d(), h("li", Wo, [
|
|
111
111
|
s("span", null, f(e(t)("general.addons")), 1),
|
|
112
|
-
s("b", null, f(e(
|
|
112
|
+
s("b", null, f(e(oe)(Te(re.roomAddons), e(o))), 1)
|
|
113
113
|
])) : _("", !0)
|
|
114
114
|
]))), 128))
|
|
115
115
|
]))), 128))
|
|
116
116
|
]))), 128)) : _("", !0),
|
|
117
|
-
e(m) && e(
|
|
117
|
+
e(m) && e(g) ? (d(), h("div", Ko, [
|
|
118
118
|
s("h6", null, [
|
|
119
|
-
s("span", null, f(e(
|
|
119
|
+
s("span", null, f(e(ae)(e(g).name)), 1)
|
|
120
120
|
]),
|
|
121
121
|
s("div", null, [
|
|
122
122
|
s("ul", null, [
|
|
123
123
|
s("li", null, [
|
|
124
124
|
s("span", null, [
|
|
125
|
-
s("span", null, f(e(
|
|
125
|
+
s("span", null, f(e(ae)(e(m).title)), 1)
|
|
126
126
|
]),
|
|
127
127
|
s("b", null, [
|
|
128
|
-
s("span", null, f(e(
|
|
128
|
+
s("span", null, f(e(oe)(e(j), e(o))), 1)
|
|
129
129
|
])
|
|
130
130
|
]),
|
|
131
131
|
e(Y) ? (d(), h("li", Jo, [
|
|
132
132
|
s("span", null, f(e(t)("general.addons")), 1),
|
|
133
|
-
s("b", null, f(e(
|
|
133
|
+
s("b", null, f(e(oe)(e(Y), e(o))), 1)
|
|
134
134
|
])) : _("", !0)
|
|
135
135
|
])
|
|
136
136
|
])
|
|
@@ -139,23 +139,23 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
139
139
|
actions: C(() => [
|
|
140
140
|
s("ul", zo, [
|
|
141
141
|
e(n) ? _("", !0) : (d(), h("div", Yo, [
|
|
142
|
-
|
|
142
|
+
v(et, {
|
|
143
143
|
modelValue: e(T),
|
|
144
|
-
"onUpdate:modelValue":
|
|
144
|
+
"onUpdate:modelValue": U[0] || (U[0] = (B) => F(T) ? T.value = B : null),
|
|
145
145
|
type: "checkbox",
|
|
146
146
|
name: "newsletter",
|
|
147
147
|
label: e(t)("booking.reservation.newsletterSignUp")
|
|
148
148
|
}, null, 8, ["modelValue", "label"])
|
|
149
149
|
])),
|
|
150
|
-
e(z) ? (d(), D(
|
|
150
|
+
e(z) ? (d(), D(et, {
|
|
151
151
|
key: 1,
|
|
152
|
-
modelValue: e(
|
|
153
|
-
"onUpdate:modelValue":
|
|
152
|
+
modelValue: e(E),
|
|
153
|
+
"onUpdate:modelValue": U[2] || (U[2] = (B) => F(E) ? E.value = B : null),
|
|
154
154
|
type: "checkbox",
|
|
155
155
|
name: "terms"
|
|
156
156
|
}, {
|
|
157
157
|
default: C(() => [
|
|
158
|
-
|
|
158
|
+
v(e(co), {
|
|
159
159
|
keypath: "general.termsAndConditionsCheckbox",
|
|
160
160
|
tag: "span",
|
|
161
161
|
scope: "global"
|
|
@@ -163,9 +163,9 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
163
163
|
terms: C(() => [
|
|
164
164
|
s("a", {
|
|
165
165
|
class: "konnectio-accept-terms-link",
|
|
166
|
-
onClick:
|
|
166
|
+
onClick: U[1] || (U[1] = Tt((B) => _e.value = !0, ["prevent"]))
|
|
167
167
|
}, [
|
|
168
|
-
s("span", null, f(e(
|
|
168
|
+
s("span", null, f(e(Je)(e(t)("general.termsAndConditions"))), 1)
|
|
169
169
|
])
|
|
170
170
|
]),
|
|
171
171
|
_: 1
|
|
@@ -173,37 +173,37 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
173
173
|
]),
|
|
174
174
|
_: 1
|
|
175
175
|
}, 8, ["modelValue"])) : _("", !0),
|
|
176
|
-
|
|
177
|
-
|
|
176
|
+
Ke(Q.$slots, "actions", {}, void 0, !0),
|
|
177
|
+
v(Eo, {
|
|
178
178
|
modelValue: _e.value,
|
|
179
|
-
"onUpdate:modelValue":
|
|
180
|
-
description: e(
|
|
179
|
+
"onUpdate:modelValue": U[3] || (U[3] = (B) => _e.value = B),
|
|
180
|
+
description: e(S)
|
|
181
181
|
}, null, 8, ["modelValue", "description"])
|
|
182
182
|
])
|
|
183
183
|
]),
|
|
184
184
|
navigation: C(() => [
|
|
185
|
-
|
|
185
|
+
Ke(Q.$slots, "navigation", {}, void 0, !0)
|
|
186
186
|
]),
|
|
187
187
|
"mobile-under-price": C(() => [
|
|
188
|
-
|
|
189
|
-
s("b", null, f(e(we)(e(P), e($))) + " " + f(e(
|
|
190
|
-
|
|
191
|
-
|
|
188
|
+
U[6] || (U[6] = s("span", null, "For ", -1)),
|
|
189
|
+
s("b", null, f(e(we)(e(P), e($))) + " " + f(e(Je)(e(we)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1),
|
|
190
|
+
Se((d(), h("span", Qo, [
|
|
191
|
+
v(x, {
|
|
192
192
|
icon: "circle-info",
|
|
193
193
|
type: "fas"
|
|
194
194
|
})
|
|
195
195
|
])), [
|
|
196
196
|
[fe, {
|
|
197
|
-
content: `<span>(${e(
|
|
197
|
+
content: `<span>(${e(te)(e(P))} - ${e(te)(e($))})</span>`,
|
|
198
198
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
199
199
|
html: !0
|
|
200
200
|
}]
|
|
201
201
|
])
|
|
202
202
|
]),
|
|
203
203
|
"mobile-summary": C(() => [
|
|
204
|
-
s("span", null, f(`${e(
|
|
205
|
-
s("span", null, f(`${e(
|
|
206
|
-
s("span", null, f(`${e(
|
|
204
|
+
s("span", null, f(`${e(ne)} ${e(ne) === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1),
|
|
205
|
+
s("span", null, f(`${e(le)} ${e(le) === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1),
|
|
206
|
+
s("span", null, f(`${e(G)} ${e(G) === 1 ? e(t)("booking.reservation.room") : e(t)("booking.reservation.rooms")}`), 1)
|
|
207
207
|
]),
|
|
208
208
|
_: 2
|
|
209
209
|
}, [
|
|
@@ -213,50 +213,50 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
213
213
|
e(be) ? (d(), h("li", qo, [
|
|
214
214
|
s("span", null, f(e(t)("general.location")), 1),
|
|
215
215
|
s("b", null, [
|
|
216
|
-
s("span", null, f(e(
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
s("span", null, f(e(Ue)(e(L))), 1),
|
|
217
|
+
Se(s("span", Go, [
|
|
218
|
+
v(x, {
|
|
219
219
|
icon: "exclamation-triangle",
|
|
220
220
|
type: "fas"
|
|
221
221
|
})
|
|
222
222
|
], 512), [
|
|
223
|
-
[
|
|
223
|
+
[We, e(N)]
|
|
224
224
|
])
|
|
225
225
|
])
|
|
226
226
|
])) : _("", !0),
|
|
227
227
|
s("li", null, [
|
|
228
228
|
s("span", null, f(e(t)("booking.reservation.arrival")), 1),
|
|
229
229
|
s("b", null, [
|
|
230
|
-
s("span", null, f(e(a)(e(L)) ? `${e(
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
s("span", null, f(e(a)(e(L)) ? `${e(te)(e(P))}, ${e(i)}` : e(te)(e(P))), 1),
|
|
231
|
+
Se(s("span", jo, [
|
|
232
|
+
v(x, {
|
|
233
233
|
icon: "exclamation-triangle",
|
|
234
234
|
type: "fas"
|
|
235
235
|
})
|
|
236
236
|
], 512), [
|
|
237
|
-
[
|
|
237
|
+
[We, e(M)]
|
|
238
238
|
])
|
|
239
239
|
])
|
|
240
240
|
]),
|
|
241
241
|
s("li", null, [
|
|
242
242
|
s("span", null, f(e(t)("booking.reservation.departure")), 1),
|
|
243
243
|
s("b", null, [
|
|
244
|
-
s("span", null, f(e(a)(e(L)) ? `${e(
|
|
245
|
-
|
|
246
|
-
|
|
244
|
+
s("span", null, f(e(a)(e(L)) ? `${e(te)(e($))}, ${e(r)}` : e(te)(e($))), 1),
|
|
245
|
+
Se(s("span", xo, [
|
|
246
|
+
v(x, {
|
|
247
247
|
icon: "exclamation-triangle",
|
|
248
248
|
type: "fas"
|
|
249
249
|
})
|
|
250
250
|
], 512), [
|
|
251
|
-
[
|
|
251
|
+
[We, e(M)]
|
|
252
252
|
])
|
|
253
253
|
])
|
|
254
254
|
]),
|
|
255
255
|
s("li", null, [
|
|
256
256
|
s("span", null, f(e(t)("booking.reservation.nights")), 1),
|
|
257
|
-
s("b", null, f(e(we)(e(P), e($))) + " " + f(e(
|
|
257
|
+
s("b", null, f(e(we)(e(P), e($))) + " " + f(e(Je)(e(we)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1)
|
|
258
258
|
]),
|
|
259
|
-
e(w) ? (d(!0), h(O, { key: 1 },
|
|
259
|
+
e(w) ? (d(!0), h(O, { key: 1 }, q(e(w), (B) => (d(), h("li", {
|
|
260
260
|
key: B.id
|
|
261
261
|
}, [
|
|
262
262
|
s("span", null, f(`${e(t)("general.discountCode")} (${B.value})`), 1),
|
|
@@ -268,7 +268,7 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
268
268
|
]), 1032, ["discount-code", "validate-discount-code", "total-price", "weekend-fee", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
|
-
}),
|
|
271
|
+
}), Ye = /* @__PURE__ */ me(Xo, [["__scopeId", "data-v-e8b9b2ba"]]), Zo = { class: "konnectio-room-config-option" }, en = { key: 0 }, tn = { class: "konnectio-selected-room-config" }, on = { class: "konnectio-selected-room-config-people" }, nn = { key: 0 }, ln = { class: "konnectio-selected-room-config-price" }, an = /* @__PURE__ */ Z({
|
|
272
272
|
__name: "RoomConfigField",
|
|
273
273
|
props: {
|
|
274
274
|
modelValue: {},
|
|
@@ -279,7 +279,7 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
279
279
|
},
|
|
280
280
|
emits: ["update:modelValue"],
|
|
281
281
|
setup(l, { emit: t }) {
|
|
282
|
-
const { t: n } =
|
|
282
|
+
const { t: n } = se(), { currency: o } = X(he()), a = t, i = l;
|
|
283
283
|
function r(c) {
|
|
284
284
|
a("update:modelValue", c);
|
|
285
285
|
}
|
|
@@ -287,9 +287,9 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
287
287
|
get: () => i.modelValue,
|
|
288
288
|
set: (c) => r(c)
|
|
289
289
|
});
|
|
290
|
-
return (c, u) => (d(), D(
|
|
290
|
+
return (c, u) => (d(), D(Ie, {
|
|
291
291
|
modelValue: p.value,
|
|
292
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
292
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => p.value = y),
|
|
293
293
|
label: c.label,
|
|
294
294
|
placeholder: "Select guest configuration",
|
|
295
295
|
labelKey: "label",
|
|
@@ -300,42 +300,42 @@ const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
300
300
|
required: c.required,
|
|
301
301
|
searchable: !1
|
|
302
302
|
}, {
|
|
303
|
-
option: C(({ data:
|
|
303
|
+
option: C(({ data: y }) => [
|
|
304
304
|
s("span", Zo, [
|
|
305
305
|
s("div", null, [
|
|
306
|
-
|
|
306
|
+
v(x, {
|
|
307
307
|
icon: "male",
|
|
308
308
|
type: "fas",
|
|
309
309
|
color: "font"
|
|
310
310
|
}),
|
|
311
|
-
s("span", null, f(`${
|
|
312
|
-
|
|
313
|
-
|
|
311
|
+
s("span", null, f(`${y.adults}`), 1),
|
|
312
|
+
y.children > 0 ? (d(), h("span", en, [
|
|
313
|
+
v(x, {
|
|
314
314
|
icon: "child",
|
|
315
315
|
type: "fas",
|
|
316
316
|
color: "font"
|
|
317
317
|
}),
|
|
318
|
-
s("span", null, f(`${
|
|
318
|
+
s("span", null, f(`${y.children}`), 1)
|
|
319
319
|
])) : _("", !0)
|
|
320
320
|
]),
|
|
321
|
-
s("span", null, f(`(${e(
|
|
321
|
+
s("span", null, f(`(${e(oe)(y.price, e(o))})`), 1)
|
|
322
322
|
])
|
|
323
323
|
]),
|
|
324
|
-
"selected-option": C(({ data:
|
|
324
|
+
"selected-option": C(({ data: y }) => [
|
|
325
325
|
s("div", tn, [
|
|
326
326
|
s("div", on, [
|
|
327
327
|
s("div", null, [
|
|
328
328
|
_("", !0),
|
|
329
|
-
s("span", null, f(`${
|
|
329
|
+
s("span", null, f(`${y.adults} ${y.adults === 1 ? e(n)("general.adult") : e(n)("general.adults")}`), 1)
|
|
330
330
|
]),
|
|
331
|
-
|
|
331
|
+
y.children > 0 ? (d(), h("div", nn, [
|
|
332
332
|
_("", !0),
|
|
333
|
-
s("span", null, f(`& ${
|
|
333
|
+
s("span", null, f(`& ${y.children} ${y.children === 1 ? e(n)("general.child") : e(n)("general.children")}`), 1)
|
|
334
334
|
])) : _("", !0)
|
|
335
335
|
]),
|
|
336
336
|
s("div", ln, [
|
|
337
337
|
u[1] || (u[1] = s("span", null, null, -1)),
|
|
338
|
-
|
|
338
|
+
Xe(" " + f(`(${e(oe)(y.price, e(o))})`), 1)
|
|
339
339
|
])
|
|
340
340
|
])
|
|
341
341
|
]),
|
|
@@ -350,7 +350,7 @@ const pn = /* @__PURE__ */ Z({
|
|
|
350
350
|
layout: {}
|
|
351
351
|
},
|
|
352
352
|
setup(l) {
|
|
353
|
-
const { t } =
|
|
353
|
+
const { t } = se(), n = l, o = ie([]);
|
|
354
354
|
function a(T) {
|
|
355
355
|
o.value[T].config.push({
|
|
356
356
|
id: NaN,
|
|
@@ -361,15 +361,15 @@ const pn = /* @__PURE__ */ Z({
|
|
|
361
361
|
const i = K(() => n.room.rates.map((T) => ({
|
|
362
362
|
label: T.name,
|
|
363
363
|
value: T.id
|
|
364
|
-
}))), { hideAvailableRoomAmount: r, autoSelectRateId: p } = X(he()), { roomSelect: c } = X(ve()), { addToCart: u, removeFromCart:
|
|
365
|
-
value:
|
|
366
|
-
price:
|
|
367
|
-
adults:
|
|
368
|
-
children:
|
|
369
|
-
hasBreakfast:
|
|
364
|
+
}))), { hideAvailableRoomAmount: r, autoSelectRateId: p } = X(he()), { roomSelect: c } = X(ve()), { addToCart: u, removeFromCart: y } = Vt(), m = (T, S) => n.room.rates.find((H) => H.id === T)?.occupantRates.find((H) => H.index === S), g = K(() => n.room.rates.every((T) => T.isBreakfastIncluded === !0)), w = (T, S) => m(T, S) ? m(T, S)?.rooms : null, P = (T) => n.room.rates.length > 0 ? n.room.rates.find((S) => S.id === T)?.occupantRates.map((S) => ({
|
|
365
|
+
value: S.index,
|
|
366
|
+
price: S.totalPrice,
|
|
367
|
+
adults: S.adultsCount,
|
|
368
|
+
children: S.childrenCount,
|
|
369
|
+
hasBreakfast: S.hasBreakfast
|
|
370
370
|
})) || [] : [], $ = K(() => n.room.rates.length > 1);
|
|
371
|
-
function
|
|
372
|
-
o.value[T].config[0].id = n.room.rates.find((
|
|
371
|
+
function M(T, S) {
|
|
372
|
+
o.value[T].config[0].id = n.room.rates.find((H) => H.id === S.value)?.occupantRateIndex || NaN;
|
|
373
373
|
}
|
|
374
374
|
function L() {
|
|
375
375
|
$.value ? p.value ? o.value.push({
|
|
@@ -399,15 +399,15 @@ const pn = /* @__PURE__ */ Z({
|
|
|
399
399
|
L();
|
|
400
400
|
});
|
|
401
401
|
const N = K(() => JSON.parse(JSON.stringify(o.value)));
|
|
402
|
-
return Ne(N, (T,
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
const
|
|
406
|
-
|
|
402
|
+
return Ne(N, (T, S) => {
|
|
403
|
+
S.length > 0 && T.forEach((H, z) => {
|
|
404
|
+
H.config.forEach((E, Y) => {
|
|
405
|
+
const G = E.units, ne = S[z].config[Y].units;
|
|
406
|
+
G !== ne && (G > ne ? (o.value[z].config[Y].addons.push({}), u({
|
|
407
407
|
id: n.room.id,
|
|
408
408
|
name: n.room.title,
|
|
409
409
|
value: n.room.rates[z].rackRate
|
|
410
|
-
})) : (o.value[z].config[Y].addons.pop(),
|
|
410
|
+
})) : (o.value[z].config[Y].addons.pop(), y({
|
|
411
411
|
id: n.room.id,
|
|
412
412
|
name: n.room.title,
|
|
413
413
|
value: n.room.rates[z].rackRate
|
|
@@ -416,7 +416,7 @@ const pn = /* @__PURE__ */ Z({
|
|
|
416
416
|
});
|
|
417
417
|
}, { deep: !0 }), Ne(o, () => {
|
|
418
418
|
c.value[n.room.id] = o.value;
|
|
419
|
-
}, { deep: !0 }), (T,
|
|
419
|
+
}, { deep: !0 }), (T, S) => (d(), D(Le, {
|
|
420
420
|
type: "hotel",
|
|
421
421
|
"listing-id": T.room.id,
|
|
422
422
|
gallery: T.room.images,
|
|
@@ -425,59 +425,59 @@ const pn = /* @__PURE__ */ Z({
|
|
|
425
425
|
layout: T.layout,
|
|
426
426
|
facilities: T.room.facilities,
|
|
427
427
|
"prices-from": T.room.pricesFrom,
|
|
428
|
-
"includes-breakfast":
|
|
428
|
+
"includes-breakfast": g.value
|
|
429
429
|
}, {
|
|
430
430
|
action: C(() => [
|
|
431
431
|
s("div", rn, [
|
|
432
|
-
(d(!0), h(O, null,
|
|
433
|
-
key:
|
|
432
|
+
(d(!0), h(O, null, q(o.value, (H, z) => (d(), h("div", {
|
|
433
|
+
key: H.id,
|
|
434
434
|
class: "konnectio-hotel-room"
|
|
435
435
|
}, [
|
|
436
|
-
$.value ? (d(), D(
|
|
436
|
+
$.value ? (d(), D(Ie, {
|
|
437
437
|
key: 0,
|
|
438
|
-
modelValue:
|
|
439
|
-
"onUpdate:modelValue": (
|
|
438
|
+
modelValue: H.id,
|
|
439
|
+
"onUpdate:modelValue": (E) => H.id = E,
|
|
440
440
|
label: e(t)("hotel.roomVariant"),
|
|
441
441
|
placeholder: e(t)("hotel.chooseARoomVariant"),
|
|
442
442
|
options: i.value,
|
|
443
443
|
searchable: !1,
|
|
444
|
-
onChanged: (
|
|
444
|
+
onChanged: (E) => M(z, E)
|
|
445
445
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) : _("", !0),
|
|
446
|
-
|
|
447
|
-
(d(!0), h(O, null,
|
|
448
|
-
id:
|
|
446
|
+
H.id ? (d(), h("div", dn, [
|
|
447
|
+
(d(!0), h(O, null, q(T.room.rates, ({
|
|
448
|
+
id: E,
|
|
449
449
|
maximumOccupants: Y
|
|
450
450
|
}) => (d(), h("div", {
|
|
451
|
-
key:
|
|
451
|
+
key: E,
|
|
452
452
|
class: "konnectio-listing-action-selective-i"
|
|
453
453
|
}, [
|
|
454
|
-
|
|
455
|
-
key:
|
|
454
|
+
H.id === E ? (d(!0), h(O, { key: 0 }, q(H.config, (G, ne) => (d(), h("div", {
|
|
455
|
+
key: ne,
|
|
456
456
|
class: "konnectio-listing-action-selective"
|
|
457
457
|
}, [
|
|
458
458
|
s("ul", un, [
|
|
459
|
-
|
|
460
|
-
modelValue:
|
|
461
|
-
"onUpdate:modelValue": (
|
|
459
|
+
v(sn, {
|
|
460
|
+
modelValue: G.id,
|
|
461
|
+
"onUpdate:modelValue": (le) => G.id = le,
|
|
462
462
|
icon: "male",
|
|
463
463
|
"icon-type": "fas",
|
|
464
464
|
label: e(t)("general.guests"),
|
|
465
465
|
description: Y === 0 ? void 0 : `${e(t)("general.maximumGuests")}: ${Y}`,
|
|
466
|
-
options: P(
|
|
467
|
-
readonly: !(P(
|
|
466
|
+
options: P(E),
|
|
467
|
+
readonly: !(P(E).length > 1)
|
|
468
468
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
469
469
|
]),
|
|
470
470
|
s("ul", cn, [
|
|
471
|
-
|
|
472
|
-
modelValue:
|
|
473
|
-
"onUpdate:modelValue": (
|
|
474
|
-
description: e(r) ? void 0 : `${e(t)("booking.availability.availableUnits")}: ${w(
|
|
471
|
+
v(Ze, {
|
|
472
|
+
modelValue: G.units,
|
|
473
|
+
"onUpdate:modelValue": (le) => G.units = le,
|
|
474
|
+
description: e(r) ? void 0 : `${e(t)("booking.availability.availableUnits")}: ${w(H.id, G.id)}`,
|
|
475
475
|
icon: "house",
|
|
476
476
|
"icon-type": "fas",
|
|
477
477
|
"icon-placement": "label",
|
|
478
478
|
label: e(t)("booking.availability.units"),
|
|
479
479
|
minValue: 0,
|
|
480
|
-
"max-value": w(
|
|
480
|
+
"max-value": w(E, G.id) || 1 / 0
|
|
481
481
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
482
482
|
]),
|
|
483
483
|
_("", !0)
|
|
@@ -500,49 +500,49 @@ const pn = /* @__PURE__ */ Z({
|
|
|
500
500
|
callback: { type: Function }
|
|
501
501
|
},
|
|
502
502
|
setup(l) {
|
|
503
|
-
const { t } =
|
|
504
|
-
function m(
|
|
505
|
-
return c.value === !0 ?
|
|
503
|
+
const { t } = se(), { templateID: n, roomGroupID: o, selectionHasNoAddons: a } = X(ve()), { currency: i } = X(he()), { clearRoomSelection: r } = ve(), p = l, c = ie(!0), u = K(() => {
|
|
504
|
+
function m(g, w) {
|
|
505
|
+
return c.value === !0 ? g.extraPrice > w.extraPrice ? -1 : 1 : g.extraPrice > w.extraPrice ? 1 : -1;
|
|
506
506
|
}
|
|
507
507
|
return p.roomGroups?.slice().sort(m);
|
|
508
508
|
});
|
|
509
|
-
function
|
|
509
|
+
function y(m) {
|
|
510
510
|
if (n.value = p.templateId, o.value = m, r(), p.hideAddons === !1 && a.value == !1) {
|
|
511
511
|
p.callback(1);
|
|
512
512
|
return;
|
|
513
513
|
}
|
|
514
514
|
p.callback(2);
|
|
515
515
|
}
|
|
516
|
-
return (m,
|
|
516
|
+
return (m, g) => (d(), D(Uo, {
|
|
517
517
|
title: m.title,
|
|
518
518
|
subtitle: e(t)("booking.availability.selectATemplateRoom")
|
|
519
519
|
}, {
|
|
520
520
|
default: C(() => [
|
|
521
521
|
s("div", fn, [
|
|
522
522
|
s("div", hn, [
|
|
523
|
-
(d(!0), h(O, null,
|
|
523
|
+
(d(!0), h(O, null, q(u.value, ({
|
|
524
524
|
id: w,
|
|
525
525
|
title: P,
|
|
526
526
|
description: $,
|
|
527
|
-
images:
|
|
527
|
+
images: M,
|
|
528
528
|
facilities: L,
|
|
529
529
|
extraPrice: N
|
|
530
|
-
}) => (d(), D(
|
|
530
|
+
}) => (d(), D(Le, {
|
|
531
531
|
type: "hotel",
|
|
532
532
|
key: w,
|
|
533
533
|
"listing-id": w,
|
|
534
534
|
name: P,
|
|
535
535
|
description: $,
|
|
536
536
|
facilities: L,
|
|
537
|
-
gallery:
|
|
537
|
+
gallery: M,
|
|
538
538
|
"includes-breakfast": !1,
|
|
539
539
|
"hide-info-button": !0
|
|
540
540
|
}, {
|
|
541
541
|
action: C(() => [
|
|
542
542
|
s("div", null, [
|
|
543
|
-
|
|
544
|
-
onClickEvent: (T) =>
|
|
545
|
-
label: `${e(t)("booking.availability.selectThisRoom")} (${e(
|
|
543
|
+
v(pe, {
|
|
544
|
+
onClickEvent: (T) => y(w),
|
|
545
|
+
label: `${e(t)("booking.availability.selectThisRoom")} (${e(oe)(N, e(i))})`,
|
|
546
546
|
"full-width": ""
|
|
547
547
|
}, null, 8, ["onClickEvent", "label"])
|
|
548
548
|
])
|
|
@@ -555,7 +555,7 @@ const pn = /* @__PURE__ */ Z({
|
|
|
555
555
|
_: 1
|
|
556
556
|
}, 8, ["title", "subtitle"]));
|
|
557
557
|
}
|
|
558
|
-
}), yn = /* @__PURE__ */ me(vn, [["__scopeId", "data-v-d65a8a63"]]),
|
|
558
|
+
}), yn = /* @__PURE__ */ me(vn, [["__scopeId", "data-v-d65a8a63"]]), gn = { class: "konnectio-template-select-package" }, kn = /* @__PURE__ */ Z({
|
|
559
559
|
__name: "Template",
|
|
560
560
|
props: {
|
|
561
561
|
id: {},
|
|
@@ -568,7 +568,7 @@ const pn = /* @__PURE__ */ Z({
|
|
|
568
568
|
callback: { type: Function }
|
|
569
569
|
},
|
|
570
570
|
setup(l) {
|
|
571
|
-
const { t } =
|
|
571
|
+
const { t } = se(), n = l, o = K(() => n.roomGroups.reduce(
|
|
572
572
|
(c, u) => c < u.extraPrice ? c : u.extraPrice,
|
|
573
573
|
1 / 0
|
|
574
574
|
)), a = K(() => {
|
|
@@ -579,14 +579,14 @@ const pn = /* @__PURE__ */ Z({
|
|
|
579
579
|
thumb: n.image.url,
|
|
580
580
|
url: n.image.url
|
|
581
581
|
}];
|
|
582
|
-
}), i =
|
|
582
|
+
}), i = ie(!1);
|
|
583
583
|
function r() {
|
|
584
584
|
i.value = !0;
|
|
585
585
|
}
|
|
586
586
|
function p(c) {
|
|
587
587
|
n.callback(c), i.value = !1;
|
|
588
588
|
}
|
|
589
|
-
return (c, u) => (d(), D(
|
|
589
|
+
return (c, u) => (d(), D(Le, {
|
|
590
590
|
type: "template",
|
|
591
591
|
"listing-id": c.id,
|
|
592
592
|
name: c.name,
|
|
@@ -598,8 +598,8 @@ const pn = /* @__PURE__ */ Z({
|
|
|
598
598
|
"prices-from": o.value
|
|
599
599
|
}, {
|
|
600
600
|
action: C(() => [
|
|
601
|
-
s("div",
|
|
602
|
-
|
|
601
|
+
s("div", gn, [
|
|
602
|
+
v(pe, {
|
|
603
603
|
onClickEvent: r,
|
|
604
604
|
label: e(t)("booking.availability.selectPackage"),
|
|
605
605
|
"full-width": ""
|
|
@@ -607,9 +607,9 @@ const pn = /* @__PURE__ */ Z({
|
|
|
607
607
|
])
|
|
608
608
|
]),
|
|
609
609
|
default: C(() => [
|
|
610
|
-
|
|
610
|
+
v(yn, {
|
|
611
611
|
modelValue: i.value,
|
|
612
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
612
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => i.value = y),
|
|
613
613
|
title: c.name,
|
|
614
614
|
"template-id": c.id,
|
|
615
615
|
"room-groups": c.roomGroups,
|
|
@@ -633,7 +633,7 @@ const pn = /* @__PURE__ */ Z({
|
|
|
633
633
|
roomGroups: {}
|
|
634
634
|
},
|
|
635
635
|
setup(l) {
|
|
636
|
-
const { t } =
|
|
636
|
+
const { t } = se(), { updateDates: n } = Ce(), { display: o } = Ct(), a = l, i = ie([]), r = K(() => we(a.fromDate, a.toDate) === 1), p = K(() => [{
|
|
637
637
|
large: a.image.url,
|
|
638
638
|
medium: a.image.url,
|
|
639
639
|
thumb: a.image.url,
|
|
@@ -647,7 +647,7 @@ const pn = /* @__PURE__ */ Z({
|
|
|
647
647
|
}
|
|
648
648
|
return at(() => {
|
|
649
649
|
r.value && (i.value = [new Date(a.fromDate), new Date(a.toDate)]);
|
|
650
|
-
}), (u,
|
|
650
|
+
}), (u, y) => (d(), D(Le, {
|
|
651
651
|
type: "template",
|
|
652
652
|
"listing-id": u.id,
|
|
653
653
|
name: u.name,
|
|
@@ -661,9 +661,9 @@ const pn = /* @__PURE__ */ Z({
|
|
|
661
661
|
}, {
|
|
662
662
|
action: C(() => [
|
|
663
663
|
s("div", bn, [
|
|
664
|
-
|
|
664
|
+
v($t, {
|
|
665
665
|
modelValue: i.value,
|
|
666
|
-
"onUpdate:modelValue":
|
|
666
|
+
"onUpdate:modelValue": y[0] || (y[0] = (m) => i.value = m),
|
|
667
667
|
label: e(t)("availability.checkInOut"),
|
|
668
668
|
placeholder: e(t)("booking.availability.selectDates"),
|
|
669
669
|
"icon-type": "fas",
|
|
@@ -676,7 +676,7 @@ const pn = /* @__PURE__ */ Z({
|
|
|
676
676
|
range: ""
|
|
677
677
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
678
678
|
s("div", _n, [
|
|
679
|
-
|
|
679
|
+
v(pe, {
|
|
680
680
|
label: e(t)("availability.buttonLabel"),
|
|
681
681
|
onClick: Tt(c, ["prevent"])
|
|
682
682
|
}, null, 8, ["label"])
|
|
@@ -708,7 +708,7 @@ const pn = /* @__PURE__ */ Z({
|
|
|
708
708
|
function a(r) {
|
|
709
709
|
n("update:modelValue", r);
|
|
710
710
|
}
|
|
711
|
-
const i =
|
|
711
|
+
const i = ie(o.modelValue);
|
|
712
712
|
return Ne(i, (r) => {
|
|
713
713
|
a(r);
|
|
714
714
|
}), (r, p) => (d(), D($t, {
|
|
@@ -740,7 +740,7 @@ const pn = /* @__PURE__ */ Z({
|
|
|
740
740
|
},
|
|
741
741
|
emits: ["update:modelValue"],
|
|
742
742
|
setup(l, { emit: t }) {
|
|
743
|
-
const { t: n } =
|
|
743
|
+
const { t: n } = se(), o = t, a = l;
|
|
744
744
|
function i(p) {
|
|
745
745
|
o("update:modelValue", p);
|
|
746
746
|
}
|
|
@@ -748,7 +748,7 @@ const pn = /* @__PURE__ */ Z({
|
|
|
748
748
|
get: () => a.modelValue,
|
|
749
749
|
set: (p) => i(p)
|
|
750
750
|
});
|
|
751
|
-
return (p, c) => (d(), D(
|
|
751
|
+
return (p, c) => (d(), D(Ie, {
|
|
752
752
|
modelValue: r.value,
|
|
753
753
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => r.value = u),
|
|
754
754
|
label: p.label,
|
|
@@ -797,17 +797,17 @@ const pn = /* @__PURE__ */ Z({
|
|
|
797
797
|
},
|
|
798
798
|
emits: ["update:modelValue", "update:title"],
|
|
799
799
|
setup(l, { emit: t }) {
|
|
800
|
-
const n = l, o = t, a = n.id || pt(), i =
|
|
800
|
+
const n = l, o = t, a = n.id || pt(), i = ie(""), r = ie(2);
|
|
801
801
|
function p() {
|
|
802
802
|
o("update:modelValue", i.value);
|
|
803
803
|
}
|
|
804
804
|
Ne(r, (u) => {
|
|
805
805
|
o("update:title", u);
|
|
806
806
|
});
|
|
807
|
-
const { t: c } =
|
|
807
|
+
const { t: c } = se();
|
|
808
808
|
return at(() => {
|
|
809
809
|
n.modelValue && (i.value = n.modelValue), n.title && (r.value = n.title);
|
|
810
|
-
}), (u,
|
|
810
|
+
}), (u, y) => (d(), D(To, {
|
|
811
811
|
label: u.label,
|
|
812
812
|
id: e(a),
|
|
813
813
|
required: u.required,
|
|
@@ -822,10 +822,10 @@ const pn = /* @__PURE__ */ Z({
|
|
|
822
822
|
{ "no-title": u.excludeTitle }
|
|
823
823
|
])
|
|
824
824
|
}, [
|
|
825
|
-
u.excludeTitle ? _("", !0) : (d(), D(
|
|
825
|
+
u.excludeTitle ? _("", !0) : (d(), D(Ie, {
|
|
826
826
|
key: 0,
|
|
827
827
|
modelValue: r.value,
|
|
828
|
-
"onUpdate:modelValue":
|
|
828
|
+
"onUpdate:modelValue": y[0] || (y[0] = (m) => r.value = m),
|
|
829
829
|
id: e(pt)(),
|
|
830
830
|
icon: u.icon,
|
|
831
831
|
"icon-color": u.iconColor,
|
|
@@ -857,9 +857,9 @@ const pn = /* @__PURE__ */ Z({
|
|
|
857
857
|
"input-style": u.inputStyle,
|
|
858
858
|
searchable: !1
|
|
859
859
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
860
|
-
|
|
860
|
+
v(ue, {
|
|
861
861
|
modelValue: i.value,
|
|
862
|
-
"onUpdate:modelValue":
|
|
862
|
+
"onUpdate:modelValue": y[1] || (y[1] = (m) => i.value = m),
|
|
863
863
|
type: "text",
|
|
864
864
|
name: "name",
|
|
865
865
|
autocomplete: "name",
|
|
@@ -871,7 +871,7 @@ const pn = /* @__PURE__ */ Z({
|
|
|
871
871
|
required: u.required,
|
|
872
872
|
readonly: u.readonly,
|
|
873
873
|
limit: u.limit,
|
|
874
|
-
onInput:
|
|
874
|
+
onInput: y[2] || (y[2] = (m) => p()),
|
|
875
875
|
"input-style": u.inputStyle
|
|
876
876
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
877
877
|
], 2)
|
|
@@ -879,16 +879,16 @@ const pn = /* @__PURE__ */ Z({
|
|
|
879
879
|
_: 1
|
|
880
880
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
881
881
|
}
|
|
882
|
-
}), Pn = /* @__PURE__ */ me($n, [["__scopeId", "data-v-e288c8ae"]]), An = { class: "hotel-skeleton" },
|
|
882
|
+
}), Pn = /* @__PURE__ */ me($n, [["__scopeId", "data-v-e288c8ae"]]), An = { class: "hotel-skeleton" }, Sn = { class: "hotel-skeleton-content" }, Hn = { class: "hotel-skeleton-sidebar" }, Dn = /* @__PURE__ */ Z({
|
|
883
883
|
__name: "HotelSkeleton",
|
|
884
884
|
setup(l) {
|
|
885
885
|
return (t, n) => (d(), h("div", An, [
|
|
886
|
-
s("div", Hn, [
|
|
887
|
-
y(Io, { hotel: "" }),
|
|
888
|
-
y(Ho)
|
|
889
|
-
]),
|
|
890
886
|
s("div", Sn, [
|
|
891
|
-
|
|
887
|
+
v(Io, { hotel: "" }),
|
|
888
|
+
v(So)
|
|
889
|
+
]),
|
|
890
|
+
s("div", Hn, [
|
|
891
|
+
v(Ho)
|
|
892
892
|
])
|
|
893
893
|
]));
|
|
894
894
|
}
|
|
@@ -896,10 +896,10 @@ const pn = /* @__PURE__ */ Z({
|
|
|
896
896
|
const Bn = { key: 1 }, In = { key: 0 }, Ln = {
|
|
897
897
|
key: 0,
|
|
898
898
|
id: "booking-availability-packages"
|
|
899
|
-
},
|
|
899
|
+
}, En = {
|
|
900
900
|
key: 0,
|
|
901
901
|
class: "konnectio-hotel-availability-title"
|
|
902
|
-
},
|
|
902
|
+
}, Un = { id: "booking-availability-packages-wrapper" }, On = { key: 1 }, Fn = {
|
|
903
903
|
key: 0,
|
|
904
904
|
class: "konnectio-hotel-availability-title"
|
|
905
905
|
}, qn = { id: "konnectio-listings" }, Gn = {
|
|
@@ -947,48 +947,48 @@ const yl = /* @__PURE__ */ Z({
|
|
|
947
947
|
styling: {}
|
|
948
948
|
},
|
|
949
949
|
setup(l) {
|
|
950
|
-
const t = fo(() => import("./_-
|
|
950
|
+
const t = fo(() => import("./_-CAqjShU3.js")), n = l, { t: o } = se(), {
|
|
951
951
|
currentLocation: a,
|
|
952
952
|
templateID: i,
|
|
953
953
|
templateAddons: r,
|
|
954
954
|
countries: p,
|
|
955
955
|
areListingsLoading: c,
|
|
956
956
|
isPaymentLoading: u,
|
|
957
|
-
isReservationFormFilled:
|
|
957
|
+
isReservationFormFilled: y,
|
|
958
958
|
travelingFor: m,
|
|
959
|
-
arrivalTime:
|
|
959
|
+
arrivalTime: g,
|
|
960
960
|
departureTime: w,
|
|
961
961
|
name: P,
|
|
962
962
|
nameTitle: $,
|
|
963
|
-
email:
|
|
963
|
+
email: M,
|
|
964
964
|
phone: L,
|
|
965
965
|
firmName: N,
|
|
966
966
|
postal: T,
|
|
967
|
-
city:
|
|
968
|
-
address:
|
|
967
|
+
city: S,
|
|
968
|
+
address: H,
|
|
969
969
|
country: z,
|
|
970
|
-
remark:
|
|
970
|
+
remark: E,
|
|
971
971
|
allergies: Y,
|
|
972
|
-
roomSelect:
|
|
973
|
-
roomDisplay:
|
|
974
|
-
hasValidRoomSelection:
|
|
975
|
-
availabilityData:
|
|
976
|
-
selectionHasNoAddons:
|
|
972
|
+
roomSelect: G,
|
|
973
|
+
roomDisplay: ne,
|
|
974
|
+
hasValidRoomSelection: le,
|
|
975
|
+
availabilityData: j,
|
|
976
|
+
selectionHasNoAddons: ke,
|
|
977
977
|
isAvailabilityDataAvailable: be,
|
|
978
978
|
getSelectedPackageRoom: $e,
|
|
979
979
|
selectedPackage: Ee,
|
|
980
|
-
isSearchOutdated:
|
|
980
|
+
isSearchOutdated: Ue,
|
|
981
981
|
currentChildren: _e,
|
|
982
982
|
isTemplateReservation: Te,
|
|
983
983
|
newsMails: Q
|
|
984
984
|
} = X(ve()), {
|
|
985
|
-
adults:
|
|
985
|
+
adults: U,
|
|
986
986
|
children: fe,
|
|
987
987
|
location: B,
|
|
988
|
-
arrivalDate:
|
|
989
|
-
departureDate:
|
|
988
|
+
arrivalDate: Oe,
|
|
989
|
+
departureDate: Fe,
|
|
990
990
|
hasHotelLocations: Pe
|
|
991
|
-
} = X(Ce()), { isValidHotelId:
|
|
991
|
+
} = X(Ce()), { isValidHotelId: qe, updateDates: re } = Ce(), {
|
|
992
992
|
currency: Ve,
|
|
993
993
|
enableTracking: it,
|
|
994
994
|
disableNamePrefix: Mt,
|
|
@@ -998,13 +998,13 @@ const yl = /* @__PURE__ */ Z({
|
|
|
998
998
|
hasPaymentGateway: Lt,
|
|
999
999
|
maxAdultAmount: st,
|
|
1000
1000
|
maxChildAmount: rt,
|
|
1001
|
-
defaultAdultAmount:
|
|
1002
|
-
defaultChildAmount:
|
|
1001
|
+
defaultAdultAmount: Et,
|
|
1002
|
+
defaultChildAmount: Ut,
|
|
1003
1003
|
disableNewsletterSignup: Ot
|
|
1004
1004
|
} = X(he()), {
|
|
1005
1005
|
hasArrivalDepartureInputs: Ft,
|
|
1006
|
-
hasUserArrivalSelection:
|
|
1007
|
-
hasUserDepartureSelection:
|
|
1006
|
+
hasUserArrivalSelection: Ge,
|
|
1007
|
+
hasUserDepartureSelection: je,
|
|
1008
1008
|
earliestArrivalTime: qt,
|
|
1009
1009
|
latestArrivalTime: Gt,
|
|
1010
1010
|
earliestDepartureTime: jt,
|
|
@@ -1017,7 +1017,7 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1017
1017
|
fetchAvailabilityData: dt,
|
|
1018
1018
|
filterAddons: ut,
|
|
1019
1019
|
hasAvailableRoomAddons: Qt
|
|
1020
|
-
} = ve(), Xt =
|
|
1020
|
+
} = ve(), Xt = ie(!0), Zt = K(() => [
|
|
1021
1021
|
{
|
|
1022
1022
|
id: "availability",
|
|
1023
1023
|
label: o("booking.availability.title"),
|
|
@@ -1058,14 +1058,14 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1058
1058
|
value: "Bleasure"
|
|
1059
1059
|
}), b;
|
|
1060
1060
|
}), to = K(() => {
|
|
1061
|
-
const b =
|
|
1061
|
+
const b = j.value.roomGroups.slice();
|
|
1062
1062
|
function V(J, A) {
|
|
1063
1063
|
return Xt.value === !0 ? J.pricesFrom > A.pricesFrom ? -1 : 1 : J.pricesFrom > A.pricesFrom ? 1 : -1;
|
|
1064
1064
|
}
|
|
1065
1065
|
return n.sortBy === "price" ? b.sort(V) : b;
|
|
1066
|
-
}),
|
|
1066
|
+
}), xe = K(() => n.hideAddons === "yes" || Te.value && n.hideAddons === "packages" || !Te.value && n.hideAddons === "rooms");
|
|
1067
1067
|
function ct(b) {
|
|
1068
|
-
|
|
1068
|
+
xe.value || ke.value ? b(2) : b(), Jt();
|
|
1069
1069
|
}
|
|
1070
1070
|
async function oo(b, V) {
|
|
1071
1071
|
await zt(b, V);
|
|
@@ -1081,20 +1081,20 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1081
1081
|
dt();
|
|
1082
1082
|
}
|
|
1083
1083
|
function lo(b) {
|
|
1084
|
-
it.value && Wt(),
|
|
1084
|
+
it.value && Wt(), xe.value || ke.value ? b(2) : b();
|
|
1085
1085
|
}
|
|
1086
1086
|
function ao() {
|
|
1087
1087
|
const b = Co("history", {
|
|
1088
1088
|
removeNullishValues: !0
|
|
1089
|
-
}), V = parseInt(b.a), J = parseInt(b.c), A = parseInt(b.hid),
|
|
1089
|
+
}), V = parseInt(b.a), J = parseInt(b.c), A = parseInt(b.hid), R = parseInt(b.n), k = b.ci, W = b.co, I = b.id;
|
|
1090
1090
|
let ee = !1;
|
|
1091
|
-
if (isNaN(V) || (V > st.value ?
|
|
1091
|
+
if (isNaN(V) || (V > st.value ? U.value = st.value : U.value = V, U.value === Et.value && (b.a = void 0)), isNaN(J) || (J > rt.value ? fe.value = rt.value : fe.value = J, fe.value === Ut.value && (b.c = void 0)), isNaN(R) || R > 0 && (b.n = void 0), isNaN(A) || (qe(A) ? (B.value = A, ee = !0) : Ae({
|
|
1092
1092
|
message: o("alert.error.hotelIdNotFound"),
|
|
1093
1093
|
type: "error"
|
|
1094
|
-
})),
|
|
1095
|
-
if (ft(
|
|
1096
|
-
const ye = new Date(
|
|
1097
|
-
ye <=
|
|
1094
|
+
})), k && W)
|
|
1095
|
+
if (ft(k) && ft(W)) {
|
|
1096
|
+
const ye = new Date(k), ge = new Date(W);
|
|
1097
|
+
ye <= ge ? (Oe.value = ye, Fe.value = ge) : (b.ci = void 0, b.co = void 0, Ae({
|
|
1098
1098
|
message: o("alert.error.invalidDateRange"),
|
|
1099
1099
|
type: "error"
|
|
1100
1100
|
}));
|
|
@@ -1103,30 +1103,30 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1103
1103
|
message: o("alert.error.wrongDateFormat"),
|
|
1104
1104
|
type: "error"
|
|
1105
1105
|
});
|
|
1106
|
-
let
|
|
1107
|
-
I && (
|
|
1106
|
+
let de = null;
|
|
1107
|
+
I && (de = I), n.disableDefaultLocation === "yes" && ee === !1 ? (B.value = void 0, a.value = void 0) : dt(de);
|
|
1108
1108
|
}
|
|
1109
1109
|
return (b, V) => (d(), D(wo, { styling: b.styling }, {
|
|
1110
1110
|
default: C(() => [
|
|
1111
1111
|
(d(), D(mo, { onResolve: ao }, {
|
|
1112
1112
|
default: C(() => [
|
|
1113
|
-
|
|
1113
|
+
v(e(t), {
|
|
1114
1114
|
id: "konnectio-hotel-module",
|
|
1115
1115
|
"access-token": b.accessToken,
|
|
1116
1116
|
callback: e(Yt)
|
|
1117
1117
|
}, {
|
|
1118
1118
|
default: C(() => [
|
|
1119
|
-
|
|
1119
|
+
v(Do, {
|
|
1120
1120
|
layout: b.headerLayout,
|
|
1121
1121
|
steps: Zt.value,
|
|
1122
1122
|
onReset: e(Kt)
|
|
1123
1123
|
}, {
|
|
1124
1124
|
availability: C(({ next: J }) => [
|
|
1125
|
-
|
|
1125
|
+
v(Ye, null, {
|
|
1126
1126
|
form: C(() => [
|
|
1127
1127
|
s("div", Mn, [
|
|
1128
1128
|
s("div", Rn, [
|
|
1129
|
-
|
|
1129
|
+
v(Lo, {
|
|
1130
1130
|
booking: !0,
|
|
1131
1131
|
"selected-location": Number(b.selectedLocation),
|
|
1132
1132
|
"disable-default-location": b.disableDefaultLocation === "yes"
|
|
@@ -1134,40 +1134,40 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1134
1134
|
]),
|
|
1135
1135
|
_("", !0),
|
|
1136
1136
|
!e(c) && e(be) ? (d(), h("div", Bn, [
|
|
1137
|
-
e(
|
|
1138
|
-
e(
|
|
1139
|
-
b.onlyShow !== "packages" ? (d(), h("h2",
|
|
1140
|
-
|
|
1137
|
+
e(j).roomGroups.length > 0 || e(j).templates.length > 0 || e(j).specialTemplates.length > 0 ? (d(), h("div", In, [
|
|
1138
|
+
e(j).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div", Ln, [
|
|
1139
|
+
b.onlyShow !== "packages" ? (d(), h("h2", En, [
|
|
1140
|
+
v(x, {
|
|
1141
1141
|
icon: "box",
|
|
1142
1142
|
type: "fal",
|
|
1143
1143
|
color: "header"
|
|
1144
1144
|
}),
|
|
1145
1145
|
s("span", null, f(e(o)("booking.availability.packagesTitle")), 1)
|
|
1146
1146
|
])) : _("", !0),
|
|
1147
|
-
s("ul",
|
|
1148
|
-
(d(!0), h(O, null,
|
|
1147
|
+
s("ul", Un, [
|
|
1148
|
+
(d(!0), h(O, null, q(e(j).templates, ({
|
|
1149
1149
|
id: A,
|
|
1150
|
-
name:
|
|
1151
|
-
templateRoomGroups:
|
|
1152
|
-
image:
|
|
1150
|
+
name: R,
|
|
1151
|
+
templateRoomGroups: k,
|
|
1152
|
+
image: W,
|
|
1153
1153
|
description: I,
|
|
1154
1154
|
weekendFee: ee
|
|
1155
|
-
}) => (d(), D(
|
|
1155
|
+
}) => (d(), D(kn, {
|
|
1156
1156
|
key: A,
|
|
1157
1157
|
id: A,
|
|
1158
1158
|
description: I,
|
|
1159
|
-
name:
|
|
1160
|
-
image:
|
|
1159
|
+
name: R,
|
|
1160
|
+
image: W,
|
|
1161
1161
|
weekendFee: ee,
|
|
1162
|
-
"room-groups":
|
|
1162
|
+
"room-groups": k,
|
|
1163
1163
|
callback: J,
|
|
1164
1164
|
"hide-addons": b.hideAddons === "yes" || b.hideAddons === "packages"
|
|
1165
1165
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1166
1166
|
])
|
|
1167
1167
|
])) : _("", !0),
|
|
1168
|
-
e(
|
|
1169
|
-
e(
|
|
1170
|
-
|
|
1168
|
+
e(j).roomGroups.length > 0 && b.onlyShow !== "packages" ? (d(), h("div", On, [
|
|
1169
|
+
e(j).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("h2", Fn, [
|
|
1170
|
+
v(x, {
|
|
1171
1171
|
icon: "house",
|
|
1172
1172
|
type: "fal",
|
|
1173
1173
|
color: "header"
|
|
@@ -1175,15 +1175,15 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1175
1175
|
s("span", null, f(e(o)("booking.availability.roomsTitle")), 1)
|
|
1176
1176
|
])) : _("", !0),
|
|
1177
1177
|
s("ul", qn, [
|
|
1178
|
-
(d(!0), h(O, null,
|
|
1178
|
+
(d(!0), h(O, null, q(to.value, (A, R) => (d(), D(mn, {
|
|
1179
1179
|
room: A,
|
|
1180
|
-
key:
|
|
1180
|
+
key: R
|
|
1181
1181
|
}, null, 8, ["room"]))), 128))
|
|
1182
1182
|
])
|
|
1183
1183
|
])) : _("", !0),
|
|
1184
|
-
e(
|
|
1184
|
+
e(j).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div", Gn, [
|
|
1185
1185
|
s("h2", jn, [
|
|
1186
|
-
|
|
1186
|
+
v(x, {
|
|
1187
1187
|
icon: "sparkles",
|
|
1188
1188
|
type: "fal",
|
|
1189
1189
|
color: "header"
|
|
@@ -1191,36 +1191,36 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1191
1191
|
s("span", null, f(e(o)("hotel.specialOffers")), 1)
|
|
1192
1192
|
]),
|
|
1193
1193
|
s("ul", xn, [
|
|
1194
|
-
(d(!0), h(O, null,
|
|
1194
|
+
(d(!0), h(O, null, q(e(j).specialTemplates, ({
|
|
1195
1195
|
id: A,
|
|
1196
|
-
name:
|
|
1197
|
-
templateRoomGroups:
|
|
1198
|
-
image:
|
|
1196
|
+
name: R,
|
|
1197
|
+
templateRoomGroups: k,
|
|
1198
|
+
image: W,
|
|
1199
1199
|
description: I,
|
|
1200
1200
|
weekendFee: ee,
|
|
1201
|
-
fromDate:
|
|
1201
|
+
fromDate: de,
|
|
1202
1202
|
toDate: ye
|
|
1203
1203
|
}) => (d(), D(Tn, {
|
|
1204
1204
|
key: A,
|
|
1205
1205
|
id: A,
|
|
1206
1206
|
description: I,
|
|
1207
|
-
name:
|
|
1208
|
-
image:
|
|
1209
|
-
fromDate:
|
|
1207
|
+
name: R,
|
|
1208
|
+
image: W,
|
|
1209
|
+
fromDate: de,
|
|
1210
1210
|
toDate: ye,
|
|
1211
1211
|
weekendFee: ee,
|
|
1212
|
-
"room-groups":
|
|
1212
|
+
"room-groups": k
|
|
1213
1213
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups"]))), 128))
|
|
1214
1214
|
])
|
|
1215
1215
|
])) : _("", !0),
|
|
1216
|
-
(e(
|
|
1216
|
+
(e(j).templates.length === 0 && b.onlyShow !== "rooms" || e(j).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (d(), h("div", Wn, [
|
|
1217
1217
|
s("span", null, f(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1218
1218
|
])) : _("", !0)
|
|
1219
|
-
])) : e(
|
|
1219
|
+
])) : e(j).nextAvailableDates.length === 0 ? (d(), h("div", Kn, [
|
|
1220
1220
|
s("span", null, f(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1221
1221
|
])) : (d(), h("div", Jn, [
|
|
1222
1222
|
s("h2", zn, [
|
|
1223
|
-
|
|
1223
|
+
v(x, {
|
|
1224
1224
|
icon: "calendar-circle-exclamation",
|
|
1225
1225
|
type: "fal",
|
|
1226
1226
|
color: "header"
|
|
@@ -1228,15 +1228,15 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1228
1228
|
s("span", null, f(e(o)("booking.availability.nextAvailableDates")), 1)
|
|
1229
1229
|
]),
|
|
1230
1230
|
s("ul", Yn, [
|
|
1231
|
-
(d(!0), h(O, null,
|
|
1231
|
+
(d(!0), h(O, null, q(e(j).nextAvailableDates, (A, R) => (d(), h("li", { key: R }, [
|
|
1232
1232
|
s("h3", {
|
|
1233
|
-
title: `${e(
|
|
1233
|
+
title: `${e(te)(A.fromDate, 0, !0)} - ${e(te)(A.toDate, 0, !0)}`
|
|
1234
1234
|
}, [
|
|
1235
|
-
s("span", null, f(`${e(
|
|
1235
|
+
s("span", null, f(`${e(te)(A.fromDate, 0, !0)} - ${e(te)(A.toDate, 0, !0)}`), 1)
|
|
1236
1236
|
], 8, Qn),
|
|
1237
1237
|
s("ul", null, [
|
|
1238
1238
|
isNaN(A.roomCount) ? _("", !0) : (d(), h("li", Xn, [
|
|
1239
|
-
|
|
1239
|
+
v(x, {
|
|
1240
1240
|
icon: "house",
|
|
1241
1241
|
type: "fal",
|
|
1242
1242
|
color: "header"
|
|
@@ -1244,18 +1244,18 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1244
1244
|
s("span", null, f(e(o)("booking.availability.units")) + ": " + f(A.roomCount), 1)
|
|
1245
1245
|
])),
|
|
1246
1246
|
s("li", null, [
|
|
1247
|
-
|
|
1247
|
+
v(x, {
|
|
1248
1248
|
icon: "money-bill",
|
|
1249
1249
|
type: "fal",
|
|
1250
1250
|
color: "header"
|
|
1251
1251
|
}),
|
|
1252
|
-
s("span", null, f(e(o)("booking.availability.pricesFrom")) + ": " + f(e(
|
|
1252
|
+
s("span", null, f(e(o)("booking.availability.pricesFrom")) + ": " + f(e(oe)(A.priceStartFrom, e(Ve))), 1)
|
|
1253
1253
|
])
|
|
1254
1254
|
]),
|
|
1255
|
-
|
|
1255
|
+
v(pe, {
|
|
1256
1256
|
label: e(o)("booking.availability.selectDates"),
|
|
1257
1257
|
"full-width": "",
|
|
1258
|
-
onClickEvent: (
|
|
1258
|
+
onClickEvent: (k) => e(re)(new Date(A.fromDate), new Date(A.toDate))
|
|
1259
1259
|
}, null, 8, ["label", "onClickEvent"])
|
|
1260
1260
|
]))), 128))
|
|
1261
1261
|
])
|
|
@@ -1263,14 +1263,14 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1263
1263
|
])) : isNaN(e(a)) && !e(c) ? (d(), h("div", Zn, [
|
|
1264
1264
|
s("span", null, f(e(o)("alert.info.selectHotelToStart")), 1)
|
|
1265
1265
|
])) : (d(), h("div", el, [
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1266
|
+
v(ze),
|
|
1267
|
+
v(ze),
|
|
1268
|
+
v(ze)
|
|
1269
1269
|
]))
|
|
1270
1270
|
])
|
|
1271
1271
|
]),
|
|
1272
1272
|
navigation: C(() => [
|
|
1273
|
-
e(
|
|
1273
|
+
e(Ue) ? (d(), D(pe, {
|
|
1274
1274
|
key: 0,
|
|
1275
1275
|
label: isNaN(e(a)) ? e(o)("availability.buttonLabel") : e(o)("general.searchAgain"),
|
|
1276
1276
|
"is-loading": e(c),
|
|
@@ -1278,8 +1278,8 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1278
1278
|
onClickEvent: V[1] || (V[1] = (A) => no())
|
|
1279
1279
|
}, null, 8, ["label", "is-loading"])) : (d(), D(pe, {
|
|
1280
1280
|
key: 1,
|
|
1281
|
-
label: e(
|
|
1282
|
-
disabled: !e(
|
|
1281
|
+
label: e(ke) || xe.value ? e(o)("booking.availability.nextButton") : e(o)("general.chooseAddons"),
|
|
1282
|
+
disabled: !e(le),
|
|
1283
1283
|
"full-width": "",
|
|
1284
1284
|
onClickEvent: (A) => lo(J)
|
|
1285
1285
|
}, null, 8, ["label", "disabled", "onClickEvent"]))
|
|
@@ -1288,7 +1288,7 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1288
1288
|
}, 1024)
|
|
1289
1289
|
]),
|
|
1290
1290
|
addons: C(({ next: J, prev: A }) => [
|
|
1291
|
-
e(be) ? (d(), D(
|
|
1291
|
+
e(be) ? (d(), D(Ye, {
|
|
1292
1292
|
key: 0,
|
|
1293
1293
|
"prev-callback": () => ct(A)
|
|
1294
1294
|
}, {
|
|
@@ -1299,35 +1299,35 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1299
1299
|
]),
|
|
1300
1300
|
s("div", null, [
|
|
1301
1301
|
isNaN(e(i)) ? (d(), h("div", ol, [
|
|
1302
|
-
(d(!0), h(O, null,
|
|
1303
|
-
key:
|
|
1302
|
+
(d(!0), h(O, null, q(e(ne), (R) => (d(), h(O, {
|
|
1303
|
+
key: R.roomGroupID
|
|
1304
1304
|
}, [
|
|
1305
|
-
e(Qt)(
|
|
1306
|
-
(d(!0), h(O, null,
|
|
1307
|
-
key:
|
|
1305
|
+
e(Qt)(R) ? (d(), h("ul", nl, [
|
|
1306
|
+
(d(!0), h(O, null, q(R.variants, (k, W) => (d(), h("li", {
|
|
1307
|
+
key: k.ratePlanID
|
|
1308
1308
|
}, [
|
|
1309
1309
|
s("h4", null, [
|
|
1310
|
-
s("span", null, f(e(
|
|
1310
|
+
s("span", null, f(e(ae)(R.title)), 1)
|
|
1311
1311
|
]),
|
|
1312
|
-
(d(!0), h(O, null,
|
|
1312
|
+
(d(!0), h(O, null, q(k.rooms, (I, ee) => (d(), h("table", {
|
|
1313
1313
|
key: ee,
|
|
1314
1314
|
class: "konnectio-table with-lines"
|
|
1315
1315
|
}, [
|
|
1316
1316
|
s("thead", null, [
|
|
1317
1317
|
s("tr", null, [
|
|
1318
1318
|
s("th", null, [
|
|
1319
|
-
s("span", null, f(e(
|
|
1319
|
+
s("span", null, f(e(ae)(k.name)), 1)
|
|
1320
1320
|
]),
|
|
1321
1321
|
_("", !0),
|
|
1322
1322
|
s("th", ll, [
|
|
1323
1323
|
s("b", null, [
|
|
1324
|
-
|
|
1324
|
+
v(x, {
|
|
1325
1325
|
icon: "male",
|
|
1326
1326
|
type: "fas",
|
|
1327
1327
|
color: "font"
|
|
1328
1328
|
}),
|
|
1329
1329
|
s("span", null, f(I.adultsCount), 1),
|
|
1330
|
-
I.childrenCount > 0 ? (d(), D(
|
|
1330
|
+
I.childrenCount > 0 ? (d(), D(x, {
|
|
1331
1331
|
key: 0,
|
|
1332
1332
|
icon: "child",
|
|
1333
1333
|
type: "fas",
|
|
@@ -1339,22 +1339,22 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1339
1339
|
])
|
|
1340
1340
|
]),
|
|
1341
1341
|
s("tbody", null, [
|
|
1342
|
-
(d(!0), h(O, null,
|
|
1343
|
-
quantityStrategy:
|
|
1342
|
+
(d(!0), h(O, null, q(e(ut)(k.addons, I.childrenCount), ({
|
|
1343
|
+
quantityStrategy: de,
|
|
1344
1344
|
maximumNumber: ye,
|
|
1345
|
-
id:
|
|
1345
|
+
id: ge,
|
|
1346
1346
|
name: io,
|
|
1347
1347
|
price: so
|
|
1348
|
-
}) => (d(), h("tr", { key:
|
|
1348
|
+
}) => (d(), h("tr", { key: ge }, [
|
|
1349
1349
|
s("td", il, [
|
|
1350
|
-
s("b", null, f(e(
|
|
1351
|
-
s("span", null, f(e(
|
|
1350
|
+
s("b", null, f(e(ae)(io)), 1),
|
|
1351
|
+
s("span", null, f(e(oe)(so, e(Ve))) + " " + f(e(mt)(de)), 1)
|
|
1352
1352
|
]),
|
|
1353
1353
|
s("td", sl, [
|
|
1354
|
-
e(
|
|
1354
|
+
e(G)[R.roomGroupID][W].config[I.configIdx].addons[I.roomIdx] ? (d(), D(Ze, {
|
|
1355
1355
|
key: 0,
|
|
1356
|
-
modelValue: e(
|
|
1357
|
-
"onUpdate:modelValue": (ro) => e(
|
|
1356
|
+
modelValue: e(G)[R.roomGroupID][W].config[I.configIdx].addons[I.roomIdx][ge],
|
|
1357
|
+
"onUpdate:modelValue": (ro) => e(G)[R.roomGroupID][W].config[I.configIdx].addons[I.roomIdx][ge] = ro,
|
|
1358
1358
|
small: !0,
|
|
1359
1359
|
"min-value": 0,
|
|
1360
1360
|
"max-value": ye || 1 / 0
|
|
@@ -1375,38 +1375,32 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1375
1375
|
s("thead", null, [
|
|
1376
1376
|
s("tr", null, [
|
|
1377
1377
|
s("th", null, [
|
|
1378
|
-
s("span", null, f(e(
|
|
1378
|
+
s("span", null, f(e(ae)(e($e).title)), 1)
|
|
1379
1379
|
]),
|
|
1380
1380
|
_("", !0),
|
|
1381
1381
|
V[19] || (V[19] = s("th", { class: "konnectio-event-addons-price" }, null, -1))
|
|
1382
1382
|
])
|
|
1383
1383
|
]),
|
|
1384
1384
|
s("tbody", null, [
|
|
1385
|
-
(d(!0), h(O, null,
|
|
1386
|
-
quantityStrategy:
|
|
1387
|
-
maximumNumber:
|
|
1388
|
-
id:
|
|
1385
|
+
(d(!0), h(O, null, q(e(ut)(e($e).addons, e(_e)), ({
|
|
1386
|
+
quantityStrategy: R,
|
|
1387
|
+
maximumNumber: k,
|
|
1388
|
+
id: W,
|
|
1389
1389
|
name: I,
|
|
1390
1390
|
price: ee
|
|
1391
|
-
}) => (d(), h("tr", { key:
|
|
1391
|
+
}) => (d(), h("tr", { key: W }, [
|
|
1392
1392
|
s("td", ul, [
|
|
1393
|
-
s("b", null, f(e(
|
|
1394
|
-
s("span", null, f(e(
|
|
1393
|
+
s("b", null, f(e(ae)(I)), 1),
|
|
1394
|
+
s("span", null, f(e(oe)(ee, e(Ve))) + " " + f(e(mt)(R)), 1)
|
|
1395
1395
|
]),
|
|
1396
1396
|
s("td", cl, [
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
modelValue: e(r)[
|
|
1400
|
-
"onUpdate:modelValue": (te) => e(r)[q] = te,
|
|
1397
|
+
v(Ze, {
|
|
1398
|
+
modelValue: e(r)[W],
|
|
1399
|
+
"onUpdate:modelValue": (de) => e(r)[W] = de,
|
|
1401
1400
|
small: !0,
|
|
1402
1401
|
"min-value": 0,
|
|
1403
|
-
"max-value":
|
|
1404
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])
|
|
1405
|
-
key: 1,
|
|
1406
|
-
modelValue: e(r)[q],
|
|
1407
|
-
"onUpdate:modelValue": (te) => e(r)[q] = te,
|
|
1408
|
-
numeric: !0
|
|
1409
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1402
|
+
"max-value": k || 1 / 0
|
|
1403
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])
|
|
1410
1404
|
])
|
|
1411
1405
|
]))), 128))
|
|
1412
1406
|
])
|
|
@@ -1417,7 +1411,7 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1417
1411
|
])
|
|
1418
1412
|
]),
|
|
1419
1413
|
navigation: C(() => [
|
|
1420
|
-
|
|
1414
|
+
v(pe, {
|
|
1421
1415
|
label: e(o)("general.startReservation"),
|
|
1422
1416
|
"full-width": "",
|
|
1423
1417
|
onClickEvent: J
|
|
@@ -1426,8 +1420,8 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1426
1420
|
_: 2
|
|
1427
1421
|
}, 1032, ["prev-callback"])) : _("", !0)
|
|
1428
1422
|
]),
|
|
1429
|
-
reservation: C(({ next: J, prev: A, reset:
|
|
1430
|
-
e(be) ? (d(), D(
|
|
1423
|
+
reservation: C(({ next: J, prev: A, reset: R }) => [
|
|
1424
|
+
e(be) ? (d(), D(Ye, {
|
|
1431
1425
|
key: 0,
|
|
1432
1426
|
"prev-callback": () => ct(A),
|
|
1433
1427
|
"show-terms-notice": !0,
|
|
@@ -1438,14 +1432,14 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1438
1432
|
s("h2", null, [
|
|
1439
1433
|
s("span", null, f(e(o)("booking.reservation.detailsTitle")), 1)
|
|
1440
1434
|
]),
|
|
1441
|
-
e(Ft)(e(a)) && e(
|
|
1435
|
+
e(Ft)(e(a)) && e(Ge)(e(a)) && e(je)(e(a)) ? (d(), h("ul", {
|
|
1442
1436
|
key: 0,
|
|
1443
|
-
class: Me(["konnectio-reservation-timepicker", { "konnectio-split-inputs": e(
|
|
1437
|
+
class: Me(["konnectio-reservation-timepicker", { "konnectio-split-inputs": e(Ge)(e(a)) && e(je)(e(a)) }])
|
|
1444
1438
|
}, [
|
|
1445
|
-
e(
|
|
1446
|
-
|
|
1447
|
-
modelValue: e(
|
|
1448
|
-
"onUpdate:modelValue": V[2] || (V[2] = (
|
|
1439
|
+
e(Ge)(e(a)) ? (d(), h("li", ml, [
|
|
1440
|
+
v(ht, {
|
|
1441
|
+
modelValue: e(g),
|
|
1442
|
+
"onUpdate:modelValue": V[2] || (V[2] = (k) => F(g) ? g.value = k : null),
|
|
1449
1443
|
label: e(o)("booking.reservation.arrivalTime"),
|
|
1450
1444
|
icon: "hourglass-start",
|
|
1451
1445
|
"min-time": e(qt)(e(a)),
|
|
@@ -1453,10 +1447,10 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1453
1447
|
required: ""
|
|
1454
1448
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1455
1449
|
])) : _("", !0),
|
|
1456
|
-
e(
|
|
1457
|
-
|
|
1450
|
+
e(je)(e(a)) ? (d(), h("li", fl, [
|
|
1451
|
+
v(ht, {
|
|
1458
1452
|
modelValue: e(w),
|
|
1459
|
-
"onUpdate:modelValue": V[3] || (V[3] = (
|
|
1453
|
+
"onUpdate:modelValue": V[3] || (V[3] = (k) => F(w) ? w.value = k : null),
|
|
1460
1454
|
label: e(o)("booking.reservation.departureTime"),
|
|
1461
1455
|
icon: "hourglass-end",
|
|
1462
1456
|
"min-time": e(jt)(e(a)),
|
|
@@ -1465,20 +1459,20 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1465
1459
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1466
1460
|
])) : _("", !0)
|
|
1467
1461
|
], 2)) : _("", !0),
|
|
1468
|
-
|
|
1462
|
+
v(Pn, {
|
|
1469
1463
|
modelValue: e(P),
|
|
1470
|
-
"onUpdate:modelValue": V[4] || (V[4] = (
|
|
1464
|
+
"onUpdate:modelValue": V[4] || (V[4] = (k) => F(P) ? P.value = k : null),
|
|
1471
1465
|
title: e($),
|
|
1472
|
-
"onUpdate:title": V[5] || (V[5] = (
|
|
1466
|
+
"onUpdate:title": V[5] || (V[5] = (k) => F($) ? $.value = k : null),
|
|
1473
1467
|
"exclude-title": e(Mt),
|
|
1474
1468
|
label: e(o)("booking.reservation.name"),
|
|
1475
1469
|
icon: "user-alt",
|
|
1476
1470
|
placeholder: e(o)("booking.reservation.namePlaceholder"),
|
|
1477
1471
|
required: ""
|
|
1478
1472
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1479
|
-
|
|
1480
|
-
modelValue: e(
|
|
1481
|
-
"onUpdate:modelValue": V[6] || (V[6] = (
|
|
1473
|
+
v(ue, {
|
|
1474
|
+
modelValue: e(M),
|
|
1475
|
+
"onUpdate:modelValue": V[6] || (V[6] = (k) => F(M) ? M.value = k : null),
|
|
1482
1476
|
type: "email",
|
|
1483
1477
|
name: "email",
|
|
1484
1478
|
autocomplete: "email",
|
|
@@ -1489,9 +1483,9 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1489
1483
|
required: ""
|
|
1490
1484
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1491
1485
|
e(Ot) ? _("", !0) : (d(), h("div", hl, [
|
|
1492
|
-
|
|
1486
|
+
v(et, {
|
|
1493
1487
|
modelValue: e(Q),
|
|
1494
|
-
"onUpdate:modelValue": V[7] || (V[7] = (
|
|
1488
|
+
"onUpdate:modelValue": V[7] || (V[7] = (k) => F(Q) ? Q.value = k : null),
|
|
1495
1489
|
type: "checkbox",
|
|
1496
1490
|
name: "newsletter",
|
|
1497
1491
|
label: e(o)("booking.reservation.newsletterSignUp")
|
|
@@ -1500,7 +1494,7 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1500
1494
|
e(It) ? _("", !0) : (d(), D(ue, {
|
|
1501
1495
|
key: 2,
|
|
1502
1496
|
modelValue: e(N),
|
|
1503
|
-
"onUpdate:modelValue": V[8] || (V[8] = (
|
|
1497
|
+
"onUpdate:modelValue": V[8] || (V[8] = (k) => F(N) ? N.value = k : null),
|
|
1504
1498
|
type: "text",
|
|
1505
1499
|
name: "firm",
|
|
1506
1500
|
autocomplete: "firm",
|
|
@@ -1508,25 +1502,25 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1508
1502
|
icon: "id-card",
|
|
1509
1503
|
placeholder: e(o)("booking.reservation.companyNamePlaceholder")
|
|
1510
1504
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1511
|
-
|
|
1505
|
+
v(Oo, {
|
|
1512
1506
|
modelValue: e(L),
|
|
1513
|
-
"onUpdate:modelValue": V[9] || (V[9] = (
|
|
1507
|
+
"onUpdate:modelValue": V[9] || (V[9] = (k) => F(L) ? L.value = k : null),
|
|
1514
1508
|
icon: "phone-office",
|
|
1515
1509
|
label: e(o)("booking.reservation.phone"),
|
|
1516
1510
|
placeholder: e(o)("booking.reservation.phonePlaceholder"),
|
|
1517
1511
|
required: ""
|
|
1518
1512
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1519
|
-
|
|
1513
|
+
v(Cn, {
|
|
1520
1514
|
modelValue: e(z),
|
|
1521
|
-
"onUpdate:modelValue": V[10] || (V[10] = (
|
|
1515
|
+
"onUpdate:modelValue": V[10] || (V[10] = (k) => F(z) ? z.value = k : null),
|
|
1522
1516
|
label: e(o)("booking.reservation.country"),
|
|
1523
1517
|
placeholder: e(o)("booking.reservation.countryPlaceholder"),
|
|
1524
1518
|
options: e(p),
|
|
1525
1519
|
required: ""
|
|
1526
1520
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1527
|
-
|
|
1528
|
-
modelValue: e(
|
|
1529
|
-
"onUpdate:modelValue": V[11] || (V[11] = (
|
|
1521
|
+
v(ue, {
|
|
1522
|
+
modelValue: e(H),
|
|
1523
|
+
"onUpdate:modelValue": V[11] || (V[11] = (k) => F(H) ? H.value = k : null),
|
|
1530
1524
|
type: "textarea",
|
|
1531
1525
|
name: "address",
|
|
1532
1526
|
autocomplete: "street-address",
|
|
@@ -1537,9 +1531,9 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1537
1531
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1538
1532
|
s("ul", vl, [
|
|
1539
1533
|
s("li", null, [
|
|
1540
|
-
|
|
1534
|
+
v(ue, {
|
|
1541
1535
|
modelValue: e(T),
|
|
1542
|
-
"onUpdate:modelValue": V[12] || (V[12] = (
|
|
1536
|
+
"onUpdate:modelValue": V[12] || (V[12] = (k) => F(T) ? T.value = k : null),
|
|
1543
1537
|
type: "text",
|
|
1544
1538
|
name: "postal",
|
|
1545
1539
|
autocomplete: "postal-code",
|
|
@@ -1550,9 +1544,9 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1550
1544
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1551
1545
|
]),
|
|
1552
1546
|
s("li", null, [
|
|
1553
|
-
|
|
1554
|
-
modelValue: e(
|
|
1555
|
-
"onUpdate:modelValue": V[13] || (V[13] = (
|
|
1547
|
+
v(ue, {
|
|
1548
|
+
modelValue: e(S),
|
|
1549
|
+
"onUpdate:modelValue": V[13] || (V[13] = (k) => F(S) ? S.value = k : null),
|
|
1556
1550
|
type: "text",
|
|
1557
1551
|
name: "city",
|
|
1558
1552
|
autocomplete: "address-level2",
|
|
@@ -1563,17 +1557,17 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1563
1557
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1564
1558
|
])
|
|
1565
1559
|
]),
|
|
1566
|
-
|
|
1567
|
-
modelValue: e(
|
|
1568
|
-
"onUpdate:modelValue": V[14] || (V[14] = (
|
|
1560
|
+
v(ue, {
|
|
1561
|
+
modelValue: e(E),
|
|
1562
|
+
"onUpdate:modelValue": V[14] || (V[14] = (k) => F(E) ? E.value = k : null),
|
|
1569
1563
|
type: "textarea",
|
|
1570
1564
|
label: `${e(o)("booking.reservation.remark")} (${e(o)("booking.reservation.optional")})`,
|
|
1571
1565
|
icon: "info-circle",
|
|
1572
1566
|
placeholder: e(o)("booking.reservation.remarkPlaceholder")
|
|
1573
1567
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1574
|
-
|
|
1568
|
+
v(ue, {
|
|
1575
1569
|
modelValue: e(Y),
|
|
1576
|
-
"onUpdate:modelValue": V[15] || (V[15] = (
|
|
1570
|
+
"onUpdate:modelValue": V[15] || (V[15] = (k) => F(Y) ? Y.value = k : null),
|
|
1577
1571
|
type: "textarea",
|
|
1578
1572
|
label: `${e(o)("booking.reservation.allergies")} (${e(o)("booking.reservation.optional")})`,
|
|
1579
1573
|
icon: "allergies",
|
|
@@ -1582,7 +1576,7 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1582
1576
|
e(Rt) ? _("", !0) : (d(), D(No, {
|
|
1583
1577
|
key: 3,
|
|
1584
1578
|
modelValue: e(m),
|
|
1585
|
-
"onUpdate:modelValue": V[16] || (V[16] = (
|
|
1579
|
+
"onUpdate:modelValue": V[16] || (V[16] = (k) => F(m) ? m.value = k : null),
|
|
1586
1580
|
label: `${e(o)("booking.reservation.purposeOfStay")} (${e(o)("booking.reservation.optional")})`,
|
|
1587
1581
|
name: "travelingFor",
|
|
1588
1582
|
checkboxes: eo.value
|
|
@@ -1591,12 +1585,12 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1591
1585
|
]),
|
|
1592
1586
|
navigation: C(() => [
|
|
1593
1587
|
s("div", null, [
|
|
1594
|
-
|
|
1588
|
+
v(pe, {
|
|
1595
1589
|
label: e(Lt) ? e(o)("booking.reservation.nextButton") : e(o)("general.confirmReservation"),
|
|
1596
|
-
disabled: !e(
|
|
1590
|
+
disabled: !e(y),
|
|
1597
1591
|
"is-loading": e(u),
|
|
1598
1592
|
"full-width": "",
|
|
1599
|
-
onClickEvent: (
|
|
1593
|
+
onClickEvent: (k) => oo(J, R)
|
|
1600
1594
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
|
|
1601
1595
|
])
|
|
1602
1596
|
]),
|
|
@@ -1604,11 +1598,11 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1604
1598
|
}, 1032, ["prev-callback"])) : _("", !0)
|
|
1605
1599
|
]),
|
|
1606
1600
|
payment: C(({ prev: J }) => [
|
|
1607
|
-
|
|
1601
|
+
v(Fo),
|
|
1608
1602
|
_("", !0)
|
|
1609
1603
|
]),
|
|
1610
1604
|
confirmation: C(() => [
|
|
1611
|
-
|
|
1605
|
+
v(Mo, {
|
|
1612
1606
|
message: e(o)("booking.confirmation.thankYou")
|
|
1613
1607
|
}, null, 8, ["message"])
|
|
1614
1608
|
]),
|
|
@@ -1619,7 +1613,7 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1619
1613
|
}, 8, ["access-token", "callback"])
|
|
1620
1614
|
]),
|
|
1621
1615
|
fallback: C(() => [
|
|
1622
|
-
|
|
1616
|
+
v(Nn)
|
|
1623
1617
|
]),
|
|
1624
1618
|
_: 1
|
|
1625
1619
|
}))
|
|
@@ -1627,14 +1621,14 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1627
1621
|
_: 1
|
|
1628
1622
|
}, 8, ["styling"]));
|
|
1629
1623
|
}
|
|
1630
|
-
}), vt = /* @__PURE__ */ me(yl, [["__scopeId", "data-v-
|
|
1624
|
+
}), vt = /* @__PURE__ */ me(yl, [["__scopeId", "data-v-a07c295c"]]), gl = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), De = /* @__PURE__ */ new Set([
|
|
1631
1625
|
"base",
|
|
1632
1626
|
"meta",
|
|
1633
1627
|
"link",
|
|
1634
1628
|
"style",
|
|
1635
1629
|
"script",
|
|
1636
1630
|
"noscript"
|
|
1637
|
-
]),
|
|
1631
|
+
]), kl = /* @__PURE__ */ new Set([
|
|
1638
1632
|
"title",
|
|
1639
1633
|
"titleTemplate",
|
|
1640
1634
|
"templateParams",
|
|
@@ -1647,7 +1641,7 @@ const yl = /* @__PURE__ */ Z({
|
|
|
1647
1641
|
"script",
|
|
1648
1642
|
"noscript"
|
|
1649
1643
|
]), bl = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]), Pt = /* @__PURE__ */ new Set(["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"]), _l = typeof window < "u";
|
|
1650
|
-
function
|
|
1644
|
+
function Re(l) {
|
|
1651
1645
|
let t = 9;
|
|
1652
1646
|
for (let n = 0; n < l.length; )
|
|
1653
1647
|
t = Math.imul(t ^ l.charCodeAt(n++), 9 ** 9);
|
|
@@ -1657,17 +1651,17 @@ function tt(l) {
|
|
|
1657
1651
|
if (l._h)
|
|
1658
1652
|
return l._h;
|
|
1659
1653
|
if (l._d)
|
|
1660
|
-
return
|
|
1654
|
+
return Re(l._d);
|
|
1661
1655
|
let t = `${l.tag}:${l.textContent || l.innerHTML || ""}:`;
|
|
1662
1656
|
for (const n in l.props)
|
|
1663
1657
|
t += `${n}:${String(l.props[n])},`;
|
|
1664
|
-
return
|
|
1658
|
+
return Re(t);
|
|
1665
1659
|
}
|
|
1666
1660
|
function Tl(l, t) {
|
|
1667
1661
|
return l instanceof Promise ? l.then(t) : t(l);
|
|
1668
1662
|
}
|
|
1669
1663
|
function ot(l, t, n, o) {
|
|
1670
|
-
const a = o ||
|
|
1664
|
+
const a = o || St(
|
|
1671
1665
|
// explicitly check for an object
|
|
1672
1666
|
// @ts-expect-error untyped
|
|
1673
1667
|
typeof t == "object" && typeof t != "function" && !(t instanceof Promise) ? { ...t } : { [l === "script" || l === "noscript" || l === "style" ? "innerHTML" : "textContent"]: t },
|
|
@@ -1681,7 +1675,7 @@ function ot(l, t, n, o) {
|
|
|
1681
1675
|
};
|
|
1682
1676
|
for (const r of Pt) {
|
|
1683
1677
|
const p = i.props[r] !== void 0 ? i.props[r] : n[r];
|
|
1684
|
-
p !== void 0 && ((!(r === "innerHTML" || r === "textContent" || r === "children") ||
|
|
1678
|
+
p !== void 0 && ((!(r === "innerHTML" || r === "textContent" || r === "children") || gl.has(i.tag)) && (i[r === "children" ? "innerHTML" : r] = p), delete i.props[r]);
|
|
1685
1679
|
}
|
|
1686
1680
|
return i.props.body && (i.tagPosition = "bodyClose", delete i.props.body), i.tag === "script" && typeof i.innerHTML == "object" && (i.innerHTML = JSON.stringify(i.innerHTML), i.props.type = i.props.type || "application/json"), Array.isArray(i.props.content) ? i.props.content.map((r) => ({ ...i, props: { ...i.props, content: r } })) : i;
|
|
1687
1681
|
}
|
|
@@ -1704,16 +1698,16 @@ function At(l, t, n, o) {
|
|
|
1704
1698
|
}
|
|
1705
1699
|
}
|
|
1706
1700
|
}
|
|
1707
|
-
function
|
|
1701
|
+
function St(l, t = !1) {
|
|
1708
1702
|
const n = At(l, t, Object.keys(l), 0);
|
|
1709
1703
|
return n instanceof Promise ? n.then(() => l) : l;
|
|
1710
1704
|
}
|
|
1711
1705
|
const wl = 10;
|
|
1712
|
-
function
|
|
1706
|
+
function Ht(l, t, n) {
|
|
1713
1707
|
for (let o = n; o < t.length; o += 1) {
|
|
1714
1708
|
const a = t[o];
|
|
1715
1709
|
if (a instanceof Promise)
|
|
1716
|
-
return a.then((i) => (t[o] = i,
|
|
1710
|
+
return a.then((i) => (t[o] = i, Ht(l, t, o)));
|
|
1717
1711
|
Array.isArray(a) ? l.push(...a) : l.push(a);
|
|
1718
1712
|
}
|
|
1719
1713
|
}
|
|
@@ -1723,7 +1717,7 @@ function Cl(l) {
|
|
|
1723
1717
|
if (!Object.prototype.hasOwnProperty.call(n, a))
|
|
1724
1718
|
continue;
|
|
1725
1719
|
const i = n[a];
|
|
1726
|
-
if (!(i === void 0 || !
|
|
1720
|
+
if (!(i === void 0 || !kl.has(a))) {
|
|
1727
1721
|
if (Array.isArray(i)) {
|
|
1728
1722
|
for (const r of i)
|
|
1729
1723
|
t.push(ot(a, r, l));
|
|
@@ -1735,24 +1729,24 @@ function Cl(l) {
|
|
|
1735
1729
|
if (t.length === 0)
|
|
1736
1730
|
return [];
|
|
1737
1731
|
const o = [];
|
|
1738
|
-
return Tl(
|
|
1732
|
+
return Tl(Ht(o, t, 0), () => o.map((a, i) => (a._e = l._i, l.mode && (a._m = l.mode), a._p = (l._i << wl) + i, a)));
|
|
1739
1733
|
}
|
|
1740
|
-
const yt = /* @__PURE__ */ new Set(["onload", "onerror", "onabort", "onprogress", "onloadstart"]),
|
|
1734
|
+
const yt = /* @__PURE__ */ new Set(["onload", "onerror", "onabort", "onprogress", "onloadstart"]), gt = {
|
|
1741
1735
|
// tags
|
|
1742
1736
|
base: -10,
|
|
1743
1737
|
title: 10
|
|
1744
|
-
},
|
|
1738
|
+
}, kt = {
|
|
1745
1739
|
// relative scores to their default values
|
|
1746
1740
|
critical: -80,
|
|
1747
1741
|
high: -10,
|
|
1748
1742
|
low: 20
|
|
1749
1743
|
};
|
|
1750
|
-
function
|
|
1744
|
+
function Be(l) {
|
|
1751
1745
|
const t = l.tagPriority;
|
|
1752
1746
|
if (typeof t == "number")
|
|
1753
1747
|
return t;
|
|
1754
1748
|
let n = 100;
|
|
1755
|
-
return l.tag === "meta" ? l.props["http-equiv"] === "content-security-policy" ? n = -30 : l.props.charset ? n = -20 : l.props.name === "viewport" && (n = -15) : l.tag === "link" && l.props.rel === "preconnect" ? n = 20 : l.tag in
|
|
1749
|
+
return l.tag === "meta" ? l.props["http-equiv"] === "content-security-policy" ? n = -30 : l.props.charset ? n = -20 : l.props.name === "viewport" && (n = -15) : l.tag === "link" && l.props.rel === "preconnect" ? n = 20 : l.tag in gt && (n = gt[l.tag]), t && t in kt ? n + kt[t] : n;
|
|
1756
1750
|
}
|
|
1757
1751
|
const $l = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Pl = ["name", "property", "http-equiv"];
|
|
1758
1752
|
function Dt(l) {
|
|
@@ -1782,8 +1776,8 @@ function Al(l, t) {
|
|
|
1782
1776
|
n = l[t];
|
|
1783
1777
|
return n !== void 0 ? (n || "").replace(/"/g, '\\"') : void 0;
|
|
1784
1778
|
}
|
|
1785
|
-
const
|
|
1786
|
-
function
|
|
1779
|
+
const Sl = new RegExp(`${ce}(?:\\s*${ce})*`, "g");
|
|
1780
|
+
function He(l, t, n) {
|
|
1787
1781
|
if (typeof l != "string" || !l.includes("%"))
|
|
1788
1782
|
return l;
|
|
1789
1783
|
let o = l;
|
|
@@ -1800,12 +1794,12 @@ function Se(l, t, n) {
|
|
|
1800
1794
|
return r;
|
|
1801
1795
|
const p = Al(t, r.slice(1));
|
|
1802
1796
|
return p !== void 0 ? p : r;
|
|
1803
|
-
}).trim(), i && (l.endsWith(ce) && (l = l.slice(0, -ce.length)), l.startsWith(ce) && (l = l.slice(ce.length)), l = l.replace(
|
|
1797
|
+
}).trim(), i && (l.endsWith(ce) && (l = l.slice(0, -ce.length)), l.startsWith(ce) && (l = l.slice(ce.length)), l = l.replace(Sl, n).trim()), l;
|
|
1804
1798
|
}
|
|
1805
1799
|
function bt(l, t) {
|
|
1806
1800
|
return l == null ? t || null : typeof l == "function" ? l(t) : l;
|
|
1807
1801
|
}
|
|
1808
|
-
async function
|
|
1802
|
+
async function Hl(l, t = {}) {
|
|
1809
1803
|
const n = t.document || l.resolvedOptions.document;
|
|
1810
1804
|
if (!n || !l.dirty)
|
|
1811
1805
|
return;
|
|
@@ -1823,86 +1817,86 @@ async function Sl(l, t = {}) {
|
|
|
1823
1817
|
elMap: { htmlAttrs: n.documentElement, bodyAttrs: n.body }
|
|
1824
1818
|
};
|
|
1825
1819
|
const m = /* @__PURE__ */ new Set();
|
|
1826
|
-
for (const
|
|
1827
|
-
const w = n[
|
|
1820
|
+
for (const g of ["body", "head"]) {
|
|
1821
|
+
const w = n[g]?.children;
|
|
1828
1822
|
for (const P of w) {
|
|
1829
1823
|
const $ = P.tagName.toLowerCase();
|
|
1830
1824
|
if (!De.has($))
|
|
1831
1825
|
continue;
|
|
1832
|
-
const
|
|
1826
|
+
const M = {
|
|
1833
1827
|
tag: $,
|
|
1834
|
-
props: await
|
|
1835
|
-
P.getAttributeNames().reduce((
|
|
1828
|
+
props: await St(
|
|
1829
|
+
P.getAttributeNames().reduce((S, H) => ({ ...S, [H]: P.getAttribute(H) }), {})
|
|
1836
1830
|
),
|
|
1837
1831
|
innerHTML: P.innerHTML
|
|
1838
|
-
}, L = Dt(
|
|
1832
|
+
}, L = Dt(M);
|
|
1839
1833
|
let N = L, T = 1;
|
|
1840
1834
|
for (; N && m.has(N); )
|
|
1841
1835
|
N = `${L}:${T++}`;
|
|
1842
|
-
N && (
|
|
1836
|
+
N && (M._d = N, m.add(N)), r.elMap[P.getAttribute("data-hid") || tt(M)] = P;
|
|
1843
1837
|
}
|
|
1844
1838
|
}
|
|
1845
1839
|
}
|
|
1846
1840
|
r.pendingSideEffects = { ...r.sideEffects }, r.sideEffects = {};
|
|
1847
|
-
function p(m,
|
|
1848
|
-
const P = `${m}:${
|
|
1841
|
+
function p(m, g, w) {
|
|
1842
|
+
const P = `${m}:${g}`;
|
|
1849
1843
|
r.sideEffects[P] = w, delete r.pendingSideEffects[P];
|
|
1850
1844
|
}
|
|
1851
|
-
function c({ id: m, $el:
|
|
1845
|
+
function c({ id: m, $el: g, tag: w }) {
|
|
1852
1846
|
const P = w.tag.endsWith("Attrs");
|
|
1853
|
-
if (r.elMap[m] =
|
|
1847
|
+
if (r.elMap[m] = g, P || (w.textContent && w.textContent !== g.textContent && (g.textContent = w.textContent), w.innerHTML && w.innerHTML !== g.innerHTML && (g.innerHTML = w.innerHTML), p(m, "el", () => {
|
|
1854
1848
|
r.elMap[m]?.remove(), delete r.elMap[m];
|
|
1855
1849
|
})), w._eventHandlers)
|
|
1856
1850
|
for (const $ in w._eventHandlers)
|
|
1857
|
-
Object.prototype.hasOwnProperty.call(w._eventHandlers, $) &&
|
|
1851
|
+
Object.prototype.hasOwnProperty.call(w._eventHandlers, $) && g.getAttribute(`data-${$}`) !== "" && ((w.tag === "bodyAttrs" ? n.defaultView : g).addEventListener(
|
|
1858
1852
|
// onload -> load
|
|
1859
1853
|
$.substring(2),
|
|
1860
|
-
w._eventHandlers[$].bind(
|
|
1861
|
-
),
|
|
1854
|
+
w._eventHandlers[$].bind(g)
|
|
1855
|
+
), g.setAttribute(`data-${$}`, ""));
|
|
1862
1856
|
for (const $ in w.props) {
|
|
1863
1857
|
if (!Object.prototype.hasOwnProperty.call(w.props, $))
|
|
1864
1858
|
continue;
|
|
1865
|
-
const
|
|
1859
|
+
const M = w.props[$], L = `attr:${$}`;
|
|
1866
1860
|
if ($ === "class") {
|
|
1867
|
-
if (!
|
|
1861
|
+
if (!M)
|
|
1868
1862
|
continue;
|
|
1869
|
-
for (const N of
|
|
1870
|
-
P && p(m, `${L}:${N}`, () =>
|
|
1863
|
+
for (const N of M.split(" "))
|
|
1864
|
+
P && p(m, `${L}:${N}`, () => g.classList.remove(N)), !g.classList.contains(N) && g.classList.add(N);
|
|
1871
1865
|
} else if ($ === "style") {
|
|
1872
|
-
if (!
|
|
1866
|
+
if (!M)
|
|
1873
1867
|
continue;
|
|
1874
|
-
for (const N of
|
|
1875
|
-
const T = N.indexOf(":"),
|
|
1876
|
-
p(m, `${L}:${
|
|
1877
|
-
|
|
1878
|
-
}),
|
|
1868
|
+
for (const N of M.split(";")) {
|
|
1869
|
+
const T = N.indexOf(":"), S = N.substring(0, T).trim(), H = N.substring(T + 1).trim();
|
|
1870
|
+
p(m, `${L}:${S}`, () => {
|
|
1871
|
+
g.style.removeProperty(S);
|
|
1872
|
+
}), g.style.setProperty(S, H);
|
|
1879
1873
|
}
|
|
1880
1874
|
} else
|
|
1881
|
-
|
|
1875
|
+
g.getAttribute($) !== M && g.setAttribute($, M === !0 ? "" : String(M)), P && p(m, L, () => g.removeAttribute($));
|
|
1882
1876
|
}
|
|
1883
1877
|
}
|
|
1884
|
-
const u = [],
|
|
1878
|
+
const u = [], y = {
|
|
1885
1879
|
bodyClose: void 0,
|
|
1886
1880
|
bodyOpen: void 0,
|
|
1887
1881
|
head: void 0
|
|
1888
1882
|
};
|
|
1889
1883
|
for (const m of i) {
|
|
1890
|
-
const { tag:
|
|
1884
|
+
const { tag: g, shouldRender: w, id: P } = m;
|
|
1891
1885
|
if (w) {
|
|
1892
|
-
if (
|
|
1893
|
-
n.title =
|
|
1886
|
+
if (g.tag === "title") {
|
|
1887
|
+
n.title = g.textContent;
|
|
1894
1888
|
continue;
|
|
1895
1889
|
}
|
|
1896
|
-
m.$el = m.$el || r.elMap[P], m.$el ? c(m) : De.has(
|
|
1890
|
+
m.$el = m.$el || r.elMap[P], m.$el ? c(m) : De.has(g.tag) && u.push(m);
|
|
1897
1891
|
}
|
|
1898
1892
|
}
|
|
1899
1893
|
for (const m of u) {
|
|
1900
|
-
const
|
|
1901
|
-
m.$el = n.createElement(m.tag.tag), c(m),
|
|
1894
|
+
const g = m.tag.tagPosition || "head";
|
|
1895
|
+
m.$el = n.createElement(m.tag.tag), c(m), y[g] = y[g] || n.createDocumentFragment(), y[g].appendChild(m.$el);
|
|
1902
1896
|
}
|
|
1903
1897
|
for (const m of i)
|
|
1904
1898
|
await l.hooks.callHook("dom:renderTag", m, n, p);
|
|
1905
|
-
|
|
1899
|
+
y.head && n.head.appendChild(y.head), y.bodyOpen && n.body.insertBefore(y.bodyOpen, n.body.firstChild), y.bodyClose && n.body.appendChild(y.bodyClose);
|
|
1906
1900
|
for (const m in r.pendingSideEffects)
|
|
1907
1901
|
r.pendingSideEffects[m]();
|
|
1908
1902
|
l._dom = r, await l.hooks.callHook("dom:rendered", { renders: i }), a();
|
|
@@ -1912,7 +1906,7 @@ async function Sl(l, t = {}) {
|
|
|
1912
1906
|
}
|
|
1913
1907
|
function Dl(l, t = {}) {
|
|
1914
1908
|
const n = t.delayFn || ((o) => setTimeout(o, 10));
|
|
1915
|
-
return l._domDebouncedUpdatePromise = l._domDebouncedUpdatePromise || new Promise((o) => n(() =>
|
|
1909
|
+
return l._domDebouncedUpdatePromise = l._domDebouncedUpdatePromise || new Promise((o) => n(() => Hl(l, t).then(() => {
|
|
1916
1910
|
delete l._domDebouncedUpdatePromise, o();
|
|
1917
1911
|
})));
|
|
1918
1912
|
}
|
|
@@ -1949,7 +1943,7 @@ function Il(l, t) {
|
|
|
1949
1943
|
const n = t.shift(), o = Nt(n);
|
|
1950
1944
|
return Promise.all(l.map((a) => o.run(() => a(...t))));
|
|
1951
1945
|
}
|
|
1952
|
-
function
|
|
1946
|
+
function Qe(l, t) {
|
|
1953
1947
|
for (const n of [...l])
|
|
1954
1948
|
n(t);
|
|
1955
1949
|
}
|
|
@@ -2029,14 +2023,14 @@ class Ll {
|
|
|
2029
2023
|
}
|
|
2030
2024
|
callHookWith(t, n, ...o) {
|
|
2031
2025
|
const a = this._before || this._after ? { name: n, args: o, context: {} } : void 0;
|
|
2032
|
-
this._before &&
|
|
2026
|
+
this._before && Qe(this._before, a);
|
|
2033
2027
|
const i = t(
|
|
2034
2028
|
n in this._hooks ? [...this._hooks[n]] : [],
|
|
2035
2029
|
o
|
|
2036
2030
|
);
|
|
2037
2031
|
return i instanceof Promise ? i.finally(() => {
|
|
2038
|
-
this._after && a &&
|
|
2039
|
-
}) : (this._after && a &&
|
|
2032
|
+
this._after && a && Qe(this._after, a);
|
|
2033
|
+
}) : (this._after && a && Qe(this._after, a), i);
|
|
2040
2034
|
}
|
|
2041
2035
|
beforeEach(t) {
|
|
2042
2036
|
return this._before = this._before || [], this._before.push(t), () => {
|
|
@@ -2055,10 +2049,10 @@ class Ll {
|
|
|
2055
2049
|
};
|
|
2056
2050
|
}
|
|
2057
2051
|
}
|
|
2058
|
-
function
|
|
2052
|
+
function El() {
|
|
2059
2053
|
return new Ll();
|
|
2060
2054
|
}
|
|
2061
|
-
const
|
|
2055
|
+
const Ul = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"]), Ol = {
|
|
2062
2056
|
hooks: {
|
|
2063
2057
|
"tag:normalise": ({ tag: l }) => {
|
|
2064
2058
|
l.props.hid && (l.key = l.props.hid, delete l.props.hid), l.props.vmid && (l.key = l.props.vmid, delete l.props.vmid), l.props.key && (l.key = l.props.key, delete l.props.key);
|
|
@@ -2073,7 +2067,7 @@ const El = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2073
2067
|
const a = (o.key ? `${o.tag}:${o.key}` : o._d) || tt(o), i = t[a];
|
|
2074
2068
|
if (i) {
|
|
2075
2069
|
let p = o?.tagDuplicateStrategy;
|
|
2076
|
-
if (!p &&
|
|
2070
|
+
if (!p && Ul.has(o.tag) && (p = "merge"), p === "merge") {
|
|
2077
2071
|
const c = i.props;
|
|
2078
2072
|
c.style && o.props.style && (c.style[c.style.length - 1] !== ";" && (c.style += ";"), o.props.style = `${c.style} ${o.props.style}`), c.class && o.props.class ? o.props.class = `${c.class} ${o.props.class}` : c.class && (o.props.class = c.class), t[a].props = {
|
|
2079
2073
|
...c,
|
|
@@ -2083,7 +2077,7 @@ const El = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2083
2077
|
} else if (o._e === i._e) {
|
|
2084
2078
|
i._duped = i._duped || [], o._d = `${i._d}:${i._duped.length + 1}`, i._duped.push(o);
|
|
2085
2079
|
continue;
|
|
2086
|
-
} else if (
|
|
2080
|
+
} else if (Be(o) > Be(i))
|
|
2087
2081
|
continue;
|
|
2088
2082
|
}
|
|
2089
2083
|
if (!(o.innerHTML || o.textContent || Object.keys(o.props).length !== 0) && De.has(o.tag)) {
|
|
@@ -2113,7 +2107,7 @@ const El = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2113
2107
|
const i = o[a];
|
|
2114
2108
|
typeof i == "function" && (l.ssr && yt.has(a) ? o[a] = `this.dataset.${a}fired = true` : delete o[a], n._eventHandlers = n._eventHandlers || {}, n._eventHandlers[a] = i);
|
|
2115
2109
|
}
|
|
2116
|
-
l.ssr && n._eventHandlers && (n.props.src || n.props.href) && (n.key = n.key ||
|
|
2110
|
+
l.ssr && n._eventHandlers && (n.props.src || n.props.href) && (n.key = n.key || Re(n.props.src || n.props.href));
|
|
2117
2111
|
}
|
|
2118
2112
|
},
|
|
2119
2113
|
"dom:renderTag": ({ $el: t, tag: n }) => {
|
|
@@ -2130,7 +2124,7 @@ const El = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2130
2124
|
}), Gl = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), jl = {
|
|
2131
2125
|
hooks: {
|
|
2132
2126
|
"tag:normalise": ({ tag: l }) => {
|
|
2133
|
-
l.key && Gl.has(l.tag) && (l.props["data-hid"] = l._h =
|
|
2127
|
+
l.key && Gl.has(l.tag) && (l.props["data-hid"] = l._h = Re(l.key));
|
|
2134
2128
|
}
|
|
2135
2129
|
}
|
|
2136
2130
|
}, xl = {
|
|
@@ -2163,7 +2157,7 @@ const El = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2163
2157
|
}
|
|
2164
2158
|
}
|
|
2165
2159
|
l.tags.sort((t, n) => {
|
|
2166
|
-
const o =
|
|
2160
|
+
const o = Be(t), a = Be(n);
|
|
2167
2161
|
return o < a ? -1 : o > a ? 1 : t._p - n._p;
|
|
2168
2162
|
});
|
|
2169
2163
|
}
|
|
@@ -2180,7 +2174,7 @@ const El = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2180
2174
|
for (let r = 0; r < n.length; r += 1)
|
|
2181
2175
|
n[r].tag === "templateParams" && (o = t.tags.splice(r, 1)[0].props, r -= 1);
|
|
2182
2176
|
const a = o || {}, i = a.separator || "|";
|
|
2183
|
-
delete a.separator, a.pageTitle =
|
|
2177
|
+
delete a.separator, a.pageTitle = He(
|
|
2184
2178
|
// find templateParams
|
|
2185
2179
|
a.pageTitle || n.find((r) => r.tag === "title")?.textContent || "",
|
|
2186
2180
|
a,
|
|
@@ -2191,10 +2185,10 @@ const El = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2191
2185
|
continue;
|
|
2192
2186
|
const p = Kl[r.tag];
|
|
2193
2187
|
if (p && typeof r.props[p] == "string")
|
|
2194
|
-
r.props[p] =
|
|
2188
|
+
r.props[p] = He(r.props[p], a, i);
|
|
2195
2189
|
else if (r.processTemplateParams || r.tag === "titleTemplate" || r.tag === "title")
|
|
2196
2190
|
for (const c of Jl)
|
|
2197
|
-
typeof r[c] == "string" && (r[c] =
|
|
2191
|
+
typeof r[c] == "string" && (r[c] = He(r[c], a, i));
|
|
2198
2192
|
}
|
|
2199
2193
|
l._templateParams = a, l._separator = i;
|
|
2200
2194
|
},
|
|
@@ -2204,7 +2198,7 @@ const El = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2204
2198
|
const a = t[o];
|
|
2205
2199
|
a.tag === "title" && a.processTemplateParams !== !1 && (n = a);
|
|
2206
2200
|
}
|
|
2207
|
-
n?.textContent && (n.textContent =
|
|
2201
|
+
n?.textContent && (n.textContent = He(n.textContent, l._templateParams, l._separator));
|
|
2208
2202
|
}
|
|
2209
2203
|
}
|
|
2210
2204
|
}), Yl = {
|
|
@@ -2248,7 +2242,7 @@ function _t(l, t) {
|
|
|
2248
2242
|
return !l || l === "server" && t || l === "client" && !t;
|
|
2249
2243
|
}
|
|
2250
2244
|
function Zl(l = {}) {
|
|
2251
|
-
const t =
|
|
2245
|
+
const t = El();
|
|
2252
2246
|
t.addHooks(l.hooks || {}), l.document = l.document || (_l ? document : void 0);
|
|
2253
2247
|
const n = !l.document, o = () => {
|
|
2254
2248
|
p.dirty = !0, t.callHook("entries:updated", p);
|
|
@@ -2264,23 +2258,23 @@ function Zl(l = {}) {
|
|
|
2264
2258
|
},
|
|
2265
2259
|
use(c) {
|
|
2266
2260
|
const u = typeof c == "function" ? c(p) : c;
|
|
2267
|
-
(!u.key || !r.some((
|
|
2261
|
+
(!u.key || !r.some((y) => y.key === u.key)) && (r.push(u), _t(u.mode, n) && t.addHooks(u.hooks || {}));
|
|
2268
2262
|
},
|
|
2269
2263
|
push(c, u) {
|
|
2270
2264
|
delete u?.head;
|
|
2271
|
-
const
|
|
2265
|
+
const y = {
|
|
2272
2266
|
_i: a++,
|
|
2273
2267
|
input: c,
|
|
2274
2268
|
...u
|
|
2275
2269
|
};
|
|
2276
|
-
return _t(
|
|
2270
|
+
return _t(y.mode, n) && (i.push(y), o()), {
|
|
2277
2271
|
dispose() {
|
|
2278
|
-
i = i.filter((m) => m._i !==
|
|
2272
|
+
i = i.filter((m) => m._i !== y._i), o();
|
|
2279
2273
|
},
|
|
2280
2274
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2281
2275
|
patch(m) {
|
|
2282
|
-
for (const
|
|
2283
|
-
|
|
2276
|
+
for (const g of i)
|
|
2277
|
+
g._i === y._i && (g.input = y.input = m);
|
|
2284
2278
|
o();
|
|
2285
2279
|
}
|
|
2286
2280
|
};
|
|
@@ -2289,11 +2283,11 @@ function Zl(l = {}) {
|
|
|
2289
2283
|
const c = { tags: [], entries: [...i] };
|
|
2290
2284
|
await t.callHook("entries:resolve", c);
|
|
2291
2285
|
for (const u of c.entries) {
|
|
2292
|
-
const
|
|
2293
|
-
if (u.resolvedInput = await (u.transform ? u.transform(
|
|
2286
|
+
const y = u.resolvedInput || u.input;
|
|
2287
|
+
if (u.resolvedInput = await (u.transform ? u.transform(y) : y), u.resolvedInput)
|
|
2294
2288
|
for (const m of await Cl(u)) {
|
|
2295
|
-
const
|
|
2296
|
-
await t.callHook("tag:normalise",
|
|
2289
|
+
const g = { tag: m, entry: u, resolvedOptions: p.resolvedOptions };
|
|
2290
|
+
await t.callHook("tag:normalise", g), c.tags.push(g.tag);
|
|
2297
2291
|
}
|
|
2298
2292
|
}
|
|
2299
2293
|
return await t.callHook("tags:beforeResolve", c), await t.callHook("tags:resolve", c), await t.callHook("tags:afterResolve", c), c.tags;
|
|
@@ -2368,8 +2362,8 @@ class da extends HTMLElement {
|
|
|
2368
2362
|
this.vueApp.unmount();
|
|
2369
2363
|
}
|
|
2370
2364
|
connectedCallback() {
|
|
2371
|
-
const t =
|
|
2372
|
-
this.vueApp =
|
|
2365
|
+
const t = go(vt, this.attributes);
|
|
2366
|
+
this.vueApp = ko(vt, t), this.vueApp.provide("emitter", ra), this.vueApp.use(sa), this.vueApp.use(ia), this.vueApp.use(Ro), this.vueApp.use(bo), this.vueApp.use(Bo), this.vueApp.use(Po), this.vueApp.use($o, { bootstrap: !0 });
|
|
2373
2367
|
const n = document.createElement("div");
|
|
2374
2368
|
this.vueApp.mount(n), this.appendChild(n.children[0]);
|
|
2375
2369
|
}
|