@konnectio/core 4.0.69 → 4.0.70
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-Cvrd0oT4.js → ActionField-B2nkVHpm.js} +15 -15
- package/dist/ActionField-B2nkVHpm.js.br +0 -0
- package/dist/{AvailabilitySkeleton-C9hYCt8n.js → AvailabilitySkeleton-B861c-E-.js} +7 -7
- package/dist/AvailabilitySkeleton-B861c-E-.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js} +417 -420
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js.br +0 -0
- package/dist/{CheckoutWindow-Jd7cv0fV.js → CheckoutWindow-DM8NiuXR.js} +5 -5
- package/dist/CheckoutWindow-DM8NiuXR.js.br +0 -0
- package/dist/{ErrorMessage-CY9XqT_-.js → ErrorMessage-DHi8BQ6u.js} +3 -3
- package/dist/ErrorMessage-DHi8BQ6u.js.br +0 -0
- package/dist/{EventAvailabilityForm-liW326n_.js → EventAvailabilityForm-DPn-Gce_.js} +6 -6
- package/dist/EventAvailabilityForm-DPn-Gce_.js.br +0 -0
- package/dist/{Field-DBjYUlqg.js → Field-DxsuquwZ.js} +3 -3
- package/dist/Field-DxsuquwZ.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js} +826 -832
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js.br +0 -0
- package/dist/{TermsOfService-DoPiQYS7.js → TermsOfService-D_Jn5Zg_.js} +13 -13
- package/dist/TermsOfService-D_Jn5Zg_.js.br +0 -0
- package/dist/{_-IWx6O9VX.js → _-DvTtY1Ya.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-DGEXmj4f.js → _.vue_vue_type_style_index_0_lang-B9P9xmGD.js} +7 -7
- package/dist/_.vue_vue_type_style_index_0_lang-B9P9xmGD.js.br +0 -0
- package/dist/_commonjsHelpers-zI2TZkyo.js +25 -0
- package/dist/_commonjsHelpers-zI2TZkyo.js.br +0 -0
- package/dist/{_sentry-release-injection-file-BLCF_5fD.js → _sentry-release-injection-file-DvEZJp-B.js} +3 -3
- package/dist/_sentry-release-injection-file-DvEZJp-B.js.br +0 -0
- package/dist/availability.js +41 -41
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +27 -21
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +19 -19
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +28 -28
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +51 -51
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-gaWxo7v2.js → giftCard-awGtNaxi.js} +5 -5
- package/dist/giftCard-awGtNaxi.js.br +0 -0
- package/dist/hotel.js +187 -193
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-C7YeIXYO.js → masonry.plugin-BrevVGLo.js} +9 -9
- package/dist/masonry.plugin-BrevVGLo.js.br +0 -0
- package/dist/{mitt-tOYHzZHa.js → mitt-CHkQwqe3.js} +2 -2
- package/dist/mitt-CHkQwqe3.js.br +0 -0
- package/dist/polyfill.js +764 -755
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-iCfvULKs.js → style-CTJOBGnG.js} +195 -188
- package/dist/style-CTJOBGnG.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{_commonjsHelpers-DLzKE872.js → tracing-1TgukAt0.js} +197 -204
- package/dist/tracing-1TgukAt0.js.br +0 -0
- package/package.json +5 -5
- package/dist/ActionField-Cvrd0oT4.js.br +0 -0
- package/dist/AvailabilitySkeleton-C9hYCt8n.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CcnfiFBT.js.br +0 -0
- package/dist/CheckoutWindow-Jd7cv0fV.js.br +0 -0
- package/dist/ErrorMessage-CY9XqT_-.js.br +0 -0
- package/dist/EventAvailabilityForm-liW326n_.js.br +0 -0
- package/dist/Field-DBjYUlqg.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B4bGDuSh.js.br +0 -0
- package/dist/TermsOfService-DoPiQYS7.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DGEXmj4f.js.br +0 -0
- package/dist/_commonjsHelpers-DLzKE872.js.br +0 -0
- package/dist/_sentry-release-injection-file-BLCF_5fD.js.br +0 -0
- package/dist/giftCard-gaWxo7v2.js.br +0 -0
- package/dist/masonry.plugin-C7YeIXYO.js.br +0 -0
- package/dist/mitt-tOYHzZHa.js.br +0 -0
- package/dist/style-iCfvULKs.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { d as Z, r as ne, a as u, b as A, q as no, u as e, w as $, g as h, e as a, t as v, A as
|
|
2
|
-
import { u as ae, s as X, T as co, c as po, l as mo, i as fo, m as ho } from "./mitt-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { A as wo, H as $o } from "./AvailabilitySkeleton-
|
|
6
|
-
import { R as Co, B as Me, L as Ao, S as Po, M as Do, a as
|
|
7
|
-
import { S as Eo } from "./TermsOfService-
|
|
8
|
-
import { C as Ee, B as Bo, P as No, a as Mo } from "./CheckoutWindow-
|
|
9
|
-
import { _ as
|
|
1
|
+
import { d as Z, r as ne, a as u, b as A, q as no, u as e, w as $, g as h, e as a, t as v, A as We, B as xe, f as y, i as _, s as G, F as O, l as Ke, x as Qe, v as q, h as Se, c as J, p as Vt, j as Tt, o as ot, z as He, n as Ie, S as ao, C as io, D as so, E as ro, k as uo } from "./_sentry-release-injection-file-DvEZJp-B.js";
|
|
2
|
+
import { u as ae, s as X, T as co, c as po, l as mo, i as fo, m as ho } from "./mitt-CHkQwqe3.js";
|
|
3
|
+
import { c as vo, G as yo } from "./style-CTJOBGnG.js";
|
|
4
|
+
import { d as Te, x as he, u as Ve, I as K, s as me, y as Xe, l as ut, i as ce, g as le, _ as fe, n as Ne, z as wt, b as Ze, c as pe, B as $t, A as ct, T as ue, p as go, D as bo, a as ko, C as _o, h as pt, j as Vo, k as mt, m as To } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js";
|
|
5
|
+
import { A as wo, H as $o } from "./AvailabilitySkeleton-B861c-E-.js";
|
|
6
|
+
import { R as Co, B as Me, L as Ao, S as Po, M as Do, a as Je, C as So, T as Ho, V as Io } from "./masonry.plugin-BrevVGLo.js";
|
|
7
|
+
import { S as Eo } from "./TermsOfService-D_Jn5Zg_.js";
|
|
8
|
+
import { C as Ee, B as Bo, P as No, a as Mo } from "./CheckoutWindow-DM8NiuXR.js";
|
|
9
|
+
import { _ as Ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js";
|
|
10
10
|
(function() {
|
|
11
11
|
try {
|
|
12
12
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
|
|
13
|
-
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "
|
|
13
|
+
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "df787e01-d77c-4f62-a085-7d0635710c6a", n._sentryDebugIdIdentifier = "sentry-dbid-df787e01-d77c-4f62-a085-7d0635710c6a");
|
|
14
14
|
} catch {
|
|
15
15
|
}
|
|
16
16
|
})();
|
|
@@ -63,9 +63,9 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
63
63
|
function $e(te) {
|
|
64
64
|
return te.reduce((M, { totalPrice: ye }) => M + ye, 0);
|
|
65
65
|
}
|
|
66
|
-
return (te,
|
|
66
|
+
return (te, W) => (u(), A(Co, {
|
|
67
67
|
"discount-code": e(U),
|
|
68
|
-
"onUpdate:discountCode":
|
|
68
|
+
"onUpdate:discountCode": W[4] || (W[4] = (M) => q(U) ? U.value = M : null),
|
|
69
69
|
"validate-discount-code": e(be),
|
|
70
70
|
"total-price": e(C),
|
|
71
71
|
"show-gift-card": te.showGiftCard,
|
|
@@ -74,7 +74,7 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
74
74
|
notice: e(l)("hotel.reservationNotice")
|
|
75
75
|
}, no({
|
|
76
76
|
form: $(() => [
|
|
77
|
-
|
|
77
|
+
Ke(te.$slots, "form", {}, void 0, !0)
|
|
78
78
|
]),
|
|
79
79
|
"price-summary": $(() => [
|
|
80
80
|
isNaN(e(T)) && e(f).length > 0 ? (u(!0), h(O, { key: 0 }, G(e(f), ({
|
|
@@ -90,22 +90,22 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
90
90
|
a("li", null, [
|
|
91
91
|
a("span", null, [
|
|
92
92
|
a("span", null, [
|
|
93
|
-
|
|
94
|
-
y(
|
|
93
|
+
Qe(v(e(ce)(Ce.name)) + " ( ", 1),
|
|
94
|
+
y(K, {
|
|
95
95
|
icon: "male",
|
|
96
96
|
type: "fas",
|
|
97
97
|
color: "font"
|
|
98
98
|
}),
|
|
99
99
|
a("span", null, v(se.adultsCount), 1),
|
|
100
100
|
se.childrenCount > 0 ? (u(), h(O, { key: 0 }, [
|
|
101
|
-
y(
|
|
101
|
+
y(K, {
|
|
102
102
|
icon: "child",
|
|
103
103
|
type: "fas",
|
|
104
104
|
color: "font"
|
|
105
105
|
}),
|
|
106
106
|
a("span", null, v(se.childrenCount), 1)
|
|
107
107
|
], 64)) : _("", !0),
|
|
108
|
-
|
|
108
|
+
Qe(") ")
|
|
109
109
|
])
|
|
110
110
|
]),
|
|
111
111
|
a("b", null, [
|
|
@@ -147,7 +147,7 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
147
147
|
e(p) ? _("", !0) : (u(), A(Ee, {
|
|
148
148
|
key: 0,
|
|
149
149
|
modelValue: e(L),
|
|
150
|
-
"onUpdate:modelValue":
|
|
150
|
+
"onUpdate:modelValue": W[0] || (W[0] = (M) => q(L) ? L.value = M : null),
|
|
151
151
|
type: "checkbox",
|
|
152
152
|
name: "newsletter",
|
|
153
153
|
label: e(l)("booking.reservation.newsletterSignUp")
|
|
@@ -155,7 +155,7 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
155
155
|
e(ie) ? (u(), A(Ee, {
|
|
156
156
|
key: 1,
|
|
157
157
|
modelValue: e(ee),
|
|
158
|
-
"onUpdate:modelValue":
|
|
158
|
+
"onUpdate:modelValue": W[2] || (W[2] = (M) => q(ee) ? ee.value = M : null),
|
|
159
159
|
type: "checkbox",
|
|
160
160
|
name: "terms"
|
|
161
161
|
}, {
|
|
@@ -168,9 +168,9 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
168
168
|
terms: $(() => [
|
|
169
169
|
a("a", {
|
|
170
170
|
class: "konnectio-accept-terms-link",
|
|
171
|
-
onClick:
|
|
171
|
+
onClick: W[1] || (W[1] = Se((M) => ke.value = !0, ["prevent"]))
|
|
172
172
|
}, [
|
|
173
|
-
a("span", null, v(e(
|
|
173
|
+
a("span", null, v(e(ut)(e(l)("general.termsAndConditions"))), 1)
|
|
174
174
|
])
|
|
175
175
|
]),
|
|
176
176
|
_: 1
|
|
@@ -178,16 +178,16 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
178
178
|
]),
|
|
179
179
|
_: 1
|
|
180
180
|
}, 8, ["modelValue"])) : _("", !0),
|
|
181
|
-
|
|
181
|
+
Ke(te.$slots, "actions", {}, void 0, !0),
|
|
182
182
|
y(Eo, {
|
|
183
183
|
modelValue: ke.value,
|
|
184
|
-
"onUpdate:modelValue":
|
|
184
|
+
"onUpdate:modelValue": W[3] || (W[3] = (M) => ke.value = M),
|
|
185
185
|
description: e(Y)
|
|
186
186
|
}, null, 8, ["modelValue", "description"])
|
|
187
187
|
])
|
|
188
188
|
]),
|
|
189
189
|
navigation: $(() => [
|
|
190
|
-
|
|
190
|
+
Ke(te.$slots, "navigation", {}, void 0, !0)
|
|
191
191
|
]),
|
|
192
192
|
_: 2
|
|
193
193
|
}, [
|
|
@@ -198,13 +198,13 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
198
198
|
a("span", null, v(e(l)("general.location")), 1),
|
|
199
199
|
a("b", null, [
|
|
200
200
|
a("span", null, v(e(Re)(e(E))), 1),
|
|
201
|
-
|
|
202
|
-
y(
|
|
201
|
+
We(a("span", Lo, [
|
|
202
|
+
y(K, {
|
|
203
203
|
icon: "exclamation-triangle",
|
|
204
204
|
type: "fas"
|
|
205
205
|
})
|
|
206
206
|
], 512), [
|
|
207
|
-
[
|
|
207
|
+
[xe, e(z)]
|
|
208
208
|
])
|
|
209
209
|
])
|
|
210
210
|
])) : _("", !0),
|
|
@@ -212,13 +212,13 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
212
212
|
a("span", null, v(e(l)("booking.reservation.arrival")), 1),
|
|
213
213
|
a("b", null, [
|
|
214
214
|
a("span", null, v(e(t) ? e(me)(e(R)) : `${e(me)(e(R))}, ${e(o) ? e(s) : e(r)}`), 1),
|
|
215
|
-
|
|
216
|
-
y(
|
|
215
|
+
We(a("span", Uo, [
|
|
216
|
+
y(K, {
|
|
217
217
|
icon: "exclamation-triangle",
|
|
218
218
|
type: "fas"
|
|
219
219
|
})
|
|
220
220
|
], 512), [
|
|
221
|
-
[
|
|
221
|
+
[xe, e(D)]
|
|
222
222
|
])
|
|
223
223
|
])
|
|
224
224
|
]),
|
|
@@ -226,19 +226,19 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
226
226
|
a("span", null, v(e(l)("booking.reservation.departure")), 1),
|
|
227
227
|
a("b", null, [
|
|
228
228
|
a("span", null, v(e(t) ? e(me)(e(k)) : `${e(me)(e(k))}, ${e(i) ? e(m) : e(d)}`), 1),
|
|
229
|
-
|
|
230
|
-
y(
|
|
229
|
+
We(a("span", Fo, [
|
|
230
|
+
y(K, {
|
|
231
231
|
icon: "exclamation-triangle",
|
|
232
232
|
type: "fas"
|
|
233
233
|
})
|
|
234
234
|
], 512), [
|
|
235
|
-
[
|
|
235
|
+
[xe, e(D)]
|
|
236
236
|
])
|
|
237
237
|
])
|
|
238
238
|
]),
|
|
239
239
|
a("li", null, [
|
|
240
240
|
a("span", null, v(e(l)("booking.reservation.nights")), 1),
|
|
241
|
-
a("b", null, v(e(
|
|
241
|
+
a("b", null, v(e(Xe)(e(R), e(k))) + " " + v(e(ut)(e(Xe)(e(R), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1)
|
|
242
242
|
]),
|
|
243
243
|
e(B) ? (u(!0), h(O, { key: 1 }, G(e(B), (M) => (u(), h("li", {
|
|
244
244
|
key: M.id
|
|
@@ -251,7 +251,7 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
251
251
|
}
|
|
252
252
|
]), 1032, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
253
253
|
}
|
|
254
|
-
}),
|
|
254
|
+
}), ze = /* @__PURE__ */ fe(Wo, [["__scopeId", "data-v-4bc6b7bc"]]), xo = (n) => (Vt("data-v-69fe83d8"), n = n(), Tt(), n), Ko = { class: "konnectio-room-config-option" }, Jo = { key: 0 }, zo = { class: "konnectio-selected-room-config" }, Yo = { class: "konnectio-selected-room-config-people" }, Qo = { key: 0 }, Xo = { class: "konnectio-selected-room-config-price" }, Zo = /* @__PURE__ */ xo(() => /* @__PURE__ */ a("span", null, null, -1)), el = /* @__PURE__ */ Z({
|
|
255
255
|
__name: "RoomConfigField",
|
|
256
256
|
props: {
|
|
257
257
|
modelValue: {},
|
|
@@ -266,7 +266,7 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
266
266
|
function m(c) {
|
|
267
267
|
i("update:modelValue", c);
|
|
268
268
|
}
|
|
269
|
-
const p =
|
|
269
|
+
const p = J({
|
|
270
270
|
get: () => s.modelValue,
|
|
271
271
|
set: (c) => m(c)
|
|
272
272
|
});
|
|
@@ -286,14 +286,14 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
286
286
|
option: $(({ data: d }) => [
|
|
287
287
|
a("span", Ko, [
|
|
288
288
|
a("div", null, [
|
|
289
|
-
y(
|
|
289
|
+
y(K, {
|
|
290
290
|
icon: "male",
|
|
291
291
|
type: "fas",
|
|
292
292
|
color: "font"
|
|
293
293
|
}),
|
|
294
294
|
a("span", null, v(`${d.adults}`), 1),
|
|
295
295
|
d.children > 0 ? (u(), h("span", Jo, [
|
|
296
|
-
y(
|
|
296
|
+
y(K, {
|
|
297
297
|
icon: "child",
|
|
298
298
|
type: "fas",
|
|
299
299
|
color: "font"
|
|
@@ -318,7 +318,7 @@ const Oo = { key: 0 }, jo = { key: 1 }, qo = { key: 0 }, Go = { class: "konnecti
|
|
|
318
318
|
]),
|
|
319
319
|
a("div", Xo, [
|
|
320
320
|
Zo,
|
|
321
|
-
|
|
321
|
+
Qe(" " + v(`(${e(le)(d.price, e(o))})`), 1)
|
|
322
322
|
])
|
|
323
323
|
])
|
|
324
324
|
]),
|
|
@@ -341,16 +341,16 @@ const il = /* @__PURE__ */ Z({
|
|
|
341
341
|
addons: []
|
|
342
342
|
});
|
|
343
343
|
}
|
|
344
|
-
const s =
|
|
344
|
+
const s = J(() => t.room.rates.map((k) => ({
|
|
345
345
|
label: k.name,
|
|
346
346
|
value: k.id
|
|
347
|
-
}))), { hideAvailableRoomAmount: m, autoSelectRateId: p } = X(Te()), { roomSelect: c } = X(he()), { addToCart: r, removeFromCart: d } =
|
|
347
|
+
}))), { hideAvailableRoomAmount: m, autoSelectRateId: p } = X(Te()), { roomSelect: c } = X(he()), { addToCart: r, removeFromCart: d } = wt(), f = (k, D) => t.room.rates.find((E) => E.id === k)?.occupantRates.find((E) => E.index === D), T = J(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), C = (k, D) => f(k, D) ? f(k, D)?.rooms : null, w = (k) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === k)?.occupantRates.map((D) => ({
|
|
348
348
|
value: D.index,
|
|
349
349
|
price: D.totalPrice,
|
|
350
350
|
adults: D.adultsCount,
|
|
351
351
|
children: D.childrenCount,
|
|
352
352
|
hasBreakfast: D.hasBreakfast
|
|
353
|
-
})) || [] : [], I =
|
|
353
|
+
})) || [] : [], I = J(() => t.room.rates.length > 1);
|
|
354
354
|
function N(k, D) {
|
|
355
355
|
o.value[k].config[0].id = t.room.rates.find((E) => E.id === D.value)?.occupantRateIndex || NaN;
|
|
356
356
|
}
|
|
@@ -378,10 +378,10 @@ const il = /* @__PURE__ */ Z({
|
|
|
378
378
|
}]
|
|
379
379
|
});
|
|
380
380
|
}
|
|
381
|
-
|
|
381
|
+
ot(() => {
|
|
382
382
|
B();
|
|
383
383
|
});
|
|
384
|
-
const R =
|
|
384
|
+
const R = J(() => JSON.parse(JSON.stringify(o.value)));
|
|
385
385
|
return He(R, (k, D) => {
|
|
386
386
|
D.length > 0 && k.forEach((E, z) => {
|
|
387
387
|
E.config.forEach((L, Y) => {
|
|
@@ -451,7 +451,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
451
451
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
452
452
|
]),
|
|
453
453
|
a("ul", al, [
|
|
454
|
-
y(
|
|
454
|
+
y(Ze, {
|
|
455
455
|
modelValue: U.units,
|
|
456
456
|
"onUpdate:modelValue": (ee) => U.units = ee,
|
|
457
457
|
description: e(m) ? void 0 : `${e(l)("booking.availability.availableUnits")}: ${C(E.id, U.id)}`,
|
|
@@ -483,7 +483,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
483
483
|
callback: { type: Function }
|
|
484
484
|
},
|
|
485
485
|
setup(n) {
|
|
486
|
-
const { t: l } = ae(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = X(he()), { currency: s } = X(Te()), { clearRoomSelection: m } = he(), p = n, c = ne(!0), r =
|
|
486
|
+
const { t: l } = ae(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = X(he()), { currency: s } = X(Te()), { clearRoomSelection: m } = he(), p = n, c = ne(!0), r = J(() => {
|
|
487
487
|
function f(T, C) {
|
|
488
488
|
return c.value === !0 ? T.extraPrice > C.extraPrice ? -1 : 1 : T.extraPrice > C.extraPrice ? 1 : -1;
|
|
489
489
|
}
|
|
@@ -533,7 +533,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
533
533
|
_: 1
|
|
534
534
|
}, 8, ["title", "subtitle"]));
|
|
535
535
|
}
|
|
536
|
-
}),
|
|
536
|
+
}), At = /* @__PURE__ */ fe(ul, [["__scopeId", "data-v-7424de30"]]), cl = { class: "konnectio-template-select-package" }, pl = /* @__PURE__ */ Z({
|
|
537
537
|
__name: "Template",
|
|
538
538
|
props: {
|
|
539
539
|
id: {},
|
|
@@ -546,10 +546,10 @@ const il = /* @__PURE__ */ Z({
|
|
|
546
546
|
callback: { type: Function }
|
|
547
547
|
},
|
|
548
548
|
setup(n) {
|
|
549
|
-
const { t: l } = ae(), t = n, o =
|
|
549
|
+
const { t: l } = ae(), t = n, o = J(() => t.roomGroups.reduce(
|
|
550
550
|
(c, r) => c < r.extraPrice ? c : r.extraPrice,
|
|
551
551
|
1 / 0
|
|
552
|
-
)), i =
|
|
552
|
+
)), i = J(() => {
|
|
553
553
|
if (t.image)
|
|
554
554
|
return [{
|
|
555
555
|
large: t.image.url,
|
|
@@ -570,7 +570,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
570
570
|
name: c.name,
|
|
571
571
|
description: c.description,
|
|
572
572
|
gallery: i.value,
|
|
573
|
-
layout: e(
|
|
573
|
+
layout: e($t).Template,
|
|
574
574
|
"includes-breakfast": !1,
|
|
575
575
|
"hide-info-button": !1,
|
|
576
576
|
"prices-from": o.value
|
|
@@ -585,7 +585,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
585
585
|
])
|
|
586
586
|
]),
|
|
587
587
|
default: $(() => [
|
|
588
|
-
y(
|
|
588
|
+
y(At, {
|
|
589
589
|
modelValue: s.value,
|
|
590
590
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => s.value = d),
|
|
591
591
|
title: c.name,
|
|
@@ -612,7 +612,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
612
612
|
callback: { type: Function }
|
|
613
613
|
},
|
|
614
614
|
setup(n) {
|
|
615
|
-
const { t: l } = ae(), { updateDates: t } = Ve(), o = n, i = ne([]), s =
|
|
615
|
+
const { t: l } = ae(), { updateDates: t } = Ve(), o = n, i = ne([]), s = J(() => Xe(o.fromDate, o.toDate) === 1), m = J(() => [{
|
|
616
616
|
large: o.image.url,
|
|
617
617
|
medium: o.image.url,
|
|
618
618
|
thumb: o.image.url,
|
|
@@ -624,7 +624,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
624
624
|
function r() {
|
|
625
625
|
t(i.value[0], i.value[1]);
|
|
626
626
|
}
|
|
627
|
-
return
|
|
627
|
+
return ot(() => {
|
|
628
628
|
s.value && (i.value = [new Date(o.fromDate), new Date(o.toDate)]);
|
|
629
629
|
}), (d, f) => (u(), A(Me, {
|
|
630
630
|
type: "template",
|
|
@@ -632,7 +632,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
632
632
|
name: d.name,
|
|
633
633
|
description: d.description,
|
|
634
634
|
gallery: m.value,
|
|
635
|
-
layout: e(
|
|
635
|
+
layout: e($t).Template,
|
|
636
636
|
"includes-breakfast": !1,
|
|
637
637
|
"hide-info-button": !1,
|
|
638
638
|
"to-date": d.toDate,
|
|
@@ -640,7 +640,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
640
640
|
}, {
|
|
641
641
|
action: $(() => [
|
|
642
642
|
a("div", ml, [
|
|
643
|
-
y(
|
|
643
|
+
y(Ct, {
|
|
644
644
|
modelValue: i.value,
|
|
645
645
|
"onUpdate:modelValue": f[0] || (f[0] = (T) => i.value = T),
|
|
646
646
|
label: e(l)("availability.checkInOut"),
|
|
@@ -663,7 +663,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
663
663
|
])
|
|
664
664
|
]),
|
|
665
665
|
default: $(() => [
|
|
666
|
-
y(
|
|
666
|
+
y(At, {
|
|
667
667
|
modelValue: p.value,
|
|
668
668
|
"onUpdate:modelValue": f[1] || (f[1] = (T) => p.value = T),
|
|
669
669
|
title: d.name,
|
|
@@ -675,7 +675,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
675
675
|
_: 1
|
|
676
676
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
677
677
|
}
|
|
678
|
-
}),
|
|
678
|
+
}), ft = /* @__PURE__ */ Z({
|
|
679
679
|
__name: "TimeField",
|
|
680
680
|
props: {
|
|
681
681
|
modelValue: {},
|
|
@@ -700,7 +700,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
700
700
|
const s = ne(o.modelValue);
|
|
701
701
|
return He(s, (m) => {
|
|
702
702
|
i(m);
|
|
703
|
-
}), (m, p) => (u(), A(
|
|
703
|
+
}), (m, p) => (u(), A(Ct, {
|
|
704
704
|
modelValue: s.value,
|
|
705
705
|
"onUpdate:modelValue": p[0] || (p[0] = (c) => s.value = c),
|
|
706
706
|
type: "time",
|
|
@@ -712,8 +712,10 @@ const il = /* @__PURE__ */ Z({
|
|
|
712
712
|
"icon-color": m.iconColor,
|
|
713
713
|
"auto-apply": !0,
|
|
714
714
|
required: m.required,
|
|
715
|
-
readonly: m.readonly
|
|
716
|
-
|
|
715
|
+
readonly: m.readonly,
|
|
716
|
+
"min-time": m.minTime,
|
|
717
|
+
"max-time": m.maxTime
|
|
718
|
+
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly", "min-time", "max-time"]));
|
|
717
719
|
}
|
|
718
720
|
}), vl = { style: { display: "flex", "align-items": "baseline" } }, yl = /* @__PURE__ */ Z({
|
|
719
721
|
__name: "CountryField",
|
|
@@ -731,7 +733,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
731
733
|
function s(p) {
|
|
732
734
|
o("update:modelValue", p);
|
|
733
735
|
}
|
|
734
|
-
const m =
|
|
736
|
+
const m = J({
|
|
735
737
|
get: () => i.modelValue,
|
|
736
738
|
set: (p) => s(p)
|
|
737
739
|
});
|
|
@@ -784,7 +786,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
784
786
|
},
|
|
785
787
|
emits: ["update:modelValue", "update:title"],
|
|
786
788
|
setup(n, { emit: l }) {
|
|
787
|
-
const t = n, o = l, i = t.id ||
|
|
789
|
+
const t = n, o = l, i = t.id || ct(), s = ne(""), m = ne(2);
|
|
788
790
|
function p() {
|
|
789
791
|
o("update:modelValue", s.value);
|
|
790
792
|
}
|
|
@@ -792,9 +794,9 @@ const il = /* @__PURE__ */ Z({
|
|
|
792
794
|
o("update:title", r);
|
|
793
795
|
});
|
|
794
796
|
const { t: c } = ae();
|
|
795
|
-
return
|
|
797
|
+
return ot(() => {
|
|
796
798
|
t.modelValue && (s.value = t.modelValue), t.title && (m.value = t.title);
|
|
797
|
-
}), (r, d) => (u(), A(
|
|
799
|
+
}), (r, d) => (u(), A(go, {
|
|
798
800
|
label: r.label,
|
|
799
801
|
id: e(i),
|
|
800
802
|
required: r.required,
|
|
@@ -813,7 +815,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
813
815
|
key: 0,
|
|
814
816
|
modelValue: m.value,
|
|
815
817
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => m.value = f),
|
|
816
|
-
id: e(
|
|
818
|
+
id: e(ct)(),
|
|
817
819
|
icon: r.icon,
|
|
818
820
|
"icon-color": r.iconColor,
|
|
819
821
|
"icon-type": r.iconType,
|
|
@@ -879,7 +881,7 @@ const il = /* @__PURE__ */ Z({
|
|
|
879
881
|
])
|
|
880
882
|
]));
|
|
881
883
|
}
|
|
882
|
-
}), $l = /* @__PURE__ */ fe(wl, [["__scopeId", "data-v-1bb21da4"]]), Cl = (n) => (
|
|
884
|
+
}), $l = /* @__PURE__ */ fe(wl, [["__scopeId", "data-v-1bb21da4"]]), Cl = (n) => (Vt("data-v-8e803f2d"), n = n(), Tt(), n), Al = { id: "booking-availability-container" }, Pl = { id: "booking-availability-controls" };
|
|
883
885
|
const Dl = { key: 1 }, Sl = { key: 0 }, Hl = {
|
|
884
886
|
key: 0,
|
|
885
887
|
id: "booking-availability-packages"
|
|
@@ -922,7 +924,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
922
924
|
__name: "Hotel",
|
|
923
925
|
props: {
|
|
924
926
|
accessToken: {},
|
|
925
|
-
headerLayout: { default:
|
|
927
|
+
headerLayout: { default: bo.Minimal },
|
|
926
928
|
onlyShow: { default: "everything" },
|
|
927
929
|
hideAddons: { default: "no" },
|
|
928
930
|
disableDefaultLocation: { default: "no" },
|
|
@@ -930,7 +932,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
930
932
|
styling: {}
|
|
931
933
|
},
|
|
932
934
|
setup(n) {
|
|
933
|
-
const l = io(() => import("./_-
|
|
935
|
+
const l = io(() => import("./_-DvTtY1Ya.js")), t = n, { t: o } = ae(), {
|
|
934
936
|
currentLocation: i,
|
|
935
937
|
templateID: s,
|
|
936
938
|
templateAddons: m,
|
|
@@ -964,37 +966,37 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
964
966
|
currentChildren: $e,
|
|
965
967
|
isTemplateReservation: te
|
|
966
968
|
} = X(he()), {
|
|
967
|
-
adults:
|
|
969
|
+
adults: W,
|
|
968
970
|
children: M,
|
|
969
971
|
location: ye,
|
|
970
972
|
arrivalDate: Le,
|
|
971
973
|
departureDate: Ce
|
|
972
974
|
} = X(Ve()), { isValidHotelId: Ue, updateDates: se } = Ve(), {
|
|
973
975
|
currency: _e,
|
|
974
|
-
arrivalEarliest:
|
|
975
|
-
arrivalLatest:
|
|
976
|
-
departureEarliest:
|
|
977
|
-
departureLatest:
|
|
976
|
+
arrivalEarliest: nt,
|
|
977
|
+
arrivalLatest: It,
|
|
978
|
+
departureEarliest: Et,
|
|
979
|
+
departureLatest: Bt,
|
|
978
980
|
enableTracking: Nt,
|
|
979
981
|
hideArrivalDepartureInputs: Mt,
|
|
980
|
-
disableArrivalUserSelection:
|
|
982
|
+
disableArrivalUserSelection: Fe,
|
|
981
983
|
disableNamePrefix: Rt,
|
|
982
|
-
disableDepartureUserSelection:
|
|
984
|
+
disableDepartureUserSelection: Oe,
|
|
983
985
|
disableTravelingFor: Lt,
|
|
984
986
|
disableTravelingForBleasure: Ut,
|
|
985
987
|
disableCompanyField: Ft,
|
|
986
988
|
hasPaymentGateway: Ot,
|
|
987
|
-
maxAdultAmount:
|
|
988
|
-
maxChildAmount:
|
|
989
|
+
maxAdultAmount: at,
|
|
990
|
+
maxChildAmount: it,
|
|
989
991
|
defaultAdultAmount: jt,
|
|
990
992
|
defaultChildAmount: qt
|
|
991
|
-
} = X(Te()), { beginCheckout: Gt } =
|
|
993
|
+
} = X(Te()), { beginCheckout: Gt } = wt(), { display: je } = ko(), {
|
|
992
994
|
resetTemplate: Wt,
|
|
993
995
|
resetDiscountVoucher: xt,
|
|
994
996
|
createReservation: Kt,
|
|
995
997
|
fetchMetadata: Jt,
|
|
996
|
-
fetchAvailabilityData:
|
|
997
|
-
filterAddons:
|
|
998
|
+
fetchAvailabilityData: st,
|
|
999
|
+
filterAddons: rt
|
|
998
1000
|
} = he(), zt = ne(!0), Yt = [
|
|
999
1001
|
{
|
|
1000
1002
|
id: "availability",
|
|
@@ -1021,7 +1023,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1021
1023
|
label: o("booking.confirmation.title"),
|
|
1022
1024
|
icon: "calendar-check"
|
|
1023
1025
|
}
|
|
1024
|
-
], Qt =
|
|
1026
|
+
], Qt = J(() => {
|
|
1025
1027
|
const b = [
|
|
1026
1028
|
{
|
|
1027
1029
|
label: o("booking.reservation.business"),
|
|
@@ -1036,54 +1038,46 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1036
1038
|
label: o("booking.reservation.bleasure"),
|
|
1037
1039
|
value: "Bleasure"
|
|
1038
1040
|
}), b;
|
|
1039
|
-
}), Xt =
|
|
1041
|
+
}), Xt = J(() => {
|
|
1040
1042
|
const b = j.value.roomGroups.slice();
|
|
1041
|
-
function V(
|
|
1042
|
-
return zt.value === !0 ?
|
|
1043
|
+
function V(x, P) {
|
|
1044
|
+
return zt.value === !0 ? x.pricesFrom > P.pricesFrom ? -1 : 1 : x.pricesFrom > P.pricesFrom ? 1 : -1;
|
|
1043
1045
|
}
|
|
1044
1046
|
return b.sort(V);
|
|
1045
|
-
});
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
parseInt(at.value.split(":")[0])
|
|
1049
|
-
]]), W(() => [[
|
|
1050
|
-
parseInt(it.value.split(":")[0]),
|
|
1051
|
-
parseInt(st.value.split(":")[0])
|
|
1052
|
-
]]);
|
|
1053
|
-
const Ge = W(() => t.hideAddons === "yes" || te.value && t.hideAddons === "packages" || !te.value && t.hideAddons === "rooms");
|
|
1054
|
-
function pt(b) {
|
|
1055
|
-
Ge.value || ve.value ? b(2) : b(), xt();
|
|
1047
|
+
}), qe = J(() => t.hideAddons === "yes" || te.value && t.hideAddons === "packages" || !te.value && t.hideAddons === "rooms");
|
|
1048
|
+
function dt(b) {
|
|
1049
|
+
qe.value || ve.value ? b(2) : b(), xt();
|
|
1056
1050
|
}
|
|
1057
1051
|
async function Zt(b, V) {
|
|
1058
1052
|
await Kt(b, V);
|
|
1059
1053
|
}
|
|
1060
1054
|
function eo(b) {
|
|
1061
|
-
Nt.value && Gt(),
|
|
1055
|
+
Nt.value && Gt(), qe.value || ve.value ? b(2) : b();
|
|
1062
1056
|
}
|
|
1063
1057
|
function to() {
|
|
1064
|
-
const b =
|
|
1058
|
+
const b = Vo("history", {
|
|
1065
1059
|
removeNullishValues: !0
|
|
1066
|
-
}), V = parseInt(b.a),
|
|
1060
|
+
}), V = parseInt(b.a), x = parseInt(b.c), P = parseInt(b.hid), S = parseInt(b.n), g = b.ci, F = b.co, H = b.id;
|
|
1067
1061
|
let oe = !1;
|
|
1068
|
-
if (isNaN(V) || (V >
|
|
1062
|
+
if (isNaN(V) || (V > at.value ? W.value = at.value : W.value = V, W.value === jt.value && (b.a = void 0)), isNaN(x) || (x > it.value ? M.value = it.value : M.value = x, M.value === qt.value && (b.c = void 0)), isNaN(S) || S > 0 && (b.n = void 0), isNaN(P) || (Ue(P) ? (ye.value = P, oe = !0) : je({
|
|
1069
1063
|
message: o("alert.error.hotelIdNotFound"),
|
|
1070
1064
|
type: "error"
|
|
1071
1065
|
})), g && F)
|
|
1072
|
-
if (
|
|
1066
|
+
if (mt(g) && mt(F)) {
|
|
1073
1067
|
const ge = new Date(g), re = new Date(F);
|
|
1074
|
-
ge <= re ? (Le.value = ge, Ce.value = re) : (b.ci = void 0, b.co = void 0,
|
|
1068
|
+
ge <= re ? (Le.value = ge, Ce.value = re) : (b.ci = void 0, b.co = void 0, je({
|
|
1075
1069
|
message: o("alert.error.invalidDateRange"),
|
|
1076
1070
|
type: "error"
|
|
1077
1071
|
}));
|
|
1078
1072
|
} else
|
|
1079
|
-
|
|
1073
|
+
je({
|
|
1080
1074
|
message: o("alert.error.wrongDateFormat"),
|
|
1081
1075
|
type: "error"
|
|
1082
1076
|
});
|
|
1083
1077
|
let Q = null;
|
|
1084
|
-
H && (Q = H), t.disableDefaultLocation === "yes" && oe === !1 ? (ye.value = void 0, i.value = void 0) :
|
|
1078
|
+
H && (Q = H), t.disableDefaultLocation === "yes" && oe === !1 ? (ye.value = void 0, i.value = void 0) : st(Q);
|
|
1085
1079
|
}
|
|
1086
|
-
return (b, V) => (u(), A(
|
|
1080
|
+
return (b, V) => (u(), A(_o, { styling: b.styling }, {
|
|
1087
1081
|
default: $(() => [
|
|
1088
1082
|
(u(), A(ao, { onResolve: to }, {
|
|
1089
1083
|
default: $(() => [
|
|
@@ -1098,8 +1092,8 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1098
1092
|
steps: Yt,
|
|
1099
1093
|
onReset: e(Wt)
|
|
1100
1094
|
}, {
|
|
1101
|
-
availability: $(({ next:
|
|
1102
|
-
y(
|
|
1095
|
+
availability: $(({ next: x }) => [
|
|
1096
|
+
y(ze, null, {
|
|
1103
1097
|
form: $(() => [
|
|
1104
1098
|
a("div", Al, [
|
|
1105
1099
|
a("div", Pl, [
|
|
@@ -1114,7 +1108,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1114
1108
|
e(j).roomGroups.length > 0 || e(j).templates.length > 0 || e(j).specialTemplates.length > 0 ? (u(), h("div", Sl, [
|
|
1115
1109
|
e(j).templates.length > 0 && b.onlyShow !== "rooms" ? (u(), h("div", Hl, [
|
|
1116
1110
|
b.onlyShow !== "packages" ? (u(), h("h2", Il, [
|
|
1117
|
-
y(
|
|
1111
|
+
y(K, {
|
|
1118
1112
|
icon: "box",
|
|
1119
1113
|
type: "fal",
|
|
1120
1114
|
color: "header"
|
|
@@ -1137,14 +1131,14 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1137
1131
|
image: F,
|
|
1138
1132
|
weekendFee: oe,
|
|
1139
1133
|
"room-groups": g,
|
|
1140
|
-
callback:
|
|
1134
|
+
callback: x,
|
|
1141
1135
|
"hide-addons": b.hideAddons === "yes" || b.hideAddons === "packages"
|
|
1142
1136
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1143
1137
|
])
|
|
1144
1138
|
])) : _("", !0),
|
|
1145
1139
|
e(j).roomGroups.length > 0 && b.onlyShow !== "packages" ? (u(), h("div", Bl, [
|
|
1146
1140
|
e(j).templates.length > 0 && b.onlyShow !== "rooms" ? (u(), h("h2", Nl, [
|
|
1147
|
-
y(
|
|
1141
|
+
y(K, {
|
|
1148
1142
|
icon: "house",
|
|
1149
1143
|
type: "fal",
|
|
1150
1144
|
color: "header"
|
|
@@ -1160,7 +1154,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1160
1154
|
])) : _("", !0),
|
|
1161
1155
|
e(j).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (u(), h("div", Rl, [
|
|
1162
1156
|
a("h2", Ll, [
|
|
1163
|
-
y(
|
|
1157
|
+
y(K, {
|
|
1164
1158
|
icon: "sparkles",
|
|
1165
1159
|
type: "fal",
|
|
1166
1160
|
color: "header"
|
|
@@ -1187,7 +1181,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1187
1181
|
toDate: ge,
|
|
1188
1182
|
weekendFee: oe,
|
|
1189
1183
|
"room-groups": g,
|
|
1190
|
-
callback:
|
|
1184
|
+
callback: x
|
|
1191
1185
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1192
1186
|
])
|
|
1193
1187
|
])) : _("", !0),
|
|
@@ -1198,7 +1192,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1198
1192
|
a("span", null, v(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1199
1193
|
])) : (u(), h("div", jl, [
|
|
1200
1194
|
a("h2", ql, [
|
|
1201
|
-
y(
|
|
1195
|
+
y(K, {
|
|
1202
1196
|
icon: "calendar-circle-exclamation",
|
|
1203
1197
|
type: "fal",
|
|
1204
1198
|
color: "header"
|
|
@@ -1215,7 +1209,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1215
1209
|
a("ul", null, [
|
|
1216
1210
|
_("", !0),
|
|
1217
1211
|
a("li", null, [
|
|
1218
|
-
y(
|
|
1212
|
+
y(K, {
|
|
1219
1213
|
icon: "money-bill",
|
|
1220
1214
|
type: "fal",
|
|
1221
1215
|
color: "header"
|
|
@@ -1234,9 +1228,9 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1234
1228
|
])) : isNaN(e(i)) && !e(c) ? (u(), h("div", xl, [
|
|
1235
1229
|
a("span", null, v(e(o)("alert.info.selectHotelToStart")), 1)
|
|
1236
1230
|
])) : (u(), h("div", Kl, [
|
|
1237
|
-
y(
|
|
1238
|
-
y(
|
|
1239
|
-
y(
|
|
1231
|
+
y(Je),
|
|
1232
|
+
y(Je),
|
|
1233
|
+
y(Je)
|
|
1240
1234
|
]))
|
|
1241
1235
|
])
|
|
1242
1236
|
]),
|
|
@@ -1246,20 +1240,20 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1246
1240
|
label: isNaN(e(i)) ? e(o)("availability.buttonLabel") : e(o)("general.searchAgain"),
|
|
1247
1241
|
"is-loading": e(c),
|
|
1248
1242
|
"full-width": "",
|
|
1249
|
-
onClickEvent: V[1] || (V[1] = (P) => e(
|
|
1243
|
+
onClickEvent: V[1] || (V[1] = (P) => e(st)())
|
|
1250
1244
|
}, null, 8, ["label", "is-loading"])) : (u(), A(pe, {
|
|
1251
1245
|
key: 1,
|
|
1252
|
-
label: e(ve) ||
|
|
1246
|
+
label: e(ve) || qe.value ? e(o)("booking.availability.nextButton") : e(o)("general.chooseAddons"),
|
|
1253
1247
|
disabled: !e(ee),
|
|
1254
1248
|
"full-width": "",
|
|
1255
|
-
onClickEvent: (P) => eo(
|
|
1249
|
+
onClickEvent: (P) => eo(x)
|
|
1256
1250
|
}, null, 8, ["label", "disabled", "onClickEvent"]))
|
|
1257
1251
|
]),
|
|
1258
1252
|
_: 2
|
|
1259
1253
|
}, 1024)
|
|
1260
1254
|
]),
|
|
1261
|
-
addons: $(({ next:
|
|
1262
|
-
e(we) ? (u(), A(
|
|
1255
|
+
addons: $(({ next: x, prev: P }) => [
|
|
1256
|
+
e(we) ? (u(), A(ze, { key: 0 }, {
|
|
1263
1257
|
form: $(() => [
|
|
1264
1258
|
a("form", Jl, [
|
|
1265
1259
|
a("h2", null, [
|
|
@@ -1288,13 +1282,13 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1288
1282
|
_("", !0),
|
|
1289
1283
|
a("th", Yl, [
|
|
1290
1284
|
a("b", null, [
|
|
1291
|
-
y(
|
|
1285
|
+
y(K, {
|
|
1292
1286
|
icon: "male",
|
|
1293
1287
|
type: "fas",
|
|
1294
1288
|
color: "font"
|
|
1295
1289
|
}),
|
|
1296
1290
|
a("span", null, v(H.adultsCount), 1),
|
|
1297
|
-
H.childrenCount > 0 ? (u(), A(
|
|
1291
|
+
H.childrenCount > 0 ? (u(), A(K, {
|
|
1298
1292
|
key: 0,
|
|
1299
1293
|
icon: "child",
|
|
1300
1294
|
type: "fas",
|
|
@@ -1306,7 +1300,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1306
1300
|
])
|
|
1307
1301
|
]),
|
|
1308
1302
|
a("tbody", null, [
|
|
1309
|
-
(u(!0), h(O, null, G(e(
|
|
1303
|
+
(u(!0), h(O, null, G(e(rt)(g.addons, H.childrenCount), ({
|
|
1310
1304
|
quantityStrategy: Q,
|
|
1311
1305
|
maximumNumber: ge,
|
|
1312
1306
|
id: re,
|
|
@@ -1315,21 +1309,21 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1315
1309
|
}) => (u(), h("tr", { key: re }, [
|
|
1316
1310
|
a("td", Xl, [
|
|
1317
1311
|
a("b", null, v(e(ce)(oo)), 1),
|
|
1318
|
-
a("span", null, v(e(le)(lo, e(_e))) + " " + v(e(
|
|
1312
|
+
a("span", null, v(e(le)(lo, e(_e))) + " " + v(e(pt)(Q)), 1)
|
|
1319
1313
|
]),
|
|
1320
1314
|
a("td", Zl, [
|
|
1321
1315
|
e(U)[S.roomGroupID][F].config[H.configIdx].addons[H.roomIdx] ? (u(), h(O, { key: 0 }, [
|
|
1322
|
-
Q === 1 || Q === 12 ? (u(), A(
|
|
1316
|
+
Q === 1 || Q === 12 ? (u(), A(Ze, {
|
|
1323
1317
|
key: 0,
|
|
1324
1318
|
modelValue: e(U)[S.roomGroupID][F].config[H.configIdx].addons[H.roomIdx][re],
|
|
1325
|
-
"onUpdate:modelValue": (
|
|
1319
|
+
"onUpdate:modelValue": (Ge) => e(U)[S.roomGroupID][F].config[H.configIdx].addons[H.roomIdx][re] = Ge,
|
|
1326
1320
|
small: !0,
|
|
1327
1321
|
"min-value": 0,
|
|
1328
1322
|
"max-value": ge || 1 / 0
|
|
1329
1323
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (u(), A(Ee, {
|
|
1330
1324
|
key: 1,
|
|
1331
1325
|
modelValue: e(U)[S.roomGroupID][F].config[H.configIdx].addons[H.roomIdx][re],
|
|
1332
|
-
"onUpdate:modelValue": (
|
|
1326
|
+
"onUpdate:modelValue": (Ge) => e(U)[S.roomGroupID][F].config[H.configIdx].addons[H.roomIdx][re] = Ge,
|
|
1333
1327
|
numeric: !0
|
|
1334
1328
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1335
1329
|
], 64)) : _("", !0)
|
|
@@ -1355,7 +1349,7 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1355
1349
|
])
|
|
1356
1350
|
]),
|
|
1357
1351
|
a("tbody", null, [
|
|
1358
|
-
(u(!0), h(O, null, G(e(
|
|
1352
|
+
(u(!0), h(O, null, G(e(rt)(e(be).addons, e($e)), ({
|
|
1359
1353
|
quantityStrategy: S,
|
|
1360
1354
|
maximumNumber: g,
|
|
1361
1355
|
id: F,
|
|
@@ -1364,10 +1358,10 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1364
1358
|
}) => (u(), h("tr", { key: F }, [
|
|
1365
1359
|
a("td", ln, [
|
|
1366
1360
|
a("b", null, v(e(ce)(H)), 1),
|
|
1367
|
-
a("span", null, v(e(le)(oe, e(_e))) + " " + v(e(
|
|
1361
|
+
a("span", null, v(e(le)(oe, e(_e))) + " " + v(e(pt)(S)), 1)
|
|
1368
1362
|
]),
|
|
1369
1363
|
a("td", nn, [
|
|
1370
|
-
S === 1 || S === 12 ? (u(), A(
|
|
1364
|
+
S === 1 || S === 12 ? (u(), A(Ze, {
|
|
1371
1365
|
key: 0,
|
|
1372
1366
|
modelValue: e(m)[F],
|
|
1373
1367
|
"onUpdate:modelValue": (Q) => e(m)[F] = Q,
|
|
@@ -1393,11 +1387,11 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1393
1387
|
y(pe, {
|
|
1394
1388
|
label: e(o)("general.startReservation"),
|
|
1395
1389
|
"full-width": "",
|
|
1396
|
-
onClickEvent:
|
|
1390
|
+
onClickEvent: x
|
|
1397
1391
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1398
1392
|
a("button", {
|
|
1399
1393
|
class: "konnectio-abort-reservation link",
|
|
1400
|
-
onClick: Se((S) =>
|
|
1394
|
+
onClick: Se((S) => dt(P), ["prevent"])
|
|
1401
1395
|
}, [
|
|
1402
1396
|
a("span", null, v(e(o)("general.goAStepBack")), 1)
|
|
1403
1397
|
], 8, an)
|
|
@@ -1405,8 +1399,8 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1405
1399
|
_: 2
|
|
1406
1400
|
}, 1024)) : _("", !0)
|
|
1407
1401
|
]),
|
|
1408
|
-
reservation: $(({ next:
|
|
1409
|
-
e(we) ? (u(), A(
|
|
1402
|
+
reservation: $(({ next: x, prev: P, reset: S }) => [
|
|
1403
|
+
e(we) ? (u(), A(ze, {
|
|
1410
1404
|
key: 0,
|
|
1411
1405
|
"show-terms-notice": !0,
|
|
1412
1406
|
"show-gift-card": !0
|
|
@@ -1416,29 +1410,29 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1416
1410
|
a("h2", null, [
|
|
1417
1411
|
a("span", null, v(e(o)("booking.reservation.detailsTitle")), 1)
|
|
1418
1412
|
]),
|
|
1419
|
-
!e(Mt) && !(e(
|
|
1413
|
+
!e(Mt) && !(e(Fe) && e(Oe)) ? (u(), h("ul", {
|
|
1420
1414
|
key: 0,
|
|
1421
|
-
class: Ie(["konnectio-reservation-timepicker", { "konnectio-split-inputs": !e(
|
|
1415
|
+
class: Ie(["konnectio-reservation-timepicker", { "konnectio-split-inputs": !e(Fe) && !e(Oe) }])
|
|
1422
1416
|
}, [
|
|
1423
|
-
e(
|
|
1424
|
-
y(
|
|
1417
|
+
e(Fe) ? _("", !0) : (u(), h("li", rn, [
|
|
1418
|
+
y(ft, {
|
|
1425
1419
|
modelValue: e(T),
|
|
1426
1420
|
"onUpdate:modelValue": V[2] || (V[2] = (g) => q(T) ? T.value = g : null),
|
|
1427
1421
|
label: e(o)("booking.reservation.arrivalTime"),
|
|
1428
1422
|
icon: "hourglass-start",
|
|
1429
|
-
"min-time": e(
|
|
1430
|
-
"max-time": e(
|
|
1423
|
+
"min-time": e(nt),
|
|
1424
|
+
"max-time": e(It),
|
|
1431
1425
|
required: ""
|
|
1432
1426
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1433
1427
|
])),
|
|
1434
|
-
e(
|
|
1435
|
-
y(
|
|
1428
|
+
e(Oe) ? _("", !0) : (u(), h("li", dn, [
|
|
1429
|
+
y(ft, {
|
|
1436
1430
|
modelValue: e(C),
|
|
1437
1431
|
"onUpdate:modelValue": V[3] || (V[3] = (g) => q(C) ? C.value = g : null),
|
|
1438
1432
|
label: e(o)("booking.reservation.departureTime"),
|
|
1439
1433
|
icon: "hourglass-end",
|
|
1440
|
-
"min-time": e(
|
|
1441
|
-
"max-time": e(
|
|
1434
|
+
"min-time": e(Et),
|
|
1435
|
+
"max-time": e(Bt),
|
|
1442
1436
|
required: ""
|
|
1443
1437
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1444
1438
|
]))
|
|
@@ -1564,11 +1558,11 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1564
1558
|
disabled: !e(d),
|
|
1565
1559
|
"is-loading": e(r),
|
|
1566
1560
|
"full-width": "",
|
|
1567
|
-
onClickEvent: (g) => Zt(
|
|
1561
|
+
onClickEvent: (g) => Zt(x, S)
|
|
1568
1562
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1569
1563
|
a("button", {
|
|
1570
1564
|
class: "konnectio-abort-reservation link",
|
|
1571
|
-
onClick: Se((g) =>
|
|
1565
|
+
onClick: Se((g) => dt(P), ["prevent"])
|
|
1572
1566
|
}, [
|
|
1573
1567
|
a("span", null, v(e(o)("general.goAStepBack")), 1)
|
|
1574
1568
|
], 8, cn)
|
|
@@ -1600,27 +1594,27 @@ const on = /* @__PURE__ */ Cl(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1600
1594
|
_: 1
|
|
1601
1595
|
}, 8, ["styling"]));
|
|
1602
1596
|
}
|
|
1603
|
-
}),
|
|
1604
|
-
function
|
|
1597
|
+
}), ht = /* @__PURE__ */ fe(pn, [["__scopeId", "data-v-8e803f2d"]]);
|
|
1598
|
+
function et(n, l = {}, t) {
|
|
1605
1599
|
for (const o in n) {
|
|
1606
1600
|
const i = n[o], s = t ? `${t}:${o}` : o;
|
|
1607
|
-
typeof i == "object" && i !== null ?
|
|
1601
|
+
typeof i == "object" && i !== null ? et(i, l, s) : typeof i == "function" && (l[s] = i);
|
|
1608
1602
|
}
|
|
1609
1603
|
return l;
|
|
1610
1604
|
}
|
|
1611
|
-
const mn = { run: (n) => n() }, fn = () => mn,
|
|
1605
|
+
const mn = { run: (n) => n() }, fn = () => mn, Pt = typeof console.createTask < "u" ? console.createTask : fn;
|
|
1612
1606
|
function hn(n, l) {
|
|
1613
|
-
const t = l.shift(), o =
|
|
1607
|
+
const t = l.shift(), o = Pt(t);
|
|
1614
1608
|
return n.reduce(
|
|
1615
1609
|
(i, s) => i.then(() => o.run(() => s(...l))),
|
|
1616
1610
|
Promise.resolve()
|
|
1617
1611
|
);
|
|
1618
1612
|
}
|
|
1619
1613
|
function vn(n, l) {
|
|
1620
|
-
const t = l.shift(), o =
|
|
1614
|
+
const t = l.shift(), o = Pt(t);
|
|
1621
1615
|
return Promise.all(n.map((i) => o.run(() => i(...l))));
|
|
1622
1616
|
}
|
|
1623
|
-
function
|
|
1617
|
+
function Ye(n, l) {
|
|
1624
1618
|
for (const t of [...n])
|
|
1625
1619
|
t(l);
|
|
1626
1620
|
}
|
|
@@ -1675,7 +1669,7 @@ class yn {
|
|
|
1675
1669
|
this.deprecateHook(t, l[t]);
|
|
1676
1670
|
}
|
|
1677
1671
|
addHooks(l) {
|
|
1678
|
-
const t =
|
|
1672
|
+
const t = et(l), o = Object.keys(t).map(
|
|
1679
1673
|
(i) => this.hook(i, t[i])
|
|
1680
1674
|
);
|
|
1681
1675
|
return () => {
|
|
@@ -1684,7 +1678,7 @@ class yn {
|
|
|
1684
1678
|
};
|
|
1685
1679
|
}
|
|
1686
1680
|
removeHooks(l) {
|
|
1687
|
-
const t =
|
|
1681
|
+
const t = et(l);
|
|
1688
1682
|
for (const o in t)
|
|
1689
1683
|
this.removeHook(o, t[o]);
|
|
1690
1684
|
}
|
|
@@ -1700,14 +1694,14 @@ class yn {
|
|
|
1700
1694
|
}
|
|
1701
1695
|
callHookWith(l, t, ...o) {
|
|
1702
1696
|
const i = this._before || this._after ? { name: t, args: o, context: {} } : void 0;
|
|
1703
|
-
this._before &&
|
|
1697
|
+
this._before && Ye(this._before, i);
|
|
1704
1698
|
const s = l(
|
|
1705
1699
|
t in this._hooks ? [...this._hooks[t]] : [],
|
|
1706
1700
|
o
|
|
1707
1701
|
);
|
|
1708
1702
|
return s instanceof Promise ? s.finally(() => {
|
|
1709
|
-
this._after && i &&
|
|
1710
|
-
}) : (this._after && i &&
|
|
1703
|
+
this._after && i && Ye(this._after, i);
|
|
1704
|
+
}) : (this._after && i && Ye(this._after, i), s);
|
|
1711
1705
|
}
|
|
1712
1706
|
beforeEach(l) {
|
|
1713
1707
|
return this._before = this._before || [], this._before.push(l), () => {
|
|
@@ -1751,17 +1745,17 @@ const kn = ["title", "titleTemplate", "script", "style", "noscript"], Pe = [
|
|
|
1751
1745
|
"style",
|
|
1752
1746
|
"script",
|
|
1753
1747
|
"noscript"
|
|
1754
|
-
], Vn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"],
|
|
1755
|
-
function
|
|
1748
|
+
], Vn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Dt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Tn = typeof window < "u";
|
|
1749
|
+
function lt(n) {
|
|
1756
1750
|
let l = 9;
|
|
1757
1751
|
for (let t = 0; t < n.length; )
|
|
1758
1752
|
l = Math.imul(l ^ n.charCodeAt(t++), 9 ** 9);
|
|
1759
1753
|
return ((l ^ l >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
1760
1754
|
}
|
|
1761
|
-
function
|
|
1762
|
-
return n._h ||
|
|
1755
|
+
function vt(n) {
|
|
1756
|
+
return n._h || lt(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([l, t]) => `${l}:${String(t)}`).join(",")}`);
|
|
1763
1757
|
}
|
|
1764
|
-
function
|
|
1758
|
+
function St(n, l) {
|
|
1765
1759
|
const { props: t, tag: o } = n;
|
|
1766
1760
|
if (Vn.includes(o))
|
|
1767
1761
|
return o;
|
|
@@ -1778,20 +1772,20 @@ function Et(n, l) {
|
|
|
1778
1772
|
}
|
|
1779
1773
|
return !1;
|
|
1780
1774
|
}
|
|
1781
|
-
function
|
|
1775
|
+
function yt(n, l) {
|
|
1782
1776
|
return n == null ? l || null : typeof n == "function" ? n(l) : n;
|
|
1783
1777
|
}
|
|
1784
1778
|
async function wn(n, l, t) {
|
|
1785
1779
|
const o = {
|
|
1786
1780
|
tag: n,
|
|
1787
|
-
props: await
|
|
1781
|
+
props: await Ht(
|
|
1788
1782
|
// explicitly check for an object
|
|
1789
1783
|
// @ts-expect-error untyped
|
|
1790
1784
|
typeof l == "object" && typeof l != "function" && !(l instanceof Promise) ? { ...l } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: l },
|
|
1791
1785
|
["templateParams", "titleTemplate"].includes(n)
|
|
1792
1786
|
)
|
|
1793
1787
|
};
|
|
1794
|
-
return
|
|
1788
|
+
return Dt.forEach((i) => {
|
|
1795
1789
|
const s = typeof o.props[i] < "u" ? o.props[i] : t[i];
|
|
1796
1790
|
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || kn.includes(o.tag)) && (o[i === "children" ? "innerHTML" : i] = s), delete o.props[i]);
|
|
1797
1791
|
}), o.props.body && (o.tagPosition = "bodyClose", delete o.props.body), o.tag === "script" && typeof o.innerHTML == "object" && (o.innerHTML = JSON.stringify(o.innerHTML), o.props.type = o.props.type || "application/json"), Array.isArray(o.props.content) ? o.props.content.map((i) => ({ ...o, props: { ...o.props, content: i } })) : o;
|
|
@@ -1800,13 +1794,13 @@ function $n(n, l) {
|
|
|
1800
1794
|
const t = n === "class" ? " " : ";";
|
|
1801
1795
|
return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, o]) => o).map(([o, i]) => n === "style" ? `${o}:${i}` : o)), String(Array.isArray(l) ? l.join(t) : l)?.split(t).filter((o) => o.trim()).filter(Boolean).join(t);
|
|
1802
1796
|
}
|
|
1803
|
-
async function
|
|
1797
|
+
async function Ht(n, l) {
|
|
1804
1798
|
for (const t of Object.keys(n)) {
|
|
1805
1799
|
if (["class", "style"].includes(t)) {
|
|
1806
1800
|
n[t] = $n(t, n[t]);
|
|
1807
1801
|
continue;
|
|
1808
1802
|
}
|
|
1809
|
-
if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !
|
|
1803
|
+
if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !Dt.includes(t)) {
|
|
1810
1804
|
const o = String(n[t]), i = t.startsWith("data-");
|
|
1811
1805
|
o === "true" || o === "" ? n[t] = i ? "true" : !0 : n[t] || (i && o === "false" ? n[t] = "false" : delete n[t]);
|
|
1812
1806
|
}
|
|
@@ -1821,11 +1815,11 @@ async function An(n) {
|
|
|
1821
1815
|
l.push(...i.map((s) => wn(t, s, n)).flat());
|
|
1822
1816
|
}), (await Promise.all(l)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << Cn) + o, t));
|
|
1823
1817
|
}
|
|
1824
|
-
const
|
|
1818
|
+
const gt = {
|
|
1825
1819
|
// tags
|
|
1826
1820
|
base: -10,
|
|
1827
1821
|
title: 10
|
|
1828
|
-
},
|
|
1822
|
+
}, bt = {
|
|
1829
1823
|
// relative scores to their default values
|
|
1830
1824
|
critical: -80,
|
|
1831
1825
|
high: -10,
|
|
@@ -1834,9 +1828,9 @@ const _t = {
|
|
|
1834
1828
|
function Be(n) {
|
|
1835
1829
|
let l = 100;
|
|
1836
1830
|
const t = n.tagPriority;
|
|
1837
|
-
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
|
|
1831
|
+
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 gt && (l = gt[n.tag]), typeof t == "string" && t in bt ? l + bt[t] : l);
|
|
1838
1832
|
}
|
|
1839
|
-
const Pn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }],
|
|
1833
|
+
const Pn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], kt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], de = "%separator";
|
|
1840
1834
|
function De(n, l, t) {
|
|
1841
1835
|
if (typeof n != "string" || !n.includes("%"))
|
|
1842
1836
|
return n;
|
|
@@ -1863,7 +1857,7 @@ async function Dn(n, l = {}) {
|
|
|
1863
1857
|
return;
|
|
1864
1858
|
const i = (await n.resolveTags()).map((d) => ({
|
|
1865
1859
|
tag: d,
|
|
1866
|
-
id: Pe.includes(d.tag) ?
|
|
1860
|
+
id: Pe.includes(d.tag) ? vt(d) : d.tag,
|
|
1867
1861
|
shouldRender: !0
|
|
1868
1862
|
}));
|
|
1869
1863
|
let s = n._dom;
|
|
@@ -1876,15 +1870,15 @@ async function Dn(n, l = {}) {
|
|
|
1876
1870
|
for (const C of [...f].filter((w) => Pe.includes(w.tagName.toLowerCase()))) {
|
|
1877
1871
|
const w = {
|
|
1878
1872
|
tag: C.tagName.toLowerCase(),
|
|
1879
|
-
props: await
|
|
1873
|
+
props: await Ht(
|
|
1880
1874
|
C.getAttributeNames().reduce((B, R) => ({ ...B, [R]: C.getAttribute(R) }), {})
|
|
1881
1875
|
),
|
|
1882
1876
|
innerHTML: C.innerHTML
|
|
1883
1877
|
};
|
|
1884
|
-
let I = 1, N =
|
|
1878
|
+
let I = 1, N = St(w);
|
|
1885
1879
|
for (; N && T.find((B) => B._d === N); )
|
|
1886
1880
|
N = `${N}:${I++}`;
|
|
1887
|
-
w._d = N || void 0, T.push(w), s.elMap[C.getAttribute("data-hid") ||
|
|
1881
|
+
w._d = N || void 0, T.push(w), s.elMap[C.getAttribute("data-hid") || vt(w)] = C;
|
|
1888
1882
|
}
|
|
1889
1883
|
}
|
|
1890
1884
|
}
|
|
@@ -1967,7 +1961,7 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
|
|
|
1967
1961
|
["hid", "vmid", "key"].forEach((o) => {
|
|
1968
1962
|
n.props[o] && (n.key = n.props[o], delete n.props[o]);
|
|
1969
1963
|
});
|
|
1970
|
-
const t =
|
|
1964
|
+
const t = St(n) || (n.key ? `${n.tag}:${n.key}` : !1);
|
|
1971
1965
|
t && (n._d = t);
|
|
1972
1966
|
},
|
|
1973
1967
|
"tags:resolve": function(n) {
|
|
@@ -2024,11 +2018,11 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
|
|
|
2024
2018
|
"tags:resolve": function(l) {
|
|
2025
2019
|
for (const t of l.tags.filter((o) => Nn.includes(o.tag)))
|
|
2026
2020
|
Object.entries(t.props).forEach(([o, i]) => {
|
|
2027
|
-
o.startsWith("on") && typeof i == "function" && (n.ssr &&
|
|
2028
|
-
}), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key ||
|
|
2021
|
+
o.startsWith("on") && typeof i == "function" && (n.ssr && kt.includes(o) ? t.props[o] = `this.dataset.${o}fired = true` : delete t.props[o], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[o] = i);
|
|
2022
|
+
}), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || lt(t.props.src || t.props.href));
|
|
2029
2023
|
},
|
|
2030
2024
|
"dom:renderTag": function({ $el: l, tag: t }) {
|
|
2031
|
-
for (const o of Object.keys(l?.dataset || {}).filter((i) =>
|
|
2025
|
+
for (const o of Object.keys(l?.dataset || {}).filter((i) => kt.some((s) => `${s}fired` === i))) {
|
|
2032
2026
|
const i = o.replace("fired", "");
|
|
2033
2027
|
t._eventHandlers?.[i]?.call(l, new Event(i.replace("on", "")));
|
|
2034
2028
|
}
|
|
@@ -2037,7 +2031,7 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
|
|
|
2037
2031
|
}), Rn = ["link", "style", "script", "noscript"], Ln = {
|
|
2038
2032
|
hooks: {
|
|
2039
2033
|
"tag:normalise": ({ tag: n }) => {
|
|
2040
|
-
n.key && Rn.includes(n.tag) && (n.props["data-hid"] = n._h =
|
|
2034
|
+
n.key && Rn.includes(n.tag) && (n.props["data-hid"] = n._h = lt(n.key));
|
|
2041
2035
|
}
|
|
2042
2036
|
}
|
|
2043
2037
|
}, Un = {
|
|
@@ -2079,13 +2073,13 @@ const In = ["templateParams", "htmlAttrs", "bodyAttrs"], En = {
|
|
|
2079
2073
|
let t = l.findIndex((i) => i.tag === "titleTemplate");
|
|
2080
2074
|
const o = l.findIndex((i) => i.tag === "title");
|
|
2081
2075
|
if (o !== -1 && t !== -1) {
|
|
2082
|
-
const i =
|
|
2076
|
+
const i = yt(
|
|
2083
2077
|
l[t].textContent,
|
|
2084
2078
|
l[o].textContent
|
|
2085
2079
|
);
|
|
2086
2080
|
i !== null ? l[o].textContent = i || l[o].textContent : delete l[o];
|
|
2087
2081
|
} else if (t !== -1) {
|
|
2088
|
-
const i =
|
|
2082
|
+
const i = yt(
|
|
2089
2083
|
l[t].textContent
|
|
2090
2084
|
);
|
|
2091
2085
|
i !== null && (l[t].textContent = i, l[t].tag = "title", t = -1);
|
|
@@ -2106,7 +2100,7 @@ function Gn(n = {}) {
|
|
|
2106
2100
|
const l = Wn(n);
|
|
2107
2101
|
return l.use(/* @__PURE__ */ Hn()), l;
|
|
2108
2102
|
}
|
|
2109
|
-
function
|
|
2103
|
+
function _t(n, l) {
|
|
2110
2104
|
return !n || n === "server" && l || n === "client" && !l;
|
|
2111
2105
|
}
|
|
2112
2106
|
function Wn(n = {}) {
|
|
@@ -2126,7 +2120,7 @@ function Wn(n = {}) {
|
|
|
2126
2120
|
},
|
|
2127
2121
|
use(c) {
|
|
2128
2122
|
const r = typeof c == "function" ? c(p) : c;
|
|
2129
|
-
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r),
|
|
2123
|
+
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), _t(r.mode, t) && l.addHooks(r.hooks || {}));
|
|
2130
2124
|
},
|
|
2131
2125
|
push(c, r) {
|
|
2132
2126
|
delete r?.head;
|
|
@@ -2135,7 +2129,7 @@ function Wn(n = {}) {
|
|
|
2135
2129
|
input: c,
|
|
2136
2130
|
...r
|
|
2137
2131
|
};
|
|
2138
|
-
return
|
|
2132
|
+
return _t(d.mode, t) && (s.push(d), o()), {
|
|
2139
2133
|
dispose() {
|
|
2140
2134
|
s = s.filter((f) => f._i !== d._i), l.callHook("entries:updated", p), o();
|
|
2141
2135
|
},
|
|
@@ -2176,19 +2170,19 @@ const xn = ro.startsWith("3");
|
|
|
2176
2170
|
function Kn(n) {
|
|
2177
2171
|
return typeof n == "function" ? n() : e(n);
|
|
2178
2172
|
}
|
|
2179
|
-
function
|
|
2173
|
+
function tt(n, l = "") {
|
|
2180
2174
|
if (n instanceof Promise)
|
|
2181
2175
|
return n;
|
|
2182
2176
|
const t = Kn(n);
|
|
2183
|
-
return !n || !t ? t : Array.isArray(t) ? t.map((o) =>
|
|
2184
|
-
Object.entries(t).map(([o, i]) => o === "titleTemplate" || o.startsWith("on") ? [o, e(i)] : [o,
|
|
2177
|
+
return !n || !t ? t : Array.isArray(t) ? t.map((o) => tt(o, l)) : typeof t == "object" ? Object.fromEntries(
|
|
2178
|
+
Object.entries(t).map(([o, i]) => o === "titleTemplate" || o.startsWith("on") ? [o, e(i)] : [o, tt(i, o)])
|
|
2185
2179
|
) : t;
|
|
2186
2180
|
}
|
|
2187
2181
|
const Jn = {
|
|
2188
2182
|
hooks: {
|
|
2189
2183
|
"entries:resolve": function(n) {
|
|
2190
2184
|
for (const l of n.entries)
|
|
2191
|
-
l.resolvedInput =
|
|
2185
|
+
l.resolvedInput = tt(l.input);
|
|
2192
2186
|
}
|
|
2193
2187
|
}
|
|
2194
2188
|
}, zn = "usehead";
|
|
@@ -2214,8 +2208,8 @@ class ta extends HTMLElement {
|
|
|
2214
2208
|
this.vueApp.unmount();
|
|
2215
2209
|
}
|
|
2216
2210
|
connectedCallback() {
|
|
2217
|
-
const l = mo(
|
|
2218
|
-
this.vueApp = uo(
|
|
2211
|
+
const l = mo(ht, this.attributes);
|
|
2212
|
+
this.vueApp = uo(ht, l), vo(this.vueApp), this.vueApp.provide("emitter", ea), this.vueApp.use(Zn), this.vueApp.use(Xn), this.vueApp.use(Io), this.vueApp.use(fo), this.vueApp.use(yo), this.vueApp.use(To, { bootstrap: !0 });
|
|
2219
2213
|
const t = document.createElement("div");
|
|
2220
2214
|
this.vueApp.mount(t), this.appendChild(t.children[0]);
|
|
2221
2215
|
}
|