@konnectio/core 4.0.56-rc59 → 4.0.56-rc60
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-gT1l4mze.js → ActionField-M9Xn2IjF.js} +3 -3
- package/dist/ActionField-M9Xn2IjF.js.br +0 -0
- package/dist/{AvailabilitySkeleton-T7dAKFqD.js → AvailabilitySkeleton-CmB18GBl.js} +6 -6
- package/dist/AvailabilitySkeleton-CmB18GBl.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DDiMW0jY.js +8213 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DDiMW0jY.js.br +0 -0
- package/dist/{CheckoutWindow-DBi8Cvj_.js → CheckoutWindow-Bhwi8Nxq.js} +4 -4
- package/dist/CheckoutWindow-Bhwi8Nxq.js.br +0 -0
- package/dist/{ErrorMessage-68bcDx4F.js → ErrorMessage-Cf84tBwS.js} +3 -3
- package/dist/ErrorMessage-Cf84tBwS.js.br +0 -0
- package/dist/{EventAvailabilityForm-BrJPYwe_.js → EventAvailabilityForm-ayhrj2Dh.js} +5 -5
- package/dist/EventAvailabilityForm-ayhrj2Dh.js.br +0 -0
- package/dist/{Field-BLh3Ddqe.js → Field-w5TiS3qQ.js} +3 -3
- package/dist/Field-w5TiS3qQ.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DVn9T6WM.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DPb4pYbS.js} +917 -919
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DPb4pYbS.js.br +0 -0
- package/dist/{TermsOfService-D3weU52d.js → TermsOfService-DG9RmJhS.js} +5 -5
- package/dist/TermsOfService-DG9RmJhS.js.br +0 -0
- package/dist/{_-B28bpYJb.js → _-C3cdq-vi.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-DHD1o1up.js → _.vue_vue_type_style_index_0_lang-DUgEPbV0.js} +4 -4
- package/dist/_.vue_vue_type_style_index_0_lang-DUgEPbV0.js.br +0 -0
- package/dist/{_commonjsHelpers-CttMrBzA.js → _commonjsHelpers-Bwmg5gQN.js} +2 -2
- package/dist/{_sentry-release-injection-file-PX7ET5Cf.js → _sentry-release-injection-file-Bs1oW58-.js} +3 -3
- package/dist/_sentry-release-injection-file-Bs1oW58-.js.br +0 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +377 -345
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +8 -8
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +12 -12
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-Bz4cAyJJ.js → giftCard-BvD5QzCq.js} +11 -11
- package/dist/giftCard-BvD5QzCq.js.br +0 -0
- package/dist/hotel.js +383 -359
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-DYDdAGuk.js → masonry.plugin-C_Lw26Pq.js} +1679 -1704
- package/dist/masonry.plugin-C_Lw26Pq.js.br +0 -0
- package/dist/{mitt-Bn5D-V30.js → mitt-Djl3HvxD.js} +2 -2
- package/dist/mitt-Djl3HvxD.js.br +0 -0
- package/dist/polyfill.js +700 -700
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +5 -5
- package/dist/ActionField-gT1l4mze.js.br +0 -0
- package/dist/AvailabilitySkeleton-T7dAKFqD.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DyN_vcW3.js +0 -8173
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DyN_vcW3.js.br +0 -0
- package/dist/CheckoutWindow-DBi8Cvj_.js.br +0 -0
- package/dist/ErrorMessage-68bcDx4F.js.br +0 -0
- package/dist/EventAvailabilityForm-BrJPYwe_.js.br +0 -0
- package/dist/Field-BLh3Ddqe.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DVn9T6WM.js.br +0 -0
- package/dist/TermsOfService-D3weU52d.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DHD1o1up.js.br +0 -0
- package/dist/_sentry-release-injection-file-PX7ET5Cf.js.br +0 -0
- package/dist/giftCard-Bz4cAyJJ.js.br +0 -0
- package/dist/masonry.plugin-DYDdAGuk.js.br +0 -0
- package/dist/mitt-Bn5D-V30.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { d as Q, r as oe, a as c, b as A, w as $, l as qe, u as o, g as f, e as a, t as v, A as We, B as Ke, f as g, i as _, s as F, F as E, x as Ye, v as N, h as
|
|
2
|
-
import { u as ne, s as Z, T as
|
|
3
|
-
import { e as _e, x as
|
|
4
|
-
import { R as
|
|
5
|
-
import { A as
|
|
6
|
-
import { S as wo } from "./TermsOfService-
|
|
7
|
-
import { C as De, B as
|
|
8
|
-
import { _ as
|
|
1
|
+
import { d as Q, r as oe, a as c, b as A, w as $, l as qe, u as o, g as f, e as a, t as v, A as We, B as Ke, f as g, i as _, s as F, F as E, x as Ye, v as N, h as we, c as G, p as kt, j as _t, o as tt, z as Pe, n as Ae, S as eo, C as to, D as oo, E as lo, k as no } from "./_sentry-release-injection-file-Bs1oW58-.js";
|
|
2
|
+
import { u as ne, s as Z, T as ao, c as io, i as so, m as ro } from "./mitt-Djl3HvxD.js";
|
|
3
|
+
import { e as _e, x as me, u as ke, I as K, f as ue, y as Ze, l as dt, z as re, h as te, _ as ce, n as Ie, A as Vt, b as Qe, c as de, d as Tt, B as $t, D as ut, T as se, p as uo, F as co, a as po, C as mo, i as ct, j as fo, k as pt, m as ho } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DPb4pYbS.js";
|
|
4
|
+
import { R as vo, B as Se, L as yo, S as go, M as bo, a as xe, C as ko, T as _o, V as Vo, G as To } from "./masonry.plugin-C_Lw26Pq.js";
|
|
5
|
+
import { A as $o, H as Co } from "./AvailabilitySkeleton-CmB18GBl.js";
|
|
6
|
+
import { S as wo } from "./TermsOfService-DG9RmJhS.js";
|
|
7
|
+
import { C as De, B as Po, P as Ao, a as Do } from "./CheckoutWindow-Bhwi8Nxq.js";
|
|
8
|
+
import { _ as Ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DDiMW0jY.js";
|
|
9
9
|
(function() {
|
|
10
10
|
try {
|
|
11
11
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
|
|
12
|
-
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "
|
|
12
|
+
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "47437dfc-4749-4b83-a51b-80cae13ab832", n._sentryDebugIdIdentifier = "sentry-dbid-47437dfc-4749-4b83-a51b-80cae13ab832");
|
|
13
13
|
} catch {
|
|
14
14
|
}
|
|
15
15
|
})();
|
|
16
|
-
const
|
|
17
|
-
const
|
|
16
|
+
const Ho = { key: 0 }, Io = { class: "konnectio-hotel-reservation-warning" }, So = { class: "konnectio-hotel-reservation-warning" }, Bo = { class: "konnectio-hotel-reservation-warning" };
|
|
17
|
+
const Eo = { key: 0 }, Mo = { key: 1 }, Lo = { key: 0 }, Uo = { class: "konnectio-reservation-actions" }, Ro = /* @__PURE__ */ Q({
|
|
18
18
|
__name: "HotelReservationForm",
|
|
19
19
|
props: {
|
|
20
20
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -35,11 +35,11 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
35
35
|
roomDisplay: h,
|
|
36
36
|
templateID: V,
|
|
37
37
|
totalPrice: P,
|
|
38
|
-
areListingsLoading:
|
|
39
|
-
getSelectedPackageRoom:
|
|
38
|
+
areListingsLoading: C,
|
|
39
|
+
getSelectedPackageRoom: S,
|
|
40
40
|
selectedPackage: B,
|
|
41
|
-
discountVouchers:
|
|
42
|
-
currentArrivalDate:
|
|
41
|
+
discountVouchers: b,
|
|
42
|
+
currentArrivalDate: w,
|
|
43
43
|
currentDepartureDate: H,
|
|
44
44
|
datesMismatch: O,
|
|
45
45
|
currentLocation: j,
|
|
@@ -49,30 +49,30 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
49
49
|
discountCode: X,
|
|
50
50
|
hasTermOfService: Be,
|
|
51
51
|
acceptTerms: M,
|
|
52
|
-
totalTemplateAddonPrice:
|
|
53
|
-
} = Z(
|
|
52
|
+
totalTemplateAddonPrice: pe
|
|
53
|
+
} = Z(me()), { hasHotelLocations: ve } = Z(ke()), { removeRoom: Ve, validateDiscountCode: Ee } = me(), { getHotelLocationName: Me } = ke(), fe = oe(!1);
|
|
54
54
|
function ye(le) {
|
|
55
55
|
return le.reduce((L, { totalPrice: ge }) => L + ge, 0);
|
|
56
56
|
}
|
|
57
|
-
return (le, x) => (c(), A(
|
|
57
|
+
return (le, x) => (c(), A(vo, {
|
|
58
58
|
"discount-code": o(X),
|
|
59
59
|
"onUpdate:discountCode": x[4] || (x[4] = (L) => N(X) ? X.value = L : null),
|
|
60
60
|
"validate-discount-code": o(Ee),
|
|
61
61
|
"total-price": o(P),
|
|
62
62
|
"show-gift-card": le.showGiftCard,
|
|
63
63
|
"show-terms-notice": le.showTermsNotice,
|
|
64
|
-
"is-sidebar-loading": o(
|
|
64
|
+
"is-sidebar-loading": o(C),
|
|
65
65
|
notice: o(l)("hotel.reservationNotice")
|
|
66
66
|
}, {
|
|
67
67
|
form: $(() => [
|
|
68
68
|
qe(le.$slots, "form", {}, void 0, !0)
|
|
69
69
|
]),
|
|
70
70
|
"reservation-summary": $(() => [
|
|
71
|
-
o(ve) ? (c(), f("li",
|
|
71
|
+
o(ve) ? (c(), f("li", Ho, [
|
|
72
72
|
a("span", null, v(o(l)("general.location")), 1),
|
|
73
73
|
a("b", null, [
|
|
74
74
|
a("span", null, v(o(Me)(o(j))), 1),
|
|
75
|
-
We(a("span",
|
|
75
|
+
We(a("span", Io, [
|
|
76
76
|
g(K, {
|
|
77
77
|
icon: "exclamation-triangle",
|
|
78
78
|
type: "fas"
|
|
@@ -85,7 +85,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
85
85
|
a("li", null, [
|
|
86
86
|
a("span", null, v(o(l)("booking.reservation.arrival")), 1),
|
|
87
87
|
a("b", null, [
|
|
88
|
-
a("span", null, v(o(t) ? o(ue)(o(
|
|
88
|
+
a("span", null, v(o(t) ? o(ue)(o(w)) : `${o(ue)(o(w))}, ${o(e) ? o(s) : o(r)}`), 1),
|
|
89
89
|
We(a("span", So, [
|
|
90
90
|
g(K, {
|
|
91
91
|
icon: "exclamation-triangle",
|
|
@@ -100,7 +100,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
100
100
|
a("span", null, v(o(l)("booking.reservation.departure")), 1),
|
|
101
101
|
a("b", null, [
|
|
102
102
|
a("span", null, v(o(t) ? o(ue)(o(H)) : `${o(ue)(o(H))}, ${o(i) ? o(m) : o(d)}`), 1),
|
|
103
|
-
We(a("span",
|
|
103
|
+
We(a("span", Bo, [
|
|
104
104
|
g(K, {
|
|
105
105
|
icon: "exclamation-triangle",
|
|
106
106
|
type: "fas"
|
|
@@ -112,9 +112,9 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
112
112
|
]),
|
|
113
113
|
a("li", null, [
|
|
114
114
|
a("span", null, v(o(l)("booking.reservation.nights")), 1),
|
|
115
|
-
a("b", null, v(o(Ze)(o(
|
|
115
|
+
a("b", null, v(o(Ze)(o(w), o(H))) + " " + v(o(dt)(o(Ze)(o(w), o(H)) === 1 ? o(l)("booking.reservation.night") : o(l)("booking.reservation.nights"))), 1)
|
|
116
116
|
]),
|
|
117
|
-
o(
|
|
117
|
+
o(b) ? (c(!0), f(E, { key: 1 }, F(o(b), (L) => (c(), f("li", {
|
|
118
118
|
key: L.id
|
|
119
119
|
}, [
|
|
120
120
|
a("span", null, v(`${o(l)("general.discountCode")} (${L.value})`), 1),
|
|
@@ -158,14 +158,14 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
158
158
|
_("", !0)
|
|
159
159
|
])
|
|
160
160
|
]),
|
|
161
|
-
ye(ae.roomAddons) > 0 ? (c(), f("li",
|
|
161
|
+
ye(ae.roomAddons) > 0 ? (c(), f("li", Eo, [
|
|
162
162
|
a("span", null, v(o(l)("general.addons")), 1),
|
|
163
163
|
a("b", null, v(o(te)(ye(ae.roomAddons), o(u))), 1)
|
|
164
164
|
])) : _("", !0)
|
|
165
165
|
]))), 128))
|
|
166
166
|
]))), 128))
|
|
167
167
|
]))), 128)) : _("", !0),
|
|
168
|
-
o(
|
|
168
|
+
o(S) && o(B) ? (c(), f("div", Mo, [
|
|
169
169
|
a("h6", null, [
|
|
170
170
|
a("span", null, v(o(re)(o(B).name)), 1)
|
|
171
171
|
]),
|
|
@@ -173,22 +173,22 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
173
173
|
a("ul", null, [
|
|
174
174
|
a("li", null, [
|
|
175
175
|
a("span", null, [
|
|
176
|
-
a("span", null, v(o(re)(o(
|
|
176
|
+
a("span", null, v(o(re)(o(S).title)), 1)
|
|
177
177
|
]),
|
|
178
178
|
a("b", null, [
|
|
179
|
-
a("span", null, v(o(te)(o(
|
|
179
|
+
a("span", null, v(o(te)(o(S).extraPrice, o(u))), 1)
|
|
180
180
|
])
|
|
181
181
|
]),
|
|
182
|
-
o(
|
|
182
|
+
o(pe) ? (c(), f("li", Lo, [
|
|
183
183
|
a("span", null, v(o(l)("general.addons")), 1),
|
|
184
|
-
a("b", null, v(o(te)(o(
|
|
184
|
+
a("b", null, v(o(te)(o(pe), o(u))), 1)
|
|
185
185
|
])) : _("", !0)
|
|
186
186
|
])
|
|
187
187
|
])
|
|
188
188
|
])) : _("", !0)
|
|
189
189
|
]),
|
|
190
190
|
actions: $(() => [
|
|
191
|
-
a("ul",
|
|
191
|
+
a("ul", Uo, [
|
|
192
192
|
o(p) ? _("", !0) : (c(), A(De, {
|
|
193
193
|
key: 0,
|
|
194
194
|
modelValue: o(R),
|
|
@@ -205,7 +205,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
205
205
|
name: "terms"
|
|
206
206
|
}, {
|
|
207
207
|
default: $(() => [
|
|
208
|
-
g(o(
|
|
208
|
+
g(o(ao), {
|
|
209
209
|
keypath: "general.termsAndConditionsCheckbox",
|
|
210
210
|
tag: "span",
|
|
211
211
|
scope: "global"
|
|
@@ -213,7 +213,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
213
213
|
terms: $(() => [
|
|
214
214
|
a("a", {
|
|
215
215
|
class: "konnectio-accept-terms-link",
|
|
216
|
-
onClick: x[1] || (x[1] =
|
|
216
|
+
onClick: x[1] || (x[1] = we((L) => fe.value = !0, ["prevent"]))
|
|
217
217
|
}, [
|
|
218
218
|
a("span", null, v(o(dt)(o(l)("general.termsAndConditions"))), 1)
|
|
219
219
|
])
|
|
@@ -237,7 +237,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
237
237
|
_: 3
|
|
238
238
|
}, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
239
239
|
}
|
|
240
|
-
}), ze = /* @__PURE__ */ ce(
|
|
240
|
+
}), ze = /* @__PURE__ */ ce(Ro, [["__scopeId", "data-v-61664f48"]]), No = (n) => (kt("data-v-69fe83d8"), n = n(), _t(), n), Fo = { class: "konnectio-room-config-option" }, Oo = { key: 0 }, jo = { class: "konnectio-selected-room-config" }, Go = { class: "konnectio-selected-room-config-people" }, qo = { key: 0 }, Wo = { class: "konnectio-selected-room-config-price" }, Ko = /* @__PURE__ */ No(() => /* @__PURE__ */ a("span", null, null, -1)), xo = /* @__PURE__ */ Q({
|
|
241
241
|
__name: "RoomConfigField",
|
|
242
242
|
props: {
|
|
243
243
|
modelValue: {},
|
|
@@ -256,7 +256,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
256
256
|
get: () => s.modelValue,
|
|
257
257
|
set: (u) => m(u)
|
|
258
258
|
});
|
|
259
|
-
return (u, r) => (c(), A(
|
|
259
|
+
return (u, r) => (c(), A(Ie, {
|
|
260
260
|
modelValue: p.value,
|
|
261
261
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => p.value = d),
|
|
262
262
|
label: u.label,
|
|
@@ -270,7 +270,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
270
270
|
searchable: !1
|
|
271
271
|
}, {
|
|
272
272
|
option: $(({ data: d }) => [
|
|
273
|
-
a("span",
|
|
273
|
+
a("span", Fo, [
|
|
274
274
|
a("div", null, [
|
|
275
275
|
g(K, {
|
|
276
276
|
icon: "male",
|
|
@@ -278,7 +278,7 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
278
278
|
color: "font"
|
|
279
279
|
}),
|
|
280
280
|
a("span", null, v(`${d.adults}`), 1),
|
|
281
|
-
d.children > 0 ? (c(), f("span",
|
|
281
|
+
d.children > 0 ? (c(), f("span", Oo, [
|
|
282
282
|
g(K, {
|
|
283
283
|
icon: "child",
|
|
284
284
|
type: "fas",
|
|
@@ -291,19 +291,19 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
291
291
|
])
|
|
292
292
|
]),
|
|
293
293
|
"selected-option": $(({ data: d }) => [
|
|
294
|
-
a("div",
|
|
295
|
-
a("div",
|
|
294
|
+
a("div", jo, [
|
|
295
|
+
a("div", Go, [
|
|
296
296
|
a("div", null, [
|
|
297
297
|
_("", !0),
|
|
298
298
|
a("span", null, v(`${d.adults} ${d.adults === 1 ? o(t)("general.adult") : o(t)("general.adults")}`), 1)
|
|
299
299
|
]),
|
|
300
|
-
d.children > 0 ? (c(), f("div",
|
|
300
|
+
d.children > 0 ? (c(), f("div", qo, [
|
|
301
301
|
_("", !0),
|
|
302
302
|
a("span", null, v(`& ${d.children} ${d.children === 1 ? o(t)("general.child") : o(t)("general.children")}`), 1)
|
|
303
303
|
])) : _("", !0)
|
|
304
304
|
]),
|
|
305
|
-
a("div",
|
|
306
|
-
|
|
305
|
+
a("div", Wo, [
|
|
306
|
+
Ko,
|
|
307
307
|
Ye(" " + v(`(${o(te)(d.price, o(e))})`), 1)
|
|
308
308
|
])
|
|
309
309
|
])
|
|
@@ -311,8 +311,8 @@ const Bo = { key: 0 }, Eo = { key: 1 }, Mo = { key: 0 }, Lo = { class: "konnecti
|
|
|
311
311
|
_: 1
|
|
312
312
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
313
313
|
}
|
|
314
|
-
}),
|
|
315
|
-
const
|
|
314
|
+
}), zo = /* @__PURE__ */ ce(xo, [["__scopeId", "data-v-69fe83d8"]]), Jo = { class: "konnectio-availability-listing-selection" }, Yo = { key: 1 }, Zo = { class: "konnectio-listing-config-body" }, Qo = { class: "konnectio-listing-units-body" };
|
|
315
|
+
const Xo = /* @__PURE__ */ Q({
|
|
316
316
|
__name: "Hotel",
|
|
317
317
|
props: {
|
|
318
318
|
room: {},
|
|
@@ -320,25 +320,25 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
320
320
|
},
|
|
321
321
|
setup(n) {
|
|
322
322
|
const { t: l } = ne(), t = n, e = oe([]);
|
|
323
|
-
function i(
|
|
324
|
-
e.value[
|
|
323
|
+
function i(b) {
|
|
324
|
+
e.value[b].config.push({
|
|
325
325
|
id: NaN,
|
|
326
326
|
units: 0,
|
|
327
327
|
addons: []
|
|
328
328
|
});
|
|
329
329
|
}
|
|
330
|
-
const s = G(() => t.room.rates.map((
|
|
331
|
-
label:
|
|
332
|
-
value:
|
|
333
|
-
}))), { hideAvailableRoomAmount: m } = Z(_e()), { roomSelect: p } = Z(
|
|
334
|
-
value:
|
|
335
|
-
price:
|
|
336
|
-
adults:
|
|
337
|
-
children:
|
|
338
|
-
hasBreakfast:
|
|
339
|
-
})) || [] : [],
|
|
340
|
-
function
|
|
341
|
-
|
|
330
|
+
const s = G(() => t.room.rates.map((b) => ({
|
|
331
|
+
label: b.name,
|
|
332
|
+
value: b.id
|
|
333
|
+
}))), { hideAvailableRoomAmount: m } = Z(_e()), { roomSelect: p } = Z(me()), { addToCart: u, removeFromCart: r } = Vt(), d = (b, w) => t.room.rates.find((H) => H.id === b)?.occupantRates.find((H) => H.index === w), h = G(() => t.room.rates.every((b) => b.isBreakfastIncluded === !0)), V = (b, w) => d(b, w) ? d(b, w)?.rooms : null, P = (b) => t.room.rates.length > 0 ? t.room.rates.find((w) => w.id === b)?.occupantRates.map((w) => ({
|
|
334
|
+
value: w.index,
|
|
335
|
+
price: w.totalPrice,
|
|
336
|
+
adults: w.adultsCount,
|
|
337
|
+
children: w.childrenCount,
|
|
338
|
+
hasBreakfast: w.hasBreakfast
|
|
339
|
+
})) || [] : [], C = G(() => t.room.rates.length > 1);
|
|
340
|
+
function S() {
|
|
341
|
+
C.value ? e.value.push({
|
|
342
342
|
id: void 0,
|
|
343
343
|
config: [{
|
|
344
344
|
id: t.room.rates[0].occupantRateIndex || NaN,
|
|
@@ -355,13 +355,13 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
357
|
tt(() => {
|
|
358
|
-
|
|
358
|
+
S();
|
|
359
359
|
});
|
|
360
360
|
const B = G(() => JSON.parse(JSON.stringify(e.value)));
|
|
361
|
-
return Pe(B, (
|
|
362
|
-
|
|
361
|
+
return Pe(B, (b, w) => {
|
|
362
|
+
w.length > 0 && b.forEach((H, O) => {
|
|
363
363
|
H.config.forEach((j, Y) => {
|
|
364
|
-
const R = j.units, z =
|
|
364
|
+
const R = j.units, z = w[O].config[Y].units;
|
|
365
365
|
R !== z && (R > z ? (e.value[O].config[Y].addons.push({}), u({
|
|
366
366
|
id: t.room.id,
|
|
367
367
|
name: t.room.title,
|
|
@@ -375,24 +375,24 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
375
375
|
});
|
|
376
376
|
}, { deep: !0 }), Pe(e, () => {
|
|
377
377
|
p.value[t.room.id] = e.value;
|
|
378
|
-
}, { deep: !0 }), (
|
|
378
|
+
}, { deep: !0 }), (b, w) => (c(), A(Se, {
|
|
379
379
|
type: "hotel",
|
|
380
|
-
"listing-id":
|
|
381
|
-
gallery:
|
|
382
|
-
name:
|
|
383
|
-
description:
|
|
384
|
-
layout:
|
|
385
|
-
facilities:
|
|
386
|
-
"prices-from":
|
|
380
|
+
"listing-id": b.room.id,
|
|
381
|
+
gallery: b.room.images,
|
|
382
|
+
name: b.room.title,
|
|
383
|
+
description: b.room.description,
|
|
384
|
+
layout: b.layout,
|
|
385
|
+
facilities: b.room.facilities,
|
|
386
|
+
"prices-from": b.room.pricesFrom,
|
|
387
387
|
"includes-breakfast": h.value
|
|
388
388
|
}, {
|
|
389
389
|
action: $(() => [
|
|
390
|
-
a("div",
|
|
390
|
+
a("div", Jo, [
|
|
391
391
|
(c(!0), f(E, null, F(e.value, (H, O) => (c(), f("div", {
|
|
392
392
|
key: H.id,
|
|
393
393
|
class: "konnectio-hotel-room"
|
|
394
394
|
}, [
|
|
395
|
-
|
|
395
|
+
C.value ? (c(), A(Ie, {
|
|
396
396
|
key: 0,
|
|
397
397
|
modelValue: H.id,
|
|
398
398
|
"onUpdate:modelValue": (j) => H.id = j,
|
|
@@ -401,8 +401,8 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
401
401
|
options: s.value,
|
|
402
402
|
searchable: !1
|
|
403
403
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
|
|
404
|
-
H.id ? (c(), f("div",
|
|
405
|
-
(c(!0), f(E, null, F(
|
|
404
|
+
H.id ? (c(), f("div", Yo, [
|
|
405
|
+
(c(!0), f(E, null, F(b.room.rates, ({
|
|
406
406
|
id: j,
|
|
407
407
|
maximumOccupants: Y
|
|
408
408
|
}) => (c(), f("div", {
|
|
@@ -413,8 +413,8 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
413
413
|
key: z,
|
|
414
414
|
class: "konnectio-listing-action-selective"
|
|
415
415
|
}, [
|
|
416
|
-
a("ul",
|
|
417
|
-
g(
|
|
416
|
+
a("ul", Zo, [
|
|
417
|
+
g(zo, {
|
|
418
418
|
modelValue: R.id,
|
|
419
419
|
"onUpdate:modelValue": (X) => R.id = X,
|
|
420
420
|
icon: "male",
|
|
@@ -425,7 +425,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
425
425
|
readonly: !(P(j).length > 1)
|
|
426
426
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
427
427
|
]),
|
|
428
|
-
a("ul",
|
|
428
|
+
a("ul", Qo, [
|
|
429
429
|
g(Qe, {
|
|
430
430
|
modelValue: R.units,
|
|
431
431
|
"onUpdate:modelValue": (X) => R.units = X,
|
|
@@ -448,7 +448,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
448
448
|
_: 1
|
|
449
449
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
450
450
|
}
|
|
451
|
-
}),
|
|
451
|
+
}), el = /* @__PURE__ */ ce(Xo, [["__scopeId", "data-v-54413d38"]]), tl = { class: "konnectio-template-side-panel" }, ol = { class: "konnectio-template-side-panel-listings" }, ll = /* @__PURE__ */ Q({
|
|
452
452
|
__name: "Template",
|
|
453
453
|
props: {
|
|
454
454
|
title: {},
|
|
@@ -458,7 +458,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
458
458
|
callback: { type: Function }
|
|
459
459
|
},
|
|
460
460
|
setup(n) {
|
|
461
|
-
const { t: l } = ne(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } = Z(
|
|
461
|
+
const { t: l } = ne(), { templateID: t, roomGroupID: e, selectionHasNoAddons: i } = Z(me()), { currency: s } = Z(_e()), { clearRoomSelection: m } = me(), p = n, u = oe(!0), r = G(() => {
|
|
462
462
|
function h(V, P) {
|
|
463
463
|
return u.value === !0 ? V.extraPrice > P.extraPrice ? -1 : 1 : V.extraPrice > P.extraPrice ? 1 : -1;
|
|
464
464
|
}
|
|
@@ -467,26 +467,26 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
467
467
|
function d(h) {
|
|
468
468
|
t.value = p.templateId, e.value = h, m(), p.hideAddons === "yes" || i.value ? p.callback(2) : p.callback(1);
|
|
469
469
|
}
|
|
470
|
-
return (h, V) => (c(), A(
|
|
470
|
+
return (h, V) => (c(), A(Po, {
|
|
471
471
|
title: h.title,
|
|
472
472
|
subtitle: o(l)("booking.availability.selectATemplateRoom")
|
|
473
473
|
}, {
|
|
474
474
|
default: $(() => [
|
|
475
|
-
a("div",
|
|
476
|
-
a("div",
|
|
475
|
+
a("div", tl, [
|
|
476
|
+
a("div", ol, [
|
|
477
477
|
(c(!0), f(E, null, F(r.value, ({
|
|
478
478
|
id: P,
|
|
479
|
-
title:
|
|
480
|
-
description:
|
|
479
|
+
title: C,
|
|
480
|
+
description: S,
|
|
481
481
|
images: B,
|
|
482
|
-
facilities:
|
|
483
|
-
extraPrice:
|
|
484
|
-
}) => (c(), A(
|
|
482
|
+
facilities: b,
|
|
483
|
+
extraPrice: w
|
|
484
|
+
}) => (c(), A(Se, {
|
|
485
485
|
key: P,
|
|
486
486
|
"listing-id": P,
|
|
487
|
-
name:
|
|
488
|
-
description:
|
|
489
|
-
facilities:
|
|
487
|
+
name: C,
|
|
488
|
+
description: S,
|
|
489
|
+
facilities: b,
|
|
490
490
|
gallery: B,
|
|
491
491
|
"includes-breakfast": !1,
|
|
492
492
|
"hide-info-button": !0
|
|
@@ -495,7 +495,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
495
495
|
a("div", null, [
|
|
496
496
|
g(de, {
|
|
497
497
|
onClickEvent: (H) => d(P),
|
|
498
|
-
label: `${o(l)("booking.availability.selectThisRoom")} (${o(te)(
|
|
498
|
+
label: `${o(l)("booking.availability.selectThisRoom")} (${o(te)(w, o(s))})`,
|
|
499
499
|
"full-width": ""
|
|
500
500
|
}, null, 8, ["onClickEvent", "label"])
|
|
501
501
|
])
|
|
@@ -508,7 +508,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
508
508
|
_: 1
|
|
509
509
|
}, 8, ["title", "subtitle"]));
|
|
510
510
|
}
|
|
511
|
-
}),
|
|
511
|
+
}), wt = /* @__PURE__ */ ce(ll, [["__scopeId", "data-v-35a96ba4"]]), nl = ["innerHTML"], al = { class: "konnectio-template-select-package" }, il = /* @__PURE__ */ Q({
|
|
512
512
|
__name: "Template",
|
|
513
513
|
props: {
|
|
514
514
|
id: {},
|
|
@@ -539,7 +539,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
539
539
|
function p(u) {
|
|
540
540
|
t.callback(u), s.value = !1;
|
|
541
541
|
}
|
|
542
|
-
return (u, r) => (c(), A(
|
|
542
|
+
return (u, r) => (c(), A(Se, {
|
|
543
543
|
type: "template",
|
|
544
544
|
"listing-id": u.id,
|
|
545
545
|
name: u.name,
|
|
@@ -554,10 +554,10 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
554
554
|
u.description ? (c(), f("p", {
|
|
555
555
|
key: 0,
|
|
556
556
|
innerHTML: o(Tt)(u.description)
|
|
557
|
-
}, null, 8,
|
|
557
|
+
}, null, 8, nl)) : _("", !0)
|
|
558
558
|
]),
|
|
559
559
|
action: $(() => [
|
|
560
|
-
a("div",
|
|
560
|
+
a("div", al, [
|
|
561
561
|
g(de, {
|
|
562
562
|
onClickEvent: m,
|
|
563
563
|
label: o(l)("booking.availability.selectPackage"),
|
|
@@ -566,7 +566,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
566
566
|
])
|
|
567
567
|
]),
|
|
568
568
|
default: $(() => [
|
|
569
|
-
g(
|
|
569
|
+
g(wt, {
|
|
570
570
|
modelValue: s.value,
|
|
571
571
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => s.value = d),
|
|
572
572
|
title: u.name,
|
|
@@ -579,7 +579,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
579
579
|
_: 1
|
|
580
580
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
581
581
|
}
|
|
582
|
-
}),
|
|
582
|
+
}), sl = ["innerHTML"], rl = { class: "konnectio-special-offer-availability" }, dl = { class: "konnectio-special-offer-availability-button" }, ul = /* @__PURE__ */ Q({
|
|
583
583
|
__name: "SpecialOffer",
|
|
584
584
|
props: {
|
|
585
585
|
id: {},
|
|
@@ -593,7 +593,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
593
593
|
callback: { type: Function }
|
|
594
594
|
},
|
|
595
595
|
setup(n) {
|
|
596
|
-
const { t: l } = ne(), { updateDates: t } =
|
|
596
|
+
const { t: l } = ne(), { updateDates: t } = ke(), e = n, i = oe([]), s = G(() => Ze(e.fromDate, e.toDate) === 1), m = G(() => [{
|
|
597
597
|
large: e.image.url,
|
|
598
598
|
medium: e.image.url,
|
|
599
599
|
thumb: e.image.url,
|
|
@@ -607,7 +607,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
607
607
|
}
|
|
608
608
|
return tt(() => {
|
|
609
609
|
s.value && (i.value = [new Date(e.fromDate), new Date(e.toDate)]);
|
|
610
|
-
}), (d, h) => (c(), A(
|
|
610
|
+
}), (d, h) => (c(), A(Se, {
|
|
611
611
|
type: "template",
|
|
612
612
|
"listing-id": d.id,
|
|
613
613
|
name: d.name,
|
|
@@ -623,11 +623,11 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
623
623
|
d.description ? (c(), f("p", {
|
|
624
624
|
key: 0,
|
|
625
625
|
innerHTML: o(Tt)(d.description)
|
|
626
|
-
}, null, 8,
|
|
626
|
+
}, null, 8, sl)) : _("", !0)
|
|
627
627
|
]),
|
|
628
628
|
action: $(() => [
|
|
629
|
-
a("div",
|
|
630
|
-
g(
|
|
629
|
+
a("div", rl, [
|
|
630
|
+
g(Ct, {
|
|
631
631
|
modelValue: i.value,
|
|
632
632
|
"onUpdate:modelValue": h[0] || (h[0] = (V) => i.value = V),
|
|
633
633
|
label: o(l)("availability.checkInOut"),
|
|
@@ -641,16 +641,16 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
641
641
|
readonly: s.value,
|
|
642
642
|
range: ""
|
|
643
643
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
644
|
-
a("div",
|
|
644
|
+
a("div", dl, [
|
|
645
645
|
g(de, {
|
|
646
646
|
label: o(l)("availability.buttonLabel"),
|
|
647
|
-
onClick:
|
|
647
|
+
onClick: we(r, ["prevent"])
|
|
648
648
|
}, null, 8, ["label"])
|
|
649
649
|
])
|
|
650
650
|
])
|
|
651
651
|
]),
|
|
652
652
|
default: $(() => [
|
|
653
|
-
g(
|
|
653
|
+
g(wt, {
|
|
654
654
|
modelValue: p.value,
|
|
655
655
|
"onUpdate:modelValue": h[1] || (h[1] = (V) => p.value = V),
|
|
656
656
|
title: d.name,
|
|
@@ -694,7 +694,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
694
694
|
const s = oe(e.modelValue);
|
|
695
695
|
return Pe(s, (m) => {
|
|
696
696
|
i(m);
|
|
697
|
-
}), (m, p) => (c(), A(
|
|
697
|
+
}), (m, p) => (c(), A(Ct, {
|
|
698
698
|
modelValue: s.value,
|
|
699
699
|
"onUpdate:modelValue": p[0] || (p[0] = (u) => s.value = u),
|
|
700
700
|
type: "time",
|
|
@@ -709,7 +709,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
709
709
|
readonly: m.readonly
|
|
710
710
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
711
711
|
}
|
|
712
|
-
}),
|
|
712
|
+
}), cl = { style: { display: "flex", "align-items": "baseline" } }, pl = /* @__PURE__ */ Q({
|
|
713
713
|
__name: "CountryField",
|
|
714
714
|
props: {
|
|
715
715
|
modelValue: {},
|
|
@@ -729,7 +729,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
729
729
|
get: () => i.modelValue,
|
|
730
730
|
set: (p) => s(p)
|
|
731
731
|
});
|
|
732
|
-
return (p, u) => (c(), A(
|
|
732
|
+
return (p, u) => (c(), A(Ie, {
|
|
733
733
|
modelValue: m.value,
|
|
734
734
|
"onUpdate:modelValue": u[0] || (u[0] = (r) => m.value = r),
|
|
735
735
|
label: p.label,
|
|
@@ -746,7 +746,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
746
746
|
a("span", null, v(r.name), 1)
|
|
747
747
|
]),
|
|
748
748
|
"selected-option": $(({ data: r }) => [
|
|
749
|
-
a("div",
|
|
749
|
+
a("div", cl, [
|
|
750
750
|
a("i", {
|
|
751
751
|
class: Ae(["konnectio-flag-icon", r.iso])
|
|
752
752
|
}, null, 2),
|
|
@@ -756,7 +756,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
756
756
|
_: 1
|
|
757
757
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
758
758
|
}
|
|
759
|
-
}),
|
|
759
|
+
}), ml = /* @__PURE__ */ ce(pl, [["__scopeId", "data-v-1462612d"]]), fl = /* @__PURE__ */ Q({
|
|
760
760
|
__name: "NameField",
|
|
761
761
|
props: {
|
|
762
762
|
modelValue: {},
|
|
@@ -788,7 +788,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
788
788
|
const { t: u } = ne();
|
|
789
789
|
return tt(() => {
|
|
790
790
|
t.modelValue && (s.value = t.modelValue), t.title && (m.value = t.title);
|
|
791
|
-
}), (r, d) => (c(), A(
|
|
791
|
+
}), (r, d) => (c(), A(uo, {
|
|
792
792
|
label: r.label,
|
|
793
793
|
id: o(i),
|
|
794
794
|
required: r.required,
|
|
@@ -803,7 +803,7 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
803
803
|
{ "no-title": r.excludeTitle }
|
|
804
804
|
])
|
|
805
805
|
}, [
|
|
806
|
-
r.excludeTitle ? _("", !0) : (c(), A(
|
|
806
|
+
r.excludeTitle ? _("", !0) : (c(), A(Ie, {
|
|
807
807
|
key: 0,
|
|
808
808
|
modelValue: m.value,
|
|
809
809
|
"onUpdate:modelValue": d[0] || (d[0] = (h) => m.value = h),
|
|
@@ -860,70 +860,67 @@ const Qo = /* @__PURE__ */ Q({
|
|
|
860
860
|
_: 1
|
|
861
861
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
862
862
|
}
|
|
863
|
-
}),
|
|
863
|
+
}), hl = /* @__PURE__ */ ce(fl, [["__scopeId", "data-v-78b0b319"]]), vl = { class: "hotel-skeleton" }, yl = { class: "hotel-skeleton-content" }, gl = { class: "hotel-skeleton-sidebar" }, bl = /* @__PURE__ */ Q({
|
|
864
864
|
__name: "HotelSkeleton",
|
|
865
865
|
setup(n) {
|
|
866
|
-
return (l, t) => (c(), f("div",
|
|
867
|
-
a("div", vl, [
|
|
868
|
-
g(To, { hotel: "" }),
|
|
869
|
-
g(vo)
|
|
870
|
-
]),
|
|
866
|
+
return (l, t) => (c(), f("div", vl, [
|
|
871
867
|
a("div", yl, [
|
|
868
|
+
g($o, { hotel: "" }),
|
|
872
869
|
g(yo)
|
|
870
|
+
]),
|
|
871
|
+
a("div", gl, [
|
|
872
|
+
g(go)
|
|
873
873
|
])
|
|
874
874
|
]));
|
|
875
875
|
}
|
|
876
|
-
}), kl = /* @__PURE__ */ ce(
|
|
877
|
-
const
|
|
876
|
+
}), kl = /* @__PURE__ */ ce(bl, [["__scopeId", "data-v-1bb21da4"]]), ot = (n) => (kt("data-v-046ea616"), n = n(), _t(), n), _l = { id: "booking-availability-container" }, Vl = { id: "booking-availability-controls" };
|
|
877
|
+
const Tl = { key: 1 }, $l = { key: 0 }, Cl = {
|
|
878
878
|
key: 0,
|
|
879
879
|
id: "booking-availability-packages"
|
|
880
880
|
}, wl = {
|
|
881
881
|
key: 0,
|
|
882
882
|
class: "konnectio-hotel-availability-title"
|
|
883
|
-
},
|
|
883
|
+
}, Pl = { id: "booking-availability-packages-wrapper" }, Al = { key: 1 }, Dl = {
|
|
884
884
|
key: 0,
|
|
885
885
|
class: "konnectio-hotel-availability-title"
|
|
886
|
-
},
|
|
886
|
+
}, Hl = { id: "konnectio-listings" }, Il = {
|
|
887
887
|
key: 2,
|
|
888
888
|
id: "booking-availability-packages"
|
|
889
|
-
}, Sl = {
|
|
890
|
-
key: 0,
|
|
891
|
-
class: "konnectio-hotel-availability-title"
|
|
892
|
-
}, Il = { id: "booking-availability-packages-wrapper" }, Bl = {
|
|
889
|
+
}, Sl = { class: "konnectio-hotel-availability-title" }, Bl = { id: "booking-availability-packages-wrapper" }, El = {
|
|
893
890
|
key: 3,
|
|
894
891
|
id: "booking-availability-no-listings",
|
|
895
892
|
class: "konnectio-panel"
|
|
896
|
-
},
|
|
893
|
+
}, Ml = {
|
|
897
894
|
key: 1,
|
|
898
895
|
id: "booking-availability-no-listings"
|
|
899
|
-
},
|
|
896
|
+
}, Ll = {
|
|
900
897
|
key: 2,
|
|
901
898
|
id: "reservation-availability-next-dates"
|
|
902
|
-
},
|
|
903
|
-
const
|
|
899
|
+
}, Ul = { class: "konnectio-hotel-availability-title" }, Rl = { class: "reservation-special-offers-grid" }, Nl = ["title"];
|
|
900
|
+
const Fl = {
|
|
904
901
|
key: 2,
|
|
905
902
|
class: "konnectio-listing-loading"
|
|
906
|
-
},
|
|
903
|
+
}, Ol = { class: "konnectio-panel" }, jl = {
|
|
907
904
|
key: 0,
|
|
908
905
|
id: "konnectio-hotel-addons"
|
|
909
906
|
};
|
|
910
|
-
const
|
|
907
|
+
const Gl = { class: "konnectio-event-addons-price" }, ql = { key: 1 }, Wl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("br", null, null, -1)), Kl = { class: "konnectio-hotel-addons-option" }, xl = {
|
|
911
908
|
key: 1,
|
|
912
909
|
id: "konnectio-hotel-addons"
|
|
913
|
-
},
|
|
914
|
-
const
|
|
910
|
+
}, zl = { class: "konnectio-table with-lines" };
|
|
911
|
+
const Jl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), Yl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("br", null, null, -1)), Zl = { class: "konnectio-hotel-addons-option" }, Ql = ["onClick"], Xl = { class: "konnectio-panel" }, en = { key: 0 }, tn = { key: 1 }, on = { class: "konnectio-split-inputs" }, ln = ["onClick"], nn = /* @__PURE__ */ Q({
|
|
915
912
|
name: "HotelLayout",
|
|
916
913
|
__name: "Hotel",
|
|
917
914
|
props: {
|
|
918
915
|
accessToken: {},
|
|
919
|
-
headerLayout: { default:
|
|
916
|
+
headerLayout: { default: co.Minimal },
|
|
920
917
|
onlyShow: { default: "everything" },
|
|
921
918
|
hideAddons: { default: "no" },
|
|
922
919
|
selectedLocation: {},
|
|
923
920
|
styling: {}
|
|
924
921
|
},
|
|
925
922
|
setup(n) {
|
|
926
|
-
const l =
|
|
923
|
+
const l = to(() => import("./_-C3cdq-vi.js")), t = n, { t: e } = ne(), {
|
|
927
924
|
templateID: i,
|
|
928
925
|
templateAddons: s,
|
|
929
926
|
countries: m,
|
|
@@ -934,11 +931,11 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
934
931
|
arrivalTime: h,
|
|
935
932
|
departureTime: V,
|
|
936
933
|
name: P,
|
|
937
|
-
nameTitle:
|
|
938
|
-
email:
|
|
934
|
+
nameTitle: C,
|
|
935
|
+
email: S,
|
|
939
936
|
phone: B,
|
|
940
|
-
firmName:
|
|
941
|
-
postal:
|
|
937
|
+
firmName: b,
|
|
938
|
+
postal: w,
|
|
942
939
|
city: H,
|
|
943
940
|
address: O,
|
|
944
941
|
country: j,
|
|
@@ -948,25 +945,25 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
948
945
|
roomDisplay: X,
|
|
949
946
|
hasValidRoomSelection: Be,
|
|
950
947
|
availabilityData: M,
|
|
951
|
-
selectionHasNoAddons:
|
|
948
|
+
selectionHasNoAddons: pe,
|
|
952
949
|
isAvailabilityDataAvailable: ve,
|
|
953
950
|
getSelectedPackageRoom: Ve,
|
|
954
951
|
selectedPackage: Ee,
|
|
955
952
|
isSearchOutdated: Me
|
|
956
|
-
} = Z(
|
|
953
|
+
} = Z(me()), {
|
|
957
954
|
adults: fe,
|
|
958
955
|
children: ye,
|
|
959
956
|
location: le,
|
|
960
957
|
arrivalDate: x,
|
|
961
958
|
departureDate: L
|
|
962
|
-
} = Z(
|
|
959
|
+
} = Z(ke()), { isValidHotelId: ge, updateDates: Le } = ke(), {
|
|
963
960
|
currency: he,
|
|
964
961
|
arrivalEarliest: Ue,
|
|
965
962
|
arrivalLatest: ae,
|
|
966
963
|
departureEarliest: Re,
|
|
967
964
|
departureLatest: nt,
|
|
968
|
-
enableTracking:
|
|
969
|
-
hideArrivalDepartureInputs:
|
|
965
|
+
enableTracking: It,
|
|
966
|
+
hideArrivalDepartureInputs: St,
|
|
970
967
|
disableArrivalUserSelection: Ne,
|
|
971
968
|
disableNamePrefix: Bt,
|
|
972
969
|
disableDepartureUserSelection: Fe,
|
|
@@ -976,14 +973,40 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
976
973
|
hasPaymentGateway: Ut,
|
|
977
974
|
maxAdultAmount: at,
|
|
978
975
|
maxChildAmount: it
|
|
979
|
-
} = Z(_e()), { beginCheckout: Rt } = Vt(), { display: Oe } =
|
|
976
|
+
} = Z(_e()), { beginCheckout: Rt } = Vt(), { display: Oe } = po(), {
|
|
980
977
|
resetTemplate: Nt,
|
|
981
978
|
resetDiscountVoucher: Ft,
|
|
982
979
|
createReservation: Ot,
|
|
983
980
|
fetchMetadata: jt,
|
|
984
981
|
fetchAvailabilityData: st
|
|
985
|
-
} =
|
|
986
|
-
|
|
982
|
+
} = me(), Gt = oe(!0), qt = [
|
|
983
|
+
{
|
|
984
|
+
id: "availability",
|
|
985
|
+
label: e("booking.availability.title"),
|
|
986
|
+
icon: "search"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
id: "addons",
|
|
990
|
+
label: e("booking.reservation.title"),
|
|
991
|
+
icon: "concierge-bell",
|
|
992
|
+
hidden: pe.value
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
id: "reservation",
|
|
996
|
+
label: e("booking.reservation.title"),
|
|
997
|
+
icon: "concierge-bell"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
id: "payment",
|
|
1001
|
+
hidden: !0
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
id: "confirmation",
|
|
1005
|
+
label: e("booking.confirmation.title"),
|
|
1006
|
+
icon: "calendar-check"
|
|
1007
|
+
}
|
|
1008
|
+
], Wt = G(() => {
|
|
1009
|
+
const k = [
|
|
987
1010
|
{
|
|
988
1011
|
label: e("booking.reservation.business"),
|
|
989
1012
|
value: "Business"
|
|
@@ -993,43 +1016,43 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
993
1016
|
value: "Pleasure"
|
|
994
1017
|
}
|
|
995
1018
|
];
|
|
996
|
-
return Mt.value ||
|
|
1019
|
+
return Mt.value || k.push({
|
|
997
1020
|
label: e("booking.reservation.bleasure"),
|
|
998
1021
|
value: "Bleasure"
|
|
999
|
-
}),
|
|
1000
|
-
}),
|
|
1001
|
-
const
|
|
1022
|
+
}), k;
|
|
1023
|
+
}), Kt = G(() => {
|
|
1024
|
+
const k = M.value.roomGroups.slice();
|
|
1002
1025
|
function T(q, D) {
|
|
1003
1026
|
return Gt.value === !0 ? q.pricesFrom > D.pricesFrom ? -1 : 1 : q.pricesFrom > D.pricesFrom ? 1 : -1;
|
|
1004
1027
|
}
|
|
1005
|
-
return
|
|
1006
|
-
}),
|
|
1028
|
+
return k.sort(T);
|
|
1029
|
+
}), xt = G(() => [[
|
|
1007
1030
|
parseInt(Ue.value.split(":")[0]),
|
|
1008
1031
|
parseInt(ae.value.split(":")[0])
|
|
1009
|
-
]]),
|
|
1032
|
+
]]), zt = G(() => [[
|
|
1010
1033
|
parseInt(Re.value.split(":")[0]),
|
|
1011
1034
|
parseInt(nt.value.split(":")[0])
|
|
1012
1035
|
]]);
|
|
1013
|
-
function rt(
|
|
1014
|
-
t.hideAddons === "yes" ||
|
|
1036
|
+
function rt(k) {
|
|
1037
|
+
t.hideAddons === "yes" || pe.value ? k(2) : k(), Ft();
|
|
1015
1038
|
}
|
|
1016
|
-
async function
|
|
1017
|
-
await Ot(
|
|
1039
|
+
async function Jt(k) {
|
|
1040
|
+
await Ot(k);
|
|
1018
1041
|
}
|
|
1019
|
-
function
|
|
1020
|
-
|
|
1042
|
+
function Yt(k) {
|
|
1043
|
+
It.value && Rt(), t.hideAddons === "yes" || pe.value ? k(2) : k();
|
|
1021
1044
|
}
|
|
1022
|
-
function
|
|
1023
|
-
const
|
|
1045
|
+
function Zt() {
|
|
1046
|
+
const k = fo("hash-params", {
|
|
1024
1047
|
removeNullishValues: !0
|
|
1025
|
-
}), T = parseInt(
|
|
1026
|
-
if (isNaN(T) || (T > at.value ? fe.value = at.value : fe.value = T,
|
|
1048
|
+
}), T = parseInt(k.adults), q = parseInt(k.children), D = parseInt(k.hId), y = k.checkin, W = k.checkout, U = k.roomGroupId;
|
|
1049
|
+
if (isNaN(T) || (T > at.value ? fe.value = at.value : fe.value = T, k.adults = void 0), isNaN(q) || (q > it.value ? ye.value = it.value : ye.value = q, k.children = void 0), isNaN(D) || (ge(D) ? (le.value = D, k.hId = void 0) : Oe({
|
|
1027
1050
|
message: e("alert.error.hotelIdNotFound"),
|
|
1028
1051
|
type: "error"
|
|
1029
1052
|
})), y && W)
|
|
1030
1053
|
if (pt(y) && pt(W)) {
|
|
1031
1054
|
const ee = new Date(y), J = new Date(W);
|
|
1032
|
-
ee <= J ? (x.value = ee, L.value = J,
|
|
1055
|
+
ee <= J ? (x.value = ee, L.value = J, k.checkin = void 0, k.checkout = void 0) : Oe({
|
|
1033
1056
|
message: e("alert.error.invalidDateRange"),
|
|
1034
1057
|
type: "error"
|
|
1035
1058
|
});
|
|
@@ -1038,38 +1061,39 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1038
1061
|
message: e("alert.error.wrongDateFormat"),
|
|
1039
1062
|
type: "error"
|
|
1040
1063
|
});
|
|
1041
|
-
let
|
|
1042
|
-
U && (
|
|
1064
|
+
let I = null;
|
|
1065
|
+
U && (I = U), st(I);
|
|
1043
1066
|
}
|
|
1044
|
-
return (
|
|
1067
|
+
return (k, T) => (c(), A(mo, { styling: k.styling }, {
|
|
1045
1068
|
default: $(() => [
|
|
1046
|
-
(c(), A(
|
|
1069
|
+
(c(), A(eo, { onResolve: Zt }, {
|
|
1047
1070
|
default: $(() => [
|
|
1048
1071
|
g(o(l), {
|
|
1049
1072
|
id: "konnectio-hotel-module",
|
|
1050
|
-
"access-token":
|
|
1073
|
+
"access-token": k.accessToken,
|
|
1051
1074
|
callback: o(jt)
|
|
1052
1075
|
}, {
|
|
1053
1076
|
default: $(() => [
|
|
1054
|
-
g(
|
|
1055
|
-
layout:
|
|
1077
|
+
g(bo, {
|
|
1078
|
+
layout: k.headerLayout,
|
|
1079
|
+
steps: qt,
|
|
1056
1080
|
onReset: o(Nt)
|
|
1057
1081
|
}, {
|
|
1058
1082
|
availability: $(({ next: q }) => [
|
|
1059
1083
|
g(ze, null, {
|
|
1060
1084
|
form: $(() => [
|
|
1061
|
-
a("div",
|
|
1062
|
-
a("div",
|
|
1063
|
-
g(
|
|
1085
|
+
a("div", _l, [
|
|
1086
|
+
a("div", Vl, [
|
|
1087
|
+
g(Co, {
|
|
1064
1088
|
booking: !0,
|
|
1065
|
-
"selected-location": Number(
|
|
1089
|
+
"selected-location": Number(k.selectedLocation)
|
|
1066
1090
|
}, null, 8, ["selected-location"])
|
|
1067
1091
|
]),
|
|
1068
1092
|
_("", !0),
|
|
1069
|
-
!o(p) && o(ve) ? (c(), f("div",
|
|
1070
|
-
o(M).roomGroups.length > 0 || o(M).templates.length > 0 || o(M).specialTemplates.length > 0 ? (c(), f("div",
|
|
1071
|
-
o(M).templates.length > 0 &&
|
|
1072
|
-
|
|
1093
|
+
!o(p) && o(ve) ? (c(), f("div", Tl, [
|
|
1094
|
+
o(M).roomGroups.length > 0 || o(M).templates.length > 0 || o(M).specialTemplates.length > 0 ? (c(), f("div", $l, [
|
|
1095
|
+
o(M).templates.length > 0 && k.onlyShow !== "rooms" ? (c(), f("div", Cl, [
|
|
1096
|
+
k.onlyShow !== "packages" ? (c(), f("h2", wl, [
|
|
1073
1097
|
g(K, {
|
|
1074
1098
|
icon: "box",
|
|
1075
1099
|
type: "fal",
|
|
@@ -1077,29 +1101,29 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1077
1101
|
}),
|
|
1078
1102
|
a("span", null, v(o(e)("booking.availability.packagesTitle")), 1)
|
|
1079
1103
|
])) : _("", !0),
|
|
1080
|
-
a("ul",
|
|
1104
|
+
a("ul", Pl, [
|
|
1081
1105
|
(c(!0), f(E, null, F(o(M).templates, ({
|
|
1082
1106
|
id: D,
|
|
1083
1107
|
name: y,
|
|
1084
1108
|
templateRoomGroups: W,
|
|
1085
1109
|
image: U,
|
|
1086
|
-
description:
|
|
1110
|
+
description: I,
|
|
1087
1111
|
weekendFee: ee
|
|
1088
|
-
}) => (c(), A(
|
|
1112
|
+
}) => (c(), A(il, {
|
|
1089
1113
|
key: D,
|
|
1090
1114
|
id: D,
|
|
1091
|
-
description:
|
|
1115
|
+
description: I,
|
|
1092
1116
|
name: y,
|
|
1093
1117
|
image: U,
|
|
1094
1118
|
weekendFee: ee,
|
|
1095
1119
|
"room-groups": W,
|
|
1096
1120
|
callback: q,
|
|
1097
|
-
"hide-addons":
|
|
1121
|
+
"hide-addons": k.hideAddons
|
|
1098
1122
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1099
1123
|
])
|
|
1100
1124
|
])) : _("", !0),
|
|
1101
|
-
o(M).roomGroups.length > 0 &&
|
|
1102
|
-
o(M).templates.length > 0 &&
|
|
1125
|
+
o(M).roomGroups.length > 0 && k.onlyShow !== "packages" ? (c(), f("div", Al, [
|
|
1126
|
+
o(M).templates.length > 0 && k.onlyShow !== "rooms" ? (c(), f("h2", Dl, [
|
|
1103
1127
|
g(K, {
|
|
1104
1128
|
icon: "house",
|
|
1105
1129
|
type: "fal",
|
|
@@ -1107,36 +1131,36 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1107
1131
|
}),
|
|
1108
1132
|
a("span", null, v(o(e)("booking.availability.roomsTitle")), 1)
|
|
1109
1133
|
])) : _("", !0),
|
|
1110
|
-
a("ul",
|
|
1111
|
-
(c(!0), f(E, null, F(
|
|
1134
|
+
a("ul", Hl, [
|
|
1135
|
+
(c(!0), f(E, null, F(Kt.value, (D, y) => (c(), A(el, {
|
|
1112
1136
|
room: D,
|
|
1113
1137
|
key: y
|
|
1114
1138
|
}, null, 8, ["room"]))), 128))
|
|
1115
1139
|
])
|
|
1116
1140
|
])) : _("", !0),
|
|
1117
|
-
o(M).specialTemplates.length > 0 &&
|
|
1118
|
-
|
|
1141
|
+
o(M).specialTemplates.length > 0 && k.onlyShow !== "rooms" ? (c(), f("div", Il, [
|
|
1142
|
+
a("h2", Sl, [
|
|
1119
1143
|
g(K, {
|
|
1120
1144
|
icon: "sparkles",
|
|
1121
1145
|
type: "fal",
|
|
1122
1146
|
color: "header"
|
|
1123
1147
|
}),
|
|
1124
1148
|
a("span", null, v(o(e)("hotel.specialOffers")), 1)
|
|
1125
|
-
])
|
|
1126
|
-
a("ul",
|
|
1149
|
+
]),
|
|
1150
|
+
a("ul", Bl, [
|
|
1127
1151
|
(c(!0), f(E, null, F(o(M).specialTemplates, ({
|
|
1128
1152
|
id: D,
|
|
1129
1153
|
name: y,
|
|
1130
1154
|
templateRoomGroups: W,
|
|
1131
1155
|
image: U,
|
|
1132
|
-
description:
|
|
1156
|
+
description: I,
|
|
1133
1157
|
weekendFee: ee,
|
|
1134
1158
|
fromDate: J,
|
|
1135
1159
|
toDate: je
|
|
1136
|
-
}) => (c(), A(
|
|
1160
|
+
}) => (c(), A(ul, {
|
|
1137
1161
|
key: D,
|
|
1138
1162
|
id: D,
|
|
1139
|
-
description:
|
|
1163
|
+
description: I,
|
|
1140
1164
|
name: y,
|
|
1141
1165
|
image: U,
|
|
1142
1166
|
fromDate: J,
|
|
@@ -1147,13 +1171,13 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1147
1171
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1148
1172
|
])
|
|
1149
1173
|
])) : _("", !0),
|
|
1150
|
-
(o(M).templates.length === 0 &&
|
|
1174
|
+
(o(M).templates.length === 0 && k.onlyShow !== "rooms" || o(M).roomGroups.length === 0 && k.onlyShow !== "packages") && (k.onlyShow === "rooms" || k.onlyShow === "packages") ? (c(), f("div", El, [
|
|
1151
1175
|
a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
|
|
1152
1176
|
])) : _("", !0)
|
|
1153
|
-
])) : o(M).nextAvailableDates.length === 0 ? (c(), f("div",
|
|
1177
|
+
])) : o(M).nextAvailableDates.length === 0 ? (c(), f("div", Ml, [
|
|
1154
1178
|
a("span", null, v(o(e)("booking.availability.nothingAvailable")), 1)
|
|
1155
|
-
])) : (c(), f("div",
|
|
1156
|
-
a("h2",
|
|
1179
|
+
])) : (c(), f("div", Ll, [
|
|
1180
|
+
a("h2", Ul, [
|
|
1157
1181
|
g(K, {
|
|
1158
1182
|
icon: "calendar-circle-exclamation",
|
|
1159
1183
|
type: "fal",
|
|
@@ -1161,13 +1185,13 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1161
1185
|
}),
|
|
1162
1186
|
a("span", null, v(o(e)("booking.availability.nextAvailableDates")), 1)
|
|
1163
1187
|
]),
|
|
1164
|
-
a("ul",
|
|
1188
|
+
a("ul", Rl, [
|
|
1165
1189
|
(c(!0), f(E, null, F(o(M).nextAvailableDates, (D, y) => (c(), f("li", { key: y }, [
|
|
1166
1190
|
a("h3", {
|
|
1167
1191
|
title: `${o(ue)(D.fromDate)} - ${o(ue)(D.toDate)}`
|
|
1168
1192
|
}, [
|
|
1169
1193
|
a("span", null, v(`${o(ue)(D.fromDate)} - ${o(ue)(D.toDate)}`), 1)
|
|
1170
|
-
], 8,
|
|
1194
|
+
], 8, Nl),
|
|
1171
1195
|
a("ul", null, [
|
|
1172
1196
|
_("", !0),
|
|
1173
1197
|
a("li", null, [
|
|
@@ -1187,7 +1211,7 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1187
1211
|
]))), 128))
|
|
1188
1212
|
])
|
|
1189
1213
|
]))
|
|
1190
|
-
])) : (c(), f("div",
|
|
1214
|
+
])) : (c(), f("div", Fl, [
|
|
1191
1215
|
g(xe),
|
|
1192
1216
|
g(xe),
|
|
1193
1217
|
g(xe)
|
|
@@ -1203,10 +1227,10 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1203
1227
|
onClickEvent: T[1] || (T[1] = (D) => o(st)())
|
|
1204
1228
|
}, null, 8, ["label", "is-loading"])) : (c(), A(de, {
|
|
1205
1229
|
key: 1,
|
|
1206
|
-
label: o(
|
|
1230
|
+
label: o(pe) || k.hideAddons === "yes" ? o(e)("booking.availability.nextButton") : o(e)("general.chooseAddons"),
|
|
1207
1231
|
disabled: !o(Be),
|
|
1208
1232
|
"full-width": "",
|
|
1209
|
-
onClickEvent: (D) =>
|
|
1233
|
+
onClickEvent: (D) => Yt(q)
|
|
1210
1234
|
}, null, 8, ["label", "disabled", "onClickEvent"]))
|
|
1211
1235
|
]),
|
|
1212
1236
|
_: 2
|
|
@@ -1215,12 +1239,12 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1215
1239
|
addons: $(({ next: q, prev: D }) => [
|
|
1216
1240
|
o(ve) ? (c(), A(ze, { key: 0 }, {
|
|
1217
1241
|
form: $(() => [
|
|
1218
|
-
a("form",
|
|
1242
|
+
a("form", Ol, [
|
|
1219
1243
|
a("h2", null, [
|
|
1220
1244
|
a("span", null, v(o(e)("booking.reservation.addons")), 1)
|
|
1221
1245
|
]),
|
|
1222
1246
|
a("div", null, [
|
|
1223
|
-
isNaN(o(i)) ? (c(), f("div",
|
|
1247
|
+
isNaN(o(i)) ? (c(), f("div", jl, [
|
|
1224
1248
|
(c(!0), f(E, null, F(o(X), (y) => (c(), f("ul", {
|
|
1225
1249
|
key: y.roomGroupID
|
|
1226
1250
|
}, [
|
|
@@ -1230,7 +1254,7 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1230
1254
|
a("h4", null, [
|
|
1231
1255
|
a("span", null, v(o(re)(y.title)), 1)
|
|
1232
1256
|
]),
|
|
1233
|
-
(c(!0), f(E, null, F(W.rooms, (
|
|
1257
|
+
(c(!0), f(E, null, F(W.rooms, (I, ee) => (c(), f("table", {
|
|
1234
1258
|
key: ee,
|
|
1235
1259
|
class: "konnectio-table with-lines"
|
|
1236
1260
|
}, [
|
|
@@ -1240,21 +1264,21 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1240
1264
|
a("span", null, v(o(re)(W.name)), 1)
|
|
1241
1265
|
]),
|
|
1242
1266
|
_("", !0),
|
|
1243
|
-
a("th",
|
|
1267
|
+
a("th", Gl, [
|
|
1244
1268
|
a("b", null, [
|
|
1245
1269
|
g(K, {
|
|
1246
1270
|
icon: "male",
|
|
1247
1271
|
type: "fas",
|
|
1248
1272
|
color: "font"
|
|
1249
1273
|
}),
|
|
1250
|
-
a("span", null, v(
|
|
1251
|
-
|
|
1274
|
+
a("span", null, v(I.adultsCount), 1),
|
|
1275
|
+
I.childrenCount > 0 ? (c(), A(K, {
|
|
1252
1276
|
key: 0,
|
|
1253
1277
|
icon: "child",
|
|
1254
1278
|
type: "fas",
|
|
1255
1279
|
color: "font"
|
|
1256
1280
|
})) : _("", !0),
|
|
1257
|
-
|
|
1281
|
+
I.childrenCount > 0 ? (c(), f("span", ql, v(I.childrenCount), 1)) : _("", !0)
|
|
1258
1282
|
])
|
|
1259
1283
|
])
|
|
1260
1284
|
])
|
|
@@ -1263,28 +1287,28 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1263
1287
|
(c(!0), f(E, null, F(y.addons, ({
|
|
1264
1288
|
quantityStrategy: J,
|
|
1265
1289
|
maximumNumber: je,
|
|
1266
|
-
id:
|
|
1267
|
-
name:
|
|
1268
|
-
price:
|
|
1269
|
-
}) => (c(), f("tr", { key:
|
|
1290
|
+
id: be,
|
|
1291
|
+
name: Qt,
|
|
1292
|
+
price: Xt
|
|
1293
|
+
}) => (c(), f("tr", { key: be }, [
|
|
1270
1294
|
a("td", null, [
|
|
1271
|
-
a("b", null, v(o(re)(
|
|
1272
|
-
|
|
1273
|
-
a("span", null, v(o(te)(
|
|
1295
|
+
a("b", null, v(o(re)(Qt)), 1),
|
|
1296
|
+
Wl,
|
|
1297
|
+
a("span", null, v(o(te)(Xt, o(he))) + " " + v(o(ct)(J)), 1)
|
|
1274
1298
|
]),
|
|
1275
|
-
a("td",
|
|
1276
|
-
o(z)[y.roomGroupID][U].config[
|
|
1299
|
+
a("td", Kl, [
|
|
1300
|
+
o(z)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx] ? (c(), f(E, { key: 0 }, [
|
|
1277
1301
|
J === 1 || J === 12 ? (c(), A(Qe, {
|
|
1278
1302
|
key: 0,
|
|
1279
|
-
modelValue: o(z)[y.roomGroupID][U].config[
|
|
1280
|
-
"onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][U].config[
|
|
1303
|
+
modelValue: o(z)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][be],
|
|
1304
|
+
"onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][be] = Ge,
|
|
1281
1305
|
small: !0,
|
|
1282
1306
|
"min-value": 0,
|
|
1283
1307
|
"max-value": je || 1 / 0
|
|
1284
1308
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), A(De, {
|
|
1285
1309
|
key: 1,
|
|
1286
|
-
modelValue: o(z)[y.roomGroupID][U].config[
|
|
1287
|
-
"onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][U].config[
|
|
1310
|
+
modelValue: o(z)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][be],
|
|
1311
|
+
"onUpdate:modelValue": (Ge) => o(z)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][be] = Ge,
|
|
1288
1312
|
numeric: !0
|
|
1289
1313
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1290
1314
|
], 64)) : _("", !0)
|
|
@@ -1294,19 +1318,19 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1294
1318
|
]))), 128))
|
|
1295
1319
|
]))), 128))
|
|
1296
1320
|
]))), 128))
|
|
1297
|
-
])) : o(Ve) ? (c(), f("div",
|
|
1321
|
+
])) : o(Ve) ? (c(), f("div", xl, [
|
|
1298
1322
|
a("div", null, [
|
|
1299
1323
|
a("h4", null, [
|
|
1300
1324
|
a("span", null, v(o(Ee).name), 1)
|
|
1301
1325
|
]),
|
|
1302
|
-
a("table",
|
|
1326
|
+
a("table", zl, [
|
|
1303
1327
|
a("thead", null, [
|
|
1304
1328
|
a("tr", null, [
|
|
1305
1329
|
a("th", null, [
|
|
1306
1330
|
a("span", null, v(o(re)(o(Ve).title)), 1)
|
|
1307
1331
|
]),
|
|
1308
1332
|
_("", !0),
|
|
1309
|
-
|
|
1333
|
+
Jl
|
|
1310
1334
|
])
|
|
1311
1335
|
]),
|
|
1312
1336
|
a("tbody", null, [
|
|
@@ -1314,15 +1338,15 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1314
1338
|
quantityStrategy: y,
|
|
1315
1339
|
maximumNumber: W,
|
|
1316
1340
|
id: U,
|
|
1317
|
-
name:
|
|
1341
|
+
name: I,
|
|
1318
1342
|
price: ee
|
|
1319
1343
|
}) => (c(), f("tr", { key: U }, [
|
|
1320
1344
|
a("td", null, [
|
|
1321
|
-
a("b", null, v(o(re)(
|
|
1322
|
-
|
|
1345
|
+
a("b", null, v(o(re)(I)), 1),
|
|
1346
|
+
Yl,
|
|
1323
1347
|
a("span", null, v(o(te)(ee, o(he))) + " " + v(o(ct)(y)), 1)
|
|
1324
1348
|
]),
|
|
1325
|
-
a("td",
|
|
1349
|
+
a("td", Zl, [
|
|
1326
1350
|
y === 1 || y === 12 ? (c(), A(Qe, {
|
|
1327
1351
|
key: 0,
|
|
1328
1352
|
modelValue: o(s)[U],
|
|
@@ -1353,10 +1377,10 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1353
1377
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1354
1378
|
a("button", {
|
|
1355
1379
|
class: "konnectio-abort-reservation link",
|
|
1356
|
-
onClick:
|
|
1380
|
+
onClick: we((y) => rt(D), ["prevent"])
|
|
1357
1381
|
}, [
|
|
1358
1382
|
a("span", null, v(o(e)("general.goAStepBack")), 1)
|
|
1359
|
-
], 8,
|
|
1383
|
+
], 8, Ql)
|
|
1360
1384
|
]),
|
|
1361
1385
|
_: 2
|
|
1362
1386
|
}, 1024)) : _("", !0)
|
|
@@ -1368,40 +1392,40 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1368
1392
|
"show-gift-card": !0
|
|
1369
1393
|
}, {
|
|
1370
1394
|
form: $(() => [
|
|
1371
|
-
a("form",
|
|
1395
|
+
a("form", Xl, [
|
|
1372
1396
|
a("h2", null, [
|
|
1373
1397
|
a("span", null, v(o(e)("booking.reservation.detailsTitle")), 1)
|
|
1374
1398
|
]),
|
|
1375
|
-
!o(
|
|
1399
|
+
!o(St) && !(o(Ne) && o(Fe)) ? (c(), f("ul", {
|
|
1376
1400
|
key: 0,
|
|
1377
1401
|
class: Ae({ "konnectio-split-inputs": !o(Ne) && !o(Fe) })
|
|
1378
1402
|
}, [
|
|
1379
|
-
o(Ne) ? _("", !0) : (c(), f("li",
|
|
1403
|
+
o(Ne) ? _("", !0) : (c(), f("li", en, [
|
|
1380
1404
|
g(mt, {
|
|
1381
1405
|
modelValue: o(h),
|
|
1382
1406
|
"onUpdate:modelValue": T[2] || (T[2] = (y) => N(h) ? h.value = y : null),
|
|
1383
1407
|
label: o(e)("booking.reservation.arrivalTime"),
|
|
1384
1408
|
icon: "hourglass-start",
|
|
1385
|
-
"hour-range":
|
|
1409
|
+
"hour-range": xt.value,
|
|
1386
1410
|
required: ""
|
|
1387
1411
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1388
1412
|
])),
|
|
1389
|
-
o(Fe) ? _("", !0) : (c(), f("li",
|
|
1413
|
+
o(Fe) ? _("", !0) : (c(), f("li", tn, [
|
|
1390
1414
|
g(mt, {
|
|
1391
1415
|
modelValue: o(V),
|
|
1392
1416
|
"onUpdate:modelValue": T[3] || (T[3] = (y) => N(V) ? V.value = y : null),
|
|
1393
1417
|
label: o(e)("booking.reservation.departureTime"),
|
|
1394
1418
|
icon: "hourglass-end",
|
|
1395
|
-
"hour-range":
|
|
1419
|
+
"hour-range": zt.value,
|
|
1396
1420
|
required: ""
|
|
1397
1421
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1398
1422
|
]))
|
|
1399
1423
|
], 2)) : _("", !0),
|
|
1400
|
-
g(
|
|
1424
|
+
g(hl, {
|
|
1401
1425
|
modelValue: o(P),
|
|
1402
1426
|
"onUpdate:modelValue": T[4] || (T[4] = (y) => N(P) ? P.value = y : null),
|
|
1403
|
-
title: o(
|
|
1404
|
-
"onUpdate:title": T[5] || (T[5] = (y) => N(
|
|
1427
|
+
title: o(C),
|
|
1428
|
+
"onUpdate:title": T[5] || (T[5] = (y) => N(C) ? C.value = y : null),
|
|
1405
1429
|
"exclude-title": o(Bt),
|
|
1406
1430
|
label: o(e)("booking.reservation.name"),
|
|
1407
1431
|
icon: "user-alt",
|
|
@@ -1409,8 +1433,8 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1409
1433
|
required: ""
|
|
1410
1434
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1411
1435
|
g(se, {
|
|
1412
|
-
modelValue: o(
|
|
1413
|
-
"onUpdate:modelValue": T[6] || (T[6] = (y) => N(
|
|
1436
|
+
modelValue: o(S),
|
|
1437
|
+
"onUpdate:modelValue": T[6] || (T[6] = (y) => N(S) ? S.value = y : null),
|
|
1414
1438
|
type: "email",
|
|
1415
1439
|
name: "email",
|
|
1416
1440
|
autocomplete: "email",
|
|
@@ -1421,8 +1445,8 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1421
1445
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1422
1446
|
o(Lt) ? _("", !0) : (c(), A(se, {
|
|
1423
1447
|
key: 1,
|
|
1424
|
-
modelValue: o(
|
|
1425
|
-
"onUpdate:modelValue": T[7] || (T[7] = (y) => N(
|
|
1448
|
+
modelValue: o(b),
|
|
1449
|
+
"onUpdate:modelValue": T[7] || (T[7] = (y) => N(b) ? b.value = y : null),
|
|
1426
1450
|
type: "text",
|
|
1427
1451
|
name: "firm",
|
|
1428
1452
|
autocomplete: "firm",
|
|
@@ -1430,7 +1454,7 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1430
1454
|
icon: "id-card",
|
|
1431
1455
|
placeholder: o(e)("booking.reservation.companyNamePlaceholder")
|
|
1432
1456
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1433
|
-
g(
|
|
1457
|
+
g(Ao, {
|
|
1434
1458
|
modelValue: o(B),
|
|
1435
1459
|
"onUpdate:modelValue": T[8] || (T[8] = (y) => N(B) ? B.value = y : null),
|
|
1436
1460
|
icon: "phone-office",
|
|
@@ -1438,7 +1462,7 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1438
1462
|
placeholder: o(e)("booking.reservation.phonePlaceholder"),
|
|
1439
1463
|
required: ""
|
|
1440
1464
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1441
|
-
g(
|
|
1465
|
+
g(ml, {
|
|
1442
1466
|
modelValue: o(j),
|
|
1443
1467
|
"onUpdate:modelValue": T[9] || (T[9] = (y) => N(j) ? j.value = y : null),
|
|
1444
1468
|
label: o(e)("booking.reservation.country"),
|
|
@@ -1457,11 +1481,11 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1457
1481
|
placeholder: o(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1458
1482
|
required: ""
|
|
1459
1483
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1460
|
-
a("ul",
|
|
1484
|
+
a("ul", on, [
|
|
1461
1485
|
a("li", null, [
|
|
1462
1486
|
g(se, {
|
|
1463
|
-
modelValue: o(
|
|
1464
|
-
"onUpdate:modelValue": T[11] || (T[11] = (y) => N(
|
|
1487
|
+
modelValue: o(w),
|
|
1488
|
+
"onUpdate:modelValue": T[11] || (T[11] = (y) => N(w) ? w.value = y : null),
|
|
1465
1489
|
type: "text",
|
|
1466
1490
|
name: "postal",
|
|
1467
1491
|
autocomplete: "postal-code",
|
|
@@ -1507,7 +1531,7 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1507
1531
|
"onUpdate:modelValue": T[15] || (T[15] = (y) => N(d) ? d.value = y : null),
|
|
1508
1532
|
label: `${o(e)("booking.reservation.purposeOfStay")} (${o(e)("booking.reservation.optional")})`,
|
|
1509
1533
|
name: "travelingFor",
|
|
1510
|
-
checkboxes:
|
|
1534
|
+
checkboxes: Wt.value
|
|
1511
1535
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1512
1536
|
])
|
|
1513
1537
|
]),
|
|
@@ -1518,24 +1542,24 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1518
1542
|
disabled: !o(r),
|
|
1519
1543
|
"is-loading": o(u),
|
|
1520
1544
|
"full-width": "",
|
|
1521
|
-
onClickEvent: (y) =>
|
|
1545
|
+
onClickEvent: (y) => Jt(q)
|
|
1522
1546
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1523
1547
|
a("button", {
|
|
1524
1548
|
class: "konnectio-abort-reservation link",
|
|
1525
|
-
onClick:
|
|
1549
|
+
onClick: we((y) => rt(D), ["prevent"])
|
|
1526
1550
|
}, [
|
|
1527
1551
|
a("span", null, v(o(e)("general.goAStepBack")), 1)
|
|
1528
|
-
], 8,
|
|
1552
|
+
], 8, ln)
|
|
1529
1553
|
])
|
|
1530
1554
|
]),
|
|
1531
1555
|
_: 2
|
|
1532
1556
|
}, 1024)) : _("", !0)
|
|
1533
1557
|
]),
|
|
1534
1558
|
payment: $(() => [
|
|
1535
|
-
g(
|
|
1559
|
+
g(Do)
|
|
1536
1560
|
]),
|
|
1537
1561
|
confirmation: $(() => [
|
|
1538
|
-
g(
|
|
1562
|
+
g(_o, {
|
|
1539
1563
|
message: o(e)("booking.confirmation.thankYou")
|
|
1540
1564
|
}, null, 8, ["message"])
|
|
1541
1565
|
]),
|
|
@@ -1554,7 +1578,7 @@ const zl = /* @__PURE__ */ ot(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1554
1578
|
_: 1
|
|
1555
1579
|
}, 8, ["styling"]));
|
|
1556
1580
|
}
|
|
1557
|
-
}), Te = /* @__PURE__ */ ce(
|
|
1581
|
+
}), Te = /* @__PURE__ */ ce(nn, [["__scopeId", "data-v-046ea616"]]);
|
|
1558
1582
|
function Xe(n, l = {}, t) {
|
|
1559
1583
|
for (const e in n) {
|
|
1560
1584
|
const i = n[e], s = t ? `${t}:${e}` : e;
|
|
@@ -1562,15 +1586,15 @@ function Xe(n, l = {}, t) {
|
|
|
1562
1586
|
}
|
|
1563
1587
|
return l;
|
|
1564
1588
|
}
|
|
1565
|
-
const
|
|
1566
|
-
function
|
|
1589
|
+
const an = { run: (n) => n() }, sn = () => an, Pt = typeof console.createTask < "u" ? console.createTask : sn;
|
|
1590
|
+
function rn(n, l) {
|
|
1567
1591
|
const t = l.shift(), e = Pt(t);
|
|
1568
1592
|
return n.reduce(
|
|
1569
1593
|
(i, s) => i.then(() => e.run(() => s(...l))),
|
|
1570
1594
|
Promise.resolve()
|
|
1571
1595
|
);
|
|
1572
1596
|
}
|
|
1573
|
-
function
|
|
1597
|
+
function dn(n, l) {
|
|
1574
1598
|
const t = l.shift(), e = Pt(t);
|
|
1575
1599
|
return Promise.all(n.map((i) => e.run(() => i(...l))));
|
|
1576
1600
|
}
|
|
@@ -1578,7 +1602,7 @@ function Je(n, l) {
|
|
|
1578
1602
|
for (const t of [...n])
|
|
1579
1603
|
t(l);
|
|
1580
1604
|
}
|
|
1581
|
-
class
|
|
1605
|
+
class un {
|
|
1582
1606
|
constructor() {
|
|
1583
1607
|
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);
|
|
1584
1608
|
}
|
|
@@ -1647,10 +1671,10 @@ class dn {
|
|
|
1647
1671
|
delete this._hooks[l];
|
|
1648
1672
|
}
|
|
1649
1673
|
callHook(l, ...t) {
|
|
1650
|
-
return t.unshift(l), this.callHookWith(
|
|
1674
|
+
return t.unshift(l), this.callHookWith(rn, l, ...t);
|
|
1651
1675
|
}
|
|
1652
1676
|
callHookParallel(l, ...t) {
|
|
1653
|
-
return t.unshift(l), this.callHookWith(
|
|
1677
|
+
return t.unshift(l), this.callHookWith(dn, l, ...t);
|
|
1654
1678
|
}
|
|
1655
1679
|
callHookWith(l, t, ...e) {
|
|
1656
1680
|
const i = this._before || this._after ? { name: t, args: e, context: {} } : void 0;
|
|
@@ -1680,20 +1704,20 @@ class dn {
|
|
|
1680
1704
|
};
|
|
1681
1705
|
}
|
|
1682
1706
|
}
|
|
1683
|
-
function
|
|
1684
|
-
return new
|
|
1707
|
+
function cn() {
|
|
1708
|
+
return new un();
|
|
1685
1709
|
}
|
|
1686
|
-
function
|
|
1710
|
+
function pn(n) {
|
|
1687
1711
|
return Array.isArray(n) ? n : [n];
|
|
1688
1712
|
}
|
|
1689
|
-
const
|
|
1713
|
+
const mn = ["title", "titleTemplate", "script", "style", "noscript"], $e = [
|
|
1690
1714
|
"base",
|
|
1691
1715
|
"meta",
|
|
1692
1716
|
"link",
|
|
1693
1717
|
"style",
|
|
1694
1718
|
"script",
|
|
1695
1719
|
"noscript"
|
|
1696
|
-
],
|
|
1720
|
+
], fn = [
|
|
1697
1721
|
"title",
|
|
1698
1722
|
"titleTemplate",
|
|
1699
1723
|
"templateParams",
|
|
@@ -1705,7 +1729,7 @@ const pn = ["title", "titleTemplate", "script", "style", "noscript"], $e = [
|
|
|
1705
1729
|
"style",
|
|
1706
1730
|
"script",
|
|
1707
1731
|
"noscript"
|
|
1708
|
-
],
|
|
1732
|
+
], hn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], At = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], vn = typeof window < "u";
|
|
1709
1733
|
function lt(n) {
|
|
1710
1734
|
let l = 9;
|
|
1711
1735
|
for (let t = 0; t < n.length; )
|
|
@@ -1717,7 +1741,7 @@ function ft(n) {
|
|
|
1717
1741
|
}
|
|
1718
1742
|
function Dt(n, l) {
|
|
1719
1743
|
const { props: t, tag: e } = n;
|
|
1720
|
-
if (
|
|
1744
|
+
if (hn.includes(e))
|
|
1721
1745
|
return e;
|
|
1722
1746
|
if (e === "link" && t.rel === "canonical")
|
|
1723
1747
|
return "canonical";
|
|
@@ -1735,7 +1759,7 @@ function Dt(n, l) {
|
|
|
1735
1759
|
function ht(n, l) {
|
|
1736
1760
|
return n == null ? l || null : typeof n == "function" ? n(l) : n;
|
|
1737
1761
|
}
|
|
1738
|
-
async function
|
|
1762
|
+
async function yn(n, l, t) {
|
|
1739
1763
|
const e = {
|
|
1740
1764
|
tag: n,
|
|
1741
1765
|
props: await Ht(
|
|
@@ -1747,17 +1771,17 @@ async function vn(n, l, t) {
|
|
|
1747
1771
|
};
|
|
1748
1772
|
return At.forEach((i) => {
|
|
1749
1773
|
const s = typeof e.props[i] < "u" ? e.props[i] : t[i];
|
|
1750
|
-
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) ||
|
|
1774
|
+
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || mn.includes(e.tag)) && (e[i === "children" ? "innerHTML" : i] = s), delete e.props[i]);
|
|
1751
1775
|
}), e.props.body && (e.tagPosition = "bodyClose", delete e.props.body), e.tag === "script" && typeof e.innerHTML == "object" && (e.innerHTML = JSON.stringify(e.innerHTML), e.props.type = e.props.type || "application/json"), Array.isArray(e.props.content) ? e.props.content.map((i) => ({ ...e, props: { ...e.props, content: i } })) : e;
|
|
1752
1776
|
}
|
|
1753
|
-
function
|
|
1777
|
+
function gn(n, l) {
|
|
1754
1778
|
const t = n === "class" ? " " : ";";
|
|
1755
1779
|
return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, e]) => e).map(([e, i]) => n === "style" ? `${e}:${i}` : e)), (Array.isArray(l) ? l.join(t) : l)?.split(t).filter((e) => e.trim()).filter(Boolean).join(t);
|
|
1756
1780
|
}
|
|
1757
1781
|
async function Ht(n, l) {
|
|
1758
1782
|
for (const t of Object.keys(n)) {
|
|
1759
1783
|
if (["class", "style"].includes(t)) {
|
|
1760
|
-
n[t] =
|
|
1784
|
+
n[t] = gn(t, n[t]);
|
|
1761
1785
|
continue;
|
|
1762
1786
|
}
|
|
1763
1787
|
if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !At.includes(t)) {
|
|
@@ -1767,13 +1791,13 @@ async function Ht(n, l) {
|
|
|
1767
1791
|
}
|
|
1768
1792
|
return n;
|
|
1769
1793
|
}
|
|
1770
|
-
const
|
|
1794
|
+
const bn = 10;
|
|
1771
1795
|
async function kn(n) {
|
|
1772
1796
|
const l = [];
|
|
1773
|
-
return Object.entries(n.resolvedInput).filter(([t, e]) => typeof e < "u" &&
|
|
1774
|
-
const i =
|
|
1775
|
-
l.push(...i.map((s) =>
|
|
1776
|
-
}), (await Promise.all(l)).flat().filter(Boolean).map((t, e) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i <<
|
|
1797
|
+
return Object.entries(n.resolvedInput).filter(([t, e]) => typeof e < "u" && fn.includes(t)).forEach(([t, e]) => {
|
|
1798
|
+
const i = pn(e);
|
|
1799
|
+
l.push(...i.map((s) => yn(t, s, n)).flat());
|
|
1800
|
+
}), (await Promise.all(l)).flat().filter(Boolean).map((t, e) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << bn) + e, t));
|
|
1777
1801
|
}
|
|
1778
1802
|
const vt = {
|
|
1779
1803
|
// tags
|
|
@@ -1790,8 +1814,8 @@ function He(n) {
|
|
|
1790
1814
|
const t = n.tagPriority;
|
|
1791
1815
|
return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (l = -30), n.props.charset && (l = -20), n.props.name === "viewport" && (l = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? l = 20 : n.tag in vt && (l = vt[n.tag]), typeof t == "string" && t in yt ? l + yt[t] : l);
|
|
1792
1816
|
}
|
|
1793
|
-
const
|
|
1794
|
-
function
|
|
1817
|
+
const _n = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], gt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
|
|
1818
|
+
function Ce(n, l, t) {
|
|
1795
1819
|
if (typeof n != "string" || !n.includes("%"))
|
|
1796
1820
|
return n;
|
|
1797
1821
|
function e(m) {
|
|
@@ -1806,9 +1830,9 @@ function we(n, l, t) {
|
|
|
1806
1830
|
return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((m) => {
|
|
1807
1831
|
const p = e(m.slice(1));
|
|
1808
1832
|
typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
|
|
1809
|
-
}), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n =
|
|
1833
|
+
}), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n = Ce(n, { separator: t }, t)), n;
|
|
1810
1834
|
}
|
|
1811
|
-
async function
|
|
1835
|
+
async function Vn(n, l = {}) {
|
|
1812
1836
|
const t = l.document || n.resolvedOptions.document;
|
|
1813
1837
|
if (!t || !n.dirty)
|
|
1814
1838
|
return;
|
|
@@ -1827,18 +1851,18 @@ async function _n(n, l = {}) {
|
|
|
1827
1851
|
};
|
|
1828
1852
|
for (const d of ["body", "head"]) {
|
|
1829
1853
|
const h = t[d]?.children, V = [];
|
|
1830
|
-
for (const P of [...h].filter((
|
|
1831
|
-
const
|
|
1854
|
+
for (const P of [...h].filter((C) => $e.includes(C.tagName.toLowerCase()))) {
|
|
1855
|
+
const C = {
|
|
1832
1856
|
tag: P.tagName.toLowerCase(),
|
|
1833
1857
|
props: await Ht(
|
|
1834
|
-
P.getAttributeNames().reduce((
|
|
1858
|
+
P.getAttributeNames().reduce((b, w) => ({ ...b, [w]: P.getAttribute(w) }), {})
|
|
1835
1859
|
),
|
|
1836
1860
|
innerHTML: P.innerHTML
|
|
1837
1861
|
};
|
|
1838
|
-
let
|
|
1839
|
-
for (; B && V.find((
|
|
1840
|
-
B = `${B}:${
|
|
1841
|
-
|
|
1862
|
+
let S = 1, B = Dt(C);
|
|
1863
|
+
for (; B && V.find((b) => b._d === B); )
|
|
1864
|
+
B = `${B}:${S++}`;
|
|
1865
|
+
C._d = B || void 0, V.push(C), s.elMap[P.getAttribute("data-hid") || ft(C)] = P;
|
|
1842
1866
|
}
|
|
1843
1867
|
}
|
|
1844
1868
|
}
|
|
@@ -1849,27 +1873,27 @@ async function _n(n, l = {}) {
|
|
|
1849
1873
|
}
|
|
1850
1874
|
function p({ id: d, $el: h, tag: V }) {
|
|
1851
1875
|
const P = V.tag.endsWith("Attrs");
|
|
1852
|
-
s.elMap[d] = h, P || (["textContent", "innerHTML"].forEach((
|
|
1853
|
-
V[
|
|
1876
|
+
s.elMap[d] = h, P || (["textContent", "innerHTML"].forEach((C) => {
|
|
1877
|
+
V[C] && V[C] !== h[C] && (h[C] = V[C]);
|
|
1854
1878
|
}), m(d, "el", () => {
|
|
1855
1879
|
s.elMap[d]?.remove(), delete s.elMap[d];
|
|
1856
1880
|
}));
|
|
1857
|
-
for (const [
|
|
1858
|
-
h.getAttribute(`data-${
|
|
1859
|
-
Object.entries(V.props).forEach(([
|
|
1860
|
-
const B = `attr:${
|
|
1861
|
-
if (
|
|
1862
|
-
for (const
|
|
1863
|
-
P && m(d, `${B}:${
|
|
1864
|
-
else if (
|
|
1865
|
-
for (const
|
|
1866
|
-
const [
|
|
1867
|
-
m(d, `${B}:${
|
|
1868
|
-
h.style.removeProperty(
|
|
1869
|
-
}), h.style.setProperty(
|
|
1881
|
+
for (const [C, S] of Object.entries(V._eventHandlers || {}))
|
|
1882
|
+
h.getAttribute(`data-${C}`) !== "" && ((V.tag === "bodyAttrs" ? t.defaultView : h).addEventListener(C.replace("on", ""), S.bind(h)), h.setAttribute(`data-${C}`, ""));
|
|
1883
|
+
Object.entries(V.props).forEach(([C, S]) => {
|
|
1884
|
+
const B = `attr:${C}`;
|
|
1885
|
+
if (C === "class")
|
|
1886
|
+
for (const b of (S || "").split(" ").filter(Boolean))
|
|
1887
|
+
P && m(d, `${B}:${b}`, () => h.classList.remove(b)), !h.classList.contains(b) && h.classList.add(b);
|
|
1888
|
+
else if (C === "style")
|
|
1889
|
+
for (const b of (S || "").split(";").filter(Boolean)) {
|
|
1890
|
+
const [w, ...H] = b.split(":").map((O) => O.trim());
|
|
1891
|
+
m(d, `${B}:${b}:${w}`, () => {
|
|
1892
|
+
h.style.removeProperty(w);
|
|
1893
|
+
}), h.style.setProperty(w, H.join(":"));
|
|
1870
1894
|
}
|
|
1871
1895
|
else
|
|
1872
|
-
h.getAttribute(
|
|
1896
|
+
h.getAttribute(C) !== S && h.setAttribute(C, S === !0 ? "" : String(S)), P && m(d, B, () => h.removeAttribute(C));
|
|
1873
1897
|
});
|
|
1874
1898
|
}
|
|
1875
1899
|
const u = [], r = {
|
|
@@ -1895,27 +1919,27 @@ async function _n(n, l = {}) {
|
|
|
1895
1919
|
await n.hooks.callHook("dom:renderTag", d, t, m);
|
|
1896
1920
|
r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((d) => d()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
|
|
1897
1921
|
}
|
|
1898
|
-
async function
|
|
1922
|
+
async function Tn(n, l = {}) {
|
|
1899
1923
|
const t = l.delayFn || ((e) => setTimeout(e, 10));
|
|
1900
1924
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((e) => t(async () => {
|
|
1901
|
-
await
|
|
1925
|
+
await Vn(n, l), delete n._domUpdatePromise, e();
|
|
1902
1926
|
}));
|
|
1903
1927
|
}
|
|
1904
1928
|
// @__NO_SIDE_EFFECTS__
|
|
1905
|
-
function
|
|
1929
|
+
function $n(n) {
|
|
1906
1930
|
return (l) => {
|
|
1907
1931
|
const t = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1908
1932
|
return t && l.push(JSON.parse(t)), {
|
|
1909
1933
|
mode: "client",
|
|
1910
1934
|
hooks: {
|
|
1911
1935
|
"entries:updated": function(e) {
|
|
1912
|
-
|
|
1936
|
+
Tn(e, n);
|
|
1913
1937
|
}
|
|
1914
1938
|
}
|
|
1915
1939
|
};
|
|
1916
1940
|
};
|
|
1917
1941
|
}
|
|
1918
|
-
const
|
|
1942
|
+
const Cn = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
|
|
1919
1943
|
hooks: {
|
|
1920
1944
|
"tag:normalise": function({ tag: n }) {
|
|
1921
1945
|
["hid", "vmid", "key"].forEach((e) => {
|
|
@@ -1930,7 +1954,7 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
|
|
|
1930
1954
|
const i = (e.key ? `${e.tag}:${e.key}` : e._d) || e._p, s = l[i];
|
|
1931
1955
|
if (s) {
|
|
1932
1956
|
let p = e?.tagDuplicateStrategy;
|
|
1933
|
-
if (!p &&
|
|
1957
|
+
if (!p && Cn.includes(e.tag) && (p = "merge"), p === "merge") {
|
|
1934
1958
|
const u = s.props;
|
|
1935
1959
|
["class", "style"].forEach((r) => {
|
|
1936
1960
|
u[r] && (e.props[r] ? (r === "style" && !u[r].endsWith(";") && (u[r] += ";"), e.props[r] = `${u[r]} ${e.props[r]}`) : e.props[r] = u[r]);
|
|
@@ -1959,7 +1983,7 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
|
|
|
1959
1983
|
}), n.tags = t, n.tags = n.tags.filter((e) => !(e.tag === "meta" && (e.props.name || e.props.property) && !e.props.content));
|
|
1960
1984
|
}
|
|
1961
1985
|
}
|
|
1962
|
-
},
|
|
1986
|
+
}, Pn = {
|
|
1963
1987
|
mode: "server",
|
|
1964
1988
|
hooks: {
|
|
1965
1989
|
"tags:resolve": function(n) {
|
|
@@ -1973,10 +1997,10 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
|
|
|
1973
1997
|
});
|
|
1974
1998
|
}
|
|
1975
1999
|
}
|
|
1976
|
-
},
|
|
2000
|
+
}, An = ["script", "link", "bodyAttrs"], Dn = (n) => ({
|
|
1977
2001
|
hooks: {
|
|
1978
2002
|
"tags:resolve": function(l) {
|
|
1979
|
-
for (const t of l.tags.filter((e) =>
|
|
2003
|
+
for (const t of l.tags.filter((e) => An.includes(e.tag)))
|
|
1980
2004
|
Object.entries(t.props).forEach(([e, i]) => {
|
|
1981
2005
|
e.startsWith("on") && typeof i == "function" && (n.ssr && gt.includes(e) ? t.props[e] = `this.dataset.${e}fired = true` : delete t.props[e], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[e] = i);
|
|
1982
2006
|
}), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || lt(t.props.src || t.props.href));
|
|
@@ -1988,17 +2012,17 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
|
|
|
1988
2012
|
}
|
|
1989
2013
|
}
|
|
1990
2014
|
}
|
|
1991
|
-
}),
|
|
2015
|
+
}), Hn = ["link", "style", "script", "noscript"], In = {
|
|
1992
2016
|
hooks: {
|
|
1993
2017
|
"tag:normalise": ({ tag: n }) => {
|
|
1994
|
-
n.key &&
|
|
2018
|
+
n.key && Hn.includes(n.tag) && (n.props["data-hid"] = n._h = lt(n.key));
|
|
1995
2019
|
}
|
|
1996
2020
|
}
|
|
1997
2021
|
}, Sn = {
|
|
1998
2022
|
hooks: {
|
|
1999
2023
|
"tags:resolve": (n) => {
|
|
2000
2024
|
const l = (t) => n.tags.find((e) => e._d === t)?._p;
|
|
2001
|
-
for (const { prefix: t, offset: e } of
|
|
2025
|
+
for (const { prefix: t, offset: e } of _n)
|
|
2002
2026
|
for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
|
|
2003
2027
|
const s = l(
|
|
2004
2028
|
i.tagPriority.replace(t, "")
|
|
@@ -2008,25 +2032,25 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
|
|
|
2008
2032
|
n.tags.sort((t, e) => t._p - e._p).sort((t, e) => He(t) - He(e));
|
|
2009
2033
|
}
|
|
2010
2034
|
}
|
|
2011
|
-
},
|
|
2035
|
+
}, Bn = {
|
|
2012
2036
|
meta: "content",
|
|
2013
2037
|
link: "href",
|
|
2014
2038
|
htmlAttrs: "lang"
|
|
2015
|
-
},
|
|
2039
|
+
}, En = (n) => ({
|
|
2016
2040
|
hooks: {
|
|
2017
2041
|
"tags:resolve": (l) => {
|
|
2018
2042
|
const { tags: t } = l, e = t.find((p) => p.tag === "title")?.textContent, i = t.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, m = s.separator || "|";
|
|
2019
|
-
delete s.separator, s.pageTitle =
|
|
2043
|
+
delete s.separator, s.pageTitle = Ce(s.pageTitle || e || "", s, m);
|
|
2020
2044
|
for (const p of t.filter((u) => u.processTemplateParams !== !1)) {
|
|
2021
|
-
const u =
|
|
2022
|
-
u && typeof p.props[u] == "string" ? p.props[u] =
|
|
2023
|
-
typeof p[r] == "string" && (p[r] =
|
|
2045
|
+
const u = Bn[p.tag];
|
|
2046
|
+
u && typeof p.props[u] == "string" ? p.props[u] = Ce(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
|
|
2047
|
+
typeof p[r] == "string" && (p[r] = Ce(p[r], s, m));
|
|
2024
2048
|
});
|
|
2025
2049
|
}
|
|
2026
2050
|
n._templateParams = s, n._separator = m, l.tags = t.filter((p) => p.tag !== "templateParams");
|
|
2027
2051
|
}
|
|
2028
2052
|
}
|
|
2029
|
-
}),
|
|
2053
|
+
}), Mn = {
|
|
2030
2054
|
hooks: {
|
|
2031
2055
|
"tags:resolve": (n) => {
|
|
2032
2056
|
const { tags: l } = n;
|
|
@@ -2047,7 +2071,7 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
|
|
|
2047
2071
|
t !== -1 && delete l[t], n.tags = l.filter(Boolean);
|
|
2048
2072
|
}
|
|
2049
2073
|
}
|
|
2050
|
-
},
|
|
2074
|
+
}, Ln = {
|
|
2051
2075
|
hooks: {
|
|
2052
2076
|
"tags:afterResolve": function(n) {
|
|
2053
2077
|
for (const l of n.tags)
|
|
@@ -2056,16 +2080,16 @@ const $n = ["templateParams", "htmlAttrs", "bodyAttrs"], wn = {
|
|
|
2056
2080
|
}
|
|
2057
2081
|
};
|
|
2058
2082
|
// @__NO_SIDE_EFFECTS__
|
|
2059
|
-
function
|
|
2060
|
-
const l =
|
|
2061
|
-
return l.use(/* @__PURE__ */
|
|
2083
|
+
function Un(n = {}) {
|
|
2084
|
+
const l = Rn(n);
|
|
2085
|
+
return l.use(/* @__PURE__ */ $n()), l;
|
|
2062
2086
|
}
|
|
2063
|
-
function
|
|
2087
|
+
function bt(n, l) {
|
|
2064
2088
|
return !n || n === "server" && l || n === "client" && !l;
|
|
2065
2089
|
}
|
|
2066
|
-
function
|
|
2067
|
-
const l =
|
|
2068
|
-
l.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2090
|
+
function Rn(n = {}) {
|
|
2091
|
+
const l = cn();
|
|
2092
|
+
l.addHooks(n.hooks || {}), n.document = n.document || (vn ? document : void 0);
|
|
2069
2093
|
const t = !n.document, e = () => {
|
|
2070
2094
|
p.dirty = !0, l.callHook("entries:updated", p);
|
|
2071
2095
|
};
|
|
@@ -2080,7 +2104,7 @@ function Un(n = {}) {
|
|
|
2080
2104
|
},
|
|
2081
2105
|
use(u) {
|
|
2082
2106
|
const r = typeof u == "function" ? u(p) : u;
|
|
2083
|
-
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r),
|
|
2107
|
+
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), bt(r.mode, t) && l.addHooks(r.hooks || {}));
|
|
2084
2108
|
},
|
|
2085
2109
|
push(u, r) {
|
|
2086
2110
|
delete r?.head;
|
|
@@ -2089,7 +2113,7 @@ function Un(n = {}) {
|
|
|
2089
2113
|
input: u,
|
|
2090
2114
|
...r
|
|
2091
2115
|
};
|
|
2092
|
-
return
|
|
2116
|
+
return bt(d.mode, t) && (s.push(d), e()), {
|
|
2093
2117
|
dispose() {
|
|
2094
2118
|
s = s.filter((h) => h._i !== d._i), l.callHook("entries:updated", p), e();
|
|
2095
2119
|
},
|
|
@@ -2116,50 +2140,50 @@ function Un(n = {}) {
|
|
|
2116
2140
|
};
|
|
2117
2141
|
return [
|
|
2118
2142
|
wn,
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2143
|
+
Pn,
|
|
2144
|
+
Dn,
|
|
2145
|
+
In,
|
|
2122
2146
|
Sn,
|
|
2123
|
-
Bn,
|
|
2124
2147
|
En,
|
|
2125
2148
|
Mn,
|
|
2149
|
+
Ln,
|
|
2126
2150
|
...n?.plugins || []
|
|
2127
2151
|
].forEach((u) => p.use(u)), p.hooks.callHook("init", p), p;
|
|
2128
2152
|
}
|
|
2129
|
-
const
|
|
2130
|
-
function
|
|
2153
|
+
const Nn = lo.startsWith("3");
|
|
2154
|
+
function Fn(n) {
|
|
2131
2155
|
return typeof n == "function" ? n() : o(n);
|
|
2132
2156
|
}
|
|
2133
2157
|
function et(n, l = "") {
|
|
2134
2158
|
if (n instanceof Promise)
|
|
2135
2159
|
return n;
|
|
2136
|
-
const t =
|
|
2160
|
+
const t = Fn(n);
|
|
2137
2161
|
return !n || !t ? t : Array.isArray(t) ? t.map((e) => et(e, l)) : typeof t == "object" ? Object.fromEntries(
|
|
2138
2162
|
Object.entries(t).map(([e, i]) => e === "titleTemplate" || e.startsWith("on") ? [e, o(i)] : [e, et(i, e)])
|
|
2139
2163
|
) : t;
|
|
2140
2164
|
}
|
|
2141
|
-
const
|
|
2165
|
+
const On = {
|
|
2142
2166
|
hooks: {
|
|
2143
2167
|
"entries:resolve": function(n) {
|
|
2144
2168
|
for (const l of n.entries)
|
|
2145
2169
|
l.resolvedInput = et(l.input);
|
|
2146
2170
|
}
|
|
2147
2171
|
}
|
|
2148
|
-
},
|
|
2149
|
-
function
|
|
2172
|
+
}, jn = "usehead";
|
|
2173
|
+
function Gn(n) {
|
|
2150
2174
|
return {
|
|
2151
2175
|
install(t) {
|
|
2152
|
-
|
|
2176
|
+
Nn && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(jn, n));
|
|
2153
2177
|
}
|
|
2154
2178
|
}.install;
|
|
2155
2179
|
}
|
|
2156
|
-
function
|
|
2157
|
-
n.domDelayFn = n.domDelayFn || ((t) =>
|
|
2158
|
-
const l = /* @__PURE__ */
|
|
2159
|
-
return l.use(
|
|
2180
|
+
function qn(n = {}) {
|
|
2181
|
+
n.domDelayFn = n.domDelayFn || ((t) => oo(() => setTimeout(() => t(), 0)));
|
|
2182
|
+
const l = /* @__PURE__ */ Un(n);
|
|
2183
|
+
return l.use(On), l.install = Gn(l), l;
|
|
2160
2184
|
}
|
|
2161
|
-
const
|
|
2162
|
-
class
|
|
2185
|
+
const Wn = io(), Kn = qn(), xn = ro();
|
|
2186
|
+
class zn extends HTMLElement {
|
|
2163
2187
|
vueApp;
|
|
2164
2188
|
constructor() {
|
|
2165
2189
|
super();
|
|
@@ -2181,13 +2205,13 @@ class xn extends HTMLElement {
|
|
|
2181
2205
|
let r = this.attributes.getNamedItem(u)?.value;
|
|
2182
2206
|
m.hasOwnProperty(u) && (r = m[u]), s[u] = r;
|
|
2183
2207
|
}
|
|
2184
|
-
this.vueApp =
|
|
2208
|
+
this.vueApp = no(Te, s), this.vueApp.provide("emitter", xn), this.vueApp.use(Kn), this.vueApp.use(Wn), this.vueApp.use(Vo), this.vueApp.use(so), this.vueApp.use(To), this.vueApp.use(ho, { bootstrap: !0 });
|
|
2185
2209
|
const p = document.createElement("div");
|
|
2186
2210
|
this.vueApp.mount(p), this.appendChild(p.children[0]);
|
|
2187
2211
|
}
|
|
2188
2212
|
}
|
|
2189
|
-
window.customElements.define("konnectio-hotel",
|
|
2213
|
+
window.customElements.define("konnectio-hotel", zn);
|
|
2190
2214
|
export {
|
|
2191
|
-
|
|
2215
|
+
zn as default
|
|
2192
2216
|
};
|
|
2193
2217
|
//# sourceMappingURL=hotel.js.map
|