@konnectio/core 4.0.79 → 4.0.80
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-BxsfN3m3.js → ActionField-CvQ0YUxr.js} +3 -3
- package/dist/ActionField-CvQ0YUxr.js.br +0 -0
- package/dist/{AvailabilitySkeleton-zKa2gP2l.js → AvailabilitySkeleton-BE4L1nd9.js} +8 -8
- package/dist/AvailabilitySkeleton-BE4L1nd9.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-8Jsgq-zd.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.js} +443 -447
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.js.br +0 -0
- package/dist/{CheckoutWindow-Cxqsa0Y7.js → CheckoutWindow-DuKRLFkx.js} +4 -4
- package/dist/CheckoutWindow-DuKRLFkx.js.br +0 -0
- package/dist/{ErrorMessage-BkEVeYjJ.js → ErrorMessage-DdHNHm5r.js} +3 -3
- package/dist/ErrorMessage-DdHNHm5r.js.br +0 -0
- package/dist/{EventAvailabilityForm-C0bAjzem.js → EventAvailabilityForm-SfWnl0dH.js} +22 -22
- package/dist/EventAvailabilityForm-SfWnl0dH.js.br +0 -0
- package/dist/{Field-DRNnN5iQ.js → Field-7wRhrgF1.js} +3 -3
- package/dist/Field-7wRhrgF1.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-bDUzTFlG.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js} +3512 -3525
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js.br +0 -0
- package/dist/{TermsOfService-B9J_dCWC.js → TermsOfService-CGd1v8bv.js} +5 -5
- package/dist/TermsOfService-CGd1v8bv.js.br +0 -0
- package/dist/{_-CwfDey89.js → _-BdhU6Q-9.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-CznuOQGN.js → _.vue_vue_type_style_index_0_lang-fhGwRVNV.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-fhGwRVNV.js.br +0 -0
- package/dist/{_commonjsHelpers-BRsHMJes.js → _commonjsHelpers-B783nPtq.js} +2 -2
- package/dist/_commonjsHelpers-B783nPtq.js.br +0 -0
- package/dist/{_sentry-release-injection-file-BE1hINUq.js → _sentry-release-injection-file-DuTrFXi9.js} +654 -654
- package/dist/_sentry-release-injection-file-DuTrFXi9.js.br +0 -0
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +210 -210
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +10 -10
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +11 -11
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-BkTcitpm.js → giftCard-Cym4np9i.js} +4 -4
- package/dist/giftCard-Cym4np9i.js.br +0 -0
- package/dist/hotel.js +225 -224
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-hjq7KkQz.js → masonry.plugin-Dq7Bgo5Z.js} +41 -45
- package/dist/masonry.plugin-Dq7Bgo5Z.js.br +0 -0
- package/dist/{mitt-B6gLpXoo.js → mitt-D8TbGxgr.js} +440 -440
- package/dist/mitt-D8TbGxgr.js.br +0 -0
- package/dist/polyfill.js +102 -103
- package/dist/polyfill.js.br +0 -0
- package/dist/{sentry-D0iIPSOj.js → sentry-w--IXIuo.js} +3 -3
- package/dist/{style-Bn_aipu4.js → style-D8yY0ZfC.js} +2 -2
- package/dist/style-D8yY0ZfC.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{tracing-BVguX61l.js → tracing-nJlxVqd0.js} +39 -39
- package/dist/tracing-nJlxVqd0.js.br +0 -0
- package/package.json +5 -5
- package/dist/ActionField-BxsfN3m3.js.br +0 -0
- package/dist/AvailabilitySkeleton-zKa2gP2l.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-8Jsgq-zd.js.br +0 -0
- package/dist/CheckoutWindow-Cxqsa0Y7.js.br +0 -0
- package/dist/ErrorMessage-BkEVeYjJ.js.br +0 -0
- package/dist/EventAvailabilityForm-C0bAjzem.js.br +0 -0
- package/dist/Field-DRNnN5iQ.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-bDUzTFlG.js.br +0 -0
- package/dist/TermsOfService-B9J_dCWC.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-CznuOQGN.js.br +0 -0
- package/dist/_commonjsHelpers-BRsHMJes.js.br +0 -0
- package/dist/_sentry-release-injection-file-BE1hINUq.js.br +0 -0
- package/dist/giftCard-BkTcitpm.js.br +0 -0
- package/dist/masonry.plugin-hjq7KkQz.js.br +0 -0
- package/dist/mitt-B6gLpXoo.js.br +0 -0
- package/dist/style-Bn_aipu4.js.br +0 -0
- package/dist/tracing-BVguX61l.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { d as ee, r as ae, C as so, a as d, b as A, q as ro, u as e, w, g as h, e as a, t as v, A as Se, B as ze, f as y, i as _, s as G, F, l as Ye, x as tt, v as j, h as Pt, p as at, j as it, c as x, o as st, z as Ee, n as Be, S as
|
|
2
|
-
import { u as ie, s as Z, T as ho, c as vo, l as yo, i as go, m as bo } from "./mitt-
|
|
3
|
-
import { d as Pe, x as ve, u as Ce, I as W, s as le, y as we, l as Qe, i as pe, g as ne, _ as fe, n as Me, z as At, b as ot, c as me, B as Dt, a as St, A as vt, T as
|
|
4
|
-
import { G as To } from "./style-
|
|
5
|
-
import { R as Co, B as Re, L as Po, S as Ao, M as Do, b as Xe, C as So, T as Ho, V as Io, a as Eo } from "./masonry.plugin-
|
|
6
|
-
import { A as Bo, H as No } from "./AvailabilitySkeleton-
|
|
7
|
-
import { S as Mo } from "./TermsOfService-
|
|
8
|
-
import { C as Te, B as Ro, P as Lo, a as Uo } from "./CheckoutWindow-
|
|
9
|
-
import { _ as Ht } from "./AvailabilitySkeleton.
|
|
1
|
+
import { d as ee, r as ae, C as so, a as d, b as A, q as ro, u as e, w, g as h, e as a, t as v, A as Se, B as ze, f as y, i as _, s as G, F, l as Ye, x as tt, v as j, h as Pt, p as at, j as it, c as x, o as st, z as Ee, n as Be, S as co, D as uo, E as po, G as mo, k as fo } from "./_sentry-release-injection-file-DuTrFXi9.js";
|
|
2
|
+
import { u as ie, s as Z, T as ho, c as vo, l as yo, i as go, m as bo } from "./mitt-D8TbGxgr.js";
|
|
3
|
+
import { d as Pe, x as ve, u as Ce, I as W, s as le, y as we, l as Qe, i as pe, g as ne, _ as fe, n as Me, z as At, b as ot, c as me, B as Dt, a as St, A as vt, T as ue, p as ko, D as _o, C as Vo, h as yt, j as $o, k as gt, m as wo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js";
|
|
4
|
+
import { G as To } from "./style-D8yY0ZfC.js";
|
|
5
|
+
import { R as Co, B as Re, L as Po, S as Ao, M as Do, b as Xe, C as So, T as Ho, V as Io, a as Eo } from "./masonry.plugin-Dq7Bgo5Z.js";
|
|
6
|
+
import { A as Bo, H as No } from "./AvailabilitySkeleton-BE4L1nd9.js";
|
|
7
|
+
import { S as Mo } from "./TermsOfService-CGd1v8bv.js";
|
|
8
|
+
import { C as Te, B as Ro, P as Lo, a as Uo } from "./CheckoutWindow-DuKRLFkx.js";
|
|
9
|
+
import { _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.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] = "8e24ef70-0c91-4fa2-b80d-e25c7f36e184", n._sentryDebugIdIdentifier = "sentry-dbid-8e24ef70-0c91-4fa2-b80d-e25c7f36e184");
|
|
14
14
|
} catch {
|
|
15
15
|
}
|
|
16
16
|
})();
|
|
@@ -39,12 +39,12 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
39
39
|
disableArrivalUserSelection: o,
|
|
40
40
|
disableDepartureUserSelection: i,
|
|
41
41
|
arrivalDefault: s,
|
|
42
|
-
departureDefault:
|
|
43
|
-
disableNewsletterSignup:
|
|
44
|
-
currency:
|
|
42
|
+
departureDefault: m,
|
|
43
|
+
disableNewsletterSignup: p,
|
|
44
|
+
currency: c
|
|
45
45
|
} = Z(Pe()), {
|
|
46
46
|
arrivalTime: r,
|
|
47
|
-
departureTime:
|
|
47
|
+
departureTime: u,
|
|
48
48
|
roomDisplay: f,
|
|
49
49
|
templateID: $,
|
|
50
50
|
totalPrice: T,
|
|
@@ -119,13 +119,13 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
119
119
|
])
|
|
120
120
|
]),
|
|
121
121
|
a("b", null, [
|
|
122
|
-
a("span", null, v(e(ne)(re.totalPrice, e(
|
|
122
|
+
a("span", null, v(e(ne)(re.totalPrice, e(c))), 1),
|
|
123
123
|
_("", !0)
|
|
124
124
|
])
|
|
125
125
|
]),
|
|
126
126
|
ke(re.roomAddons) > 0 ? (d(), h("li", Wo, [
|
|
127
127
|
a("span", null, v(e(l)("general.addons")), 1),
|
|
128
|
-
a("b", null, v(e(ne)(ke(re.roomAddons), e(
|
|
128
|
+
a("b", null, v(e(ne)(ke(re.roomAddons), e(c))), 1)
|
|
129
129
|
])) : _("", !0)
|
|
130
130
|
]))), 128))
|
|
131
131
|
]))), 128))
|
|
@@ -141,12 +141,12 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
141
141
|
a("span", null, v(e(pe)(e(I).title)), 1)
|
|
142
142
|
]),
|
|
143
143
|
a("b", null, [
|
|
144
|
-
a("span", null, v(e(ne)(e(I).extraPrice, e(
|
|
144
|
+
a("span", null, v(e(ne)(e(I).extraPrice, e(c))), 1)
|
|
145
145
|
])
|
|
146
146
|
]),
|
|
147
147
|
e(q) ? (d(), h("li", Ko, [
|
|
148
148
|
a("span", null, v(e(l)("general.addons")), 1),
|
|
149
|
-
a("b", null, v(e(ne)(e(q), e(
|
|
149
|
+
a("b", null, v(e(ne)(e(q), e(c))), 1)
|
|
150
150
|
])) : _("", !0)
|
|
151
151
|
])
|
|
152
152
|
])
|
|
@@ -154,7 +154,7 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
154
154
|
]),
|
|
155
155
|
actions: w(() => [
|
|
156
156
|
a("ul", Jo, [
|
|
157
|
-
e(
|
|
157
|
+
e(p) ? _("", !0) : (d(), h("div", zo, [
|
|
158
158
|
y(Te, {
|
|
159
159
|
modelValue: e(R),
|
|
160
160
|
"onUpdate:modelValue": K[0] || (K[0] = (O) => j(R) ? R.value = O : null),
|
|
@@ -257,7 +257,7 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
257
257
|
a("li", null, [
|
|
258
258
|
a("span", null, v(e(l)("booking.reservation.departure")), 1),
|
|
259
259
|
a("b", null, [
|
|
260
|
-
a("span", null, v(e(t) ? e(le)(e(k)) : `${e(le)(e(k))}, ${e(i) ? e(
|
|
260
|
+
a("span", null, v(e(t) ? e(le)(e(k)) : `${e(le)(e(k))}, ${e(i) ? e(m) : e(u)}`), 1),
|
|
261
261
|
Se(a("span", Go, [
|
|
262
262
|
y(W, {
|
|
263
263
|
icon: "exclamation-triangle",
|
|
@@ -284,7 +284,7 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
284
284
|
]), 1032, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
|
-
}), Ze = /* @__PURE__ */ fe(Xo, [["__scopeId", "data-v-3b5fb922"]]), Zo = (n) => (at("data-v-
|
|
287
|
+
}), Ze = /* @__PURE__ */ fe(Xo, [["__scopeId", "data-v-3b5fb922"]]), Zo = (n) => (at("data-v-b2c8ccaa"), n = n(), it(), n), el = { class: "konnectio-room-config-option" }, tl = { key: 0 }, ol = { class: "konnectio-selected-room-config" }, ll = { class: "konnectio-selected-room-config-people" }, nl = { key: 0 }, al = { class: "konnectio-selected-room-config-price" }, il = /* @__PURE__ */ Zo(() => /* @__PURE__ */ a("span", null, null, -1)), sl = /* @__PURE__ */ ee({
|
|
288
288
|
__name: "RoomConfigField",
|
|
289
289
|
props: {
|
|
290
290
|
modelValue: {},
|
|
@@ -296,27 +296,28 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
296
296
|
emits: ["update:modelValue"],
|
|
297
297
|
setup(n, { emit: l }) {
|
|
298
298
|
const { t } = ie(), { currency: o } = Z(Pe()), i = l, s = n;
|
|
299
|
-
function
|
|
300
|
-
i("update:modelValue",
|
|
299
|
+
function m(c) {
|
|
300
|
+
i("update:modelValue", c);
|
|
301
301
|
}
|
|
302
|
-
const
|
|
302
|
+
const p = x({
|
|
303
303
|
get: () => s.modelValue,
|
|
304
|
-
set: (
|
|
304
|
+
set: (c) => m(c)
|
|
305
305
|
});
|
|
306
|
-
return (
|
|
307
|
-
modelValue:
|
|
308
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
309
|
-
label:
|
|
306
|
+
return (c, r) => (d(), A(Me, {
|
|
307
|
+
modelValue: p.value,
|
|
308
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => p.value = u),
|
|
309
|
+
label: c.label,
|
|
310
310
|
placeholder: "Select guest configuration",
|
|
311
311
|
labelKey: "label",
|
|
312
312
|
valueKey: "value",
|
|
313
313
|
"icon-placement": "label",
|
|
314
|
-
options:
|
|
315
|
-
readonly:
|
|
316
|
-
required:
|
|
317
|
-
searchable: !1
|
|
314
|
+
options: c.options,
|
|
315
|
+
readonly: c.readonly,
|
|
316
|
+
required: c.required,
|
|
317
|
+
searchable: !1,
|
|
318
|
+
"multi-line": !0
|
|
318
319
|
}, {
|
|
319
|
-
option: w(({ data:
|
|
320
|
+
option: w(({ data: u }) => [
|
|
320
321
|
a("span", el, [
|
|
321
322
|
a("div", null, [
|
|
322
323
|
y(W, {
|
|
@@ -324,41 +325,41 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
324
325
|
type: "fas",
|
|
325
326
|
color: "font"
|
|
326
327
|
}),
|
|
327
|
-
a("span", null, v(`${
|
|
328
|
-
|
|
328
|
+
a("span", null, v(`${u.adults}`), 1),
|
|
329
|
+
u.children > 0 ? (d(), h("span", tl, [
|
|
329
330
|
y(W, {
|
|
330
331
|
icon: "child",
|
|
331
332
|
type: "fas",
|
|
332
333
|
color: "font"
|
|
333
334
|
}),
|
|
334
|
-
a("span", null, v(`${
|
|
335
|
+
a("span", null, v(`${u.children}`), 1)
|
|
335
336
|
])) : _("", !0)
|
|
336
337
|
]),
|
|
337
|
-
a("span", null, v(`(${e(ne)(
|
|
338
|
+
a("span", null, v(`(${e(ne)(u.price, e(o))})`), 1)
|
|
338
339
|
])
|
|
339
340
|
]),
|
|
340
|
-
"selected-option": w(({ data:
|
|
341
|
+
"selected-option": w(({ data: u }) => [
|
|
341
342
|
a("div", ol, [
|
|
342
343
|
a("div", ll, [
|
|
343
344
|
a("div", null, [
|
|
344
345
|
_("", !0),
|
|
345
|
-
a("span", null, v(`${
|
|
346
|
+
a("span", null, v(`${u.adults} ${u.adults === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1)
|
|
346
347
|
]),
|
|
347
|
-
|
|
348
|
+
u.children > 0 ? (d(), h("div", nl, [
|
|
348
349
|
_("", !0),
|
|
349
|
-
a("span", null, v(`& ${
|
|
350
|
+
a("span", null, v(`& ${u.children} ${u.children === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1)
|
|
350
351
|
])) : _("", !0)
|
|
351
352
|
]),
|
|
352
353
|
a("div", al, [
|
|
353
354
|
il,
|
|
354
|
-
tt(" " + v(`(${e(ne)(
|
|
355
|
+
tt(" " + v(`(${e(ne)(u.price, e(o))})`), 1)
|
|
355
356
|
])
|
|
356
357
|
])
|
|
357
358
|
]),
|
|
358
359
|
_: 1
|
|
359
360
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
360
361
|
}
|
|
361
|
-
}), rl = /* @__PURE__ */ fe(sl, [["__scopeId", "data-v-
|
|
362
|
+
}), rl = /* @__PURE__ */ fe(sl, [["__scopeId", "data-v-b2c8ccaa"]]), dl = { class: "konnectio-availability-listing-selection" }, cl = { key: 1 }, ul = { class: "konnectio-listing-config-body" }, pl = { class: "konnectio-listing-units-body" };
|
|
362
363
|
const ml = /* @__PURE__ */ ee({
|
|
363
364
|
__name: "Hotel",
|
|
364
365
|
props: {
|
|
@@ -377,7 +378,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
377
378
|
const s = x(() => t.room.rates.map((k) => ({
|
|
378
379
|
label: k.name,
|
|
379
380
|
value: k.id
|
|
380
|
-
}))), { hideAvailableRoomAmount:
|
|
381
|
+
}))), { hideAvailableRoomAmount: m, autoSelectRateId: p } = Z(Pe()), { roomSelect: c } = Z(ve()), { addToCart: r, removeFromCart: u } = At(), f = (k, D) => t.room.rates.find((B) => B.id === k)?.occupantRates.find((B) => B.index === D), $ = x(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), T = (k, D) => f(k, D) ? f(k, D)?.rooms : null, C = (k) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === k)?.occupantRates.map((D) => ({
|
|
381
382
|
value: D.index,
|
|
382
383
|
price: D.totalPrice,
|
|
383
384
|
adults: D.adultsCount,
|
|
@@ -388,7 +389,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
388
389
|
o.value[k].config[0].id = t.room.rates.find((B) => B.id === D.value)?.occupantRateIndex || NaN;
|
|
389
390
|
}
|
|
390
391
|
function N() {
|
|
391
|
-
I.value ?
|
|
392
|
+
I.value ? p.value ? o.value.push({
|
|
392
393
|
id: t.room.bestRateMatch || void 0,
|
|
393
394
|
config: [{
|
|
394
395
|
id: t.room.bestRateMatch && !isNaN(t.room.bestRateMatch) ? t.room.rates.find((k) => k.id === t.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
@@ -423,7 +424,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
423
424
|
id: t.room.id,
|
|
424
425
|
name: t.room.title,
|
|
425
426
|
value: t.room.rates[z].rackRate
|
|
426
|
-
})) : (o.value[z].config[Y].addons.pop(),
|
|
427
|
+
})) : (o.value[z].config[Y].addons.pop(), u({
|
|
427
428
|
id: t.room.id,
|
|
428
429
|
name: t.room.title,
|
|
429
430
|
value: t.room.rates[z].rackRate
|
|
@@ -431,7 +432,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
431
432
|
});
|
|
432
433
|
});
|
|
433
434
|
}, { deep: !0 }), Ee(o, () => {
|
|
434
|
-
|
|
435
|
+
c.value[t.room.id] = o.value;
|
|
435
436
|
}, { deep: !0 }), (k, D) => (d(), A(Re, {
|
|
436
437
|
type: "hotel",
|
|
437
438
|
"listing-id": k.room.id,
|
|
@@ -459,7 +460,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
459
460
|
searchable: !1,
|
|
460
461
|
onChanged: (R) => M(z, R)
|
|
461
462
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) : _("", !0),
|
|
462
|
-
B.id ? (d(), h("div",
|
|
463
|
+
B.id ? (d(), h("div", cl, [
|
|
463
464
|
(d(!0), h(F, null, G(k.room.rates, ({
|
|
464
465
|
id: R,
|
|
465
466
|
maximumOccupants: Y
|
|
@@ -471,7 +472,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
471
472
|
key: se,
|
|
472
473
|
class: "konnectio-listing-action-selective"
|
|
473
474
|
}, [
|
|
474
|
-
a("ul",
|
|
475
|
+
a("ul", ul, [
|
|
475
476
|
y(rl, {
|
|
476
477
|
modelValue: L.id,
|
|
477
478
|
"onUpdate:modelValue": (te) => L.id = te,
|
|
@@ -487,7 +488,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
487
488
|
y(ot, {
|
|
488
489
|
modelValue: L.units,
|
|
489
490
|
"onUpdate:modelValue": (te) => L.units = te,
|
|
490
|
-
description: e(
|
|
491
|
+
description: e(m) ? void 0 : `${e(l)("booking.availability.availableUnits")}: ${T(B.id, L.id)}`,
|
|
491
492
|
icon: "house",
|
|
492
493
|
"icon-type": "fas",
|
|
493
494
|
"icon-placement": "label",
|
|
@@ -516,14 +517,14 @@ const ml = /* @__PURE__ */ ee({
|
|
|
516
517
|
callback: { type: Function }
|
|
517
518
|
},
|
|
518
519
|
setup(n) {
|
|
519
|
-
const { t: l } = ie(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = Z(ve()), { currency: s } = Z(Pe()), { clearRoomSelection:
|
|
520
|
+
const { t: l } = ie(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = Z(ve()), { currency: s } = Z(Pe()), { clearRoomSelection: m } = ve(), p = n, c = ae(!0), r = x(() => {
|
|
520
521
|
function f($, T) {
|
|
521
|
-
return
|
|
522
|
+
return c.value === !0 ? $.extraPrice > T.extraPrice ? -1 : 1 : $.extraPrice > T.extraPrice ? 1 : -1;
|
|
522
523
|
}
|
|
523
|
-
return
|
|
524
|
+
return p.roomGroups?.slice().sort(f);
|
|
524
525
|
});
|
|
525
|
-
function
|
|
526
|
-
t.value =
|
|
526
|
+
function u(f) {
|
|
527
|
+
t.value = p.templateId, o.value = f, m(), p.hideAddons === !0 || i.value ? p.callback(2) : p.callback(1);
|
|
527
528
|
}
|
|
528
529
|
return (f, $) => (d(), A(Ro, {
|
|
529
530
|
title: f.title,
|
|
@@ -552,7 +553,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
552
553
|
action: w(() => [
|
|
553
554
|
a("div", null, [
|
|
554
555
|
y(me, {
|
|
555
|
-
onClickEvent: (k) =>
|
|
556
|
+
onClickEvent: (k) => u(T),
|
|
556
557
|
label: `${e(l)("booking.availability.selectThisRoom")} (${e(ne)(E, e(s))})`,
|
|
557
558
|
"full-width": ""
|
|
558
559
|
}, null, 8, ["onClickEvent", "label"])
|
|
@@ -580,7 +581,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
580
581
|
},
|
|
581
582
|
setup(n) {
|
|
582
583
|
const { t: l } = ie(), t = n, o = x(() => t.roomGroups.reduce(
|
|
583
|
-
(
|
|
584
|
+
(c, r) => c < r.extraPrice ? c : r.extraPrice,
|
|
584
585
|
1 / 0
|
|
585
586
|
)), i = x(() => {
|
|
586
587
|
if (t.image)
|
|
@@ -591,17 +592,17 @@ const ml = /* @__PURE__ */ ee({
|
|
|
591
592
|
url: t.image.url
|
|
592
593
|
}];
|
|
593
594
|
}), s = ae(!1);
|
|
594
|
-
function
|
|
595
|
+
function m() {
|
|
595
596
|
s.value = !0;
|
|
596
597
|
}
|
|
597
|
-
function
|
|
598
|
-
t.callback(
|
|
598
|
+
function p(c) {
|
|
599
|
+
t.callback(c), s.value = !1;
|
|
599
600
|
}
|
|
600
|
-
return (
|
|
601
|
+
return (c, r) => (d(), A(Re, {
|
|
601
602
|
type: "template",
|
|
602
|
-
"listing-id":
|
|
603
|
-
name:
|
|
604
|
-
description:
|
|
603
|
+
"listing-id": c.id,
|
|
604
|
+
name: c.name,
|
|
605
|
+
description: c.description,
|
|
605
606
|
gallery: i.value,
|
|
606
607
|
layout: e(Dt).Template,
|
|
607
608
|
"includes-breakfast": !1,
|
|
@@ -611,7 +612,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
611
612
|
action: w(() => [
|
|
612
613
|
a("div", gl, [
|
|
613
614
|
y(me, {
|
|
614
|
-
onClickEvent:
|
|
615
|
+
onClickEvent: m,
|
|
615
616
|
label: e(l)("booking.availability.selectPackage"),
|
|
616
617
|
"full-width": ""
|
|
617
618
|
}, null, 8, ["label"])
|
|
@@ -620,12 +621,12 @@ const ml = /* @__PURE__ */ ee({
|
|
|
620
621
|
default: w(() => [
|
|
621
622
|
y(It, {
|
|
622
623
|
modelValue: s.value,
|
|
623
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
624
|
-
title:
|
|
625
|
-
"template-id":
|
|
626
|
-
"room-groups":
|
|
627
|
-
"hide-addons":
|
|
628
|
-
callback:
|
|
624
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => s.value = u),
|
|
625
|
+
title: c.name,
|
|
626
|
+
"template-id": c.id,
|
|
627
|
+
"room-groups": c.roomGroups,
|
|
628
|
+
"hide-addons": c.hideAddons,
|
|
629
|
+
callback: p
|
|
629
630
|
}, null, 8, ["modelValue", "title", "template-id", "room-groups", "hide-addons"])
|
|
630
631
|
]),
|
|
631
632
|
_: 1
|
|
@@ -645,29 +646,29 @@ const ml = /* @__PURE__ */ ee({
|
|
|
645
646
|
callback: { type: Function }
|
|
646
647
|
},
|
|
647
648
|
setup(n) {
|
|
648
|
-
const { t: l } = ie(), { updateDates: t } = Ce(), { display: o } = St(), i = n, s = ae([]),
|
|
649
|
+
const { t: l } = ie(), { updateDates: t } = Ce(), { display: o } = St(), i = n, s = ae([]), m = x(() => we(i.fromDate, i.toDate) === 1), p = x(() => [{
|
|
649
650
|
large: i.image.url,
|
|
650
651
|
medium: i.image.url,
|
|
651
652
|
thumb: i.image.url,
|
|
652
653
|
url: i.image.url
|
|
653
|
-
}]),
|
|
654
|
+
}]), c = ae(!1);
|
|
654
655
|
function r(f) {
|
|
655
|
-
i.callback(f),
|
|
656
|
+
i.callback(f), c.value = !1;
|
|
656
657
|
}
|
|
657
|
-
function
|
|
658
|
+
function u() {
|
|
658
659
|
s.value.length > 0 ? t(s.value[0], s.value[1]) : o({
|
|
659
660
|
message: l("alert.error.selectDates"),
|
|
660
661
|
type: "error"
|
|
661
662
|
});
|
|
662
663
|
}
|
|
663
664
|
return st(() => {
|
|
664
|
-
|
|
665
|
+
m.value && (s.value = [new Date(i.fromDate), new Date(i.toDate)]);
|
|
665
666
|
}), (f, $) => (d(), A(Re, {
|
|
666
667
|
type: "template",
|
|
667
668
|
"listing-id": f.id,
|
|
668
669
|
name: f.name,
|
|
669
670
|
description: f.description,
|
|
670
|
-
gallery:
|
|
671
|
+
gallery: p.value,
|
|
671
672
|
layout: e(Dt).Template,
|
|
672
673
|
"includes-breakfast": !1,
|
|
673
674
|
"hide-info-button": !1,
|
|
@@ -687,21 +688,21 @@ const ml = /* @__PURE__ */ ee({
|
|
|
687
688
|
"start-date": new Date(f.fromDate),
|
|
688
689
|
"min-date": new Date(f.fromDate),
|
|
689
690
|
"max-date": new Date(f.toDate),
|
|
690
|
-
readonly:
|
|
691
|
+
readonly: m.value,
|
|
691
692
|
range: ""
|
|
692
693
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
693
694
|
a("div", _l, [
|
|
694
695
|
y(me, {
|
|
695
696
|
label: e(l)("availability.buttonLabel"),
|
|
696
|
-
onClick: Pt(
|
|
697
|
+
onClick: Pt(u, ["prevent"])
|
|
697
698
|
}, null, 8, ["label"])
|
|
698
699
|
])
|
|
699
700
|
])
|
|
700
701
|
]),
|
|
701
702
|
default: w(() => [
|
|
702
703
|
y(It, {
|
|
703
|
-
modelValue:
|
|
704
|
-
"onUpdate:modelValue": $[1] || ($[1] = (T) =>
|
|
704
|
+
modelValue: c.value,
|
|
705
|
+
"onUpdate:modelValue": $[1] || ($[1] = (T) => c.value = T),
|
|
705
706
|
title: f.name,
|
|
706
707
|
"template-id": f.id,
|
|
707
708
|
roomGroups: f.roomGroups,
|
|
@@ -730,27 +731,27 @@ const ml = /* @__PURE__ */ ee({
|
|
|
730
731
|
emits: ["update:modelValue"],
|
|
731
732
|
setup(n, { emit: l }) {
|
|
732
733
|
const t = l, o = n;
|
|
733
|
-
function i(
|
|
734
|
-
t("update:modelValue",
|
|
734
|
+
function i(m) {
|
|
735
|
+
t("update:modelValue", m);
|
|
735
736
|
}
|
|
736
737
|
const s = ae(o.modelValue);
|
|
737
|
-
return Ee(s, (
|
|
738
|
-
i(
|
|
739
|
-
}), (
|
|
738
|
+
return Ee(s, (m) => {
|
|
739
|
+
i(m);
|
|
740
|
+
}), (m, p) => (d(), A(Ht, {
|
|
740
741
|
modelValue: s.value,
|
|
741
|
-
"onUpdate:modelValue":
|
|
742
|
+
"onUpdate:modelValue": p[0] || (p[0] = (c) => s.value = c),
|
|
742
743
|
type: "time",
|
|
743
|
-
label:
|
|
744
|
-
id:
|
|
745
|
-
name:
|
|
746
|
-
icon:
|
|
747
|
-
"icon-type":
|
|
748
|
-
"icon-color":
|
|
744
|
+
label: m.label,
|
|
745
|
+
id: m.id,
|
|
746
|
+
name: m.name,
|
|
747
|
+
icon: m.icon,
|
|
748
|
+
"icon-type": m.iconType,
|
|
749
|
+
"icon-color": m.iconColor,
|
|
749
750
|
"auto-apply": !0,
|
|
750
|
-
required:
|
|
751
|
-
readonly:
|
|
752
|
-
"min-time":
|
|
753
|
-
"max-time":
|
|
751
|
+
required: m.required,
|
|
752
|
+
readonly: m.readonly,
|
|
753
|
+
"min-time": m.minTime,
|
|
754
|
+
"max-time": m.maxTime
|
|
754
755
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly", "min-time", "max-time"]));
|
|
755
756
|
}
|
|
756
757
|
}), $l = { style: { display: "flex", "align-items": "baseline" } }, wl = /* @__PURE__ */ ee({
|
|
@@ -766,22 +767,22 @@ const ml = /* @__PURE__ */ ee({
|
|
|
766
767
|
emits: ["update:modelValue"],
|
|
767
768
|
setup(n, { emit: l }) {
|
|
768
769
|
const { t } = ie(), o = l, i = n;
|
|
769
|
-
function s(
|
|
770
|
-
o("update:modelValue",
|
|
770
|
+
function s(p) {
|
|
771
|
+
o("update:modelValue", p);
|
|
771
772
|
}
|
|
772
|
-
const
|
|
773
|
+
const m = x({
|
|
773
774
|
get: () => i.modelValue,
|
|
774
|
-
set: (
|
|
775
|
+
set: (p) => s(p)
|
|
775
776
|
});
|
|
776
|
-
return (
|
|
777
|
-
modelValue:
|
|
778
|
-
"onUpdate:modelValue":
|
|
779
|
-
label:
|
|
777
|
+
return (p, c) => (d(), A(Me, {
|
|
778
|
+
modelValue: m.value,
|
|
779
|
+
"onUpdate:modelValue": c[0] || (c[0] = (r) => m.value = r),
|
|
780
|
+
label: p.label,
|
|
780
781
|
placeholder: e(t)("booking.reservation.countryPlaceholder"),
|
|
781
782
|
labelKey: "name",
|
|
782
783
|
valueKey: "id",
|
|
783
|
-
options:
|
|
784
|
-
required:
|
|
784
|
+
options: p.options,
|
|
785
|
+
required: p.required
|
|
785
786
|
}, {
|
|
786
787
|
option: w(({ data: r }) => [
|
|
787
788
|
a("i", {
|
|
@@ -822,17 +823,17 @@ const ml = /* @__PURE__ */ ee({
|
|
|
822
823
|
},
|
|
823
824
|
emits: ["update:modelValue", "update:title"],
|
|
824
825
|
setup(n, { emit: l }) {
|
|
825
|
-
const t = n, o = l, i = t.id || vt(), s = ae(""),
|
|
826
|
-
function
|
|
826
|
+
const t = n, o = l, i = t.id || vt(), s = ae(""), m = ae(2);
|
|
827
|
+
function p() {
|
|
827
828
|
o("update:modelValue", s.value);
|
|
828
829
|
}
|
|
829
|
-
Ee(
|
|
830
|
+
Ee(m, (r) => {
|
|
830
831
|
o("update:title", r);
|
|
831
832
|
});
|
|
832
|
-
const { t:
|
|
833
|
+
const { t: c } = ie();
|
|
833
834
|
return st(() => {
|
|
834
|
-
t.modelValue && (s.value = t.modelValue), t.title && (
|
|
835
|
-
}), (r,
|
|
835
|
+
t.modelValue && (s.value = t.modelValue), t.title && (m.value = t.title);
|
|
836
|
+
}), (r, u) => (d(), A(ko, {
|
|
836
837
|
label: r.label,
|
|
837
838
|
id: e(i),
|
|
838
839
|
required: r.required,
|
|
@@ -849,31 +850,31 @@ const ml = /* @__PURE__ */ ee({
|
|
|
849
850
|
}, [
|
|
850
851
|
r.excludeTitle ? _("", !0) : (d(), A(Me, {
|
|
851
852
|
key: 0,
|
|
852
|
-
modelValue:
|
|
853
|
-
"onUpdate:modelValue":
|
|
853
|
+
modelValue: m.value,
|
|
854
|
+
"onUpdate:modelValue": u[0] || (u[0] = (f) => m.value = f),
|
|
854
855
|
id: e(vt)(),
|
|
855
856
|
icon: r.icon,
|
|
856
857
|
"icon-color": r.iconColor,
|
|
857
858
|
"icon-type": r.iconType,
|
|
858
859
|
options: [
|
|
859
860
|
{
|
|
860
|
-
label: e(
|
|
861
|
+
label: e(c)("booking.reservation.noNameTitle"),
|
|
861
862
|
value: 1
|
|
862
863
|
},
|
|
863
864
|
{
|
|
864
|
-
label: e(
|
|
865
|
+
label: e(c)("booking.reservation.nameTitleMr"),
|
|
865
866
|
value: 2
|
|
866
867
|
},
|
|
867
868
|
{
|
|
868
|
-
label: e(
|
|
869
|
+
label: e(c)("booking.reservation.nameTitleMs"),
|
|
869
870
|
value: 3
|
|
870
871
|
},
|
|
871
872
|
{
|
|
872
|
-
label: e(
|
|
873
|
+
label: e(c)("booking.reservation.nameTitleMrs"),
|
|
873
874
|
value: 4
|
|
874
875
|
},
|
|
875
876
|
{
|
|
876
|
-
label: e(
|
|
877
|
+
label: e(c)("booking.reservation.nameTitleDr"),
|
|
877
878
|
value: 5
|
|
878
879
|
}
|
|
879
880
|
],
|
|
@@ -882,9 +883,9 @@ const ml = /* @__PURE__ */ ee({
|
|
|
882
883
|
"input-style": r.inputStyle,
|
|
883
884
|
searchable: !1
|
|
884
885
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
885
|
-
y(
|
|
886
|
+
y(ue, {
|
|
886
887
|
modelValue: s.value,
|
|
887
|
-
"onUpdate:modelValue":
|
|
888
|
+
"onUpdate:modelValue": u[1] || (u[1] = (f) => s.value = f),
|
|
888
889
|
type: "text",
|
|
889
890
|
name: "name",
|
|
890
891
|
autocomplete: "name",
|
|
@@ -896,7 +897,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
896
897
|
required: r.required,
|
|
897
898
|
readonly: r.readonly,
|
|
898
899
|
limit: r.limit,
|
|
899
|
-
onInput:
|
|
900
|
+
onInput: u[2] || (u[2] = (f) => p()),
|
|
900
901
|
"input-style": r.inputStyle
|
|
901
902
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
902
903
|
], 2)
|
|
@@ -955,7 +956,7 @@ const ln = { class: "konnectio-event-addons-price" }, nn = { key: 1 }, an = { cl
|
|
|
955
956
|
key: 1,
|
|
956
957
|
id: "konnectio-hotel-addons"
|
|
957
958
|
}, dn = { class: "konnectio-table with-lines" };
|
|
958
|
-
const
|
|
959
|
+
const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), un = { class: "konnectio-table-addons-information" }, pn = { class: "konnectio-table-addons-option" }, mn = { class: "konnectio-panel" }, fn = { key: 0 }, hn = { key: 1 }, vn = {
|
|
959
960
|
key: 1,
|
|
960
961
|
class: "konnectio-show-on-mobile"
|
|
961
962
|
}, yn = { class: "konnectio-split-inputs" }, gn = /* @__PURE__ */ ee({
|
|
@@ -971,14 +972,14 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
971
972
|
styling: {}
|
|
972
973
|
},
|
|
973
974
|
setup(n) {
|
|
974
|
-
const l =
|
|
975
|
+
const l = uo(() => import("./_-BdhU6Q-9.js")), t = n, { t: o } = ie(), {
|
|
975
976
|
currentLocation: i,
|
|
976
977
|
templateID: s,
|
|
977
|
-
templateAddons:
|
|
978
|
-
countries:
|
|
979
|
-
areListingsLoading:
|
|
978
|
+
templateAddons: m,
|
|
979
|
+
countries: p,
|
|
980
|
+
areListingsLoading: c,
|
|
980
981
|
isPaymentLoading: r,
|
|
981
|
-
isReservationFormFilled:
|
|
982
|
+
isReservationFormFilled: u,
|
|
982
983
|
travelingFor: f,
|
|
983
984
|
arrivalTime: $,
|
|
984
985
|
departureTime: T,
|
|
@@ -1016,7 +1017,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1016
1017
|
arrivalEarliest: je,
|
|
1017
1018
|
arrivalLatest: re,
|
|
1018
1019
|
departureEarliest: qe,
|
|
1019
|
-
departureLatest:
|
|
1020
|
+
departureLatest: ct,
|
|
1020
1021
|
enableTracking: Rt,
|
|
1021
1022
|
hideArrivalDepartureInputs: Lt,
|
|
1022
1023
|
disableArrivalUserSelection: Ge,
|
|
@@ -1026,7 +1027,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1026
1027
|
disableTravelingForBleasure: Ot,
|
|
1027
1028
|
disableCompanyField: jt,
|
|
1028
1029
|
hasPaymentGateway: qt,
|
|
1029
|
-
maxAdultAmount:
|
|
1030
|
+
maxAdultAmount: ut,
|
|
1030
1031
|
maxChildAmount: pt,
|
|
1031
1032
|
defaultAdultAmount: Gt,
|
|
1032
1033
|
defaultChildAmount: Wt,
|
|
@@ -1099,7 +1100,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1099
1100
|
removeNullishValues: !0
|
|
1100
1101
|
}), V = parseInt(b.a), J = parseInt(b.c), P = parseInt(b.hid), S = parseInt(b.n), g = b.ci, U = b.co, H = b.id;
|
|
1101
1102
|
let oe = !1;
|
|
1102
|
-
if (isNaN(V) || (V >
|
|
1103
|
+
if (isNaN(V) || (V > ut.value ? ke.value = ut.value : ke.value = V, ke.value === Gt.value && (b.a = void 0)), isNaN(J) || (J > pt.value ? Q.value = pt.value : Q.value = J, Q.value === Wt.value && (b.c = void 0)), isNaN(S) || S > 0 && (b.n = void 0), isNaN(P) || (Fe(P) ? (K.value = P, oe = !0) : xe({
|
|
1103
1104
|
message: o("alert.error.hotelIdNotFound"),
|
|
1104
1105
|
type: "error"
|
|
1105
1106
|
})), g && U)
|
|
@@ -1119,7 +1120,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1119
1120
|
}
|
|
1120
1121
|
return (b, V) => (d(), A(Vo, { styling: b.styling }, {
|
|
1121
1122
|
default: w(() => [
|
|
1122
|
-
(d(), A(
|
|
1123
|
+
(d(), A(co, { onResolve: no }, {
|
|
1123
1124
|
default: w(() => [
|
|
1124
1125
|
y(e(l), {
|
|
1125
1126
|
id: "konnectio-hotel-module",
|
|
@@ -1144,7 +1145,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1144
1145
|
}, null, 8, ["selected-location", "disable-default-location"])
|
|
1145
1146
|
]),
|
|
1146
1147
|
_("", !0),
|
|
1147
|
-
!e(
|
|
1148
|
+
!e(c) && e(ge) ? (d(), h("div", Ml, [
|
|
1148
1149
|
e(q).roomGroups.length > 0 || e(q).templates.length > 0 || e(q).specialTemplates.length > 0 ? (d(), h("div", Rl, [
|
|
1149
1150
|
e(q).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div", Ll, [
|
|
1150
1151
|
b.onlyShow !== "packages" ? (d(), h("h2", Ul, [
|
|
@@ -1265,7 +1266,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1265
1266
|
]))), 128))
|
|
1266
1267
|
])
|
|
1267
1268
|
]))
|
|
1268
|
-
])) : isNaN(e(i)) && !e(
|
|
1269
|
+
])) : isNaN(e(i)) && !e(c) ? (d(), h("div", Zl, [
|
|
1269
1270
|
a("span", null, v(e(o)("alert.info.selectHotelToStart")), 1)
|
|
1270
1271
|
])) : (d(), h("div", en, [
|
|
1271
1272
|
y(Xe),
|
|
@@ -1278,7 +1279,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1278
1279
|
e(dt) ? (d(), A(me, {
|
|
1279
1280
|
key: 0,
|
|
1280
1281
|
label: isNaN(e(i)) ? e(o)("availability.buttonLabel") : e(o)("general.searchAgain"),
|
|
1281
|
-
"is-loading": e(
|
|
1282
|
+
"is-loading": e(c),
|
|
1282
1283
|
"full-width": "",
|
|
1283
1284
|
onClickEvent: V[1] || (V[1] = (P) => e(mt)())
|
|
1284
1285
|
}, null, 8, ["label", "is-loading"])) : (d(), A(me, {
|
|
@@ -1388,7 +1389,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1388
1389
|
a("span", null, v(e(pe)(e(be).title)), 1)
|
|
1389
1390
|
]),
|
|
1390
1391
|
_("", !0),
|
|
1391
|
-
|
|
1392
|
+
cn
|
|
1392
1393
|
])
|
|
1393
1394
|
]),
|
|
1394
1395
|
a("tbody", null, [
|
|
@@ -1399,22 +1400,22 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1399
1400
|
name: H,
|
|
1400
1401
|
price: oe
|
|
1401
1402
|
}) => (d(), h("tr", { key: U }, [
|
|
1402
|
-
a("td",
|
|
1403
|
+
a("td", un, [
|
|
1403
1404
|
a("b", null, v(e(pe)(H)), 1),
|
|
1404
1405
|
a("span", null, v(e(ne)(oe, e(_e))) + " " + v(e(yt)(S)), 1)
|
|
1405
1406
|
]),
|
|
1406
1407
|
a("td", pn, [
|
|
1407
1408
|
S === 1 || S === 12 ? (d(), A(ot, {
|
|
1408
1409
|
key: 0,
|
|
1409
|
-
modelValue: e(
|
|
1410
|
-
"onUpdate:modelValue": (X) => e(
|
|
1410
|
+
modelValue: e(m)[U],
|
|
1411
|
+
"onUpdate:modelValue": (X) => e(m)[U] = X,
|
|
1411
1412
|
small: !0,
|
|
1412
1413
|
"min-value": 0,
|
|
1413
1414
|
"max-value": g || 1 / 0
|
|
1414
1415
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), A(Te, {
|
|
1415
1416
|
key: 1,
|
|
1416
|
-
modelValue: e(
|
|
1417
|
-
"onUpdate:modelValue": (X) => e(
|
|
1417
|
+
modelValue: e(m)[U],
|
|
1418
|
+
"onUpdate:modelValue": (X) => e(m)[U] = X,
|
|
1418
1419
|
numeric: !0
|
|
1419
1420
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1420
1421
|
])
|
|
@@ -1470,7 +1471,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1470
1471
|
label: e(o)("booking.reservation.departureTime"),
|
|
1471
1472
|
icon: "hourglass-end",
|
|
1472
1473
|
"min-time": e(qe),
|
|
1473
|
-
"max-time": e(
|
|
1474
|
+
"max-time": e(ct),
|
|
1474
1475
|
required: ""
|
|
1475
1476
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1476
1477
|
]))
|
|
@@ -1486,7 +1487,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1486
1487
|
placeholder: e(o)("booking.reservation.namePlaceholder"),
|
|
1487
1488
|
required: ""
|
|
1488
1489
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1489
|
-
y(
|
|
1490
|
+
y(ue, {
|
|
1490
1491
|
modelValue: e(M),
|
|
1491
1492
|
"onUpdate:modelValue": V[6] || (V[6] = (g) => j(M) ? M.value = g : null),
|
|
1492
1493
|
type: "email",
|
|
@@ -1506,7 +1507,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1506
1507
|
label: e(o)("booking.reservation.newsletterSignUp")
|
|
1507
1508
|
}, null, 8, ["modelValue", "label"])
|
|
1508
1509
|
])),
|
|
1509
|
-
e(jt) ? _("", !0) : (d(), A(
|
|
1510
|
+
e(jt) ? _("", !0) : (d(), A(ue, {
|
|
1510
1511
|
key: 2,
|
|
1511
1512
|
modelValue: e(E),
|
|
1512
1513
|
"onUpdate:modelValue": V[8] || (V[8] = (g) => j(E) ? E.value = g : null),
|
|
@@ -1530,10 +1531,10 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1530
1531
|
"onUpdate:modelValue": V[10] || (V[10] = (g) => j(z) ? z.value = g : null),
|
|
1531
1532
|
label: e(o)("booking.reservation.country"),
|
|
1532
1533
|
placeholder: e(o)("booking.reservation.countryPlaceholder"),
|
|
1533
|
-
options: e(
|
|
1534
|
+
options: e(p),
|
|
1534
1535
|
required: ""
|
|
1535
1536
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1536
|
-
y(
|
|
1537
|
+
y(ue, {
|
|
1537
1538
|
modelValue: e(B),
|
|
1538
1539
|
"onUpdate:modelValue": V[11] || (V[11] = (g) => j(B) ? B.value = g : null),
|
|
1539
1540
|
type: "textarea",
|
|
@@ -1546,7 +1547,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1546
1547
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1547
1548
|
a("ul", yn, [
|
|
1548
1549
|
a("li", null, [
|
|
1549
|
-
y(
|
|
1550
|
+
y(ue, {
|
|
1550
1551
|
modelValue: e(k),
|
|
1551
1552
|
"onUpdate:modelValue": V[12] || (V[12] = (g) => j(k) ? k.value = g : null),
|
|
1552
1553
|
type: "text",
|
|
@@ -1559,7 +1560,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1559
1560
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1560
1561
|
]),
|
|
1561
1562
|
a("li", null, [
|
|
1562
|
-
y(
|
|
1563
|
+
y(ue, {
|
|
1563
1564
|
modelValue: e(D),
|
|
1564
1565
|
"onUpdate:modelValue": V[13] || (V[13] = (g) => j(D) ? D.value = g : null),
|
|
1565
1566
|
type: "text",
|
|
@@ -1572,7 +1573,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1572
1573
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1573
1574
|
])
|
|
1574
1575
|
]),
|
|
1575
|
-
y(
|
|
1576
|
+
y(ue, {
|
|
1576
1577
|
modelValue: e(R),
|
|
1577
1578
|
"onUpdate:modelValue": V[14] || (V[14] = (g) => j(R) ? R.value = g : null),
|
|
1578
1579
|
type: "textarea",
|
|
@@ -1580,7 +1581,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1580
1581
|
icon: "info-circle",
|
|
1581
1582
|
placeholder: e(o)("booking.reservation.remarkPlaceholder")
|
|
1582
1583
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1583
|
-
y(
|
|
1584
|
+
y(ue, {
|
|
1584
1585
|
modelValue: e(Y),
|
|
1585
1586
|
"onUpdate:modelValue": V[15] || (V[15] = (g) => j(Y) ? Y.value = g : null),
|
|
1586
1587
|
type: "textarea",
|
|
@@ -1602,7 +1603,7 @@ const un = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1602
1603
|
a("div", null, [
|
|
1603
1604
|
y(me, {
|
|
1604
1605
|
label: e(qt) ? e(o)("booking.reservation.nextButton") : e(o)("general.confirmReservation"),
|
|
1605
|
-
disabled: !e(
|
|
1606
|
+
disabled: !e(u),
|
|
1606
1607
|
"is-loading": e(r),
|
|
1607
1608
|
"full-width": "",
|
|
1608
1609
|
onClickEvent: (g) => oo(J, S)
|
|
@@ -1672,8 +1673,8 @@ class $n {
|
|
|
1672
1673
|
for (; this._deprecatedHooks[l]; )
|
|
1673
1674
|
s = this._deprecatedHooks[l], l = s.to;
|
|
1674
1675
|
if (s && !o.allowDeprecated) {
|
|
1675
|
-
let
|
|
1676
|
-
|
|
1676
|
+
let m = s.message;
|
|
1677
|
+
m || (m = `${i} hook has been deprecated` + (s.to ? `, please use ${s.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(m) || (console.warn(m), this._deprecatedMessages.add(m));
|
|
1677
1678
|
}
|
|
1678
1679
|
if (!t.name)
|
|
1679
1680
|
try {
|
|
@@ -1808,8 +1809,8 @@ function Nt(n, l) {
|
|
|
1808
1809
|
o === "meta" && i.push("name", "property", "http-equiv");
|
|
1809
1810
|
for (const s of i)
|
|
1810
1811
|
if (typeof t[s] < "u") {
|
|
1811
|
-
const
|
|
1812
|
-
return
|
|
1812
|
+
const m = String(t[s]);
|
|
1813
|
+
return `${o}:${s}:${m}`;
|
|
1813
1814
|
}
|
|
1814
1815
|
return !1;
|
|
1815
1816
|
}
|
|
@@ -1871,23 +1872,23 @@ function Ne(n) {
|
|
|
1871
1872
|
const t = n.tagPriority;
|
|
1872
1873
|
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 $t && (l = $t[n.tag]), typeof t == "string" && t in wt ? l + wt[t] : l);
|
|
1873
1874
|
}
|
|
1874
|
-
const Bn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Tt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"],
|
|
1875
|
+
const Bn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Tt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ce = "%separator";
|
|
1875
1876
|
function Ie(n, l, t) {
|
|
1876
1877
|
if (typeof n != "string" || !n.includes("%"))
|
|
1877
1878
|
return n;
|
|
1878
|
-
function o(
|
|
1879
|
-
let
|
|
1880
|
-
return ["s", "pageTitle"].includes(
|
|
1879
|
+
function o(m) {
|
|
1880
|
+
let p;
|
|
1881
|
+
return ["s", "pageTitle"].includes(m) ? p = l.pageTitle : m.includes(".") ? p = m.split(".").reduce((c, r) => c && c[r] || void 0, l) : p = l[m], typeof p < "u" ? (p || "").replace(/"/g, '\\"') : !1;
|
|
1881
1882
|
}
|
|
1882
1883
|
let i = n;
|
|
1883
1884
|
try {
|
|
1884
1885
|
i = decodeURI(n);
|
|
1885
1886
|
} catch {
|
|
1886
1887
|
}
|
|
1887
|
-
return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((
|
|
1888
|
-
const
|
|
1889
|
-
typeof
|
|
1890
|
-
}), n.includes(
|
|
1888
|
+
return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((m) => {
|
|
1889
|
+
const p = o(m.slice(1));
|
|
1890
|
+
typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (c, r) => `${p}${r}`).trim());
|
|
1891
|
+
}), n.includes(ce) && (n.endsWith(ce) && (n = n.slice(0, -ce.length).trim()), n.startsWith(ce) && (n = n.slice(ce.length).trim()), n = n.replace(new RegExp(`\\${ce}\\s*\\${ce}`, "g"), ce), n = Ie(n, { separator: t }, t)), n;
|
|
1891
1892
|
}
|
|
1892
1893
|
async function Nn(n, l = {}) {
|
|
1893
1894
|
const t = l.document || n.resolvedOptions.document;
|
|
@@ -1896,9 +1897,9 @@ async function Nn(n, l = {}) {
|
|
|
1896
1897
|
const o = { shouldRender: !0, tags: [] };
|
|
1897
1898
|
if (await n.hooks.callHook("dom:beforeRender", o), !o.shouldRender)
|
|
1898
1899
|
return;
|
|
1899
|
-
const i = (await n.resolveTags()).map((
|
|
1900
|
-
tag:
|
|
1901
|
-
id: He.includes(
|
|
1900
|
+
const i = (await n.resolveTags()).map((u) => ({
|
|
1901
|
+
tag: u,
|
|
1902
|
+
id: He.includes(u.tag) ? _t(u) : u.tag,
|
|
1902
1903
|
shouldRender: !0
|
|
1903
1904
|
}));
|
|
1904
1905
|
let s = n._dom;
|
|
@@ -1906,8 +1907,8 @@ async function Nn(n, l = {}) {
|
|
|
1906
1907
|
s = {
|
|
1907
1908
|
elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
|
|
1908
1909
|
};
|
|
1909
|
-
for (const
|
|
1910
|
-
const f = t[
|
|
1910
|
+
for (const u of ["body", "head"]) {
|
|
1911
|
+
const f = t[u]?.children, $ = [];
|
|
1911
1912
|
for (const T of [...f].filter((C) => He.includes(C.tagName.toLowerCase()))) {
|
|
1912
1913
|
const C = {
|
|
1913
1914
|
tag: T.tagName.toLowerCase(),
|
|
@@ -1924,16 +1925,16 @@ async function Nn(n, l = {}) {
|
|
|
1924
1925
|
}
|
|
1925
1926
|
}
|
|
1926
1927
|
s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
|
|
1927
|
-
function
|
|
1928
|
-
const T = `${
|
|
1928
|
+
function m(u, f, $) {
|
|
1929
|
+
const T = `${u}:${f}`;
|
|
1929
1930
|
s.sideEffects[T] = $, delete s.pendingSideEffects[T];
|
|
1930
1931
|
}
|
|
1931
|
-
function
|
|
1932
|
+
function p({ id: u, $el: f, tag: $ }) {
|
|
1932
1933
|
const T = $.tag.endsWith("Attrs");
|
|
1933
|
-
s.elMap[
|
|
1934
|
+
s.elMap[u] = f, T || (["textContent", "innerHTML"].forEach((C) => {
|
|
1934
1935
|
$[C] && $[C] !== f[C] && (f[C] = $[C]);
|
|
1935
|
-
}),
|
|
1936
|
-
s.elMap[
|
|
1936
|
+
}), m(u, "el", () => {
|
|
1937
|
+
s.elMap[u]?.remove(), delete s.elMap[u];
|
|
1937
1938
|
}));
|
|
1938
1939
|
for (const [C, I] of Object.entries($._eventHandlers || {}))
|
|
1939
1940
|
f.getAttribute(`data-${C}`) !== "" && (($.tag === "bodyAttrs" ? t.defaultView : f).addEventListener(C.replace("on", ""), I.bind(f)), f.setAttribute(`data-${C}`, ""));
|
|
@@ -1941,40 +1942,40 @@ async function Nn(n, l = {}) {
|
|
|
1941
1942
|
const M = `attr:${C}`;
|
|
1942
1943
|
if (C === "class")
|
|
1943
1944
|
for (const N of (I || "").split(" ").filter(Boolean))
|
|
1944
|
-
T &&
|
|
1945
|
+
T && m(u, `${M}:${N}`, () => f.classList.remove(N)), !f.classList.contains(N) && f.classList.add(N);
|
|
1945
1946
|
else if (C === "style")
|
|
1946
1947
|
for (const N of (I || "").split(";").filter(Boolean)) {
|
|
1947
1948
|
const [E, ...k] = N.split(":").map((D) => D.trim());
|
|
1948
|
-
|
|
1949
|
+
m(u, `${M}:${E}`, () => {
|
|
1949
1950
|
f.style.removeProperty(E);
|
|
1950
1951
|
}), f.style.setProperty(E, k.join(":"));
|
|
1951
1952
|
}
|
|
1952
1953
|
else
|
|
1953
|
-
f.getAttribute(C) !== I && f.setAttribute(C, I === !0 ? "" : String(I)), T &&
|
|
1954
|
+
f.getAttribute(C) !== I && f.setAttribute(C, I === !0 ? "" : String(I)), T && m(u, M, () => f.removeAttribute(C));
|
|
1954
1955
|
});
|
|
1955
1956
|
}
|
|
1956
|
-
const
|
|
1957
|
+
const c = [], r = {
|
|
1957
1958
|
bodyClose: void 0,
|
|
1958
1959
|
bodyOpen: void 0,
|
|
1959
1960
|
head: void 0
|
|
1960
1961
|
};
|
|
1961
|
-
for (const
|
|
1962
|
-
const { tag: f, shouldRender: $, id: T } =
|
|
1962
|
+
for (const u of i) {
|
|
1963
|
+
const { tag: f, shouldRender: $, id: T } = u;
|
|
1963
1964
|
if ($) {
|
|
1964
1965
|
if (f.tag === "title") {
|
|
1965
1966
|
t.title = f.textContent;
|
|
1966
1967
|
continue;
|
|
1967
1968
|
}
|
|
1968
|
-
|
|
1969
|
+
u.$el = u.$el || s.elMap[T], u.$el ? p(u) : He.includes(f.tag) && c.push(u);
|
|
1969
1970
|
}
|
|
1970
1971
|
}
|
|
1971
|
-
for (const
|
|
1972
|
-
const f =
|
|
1973
|
-
|
|
1972
|
+
for (const u of c) {
|
|
1973
|
+
const f = u.tag.tagPosition || "head";
|
|
1974
|
+
u.$el = t.createElement(u.tag.tag), p(u), r[f] = r[f] || t.createDocumentFragment(), r[f].appendChild(u.$el);
|
|
1974
1975
|
}
|
|
1975
|
-
for (const
|
|
1976
|
-
await n.hooks.callHook("dom:renderTag",
|
|
1977
|
-
r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((
|
|
1976
|
+
for (const u of i)
|
|
1977
|
+
await n.hooks.callHook("dom:renderTag", u, t, m);
|
|
1978
|
+
r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((u) => u()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
|
|
1978
1979
|
}
|
|
1979
1980
|
async function Mn(n, l = {}) {
|
|
1980
1981
|
const t = l.delayFn || ((o) => setTimeout(o, 10));
|
|
@@ -2010,13 +2011,13 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
|
|
|
2010
2011
|
n.tags.forEach((o) => {
|
|
2011
2012
|
const i = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, s = l[i];
|
|
2012
2013
|
if (s) {
|
|
2013
|
-
let
|
|
2014
|
-
if (!
|
|
2015
|
-
const
|
|
2014
|
+
let p = o?.tagDuplicateStrategy;
|
|
2015
|
+
if (!p && Ln.includes(o.tag) && (p = "merge"), p === "merge") {
|
|
2016
|
+
const c = s.props;
|
|
2016
2017
|
["class", "style"].forEach((r) => {
|
|
2017
|
-
|
|
2018
|
+
c[r] && (o.props[r] ? (r === "style" && !c[r].endsWith(";") && (c[r] += ";"), o.props[r] = `${c[r]} ${o.props[r]}`) : o.props[r] = c[r]);
|
|
2018
2019
|
}), l[i].props = {
|
|
2019
|
-
...
|
|
2020
|
+
...c,
|
|
2020
2021
|
...o.props
|
|
2021
2022
|
};
|
|
2022
2023
|
return;
|
|
@@ -2026,8 +2027,8 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
|
|
|
2026
2027
|
} else if (Ne(o) > Ne(s))
|
|
2027
2028
|
return;
|
|
2028
2029
|
}
|
|
2029
|
-
const
|
|
2030
|
-
if (He.includes(o.tag) &&
|
|
2030
|
+
const m = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
|
|
2031
|
+
if (He.includes(o.tag) && m === 0) {
|
|
2031
2032
|
delete l[i];
|
|
2032
2033
|
return;
|
|
2033
2034
|
}
|
|
@@ -2096,15 +2097,15 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
|
|
|
2096
2097
|
}, Kn = (n) => ({
|
|
2097
2098
|
hooks: {
|
|
2098
2099
|
"tags:resolve": (l) => {
|
|
2099
|
-
const { tags: t } = l, o = t.find((
|
|
2100
|
-
delete s.separator, s.pageTitle = Ie(s.pageTitle || o || "", s,
|
|
2101
|
-
for (const
|
|
2102
|
-
const
|
|
2103
|
-
|
|
2104
|
-
typeof
|
|
2100
|
+
const { tags: t } = l, o = t.find((p) => p.tag === "title")?.textContent, i = t.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, m = s.separator || "|";
|
|
2101
|
+
delete s.separator, s.pageTitle = Ie(s.pageTitle || o || "", s, m);
|
|
2102
|
+
for (const p of t.filter((c) => c.processTemplateParams !== !1)) {
|
|
2103
|
+
const c = xn[p.tag];
|
|
2104
|
+
c && typeof p.props[c] == "string" ? p.props[c] = Ie(p.props[c], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
|
|
2105
|
+
typeof p[r] == "string" && (p[r] = Ie(p[r], s, m));
|
|
2105
2106
|
});
|
|
2106
2107
|
}
|
|
2107
|
-
n._templateParams = s, n._separator =
|
|
2108
|
+
n._templateParams = s, n._separator = m, l.tags = t.filter((p) => p.tag !== "templateParams");
|
|
2108
2109
|
}
|
|
2109
2110
|
}
|
|
2110
2111
|
}), Jn = {
|
|
@@ -2148,50 +2149,50 @@ function Qn(n = {}) {
|
|
|
2148
2149
|
const l = wn();
|
|
2149
2150
|
l.addHooks(n.hooks || {}), n.document = n.document || (Dn ? document : void 0);
|
|
2150
2151
|
const t = !n.document, o = () => {
|
|
2151
|
-
|
|
2152
|
+
p.dirty = !0, l.callHook("entries:updated", p);
|
|
2152
2153
|
};
|
|
2153
2154
|
let i = 0, s = [];
|
|
2154
|
-
const
|
|
2155
|
-
plugins:
|
|
2155
|
+
const m = [], p = {
|
|
2156
|
+
plugins: m,
|
|
2156
2157
|
dirty: !1,
|
|
2157
2158
|
resolvedOptions: n,
|
|
2158
2159
|
hooks: l,
|
|
2159
2160
|
headEntries() {
|
|
2160
2161
|
return s;
|
|
2161
2162
|
},
|
|
2162
|
-
use(
|
|
2163
|
-
const r = typeof
|
|
2164
|
-
(!r.key || !
|
|
2163
|
+
use(c) {
|
|
2164
|
+
const r = typeof c == "function" ? c(p) : c;
|
|
2165
|
+
(!r.key || !m.some((u) => u.key === r.key)) && (m.push(r), Ct(r.mode, t) && l.addHooks(r.hooks || {}));
|
|
2165
2166
|
},
|
|
2166
|
-
push(
|
|
2167
|
+
push(c, r) {
|
|
2167
2168
|
delete r?.head;
|
|
2168
|
-
const
|
|
2169
|
+
const u = {
|
|
2169
2170
|
_i: i++,
|
|
2170
|
-
input:
|
|
2171
|
+
input: c,
|
|
2171
2172
|
...r
|
|
2172
2173
|
};
|
|
2173
|
-
return Ct(
|
|
2174
|
+
return Ct(u.mode, t) && (s.push(u), o()), {
|
|
2174
2175
|
dispose() {
|
|
2175
|
-
s = s.filter((f) => f._i !==
|
|
2176
|
+
s = s.filter((f) => f._i !== u._i), l.callHook("entries:updated", p), o();
|
|
2176
2177
|
},
|
|
2177
2178
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2178
2179
|
patch(f) {
|
|
2179
|
-
s = s.map(($) => ($._i ===
|
|
2180
|
+
s = s.map(($) => ($._i === u._i && ($.input = u.input = f), $)), o();
|
|
2180
2181
|
}
|
|
2181
2182
|
};
|
|
2182
2183
|
},
|
|
2183
2184
|
async resolveTags() {
|
|
2184
|
-
const
|
|
2185
|
-
await l.callHook("entries:resolve",
|
|
2186
|
-
for (const r of
|
|
2187
|
-
const
|
|
2188
|
-
if (r.resolvedInput = await (r.transform ? r.transform(
|
|
2185
|
+
const c = { tags: [], entries: [...s] };
|
|
2186
|
+
await l.callHook("entries:resolve", c);
|
|
2187
|
+
for (const r of c.entries) {
|
|
2188
|
+
const u = r.resolvedInput || r.input;
|
|
2189
|
+
if (r.resolvedInput = await (r.transform ? r.transform(u) : u), r.resolvedInput)
|
|
2189
2190
|
for (const f of await En(r)) {
|
|
2190
|
-
const $ = { tag: f, entry: r, resolvedOptions:
|
|
2191
|
-
await l.callHook("tag:normalise", $),
|
|
2191
|
+
const $ = { tag: f, entry: r, resolvedOptions: p.resolvedOptions };
|
|
2192
|
+
await l.callHook("tag:normalise", $), c.tags.push($.tag);
|
|
2192
2193
|
}
|
|
2193
2194
|
}
|
|
2194
|
-
return await l.callHook("tags:beforeResolve",
|
|
2195
|
+
return await l.callHook("tags:beforeResolve", c), await l.callHook("tags:resolve", c), await l.callHook("tags:afterResolve", c), c.tags;
|
|
2195
2196
|
},
|
|
2196
2197
|
ssr: t
|
|
2197
2198
|
};
|
|
@@ -2205,7 +2206,7 @@ function Qn(n = {}) {
|
|
|
2205
2206
|
Jn,
|
|
2206
2207
|
zn,
|
|
2207
2208
|
...n?.plugins || []
|
|
2208
|
-
].forEach((
|
|
2209
|
+
].forEach((c) => p.use(c)), p.hooks.callHook("init", p), p;
|
|
2209
2210
|
}
|
|
2210
2211
|
const Xn = mo.startsWith("3");
|
|
2211
2212
|
function Zn(n) {
|