@konnectio/core 4.0.56-rc44 → 4.0.56-rc45
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-Djfp-835.js → ActionField-DgGRyzyW.js} +3 -3
- package/dist/ActionField-DgGRyzyW.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DDFsTOcT.js → AvailabilitySkeleton-D_svZV0K.js} +48 -48
- package/dist/AvailabilitySkeleton-D_svZV0K.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CsyexEp4.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvjkJdcx.js} +4 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvjkJdcx.js.br +0 -0
- package/dist/{CheckoutWindow-CNEuNkIt.js → CheckoutWindow-B85nPXcN.js} +14 -14
- package/dist/CheckoutWindow-B85nPXcN.js.br +0 -0
- package/dist/{ErrorMessage-bD3z1ENc.js → ErrorMessage-hoBbvZJL.js} +3 -3
- package/dist/ErrorMessage-hoBbvZJL.js.br +0 -0
- package/dist/{EventAvailabilityForm-BJ6gzh6V.js → EventAvailabilityForm-CqiuFIoF.js} +5 -5
- package/dist/EventAvailabilityForm-CqiuFIoF.js.br +0 -0
- package/dist/{Field-BflvstOX.js → Field-Crk3SejD.js} +3 -3
- package/dist/Field-Crk3SejD.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-hMDyUv2Y.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CbcnRtEB.js} +954 -948
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CbcnRtEB.js.br +0 -0
- package/dist/TermsOfService-CIIPZAIU.js +35 -0
- package/dist/TermsOfService-CIIPZAIU.js.br +0 -0
- package/dist/_-DuaWvsgR.js +12 -0
- package/dist/_.vue_vue_type_style_index_0_lang-MG6OWZHv.js +71 -0
- package/dist/_.vue_vue_type_style_index_0_lang-MG6OWZHv.js.br +0 -0
- package/dist/_commonjsHelpers-CbB_C6Ai.js +11816 -0
- package/dist/_commonjsHelpers-CbB_C6Ai.js.br +0 -0
- package/dist/availability.js +28 -29
- package/dist/availability.js.br +0 -0
- package/dist/event.js +41 -42
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +23 -24
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +28 -29
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-CWyKVevn.js → giftCard-CeKChSm1.js} +6 -6
- package/dist/giftCard-CeKChSm1.js.br +0 -0
- package/dist/hotel.js +262 -262
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CttzlASt.js → masonry.plugin-CKLroL2Q.js} +6 -6
- package/dist/masonry.plugin-CKLroL2Q.js.br +0 -0
- package/dist/navigation.js +3 -3
- package/dist/polyfill.js +795 -796
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +4 -4
- package/dist/ActionField-Djfp-835.js.br +0 -0
- package/dist/AvailabilitySkeleton-DDFsTOcT.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CsyexEp4.js.br +0 -0
- package/dist/CheckoutWindow-CNEuNkIt.js.br +0 -0
- package/dist/ErrorMessage-bD3z1ENc.js.br +0 -0
- package/dist/EventAvailabilityForm-BJ6gzh6V.js.br +0 -0
- package/dist/Field-BflvstOX.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-hMDyUv2Y.js.br +0 -0
- package/dist/TermsOfService-CgTw1PTk.js +0 -35
- package/dist/TermsOfService-CgTw1PTk.js.br +0 -0
- package/dist/_-DuCIctjS.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-C_NfK1xz.js +0 -71
- package/dist/_.vue_vue_type_style_index_0_lang-C_NfK1xz.js.br +0 -0
- package/dist/_commonjsHelpers-BnQF6Gki.js +0 -9543
- package/dist/_commonjsHelpers-BnQF6Gki.js.br +0 -0
- package/dist/giftCard-CWyKVevn.js.br +0 -0
- package/dist/masonry.plugin-CttzlASt.js.br +0 -0
- package/dist/sentry-6-6DYT4Z.js +0 -18
- package/dist/tracing-wnoA9-xG.js +0 -2287
- package/dist/tracing-wnoA9-xG.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { d as x, r as te, o as c, b as D, w as $, v as Le, g as a, t as v, u as o, y as et, z as tt, f as g, a as h, A as N, F as E, e as b, D as je, x as L, i as $e, c as q, p as pt, j as mt, h as Je, q as Ce, n as we, S as Yt, N as Zt, K as
|
|
2
|
-
import { h as ne, s as ee, b as ge,
|
|
3
|
-
import { R as
|
|
4
|
-
import { A as
|
|
5
|
-
import { S as
|
|
6
|
-
import { a as Pe, B as
|
|
7
|
-
import { _ as yt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-
|
|
1
|
+
import { d as x, r as te, o as c, b as D, w as $, v as Le, g as a, t as v, u as o, y as et, z as tt, f as g, a as h, A as N, F as E, e as b, D as je, x as L, i as $e, c as q, p as pt, j as mt, h as Je, q as Ce, n as we, S as Yt, N as Zt, K as Qt, O as eo, k as to } from "./_commonjsHelpers-CbB_C6Ai.js";
|
|
2
|
+
import { h as ne, s as ee, b as ge, z as me, D as re, A as K, R as qe, J as ot, U as se, B as Q, F as oo, _ as de, k as De, V as ft, l as Ge, C as pe, j as ht, K as vt, m as We, r as lt, T as ie, I as lo, W as no, n as ao, P as nt, X as io, o as so, p as ro, q as uo, H as co, t as po } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CbcnRtEB.js";
|
|
3
|
+
import { R as mo, B as He, L as fo, S as ho, M as vo, a as Ne, C as yo, T as go, V as ko, G as bo } from "./masonry.plugin-CKLroL2Q.js";
|
|
4
|
+
import { A as _o, H as Vo } from "./AvailabilitySkeleton-D_svZV0K.js";
|
|
5
|
+
import { S as To } from "./TermsOfService-CIIPZAIU.js";
|
|
6
|
+
import { a as Pe, B as $o, P as Co, C as wo } from "./CheckoutWindow-B85nPXcN.js";
|
|
7
|
+
import { _ as yt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvjkJdcx.js";
|
|
8
8
|
import "./navigation.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] = "c727126d-a025-431b-b137-4d471e183c81", n._sentryDebugIdIdentifier = "sentry-dbid-c727126d-a025-431b-b137-4d471e183c81");
|
|
13
13
|
} catch {
|
|
14
14
|
}
|
|
15
15
|
})();
|
|
16
|
-
const
|
|
17
|
-
const
|
|
16
|
+
const Po = { class: "konnectio-hotel-reservation-warning" }, Ao = { class: "konnectio-hotel-reservation-warning" };
|
|
17
|
+
const Do = { key: 0 }, Ho = { key: 1 }, So = { key: 0 }, Io = { class: "konnectio-reservation-actions" }, Bo = /* @__PURE__ */ x({
|
|
18
18
|
__name: "HotelReservationForm",
|
|
19
19
|
props: {
|
|
20
20
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -33,7 +33,7 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
33
33
|
arrivalTime: r,
|
|
34
34
|
departureTime: d,
|
|
35
35
|
roomDisplay: f,
|
|
36
|
-
templateID:
|
|
36
|
+
templateID: V,
|
|
37
37
|
totalPrice: P,
|
|
38
38
|
areListingsLoading: C,
|
|
39
39
|
getSelectedPackageRoom: S,
|
|
@@ -46,13 +46,13 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
46
46
|
termsOfService: J,
|
|
47
47
|
discountCode: R,
|
|
48
48
|
hasTermOfService: z,
|
|
49
|
-
acceptTerms:
|
|
49
|
+
acceptTerms: X,
|
|
50
50
|
totalTemplateAddonPrice: ke
|
|
51
51
|
} = ee(me()), { removeRoom: O, validateDiscountCode: he } = me(), ue = te(!1);
|
|
52
52
|
function fe(oe) {
|
|
53
53
|
return oe.reduce((M, { totalPrice: ve }) => M + ve, 0);
|
|
54
54
|
}
|
|
55
|
-
return (oe, W) => (c(), D(
|
|
55
|
+
return (oe, W) => (c(), D(mo, {
|
|
56
56
|
"discount-code": o(R),
|
|
57
57
|
"onUpdate:discountCode": W[4] || (W[4] = (M) => L(R) ? R.value = M : null),
|
|
58
58
|
"validate-discount-code": o(he),
|
|
@@ -70,7 +70,7 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
70
70
|
a("span", null, v(o(l)("booking.reservation.arrival")), 1),
|
|
71
71
|
a("b", null, [
|
|
72
72
|
a("span", null, v(o(e) ? o(re)(o(w)) : `${o(re)(o(w))}, ${o(t) ? o(s) : o(r)}`), 1),
|
|
73
|
-
et(a("span",
|
|
73
|
+
et(a("span", Po, [
|
|
74
74
|
g(K, {
|
|
75
75
|
icon: "exclamation-triangle",
|
|
76
76
|
type: "fas"
|
|
@@ -84,7 +84,7 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
84
84
|
a("span", null, v(o(l)("booking.reservation.departure")), 1),
|
|
85
85
|
a("b", null, [
|
|
86
86
|
a("span", null, v(o(e) ? o(re)(o(H)) : `${o(re)(o(H))}, ${o(i) ? o(m) : o(d)}`), 1),
|
|
87
|
-
et(a("span",
|
|
87
|
+
et(a("span", Ao, [
|
|
88
88
|
g(K, {
|
|
89
89
|
icon: "exclamation-triangle",
|
|
90
90
|
type: "fas"
|
|
@@ -106,7 +106,7 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
106
106
|
]))), 128)) : b("", !0)
|
|
107
107
|
]),
|
|
108
108
|
"price-summary": $(() => [
|
|
109
|
-
isNaN(o(
|
|
109
|
+
isNaN(o(V)) && o(f).length > 0 ? (c(!0), h(E, { key: 0 }, N(o(f), ({
|
|
110
110
|
roomGroupID: M,
|
|
111
111
|
title: ve,
|
|
112
112
|
variants: Se
|
|
@@ -138,18 +138,18 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
138
138
|
])
|
|
139
139
|
]),
|
|
140
140
|
a("b", null, [
|
|
141
|
-
a("span", null, v(o(
|
|
141
|
+
a("span", null, v(o(Q)(Y.totalPrice, o(u))), 1),
|
|
142
142
|
b("", !0)
|
|
143
143
|
])
|
|
144
144
|
]),
|
|
145
|
-
fe(Y.roomAddons) > 0 ? (c(), h("li",
|
|
145
|
+
fe(Y.roomAddons) > 0 ? (c(), h("li", Do, [
|
|
146
146
|
a("span", null, v(o(l)("general.addons")), 1),
|
|
147
|
-
a("b", null, v(o(
|
|
147
|
+
a("b", null, v(o(Q)(fe(Y.roomAddons), o(u))), 1)
|
|
148
148
|
])) : b("", !0)
|
|
149
149
|
]))), 128))
|
|
150
150
|
]))), 128))
|
|
151
151
|
]))), 128)) : b("", !0),
|
|
152
|
-
o(S) && o(I) ? (c(), h("div",
|
|
152
|
+
o(S) && o(I) ? (c(), h("div", Ho, [
|
|
153
153
|
a("h6", null, [
|
|
154
154
|
a("span", null, v(o(se)(o(I).name)), 1)
|
|
155
155
|
]),
|
|
@@ -160,19 +160,19 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
160
160
|
a("span", null, v(o(se)(o(S).title)), 1)
|
|
161
161
|
]),
|
|
162
162
|
a("b", null, [
|
|
163
|
-
a("span", null, v(o(
|
|
163
|
+
a("span", null, v(o(Q)(o(S).extraPrice, o(u))), 1)
|
|
164
164
|
])
|
|
165
165
|
]),
|
|
166
|
-
o(ke) ? (c(), h("li",
|
|
166
|
+
o(ke) ? (c(), h("li", So, [
|
|
167
167
|
a("span", null, v(o(l)("general.addons")), 1),
|
|
168
|
-
a("b", null, v(o(
|
|
168
|
+
a("b", null, v(o(Q)(o(ke), o(u))), 1)
|
|
169
169
|
])) : b("", !0)
|
|
170
170
|
])
|
|
171
171
|
])
|
|
172
172
|
])) : b("", !0)
|
|
173
173
|
]),
|
|
174
174
|
actions: $(() => [
|
|
175
|
-
a("ul",
|
|
175
|
+
a("ul", Io, [
|
|
176
176
|
o(p) ? b("", !0) : (c(), D(Pe, {
|
|
177
177
|
key: 0,
|
|
178
178
|
modelValue: o(U),
|
|
@@ -183,8 +183,8 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
183
183
|
}, null, 8, ["modelValue", "label"])),
|
|
184
184
|
o(z) ? (c(), D(Pe, {
|
|
185
185
|
key: 1,
|
|
186
|
-
modelValue: o(
|
|
187
|
-
"onUpdate:modelValue": W[2] || (W[2] = (M) => L(
|
|
186
|
+
modelValue: o(X),
|
|
187
|
+
"onUpdate:modelValue": W[2] || (W[2] = (M) => L(X) ? X.value = M : null),
|
|
188
188
|
type: "checkbox",
|
|
189
189
|
name: "terms"
|
|
190
190
|
}, {
|
|
@@ -208,7 +208,7 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
208
208
|
_: 1
|
|
209
209
|
}, 8, ["modelValue"])) : b("", !0),
|
|
210
210
|
Le(oe.$slots, "actions", {}, void 0, !0),
|
|
211
|
-
g(
|
|
211
|
+
g(To, {
|
|
212
212
|
modelValue: ue.value,
|
|
213
213
|
"onUpdate:modelValue": W[3] || (W[3] = (M) => ue.value = M),
|
|
214
214
|
description: o(J)
|
|
@@ -221,7 +221,7 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
221
221
|
_: 3
|
|
222
222
|
}, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
223
223
|
}
|
|
224
|
-
}), Fe = /* @__PURE__ */ de(
|
|
224
|
+
}), Fe = /* @__PURE__ */ de(Bo, [["__scopeId", "data-v-f47e4ac5"]]), Eo = (n) => (pt("data-v-69fe83d8"), n = n(), mt(), n), Mo = { class: "konnectio-room-config-option" }, Uo = { key: 0 }, Ro = { class: "konnectio-selected-room-config" }, Lo = { class: "konnectio-selected-room-config-people" }, No = { key: 0 }, Fo = { class: "konnectio-selected-room-config-price" }, Oo = /* @__PURE__ */ Eo(() => /* @__PURE__ */ a("span", null, null, -1)), jo = /* @__PURE__ */ x({
|
|
225
225
|
__name: "RoomConfigField",
|
|
226
226
|
props: {
|
|
227
227
|
modelValue: {},
|
|
@@ -254,7 +254,7 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
254
254
|
searchable: !1
|
|
255
255
|
}, {
|
|
256
256
|
option: $(({ data: d }) => [
|
|
257
|
-
a("span",
|
|
257
|
+
a("span", Mo, [
|
|
258
258
|
a("div", null, [
|
|
259
259
|
g(K, {
|
|
260
260
|
icon: "male",
|
|
@@ -262,7 +262,7 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
262
262
|
color: "font"
|
|
263
263
|
}),
|
|
264
264
|
a("span", null, v(`${d.adults}`), 1),
|
|
265
|
-
d.children > 0 ? (c(), h("span",
|
|
265
|
+
d.children > 0 ? (c(), h("span", Uo, [
|
|
266
266
|
g(K, {
|
|
267
267
|
icon: "child",
|
|
268
268
|
type: "fas",
|
|
@@ -271,32 +271,32 @@ const Ao = { key: 0 }, Do = { key: 1 }, Ho = { key: 0 }, So = { class: "konnecti
|
|
|
271
271
|
a("span", null, v(`${d.children}`), 1)
|
|
272
272
|
])) : b("", !0)
|
|
273
273
|
]),
|
|
274
|
-
a("span", null, v(`(${o(
|
|
274
|
+
a("span", null, v(`(${o(Q)(d.price, o(t))})`), 1)
|
|
275
275
|
])
|
|
276
276
|
]),
|
|
277
277
|
"selected-option": $(({ data: d }) => [
|
|
278
|
-
a("div",
|
|
279
|
-
a("div",
|
|
278
|
+
a("div", Ro, [
|
|
279
|
+
a("div", Lo, [
|
|
280
280
|
a("div", null, [
|
|
281
281
|
b("", !0),
|
|
282
282
|
a("span", null, v(`${d.adults} ${d.adults === 1 ? o(e)("general.adult") : o(e)("general.adults")}`), 1)
|
|
283
283
|
]),
|
|
284
|
-
d.children > 0 ? (c(), h("div",
|
|
284
|
+
d.children > 0 ? (c(), h("div", No, [
|
|
285
285
|
b("", !0),
|
|
286
286
|
a("span", null, v(`& ${d.children} ${d.children === 1 ? o(e)("general.child") : o(e)("general.children")}`), 1)
|
|
287
287
|
])) : b("", !0)
|
|
288
288
|
]),
|
|
289
|
-
a("div",
|
|
290
|
-
|
|
291
|
-
je(" " + v(`(${o(
|
|
289
|
+
a("div", Fo, [
|
|
290
|
+
Oo,
|
|
291
|
+
je(" " + v(`(${o(Q)(d.price, o(t))})`), 1)
|
|
292
292
|
])
|
|
293
293
|
])
|
|
294
294
|
]),
|
|
295
295
|
_: 1
|
|
296
296
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
297
297
|
}
|
|
298
|
-
}),
|
|
299
|
-
const
|
|
298
|
+
}), qo = /* @__PURE__ */ de(jo, [["__scopeId", "data-v-69fe83d8"]]), Go = { class: "konnectio-availability-listing-selection" }, Wo = { key: 1 }, Ko = { class: "konnectio-listing-config-body" }, zo = { class: "konnectio-listing-units-body" };
|
|
299
|
+
const Jo = /* @__PURE__ */ x({
|
|
300
300
|
__name: "Hotel",
|
|
301
301
|
props: {
|
|
302
302
|
room: {},
|
|
@@ -314,7 +314,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
314
314
|
const s = q(() => e.room.rates.map((k) => ({
|
|
315
315
|
label: k.name,
|
|
316
316
|
value: k.id
|
|
317
|
-
}))), { hideAvailableRoomAmount: m } = ee(ge()), { roomSelect: p } = ee(me()), { addToCart: u, removeFromCart: r } = ft(), d = (k, w) => e.room.rates.find((H) => H.id === k)?.occupantRates.find((H) => H.index === w), f = q(() => e.room.rates.every((k) => k.isBreakfastIncluded === !0)),
|
|
317
|
+
}))), { hideAvailableRoomAmount: m } = ee(ge()), { roomSelect: p } = ee(me()), { addToCart: u, removeFromCart: r } = ft(), d = (k, w) => e.room.rates.find((H) => H.id === k)?.occupantRates.find((H) => H.index === w), f = q(() => e.room.rates.every((k) => k.isBreakfastIncluded === !0)), V = (k, w) => d(k, w) ? d(k, w)?.rooms : null, P = (k) => e.room.rates.length > 0 ? e.room.rates.find((w) => w.id === k)?.occupantRates.map((w) => ({
|
|
318
318
|
value: w.index,
|
|
319
319
|
price: w.totalPrice,
|
|
320
320
|
adults: w.adultsCount,
|
|
@@ -370,7 +370,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
370
370
|
"includes-breakfast": f.value
|
|
371
371
|
}, {
|
|
372
372
|
action: $(() => [
|
|
373
|
-
a("div",
|
|
373
|
+
a("div", Go, [
|
|
374
374
|
(c(!0), h(E, null, N(t.value, (H, F) => (c(), h("div", {
|
|
375
375
|
key: H.id,
|
|
376
376
|
class: "freshbooking-hotel-room"
|
|
@@ -384,7 +384,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
384
384
|
options: s.value,
|
|
385
385
|
searchable: !1
|
|
386
386
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : b("", !0),
|
|
387
|
-
H.id ? (c(), h("div",
|
|
387
|
+
H.id ? (c(), h("div", Wo, [
|
|
388
388
|
(c(!0), h(E, null, N(k.room.rates, ({
|
|
389
389
|
id: U,
|
|
390
390
|
maximumOccupants: J
|
|
@@ -396,10 +396,10 @@ const zo = /* @__PURE__ */ x({
|
|
|
396
396
|
key: z,
|
|
397
397
|
class: "konnectio-listing-action-selective"
|
|
398
398
|
}, [
|
|
399
|
-
a("ul",
|
|
400
|
-
g(
|
|
399
|
+
a("ul", Ko, [
|
|
400
|
+
g(qo, {
|
|
401
401
|
modelValue: R.id,
|
|
402
|
-
"onUpdate:modelValue": (
|
|
402
|
+
"onUpdate:modelValue": (X) => R.id = X,
|
|
403
403
|
icon: "male",
|
|
404
404
|
"icon-type": "fas",
|
|
405
405
|
label: o(l)("general.guests"),
|
|
@@ -408,17 +408,17 @@ const zo = /* @__PURE__ */ x({
|
|
|
408
408
|
readonly: !(P(U).length > 1)
|
|
409
409
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
410
410
|
]),
|
|
411
|
-
a("ul",
|
|
411
|
+
a("ul", zo, [
|
|
412
412
|
g(Ge, {
|
|
413
413
|
modelValue: R.units,
|
|
414
|
-
"onUpdate:modelValue": (
|
|
415
|
-
description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${
|
|
414
|
+
"onUpdate:modelValue": (X) => R.units = X,
|
|
415
|
+
description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${V(H.id, R.id)}`,
|
|
416
416
|
icon: "house",
|
|
417
417
|
"icon-type": "fas",
|
|
418
418
|
"icon-placement": "label",
|
|
419
419
|
label: o(l)("booking.availability.units"),
|
|
420
420
|
minValue: 0,
|
|
421
|
-
"max-value":
|
|
421
|
+
"max-value": V(U, R.id) || 1 / 0
|
|
422
422
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
423
423
|
]),
|
|
424
424
|
b("", !0)
|
|
@@ -431,7 +431,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
431
431
|
_: 1
|
|
432
432
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
433
433
|
}
|
|
434
|
-
}),
|
|
434
|
+
}), xo = /* @__PURE__ */ de(Jo, [["__scopeId", "data-v-a4ed36f3"]]), Xo = { class: "konnectio-template-side-panel" }, Yo = { class: "konnectio-template-side-panel-listings" }, Zo = /* @__PURE__ */ x({
|
|
435
435
|
__name: "Template",
|
|
436
436
|
props: {
|
|
437
437
|
title: {},
|
|
@@ -442,21 +442,21 @@ const zo = /* @__PURE__ */ x({
|
|
|
442
442
|
},
|
|
443
443
|
setup(n) {
|
|
444
444
|
const { t: l } = ne(), { templateID: e, roomGroupID: t, selectionHasNoAddons: i } = ee(me()), { currency: s } = ee(ge()), { clearRoomSelection: m } = me(), p = n, u = te(!0), r = q(() => {
|
|
445
|
-
function f(
|
|
446
|
-
return u.value === !0 ?
|
|
445
|
+
function f(V, P) {
|
|
446
|
+
return u.value === !0 ? V.extraPrice > P.extraPrice ? -1 : 1 : V.extraPrice > P.extraPrice ? 1 : -1;
|
|
447
447
|
}
|
|
448
448
|
return p.roomGroups?.slice().sort(f);
|
|
449
449
|
});
|
|
450
450
|
function d(f) {
|
|
451
451
|
e.value = p.templateId, t.value = f, m(), p.hideAddons === "yes" || i.value ? p.callback(2) : p.callback(1);
|
|
452
452
|
}
|
|
453
|
-
return (f,
|
|
453
|
+
return (f, V) => (c(), D($o, {
|
|
454
454
|
title: f.title,
|
|
455
455
|
subtitle: o(l)("booking.availability.selectATemplateRoom")
|
|
456
456
|
}, {
|
|
457
457
|
default: $(() => [
|
|
458
|
-
a("div",
|
|
459
|
-
a("div",
|
|
458
|
+
a("div", Xo, [
|
|
459
|
+
a("div", Yo, [
|
|
460
460
|
(c(!0), h(E, null, N(r.value, ({
|
|
461
461
|
id: P,
|
|
462
462
|
title: C,
|
|
@@ -478,7 +478,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
478
478
|
a("div", null, [
|
|
479
479
|
g(pe, {
|
|
480
480
|
onClickEvent: (H) => d(P),
|
|
481
|
-
label: `${o(l)("booking.availability.selectThisRoom")} (${o(
|
|
481
|
+
label: `${o(l)("booking.availability.selectThisRoom")} (${o(Q)(w, o(s))})`,
|
|
482
482
|
"full-width": ""
|
|
483
483
|
}, null, 8, ["onClickEvent", "label"])
|
|
484
484
|
])
|
|
@@ -491,7 +491,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
491
491
|
_: 1
|
|
492
492
|
}, 8, ["title", "subtitle"]));
|
|
493
493
|
}
|
|
494
|
-
}), gt = /* @__PURE__ */ de(
|
|
494
|
+
}), gt = /* @__PURE__ */ de(Zo, [["__scopeId", "data-v-35a96ba4"]]), Qo = ["innerHTML"], el = { class: "konnectio-template-select-package" }, tl = /* @__PURE__ */ x({
|
|
495
495
|
__name: "Template",
|
|
496
496
|
props: {
|
|
497
497
|
id: {},
|
|
@@ -536,10 +536,10 @@ const zo = /* @__PURE__ */ x({
|
|
|
536
536
|
u.description ? (c(), h("p", {
|
|
537
537
|
key: 0,
|
|
538
538
|
innerHTML: o(ht)(u.description)
|
|
539
|
-
}, null, 8,
|
|
539
|
+
}, null, 8, Qo)) : b("", !0)
|
|
540
540
|
]),
|
|
541
541
|
action: $(() => [
|
|
542
|
-
a("div",
|
|
542
|
+
a("div", el, [
|
|
543
543
|
g(pe, {
|
|
544
544
|
onClickEvent: m,
|
|
545
545
|
label: o(l)("booking.availability.selectPackage"),
|
|
@@ -561,7 +561,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
561
561
|
_: 1
|
|
562
562
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
563
563
|
}
|
|
564
|
-
}),
|
|
564
|
+
}), ol = ["innerHTML"], ll = { class: "konnectio-special-offer-availability" }, nl = { class: "konnectio-special-offer-availability-button" }, al = /* @__PURE__ */ x({
|
|
565
565
|
__name: "SpecialOffer",
|
|
566
566
|
props: {
|
|
567
567
|
id: {},
|
|
@@ -604,13 +604,13 @@ const zo = /* @__PURE__ */ x({
|
|
|
604
604
|
d.description ? (c(), h("p", {
|
|
605
605
|
key: 0,
|
|
606
606
|
innerHTML: o(ht)(d.description)
|
|
607
|
-
}, null, 8,
|
|
607
|
+
}, null, 8, ol)) : b("", !0)
|
|
608
608
|
]),
|
|
609
609
|
action: $(() => [
|
|
610
|
-
a("div",
|
|
610
|
+
a("div", ll, [
|
|
611
611
|
g(yt, {
|
|
612
612
|
modelValue: i.value,
|
|
613
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
613
|
+
"onUpdate:modelValue": f[0] || (f[0] = (V) => i.value = V),
|
|
614
614
|
label: o(l)("availability.checkInOut"),
|
|
615
615
|
placeholder: o(l)("booking.availability.selectDates"),
|
|
616
616
|
"icon-type": "fas",
|
|
@@ -622,7 +622,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
622
622
|
readonly: s.value,
|
|
623
623
|
range: ""
|
|
624
624
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
625
|
-
a("div",
|
|
625
|
+
a("div", nl, [
|
|
626
626
|
g(pe, {
|
|
627
627
|
label: o(l)("availability.buttonLabel"),
|
|
628
628
|
onClick: $e(r, ["prevent"])
|
|
@@ -633,7 +633,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
633
633
|
default: $(() => [
|
|
634
634
|
g(gt, {
|
|
635
635
|
modelValue: p.value,
|
|
636
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
636
|
+
"onUpdate:modelValue": f[1] || (f[1] = (V) => p.value = V),
|
|
637
637
|
title: d.name,
|
|
638
638
|
"template-id": d.id,
|
|
639
639
|
roomGroups: d.roomGroups,
|
|
@@ -690,7 +690,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
690
690
|
readonly: m.readonly
|
|
691
691
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
692
692
|
}
|
|
693
|
-
}),
|
|
693
|
+
}), il = { style: { display: "flex", "align-items": "baseline" } }, sl = /* @__PURE__ */ x({
|
|
694
694
|
__name: "CountryField",
|
|
695
695
|
props: {
|
|
696
696
|
modelValue: {},
|
|
@@ -727,7 +727,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
727
727
|
a("span", null, v(r.name), 1)
|
|
728
728
|
]),
|
|
729
729
|
"selected-option": $(({ data: r }) => [
|
|
730
|
-
a("div",
|
|
730
|
+
a("div", il, [
|
|
731
731
|
a("i", {
|
|
732
732
|
class: we(["konnectio-flag-icon", r.iso])
|
|
733
733
|
}, null, 2),
|
|
@@ -737,7 +737,7 @@ const zo = /* @__PURE__ */ x({
|
|
|
737
737
|
_: 1
|
|
738
738
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
739
739
|
}
|
|
740
|
-
}),
|
|
740
|
+
}), rl = /* @__PURE__ */ de(sl, [["__scopeId", "data-v-1462612d"]]), dl = /* @__PURE__ */ x({
|
|
741
741
|
__name: "NameField",
|
|
742
742
|
props: {
|
|
743
743
|
modelValue: {},
|
|
@@ -841,58 +841,58 @@ const zo = /* @__PURE__ */ x({
|
|
|
841
841
|
_: 1
|
|
842
842
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
843
843
|
}
|
|
844
|
-
}),
|
|
844
|
+
}), ul = /* @__PURE__ */ de(dl, [["__scopeId", "data-v-78b0b319"]]), cl = { class: "hotel-skeleton" }, pl = { class: "hotel-skeleton-content" }, ml = { class: "hotel-skeleton-sidebar" }, fl = /* @__PURE__ */ x({
|
|
845
845
|
__name: "HotelSkeleton",
|
|
846
846
|
setup(n) {
|
|
847
|
-
return (l, e) => (c(), h("div",
|
|
848
|
-
a("div", cl, [
|
|
849
|
-
g(bo, { hotel: "" }),
|
|
850
|
-
g(mo)
|
|
851
|
-
]),
|
|
847
|
+
return (l, e) => (c(), h("div", cl, [
|
|
852
848
|
a("div", pl, [
|
|
849
|
+
g(_o, { hotel: "" }),
|
|
853
850
|
g(fo)
|
|
851
|
+
]),
|
|
852
|
+
a("div", ml, [
|
|
853
|
+
g(ho)
|
|
854
854
|
])
|
|
855
855
|
]));
|
|
856
856
|
}
|
|
857
|
-
}),
|
|
858
|
-
const
|
|
857
|
+
}), hl = /* @__PURE__ */ de(fl, [["__scopeId", "data-v-1bb21da4"]]), xe = (n) => (pt("data-v-009e3e1f"), n = n(), mt(), n), vl = { id: "booking-availability-container" }, yl = { id: "booking-availability-controls" };
|
|
858
|
+
const gl = { key: 1 }, kl = { key: 0 }, bl = {
|
|
859
859
|
key: 0,
|
|
860
860
|
id: "booking-availability-packages"
|
|
861
|
-
},
|
|
861
|
+
}, _l = {
|
|
862
862
|
key: 0,
|
|
863
863
|
class: "konnectio-hotel-availability-title"
|
|
864
|
-
},
|
|
864
|
+
}, Vl = { id: "booking-availability-packages-wrapper" }, Tl = { key: 1 }, $l = {
|
|
865
865
|
key: 0,
|
|
866
866
|
class: "konnectio-hotel-availability-title"
|
|
867
|
-
},
|
|
867
|
+
}, Cl = { id: "konnectio-listings" }, wl = {
|
|
868
868
|
key: 2,
|
|
869
869
|
id: "booking-availability-packages"
|
|
870
|
-
},
|
|
870
|
+
}, Pl = {
|
|
871
871
|
key: 0,
|
|
872
872
|
class: "konnectio-hotel-availability-title"
|
|
873
|
-
},
|
|
873
|
+
}, Al = { id: "booking-availability-packages-wrapper" }, Dl = {
|
|
874
874
|
key: 3,
|
|
875
875
|
id: "booking-availability-no-listings",
|
|
876
876
|
class: "konnectio-panel"
|
|
877
|
-
},
|
|
877
|
+
}, Hl = {
|
|
878
878
|
key: 1,
|
|
879
879
|
id: "booking-availability-no-listings"
|
|
880
|
-
},
|
|
880
|
+
}, Sl = {
|
|
881
881
|
key: 2,
|
|
882
882
|
id: "reservation-availability-next-dates"
|
|
883
|
-
},
|
|
884
|
-
const
|
|
883
|
+
}, Il = { class: "konnectio-hotel-availability-title" }, Bl = { class: "reservation-special-offers-grid" }, El = ["title"];
|
|
884
|
+
const Ml = {
|
|
885
885
|
key: 2,
|
|
886
886
|
class: "konnectio-listing-loading"
|
|
887
|
-
},
|
|
887
|
+
}, Ul = { class: "konnectio-panel" }, Rl = {
|
|
888
888
|
key: 0,
|
|
889
889
|
id: "konnectio-hotel-addons"
|
|
890
890
|
};
|
|
891
|
-
const
|
|
891
|
+
const Ll = { class: "konnectio-event-addons-price" }, Nl = { key: 1 }, Fl = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("br", null, null, -1)), Ol = { class: "konnectio-hotel-addons-option" }, jl = {
|
|
892
892
|
key: 1,
|
|
893
893
|
id: "konnectio-hotel-addons"
|
|
894
|
-
},
|
|
895
|
-
const
|
|
894
|
+
}, ql = { class: "konnectio-table with-lines" };
|
|
895
|
+
const Gl = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), Wl = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("br", null, null, -1)), Kl = { class: "konnectio-hotel-addons-option" }, zl = ["onClick"], Jl = { class: "konnectio-panel" }, xl = { key: 0 }, Xl = { key: 1 }, Yl = { class: "konnectio-split-inputs" }, Zl = ["onClick"], Ql = /* @__PURE__ */ x({
|
|
896
896
|
name: "HotelLayout",
|
|
897
897
|
__name: "Hotel",
|
|
898
898
|
props: {
|
|
@@ -903,7 +903,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
903
903
|
styling: {}
|
|
904
904
|
},
|
|
905
905
|
setup(n) {
|
|
906
|
-
const l = Zt(() => import("./_-
|
|
906
|
+
const l = Zt(() => import("./_-DuaWvsgR.js")), e = n, { t } = ne(), {
|
|
907
907
|
templateID: i,
|
|
908
908
|
templateAddons: s,
|
|
909
909
|
countries: m,
|
|
@@ -912,7 +912,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
912
912
|
isReservationFormFilled: r,
|
|
913
913
|
travelingFor: d,
|
|
914
914
|
arrivalTime: f,
|
|
915
|
-
departureTime:
|
|
915
|
+
departureTime: V,
|
|
916
916
|
name: P,
|
|
917
917
|
nameTitle: C,
|
|
918
918
|
email: S,
|
|
@@ -925,7 +925,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
925
925
|
remark: J,
|
|
926
926
|
allergies: R,
|
|
927
927
|
roomSelect: z,
|
|
928
|
-
roomDisplay:
|
|
928
|
+
roomDisplay: X,
|
|
929
929
|
hasValidRoomSelection: ke,
|
|
930
930
|
availabilityData: O,
|
|
931
931
|
selectionHasNoAddons: he,
|
|
@@ -962,7 +962,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
962
962
|
fetchMetadata: Lt,
|
|
963
963
|
fetchAvailabilityData: Ze
|
|
964
964
|
} = me(), Nt = te(!0), Ft = q(() => {
|
|
965
|
-
const
|
|
965
|
+
const _ = [
|
|
966
966
|
{
|
|
967
967
|
label: t("booking.reservation.business"),
|
|
968
968
|
value: "Business"
|
|
@@ -972,16 +972,16 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
972
972
|
value: "Pleasure"
|
|
973
973
|
}
|
|
974
974
|
];
|
|
975
|
-
return St.value ||
|
|
975
|
+
return St.value || _.push({
|
|
976
976
|
label: t("booking.reservation.bleasure"),
|
|
977
977
|
value: "Bleasure"
|
|
978
|
-
}),
|
|
978
|
+
}), _;
|
|
979
979
|
}), Ot = q(() => {
|
|
980
|
-
const
|
|
980
|
+
const _ = O.value.roomGroups.slice();
|
|
981
981
|
function T(G, A) {
|
|
982
982
|
return Nt.value === !0 ? G.pricesFrom > A.pricesFrom ? -1 : 1 : G.pricesFrom > A.pricesFrom ? 1 : -1;
|
|
983
983
|
}
|
|
984
|
-
return
|
|
984
|
+
return _.sort(T);
|
|
985
985
|
}), jt = q(() => [[
|
|
986
986
|
parseInt(Be.value.split(":")[0]),
|
|
987
987
|
parseInt(Ye.value.split(":")[0])
|
|
@@ -989,53 +989,53 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
989
989
|
parseInt(Tt.value.split(":")[0]),
|
|
990
990
|
parseInt($t.value.split(":")[0])
|
|
991
991
|
]]);
|
|
992
|
-
function
|
|
993
|
-
e.hideAddons === "yes" || he.value ?
|
|
992
|
+
function Qe(_) {
|
|
993
|
+
e.hideAddons === "yes" || he.value ? _(2) : _(), Ut();
|
|
994
994
|
}
|
|
995
|
-
function Gt(
|
|
996
|
-
be.value = new Date(T), Se.value = new Date(
|
|
995
|
+
function Gt(_, T) {
|
|
996
|
+
be.value = new Date(T), Se.value = new Date(_), Ze();
|
|
997
997
|
}
|
|
998
|
-
async function Wt(
|
|
999
|
-
await Rt(
|
|
998
|
+
async function Wt(_) {
|
|
999
|
+
await Rt(_);
|
|
1000
1000
|
}
|
|
1001
|
-
function Kt(
|
|
1002
|
-
Ct.value && Et(), e.hideAddons === "yes" || he.value ?
|
|
1001
|
+
function Kt(_) {
|
|
1002
|
+
Ct.value && Et(), e.hideAddons === "yes" || he.value ? _(2) : _();
|
|
1003
1003
|
}
|
|
1004
1004
|
function zt() {
|
|
1005
|
-
f.value === "" && (f.value = wt.value),
|
|
1005
|
+
f.value === "" && (f.value = wt.value), V.value === "" && (V.value = Pt.value);
|
|
1006
1006
|
}
|
|
1007
1007
|
function Jt() {
|
|
1008
|
-
const
|
|
1008
|
+
const _ = io("hash-params", {
|
|
1009
1009
|
removeNullishValues: !0
|
|
1010
|
-
}), T = parseInt(
|
|
1011
|
-
|
|
1010
|
+
}), T = parseInt(_.adults), G = parseInt(_.children), A = parseInt(_.location);
|
|
1011
|
+
_.checkin, _.checkout, isNaN(T) || (W.value = T, _.adults = void 0), isNaN(G) || (M.value = G, _.children = void 0), isNaN(A) || (Ie(A) ? (ve.value = A, _.location = void 0) : console.log("Hotel ID: not found")), zt(), Ze();
|
|
1012
1012
|
}
|
|
1013
|
-
return (
|
|
1013
|
+
return (_, T) => (c(), D(ao, { styling: _.styling }, {
|
|
1014
1014
|
default: $(() => [
|
|
1015
1015
|
(c(), D(Yt, { onResolve: Jt }, {
|
|
1016
1016
|
default: $(() => [
|
|
1017
1017
|
g(o(l), {
|
|
1018
1018
|
id: "konnectio-hotel-module",
|
|
1019
|
-
"access-token":
|
|
1019
|
+
"access-token": _.accessToken,
|
|
1020
1020
|
onMetadata: T[15] || (T[15] = (G) => o(Lt)())
|
|
1021
1021
|
}, {
|
|
1022
1022
|
default: $(() => [
|
|
1023
|
-
g(
|
|
1024
|
-
layout:
|
|
1023
|
+
g(vo, {
|
|
1024
|
+
layout: _.headerLayout,
|
|
1025
1025
|
onReset: o(Mt)
|
|
1026
1026
|
}, {
|
|
1027
1027
|
availability: $(({ next: G }) => [
|
|
1028
1028
|
g(Fe, null, {
|
|
1029
1029
|
form: $(() => [
|
|
1030
|
-
a("div",
|
|
1031
|
-
a("div",
|
|
1032
|
-
g(
|
|
1030
|
+
a("div", vl, [
|
|
1031
|
+
a("div", yl, [
|
|
1032
|
+
g(Vo, { booking: !0 })
|
|
1033
1033
|
]),
|
|
1034
1034
|
b("", !0),
|
|
1035
|
-
!o(p) && o(ue) ? (c(), h("div",
|
|
1036
|
-
o(O).roomGroups.length > 0 || o(O).templates.length > 0 || o(O).specialTemplates.length > 0 ? (c(), h("div",
|
|
1037
|
-
o(O).templates.length > 0 &&
|
|
1038
|
-
|
|
1035
|
+
!o(p) && o(ue) ? (c(), h("div", gl, [
|
|
1036
|
+
o(O).roomGroups.length > 0 || o(O).templates.length > 0 || o(O).specialTemplates.length > 0 ? (c(), h("div", kl, [
|
|
1037
|
+
o(O).templates.length > 0 && _.onlyShow !== "rooms" ? (c(), h("div", bl, [
|
|
1038
|
+
_.onlyShow !== "packages" ? (c(), h("h2", _l, [
|
|
1039
1039
|
g(K, {
|
|
1040
1040
|
icon: "box",
|
|
1041
1041
|
type: "fal",
|
|
@@ -1043,7 +1043,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1043
1043
|
}),
|
|
1044
1044
|
a("span", null, v(o(t)("booking.availability.packagesTitle")), 1)
|
|
1045
1045
|
])) : b("", !0),
|
|
1046
|
-
a("ul",
|
|
1046
|
+
a("ul", Vl, [
|
|
1047
1047
|
(c(!0), h(E, null, N(o(O).templates, ({
|
|
1048
1048
|
id: A,
|
|
1049
1049
|
name: y,
|
|
@@ -1051,7 +1051,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1051
1051
|
image: j,
|
|
1052
1052
|
description: B,
|
|
1053
1053
|
weekendFee: ce
|
|
1054
|
-
}) => (c(), D(
|
|
1054
|
+
}) => (c(), D(tl, {
|
|
1055
1055
|
key: A,
|
|
1056
1056
|
id: A,
|
|
1057
1057
|
description: B,
|
|
@@ -1060,12 +1060,12 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1060
1060
|
weekendFee: ce,
|
|
1061
1061
|
"room-groups": Z,
|
|
1062
1062
|
callback: G,
|
|
1063
|
-
"hide-addons":
|
|
1063
|
+
"hide-addons": _.hideAddons
|
|
1064
1064
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1065
1065
|
])
|
|
1066
1066
|
])) : b("", !0),
|
|
1067
|
-
o(O).roomGroups.length > 0 &&
|
|
1068
|
-
o(O).templates.length > 0 &&
|
|
1067
|
+
o(O).roomGroups.length > 0 && _.onlyShow !== "packages" ? (c(), h("div", Tl, [
|
|
1068
|
+
o(O).templates.length > 0 && _.onlyShow !== "rooms" ? (c(), h("h2", $l, [
|
|
1069
1069
|
g(K, {
|
|
1070
1070
|
icon: "house",
|
|
1071
1071
|
type: "fal",
|
|
@@ -1073,15 +1073,15 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1073
1073
|
}),
|
|
1074
1074
|
a("span", null, v(o(t)("booking.availability.roomsTitle")), 1)
|
|
1075
1075
|
])) : b("", !0),
|
|
1076
|
-
a("ul",
|
|
1077
|
-
(c(!0), h(E, null, N(Ot.value, (A, y) => (c(), D(
|
|
1076
|
+
a("ul", Cl, [
|
|
1077
|
+
(c(!0), h(E, null, N(Ot.value, (A, y) => (c(), D(xo, {
|
|
1078
1078
|
room: A,
|
|
1079
1079
|
key: y
|
|
1080
1080
|
}, null, 8, ["room"]))), 128))
|
|
1081
1081
|
])
|
|
1082
1082
|
])) : b("", !0),
|
|
1083
|
-
o(O).specialTemplates.length > 0 &&
|
|
1084
|
-
|
|
1083
|
+
o(O).specialTemplates.length > 0 && _.onlyShow !== "rooms" ? (c(), h("div", wl, [
|
|
1084
|
+
_.onlyShow !== "packages" ? (c(), h("h2", Pl, [
|
|
1085
1085
|
g(K, {
|
|
1086
1086
|
icon: "sparkles",
|
|
1087
1087
|
type: "fal",
|
|
@@ -1089,7 +1089,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1089
1089
|
}),
|
|
1090
1090
|
a("span", null, v(o(t)("hotel.specialOffers")), 1)
|
|
1091
1091
|
])) : b("", !0),
|
|
1092
|
-
a("ul",
|
|
1092
|
+
a("ul", Al, [
|
|
1093
1093
|
(c(!0), h(E, null, N(o(O).specialTemplates, ({
|
|
1094
1094
|
id: A,
|
|
1095
1095
|
name: y,
|
|
@@ -1099,7 +1099,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1099
1099
|
weekendFee: ce,
|
|
1100
1100
|
fromDate: le,
|
|
1101
1101
|
toDate: Ue
|
|
1102
|
-
}) => (c(), D(
|
|
1102
|
+
}) => (c(), D(al, {
|
|
1103
1103
|
key: A,
|
|
1104
1104
|
id: A,
|
|
1105
1105
|
description: B,
|
|
@@ -1113,13 +1113,13 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1113
1113
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1114
1114
|
])
|
|
1115
1115
|
])) : b("", !0),
|
|
1116
|
-
(o(O).templates.length === 0 &&
|
|
1116
|
+
(o(O).templates.length === 0 && _.onlyShow !== "rooms" || o(O).roomGroups.length === 0 && _.onlyShow !== "packages") && (_.onlyShow === "rooms" || _.onlyShow === "packages") ? (c(), h("div", Dl, [
|
|
1117
1117
|
a("span", null, v(o(t)("booking.availability.nothingAvailable")), 1)
|
|
1118
1118
|
])) : b("", !0)
|
|
1119
|
-
])) : o(O).nextAvailableDates.length === 0 ? (c(), h("div",
|
|
1119
|
+
])) : o(O).nextAvailableDates.length === 0 ? (c(), h("div", Hl, [
|
|
1120
1120
|
a("span", null, v(o(t)("booking.availability.nothingAvailable")), 1)
|
|
1121
|
-
])) : (c(), h("div",
|
|
1122
|
-
a("h2",
|
|
1121
|
+
])) : (c(), h("div", Sl, [
|
|
1122
|
+
a("h2", Il, [
|
|
1123
1123
|
g(K, {
|
|
1124
1124
|
icon: "calendar-circle-exclamation",
|
|
1125
1125
|
type: "fal",
|
|
@@ -1127,13 +1127,13 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1127
1127
|
}),
|
|
1128
1128
|
a("span", null, v(o(t)("booking.availability.nextAvailableDates")), 1)
|
|
1129
1129
|
]),
|
|
1130
|
-
a("ul",
|
|
1130
|
+
a("ul", Bl, [
|
|
1131
1131
|
(c(!0), h(E, null, N(o(O).nextAvailableDates, (A, y) => (c(), h("li", { key: y }, [
|
|
1132
1132
|
a("h3", {
|
|
1133
1133
|
title: `${o(re)(A.fromDate)} - ${o(re)(A.toDate)}`
|
|
1134
1134
|
}, [
|
|
1135
1135
|
a("span", null, v(`${o(re)(A.fromDate)} - ${o(re)(A.toDate)}`), 1)
|
|
1136
|
-
], 8,
|
|
1136
|
+
], 8, El),
|
|
1137
1137
|
a("ul", null, [
|
|
1138
1138
|
b("", !0),
|
|
1139
1139
|
a("li", null, [
|
|
@@ -1142,7 +1142,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1142
1142
|
type: "fal",
|
|
1143
1143
|
color: "header"
|
|
1144
1144
|
}),
|
|
1145
|
-
a("span", null, v(o(t)("booking.availability.pricesFrom")) + ": " + v(o(
|
|
1145
|
+
a("span", null, v(o(t)("booking.availability.pricesFrom")) + ": " + v(o(Q)(A.priceStartFrom, o(Y))), 1)
|
|
1146
1146
|
])
|
|
1147
1147
|
]),
|
|
1148
1148
|
g(pe, {
|
|
@@ -1153,7 +1153,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1153
1153
|
]))), 128))
|
|
1154
1154
|
])
|
|
1155
1155
|
]))
|
|
1156
|
-
])) : (c(), h("div",
|
|
1156
|
+
])) : (c(), h("div", Ml, [
|
|
1157
1157
|
g(Ne),
|
|
1158
1158
|
g(Ne),
|
|
1159
1159
|
g(Ne)
|
|
@@ -1162,7 +1162,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1162
1162
|
]),
|
|
1163
1163
|
navigation: $(() => [
|
|
1164
1164
|
g(pe, {
|
|
1165
|
-
label: o(he) ? o(t)("booking.availability.nextButton") : o(t)("general.chooseAddons"),
|
|
1165
|
+
label: o(he) || _.hideAddons === "yes" ? o(t)("booking.availability.nextButton") : o(t)("general.chooseAddons"),
|
|
1166
1166
|
disabled: !o(ke),
|
|
1167
1167
|
"is-loading": !1,
|
|
1168
1168
|
"full-width": "",
|
|
@@ -1175,13 +1175,13 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1175
1175
|
addons: $(({ next: G, prev: A }) => [
|
|
1176
1176
|
o(ue) ? (c(), D(Fe, { key: 0 }, {
|
|
1177
1177
|
form: $(() => [
|
|
1178
|
-
a("form",
|
|
1178
|
+
a("form", Ul, [
|
|
1179
1179
|
a("h2", null, [
|
|
1180
1180
|
a("span", null, v(o(t)("booking.reservation.addons")), 1)
|
|
1181
1181
|
]),
|
|
1182
1182
|
a("div", null, [
|
|
1183
|
-
isNaN(o(i)) ? (c(), h("div",
|
|
1184
|
-
(c(!0), h(E, null, N(o(
|
|
1183
|
+
isNaN(o(i)) ? (c(), h("div", Rl, [
|
|
1184
|
+
(c(!0), h(E, null, N(o(X), (y) => (c(), h("ul", {
|
|
1185
1185
|
key: y.roomGroupID
|
|
1186
1186
|
}, [
|
|
1187
1187
|
(c(!0), h(E, null, N(y.variants, (Z, j) => (c(), h("li", {
|
|
@@ -1200,7 +1200,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1200
1200
|
a("span", null, v(o(se)(Z.name)), 1)
|
|
1201
1201
|
]),
|
|
1202
1202
|
b("", !0),
|
|
1203
|
-
a("th",
|
|
1203
|
+
a("th", Ll, [
|
|
1204
1204
|
a("b", null, [
|
|
1205
1205
|
g(K, {
|
|
1206
1206
|
icon: "male",
|
|
@@ -1214,7 +1214,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1214
1214
|
type: "fas",
|
|
1215
1215
|
color: "font"
|
|
1216
1216
|
})) : b("", !0),
|
|
1217
|
-
B.childrenCount > 0 ? (c(), h("span",
|
|
1217
|
+
B.childrenCount > 0 ? (c(), h("span", Nl, v(B.childrenCount), 1)) : b("", !0)
|
|
1218
1218
|
])
|
|
1219
1219
|
])
|
|
1220
1220
|
])
|
|
@@ -1225,14 +1225,14 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1225
1225
|
maximumNumber: Ue,
|
|
1226
1226
|
id: ye,
|
|
1227
1227
|
name: xt,
|
|
1228
|
-
price:
|
|
1228
|
+
price: Xt
|
|
1229
1229
|
}) => (c(), h("tr", { key: ye }, [
|
|
1230
1230
|
a("td", null, [
|
|
1231
1231
|
a("b", null, v(o(se)(xt)), 1),
|
|
1232
|
-
|
|
1233
|
-
a("span", null, v(o(
|
|
1232
|
+
Fl,
|
|
1233
|
+
a("span", null, v(o(Q)(Xt, o(Y))) + " " + v(o(nt)(le)), 1)
|
|
1234
1234
|
]),
|
|
1235
|
-
a("td",
|
|
1235
|
+
a("td", Ol, [
|
|
1236
1236
|
o(z)[y.roomGroupID][j].config[B.configIdx].addons[B.roomIdx] ? (c(), h(E, { key: 0 }, [
|
|
1237
1237
|
le === 1 || le === 12 ? (c(), D(Ge, {
|
|
1238
1238
|
key: 0,
|
|
@@ -1254,19 +1254,19 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1254
1254
|
]))), 128))
|
|
1255
1255
|
]))), 128))
|
|
1256
1256
|
]))), 128))
|
|
1257
|
-
])) : o(fe) ? (c(), h("div",
|
|
1257
|
+
])) : o(fe) ? (c(), h("div", jl, [
|
|
1258
1258
|
a("div", null, [
|
|
1259
1259
|
a("h4", null, [
|
|
1260
1260
|
a("span", null, v(o(oe).name), 1)
|
|
1261
1261
|
]),
|
|
1262
|
-
a("table",
|
|
1262
|
+
a("table", ql, [
|
|
1263
1263
|
a("thead", null, [
|
|
1264
1264
|
a("tr", null, [
|
|
1265
1265
|
a("th", null, [
|
|
1266
1266
|
a("span", null, v(o(se)(o(fe).title)), 1)
|
|
1267
1267
|
]),
|
|
1268
1268
|
b("", !0),
|
|
1269
|
-
|
|
1269
|
+
Gl
|
|
1270
1270
|
])
|
|
1271
1271
|
]),
|
|
1272
1272
|
a("tbody", null, [
|
|
@@ -1279,10 +1279,10 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1279
1279
|
}) => (c(), h("tr", { key: j }, [
|
|
1280
1280
|
a("td", null, [
|
|
1281
1281
|
a("b", null, v(o(se)(B)), 1),
|
|
1282
|
-
|
|
1283
|
-
a("span", null, v(o(
|
|
1282
|
+
Wl,
|
|
1283
|
+
a("span", null, v(o(Q)(ce, o(Y))) + " " + v(o(nt)(y)), 1)
|
|
1284
1284
|
]),
|
|
1285
|
-
a("td",
|
|
1285
|
+
a("td", Kl, [
|
|
1286
1286
|
y === 1 || y === 12 ? (c(), D(Ge, {
|
|
1287
1287
|
key: 0,
|
|
1288
1288
|
modelValue: o(s)[j],
|
|
@@ -1313,10 +1313,10 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1313
1313
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1314
1314
|
a("button", {
|
|
1315
1315
|
class: "konnectio-abort-reservation link",
|
|
1316
|
-
onClick: $e((y) =>
|
|
1316
|
+
onClick: $e((y) => Qe(A), ["prevent"])
|
|
1317
1317
|
}, [
|
|
1318
1318
|
a("span", null, v(o(t)("general.goAStepBack")), 1)
|
|
1319
|
-
], 8,
|
|
1319
|
+
], 8, zl)
|
|
1320
1320
|
]),
|
|
1321
1321
|
_: 2
|
|
1322
1322
|
}, 1024)) : b("", !0)
|
|
@@ -1328,7 +1328,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1328
1328
|
"show-gift-card": !0
|
|
1329
1329
|
}, {
|
|
1330
1330
|
form: $(() => [
|
|
1331
|
-
a("form",
|
|
1331
|
+
a("form", Jl, [
|
|
1332
1332
|
a("h2", null, [
|
|
1333
1333
|
a("span", null, v(o(t)("booking.reservation.detailsTitle")), 1)
|
|
1334
1334
|
]),
|
|
@@ -1336,7 +1336,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1336
1336
|
key: 0,
|
|
1337
1337
|
class: we({ "konnectio-split-inputs": !o(Ee) && !o(Me) })
|
|
1338
1338
|
}, [
|
|
1339
|
-
o(Ee) ? b("", !0) : (c(), h("li",
|
|
1339
|
+
o(Ee) ? b("", !0) : (c(), h("li", xl, [
|
|
1340
1340
|
g(at, {
|
|
1341
1341
|
modelValue: o(f),
|
|
1342
1342
|
"onUpdate:modelValue": T[1] || (T[1] = (y) => L(f) ? f.value = y : null),
|
|
@@ -1346,10 +1346,10 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1346
1346
|
required: ""
|
|
1347
1347
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1348
1348
|
])),
|
|
1349
|
-
o(Me) ? b("", !0) : (c(), h("li",
|
|
1349
|
+
o(Me) ? b("", !0) : (c(), h("li", Xl, [
|
|
1350
1350
|
g(at, {
|
|
1351
|
-
modelValue: o(
|
|
1352
|
-
"onUpdate:modelValue": T[2] || (T[2] = (y) => L(
|
|
1351
|
+
modelValue: o(V),
|
|
1352
|
+
"onUpdate:modelValue": T[2] || (T[2] = (y) => L(V) ? V.value = y : null),
|
|
1353
1353
|
label: o(t)("booking.reservation.departureTime"),
|
|
1354
1354
|
icon: "hourglass-end",
|
|
1355
1355
|
"hour-range": qt.value,
|
|
@@ -1357,7 +1357,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1357
1357
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1358
1358
|
]))
|
|
1359
1359
|
], 2)) : b("", !0),
|
|
1360
|
-
g(
|
|
1360
|
+
g(ul, {
|
|
1361
1361
|
modelValue: o(P),
|
|
1362
1362
|
"onUpdate:modelValue": T[3] || (T[3] = (y) => L(P) ? P.value = y : null),
|
|
1363
1363
|
title: o(C),
|
|
@@ -1390,7 +1390,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1390
1390
|
icon: "id-card",
|
|
1391
1391
|
placeholder: o(t)("booking.reservation.companyNamePlaceholder")
|
|
1392
1392
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1393
|
-
g(
|
|
1393
|
+
g(Co, {
|
|
1394
1394
|
modelValue: o(I),
|
|
1395
1395
|
"onUpdate:modelValue": T[7] || (T[7] = (y) => L(I) ? I.value = y : null),
|
|
1396
1396
|
icon: "phone-office",
|
|
@@ -1398,7 +1398,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1398
1398
|
placeholder: o(t)("booking.reservation.phonePlaceholder"),
|
|
1399
1399
|
required: ""
|
|
1400
1400
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1401
|
-
g(
|
|
1401
|
+
g(rl, {
|
|
1402
1402
|
modelValue: o(U),
|
|
1403
1403
|
"onUpdate:modelValue": T[8] || (T[8] = (y) => L(U) ? U.value = y : null),
|
|
1404
1404
|
label: o(t)("booking.reservation.country"),
|
|
@@ -1417,7 +1417,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1417
1417
|
placeholder: o(t)("booking.reservation.streetAddressPlaceholder"),
|
|
1418
1418
|
required: ""
|
|
1419
1419
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1420
|
-
a("ul",
|
|
1420
|
+
a("ul", Yl, [
|
|
1421
1421
|
a("li", null, [
|
|
1422
1422
|
g(ie, {
|
|
1423
1423
|
modelValue: o(w),
|
|
@@ -1461,7 +1461,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1461
1461
|
icon: "allergies",
|
|
1462
1462
|
placeholder: o(t)("booking.reservation.allergiesPlaceholder")
|
|
1463
1463
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1464
|
-
o(Ht) ? b("", !0) : (c(), D(
|
|
1464
|
+
o(Ht) ? b("", !0) : (c(), D(yo, {
|
|
1465
1465
|
key: 2,
|
|
1466
1466
|
modelValue: o(d),
|
|
1467
1467
|
"onUpdate:modelValue": T[14] || (T[14] = (y) => L(d) ? d.value = y : null),
|
|
@@ -1482,20 +1482,20 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1482
1482
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1483
1483
|
a("button", {
|
|
1484
1484
|
class: "konnectio-abort-reservation link",
|
|
1485
|
-
onClick: $e((y) =>
|
|
1485
|
+
onClick: $e((y) => Qe(A), ["prevent"])
|
|
1486
1486
|
}, [
|
|
1487
1487
|
a("span", null, v(o(t)("general.goAStepBack")), 1)
|
|
1488
|
-
], 8,
|
|
1488
|
+
], 8, Zl)
|
|
1489
1489
|
])
|
|
1490
1490
|
]),
|
|
1491
1491
|
_: 2
|
|
1492
1492
|
}, 1024)) : b("", !0)
|
|
1493
1493
|
]),
|
|
1494
1494
|
payment: $(() => [
|
|
1495
|
-
g(
|
|
1495
|
+
g(wo)
|
|
1496
1496
|
]),
|
|
1497
1497
|
confirmation: $(() => [
|
|
1498
|
-
g(
|
|
1498
|
+
g(go, {
|
|
1499
1499
|
message: o(t)("booking.confirmation.thankYou")
|
|
1500
1500
|
}, null, 8, ["message"])
|
|
1501
1501
|
]),
|
|
@@ -1506,7 +1506,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1506
1506
|
}, 8, ["access-token"])
|
|
1507
1507
|
]),
|
|
1508
1508
|
fallback: $(() => [
|
|
1509
|
-
g(
|
|
1509
|
+
g(hl)
|
|
1510
1510
|
]),
|
|
1511
1511
|
_: 1
|
|
1512
1512
|
}))
|
|
@@ -1514,7 +1514,7 @@ const ql = /* @__PURE__ */ xe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1514
1514
|
_: 1
|
|
1515
1515
|
}, 8, ["styling"]));
|
|
1516
1516
|
}
|
|
1517
|
-
}), _e = /* @__PURE__ */ de(
|
|
1517
|
+
}), _e = /* @__PURE__ */ de(Ql, [["__scopeId", "data-v-009e3e1f"]]);
|
|
1518
1518
|
function Ke(n, l = {}, e) {
|
|
1519
1519
|
for (const t in n) {
|
|
1520
1520
|
const i = n[t], s = e ? `${e}:${t}` : t;
|
|
@@ -1522,15 +1522,15 @@ function Ke(n, l = {}, e) {
|
|
|
1522
1522
|
}
|
|
1523
1523
|
return l;
|
|
1524
1524
|
}
|
|
1525
|
-
const
|
|
1526
|
-
function
|
|
1525
|
+
const en = { run: (n) => n() }, tn = () => en, kt = typeof console.createTask < "u" ? console.createTask : tn;
|
|
1526
|
+
function on(n, l) {
|
|
1527
1527
|
const e = l.shift(), t = kt(e);
|
|
1528
1528
|
return n.reduce(
|
|
1529
1529
|
(i, s) => i.then(() => t.run(() => s(...l))),
|
|
1530
1530
|
Promise.resolve()
|
|
1531
1531
|
);
|
|
1532
1532
|
}
|
|
1533
|
-
function
|
|
1533
|
+
function ln(n, l) {
|
|
1534
1534
|
const e = l.shift(), t = kt(e);
|
|
1535
1535
|
return Promise.all(n.map((i) => t.run(() => i(...l))));
|
|
1536
1536
|
}
|
|
@@ -1538,7 +1538,7 @@ function Oe(n, l) {
|
|
|
1538
1538
|
for (const e of [...n])
|
|
1539
1539
|
e(l);
|
|
1540
1540
|
}
|
|
1541
|
-
class
|
|
1541
|
+
class nn {
|
|
1542
1542
|
constructor() {
|
|
1543
1543
|
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);
|
|
1544
1544
|
}
|
|
@@ -1607,10 +1607,10 @@ class ln {
|
|
|
1607
1607
|
delete this._hooks[l];
|
|
1608
1608
|
}
|
|
1609
1609
|
callHook(l, ...e) {
|
|
1610
|
-
return e.unshift(l), this.callHookWith(
|
|
1610
|
+
return e.unshift(l), this.callHookWith(on, l, ...e);
|
|
1611
1611
|
}
|
|
1612
1612
|
callHookParallel(l, ...e) {
|
|
1613
|
-
return e.unshift(l), this.callHookWith(
|
|
1613
|
+
return e.unshift(l), this.callHookWith(ln, l, ...e);
|
|
1614
1614
|
}
|
|
1615
1615
|
callHookWith(l, e, ...t) {
|
|
1616
1616
|
const i = this._before || this._after ? { name: e, args: t, context: {} } : void 0;
|
|
@@ -1640,20 +1640,20 @@ class ln {
|
|
|
1640
1640
|
};
|
|
1641
1641
|
}
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1644
|
-
return new
|
|
1643
|
+
function an() {
|
|
1644
|
+
return new nn();
|
|
1645
1645
|
}
|
|
1646
|
-
function
|
|
1646
|
+
function sn(n) {
|
|
1647
1647
|
return Array.isArray(n) ? n : [n];
|
|
1648
1648
|
}
|
|
1649
|
-
const
|
|
1649
|
+
const rn = ["title", "titleTemplate", "script", "style", "noscript"], Ve = [
|
|
1650
1650
|
"base",
|
|
1651
1651
|
"meta",
|
|
1652
1652
|
"link",
|
|
1653
1653
|
"style",
|
|
1654
1654
|
"script",
|
|
1655
1655
|
"noscript"
|
|
1656
|
-
],
|
|
1656
|
+
], dn = [
|
|
1657
1657
|
"title",
|
|
1658
1658
|
"titleTemplate",
|
|
1659
1659
|
"templateParams",
|
|
@@ -1665,19 +1665,19 @@ const sn = ["title", "titleTemplate", "script", "style", "noscript"], Ve = [
|
|
|
1665
1665
|
"style",
|
|
1666
1666
|
"script",
|
|
1667
1667
|
"noscript"
|
|
1668
|
-
],
|
|
1669
|
-
function
|
|
1668
|
+
], un = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], bt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], cn = typeof window < "u";
|
|
1669
|
+
function Xe(n) {
|
|
1670
1670
|
let l = 9;
|
|
1671
1671
|
for (let e = 0; e < n.length; )
|
|
1672
1672
|
l = Math.imul(l ^ n.charCodeAt(e++), 9 ** 9);
|
|
1673
1673
|
return ((l ^ l >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
1674
1674
|
}
|
|
1675
1675
|
function it(n) {
|
|
1676
|
-
return n._h ||
|
|
1676
|
+
return n._h || Xe(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([l, e]) => `${l}:${String(e)}`).join(",")}`);
|
|
1677
1677
|
}
|
|
1678
1678
|
function _t(n, l) {
|
|
1679
1679
|
const { props: e, tag: t } = n;
|
|
1680
|
-
if (
|
|
1680
|
+
if (un.includes(t))
|
|
1681
1681
|
return t;
|
|
1682
1682
|
if (t === "link" && e.rel === "canonical")
|
|
1683
1683
|
return "canonical";
|
|
@@ -1695,7 +1695,7 @@ function _t(n, l) {
|
|
|
1695
1695
|
function st(n, l) {
|
|
1696
1696
|
return n == null ? l || null : typeof n == "function" ? n(l) : n;
|
|
1697
1697
|
}
|
|
1698
|
-
async function
|
|
1698
|
+
async function pn(n, l, e) {
|
|
1699
1699
|
const t = {
|
|
1700
1700
|
tag: n,
|
|
1701
1701
|
props: await Vt(
|
|
@@ -1707,17 +1707,17 @@ async function cn(n, l, e) {
|
|
|
1707
1707
|
};
|
|
1708
1708
|
return bt.forEach((i) => {
|
|
1709
1709
|
const s = typeof t.props[i] < "u" ? t.props[i] : e[i];
|
|
1710
|
-
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) ||
|
|
1710
|
+
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || rn.includes(t.tag)) && (t[i === "children" ? "innerHTML" : i] = s), delete t.props[i]);
|
|
1711
1711
|
}), t.props.body && (t.tagPosition = "bodyClose", delete t.props.body), t.tag === "script" && typeof t.innerHTML == "object" && (t.innerHTML = JSON.stringify(t.innerHTML), t.props.type = t.props.type || "application/json"), Array.isArray(t.props.content) ? t.props.content.map((i) => ({ ...t, props: { ...t.props, content: i } })) : t;
|
|
1712
1712
|
}
|
|
1713
|
-
function
|
|
1713
|
+
function mn(n, l) {
|
|
1714
1714
|
const e = n === "class" ? " " : ";";
|
|
1715
1715
|
return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, t]) => t).map(([t, i]) => n === "style" ? `${t}:${i}` : t)), (Array.isArray(l) ? l.join(e) : l)?.split(e).filter((t) => t.trim()).filter(Boolean).join(e);
|
|
1716
1716
|
}
|
|
1717
1717
|
async function Vt(n, l) {
|
|
1718
1718
|
for (const e of Object.keys(n)) {
|
|
1719
1719
|
if (["class", "style"].includes(e)) {
|
|
1720
|
-
n[e] =
|
|
1720
|
+
n[e] = mn(e, n[e]);
|
|
1721
1721
|
continue;
|
|
1722
1722
|
}
|
|
1723
1723
|
if (n[e] instanceof Promise && (n[e] = await n[e]), !l && !bt.includes(e)) {
|
|
@@ -1727,13 +1727,13 @@ async function Vt(n, l) {
|
|
|
1727
1727
|
}
|
|
1728
1728
|
return n;
|
|
1729
1729
|
}
|
|
1730
|
-
const
|
|
1731
|
-
async function
|
|
1730
|
+
const fn = 10;
|
|
1731
|
+
async function hn(n) {
|
|
1732
1732
|
const l = [];
|
|
1733
|
-
return Object.entries(n.resolvedInput).filter(([e, t]) => typeof t < "u" &&
|
|
1734
|
-
const i =
|
|
1735
|
-
l.push(...i.map((s) =>
|
|
1736
|
-
}), (await Promise.all(l)).flat().filter(Boolean).map((e, t) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i <<
|
|
1733
|
+
return Object.entries(n.resolvedInput).filter(([e, t]) => typeof t < "u" && dn.includes(e)).forEach(([e, t]) => {
|
|
1734
|
+
const i = sn(t);
|
|
1735
|
+
l.push(...i.map((s) => pn(e, s, n)).flat());
|
|
1736
|
+
}), (await Promise.all(l)).flat().filter(Boolean).map((e, t) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i << fn) + t, e));
|
|
1737
1737
|
}
|
|
1738
1738
|
const rt = {
|
|
1739
1739
|
// tags
|
|
@@ -1750,7 +1750,7 @@ function Ae(n) {
|
|
|
1750
1750
|
const e = n.tagPriority;
|
|
1751
1751
|
return typeof e == "number" ? e : (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 rt && (l = rt[n.tag]), typeof e == "string" && e in dt ? l + dt[e] : l);
|
|
1752
1752
|
}
|
|
1753
|
-
const
|
|
1753
|
+
const vn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], ut = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ae = "%separator";
|
|
1754
1754
|
function Te(n, l, e) {
|
|
1755
1755
|
if (typeof n != "string" || !n.includes("%"))
|
|
1756
1756
|
return n;
|
|
@@ -1768,7 +1768,7 @@ function Te(n, l, e) {
|
|
|
1768
1768
|
typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
|
|
1769
1769
|
}), n.includes(ae) && (n.endsWith(ae) && (n = n.slice(0, -ae.length).trim()), n.startsWith(ae) && (n = n.slice(ae.length).trim()), n = n.replace(new RegExp(`\\${ae}\\s*\\${ae}`, "g"), ae), n = Te(n, { separator: e }, e)), n;
|
|
1770
1770
|
}
|
|
1771
|
-
async function
|
|
1771
|
+
async function yn(n, l = {}) {
|
|
1772
1772
|
const e = l.document || n.resolvedOptions.document;
|
|
1773
1773
|
if (!e || !n.dirty)
|
|
1774
1774
|
return;
|
|
@@ -1786,7 +1786,7 @@ async function vn(n, l = {}) {
|
|
|
1786
1786
|
elMap: { htmlAttrs: e.documentElement, bodyAttrs: e.body }
|
|
1787
1787
|
};
|
|
1788
1788
|
for (const d of ["body", "head"]) {
|
|
1789
|
-
const f = e[d]?.children,
|
|
1789
|
+
const f = e[d]?.children, V = [];
|
|
1790
1790
|
for (const P of [...f].filter((C) => Ve.includes(C.tagName.toLowerCase()))) {
|
|
1791
1791
|
const C = {
|
|
1792
1792
|
tag: P.tagName.toLowerCase(),
|
|
@@ -1796,27 +1796,27 @@ async function vn(n, l = {}) {
|
|
|
1796
1796
|
innerHTML: P.innerHTML
|
|
1797
1797
|
};
|
|
1798
1798
|
let S = 1, I = _t(C);
|
|
1799
|
-
for (; I &&
|
|
1799
|
+
for (; I && V.find((k) => k._d === I); )
|
|
1800
1800
|
I = `${I}:${S++}`;
|
|
1801
|
-
C._d = I || void 0,
|
|
1801
|
+
C._d = I || void 0, V.push(C), s.elMap[P.getAttribute("data-hid") || it(C)] = P;
|
|
1802
1802
|
}
|
|
1803
1803
|
}
|
|
1804
1804
|
}
|
|
1805
1805
|
s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
|
|
1806
|
-
function m(d, f,
|
|
1806
|
+
function m(d, f, V) {
|
|
1807
1807
|
const P = `${d}:${f}`;
|
|
1808
|
-
s.sideEffects[P] =
|
|
1808
|
+
s.sideEffects[P] = V, delete s.pendingSideEffects[P];
|
|
1809
1809
|
}
|
|
1810
|
-
function p({ id: d, $el: f, tag:
|
|
1811
|
-
const P =
|
|
1810
|
+
function p({ id: d, $el: f, tag: V }) {
|
|
1811
|
+
const P = V.tag.endsWith("Attrs");
|
|
1812
1812
|
s.elMap[d] = f, P || (["textContent", "innerHTML"].forEach((C) => {
|
|
1813
|
-
|
|
1813
|
+
V[C] && V[C] !== f[C] && (f[C] = V[C]);
|
|
1814
1814
|
}), m(d, "el", () => {
|
|
1815
1815
|
s.elMap[d]?.remove(), delete s.elMap[d];
|
|
1816
1816
|
}));
|
|
1817
|
-
for (const [C, S] of Object.entries(
|
|
1818
|
-
f.getAttribute(`data-${C}`) !== "" && ((
|
|
1819
|
-
Object.entries(
|
|
1817
|
+
for (const [C, S] of Object.entries(V._eventHandlers || {}))
|
|
1818
|
+
f.getAttribute(`data-${C}`) !== "" && ((V.tag === "bodyAttrs" ? e.defaultView : f).addEventListener(C.replace("on", ""), S.bind(f)), f.setAttribute(`data-${C}`, ""));
|
|
1819
|
+
Object.entries(V.props).forEach(([C, S]) => {
|
|
1820
1820
|
const I = `attr:${C}`;
|
|
1821
1821
|
if (C === "class")
|
|
1822
1822
|
for (const k of (S || "").split(" ").filter(Boolean))
|
|
@@ -1838,8 +1838,8 @@ async function vn(n, l = {}) {
|
|
|
1838
1838
|
head: void 0
|
|
1839
1839
|
};
|
|
1840
1840
|
for (const d of i) {
|
|
1841
|
-
const { tag: f, shouldRender:
|
|
1842
|
-
if (
|
|
1841
|
+
const { tag: f, shouldRender: V, id: P } = d;
|
|
1842
|
+
if (V) {
|
|
1843
1843
|
if (f.tag === "title") {
|
|
1844
1844
|
e.title = f.textContent;
|
|
1845
1845
|
continue;
|
|
@@ -1855,27 +1855,27 @@ async function vn(n, l = {}) {
|
|
|
1855
1855
|
await n.hooks.callHook("dom:renderTag", d, e, m);
|
|
1856
1856
|
r.head && e.head.appendChild(r.head), r.bodyOpen && e.body.insertBefore(r.bodyOpen, e.body.firstChild), r.bodyClose && e.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 });
|
|
1857
1857
|
}
|
|
1858
|
-
async function
|
|
1858
|
+
async function gn(n, l = {}) {
|
|
1859
1859
|
const e = l.delayFn || ((t) => setTimeout(t, 10));
|
|
1860
1860
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((t) => e(async () => {
|
|
1861
|
-
await
|
|
1861
|
+
await yn(n, l), delete n._domUpdatePromise, t();
|
|
1862
1862
|
}));
|
|
1863
1863
|
}
|
|
1864
1864
|
// @__NO_SIDE_EFFECTS__
|
|
1865
|
-
function
|
|
1865
|
+
function kn(n) {
|
|
1866
1866
|
return (l) => {
|
|
1867
1867
|
const e = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1868
1868
|
return e && l.push(JSON.parse(e)), {
|
|
1869
1869
|
mode: "client",
|
|
1870
1870
|
hooks: {
|
|
1871
1871
|
"entries:updated": function(t) {
|
|
1872
|
-
|
|
1872
|
+
gn(t, n);
|
|
1873
1873
|
}
|
|
1874
1874
|
}
|
|
1875
1875
|
};
|
|
1876
1876
|
};
|
|
1877
1877
|
}
|
|
1878
|
-
const
|
|
1878
|
+
const bn = ["templateParams", "htmlAttrs", "bodyAttrs"], _n = {
|
|
1879
1879
|
hooks: {
|
|
1880
1880
|
"tag:normalise": function({ tag: n }) {
|
|
1881
1881
|
["hid", "vmid", "key"].forEach((t) => {
|
|
@@ -1890,7 +1890,7 @@ const kn = ["templateParams", "htmlAttrs", "bodyAttrs"], bn = {
|
|
|
1890
1890
|
const i = (t.key ? `${t.tag}:${t.key}` : t._d) || t._p, s = l[i];
|
|
1891
1891
|
if (s) {
|
|
1892
1892
|
let p = t?.tagDuplicateStrategy;
|
|
1893
|
-
if (!p &&
|
|
1893
|
+
if (!p && bn.includes(t.tag) && (p = "merge"), p === "merge") {
|
|
1894
1894
|
const u = s.props;
|
|
1895
1895
|
["class", "style"].forEach((r) => {
|
|
1896
1896
|
u[r] && (t.props[r] ? (r === "style" && !u[r].endsWith(";") && (u[r] += ";"), t.props[r] = `${u[r]} ${t.props[r]}`) : t.props[r] = u[r]);
|
|
@@ -1919,7 +1919,7 @@ const kn = ["templateParams", "htmlAttrs", "bodyAttrs"], bn = {
|
|
|
1919
1919
|
}), n.tags = e, n.tags = n.tags.filter((t) => !(t.tag === "meta" && (t.props.name || t.props.property) && !t.props.content));
|
|
1920
1920
|
}
|
|
1921
1921
|
}
|
|
1922
|
-
},
|
|
1922
|
+
}, Vn = {
|
|
1923
1923
|
mode: "server",
|
|
1924
1924
|
hooks: {
|
|
1925
1925
|
"tags:resolve": function(n) {
|
|
@@ -1933,13 +1933,13 @@ const kn = ["templateParams", "htmlAttrs", "bodyAttrs"], bn = {
|
|
|
1933
1933
|
});
|
|
1934
1934
|
}
|
|
1935
1935
|
}
|
|
1936
|
-
},
|
|
1936
|
+
}, Tn = ["script", "link", "bodyAttrs"], $n = (n) => ({
|
|
1937
1937
|
hooks: {
|
|
1938
1938
|
"tags:resolve": function(l) {
|
|
1939
|
-
for (const e of l.tags.filter((t) =>
|
|
1939
|
+
for (const e of l.tags.filter((t) => Tn.includes(t.tag)))
|
|
1940
1940
|
Object.entries(e.props).forEach(([t, i]) => {
|
|
1941
1941
|
t.startsWith("on") && typeof i == "function" && (n.ssr && ut.includes(t) ? e.props[t] = `this.dataset.${t}fired = true` : delete e.props[t], e._eventHandlers = e._eventHandlers || {}, e._eventHandlers[t] = i);
|
|
1942
|
-
}), n.ssr && e._eventHandlers && (e.props.src || e.props.href) && (e.key = e.key ||
|
|
1942
|
+
}), n.ssr && e._eventHandlers && (e.props.src || e.props.href) && (e.key = e.key || Xe(e.props.src || e.props.href));
|
|
1943
1943
|
},
|
|
1944
1944
|
"dom:renderTag": function({ $el: l, tag: e }) {
|
|
1945
1945
|
for (const t of Object.keys(l?.dataset || {}).filter((i) => ut.some((s) => `${s}fired` === i))) {
|
|
@@ -1948,17 +1948,17 @@ const kn = ["templateParams", "htmlAttrs", "bodyAttrs"], bn = {
|
|
|
1948
1948
|
}
|
|
1949
1949
|
}
|
|
1950
1950
|
}
|
|
1951
|
-
}),
|
|
1951
|
+
}), Cn = ["link", "style", "script", "noscript"], wn = {
|
|
1952
1952
|
hooks: {
|
|
1953
1953
|
"tag:normalise": ({ tag: n }) => {
|
|
1954
|
-
n.key &&
|
|
1954
|
+
n.key && Cn.includes(n.tag) && (n.props["data-hid"] = n._h = Xe(n.key));
|
|
1955
1955
|
}
|
|
1956
1956
|
}
|
|
1957
|
-
},
|
|
1957
|
+
}, Pn = {
|
|
1958
1958
|
hooks: {
|
|
1959
1959
|
"tags:resolve": (n) => {
|
|
1960
1960
|
const l = (e) => n.tags.find((t) => t._d === e)?._p;
|
|
1961
|
-
for (const { prefix: e, offset: t } of
|
|
1961
|
+
for (const { prefix: e, offset: t } of vn)
|
|
1962
1962
|
for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(e))) {
|
|
1963
1963
|
const s = l(
|
|
1964
1964
|
i.tagPriority.replace(e, "")
|
|
@@ -1968,17 +1968,17 @@ const kn = ["templateParams", "htmlAttrs", "bodyAttrs"], bn = {
|
|
|
1968
1968
|
n.tags.sort((e, t) => e._p - t._p).sort((e, t) => Ae(e) - Ae(t));
|
|
1969
1969
|
}
|
|
1970
1970
|
}
|
|
1971
|
-
},
|
|
1971
|
+
}, An = {
|
|
1972
1972
|
meta: "content",
|
|
1973
1973
|
link: "href",
|
|
1974
1974
|
htmlAttrs: "lang"
|
|
1975
|
-
},
|
|
1975
|
+
}, Dn = (n) => ({
|
|
1976
1976
|
hooks: {
|
|
1977
1977
|
"tags:resolve": (l) => {
|
|
1978
1978
|
const { tags: e } = l, t = e.find((p) => p.tag === "title")?.textContent, i = e.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? e[i].props : {}, m = s.separator || "|";
|
|
1979
1979
|
delete s.separator, s.pageTitle = Te(s.pageTitle || t || "", s, m);
|
|
1980
1980
|
for (const p of e.filter((u) => u.processTemplateParams !== !1)) {
|
|
1981
|
-
const u =
|
|
1981
|
+
const u = An[p.tag];
|
|
1982
1982
|
u && typeof p.props[u] == "string" ? p.props[u] = Te(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
|
|
1983
1983
|
typeof p[r] == "string" && (p[r] = Te(p[r], s, m));
|
|
1984
1984
|
});
|
|
@@ -1986,7 +1986,7 @@ const kn = ["templateParams", "htmlAttrs", "bodyAttrs"], bn = {
|
|
|
1986
1986
|
n._templateParams = s, n._separator = m, l.tags = e.filter((p) => p.tag !== "templateParams");
|
|
1987
1987
|
}
|
|
1988
1988
|
}
|
|
1989
|
-
}),
|
|
1989
|
+
}), Hn = {
|
|
1990
1990
|
hooks: {
|
|
1991
1991
|
"tags:resolve": (n) => {
|
|
1992
1992
|
const { tags: l } = n;
|
|
@@ -2007,7 +2007,7 @@ const kn = ["templateParams", "htmlAttrs", "bodyAttrs"], bn = {
|
|
|
2007
2007
|
e !== -1 && delete l[e], n.tags = l.filter(Boolean);
|
|
2008
2008
|
}
|
|
2009
2009
|
}
|
|
2010
|
-
},
|
|
2010
|
+
}, Sn = {
|
|
2011
2011
|
hooks: {
|
|
2012
2012
|
"tags:afterResolve": function(n) {
|
|
2013
2013
|
for (const l of n.tags)
|
|
@@ -2016,16 +2016,16 @@ const kn = ["templateParams", "htmlAttrs", "bodyAttrs"], bn = {
|
|
|
2016
2016
|
}
|
|
2017
2017
|
};
|
|
2018
2018
|
// @__NO_SIDE_EFFECTS__
|
|
2019
|
-
function
|
|
2020
|
-
const l =
|
|
2021
|
-
return l.use(/* @__PURE__ */
|
|
2019
|
+
function In(n = {}) {
|
|
2020
|
+
const l = Bn(n);
|
|
2021
|
+
return l.use(/* @__PURE__ */ kn()), l;
|
|
2022
2022
|
}
|
|
2023
2023
|
function ct(n, l) {
|
|
2024
2024
|
return !n || n === "server" && l || n === "client" && !l;
|
|
2025
2025
|
}
|
|
2026
|
-
function
|
|
2027
|
-
const l =
|
|
2028
|
-
l.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2026
|
+
function Bn(n = {}) {
|
|
2027
|
+
const l = an();
|
|
2028
|
+
l.addHooks(n.hooks || {}), n.document = n.document || (cn ? document : void 0);
|
|
2029
2029
|
const e = !n.document, t = () => {
|
|
2030
2030
|
p.dirty = !0, l.callHook("entries:updated", p);
|
|
2031
2031
|
};
|
|
@@ -2055,7 +2055,7 @@ function In(n = {}) {
|
|
|
2055
2055
|
},
|
|
2056
2056
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2057
2057
|
patch(f) {
|
|
2058
|
-
s = s.map((
|
|
2058
|
+
s = s.map((V) => (V._i === d._i && (V.input = d.input = f), V)), t();
|
|
2059
2059
|
}
|
|
2060
2060
|
};
|
|
2061
2061
|
},
|
|
@@ -2065,9 +2065,9 @@ function In(n = {}) {
|
|
|
2065
2065
|
for (const r of u.entries) {
|
|
2066
2066
|
const d = r.resolvedInput || r.input;
|
|
2067
2067
|
if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
|
|
2068
|
-
for (const f of await
|
|
2069
|
-
const
|
|
2070
|
-
await l.callHook("tag:normalise",
|
|
2068
|
+
for (const f of await hn(r)) {
|
|
2069
|
+
const V = { tag: f, entry: r, resolvedOptions: p.resolvedOptions };
|
|
2070
|
+
await l.callHook("tag:normalise", V), u.tags.push(V.tag);
|
|
2071
2071
|
}
|
|
2072
2072
|
}
|
|
2073
2073
|
return await l.callHook("tags:beforeResolve", u), await l.callHook("tags:resolve", u), await l.callHook("tags:afterResolve", u), u.tags;
|
|
@@ -2075,51 +2075,51 @@ function In(n = {}) {
|
|
|
2075
2075
|
ssr: e
|
|
2076
2076
|
};
|
|
2077
2077
|
return [
|
|
2078
|
-
bn,
|
|
2079
2078
|
_n,
|
|
2080
|
-
|
|
2081
|
-
|
|
2079
|
+
Vn,
|
|
2080
|
+
$n,
|
|
2082
2081
|
wn,
|
|
2083
|
-
|
|
2082
|
+
Pn,
|
|
2084
2083
|
Dn,
|
|
2085
2084
|
Hn,
|
|
2085
|
+
Sn,
|
|
2086
2086
|
...n?.plugins || []
|
|
2087
2087
|
].forEach((u) => p.use(u)), p.hooks.callHook("init", p), p;
|
|
2088
2088
|
}
|
|
2089
|
-
const
|
|
2090
|
-
function
|
|
2089
|
+
const En = eo.startsWith("3");
|
|
2090
|
+
function Mn(n) {
|
|
2091
2091
|
return typeof n == "function" ? n() : o(n);
|
|
2092
2092
|
}
|
|
2093
2093
|
function ze(n, l = "") {
|
|
2094
2094
|
if (n instanceof Promise)
|
|
2095
2095
|
return n;
|
|
2096
|
-
const e =
|
|
2096
|
+
const e = Mn(n);
|
|
2097
2097
|
return !n || !e ? e : Array.isArray(e) ? e.map((t) => ze(t, l)) : typeof e == "object" ? Object.fromEntries(
|
|
2098
2098
|
Object.entries(e).map(([t, i]) => t === "titleTemplate" || t.startsWith("on") ? [t, o(i)] : [t, ze(i, t)])
|
|
2099
2099
|
) : e;
|
|
2100
2100
|
}
|
|
2101
|
-
const
|
|
2101
|
+
const Un = {
|
|
2102
2102
|
hooks: {
|
|
2103
2103
|
"entries:resolve": function(n) {
|
|
2104
2104
|
for (const l of n.entries)
|
|
2105
2105
|
l.resolvedInput = ze(l.input);
|
|
2106
2106
|
}
|
|
2107
2107
|
}
|
|
2108
|
-
},
|
|
2109
|
-
function
|
|
2108
|
+
}, Rn = "usehead";
|
|
2109
|
+
function Ln(n) {
|
|
2110
2110
|
return {
|
|
2111
2111
|
install(e) {
|
|
2112
|
-
|
|
2112
|
+
En && (e.config.globalProperties.$unhead = n, e.config.globalProperties.$head = n, e.provide(Rn, n));
|
|
2113
2113
|
}
|
|
2114
2114
|
}.install;
|
|
2115
2115
|
}
|
|
2116
|
-
function
|
|
2117
|
-
n.domDelayFn = n.domDelayFn || ((e) =>
|
|
2118
|
-
const l = /* @__PURE__ */
|
|
2119
|
-
return l.use(
|
|
2116
|
+
function Nn(n = {}) {
|
|
2117
|
+
n.domDelayFn = n.domDelayFn || ((e) => Qt(() => setTimeout(() => e(), 0)));
|
|
2118
|
+
const l = /* @__PURE__ */ In(n);
|
|
2119
|
+
return l.use(Un), l.install = Ln(l), l;
|
|
2120
2120
|
}
|
|
2121
|
-
const
|
|
2122
|
-
class
|
|
2121
|
+
const Fn = so(), On = Nn(), jn = po();
|
|
2122
|
+
class qn extends HTMLElement {
|
|
2123
2123
|
vueApp;
|
|
2124
2124
|
constructor() {
|
|
2125
2125
|
super();
|
|
@@ -2141,13 +2141,13 @@ class jn extends HTMLElement {
|
|
|
2141
2141
|
let r = this.attributes.getNamedItem(u)?.value;
|
|
2142
2142
|
m.hasOwnProperty(u) && (r = m[u]), s[u] = r;
|
|
2143
2143
|
}
|
|
2144
|
-
this.vueApp = to(_e, s), this.vueApp.provide("emitter",
|
|
2144
|
+
this.vueApp = to(_e, s), ro(this.vueApp), this.vueApp.provide("emitter", jn), this.vueApp.use(On), this.vueApp.use(Fn), this.vueApp.use(ko), this.vueApp.use(uo), this.vueApp.use(bo), this.vueApp.use(co, { bootstrap: !0 });
|
|
2145
2145
|
const p = document.createElement("div");
|
|
2146
2146
|
this.vueApp.mount(p), this.appendChild(p.children[0]);
|
|
2147
2147
|
}
|
|
2148
2148
|
}
|
|
2149
|
-
window.customElements.define("konnectio-hotel",
|
|
2149
|
+
window.customElements.define("konnectio-hotel", qn);
|
|
2150
2150
|
export {
|
|
2151
|
-
|
|
2151
|
+
qn as default
|
|
2152
2152
|
};
|
|
2153
2153
|
//# sourceMappingURL=hotel.js.map
|