@konnectio/core 4.0.90 → 4.0.92
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-CKTAIwlG.js → ActionField-CgMznDNS.js} +3 -3
- package/dist/ActionField-CgMznDNS.js.br +0 -0
- package/dist/{AvailabilitySkeleton-Yda51kLP.js → AvailabilitySkeleton-B12FSS31.js} +21 -21
- package/dist/AvailabilitySkeleton-B12FSS31.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js +9079 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js.br +0 -0
- package/dist/{CheckoutWindow-Cm1ExHuS.js → CheckoutWindow-BoEtvp4P.js} +26 -26
- package/dist/CheckoutWindow-BoEtvp4P.js.br +0 -0
- package/dist/{ErrorMessage-6KMjarXT.js → ErrorMessage-CvJnQM2S.js} +3 -3
- package/dist/ErrorMessage-CvJnQM2S.js.br +0 -0
- package/dist/EventAvailabilityForm-D_KjLqgK.js +113 -0
- package/dist/EventAvailabilityForm-D_KjLqgK.js.br +0 -0
- package/dist/{Field-B-kcgOnl.js → Field-Ce6P6QCM.js} +4 -4
- package/dist/Field-Ce6P6QCM.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DES0JVHq.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CtysUXs-.js} +5 -5
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-CNCc38J_.js → SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js} +2966 -2954
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js.br +0 -0
- package/dist/{TermsOfService-DWEQVnMu.js → TermsOfService-DS18Dl-L.js} +4 -4
- package/dist/_-Csc-2ekB.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-B7aH7s4j.js → _.vue_vue_type_style_index_0_lang-CXamzQ3j.js} +3 -3
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +4 -4
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +572 -496
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +9 -9
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +10 -10
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-BcTiLShb.js → giftCard-Dx--Stye.js} +3 -3
- package/dist/giftCard-Dx--Stye.js.br +0 -0
- package/dist/hotel.js +385 -383
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BiQsiic0.js → masonry.plugin-CPsNk-yp.js} +7 -7
- package/dist/masonry.plugin-CPsNk-yp.js.br +0 -0
- package/dist/{mitt-B7wNuBju.js → mitt-BGszhQ2P.js} +5459 -5617
- package/dist/mitt-BGszhQ2P.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-B-eJeldE.js → style-Csy5Jdgv.js} +2 -2
- package/dist/style-Csy5Jdgv.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +14 -14
- package/dist/ActionField-CKTAIwlG.js.br +0 -0
- package/dist/AvailabilitySkeleton-Yda51kLP.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DJtuvKY-.js +0 -8697
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-DJtuvKY-.js.br +0 -0
- package/dist/CheckoutWindow-Cm1ExHuS.js.br +0 -0
- package/dist/ErrorMessage-6KMjarXT.js.br +0 -0
- package/dist/EventAvailabilityForm-uKOuEFLO.js +0 -110
- package/dist/EventAvailabilityForm-uKOuEFLO.js.br +0 -0
- package/dist/Field-B-kcgOnl.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CNCc38J_.js.br +0 -0
- package/dist/_-B1Ghb3H_.js +0 -5
- package/dist/giftCard-BcTiLShb.js.br +0 -0
- package/dist/masonry.plugin-BiQsiic0.js.br +0 -0
- package/dist/mitt-B7wNuBju.js.br +0 -0
- package/dist/style-B-eJeldE.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as ee, u as se, s as Z, r as le,
|
|
2
|
-
import { g as ve, b as ye, u as $e, I as x, s as oe, z as
|
|
3
|
-
import { G as Po } from "./style-
|
|
4
|
-
import { R as Ao, B as
|
|
5
|
-
import { A as Bo, H as Lo } from "./AvailabilitySkeleton-
|
|
6
|
-
import { S as Uo } from "./TermsOfService-
|
|
7
|
-
import { C as
|
|
8
|
-
import { _ as
|
|
1
|
+
import { d as ee, u as se, s as Z, r as le, a as d, b as D, y as uo, i as e, w as C, g as h, e as s, t as f, G as De, H as Je, f as v, j as w, z as j, F as O, v as ze, B as et, A as q, h as Tt, E as co, K as po, c as K, o as it, C as Ne, n as Me, S as mo, L as fo, M as ho, N as vo, k as yo, l as ko, m as go, p as bo, q as _o } from "./mitt-BGszhQ2P.js";
|
|
2
|
+
import { g as ve, b as ye, u as $e, I as x, s as oe, z as we, l as Ye, m as pe, j as ne, _ as fe, c as Le, A as wt, f as tt, d as me, B as Ct, a as $t, D as mt, T as ue, r as Vo, E as To, C as wo, k as ft, n as Co, o as ht, p as $o } from "./SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js";
|
|
3
|
+
import { G as Po } from "./style-Csy5Jdgv.js";
|
|
4
|
+
import { R as Ao, B as Ue, L as Ho, S as Do, M as So, b as Qe, C as Io, T as No, V as Mo, a as Ro } from "./masonry.plugin-CPsNk-yp.js";
|
|
5
|
+
import { A as Bo, H as Lo } from "./AvailabilitySkeleton-B12FSS31.js";
|
|
6
|
+
import { S as Uo } from "./TermsOfService-DS18Dl-L.js";
|
|
7
|
+
import { C as Ce, B as Eo, P as Fo, a as Oo } from "./CheckoutWindow-BoEtvp4P.js";
|
|
8
|
+
import { _ as Pt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js";
|
|
9
9
|
const Go = { key: 0 }, qo = { class: "konnectio-hotel-reservation-warning" }, jo = { class: "konnectio-hotel-reservation-warning" }, Wo = { class: "konnectio-hotel-reservation-warning" };
|
|
10
10
|
const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnectio-reservation-actions" }, Yo = {
|
|
11
11
|
key: 0,
|
|
@@ -31,15 +31,15 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
31
31
|
totalPrice: p,
|
|
32
32
|
areListingsLoading: y,
|
|
33
33
|
getSelectedPackageRoom: c,
|
|
34
|
-
selectedPackage:
|
|
34
|
+
selectedPackage: k,
|
|
35
35
|
discountVouchers: _,
|
|
36
36
|
currentArrivalDate: P,
|
|
37
|
-
currentDepartureDate:
|
|
37
|
+
currentDepartureDate: $,
|
|
38
38
|
datesMismatch: R,
|
|
39
39
|
currentLocation: L,
|
|
40
40
|
locationMismatch: I,
|
|
41
41
|
newsMails: V,
|
|
42
|
-
termsOfService:
|
|
42
|
+
termsOfService: H,
|
|
43
43
|
discountCode: S,
|
|
44
44
|
hasTermOfService: z,
|
|
45
45
|
acceptTerms: U,
|
|
@@ -47,38 +47,40 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
47
47
|
totalRooms: G,
|
|
48
48
|
totalAdults: ae,
|
|
49
49
|
totalChildren: ie,
|
|
50
|
-
templateRoomTotalPrice: W
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
templateRoomTotalPrice: W,
|
|
51
|
+
weekendFee: ge
|
|
52
|
+
} = Z(ye()), { hasHotelLocations: be } = Z($e()), { removeRoom: Pe, validateDiscountCode: Ee } = ye(), { getHotelLocationName: Fe } = $e(), _e = le(!1);
|
|
53
|
+
function Ve(Q) {
|
|
54
|
+
return Q.reduce((he, { totalPrice: B }) => he + B, 0);
|
|
54
55
|
}
|
|
55
|
-
return (
|
|
56
|
-
const he =
|
|
57
|
-
return d(),
|
|
56
|
+
return (Q, E) => {
|
|
57
|
+
const he = po("tooltip");
|
|
58
|
+
return d(), D(Ao, {
|
|
58
59
|
"discount-code": e(S),
|
|
59
60
|
"onUpdate:discountCode": E[4] || (E[4] = (B) => q(S) ? S.value = B : null),
|
|
60
|
-
"validate-discount-code": e(
|
|
61
|
+
"validate-discount-code": e(Ee),
|
|
61
62
|
"total-price": e(p),
|
|
62
|
-
"
|
|
63
|
-
"show-
|
|
63
|
+
"weekend-fee": e(ge),
|
|
64
|
+
"show-gift-card": Q.showGiftCard,
|
|
65
|
+
"show-terms-notice": Q.showTermsNotice,
|
|
64
66
|
"is-sidebar-loading": e(y),
|
|
65
67
|
notice: e(t)("hotel.reservationNotice"),
|
|
66
|
-
"prev-callback":
|
|
67
|
-
},
|
|
68
|
-
form:
|
|
69
|
-
ze(
|
|
68
|
+
"prev-callback": Q.prevCallback
|
|
69
|
+
}, uo({
|
|
70
|
+
form: C(() => [
|
|
71
|
+
ze(Q.$slots, "form", {}, void 0, !0)
|
|
70
72
|
]),
|
|
71
|
-
"price-summary":
|
|
72
|
-
isNaN(e(u)) && e(m).length > 0 ? (d(!0), h(
|
|
73
|
+
"price-summary": C(() => [
|
|
74
|
+
isNaN(e(u)) && e(m).length > 0 ? (d(!0), h(O, { key: 0 }, j(e(m), ({
|
|
73
75
|
roomGroupID: B,
|
|
74
|
-
title:
|
|
75
|
-
variants:
|
|
76
|
+
title: Oe,
|
|
77
|
+
variants: Ge
|
|
76
78
|
}) => (d(), h("div", { key: B }, [
|
|
77
79
|
s("h6", null, [
|
|
78
|
-
s("span", null, f(
|
|
80
|
+
s("span", null, f(Oe), 1)
|
|
79
81
|
]),
|
|
80
|
-
(d(!0), h(
|
|
81
|
-
(d(!0), h(
|
|
82
|
+
(d(!0), h(O, null, j(Ge, (Ae, qe) => (d(), h("div", { key: qe }, [
|
|
83
|
+
(d(!0), h(O, null, j(Ae.rooms, (re, Te) => (d(), h("ul", { key: Te }, [
|
|
82
84
|
s("li", null, [
|
|
83
85
|
s("span", null, [
|
|
84
86
|
s("span", null, [
|
|
@@ -89,7 +91,7 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
89
91
|
color: "font"
|
|
90
92
|
}),
|
|
91
93
|
s("span", null, f(re.adultsCount), 1),
|
|
92
|
-
re.childrenCount > 0 ? (d(), h(
|
|
94
|
+
re.childrenCount > 0 ? (d(), h(O, { key: 0 }, [
|
|
93
95
|
v(x, {
|
|
94
96
|
icon: "child",
|
|
95
97
|
type: "fas",
|
|
@@ -105,16 +107,16 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
105
107
|
w("", !0)
|
|
106
108
|
])
|
|
107
109
|
]),
|
|
108
|
-
|
|
110
|
+
Ve(re.roomAddons) > 0 ? (d(), h("li", xo, [
|
|
109
111
|
s("span", null, f(e(t)("general.addons")), 1),
|
|
110
|
-
s("b", null, f(e(ne)(
|
|
112
|
+
s("b", null, f(e(ne)(Ve(re.roomAddons), e(o))), 1)
|
|
111
113
|
])) : w("", !0)
|
|
112
114
|
]))), 128))
|
|
113
115
|
]))), 128))
|
|
114
116
|
]))), 128)) : w("", !0),
|
|
115
|
-
e(c) && e(
|
|
117
|
+
e(c) && e(k) ? (d(), h("div", Ko, [
|
|
116
118
|
s("h6", null, [
|
|
117
|
-
s("span", null, f(e(pe)(e(
|
|
119
|
+
s("span", null, f(e(pe)(e(k).name)), 1)
|
|
118
120
|
]),
|
|
119
121
|
s("div", null, [
|
|
120
122
|
s("ul", null, [
|
|
@@ -134,10 +136,10 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
134
136
|
])
|
|
135
137
|
])) : w("", !0)
|
|
136
138
|
]),
|
|
137
|
-
actions:
|
|
139
|
+
actions: C(() => [
|
|
138
140
|
s("ul", zo, [
|
|
139
141
|
e(n) ? w("", !0) : (d(), h("div", Yo, [
|
|
140
|
-
v(
|
|
142
|
+
v(Ce, {
|
|
141
143
|
modelValue: e(V),
|
|
142
144
|
"onUpdate:modelValue": E[0] || (E[0] = (B) => q(V) ? V.value = B : null),
|
|
143
145
|
type: "checkbox",
|
|
@@ -145,23 +147,23 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
145
147
|
label: e(t)("booking.reservation.newsletterSignUp")
|
|
146
148
|
}, null, 8, ["modelValue", "label"])
|
|
147
149
|
])),
|
|
148
|
-
e(z) ? (d(),
|
|
150
|
+
e(z) ? (d(), D(Ce, {
|
|
149
151
|
key: 1,
|
|
150
152
|
modelValue: e(U),
|
|
151
153
|
"onUpdate:modelValue": E[2] || (E[2] = (B) => q(U) ? U.value = B : null),
|
|
152
154
|
type: "checkbox",
|
|
153
155
|
name: "terms"
|
|
154
156
|
}, {
|
|
155
|
-
default:
|
|
156
|
-
v(e(
|
|
157
|
+
default: C(() => [
|
|
158
|
+
v(e(co), {
|
|
157
159
|
keypath: "general.termsAndConditionsCheckbox",
|
|
158
160
|
tag: "span",
|
|
159
161
|
scope: "global"
|
|
160
162
|
}, {
|
|
161
|
-
terms:
|
|
163
|
+
terms: C(() => [
|
|
162
164
|
s("a", {
|
|
163
165
|
class: "konnectio-accept-terms-link",
|
|
164
|
-
onClick: E[1] || (E[1] =
|
|
166
|
+
onClick: E[1] || (E[1] = Tt((B) => _e.value = !0, ["prevent"]))
|
|
165
167
|
}, [
|
|
166
168
|
s("span", null, f(e(Ye)(e(t)("general.termsAndConditions"))), 1)
|
|
167
169
|
])
|
|
@@ -171,34 +173,34 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
171
173
|
]),
|
|
172
174
|
_: 1
|
|
173
175
|
}, 8, ["modelValue"])) : w("", !0),
|
|
174
|
-
ze(
|
|
176
|
+
ze(Q.$slots, "actions", {}, void 0, !0),
|
|
175
177
|
v(Uo, {
|
|
176
178
|
modelValue: _e.value,
|
|
177
179
|
"onUpdate:modelValue": E[3] || (E[3] = (B) => _e.value = B),
|
|
178
|
-
description: e(
|
|
180
|
+
description: e(H)
|
|
179
181
|
}, null, 8, ["modelValue", "description"])
|
|
180
182
|
])
|
|
181
183
|
]),
|
|
182
|
-
navigation:
|
|
183
|
-
ze(
|
|
184
|
+
navigation: C(() => [
|
|
185
|
+
ze(Q.$slots, "navigation", {}, void 0, !0)
|
|
184
186
|
]),
|
|
185
|
-
"mobile-under-price":
|
|
187
|
+
"mobile-under-price": C(() => [
|
|
186
188
|
E[6] || (E[6] = s("span", null, "For ", -1)),
|
|
187
|
-
s("b", null, f(e(
|
|
188
|
-
|
|
189
|
+
s("b", null, f(e(we)(e(P), e($))) + " " + f(e(Ye)(e(we)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1),
|
|
190
|
+
De((d(), h("span", Qo, [
|
|
189
191
|
v(x, {
|
|
190
192
|
icon: "circle-info",
|
|
191
193
|
type: "fas"
|
|
192
194
|
})
|
|
193
195
|
])), [
|
|
194
196
|
[he, {
|
|
195
|
-
content: `<span>(${e(oe)(e(P))} - ${e(oe)(e(
|
|
197
|
+
content: `<span>(${e(oe)(e(P))} - ${e(oe)(e($))})</span>`,
|
|
196
198
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
197
199
|
html: !0
|
|
198
200
|
}]
|
|
199
201
|
])
|
|
200
202
|
]),
|
|
201
|
-
"mobile-summary":
|
|
203
|
+
"mobile-summary": C(() => [
|
|
202
204
|
s("span", null, f(`${e(ae)} ${e(ae) === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1),
|
|
203
205
|
s("span", null, f(`${e(ie)} ${e(ie) === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1),
|
|
204
206
|
s("span", null, f(`${e(G)} ${e(G) === 1 ? e(t)("booking.reservation.room") : e(t)("booking.reservation.rooms")}`), 1)
|
|
@@ -207,12 +209,12 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
207
209
|
}, [
|
|
208
210
|
isNaN(e(L)) ? void 0 : {
|
|
209
211
|
name: "reservation-summary",
|
|
210
|
-
fn:
|
|
211
|
-
e(
|
|
212
|
+
fn: C(() => [
|
|
213
|
+
e(be) ? (d(), h("li", Go, [
|
|
212
214
|
s("span", null, f(e(t)("general.location")), 1),
|
|
213
215
|
s("b", null, [
|
|
214
|
-
s("span", null, f(e(
|
|
215
|
-
|
|
216
|
+
s("span", null, f(e(Fe)(e(L))), 1),
|
|
217
|
+
De(s("span", qo, [
|
|
216
218
|
v(x, {
|
|
217
219
|
icon: "exclamation-triangle",
|
|
218
220
|
type: "fas"
|
|
@@ -226,7 +228,7 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
226
228
|
s("span", null, f(e(t)("booking.reservation.arrival")), 1),
|
|
227
229
|
s("b", null, [
|
|
228
230
|
s("span", null, f(e(a)(e(L)) ? `${e(oe)(e(P))}, ${e(i)}` : e(oe)(e(P))), 1),
|
|
229
|
-
|
|
231
|
+
De(s("span", jo, [
|
|
230
232
|
v(x, {
|
|
231
233
|
icon: "exclamation-triangle",
|
|
232
234
|
type: "fas"
|
|
@@ -239,8 +241,8 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
239
241
|
s("li", null, [
|
|
240
242
|
s("span", null, f(e(t)("booking.reservation.departure")), 1),
|
|
241
243
|
s("b", null, [
|
|
242
|
-
s("span", null, f(e(a)(e(L)) ? `${e(oe)(e(
|
|
243
|
-
|
|
244
|
+
s("span", null, f(e(a)(e(L)) ? `${e(oe)(e($))}, ${e(r)}` : e(oe)(e($))), 1),
|
|
245
|
+
De(s("span", Wo, [
|
|
244
246
|
v(x, {
|
|
245
247
|
icon: "exclamation-triangle",
|
|
246
248
|
type: "fas"
|
|
@@ -252,9 +254,9 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
252
254
|
]),
|
|
253
255
|
s("li", null, [
|
|
254
256
|
s("span", null, f(e(t)("booking.reservation.nights")), 1),
|
|
255
|
-
s("b", null, f(e(
|
|
257
|
+
s("b", null, f(e(we)(e(P), e($))) + " " + f(e(Ye)(e(we)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1)
|
|
256
258
|
]),
|
|
257
|
-
e(_) ? (d(!0), h(
|
|
259
|
+
e(_) ? (d(!0), h(O, { key: 1 }, j(e(_), (B) => (d(), h("li", {
|
|
258
260
|
key: B.id
|
|
259
261
|
}, [
|
|
260
262
|
s("span", null, f(`${e(t)("general.discountCode")} (${B.value})`), 1),
|
|
@@ -263,10 +265,10 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
263
265
|
]),
|
|
264
266
|
key: "0"
|
|
265
267
|
}
|
|
266
|
-
]), 1032, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
|
|
268
|
+
]), 1032, ["discount-code", "validate-discount-code", "total-price", "weekend-fee", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
|
|
267
269
|
};
|
|
268
270
|
}
|
|
269
|
-
}), Xe = /* @__PURE__ */ fe(Xo, [["__scopeId", "data-v-
|
|
271
|
+
}), Xe = /* @__PURE__ */ fe(Xo, [["__scopeId", "data-v-6c12d296"]]), Zo = { class: "konnectio-room-config-option" }, en = { key: 0 }, tn = { class: "konnectio-selected-room-config" }, on = { class: "konnectio-selected-room-config-people" }, nn = { key: 0 }, ln = { class: "konnectio-selected-room-config-price" }, an = /* @__PURE__ */ ee({
|
|
270
272
|
__name: "RoomConfigField",
|
|
271
273
|
props: {
|
|
272
274
|
modelValue: {},
|
|
@@ -285,7 +287,7 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
285
287
|
get: () => i.modelValue,
|
|
286
288
|
set: (u) => r(u)
|
|
287
289
|
});
|
|
288
|
-
return (u, p) => (d(),
|
|
290
|
+
return (u, p) => (d(), D(Le, {
|
|
289
291
|
modelValue: m.value,
|
|
290
292
|
"onUpdate:modelValue": p[0] || (p[0] = (y) => m.value = y),
|
|
291
293
|
label: u.label,
|
|
@@ -298,7 +300,7 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
298
300
|
required: u.required,
|
|
299
301
|
searchable: !1
|
|
300
302
|
}, {
|
|
301
|
-
option:
|
|
303
|
+
option: C(({ data: y }) => [
|
|
302
304
|
s("span", Zo, [
|
|
303
305
|
s("div", null, [
|
|
304
306
|
v(x, {
|
|
@@ -319,7 +321,7 @@ const xo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnecti
|
|
|
319
321
|
s("span", null, f(`(${e(ne)(y.price, e(o))})`), 1)
|
|
320
322
|
])
|
|
321
323
|
]),
|
|
322
|
-
"selected-option":
|
|
324
|
+
"selected-option": C(({ data: y }) => [
|
|
323
325
|
s("div", tn, [
|
|
324
326
|
s("div", on, [
|
|
325
327
|
s("div", null, [
|
|
@@ -359,18 +361,18 @@ const pn = /* @__PURE__ */ ee({
|
|
|
359
361
|
const i = K(() => n.room.rates.map((V) => ({
|
|
360
362
|
label: V.name,
|
|
361
363
|
value: V.id
|
|
362
|
-
}))), { hideAvailableRoomAmount: r, autoSelectRateId: m } = Z(ve()), { roomSelect: u } = Z(ye()), { addToCart: p, removeFromCart: y } =
|
|
363
|
-
value:
|
|
364
|
-
price:
|
|
365
|
-
adults:
|
|
366
|
-
children:
|
|
367
|
-
hasBreakfast:
|
|
368
|
-
})) || [] : [],
|
|
369
|
-
function R(V,
|
|
370
|
-
o.value[V].config[0].id = n.room.rates.find((S) => S.id ===
|
|
364
|
+
}))), { hideAvailableRoomAmount: r, autoSelectRateId: m } = Z(ve()), { roomSelect: u } = Z(ye()), { addToCart: p, removeFromCart: y } = wt(), c = (V, H) => n.room.rates.find((S) => S.id === V)?.occupantRates.find((S) => S.index === H), k = K(() => n.room.rates.every((V) => V.isBreakfastIncluded === !0)), _ = (V, H) => c(V, H) ? c(V, H)?.rooms : null, P = (V) => n.room.rates.length > 0 ? n.room.rates.find((H) => H.id === V)?.occupantRates.map((H) => ({
|
|
365
|
+
value: H.index,
|
|
366
|
+
price: H.totalPrice,
|
|
367
|
+
adults: H.adultsCount,
|
|
368
|
+
children: H.childrenCount,
|
|
369
|
+
hasBreakfast: H.hasBreakfast
|
|
370
|
+
})) || [] : [], $ = K(() => n.room.rates.length > 1);
|
|
371
|
+
function R(V, H) {
|
|
372
|
+
o.value[V].config[0].id = n.room.rates.find((S) => S.id === H.value)?.occupantRateIndex || NaN;
|
|
371
373
|
}
|
|
372
374
|
function L() {
|
|
373
|
-
|
|
375
|
+
$.value ? m.value ? o.value.push({
|
|
374
376
|
id: n.room.bestRateMatch || void 0,
|
|
375
377
|
config: [{
|
|
376
378
|
id: n.room.bestRateMatch && !isNaN(n.room.bestRateMatch) ? n.room.rates.find((V) => V.id === n.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
@@ -397,10 +399,10 @@ const pn = /* @__PURE__ */ ee({
|
|
|
397
399
|
L();
|
|
398
400
|
});
|
|
399
401
|
const I = K(() => JSON.parse(JSON.stringify(o.value)));
|
|
400
|
-
return
|
|
401
|
-
|
|
402
|
+
return Ne(I, (V, H) => {
|
|
403
|
+
H.length > 0 && V.forEach((S, z) => {
|
|
402
404
|
S.config.forEach((U, Y) => {
|
|
403
|
-
const G = U.units, ae =
|
|
405
|
+
const G = U.units, ae = H[z].config[Y].units;
|
|
404
406
|
G !== ae && (G > ae ? (o.value[z].config[Y].addons.push({}), p({
|
|
405
407
|
id: n.room.id,
|
|
406
408
|
name: n.room.title,
|
|
@@ -412,9 +414,9 @@ const pn = /* @__PURE__ */ ee({
|
|
|
412
414
|
})));
|
|
413
415
|
});
|
|
414
416
|
});
|
|
415
|
-
}, { deep: !0 }),
|
|
417
|
+
}, { deep: !0 }), Ne(o, () => {
|
|
416
418
|
u.value[n.room.id] = o.value;
|
|
417
|
-
}, { deep: !0 }), (V,
|
|
419
|
+
}, { deep: !0 }), (V, H) => (d(), D(Ue, {
|
|
418
420
|
type: "hotel",
|
|
419
421
|
"listing-id": V.room.id,
|
|
420
422
|
gallery: V.room.images,
|
|
@@ -423,15 +425,15 @@ const pn = /* @__PURE__ */ ee({
|
|
|
423
425
|
layout: V.layout,
|
|
424
426
|
facilities: V.room.facilities,
|
|
425
427
|
"prices-from": V.room.pricesFrom,
|
|
426
|
-
"includes-breakfast":
|
|
428
|
+
"includes-breakfast": k.value
|
|
427
429
|
}, {
|
|
428
|
-
action:
|
|
430
|
+
action: C(() => [
|
|
429
431
|
s("div", rn, [
|
|
430
|
-
(d(!0), h(
|
|
432
|
+
(d(!0), h(O, null, j(o.value, (S, z) => (d(), h("div", {
|
|
431
433
|
key: S.id,
|
|
432
434
|
class: "konnectio-hotel-room"
|
|
433
435
|
}, [
|
|
434
|
-
|
|
436
|
+
$.value ? (d(), D(Le, {
|
|
435
437
|
key: 0,
|
|
436
438
|
modelValue: S.id,
|
|
437
439
|
"onUpdate:modelValue": (U) => S.id = U,
|
|
@@ -442,14 +444,14 @@ const pn = /* @__PURE__ */ ee({
|
|
|
442
444
|
onChanged: (U) => R(z, U)
|
|
443
445
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) : w("", !0),
|
|
444
446
|
S.id ? (d(), h("div", dn, [
|
|
445
|
-
(d(!0), h(
|
|
447
|
+
(d(!0), h(O, null, j(V.room.rates, ({
|
|
446
448
|
id: U,
|
|
447
449
|
maximumOccupants: Y
|
|
448
450
|
}) => (d(), h("div", {
|
|
449
451
|
key: U,
|
|
450
452
|
class: "konnectio-listing-action-selective-i"
|
|
451
453
|
}, [
|
|
452
|
-
S.id === U ? (d(!0), h(
|
|
454
|
+
S.id === U ? (d(!0), h(O, { key: 0 }, j(S.config, (G, ae) => (d(), h("div", {
|
|
453
455
|
key: ae,
|
|
454
456
|
class: "konnectio-listing-action-selective"
|
|
455
457
|
}, [
|
|
@@ -499,39 +501,39 @@ const pn = /* @__PURE__ */ ee({
|
|
|
499
501
|
},
|
|
500
502
|
setup(l) {
|
|
501
503
|
const { t } = se(), { templateID: n, roomGroupID: o, selectionHasNoAddons: a } = Z(ye()), { currency: i } = Z(ve()), { clearRoomSelection: r } = ye(), m = l, u = le(!0), p = K(() => {
|
|
502
|
-
function c(
|
|
503
|
-
return u.value === !0 ?
|
|
504
|
+
function c(k, _) {
|
|
505
|
+
return u.value === !0 ? k.extraPrice > _.extraPrice ? -1 : 1 : k.extraPrice > _.extraPrice ? 1 : -1;
|
|
504
506
|
}
|
|
505
507
|
return m.roomGroups?.slice().sort(c);
|
|
506
508
|
});
|
|
507
509
|
function y(c) {
|
|
508
510
|
n.value = m.templateId, o.value = c, r(), m.hideAddons === !0 || a.value ? m.callback(2) : m.callback(1);
|
|
509
511
|
}
|
|
510
|
-
return (c,
|
|
512
|
+
return (c, k) => (d(), D(Eo, {
|
|
511
513
|
title: c.title,
|
|
512
514
|
subtitle: e(t)("booking.availability.selectATemplateRoom")
|
|
513
515
|
}, {
|
|
514
|
-
default:
|
|
516
|
+
default: C(() => [
|
|
515
517
|
s("div", fn, [
|
|
516
518
|
s("div", hn, [
|
|
517
|
-
(d(!0), h(
|
|
519
|
+
(d(!0), h(O, null, j(p.value, ({
|
|
518
520
|
id: _,
|
|
519
521
|
title: P,
|
|
520
|
-
description:
|
|
522
|
+
description: $,
|
|
521
523
|
images: R,
|
|
522
524
|
facilities: L,
|
|
523
525
|
extraPrice: I
|
|
524
|
-
}) => (d(),
|
|
526
|
+
}) => (d(), D(Ue, {
|
|
525
527
|
key: _,
|
|
526
528
|
"listing-id": _,
|
|
527
529
|
name: P,
|
|
528
|
-
description:
|
|
530
|
+
description: $,
|
|
529
531
|
facilities: L,
|
|
530
532
|
gallery: R,
|
|
531
533
|
"includes-breakfast": !1,
|
|
532
534
|
"hide-info-button": !0
|
|
533
535
|
}, {
|
|
534
|
-
action:
|
|
536
|
+
action: C(() => [
|
|
535
537
|
s("div", null, [
|
|
536
538
|
v(me, {
|
|
537
539
|
onClickEvent: (V) => y(_),
|
|
@@ -548,7 +550,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
548
550
|
_: 1
|
|
549
551
|
}, 8, ["title", "subtitle"]));
|
|
550
552
|
}
|
|
551
|
-
}),
|
|
553
|
+
}), At = /* @__PURE__ */ fe(vn, [["__scopeId", "data-v-7424de30"]]), yn = { class: "konnectio-template-select-package" }, kn = /* @__PURE__ */ ee({
|
|
552
554
|
__name: "Template",
|
|
553
555
|
props: {
|
|
554
556
|
id: {},
|
|
@@ -579,18 +581,18 @@ const pn = /* @__PURE__ */ ee({
|
|
|
579
581
|
function m(u) {
|
|
580
582
|
n.callback(u), i.value = !1;
|
|
581
583
|
}
|
|
582
|
-
return (u, p) => (d(),
|
|
584
|
+
return (u, p) => (d(), D(Ue, {
|
|
583
585
|
type: "template",
|
|
584
586
|
"listing-id": u.id,
|
|
585
587
|
name: u.name,
|
|
586
588
|
description: u.description,
|
|
587
589
|
gallery: a.value,
|
|
588
|
-
layout: e(
|
|
590
|
+
layout: e(Ct).Template,
|
|
589
591
|
"includes-breakfast": !1,
|
|
590
592
|
"hide-info-button": !1,
|
|
591
593
|
"prices-from": o.value
|
|
592
594
|
}, {
|
|
593
|
-
action:
|
|
595
|
+
action: C(() => [
|
|
594
596
|
s("div", yn, [
|
|
595
597
|
v(me, {
|
|
596
598
|
onClickEvent: r,
|
|
@@ -599,8 +601,8 @@ const pn = /* @__PURE__ */ ee({
|
|
|
599
601
|
}, null, 8, ["label"])
|
|
600
602
|
])
|
|
601
603
|
]),
|
|
602
|
-
default:
|
|
603
|
-
v(
|
|
604
|
+
default: C(() => [
|
|
605
|
+
v(At, {
|
|
604
606
|
modelValue: i.value,
|
|
605
607
|
"onUpdate:modelValue": p[0] || (p[0] = (y) => i.value = y),
|
|
606
608
|
title: u.name,
|
|
@@ -613,7 +615,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
613
615
|
_: 1
|
|
614
616
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
615
617
|
}
|
|
616
|
-
}),
|
|
618
|
+
}), gn = { class: "konnectio-special-offer-availability" }, bn = { class: "konnectio-special-offer-availability-button" }, _n = /* @__PURE__ */ ee({
|
|
617
619
|
__name: "SpecialOffer",
|
|
618
620
|
props: {
|
|
619
621
|
id: {},
|
|
@@ -627,7 +629,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
627
629
|
callback: { type: Function }
|
|
628
630
|
},
|
|
629
631
|
setup(l) {
|
|
630
|
-
const { t } = se(), { updateDates: n } = $e(), { display: o } = $t(), a = l, i = le([]), r = K(() =>
|
|
632
|
+
const { t } = se(), { updateDates: n } = $e(), { display: o } = $t(), a = l, i = le([]), r = K(() => we(a.fromDate, a.toDate) === 1), m = K(() => [{
|
|
631
633
|
large: a.image.url,
|
|
632
634
|
medium: a.image.url,
|
|
633
635
|
thumb: a.image.url,
|
|
@@ -644,23 +646,23 @@ const pn = /* @__PURE__ */ ee({
|
|
|
644
646
|
}
|
|
645
647
|
return it(() => {
|
|
646
648
|
r.value && (i.value = [new Date(a.fromDate), new Date(a.toDate)]);
|
|
647
|
-
}), (c,
|
|
649
|
+
}), (c, k) => (d(), D(Ue, {
|
|
648
650
|
type: "template",
|
|
649
651
|
"listing-id": c.id,
|
|
650
652
|
name: c.name,
|
|
651
653
|
description: c.description,
|
|
652
654
|
gallery: m.value,
|
|
653
|
-
layout: e(
|
|
655
|
+
layout: e(Ct).Template,
|
|
654
656
|
"includes-breakfast": !1,
|
|
655
657
|
"hide-info-button": !1,
|
|
656
658
|
"to-date": c.toDate,
|
|
657
659
|
"from-date": c.fromDate
|
|
658
660
|
}, {
|
|
659
|
-
action:
|
|
660
|
-
s("div",
|
|
661
|
-
v(
|
|
661
|
+
action: C(() => [
|
|
662
|
+
s("div", gn, [
|
|
663
|
+
v(Pt, {
|
|
662
664
|
modelValue: i.value,
|
|
663
|
-
"onUpdate:modelValue":
|
|
665
|
+
"onUpdate:modelValue": k[0] || (k[0] = (_) => i.value = _),
|
|
664
666
|
label: e(t)("availability.checkInOut"),
|
|
665
667
|
placeholder: e(t)("booking.availability.selectDates"),
|
|
666
668
|
"icon-type": "fas",
|
|
@@ -675,15 +677,15 @@ const pn = /* @__PURE__ */ ee({
|
|
|
675
677
|
s("div", bn, [
|
|
676
678
|
v(me, {
|
|
677
679
|
label: e(t)("availability.buttonLabel"),
|
|
678
|
-
onClick:
|
|
680
|
+
onClick: Tt(y, ["prevent"])
|
|
679
681
|
}, null, 8, ["label"])
|
|
680
682
|
])
|
|
681
683
|
])
|
|
682
684
|
]),
|
|
683
|
-
default:
|
|
684
|
-
v(
|
|
685
|
+
default: C(() => [
|
|
686
|
+
v(At, {
|
|
685
687
|
modelValue: u.value,
|
|
686
|
-
"onUpdate:modelValue":
|
|
688
|
+
"onUpdate:modelValue": k[1] || (k[1] = (_) => u.value = _),
|
|
687
689
|
title: c.name,
|
|
688
690
|
"template-id": c.id,
|
|
689
691
|
roomGroups: c.roomGroups,
|
|
@@ -693,7 +695,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
693
695
|
_: 1
|
|
694
696
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
695
697
|
}
|
|
696
|
-
}),
|
|
698
|
+
}), vt = /* @__PURE__ */ ee({
|
|
697
699
|
__name: "TimeField",
|
|
698
700
|
props: {
|
|
699
701
|
modelValue: {},
|
|
@@ -716,9 +718,9 @@ const pn = /* @__PURE__ */ ee({
|
|
|
716
718
|
n("update:modelValue", r);
|
|
717
719
|
}
|
|
718
720
|
const i = le(o.modelValue);
|
|
719
|
-
return
|
|
721
|
+
return Ne(i, (r) => {
|
|
720
722
|
a(r);
|
|
721
|
-
}), (r, m) => (d(),
|
|
723
|
+
}), (r, m) => (d(), D(Pt, {
|
|
722
724
|
modelValue: i.value,
|
|
723
725
|
"onUpdate:modelValue": m[0] || (m[0] = (u) => i.value = u),
|
|
724
726
|
type: "time",
|
|
@@ -755,7 +757,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
755
757
|
get: () => a.modelValue,
|
|
756
758
|
set: (m) => i(m)
|
|
757
759
|
});
|
|
758
|
-
return (m, u) => (d(),
|
|
760
|
+
return (m, u) => (d(), D(Le, {
|
|
759
761
|
modelValue: r.value,
|
|
760
762
|
"onUpdate:modelValue": u[0] || (u[0] = (p) => r.value = p),
|
|
761
763
|
label: m.label,
|
|
@@ -765,16 +767,16 @@ const pn = /* @__PURE__ */ ee({
|
|
|
765
767
|
options: m.options,
|
|
766
768
|
required: m.required
|
|
767
769
|
}, {
|
|
768
|
-
option:
|
|
770
|
+
option: C(({ data: p }) => [
|
|
769
771
|
s("i", {
|
|
770
|
-
class:
|
|
772
|
+
class: Me(["konnectio-flag-icon", p.iso])
|
|
771
773
|
}, null, 2),
|
|
772
774
|
s("span", null, f(p.name), 1)
|
|
773
775
|
]),
|
|
774
|
-
"selected-option":
|
|
776
|
+
"selected-option": C(({ data: p }) => [
|
|
775
777
|
s("div", Vn, [
|
|
776
778
|
s("i", {
|
|
777
|
-
class:
|
|
779
|
+
class: Me(["konnectio-flag-icon", p.iso])
|
|
778
780
|
}, null, 2),
|
|
779
781
|
s("span", null, f(p.name), 1)
|
|
780
782
|
])
|
|
@@ -782,7 +784,7 @@ const pn = /* @__PURE__ */ ee({
|
|
|
782
784
|
_: 1
|
|
783
785
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
784
786
|
}
|
|
785
|
-
}), wn = /* @__PURE__ */ fe(Tn, [["__scopeId", "data-v-1462612d"]]),
|
|
787
|
+
}), wn = /* @__PURE__ */ fe(Tn, [["__scopeId", "data-v-1462612d"]]), Cn = /* @__PURE__ */ ee({
|
|
786
788
|
__name: "NameField",
|
|
787
789
|
props: {
|
|
788
790
|
modelValue: {},
|
|
@@ -804,17 +806,17 @@ const pn = /* @__PURE__ */ ee({
|
|
|
804
806
|
},
|
|
805
807
|
emits: ["update:modelValue", "update:title"],
|
|
806
808
|
setup(l, { emit: t }) {
|
|
807
|
-
const n = l, o = t, a = n.id ||
|
|
809
|
+
const n = l, o = t, a = n.id || mt(), i = le(""), r = le(2);
|
|
808
810
|
function m() {
|
|
809
811
|
o("update:modelValue", i.value);
|
|
810
812
|
}
|
|
811
|
-
|
|
813
|
+
Ne(r, (p) => {
|
|
812
814
|
o("update:title", p);
|
|
813
815
|
});
|
|
814
816
|
const { t: u } = se();
|
|
815
817
|
return it(() => {
|
|
816
818
|
n.modelValue && (i.value = n.modelValue), n.title && (r.value = n.title);
|
|
817
|
-
}), (p, y) => (d(),
|
|
819
|
+
}), (p, y) => (d(), D(Vo, {
|
|
818
820
|
label: p.label,
|
|
819
821
|
id: e(a),
|
|
820
822
|
required: p.required,
|
|
@@ -822,18 +824,18 @@ const pn = /* @__PURE__ */ ee({
|
|
|
822
824
|
readonly: p.readonly,
|
|
823
825
|
limit: p.limit
|
|
824
826
|
}, {
|
|
825
|
-
default:
|
|
827
|
+
default: C(() => [
|
|
826
828
|
s("div", {
|
|
827
|
-
class:
|
|
829
|
+
class: Me([
|
|
828
830
|
"konnectio-name-input",
|
|
829
831
|
{ "no-title": p.excludeTitle }
|
|
830
832
|
])
|
|
831
833
|
}, [
|
|
832
|
-
p.excludeTitle ? w("", !0) : (d(),
|
|
834
|
+
p.excludeTitle ? w("", !0) : (d(), D(Le, {
|
|
833
835
|
key: 0,
|
|
834
836
|
modelValue: r.value,
|
|
835
837
|
"onUpdate:modelValue": y[0] || (y[0] = (c) => r.value = c),
|
|
836
|
-
id: e(
|
|
838
|
+
id: e(mt)(),
|
|
837
839
|
icon: p.icon,
|
|
838
840
|
"icon-color": p.iconColor,
|
|
839
841
|
"icon-type": p.iconType,
|
|
@@ -886,30 +888,30 @@ const pn = /* @__PURE__ */ ee({
|
|
|
886
888
|
_: 1
|
|
887
889
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
888
890
|
}
|
|
889
|
-
}),
|
|
891
|
+
}), $n = /* @__PURE__ */ fe(Cn, [["__scopeId", "data-v-7c44829d"]]), Pn = { class: "hotel-skeleton" }, An = { class: "hotel-skeleton-content" }, Hn = { class: "hotel-skeleton-sidebar" }, Dn = /* @__PURE__ */ ee({
|
|
890
892
|
__name: "HotelSkeleton",
|
|
891
893
|
setup(l) {
|
|
892
894
|
return (t, n) => (d(), h("div", Pn, [
|
|
893
895
|
s("div", An, [
|
|
894
896
|
v(Bo, { hotel: "" }),
|
|
895
|
-
v(Do)
|
|
896
|
-
]),
|
|
897
|
-
s("div", Dn, [
|
|
898
897
|
v(Ho)
|
|
898
|
+
]),
|
|
899
|
+
s("div", Hn, [
|
|
900
|
+
v(Do)
|
|
899
901
|
])
|
|
900
902
|
]));
|
|
901
903
|
}
|
|
902
|
-
}), Sn = /* @__PURE__ */ fe(
|
|
904
|
+
}), Sn = /* @__PURE__ */ fe(Dn, [["__scopeId", "data-v-1bb21da4"]]), In = { id: "booking-availability-container" }, Nn = { id: "booking-availability-controls" };
|
|
903
905
|
const Mn = { key: 1 }, Rn = { key: 0 }, Bn = {
|
|
904
906
|
key: 0,
|
|
905
907
|
id: "booking-availability-packages"
|
|
906
908
|
}, Ln = {
|
|
907
909
|
key: 0,
|
|
908
910
|
class: "konnectio-hotel-availability-title"
|
|
909
|
-
}, Un = { id: "booking-availability-packages-wrapper" }, En = { key: 1 },
|
|
911
|
+
}, Un = { id: "booking-availability-packages-wrapper" }, En = { key: 1 }, Fn = {
|
|
910
912
|
key: 0,
|
|
911
913
|
class: "konnectio-hotel-availability-title"
|
|
912
|
-
},
|
|
914
|
+
}, On = { id: "konnectio-listings" }, Gn = {
|
|
913
915
|
key: 2,
|
|
914
916
|
id: "booking-availability-packages"
|
|
915
917
|
}, qn = { class: "konnectio-hotel-availability-title" }, jn = { id: "booking-availability-packages-wrapper" }, Wn = {
|
|
@@ -953,7 +955,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
953
955
|
styling: {}
|
|
954
956
|
},
|
|
955
957
|
setup(l) {
|
|
956
|
-
const t = fo(() => import("./_-
|
|
958
|
+
const t = fo(() => import("./_-Csc-2ekB.js")), n = l, { t: o } = se(), {
|
|
957
959
|
currentLocation: a,
|
|
958
960
|
templateID: i,
|
|
959
961
|
templateAddons: r,
|
|
@@ -962,15 +964,15 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
962
964
|
isPaymentLoading: p,
|
|
963
965
|
isReservationFormFilled: y,
|
|
964
966
|
travelingFor: c,
|
|
965
|
-
arrivalTime:
|
|
967
|
+
arrivalTime: k,
|
|
966
968
|
departureTime: _,
|
|
967
969
|
name: P,
|
|
968
|
-
nameTitle:
|
|
970
|
+
nameTitle: $,
|
|
969
971
|
email: R,
|
|
970
972
|
phone: L,
|
|
971
973
|
firmName: I,
|
|
972
974
|
postal: V,
|
|
973
|
-
city:
|
|
975
|
+
city: H,
|
|
974
976
|
address: S,
|
|
975
977
|
country: z,
|
|
976
978
|
remark: U,
|
|
@@ -979,33 +981,33 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
979
981
|
roomDisplay: ae,
|
|
980
982
|
hasValidRoomSelection: ie,
|
|
981
983
|
availabilityData: W,
|
|
982
|
-
selectionHasNoAddons:
|
|
983
|
-
isAvailabilityDataAvailable:
|
|
984
|
-
getSelectedPackageRoom:
|
|
985
|
-
selectedPackage:
|
|
986
|
-
isSearchOutdated:
|
|
987
|
-
currentChildren:
|
|
988
|
-
isTemplateReservation:
|
|
989
|
-
newsMails:
|
|
984
|
+
selectionHasNoAddons: ge,
|
|
985
|
+
isAvailabilityDataAvailable: be,
|
|
986
|
+
getSelectedPackageRoom: Pe,
|
|
987
|
+
selectedPackage: Ee,
|
|
988
|
+
isSearchOutdated: Fe,
|
|
989
|
+
currentChildren: _e,
|
|
990
|
+
isTemplateReservation: Ve,
|
|
991
|
+
newsMails: Q
|
|
990
992
|
} = Z(ye()), {
|
|
991
|
-
adults:
|
|
992
|
-
children:
|
|
993
|
-
location:
|
|
994
|
-
arrivalDate:
|
|
995
|
-
departureDate:
|
|
996
|
-
hasHotelLocations:
|
|
997
|
-
} = Z($e()), { isValidHotelId:
|
|
998
|
-
currency:
|
|
999
|
-
enableTracking:
|
|
993
|
+
adults: E,
|
|
994
|
+
children: he,
|
|
995
|
+
location: B,
|
|
996
|
+
arrivalDate: Oe,
|
|
997
|
+
departureDate: Ge,
|
|
998
|
+
hasHotelLocations: Ae
|
|
999
|
+
} = Z($e()), { isValidHotelId: qe, updateDates: re } = $e(), {
|
|
1000
|
+
currency: Te,
|
|
1001
|
+
enableTracking: st,
|
|
1000
1002
|
disableNamePrefix: Rt,
|
|
1001
1003
|
disableTravelingFor: Bt,
|
|
1002
1004
|
disableTravelingForBleasure: Lt,
|
|
1003
1005
|
disableCompanyField: Ut,
|
|
1004
1006
|
hasPaymentGateway: Et,
|
|
1005
|
-
maxAdultAmount:
|
|
1006
|
-
maxChildAmount:
|
|
1007
|
-
defaultAdultAmount:
|
|
1008
|
-
defaultChildAmount:
|
|
1007
|
+
maxAdultAmount: rt,
|
|
1008
|
+
maxChildAmount: dt,
|
|
1009
|
+
defaultAdultAmount: Ft,
|
|
1010
|
+
defaultChildAmount: Ot,
|
|
1009
1011
|
disableNewsletterSignup: Gt
|
|
1010
1012
|
} = Z(ve()), {
|
|
1011
1013
|
hasArrivalDepartureInputs: qt,
|
|
@@ -1015,13 +1017,13 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1015
1017
|
latestArrivalTime: Wt,
|
|
1016
1018
|
earliestDepartureTime: xt,
|
|
1017
1019
|
latestDepartureTime: Kt
|
|
1018
|
-
} = ve(), { beginCheckout: Jt } =
|
|
1020
|
+
} = ve(), { beginCheckout: Jt } = wt(), { display: He } = $t(), {
|
|
1019
1021
|
resetTemplate: zt,
|
|
1020
1022
|
resetDiscountVoucher: Yt,
|
|
1021
1023
|
createReservation: Qt,
|
|
1022
1024
|
fetchMetadata: Xt,
|
|
1023
|
-
fetchAvailabilityData:
|
|
1024
|
-
filterAddons:
|
|
1025
|
+
fetchAvailabilityData: ut,
|
|
1026
|
+
filterAddons: ct
|
|
1025
1027
|
} = ye(), Zt = le(!0), eo = K(() => [
|
|
1026
1028
|
{
|
|
1027
1029
|
id: "availability",
|
|
@@ -1068,38 +1070,38 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1068
1070
|
return Zt.value === !0 ? J.pricesFrom > A.pricesFrom ? -1 : 1 : J.pricesFrom > A.pricesFrom ? 1 : -1;
|
|
1069
1071
|
}
|
|
1070
1072
|
return n.sortBy === "price" ? b.sort(T) : b;
|
|
1071
|
-
}), xe = K(() => n.hideAddons === "yes" ||
|
|
1072
|
-
function
|
|
1073
|
-
xe.value ||
|
|
1073
|
+
}), xe = K(() => n.hideAddons === "yes" || Ve.value && n.hideAddons === "packages" || !Ve.value && n.hideAddons === "rooms");
|
|
1074
|
+
function pt(b) {
|
|
1075
|
+
xe.value || ge.value ? b(2) : b(), Yt();
|
|
1074
1076
|
}
|
|
1075
1077
|
async function no(b, T) {
|
|
1076
1078
|
await Qt(b, T);
|
|
1077
1079
|
}
|
|
1078
1080
|
function lo() {
|
|
1079
|
-
if (isNaN(
|
|
1081
|
+
if (isNaN(B.value) && Ae.value) {
|
|
1080
1082
|
He({
|
|
1081
1083
|
message: o("alert.error.selectHotelId"),
|
|
1082
1084
|
type: "error"
|
|
1083
1085
|
});
|
|
1084
1086
|
return;
|
|
1085
1087
|
}
|
|
1086
|
-
|
|
1088
|
+
ut();
|
|
1087
1089
|
}
|
|
1088
1090
|
function ao(b) {
|
|
1089
|
-
|
|
1091
|
+
st.value && Jt(), xe.value || ge.value ? b(2) : b();
|
|
1090
1092
|
}
|
|
1091
1093
|
function io() {
|
|
1092
|
-
const b =
|
|
1094
|
+
const b = Co("history", {
|
|
1093
1095
|
removeNullishValues: !0
|
|
1094
|
-
}), T = parseInt(b.a), J = parseInt(b.c), A = parseInt(b.hid), N = parseInt(b.n),
|
|
1096
|
+
}), T = parseInt(b.a), J = parseInt(b.c), A = parseInt(b.hid), N = parseInt(b.n), g = b.ci, F = b.co, M = b.id;
|
|
1095
1097
|
let te = !1;
|
|
1096
|
-
if (isNaN(T) || (T >
|
|
1098
|
+
if (isNaN(T) || (T > rt.value ? E.value = rt.value : E.value = T, E.value === Ft.value && (b.a = void 0)), isNaN(J) || (J > dt.value ? he.value = dt.value : he.value = J, he.value === Ot.value && (b.c = void 0)), isNaN(N) || N > 0 && (b.n = void 0), isNaN(A) || (qe(A) ? (B.value = A, te = !0) : He({
|
|
1097
1099
|
message: o("alert.error.hotelIdNotFound"),
|
|
1098
1100
|
type: "error"
|
|
1099
|
-
})),
|
|
1100
|
-
if (
|
|
1101
|
-
const
|
|
1102
|
-
|
|
1101
|
+
})), g && F)
|
|
1102
|
+
if (ht(g) && ht(F)) {
|
|
1103
|
+
const ke = new Date(g), de = new Date(F);
|
|
1104
|
+
ke <= de ? (Oe.value = ke, Ge.value = de) : (b.ci = void 0, b.co = void 0, He({
|
|
1103
1105
|
message: o("alert.error.invalidDateRange"),
|
|
1104
1106
|
type: "error"
|
|
1105
1107
|
}));
|
|
@@ -1108,27 +1110,27 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1108
1110
|
message: o("alert.error.wrongDateFormat"),
|
|
1109
1111
|
type: "error"
|
|
1110
1112
|
});
|
|
1111
|
-
let
|
|
1112
|
-
M && (
|
|
1113
|
+
let X = null;
|
|
1114
|
+
M && (X = M), n.disableDefaultLocation === "yes" && te === !1 ? (B.value = void 0, a.value = void 0) : ut(X);
|
|
1113
1115
|
}
|
|
1114
|
-
return (b, T) => (d(),
|
|
1115
|
-
default:
|
|
1116
|
-
(d(),
|
|
1117
|
-
default:
|
|
1116
|
+
return (b, T) => (d(), D(wo, { styling: b.styling }, {
|
|
1117
|
+
default: C(() => [
|
|
1118
|
+
(d(), D(mo, { onResolve: io }, {
|
|
1119
|
+
default: C(() => [
|
|
1118
1120
|
v(e(t), {
|
|
1119
1121
|
id: "konnectio-hotel-module",
|
|
1120
1122
|
"access-token": b.accessToken,
|
|
1121
1123
|
callback: e(Xt)
|
|
1122
1124
|
}, {
|
|
1123
|
-
default:
|
|
1125
|
+
default: C(() => [
|
|
1124
1126
|
v(So, {
|
|
1125
1127
|
layout: b.headerLayout,
|
|
1126
1128
|
steps: eo.value,
|
|
1127
1129
|
onReset: e(zt)
|
|
1128
1130
|
}, {
|
|
1129
|
-
availability:
|
|
1131
|
+
availability: C(({ next: J }) => [
|
|
1130
1132
|
v(Xe, null, {
|
|
1131
|
-
form:
|
|
1133
|
+
form: C(() => [
|
|
1132
1134
|
s("div", In, [
|
|
1133
1135
|
s("div", Nn, [
|
|
1134
1136
|
v(Lo, {
|
|
@@ -1138,7 +1140,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1138
1140
|
}, null, 8, ["selected-location", "disable-default-location"])
|
|
1139
1141
|
]),
|
|
1140
1142
|
w("", !0),
|
|
1141
|
-
!e(u) && e(
|
|
1143
|
+
!e(u) && e(be) ? (d(), h("div", Mn, [
|
|
1142
1144
|
e(W).roomGroups.length > 0 || e(W).templates.length > 0 || e(W).specialTemplates.length > 0 ? (d(), h("div", Rn, [
|
|
1143
1145
|
e(W).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div", Bn, [
|
|
1144
1146
|
b.onlyShow !== "packages" ? (d(), h("h2", Ln, [
|
|
@@ -1150,28 +1152,28 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1150
1152
|
s("span", null, f(e(o)("booking.availability.packagesTitle")), 1)
|
|
1151
1153
|
])) : w("", !0),
|
|
1152
1154
|
s("ul", Un, [
|
|
1153
|
-
(d(!0), h(
|
|
1155
|
+
(d(!0), h(O, null, j(e(W).templates, ({
|
|
1154
1156
|
id: A,
|
|
1155
1157
|
name: N,
|
|
1156
|
-
templateRoomGroups:
|
|
1157
|
-
image:
|
|
1158
|
+
templateRoomGroups: g,
|
|
1159
|
+
image: F,
|
|
1158
1160
|
description: M,
|
|
1159
1161
|
weekendFee: te
|
|
1160
|
-
}) => (d(),
|
|
1162
|
+
}) => (d(), D(kn, {
|
|
1161
1163
|
key: A,
|
|
1162
1164
|
id: A,
|
|
1163
1165
|
description: M,
|
|
1164
1166
|
name: N,
|
|
1165
|
-
image:
|
|
1167
|
+
image: F,
|
|
1166
1168
|
weekendFee: te,
|
|
1167
|
-
"room-groups":
|
|
1169
|
+
"room-groups": g,
|
|
1168
1170
|
callback: J,
|
|
1169
1171
|
"hide-addons": b.hideAddons === "yes" || b.hideAddons === "packages"
|
|
1170
1172
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1171
1173
|
])
|
|
1172
1174
|
])) : w("", !0),
|
|
1173
1175
|
e(W).roomGroups.length > 0 && b.onlyShow !== "packages" ? (d(), h("div", En, [
|
|
1174
|
-
e(W).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("h2",
|
|
1176
|
+
e(W).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("h2", Fn, [
|
|
1175
1177
|
v(x, {
|
|
1176
1178
|
icon: "house",
|
|
1177
1179
|
type: "fal",
|
|
@@ -1179,8 +1181,8 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1179
1181
|
}),
|
|
1180
1182
|
s("span", null, f(e(o)("booking.availability.roomsTitle")), 1)
|
|
1181
1183
|
])) : w("", !0),
|
|
1182
|
-
s("ul",
|
|
1183
|
-
(d(!0), h(
|
|
1184
|
+
s("ul", On, [
|
|
1185
|
+
(d(!0), h(O, null, j(oo.value, (A, N) => (d(), D(mn, {
|
|
1184
1186
|
room: A,
|
|
1185
1187
|
key: N
|
|
1186
1188
|
}, null, 8, ["room"]))), 128))
|
|
@@ -1196,25 +1198,25 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1196
1198
|
s("span", null, f(e(o)("hotel.specialOffers")), 1)
|
|
1197
1199
|
]),
|
|
1198
1200
|
s("ul", jn, [
|
|
1199
|
-
(d(!0), h(
|
|
1201
|
+
(d(!0), h(O, null, j(e(W).specialTemplates, ({
|
|
1200
1202
|
id: A,
|
|
1201
1203
|
name: N,
|
|
1202
|
-
templateRoomGroups:
|
|
1203
|
-
image:
|
|
1204
|
+
templateRoomGroups: g,
|
|
1205
|
+
image: F,
|
|
1204
1206
|
description: M,
|
|
1205
1207
|
weekendFee: te,
|
|
1206
|
-
fromDate:
|
|
1207
|
-
toDate:
|
|
1208
|
-
}) => (d(),
|
|
1208
|
+
fromDate: X,
|
|
1209
|
+
toDate: ke
|
|
1210
|
+
}) => (d(), D(_n, {
|
|
1209
1211
|
key: A,
|
|
1210
1212
|
id: A,
|
|
1211
1213
|
description: M,
|
|
1212
1214
|
name: N,
|
|
1213
|
-
image:
|
|
1214
|
-
fromDate:
|
|
1215
|
-
toDate:
|
|
1215
|
+
image: F,
|
|
1216
|
+
fromDate: X,
|
|
1217
|
+
toDate: ke,
|
|
1216
1218
|
weekendFee: te,
|
|
1217
|
-
"room-groups":
|
|
1219
|
+
"room-groups": g,
|
|
1218
1220
|
callback: J
|
|
1219
1221
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1220
1222
|
])
|
|
@@ -1234,7 +1236,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1234
1236
|
s("span", null, f(e(o)("booking.availability.nextAvailableDates")), 1)
|
|
1235
1237
|
]),
|
|
1236
1238
|
s("ul", zn, [
|
|
1237
|
-
(d(!0), h(
|
|
1239
|
+
(d(!0), h(O, null, j(e(W).nextAvailableDates, (A, N) => (d(), h("li", { key: N }, [
|
|
1238
1240
|
s("h3", {
|
|
1239
1241
|
title: `${e(oe)(A.fromDate, 0, !0)} - ${e(oe)(A.toDate, 0, !0)}`
|
|
1240
1242
|
}, [
|
|
@@ -1255,13 +1257,13 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1255
1257
|
type: "fal",
|
|
1256
1258
|
color: "header"
|
|
1257
1259
|
}),
|
|
1258
|
-
s("span", null, f(e(o)("booking.availability.pricesFrom")) + ": " + f(e(ne)(A.priceStartFrom, e(
|
|
1260
|
+
s("span", null, f(e(o)("booking.availability.pricesFrom")) + ": " + f(e(ne)(A.priceStartFrom, e(Te))) + " " + f(e(o)("general.perNight")), 1)
|
|
1259
1261
|
])
|
|
1260
1262
|
]),
|
|
1261
1263
|
v(me, {
|
|
1262
1264
|
label: e(o)("booking.availability.selectDates"),
|
|
1263
1265
|
"full-width": "",
|
|
1264
|
-
onClickEvent: (
|
|
1266
|
+
onClickEvent: (g) => e(re)(new Date(A.fromDate), new Date(A.toDate))
|
|
1265
1267
|
}, null, 8, ["label", "onClickEvent"])
|
|
1266
1268
|
]))), 128))
|
|
1267
1269
|
])
|
|
@@ -1275,16 +1277,16 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1275
1277
|
]))
|
|
1276
1278
|
])
|
|
1277
1279
|
]),
|
|
1278
|
-
navigation:
|
|
1279
|
-
e(
|
|
1280
|
+
navigation: C(() => [
|
|
1281
|
+
e(Fe) ? (d(), D(me, {
|
|
1280
1282
|
key: 0,
|
|
1281
1283
|
label: isNaN(e(a)) ? e(o)("availability.buttonLabel") : e(o)("general.searchAgain"),
|
|
1282
1284
|
"is-loading": e(u),
|
|
1283
1285
|
"full-width": "",
|
|
1284
1286
|
onClickEvent: T[1] || (T[1] = (A) => lo())
|
|
1285
|
-
}, null, 8, ["label", "is-loading"])) : (d(),
|
|
1287
|
+
}, null, 8, ["label", "is-loading"])) : (d(), D(me, {
|
|
1286
1288
|
key: 1,
|
|
1287
|
-
label: e(
|
|
1289
|
+
label: e(ge) || xe.value ? e(o)("booking.availability.nextButton") : e(o)("general.chooseAddons"),
|
|
1288
1290
|
disabled: !e(ie),
|
|
1289
1291
|
"full-width": "",
|
|
1290
1292
|
onClickEvent: (A) => ao(J)
|
|
@@ -1293,35 +1295,35 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1293
1295
|
_: 2
|
|
1294
1296
|
}, 1024)
|
|
1295
1297
|
]),
|
|
1296
|
-
addons:
|
|
1297
|
-
e(
|
|
1298
|
+
addons: C(({ next: J, prev: A }) => [
|
|
1299
|
+
e(be) ? (d(), D(Xe, {
|
|
1298
1300
|
key: 0,
|
|
1299
|
-
"prev-callback": () =>
|
|
1301
|
+
"prev-callback": () => pt(A)
|
|
1300
1302
|
}, {
|
|
1301
|
-
form:
|
|
1303
|
+
form: C(() => [
|
|
1302
1304
|
s("form", el, [
|
|
1303
1305
|
s("h2", null, [
|
|
1304
1306
|
s("span", null, f(e(o)("booking.reservation.addons")), 1)
|
|
1305
1307
|
]),
|
|
1306
1308
|
s("div", null, [
|
|
1307
1309
|
isNaN(e(i)) ? (d(), h("div", tl, [
|
|
1308
|
-
(d(!0), h(
|
|
1310
|
+
(d(!0), h(O, null, j(e(ae), (N) => (d(), h("ul", {
|
|
1309
1311
|
key: N.roomGroupID
|
|
1310
1312
|
}, [
|
|
1311
|
-
(d(!0), h(
|
|
1312
|
-
key:
|
|
1313
|
+
(d(!0), h(O, null, j(N.variants, (g, F) => (d(), h("li", {
|
|
1314
|
+
key: g.ratePlanID
|
|
1313
1315
|
}, [
|
|
1314
1316
|
s("h4", null, [
|
|
1315
1317
|
s("span", null, f(e(pe)(N.title)), 1)
|
|
1316
1318
|
]),
|
|
1317
|
-
(d(!0), h(
|
|
1319
|
+
(d(!0), h(O, null, j(g.rooms, (M, te) => (d(), h("table", {
|
|
1318
1320
|
key: te,
|
|
1319
1321
|
class: "konnectio-table with-lines"
|
|
1320
1322
|
}, [
|
|
1321
1323
|
s("thead", null, [
|
|
1322
1324
|
s("tr", null, [
|
|
1323
1325
|
s("th", null, [
|
|
1324
|
-
s("span", null, f(e(pe)(
|
|
1326
|
+
s("span", null, f(e(pe)(g.name)), 1)
|
|
1325
1327
|
]),
|
|
1326
1328
|
w("", !0),
|
|
1327
1329
|
s("th", ol, [
|
|
@@ -1332,7 +1334,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1332
1334
|
color: "font"
|
|
1333
1335
|
}),
|
|
1334
1336
|
s("span", null, f(M.adultsCount), 1),
|
|
1335
|
-
M.childrenCount > 0 ? (d(),
|
|
1337
|
+
M.childrenCount > 0 ? (d(), D(x, {
|
|
1336
1338
|
key: 0,
|
|
1337
1339
|
icon: "child",
|
|
1338
1340
|
type: "fas",
|
|
@@ -1344,30 +1346,30 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1344
1346
|
])
|
|
1345
1347
|
]),
|
|
1346
1348
|
s("tbody", null, [
|
|
1347
|
-
(d(!0), h(
|
|
1348
|
-
quantityStrategy:
|
|
1349
|
-
maximumNumber:
|
|
1349
|
+
(d(!0), h(O, null, j(e(ct)(g.addons, M.childrenCount), ({
|
|
1350
|
+
quantityStrategy: X,
|
|
1351
|
+
maximumNumber: ke,
|
|
1350
1352
|
id: de,
|
|
1351
1353
|
name: so,
|
|
1352
1354
|
price: ro
|
|
1353
1355
|
}) => (d(), h("tr", { key: de }, [
|
|
1354
1356
|
s("td", ll, [
|
|
1355
1357
|
s("b", null, f(e(pe)(so)), 1),
|
|
1356
|
-
s("span", null, f(e(ne)(ro, e(
|
|
1358
|
+
s("span", null, f(e(ne)(ro, e(Te))) + " " + f(e(ft)(X)), 1)
|
|
1357
1359
|
]),
|
|
1358
1360
|
s("td", al, [
|
|
1359
|
-
e(G)[N.roomGroupID][
|
|
1360
|
-
|
|
1361
|
+
e(G)[N.roomGroupID][F].config[M.configIdx].addons[M.roomIdx] ? (d(), h(O, { key: 0 }, [
|
|
1362
|
+
X === 1 || X === 12 ? (d(), D(tt, {
|
|
1361
1363
|
key: 0,
|
|
1362
|
-
modelValue: e(G)[N.roomGroupID][
|
|
1363
|
-
"onUpdate:modelValue": (Ke) => e(G)[N.roomGroupID][
|
|
1364
|
+
modelValue: e(G)[N.roomGroupID][F].config[M.configIdx].addons[M.roomIdx][de],
|
|
1365
|
+
"onUpdate:modelValue": (Ke) => e(G)[N.roomGroupID][F].config[M.configIdx].addons[M.roomIdx][de] = Ke,
|
|
1364
1366
|
small: !0,
|
|
1365
1367
|
"min-value": 0,
|
|
1366
|
-
"max-value":
|
|
1367
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(),
|
|
1368
|
+
"max-value": ke || 1 / 0
|
|
1369
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), D(Ce, {
|
|
1368
1370
|
key: 1,
|
|
1369
|
-
modelValue: e(G)[N.roomGroupID][
|
|
1370
|
-
"onUpdate:modelValue": (Ke) => e(G)[N.roomGroupID][
|
|
1371
|
+
modelValue: e(G)[N.roomGroupID][F].config[M.configIdx].addons[M.roomIdx][de],
|
|
1372
|
+
"onUpdate:modelValue": (Ke) => e(G)[N.roomGroupID][F].config[M.configIdx].addons[M.roomIdx][de] = Ke,
|
|
1371
1373
|
numeric: !0
|
|
1372
1374
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1373
1375
|
], 64)) : w("", !0)
|
|
@@ -1377,45 +1379,45 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1377
1379
|
]))), 128))
|
|
1378
1380
|
]))), 128))
|
|
1379
1381
|
]))), 128))
|
|
1380
|
-
])) : e(
|
|
1382
|
+
])) : e(Pe) ? (d(), h("div", il, [
|
|
1381
1383
|
s("div", null, [
|
|
1382
1384
|
s("h4", null, [
|
|
1383
|
-
s("span", null, f(e(
|
|
1385
|
+
s("span", null, f(e(Ee).name), 1)
|
|
1384
1386
|
]),
|
|
1385
1387
|
s("table", sl, [
|
|
1386
1388
|
s("thead", null, [
|
|
1387
1389
|
s("tr", null, [
|
|
1388
1390
|
s("th", null, [
|
|
1389
|
-
s("span", null, f(e(pe)(e(
|
|
1391
|
+
s("span", null, f(e(pe)(e(Pe).title)), 1)
|
|
1390
1392
|
]),
|
|
1391
1393
|
w("", !0),
|
|
1392
1394
|
T[19] || (T[19] = s("th", { class: "konnectio-event-addons-price" }, null, -1))
|
|
1393
1395
|
])
|
|
1394
1396
|
]),
|
|
1395
1397
|
s("tbody", null, [
|
|
1396
|
-
(d(!0), h(
|
|
1398
|
+
(d(!0), h(O, null, j(e(ct)(e(Pe).addons, e(_e)), ({
|
|
1397
1399
|
quantityStrategy: N,
|
|
1398
|
-
maximumNumber:
|
|
1399
|
-
id:
|
|
1400
|
+
maximumNumber: g,
|
|
1401
|
+
id: F,
|
|
1400
1402
|
name: M,
|
|
1401
1403
|
price: te
|
|
1402
|
-
}) => (d(), h("tr", { key:
|
|
1404
|
+
}) => (d(), h("tr", { key: F }, [
|
|
1403
1405
|
s("td", rl, [
|
|
1404
1406
|
s("b", null, f(e(pe)(M)), 1),
|
|
1405
|
-
s("span", null, f(e(ne)(te, e(
|
|
1407
|
+
s("span", null, f(e(ne)(te, e(Te))) + " " + f(e(ft)(N)), 1)
|
|
1406
1408
|
]),
|
|
1407
1409
|
s("td", dl, [
|
|
1408
|
-
N === 1 || N === 12 ? (d(),
|
|
1410
|
+
N === 1 || N === 12 ? (d(), D(tt, {
|
|
1409
1411
|
key: 0,
|
|
1410
|
-
modelValue: e(r)[
|
|
1411
|
-
"onUpdate:modelValue": (
|
|
1412
|
+
modelValue: e(r)[F],
|
|
1413
|
+
"onUpdate:modelValue": (X) => e(r)[F] = X,
|
|
1412
1414
|
small: !0,
|
|
1413
1415
|
"min-value": 0,
|
|
1414
|
-
"max-value":
|
|
1415
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(),
|
|
1416
|
+
"max-value": g || 1 / 0
|
|
1417
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), D(Ce, {
|
|
1416
1418
|
key: 1,
|
|
1417
|
-
modelValue: e(r)[
|
|
1418
|
-
"onUpdate:modelValue": (
|
|
1419
|
+
modelValue: e(r)[F],
|
|
1420
|
+
"onUpdate:modelValue": (X) => e(r)[F] = X,
|
|
1419
1421
|
numeric: !0
|
|
1420
1422
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1421
1423
|
])
|
|
@@ -1427,7 +1429,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1427
1429
|
])
|
|
1428
1430
|
])
|
|
1429
1431
|
]),
|
|
1430
|
-
navigation:
|
|
1432
|
+
navigation: C(() => [
|
|
1431
1433
|
v(me, {
|
|
1432
1434
|
label: e(o)("general.startReservation"),
|
|
1433
1435
|
"full-width": "",
|
|
@@ -1437,26 +1439,26 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1437
1439
|
_: 2
|
|
1438
1440
|
}, 1032, ["prev-callback"])) : w("", !0)
|
|
1439
1441
|
]),
|
|
1440
|
-
reservation:
|
|
1441
|
-
e(
|
|
1442
|
+
reservation: C(({ next: J, prev: A, reset: N }) => [
|
|
1443
|
+
e(be) ? (d(), D(Xe, {
|
|
1442
1444
|
key: 0,
|
|
1443
|
-
"prev-callback": () =>
|
|
1445
|
+
"prev-callback": () => pt(A),
|
|
1444
1446
|
"show-terms-notice": !0,
|
|
1445
1447
|
"show-gift-card": !0
|
|
1446
1448
|
}, {
|
|
1447
|
-
form:
|
|
1449
|
+
form: C(() => [
|
|
1448
1450
|
s("form", ul, [
|
|
1449
1451
|
s("h2", null, [
|
|
1450
1452
|
s("span", null, f(e(o)("booking.reservation.detailsTitle")), 1)
|
|
1451
1453
|
]),
|
|
1452
1454
|
e(qt)(e(a)) && e(je)(e(a)) && e(We)(e(a)) ? (d(), h("ul", {
|
|
1453
1455
|
key: 0,
|
|
1454
|
-
class:
|
|
1456
|
+
class: Me(["konnectio-reservation-timepicker", { "konnectio-split-inputs": e(je)(e(a)) && e(We)(e(a)) }])
|
|
1455
1457
|
}, [
|
|
1456
1458
|
e(je)(e(a)) ? (d(), h("li", cl, [
|
|
1457
|
-
v(
|
|
1458
|
-
modelValue: e(
|
|
1459
|
-
"onUpdate:modelValue": T[2] || (T[2] = (
|
|
1459
|
+
v(vt, {
|
|
1460
|
+
modelValue: e(k),
|
|
1461
|
+
"onUpdate:modelValue": T[2] || (T[2] = (g) => q(k) ? k.value = g : null),
|
|
1460
1462
|
label: e(o)("booking.reservation.arrivalTime"),
|
|
1461
1463
|
icon: "hourglass-start",
|
|
1462
1464
|
"min-time": e(jt)(e(a)),
|
|
@@ -1465,9 +1467,9 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1465
1467
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1466
1468
|
])) : w("", !0),
|
|
1467
1469
|
e(We)(e(a)) ? (d(), h("li", pl, [
|
|
1468
|
-
v(
|
|
1470
|
+
v(vt, {
|
|
1469
1471
|
modelValue: e(_),
|
|
1470
|
-
"onUpdate:modelValue": T[3] || (T[3] = (
|
|
1472
|
+
"onUpdate:modelValue": T[3] || (T[3] = (g) => q(_) ? _.value = g : null),
|
|
1471
1473
|
label: e(o)("booking.reservation.departureTime"),
|
|
1472
1474
|
icon: "hourglass-end",
|
|
1473
1475
|
"min-time": e(xt)(e(a)),
|
|
@@ -1476,11 +1478,11 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1476
1478
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1477
1479
|
])) : w("", !0)
|
|
1478
1480
|
], 2)) : w("", !0),
|
|
1479
|
-
v(
|
|
1481
|
+
v($n, {
|
|
1480
1482
|
modelValue: e(P),
|
|
1481
|
-
"onUpdate:modelValue": T[4] || (T[4] = (
|
|
1482
|
-
title: e(
|
|
1483
|
-
"onUpdate:title": T[5] || (T[5] = (
|
|
1483
|
+
"onUpdate:modelValue": T[4] || (T[4] = (g) => q(P) ? P.value = g : null),
|
|
1484
|
+
title: e($),
|
|
1485
|
+
"onUpdate:title": T[5] || (T[5] = (g) => q($) ? $.value = g : null),
|
|
1484
1486
|
"exclude-title": e(Rt),
|
|
1485
1487
|
label: e(o)("booking.reservation.name"),
|
|
1486
1488
|
icon: "user-alt",
|
|
@@ -1489,7 +1491,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1489
1491
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1490
1492
|
v(ue, {
|
|
1491
1493
|
modelValue: e(R),
|
|
1492
|
-
"onUpdate:modelValue": T[6] || (T[6] = (
|
|
1494
|
+
"onUpdate:modelValue": T[6] || (T[6] = (g) => q(R) ? R.value = g : null),
|
|
1493
1495
|
type: "email",
|
|
1494
1496
|
name: "email",
|
|
1495
1497
|
autocomplete: "email",
|
|
@@ -1500,18 +1502,18 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1500
1502
|
required: ""
|
|
1501
1503
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1502
1504
|
e(Gt) ? w("", !0) : (d(), h("div", ml, [
|
|
1503
|
-
v(
|
|
1504
|
-
modelValue: e(
|
|
1505
|
-
"onUpdate:modelValue": T[7] || (T[7] = (
|
|
1505
|
+
v(Ce, {
|
|
1506
|
+
modelValue: e(Q),
|
|
1507
|
+
"onUpdate:modelValue": T[7] || (T[7] = (g) => q(Q) ? Q.value = g : null),
|
|
1506
1508
|
type: "checkbox",
|
|
1507
1509
|
name: "newsletter",
|
|
1508
1510
|
label: e(o)("booking.reservation.newsletterSignUp")
|
|
1509
1511
|
}, null, 8, ["modelValue", "label"])
|
|
1510
1512
|
])),
|
|
1511
|
-
e(Ut) ? w("", !0) : (d(),
|
|
1513
|
+
e(Ut) ? w("", !0) : (d(), D(ue, {
|
|
1512
1514
|
key: 2,
|
|
1513
1515
|
modelValue: e(I),
|
|
1514
|
-
"onUpdate:modelValue": T[8] || (T[8] = (
|
|
1516
|
+
"onUpdate:modelValue": T[8] || (T[8] = (g) => q(I) ? I.value = g : null),
|
|
1515
1517
|
type: "text",
|
|
1516
1518
|
name: "firm",
|
|
1517
1519
|
autocomplete: "firm",
|
|
@@ -1519,9 +1521,9 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1519
1521
|
icon: "id-card",
|
|
1520
1522
|
placeholder: e(o)("booking.reservation.companyNamePlaceholder")
|
|
1521
1523
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1522
|
-
v(
|
|
1524
|
+
v(Fo, {
|
|
1523
1525
|
modelValue: e(L),
|
|
1524
|
-
"onUpdate:modelValue": T[9] || (T[9] = (
|
|
1526
|
+
"onUpdate:modelValue": T[9] || (T[9] = (g) => q(L) ? L.value = g : null),
|
|
1525
1527
|
icon: "phone-office",
|
|
1526
1528
|
label: e(o)("booking.reservation.phone"),
|
|
1527
1529
|
placeholder: e(o)("booking.reservation.phonePlaceholder"),
|
|
@@ -1529,7 +1531,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1529
1531
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1530
1532
|
v(wn, {
|
|
1531
1533
|
modelValue: e(z),
|
|
1532
|
-
"onUpdate:modelValue": T[10] || (T[10] = (
|
|
1534
|
+
"onUpdate:modelValue": T[10] || (T[10] = (g) => q(z) ? z.value = g : null),
|
|
1533
1535
|
label: e(o)("booking.reservation.country"),
|
|
1534
1536
|
placeholder: e(o)("booking.reservation.countryPlaceholder"),
|
|
1535
1537
|
options: e(m),
|
|
@@ -1537,7 +1539,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1537
1539
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1538
1540
|
v(ue, {
|
|
1539
1541
|
modelValue: e(S),
|
|
1540
|
-
"onUpdate:modelValue": T[11] || (T[11] = (
|
|
1542
|
+
"onUpdate:modelValue": T[11] || (T[11] = (g) => q(S) ? S.value = g : null),
|
|
1541
1543
|
type: "textarea",
|
|
1542
1544
|
name: "address",
|
|
1543
1545
|
autocomplete: "street-address",
|
|
@@ -1550,7 +1552,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1550
1552
|
s("li", null, [
|
|
1551
1553
|
v(ue, {
|
|
1552
1554
|
modelValue: e(V),
|
|
1553
|
-
"onUpdate:modelValue": T[12] || (T[12] = (
|
|
1555
|
+
"onUpdate:modelValue": T[12] || (T[12] = (g) => q(V) ? V.value = g : null),
|
|
1554
1556
|
type: "text",
|
|
1555
1557
|
name: "postal",
|
|
1556
1558
|
autocomplete: "postal-code",
|
|
@@ -1562,8 +1564,8 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1562
1564
|
]),
|
|
1563
1565
|
s("li", null, [
|
|
1564
1566
|
v(ue, {
|
|
1565
|
-
modelValue: e(
|
|
1566
|
-
"onUpdate:modelValue": T[13] || (T[13] = (
|
|
1567
|
+
modelValue: e(H),
|
|
1568
|
+
"onUpdate:modelValue": T[13] || (T[13] = (g) => q(H) ? H.value = g : null),
|
|
1567
1569
|
type: "text",
|
|
1568
1570
|
name: "city",
|
|
1569
1571
|
autocomplete: "address-level2",
|
|
@@ -1576,7 +1578,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1576
1578
|
]),
|
|
1577
1579
|
v(ue, {
|
|
1578
1580
|
modelValue: e(U),
|
|
1579
|
-
"onUpdate:modelValue": T[14] || (T[14] = (
|
|
1581
|
+
"onUpdate:modelValue": T[14] || (T[14] = (g) => q(U) ? U.value = g : null),
|
|
1580
1582
|
type: "textarea",
|
|
1581
1583
|
label: `${e(o)("booking.reservation.remark")} (${e(o)("booking.reservation.optional")})`,
|
|
1582
1584
|
icon: "info-circle",
|
|
@@ -1584,40 +1586,40 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1584
1586
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1585
1587
|
v(ue, {
|
|
1586
1588
|
modelValue: e(Y),
|
|
1587
|
-
"onUpdate:modelValue": T[15] || (T[15] = (
|
|
1589
|
+
"onUpdate:modelValue": T[15] || (T[15] = (g) => q(Y) ? Y.value = g : null),
|
|
1588
1590
|
type: "textarea",
|
|
1589
1591
|
label: `${e(o)("booking.reservation.allergies")} (${e(o)("booking.reservation.optional")})`,
|
|
1590
1592
|
icon: "allergies",
|
|
1591
1593
|
placeholder: e(o)("booking.reservation.allergiesPlaceholder")
|
|
1592
1594
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1593
|
-
e(Bt) ? w("", !0) : (d(),
|
|
1595
|
+
e(Bt) ? w("", !0) : (d(), D(Io, {
|
|
1594
1596
|
key: 3,
|
|
1595
1597
|
modelValue: e(c),
|
|
1596
|
-
"onUpdate:modelValue": T[16] || (T[16] = (
|
|
1598
|
+
"onUpdate:modelValue": T[16] || (T[16] = (g) => q(c) ? c.value = g : null),
|
|
1597
1599
|
label: `${e(o)("booking.reservation.purposeOfStay")} (${e(o)("booking.reservation.optional")})`,
|
|
1598
1600
|
name: "travelingFor",
|
|
1599
1601
|
checkboxes: to.value
|
|
1600
1602
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1601
1603
|
])
|
|
1602
1604
|
]),
|
|
1603
|
-
navigation:
|
|
1605
|
+
navigation: C(() => [
|
|
1604
1606
|
s("div", null, [
|
|
1605
1607
|
v(me, {
|
|
1606
1608
|
label: e(Et) ? e(o)("booking.reservation.nextButton") : e(o)("general.confirmReservation"),
|
|
1607
1609
|
disabled: !e(y),
|
|
1608
1610
|
"is-loading": e(p),
|
|
1609
1611
|
"full-width": "",
|
|
1610
|
-
onClickEvent: (
|
|
1612
|
+
onClickEvent: (g) => no(J, N)
|
|
1611
1613
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
|
|
1612
1614
|
])
|
|
1613
1615
|
]),
|
|
1614
1616
|
_: 2
|
|
1615
1617
|
}, 1032, ["prev-callback"])) : w("", !0)
|
|
1616
1618
|
]),
|
|
1617
|
-
payment:
|
|
1618
|
-
v(
|
|
1619
|
+
payment: C(() => [
|
|
1620
|
+
v(Oo)
|
|
1619
1621
|
]),
|
|
1620
|
-
confirmation:
|
|
1622
|
+
confirmation: C(() => [
|
|
1621
1623
|
v(No, {
|
|
1622
1624
|
message: e(o)("booking.confirmation.thankYou")
|
|
1623
1625
|
}, null, 8, ["message"])
|
|
@@ -1628,7 +1630,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1628
1630
|
_: 1
|
|
1629
1631
|
}, 8, ["access-token", "callback"])
|
|
1630
1632
|
]),
|
|
1631
|
-
fallback:
|
|
1633
|
+
fallback: C(() => [
|
|
1632
1634
|
v(Sn)
|
|
1633
1635
|
]),
|
|
1634
1636
|
_: 1
|
|
@@ -1637,7 +1639,7 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1637
1639
|
_: 1
|
|
1638
1640
|
}, 8, ["styling"]));
|
|
1639
1641
|
}
|
|
1640
|
-
}),
|
|
1642
|
+
}), yt = /* @__PURE__ */ fe(hl, [["__scopeId", "data-v-77d495ab"]]), vl = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), Ie = /* @__PURE__ */ new Set([
|
|
1641
1643
|
"base",
|
|
1642
1644
|
"meta",
|
|
1643
1645
|
"link",
|
|
@@ -1656,8 +1658,8 @@ const rl = { class: "konnectio-table-addons-information" }, dl = { class: "konne
|
|
|
1656
1658
|
"style",
|
|
1657
1659
|
"script",
|
|
1658
1660
|
"noscript"
|
|
1659
|
-
]),
|
|
1660
|
-
function
|
|
1661
|
+
]), kl = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]), Ht = /* @__PURE__ */ new Set(["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"]), gl = typeof window < "u";
|
|
1662
|
+
function Re(l) {
|
|
1661
1663
|
let t = 9;
|
|
1662
1664
|
for (let n = 0; n < l.length; )
|
|
1663
1665
|
t = Math.imul(t ^ l.charCodeAt(n++), 9 ** 9);
|
|
@@ -1667,17 +1669,17 @@ function ot(l) {
|
|
|
1667
1669
|
if (l._h)
|
|
1668
1670
|
return l._h;
|
|
1669
1671
|
if (l._d)
|
|
1670
|
-
return
|
|
1672
|
+
return Re(l._d);
|
|
1671
1673
|
let t = `${l.tag}:${l.textContent || l.innerHTML || ""}:`;
|
|
1672
1674
|
for (const n in l.props)
|
|
1673
1675
|
t += `${n}:${String(l.props[n])},`;
|
|
1674
|
-
return
|
|
1676
|
+
return Re(t);
|
|
1675
1677
|
}
|
|
1676
1678
|
function bl(l, t) {
|
|
1677
1679
|
return l instanceof Promise ? l.then(t) : t(l);
|
|
1678
1680
|
}
|
|
1679
1681
|
function nt(l, t, n, o) {
|
|
1680
|
-
const a = o ||
|
|
1682
|
+
const a = o || St(
|
|
1681
1683
|
// explicitly check for an object
|
|
1682
1684
|
// @ts-expect-error untyped
|
|
1683
1685
|
typeof t == "object" && typeof t != "function" && !(t instanceof Promise) ? { ...t } : { [l === "script" || l === "noscript" || l === "style" ? "innerHTML" : "textContent"]: t },
|
|
@@ -1689,7 +1691,7 @@ function nt(l, t, n, o) {
|
|
|
1689
1691
|
tag: l,
|
|
1690
1692
|
props: a
|
|
1691
1693
|
};
|
|
1692
|
-
for (const r of
|
|
1694
|
+
for (const r of Ht) {
|
|
1693
1695
|
const m = i.props[r] !== void 0 ? i.props[r] : n[r];
|
|
1694
1696
|
m !== void 0 && ((!(r === "innerHTML" || r === "textContent" || r === "children") || vl.has(i.tag)) && (i[r === "children" ? "innerHTML" : r] = m), delete i.props[r]);
|
|
1695
1697
|
}
|
|
@@ -1708,22 +1710,22 @@ function Dt(l, t, n, o) {
|
|
|
1708
1710
|
}
|
|
1709
1711
|
if (l[i] instanceof Promise)
|
|
1710
1712
|
return l[i].then((r) => (l[i] = r, Dt(l, t, n, a)));
|
|
1711
|
-
if (!t && !
|
|
1713
|
+
if (!t && !Ht.has(i)) {
|
|
1712
1714
|
const r = String(l[i]), m = i.startsWith("data-");
|
|
1713
1715
|
r === "true" || r === "" ? l[i] = m ? "true" : !0 : l[i] || (m && r === "false" ? l[i] = "false" : delete l[i]);
|
|
1714
1716
|
}
|
|
1715
1717
|
}
|
|
1716
1718
|
}
|
|
1717
|
-
function
|
|
1719
|
+
function St(l, t = !1) {
|
|
1718
1720
|
const n = Dt(l, t, Object.keys(l), 0);
|
|
1719
1721
|
return n instanceof Promise ? n.then(() => l) : l;
|
|
1720
1722
|
}
|
|
1721
1723
|
const Vl = 10;
|
|
1722
|
-
function
|
|
1724
|
+
function It(l, t, n) {
|
|
1723
1725
|
for (let o = n; o < t.length; o += 1) {
|
|
1724
1726
|
const a = t[o];
|
|
1725
1727
|
if (a instanceof Promise)
|
|
1726
|
-
return a.then((i) => (t[o] = i,
|
|
1728
|
+
return a.then((i) => (t[o] = i, It(l, t, o)));
|
|
1727
1729
|
Array.isArray(a) ? l.push(...a) : l.push(a);
|
|
1728
1730
|
}
|
|
1729
1731
|
}
|
|
@@ -1745,29 +1747,29 @@ function Tl(l) {
|
|
|
1745
1747
|
if (t.length === 0)
|
|
1746
1748
|
return [];
|
|
1747
1749
|
const o = [];
|
|
1748
|
-
return bl(
|
|
1750
|
+
return bl(It(o, t, 0), () => o.map((a, i) => (a._e = l._i, l.mode && (a._m = l.mode), a._p = (l._i << Vl) + i, a)));
|
|
1749
1751
|
}
|
|
1750
|
-
const
|
|
1752
|
+
const kt = /* @__PURE__ */ new Set(["onload", "onerror", "onabort", "onprogress", "onloadstart"]), gt = {
|
|
1751
1753
|
// tags
|
|
1752
1754
|
base: -10,
|
|
1753
1755
|
title: 10
|
|
1754
|
-
},
|
|
1756
|
+
}, bt = {
|
|
1755
1757
|
// relative scores to their default values
|
|
1756
1758
|
critical: -80,
|
|
1757
1759
|
high: -10,
|
|
1758
1760
|
low: 20
|
|
1759
1761
|
};
|
|
1760
|
-
function
|
|
1762
|
+
function Be(l) {
|
|
1761
1763
|
const t = l.tagPriority;
|
|
1762
1764
|
if (typeof t == "number")
|
|
1763
1765
|
return t;
|
|
1764
1766
|
let n = 100;
|
|
1765
|
-
return l.tag === "meta" ? l.props["http-equiv"] === "content-security-policy" ? n = -30 : l.props.charset ? n = -20 : l.props.name === "viewport" && (n = -15) : l.tag === "link" && l.props.rel === "preconnect" ? n = 20 : l.tag in gt && (n = gt[l.tag]), t && t in
|
|
1767
|
+
return l.tag === "meta" ? l.props["http-equiv"] === "content-security-policy" ? n = -30 : l.props.charset ? n = -20 : l.props.name === "viewport" && (n = -15) : l.tag === "link" && l.props.rel === "preconnect" ? n = 20 : l.tag in gt && (n = gt[l.tag]), t && t in bt ? n + bt[t] : n;
|
|
1766
1768
|
}
|
|
1767
|
-
const wl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }],
|
|
1768
|
-
function
|
|
1769
|
+
const wl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Cl = ["name", "property", "http-equiv"];
|
|
1770
|
+
function Nt(l) {
|
|
1769
1771
|
const { props: t, tag: n } = l;
|
|
1770
|
-
if (
|
|
1772
|
+
if (kl.has(n))
|
|
1771
1773
|
return n;
|
|
1772
1774
|
if (n === "link" && t.rel === "canonical")
|
|
1773
1775
|
return "canonical";
|
|
@@ -1775,13 +1777,13 @@ function It(l) {
|
|
|
1775
1777
|
return "charset";
|
|
1776
1778
|
if (t.id)
|
|
1777
1779
|
return `${n}:id:${t.id}`;
|
|
1778
|
-
for (const o of
|
|
1780
|
+
for (const o of Cl)
|
|
1779
1781
|
if (t[o] !== void 0)
|
|
1780
1782
|
return `${n}:${o}:${t[o]}`;
|
|
1781
1783
|
return !1;
|
|
1782
1784
|
}
|
|
1783
1785
|
const ce = "%separator";
|
|
1784
|
-
function
|
|
1786
|
+
function $l(l, t) {
|
|
1785
1787
|
let n;
|
|
1786
1788
|
if (t === "s" || t === "pageTitle")
|
|
1787
1789
|
n = l.pageTitle;
|
|
@@ -1793,7 +1795,7 @@ function Cl(l, t) {
|
|
|
1793
1795
|
return n !== void 0 ? (n || "").replace(/"/g, '\\"') : void 0;
|
|
1794
1796
|
}
|
|
1795
1797
|
const Pl = new RegExp(`${ce}(?:\\s*${ce})*`, "g");
|
|
1796
|
-
function
|
|
1798
|
+
function Se(l, t, n) {
|
|
1797
1799
|
if (typeof l != "string" || !l.includes("%"))
|
|
1798
1800
|
return l;
|
|
1799
1801
|
let o = l;
|
|
@@ -1808,11 +1810,11 @@ function Ie(l, t, n) {
|
|
|
1808
1810
|
return l = l.replace(/%\w+(?:\.\w+)?/g, (r) => {
|
|
1809
1811
|
if (r === ce || !a.includes(r))
|
|
1810
1812
|
return r;
|
|
1811
|
-
const m =
|
|
1813
|
+
const m = $l(t, r.slice(1));
|
|
1812
1814
|
return m !== void 0 ? m : r;
|
|
1813
1815
|
}).trim(), i && (l.endsWith(ce) && (l = l.slice(0, -ce.length)), l.startsWith(ce) && (l = l.slice(ce.length)), l = l.replace(Pl, n).trim()), l;
|
|
1814
1816
|
}
|
|
1815
|
-
function
|
|
1817
|
+
function _t(l, t) {
|
|
1816
1818
|
return l == null ? t || null : typeof l == "function" ? l(t) : l;
|
|
1817
1819
|
}
|
|
1818
1820
|
async function Al(l, t = {}) {
|
|
@@ -1824,7 +1826,7 @@ async function Al(l, t = {}) {
|
|
|
1824
1826
|
return l._domUpdatePromise || (l._domUpdatePromise = new Promise(async (a) => {
|
|
1825
1827
|
const i = (await l.resolveTags()).map((c) => ({
|
|
1826
1828
|
tag: c,
|
|
1827
|
-
id:
|
|
1829
|
+
id: Ie.has(c.tag) ? ot(c) : c.tag,
|
|
1828
1830
|
shouldRender: !0
|
|
1829
1831
|
}));
|
|
1830
1832
|
let r = l._dom;
|
|
@@ -1833,19 +1835,19 @@ async function Al(l, t = {}) {
|
|
|
1833
1835
|
elMap: { htmlAttrs: n.documentElement, bodyAttrs: n.body }
|
|
1834
1836
|
};
|
|
1835
1837
|
const c = /* @__PURE__ */ new Set();
|
|
1836
|
-
for (const
|
|
1837
|
-
const _ = n[
|
|
1838
|
+
for (const k of ["body", "head"]) {
|
|
1839
|
+
const _ = n[k]?.children;
|
|
1838
1840
|
for (const P of _) {
|
|
1839
|
-
const
|
|
1840
|
-
if (!
|
|
1841
|
+
const $ = P.tagName.toLowerCase();
|
|
1842
|
+
if (!Ie.has($))
|
|
1841
1843
|
continue;
|
|
1842
1844
|
const R = {
|
|
1843
|
-
tag:
|
|
1844
|
-
props: await
|
|
1845
|
-
P.getAttributeNames().reduce((
|
|
1845
|
+
tag: $,
|
|
1846
|
+
props: await St(
|
|
1847
|
+
P.getAttributeNames().reduce((H, S) => ({ ...H, [S]: P.getAttribute(S) }), {})
|
|
1846
1848
|
),
|
|
1847
1849
|
innerHTML: P.innerHTML
|
|
1848
|
-
}, L =
|
|
1850
|
+
}, L = Nt(R);
|
|
1849
1851
|
let I = L, V = 1;
|
|
1850
1852
|
for (; I && c.has(I); )
|
|
1851
1853
|
I = `${L}:${V++}`;
|
|
@@ -1854,41 +1856,41 @@ async function Al(l, t = {}) {
|
|
|
1854
1856
|
}
|
|
1855
1857
|
}
|
|
1856
1858
|
r.pendingSideEffects = { ...r.sideEffects }, r.sideEffects = {};
|
|
1857
|
-
function m(c,
|
|
1858
|
-
const P = `${c}:${
|
|
1859
|
+
function m(c, k, _) {
|
|
1860
|
+
const P = `${c}:${k}`;
|
|
1859
1861
|
r.sideEffects[P] = _, delete r.pendingSideEffects[P];
|
|
1860
1862
|
}
|
|
1861
|
-
function u({ id: c, $el:
|
|
1863
|
+
function u({ id: c, $el: k, tag: _ }) {
|
|
1862
1864
|
const P = _.tag.endsWith("Attrs");
|
|
1863
|
-
if (r.elMap[c] =
|
|
1865
|
+
if (r.elMap[c] = k, P || (_.textContent && _.textContent !== k.textContent && (k.textContent = _.textContent), _.innerHTML && _.innerHTML !== k.innerHTML && (k.innerHTML = _.innerHTML), m(c, "el", () => {
|
|
1864
1866
|
r.elMap[c]?.remove(), delete r.elMap[c];
|
|
1865
1867
|
})), _._eventHandlers)
|
|
1866
|
-
for (const
|
|
1867
|
-
Object.prototype.hasOwnProperty.call(_._eventHandlers,
|
|
1868
|
+
for (const $ in _._eventHandlers)
|
|
1869
|
+
Object.prototype.hasOwnProperty.call(_._eventHandlers, $) && k.getAttribute(`data-${$}`) !== "" && ((_.tag === "bodyAttrs" ? n.defaultView : k).addEventListener(
|
|
1868
1870
|
// onload -> load
|
|
1869
|
-
|
|
1870
|
-
_._eventHandlers[
|
|
1871
|
-
),
|
|
1872
|
-
for (const
|
|
1873
|
-
if (!Object.prototype.hasOwnProperty.call(_.props,
|
|
1871
|
+
$.substring(2),
|
|
1872
|
+
_._eventHandlers[$].bind(k)
|
|
1873
|
+
), k.setAttribute(`data-${$}`, ""));
|
|
1874
|
+
for (const $ in _.props) {
|
|
1875
|
+
if (!Object.prototype.hasOwnProperty.call(_.props, $))
|
|
1874
1876
|
continue;
|
|
1875
|
-
const R = _.props[
|
|
1876
|
-
if (
|
|
1877
|
+
const R = _.props[$], L = `attr:${$}`;
|
|
1878
|
+
if ($ === "class") {
|
|
1877
1879
|
if (!R)
|
|
1878
1880
|
continue;
|
|
1879
1881
|
for (const I of R.split(" "))
|
|
1880
|
-
P && m(c, `${L}:${I}`, () =>
|
|
1881
|
-
} else if (
|
|
1882
|
+
P && m(c, `${L}:${I}`, () => k.classList.remove(I)), !k.classList.contains(I) && k.classList.add(I);
|
|
1883
|
+
} else if ($ === "style") {
|
|
1882
1884
|
if (!R)
|
|
1883
1885
|
continue;
|
|
1884
1886
|
for (const I of R.split(";")) {
|
|
1885
|
-
const V = I.indexOf(":"),
|
|
1886
|
-
m(c, `${L}:${
|
|
1887
|
-
|
|
1888
|
-
}),
|
|
1887
|
+
const V = I.indexOf(":"), H = I.substring(0, V).trim(), S = I.substring(V + 1).trim();
|
|
1888
|
+
m(c, `${L}:${H}`, () => {
|
|
1889
|
+
k.style.removeProperty(H);
|
|
1890
|
+
}), k.style.setProperty(H, S);
|
|
1889
1891
|
}
|
|
1890
1892
|
} else
|
|
1891
|
-
|
|
1893
|
+
k.getAttribute($) !== R && k.setAttribute($, R === !0 ? "" : String(R)), P && m(c, L, () => k.removeAttribute($));
|
|
1892
1894
|
}
|
|
1893
1895
|
}
|
|
1894
1896
|
const p = [], y = {
|
|
@@ -1897,18 +1899,18 @@ async function Al(l, t = {}) {
|
|
|
1897
1899
|
head: void 0
|
|
1898
1900
|
};
|
|
1899
1901
|
for (const c of i) {
|
|
1900
|
-
const { tag:
|
|
1902
|
+
const { tag: k, shouldRender: _, id: P } = c;
|
|
1901
1903
|
if (_) {
|
|
1902
|
-
if (
|
|
1903
|
-
n.title =
|
|
1904
|
+
if (k.tag === "title") {
|
|
1905
|
+
n.title = k.textContent;
|
|
1904
1906
|
continue;
|
|
1905
1907
|
}
|
|
1906
|
-
c.$el = c.$el || r.elMap[P], c.$el ? u(c) :
|
|
1908
|
+
c.$el = c.$el || r.elMap[P], c.$el ? u(c) : Ie.has(k.tag) && p.push(c);
|
|
1907
1909
|
}
|
|
1908
1910
|
}
|
|
1909
1911
|
for (const c of p) {
|
|
1910
|
-
const
|
|
1911
|
-
c.$el = n.createElement(c.tag.tag), u(c), y[
|
|
1912
|
+
const k = c.tag.tagPosition || "head";
|
|
1913
|
+
c.$el = n.createElement(c.tag.tag), u(c), y[k] = y[k] || n.createDocumentFragment(), y[k].appendChild(c.$el);
|
|
1912
1914
|
}
|
|
1913
1915
|
for (const c of i)
|
|
1914
1916
|
await l.hooks.callHook("dom:renderTag", c, n, m);
|
|
@@ -1920,21 +1922,21 @@ async function Al(l, t = {}) {
|
|
|
1920
1922
|
l._domUpdatePromise = void 0, l.dirty = !1;
|
|
1921
1923
|
})), l._domUpdatePromise;
|
|
1922
1924
|
}
|
|
1923
|
-
function
|
|
1925
|
+
function Hl(l, t = {}) {
|
|
1924
1926
|
const n = t.delayFn || ((o) => setTimeout(o, 10));
|
|
1925
1927
|
return l._domDebouncedUpdatePromise = l._domDebouncedUpdatePromise || new Promise((o) => n(() => Al(l, t).then(() => {
|
|
1926
1928
|
delete l._domDebouncedUpdatePromise, o();
|
|
1927
1929
|
})));
|
|
1928
1930
|
}
|
|
1929
1931
|
// @__NO_SIDE_EFFECTS__
|
|
1930
|
-
function
|
|
1932
|
+
function Dl(l) {
|
|
1931
1933
|
return (t) => {
|
|
1932
1934
|
const n = t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1933
1935
|
return n && t.push(JSON.parse(n)), {
|
|
1934
1936
|
mode: "client",
|
|
1935
1937
|
hooks: {
|
|
1936
1938
|
"entries:updated": (o) => {
|
|
1937
|
-
|
|
1939
|
+
Hl(o, l);
|
|
1938
1940
|
}
|
|
1939
1941
|
}
|
|
1940
1942
|
};
|
|
@@ -1947,16 +1949,16 @@ function lt(l, t = {}, n) {
|
|
|
1947
1949
|
}
|
|
1948
1950
|
return t;
|
|
1949
1951
|
}
|
|
1950
|
-
const Sl = { run: (l) => l() }, Il = () => Sl,
|
|
1952
|
+
const Sl = { run: (l) => l() }, Il = () => Sl, Mt = typeof console.createTask < "u" ? console.createTask : Il;
|
|
1951
1953
|
function Nl(l, t) {
|
|
1952
|
-
const n = t.shift(), o =
|
|
1954
|
+
const n = t.shift(), o = Mt(n);
|
|
1953
1955
|
return l.reduce(
|
|
1954
1956
|
(a, i) => a.then(() => o.run(() => i(...t))),
|
|
1955
1957
|
Promise.resolve()
|
|
1956
1958
|
);
|
|
1957
1959
|
}
|
|
1958
1960
|
function Ml(l, t) {
|
|
1959
|
-
const n = t.shift(), o =
|
|
1961
|
+
const n = t.shift(), o = Mt(n);
|
|
1960
1962
|
return Promise.all(l.map((a) => o.run(() => a(...t))));
|
|
1961
1963
|
}
|
|
1962
1964
|
function Ze(l, t) {
|
|
@@ -2072,7 +2074,7 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2072
2074
|
hooks: {
|
|
2073
2075
|
"tag:normalise": ({ tag: l }) => {
|
|
2074
2076
|
l.props.hid && (l.key = l.props.hid, delete l.props.hid), l.props.vmid && (l.key = l.props.vmid, delete l.props.vmid), l.props.key && (l.key = l.props.key, delete l.props.key);
|
|
2075
|
-
const t =
|
|
2077
|
+
const t = Nt(l);
|
|
2076
2078
|
t && !t.startsWith("meta:og:") && !t.startsWith("meta:twitter:") && delete l.key;
|
|
2077
2079
|
const n = t || (l.key ? `${l.tag}:${l.key}` : !1);
|
|
2078
2080
|
n && (l._d = n);
|
|
@@ -2093,10 +2095,10 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2093
2095
|
} else if (o._e === i._e) {
|
|
2094
2096
|
i._duped = i._duped || [], o._d = `${i._d}:${i._duped.length + 1}`, i._duped.push(o);
|
|
2095
2097
|
continue;
|
|
2096
|
-
} else if (
|
|
2098
|
+
} else if (Be(o) > Be(i))
|
|
2097
2099
|
continue;
|
|
2098
2100
|
}
|
|
2099
|
-
if (!(o.innerHTML || o.textContent || Object.keys(o.props).length !== 0) &&
|
|
2101
|
+
if (!(o.innerHTML || o.textContent || Object.keys(o.props).length !== 0) && Ie.has(o.tag)) {
|
|
2100
2102
|
delete t[a];
|
|
2101
2103
|
continue;
|
|
2102
2104
|
}
|
|
@@ -2110,7 +2112,7 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2110
2112
|
l.tags = n, l.tags = l.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
|
|
2111
2113
|
}
|
|
2112
2114
|
}
|
|
2113
|
-
}, El = /* @__PURE__ */ new Set(["script", "link", "bodyAttrs"]),
|
|
2115
|
+
}, El = /* @__PURE__ */ new Set(["script", "link", "bodyAttrs"]), Fl = (l) => ({
|
|
2114
2116
|
hooks: {
|
|
2115
2117
|
"tags:resolve": (t) => {
|
|
2116
2118
|
for (const n of t.tags) {
|
|
@@ -2121,9 +2123,9 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2121
2123
|
if (a[0] !== "o" || a[1] !== "n" || !Object.prototype.hasOwnProperty.call(o, a))
|
|
2122
2124
|
continue;
|
|
2123
2125
|
const i = o[a];
|
|
2124
|
-
typeof i == "function" && (l.ssr &&
|
|
2126
|
+
typeof i == "function" && (l.ssr && kt.has(a) ? o[a] = `this.dataset.${a}fired = true` : delete o[a], n._eventHandlers = n._eventHandlers || {}, n._eventHandlers[a] = i);
|
|
2125
2127
|
}
|
|
2126
|
-
l.ssr && n._eventHandlers && (n.props.src || n.props.href) && (n.key = n.key ||
|
|
2128
|
+
l.ssr && n._eventHandlers && (n.props.src || n.props.href) && (n.key = n.key || Re(n.props.src || n.props.href));
|
|
2127
2129
|
}
|
|
2128
2130
|
},
|
|
2129
2131
|
"dom:renderTag": ({ $el: t, tag: n }) => {
|
|
@@ -2133,14 +2135,14 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2133
2135
|
if (!a.endsWith("fired"))
|
|
2134
2136
|
continue;
|
|
2135
2137
|
const i = a.slice(0, -5);
|
|
2136
|
-
|
|
2138
|
+
kt.has(i) && n._eventHandlers?.[i]?.call(t, new Event(i.substring(2)));
|
|
2137
2139
|
}
|
|
2138
2140
|
}
|
|
2139
2141
|
}
|
|
2140
|
-
}),
|
|
2142
|
+
}), Ol = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), Gl = {
|
|
2141
2143
|
hooks: {
|
|
2142
2144
|
"tag:normalise": ({ tag: l }) => {
|
|
2143
|
-
l.key &&
|
|
2145
|
+
l.key && Ol.has(l.tag) && (l.props["data-hid"] = l._h = Re(l.key));
|
|
2144
2146
|
}
|
|
2145
2147
|
}
|
|
2146
2148
|
}, ql = {
|
|
@@ -2173,7 +2175,7 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2173
2175
|
}
|
|
2174
2176
|
}
|
|
2175
2177
|
l.tags.sort((t, n) => {
|
|
2176
|
-
const o =
|
|
2178
|
+
const o = Be(t), a = Be(n);
|
|
2177
2179
|
return o < a ? -1 : o > a ? 1 : t._p - n._p;
|
|
2178
2180
|
});
|
|
2179
2181
|
}
|
|
@@ -2190,7 +2192,7 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2190
2192
|
for (let r = 0; r < n.length; r += 1)
|
|
2191
2193
|
n[r].tag === "templateParams" && (o = t.tags.splice(r, 1)[0].props, r -= 1);
|
|
2192
2194
|
const a = o || {}, i = a.separator || "|";
|
|
2193
|
-
delete a.separator, a.pageTitle =
|
|
2195
|
+
delete a.separator, a.pageTitle = Se(
|
|
2194
2196
|
// find templateParams
|
|
2195
2197
|
a.pageTitle || n.find((r) => r.tag === "title")?.textContent || "",
|
|
2196
2198
|
a,
|
|
@@ -2201,10 +2203,10 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2201
2203
|
continue;
|
|
2202
2204
|
const m = Wl[r.tag];
|
|
2203
2205
|
if (m && typeof r.props[m] == "string")
|
|
2204
|
-
r.props[m] =
|
|
2206
|
+
r.props[m] = Se(r.props[m], a, i);
|
|
2205
2207
|
else if (r.processTemplateParams || r.tag === "titleTemplate" || r.tag === "title")
|
|
2206
2208
|
for (const u of xl)
|
|
2207
|
-
typeof r[u] == "string" && (r[u] =
|
|
2209
|
+
typeof r[u] == "string" && (r[u] = Se(r[u], a, i));
|
|
2208
2210
|
}
|
|
2209
2211
|
l._templateParams = a, l._separator = i;
|
|
2210
2212
|
},
|
|
@@ -2214,7 +2216,7 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2214
2216
|
const a = t[o];
|
|
2215
2217
|
a.tag === "title" && a.processTemplateParams !== !1 && (n = a);
|
|
2216
2218
|
}
|
|
2217
|
-
n?.textContent && (n.textContent =
|
|
2219
|
+
n?.textContent && (n.textContent = Se(n.textContent, l._templateParams, l._separator));
|
|
2218
2220
|
}
|
|
2219
2221
|
}
|
|
2220
2222
|
}), Jl = {
|
|
@@ -2227,13 +2229,13 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2227
2229
|
i.tag === "title" ? n = i : i.tag === "titleTemplate" && (o = i);
|
|
2228
2230
|
}
|
|
2229
2231
|
if (o && n) {
|
|
2230
|
-
const a =
|
|
2232
|
+
const a = _t(
|
|
2231
2233
|
o.textContent,
|
|
2232
2234
|
n.textContent
|
|
2233
2235
|
);
|
|
2234
2236
|
a !== null ? n.textContent = a || n.textContent : l.tags.splice(l.tags.indexOf(n), 1);
|
|
2235
2237
|
} else if (o) {
|
|
2236
|
-
const a =
|
|
2238
|
+
const a = _t(
|
|
2237
2239
|
o.textContent
|
|
2238
2240
|
);
|
|
2239
2241
|
a !== null && (o.textContent = a, o.tag = "title", o = void 0);
|
|
@@ -2252,14 +2254,14 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2252
2254
|
// @__NO_SIDE_EFFECTS__
|
|
2253
2255
|
function Yl(l = {}) {
|
|
2254
2256
|
const t = Ql(l);
|
|
2255
|
-
return t.use(/* @__PURE__ */
|
|
2257
|
+
return t.use(/* @__PURE__ */ Dl()), t;
|
|
2256
2258
|
}
|
|
2257
|
-
function
|
|
2259
|
+
function Vt(l, t) {
|
|
2258
2260
|
return !l || l === "server" && t || l === "client" && !t;
|
|
2259
2261
|
}
|
|
2260
2262
|
function Ql(l = {}) {
|
|
2261
2263
|
const t = Bl();
|
|
2262
|
-
t.addHooks(l.hooks || {}), l.document = l.document || (
|
|
2264
|
+
t.addHooks(l.hooks || {}), l.document = l.document || (gl ? document : void 0);
|
|
2263
2265
|
const n = !l.document, o = () => {
|
|
2264
2266
|
m.dirty = !0, t.callHook("entries:updated", m);
|
|
2265
2267
|
};
|
|
@@ -2274,7 +2276,7 @@ function Ql(l = {}) {
|
|
|
2274
2276
|
},
|
|
2275
2277
|
use(u) {
|
|
2276
2278
|
const p = typeof u == "function" ? u(m) : u;
|
|
2277
|
-
(!p.key || !r.some((y) => y.key === p.key)) && (r.push(p),
|
|
2279
|
+
(!p.key || !r.some((y) => y.key === p.key)) && (r.push(p), Vt(p.mode, n) && t.addHooks(p.hooks || {}));
|
|
2278
2280
|
},
|
|
2279
2281
|
push(u, p) {
|
|
2280
2282
|
delete p?.head;
|
|
@@ -2283,14 +2285,14 @@ function Ql(l = {}) {
|
|
|
2283
2285
|
input: u,
|
|
2284
2286
|
...p
|
|
2285
2287
|
};
|
|
2286
|
-
return
|
|
2288
|
+
return Vt(y.mode, n) && (i.push(y), o()), {
|
|
2287
2289
|
dispose() {
|
|
2288
2290
|
i = i.filter((c) => c._i !== y._i), o();
|
|
2289
2291
|
},
|
|
2290
2292
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2291
2293
|
patch(c) {
|
|
2292
|
-
for (const
|
|
2293
|
-
|
|
2294
|
+
for (const k of i)
|
|
2295
|
+
k._i === y._i && (k.input = y.input = c);
|
|
2294
2296
|
o();
|
|
2295
2297
|
}
|
|
2296
2298
|
};
|
|
@@ -2302,8 +2304,8 @@ function Ql(l = {}) {
|
|
|
2302
2304
|
const y = p.resolvedInput || p.input;
|
|
2303
2305
|
if (p.resolvedInput = await (p.transform ? p.transform(y) : y), p.resolvedInput)
|
|
2304
2306
|
for (const c of await Tl(p)) {
|
|
2305
|
-
const
|
|
2306
|
-
await t.callHook("tag:normalise",
|
|
2307
|
+
const k = { tag: c, entry: p, resolvedOptions: m.resolvedOptions };
|
|
2308
|
+
await t.callHook("tag:normalise", k), u.tags.push(k.tag);
|
|
2307
2309
|
}
|
|
2308
2310
|
}
|
|
2309
2311
|
return await t.callHook("tags:beforeResolve", u), await t.callHook("tags:resolve", u), await t.callHook("tags:afterResolve", u), u.tags;
|
|
@@ -2313,7 +2315,7 @@ function Ql(l = {}) {
|
|
|
2313
2315
|
return [
|
|
2314
2316
|
Ul,
|
|
2315
2317
|
ql,
|
|
2316
|
-
|
|
2318
|
+
Fl,
|
|
2317
2319
|
Gl,
|
|
2318
2320
|
jl,
|
|
2319
2321
|
Kl,
|
|
@@ -2378,8 +2380,8 @@ class sa extends HTMLElement {
|
|
|
2378
2380
|
this.vueApp.unmount();
|
|
2379
2381
|
}
|
|
2380
2382
|
connectedCallback() {
|
|
2381
|
-
const t =
|
|
2382
|
-
this.vueApp =
|
|
2383
|
+
const t = ko(yt, this.attributes);
|
|
2384
|
+
this.vueApp = go(yt, t), this.vueApp.provide("emitter", ia), this.vueApp.use(aa), this.vueApp.use(la), this.vueApp.use(Mo), this.vueApp.use(bo), this.vueApp.use(Ro), this.vueApp.use(Po), this.vueApp.use($o, { bootstrap: !0 });
|
|
2383
2385
|
const n = document.createElement("div");
|
|
2384
2386
|
this.vueApp.mount(n), this.appendChild(n.children[0]);
|
|
2385
2387
|
}
|