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