@konnectio/core 4.0.95 → 4.0.97
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-75ouujfn.js → ActionField-BcUUdKMe.js} +2 -2
- package/dist/ActionField-BcUUdKMe.js.br +0 -0
- package/dist/{AvailabilitySkeleton-B2wU57Y_.js → AvailabilitySkeleton-CUR3mhRU.js} +5 -5
- package/dist/AvailabilitySkeleton-CUR3mhRU.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CtL7JgFy.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BqxgKClD.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BqxgKClD.js.br +0 -0
- package/dist/{CheckoutWindow-BW2LLOP1.js → CheckoutWindow-B2kEGnXa.js} +2 -2
- package/dist/CheckoutWindow-B2kEGnXa.js.br +0 -0
- package/dist/{ErrorMessage-BIOzUcZf.js → ErrorMessage-vM7YW1aI.js} +2 -2
- package/dist/ErrorMessage-vM7YW1aI.js.br +0 -0
- package/dist/{EventAvailabilityForm-JUmCQKin.js → EventAvailabilityForm-CyhWsirj.js} +3 -3
- package/dist/EventAvailabilityForm-CyhWsirj.js.br +0 -0
- package/dist/{Field-Btoh6D8R.js → Field-D3mb8C4M.js} +3 -3
- package/dist/Field-D3mb8C4M.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bc5WP2-j.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B3ZmJbU4.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-DF6A5l_L.js → SelectField.vue_vue_type_style_index_0_lang-D_tPh6Yu.js} +1743 -1738
- package/dist/SelectField.vue_vue_type_style_index_0_lang-D_tPh6Yu.js.br +0 -0
- package/dist/{TermsOfService-CNi3QNyf.js → TermsOfService-BRgiWVJW.js} +3 -3
- package/dist/_-NorMriMQ.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-D6Jd6LKN.js → _.vue_vue_type_style_index_0_lang-BzbkZsF2.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/event.js +142 -142
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-ClY1nVIQ.js → giftCard-L-ivII7U.js} +2 -2
- package/dist/giftCard-L-ivII7U.js.br +0 -0
- package/dist/hotel.js +485 -482
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BPhhJrT1.js → masonry.plugin-Dgs5dYxk.js} +6 -6
- package/dist/masonry.plugin-Dgs5dYxk.js.br +0 -0
- package/dist/polyfill.js +91 -91
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-75ouujfn.js.br +0 -0
- package/dist/AvailabilitySkeleton-B2wU57Y_.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CtL7JgFy.js.br +0 -0
- package/dist/CheckoutWindow-BW2LLOP1.js.br +0 -0
- package/dist/ErrorMessage-BIOzUcZf.js.br +0 -0
- package/dist/EventAvailabilityForm-JUmCQKin.js.br +0 -0
- package/dist/Field-Btoh6D8R.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DF6A5l_L.js.br +0 -0
- package/dist/_-DvjoqbLF.js +0 -5
- package/dist/giftCard-ClY1nVIQ.js.br +0 -0
- package/dist/masonry.plugin-BPhhJrT1.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { d as ee, u as
|
|
2
|
-
import { g as ve, b as ye, u as $e, I as W, s as oe, z as we, l as Ye, m as
|
|
3
|
-
import { G as
|
|
4
|
-
import { R as
|
|
5
|
-
import { A as
|
|
6
|
-
import { S as
|
|
7
|
-
import { C as Ce, B as
|
|
8
|
-
import { _ as Pt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-
|
|
9
|
-
const
|
|
10
|
-
const
|
|
1
|
+
import { d as ee, u as re, s as Z, r as se, a as d, b as D, y as uo, i as e, w as C, g as h, e as s, t as m, G as De, H as Je, f as y, j as _, z as j, F as L, 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-BvlSsOyy.js";
|
|
2
|
+
import { g as ve, b as ye, u as $e, I as W, s as oe, z as we, l as Ye, m as ie, 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 ce, 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-D_tPh6Yu.js";
|
|
3
|
+
import { G as Po } from "./style-CYxgAqoT.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-Dgs5dYxk.js";
|
|
5
|
+
import { A as Bo, H as Lo } from "./AvailabilitySkeleton-CUR3mhRU.js";
|
|
6
|
+
import { S as Uo } from "./TermsOfService-BRgiWVJW.js";
|
|
7
|
+
import { C as Ce, B as Eo, P as Oo, a as Fo } from "./CheckoutWindow-B2kEGnXa.js";
|
|
8
|
+
import { _ as Pt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BqxgKClD.js";
|
|
9
|
+
const Go = { key: 0 }, qo = { class: "konnectio-hotel-reservation-warning" }, jo = { class: "konnectio-hotel-reservation-warning" }, xo = { class: "konnectio-hotel-reservation-warning" };
|
|
10
|
+
const Wo = { key: 0 }, Ko = { key: 1 }, Jo = { key: 0 }, zo = { class: "konnectio-reservation-actions" }, Yo = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "konnectio-newsletter-signup"
|
|
13
|
-
},
|
|
13
|
+
}, Qo = { class: "konnectio-hotel-reservation-tooltip" }, Xo = /* @__PURE__ */ ee({
|
|
14
14
|
__name: "HotelReservationForm",
|
|
15
15
|
props: {
|
|
16
16
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -18,7 +18,7 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
18
18
|
prevCallback: {}
|
|
19
19
|
},
|
|
20
20
|
setup(l) {
|
|
21
|
-
const { t } =
|
|
21
|
+
const { t } = re(), {
|
|
22
22
|
disableNewsletterSignup: n,
|
|
23
23
|
currency: o
|
|
24
24
|
} = Z(ve()), {
|
|
@@ -36,28 +36,28 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
36
36
|
currentArrivalDate: P,
|
|
37
37
|
currentDepartureDate: $,
|
|
38
38
|
datesMismatch: R,
|
|
39
|
-
currentLocation:
|
|
40
|
-
locationMismatch:
|
|
41
|
-
newsMails:
|
|
39
|
+
currentLocation: U,
|
|
40
|
+
locationMismatch: N,
|
|
41
|
+
newsMails: V,
|
|
42
42
|
termsOfService: H,
|
|
43
43
|
discountCode: S,
|
|
44
44
|
hasTermOfService: z,
|
|
45
|
-
acceptTerms:
|
|
45
|
+
acceptTerms: E,
|
|
46
46
|
totalTemplateAddonPrice: Y,
|
|
47
47
|
totalRooms: G,
|
|
48
48
|
totalAdults: le,
|
|
49
49
|
totalChildren: ae,
|
|
50
50
|
templateRoomTotalPrice: x,
|
|
51
51
|
weekendFee: ge
|
|
52
|
-
} = Z(ye()), { hasHotelLocations: be } = Z($e()), { removeRoom: Pe, validateDiscountCode: Ee } = ye(), { getHotelLocationName: Oe } = $e(), _e =
|
|
52
|
+
} = Z(ye()), { hasHotelLocations: be } = Z($e()), { removeRoom: Pe, validateDiscountCode: Ee } = ye(), { getHotelLocationName: Oe } = $e(), _e = se(!1);
|
|
53
53
|
function Ve(Q) {
|
|
54
54
|
return Q.reduce((he, { totalPrice: B }) => he + B, 0);
|
|
55
55
|
}
|
|
56
|
-
return (Q,
|
|
57
|
-
const he =
|
|
58
|
-
return d(), D(
|
|
56
|
+
return (Q, O) => {
|
|
57
|
+
const he = po("tooltip");
|
|
58
|
+
return d(), D(Ao, {
|
|
59
59
|
"discount-code": e(S),
|
|
60
|
-
"onUpdate:discountCode":
|
|
60
|
+
"onUpdate:discountCode": O[4] || (O[4] = (B) => q(S) ? S.value = B : null),
|
|
61
61
|
"validate-discount-code": e(Ee),
|
|
62
62
|
"total-price": e(u),
|
|
63
63
|
"weekend-fee": e(ge),
|
|
@@ -66,82 +66,82 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
66
66
|
"is-sidebar-loading": e(v),
|
|
67
67
|
notice: e(t)("hotel.reservationNotice"),
|
|
68
68
|
"prev-callback": Q.prevCallback
|
|
69
|
-
},
|
|
69
|
+
}, uo({
|
|
70
70
|
form: C(() => [
|
|
71
71
|
ze(Q.$slots, "form", {}, void 0, !0)
|
|
72
72
|
]),
|
|
73
73
|
"price-summary": C(() => [
|
|
74
|
-
isNaN(e(c)) && e(p).length > 0 ? (d(!0), h(
|
|
74
|
+
isNaN(e(c)) && e(p).length > 0 ? (d(!0), h(L, { key: 0 }, j(e(p), ({
|
|
75
75
|
roomGroupID: B,
|
|
76
76
|
title: Fe,
|
|
77
77
|
variants: Ge
|
|
78
78
|
}) => (d(), h("div", { key: B }, [
|
|
79
79
|
s("h6", null, [
|
|
80
|
-
s("span", null, m(Fe), 1)
|
|
80
|
+
s("span", null, m(e(ie)(Fe)), 1)
|
|
81
81
|
]),
|
|
82
|
-
(d(!0), h(
|
|
83
|
-
(d(!0), h(
|
|
82
|
+
(d(!0), h(L, null, j(Ge, (Ae, qe) => (d(), h("div", { key: qe }, [
|
|
83
|
+
(d(!0), h(L, null, j(Ae.rooms, (de, Te) => (d(), h("ul", { key: Te }, [
|
|
84
84
|
s("li", null, [
|
|
85
85
|
s("span", null, [
|
|
86
86
|
s("span", null, [
|
|
87
|
-
et(m(e(
|
|
87
|
+
et(m(e(ie)(Ae.name)) + " ( ", 1),
|
|
88
88
|
y(W, {
|
|
89
89
|
icon: "male",
|
|
90
90
|
type: "fas",
|
|
91
91
|
color: "font"
|
|
92
92
|
}),
|
|
93
|
-
s("span", null, m(
|
|
94
|
-
|
|
93
|
+
s("span", null, m(de.adultsCount), 1),
|
|
94
|
+
de.childrenCount > 0 ? (d(), h(L, { key: 0 }, [
|
|
95
95
|
y(W, {
|
|
96
96
|
icon: "child",
|
|
97
97
|
type: "fas",
|
|
98
98
|
color: "font"
|
|
99
99
|
}),
|
|
100
|
-
s("span", null, m(
|
|
101
|
-
], 64)) :
|
|
102
|
-
|
|
100
|
+
s("span", null, m(de.childrenCount), 1)
|
|
101
|
+
], 64)) : _("", !0),
|
|
102
|
+
O[5] || (O[5] = et(") "))
|
|
103
103
|
])
|
|
104
104
|
]),
|
|
105
105
|
s("b", null, [
|
|
106
|
-
s("span", null, m(e(ne)(
|
|
107
|
-
|
|
106
|
+
s("span", null, m(e(ne)(de.totalPrice, e(o))), 1),
|
|
107
|
+
_("", !0)
|
|
108
108
|
])
|
|
109
109
|
]),
|
|
110
|
-
Ve(
|
|
110
|
+
Ve(de.roomAddons) > 0 ? (d(), h("li", Wo, [
|
|
111
111
|
s("span", null, m(e(t)("general.addons")), 1),
|
|
112
|
-
s("b", null, m(e(ne)(Ve(
|
|
113
|
-
])) :
|
|
112
|
+
s("b", null, m(e(ne)(Ve(de.roomAddons), e(o))), 1)
|
|
113
|
+
])) : _("", !0)
|
|
114
114
|
]))), 128))
|
|
115
115
|
]))), 128))
|
|
116
|
-
]))), 128)) :
|
|
117
|
-
e(f) && e(k) ? (d(), h("div",
|
|
116
|
+
]))), 128)) : _("", !0),
|
|
117
|
+
e(f) && e(k) ? (d(), h("div", Ko, [
|
|
118
118
|
s("h6", null, [
|
|
119
|
-
s("span", null, m(e(
|
|
119
|
+
s("span", null, m(e(ie)(e(k).name)), 1)
|
|
120
120
|
]),
|
|
121
121
|
s("div", null, [
|
|
122
122
|
s("ul", null, [
|
|
123
123
|
s("li", null, [
|
|
124
124
|
s("span", null, [
|
|
125
|
-
s("span", null, m(e(
|
|
125
|
+
s("span", null, m(e(ie)(e(f).title)), 1)
|
|
126
126
|
]),
|
|
127
127
|
s("b", null, [
|
|
128
128
|
s("span", null, m(e(ne)(e(x), e(o))), 1)
|
|
129
129
|
])
|
|
130
130
|
]),
|
|
131
|
-
e(Y) ? (d(), h("li",
|
|
131
|
+
e(Y) ? (d(), h("li", Jo, [
|
|
132
132
|
s("span", null, m(e(t)("general.addons")), 1),
|
|
133
133
|
s("b", null, m(e(ne)(e(Y), e(o))), 1)
|
|
134
|
-
])) :
|
|
134
|
+
])) : _("", !0)
|
|
135
135
|
])
|
|
136
136
|
])
|
|
137
|
-
])) :
|
|
137
|
+
])) : _("", !0)
|
|
138
138
|
]),
|
|
139
139
|
actions: C(() => [
|
|
140
|
-
s("ul",
|
|
141
|
-
e(n) ?
|
|
140
|
+
s("ul", zo, [
|
|
141
|
+
e(n) ? _("", !0) : (d(), h("div", Yo, [
|
|
142
142
|
y(Ce, {
|
|
143
|
-
modelValue: e(
|
|
144
|
-
"onUpdate:modelValue":
|
|
143
|
+
modelValue: e(V),
|
|
144
|
+
"onUpdate:modelValue": O[0] || (O[0] = (B) => q(V) ? V.value = B : null),
|
|
145
145
|
type: "checkbox",
|
|
146
146
|
name: "newsletter",
|
|
147
147
|
label: e(t)("booking.reservation.newsletterSignUp")
|
|
@@ -149,13 +149,13 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
149
149
|
])),
|
|
150
150
|
e(z) ? (d(), D(Ce, {
|
|
151
151
|
key: 1,
|
|
152
|
-
modelValue: e(
|
|
153
|
-
"onUpdate:modelValue":
|
|
152
|
+
modelValue: e(E),
|
|
153
|
+
"onUpdate:modelValue": O[2] || (O[2] = (B) => q(E) ? E.value = B : null),
|
|
154
154
|
type: "checkbox",
|
|
155
155
|
name: "terms"
|
|
156
156
|
}, {
|
|
157
157
|
default: C(() => [
|
|
158
|
-
y(e(
|
|
158
|
+
y(e(co), {
|
|
159
159
|
keypath: "general.termsAndConditionsCheckbox",
|
|
160
160
|
tag: "span",
|
|
161
161
|
scope: "global"
|
|
@@ -163,7 +163,7 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
163
163
|
terms: C(() => [
|
|
164
164
|
s("a", {
|
|
165
165
|
class: "konnectio-accept-terms-link",
|
|
166
|
-
onClick:
|
|
166
|
+
onClick: O[1] || (O[1] = Tt((B) => _e.value = !0, ["prevent"]))
|
|
167
167
|
}, [
|
|
168
168
|
s("span", null, m(e(Ye)(e(t)("general.termsAndConditions"))), 1)
|
|
169
169
|
])
|
|
@@ -172,11 +172,11 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
172
172
|
})
|
|
173
173
|
]),
|
|
174
174
|
_: 1
|
|
175
|
-
}, 8, ["modelValue"])) :
|
|
175
|
+
}, 8, ["modelValue"])) : _("", !0),
|
|
176
176
|
ze(Q.$slots, "actions", {}, void 0, !0),
|
|
177
|
-
y(
|
|
177
|
+
y(Uo, {
|
|
178
178
|
modelValue: _e.value,
|
|
179
|
-
"onUpdate:modelValue":
|
|
179
|
+
"onUpdate:modelValue": O[3] || (O[3] = (B) => _e.value = B),
|
|
180
180
|
description: e(H)
|
|
181
181
|
}, null, 8, ["modelValue", "description"])
|
|
182
182
|
])
|
|
@@ -185,9 +185,9 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
185
185
|
ze(Q.$slots, "navigation", {}, void 0, !0)
|
|
186
186
|
]),
|
|
187
187
|
"mobile-under-price": C(() => [
|
|
188
|
-
|
|
188
|
+
O[6] || (O[6] = s("span", null, "For ", -1)),
|
|
189
189
|
s("b", null, m(e(we)(e(P), e($))) + " " + m(e(Ye)(e(we)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1),
|
|
190
|
-
De((d(), h("span",
|
|
190
|
+
De((d(), h("span", Qo, [
|
|
191
191
|
y(W, {
|
|
192
192
|
icon: "circle-info",
|
|
193
193
|
type: "fas"
|
|
@@ -207,28 +207,28 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
207
207
|
]),
|
|
208
208
|
_: 2
|
|
209
209
|
}, [
|
|
210
|
-
isNaN(e(
|
|
210
|
+
isNaN(e(U)) ? void 0 : {
|
|
211
211
|
name: "reservation-summary",
|
|
212
212
|
fn: C(() => [
|
|
213
|
-
e(be) ? (d(), h("li",
|
|
213
|
+
e(be) ? (d(), h("li", Go, [
|
|
214
214
|
s("span", null, m(e(t)("general.location")), 1),
|
|
215
215
|
s("b", null, [
|
|
216
|
-
s("span", null, m(e(Oe)(e(
|
|
217
|
-
De(s("span",
|
|
216
|
+
s("span", null, m(e(Oe)(e(U))), 1),
|
|
217
|
+
De(s("span", qo, [
|
|
218
218
|
y(W, {
|
|
219
219
|
icon: "exclamation-triangle",
|
|
220
220
|
type: "fas"
|
|
221
221
|
})
|
|
222
222
|
], 512), [
|
|
223
|
-
[Je, e(
|
|
223
|
+
[Je, e(N)]
|
|
224
224
|
])
|
|
225
225
|
])
|
|
226
|
-
])) :
|
|
226
|
+
])) : _("", !0),
|
|
227
227
|
s("li", null, [
|
|
228
228
|
s("span", null, m(e(t)("booking.reservation.arrival")), 1),
|
|
229
229
|
s("b", null, [
|
|
230
|
-
s("span", null, m(e(a)(e(
|
|
231
|
-
De(s("span",
|
|
230
|
+
s("span", null, m(e(a)(e(U)) ? `${e(oe)(e(P))}, ${e(i)}` : e(oe)(e(P))), 1),
|
|
231
|
+
De(s("span", jo, [
|
|
232
232
|
y(W, {
|
|
233
233
|
icon: "exclamation-triangle",
|
|
234
234
|
type: "fas"
|
|
@@ -241,8 +241,8 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
241
241
|
s("li", null, [
|
|
242
242
|
s("span", null, m(e(t)("booking.reservation.departure")), 1),
|
|
243
243
|
s("b", null, [
|
|
244
|
-
s("span", null, m(e(a)(e(
|
|
245
|
-
De(s("span",
|
|
244
|
+
s("span", null, m(e(a)(e(U)) ? `${e(oe)(e($))}, ${e(r)}` : e(oe)(e($))), 1),
|
|
245
|
+
De(s("span", xo, [
|
|
246
246
|
y(W, {
|
|
247
247
|
icon: "exclamation-triangle",
|
|
248
248
|
type: "fas"
|
|
@@ -256,19 +256,19 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
256
256
|
s("span", null, m(e(t)("booking.reservation.nights")), 1),
|
|
257
257
|
s("b", null, m(e(we)(e(P), e($))) + " " + m(e(Ye)(e(we)(e(P), e($)) === 1 ? e(t)("booking.reservation.night") : e(t)("booking.reservation.nights"))), 1)
|
|
258
258
|
]),
|
|
259
|
-
e(w) ? (d(!0), h(
|
|
259
|
+
e(w) ? (d(!0), h(L, { key: 1 }, j(e(w), (B) => (d(), h("li", {
|
|
260
260
|
key: B.id
|
|
261
261
|
}, [
|
|
262
262
|
s("span", null, m(`${e(t)("general.discountCode")} (${B.value})`), 1),
|
|
263
263
|
s("b", null, m(B.key), 1)
|
|
264
|
-
]))), 128)) :
|
|
264
|
+
]))), 128)) : _("", !0)
|
|
265
265
|
]),
|
|
266
266
|
key: "0"
|
|
267
267
|
}
|
|
268
268
|
]), 1032, ["discount-code", "validate-discount-code", "total-price", "weekend-fee", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
|
-
}), Xe = /* @__PURE__ */ fe(
|
|
271
|
+
}), Xe = /* @__PURE__ */ fe(Xo, [["__scopeId", "data-v-9f824881"]]), 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({
|
|
272
272
|
__name: "RoomConfigField",
|
|
273
273
|
props: {
|
|
274
274
|
modelValue: {},
|
|
@@ -279,7 +279,7 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
279
279
|
},
|
|
280
280
|
emits: ["update:modelValue"],
|
|
281
281
|
setup(l, { emit: t }) {
|
|
282
|
-
const { t: n } =
|
|
282
|
+
const { t: n } = re(), { currency: o } = Z(ve()), a = t, i = l;
|
|
283
283
|
function r(c) {
|
|
284
284
|
a("update:modelValue", c);
|
|
285
285
|
}
|
|
@@ -301,7 +301,7 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
301
301
|
searchable: !1
|
|
302
302
|
}, {
|
|
303
303
|
option: C(({ data: v }) => [
|
|
304
|
-
s("span",
|
|
304
|
+
s("span", Zo, [
|
|
305
305
|
s("div", null, [
|
|
306
306
|
y(W, {
|
|
307
307
|
icon: "male",
|
|
@@ -309,31 +309,31 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
309
309
|
color: "font"
|
|
310
310
|
}),
|
|
311
311
|
s("span", null, m(`${v.adults}`), 1),
|
|
312
|
-
v.children > 0 ? (d(), h("span",
|
|
312
|
+
v.children > 0 ? (d(), h("span", en, [
|
|
313
313
|
y(W, {
|
|
314
314
|
icon: "child",
|
|
315
315
|
type: "fas",
|
|
316
316
|
color: "font"
|
|
317
317
|
}),
|
|
318
318
|
s("span", null, m(`${v.children}`), 1)
|
|
319
|
-
])) :
|
|
319
|
+
])) : _("", !0)
|
|
320
320
|
]),
|
|
321
321
|
s("span", null, m(`(${e(ne)(v.price, e(o))})`), 1)
|
|
322
322
|
])
|
|
323
323
|
]),
|
|
324
324
|
"selected-option": C(({ data: v }) => [
|
|
325
|
-
s("div",
|
|
326
|
-
s("div",
|
|
325
|
+
s("div", tn, [
|
|
326
|
+
s("div", on, [
|
|
327
327
|
s("div", null, [
|
|
328
|
-
|
|
328
|
+
_("", !0),
|
|
329
329
|
s("span", null, m(`${v.adults} ${v.adults === 1 ? e(n)("general.adult") : e(n)("general.adults")}`), 1)
|
|
330
330
|
]),
|
|
331
|
-
v.children > 0 ? (d(), h("div",
|
|
332
|
-
|
|
331
|
+
v.children > 0 ? (d(), h("div", nn, [
|
|
332
|
+
_("", !0),
|
|
333
333
|
s("span", null, m(`& ${v.children} ${v.children === 1 ? e(n)("general.child") : e(n)("general.children")}`), 1)
|
|
334
|
-
])) :
|
|
334
|
+
])) : _("", !0)
|
|
335
335
|
]),
|
|
336
|
-
s("div",
|
|
336
|
+
s("div", ln, [
|
|
337
337
|
u[1] || (u[1] = s("span", null, null, -1)),
|
|
338
338
|
et(" " + m(`(${e(ne)(v.price, e(o))})`), 1)
|
|
339
339
|
])
|
|
@@ -342,40 +342,40 @@ const xo = { key: 0 }, Wo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
342
342
|
_: 1
|
|
343
343
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
344
344
|
}
|
|
345
|
-
}),
|
|
346
|
-
const
|
|
345
|
+
}), sn = /* @__PURE__ */ fe(an, [["__scopeId", "data-v-69fe83d8"]]), rn = { class: "konnectio-availability-listing-selection" }, dn = { key: 1 }, un = { class: "konnectio-listing-config-body" }, cn = { class: "konnectio-listing-units-body" };
|
|
346
|
+
const pn = /* @__PURE__ */ ee({
|
|
347
347
|
__name: "Hotel",
|
|
348
348
|
props: {
|
|
349
349
|
room: {},
|
|
350
350
|
layout: {}
|
|
351
351
|
},
|
|
352
352
|
setup(l) {
|
|
353
|
-
const { t } =
|
|
354
|
-
function a(
|
|
355
|
-
o.value[
|
|
353
|
+
const { t } = re(), n = l, o = se([]);
|
|
354
|
+
function a(V) {
|
|
355
|
+
o.value[V].config.push({
|
|
356
356
|
id: NaN,
|
|
357
357
|
units: 0,
|
|
358
358
|
addons: []
|
|
359
359
|
});
|
|
360
360
|
}
|
|
361
|
-
const i = K(() => n.room.rates.map((
|
|
362
|
-
label:
|
|
363
|
-
value:
|
|
364
|
-
}))), { hideAvailableRoomAmount: r, autoSelectRateId: p } = Z(ve()), { roomSelect: c } = Z(ye()), { addToCart: u, removeFromCart: v } = wt(), f = (
|
|
361
|
+
const i = K(() => n.room.rates.map((V) => ({
|
|
362
|
+
label: V.name,
|
|
363
|
+
value: V.id
|
|
364
|
+
}))), { hideAvailableRoomAmount: r, autoSelectRateId: p } = Z(ve()), { roomSelect: c } = Z(ye()), { addToCart: u, removeFromCart: v } = wt(), f = (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)), w = (V, H) => f(V, H) ? f(V, H)?.rooms : null, P = (V) => n.room.rates.length > 0 ? n.room.rates.find((H) => H.id === V)?.occupantRates.map((H) => ({
|
|
365
365
|
value: H.index,
|
|
366
366
|
price: H.totalPrice,
|
|
367
367
|
adults: H.adultsCount,
|
|
368
368
|
children: H.childrenCount,
|
|
369
369
|
hasBreakfast: H.hasBreakfast
|
|
370
370
|
})) || [] : [], $ = K(() => n.room.rates.length > 1);
|
|
371
|
-
function R(
|
|
372
|
-
o.value[
|
|
371
|
+
function R(V, H) {
|
|
372
|
+
o.value[V].config[0].id = n.room.rates.find((S) => S.id === H.value)?.occupantRateIndex || NaN;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function U() {
|
|
375
375
|
$.value ? p.value ? o.value.push({
|
|
376
376
|
id: n.room.bestRateMatch || void 0,
|
|
377
377
|
config: [{
|
|
378
|
-
id: n.room.bestRateMatch && !isNaN(n.room.bestRateMatch) ? n.room.rates.find((
|
|
378
|
+
id: n.room.bestRateMatch && !isNaN(n.room.bestRateMatch) ? n.room.rates.find((V) => V.id === n.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
379
379
|
units: 0,
|
|
380
380
|
addons: []
|
|
381
381
|
}]
|
|
@@ -396,13 +396,13 @@ const cn = /* @__PURE__ */ ee({
|
|
|
396
396
|
});
|
|
397
397
|
}
|
|
398
398
|
it(() => {
|
|
399
|
-
|
|
399
|
+
U();
|
|
400
400
|
});
|
|
401
|
-
const
|
|
402
|
-
return Ne(
|
|
403
|
-
H.length > 0 &&
|
|
404
|
-
S.config.forEach((
|
|
405
|
-
const G =
|
|
401
|
+
const N = K(() => JSON.parse(JSON.stringify(o.value)));
|
|
402
|
+
return Ne(N, (V, H) => {
|
|
403
|
+
H.length > 0 && V.forEach((S, z) => {
|
|
404
|
+
S.config.forEach((E, Y) => {
|
|
405
|
+
const G = E.units, le = H[z].config[Y].units;
|
|
406
406
|
G !== le && (G > le ? (o.value[z].config[Y].addons.push({}), u({
|
|
407
407
|
id: n.room.id,
|
|
408
408
|
name: n.room.title,
|
|
@@ -416,58 +416,58 @@ const cn = /* @__PURE__ */ ee({
|
|
|
416
416
|
});
|
|
417
417
|
}, { deep: !0 }), Ne(o, () => {
|
|
418
418
|
c.value[n.room.id] = o.value;
|
|
419
|
-
}, { deep: !0 }), (
|
|
419
|
+
}, { deep: !0 }), (V, H) => (d(), D(Ue, {
|
|
420
420
|
type: "hotel",
|
|
421
|
-
"listing-id":
|
|
422
|
-
gallery:
|
|
423
|
-
name:
|
|
424
|
-
description:
|
|
425
|
-
layout:
|
|
426
|
-
facilities:
|
|
427
|
-
"prices-from":
|
|
421
|
+
"listing-id": V.room.id,
|
|
422
|
+
gallery: V.room.images,
|
|
423
|
+
name: V.room.title,
|
|
424
|
+
description: V.room.description,
|
|
425
|
+
layout: V.layout,
|
|
426
|
+
facilities: V.room.facilities,
|
|
427
|
+
"prices-from": V.room.pricesFrom,
|
|
428
428
|
"includes-breakfast": k.value
|
|
429
429
|
}, {
|
|
430
430
|
action: C(() => [
|
|
431
|
-
s("div",
|
|
432
|
-
(d(!0), h(
|
|
431
|
+
s("div", rn, [
|
|
432
|
+
(d(!0), h(L, null, j(o.value, (S, z) => (d(), h("div", {
|
|
433
433
|
key: S.id,
|
|
434
434
|
class: "konnectio-hotel-room"
|
|
435
435
|
}, [
|
|
436
436
|
$.value ? (d(), D(Le, {
|
|
437
437
|
key: 0,
|
|
438
438
|
modelValue: S.id,
|
|
439
|
-
"onUpdate:modelValue": (
|
|
439
|
+
"onUpdate:modelValue": (E) => S.id = E,
|
|
440
440
|
label: e(t)("hotel.roomVariant"),
|
|
441
441
|
placeholder: e(t)("hotel.chooseARoomVariant"),
|
|
442
442
|
options: i.value,
|
|
443
443
|
searchable: !1,
|
|
444
|
-
onChanged: (
|
|
445
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) :
|
|
446
|
-
S.id ? (d(), h("div",
|
|
447
|
-
(d(!0), h(
|
|
448
|
-
id:
|
|
444
|
+
onChanged: (E) => R(z, E)
|
|
445
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) : _("", !0),
|
|
446
|
+
S.id ? (d(), h("div", dn, [
|
|
447
|
+
(d(!0), h(L, null, j(V.room.rates, ({
|
|
448
|
+
id: E,
|
|
449
449
|
maximumOccupants: Y
|
|
450
450
|
}) => (d(), h("div", {
|
|
451
|
-
key:
|
|
451
|
+
key: E,
|
|
452
452
|
class: "konnectio-listing-action-selective-i"
|
|
453
453
|
}, [
|
|
454
|
-
S.id ===
|
|
454
|
+
S.id === E ? (d(!0), h(L, { key: 0 }, j(S.config, (G, le) => (d(), h("div", {
|
|
455
455
|
key: le,
|
|
456
456
|
class: "konnectio-listing-action-selective"
|
|
457
457
|
}, [
|
|
458
|
-
s("ul",
|
|
459
|
-
y(
|
|
458
|
+
s("ul", un, [
|
|
459
|
+
y(sn, {
|
|
460
460
|
modelValue: G.id,
|
|
461
461
|
"onUpdate:modelValue": (ae) => G.id = ae,
|
|
462
462
|
icon: "male",
|
|
463
463
|
"icon-type": "fas",
|
|
464
464
|
label: e(t)("general.guests"),
|
|
465
465
|
description: Y === 0 ? void 0 : `${e(t)("general.maximumGuests")}: ${Y}`,
|
|
466
|
-
options: P(
|
|
467
|
-
readonly: !(P(
|
|
466
|
+
options: P(E),
|
|
467
|
+
readonly: !(P(E).length > 1)
|
|
468
468
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
469
469
|
]),
|
|
470
|
-
s("ul",
|
|
470
|
+
s("ul", cn, [
|
|
471
471
|
y(tt, {
|
|
472
472
|
modelValue: G.units,
|
|
473
473
|
"onUpdate:modelValue": (ae) => G.units = ae,
|
|
@@ -477,20 +477,20 @@ const cn = /* @__PURE__ */ ee({
|
|
|
477
477
|
"icon-placement": "label",
|
|
478
478
|
label: e(t)("booking.availability.units"),
|
|
479
479
|
minValue: 0,
|
|
480
|
-
"max-value": w(
|
|
480
|
+
"max-value": w(E, G.id) || 1 / 0
|
|
481
481
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
482
482
|
]),
|
|
483
|
-
|
|
484
|
-
]))), 128)) :
|
|
483
|
+
_("", !0)
|
|
484
|
+
]))), 128)) : _("", !0)
|
|
485
485
|
]))), 128))
|
|
486
|
-
])) :
|
|
486
|
+
])) : _("", !0)
|
|
487
487
|
]))), 128))
|
|
488
488
|
])
|
|
489
489
|
]),
|
|
490
490
|
_: 1
|
|
491
491
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
492
492
|
}
|
|
493
|
-
}),
|
|
493
|
+
}), mn = /* @__PURE__ */ fe(pn, [["__scopeId", "data-v-102e8e63"]]), fn = { class: "konnectio-template-side-panel" }, hn = { class: "konnectio-template-side-panel-listings" }, vn = /* @__PURE__ */ ee({
|
|
494
494
|
__name: "Template",
|
|
495
495
|
props: {
|
|
496
496
|
title: {},
|
|
@@ -500,7 +500,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
500
500
|
callback: { type: Function }
|
|
501
501
|
},
|
|
502
502
|
setup(l) {
|
|
503
|
-
const { t } =
|
|
503
|
+
const { t } = re(), { templateID: n, roomGroupID: o, selectionHasNoAddons: a } = Z(ye()), { currency: i } = Z(ve()), { clearRoomSelection: r } = ye(), p = l, c = se(!0), u = K(() => {
|
|
504
504
|
function f(k, w) {
|
|
505
505
|
return c.value === !0 ? k.extraPrice > w.extraPrice ? -1 : 1 : k.extraPrice > w.extraPrice ? 1 : -1;
|
|
506
506
|
}
|
|
@@ -513,27 +513,27 @@ const cn = /* @__PURE__ */ ee({
|
|
|
513
513
|
}
|
|
514
514
|
p.callback(2);
|
|
515
515
|
}
|
|
516
|
-
return (f, k) => (d(), D(
|
|
516
|
+
return (f, k) => (d(), D(Eo, {
|
|
517
517
|
title: f.title,
|
|
518
518
|
subtitle: e(t)("booking.availability.selectATemplateRoom")
|
|
519
519
|
}, {
|
|
520
520
|
default: C(() => [
|
|
521
|
-
s("div",
|
|
522
|
-
s("div",
|
|
523
|
-
(d(!0), h(
|
|
521
|
+
s("div", fn, [
|
|
522
|
+
s("div", hn, [
|
|
523
|
+
(d(!0), h(L, null, j(u.value, ({
|
|
524
524
|
id: w,
|
|
525
525
|
title: P,
|
|
526
526
|
description: $,
|
|
527
527
|
images: R,
|
|
528
|
-
facilities:
|
|
529
|
-
extraPrice:
|
|
528
|
+
facilities: U,
|
|
529
|
+
extraPrice: N
|
|
530
530
|
}) => (d(), D(Ue, {
|
|
531
531
|
type: "hotel",
|
|
532
532
|
key: w,
|
|
533
533
|
"listing-id": w,
|
|
534
534
|
name: P,
|
|
535
535
|
description: $,
|
|
536
|
-
facilities:
|
|
536
|
+
facilities: U,
|
|
537
537
|
gallery: R,
|
|
538
538
|
"includes-breakfast": !1,
|
|
539
539
|
"hide-info-button": !0
|
|
@@ -541,8 +541,8 @@ const cn = /* @__PURE__ */ ee({
|
|
|
541
541
|
action: C(() => [
|
|
542
542
|
s("div", null, [
|
|
543
543
|
y(me, {
|
|
544
|
-
onClickEvent: (
|
|
545
|
-
label: `${e(t)("booking.availability.selectThisRoom")} (${e(ne)(
|
|
544
|
+
onClickEvent: (V) => v(w),
|
|
545
|
+
label: `${e(t)("booking.availability.selectThisRoom")} (${e(ne)(N, e(i))})`,
|
|
546
546
|
"full-width": ""
|
|
547
547
|
}, null, 8, ["onClickEvent", "label"])
|
|
548
548
|
])
|
|
@@ -555,7 +555,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
555
555
|
_: 1
|
|
556
556
|
}, 8, ["title", "subtitle"]));
|
|
557
557
|
}
|
|
558
|
-
}),
|
|
558
|
+
}), yn = /* @__PURE__ */ fe(vn, [["__scopeId", "data-v-d65a8a63"]]), kn = { class: "konnectio-template-select-package" }, gn = /* @__PURE__ */ ee({
|
|
559
559
|
__name: "Template",
|
|
560
560
|
props: {
|
|
561
561
|
id: {},
|
|
@@ -568,7 +568,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
568
568
|
callback: { type: Function }
|
|
569
569
|
},
|
|
570
570
|
setup(l) {
|
|
571
|
-
const { t } =
|
|
571
|
+
const { t } = re(), n = l, o = K(() => n.roomGroups.reduce(
|
|
572
572
|
(c, u) => c < u.extraPrice ? c : u.extraPrice,
|
|
573
573
|
1 / 0
|
|
574
574
|
)), a = K(() => {
|
|
@@ -579,7 +579,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
579
579
|
thumb: n.image.url,
|
|
580
580
|
url: n.image.url
|
|
581
581
|
}];
|
|
582
|
-
}), i =
|
|
582
|
+
}), i = se(!1);
|
|
583
583
|
function r() {
|
|
584
584
|
i.value = !0;
|
|
585
585
|
}
|
|
@@ -598,7 +598,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
598
598
|
"prices-from": o.value
|
|
599
599
|
}, {
|
|
600
600
|
action: C(() => [
|
|
601
|
-
s("div",
|
|
601
|
+
s("div", kn, [
|
|
602
602
|
y(me, {
|
|
603
603
|
onClickEvent: r,
|
|
604
604
|
label: e(t)("booking.availability.selectPackage"),
|
|
@@ -607,7 +607,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
607
607
|
])
|
|
608
608
|
]),
|
|
609
609
|
default: C(() => [
|
|
610
|
-
y(
|
|
610
|
+
y(yn, {
|
|
611
611
|
modelValue: i.value,
|
|
612
612
|
"onUpdate:modelValue": u[0] || (u[0] = (v) => i.value = v),
|
|
613
613
|
title: c.name,
|
|
@@ -620,7 +620,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
620
620
|
_: 1
|
|
621
621
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
622
622
|
}
|
|
623
|
-
}),
|
|
623
|
+
}), bn = { class: "konnectio-special-offer-availability" }, _n = { class: "konnectio-special-offer-availability-button" }, Vn = /* @__PURE__ */ ee({
|
|
624
624
|
__name: "SpecialOffer",
|
|
625
625
|
props: {
|
|
626
626
|
id: {},
|
|
@@ -633,7 +633,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
633
633
|
roomGroups: {}
|
|
634
634
|
},
|
|
635
635
|
setup(l) {
|
|
636
|
-
const { t } =
|
|
636
|
+
const { t } = re(), { updateDates: n } = $e(), { display: o } = $t(), a = l, i = se([]), r = K(() => we(a.fromDate, a.toDate) === 1), p = K(() => [{
|
|
637
637
|
large: a.image.url,
|
|
638
638
|
medium: a.image.url,
|
|
639
639
|
thumb: a.image.url,
|
|
@@ -660,7 +660,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
660
660
|
"from-date": u.fromDate
|
|
661
661
|
}, {
|
|
662
662
|
action: C(() => [
|
|
663
|
-
s("div",
|
|
663
|
+
s("div", bn, [
|
|
664
664
|
y(Pt, {
|
|
665
665
|
modelValue: i.value,
|
|
666
666
|
"onUpdate:modelValue": v[0] || (v[0] = (f) => i.value = f),
|
|
@@ -675,7 +675,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
675
675
|
readonly: r.value,
|
|
676
676
|
range: ""
|
|
677
677
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
678
|
-
s("div",
|
|
678
|
+
s("div", _n, [
|
|
679
679
|
y(me, {
|
|
680
680
|
label: e(t)("availability.buttonLabel"),
|
|
681
681
|
onClick: Tt(c, ["prevent"])
|
|
@@ -708,7 +708,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
708
708
|
function a(r) {
|
|
709
709
|
n("update:modelValue", r);
|
|
710
710
|
}
|
|
711
|
-
const i =
|
|
711
|
+
const i = se(o.modelValue);
|
|
712
712
|
return Ne(i, (r) => {
|
|
713
713
|
a(r);
|
|
714
714
|
}), (r, p) => (d(), D(Pt, {
|
|
@@ -728,7 +728,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
728
728
|
"max-time": r.maxTime
|
|
729
729
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly", "min-time", "max-time"]));
|
|
730
730
|
}
|
|
731
|
-
}),
|
|
731
|
+
}), Tn = { style: { display: "flex", "align-items": "baseline" } }, wn = /* @__PURE__ */ ee({
|
|
732
732
|
__name: "CountryField",
|
|
733
733
|
props: {
|
|
734
734
|
modelValue: {},
|
|
@@ -740,7 +740,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
740
740
|
},
|
|
741
741
|
emits: ["update:modelValue"],
|
|
742
742
|
setup(l, { emit: t }) {
|
|
743
|
-
const { t: n } =
|
|
743
|
+
const { t: n } = re(), o = t, a = l;
|
|
744
744
|
function i(p) {
|
|
745
745
|
o("update:modelValue", p);
|
|
746
746
|
}
|
|
@@ -765,7 +765,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
765
765
|
s("span", null, m(u.name), 1)
|
|
766
766
|
]),
|
|
767
767
|
"selected-option": C(({ data: u }) => [
|
|
768
|
-
s("div",
|
|
768
|
+
s("div", Tn, [
|
|
769
769
|
s("i", {
|
|
770
770
|
class: Me(["konnectio-flag-icon", u.iso])
|
|
771
771
|
}, null, 2),
|
|
@@ -775,7 +775,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
775
775
|
_: 1
|
|
776
776
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
777
777
|
}
|
|
778
|
-
}),
|
|
778
|
+
}), Cn = /* @__PURE__ */ fe(wn, [["__scopeId", "data-v-1462612d"]]), $n = /* @__PURE__ */ ee({
|
|
779
779
|
__name: "NameField",
|
|
780
780
|
props: {
|
|
781
781
|
modelValue: {},
|
|
@@ -797,17 +797,17 @@ const cn = /* @__PURE__ */ ee({
|
|
|
797
797
|
},
|
|
798
798
|
emits: ["update:modelValue", "update:title"],
|
|
799
799
|
setup(l, { emit: t }) {
|
|
800
|
-
const n = l, o = t, a = n.id || mt(), i =
|
|
800
|
+
const n = l, o = t, a = n.id || mt(), i = se(""), r = se(2);
|
|
801
801
|
function p() {
|
|
802
802
|
o("update:modelValue", i.value);
|
|
803
803
|
}
|
|
804
804
|
Ne(r, (u) => {
|
|
805
805
|
o("update:title", u);
|
|
806
806
|
});
|
|
807
|
-
const { t: c } =
|
|
807
|
+
const { t: c } = re();
|
|
808
808
|
return it(() => {
|
|
809
809
|
n.modelValue && (i.value = n.modelValue), n.title && (r.value = n.title);
|
|
810
|
-
}), (u, v) => (d(), D(
|
|
810
|
+
}), (u, v) => (d(), D(Vo, {
|
|
811
811
|
label: u.label,
|
|
812
812
|
id: e(a),
|
|
813
813
|
required: u.required,
|
|
@@ -822,7 +822,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
822
822
|
{ "no-title": u.excludeTitle }
|
|
823
823
|
])
|
|
824
824
|
}, [
|
|
825
|
-
u.excludeTitle ?
|
|
825
|
+
u.excludeTitle ? _("", !0) : (d(), D(Le, {
|
|
826
826
|
key: 0,
|
|
827
827
|
modelValue: r.value,
|
|
828
828
|
"onUpdate:modelValue": v[0] || (v[0] = (f) => r.value = f),
|
|
@@ -857,7 +857,7 @@ const cn = /* @__PURE__ */ ee({
|
|
|
857
857
|
"input-style": u.inputStyle,
|
|
858
858
|
searchable: !1
|
|
859
859
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
860
|
-
y(
|
|
860
|
+
y(ce, {
|
|
861
861
|
modelValue: i.value,
|
|
862
862
|
"onUpdate:modelValue": v[1] || (v[1] = (f) => i.value = f),
|
|
863
863
|
type: "text",
|
|
@@ -879,66 +879,66 @@ const cn = /* @__PURE__ */ ee({
|
|
|
879
879
|
_: 1
|
|
880
880
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
881
881
|
}
|
|
882
|
-
}),
|
|
882
|
+
}), Pn = /* @__PURE__ */ fe($n, [["__scopeId", "data-v-7c44829d"]]), An = { class: "hotel-skeleton" }, Hn = { class: "hotel-skeleton-content" }, Dn = { class: "hotel-skeleton-sidebar" }, Sn = /* @__PURE__ */ ee({
|
|
883
883
|
__name: "HotelSkeleton",
|
|
884
884
|
setup(l) {
|
|
885
|
-
return (t, n) => (d(), h("div",
|
|
886
|
-
s("div", An, [
|
|
887
|
-
y(Ro, { hotel: "" }),
|
|
888
|
-
y(Ao)
|
|
889
|
-
]),
|
|
885
|
+
return (t, n) => (d(), h("div", An, [
|
|
890
886
|
s("div", Hn, [
|
|
887
|
+
y(Bo, { hotel: "" }),
|
|
891
888
|
y(Ho)
|
|
889
|
+
]),
|
|
890
|
+
s("div", Dn, [
|
|
891
|
+
y(Do)
|
|
892
892
|
])
|
|
893
893
|
]));
|
|
894
894
|
}
|
|
895
|
-
}),
|
|
896
|
-
const
|
|
895
|
+
}), In = /* @__PURE__ */ fe(Sn, [["__scopeId", "data-v-1bb21da4"]]), Nn = { id: "booking-availability-container" }, Mn = { id: "booking-availability-controls" };
|
|
896
|
+
const Rn = { key: 1 }, Bn = { key: 0 }, Ln = {
|
|
897
897
|
key: 0,
|
|
898
898
|
id: "booking-availability-packages"
|
|
899
|
-
},
|
|
899
|
+
}, Un = {
|
|
900
900
|
key: 0,
|
|
901
901
|
class: "konnectio-hotel-availability-title"
|
|
902
|
-
},
|
|
902
|
+
}, En = { id: "booking-availability-packages-wrapper" }, On = { key: 1 }, Fn = {
|
|
903
903
|
key: 0,
|
|
904
904
|
class: "konnectio-hotel-availability-title"
|
|
905
|
-
},
|
|
905
|
+
}, Gn = { id: "konnectio-listings" }, qn = {
|
|
906
906
|
key: 2,
|
|
907
907
|
id: "booking-availability-packages"
|
|
908
|
-
},
|
|
908
|
+
}, jn = { class: "konnectio-hotel-availability-title" }, xn = { id: "booking-availability-packages-wrapper" }, Wn = {
|
|
909
909
|
key: 3,
|
|
910
910
|
id: "booking-availability-no-listings",
|
|
911
911
|
class: "konnectio-panel"
|
|
912
|
-
},
|
|
912
|
+
}, Kn = {
|
|
913
913
|
key: 1,
|
|
914
914
|
id: "booking-availability-no-listings"
|
|
915
|
-
},
|
|
915
|
+
}, Jn = {
|
|
916
916
|
key: 2,
|
|
917
917
|
id: "reservation-availability-next-dates"
|
|
918
|
-
},
|
|
918
|
+
}, zn = { class: "konnectio-hotel-availability-title" }, Yn = { class: "reservation-special-offers-grid" }, Qn = ["title"], Xn = { key: 0 }, Zn = {
|
|
919
919
|
key: 2,
|
|
920
920
|
class: "konnectio-panel"
|
|
921
|
-
},
|
|
921
|
+
}, el = {
|
|
922
922
|
key: 3,
|
|
923
923
|
class: "konnectio-listing-loading"
|
|
924
|
-
},
|
|
924
|
+
}, tl = { class: "konnectio-panel" }, ol = {
|
|
925
925
|
key: 0,
|
|
926
926
|
id: "konnectio-hotel-addons"
|
|
927
|
-
};
|
|
928
|
-
const
|
|
927
|
+
}, nl = { key: 0 };
|
|
928
|
+
const ll = { class: "konnectio-event-addons-price" }, al = { key: 1 }, il = { class: "konnectio-table-addons-information" }, sl = { class: "konnectio-table-addons-option" }, rl = {
|
|
929
929
|
key: 1,
|
|
930
930
|
id: "konnectio-hotel-addons"
|
|
931
|
-
},
|
|
932
|
-
const
|
|
931
|
+
}, dl = { class: "konnectio-table with-lines" };
|
|
932
|
+
const ul = { class: "konnectio-table-addons-information" }, cl = { class: "konnectio-table-addons-option" }, pl = { class: "konnectio-panel" }, ml = { key: 0 }, fl = { key: 1 }, hl = {
|
|
933
933
|
key: 1,
|
|
934
934
|
class: "konnectio-show-on-mobile"
|
|
935
|
-
},
|
|
936
|
-
const
|
|
935
|
+
}, vl = { class: "konnectio-split-inputs" };
|
|
936
|
+
const yl = /* @__PURE__ */ ee({
|
|
937
937
|
name: "HotelLayout",
|
|
938
938
|
__name: "Hotel",
|
|
939
939
|
props: {
|
|
940
940
|
accessToken: {},
|
|
941
|
-
headerLayout: { default:
|
|
941
|
+
headerLayout: { default: To.Minimal },
|
|
942
942
|
onlyShow: { default: "everything" },
|
|
943
943
|
hideAddons: { default: "no" },
|
|
944
944
|
disableDefaultLocation: { default: "no" },
|
|
@@ -947,7 +947,7 @@ const hl = /* @__PURE__ */ ee({
|
|
|
947
947
|
styling: {}
|
|
948
948
|
},
|
|
949
949
|
setup(l) {
|
|
950
|
-
const t =
|
|
950
|
+
const t = fo(() => import("./_-NorMriMQ.js")), n = l, { t: o } = re(), {
|
|
951
951
|
currentLocation: a,
|
|
952
952
|
templateID: i,
|
|
953
953
|
templateAddons: r,
|
|
@@ -961,13 +961,13 @@ const hl = /* @__PURE__ */ ee({
|
|
|
961
961
|
name: P,
|
|
962
962
|
nameTitle: $,
|
|
963
963
|
email: R,
|
|
964
|
-
phone:
|
|
965
|
-
firmName:
|
|
966
|
-
postal:
|
|
964
|
+
phone: U,
|
|
965
|
+
firmName: N,
|
|
966
|
+
postal: V,
|
|
967
967
|
city: H,
|
|
968
968
|
address: S,
|
|
969
969
|
country: z,
|
|
970
|
-
remark:
|
|
970
|
+
remark: E,
|
|
971
971
|
allergies: Y,
|
|
972
972
|
roomSelect: G,
|
|
973
973
|
roomDisplay: le,
|
|
@@ -982,13 +982,13 @@ const hl = /* @__PURE__ */ ee({
|
|
|
982
982
|
isTemplateReservation: Ve,
|
|
983
983
|
newsMails: Q
|
|
984
984
|
} = Z(ye()), {
|
|
985
|
-
adults:
|
|
985
|
+
adults: O,
|
|
986
986
|
children: he,
|
|
987
987
|
location: B,
|
|
988
988
|
arrivalDate: Fe,
|
|
989
989
|
departureDate: Ge,
|
|
990
990
|
hasHotelLocations: Ae
|
|
991
|
-
} = Z($e()), { isValidHotelId: qe, updateDates:
|
|
991
|
+
} = Z($e()), { isValidHotelId: qe, updateDates: de } = $e(), {
|
|
992
992
|
currency: Te,
|
|
993
993
|
enableTracking: st,
|
|
994
994
|
disableNamePrefix: Mt,
|
|
@@ -1015,8 +1015,9 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1015
1015
|
createReservation: Yt,
|
|
1016
1016
|
fetchMetadata: Qt,
|
|
1017
1017
|
fetchAvailabilityData: ut,
|
|
1018
|
-
filterAddons: ct
|
|
1019
|
-
|
|
1018
|
+
filterAddons: ct,
|
|
1019
|
+
hasAvailableRoomAddons: Xt
|
|
1020
|
+
} = ye(), Zt = se(!0), eo = K(() => [
|
|
1020
1021
|
{
|
|
1021
1022
|
id: "availability",
|
|
1022
1023
|
label: o("booking.availability.title"),
|
|
@@ -1041,7 +1042,7 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1041
1042
|
label: o("booking.confirmation.title"),
|
|
1042
1043
|
icon: "calendar-check"
|
|
1043
1044
|
}
|
|
1044
|
-
]),
|
|
1045
|
+
]), to = K(() => {
|
|
1045
1046
|
const b = [
|
|
1046
1047
|
{
|
|
1047
1048
|
label: o("booking.reservation.business"),
|
|
@@ -1056,20 +1057,20 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1056
1057
|
label: o("booking.reservation.bleasure"),
|
|
1057
1058
|
value: "Bleasure"
|
|
1058
1059
|
}), b;
|
|
1059
|
-
}),
|
|
1060
|
+
}), oo = K(() => {
|
|
1060
1061
|
const b = x.value.roomGroups.slice();
|
|
1061
|
-
function
|
|
1062
|
-
return
|
|
1062
|
+
function T(J, A) {
|
|
1063
|
+
return Zt.value === !0 ? J.pricesFrom > A.pricesFrom ? -1 : 1 : J.pricesFrom > A.pricesFrom ? 1 : -1;
|
|
1063
1064
|
}
|
|
1064
|
-
return n.sortBy === "price" ? b.sort(
|
|
1065
|
+
return n.sortBy === "price" ? b.sort(T) : b;
|
|
1065
1066
|
}), We = K(() => n.hideAddons === "yes" || Ve.value && n.hideAddons === "packages" || !Ve.value && n.hideAddons === "rooms");
|
|
1066
1067
|
function pt(b) {
|
|
1067
1068
|
We.value || ge.value ? b(2) : b(), zt();
|
|
1068
1069
|
}
|
|
1069
|
-
async function
|
|
1070
|
-
await Yt(b,
|
|
1070
|
+
async function no(b, T) {
|
|
1071
|
+
await Yt(b, T);
|
|
1071
1072
|
}
|
|
1072
|
-
function
|
|
1073
|
+
function lo() {
|
|
1073
1074
|
if (isNaN(B.value) && Ae.value) {
|
|
1074
1075
|
He({
|
|
1075
1076
|
message: o("alert.error.selectHotelId"),
|
|
@@ -1079,21 +1080,21 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1079
1080
|
}
|
|
1080
1081
|
ut();
|
|
1081
1082
|
}
|
|
1082
|
-
function
|
|
1083
|
+
function ao(b) {
|
|
1083
1084
|
st.value && Kt(), We.value || ge.value ? b(2) : b();
|
|
1084
1085
|
}
|
|
1085
|
-
function
|
|
1086
|
-
const b =
|
|
1086
|
+
function io() {
|
|
1087
|
+
const b = Co("history", {
|
|
1087
1088
|
removeNullishValues: !0
|
|
1088
|
-
}),
|
|
1089
|
+
}), T = parseInt(b.a), J = parseInt(b.c), A = parseInt(b.hid), I = parseInt(b.n), g = b.ci, F = b.co, M = b.id;
|
|
1089
1090
|
let te = !1;
|
|
1090
|
-
if (isNaN(
|
|
1091
|
+
if (isNaN(T) || (T > rt.value ? O.value = rt.value : O.value = T, O.value === Et.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(I) || I > 0 && (b.n = void 0), isNaN(A) || (qe(A) ? (B.value = A, te = !0) : He({
|
|
1091
1092
|
message: o("alert.error.hotelIdNotFound"),
|
|
1092
1093
|
type: "error"
|
|
1093
|
-
})), g &&
|
|
1094
|
-
if (ht(g) && ht(
|
|
1095
|
-
const ke = new Date(g),
|
|
1096
|
-
ke <=
|
|
1094
|
+
})), g && F)
|
|
1095
|
+
if (ht(g) && ht(F)) {
|
|
1096
|
+
const ke = new Date(g), ue = new Date(F);
|
|
1097
|
+
ke <= ue ? (Fe.value = ke, Ge.value = ue) : (b.ci = void 0, b.co = void 0, He({
|
|
1097
1098
|
message: o("alert.error.invalidDateRange"),
|
|
1098
1099
|
type: "error"
|
|
1099
1100
|
}));
|
|
@@ -1105,9 +1106,9 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1105
1106
|
let X = null;
|
|
1106
1107
|
M && (X = M), n.disableDefaultLocation === "yes" && te === !1 ? (B.value = void 0, a.value = void 0) : ut(X);
|
|
1107
1108
|
}
|
|
1108
|
-
return (b,
|
|
1109
|
+
return (b, T) => (d(), D(wo, { styling: b.styling }, {
|
|
1109
1110
|
default: C(() => [
|
|
1110
|
-
(d(), D(
|
|
1111
|
+
(d(), D(mo, { onResolve: io }, {
|
|
1111
1112
|
default: C(() => [
|
|
1112
1113
|
y(e(t), {
|
|
1113
1114
|
id: "konnectio-hotel-module",
|
|
@@ -1115,73 +1116,73 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1115
1116
|
callback: e(Qt)
|
|
1116
1117
|
}, {
|
|
1117
1118
|
default: C(() => [
|
|
1118
|
-
y(
|
|
1119
|
+
y(So, {
|
|
1119
1120
|
layout: b.headerLayout,
|
|
1120
|
-
steps:
|
|
1121
|
+
steps: eo.value,
|
|
1121
1122
|
onReset: e(Jt)
|
|
1122
1123
|
}, {
|
|
1123
1124
|
availability: C(({ next: J }) => [
|
|
1124
1125
|
y(Xe, null, {
|
|
1125
1126
|
form: C(() => [
|
|
1126
|
-
s("div",
|
|
1127
|
-
s("div",
|
|
1128
|
-
y(
|
|
1127
|
+
s("div", Nn, [
|
|
1128
|
+
s("div", Mn, [
|
|
1129
|
+
y(Lo, {
|
|
1129
1130
|
booking: !0,
|
|
1130
1131
|
"selected-location": Number(b.selectedLocation),
|
|
1131
1132
|
"disable-default-location": b.disableDefaultLocation === "yes"
|
|
1132
1133
|
}, null, 8, ["selected-location", "disable-default-location"])
|
|
1133
1134
|
]),
|
|
1134
|
-
|
|
1135
|
-
!e(c) && e(be) ? (d(), h("div",
|
|
1136
|
-
e(x).roomGroups.length > 0 || e(x).templates.length > 0 || e(x).specialTemplates.length > 0 ? (d(), h("div",
|
|
1137
|
-
e(x).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div",
|
|
1138
|
-
b.onlyShow !== "packages" ? (d(), h("h2",
|
|
1135
|
+
_("", !0),
|
|
1136
|
+
!e(c) && e(be) ? (d(), h("div", Rn, [
|
|
1137
|
+
e(x).roomGroups.length > 0 || e(x).templates.length > 0 || e(x).specialTemplates.length > 0 ? (d(), h("div", Bn, [
|
|
1138
|
+
e(x).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div", Ln, [
|
|
1139
|
+
b.onlyShow !== "packages" ? (d(), h("h2", Un, [
|
|
1139
1140
|
y(W, {
|
|
1140
1141
|
icon: "box",
|
|
1141
1142
|
type: "fal",
|
|
1142
1143
|
color: "header"
|
|
1143
1144
|
}),
|
|
1144
1145
|
s("span", null, m(e(o)("booking.availability.packagesTitle")), 1)
|
|
1145
|
-
])) :
|
|
1146
|
-
s("ul",
|
|
1147
|
-
(d(!0), h(
|
|
1146
|
+
])) : _("", !0),
|
|
1147
|
+
s("ul", En, [
|
|
1148
|
+
(d(!0), h(L, null, j(e(x).templates, ({
|
|
1148
1149
|
id: A,
|
|
1149
|
-
name:
|
|
1150
|
+
name: I,
|
|
1150
1151
|
templateRoomGroups: g,
|
|
1151
|
-
image:
|
|
1152
|
+
image: F,
|
|
1152
1153
|
description: M,
|
|
1153
1154
|
weekendFee: te
|
|
1154
|
-
}) => (d(), D(
|
|
1155
|
+
}) => (d(), D(gn, {
|
|
1155
1156
|
key: A,
|
|
1156
1157
|
id: A,
|
|
1157
1158
|
description: M,
|
|
1158
|
-
name:
|
|
1159
|
-
image:
|
|
1159
|
+
name: I,
|
|
1160
|
+
image: F,
|
|
1160
1161
|
weekendFee: te,
|
|
1161
1162
|
"room-groups": g,
|
|
1162
1163
|
callback: J,
|
|
1163
1164
|
"hide-addons": b.hideAddons === "yes" || b.hideAddons === "packages"
|
|
1164
1165
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1165
1166
|
])
|
|
1166
|
-
])) :
|
|
1167
|
-
e(x).roomGroups.length > 0 && b.onlyShow !== "packages" ? (d(), h("div",
|
|
1168
|
-
e(x).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("h2",
|
|
1167
|
+
])) : _("", !0),
|
|
1168
|
+
e(x).roomGroups.length > 0 && b.onlyShow !== "packages" ? (d(), h("div", On, [
|
|
1169
|
+
e(x).templates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("h2", Fn, [
|
|
1169
1170
|
y(W, {
|
|
1170
1171
|
icon: "house",
|
|
1171
1172
|
type: "fal",
|
|
1172
1173
|
color: "header"
|
|
1173
1174
|
}),
|
|
1174
1175
|
s("span", null, m(e(o)("booking.availability.roomsTitle")), 1)
|
|
1175
|
-
])) :
|
|
1176
|
-
s("ul",
|
|
1177
|
-
(d(!0), h(
|
|
1176
|
+
])) : _("", !0),
|
|
1177
|
+
s("ul", Gn, [
|
|
1178
|
+
(d(!0), h(L, null, j(oo.value, (A, I) => (d(), D(mn, {
|
|
1178
1179
|
room: A,
|
|
1179
|
-
key:
|
|
1180
|
+
key: I
|
|
1180
1181
|
}, null, 8, ["room"]))), 128))
|
|
1181
1182
|
])
|
|
1182
|
-
])) :
|
|
1183
|
-
e(x).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div",
|
|
1184
|
-
s("h2",
|
|
1183
|
+
])) : _("", !0),
|
|
1184
|
+
e(x).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (d(), h("div", qn, [
|
|
1185
|
+
s("h2", jn, [
|
|
1185
1186
|
y(W, {
|
|
1186
1187
|
icon: "sparkles",
|
|
1187
1188
|
type: "fal",
|
|
@@ -1189,36 +1190,36 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1189
1190
|
}),
|
|
1190
1191
|
s("span", null, m(e(o)("hotel.specialOffers")), 1)
|
|
1191
1192
|
]),
|
|
1192
|
-
s("ul",
|
|
1193
|
-
(d(!0), h(
|
|
1193
|
+
s("ul", xn, [
|
|
1194
|
+
(d(!0), h(L, null, j(e(x).specialTemplates, ({
|
|
1194
1195
|
id: A,
|
|
1195
|
-
name:
|
|
1196
|
+
name: I,
|
|
1196
1197
|
templateRoomGroups: g,
|
|
1197
|
-
image:
|
|
1198
|
+
image: F,
|
|
1198
1199
|
description: M,
|
|
1199
1200
|
weekendFee: te,
|
|
1200
1201
|
fromDate: X,
|
|
1201
1202
|
toDate: ke
|
|
1202
|
-
}) => (d(), D(
|
|
1203
|
+
}) => (d(), D(Vn, {
|
|
1203
1204
|
key: A,
|
|
1204
1205
|
id: A,
|
|
1205
1206
|
description: M,
|
|
1206
|
-
name:
|
|
1207
|
-
image:
|
|
1207
|
+
name: I,
|
|
1208
|
+
image: F,
|
|
1208
1209
|
fromDate: X,
|
|
1209
1210
|
toDate: ke,
|
|
1210
1211
|
weekendFee: te,
|
|
1211
1212
|
"room-groups": g
|
|
1212
1213
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups"]))), 128))
|
|
1213
1214
|
])
|
|
1214
|
-
])) :
|
|
1215
|
-
(e(x).templates.length === 0 && b.onlyShow !== "rooms" || e(x).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (d(), h("div",
|
|
1215
|
+
])) : _("", !0),
|
|
1216
|
+
(e(x).templates.length === 0 && b.onlyShow !== "rooms" || e(x).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (d(), h("div", Wn, [
|
|
1216
1217
|
s("span", null, m(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1217
|
-
])) :
|
|
1218
|
-
])) : e(x).nextAvailableDates.length === 0 ? (d(), h("div",
|
|
1218
|
+
])) : _("", !0)
|
|
1219
|
+
])) : e(x).nextAvailableDates.length === 0 ? (d(), h("div", Kn, [
|
|
1219
1220
|
s("span", null, m(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1220
|
-
])) : (d(), h("div",
|
|
1221
|
-
s("h2",
|
|
1221
|
+
])) : (d(), h("div", Jn, [
|
|
1222
|
+
s("h2", zn, [
|
|
1222
1223
|
y(W, {
|
|
1223
1224
|
icon: "calendar-circle-exclamation",
|
|
1224
1225
|
type: "fal",
|
|
@@ -1226,15 +1227,15 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1226
1227
|
}),
|
|
1227
1228
|
s("span", null, m(e(o)("booking.availability.nextAvailableDates")), 1)
|
|
1228
1229
|
]),
|
|
1229
|
-
s("ul",
|
|
1230
|
-
(d(!0), h(
|
|
1230
|
+
s("ul", Yn, [
|
|
1231
|
+
(d(!0), h(L, null, j(e(x).nextAvailableDates, (A, I) => (d(), h("li", { key: I }, [
|
|
1231
1232
|
s("h3", {
|
|
1232
1233
|
title: `${e(oe)(A.fromDate, 0, !0)} - ${e(oe)(A.toDate, 0, !0)}`
|
|
1233
1234
|
}, [
|
|
1234
1235
|
s("span", null, m(`${e(oe)(A.fromDate, 0, !0)} - ${e(oe)(A.toDate, 0, !0)}`), 1)
|
|
1235
|
-
], 8,
|
|
1236
|
+
], 8, Qn),
|
|
1236
1237
|
s("ul", null, [
|
|
1237
|
-
isNaN(A.roomCount) ?
|
|
1238
|
+
isNaN(A.roomCount) ? _("", !0) : (d(), h("li", Xn, [
|
|
1238
1239
|
y(W, {
|
|
1239
1240
|
icon: "house",
|
|
1240
1241
|
type: "fal",
|
|
@@ -1254,14 +1255,14 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1254
1255
|
y(me, {
|
|
1255
1256
|
label: e(o)("booking.availability.selectDates"),
|
|
1256
1257
|
"full-width": "",
|
|
1257
|
-
onClickEvent: (g) => e(
|
|
1258
|
+
onClickEvent: (g) => e(de)(new Date(A.fromDate), new Date(A.toDate))
|
|
1258
1259
|
}, null, 8, ["label", "onClickEvent"])
|
|
1259
1260
|
]))), 128))
|
|
1260
1261
|
])
|
|
1261
1262
|
]))
|
|
1262
|
-
])) : isNaN(e(a)) && !e(c) ? (d(), h("div",
|
|
1263
|
+
])) : isNaN(e(a)) && !e(c) ? (d(), h("div", Zn, [
|
|
1263
1264
|
s("span", null, m(e(o)("alert.info.selectHotelToStart")), 1)
|
|
1264
|
-
])) : (d(), h("div",
|
|
1265
|
+
])) : (d(), h("div", el, [
|
|
1265
1266
|
y(Qe),
|
|
1266
1267
|
y(Qe),
|
|
1267
1268
|
y(Qe)
|
|
@@ -1274,13 +1275,13 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1274
1275
|
label: isNaN(e(a)) ? e(o)("availability.buttonLabel") : e(o)("general.searchAgain"),
|
|
1275
1276
|
"is-loading": e(c),
|
|
1276
1277
|
"full-width": "",
|
|
1277
|
-
onClickEvent:
|
|
1278
|
+
onClickEvent: T[1] || (T[1] = (A) => lo())
|
|
1278
1279
|
}, null, 8, ["label", "is-loading"])) : (d(), D(me, {
|
|
1279
1280
|
key: 1,
|
|
1280
1281
|
label: e(ge) || We.value ? e(o)("booking.availability.nextButton") : e(o)("general.chooseAddons"),
|
|
1281
1282
|
disabled: !e(ae),
|
|
1282
1283
|
"full-width": "",
|
|
1283
|
-
onClickEvent: (A) =>
|
|
1284
|
+
onClickEvent: (A) => ao(J)
|
|
1284
1285
|
}, null, 8, ["label", "disabled", "onClickEvent"]))
|
|
1285
1286
|
]),
|
|
1286
1287
|
_: 2
|
|
@@ -1292,123 +1293,125 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1292
1293
|
"prev-callback": () => pt(A)
|
|
1293
1294
|
}, {
|
|
1294
1295
|
form: C(() => [
|
|
1295
|
-
s("form",
|
|
1296
|
+
s("form", tl, [
|
|
1296
1297
|
s("h2", null, [
|
|
1297
1298
|
s("span", null, m(e(o)("booking.reservation.addons")), 1)
|
|
1298
1299
|
]),
|
|
1299
1300
|
s("div", null, [
|
|
1300
|
-
isNaN(e(i)) ? (d(), h("div",
|
|
1301
|
-
(d(!0), h(
|
|
1302
|
-
key:
|
|
1301
|
+
isNaN(e(i)) ? (d(), h("div", ol, [
|
|
1302
|
+
(d(!0), h(L, null, j(e(le), (I) => (d(), h(L, {
|
|
1303
|
+
key: I.roomGroupID
|
|
1303
1304
|
}, [
|
|
1304
|
-
(
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
s("h4", null, [
|
|
1308
|
-
s("span", null, m(e(pe)(N.title)), 1)
|
|
1309
|
-
]),
|
|
1310
|
-
(d(!0), h(F, null, j(g.rooms, (M, te) => (d(), h("table", {
|
|
1311
|
-
key: te,
|
|
1312
|
-
class: "konnectio-table with-lines"
|
|
1305
|
+
e(Xt)(I) ? (d(), h("ul", nl, [
|
|
1306
|
+
(d(!0), h(L, null, j(I.variants, (g, F) => (d(), h("li", {
|
|
1307
|
+
key: g.ratePlanID
|
|
1313
1308
|
}, [
|
|
1314
|
-
s("
|
|
1315
|
-
s("
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1309
|
+
s("h4", null, [
|
|
1310
|
+
s("span", null, m(e(ie)(I.title)), 1)
|
|
1311
|
+
]),
|
|
1312
|
+
(d(!0), h(L, null, j(g.rooms, (M, te) => (d(), h("table", {
|
|
1313
|
+
key: te,
|
|
1314
|
+
class: "konnectio-table with-lines"
|
|
1315
|
+
}, [
|
|
1316
|
+
s("thead", null, [
|
|
1317
|
+
s("tr", null, [
|
|
1318
|
+
s("th", null, [
|
|
1319
|
+
s("span", null, m(e(ie)(g.name)), 1)
|
|
1320
|
+
]),
|
|
1321
|
+
_("", !0),
|
|
1322
|
+
s("th", ll, [
|
|
1323
|
+
s("b", null, [
|
|
1324
|
+
y(W, {
|
|
1325
|
+
icon: "male",
|
|
1326
|
+
type: "fas",
|
|
1327
|
+
color: "font"
|
|
1328
|
+
}),
|
|
1329
|
+
s("span", null, m(M.adultsCount), 1),
|
|
1330
|
+
M.childrenCount > 0 ? (d(), D(W, {
|
|
1331
|
+
key: 0,
|
|
1332
|
+
icon: "child",
|
|
1333
|
+
type: "fas",
|
|
1334
|
+
color: "font"
|
|
1335
|
+
})) : _("", !0),
|
|
1336
|
+
M.childrenCount > 0 ? (d(), h("span", al, m(M.childrenCount), 1)) : _("", !0)
|
|
1337
|
+
])
|
|
1335
1338
|
])
|
|
1336
1339
|
])
|
|
1340
|
+
]),
|
|
1341
|
+
s("tbody", null, [
|
|
1342
|
+
(d(!0), h(L, null, j(e(ct)(g.addons, M.childrenCount), ({
|
|
1343
|
+
quantityStrategy: X,
|
|
1344
|
+
maximumNumber: ke,
|
|
1345
|
+
id: ue,
|
|
1346
|
+
name: so,
|
|
1347
|
+
price: ro
|
|
1348
|
+
}) => (d(), h("tr", { key: ue }, [
|
|
1349
|
+
s("td", il, [
|
|
1350
|
+
s("b", null, m(e(ie)(so)), 1),
|
|
1351
|
+
s("span", null, m(e(ne)(ro, e(Te))) + " " + m(e(ft)(X)), 1)
|
|
1352
|
+
]),
|
|
1353
|
+
s("td", sl, [
|
|
1354
|
+
e(G)[I.roomGroupID][F].config[M.configIdx].addons[M.roomIdx] ? (d(), h(L, { key: 0 }, [
|
|
1355
|
+
X === 1 || X === 12 ? (d(), D(tt, {
|
|
1356
|
+
key: 0,
|
|
1357
|
+
modelValue: e(G)[I.roomGroupID][F].config[M.configIdx].addons[M.roomIdx][ue],
|
|
1358
|
+
"onUpdate:modelValue": (Ke) => e(G)[I.roomGroupID][F].config[M.configIdx].addons[M.roomIdx][ue] = Ke,
|
|
1359
|
+
small: !0,
|
|
1360
|
+
"min-value": 0,
|
|
1361
|
+
"max-value": ke || 1 / 0
|
|
1362
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), D(Ce, {
|
|
1363
|
+
key: 1,
|
|
1364
|
+
modelValue: e(G)[I.roomGroupID][F].config[M.configIdx].addons[M.roomIdx][ue],
|
|
1365
|
+
"onUpdate:modelValue": (Ke) => e(G)[I.roomGroupID][F].config[M.configIdx].addons[M.roomIdx][ue] = Ke,
|
|
1366
|
+
numeric: !0
|
|
1367
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1368
|
+
], 64)) : _("", !0)
|
|
1369
|
+
])
|
|
1370
|
+
]))), 128))
|
|
1337
1371
|
])
|
|
1338
|
-
]),
|
|
1339
|
-
s("tbody", null, [
|
|
1340
|
-
(d(!0), h(F, null, j(e(ct)(g.addons, M.childrenCount), ({
|
|
1341
|
-
quantityStrategy: X,
|
|
1342
|
-
maximumNumber: ke,
|
|
1343
|
-
id: de,
|
|
1344
|
-
name: io,
|
|
1345
|
-
price: so
|
|
1346
|
-
}) => (d(), h("tr", { key: de }, [
|
|
1347
|
-
s("td", ll, [
|
|
1348
|
-
s("b", null, m(e(pe)(io)), 1),
|
|
1349
|
-
s("span", null, m(e(ne)(so, e(Te))) + " " + m(e(ft)(X)), 1)
|
|
1350
|
-
]),
|
|
1351
|
-
s("td", al, [
|
|
1352
|
-
e(G)[N.roomGroupID][O].config[M.configIdx].addons[M.roomIdx] ? (d(), h(F, { key: 0 }, [
|
|
1353
|
-
X === 1 || X === 12 ? (d(), D(tt, {
|
|
1354
|
-
key: 0,
|
|
1355
|
-
modelValue: e(G)[N.roomGroupID][O].config[M.configIdx].addons[M.roomIdx][de],
|
|
1356
|
-
"onUpdate:modelValue": (Ke) => e(G)[N.roomGroupID][O].config[M.configIdx].addons[M.roomIdx][de] = Ke,
|
|
1357
|
-
small: !0,
|
|
1358
|
-
"min-value": 0,
|
|
1359
|
-
"max-value": ke || 1 / 0
|
|
1360
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), D(Ce, {
|
|
1361
|
-
key: 1,
|
|
1362
|
-
modelValue: e(G)[N.roomGroupID][O].config[M.configIdx].addons[M.roomIdx][de],
|
|
1363
|
-
"onUpdate:modelValue": (Ke) => e(G)[N.roomGroupID][O].config[M.configIdx].addons[M.roomIdx][de] = Ke,
|
|
1364
|
-
numeric: !0
|
|
1365
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1366
|
-
], 64)) : T("", !0)
|
|
1367
|
-
])
|
|
1368
|
-
]))), 128))
|
|
1369
|
-
])
|
|
1372
|
+
]))), 128))
|
|
1370
1373
|
]))), 128))
|
|
1371
|
-
]))
|
|
1372
|
-
]))), 128))
|
|
1373
|
-
])) : e(Pe) ? (d(), h("div",
|
|
1374
|
+
])) : _("", !0)
|
|
1375
|
+
], 64))), 128))
|
|
1376
|
+
])) : e(Pe) ? (d(), h("div", rl, [
|
|
1374
1377
|
s("div", null, [
|
|
1375
1378
|
s("h4", null, [
|
|
1376
1379
|
s("span", null, m(e(Ee).name), 1)
|
|
1377
1380
|
]),
|
|
1378
|
-
s("table",
|
|
1381
|
+
s("table", dl, [
|
|
1379
1382
|
s("thead", null, [
|
|
1380
1383
|
s("tr", null, [
|
|
1381
1384
|
s("th", null, [
|
|
1382
|
-
s("span", null, m(e(
|
|
1385
|
+
s("span", null, m(e(ie)(e(Pe).title)), 1)
|
|
1383
1386
|
]),
|
|
1384
|
-
|
|
1385
|
-
|
|
1387
|
+
_("", !0),
|
|
1388
|
+
T[19] || (T[19] = s("th", { class: "konnectio-event-addons-price" }, null, -1))
|
|
1386
1389
|
])
|
|
1387
1390
|
]),
|
|
1388
1391
|
s("tbody", null, [
|
|
1389
|
-
(d(!0), h(
|
|
1390
|
-
quantityStrategy:
|
|
1392
|
+
(d(!0), h(L, null, j(e(ct)(e(Pe).addons, e(_e)), ({
|
|
1393
|
+
quantityStrategy: I,
|
|
1391
1394
|
maximumNumber: g,
|
|
1392
|
-
id:
|
|
1395
|
+
id: F,
|
|
1393
1396
|
name: M,
|
|
1394
1397
|
price: te
|
|
1395
|
-
}) => (d(), h("tr", { key:
|
|
1396
|
-
s("td",
|
|
1397
|
-
s("b", null, m(e(
|
|
1398
|
-
s("span", null, m(e(ne)(te, e(Te))) + " " + m(e(ft)(
|
|
1398
|
+
}) => (d(), h("tr", { key: F }, [
|
|
1399
|
+
s("td", ul, [
|
|
1400
|
+
s("b", null, m(e(ie)(M)), 1),
|
|
1401
|
+
s("span", null, m(e(ne)(te, e(Te))) + " " + m(e(ft)(I)), 1)
|
|
1399
1402
|
]),
|
|
1400
|
-
s("td",
|
|
1401
|
-
|
|
1403
|
+
s("td", cl, [
|
|
1404
|
+
I === 1 || I === 12 ? (d(), D(tt, {
|
|
1402
1405
|
key: 0,
|
|
1403
|
-
modelValue: e(r)[
|
|
1404
|
-
"onUpdate:modelValue": (X) => e(r)[
|
|
1406
|
+
modelValue: e(r)[F],
|
|
1407
|
+
"onUpdate:modelValue": (X) => e(r)[F] = X,
|
|
1405
1408
|
small: !0,
|
|
1406
1409
|
"min-value": 0,
|
|
1407
1410
|
"max-value": g || 1 / 0
|
|
1408
1411
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), D(Ce, {
|
|
1409
1412
|
key: 1,
|
|
1410
|
-
modelValue: e(r)[
|
|
1411
|
-
"onUpdate:modelValue": (X) => e(r)[
|
|
1413
|
+
modelValue: e(r)[F],
|
|
1414
|
+
"onUpdate:modelValue": (X) => e(r)[F] = X,
|
|
1412
1415
|
numeric: !0
|
|
1413
1416
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1414
1417
|
])
|
|
@@ -1416,7 +1419,7 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1416
1419
|
])
|
|
1417
1420
|
])
|
|
1418
1421
|
])
|
|
1419
|
-
])) :
|
|
1422
|
+
])) : _("", !0)
|
|
1420
1423
|
])
|
|
1421
1424
|
])
|
|
1422
1425
|
]),
|
|
@@ -1428,9 +1431,9 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1428
1431
|
}, null, 8, ["label", "onClickEvent"])
|
|
1429
1432
|
]),
|
|
1430
1433
|
_: 2
|
|
1431
|
-
}, 1032, ["prev-callback"])) :
|
|
1434
|
+
}, 1032, ["prev-callback"])) : _("", !0)
|
|
1432
1435
|
]),
|
|
1433
|
-
reservation: C(({ next: J, prev: A, reset:
|
|
1436
|
+
reservation: C(({ next: J, prev: A, reset: I }) => [
|
|
1434
1437
|
e(be) ? (d(), D(Xe, {
|
|
1435
1438
|
key: 0,
|
|
1436
1439
|
"prev-callback": () => pt(A),
|
|
@@ -1438,7 +1441,7 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1438
1441
|
"show-gift-card": !0
|
|
1439
1442
|
}, {
|
|
1440
1443
|
form: C(() => [
|
|
1441
|
-
s("form",
|
|
1444
|
+
s("form", pl, [
|
|
1442
1445
|
s("h2", null, [
|
|
1443
1446
|
s("span", null, m(e(o)("booking.reservation.detailsTitle")), 1)
|
|
1444
1447
|
]),
|
|
@@ -1446,43 +1449,43 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1446
1449
|
key: 0,
|
|
1447
1450
|
class: Me(["konnectio-reservation-timepicker", { "konnectio-split-inputs": e(je)(e(a)) && e(xe)(e(a)) }])
|
|
1448
1451
|
}, [
|
|
1449
|
-
e(je)(e(a)) ? (d(), h("li",
|
|
1452
|
+
e(je)(e(a)) ? (d(), h("li", ml, [
|
|
1450
1453
|
y(vt, {
|
|
1451
1454
|
modelValue: e(k),
|
|
1452
|
-
"onUpdate:modelValue":
|
|
1455
|
+
"onUpdate:modelValue": T[2] || (T[2] = (g) => q(k) ? k.value = g : null),
|
|
1453
1456
|
label: e(o)("booking.reservation.arrivalTime"),
|
|
1454
1457
|
icon: "hourglass-start",
|
|
1455
1458
|
"min-time": e(qt)(e(a)),
|
|
1456
1459
|
"max-time": e(jt)(e(a)),
|
|
1457
1460
|
required: ""
|
|
1458
1461
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1459
|
-
])) :
|
|
1460
|
-
e(xe)(e(a)) ? (d(), h("li",
|
|
1462
|
+
])) : _("", !0),
|
|
1463
|
+
e(xe)(e(a)) ? (d(), h("li", fl, [
|
|
1461
1464
|
y(vt, {
|
|
1462
1465
|
modelValue: e(w),
|
|
1463
|
-
"onUpdate:modelValue":
|
|
1466
|
+
"onUpdate:modelValue": T[3] || (T[3] = (g) => q(w) ? w.value = g : null),
|
|
1464
1467
|
label: e(o)("booking.reservation.departureTime"),
|
|
1465
1468
|
icon: "hourglass-end",
|
|
1466
1469
|
"min-time": e(xt)(e(a)),
|
|
1467
1470
|
"max-time": e(Wt)(e(a)),
|
|
1468
1471
|
required: ""
|
|
1469
1472
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1470
|
-
])) :
|
|
1471
|
-
], 2)) :
|
|
1472
|
-
y(
|
|
1473
|
+
])) : _("", !0)
|
|
1474
|
+
], 2)) : _("", !0),
|
|
1475
|
+
y(Pn, {
|
|
1473
1476
|
modelValue: e(P),
|
|
1474
|
-
"onUpdate:modelValue":
|
|
1477
|
+
"onUpdate:modelValue": T[4] || (T[4] = (g) => q(P) ? P.value = g : null),
|
|
1475
1478
|
title: e($),
|
|
1476
|
-
"onUpdate:title":
|
|
1479
|
+
"onUpdate:title": T[5] || (T[5] = (g) => q($) ? $.value = g : null),
|
|
1477
1480
|
"exclude-title": e(Mt),
|
|
1478
1481
|
label: e(o)("booking.reservation.name"),
|
|
1479
1482
|
icon: "user-alt",
|
|
1480
1483
|
placeholder: e(o)("booking.reservation.namePlaceholder"),
|
|
1481
1484
|
required: ""
|
|
1482
1485
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1483
|
-
y(
|
|
1486
|
+
y(ce, {
|
|
1484
1487
|
modelValue: e(R),
|
|
1485
|
-
"onUpdate:modelValue":
|
|
1488
|
+
"onUpdate:modelValue": T[6] || (T[6] = (g) => q(R) ? R.value = g : null),
|
|
1486
1489
|
type: "email",
|
|
1487
1490
|
name: "email",
|
|
1488
1491
|
autocomplete: "email",
|
|
@@ -1492,19 +1495,19 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1492
1495
|
placeholder: e(o)("booking.reservation.emailPlaceholder"),
|
|
1493
1496
|
required: ""
|
|
1494
1497
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1495
|
-
e(Ft) ?
|
|
1498
|
+
e(Ft) ? _("", !0) : (d(), h("div", hl, [
|
|
1496
1499
|
y(Ce, {
|
|
1497
1500
|
modelValue: e(Q),
|
|
1498
|
-
"onUpdate:modelValue":
|
|
1501
|
+
"onUpdate:modelValue": T[7] || (T[7] = (g) => q(Q) ? Q.value = g : null),
|
|
1499
1502
|
type: "checkbox",
|
|
1500
1503
|
name: "newsletter",
|
|
1501
1504
|
label: e(o)("booking.reservation.newsletterSignUp")
|
|
1502
1505
|
}, null, 8, ["modelValue", "label"])
|
|
1503
1506
|
])),
|
|
1504
|
-
e(Lt) ?
|
|
1507
|
+
e(Lt) ? _("", !0) : (d(), D(ce, {
|
|
1505
1508
|
key: 2,
|
|
1506
|
-
modelValue: e(
|
|
1507
|
-
"onUpdate:modelValue":
|
|
1509
|
+
modelValue: e(N),
|
|
1510
|
+
"onUpdate:modelValue": T[8] || (T[8] = (g) => q(N) ? N.value = g : null),
|
|
1508
1511
|
type: "text",
|
|
1509
1512
|
name: "firm",
|
|
1510
1513
|
autocomplete: "firm",
|
|
@@ -1512,25 +1515,25 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1512
1515
|
icon: "id-card",
|
|
1513
1516
|
placeholder: e(o)("booking.reservation.companyNamePlaceholder")
|
|
1514
1517
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1515
|
-
y(
|
|
1516
|
-
modelValue: e(
|
|
1517
|
-
"onUpdate:modelValue":
|
|
1518
|
+
y(Oo, {
|
|
1519
|
+
modelValue: e(U),
|
|
1520
|
+
"onUpdate:modelValue": T[9] || (T[9] = (g) => q(U) ? U.value = g : null),
|
|
1518
1521
|
icon: "phone-office",
|
|
1519
1522
|
label: e(o)("booking.reservation.phone"),
|
|
1520
1523
|
placeholder: e(o)("booking.reservation.phonePlaceholder"),
|
|
1521
1524
|
required: ""
|
|
1522
1525
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1523
|
-
y(
|
|
1526
|
+
y(Cn, {
|
|
1524
1527
|
modelValue: e(z),
|
|
1525
|
-
"onUpdate:modelValue":
|
|
1528
|
+
"onUpdate:modelValue": T[10] || (T[10] = (g) => q(z) ? z.value = g : null),
|
|
1526
1529
|
label: e(o)("booking.reservation.country"),
|
|
1527
1530
|
placeholder: e(o)("booking.reservation.countryPlaceholder"),
|
|
1528
1531
|
options: e(p),
|
|
1529
1532
|
required: ""
|
|
1530
1533
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1531
|
-
y(
|
|
1534
|
+
y(ce, {
|
|
1532
1535
|
modelValue: e(S),
|
|
1533
|
-
"onUpdate:modelValue":
|
|
1536
|
+
"onUpdate:modelValue": T[11] || (T[11] = (g) => q(S) ? S.value = g : null),
|
|
1534
1537
|
type: "textarea",
|
|
1535
1538
|
name: "address",
|
|
1536
1539
|
autocomplete: "street-address",
|
|
@@ -1539,11 +1542,11 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1539
1542
|
placeholder: e(o)("booking.reservation.streetAddressPlaceholder"),
|
|
1540
1543
|
required: ""
|
|
1541
1544
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1542
|
-
s("ul",
|
|
1545
|
+
s("ul", vl, [
|
|
1543
1546
|
s("li", null, [
|
|
1544
|
-
y(
|
|
1545
|
-
modelValue: e(
|
|
1546
|
-
"onUpdate:modelValue":
|
|
1547
|
+
y(ce, {
|
|
1548
|
+
modelValue: e(V),
|
|
1549
|
+
"onUpdate:modelValue": T[12] || (T[12] = (g) => q(V) ? V.value = g : null),
|
|
1547
1550
|
type: "text",
|
|
1548
1551
|
name: "postal",
|
|
1549
1552
|
autocomplete: "postal-code",
|
|
@@ -1554,9 +1557,9 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1554
1557
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1555
1558
|
]),
|
|
1556
1559
|
s("li", null, [
|
|
1557
|
-
y(
|
|
1560
|
+
y(ce, {
|
|
1558
1561
|
modelValue: e(H),
|
|
1559
|
-
"onUpdate:modelValue":
|
|
1562
|
+
"onUpdate:modelValue": T[13] || (T[13] = (g) => q(H) ? H.value = g : null),
|
|
1560
1563
|
type: "text",
|
|
1561
1564
|
name: "city",
|
|
1562
1565
|
autocomplete: "address-level2",
|
|
@@ -1567,29 +1570,29 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1567
1570
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1568
1571
|
])
|
|
1569
1572
|
]),
|
|
1570
|
-
y(
|
|
1571
|
-
modelValue: e(
|
|
1572
|
-
"onUpdate:modelValue":
|
|
1573
|
+
y(ce, {
|
|
1574
|
+
modelValue: e(E),
|
|
1575
|
+
"onUpdate:modelValue": T[14] || (T[14] = (g) => q(E) ? E.value = g : null),
|
|
1573
1576
|
type: "textarea",
|
|
1574
1577
|
label: `${e(o)("booking.reservation.remark")} (${e(o)("booking.reservation.optional")})`,
|
|
1575
1578
|
icon: "info-circle",
|
|
1576
1579
|
placeholder: e(o)("booking.reservation.remarkPlaceholder")
|
|
1577
1580
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1578
|
-
y(
|
|
1581
|
+
y(ce, {
|
|
1579
1582
|
modelValue: e(Y),
|
|
1580
|
-
"onUpdate:modelValue":
|
|
1583
|
+
"onUpdate:modelValue": T[15] || (T[15] = (g) => q(Y) ? Y.value = g : null),
|
|
1581
1584
|
type: "textarea",
|
|
1582
1585
|
label: `${e(o)("booking.reservation.allergies")} (${e(o)("booking.reservation.optional")})`,
|
|
1583
1586
|
icon: "allergies",
|
|
1584
1587
|
placeholder: e(o)("booking.reservation.allergiesPlaceholder")
|
|
1585
1588
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1586
|
-
e(Rt) ?
|
|
1589
|
+
e(Rt) ? _("", !0) : (d(), D(Io, {
|
|
1587
1590
|
key: 3,
|
|
1588
1591
|
modelValue: e(f),
|
|
1589
|
-
"onUpdate:modelValue":
|
|
1592
|
+
"onUpdate:modelValue": T[16] || (T[16] = (g) => q(f) ? f.value = g : null),
|
|
1590
1593
|
label: `${e(o)("booking.reservation.purposeOfStay")} (${e(o)("booking.reservation.optional")})`,
|
|
1591
1594
|
name: "travelingFor",
|
|
1592
|
-
checkboxes:
|
|
1595
|
+
checkboxes: to.value
|
|
1593
1596
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1594
1597
|
])
|
|
1595
1598
|
]),
|
|
@@ -1600,19 +1603,19 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1600
1603
|
disabled: !e(v),
|
|
1601
1604
|
"is-loading": e(u),
|
|
1602
1605
|
"full-width": "",
|
|
1603
|
-
onClickEvent: (g) =>
|
|
1606
|
+
onClickEvent: (g) => no(J, I)
|
|
1604
1607
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
|
|
1605
1608
|
])
|
|
1606
1609
|
]),
|
|
1607
1610
|
_: 2
|
|
1608
|
-
}, 1032, ["prev-callback"])) :
|
|
1611
|
+
}, 1032, ["prev-callback"])) : _("", !0)
|
|
1609
1612
|
]),
|
|
1610
1613
|
payment: C(({ prev: J }) => [
|
|
1611
|
-
y(
|
|
1612
|
-
|
|
1614
|
+
y(Fo),
|
|
1615
|
+
_("", !0)
|
|
1613
1616
|
]),
|
|
1614
1617
|
confirmation: C(() => [
|
|
1615
|
-
y(
|
|
1618
|
+
y(No, {
|
|
1616
1619
|
message: e(o)("booking.confirmation.thankYou")
|
|
1617
1620
|
}, null, 8, ["message"])
|
|
1618
1621
|
]),
|
|
@@ -1623,7 +1626,7 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1623
1626
|
}, 8, ["access-token", "callback"])
|
|
1624
1627
|
]),
|
|
1625
1628
|
fallback: C(() => [
|
|
1626
|
-
y(
|
|
1629
|
+
y(In)
|
|
1627
1630
|
]),
|
|
1628
1631
|
_: 1
|
|
1629
1632
|
}))
|
|
@@ -1631,14 +1634,14 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1631
1634
|
_: 1
|
|
1632
1635
|
}, 8, ["styling"]));
|
|
1633
1636
|
}
|
|
1634
|
-
}), yt = /* @__PURE__ */ fe(
|
|
1637
|
+
}), yt = /* @__PURE__ */ fe(yl, [["__scopeId", "data-v-3682c408"]]), kl = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), Ie = /* @__PURE__ */ new Set([
|
|
1635
1638
|
"base",
|
|
1636
1639
|
"meta",
|
|
1637
1640
|
"link",
|
|
1638
1641
|
"style",
|
|
1639
1642
|
"script",
|
|
1640
1643
|
"noscript"
|
|
1641
|
-
]),
|
|
1644
|
+
]), gl = /* @__PURE__ */ new Set([
|
|
1642
1645
|
"title",
|
|
1643
1646
|
"titleTemplate",
|
|
1644
1647
|
"templateParams",
|
|
@@ -1650,7 +1653,7 @@ const hl = /* @__PURE__ */ ee({
|
|
|
1650
1653
|
"style",
|
|
1651
1654
|
"script",
|
|
1652
1655
|
"noscript"
|
|
1653
|
-
]),
|
|
1656
|
+
]), bl = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]), At = /* @__PURE__ */ new Set(["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"]), _l = typeof window < "u";
|
|
1654
1657
|
function Re(l) {
|
|
1655
1658
|
let t = 9;
|
|
1656
1659
|
for (let n = 0; n < l.length; )
|
|
@@ -1667,7 +1670,7 @@ function ot(l) {
|
|
|
1667
1670
|
t += `${n}:${String(l.props[n])},`;
|
|
1668
1671
|
return Re(t);
|
|
1669
1672
|
}
|
|
1670
|
-
function
|
|
1673
|
+
function Vl(l, t) {
|
|
1671
1674
|
return l instanceof Promise ? l.then(t) : t(l);
|
|
1672
1675
|
}
|
|
1673
1676
|
function nt(l, t, n, o) {
|
|
@@ -1685,11 +1688,11 @@ function nt(l, t, n, o) {
|
|
|
1685
1688
|
};
|
|
1686
1689
|
for (const r of At) {
|
|
1687
1690
|
const p = i.props[r] !== void 0 ? i.props[r] : n[r];
|
|
1688
|
-
p !== void 0 && ((!(r === "innerHTML" || r === "textContent" || r === "children") ||
|
|
1691
|
+
p !== void 0 && ((!(r === "innerHTML" || r === "textContent" || r === "children") || kl.has(i.tag)) && (i[r === "children" ? "innerHTML" : r] = p), delete i.props[r]);
|
|
1689
1692
|
}
|
|
1690
1693
|
return i.props.body && (i.tagPosition = "bodyClose", delete i.props.body), i.tag === "script" && typeof i.innerHTML == "object" && (i.innerHTML = JSON.stringify(i.innerHTML), i.props.type = i.props.type || "application/json"), Array.isArray(i.props.content) ? i.props.content.map((r) => ({ ...i, props: { ...i.props, content: r } })) : i;
|
|
1691
1694
|
}
|
|
1692
|
-
function
|
|
1695
|
+
function Tl(l, t) {
|
|
1693
1696
|
const n = l === "class" ? " " : ";";
|
|
1694
1697
|
return t && typeof t == "object" && !Array.isArray(t) && (t = Object.entries(t).filter(([, o]) => o).map(([o, a]) => l === "style" ? `${o}:${a}` : o)), String(Array.isArray(t) ? t.join(n) : t)?.split(n).filter((o) => !!o.trim()).join(n);
|
|
1695
1698
|
}
|
|
@@ -1697,7 +1700,7 @@ function Ht(l, t, n, o) {
|
|
|
1697
1700
|
for (let a = o; a < n.length; a += 1) {
|
|
1698
1701
|
const i = n[a];
|
|
1699
1702
|
if (i === "class" || i === "style") {
|
|
1700
|
-
l[i] =
|
|
1703
|
+
l[i] = Tl(i, l[i]);
|
|
1701
1704
|
continue;
|
|
1702
1705
|
}
|
|
1703
1706
|
if (l[i] instanceof Promise)
|
|
@@ -1712,7 +1715,7 @@ function Dt(l, t = !1) {
|
|
|
1712
1715
|
const n = Ht(l, t, Object.keys(l), 0);
|
|
1713
1716
|
return n instanceof Promise ? n.then(() => l) : l;
|
|
1714
1717
|
}
|
|
1715
|
-
const
|
|
1718
|
+
const wl = 10;
|
|
1716
1719
|
function St(l, t, n) {
|
|
1717
1720
|
for (let o = n; o < t.length; o += 1) {
|
|
1718
1721
|
const a = t[o];
|
|
@@ -1721,13 +1724,13 @@ function St(l, t, n) {
|
|
|
1721
1724
|
Array.isArray(a) ? l.push(...a) : l.push(a);
|
|
1722
1725
|
}
|
|
1723
1726
|
}
|
|
1724
|
-
function
|
|
1727
|
+
function Cl(l) {
|
|
1725
1728
|
const t = [], n = l.resolvedInput;
|
|
1726
1729
|
for (const a in n) {
|
|
1727
1730
|
if (!Object.prototype.hasOwnProperty.call(n, a))
|
|
1728
1731
|
continue;
|
|
1729
1732
|
const i = n[a];
|
|
1730
|
-
if (!(i === void 0 || !
|
|
1733
|
+
if (!(i === void 0 || !gl.has(a))) {
|
|
1731
1734
|
if (Array.isArray(i)) {
|
|
1732
1735
|
for (const r of i)
|
|
1733
1736
|
t.push(nt(a, r, l));
|
|
@@ -1739,7 +1742,7 @@ function Tl(l) {
|
|
|
1739
1742
|
if (t.length === 0)
|
|
1740
1743
|
return [];
|
|
1741
1744
|
const o = [];
|
|
1742
|
-
return
|
|
1745
|
+
return Vl(St(o, t, 0), () => o.map((a, i) => (a._e = l._i, l.mode && (a._m = l.mode), a._p = (l._i << wl) + i, a)));
|
|
1743
1746
|
}
|
|
1744
1747
|
const kt = /* @__PURE__ */ new Set(["onload", "onerror", "onabort", "onprogress", "onloadstart"]), gt = {
|
|
1745
1748
|
// tags
|
|
@@ -1758,10 +1761,10 @@ function Be(l) {
|
|
|
1758
1761
|
let n = 100;
|
|
1759
1762
|
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;
|
|
1760
1763
|
}
|
|
1761
|
-
const
|
|
1764
|
+
const $l = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Pl = ["name", "property", "http-equiv"];
|
|
1762
1765
|
function It(l) {
|
|
1763
1766
|
const { props: t, tag: n } = l;
|
|
1764
|
-
if (
|
|
1767
|
+
if (bl.has(n))
|
|
1765
1768
|
return n;
|
|
1766
1769
|
if (n === "link" && t.rel === "canonical")
|
|
1767
1770
|
return "canonical";
|
|
@@ -1769,13 +1772,13 @@ function It(l) {
|
|
|
1769
1772
|
return "charset";
|
|
1770
1773
|
if (t.id)
|
|
1771
1774
|
return `${n}:id:${t.id}`;
|
|
1772
|
-
for (const o of
|
|
1775
|
+
for (const o of Pl)
|
|
1773
1776
|
if (t[o] !== void 0)
|
|
1774
1777
|
return `${n}:${o}:${t[o]}`;
|
|
1775
1778
|
return !1;
|
|
1776
1779
|
}
|
|
1777
|
-
const
|
|
1778
|
-
function
|
|
1780
|
+
const pe = "%separator";
|
|
1781
|
+
function Al(l, t) {
|
|
1779
1782
|
let n;
|
|
1780
1783
|
if (t === "s" || t === "pageTitle")
|
|
1781
1784
|
n = l.pageTitle;
|
|
@@ -1786,7 +1789,7 @@ function $l(l, t) {
|
|
|
1786
1789
|
n = l[t];
|
|
1787
1790
|
return n !== void 0 ? (n || "").replace(/"/g, '\\"') : void 0;
|
|
1788
1791
|
}
|
|
1789
|
-
const
|
|
1792
|
+
const Hl = new RegExp(`${pe}(?:\\s*${pe})*`, "g");
|
|
1790
1793
|
function Se(l, t, n) {
|
|
1791
1794
|
if (typeof l != "string" || !l.includes("%"))
|
|
1792
1795
|
return l;
|
|
@@ -1798,18 +1801,18 @@ function Se(l, t, n) {
|
|
|
1798
1801
|
const a = o.match(/%\w+(?:\.\w+)?/g);
|
|
1799
1802
|
if (!a)
|
|
1800
1803
|
return l;
|
|
1801
|
-
const i = l.includes(
|
|
1804
|
+
const i = l.includes(pe);
|
|
1802
1805
|
return l = l.replace(/%\w+(?:\.\w+)?/g, (r) => {
|
|
1803
|
-
if (r ===
|
|
1806
|
+
if (r === pe || !a.includes(r))
|
|
1804
1807
|
return r;
|
|
1805
|
-
const p =
|
|
1808
|
+
const p = Al(t, r.slice(1));
|
|
1806
1809
|
return p !== void 0 ? p : r;
|
|
1807
|
-
}).trim(), i && (l.endsWith(
|
|
1810
|
+
}).trim(), i && (l.endsWith(pe) && (l = l.slice(0, -pe.length)), l.startsWith(pe) && (l = l.slice(pe.length)), l = l.replace(Hl, n).trim()), l;
|
|
1808
1811
|
}
|
|
1809
1812
|
function _t(l, t) {
|
|
1810
1813
|
return l == null ? t || null : typeof l == "function" ? l(t) : l;
|
|
1811
1814
|
}
|
|
1812
|
-
async function
|
|
1815
|
+
async function Dl(l, t = {}) {
|
|
1813
1816
|
const n = t.document || l.resolvedOptions.document;
|
|
1814
1817
|
if (!n || !l.dirty)
|
|
1815
1818
|
return;
|
|
@@ -1839,11 +1842,11 @@ async function Al(l, t = {}) {
|
|
|
1839
1842
|
P.getAttributeNames().reduce((H, S) => ({ ...H, [S]: P.getAttribute(S) }), {})
|
|
1840
1843
|
),
|
|
1841
1844
|
innerHTML: P.innerHTML
|
|
1842
|
-
},
|
|
1843
|
-
let
|
|
1844
|
-
for (;
|
|
1845
|
-
|
|
1846
|
-
|
|
1845
|
+
}, U = It(R);
|
|
1846
|
+
let N = U, V = 1;
|
|
1847
|
+
for (; N && f.has(N); )
|
|
1848
|
+
N = `${U}:${V++}`;
|
|
1849
|
+
N && (R._d = N, f.add(N)), r.elMap[P.getAttribute("data-hid") || ot(R)] = P;
|
|
1847
1850
|
}
|
|
1848
1851
|
}
|
|
1849
1852
|
}
|
|
@@ -1866,23 +1869,23 @@ async function Al(l, t = {}) {
|
|
|
1866
1869
|
for (const $ in w.props) {
|
|
1867
1870
|
if (!Object.prototype.hasOwnProperty.call(w.props, $))
|
|
1868
1871
|
continue;
|
|
1869
|
-
const R = w.props[$],
|
|
1872
|
+
const R = w.props[$], U = `attr:${$}`;
|
|
1870
1873
|
if ($ === "class") {
|
|
1871
1874
|
if (!R)
|
|
1872
1875
|
continue;
|
|
1873
|
-
for (const
|
|
1874
|
-
P && p(f, `${
|
|
1876
|
+
for (const N of R.split(" "))
|
|
1877
|
+
P && p(f, `${U}:${N}`, () => k.classList.remove(N)), !k.classList.contains(N) && k.classList.add(N);
|
|
1875
1878
|
} else if ($ === "style") {
|
|
1876
1879
|
if (!R)
|
|
1877
1880
|
continue;
|
|
1878
|
-
for (const
|
|
1879
|
-
const
|
|
1880
|
-
p(f, `${
|
|
1881
|
+
for (const N of R.split(";")) {
|
|
1882
|
+
const V = N.indexOf(":"), H = N.substring(0, V).trim(), S = N.substring(V + 1).trim();
|
|
1883
|
+
p(f, `${U}:${H}`, () => {
|
|
1881
1884
|
k.style.removeProperty(H);
|
|
1882
1885
|
}), k.style.setProperty(H, S);
|
|
1883
1886
|
}
|
|
1884
1887
|
} else
|
|
1885
|
-
k.getAttribute($) !== R && k.setAttribute($, R === !0 ? "" : String(R)), P && p(f,
|
|
1888
|
+
k.getAttribute($) !== R && k.setAttribute($, R === !0 ? "" : String(R)), P && p(f, U, () => k.removeAttribute($));
|
|
1886
1889
|
}
|
|
1887
1890
|
}
|
|
1888
1891
|
const u = [], v = {
|
|
@@ -1914,21 +1917,21 @@ async function Al(l, t = {}) {
|
|
|
1914
1917
|
l._domUpdatePromise = void 0, l.dirty = !1;
|
|
1915
1918
|
})), l._domUpdatePromise;
|
|
1916
1919
|
}
|
|
1917
|
-
function
|
|
1920
|
+
function Sl(l, t = {}) {
|
|
1918
1921
|
const n = t.delayFn || ((o) => setTimeout(o, 10));
|
|
1919
|
-
return l._domDebouncedUpdatePromise = l._domDebouncedUpdatePromise || new Promise((o) => n(() =>
|
|
1922
|
+
return l._domDebouncedUpdatePromise = l._domDebouncedUpdatePromise || new Promise((o) => n(() => Dl(l, t).then(() => {
|
|
1920
1923
|
delete l._domDebouncedUpdatePromise, o();
|
|
1921
1924
|
})));
|
|
1922
1925
|
}
|
|
1923
1926
|
// @__NO_SIDE_EFFECTS__
|
|
1924
|
-
function
|
|
1927
|
+
function Il(l) {
|
|
1925
1928
|
return (t) => {
|
|
1926
1929
|
const n = t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1927
1930
|
return n && t.push(JSON.parse(n)), {
|
|
1928
1931
|
mode: "client",
|
|
1929
1932
|
hooks: {
|
|
1930
1933
|
"entries:updated": (o) => {
|
|
1931
|
-
|
|
1934
|
+
Sl(o, l);
|
|
1932
1935
|
}
|
|
1933
1936
|
}
|
|
1934
1937
|
};
|
|
@@ -1941,15 +1944,15 @@ function lt(l, t = {}, n) {
|
|
|
1941
1944
|
}
|
|
1942
1945
|
return t;
|
|
1943
1946
|
}
|
|
1944
|
-
const
|
|
1945
|
-
function
|
|
1947
|
+
const Nl = { run: (l) => l() }, Ml = () => Nl, Nt = typeof console.createTask < "u" ? console.createTask : Ml;
|
|
1948
|
+
function Rl(l, t) {
|
|
1946
1949
|
const n = t.shift(), o = Nt(n);
|
|
1947
1950
|
return l.reduce(
|
|
1948
1951
|
(a, i) => a.then(() => o.run(() => i(...t))),
|
|
1949
1952
|
Promise.resolve()
|
|
1950
1953
|
);
|
|
1951
1954
|
}
|
|
1952
|
-
function
|
|
1955
|
+
function Bl(l, t) {
|
|
1953
1956
|
const n = t.shift(), o = Nt(n);
|
|
1954
1957
|
return Promise.all(l.map((a) => o.run(() => a(...t))));
|
|
1955
1958
|
}
|
|
@@ -1957,7 +1960,7 @@ function Ze(l, t) {
|
|
|
1957
1960
|
for (const n of [...l])
|
|
1958
1961
|
n(t);
|
|
1959
1962
|
}
|
|
1960
|
-
class
|
|
1963
|
+
class Ll {
|
|
1961
1964
|
constructor() {
|
|
1962
1965
|
this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
|
|
1963
1966
|
}
|
|
@@ -2026,10 +2029,10 @@ class Rl {
|
|
|
2026
2029
|
delete this._hooks[t];
|
|
2027
2030
|
}
|
|
2028
2031
|
callHook(t, ...n) {
|
|
2029
|
-
return n.unshift(t), this.callHookWith(
|
|
2032
|
+
return n.unshift(t), this.callHookWith(Rl, t, ...n);
|
|
2030
2033
|
}
|
|
2031
2034
|
callHookParallel(t, ...n) {
|
|
2032
|
-
return n.unshift(t), this.callHookWith(
|
|
2035
|
+
return n.unshift(t), this.callHookWith(Bl, t, ...n);
|
|
2033
2036
|
}
|
|
2034
2037
|
callHookWith(t, n, ...o) {
|
|
2035
2038
|
const a = this._before || this._after ? { name: n, args: o, context: {} } : void 0;
|
|
@@ -2059,10 +2062,10 @@ class Rl {
|
|
|
2059
2062
|
};
|
|
2060
2063
|
}
|
|
2061
2064
|
}
|
|
2062
|
-
function
|
|
2063
|
-
return new
|
|
2065
|
+
function Ul() {
|
|
2066
|
+
return new Ll();
|
|
2064
2067
|
}
|
|
2065
|
-
const
|
|
2068
|
+
const El = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"]), Ol = {
|
|
2066
2069
|
hooks: {
|
|
2067
2070
|
"tag:normalise": ({ tag: l }) => {
|
|
2068
2071
|
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);
|
|
@@ -2077,7 +2080,7 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2077
2080
|
const a = (o.key ? `${o.tag}:${o.key}` : o._d) || ot(o), i = t[a];
|
|
2078
2081
|
if (i) {
|
|
2079
2082
|
let p = o?.tagDuplicateStrategy;
|
|
2080
|
-
if (!p &&
|
|
2083
|
+
if (!p && El.has(o.tag) && (p = "merge"), p === "merge") {
|
|
2081
2084
|
const c = i.props;
|
|
2082
2085
|
c.style && o.props.style && (c.style[c.style.length - 1] !== ";" && (c.style += ";"), o.props.style = `${c.style} ${o.props.style}`), c.class && o.props.class ? o.props.class = `${c.class} ${o.props.class}` : c.class && (o.props.class = c.class), t[a].props = {
|
|
2083
2086
|
...c,
|
|
@@ -2104,11 +2107,11 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2104
2107
|
l.tags = n, l.tags = l.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
|
|
2105
2108
|
}
|
|
2106
2109
|
}
|
|
2107
|
-
},
|
|
2110
|
+
}, Fl = /* @__PURE__ */ new Set(["script", "link", "bodyAttrs"]), Gl = (l) => ({
|
|
2108
2111
|
hooks: {
|
|
2109
2112
|
"tags:resolve": (t) => {
|
|
2110
2113
|
for (const n of t.tags) {
|
|
2111
|
-
if (!
|
|
2114
|
+
if (!Fl.has(n.tag))
|
|
2112
2115
|
continue;
|
|
2113
2116
|
const o = n.props;
|
|
2114
2117
|
for (const a in o) {
|
|
@@ -2131,13 +2134,13 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2131
2134
|
}
|
|
2132
2135
|
}
|
|
2133
2136
|
}
|
|
2134
|
-
}),
|
|
2137
|
+
}), ql = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), jl = {
|
|
2135
2138
|
hooks: {
|
|
2136
2139
|
"tag:normalise": ({ tag: l }) => {
|
|
2137
|
-
l.key &&
|
|
2140
|
+
l.key && ql.has(l.tag) && (l.props["data-hid"] = l._h = Re(l.key));
|
|
2138
2141
|
}
|
|
2139
2142
|
}
|
|
2140
|
-
},
|
|
2143
|
+
}, xl = {
|
|
2141
2144
|
mode: "server",
|
|
2142
2145
|
hooks: {
|
|
2143
2146
|
"tags:beforeResolve": (l) => {
|
|
@@ -2152,12 +2155,12 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2152
2155
|
});
|
|
2153
2156
|
}
|
|
2154
2157
|
}
|
|
2155
|
-
},
|
|
2158
|
+
}, Wl = {
|
|
2156
2159
|
hooks: {
|
|
2157
2160
|
"tags:resolve": (l) => {
|
|
2158
2161
|
for (const t of l.tags)
|
|
2159
2162
|
if (typeof t.tagPriority == "string")
|
|
2160
|
-
for (const { prefix: n, offset: o } of
|
|
2163
|
+
for (const { prefix: n, offset: o } of $l) {
|
|
2161
2164
|
if (!t.tagPriority.startsWith(n))
|
|
2162
2165
|
continue;
|
|
2163
2166
|
const a = t.tagPriority.substring(n.length), i = l.tags.find((r) => r._d === a)?._p;
|
|
@@ -2172,11 +2175,11 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2172
2175
|
});
|
|
2173
2176
|
}
|
|
2174
2177
|
}
|
|
2175
|
-
},
|
|
2178
|
+
}, Kl = {
|
|
2176
2179
|
meta: "content",
|
|
2177
2180
|
link: "href",
|
|
2178
2181
|
htmlAttrs: "lang"
|
|
2179
|
-
},
|
|
2182
|
+
}, Jl = ["innerHTML", "textContent"], zl = (l) => ({
|
|
2180
2183
|
hooks: {
|
|
2181
2184
|
"tags:resolve": (t) => {
|
|
2182
2185
|
const { tags: n } = t;
|
|
@@ -2193,11 +2196,11 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2193
2196
|
for (const r of n) {
|
|
2194
2197
|
if (r.processTemplateParams === !1)
|
|
2195
2198
|
continue;
|
|
2196
|
-
const p =
|
|
2199
|
+
const p = Kl[r.tag];
|
|
2197
2200
|
if (p && typeof r.props[p] == "string")
|
|
2198
2201
|
r.props[p] = Se(r.props[p], a, i);
|
|
2199
2202
|
else if (r.processTemplateParams || r.tag === "titleTemplate" || r.tag === "title")
|
|
2200
|
-
for (const c of
|
|
2203
|
+
for (const c of Jl)
|
|
2201
2204
|
typeof r[c] == "string" && (r[c] = Se(r[c], a, i));
|
|
2202
2205
|
}
|
|
2203
2206
|
l._templateParams = a, l._separator = i;
|
|
@@ -2211,7 +2214,7 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2211
2214
|
n?.textContent && (n.textContent = Se(n.textContent, l._templateParams, l._separator));
|
|
2212
2215
|
}
|
|
2213
2216
|
}
|
|
2214
|
-
}),
|
|
2217
|
+
}), Yl = {
|
|
2215
2218
|
hooks: {
|
|
2216
2219
|
"tags:resolve": (l) => {
|
|
2217
2220
|
const { tags: t } = l;
|
|
@@ -2235,7 +2238,7 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2235
2238
|
o && l.tags.splice(l.tags.indexOf(o), 1);
|
|
2236
2239
|
}
|
|
2237
2240
|
}
|
|
2238
|
-
},
|
|
2241
|
+
}, Ql = {
|
|
2239
2242
|
hooks: {
|
|
2240
2243
|
"tags:afterResolve": (l) => {
|
|
2241
2244
|
for (const t of l.tags)
|
|
@@ -2244,16 +2247,16 @@ const Ll = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
2244
2247
|
}
|
|
2245
2248
|
};
|
|
2246
2249
|
// @__NO_SIDE_EFFECTS__
|
|
2247
|
-
function
|
|
2248
|
-
const t =
|
|
2249
|
-
return t.use(/* @__PURE__ */
|
|
2250
|
+
function Xl(l = {}) {
|
|
2251
|
+
const t = Zl(l);
|
|
2252
|
+
return t.use(/* @__PURE__ */ Il()), t;
|
|
2250
2253
|
}
|
|
2251
2254
|
function Vt(l, t) {
|
|
2252
2255
|
return !l || l === "server" && t || l === "client" && !t;
|
|
2253
2256
|
}
|
|
2254
|
-
function
|
|
2255
|
-
const t =
|
|
2256
|
-
t.addHooks(l.hooks || {}), l.document = l.document || (
|
|
2257
|
+
function Zl(l = {}) {
|
|
2258
|
+
const t = Ul();
|
|
2259
|
+
t.addHooks(l.hooks || {}), l.document = l.document || (_l ? document : void 0);
|
|
2257
2260
|
const n = !l.document, o = () => {
|
|
2258
2261
|
p.dirty = !0, t.callHook("entries:updated", p);
|
|
2259
2262
|
};
|
|
@@ -2295,7 +2298,7 @@ function Ql(l = {}) {
|
|
|
2295
2298
|
for (const u of c.entries) {
|
|
2296
2299
|
const v = u.resolvedInput || u.input;
|
|
2297
2300
|
if (u.resolvedInput = await (u.transform ? u.transform(v) : v), u.resolvedInput)
|
|
2298
|
-
for (const f of await
|
|
2301
|
+
for (const f of await Cl(u)) {
|
|
2299
2302
|
const k = { tag: f, entry: u, resolvedOptions: p.resolvedOptions };
|
|
2300
2303
|
await t.callHook("tag:normalise", k), c.tags.push(k.tag);
|
|
2301
2304
|
}
|
|
@@ -2305,25 +2308,25 @@ function Ql(l = {}) {
|
|
|
2305
2308
|
ssr: n
|
|
2306
2309
|
};
|
|
2307
2310
|
return [
|
|
2308
|
-
Ul,
|
|
2309
|
-
ql,
|
|
2310
2311
|
Ol,
|
|
2312
|
+
xl,
|
|
2311
2313
|
Gl,
|
|
2312
2314
|
jl,
|
|
2313
|
-
|
|
2314
|
-
Jl,
|
|
2315
|
+
Wl,
|
|
2315
2316
|
zl,
|
|
2317
|
+
Yl,
|
|
2318
|
+
Ql,
|
|
2316
2319
|
...l?.plugins || []
|
|
2317
2320
|
].forEach((c) => p.use(c)), p.hooks.callHook("init", p), p;
|
|
2318
2321
|
}
|
|
2319
|
-
const
|
|
2320
|
-
function
|
|
2322
|
+
const ea = vo[0] === "3";
|
|
2323
|
+
function ta(l) {
|
|
2321
2324
|
return typeof l == "function" ? l() : e(l);
|
|
2322
2325
|
}
|
|
2323
2326
|
function at(l) {
|
|
2324
2327
|
if (l instanceof Promise || l instanceof Date || l instanceof RegExp)
|
|
2325
2328
|
return l;
|
|
2326
|
-
const t =
|
|
2329
|
+
const t = ta(l);
|
|
2327
2330
|
if (!l || !t)
|
|
2328
2331
|
return t;
|
|
2329
2332
|
if (Array.isArray(t))
|
|
@@ -2342,28 +2345,28 @@ function at(l) {
|
|
|
2342
2345
|
}
|
|
2343
2346
|
return t;
|
|
2344
2347
|
}
|
|
2345
|
-
const
|
|
2348
|
+
const oa = {
|
|
2346
2349
|
hooks: {
|
|
2347
2350
|
"entries:resolve": (l) => {
|
|
2348
2351
|
for (const t of l.entries)
|
|
2349
2352
|
t.resolvedInput = at(t.input);
|
|
2350
2353
|
}
|
|
2351
2354
|
}
|
|
2352
|
-
},
|
|
2353
|
-
function
|
|
2355
|
+
}, na = "usehead";
|
|
2356
|
+
function la(l) {
|
|
2354
2357
|
return {
|
|
2355
2358
|
install(n) {
|
|
2356
|
-
|
|
2359
|
+
ea && (n.config.globalProperties.$unhead = l, n.config.globalProperties.$head = l, n.provide(na, l));
|
|
2357
2360
|
}
|
|
2358
2361
|
}.install;
|
|
2359
2362
|
}
|
|
2360
|
-
function
|
|
2361
|
-
l.domDelayFn = l.domDelayFn || ((n) =>
|
|
2362
|
-
const t = /* @__PURE__ */
|
|
2363
|
-
return t.use(
|
|
2363
|
+
function aa(l = {}) {
|
|
2364
|
+
l.domDelayFn = l.domDelayFn || ((n) => ho(() => setTimeout(() => n(), 0)));
|
|
2365
|
+
const t = /* @__PURE__ */ Xl(l);
|
|
2366
|
+
return t.use(oa), t.install = la(t), t;
|
|
2364
2367
|
}
|
|
2365
|
-
const
|
|
2366
|
-
class
|
|
2368
|
+
const ia = yo(), sa = aa(), ra = _o();
|
|
2369
|
+
class da extends HTMLElement {
|
|
2367
2370
|
vueApp;
|
|
2368
2371
|
constructor() {
|
|
2369
2372
|
super();
|
|
@@ -2372,14 +2375,14 @@ class sa extends HTMLElement {
|
|
|
2372
2375
|
this.vueApp.unmount();
|
|
2373
2376
|
}
|
|
2374
2377
|
connectedCallback() {
|
|
2375
|
-
const t =
|
|
2376
|
-
this.vueApp =
|
|
2378
|
+
const t = ko(yt, this.attributes);
|
|
2379
|
+
this.vueApp = go(yt, t), this.vueApp.provide("emitter", ra), this.vueApp.use(sa), this.vueApp.use(ia), this.vueApp.use(Mo), this.vueApp.use(bo), this.vueApp.use(Ro), this.vueApp.use(Po), this.vueApp.use($o, { bootstrap: !0 });
|
|
2377
2380
|
const n = document.createElement("div");
|
|
2378
2381
|
this.vueApp.mount(n), this.appendChild(n.children[0]);
|
|
2379
2382
|
}
|
|
2380
2383
|
}
|
|
2381
|
-
window.customElements.define("konnectio-hotel",
|
|
2384
|
+
window.customElements.define("konnectio-hotel", da);
|
|
2382
2385
|
export {
|
|
2383
|
-
|
|
2386
|
+
da as default
|
|
2384
2387
|
};
|
|
2385
2388
|
//# sourceMappingURL=hotel.js.map
|