@konnectio/core 4.7.4 → 4.7.6
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-B1aBJVRb.js → ActionField-KZjb9lT9.js} +42 -42
- package/dist/ActionField-KZjb9lT9.js.br +0 -0
- package/dist/ActionField-KZjb9lT9.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-B1hwKbSA.js → AvailabilitySkeleton-CEdJogdt.js} +1662 -1662
- package/dist/AvailabilitySkeleton-CEdJogdt.js.br +0 -0
- package/dist/AvailabilitySkeleton-CEdJogdt.js.gz +0 -0
- package/dist/{CheckoutWindow-BD2PXPt7.js → CheckoutWindow-BI5hQY73.js} +155 -154
- package/dist/CheckoutWindow-BI5hQY73.js.br +0 -0
- package/dist/CheckoutWindow-BI5hQY73.js.gz +0 -0
- package/dist/{ErrorMessage-DiRVby8f.js → ErrorMessage-BmIm1fd8.js} +13 -13
- package/dist/ErrorMessage-BmIm1fd8.js.br +0 -0
- package/dist/ErrorMessage-BmIm1fd8.js.gz +0 -0
- package/dist/EventAvailabilityForm-BS4UkhDW.js +114 -0
- package/dist/EventAvailabilityForm-BS4UkhDW.js.br +0 -0
- package/dist/EventAvailabilityForm-BS4UkhDW.js.gz +0 -0
- package/dist/{Field-BYZdtara.js → Field-DWuQQgVC.js} +7 -7
- package/dist/Field-DWuQQgVC.js.br +0 -0
- package/dist/Field-DWuQQgVC.js.gz +0 -0
- package/dist/HotelAvailabilityForm-CCI7Ub6M.js +323 -0
- package/dist/HotelAvailabilityForm-CCI7Ub6M.js.br +0 -0
- package/dist/HotelAvailabilityForm-CCI7Ub6M.js.gz +0 -0
- package/dist/{SelectField-m_n1cMe0.js → SelectField-5RVfSG15.js} +2644 -2590
- package/dist/SelectField-5RVfSG15.js.br +0 -0
- package/dist/SelectField-5RVfSG15.js.gz +0 -0
- package/dist/TermsOfService-DJbt6icJ.js +17 -0
- package/dist/TermsOfService-DJbt6icJ.js.br +0 -0
- package/dist/TermsOfService-DJbt6icJ.js.gz +0 -0
- package/dist/_-WoNM0Unh.js +25 -0
- package/dist/_-WoNM0Unh.js.br +0 -0
- package/dist/_-WoNM0Unh.js.gz +0 -0
- package/dist/availability.js +39 -39
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +71 -71
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/deep-link.js +17 -17
- package/dist/deep-link.js.br +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/{dist-8cx1vxIY.js → dist-BbbpdaI7.js} +17 -17
- package/dist/dist-BbbpdaI7.js.br +0 -0
- package/dist/dist-BbbpdaI7.js.gz +0 -0
- package/dist/{masonry.plugin-DG-fnTtd.js → dist-Bl3zpaAg.js} +44 -994
- package/dist/dist-Bl3zpaAg.js.br +0 -0
- package/dist/dist-Bl3zpaAg.js.gz +0 -0
- package/dist/event.js +393 -393
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +51 -51
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +168 -168
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-4w50jcS_.js → giftCard-D-RDtJQu.js} +17 -17
- package/dist/giftCard-D-RDtJQu.js.br +0 -0
- package/dist/giftCard-D-RDtJQu.js.gz +0 -0
- package/dist/hotel.js +925 -924
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{mitt-DosBWi_E.js → i18n-DwFTw_rF.js} +1 -24
- package/dist/i18n-DwFTw_rF.js.br +0 -0
- package/dist/{mitt-DosBWi_E.js.gz → i18n-DwFTw_rF.js.gz} +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/{style-BzTt5D-A.js → style-M-qG6NpA.js} +389 -389
- package/dist/style-M-qG6NpA.js.br +0 -0
- package/dist/style-M-qG6NpA.js.gz +0 -0
- package/dist-wix/availability.js +22 -22
- package/dist-wix/event.js +6 -6
- package/dist-wix/gift-card-validation.js +11 -11
- package/dist-wix/gift-card.js +25 -25
- package/dist-wix/hotel.js +7 -7
- package/package.json +5 -4
- package/dist/ActionField-B1aBJVRb.js.br +0 -0
- package/dist/ActionField-B1aBJVRb.js.gz +0 -0
- package/dist/AvailabilitySkeleton-B1hwKbSA.js.br +0 -0
- package/dist/AvailabilitySkeleton-B1hwKbSA.js.gz +0 -0
- package/dist/CheckoutWindow-BD2PXPt7.js.br +0 -0
- package/dist/CheckoutWindow-BD2PXPt7.js.gz +0 -0
- package/dist/ErrorMessage-DiRVby8f.js.br +0 -0
- package/dist/ErrorMessage-DiRVby8f.js.gz +0 -0
- package/dist/EventAvailabilityForm-DW6_GZv3.js +0 -114
- package/dist/EventAvailabilityForm-DW6_GZv3.js.br +0 -0
- package/dist/EventAvailabilityForm-DW6_GZv3.js.gz +0 -0
- package/dist/Field-BYZdtara.js.br +0 -0
- package/dist/Field-BYZdtara.js.gz +0 -0
- package/dist/HotelAvailabilityForm-B7yHDXz3.js +0 -323
- package/dist/HotelAvailabilityForm-B7yHDXz3.js.br +0 -0
- package/dist/HotelAvailabilityForm-B7yHDXz3.js.gz +0 -0
- package/dist/SelectField-m_n1cMe0.js.br +0 -0
- package/dist/SelectField-m_n1cMe0.js.gz +0 -0
- package/dist/TermsOfService-CXblPhj1.js +0 -17
- package/dist/TermsOfService-CXblPhj1.js.br +0 -0
- package/dist/TermsOfService-CXblPhj1.js.gz +0 -0
- package/dist/_-CTagk-cE.js +0 -25
- package/dist/_-CTagk-cE.js.br +0 -0
- package/dist/_-CTagk-cE.js.gz +0 -3
- package/dist/dist-8cx1vxIY.js.br +0 -0
- package/dist/dist-8cx1vxIY.js.gz +0 -0
- package/dist/giftCard-4w50jcS_.js.br +0 -0
- package/dist/giftCard-4w50jcS_.js.gz +0 -0
- package/dist/masonry.plugin-DG-fnTtd.js.br +0 -0
- package/dist/masonry.plugin-DG-fnTtd.js.gz +0 -0
- package/dist/mitt-DosBWi_E.js.br +0 -0
- package/dist/style-BzTt5D-A.js.br +0 -0
- package/dist/style-BzTt5D-A.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as e, t } from "./rolldown-runtime-Dqa2HsxW.js";
|
|
2
|
-
import { $ as n, A as r,
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { a as
|
|
10
|
-
import { a as
|
|
11
|
-
import { t as
|
|
2
|
+
import { $ as n, A as r, B as i, D as a, E as o, Et as s, J as c, K as l, M as u, N as d, O as f, Ot as p, Q as m, S as h, T as g, Tt as _, V as ee, _t as te, a as v, b as y, ct as ne, dt as b, g as re, ht as x, i as S, it as ie, j as C, k as ae, kt as w, l as T, n as E, o as oe, rt as D, s as O, tt as k, ut as A, v as j, w as M, x as N, yt as P } from "./i18n-DwFTw_rF.js";
|
|
3
|
+
import { t as F } from "./dist-BbbpdaI7.js";
|
|
4
|
+
import { $ as se, C as ce, D as le, E as ue, G as de, I as fe, K as pe, L as me, N as he, O as ge, Q as _e, R as ve, S as I, U as ye, V as be, W as xe, Y as R, _ as Se, b as Ce, mt as we, n as Te, nt as Ee, r as De, rt as Oe, t as z, ut as ke, v as Ae, x as B } from "./SelectField-5RVfSG15.js";
|
|
5
|
+
import { n as je, t as Me } from "./AvailabilitySkeleton-CEdJogdt.js";
|
|
6
|
+
import { t as Ne } from "./HotelAvailabilityForm-CCI7Ub6M.js";
|
|
7
|
+
import { t as Pe } from "./style-M-qG6NpA.js";
|
|
8
|
+
import { t as Fe } from "./ActionField-KZjb9lT9.js";
|
|
9
|
+
import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, r as He, s as Ue, t as We } from "./dist-Bl3zpaAg.js";
|
|
10
|
+
import { a as Ge, i as Ke, r as qe, t as Je } from "./CheckoutWindow-BI5hQY73.js";
|
|
11
|
+
import { t as V } from "./TermsOfService-DJbt6icJ.js";
|
|
12
12
|
//#region node_modules/inner-image-zoom/src/utils/images.js
|
|
13
|
-
function
|
|
13
|
+
function Ye(e, t) {
|
|
14
14
|
return t ? {
|
|
15
15
|
width: window.innerWidth,
|
|
16
16
|
height: window.innerHeight,
|
|
@@ -18,10 +18,10 @@ function Ze(e, t) {
|
|
|
18
18
|
top: 0
|
|
19
19
|
} : e.getBoundingClientRect();
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Xe(e, t) {
|
|
22
22
|
return e && window.matchMedia && window.matchMedia(`(max-width: ${t}px)`).matches;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Ze() {
|
|
25
25
|
return {
|
|
26
26
|
onLoadCallback: null,
|
|
27
27
|
bounds: {},
|
|
@@ -31,19 +31,19 @@ function $e() {
|
|
|
31
31
|
scaledDimensions: {}
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Qe(e, t, n, r) {
|
|
35
35
|
return {
|
|
36
36
|
x: e - n,
|
|
37
37
|
y: t - r
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function $e(e, t) {
|
|
41
41
|
return {
|
|
42
42
|
x: (t.width - e.width) / e.width,
|
|
43
43
|
y: (t.height - e.height) / e.height
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function et(e, t) {
|
|
47
47
|
return {
|
|
48
48
|
width: e.naturalWidth * t,
|
|
49
49
|
height: e.naturalHeight * t
|
|
@@ -51,39 +51,39 @@ function nt(e, t) {
|
|
|
51
51
|
}
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region node_modules/inner-image-zoom/src/utils/events.js
|
|
54
|
-
function
|
|
54
|
+
function tt(e) {
|
|
55
55
|
return {
|
|
56
56
|
x: typeof e.pageX == "number" ? e.pageX : e.changedTouches[0].pageX,
|
|
57
57
|
y: typeof e.pageY == "number" ? e.pageY : e.changedTouches[0].pageY
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function nt(e, t, n) {
|
|
61
61
|
let r = (e.pageX - (window.pageXOffset + t.bounds.left)) * -t.ratios.x, i = (e.pageY - (window.pageYOffset + t.bounds.top)) * -t.ratios.y;
|
|
62
62
|
return {
|
|
63
63
|
pageX: r + (n ? (window.innerWidth - t.bounds.width) / 2 : 0),
|
|
64
64
|
pageY: i + (n ? (window.innerHeight - t.bounds.height) / 2 : 0)
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function rt(e, t) {
|
|
68
68
|
let n = Math.abs(e.pageX - t.eventPosition.x), r = Math.abs(e.pageY - t.eventPosition.y);
|
|
69
69
|
return n > 5 || r > 5;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
let n =
|
|
71
|
+
function it(e, t) {
|
|
72
|
+
let n = ot(e, t);
|
|
73
73
|
return {
|
|
74
74
|
left: Math.max(Math.min(n.x, t.bounds.width), 0) * -t.ratios.x,
|
|
75
75
|
top: Math.max(Math.min(n.y, t.bounds.height), 0) * -t.ratios.y
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
let n =
|
|
78
|
+
function at(e, t) {
|
|
79
|
+
let n = ot(e, t);
|
|
80
80
|
return {
|
|
81
81
|
left: Math.max(Math.min(n.x, 0), (t.scaledDimensions.width - t.bounds.width) * -1),
|
|
82
82
|
top: Math.max(Math.min(n.y, 0), (t.scaledDimensions.height - t.bounds.height) * -1)
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
let n =
|
|
85
|
+
function ot(e, t) {
|
|
86
|
+
let n = tt(e);
|
|
87
87
|
return {
|
|
88
88
|
x: n.x - t.offsets.x,
|
|
89
89
|
y: n.y - t.offsets.y
|
|
@@ -91,7 +91,7 @@ function ct(e, t) {
|
|
|
91
91
|
}
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region node_modules/vue-inner-image-zoom/src/InnerImageZoom/InnerImageZoom.vue
|
|
94
|
-
var
|
|
94
|
+
var st = d({
|
|
95
95
|
name: "InnerImageZoom",
|
|
96
96
|
props: {
|
|
97
97
|
moveType: {
|
|
@@ -149,7 +149,7 @@ var lt = m({
|
|
|
149
149
|
};
|
|
150
150
|
},
|
|
151
151
|
created() {
|
|
152
|
-
this.imgProps =
|
|
152
|
+
this.imgProps = Ze(), Xe(this.fullscreenOnMobile, this.mobileBreakpoint) && (this.isActive = !1);
|
|
153
153
|
},
|
|
154
154
|
computed: {
|
|
155
155
|
validSources: function() {
|
|
@@ -164,7 +164,7 @@ var lt = m({
|
|
|
164
164
|
this.isActive = !0, this.zoomType === "hover" && !this.isZoomed && this.handleClick(e);
|
|
165
165
|
},
|
|
166
166
|
handleTouchStart() {
|
|
167
|
-
this.isTouch = !0, this.isFullscreen =
|
|
167
|
+
this.isTouch = !0, this.isFullscreen = Xe(this.fullscreenOnMobile, this.mobileBreakpoint), this.currentMoveType = "drag";
|
|
168
168
|
},
|
|
169
169
|
handleClick(e) {
|
|
170
170
|
if (this.isZoomed) {
|
|
@@ -174,23 +174,23 @@ var lt = m({
|
|
|
174
174
|
this.isTouch && (this.isActive = !0), this.imgProps.zoomImg ? (this.handleLoad({ target: this.imgProps.zoomImg }), this.zoomIn(e)) : this.imgProps.onLoadCallback = this.zoomIn.bind(this, e);
|
|
175
175
|
},
|
|
176
176
|
handleLoad(e) {
|
|
177
|
-
let t =
|
|
178
|
-
this.imgProps.zoomImg = e.target, this.imgProps.zoomImg.setAttribute("width", t.width), this.imgProps.zoomImg.setAttribute("height", t.height), this.imgProps.scaledDimensions = t, this.imgProps.bounds =
|
|
177
|
+
let t = et(e.target, this.zoomScale);
|
|
178
|
+
this.imgProps.zoomImg = e.target, this.imgProps.zoomImg.setAttribute("width", t.width), this.imgProps.zoomImg.setAttribute("height", t.height), this.imgProps.scaledDimensions = t, this.imgProps.bounds = Ye(this.$refs.img, !1), this.imgProps.ratios = $e(this.imgProps.bounds, t), this.imgProps.onLoadCallback && (this.imgProps.onLoadCallback(), this.imgProps.onLoadCallback = null);
|
|
179
179
|
},
|
|
180
180
|
handleMouseMove(e) {
|
|
181
|
-
let t =
|
|
181
|
+
let t = it(e, this.imgProps);
|
|
182
182
|
this.left = t.left, this.top = t.top;
|
|
183
183
|
},
|
|
184
184
|
handleDragStart(e) {
|
|
185
|
-
let t =
|
|
186
|
-
this.imgProps.offsets =
|
|
185
|
+
let t = tt(e);
|
|
186
|
+
this.imgProps.offsets = Qe(t.x, t.y, this.imgProps.zoomImg.offsetLeft, this.imgProps.zoomImg.offsetTop), this.imgProps.zoomImg.addEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove, { passive: !0 }), this.isTouch || (this.imgProps.eventPosition = t);
|
|
187
187
|
},
|
|
188
188
|
handleDragMove(e) {
|
|
189
|
-
let t =
|
|
189
|
+
let t = at(e, this.imgProps);
|
|
190
190
|
this.left = t.left, this.top = t.top;
|
|
191
191
|
},
|
|
192
192
|
handleDragEnd(e) {
|
|
193
|
-
this.imgProps.zoomImg.removeEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove), this.isTouch || (this.isDragging =
|
|
193
|
+
this.imgProps.zoomImg.removeEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove), this.isTouch || (this.isDragging = rt(e, this.imgProps));
|
|
194
194
|
},
|
|
195
195
|
handleMouseLeave(e) {
|
|
196
196
|
this.currentMoveType === "drag" && this.isZoomed ? this.handleDragEnd(e) : this.handleClose();
|
|
@@ -198,16 +198,16 @@ var lt = m({
|
|
|
198
198
|
handleClose() {
|
|
199
199
|
this.zoomOut(() => {
|
|
200
200
|
setTimeout(() => {
|
|
201
|
-
(this.zoomPreload && this.isTouch || !this.zoomPreload) && (this.isActive = !1, this.imgProps =
|
|
201
|
+
(this.zoomPreload && this.isTouch || !this.zoomPreload) && (this.isActive = !1, this.imgProps = Ze()), this.isTouch = !1, this.isFullscreen = !1, this.currentMoveType = this.moveType;
|
|
202
202
|
}, this.isFullscreen ? 0 : this.fadeDuration);
|
|
203
203
|
});
|
|
204
204
|
},
|
|
205
205
|
initialMove(e) {
|
|
206
|
-
this.imgProps.offsets =
|
|
206
|
+
this.imgProps.offsets = Qe(window.pageXOffset, window.pageYOffset, -this.imgProps.bounds.left, -this.imgProps.bounds.top), this.handleMouseMove(e);
|
|
207
207
|
},
|
|
208
208
|
initialDragMove(e) {
|
|
209
|
-
let t =
|
|
210
|
-
this.imgProps.bounds =
|
|
209
|
+
let t = nt(e, this.imgProps, this.isFullscreen);
|
|
210
|
+
this.imgProps.bounds = Ye(this.$refs.img, this.isFullscreen), this.imgProps.offsets = Qe(0, 0, 0, 0), this.handleDragMove({
|
|
211
211
|
...t,
|
|
212
212
|
preventDefault: () => {},
|
|
213
213
|
stopPropagation: () => {}
|
|
@@ -220,34 +220,34 @@ var lt = m({
|
|
|
220
220
|
this.isZoomed = !1, this.afterZoomOut && this.afterZoomOut(), e && e();
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
}),
|
|
223
|
+
}), ct = { key: 0 }, lt = [
|
|
224
224
|
"src",
|
|
225
225
|
"width",
|
|
226
226
|
"height"
|
|
227
|
-
],
|
|
227
|
+
], ut = [
|
|
228
228
|
"src",
|
|
229
229
|
"width",
|
|
230
230
|
"height"
|
|
231
|
-
],
|
|
231
|
+
], dt = { class: "iiz__zoom-portal" }, ft = ["src"], pt = ["src"], mt = {
|
|
232
232
|
key: 1,
|
|
233
233
|
class: "iiz__btn iiz__hint"
|
|
234
234
|
};
|
|
235
|
-
function
|
|
236
|
-
return
|
|
235
|
+
function ht(e, t, n, r, l, u) {
|
|
236
|
+
return c(), f("figure", i({
|
|
237
237
|
class: ["iiz", {
|
|
238
238
|
...e.className && { [e.className]: e.className },
|
|
239
239
|
"iiz--drag": e.currentMoveType === "drag"
|
|
240
240
|
}],
|
|
241
241
|
ref: "img",
|
|
242
242
|
style: { width: `${e.width}px` }
|
|
243
|
-
},
|
|
243
|
+
}, ie({
|
|
244
244
|
touchstart: e.isZoomed ? () => {} : e.handleTouchStart,
|
|
245
245
|
click: e.handleClick,
|
|
246
246
|
mouseenter: e.isTouch ? () => {} : e.handleMouseEnter,
|
|
247
247
|
mousemove: e.currentMoveType === "drag" || !e.isZoomed ? () => {} : e.handleMouseMove,
|
|
248
248
|
mouseleave: e.isTouch ? () => {} : e.handleMouseLeave
|
|
249
249
|
}, !0)), [
|
|
250
|
-
|
|
250
|
+
g("div", { style: p({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (c(), f("picture", ct, [(c(!0), f(y, null, m(e.validSources, (e, t) => (c(), f("source", i({ key: t }, { ref_for: !0 }, e), null, 16))), 128)), g("img", i(e.imgAttributes, {
|
|
251
251
|
class: ["iiz__img", [e.imgAttributes.className || "", {
|
|
252
252
|
"iiz__img--hidden": e.isZoomed,
|
|
253
253
|
"iiz__img--abs": e.createSpacer
|
|
@@ -256,7 +256,7 @@ function _t(e, t, r, i, l, u) {
|
|
|
256
256
|
src: e.src,
|
|
257
257
|
width: e.width,
|
|
258
258
|
height: e.height
|
|
259
|
-
}), null, 16,
|
|
259
|
+
}), null, 16, lt)])) : (c(), f("img", i({ key: 1 }, e.imgAttributes, {
|
|
260
260
|
class: ["iiz__img", [e.imgAttributes.className || "", {
|
|
261
261
|
"iiz__img--hidden": e.isZoomed,
|
|
262
262
|
"iiz__img--abs": e.createSpacer
|
|
@@ -265,11 +265,11 @@ function _t(e, t, r, i, l, u) {
|
|
|
265
265
|
src: e.src,
|
|
266
266
|
width: e.width,
|
|
267
267
|
height: e.height
|
|
268
|
-
}), null, 16,
|
|
269
|
-
e.isActive ? (
|
|
268
|
+
}), null, 16, ut))], 4),
|
|
269
|
+
e.isActive ? (c(), f(y, { key: 0 }, [e.isFullscreen ? (c(), o(h, {
|
|
270
270
|
key: 0,
|
|
271
271
|
to: "body"
|
|
272
|
-
}, [
|
|
272
|
+
}, [g("div", dt, [g("img", i({
|
|
273
273
|
class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
|
|
274
274
|
alt: "",
|
|
275
275
|
draggable: !1,
|
|
@@ -279,21 +279,21 @@ function _t(e, t, r, i, l, u) {
|
|
|
279
279
|
transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
|
|
280
280
|
},
|
|
281
281
|
src: e.zoomSrc || e.src
|
|
282
|
-
},
|
|
282
|
+
}, ie({
|
|
283
283
|
load: e.handleLoad,
|
|
284
284
|
touchstart: e.handleDragStart,
|
|
285
285
|
touchend: e.handleDragEnd,
|
|
286
286
|
mousedown: e.handleDragStart,
|
|
287
287
|
mouseup: e.handleDragEnd,
|
|
288
288
|
click: e.handleClick
|
|
289
|
-
}, !0)), null, 16,
|
|
289
|
+
}, !0)), null, 16, ft), !e.hideCloseButton && e.currentMoveType === "drag" ? (c(), f("button", {
|
|
290
290
|
key: 0,
|
|
291
291
|
type: "button",
|
|
292
292
|
class: s(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
|
|
293
293
|
"aria-label": "Zoom Out",
|
|
294
|
-
style:
|
|
295
|
-
onClick: t[0] ||=
|
|
296
|
-
}, null, 6)) :
|
|
294
|
+
style: p({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
|
|
295
|
+
onClick: t[0] ||= j((...t) => e.handleClose && e.handleClose(...t), ["stop"])
|
|
296
|
+
}, null, 6)) : a("", !0)])])) : (c(), f(y, { key: 1 }, [g("img", i({
|
|
297
297
|
class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
|
|
298
298
|
alt: "",
|
|
299
299
|
draggable: !1,
|
|
@@ -303,38 +303,38 @@ function _t(e, t, r, i, l, u) {
|
|
|
303
303
|
transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility`
|
|
304
304
|
},
|
|
305
305
|
src: e.zoomSrc || e.src
|
|
306
|
-
},
|
|
306
|
+
}, ie({
|
|
307
307
|
load: e.handleLoad,
|
|
308
308
|
touchstart: e.handleDragStart,
|
|
309
309
|
touchend: e.handleDragEnd,
|
|
310
310
|
mousedown: e.handleDragStart,
|
|
311
311
|
mouseup: e.handleDragEnd
|
|
312
|
-
}, !0)), null, 16,
|
|
312
|
+
}, !0)), null, 16, pt), !e.hideCloseButton && e.currentMoveType === "drag" ? (c(), f("button", {
|
|
313
313
|
key: 0,
|
|
314
314
|
class: s(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
|
|
315
315
|
type: "button",
|
|
316
316
|
"aria-label": "Zoom Out",
|
|
317
|
-
style:
|
|
318
|
-
onClick: t[1] ||=
|
|
319
|
-
}, null, 6)) :
|
|
320
|
-
!e.isZoomed && !e.hideHint ? (
|
|
317
|
+
style: p({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
|
|
318
|
+
onClick: t[1] ||= j((...t) => e.handleClose && e.handleClose(...t), ["stop"])
|
|
319
|
+
}, null, 6)) : a("", !0)], 64))], 64)) : a("", !0),
|
|
320
|
+
!e.isZoomed && !e.hideHint ? (c(), f("span", mt)) : a("", !0)
|
|
321
321
|
], 16);
|
|
322
322
|
}
|
|
323
323
|
//#endregion
|
|
324
324
|
//#region node_modules/vue-inner-image-zoom/src/index.js
|
|
325
|
-
var
|
|
325
|
+
var gt = /* @__PURE__ */ I(st, [["render", ht], ["__scopeId", "data-v-71b2d8af"]]), _t = { key: 0 }, vt = { class: "konnectio-hotel-reservation-warning" }, yt = { class: "konnectio-hotel-reservation-warning" }, H = { class: "konnectio-hotel-reservation-warning" }, U = { key: 1 }, bt = { class: "konnectio-hotel-reservation-title" }, xt = { class: "konnectio-hotel-reservation-information" }, St = { class: "konnectio-hotel-reservation-guests" }, Ct = { key: 0 }, W = {
|
|
326
326
|
key: 0,
|
|
327
327
|
class: "konnectio-hotel-reservation-room-name"
|
|
328
|
-
},
|
|
328
|
+
}, G = ["onClick"], wt = { key: 0 }, Tt = { key: 1 }, K = { class: "konnectio-hotel-reservation-title" }, Et = {
|
|
329
329
|
key: 0,
|
|
330
330
|
class: "konnectio-hotel-reservation-room-name"
|
|
331
|
-
},
|
|
331
|
+
}, Dt = { class: "konnectio-hotel-reservation-information" }, Ot = { class: "konnectio-hotel-reservation-guests" }, q = { key: 0 }, kt = { key: 0 }, At = { class: "konnectio-reservation-actions" }, jt = {
|
|
332
332
|
key: 0,
|
|
333
333
|
class: "konnectio-newsletter-signup"
|
|
334
|
-
},
|
|
334
|
+
}, Mt = {
|
|
335
335
|
key: 1,
|
|
336
336
|
class: "konnectio-accept-terms"
|
|
337
|
-
},
|
|
337
|
+
}, Nt = { class: "konnectio-hotel-reservation-tooltip" }, Pt = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
338
338
|
__name: "HotelReservationForm",
|
|
339
339
|
props: {
|
|
340
340
|
forceArrivalTime: {},
|
|
@@ -358,143 +358,143 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
358
358
|
prevCallback: {}
|
|
359
359
|
},
|
|
360
360
|
setup(e) {
|
|
361
|
-
let { t } =
|
|
361
|
+
let { t } = v(), { disableNewsletterSignup: r, currency: i } = T(ue()), { hasArrivalDepartureInputs: s } = ue(), { arrivalTime: l, departureTime: u, roomDisplay: d, templateID: p, totalPrice: h, areListingsLoading: ee, getSelectedPackageRooms: te, templateRoomUnits: ne, selectedPackage: ie, discountVouchers: E, currentArrivalDate: oe, currentDepartureDate: D, datesMismatch: O, currentLocation: M, locationMismatch: N, newsMails: F, termsOfService: se, discountCode: le, hasTermOfService: de, acceptTerms: me, totalTemplateAddonPrice: he, totalRooms: _e, totalAdults: I, totalChildren: ye, weekendFee: be, selectedMemberCardData: Se, appliedDiscountCode: Ce, guestDiscountCode: we, isValidatingDiscountCode: Te } = T(ge()), { hasHotelLocations: Ee } = T(ce()), { removeRoom: De, validateDiscountCode: Oe, getMandatoryRoomGroupAddons: z, resetDiscountVoucher: ke, setGuestDiscountCode: Ae, clearGuestDiscountCode: je, fetchAvailabilityData: Me } = ge(), { getHotelLocationName: Ne } = ce(), Pe = P(!1);
|
|
362
362
|
function Fe(e) {
|
|
363
363
|
Ae(e), Me();
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function Le() {
|
|
366
366
|
je(), Me();
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function Re(e) {
|
|
369
369
|
return e.reduce((e, { totalPrice: t }) => e + t, 0);
|
|
370
370
|
}
|
|
371
|
-
return (
|
|
372
|
-
let
|
|
373
|
-
return
|
|
374
|
-
"discount-code":
|
|
375
|
-
"onUpdate:discountCode":
|
|
376
|
-
"validate-discount-code":
|
|
377
|
-
"total-price":
|
|
378
|
-
"weekend-fee":
|
|
371
|
+
return (v, T) => {
|
|
372
|
+
let P = k("tooltip");
|
|
373
|
+
return c(), o(Ie, {
|
|
374
|
+
"discount-code": _(le),
|
|
375
|
+
"onUpdate:discountCode": T[4] ||= (e) => x(le) ? le.value = e : null,
|
|
376
|
+
"validate-discount-code": _(Oe),
|
|
377
|
+
"total-price": _(h),
|
|
378
|
+
"weekend-fee": _(be),
|
|
379
379
|
"show-gift-card": e.showGiftCard,
|
|
380
380
|
"availability-discount": e.availabilityDiscount,
|
|
381
381
|
"show-terms-notice": e.showTermsNotice,
|
|
382
|
-
"is-sidebar-loading":
|
|
383
|
-
notice:
|
|
382
|
+
"is-sidebar-loading": _(ee),
|
|
383
|
+
notice: _(t)("hotel.reservationNotice"),
|
|
384
384
|
"prev-callback": e.prevCallback,
|
|
385
|
-
"applied-discount-code":
|
|
386
|
-
"guest-discount-code":
|
|
387
|
-
"is-validating-discount-code":
|
|
388
|
-
"on-reset-discount-code":
|
|
385
|
+
"applied-discount-code": _(Ce),
|
|
386
|
+
"guest-discount-code": _(we),
|
|
387
|
+
"is-validating-discount-code": _(Te),
|
|
388
|
+
"on-reset-discount-code": _(ke),
|
|
389
389
|
"on-apply-availability-discount": Fe,
|
|
390
|
-
"on-clear-availability-discount":
|
|
391
|
-
},
|
|
392
|
-
form:
|
|
393
|
-
"price-summary":
|
|
394
|
-
|
|
395
|
-
|
|
390
|
+
"on-clear-availability-discount": Le
|
|
391
|
+
}, ae({
|
|
392
|
+
form: A(() => [n(v.$slots, "form", {}, void 0, !0)]),
|
|
393
|
+
"price-summary": A(() => [isNaN(_(p)) && _(d).length > 0 ? (c(!0), f(y, { key: 0 }, m(_(d), ({ roomGroupID: n, title: r, variants: o }) => (c(), f("div", { key: n }, [g("h6", null, [g("span", null, w(_(fe)(r)), 1)]), (c(!0), f(y, null, m(o, (r, o) => (c(), f("div", { key: o }, [(c(!0), f(y, null, m(r.rooms, (s, l) => (c(), f("ul", { key: l }, [g("li", null, [
|
|
394
|
+
g("span", bt, w(_(fe)(r.name)), 1),
|
|
395
|
+
g("span", xt, [g("span", St, [g("span", null, [C(B, {
|
|
396
396
|
icon: "male",
|
|
397
397
|
type: "fas",
|
|
398
398
|
color: "font"
|
|
399
|
-
}),
|
|
399
|
+
}), g("span", null, w(s.adultsCount), 1)]), s.childrenCount > 0 ? (c(), f("span", Ct, [C(B, {
|
|
400
400
|
icon: "child",
|
|
401
401
|
type: "fas",
|
|
402
402
|
color: "font"
|
|
403
|
-
}),
|
|
404
|
-
|
|
403
|
+
}), g("span", null, w(s.childrenCount), 1)])) : a("", !0)]), s.roomName ? (c(), f("span", W, "(" + w(s.roomName) + ")", 1)) : a("", !0)]),
|
|
404
|
+
g("b", null, [g("span", null, w(_(R)(s.totalPrice, _(i))), 1), e.showRemoveRoom ? (c(), f("span", {
|
|
405
405
|
key: 0,
|
|
406
406
|
class: "konnectio-hotel-reservation-remove",
|
|
407
|
-
onClick:
|
|
408
|
-
}, [
|
|
407
|
+
onClick: j((e) => _(De)(n, o, s.configIdx), ["prevent"])
|
|
408
|
+
}, [C(B, {
|
|
409
409
|
icon: "times",
|
|
410
410
|
type: "fas",
|
|
411
411
|
"icon-color": "#ff0000"
|
|
412
|
-
})], 8,
|
|
413
|
-
]),
|
|
414
|
-
|
|
415
|
-
|
|
412
|
+
})], 8, G)) : a("", !0)])
|
|
413
|
+
]), Re(s.roomAddons) > 0 ? (c(), f("li", wt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(R)(Re(s.roomAddons), _(i))), 1)])) : a("", !0)]))), 128))]))), 128))]))), 128)) : a("", !0), _(ne).length > 0 && _(ie) ? (c(), f("div", Tt, [g("h6", null, [g("span", null, w(_(fe)(_(ie).name)), 1)]), g("div", null, [g("ul", null, [(c(!0), f(y, null, m(_(ne), (e, n) => (c(), f("li", { key: n }, [
|
|
414
|
+
g("span", K, [g("span", null, w(_(fe)(_(te).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), _(ne).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (c(), f("span", Et, "(" + w(_(t)("booking.reservation.room")) + " " + w(_(ne).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : a("", !0)]),
|
|
415
|
+
g("span", Dt, [g("span", Ot, [g("span", null, [C(B, {
|
|
416
416
|
icon: "male",
|
|
417
417
|
type: "fas",
|
|
418
418
|
color: "font"
|
|
419
|
-
}),
|
|
419
|
+
}), g("span", null, w(e.adults), 1)]), e.children > 0 ? (c(), f("span", q, [C(B, {
|
|
420
420
|
icon: "child",
|
|
421
421
|
type: "fas",
|
|
422
422
|
color: "font"
|
|
423
|
-
}),
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
]))), 128)),
|
|
427
|
-
actions:
|
|
428
|
-
|
|
429
|
-
modelValue:
|
|
430
|
-
"onUpdate:modelValue":
|
|
423
|
+
}), g("span", null, w(e.children), 1)])) : a("", !0)])]),
|
|
424
|
+
g("b", null, [g("span", null, w(_(R)((_(te).find((t) => t.id === e.roomGroupId)?.extraPrice ?? 0) + _(be), _(i))), 1)]),
|
|
425
|
+
_(z)(e.roomGroupId) ? (c(!0), f(y, { key: 0 }, m(_(z)(e.roomGroupId), (e) => (c(), f(y, null, [g("span", null, "- " + w(e.name), 1), g("b", null, [g("span", null, w(_(R)(e.price, _(i))), 1)])], 64))), 256)) : a("", !0)
|
|
426
|
+
]))), 128)), _(he) ? (c(), f("li", kt, [g("span", null, w(_(t)("general.addons")), 1), g("b", null, w(_(R)(_(he), _(i))), 1)])) : a("", !0)])])])) : a("", !0)]),
|
|
427
|
+
actions: A(() => [g("ul", At, [
|
|
428
|
+
_(r) ? a("", !0) : (c(), f("div", jt, [C(qe, {
|
|
429
|
+
modelValue: _(F),
|
|
430
|
+
"onUpdate:modelValue": T[0] ||= (e) => x(F) ? F.value = e : null,
|
|
431
431
|
type: "checkbox",
|
|
432
432
|
name: "newsletter",
|
|
433
|
-
label:
|
|
433
|
+
label: _(t)("booking.reservation.newsletterSignUp")
|
|
434
434
|
}, null, 8, ["modelValue", "label"])])),
|
|
435
|
-
|
|
436
|
-
modelValue:
|
|
437
|
-
"onUpdate:modelValue":
|
|
435
|
+
_(de) ? (c(), f("div", Mt, [C(qe, {
|
|
436
|
+
modelValue: _(me),
|
|
437
|
+
"onUpdate:modelValue": T[2] ||= (e) => x(me) ? me.value = e : null,
|
|
438
438
|
type: "checkbox",
|
|
439
439
|
name: "terms"
|
|
440
440
|
}, {
|
|
441
|
-
default:
|
|
441
|
+
default: A(() => [C(_(S), {
|
|
442
442
|
keypath: "general.termsAndConditionsCheckbox",
|
|
443
443
|
tag: "span",
|
|
444
444
|
scope: "global"
|
|
445
445
|
}, {
|
|
446
|
-
terms:
|
|
446
|
+
terms: A(() => [g("a", {
|
|
447
447
|
class: "konnectio-accept-terms-link",
|
|
448
|
-
onClick:
|
|
449
|
-
}, [
|
|
448
|
+
onClick: T[1] ||= j((e) => Pe.value = !0, ["prevent"])
|
|
449
|
+
}, [g("span", null, w(_(xe)(_(t)("general.termsAndConditions"))), 1)])]),
|
|
450
450
|
_: 1
|
|
451
451
|
})]),
|
|
452
452
|
_: 1
|
|
453
|
-
}, 8, ["modelValue"])])) :
|
|
454
|
-
|
|
455
|
-
|
|
453
|
+
}, 8, ["modelValue"])])) : a("", !0),
|
|
454
|
+
n(v.$slots, "actions", {}, void 0, !0),
|
|
455
|
+
C(V, {
|
|
456
456
|
modelValue: Pe.value,
|
|
457
|
-
"onUpdate:modelValue":
|
|
458
|
-
description:
|
|
457
|
+
"onUpdate:modelValue": T[3] ||= (e) => Pe.value = e,
|
|
458
|
+
description: _(se)
|
|
459
459
|
}, null, 8, ["modelValue", "description"])
|
|
460
460
|
])]),
|
|
461
|
-
navigation:
|
|
462
|
-
"mobile-under-price":
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
461
|
+
navigation: A(() => [n(v.$slots, "navigation", {}, void 0, !0)]),
|
|
462
|
+
"mobile-under-price": A(() => [
|
|
463
|
+
g("span", null, w(_(t)("general.for")) + ": ", 1),
|
|
464
|
+
g("b", null, w(_(ve)(_(oe), _(D))) + " " + w(_(xe)(_(ve)(_(oe), _(D)) === 1 ? _(t)("booking.reservation.night") : _(t)("booking.reservation.nights"))), 1),
|
|
465
|
+
b((c(), f("span", Nt, [C(B, {
|
|
466
466
|
icon: "circle-info",
|
|
467
467
|
type: "fas"
|
|
468
|
-
})])), [[
|
|
469
|
-
content: `<span>(${
|
|
468
|
+
})])), [[P, {
|
|
469
|
+
content: `<span>(${_(pe)(_(oe))} - ${_(pe)(_(D))})</span>`,
|
|
470
470
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
471
471
|
html: !0
|
|
472
472
|
}]])
|
|
473
473
|
]),
|
|
474
|
-
"mobile-summary":
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
474
|
+
"mobile-summary": A(() => [
|
|
475
|
+
g("span", null, w(`${_(I)} ${_(I) === 1 ? _(t)("general.adult") : _(t)("general.adults")}`), 1),
|
|
476
|
+
g("span", null, w(`${_(ye)} ${_(ye) === 1 ? _(t)("general.child") : _(t)("general.children")}`), 1),
|
|
477
|
+
g("span", null, w(`${_(_e)} ${_(_e) === 1 ? _(t)("booking.reservation.room") : _(t)("booking.reservation.rooms")}`), 1)
|
|
478
478
|
]),
|
|
479
479
|
_: 2
|
|
480
|
-
}, [isNaN(
|
|
480
|
+
}, [isNaN(_(M)) ? void 0 : {
|
|
481
481
|
name: "reservation-summary",
|
|
482
|
-
fn:
|
|
483
|
-
|
|
482
|
+
fn: A(() => [
|
|
483
|
+
_(Ee) ? (c(), f("li", _t, [g("span", null, w(_(t)("general.location")), 1), g("b", null, [g("span", null, w(_(Ne)(_(M))), 1), b(g("span", vt, [C(B, {
|
|
484
484
|
icon: "exclamation-triangle",
|
|
485
485
|
type: "fas"
|
|
486
|
-
})], 512), [[
|
|
487
|
-
|
|
486
|
+
})], 512), [[re, _(N)]])])])) : a("", !0),
|
|
487
|
+
g("li", null, [g("span", null, w(_(t)("booking.reservation.arrival")), 1), g("b", null, [g("span", null, w(_(s)(_(M)) ? `${_(pe)(_(oe))}, ${_(l)}` : _(pe)(_(oe))), 1), b(g("span", yt, [C(B, {
|
|
488
488
|
icon: "exclamation-triangle",
|
|
489
489
|
type: "fas"
|
|
490
|
-
})], 512), [[
|
|
491
|
-
|
|
490
|
+
})], 512), [[re, _(O)]])])]),
|
|
491
|
+
g("li", null, [g("span", null, w(_(t)("booking.reservation.departure")), 1), g("b", null, [g("span", null, w(_(s)(_(M)) ? `${_(pe)(_(D))}, ${_(u)}` : _(pe)(_(D))), 1), b(g("span", H, [C(B, {
|
|
492
492
|
icon: "exclamation-triangle",
|
|
493
493
|
type: "fas"
|
|
494
|
-
})], 512), [[
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
494
|
+
})], 512), [[re, _(O)]])])]),
|
|
495
|
+
g("li", null, [g("span", null, w(_(t)("booking.reservation.nights")), 1), g("b", null, w(_(ve)(_(oe), _(D))) + " " + w(_(xe)(_(ve)(_(oe), _(D)) === 1 ? _(t)("booking.reservation.night") : _(t)("booking.reservation.nights"))), 1)]),
|
|
496
|
+
_(Se) && _(Se).providesDiscount ? (c(), f("li", U, [g("span", null, w(_(Se).shortDescription), 1), g("b", null, "-" + w(_(Se).discountPercent) + "%", 1)])) : a("", !0),
|
|
497
|
+
_(E) ? (c(!0), f(y, { key: 2 }, m(_(E), (e) => (c(), f("li", { key: e.id }, [g("span", null, w(`${_(t)("general.discountCode")} (${e.value})`), 1), g("b", null, w(e.key), 1)]))), 128)) : a("", !0)
|
|
498
498
|
]),
|
|
499
499
|
key: "0"
|
|
500
500
|
}]), 1032, [
|
|
@@ -515,44 +515,44 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
515
515
|
]);
|
|
516
516
|
};
|
|
517
517
|
}
|
|
518
|
-
}), [["__scopeId", "data-v-a875cf1e"]]),
|
|
518
|
+
}), [["__scopeId", "data-v-a875cf1e"]]), Ft = { class: "konnectio-panel" }, It = { id: "konnectio-hotel-guest-discount-title" }, Lt = ["innerHTML"], Rt = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
519
519
|
__name: "GuestDiscountForm",
|
|
520
520
|
setup(e) {
|
|
521
|
-
let { t } =
|
|
522
|
-
async function
|
|
523
|
-
if (!
|
|
524
|
-
|
|
521
|
+
let { t } = v(), n = we("history"), r = ge(), { display: i } = he(), a = P();
|
|
522
|
+
async function o() {
|
|
523
|
+
if (!a.value) {
|
|
524
|
+
i({
|
|
525
525
|
message: t("alert.error.guestDiscountEmpty"),
|
|
526
526
|
type: "error"
|
|
527
527
|
});
|
|
528
528
|
return;
|
|
529
529
|
}
|
|
530
|
-
if (isNaN(
|
|
531
|
-
|
|
530
|
+
if (isNaN(a.value)) {
|
|
531
|
+
i({
|
|
532
532
|
message: t("alert.error.guestDiscountNan"),
|
|
533
533
|
type: "error"
|
|
534
534
|
});
|
|
535
535
|
return;
|
|
536
536
|
}
|
|
537
|
-
await r.checkGuestDiscount(
|
|
537
|
+
await r.checkGuestDiscount(a.value) && (n.gid = a.value.toString());
|
|
538
538
|
}
|
|
539
|
-
return (e, n) => (
|
|
539
|
+
return (e, n) => (c(), f("form", {
|
|
540
540
|
id: "konnectio-hotel-guest-discount",
|
|
541
|
-
onSubmit: n[1] ||=
|
|
542
|
-
}, [
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
modelValue:
|
|
547
|
-
"onUpdate:modelValue": n[0] ||= (e) =>
|
|
548
|
-
label:
|
|
541
|
+
onSubmit: n[1] ||= j(() => {}, ["prevent"])
|
|
542
|
+
}, [g("div", Ft, [
|
|
543
|
+
g("h3", It, [g("span", null, w(_(t)("guestDiscount.title")), 1)]),
|
|
544
|
+
g("p", { innerHTML: _(t)("guestDiscount.description") }, null, 8, Lt),
|
|
545
|
+
C(Fe, {
|
|
546
|
+
modelValue: a.value,
|
|
547
|
+
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
548
|
+
label: _(t)("guestDiscount.guestDiscountCode"),
|
|
549
549
|
placeholder: "XXXXXX",
|
|
550
550
|
inputType: "number",
|
|
551
|
-
"button-label":
|
|
551
|
+
"button-label": _(t)("guestDiscount.submitButton"),
|
|
552
552
|
icon: "user-tag",
|
|
553
553
|
"button-icon": "paper-plane-top",
|
|
554
554
|
secondary: "",
|
|
555
|
-
onAction:
|
|
555
|
+
onAction: o
|
|
556
556
|
}, null, 8, [
|
|
557
557
|
"modelValue",
|
|
558
558
|
"label",
|
|
@@ -560,37 +560,37 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
560
560
|
])
|
|
561
561
|
])], 32));
|
|
562
562
|
}
|
|
563
|
-
}), [["__scopeId", "data-v-2d1cbb8b"]]),
|
|
563
|
+
}), [["__scopeId", "data-v-2d1cbb8b"]]), zt = { class: "konnectio-panel" }, Bt = { id: "konnectio-hotel-discount-code-title" }, Vt = ["innerHTML"], Ht = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
564
564
|
__name: "DiscountCodeForm",
|
|
565
565
|
setup(e) {
|
|
566
|
-
let { t } =
|
|
567
|
-
async function
|
|
568
|
-
if (!
|
|
569
|
-
|
|
566
|
+
let { t } = v(), n = we("history"), r = ge(), { display: i } = he(), a = P();
|
|
567
|
+
async function o() {
|
|
568
|
+
if (!a.value) {
|
|
569
|
+
i({
|
|
570
570
|
message: t("alert.error.discountCodeEmpty"),
|
|
571
571
|
type: "error"
|
|
572
572
|
});
|
|
573
573
|
return;
|
|
574
574
|
}
|
|
575
|
-
n.discount =
|
|
575
|
+
n.discount = a.value.toString(), r.setGuestDiscountCode(a.value.toString());
|
|
576
576
|
}
|
|
577
|
-
return (e, n) => (
|
|
577
|
+
return (e, n) => (c(), f("form", {
|
|
578
578
|
id: "konnectio-hotel-discount-code",
|
|
579
|
-
onSubmit: n[1] ||=
|
|
580
|
-
}, [
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
modelValue:
|
|
585
|
-
"onUpdate:modelValue": n[0] ||= (e) =>
|
|
586
|
-
label:
|
|
579
|
+
onSubmit: n[1] ||= j(() => {}, ["prevent"])
|
|
580
|
+
}, [g("div", zt, [
|
|
581
|
+
g("h3", Bt, [g("span", null, w(_(t)("discountCode.title")), 1)]),
|
|
582
|
+
g("p", { innerHTML: _(t)("discountCode.description") }, null, 8, Vt),
|
|
583
|
+
C(Fe, {
|
|
584
|
+
modelValue: a.value,
|
|
585
|
+
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
586
|
+
label: _(t)("discountCode.label"),
|
|
587
587
|
placeholder: "XXXXXX",
|
|
588
588
|
inputType: "text",
|
|
589
|
-
"button-label":
|
|
589
|
+
"button-label": _(t)("discountCode.submitButton"),
|
|
590
590
|
icon: "tags",
|
|
591
591
|
"button-icon": "paper-plane-top",
|
|
592
592
|
secondary: "",
|
|
593
|
-
onAction:
|
|
593
|
+
onAction: o
|
|
594
594
|
}, null, 8, [
|
|
595
595
|
"modelValue",
|
|
596
596
|
"label",
|
|
@@ -598,7 +598,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
598
598
|
])
|
|
599
599
|
])], 32));
|
|
600
600
|
}
|
|
601
|
-
}), [["__scopeId", "data-v-c5281a3a"]]),
|
|
601
|
+
}), [["__scopeId", "data-v-c5281a3a"]]), J = { class: "konnectio-room-config-option" }, Ut = { key: 0 }, Y = { class: "konnectio-selected-room-config" }, Wt = { class: "konnectio-selected-room-config-people" }, Gt = { key: 0 }, Kt = { class: "konnectio-selected-room-config-price" }, qt = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
602
602
|
__name: "RoomConfigField",
|
|
603
603
|
props: {
|
|
604
604
|
modelValue: {},
|
|
@@ -615,17 +615,17 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
615
615
|
},
|
|
616
616
|
emits: ["update:modelValue"],
|
|
617
617
|
setup(e, { emit: t }) {
|
|
618
|
-
let { t: n } =
|
|
618
|
+
let { t: n } = v(), { currency: i } = T(ue()), s = t, l = e;
|
|
619
619
|
function u(e) {
|
|
620
|
-
|
|
620
|
+
s("update:modelValue", e);
|
|
621
621
|
}
|
|
622
|
-
let
|
|
623
|
-
get: () =>
|
|
622
|
+
let d = M({
|
|
623
|
+
get: () => l.modelValue,
|
|
624
624
|
set: (e) => u(e)
|
|
625
625
|
});
|
|
626
|
-
return (t,
|
|
627
|
-
modelValue:
|
|
628
|
-
"onUpdate:modelValue":
|
|
626
|
+
return (t, s) => (c(), o(z, {
|
|
627
|
+
modelValue: d.value,
|
|
628
|
+
"onUpdate:modelValue": s[0] ||= (e) => d.value = e,
|
|
629
629
|
label: e.label,
|
|
630
630
|
placeholder: "Select guest configuration",
|
|
631
631
|
labelKey: "label",
|
|
@@ -636,20 +636,20 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
636
636
|
required: e.required,
|
|
637
637
|
searchable: !1
|
|
638
638
|
}, {
|
|
639
|
-
option:
|
|
640
|
-
|
|
639
|
+
option: A(({ data: e }) => [g("span", J, [g("div", null, [
|
|
640
|
+
C(B, {
|
|
641
641
|
icon: "male",
|
|
642
642
|
type: "fas",
|
|
643
643
|
color: "font"
|
|
644
644
|
}),
|
|
645
|
-
|
|
646
|
-
e.children > 0 ? (
|
|
645
|
+
g("span", null, w(`${e.adults}`), 1),
|
|
646
|
+
e.children > 0 ? (c(), f("span", Ut, [C(B, {
|
|
647
647
|
icon: "child",
|
|
648
648
|
type: "fas",
|
|
649
649
|
color: "font"
|
|
650
|
-
}),
|
|
651
|
-
]),
|
|
652
|
-
"selected-option":
|
|
650
|
+
}), g("span", null, w(`${e.children}`), 1)])) : a("", !0)
|
|
651
|
+
]), g("span", null, w(`(${_(R)(e.price, _(i))})`), 1)])]),
|
|
652
|
+
"selected-option": A(({ data: e }) => [g("div", Y, [g("div", Wt, [g("div", null, [a("", !0), g("span", null, w(`${e.adults} ${e.adults === 1 ? _(n)("general.adult") : _(n)("general.adults")}`), 1)]), e.children > 0 ? (c(), f("div", Gt, [a("", !0), g("span", null, w(`& ${e.children} ${e.children === 1 ? _(n)("general.child") : _(n)("general.children")}`), 1)])) : a("", !0)]), g("div", Kt, [s[1] ||= g("span", null, null, -1), r(" " + w(`(${_(R)(e.price, _(i))})`), 1)])])]),
|
|
653
653
|
_: 1
|
|
654
654
|
}, 8, [
|
|
655
655
|
"modelValue",
|
|
@@ -733,30 +733,30 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
733
733
|
var _ = Array.isArray || function(e) {
|
|
734
734
|
return Object.prototype.toString.call(e) === "[object Array]";
|
|
735
735
|
};
|
|
736
|
-
function
|
|
736
|
+
function ee(e, t) {
|
|
737
737
|
for (var n = 0; n < e.length; n++) if (e[n] === t) return n;
|
|
738
738
|
return -1;
|
|
739
739
|
}
|
|
740
|
-
var
|
|
741
|
-
function
|
|
740
|
+
var te = "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";
|
|
741
|
+
function v(e) {
|
|
742
742
|
return window["webkit" + e] || window["moz" + e] || window["ms" + e];
|
|
743
743
|
}
|
|
744
|
-
var
|
|
745
|
-
function
|
|
746
|
-
var t = +/* @__PURE__ */ new Date(), n = Math.max(0, 16 - (t -
|
|
747
|
-
return
|
|
744
|
+
var y = 0;
|
|
745
|
+
function ne(e) {
|
|
746
|
+
var t = +/* @__PURE__ */ new Date(), n = Math.max(0, 16 - (t - y));
|
|
747
|
+
return y = t + n, window.setTimeout(e, n);
|
|
748
748
|
}
|
|
749
|
-
var
|
|
749
|
+
var b = window.requestAnimationFrame || v("RequestAnimationFrame") || ne, re = window.cancelAnimationFrame || v("CancelAnimationFrame") || v("CancelRequestAnimationFrame") || function(e) {
|
|
750
750
|
window.clearTimeout(e);
|
|
751
751
|
};
|
|
752
752
|
function x(e, t, n) {
|
|
753
|
-
if (n &&
|
|
754
|
-
else return
|
|
753
|
+
if (n && b === ne) e.call(t);
|
|
754
|
+
else return b.call(window, i(e, t));
|
|
755
755
|
}
|
|
756
756
|
function S(e) {
|
|
757
|
-
e &&
|
|
757
|
+
e && re.call(window, e);
|
|
758
758
|
}
|
|
759
|
-
var
|
|
759
|
+
var ie = {
|
|
760
760
|
__proto__: null,
|
|
761
761
|
extend: n,
|
|
762
762
|
create: r,
|
|
@@ -775,43 +775,43 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
775
775
|
getParamString: m,
|
|
776
776
|
template: g,
|
|
777
777
|
isArray: _,
|
|
778
|
-
indexOf:
|
|
779
|
-
emptyImageUrl:
|
|
780
|
-
requestFn:
|
|
781
|
-
cancelFn:
|
|
778
|
+
indexOf: ee,
|
|
779
|
+
emptyImageUrl: te,
|
|
780
|
+
requestFn: b,
|
|
781
|
+
cancelFn: re,
|
|
782
782
|
requestAnimFrame: x,
|
|
783
783
|
cancelAnimFrame: S
|
|
784
784
|
};
|
|
785
|
-
function
|
|
786
|
-
|
|
785
|
+
function C() {}
|
|
786
|
+
C.extend = function(e) {
|
|
787
787
|
var t = function() {
|
|
788
788
|
p(this), this.initialize && this.initialize.apply(this, arguments), this.callInitHooks();
|
|
789
789
|
}, i = t.__super__ = this.prototype, a = r(i);
|
|
790
790
|
for (var o in a.constructor = t, t.prototype = a, this) Object.prototype.hasOwnProperty.call(this, o) && o !== "prototype" && o !== "__super__" && (t[o] = this[o]);
|
|
791
|
-
return e.statics && n(t, e.statics), e.includes && (
|
|
791
|
+
return e.statics && n(t, e.statics), e.includes && (ae(e.includes), n.apply(null, [a].concat(e.includes))), n(a, e), delete a.statics, delete a.includes, a.options && (a.options = i.options ? r(i.options) : {}, n(a.options, e.options)), a._initHooks = [], a.callInitHooks = function() {
|
|
792
792
|
if (!this._initHooksCalled) {
|
|
793
793
|
i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
|
|
794
794
|
for (var e = 0, t = a._initHooks.length; e < t; e++) a._initHooks[e].call(this);
|
|
795
795
|
}
|
|
796
796
|
}, t;
|
|
797
|
-
},
|
|
797
|
+
}, C.include = function(e) {
|
|
798
798
|
var t = this.prototype.options;
|
|
799
799
|
return n(this.prototype, e), e.options && (this.prototype.options = t, this.mergeOptions(e.options)), this;
|
|
800
|
-
},
|
|
800
|
+
}, C.mergeOptions = function(e) {
|
|
801
801
|
return n(this.prototype.options, e), this;
|
|
802
|
-
},
|
|
802
|
+
}, C.addInitHook = function(e) {
|
|
803
803
|
var t = Array.prototype.slice.call(arguments, 1), n = typeof e == "function" ? e : function() {
|
|
804
804
|
this[e].apply(this, t);
|
|
805
805
|
};
|
|
806
806
|
return this.prototype._initHooks = this.prototype._initHooks || [], this.prototype._initHooks.push(n), this;
|
|
807
807
|
};
|
|
808
|
-
function
|
|
808
|
+
function ae(e) {
|
|
809
809
|
if (!(typeof L > "u" || !L || !L.Mixin)) {
|
|
810
810
|
e = _(e) ? e : [e];
|
|
811
811
|
for (var t = 0; t < e.length; t++) e[t] === L.Mixin.Events && console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.", (/* @__PURE__ */ Error()).stack);
|
|
812
812
|
}
|
|
813
813
|
}
|
|
814
|
-
var
|
|
814
|
+
var w = {
|
|
815
815
|
on: function(e, t, n) {
|
|
816
816
|
if (typeof e == "object") for (var r in e) this._on(r, e[r], t);
|
|
817
817
|
else {
|
|
@@ -922,8 +922,8 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
922
922
|
}, e), !0);
|
|
923
923
|
}
|
|
924
924
|
};
|
|
925
|
-
|
|
926
|
-
var
|
|
925
|
+
w.addEventListener = w.on, w.removeEventListener = w.clearAllEventListeners = w.off, w.addOneTimeEventListener = w.once, w.fireEvent = w.fire, w.hasEventListeners = w.listens;
|
|
926
|
+
var T = C.extend(w);
|
|
927
927
|
function E(e, t, n) {
|
|
928
928
|
this.x = n ? Math.round(e) : e, this.y = n ? Math.round(t) : t;
|
|
929
929
|
}
|
|
@@ -1267,7 +1267,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1267
1267
|
}
|
|
1268
1268
|
return n || "M0 0";
|
|
1269
1269
|
}
|
|
1270
|
-
var he = document.documentElement.style,
|
|
1270
|
+
var he = document.documentElement.style, ge = "ActiveXObject" in window, _e = ge && !document.addEventListener, ve = "msLaunchUri" in navigator && !("documentMode" in document), I = Je("webkit"), ye = Je("android"), be = Je("android 2") || Je("android 3"), xe = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), R = ye && Je("Google") && xe < 537 && !("AudioNode" in window), Se = !!window.opera, Ce = !ve && Je("chrome"), we = Je("gecko") && !I && !Se && !ge, Te = !Ce && Je("safari"), Ee = Je("phantom"), De = "OTransition" in he, Oe = navigator.platform.indexOf("Win") === 0, z = ge && "transition" in he, ke = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !be, Ae = "MozPerspective" in he, B = !window.L_DISABLE_3D && (z || ke || Ae) && !De && !Ee, je = typeof orientation < "u" || Je("mobile"), Me = je && I, Ne = je && ke, Pe = !window.PointerEvent && window.MSPointerEvent, Fe = !!(window.PointerEvent || Pe), Ie = "ontouchstart" in window || !!window.TouchEvent, Le = !window.L_NO_TOUCH && (Ie || Fe), Re = je && Se, ze = je && we, Be = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Ve = function() {
|
|
1271
1271
|
var e = !1;
|
|
1272
1272
|
try {
|
|
1273
1273
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1295,25 +1295,25 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1295
1295
|
return navigator.userAgent.toLowerCase().indexOf(e) >= 0;
|
|
1296
1296
|
}
|
|
1297
1297
|
var V = {
|
|
1298
|
-
ie:
|
|
1299
|
-
ielt9:
|
|
1300
|
-
edge:
|
|
1301
|
-
webkit:
|
|
1298
|
+
ie: ge,
|
|
1299
|
+
ielt9: _e,
|
|
1300
|
+
edge: ve,
|
|
1301
|
+
webkit: I,
|
|
1302
1302
|
android: ye,
|
|
1303
|
-
android23:
|
|
1304
|
-
androidStock:
|
|
1303
|
+
android23: be,
|
|
1304
|
+
androidStock: R,
|
|
1305
1305
|
opera: Se,
|
|
1306
|
-
chrome:
|
|
1307
|
-
gecko:
|
|
1308
|
-
safari:
|
|
1309
|
-
phantom:
|
|
1310
|
-
opera12:
|
|
1311
|
-
win:
|
|
1312
|
-
ie3d:
|
|
1306
|
+
chrome: Ce,
|
|
1307
|
+
gecko: we,
|
|
1308
|
+
safari: Te,
|
|
1309
|
+
phantom: Ee,
|
|
1310
|
+
opera12: De,
|
|
1311
|
+
win: Oe,
|
|
1312
|
+
ie3d: z,
|
|
1313
1313
|
webkit3d: ke,
|
|
1314
1314
|
gecko3d: Ae,
|
|
1315
|
-
any3d:
|
|
1316
|
-
mobile:
|
|
1315
|
+
any3d: B,
|
|
1316
|
+
mobile: je,
|
|
1317
1317
|
mobileWebkit: Me,
|
|
1318
1318
|
mobileWebkit3d: Ne,
|
|
1319
1319
|
msPointer: Pe,
|
|
@@ -1595,7 +1595,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1595
1595
|
if (arguments.length === 1) Wt(e), delete e[Ut];
|
|
1596
1596
|
else if (t && typeof t == "object") for (var i in t) qt(e, i, t[i], n);
|
|
1597
1597
|
else if (t = f(t), arguments.length === 2) Wt(e, function(e) {
|
|
1598
|
-
return
|
|
1598
|
+
return ee(t, e) !== -1;
|
|
1599
1599
|
});
|
|
1600
1600
|
else for (var a = 0, o = t.length; a < o; a++) qt(e, t[a], n, r);
|
|
1601
1601
|
return this;
|
|
@@ -1627,20 +1627,20 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1627
1627
|
if (!a) return this;
|
|
1628
1628
|
!V.touchNative && V.pointer && t.indexOf("touch") === 0 ? it(e, t, a) : V.touch && t === "dblclick" ? mt(e, a) : "removeEventListener" in e ? e.removeEventListener(Gt[t] || t, a, !1) : e.detachEvent("on" + t, a), e[Ut][i] = null;
|
|
1629
1629
|
}
|
|
1630
|
-
function
|
|
1630
|
+
function X(e) {
|
|
1631
1631
|
return e.stopPropagation ? e.stopPropagation() : e.originalEvent ? e.originalEvent._stopped = !0 : e.cancelBubble = !0, this;
|
|
1632
1632
|
}
|
|
1633
|
-
function
|
|
1634
|
-
return Kt(e, "wheel",
|
|
1633
|
+
function Jt(e) {
|
|
1634
|
+
return Kt(e, "wheel", X), this;
|
|
1635
1635
|
}
|
|
1636
|
-
function
|
|
1637
|
-
return J(e, "mousedown touchstart dblclick contextmenu",
|
|
1636
|
+
function Yt(e) {
|
|
1637
|
+
return J(e, "mousedown touchstart dblclick contextmenu", X), e._leaflet_disable_click = !0, this;
|
|
1638
1638
|
}
|
|
1639
1639
|
function Z(e) {
|
|
1640
1640
|
return e.preventDefault ? e.preventDefault() : e.returnValue = !1, this;
|
|
1641
1641
|
}
|
|
1642
1642
|
function Xt(e) {
|
|
1643
|
-
return Z(e),
|
|
1643
|
+
return Z(e), X(e), this;
|
|
1644
1644
|
}
|
|
1645
1645
|
function Zt(e) {
|
|
1646
1646
|
if (e.composedPath) return e.composedPath();
|
|
@@ -1670,9 +1670,9 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1670
1670
|
__proto__: null,
|
|
1671
1671
|
on: J,
|
|
1672
1672
|
off: Y,
|
|
1673
|
-
stopPropagation:
|
|
1674
|
-
disableScrollPropagation:
|
|
1675
|
-
disableClickPropagation:
|
|
1673
|
+
stopPropagation: X,
|
|
1674
|
+
disableScrollPropagation: Jt,
|
|
1675
|
+
disableClickPropagation: Yt,
|
|
1676
1676
|
preventDefault: Z,
|
|
1677
1677
|
stop: Xt,
|
|
1678
1678
|
getPropagationPath: Zt,
|
|
@@ -1681,7 +1681,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1681
1681
|
isExternalTarget: tn,
|
|
1682
1682
|
addListener: J,
|
|
1683
1683
|
removeListener: Y
|
|
1684
|
-
}, rn =
|
|
1684
|
+
}, rn = T.extend({
|
|
1685
1685
|
run: function(e, t, n, r) {
|
|
1686
1686
|
this.stop(), this._el = e, this._inProgress = !0, this._duration = n || .25, this._easeOutPower = 1 / Math.max(r || .5, .2), this._startPos = kt(e), this._offset = t.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
|
|
1687
1687
|
},
|
|
@@ -1705,7 +1705,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1705
1705
|
_easeOut: function(e) {
|
|
1706
1706
|
return 1 - (1 - e) ** this._easeOutPower;
|
|
1707
1707
|
}
|
|
1708
|
-
}), Q =
|
|
1708
|
+
}), Q = T.extend({
|
|
1709
1709
|
options: {
|
|
1710
1710
|
crs: de,
|
|
1711
1711
|
center: void 0,
|
|
@@ -1806,18 +1806,18 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1806
1806
|
function _(e) {
|
|
1807
1807
|
return s * (m(g) / m(g + u * e));
|
|
1808
1808
|
}
|
|
1809
|
-
function
|
|
1809
|
+
function ee(e) {
|
|
1810
1810
|
return s * (m(g) * h(g + u * e) - p(g)) / d;
|
|
1811
1811
|
}
|
|
1812
|
-
function
|
|
1812
|
+
function te(e) {
|
|
1813
1813
|
return 1 - (1 - e) ** 1.5;
|
|
1814
1814
|
}
|
|
1815
|
-
var
|
|
1816
|
-
function
|
|
1817
|
-
var n = (Date.now() -
|
|
1818
|
-
n <= 1 ? (this._flyToFrame = x(
|
|
1815
|
+
var v = Date.now(), y = (f(1) - g) / u, ne = n.duration ? 1e3 * n.duration : 1e3 * y * .8;
|
|
1816
|
+
function b() {
|
|
1817
|
+
var n = (Date.now() - v) / ne, a = te(n) * y;
|
|
1818
|
+
n <= 1 ? (this._flyToFrame = x(b, this), this._move(this.unproject(r.add(i.subtract(r).multiplyBy(ee(a) / l)), o), this.getScaleZoom(s / _(a), o), { flyTo: !0 })) : this._move(e, t)._moveEnd(!0);
|
|
1819
1819
|
}
|
|
1820
|
-
return this._moveStart(!0, n.noMoveStart),
|
|
1820
|
+
return this._moveStart(!0, n.noMoveStart), b.call(this), this;
|
|
1821
1821
|
},
|
|
1822
1822
|
flyToBounds: function(e, t) {
|
|
1823
1823
|
var n = this._getBoundsCenterZoom(e, t);
|
|
@@ -2136,7 +2136,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2136
2136
|
var u = c.getLatLng && (!c._radius || c._radius <= 10);
|
|
2137
2137
|
l.containerPoint = u ? this.latLngToContainerPoint(c.getLatLng()) : this.mouseEventToContainerPoint(e), l.layerPoint = this.containerPointToLayerPoint(l.containerPoint), l.latlng = u ? c.getLatLng() : this.layerPointToLatLng(l.layerPoint);
|
|
2138
2138
|
}
|
|
2139
|
-
for (s = 0; s < a.length; s++) if (a[s].fire(t, l, !0), l.originalEvent._stopped || a[s].options.bubblingMouseEvents === !1 &&
|
|
2139
|
+
for (s = 0; s < a.length; s++) if (a[s].fire(t, l, !0), l.originalEvent._stopped || a[s].options.bubblingMouseEvents === !1 && ee(this._mouseEvents, t) !== -1) return;
|
|
2140
2140
|
}
|
|
2141
2141
|
},
|
|
2142
2142
|
_draggableMoved: function(e) {
|
|
@@ -2254,7 +2254,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2254
2254
|
function an(e, t) {
|
|
2255
2255
|
return new Q(e, t);
|
|
2256
2256
|
}
|
|
2257
|
-
var on =
|
|
2257
|
+
var on = C.extend({
|
|
2258
2258
|
options: { position: "topright" },
|
|
2259
2259
|
initialize: function(e) {
|
|
2260
2260
|
p(this, e);
|
|
@@ -2351,7 +2351,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2351
2351
|
},
|
|
2352
2352
|
_initLayout: function() {
|
|
2353
2353
|
var e = "leaflet-control-layers", t = this._container = H("div", e), n = this.options.collapsed;
|
|
2354
|
-
t.setAttribute("aria-haspopup", !0),
|
|
2354
|
+
t.setAttribute("aria-haspopup", !0), Yt(t), Jt(t);
|
|
2355
2355
|
var r = this._section = H("section", e + "-list");
|
|
2356
2356
|
n && (this._map.on("click", this.collapse, this), J(t, {
|
|
2357
2357
|
mouseenter: this._expandSafely,
|
|
@@ -2458,7 +2458,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2458
2458
|
},
|
|
2459
2459
|
_createButton: function(e, t, n, r, i) {
|
|
2460
2460
|
var a = H("a", n, r);
|
|
2461
|
-
return a.innerHTML = e, a.href = "#", a.title = t, a.setAttribute("role", "button"), a.setAttribute("aria-label", t),
|
|
2461
|
+
return a.innerHTML = e, a.href = "#", a.title = t, a.setAttribute("role", "button"), a.setAttribute("aria-label", t), Yt(a), J(a, "click", Xt), J(a, "click", i, this), J(a, "click", this._refocusOnMap, this), a;
|
|
2462
2462
|
},
|
|
2463
2463
|
_updateDisabled: function() {
|
|
2464
2464
|
var e = this._map, t = "leaflet-disabled";
|
|
@@ -2520,7 +2520,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2520
2520
|
p(this, e), this._attributions = {};
|
|
2521
2521
|
},
|
|
2522
2522
|
onAdd: function(e) {
|
|
2523
|
-
for (var t in e.attributionControl = this, this._container = H("div", "leaflet-control-attribution"),
|
|
2523
|
+
for (var t in e.attributionControl = this, this._container = H("div", "leaflet-control-attribution"), Yt(this._container), e._layers) e._layers[t].getAttribution && this.addAttribution(e._layers[t].getAttribution());
|
|
2524
2524
|
return this._update(), e.on("layeradd", this._addAttribution, this), this._container;
|
|
2525
2525
|
},
|
|
2526
2526
|
onRemove: function(e) {
|
|
@@ -2554,7 +2554,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2554
2554
|
}), on.Layers = sn, on.Zoom = ln, on.Scale = dn, on.Attribution = pn, $.layers = cn, $.zoom = un, $.scale = fn, $.attribution = function(e) {
|
|
2555
2555
|
return new pn(e);
|
|
2556
2556
|
};
|
|
2557
|
-
var mn =
|
|
2557
|
+
var mn = C.extend({
|
|
2558
2558
|
initialize: function(e) {
|
|
2559
2559
|
this._map = e;
|
|
2560
2560
|
},
|
|
@@ -2571,7 +2571,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2571
2571
|
mn.addTo = function(e, t) {
|
|
2572
2572
|
return e.addHandler(t, this), this;
|
|
2573
2573
|
};
|
|
2574
|
-
var hn = { Events:
|
|
2574
|
+
var hn = { Events: w }, gn = V.touch ? "touchstart mousedown" : "mousedown", _n = T.extend({
|
|
2575
2575
|
options: { clickTolerance: 3 },
|
|
2576
2576
|
initialize: function(e, t, n, r) {
|
|
2577
2577
|
p(this, r), this._element = e, this._dragStartTarget = t || e, this._preventOutline = n;
|
|
@@ -2808,7 +2808,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2808
2808
|
infinite: !0
|
|
2809
2809
|
});
|
|
2810
2810
|
P.Earth = F, P.EPSG3395 = Vn, P.EPSG3857 = de, P.EPSG900913 = fe, P.EPSG4326 = Hn, P.Simple = Un;
|
|
2811
|
-
var Wn =
|
|
2811
|
+
var Wn = T.extend({
|
|
2812
2812
|
options: {
|
|
2813
2813
|
pane: "overlayPane",
|
|
2814
2814
|
attribution: null,
|
|
@@ -2961,7 +2961,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2961
2961
|
}
|
|
2962
2962
|
}), Jn = function(e, t) {
|
|
2963
2963
|
return new qn(e, t);
|
|
2964
|
-
}, Yn =
|
|
2964
|
+
}, Yn = C.extend({
|
|
2965
2965
|
options: {
|
|
2966
2966
|
popupAnchor: [0, 0],
|
|
2967
2967
|
tooltipAnchor: [0, 0],
|
|
@@ -3854,10 +3854,10 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3854
3854
|
return e = arguments.length ? e : this._source._map, !e.hasLayer(this) && e._popup && e._popup.options.autoClose && e.removeLayer(e._popup), e._popup = this, Or.prototype.openOn.call(this, e);
|
|
3855
3855
|
},
|
|
3856
3856
|
onAdd: function(e) {
|
|
3857
|
-
Or.prototype.onAdd.call(this, e), e.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof tr || this._source.on("preclick",
|
|
3857
|
+
Or.prototype.onAdd.call(this, e), e.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof tr || this._source.on("preclick", X));
|
|
3858
3858
|
},
|
|
3859
3859
|
onRemove: function(e) {
|
|
3860
|
-
Or.prototype.onRemove.call(this, e), e.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof tr || this._source.off("preclick",
|
|
3860
|
+
Or.prototype.onRemove.call(this, e), e.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof tr || this._source.off("preclick", X));
|
|
3861
3861
|
},
|
|
3862
3862
|
getEvents: function() {
|
|
3863
3863
|
var e = Or.prototype.getEvents.call(this);
|
|
@@ -3865,7 +3865,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3865
3865
|
},
|
|
3866
3866
|
_initLayout: function() {
|
|
3867
3867
|
var e = "leaflet-popup", t = this._container = H("div", e + " " + (this.options.className || "") + " leaflet-zoom-animated"), n = this._wrapper = H("div", e + "-content-wrapper", t);
|
|
3868
|
-
if (this._contentNode = H("div", e + "-content", n),
|
|
3868
|
+
if (this._contentNode = H("div", e + "-content", n), Yt(t), Jt(this._contentNode), J(t, "contextmenu", X), this._tipContainer = H("div", e + "-tip-container", t), this._tip = H("div", e + "-tip", this._tipContainer), this.options.closeButton) {
|
|
3869
3869
|
var r = this._closeButton = H("a", e + "-close-button", t);
|
|
3870
3870
|
r.setAttribute("role", "button"), r.setAttribute("aria-label", "Close popup"), r.href = "#close", r.innerHTML = "<span aria-hidden=\"true\">×</span>", J(r, "click", function(e) {
|
|
3871
3871
|
Z(e), this.close();
|
|
@@ -4462,7 +4462,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4462
4462
|
_abortLoading: function() {
|
|
4463
4463
|
var e, t;
|
|
4464
4464
|
for (e in this._tiles) if (this._tiles[e].coords.z !== this._tileZoom && (t = this._tiles[e].el, t.onload = l, t.onerror = l, !t.complete)) {
|
|
4465
|
-
t.src =
|
|
4465
|
+
t.src = te;
|
|
4466
4466
|
var n = this._tiles[e].coords;
|
|
4467
4467
|
U(t), delete this._tiles[e], this.fire("tileabort", {
|
|
4468
4468
|
tile: t,
|
|
@@ -4472,10 +4472,10 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4472
4472
|
},
|
|
4473
4473
|
_removeTile: function(e) {
|
|
4474
4474
|
var t = this._tiles[e];
|
|
4475
|
-
if (t) return t.el.setAttribute("src",
|
|
4475
|
+
if (t) return t.el.setAttribute("src", te), Fr.prototype._removeTile.call(this, e);
|
|
4476
4476
|
},
|
|
4477
4477
|
_tileReady: function(e, t, n) {
|
|
4478
|
-
if (!(!this._map || n && n.getAttribute("src") ===
|
|
4478
|
+
if (!(!this._map || n && n.getAttribute("src") === te)) return Fr.prototype._tileReady.call(this, e, t, n);
|
|
4479
4479
|
}
|
|
4480
4480
|
});
|
|
4481
4481
|
function Rr(e, t) {
|
|
@@ -5233,7 +5233,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5233
5233
|
this._zooming = !1, S(this._animRequest), Y(document, "touchmove", this._onTouchMove, this), Y(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
5234
5234
|
}
|
|
5235
5235
|
});
|
|
5236
|
-
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = O, e.Browser = V, e.CRS = P, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class =
|
|
5236
|
+
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Zr, Q.DoubleClickZoom = Qr, Q.Drag = $r, Q.Keyboard = ei, Q.ScrollWheelZoom = ti, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = O, e.Browser = V, e.CRS = P, e.Canvas = Hr, e.Circle = ir, e.CircleMarker = nr, e.Class = C, e.Control = on, e.DivIcon = Nr, e.DivOverlay = Or, e.DomEvent = nn, e.DomUtil = Ht, e.Draggable = _n, e.Evented = T, e.FeatureGroup = qn, e.GeoJSON = ur, e.GridLayer = Fr, e.Handler = mn, e.Icon = Yn, e.ImageOverlay = Sr, e.LatLng = M, e.LatLngBounds = A, e.Layer = Wn, e.LayerGroup = Gn, e.LineUtil = Ln, e.Map = Q, e.Marker = $n, e.Mixin = hn, e.Path = tr, e.Point = E, e.PolyUtil = xn, e.Polygon = cr, e.Polyline = or, e.Popup = kr, e.PosAnimation = rn, e.Projection = Bn, e.Rectangle = Yr, e.Renderer = Vr, e.SVG = qr, e.SVGOverlay = Er, e.TileLayer = Lr, e.Tooltip = jr, e.Transformation = le, e.Util = ie, e.VideoOverlay = wr, e.bind = i, e.bounds = k, e.canvas = Ur, e.circle = ar, e.circleMarker = rr, e.control = $, e.divIcon = Pr, e.extend = n, e.featureGroup = Jn, e.geoJSON = br, e.geoJson = xr, e.gridLayer = Ir, e.icon = Xn, e.imageOverlay = Cr, e.latLng = N, e.latLngBounds = j, e.layerGroup = Kn, e.map = an, e.marker = er, e.point = D, e.polygon = lr, e.polyline = sr, e.popup = Ar, e.rectangle = Xr, e.setOptions = p, e.stamp = o, e.svg = Jr, e.svgOverlay = Dr, e.tileLayer = Rr, e.tooltip = Mr, e.transformation = ue, e.version = t, e.videoOverlay = Tr;
|
|
5237
5237
|
var ai = window.L;
|
|
5238
5238
|
e.noConflict = function() {
|
|
5239
5239
|
return window.L = ai, this;
|
|
@@ -5980,7 +5980,7 @@ var vt = /* @__PURE__ */ R(lt, [["render", _t], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5980
5980
|
} }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
5981
5981
|
});
|
|
5982
5982
|
})))();
|
|
5983
|
-
var
|
|
5983
|
+
var Jt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", Yt = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
5984
5984
|
__name: "Map",
|
|
5985
5985
|
props: {
|
|
5986
5986
|
modelValue: {},
|
|
@@ -5988,28 +5988,28 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
5988
5988
|
},
|
|
5989
5989
|
emits: ["update:modelValue", "callback"],
|
|
5990
5990
|
setup(e, { emit: t }) {
|
|
5991
|
-
let { t: n } =
|
|
5992
|
-
iconUrl:
|
|
5991
|
+
let { t: n } = v(), r = t, i = e, { hotelMapImage: a } = T(ge()), o = X.default.Util.extend(X.default.CRS.Simple, { transformation: new X.default.Transformation(1, 0, 1, 0) }), s = P(), c = M(() => a.value?.url), l = M(() => a.value?.height), u = M(() => a.value?.width), d = X.default.icon({
|
|
5992
|
+
iconUrl: Jt,
|
|
5993
5993
|
iconSize: [32, 37],
|
|
5994
5994
|
iconAnchor: [16, 37]
|
|
5995
5995
|
});
|
|
5996
|
-
function
|
|
5996
|
+
function f() {
|
|
5997
5997
|
let e = X.default.map(s.value, {
|
|
5998
5998
|
attributionControl: !1,
|
|
5999
5999
|
zoomControl: !0,
|
|
6000
6000
|
smoothWheelZoom: !0,
|
|
6001
|
-
maxBounds: [[
|
|
6002
|
-
center: [-
|
|
6001
|
+
maxBounds: [[l.value, u.value], [0, 0]],
|
|
6002
|
+
center: [-l.value / 2, 0],
|
|
6003
6003
|
zoom: 0,
|
|
6004
6004
|
minZoom: -2,
|
|
6005
6005
|
maxZoom: 1,
|
|
6006
6006
|
crs: o
|
|
6007
|
-
}), t = [[0, 0], [
|
|
6008
|
-
X.default.imageOverlay(
|
|
6009
|
-
let r = X.default.markerClusterGroup({ showCoverageOnHover: !1 }), i = new X.default.LatLngBounds(
|
|
6010
|
-
|
|
6007
|
+
}), t = [[0, 0], [l.value, u.value]];
|
|
6008
|
+
X.default.imageOverlay(c.value, t).addTo(e);
|
|
6009
|
+
let r = X.default.markerClusterGroup({ showCoverageOnHover: !1 }), i = new X.default.LatLngBounds(h.value.map(({ y: e, x: t }) => [e, t]));
|
|
6010
|
+
h.value.forEach(({ y: e, x: t, name: i, id: a }) => {
|
|
6011
6011
|
r.addLayer(X.default.marker([e, t], {
|
|
6012
|
-
icon:
|
|
6012
|
+
icon: d,
|
|
6013
6013
|
title: i,
|
|
6014
6014
|
alt: i,
|
|
6015
6015
|
riseOnHover: !0,
|
|
@@ -6018,37 +6018,37 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6018
6018
|
}), e.addLayer(r), e.invalidateSize(), e.fitBounds(i), e.on("popupopen", (e) => {
|
|
6019
6019
|
let t = e.popup._contentNode.querySelector(".konnectio-leaflet-map-popup-button");
|
|
6020
6020
|
t?.addEventListener("click", () => {
|
|
6021
|
-
ee(parseInt(t.getAttribute("data-id")));
|
|
6021
|
+
ee(parseInt(t.getAttribute("data-id") || ""));
|
|
6022
6022
|
});
|
|
6023
6023
|
});
|
|
6024
6024
|
}
|
|
6025
|
-
let { stop:
|
|
6026
|
-
e && (
|
|
6027
|
-
}),
|
|
6025
|
+
let { stop: p } = ke(s, ([{ isIntersecting: e }]) => {
|
|
6026
|
+
e && (p(), f());
|
|
6027
|
+
}), m = M({
|
|
6028
6028
|
get: () => i.modelValue,
|
|
6029
|
-
set: (e) =>
|
|
6030
|
-
}),
|
|
6029
|
+
set: (e) => _(e)
|
|
6030
|
+
}), h = M(() => i.rooms.map((e) => ({
|
|
6031
6031
|
id: e.id,
|
|
6032
6032
|
name: e.name,
|
|
6033
6033
|
x: e.mapImageX,
|
|
6034
6034
|
y: e.mapImageY
|
|
6035
6035
|
})));
|
|
6036
|
-
function
|
|
6036
|
+
function _(e) {
|
|
6037
6037
|
r("update:modelValue", e);
|
|
6038
6038
|
}
|
|
6039
6039
|
function ee(e) {
|
|
6040
|
-
isNaN(e) ? console.log("Invalid room ID selected:", e) : (
|
|
6040
|
+
isNaN(e) ? console.log("Invalid room ID selected:", e) : (m.value = e, r("callback"));
|
|
6041
6041
|
}
|
|
6042
|
-
return (e, t) => t[0] || (
|
|
6042
|
+
return (e, t) => t[0] || (D(-1, !0), (t[0] = g("div", {
|
|
6043
6043
|
ref_key: "mapContainer",
|
|
6044
6044
|
ref: s,
|
|
6045
6045
|
class: "konnectio-leaflet-map"
|
|
6046
|
-
}, null, 512)).cacheIndex = 0,
|
|
6046
|
+
}, null, 512)).cacheIndex = 0, D(1), t[0]);
|
|
6047
6047
|
}
|
|
6048
|
-
}), [["__scopeId", "data-v-
|
|
6048
|
+
}), [["__scopeId", "data-v-836c139d"]]), Z = { style: {
|
|
6049
6049
|
height: "100%",
|
|
6050
6050
|
width: "100%"
|
|
6051
|
-
} },
|
|
6051
|
+
} }, Xt = /* @__PURE__ */ d({
|
|
6052
6052
|
__name: "MapSelector",
|
|
6053
6053
|
props: {
|
|
6054
6054
|
roomList: {},
|
|
@@ -6056,12 +6056,12 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6056
6056
|
callback: { type: Function }
|
|
6057
6057
|
},
|
|
6058
6058
|
setup(e) {
|
|
6059
|
-
let { t } =
|
|
6059
|
+
let { t } = v(), n = P(NaN), r = M(() => !isNaN(n.value)), i = e;
|
|
6060
6060
|
function a() {
|
|
6061
6061
|
r.value && (i.config.units = 1, i.config.roomId = n.value, i.callback());
|
|
6062
6062
|
}
|
|
6063
|
-
return (r, i) => (
|
|
6064
|
-
default:
|
|
6063
|
+
return (r, i) => (c(), o(Ge, { title: _(t)("hotel.selectRoomOnMapTitle") }, {
|
|
6064
|
+
default: A(() => [g("div", Z, [C(Yt, {
|
|
6065
6065
|
modelValue: n.value,
|
|
6066
6066
|
"onUpdate:modelValue": i[0] ||= (e) => n.value = e,
|
|
6067
6067
|
rooms: e.roomList,
|
|
@@ -6070,19 +6070,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6070
6070
|
_: 1
|
|
6071
6071
|
}, 8, ["title"]));
|
|
6072
6072
|
}
|
|
6073
|
-
}),
|
|
6073
|
+
}), Zt = {
|
|
6074
6074
|
key: 0,
|
|
6075
6075
|
class: "konnectio-hotel-select-rate"
|
|
6076
|
-
},
|
|
6076
|
+
}, Qt = {
|
|
6077
6077
|
key: 0,
|
|
6078
6078
|
class: "konnectio-hotel-select-rate-removal"
|
|
6079
|
-
},
|
|
6079
|
+
}, $t = { key: 1 }, en = { class: "konnectio-listing-config-body" }, tn = {
|
|
6080
6080
|
key: 0,
|
|
6081
6081
|
class: "konnectio-listing-units-body"
|
|
6082
|
-
},
|
|
6082
|
+
}, nn = {
|
|
6083
6083
|
key: 1,
|
|
6084
6084
|
class: "konnectio-listing-units-body"
|
|
6085
|
-
},
|
|
6085
|
+
}, rn = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
6086
6086
|
__name: "Hotel",
|
|
6087
6087
|
props: {
|
|
6088
6088
|
room: {},
|
|
@@ -6090,78 +6090,78 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6090
6090
|
callback: { type: Function }
|
|
6091
6091
|
},
|
|
6092
6092
|
setup(e) {
|
|
6093
|
-
let t =
|
|
6094
|
-
function
|
|
6093
|
+
let t = P(!1);
|
|
6094
|
+
function n() {
|
|
6095
6095
|
t.value = !0;
|
|
6096
6096
|
}
|
|
6097
|
-
function
|
|
6098
|
-
|
|
6097
|
+
function r(e) {
|
|
6098
|
+
u.callback(e), t.value = !1;
|
|
6099
6099
|
}
|
|
6100
|
-
let { t:
|
|
6101
|
-
function
|
|
6102
|
-
let e =
|
|
6100
|
+
let { t: i } = v(), u = e, d = P([]);
|
|
6101
|
+
function p() {
|
|
6102
|
+
let e = d.value.length;
|
|
6103
6103
|
se(e);
|
|
6104
6104
|
}
|
|
6105
|
-
function
|
|
6106
|
-
|
|
6105
|
+
function h(e) {
|
|
6106
|
+
d.value.splice(e, 1);
|
|
6107
6107
|
}
|
|
6108
|
-
let ee =
|
|
6108
|
+
let ee = M(() => u.room.rates.map((e) => ({
|
|
6109
6109
|
label: e.name,
|
|
6110
6110
|
value: e.id
|
|
6111
|
-
}))), { hideAvailableRoomAmount: te, autoSelectRateId:
|
|
6111
|
+
}))), { hideAvailableRoomAmount: te, autoSelectRateId: b, enableMultipleConfigurations: re } = T(ue()), { roomSelect: x, isSearchOutdated: S } = T(ge()), { addToCart: ie, removeFromCart: ae } = le(), E = (e, t) => u.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), oe = M(() => u.room.roomList.some((e) => e.mapImageX && e.mapImageY)), D = M(() => u.room.rates.every((e) => e.isBreakfastIncluded === !0)), O = (e, t) => E(e, t) ? E(e, t)?.rooms : null, k = (e) => u.room.rates.length > 0 && u.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
|
|
6112
6112
|
value: e.index,
|
|
6113
6113
|
price: e.totalPrice,
|
|
6114
6114
|
adults: e.adultsCount,
|
|
6115
6115
|
children: e.childrenCount,
|
|
6116
6116
|
hasBreakfast: e.hasBreakfast
|
|
6117
|
-
})) || [],
|
|
6118
|
-
function
|
|
6119
|
-
|
|
6117
|
+
})) || [], N = M(() => u.room.rates.length > 1);
|
|
6118
|
+
function F(e, t) {
|
|
6119
|
+
d.value[e].config[0].id = u.room.rates.find((e) => e.id === t.value)?.occupantRateIndex || NaN;
|
|
6120
6120
|
}
|
|
6121
6121
|
function se(e = 0) {
|
|
6122
|
-
|
|
6123
|
-
id:
|
|
6122
|
+
N.value ? b.value ? d.value[e] = {
|
|
6123
|
+
id: u.room.bestRateMatch || void 0,
|
|
6124
6124
|
config: [{
|
|
6125
|
-
id:
|
|
6125
|
+
id: u.room.bestRateMatch && !isNaN(u.room.bestRateMatch) ? u.room.rates.find((e) => e.id === u.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
6126
6126
|
units: 0,
|
|
6127
6127
|
addons: []
|
|
6128
6128
|
}]
|
|
6129
|
-
} :
|
|
6129
|
+
} : d.value[e] = {
|
|
6130
6130
|
id: void 0,
|
|
6131
6131
|
config: [{
|
|
6132
|
-
id:
|
|
6132
|
+
id: u.room.rates[0].occupantRateIndex || NaN,
|
|
6133
6133
|
units: 0,
|
|
6134
6134
|
addons: []
|
|
6135
6135
|
}]
|
|
6136
|
-
} :
|
|
6137
|
-
id:
|
|
6136
|
+
} : d.value[e] = {
|
|
6137
|
+
id: u.room.rates[0].id,
|
|
6138
6138
|
config: [{
|
|
6139
|
-
id:
|
|
6139
|
+
id: u.room.rates[0].occupantRateIndex || NaN,
|
|
6140
6140
|
units: 0,
|
|
6141
6141
|
addons: []
|
|
6142
6142
|
}]
|
|
6143
6143
|
};
|
|
6144
6144
|
}
|
|
6145
|
-
return
|
|
6145
|
+
return l(() => {
|
|
6146
6146
|
se();
|
|
6147
|
-
}),
|
|
6147
|
+
}), ne(M(() => JSON.parse(JSON.stringify(d.value))), (e, t) => {
|
|
6148
6148
|
t.length > 0 && e.forEach((e, n) => {
|
|
6149
6149
|
t[n] && e.config.forEach((e, r) => {
|
|
6150
6150
|
let i = e.units, a = t[n].config[r].units;
|
|
6151
|
-
i !== a && (i > a ? (
|
|
6152
|
-
id:
|
|
6153
|
-
name:
|
|
6154
|
-
value:
|
|
6155
|
-
})) : (
|
|
6156
|
-
id:
|
|
6157
|
-
name:
|
|
6158
|
-
value:
|
|
6151
|
+
i !== a && (i > a ? (d.value[n].config[r].addons.push({}), ie({
|
|
6152
|
+
id: u.room.id,
|
|
6153
|
+
name: u.room.title,
|
|
6154
|
+
value: u.room.rates[n].rackRate
|
|
6155
|
+
})) : (d.value[n].config[r].addons.pop(), ae({
|
|
6156
|
+
id: u.room.id,
|
|
6157
|
+
name: u.room.title,
|
|
6158
|
+
value: u.room.rates[n].rackRate
|
|
6159
6159
|
})));
|
|
6160
6160
|
});
|
|
6161
6161
|
});
|
|
6162
|
-
}, { deep: !0 }),
|
|
6163
|
-
x.value[
|
|
6164
|
-
}, { deep: !0 }), (
|
|
6162
|
+
}, { deep: !0 }), ne(d, () => {
|
|
6163
|
+
x.value[u.room.id] = d.value;
|
|
6164
|
+
}, { deep: !0 }), (l, u) => (c(), o(ze, {
|
|
6165
6165
|
type: "hotel",
|
|
6166
6166
|
"listing-id": e.room.id,
|
|
6167
6167
|
gallery: e.room.images,
|
|
@@ -6170,19 +6170,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6170
6170
|
layout: e.layout,
|
|
6171
6171
|
facilities: e.room.facilities,
|
|
6172
6172
|
"prices-from": e.room.pricesFrom,
|
|
6173
|
-
"includes-breakfast":
|
|
6173
|
+
"includes-breakfast": D.value
|
|
6174
6174
|
}, {
|
|
6175
|
-
action:
|
|
6176
|
-
key:
|
|
6175
|
+
action: A(() => [g("div", { class: s(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": d.value.length > 1 }]) }, [(c(!0), f(y, null, m(d.value, (o, s) => (c(), f("div", {
|
|
6176
|
+
key: o.id,
|
|
6177
6177
|
class: "konnectio-hotel-room"
|
|
6178
|
-
}, [
|
|
6179
|
-
modelValue:
|
|
6180
|
-
"onUpdate:modelValue": (e) =>
|
|
6181
|
-
label:
|
|
6182
|
-
placeholder:
|
|
6178
|
+
}, [N.value ? (c(), f("div", Zt, [C(z, {
|
|
6179
|
+
modelValue: o.id,
|
|
6180
|
+
"onUpdate:modelValue": (e) => o.id = e,
|
|
6181
|
+
label: _(i)("hotel.roomVariant"),
|
|
6182
|
+
placeholder: _(i)("hotel.chooseARoomVariant"),
|
|
6183
6183
|
options: ee.value,
|
|
6184
6184
|
searchable: !1,
|
|
6185
|
-
onChanged: (e) =>
|
|
6185
|
+
onChanged: (e) => F(s, e)
|
|
6186
6186
|
}, null, 8, [
|
|
6187
6187
|
"modelValue",
|
|
6188
6188
|
"onUpdate:modelValue",
|
|
@@ -6190,27 +6190,27 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6190
6190
|
"placeholder",
|
|
6191
6191
|
"options",
|
|
6192
6192
|
"onChanged"
|
|
6193
|
-
]),
|
|
6193
|
+
]), d.value.length > 1 ? (c(), f("div", Qt, [C(Ae, {
|
|
6194
6194
|
style: { "--buttonBackground": "var(--dangerColor)" },
|
|
6195
6195
|
icon: "trash-alt",
|
|
6196
6196
|
"icon-type": "fas",
|
|
6197
|
-
onClickEvent: (e) =>
|
|
6197
|
+
onClickEvent: (e) => h(s),
|
|
6198
6198
|
secondary: ""
|
|
6199
|
-
}, null, 8, ["onClickEvent"])])) :
|
|
6200
|
-
key:
|
|
6199
|
+
}, null, 8, ["onClickEvent"])])) : a("", !0)])) : a("", !0), o.id ? (c(), f("div", $t, [(c(!0), f(y, null, m(e.room.rates, ({ id: s, maximumOccupants: l }) => (c(), f("div", {
|
|
6200
|
+
key: s,
|
|
6201
6201
|
class: "konnectio-listing-action-selective-i"
|
|
6202
|
-
}, [
|
|
6203
|
-
key:
|
|
6202
|
+
}, [o.id === s ? (c(!0), f(y, { key: 0 }, m(o.config, (a, d) => (c(), f("div", {
|
|
6203
|
+
key: d,
|
|
6204
6204
|
class: "konnectio-listing-action-selective"
|
|
6205
|
-
}, [
|
|
6206
|
-
modelValue:
|
|
6207
|
-
"onUpdate:modelValue": (e) =>
|
|
6205
|
+
}, [g("ul", en, [C(qt, {
|
|
6206
|
+
modelValue: a.id,
|
|
6207
|
+
"onUpdate:modelValue": (e) => a.id = e,
|
|
6208
6208
|
icon: "male",
|
|
6209
6209
|
"icon-type": "fas",
|
|
6210
|
-
label:
|
|
6211
|
-
description:
|
|
6212
|
-
options:
|
|
6213
|
-
readonly: !(
|
|
6210
|
+
label: _(i)("general.guests"),
|
|
6211
|
+
description: l === 0 ? void 0 : `${_(i)("general.maximumGuests")}: ${l}`,
|
|
6212
|
+
options: k(s),
|
|
6213
|
+
readonly: !(k(s).length > 1)
|
|
6214
6214
|
}, null, 8, [
|
|
6215
6215
|
"modelValue",
|
|
6216
6216
|
"onUpdate:modelValue",
|
|
@@ -6218,43 +6218,43 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6218
6218
|
"description",
|
|
6219
6219
|
"options",
|
|
6220
6220
|
"readonly"
|
|
6221
|
-
])]),
|
|
6222
|
-
onClickEvent:
|
|
6223
|
-
label:
|
|
6221
|
+
])]), oe.value ? (c(), f("div", nn, [C(Ae, {
|
|
6222
|
+
onClickEvent: n,
|
|
6223
|
+
label: _(i)("hotel.selectRoomOnMap"),
|
|
6224
6224
|
secondary: "",
|
|
6225
6225
|
"full-width": "",
|
|
6226
|
-
disabled:
|
|
6227
|
-
}, null, 8, ["label", "disabled"]),
|
|
6226
|
+
disabled: _(S)
|
|
6227
|
+
}, null, 8, ["label", "disabled"]), C(Xt, {
|
|
6228
6228
|
modelValue: t.value,
|
|
6229
|
-
"onUpdate:modelValue":
|
|
6229
|
+
"onUpdate:modelValue": u[0] ||= (e) => t.value = e,
|
|
6230
6230
|
"room-list": e.room.roomList,
|
|
6231
|
-
config:
|
|
6232
|
-
callback:
|
|
6231
|
+
config: a,
|
|
6232
|
+
callback: r
|
|
6233
6233
|
}, null, 8, [
|
|
6234
6234
|
"modelValue",
|
|
6235
6235
|
"room-list",
|
|
6236
6236
|
"config"
|
|
6237
|
-
])])) : (
|
|
6238
|
-
modelValue:
|
|
6239
|
-
"onUpdate:modelValue": (e) =>
|
|
6240
|
-
description:
|
|
6237
|
+
])])) : (c(), f("ul", tn, [C(De, {
|
|
6238
|
+
modelValue: a.units,
|
|
6239
|
+
"onUpdate:modelValue": (e) => a.units = e,
|
|
6240
|
+
description: _(te) ? void 0 : `${_(i)("booking.availability.availableUnits")}: ${O(o.id, a.id)}`,
|
|
6241
6241
|
icon: "house",
|
|
6242
6242
|
"icon-type": "fas",
|
|
6243
6243
|
"icon-placement": "label",
|
|
6244
|
-
label:
|
|
6244
|
+
label: _(i)("booking.availability.units"),
|
|
6245
6245
|
minValue: 0,
|
|
6246
|
-
"max-value":
|
|
6246
|
+
"max-value": O(s, a.id) || Infinity
|
|
6247
6247
|
}, null, 8, [
|
|
6248
6248
|
"modelValue",
|
|
6249
6249
|
"onUpdate:modelValue",
|
|
6250
6250
|
"description",
|
|
6251
6251
|
"label",
|
|
6252
6252
|
"max-value"
|
|
6253
|
-
])]))]))), 128)) :
|
|
6253
|
+
])]))]))), 128)) : a("", !0)]))), 128))])) : a("", !0)]))), 128)), _(re) && N.value ? (c(), f("button", {
|
|
6254
6254
|
key: 0,
|
|
6255
6255
|
class: "konnectio-hotel-add-extra-room link",
|
|
6256
|
-
onClick:
|
|
6257
|
-
}, [
|
|
6256
|
+
onClick: j(p, ["prevent"])
|
|
6257
|
+
}, [g("span", null, w(_(i)("hotel.addExtraVariant")), 1)])) : a("", !0)], 2)]),
|
|
6258
6258
|
_: 1
|
|
6259
6259
|
}, 8, [
|
|
6260
6260
|
"listing-id",
|
|
@@ -6267,10 +6267,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6267
6267
|
"includes-breakfast"
|
|
6268
6268
|
]));
|
|
6269
6269
|
}
|
|
6270
|
-
}), [["__scopeId", "data-v-9389e689"]]),
|
|
6270
|
+
}), [["__scopeId", "data-v-9389e689"]]), Q = { class: "konnectio-template-side-panel" }, an = { class: "konnectio-template-side-panel-listings" }, on = { class: "konnectio-template-room-config" }, $ = { class: "konnectio-template-room-units" }, sn = { class: "konnectio-template-room-unit-header" }, cn = { class: "konnectio-template-footer" }, ln = {
|
|
6271
6271
|
key: 0,
|
|
6272
6272
|
class: "konnectio-template-selection-preview"
|
|
6273
|
-
},
|
|
6273
|
+
}, un = { class: "konnectio-template-selection-item-header" }, dn = { class: "konnectio-template-selection-item-name" }, fn = { class: "konnectio-template-selection-item-price" }, pn = { class: "konnectio-template-selection-item-units" }, mn = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
6274
6274
|
__name: "Template",
|
|
6275
6275
|
props: {
|
|
6276
6276
|
title: {},
|
|
@@ -6281,65 +6281,65 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6281
6281
|
callback: { type: Function }
|
|
6282
6282
|
},
|
|
6283
6283
|
setup(e) {
|
|
6284
|
-
let { t } =
|
|
6284
|
+
let { t } = v(), n = ue(), i = ge(), { location: l } = T(ce()), { templateID: u, roomGroupID: d, templateRoomSelections: p, selectionHasNoAddons: h, currentAdults: b, currentChildren: re } = T(i), { currency: x } = T(n), { clearRoomSelection: S } = i, { addToCart: ie } = le(), { hasChildSelection: ae } = n, E = e, oe = P(!1), D = b.value || 1, O = re.value || 0, k = te({}), j = M(() => {
|
|
6285
6285
|
function e(e, t) {
|
|
6286
|
-
return
|
|
6286
|
+
return oe.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6287
6287
|
}
|
|
6288
|
-
let t =
|
|
6288
|
+
let t = E.roomGroups?.slice().sort(e) || [];
|
|
6289
6289
|
return t.forEach((e) => {
|
|
6290
6290
|
k[e.id] || (k[e.id] = {
|
|
6291
6291
|
units: 0,
|
|
6292
6292
|
configs: [{
|
|
6293
|
-
adults:
|
|
6293
|
+
adults: D,
|
|
6294
6294
|
children: O
|
|
6295
6295
|
}]
|
|
6296
6296
|
});
|
|
6297
6297
|
}), t;
|
|
6298
6298
|
});
|
|
6299
|
-
function
|
|
6300
|
-
return
|
|
6299
|
+
function N(e) {
|
|
6300
|
+
return j.value.find((t) => t.id === e);
|
|
6301
6301
|
}
|
|
6302
6302
|
function F(e) {
|
|
6303
|
-
let t =
|
|
6304
|
-
if (!t) return
|
|
6303
|
+
let t = N(e);
|
|
6304
|
+
if (!t) return D;
|
|
6305
6305
|
let n = t.otherPriceOptions?.reduce((e, t) => Math.max(e, t.includedAdults), 0) ?? 0;
|
|
6306
|
-
return Math.max(n,
|
|
6306
|
+
return Math.max(n, D);
|
|
6307
6307
|
}
|
|
6308
6308
|
function se(e) {
|
|
6309
|
-
let t =
|
|
6309
|
+
let t = N(e);
|
|
6310
6310
|
return !t || !t.otherPriceOptions ? 0 : t.otherPriceOptions.some((e) => e.extraChildPrice > 0) ? Math.max(O, 1) : 0;
|
|
6311
6311
|
}
|
|
6312
|
-
function
|
|
6313
|
-
let t =
|
|
6312
|
+
function de(e) {
|
|
6313
|
+
let t = N(e);
|
|
6314
6314
|
return t && t.availableRoomCount || 1;
|
|
6315
6315
|
}
|
|
6316
6316
|
function fe(e) {
|
|
6317
|
-
let t =
|
|
6318
|
-
return t ? t.extraPrice +
|
|
6317
|
+
let t = N(e);
|
|
6318
|
+
return t ? t.extraPrice + E.weekendFee : 0;
|
|
6319
6319
|
}
|
|
6320
|
-
|
|
6320
|
+
ne(() => ({ ...k }), () => {
|
|
6321
6321
|
Object.keys(k).forEach((e) => {
|
|
6322
6322
|
let t = k[Number(e)], n = t.units, r = t.configs.length;
|
|
6323
6323
|
if (n > r) for (let e = r; e < n; e++) t.configs.push({
|
|
6324
|
-
adults:
|
|
6324
|
+
adults: D,
|
|
6325
6325
|
children: O
|
|
6326
6326
|
});
|
|
6327
6327
|
else n < r && t.configs.splice(n);
|
|
6328
6328
|
});
|
|
6329
6329
|
}, { deep: !0 });
|
|
6330
|
-
let pe =
|
|
6330
|
+
let pe = M(() => {
|
|
6331
6331
|
JSON.stringify(k);
|
|
6332
6332
|
let e = {};
|
|
6333
|
-
return
|
|
6333
|
+
return j.value.forEach((t) => {
|
|
6334
6334
|
let n = k[t.id];
|
|
6335
6335
|
if (!n) {
|
|
6336
6336
|
e[t.id] = [];
|
|
6337
6337
|
return;
|
|
6338
6338
|
}
|
|
6339
6339
|
e[t.id] = n.configs.map((e) => {
|
|
6340
|
-
if (e.adults ===
|
|
6340
|
+
if (e.adults === D && e.children === O) return t.extraPrice;
|
|
6341
6341
|
let n = t.otherPriceOptions?.find((t) => t.includedAdults === e.adults), r = n?.extraChildPrice ?? t.otherPriceOptions?.[0]?.extraChildPrice ?? 0;
|
|
6342
|
-
return e.adults ===
|
|
6342
|
+
return e.adults === D ? t.extraPrice + (e.children - O) * r : (n?.price ?? t.extraPrice) + e.children * r;
|
|
6343
6343
|
});
|
|
6344
6344
|
}), e;
|
|
6345
6345
|
});
|
|
@@ -6348,22 +6348,22 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6348
6348
|
}
|
|
6349
6349
|
function he() {
|
|
6350
6350
|
let e = 0;
|
|
6351
|
-
return
|
|
6351
|
+
return j.value.forEach((t) => {
|
|
6352
6352
|
let n = k[t.id];
|
|
6353
6353
|
if (!(!n || n.units === 0)) for (let r = 0; r < n.units; r++) {
|
|
6354
6354
|
let n = me(t.id, r);
|
|
6355
|
-
e += n +
|
|
6355
|
+
e += n + E.weekendFee;
|
|
6356
6356
|
}
|
|
6357
6357
|
}), e;
|
|
6358
6358
|
}
|
|
6359
|
-
function
|
|
6359
|
+
function _e() {
|
|
6360
6360
|
return Object.values(k).reduce((e, t) => e + t.units, 0);
|
|
6361
6361
|
}
|
|
6362
|
-
let
|
|
6362
|
+
let ve = M(() => j.value.filter((e) => k[e.id]?.units > 0).map((e) => {
|
|
6363
6363
|
let t = k[e.id], n = t.configs.slice(0, t.units).map((t, n) => ({
|
|
6364
6364
|
adults: t.adults,
|
|
6365
6365
|
children: t.children,
|
|
6366
|
-
price: me(e.id, n) +
|
|
6366
|
+
price: me(e.id, n) + E.weekendFee
|
|
6367
6367
|
}));
|
|
6368
6368
|
return {
|
|
6369
6369
|
id: e.id,
|
|
@@ -6372,14 +6372,14 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6372
6372
|
units: n
|
|
6373
6373
|
};
|
|
6374
6374
|
}));
|
|
6375
|
-
|
|
6376
|
-
|
|
6375
|
+
ne(ve, () => {
|
|
6376
|
+
ee(() => window.dispatchEvent(new Event("resize")));
|
|
6377
6377
|
});
|
|
6378
|
-
function
|
|
6378
|
+
function I() {
|
|
6379
6379
|
if (!Object.values(k).some((e) => e.units > 0)) return;
|
|
6380
|
-
|
|
6380
|
+
S();
|
|
6381
6381
|
let e = [], t = 0, n = 0;
|
|
6382
|
-
if (
|
|
6382
|
+
if (j.value.forEach((r) => {
|
|
6383
6383
|
let i = k[r.id];
|
|
6384
6384
|
if (!i || i.units === 0) return;
|
|
6385
6385
|
let a = i.configs.slice(0, i.units);
|
|
@@ -6390,10 +6390,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6390
6390
|
children: e.children,
|
|
6391
6391
|
addons: {}
|
|
6392
6392
|
}))
|
|
6393
|
-
}),
|
|
6393
|
+
}), d.value ||= r.id;
|
|
6394
6394
|
for (let e = 0; e < i.units; e++) {
|
|
6395
6395
|
let t = me(r.id, e);
|
|
6396
|
-
|
|
6396
|
+
ie({
|
|
6397
6397
|
id: r.id,
|
|
6398
6398
|
name: r.title,
|
|
6399
6399
|
value: t
|
|
@@ -6402,33 +6402,33 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6402
6402
|
a.forEach((e) => {
|
|
6403
6403
|
t += e.adults, n += e.children;
|
|
6404
6404
|
});
|
|
6405
|
-
}),
|
|
6406
|
-
|
|
6405
|
+
}), p.value = e, u.value = E.templateId, b.value = t, re.value = n, E.hideAddons === !1 && h.value === !1) {
|
|
6406
|
+
E.callback(1);
|
|
6407
6407
|
return;
|
|
6408
6408
|
}
|
|
6409
|
-
|
|
6409
|
+
E.callback(2);
|
|
6410
6410
|
}
|
|
6411
|
-
return (
|
|
6411
|
+
return (n, i) => (c(), o(Ge, {
|
|
6412
6412
|
title: e.title,
|
|
6413
|
-
subtitle:
|
|
6413
|
+
subtitle: _(t)("booking.availability.selectATemplateRoom")
|
|
6414
6414
|
}, {
|
|
6415
|
-
footer:
|
|
6415
|
+
footer: A(() => [g("div", cn, [ve.value.length > 0 ? (c(), f("div", ln, [(c(!0), f(y, null, m(ve.value, (e) => (c(), f("div", {
|
|
6416
6416
|
key: e.id,
|
|
6417
6417
|
class: "konnectio-template-selection-item"
|
|
6418
|
-
}, [
|
|
6418
|
+
}, [g("div", un, [g("span", dn, w(e.title), 1), g("span", fn, w(_(R)(e.totalPrice, _(x))), 1)]), g("div", pn, [(c(!0), f(y, null, m(e.units, (e, n) => (c(), f("span", {
|
|
6419
6419
|
key: n,
|
|
6420
6420
|
class: "konnectio-template-selection-unit"
|
|
6421
6421
|
}, [
|
|
6422
|
-
|
|
6423
|
-
e.children > 0 ? (
|
|
6424
|
-
|
|
6425
|
-
]))), 128))])]))), 128))])) :
|
|
6426
|
-
onClickEvent:
|
|
6427
|
-
label: `${
|
|
6428
|
-
disabled:
|
|
6422
|
+
r(w(_(t)("booking.reservation.room")) + " " + w(n + 1) + ": " + w(e.adults) + " " + w(_(t)("availability.adults")) + " ", 1),
|
|
6423
|
+
e.children > 0 ? (c(), f(y, { key: 0 }, [r(" , " + w(e.children) + " " + w(_(t)("availability.children")), 1)], 64)) : a("", !0),
|
|
6424
|
+
r(" · " + w(_(R)(e.price, _(x))), 1)
|
|
6425
|
+
]))), 128))])]))), 128))])) : a("", !0), C(Ae, {
|
|
6426
|
+
onClickEvent: I,
|
|
6427
|
+
label: `${_e() > 1 ? _(t)("booking.availability.selectTheseRooms") : _(t)("booking.availability.selectThisRoom")} (${_(R)(he(), _(x))})`,
|
|
6428
|
+
disabled: _e() === 0,
|
|
6429
6429
|
"full-width": ""
|
|
6430
6430
|
}, null, 8, ["label", "disabled"])])]),
|
|
6431
|
-
default:
|
|
6431
|
+
default: A(() => [g("div", Q, [g("div", an, [(c(!0), f(y, null, m(j.value, (e) => (c(), o(ze, {
|
|
6432
6432
|
key: e.id,
|
|
6433
6433
|
type: "hotel",
|
|
6434
6434
|
"listing-id": e.id,
|
|
@@ -6440,29 +6440,29 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6440
6440
|
"includes-breakfast": !1,
|
|
6441
6441
|
"hide-info-button": !0
|
|
6442
6442
|
}, {
|
|
6443
|
-
action:
|
|
6443
|
+
action: A(() => [g("div", on, [g("div", $, [C(De, {
|
|
6444
6444
|
modelValue: k[e.id].units,
|
|
6445
6445
|
"onUpdate:modelValue": (t) => k[e.id].units = t,
|
|
6446
|
-
label:
|
|
6446
|
+
label: _(t)("booking.availability.units"),
|
|
6447
6447
|
icon: "house",
|
|
6448
6448
|
"icon-type": "fas",
|
|
6449
6449
|
"icon-placement": "label",
|
|
6450
6450
|
"min-value": 0,
|
|
6451
|
-
"max-value":
|
|
6451
|
+
"max-value": de(e.id),
|
|
6452
6452
|
controls: !0
|
|
6453
6453
|
}, null, 8, [
|
|
6454
6454
|
"modelValue",
|
|
6455
6455
|
"onUpdate:modelValue",
|
|
6456
6456
|
"label",
|
|
6457
6457
|
"max-value"
|
|
6458
|
-
])]), (
|
|
6458
|
+
])]), (c(!0), f(y, null, m(k[e.id].configs, (n, r) => (c(), f("div", {
|
|
6459
6459
|
key: r,
|
|
6460
6460
|
class: "konnectio-template-room-unit-config"
|
|
6461
|
-
}, [
|
|
6461
|
+
}, [g("div", sn, [g("span", null, w(_(t)("booking.reservation.room")) + " " + w(r + 1), 1), g("span", null, w(_(R)(me(e.id, r), _(x))), 1)]), g("div", { class: s(["konnectio-template-room-guests", { "only-adult-guests": !_(ae)(_(l)) }]) }, [C(De, {
|
|
6462
6462
|
modelValue: n.adults,
|
|
6463
6463
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6464
|
-
label:
|
|
6465
|
-
description:
|
|
6464
|
+
label: _(t)("availability.adults"),
|
|
6465
|
+
description: _(t)("general.adultAgeRange"),
|
|
6466
6466
|
icon: "male",
|
|
6467
6467
|
"icon-type": "fas",
|
|
6468
6468
|
"icon-placement": "label",
|
|
@@ -6475,12 +6475,12 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6475
6475
|
"label",
|
|
6476
6476
|
"description",
|
|
6477
6477
|
"max-value"
|
|
6478
|
-
]),
|
|
6478
|
+
]), _(ae)(_(l)) ? (c(), o(De, {
|
|
6479
6479
|
key: 0,
|
|
6480
6480
|
modelValue: n.children,
|
|
6481
6481
|
"onUpdate:modelValue": (e) => n.children = e,
|
|
6482
|
-
label:
|
|
6483
|
-
description:
|
|
6482
|
+
label: _(t)("availability.children"),
|
|
6483
|
+
description: _(t)("general.childAgeRange"),
|
|
6484
6484
|
icon: "child",
|
|
6485
6485
|
"icon-type": "fas",
|
|
6486
6486
|
"icon-placement": "label",
|
|
@@ -6493,7 +6493,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6493
6493
|
"label",
|
|
6494
6494
|
"description",
|
|
6495
6495
|
"max-value"
|
|
6496
|
-
])) :
|
|
6496
|
+
])) : a("", !0)], 2)]))), 128))])]),
|
|
6497
6497
|
_: 2
|
|
6498
6498
|
}, 1032, [
|
|
6499
6499
|
"listing-id",
|
|
@@ -6506,7 +6506,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6506
6506
|
_: 1
|
|
6507
6507
|
}, 8, ["title", "subtitle"]));
|
|
6508
6508
|
}
|
|
6509
|
-
}), [["__scopeId", "data-v-
|
|
6509
|
+
}), [["__scopeId", "data-v-3828ec98"]]), hn = { class: "konnectio-template-select-package" }, gn = /* @__PURE__ */ d({
|
|
6510
6510
|
__name: "Template",
|
|
6511
6511
|
props: {
|
|
6512
6512
|
id: {},
|
|
@@ -6519,39 +6519,39 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6519
6519
|
callback: { type: Function }
|
|
6520
6520
|
},
|
|
6521
6521
|
setup(e) {
|
|
6522
|
-
let { t } =
|
|
6522
|
+
let { t } = v(), n = e, { isSearchOutdated: r } = T(ge()), i = M(() => n.roomGroups.reduce((e, t) => e < t.extraPrice ? e : t.extraPrice, Infinity) + n.weekendFee), a = P(!1);
|
|
6523
6523
|
function s() {
|
|
6524
6524
|
a.value = !0;
|
|
6525
6525
|
}
|
|
6526
|
-
function
|
|
6526
|
+
function l(e) {
|
|
6527
6527
|
n.callback(e), a.value = !1;
|
|
6528
6528
|
}
|
|
6529
|
-
return (n,
|
|
6529
|
+
return (n, u) => (c(), o(ze, {
|
|
6530
6530
|
type: "template",
|
|
6531
6531
|
"listing-id": e.id,
|
|
6532
6532
|
name: e.name,
|
|
6533
6533
|
description: e.description,
|
|
6534
6534
|
gallery: e.images,
|
|
6535
|
-
layout:
|
|
6535
|
+
layout: _(se).Template,
|
|
6536
6536
|
"includes-breakfast": !1,
|
|
6537
6537
|
"hide-info-button": !1,
|
|
6538
6538
|
"prices-from": i.value
|
|
6539
6539
|
}, {
|
|
6540
|
-
action:
|
|
6540
|
+
action: A(() => [g("div", hn, [C(Ae, {
|
|
6541
6541
|
onClickEvent: s,
|
|
6542
|
-
label:
|
|
6542
|
+
label: _(t)("booking.availability.selectPackage"),
|
|
6543
6543
|
"full-width": "",
|
|
6544
|
-
disabled:
|
|
6544
|
+
disabled: _(r)
|
|
6545
6545
|
}, null, 8, ["label", "disabled"])])]),
|
|
6546
|
-
default:
|
|
6546
|
+
default: A(() => [C(mn, {
|
|
6547
6547
|
modelValue: a.value,
|
|
6548
|
-
"onUpdate:modelValue":
|
|
6548
|
+
"onUpdate:modelValue": u[0] ||= (e) => a.value = e,
|
|
6549
6549
|
title: e.name,
|
|
6550
6550
|
"template-id": e.id,
|
|
6551
6551
|
"room-groups": e.roomGroups,
|
|
6552
6552
|
"hide-addons": e.hideAddons,
|
|
6553
6553
|
"weekend-fee": e.weekendFee,
|
|
6554
|
-
callback:
|
|
6554
|
+
callback: l
|
|
6555
6555
|
}, null, 8, [
|
|
6556
6556
|
"modelValue",
|
|
6557
6557
|
"title",
|
|
@@ -6570,7 +6570,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6570
6570
|
"prices-from"
|
|
6571
6571
|
]));
|
|
6572
6572
|
}
|
|
6573
|
-
}),
|
|
6573
|
+
}), _n = { class: "konnectio-special-offer-availability" }, vn = { class: "konnectio-special-offer-availability-button" }, yn = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
6574
6574
|
__name: "SpecialOffer",
|
|
6575
6575
|
props: {
|
|
6576
6576
|
id: {},
|
|
@@ -6583,33 +6583,33 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6583
6583
|
roomGroups: {}
|
|
6584
6584
|
},
|
|
6585
6585
|
setup(e) {
|
|
6586
|
-
let { t } =
|
|
6586
|
+
let { t } = v(), { updateDates: n } = ce(), { display: r } = he(), i = e, a = P([]), s = M(() => ve(i.fromDate, i.toDate) === 1);
|
|
6587
6587
|
function u() {
|
|
6588
6588
|
a.value.length > 0 ? n(a.value[0], a.value[1]) : r({
|
|
6589
6589
|
message: t("alert.error.selectDates"),
|
|
6590
6590
|
type: "error"
|
|
6591
6591
|
});
|
|
6592
6592
|
}
|
|
6593
|
-
return
|
|
6593
|
+
return l(() => {
|
|
6594
6594
|
s.value && (a.value = [new Date(i.fromDate), new Date(i.toDate)]);
|
|
6595
|
-
}), (n, r) => (
|
|
6595
|
+
}), (n, r) => (c(), o(ze, {
|
|
6596
6596
|
type: "template",
|
|
6597
6597
|
"listing-id": e.id,
|
|
6598
6598
|
name: e.name,
|
|
6599
6599
|
description: e.description,
|
|
6600
6600
|
gallery: e.images,
|
|
6601
|
-
layout:
|
|
6601
|
+
layout: _(se).Template,
|
|
6602
6602
|
"includes-breakfast": !1,
|
|
6603
6603
|
"hide-info-button": !1,
|
|
6604
6604
|
"to-date": e.toDate,
|
|
6605
6605
|
"from-date": e.fromDate,
|
|
6606
6606
|
"disable-deep-link": !0
|
|
6607
6607
|
}, {
|
|
6608
|
-
action:
|
|
6608
|
+
action: A(() => [g("div", _n, [C(je, {
|
|
6609
6609
|
modelValue: a.value,
|
|
6610
6610
|
"onUpdate:modelValue": r[0] ||= (e) => a.value = e,
|
|
6611
|
-
label:
|
|
6612
|
-
placeholder:
|
|
6611
|
+
label: _(t)("availability.checkInOut"),
|
|
6612
|
+
placeholder: _(t)("booking.availability.selectDates"),
|
|
6613
6613
|
"icon-type": "fas",
|
|
6614
6614
|
"icon-placement": "label",
|
|
6615
6615
|
"min-range": 1,
|
|
@@ -6626,9 +6626,9 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6626
6626
|
"min-date",
|
|
6627
6627
|
"max-date",
|
|
6628
6628
|
"readonly"
|
|
6629
|
-
]),
|
|
6630
|
-
label:
|
|
6631
|
-
onClick:
|
|
6629
|
+
]), g("div", vn, [C(Ae, {
|
|
6630
|
+
label: _(t)("availability.buttonLabel"),
|
|
6631
|
+
onClick: j(u, ["prevent"])
|
|
6632
6632
|
}, null, 8, ["label"])])])]),
|
|
6633
6633
|
_: 1
|
|
6634
6634
|
}, 8, [
|
|
@@ -6641,7 +6641,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6641
6641
|
"from-date"
|
|
6642
6642
|
]));
|
|
6643
6643
|
}
|
|
6644
|
-
}), [["__scopeId", "data-v-8f8a4dff"]]),
|
|
6644
|
+
}), [["__scopeId", "data-v-8f8a4dff"]]), bn = /* @__PURE__ */ d({
|
|
6645
6645
|
__name: "TimeField",
|
|
6646
6646
|
props: {
|
|
6647
6647
|
modelValue: {},
|
|
@@ -6663,10 +6663,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6663
6663
|
function i(e) {
|
|
6664
6664
|
n("update:modelValue", e);
|
|
6665
6665
|
}
|
|
6666
|
-
let a =
|
|
6667
|
-
return
|
|
6666
|
+
let a = P(r.modelValue);
|
|
6667
|
+
return ne(a, (e) => {
|
|
6668
6668
|
i(e);
|
|
6669
|
-
}), (t, n) => (
|
|
6669
|
+
}), (t, n) => (c(), o(je, {
|
|
6670
6670
|
modelValue: a.value,
|
|
6671
6671
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
6672
6672
|
type: "time",
|
|
@@ -6695,10 +6695,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6695
6695
|
"max-time"
|
|
6696
6696
|
]));
|
|
6697
6697
|
}
|
|
6698
|
-
}),
|
|
6698
|
+
}), xn = { style: {
|
|
6699
6699
|
display: "flex",
|
|
6700
6700
|
"align-items": "baseline"
|
|
6701
|
-
} },
|
|
6701
|
+
} }, Sn = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
6702
6702
|
__name: "CountryField",
|
|
6703
6703
|
props: {
|
|
6704
6704
|
modelValue: {},
|
|
@@ -6716,26 +6716,26 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6716
6716
|
},
|
|
6717
6717
|
emits: ["update:modelValue"],
|
|
6718
6718
|
setup(e, { emit: t }) {
|
|
6719
|
-
let { t: n } =
|
|
6720
|
-
function
|
|
6719
|
+
let { t: n } = v(), r = t, i = e;
|
|
6720
|
+
function a(e) {
|
|
6721
6721
|
r("update:modelValue", e);
|
|
6722
6722
|
}
|
|
6723
|
-
let
|
|
6724
|
-
get: () =>
|
|
6725
|
-
set: (e) =>
|
|
6723
|
+
let l = M({
|
|
6724
|
+
get: () => i.modelValue,
|
|
6725
|
+
set: (e) => a(e)
|
|
6726
6726
|
});
|
|
6727
|
-
return (t, r) => (
|
|
6728
|
-
modelValue:
|
|
6729
|
-
"onUpdate:modelValue": r[0] ||= (e) =>
|
|
6727
|
+
return (t, r) => (c(), o(z, {
|
|
6728
|
+
modelValue: l.value,
|
|
6729
|
+
"onUpdate:modelValue": r[0] ||= (e) => l.value = e,
|
|
6730
6730
|
label: e.label,
|
|
6731
|
-
placeholder:
|
|
6731
|
+
placeholder: _(n)("booking.reservation.countryPlaceholder"),
|
|
6732
6732
|
labelKey: "name",
|
|
6733
6733
|
valueKey: "id",
|
|
6734
6734
|
options: e.options,
|
|
6735
6735
|
required: e.required
|
|
6736
6736
|
}, {
|
|
6737
|
-
option:
|
|
6738
|
-
"selected-option":
|
|
6737
|
+
option: A(({ data: e }) => [g("i", { class: s(["konnectio-flag-icon", e.iso]) }, null, 2), g("span", null, w(e.name), 1)]),
|
|
6738
|
+
"selected-option": A(({ data: e }) => [g("div", xn, [g("i", { class: s(["konnectio-flag-icon", e.iso]) }, null, 2), g("span", null, w(e.name), 1)])]),
|
|
6739
6739
|
_: 1
|
|
6740
6740
|
}, 8, [
|
|
6741
6741
|
"modelValue",
|
|
@@ -6745,7 +6745,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6745
6745
|
"required"
|
|
6746
6746
|
]));
|
|
6747
6747
|
}
|
|
6748
|
-
}), [["__scopeId", "data-v-13aea6ce"]]),
|
|
6748
|
+
}), [["__scopeId", "data-v-13aea6ce"]]), Cn = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
6749
6749
|
__name: "NameField",
|
|
6750
6750
|
props: {
|
|
6751
6751
|
modelValue: {},
|
|
@@ -6781,51 +6781,51 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6781
6781
|
},
|
|
6782
6782
|
emits: ["update:modelValue", "update:title"],
|
|
6783
6783
|
setup(e, { emit: t }) {
|
|
6784
|
-
let n = e, r = t, i = n.id ||
|
|
6784
|
+
let n = e, r = t, i = n.id || de(), u = P(""), d = P(2);
|
|
6785
6785
|
function f() {
|
|
6786
|
-
r("update:modelValue",
|
|
6786
|
+
r("update:modelValue", u.value);
|
|
6787
6787
|
}
|
|
6788
|
-
|
|
6788
|
+
ne(d, (e) => {
|
|
6789
6789
|
r("update:title", e);
|
|
6790
6790
|
});
|
|
6791
|
-
let { t:
|
|
6792
|
-
return
|
|
6793
|
-
n.modelValue && (
|
|
6794
|
-
}), (t, n) => (
|
|
6791
|
+
let { t: p } = v();
|
|
6792
|
+
return l(() => {
|
|
6793
|
+
n.modelValue && (u.value = n.modelValue), n.title && (d.value = n.title);
|
|
6794
|
+
}), (t, n) => (c(), o(Se, {
|
|
6795
6795
|
label: e.label,
|
|
6796
|
-
id:
|
|
6796
|
+
id: _(i),
|
|
6797
6797
|
required: e.required,
|
|
6798
6798
|
type: "konnectio-name-field",
|
|
6799
6799
|
readonly: e.readonly,
|
|
6800
6800
|
limit: e.limit
|
|
6801
6801
|
}, {
|
|
6802
|
-
default:
|
|
6802
|
+
default: A(() => [g("div", { class: s(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? a("", !0) : (c(), o(z, {
|
|
6803
6803
|
key: 0,
|
|
6804
|
-
modelValue:
|
|
6805
|
-
"onUpdate:modelValue": n[0] ||= (e) =>
|
|
6806
|
-
id:
|
|
6804
|
+
modelValue: d.value,
|
|
6805
|
+
"onUpdate:modelValue": n[0] ||= (e) => d.value = e,
|
|
6806
|
+
id: _(de)(),
|
|
6807
6807
|
icon: e.icon,
|
|
6808
6808
|
"icon-color": e.iconColor,
|
|
6809
6809
|
"icon-type": e.iconType,
|
|
6810
6810
|
options: [
|
|
6811
6811
|
{
|
|
6812
|
-
label:
|
|
6812
|
+
label: _(p)("booking.reservation.noNameTitle"),
|
|
6813
6813
|
value: 1
|
|
6814
6814
|
},
|
|
6815
6815
|
{
|
|
6816
|
-
label:
|
|
6816
|
+
label: _(p)("booking.reservation.nameTitleMr"),
|
|
6817
6817
|
value: 2
|
|
6818
6818
|
},
|
|
6819
6819
|
{
|
|
6820
|
-
label:
|
|
6820
|
+
label: _(p)("booking.reservation.nameTitleMs"),
|
|
6821
6821
|
value: 3
|
|
6822
6822
|
},
|
|
6823
6823
|
{
|
|
6824
|
-
label:
|
|
6824
|
+
label: _(p)("booking.reservation.nameTitleMrs"),
|
|
6825
6825
|
value: 4
|
|
6826
6826
|
},
|
|
6827
6827
|
{
|
|
6828
|
-
label:
|
|
6828
|
+
label: _(p)("booking.reservation.nameTitleDr"),
|
|
6829
6829
|
value: 5
|
|
6830
6830
|
}
|
|
6831
6831
|
],
|
|
@@ -6840,13 +6840,13 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6840
6840
|
"icon-type",
|
|
6841
6841
|
"options",
|
|
6842
6842
|
"readonly"
|
|
6843
|
-
])),
|
|
6844
|
-
modelValue:
|
|
6845
|
-
"onUpdate:modelValue": n[1] ||= (e) =>
|
|
6843
|
+
])), C(Te, {
|
|
6844
|
+
modelValue: u.value,
|
|
6845
|
+
"onUpdate:modelValue": n[1] ||= (e) => u.value = e,
|
|
6846
6846
|
type: "text",
|
|
6847
6847
|
name: "name",
|
|
6848
6848
|
autocomplete: "name",
|
|
6849
|
-
id:
|
|
6849
|
+
id: _(i),
|
|
6850
6850
|
icon: e.excludeTitle ? e.icon : void 0,
|
|
6851
6851
|
"icon-color": e.iconColor,
|
|
6852
6852
|
"icon-type": e.iconType,
|
|
@@ -6875,85 +6875,85 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6875
6875
|
"limit"
|
|
6876
6876
|
]));
|
|
6877
6877
|
}
|
|
6878
|
-
}), [["__scopeId", "data-v-4ad63bd6"]]),
|
|
6878
|
+
}), [["__scopeId", "data-v-4ad63bd6"]]), wn = { class: "hotel-skeleton" }, Tn = { class: "hotel-skeleton-content" }, En = { class: "hotel-skeleton-sidebar" }, Dn = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
6879
6879
|
__name: "HotelSkeleton",
|
|
6880
6880
|
setup(e) {
|
|
6881
|
-
return (e, t) => (
|
|
6881
|
+
return (e, t) => (c(), f("div", wn, [g("div", Tn, [C(Me, { hotel: "" }), C(Be)]), g("div", En, [C(Ve)])]));
|
|
6882
6882
|
}
|
|
6883
|
-
}), [["__scopeId", "data-v-2ff36444"]]),
|
|
6883
|
+
}), [["__scopeId", "data-v-2ff36444"]]), On = { id: "booking-availability-container" }, kn = { id: "booking-availability-controls" }, An = {
|
|
6884
6884
|
key: 0,
|
|
6885
6885
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6886
|
-
},
|
|
6886
|
+
}, jn = ["innerHTML"], Mn = {
|
|
6887
6887
|
key: 1,
|
|
6888
6888
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6889
|
-
},
|
|
6889
|
+
}, Nn = ["innerHTML"], Pn = {
|
|
6890
6890
|
key: 2,
|
|
6891
6891
|
class: "konnectio-panel konnectio-filter-notice"
|
|
6892
|
-
},
|
|
6892
|
+
}, Fn = { key: 4 }, In = { key: 0 }, Ln = {
|
|
6893
6893
|
key: 0,
|
|
6894
6894
|
id: "booking-availability-packages"
|
|
6895
|
-
},
|
|
6895
|
+
}, Rn = {
|
|
6896
6896
|
key: 0,
|
|
6897
6897
|
class: "konnectio-hotel-availability-title"
|
|
6898
|
-
},
|
|
6898
|
+
}, zn = { id: "booking-availability-packages-wrapper" }, Bn = { key: 1 }, Vn = {
|
|
6899
6899
|
key: 0,
|
|
6900
6900
|
class: "konnectio-hotel-availability-title"
|
|
6901
|
-
},
|
|
6901
|
+
}, Hn = { id: "konnectio-listings" }, Un = {
|
|
6902
6902
|
key: 0,
|
|
6903
6903
|
class: "konnectio-hotel-availability-title"
|
|
6904
|
-
},
|
|
6904
|
+
}, Wn = { id: "konnectio-listings" }, Gn = {
|
|
6905
6905
|
key: 0,
|
|
6906
6906
|
id: "booking-availability-packages"
|
|
6907
|
-
},
|
|
6907
|
+
}, Kn = { class: "konnectio-hotel-availability-title" }, qn = { id: "booking-availability-packages-wrapper" }, Jn = {
|
|
6908
6908
|
key: 3,
|
|
6909
6909
|
id: "booking-availability-no-listings",
|
|
6910
6910
|
class: "konnectio-panel"
|
|
6911
|
-
},
|
|
6911
|
+
}, Yn = {
|
|
6912
6912
|
key: 1,
|
|
6913
6913
|
id: "reservation-availability-next-dates"
|
|
6914
|
-
},
|
|
6914
|
+
}, Xn = { class: "konnectio-panel konnectio-filter-notice" }, Zn = ["innerHTML"], Qn = { class: "konnectio-hotel-availability-title" }, $n = { class: "reservation-special-offers-grid" }, er = ["title"], tr = { key: 0 }, nr = {
|
|
6915
6915
|
key: 2,
|
|
6916
6916
|
id: "booking-availability-no-listings",
|
|
6917
6917
|
class: "konnectio-panel"
|
|
6918
|
-
},
|
|
6918
|
+
}, rr = {
|
|
6919
6919
|
key: 5,
|
|
6920
6920
|
class: "konnectio-panel"
|
|
6921
|
-
},
|
|
6921
|
+
}, ir = {
|
|
6922
6922
|
key: 6,
|
|
6923
6923
|
class: "konnectio-listing-loading"
|
|
6924
|
-
},
|
|
6924
|
+
}, ar = { class: "konnectio-hotel-availability-warning" }, or = { class: "konnectio-hotel-availability-warning" }, sr = { class: "konnectio-panel" }, cr = {
|
|
6925
6925
|
key: 0,
|
|
6926
6926
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
6927
|
-
},
|
|
6927
|
+
}, lr = ["innerHTML"], ur = {
|
|
6928
6928
|
key: 0,
|
|
6929
6929
|
id: "konnectio-hotel-addons"
|
|
6930
|
-
},
|
|
6930
|
+
}, dr = { key: 0 }, fr = { class: "konnectio-event-addons-price" }, pr = { key: 1 }, mr = {
|
|
6931
6931
|
key: 0,
|
|
6932
6932
|
class: "konnectio-table-addons-image"
|
|
6933
|
-
},
|
|
6933
|
+
}, hr = ["innerHTML"], gr = { class: "konnectio-table-addons-option" }, _r = {
|
|
6934
6934
|
key: 1,
|
|
6935
6935
|
id: "konnectio-hotel-addons"
|
|
6936
|
-
},
|
|
6936
|
+
}, vr = {
|
|
6937
6937
|
key: 0,
|
|
6938
6938
|
class: "konnectio-hotel-reservation-room-name"
|
|
6939
|
-
},
|
|
6939
|
+
}, yr = {
|
|
6940
6940
|
key: 0,
|
|
6941
6941
|
class: "konnectio-table-addons-image"
|
|
6942
|
-
},
|
|
6942
|
+
}, br = ["innerHTML"], xr = { class: "konnectio-table-addons-option" }, Sr = { class: "konnectio-panel" }, Cr = {
|
|
6943
6943
|
key: 0,
|
|
6944
6944
|
class: "konnectio-panel konnectio-filter-notice konnectio-top-message"
|
|
6945
|
-
},
|
|
6945
|
+
}, wr = ["innerHTML"], Tr = { key: 0 }, Er = { key: 1 }, Dr = {
|
|
6946
6946
|
key: 2,
|
|
6947
6947
|
class: "konnectio-show-on-mobile"
|
|
6948
|
-
},
|
|
6948
|
+
}, Or = { class: "konnectio-split-inputs" }, kr = {
|
|
6949
6949
|
key: 0,
|
|
6950
6950
|
class: "konnectio-hotel-member-card-mockup"
|
|
6951
|
-
},
|
|
6951
|
+
}, Ar = ["src"], jr = { class: "konnectio-hotel-member-card-details" }, Mr = { key: 0 }, Nr = { key: 0 }, Pr = /*#__PURE__*/ I(/* @__PURE__ */ d({
|
|
6952
6952
|
name: "HotelLayout",
|
|
6953
6953
|
__name: "Hotel",
|
|
6954
6954
|
props: {
|
|
6955
6955
|
accessToken: {},
|
|
6956
|
-
headerLayout: { default:
|
|
6956
|
+
headerLayout: { default: _e.Minimal },
|
|
6957
6957
|
onlyShow: { default: "everything" },
|
|
6958
6958
|
hideAddons: { default: "no" },
|
|
6959
6959
|
disableDefaultLocation: { default: "no" },
|
|
@@ -6970,20 +6970,20 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6970
6970
|
styling: {}
|
|
6971
6971
|
},
|
|
6972
6972
|
setup(e) {
|
|
6973
|
-
let t =
|
|
6973
|
+
let t = u(() => import("./_-WoNM0Unh.js").then((e) => e.n)), n = e, { t: i } = v(), { currentLocation: l, templateID: d, templateRoomSelections: p, templateRoomUnits: h, countries: ee, areListingsLoading: te, isPaymentLoading: ne, isReservationFormFilled: S, travelingFor: ie, arrivalTime: ae, departureTime: E, name: oe, nameTitle: D, email: O, phone: k, firmName: j, postal: P, city: F, address: se, country: de, remark: _e, allergies: ve, roomSelect: I, roomDisplay: xe, hasValidRoomSelection: Se, availabilityData: z, selectionHasNoAddons: ke, isAvailabilityDataAvailable: je, getSelectedPackageRooms: Me, selectedPackage: Pe, isSearchOutdated: Fe, isTemplateReservation: Ie, newsMails: ze, adultsMismatch: Be, childrenMismatch: Ve, totalAdults: We, totalChildren: Ge, hasGuestDiscountId: V, hasGuestDiscountCode: Ye, guestDiscountId: Xe, guestDiscountName: Ze, guestDiscountCode: Qe, hasMemberCards: $e, memberCardList: et, selectedMemberCard: tt, memberCardControlNumber: nt, memberCardNumber: rt, selectedMemberCardObject: it, selectedMemberCardData: at, discountCode: ot, discountPayload: st } = T(ge()), { adults: ct, children: lt, location: ut, arrivalDate: dt, departureDate: ft, hasHotelLocations: pt } = T(ce()), { isValidHotelId: mt, updateDates: ht } = ce(), { currency: _t, enableTracking: vt, disableNamePrefix: yt, disableTravelingFor: H, disableTravelingForBleasure: U, disableCompanyField: bt, hasPaymentGateway: xt, maxAdultAmount: St, maxChildAmount: Ct, defaultAdultAmount: W, defaultChildAmount: G, disableNewsletterSignup: wt, hasActiveIdFilter: Tt, hotelSettings: K } = T(ue()), { hasArrivalDepartureInputs: Et, hasUserArrivalSelection: Dt, hasUserDepartureSelection: Ot, earliestArrivalTime: q, latestArrivalTime: kt, earliestDepartureTime: At, latestDepartureTime: jt, setActiveIdFilter: Mt, clearActiveIdFilter: Nt } = ue(), { beginCheckout: Ft } = le(), { display: It } = he(), { createReservation: Lt, fetchMetadata: zt, fetchAvailabilityData: Bt, filterAddons: Vt, hasAvailableRoomAddons: J, checkGuestDiscount: Ut, setGuestDiscountCode: Y, validateMemberCard: Wt, onOverviewReset: Gt, validateDiscountCode: Kt } = ge(), qt = M(() => n.sortOrder === "desc"), X = M(() => [
|
|
6974
6974
|
{
|
|
6975
6975
|
id: "availability",
|
|
6976
|
-
label:
|
|
6976
|
+
label: i("booking.availability.title"),
|
|
6977
6977
|
icon: "search"
|
|
6978
6978
|
},
|
|
6979
6979
|
{
|
|
6980
6980
|
id: "addons",
|
|
6981
|
-
label:
|
|
6981
|
+
label: i("general.addons"),
|
|
6982
6982
|
icon: "shopping-cart"
|
|
6983
6983
|
},
|
|
6984
6984
|
{
|
|
6985
6985
|
id: "reservation",
|
|
6986
|
-
label:
|
|
6986
|
+
label: i("booking.reservation.title"),
|
|
6987
6987
|
icon: "concierge-bell"
|
|
6988
6988
|
},
|
|
6989
6989
|
{
|
|
@@ -6992,118 +6992,119 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6992
6992
|
},
|
|
6993
6993
|
{
|
|
6994
6994
|
id: "confirmation",
|
|
6995
|
-
label:
|
|
6995
|
+
label: i("booking.confirmation.title"),
|
|
6996
6996
|
icon: "calendar-check"
|
|
6997
6997
|
}
|
|
6998
|
-
]),
|
|
6998
|
+
]), Jt = M(() => {
|
|
6999
6999
|
let e = [{
|
|
7000
|
-
label:
|
|
7000
|
+
label: i("booking.reservation.business"),
|
|
7001
7001
|
value: "Business"
|
|
7002
7002
|
}, {
|
|
7003
|
-
label:
|
|
7003
|
+
label: i("booking.reservation.pleasure"),
|
|
7004
7004
|
value: "Pleasure"
|
|
7005
7005
|
}];
|
|
7006
7006
|
return U.value || e.push({
|
|
7007
|
-
label:
|
|
7007
|
+
label: i("booking.reservation.bleasure"),
|
|
7008
7008
|
value: "Bleasure"
|
|
7009
7009
|
}), e;
|
|
7010
|
-
}),
|
|
7010
|
+
}), Yt = M(() => {
|
|
7011
7011
|
let e = z.value.roomGroups.slice();
|
|
7012
7012
|
function t(e, t) {
|
|
7013
7013
|
return qt.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
7014
7014
|
}
|
|
7015
|
-
return
|
|
7015
|
+
return n.sortBy === "price" && (e = e.sort(t)), Object.groupBy(e, (e) => e.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms");
|
|
7016
7016
|
});
|
|
7017
7017
|
function Z(e) {
|
|
7018
7018
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
7019
7019
|
}
|
|
7020
|
-
let Xt =
|
|
7020
|
+
let Xt = M(() => {
|
|
7021
7021
|
let e = z.value.templates.slice();
|
|
7022
|
-
return
|
|
7022
|
+
return n.sortBy === "price" && e.sort((e, t) => {
|
|
7023
7023
|
let n = Z(e), r = Z(t);
|
|
7024
7024
|
return qt.value ? r - n : n - r;
|
|
7025
7025
|
}), e;
|
|
7026
|
-
}), Zt =
|
|
7026
|
+
}), Zt = M(() => {
|
|
7027
7027
|
let e = z.value.specialTemplates.slice();
|
|
7028
|
-
return
|
|
7028
|
+
return n.sortBy === "price" && e.sort((e, t) => {
|
|
7029
7029
|
let n = Z(e), r = Z(t);
|
|
7030
7030
|
return qt.value ? r - n : n - r;
|
|
7031
7031
|
}), e;
|
|
7032
|
-
}), Qt =
|
|
7032
|
+
}), Qt = M(() => n.hideAddons === "yes" || Ie.value && n.hideAddons === "packages" || !Ie.value && n.hideAddons === "rooms");
|
|
7033
7033
|
function $t(e) {
|
|
7034
7034
|
let t = $.discount;
|
|
7035
|
-
t ? (ot.value = t, Kt()) :
|
|
7035
|
+
t ? (ot.value = t, Kt()) : Ye.value && !st.value && (ot.value = Qe.value, Kt()), e();
|
|
7036
7036
|
}
|
|
7037
7037
|
function en(e) {
|
|
7038
|
-
Qt.value ||
|
|
7038
|
+
Qt.value || ke.value ? e(2) : e();
|
|
7039
7039
|
}
|
|
7040
7040
|
async function tn(e, t) {
|
|
7041
7041
|
await Lt(e, t);
|
|
7042
7042
|
}
|
|
7043
7043
|
function nn() {
|
|
7044
|
-
if (isNaN(ut.value) && pt.value) {
|
|
7045
|
-
|
|
7046
|
-
message:
|
|
7044
|
+
if ((ut.value === void 0 || isNaN(ut.value)) && pt.value) {
|
|
7045
|
+
It({
|
|
7046
|
+
message: i("alert.error.selectHotelId"),
|
|
7047
7047
|
type: "error"
|
|
7048
7048
|
});
|
|
7049
7049
|
return;
|
|
7050
7050
|
}
|
|
7051
|
-
|
|
7051
|
+
Bt();
|
|
7052
7052
|
}
|
|
7053
|
-
function
|
|
7054
|
-
let e =
|
|
7055
|
-
Nt(), e.id = void 0,
|
|
7053
|
+
function Q() {
|
|
7054
|
+
let e = we("history", { removeNullishValues: !0 });
|
|
7055
|
+
Nt(), e.id = void 0, Bt();
|
|
7056
7056
|
}
|
|
7057
|
-
function
|
|
7058
|
-
|
|
7057
|
+
function an(e) {
|
|
7058
|
+
vt.value && Ft(), Ye.value && !st.value && (ot.value = Qe.value, Kt()), Qt.value || ke.value ? e(2) : e();
|
|
7059
7059
|
}
|
|
7060
7060
|
function on() {
|
|
7061
|
-
|
|
7061
|
+
let e = ut.value;
|
|
7062
|
+
n.forceArrivalTime && n.forceDepartureTime && e !== void 0 && K.value[e] && (K.value[e].disableArrivalUserSelection = !0, n.forceArrivalTime && (K.value[e].arrivalDefault = n.forceArrivalTime), n.forceDepartureTime && (K.value[e].departureDefault = n.forceDepartureTime));
|
|
7062
7063
|
}
|
|
7063
|
-
let $ =
|
|
7064
|
+
let $ = we("history", { removeNullishValues: !0 });
|
|
7064
7065
|
async function sn() {
|
|
7065
7066
|
on();
|
|
7066
|
-
let e = parseInt($.a), t = parseInt($.c),
|
|
7067
|
-
if (isNaN(e) || (e > St.value ? ct.value = St.value : ct.value = e, ct.value === W.value && ($.a = void 0)), isNaN(t) || (t > Ct.value ? lt.value = Ct.value : lt.value = t, lt.value === G.value && ($.c = void 0)), isNaN(
|
|
7068
|
-
message:
|
|
7067
|
+
let e = parseInt($.a), t = parseInt($.c), r = parseInt($.hid), a = parseInt($.n), o = $.ci, s = $.co, c = $.id, u = parseInt($.gid), d = $.discount, f = !1;
|
|
7068
|
+
if (isNaN(e) || (e > St.value ? ct.value = St.value : ct.value = e, ct.value === W.value && ($.a = void 0)), isNaN(t) || (t > Ct.value ? lt.value = Ct.value : lt.value = t, lt.value === G.value && ($.c = void 0)), isNaN(a) || a > 0 && ($.n = void 0), isNaN(r) || (mt(r) ? (ut.value = r, f = !0) : ($.hid = void 0, It({
|
|
7069
|
+
message: i("alert.error.hotelIdNotFound"),
|
|
7069
7070
|
type: "error"
|
|
7070
|
-
}))), o && s) if (
|
|
7071
|
+
}))), o && s) if (ye(o) && ye(s)) {
|
|
7071
7072
|
let e = new Date(new Date(o).setHours(12, 0, 0, 0)), t = new Date(new Date(s).setHours(12, 0, 0, 0));
|
|
7072
|
-
e <= t ? (dt.value = e, ft.value = t) : ($.ci = void 0, $.co = void 0,
|
|
7073
|
-
message:
|
|
7073
|
+
e <= t ? (dt.value = e, ft.value = t) : ($.ci = void 0, $.co = void 0, It({
|
|
7074
|
+
message: i("alert.error.invalidDateRange"),
|
|
7074
7075
|
type: "error"
|
|
7075
7076
|
}));
|
|
7076
|
-
} else
|
|
7077
|
-
message:
|
|
7077
|
+
} else It({
|
|
7078
|
+
message: i("alert.error.wrongDateFormat"),
|
|
7078
7079
|
type: "error"
|
|
7079
7080
|
});
|
|
7080
|
-
if (c && Mt(c),
|
|
7081
|
-
await
|
|
7081
|
+
if (c && Mt(c), u) {
|
|
7082
|
+
await Ut(u) || delete $.gid;
|
|
7082
7083
|
return;
|
|
7083
7084
|
}
|
|
7084
|
-
d && Y(d),
|
|
7085
|
+
d && Y(d), n.disableDefaultLocation === "yes" && f === !1 ? (ut.value = void 0, l.value = NaN) : Bt();
|
|
7085
7086
|
}
|
|
7086
|
-
return (
|
|
7087
|
-
default:
|
|
7088
|
-
default:
|
|
7087
|
+
return (n, u) => (c(), o(Ce, { styling: e.styling }, {
|
|
7088
|
+
default: A(() => [(c(), o(N, { onResolve: sn }, {
|
|
7089
|
+
default: A(() => [C(_(t), {
|
|
7089
7090
|
id: "konnectio-hotel-module",
|
|
7090
7091
|
"access-token": e.accessToken,
|
|
7091
|
-
callback:
|
|
7092
|
+
callback: _(zt)
|
|
7092
7093
|
}, {
|
|
7093
|
-
default:
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7094
|
+
default: A(() => [
|
|
7095
|
+
b(C(Rt, { onCallback: sn }, null, 512), [[re, e.requireGuestDiscountId === "yes" && !_(V)]]),
|
|
7096
|
+
b(C(Ht, null, null, 512), [[re, e.requireDiscountCode === "yes" && !_(Ye)]]),
|
|
7097
|
+
b(C(Ue, {
|
|
7097
7098
|
layout: e.headerLayout,
|
|
7098
|
-
steps:
|
|
7099
|
-
onReset:
|
|
7099
|
+
steps: X.value,
|
|
7100
|
+
onReset: _(Gt)
|
|
7100
7101
|
}, {
|
|
7101
|
-
availability:
|
|
7102
|
+
availability: A(({ next: t }) => [C(Pt, {
|
|
7102
7103
|
"show-remove-room": !0,
|
|
7103
7104
|
"availability-discount": ""
|
|
7104
7105
|
}, {
|
|
7105
|
-
form:
|
|
7106
|
-
|
|
7106
|
+
form: A(() => [g("div", On, [
|
|
7107
|
+
g("div", kn, [C(Ne, {
|
|
7107
7108
|
booking: !0,
|
|
7108
7109
|
"selected-location": Number(e.selectedLocation),
|
|
7109
7110
|
"disable-default-location": e.disableDefaultLocation === "yes",
|
|
@@ -7113,25 +7114,25 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7113
7114
|
"disable-default-location",
|
|
7114
7115
|
"hide-locations"
|
|
7115
7116
|
])]),
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7117
|
+
_(V) ? (c(), f("div", An, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(Ze) ? _(Ze) : _(Xe)}</b>` }) }, null, 8, jn)])) : a("", !0),
|
|
7118
|
+
_(Ye) ? (c(), f("div", Mn, [g("span", { innerHTML: _(i)("guestDiscount.displayMessage", { name: `<b>${_(Qe)}</b>` }) }, null, 8, Nn)])) : a("", !0),
|
|
7119
|
+
_(Tt) ? (c(), f("div", Pn, [g("span", null, [r(w(_(i)("general.filteredListingNotice")) + " ", 1), g("button", {
|
|
7119
7120
|
class: "link",
|
|
7120
|
-
onClick:
|
|
7121
|
-
},
|
|
7122
|
-
|
|
7123
|
-
!
|
|
7124
|
-
|
|
7121
|
+
onClick: u[0] ||= (e) => Q()
|
|
7122
|
+
}, w(_(i)("general.filteredListingShowAll")), 1)])])) : a("", !0),
|
|
7123
|
+
a("", !0),
|
|
7124
|
+
!_(te) && _(je) ? (c(), f("div", Fn, [Yt.value.camping && Yt.value.camping.length > 0 && e.onlyShow !== "non-camping" || Yt.value.rooms && Yt.value.rooms.length > 0 || _(z).templates.length > 0 || _(z).specialTemplates.length > 0 && !_(Tt) ? (c(), f("div", In, [
|
|
7125
|
+
_(z).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (c(), f("div", Ln, [e.onlyShow === "packages" ? a("", !0) : (c(), f("h2", Rn, [C(B, {
|
|
7125
7126
|
icon: "box",
|
|
7126
7127
|
type: "fal",
|
|
7127
7128
|
color: "header"
|
|
7128
|
-
}),
|
|
7129
|
+
}), g("span", null, w(_(i)("booking.availability.packagesTitle")), 1)])), g("ul", zn, [(c(!0), f(y, null, m(Xt.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: s, weekendFee: l }) => (c(), o(gn, {
|
|
7129
7130
|
key: n,
|
|
7130
7131
|
id: n,
|
|
7131
7132
|
description: s,
|
|
7132
7133
|
name: r,
|
|
7133
7134
|
images: a,
|
|
7134
|
-
weekendFee:
|
|
7135
|
+
weekendFee: l,
|
|
7135
7136
|
"room-groups": i,
|
|
7136
7137
|
callback: t,
|
|
7137
7138
|
"hide-addons": e.hideAddons === "yes" || e.hideAddons === "packages"
|
|
@@ -7144,36 +7145,36 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7144
7145
|
"room-groups",
|
|
7145
7146
|
"callback",
|
|
7146
7147
|
"hide-addons"
|
|
7147
|
-
]))), 128))])])) :
|
|
7148
|
-
|
|
7148
|
+
]))), 128))])])) : a("", !0),
|
|
7149
|
+
_(z).roomGroups.length > 0 && e.onlyShow !== "packages" ? (c(), f("div", Bn, [Yt.value.rooms && e.onlyShow !== "camping" ? (c(), f(y, { key: 0 }, [_(z).templates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("h2", Vn, [C(B, {
|
|
7149
7150
|
icon: "house",
|
|
7150
7151
|
type: "fal",
|
|
7151
7152
|
color: "header"
|
|
7152
|
-
}),
|
|
7153
|
+
}), g("span", null, w(_(i)("booking.availability.roomsTitle")), 1)])) : a("", !0), g("ul", Hn, [(c(!0), f(y, null, m(Yt.value.rooms, (e, n) => (c(), o(rn, {
|
|
7153
7154
|
room: e,
|
|
7154
7155
|
key: n,
|
|
7155
7156
|
callback: t
|
|
7156
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) :
|
|
7157
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0), Yt.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (c(), f(y, { key: 1 }, [_(z).templates.length > 0 && e.onlyShow !== "camping" ? (c(), f("h2", Un, [C(B, {
|
|
7157
7158
|
icon: "map-location-dot",
|
|
7158
7159
|
type: "fal",
|
|
7159
7160
|
color: "header"
|
|
7160
|
-
}),
|
|
7161
|
+
}), g("span", null, w(_(i)("booking.availability.campingTitle")), 1)])) : a("", !0), g("ul", Wn, [(c(!0), f(y, null, m(Yt.value.camping, (e, n) => (c(), o(rn, {
|
|
7161
7162
|
room: e,
|
|
7162
7163
|
key: n,
|
|
7163
7164
|
callback: t
|
|
7164
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) :
|
|
7165
|
-
|
|
7165
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : a("", !0)])) : a("", !0),
|
|
7166
|
+
_(Tt) ? a("", !0) : (c(), f(y, { key: 2 }, [_(z).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (c(), f("div", Gn, [g("h2", Kn, [C(B, {
|
|
7166
7167
|
icon: "sparkles",
|
|
7167
7168
|
type: "fal",
|
|
7168
7169
|
color: "header"
|
|
7169
|
-
}),
|
|
7170
|
+
}), g("span", null, w(_(i)("hotel.specialOffers")), 1)]), g("ul", qn, [(c(!0), f(y, null, m(Zt.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: s, toDate: l }) => (c(), o(yn, {
|
|
7170
7171
|
key: e,
|
|
7171
7172
|
id: e,
|
|
7172
7173
|
description: i,
|
|
7173
7174
|
name: t,
|
|
7174
7175
|
images: r,
|
|
7175
7176
|
fromDate: s,
|
|
7176
|
-
toDate:
|
|
7177
|
+
toDate: l,
|
|
7177
7178
|
weekendFee: a,
|
|
7178
7179
|
"room-groups": n
|
|
7179
7180
|
}, null, 8, [
|
|
@@ -7185,160 +7186,160 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7185
7186
|
"toDate",
|
|
7186
7187
|
"weekendFee",
|
|
7187
7188
|
"room-groups"
|
|
7188
|
-
]))), 128))])])) :
|
|
7189
|
-
(
|
|
7190
|
-
])) :
|
|
7191
|
-
|
|
7192
|
-
|
|
7189
|
+
]))), 128))])])) : a("", !0)], 64)),
|
|
7190
|
+
(_(z).templates.length === 0 && e.onlyShow !== "rooms" || _(z).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (c(), f("div", Jn, [g("span", null, w(_(i)("booking.availability.nothingAvailable")), 1)])) : a("", !0)
|
|
7191
|
+
])) : _(z).nextAvailableDates.length > 0 ? (c(), f("div", Yn, [
|
|
7192
|
+
g("div", Xn, [g("span", { innerHTML: _(i)("hotel.everyRoomIsBooked") }, null, 8, Zn)]),
|
|
7193
|
+
g("h2", Qn, [C(B, {
|
|
7193
7194
|
icon: "calendar-circle-exclamation",
|
|
7194
7195
|
type: "fal",
|
|
7195
7196
|
color: "header"
|
|
7196
|
-
}),
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7197
|
+
}), g("span", null, w(_(i)("booking.availability.nextAvailableDates")), 1)]),
|
|
7198
|
+
g("ul", $n, [(c(!0), f(y, null, m(_(z).nextAvailableDates, (e, t) => (c(), f("li", { key: t }, [
|
|
7199
|
+
g("h3", { title: `${_(pe)(e.fromDate, 0, !0)} - ${_(pe)(e.toDate, 0, !0)}` }, [g("span", null, w(`${_(pe)(e.fromDate, 0, !0)} - ${_(pe)(e.toDate, 0, !0)}`), 1)], 8, er),
|
|
7200
|
+
g("ul", null, [isNaN(e.roomCount) ? a("", !0) : (c(), f("li", tr, [C(B, {
|
|
7200
7201
|
icon: "house",
|
|
7201
7202
|
type: "fal",
|
|
7202
7203
|
color: "header"
|
|
7203
|
-
}),
|
|
7204
|
+
}), g("span", null, w(_(i)("booking.availability.units")) + ": " + w(e.roomCount), 1)])), g("li", null, [C(B, {
|
|
7204
7205
|
icon: "money-bill",
|
|
7205
7206
|
type: "fal",
|
|
7206
7207
|
color: "header"
|
|
7207
|
-
}),
|
|
7208
|
-
|
|
7209
|
-
label:
|
|
7208
|
+
}), g("span", null, w(_(i)("booking.availability.pricesFrom")) + ": " + w(_(R)(e.priceStartFrom, _(_t))), 1)])]),
|
|
7209
|
+
C(Ae, {
|
|
7210
|
+
label: _(i)("booking.availability.selectDates"),
|
|
7210
7211
|
"full-width": "",
|
|
7211
|
-
onClickEvent: (t) =>
|
|
7212
|
+
onClickEvent: (t) => _(ht)(new Date(e.fromDate), new Date(e.toDate))
|
|
7212
7213
|
}, null, 8, ["label", "onClickEvent"])
|
|
7213
7214
|
]))), 128))])
|
|
7214
|
-
])) : (
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7215
|
+
])) : (c(), f("div", nr, [g("span", null, w(_(i)("booking.availability.nothingAvailable")), 1)]))])) : isNaN(_(l)) && !_(te) ? (c(), f("div", rr, [g("span", null, w(_(i)("alert.info.selectHotelToStart")), 1)])) : (c(), f("div", ir, [
|
|
7216
|
+
C(He),
|
|
7217
|
+
C(He),
|
|
7218
|
+
C(He)
|
|
7218
7219
|
]))
|
|
7219
7220
|
])]),
|
|
7220
|
-
navigation:
|
|
7221
|
-
|
|
7221
|
+
navigation: A(() => [
|
|
7222
|
+
_(Fe) ? (c(), o(Ae, {
|
|
7222
7223
|
key: 0,
|
|
7223
|
-
label: isNaN(l
|
|
7224
|
-
"is-loading":
|
|
7224
|
+
label: isNaN(_(l)) ? _(i)("availability.buttonLabel") : _(i)("general.searchAgain"),
|
|
7225
|
+
"is-loading": _(te),
|
|
7225
7226
|
"full-width": "",
|
|
7226
|
-
onClickEvent:
|
|
7227
|
-
}, null, 8, ["label", "is-loading"])) : (
|
|
7227
|
+
onClickEvent: u[2] ||= (e) => nn()
|
|
7228
|
+
}, null, 8, ["label", "is-loading"])) : (c(), o(Ae, {
|
|
7228
7229
|
key: 1,
|
|
7229
|
-
label:
|
|
7230
|
-
disabled: !
|
|
7230
|
+
label: _(ke) || Qt.value ? _(i)("booking.availability.nextButton") : _(i)("general.chooseAddons"),
|
|
7231
|
+
disabled: !_(Se),
|
|
7231
7232
|
"full-width": "",
|
|
7232
|
-
onClickEvent: (e) =>
|
|
7233
|
+
onClickEvent: (e) => an(t)
|
|
7233
7234
|
}, null, 8, [
|
|
7234
7235
|
"label",
|
|
7235
7236
|
"disabled",
|
|
7236
7237
|
"onClickEvent"
|
|
7237
7238
|
])),
|
|
7238
|
-
|
|
7239
|
+
b(g("span", ar, [C(B, {
|
|
7239
7240
|
icon: "exclamation-triangle",
|
|
7240
7241
|
type: "fas"
|
|
7241
|
-
}),
|
|
7242
|
-
searchAdults:
|
|
7243
|
-
selectedAdults:
|
|
7244
|
-
})), 1)], 512), [[
|
|
7245
|
-
|
|
7242
|
+
}), g("span", null, w(_(i)("hotel.mismatchingAdults", {
|
|
7243
|
+
searchAdults: _(ct),
|
|
7244
|
+
selectedAdults: _(We)
|
|
7245
|
+
})), 1)], 512), [[re, _(Be)]]),
|
|
7246
|
+
b(g("span", or, [C(B, {
|
|
7246
7247
|
icon: "exclamation-triangle",
|
|
7247
7248
|
type: "fas"
|
|
7248
|
-
}),
|
|
7249
|
-
searchChildren:
|
|
7250
|
-
selectedChildren:
|
|
7251
|
-
})), 1)], 512), [[
|
|
7249
|
+
}), g("span", null, w(_(i)("hotel.mismatchingChildren", {
|
|
7250
|
+
searchChildren: _(lt),
|
|
7251
|
+
selectedChildren: _(Ge)
|
|
7252
|
+
})), 1)], 512), [[re, _(Ve)]])
|
|
7252
7253
|
]),
|
|
7253
7254
|
_: 2
|
|
7254
7255
|
}, 1024)]),
|
|
7255
|
-
addons:
|
|
7256
|
+
addons: A(({ next: e, prev: t }) => [_(je) ? (c(), o(Pt, {
|
|
7256
7257
|
key: 0,
|
|
7257
7258
|
"prev-callback": () => en(t)
|
|
7258
7259
|
}, {
|
|
7259
|
-
form:
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
innerHTML:
|
|
7260
|
+
form: A(() => [g("form", sr, [
|
|
7261
|
+
g("h2", null, [g("span", null, w(_(i)("booking.reservation.addons")), 1)]),
|
|
7262
|
+
_(i)("hotel.addonTopNotice") && _(i)("hotel.addonTopNotice") !== "<br>" ? (c(), f("div", cr, [g("p", {
|
|
7263
|
+
innerHTML: _(i)("hotel.addonTopNotice"),
|
|
7263
7264
|
class: "konnectio-wysiwyg"
|
|
7264
|
-
}, null, 8,
|
|
7265
|
-
|
|
7266
|
-
key:
|
|
7265
|
+
}, null, 8, lr)])) : a("", !0),
|
|
7266
|
+
g("div", null, [isNaN(_(d)) ? (c(), f("div", ur, [(c(!0), f(y, null, m(_(xe), (e) => (c(), f(y, { key: e.roomGroupID }, [_(J)(e) ? (c(), f("ul", dr, [(c(!0), f(y, null, m(e.variants, (t, n) => (c(), f("li", { key: t.ratePlanID }, [g("h4", null, [g("span", null, w(_(fe)(e.title)), 1)]), (c(!0), f(y, null, m(t.rooms, (r, i) => (c(), f("table", {
|
|
7267
|
+
key: i,
|
|
7267
7268
|
class: "konnectio-table with-lines without-header"
|
|
7268
|
-
}, [
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7269
|
+
}, [g("thead", null, [g("tr", null, [
|
|
7270
|
+
g("th", null, [g("span", null, w(_(fe)(t.name)), 1)]),
|
|
7271
|
+
a("", !0),
|
|
7272
|
+
g("th", fr, [g("b", null, [
|
|
7273
|
+
C(B, {
|
|
7273
7274
|
icon: "male",
|
|
7274
7275
|
type: "fas",
|
|
7275
7276
|
color: "font"
|
|
7276
7277
|
}),
|
|
7277
|
-
|
|
7278
|
-
|
|
7278
|
+
g("span", null, w(r.adultsCount), 1),
|
|
7279
|
+
r.childrenCount > 0 ? (c(), o(B, {
|
|
7279
7280
|
key: 0,
|
|
7280
7281
|
icon: "child",
|
|
7281
7282
|
type: "fas",
|
|
7282
7283
|
color: "font"
|
|
7283
|
-
})) :
|
|
7284
|
-
|
|
7284
|
+
})) : a("", !0),
|
|
7285
|
+
r.childrenCount > 0 ? (c(), f("span", pr, w(r.childrenCount), 1)) : a("", !0)
|
|
7285
7286
|
])])
|
|
7286
|
-
])]),
|
|
7287
|
-
src:
|
|
7287
|
+
])]), g("tbody", null, [(c(!0), f(y, null, m(_(Vt)(t.addons, r.childrenCount), ({ cardinality: t, quantityStrategy: i, maximumNumber: l, id: u, name: d, price: p, image: m, description: h }) => (c(), f("tr", { key: u }, [g("td", { class: s(["konnectio-table-addons-information", { "has-image": m }]) }, [m ? (c(), f("div", mr, [C(_(gt), {
|
|
7288
|
+
src: m,
|
|
7288
7289
|
"zoom-scale": 1
|
|
7289
|
-
}, null, 8, ["src"])])) :
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7290
|
+
}, null, 8, ["src"])])) : a("", !0), g("div", null, [
|
|
7291
|
+
g("b", null, w(_(fe)(d)), 1),
|
|
7292
|
+
g("span", null, w(_(R)(p, _(_t))) + " " + w(_(be)(i)), 1),
|
|
7293
|
+
h ? (c(), f("p", {
|
|
7293
7294
|
key: 0,
|
|
7294
|
-
innerHTML:
|
|
7295
|
-
}, null, 8,
|
|
7296
|
-
])], 2),
|
|
7295
|
+
innerHTML: _(me)(h)
|
|
7296
|
+
}, null, 8, hr)) : a("", !0)
|
|
7297
|
+
])], 2), g("td", gr, [_(I)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (c(), f(y, { key: 0 }, [t === _(Oe).Mandatory ? (c(), o(De, {
|
|
7297
7298
|
key: 0,
|
|
7298
7299
|
"model-value": 1,
|
|
7299
7300
|
small: !0,
|
|
7300
7301
|
"min-value": 1,
|
|
7301
7302
|
"max-value": 1,
|
|
7302
7303
|
readonly: ""
|
|
7303
|
-
})) : (
|
|
7304
|
+
})) : (c(), o(De, {
|
|
7304
7305
|
key: 1,
|
|
7305
|
-
modelValue:
|
|
7306
|
-
"onUpdate:modelValue": (t) =>
|
|
7306
|
+
modelValue: _(I)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u],
|
|
7307
|
+
"onUpdate:modelValue": (t) => _(I)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][u] = t,
|
|
7307
7308
|
small: !0,
|
|
7308
7309
|
"min-value": 0,
|
|
7309
|
-
"max-value":
|
|
7310
|
+
"max-value": l || Infinity
|
|
7310
7311
|
}, null, 8, [
|
|
7311
7312
|
"modelValue",
|
|
7312
7313
|
"onUpdate:modelValue",
|
|
7313
7314
|
"max-value"
|
|
7314
|
-
]))], 64)) :
|
|
7315
|
+
]))], 64)) : a("", !0)])]))), 128))])]))), 128))]))), 128))])) : a("", !0)], 64))), 128))])) : _(h).length > 0 ? (c(), f("div", _r, [g("div", null, [g("h4", null, [g("span", null, w(_(Pe)?.name), 1)]), (c(!0), f(y, null, m(_(h), (e, t) => (c(), f("table", {
|
|
7315
7316
|
key: t,
|
|
7316
7317
|
class: "konnectio-table with-lines without-header"
|
|
7317
|
-
}, [
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
])]),
|
|
7322
|
-
src:
|
|
7318
|
+
}, [g("thead", null, [g("tr", null, [
|
|
7319
|
+
g("th", null, [g("span", null, w(_(fe)(_(Me).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), _(h).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (c(), f("span", vr, "(" + w(_(i)("booking.reservation.room")) + " " + w(_(h).slice(0, t + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : a("", !0)]),
|
|
7320
|
+
a("", !0),
|
|
7321
|
+
u[24] ||= g("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7322
|
+
])]), g("tbody", null, [(c(!0), f(y, null, m(_(Vt)(_(Me).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: r, id: i, name: l, price: u, description: d, image: m }) => (c(), f("tr", { key: i }, [g("td", { class: s(["konnectio-table-addons-information", { "has-image": m }]) }, [m ? (c(), f("div", yr, [C(_(gt), {
|
|
7323
|
+
src: m,
|
|
7323
7324
|
"zoom-scale": 1
|
|
7324
|
-
}, null, 8, ["src"])])) :
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7325
|
+
}, null, 8, ["src"])])) : a("", !0), g("div", null, [
|
|
7326
|
+
g("b", null, w(_(fe)(l)), 1),
|
|
7327
|
+
g("span", null, w(_(R)(u, _(_t))) + " " + w(_(be)(n)), 1),
|
|
7328
|
+
d ? (c(), f("p", {
|
|
7328
7329
|
key: 0,
|
|
7329
|
-
innerHTML:
|
|
7330
|
-
}, null, 8,
|
|
7331
|
-
])], 2),
|
|
7330
|
+
innerHTML: _(me)(d)
|
|
7331
|
+
}, null, 8, br)) : a("", !0)
|
|
7332
|
+
])], 2), g("td", xr, [t === _(Oe).Mandatory ? (c(), o(De, {
|
|
7332
7333
|
key: 0,
|
|
7333
7334
|
"model-value": 1,
|
|
7334
7335
|
small: !0,
|
|
7335
7336
|
"min-value": 1,
|
|
7336
7337
|
"max-value": 1,
|
|
7337
7338
|
readonly: ""
|
|
7338
|
-
})) : (
|
|
7339
|
+
})) : (c(), o(De, {
|
|
7339
7340
|
key: 1,
|
|
7340
|
-
modelValue:
|
|
7341
|
-
"onUpdate:modelValue": (t) =>
|
|
7341
|
+
modelValue: _(p)[e.selectionIdx].unitConfigs[e.configIdx].addons[i],
|
|
7342
|
+
"onUpdate:modelValue": (t) => _(p)[e.selectionIdx].unitConfigs[e.configIdx].addons[i] = t,
|
|
7342
7343
|
small: !0,
|
|
7343
7344
|
"min-value": 0,
|
|
7344
7345
|
"max-value": r || Infinity
|
|
@@ -7346,66 +7347,66 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7346
7347
|
"modelValue",
|
|
7347
7348
|
"onUpdate:modelValue",
|
|
7348
7349
|
"max-value"
|
|
7349
|
-
]))])]))), 128))])]))), 128))])])) :
|
|
7350
|
+
]))])]))), 128))])]))), 128))])])) : a("", !0)])
|
|
7350
7351
|
])]),
|
|
7351
|
-
navigation:
|
|
7352
|
-
label:
|
|
7352
|
+
navigation: A(() => [C(Ae, {
|
|
7353
|
+
label: _(i)("general.startReservation"),
|
|
7353
7354
|
"full-width": "",
|
|
7354
7355
|
onClickEvent: (t) => $t(e)
|
|
7355
7356
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7356
7357
|
_: 2
|
|
7357
|
-
}, 1032, ["prev-callback"])) :
|
|
7358
|
-
reservation:
|
|
7358
|
+
}, 1032, ["prev-callback"])) : a("", !0)]),
|
|
7359
|
+
reservation: A(({ next: t, prev: n, reset: r }) => [_(je) ? (c(), o(Pt, {
|
|
7359
7360
|
key: 0,
|
|
7360
7361
|
"prev-callback": () => en(n),
|
|
7361
7362
|
"show-terms-notice": !0,
|
|
7362
7363
|
"show-gift-card": !0
|
|
7363
7364
|
}, {
|
|
7364
|
-
form:
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
innerHTML:
|
|
7365
|
+
form: A(() => [g("form", Sr, [
|
|
7366
|
+
g("h2", null, [g("span", null, w(_(i)("booking.reservation.detailsTitle")), 1)]),
|
|
7367
|
+
_(i)("hotel.reservationTopNotice") && _(i)("hotel.reservationTopNotice") !== "<br>" ? (c(), f("div", Cr, [g("p", {
|
|
7368
|
+
innerHTML: _(i)("hotel.reservationTopNotice"),
|
|
7368
7369
|
class: "konnectio-wysiwyg"
|
|
7369
|
-
}, null, 8,
|
|
7370
|
-
|
|
7370
|
+
}, null, 8, wr)])) : a("", !0),
|
|
7371
|
+
_(Et)(_(l)) && _(Dt)(_(l)) && _(Ot)(_(l)) ? (c(), f("ul", {
|
|
7371
7372
|
key: 1,
|
|
7372
|
-
class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs":
|
|
7373
|
-
}, [
|
|
7374
|
-
modelValue:
|
|
7375
|
-
"onUpdate:modelValue":
|
|
7376
|
-
label:
|
|
7373
|
+
class: s(["konnectio-reservation-timepicker", { "konnectio-split-inputs": _(Dt)(_(l)) && _(Ot)(_(l)) }])
|
|
7374
|
+
}, [_(Dt)(_(l)) ? (c(), f("li", Tr, [C(bn, {
|
|
7375
|
+
modelValue: _(ae),
|
|
7376
|
+
"onUpdate:modelValue": u[3] ||= (e) => x(ae) ? ae.value = e : null,
|
|
7377
|
+
label: _(i)("booking.reservation.arrivalTime"),
|
|
7377
7378
|
icon: "hourglass-start",
|
|
7378
|
-
"min-time":
|
|
7379
|
-
"max-time":
|
|
7379
|
+
"min-time": _(q)(_(l)),
|
|
7380
|
+
"max-time": _(kt)(_(l)),
|
|
7380
7381
|
required: ""
|
|
7381
7382
|
}, null, 8, [
|
|
7382
7383
|
"modelValue",
|
|
7383
7384
|
"label",
|
|
7384
7385
|
"min-time",
|
|
7385
7386
|
"max-time"
|
|
7386
|
-
])])) :
|
|
7387
|
-
modelValue:
|
|
7388
|
-
"onUpdate:modelValue":
|
|
7389
|
-
label:
|
|
7387
|
+
])])) : a("", !0), _(Ot)(_(l)) ? (c(), f("li", Er, [C(bn, {
|
|
7388
|
+
modelValue: _(E),
|
|
7389
|
+
"onUpdate:modelValue": u[4] ||= (e) => x(E) ? E.value = e : null,
|
|
7390
|
+
label: _(i)("booking.reservation.departureTime"),
|
|
7390
7391
|
icon: "hourglass-end",
|
|
7391
|
-
"min-time":
|
|
7392
|
-
"max-time":
|
|
7392
|
+
"min-time": _(At)(_(l)),
|
|
7393
|
+
"max-time": _(jt)(_(l)),
|
|
7393
7394
|
required: ""
|
|
7394
7395
|
}, null, 8, [
|
|
7395
7396
|
"modelValue",
|
|
7396
7397
|
"label",
|
|
7397
7398
|
"min-time",
|
|
7398
7399
|
"max-time"
|
|
7399
|
-
])])) :
|
|
7400
|
-
|
|
7401
|
-
modelValue:
|
|
7402
|
-
"onUpdate:modelValue":
|
|
7403
|
-
title:
|
|
7404
|
-
"onUpdate:title":
|
|
7405
|
-
"exclude-title":
|
|
7406
|
-
label:
|
|
7400
|
+
])])) : a("", !0)], 2)) : a("", !0),
|
|
7401
|
+
C(Cn, {
|
|
7402
|
+
modelValue: _(oe),
|
|
7403
|
+
"onUpdate:modelValue": u[5] ||= (e) => x(oe) ? oe.value = e : null,
|
|
7404
|
+
title: _(D),
|
|
7405
|
+
"onUpdate:title": u[6] ||= (e) => x(D) ? D.value = e : null,
|
|
7406
|
+
"exclude-title": _(yt),
|
|
7407
|
+
label: _(i)("booking.reservation.name"),
|
|
7407
7408
|
icon: "user-alt",
|
|
7408
|
-
placeholder:
|
|
7409
|
+
placeholder: _(i)("booking.reservation.namePlaceholder"),
|
|
7409
7410
|
required: ""
|
|
7410
7411
|
}, null, 8, [
|
|
7411
7412
|
"modelValue",
|
|
@@ -7414,62 +7415,62 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7414
7415
|
"label",
|
|
7415
7416
|
"placeholder"
|
|
7416
7417
|
]),
|
|
7417
|
-
|
|
7418
|
-
modelValue:
|
|
7419
|
-
"onUpdate:modelValue":
|
|
7418
|
+
C(Te, {
|
|
7419
|
+
modelValue: _(O),
|
|
7420
|
+
"onUpdate:modelValue": u[7] ||= (e) => x(O) ? O.value = e : null,
|
|
7420
7421
|
type: "email",
|
|
7421
7422
|
name: "email",
|
|
7422
7423
|
autocomplete: "email",
|
|
7423
7424
|
inputmode: "email",
|
|
7424
|
-
label:
|
|
7425
|
+
label: _(i)("booking.reservation.email"),
|
|
7425
7426
|
icon: "at",
|
|
7426
|
-
placeholder:
|
|
7427
|
+
placeholder: _(i)("booking.reservation.emailPlaceholder"),
|
|
7427
7428
|
required: ""
|
|
7428
7429
|
}, null, 8, [
|
|
7429
7430
|
"modelValue",
|
|
7430
7431
|
"label",
|
|
7431
7432
|
"placeholder"
|
|
7432
7433
|
]),
|
|
7433
|
-
|
|
7434
|
-
modelValue:
|
|
7435
|
-
"onUpdate:modelValue":
|
|
7434
|
+
_(wt) ? a("", !0) : (c(), f("div", Dr, [C(qe, {
|
|
7435
|
+
modelValue: _(ze),
|
|
7436
|
+
"onUpdate:modelValue": u[8] ||= (e) => x(ze) ? ze.value = e : null,
|
|
7436
7437
|
type: "checkbox",
|
|
7437
7438
|
name: "newsletter",
|
|
7438
|
-
label:
|
|
7439
|
+
label: _(i)("booking.reservation.newsletterSignUp")
|
|
7439
7440
|
}, null, 8, ["modelValue", "label"])])),
|
|
7440
|
-
|
|
7441
|
+
_(bt) ? a("", !0) : (c(), o(Te, {
|
|
7441
7442
|
key: 3,
|
|
7442
|
-
modelValue:
|
|
7443
|
-
"onUpdate:modelValue":
|
|
7443
|
+
modelValue: _(j),
|
|
7444
|
+
"onUpdate:modelValue": u[9] ||= (e) => x(j) ? j.value = e : null,
|
|
7444
7445
|
type: "text",
|
|
7445
7446
|
name: "firm",
|
|
7446
7447
|
autocomplete: "firm",
|
|
7447
|
-
label:
|
|
7448
|
+
label: _(i)("booking.reservation.companyName"),
|
|
7448
7449
|
icon: "id-card",
|
|
7449
|
-
placeholder:
|
|
7450
|
+
placeholder: _(i)("booking.reservation.companyNamePlaceholder")
|
|
7450
7451
|
}, null, 8, [
|
|
7451
7452
|
"modelValue",
|
|
7452
7453
|
"label",
|
|
7453
7454
|
"placeholder"
|
|
7454
7455
|
])),
|
|
7455
|
-
|
|
7456
|
-
modelValue:
|
|
7457
|
-
"onUpdate:modelValue":
|
|
7456
|
+
C(Ke, {
|
|
7457
|
+
modelValue: _(k),
|
|
7458
|
+
"onUpdate:modelValue": u[10] ||= (e) => x(k) ? k.value = e : null,
|
|
7458
7459
|
icon: "phone-office",
|
|
7459
|
-
label:
|
|
7460
|
-
placeholder:
|
|
7460
|
+
label: _(i)("booking.reservation.phone"),
|
|
7461
|
+
placeholder: _(i)("booking.reservation.phonePlaceholder"),
|
|
7461
7462
|
required: ""
|
|
7462
7463
|
}, null, 8, [
|
|
7463
7464
|
"modelValue",
|
|
7464
7465
|
"label",
|
|
7465
7466
|
"placeholder"
|
|
7466
7467
|
]),
|
|
7467
|
-
|
|
7468
|
-
modelValue:
|
|
7469
|
-
"onUpdate:modelValue":
|
|
7470
|
-
label:
|
|
7471
|
-
placeholder:
|
|
7472
|
-
options:
|
|
7468
|
+
C(Sn, {
|
|
7469
|
+
modelValue: _(de),
|
|
7470
|
+
"onUpdate:modelValue": u[11] ||= (e) => x(de) ? de.value = e : null,
|
|
7471
|
+
label: _(i)("booking.reservation.country"),
|
|
7472
|
+
placeholder: _(i)("booking.reservation.countryPlaceholder"),
|
|
7473
|
+
options: _(ee),
|
|
7473
7474
|
required: ""
|
|
7474
7475
|
}, null, 8, [
|
|
7475
7476
|
"modelValue",
|
|
@@ -7477,157 +7478,157 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7477
7478
|
"placeholder",
|
|
7478
7479
|
"options"
|
|
7479
7480
|
]),
|
|
7480
|
-
|
|
7481
|
-
modelValue:
|
|
7482
|
-
"onUpdate:modelValue":
|
|
7481
|
+
C(Te, {
|
|
7482
|
+
modelValue: _(se),
|
|
7483
|
+
"onUpdate:modelValue": u[12] ||= (e) => x(se) ? se.value = e : null,
|
|
7483
7484
|
type: "textarea",
|
|
7484
7485
|
name: "address",
|
|
7485
7486
|
autocomplete: "street-address",
|
|
7486
|
-
label:
|
|
7487
|
+
label: _(i)("booking.reservation.streetAddress"),
|
|
7487
7488
|
icon: "map-marked",
|
|
7488
|
-
placeholder:
|
|
7489
|
+
placeholder: _(i)("booking.reservation.streetAddressPlaceholder"),
|
|
7489
7490
|
required: ""
|
|
7490
7491
|
}, null, 8, [
|
|
7491
7492
|
"modelValue",
|
|
7492
7493
|
"label",
|
|
7493
7494
|
"placeholder"
|
|
7494
7495
|
]),
|
|
7495
|
-
|
|
7496
|
-
modelValue:
|
|
7497
|
-
"onUpdate:modelValue":
|
|
7496
|
+
g("ul", Or, [g("li", null, [C(Te, {
|
|
7497
|
+
modelValue: _(P),
|
|
7498
|
+
"onUpdate:modelValue": u[13] ||= (e) => x(P) ? P.value = e : null,
|
|
7498
7499
|
type: "text",
|
|
7499
7500
|
name: "postal",
|
|
7500
7501
|
autocomplete: "postal-code",
|
|
7501
|
-
label:
|
|
7502
|
+
label: _(i)("booking.reservation.postal"),
|
|
7502
7503
|
icon: "mailbox",
|
|
7503
|
-
placeholder:
|
|
7504
|
+
placeholder: _(i)("booking.reservation.postalPlaceholder"),
|
|
7504
7505
|
required: ""
|
|
7505
7506
|
}, null, 8, [
|
|
7506
7507
|
"modelValue",
|
|
7507
7508
|
"label",
|
|
7508
7509
|
"placeholder"
|
|
7509
|
-
])]),
|
|
7510
|
-
modelValue:
|
|
7511
|
-
"onUpdate:modelValue":
|
|
7510
|
+
])]), g("li", null, [C(Te, {
|
|
7511
|
+
modelValue: _(F),
|
|
7512
|
+
"onUpdate:modelValue": u[14] ||= (e) => x(F) ? F.value = e : null,
|
|
7512
7513
|
type: "text",
|
|
7513
7514
|
name: "city",
|
|
7514
7515
|
autocomplete: "address-level2",
|
|
7515
|
-
label:
|
|
7516
|
+
label: _(i)("booking.reservation.city"),
|
|
7516
7517
|
icon: "city",
|
|
7517
|
-
placeholder:
|
|
7518
|
+
placeholder: _(i)("booking.reservation.cityPlaceholder"),
|
|
7518
7519
|
required: ""
|
|
7519
7520
|
}, null, 8, [
|
|
7520
7521
|
"modelValue",
|
|
7521
7522
|
"label",
|
|
7522
7523
|
"placeholder"
|
|
7523
7524
|
])])]),
|
|
7524
|
-
e.hideRemarks === "yes" ?
|
|
7525
|
+
e.hideRemarks === "yes" ? a("", !0) : (c(), o(Te, {
|
|
7525
7526
|
key: 4,
|
|
7526
|
-
modelValue:
|
|
7527
|
-
"onUpdate:modelValue":
|
|
7527
|
+
modelValue: _(_e),
|
|
7528
|
+
"onUpdate:modelValue": u[15] ||= (e) => x(_e) ? _e.value = e : null,
|
|
7528
7529
|
type: "textarea",
|
|
7529
|
-
label:
|
|
7530
|
+
label: _(i)("booking.reservation.remark"),
|
|
7530
7531
|
icon: "info-circle",
|
|
7531
|
-
placeholder:
|
|
7532
|
+
placeholder: _(i)("booking.reservation.remarkPlaceholder")
|
|
7532
7533
|
}, null, 8, [
|
|
7533
7534
|
"modelValue",
|
|
7534
7535
|
"label",
|
|
7535
7536
|
"placeholder"
|
|
7536
7537
|
])),
|
|
7537
|
-
e.hideAllergies === "yes" ?
|
|
7538
|
+
e.hideAllergies === "yes" ? a("", !0) : (c(), o(Te, {
|
|
7538
7539
|
key: 5,
|
|
7539
|
-
modelValue:
|
|
7540
|
-
"onUpdate:modelValue":
|
|
7540
|
+
modelValue: _(ve),
|
|
7541
|
+
"onUpdate:modelValue": u[16] ||= (e) => x(ve) ? ve.value = e : null,
|
|
7541
7542
|
type: "textarea",
|
|
7542
|
-
label:
|
|
7543
|
+
label: _(i)("booking.reservation.allergies"),
|
|
7543
7544
|
icon: "allergies",
|
|
7544
|
-
placeholder:
|
|
7545
|
+
placeholder: _(i)("booking.reservation.allergiesPlaceholder")
|
|
7545
7546
|
}, null, 8, [
|
|
7546
7547
|
"modelValue",
|
|
7547
7548
|
"label",
|
|
7548
7549
|
"placeholder"
|
|
7549
7550
|
])),
|
|
7550
|
-
|
|
7551
|
+
_(H) ? a("", !0) : (c(), o(Le, {
|
|
7551
7552
|
key: 6,
|
|
7552
|
-
modelValue:
|
|
7553
|
-
"onUpdate:modelValue":
|
|
7554
|
-
label:
|
|
7553
|
+
modelValue: _(ie),
|
|
7554
|
+
"onUpdate:modelValue": u[17] ||= (e) => x(ie) ? ie.value = e : null,
|
|
7555
|
+
label: _(i)("booking.reservation.purposeOfStay"),
|
|
7555
7556
|
name: "travelingFor",
|
|
7556
|
-
checkboxes:
|
|
7557
|
+
checkboxes: Jt.value
|
|
7557
7558
|
}, null, 8, [
|
|
7558
7559
|
"modelValue",
|
|
7559
7560
|
"label",
|
|
7560
7561
|
"checkboxes"
|
|
7561
7562
|
])),
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
])])) : (
|
|
7567
|
-
modelValue:
|
|
7568
|
-
"onUpdate:modelValue":
|
|
7569
|
-
label:
|
|
7563
|
+
_($e) ? (c(), f(y, { key: 7 }, [g("h3", null, [g("span", null, w(_(i)("hotel.memberCards.title")), 1)]), _(it) ? (c(), f("div", kr, [g("img", { src: _(at)?.iconUrl }, null, 8, Ar), g("ul", jr, [
|
|
7564
|
+
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.selectedCard", { cardName: _(at)?.shortDescription })), 1)]),
|
|
7565
|
+
g("li", null, [g("span", null, w(_(i)("hotel.memberCards.cardNumber")) + ": " + w(_(it).cardNumber), 1)]),
|
|
7566
|
+
_(it).controlNr ? (c(), f("li", Mr, [g("span", null, w(_(i)("hotel.memberCards.controlNumber")) + ": " + w(_(it).controlNr), 1)])) : a("", !0)
|
|
7567
|
+
])])) : (c(), f(y, { key: 1 }, [C(Le, {
|
|
7568
|
+
modelValue: _(tt),
|
|
7569
|
+
"onUpdate:modelValue": u[18] ||= (e) => x(tt) ? tt.value = e : null,
|
|
7570
|
+
label: _(i)("hotel.memberCards.selectCard"),
|
|
7570
7571
|
name: "memberCard",
|
|
7571
|
-
checkboxes:
|
|
7572
|
+
checkboxes: _(et)
|
|
7572
7573
|
}, null, 8, [
|
|
7573
7574
|
"modelValue",
|
|
7574
7575
|
"label",
|
|
7575
7576
|
"checkboxes"
|
|
7576
|
-
]),
|
|
7577
|
-
|
|
7578
|
-
modelValue:
|
|
7579
|
-
"onUpdate:modelValue":
|
|
7577
|
+
]), _(tt) ? (c(), f("form", Nr, [
|
|
7578
|
+
C(Te, {
|
|
7579
|
+
modelValue: _(rt),
|
|
7580
|
+
"onUpdate:modelValue": u[19] ||= (e) => x(rt) ? rt.value = e : null,
|
|
7580
7581
|
type: "number",
|
|
7581
|
-
label:
|
|
7582
|
+
label: _(i)("hotel.memberCards.cardNumber"),
|
|
7582
7583
|
icon: "credit-card",
|
|
7583
|
-
placeholder:
|
|
7584
|
+
placeholder: _(i)("hotel.memberCards.cardNumberPlaceholder"),
|
|
7584
7585
|
required: ""
|
|
7585
7586
|
}, null, 8, [
|
|
7586
7587
|
"modelValue",
|
|
7587
7588
|
"label",
|
|
7588
7589
|
"placeholder"
|
|
7589
7590
|
]),
|
|
7590
|
-
|
|
7591
|
+
_(tt) === _(Ee).FirmaCard ? (c(), o(Te, {
|
|
7591
7592
|
key: 0,
|
|
7592
|
-
modelValue:
|
|
7593
|
-
"onUpdate:modelValue":
|
|
7593
|
+
modelValue: _(nt),
|
|
7594
|
+
"onUpdate:modelValue": u[20] ||= (e) => x(nt) ? nt.value = e : null,
|
|
7594
7595
|
type: "text",
|
|
7595
|
-
label:
|
|
7596
|
+
label: _(i)("hotel.memberCards.cardControlNumber"),
|
|
7596
7597
|
icon: "id-card",
|
|
7597
|
-
placeholder:
|
|
7598
|
+
placeholder: _(i)("hotel.memberCards.cardControlNumberPlaceholder"),
|
|
7598
7599
|
required: ""
|
|
7599
7600
|
}, null, 8, [
|
|
7600
7601
|
"modelValue",
|
|
7601
7602
|
"label",
|
|
7602
7603
|
"placeholder"
|
|
7603
|
-
])) :
|
|
7604
|
-
|
|
7604
|
+
])) : a("", !0),
|
|
7605
|
+
_(tt) === _(Ee).DaneAge ? (c(), o(Te, {
|
|
7605
7606
|
key: 1,
|
|
7606
|
-
modelValue:
|
|
7607
|
-
"onUpdate:modelValue":
|
|
7607
|
+
modelValue: _(P),
|
|
7608
|
+
"onUpdate:modelValue": u[21] ||= (e) => x(P) ? P.value = e : null,
|
|
7608
7609
|
type: "text",
|
|
7609
7610
|
name: "postal",
|
|
7610
7611
|
autocomplete: "postal-code",
|
|
7611
|
-
label:
|
|
7612
|
+
label: _(i)("booking.reservation.postal"),
|
|
7612
7613
|
icon: "mailbox",
|
|
7613
|
-
placeholder:
|
|
7614
|
+
placeholder: _(i)("booking.reservation.postalPlaceholder"),
|
|
7614
7615
|
required: ""
|
|
7615
7616
|
}, null, 8, [
|
|
7616
7617
|
"modelValue",
|
|
7617
7618
|
"label",
|
|
7618
7619
|
"placeholder"
|
|
7619
|
-
])) :
|
|
7620
|
-
|
|
7621
|
-
label:
|
|
7620
|
+
])) : a("", !0),
|
|
7621
|
+
C(Ae, {
|
|
7622
|
+
label: _(i)("hotel.memberCards.validateAndSelectCard"),
|
|
7622
7623
|
"full-width": "",
|
|
7623
|
-
onClickEvent:
|
|
7624
|
+
onClickEvent: _(Wt)
|
|
7624
7625
|
}, null, 8, ["label", "onClickEvent"])
|
|
7625
|
-
])) :
|
|
7626
|
+
])) : a("", !0)], 64))], 64)) : a("", !0)
|
|
7626
7627
|
])]),
|
|
7627
|
-
navigation:
|
|
7628
|
-
label:
|
|
7629
|
-
disabled: !
|
|
7630
|
-
"is-loading":
|
|
7628
|
+
navigation: A(() => [g("div", null, [C(Ae, {
|
|
7629
|
+
label: _(xt) ? _(i)("booking.reservation.nextButton") : _(i)("general.confirmReservation"),
|
|
7630
|
+
disabled: !_(S),
|
|
7631
|
+
"is-loading": _(ne),
|
|
7631
7632
|
"full-width": "",
|
|
7632
7633
|
onClickEvent: (e) => tn(t, r)
|
|
7633
7634
|
}, null, 8, [
|
|
@@ -7637,28 +7638,28 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7637
7638
|
"onClickEvent"
|
|
7638
7639
|
])])]),
|
|
7639
7640
|
_: 2
|
|
7640
|
-
}, 1032, ["prev-callback"])) :
|
|
7641
|
-
payment:
|
|
7642
|
-
confirmation:
|
|
7641
|
+
}, 1032, ["prev-callback"])) : a("", !0)]),
|
|
7642
|
+
payment: A(({ prev: e }) => [C(Je), a("", !0)]),
|
|
7643
|
+
confirmation: A(() => [C(Re, { message: _(i)("booking.confirmation.thankYou") }, null, 8, ["message"])]),
|
|
7643
7644
|
_: 1
|
|
7644
7645
|
}, 8, [
|
|
7645
7646
|
"layout",
|
|
7646
7647
|
"steps",
|
|
7647
7648
|
"onReset"
|
|
7648
|
-
]), [[
|
|
7649
|
+
]), [[re, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && _(V)) && (e.requireDiscountCode === "no" || e.requireDiscountCode === "yes" && _(Ye))]])
|
|
7649
7650
|
]),
|
|
7650
7651
|
_: 1
|
|
7651
7652
|
}, 8, ["access-token", "callback"])]),
|
|
7652
|
-
fallback:
|
|
7653
|
+
fallback: A(() => [C(Dn)]),
|
|
7653
7654
|
_: 1
|
|
7654
7655
|
}))]),
|
|
7655
7656
|
_: 1
|
|
7656
7657
|
}, 8, ["styling"]));
|
|
7657
7658
|
}
|
|
7658
|
-
}), [["__scopeId", "data-v-
|
|
7659
|
+
}), [["__scopeId", "data-v-4d1bb88b"]]);
|
|
7659
7660
|
//#endregion
|
|
7660
7661
|
//#region node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7661
|
-
function
|
|
7662
|
+
function Fr(e, t) {
|
|
7662
7663
|
if (typeof t == "function" && t.key && e.plugins.has(t.key)) return;
|
|
7663
7664
|
let n = typeof t == "function" ? t(e) : t, r = n.key || String(e.plugins.size + 1);
|
|
7664
7665
|
if (!e.plugins.get(r)) {
|
|
@@ -7667,7 +7668,7 @@ function Lr(e, t) {
|
|
|
7667
7668
|
}
|
|
7668
7669
|
}
|
|
7669
7670
|
// @__NO_SIDE_EFFECTS__
|
|
7670
|
-
function
|
|
7671
|
+
function Ir(e, t = {}) {
|
|
7671
7672
|
let n = !t.document, r = /* @__PURE__ */ new Map(), i = {
|
|
7672
7673
|
_entryCount: 1,
|
|
7673
7674
|
_h: 0,
|
|
@@ -7677,7 +7678,7 @@ function Rr(e, t = {}) {
|
|
|
7677
7678
|
entries: r,
|
|
7678
7679
|
hooks: void 0,
|
|
7679
7680
|
render: () => e(i),
|
|
7680
|
-
use: (e) =>
|
|
7681
|
+
use: (e) => Fr(i, e),
|
|
7681
7682
|
push(e, t) {
|
|
7682
7683
|
let a = t?._index ?? i._entryCount++, o = t ? { ...t } : {};
|
|
7683
7684
|
delete o.head, delete o.onRendered, delete o._index;
|
|
@@ -7701,25 +7702,25 @@ function Rr(e, t = {}) {
|
|
|
7701
7702
|
}
|
|
7702
7703
|
//#endregion
|
|
7703
7704
|
//#region node_modules/unhead/dist/shared/unhead.1eoQpFT1.mjs
|
|
7704
|
-
var
|
|
7705
|
+
var Lr = /* @__PURE__ */ new Set([
|
|
7705
7706
|
"link",
|
|
7706
7707
|
"style",
|
|
7707
7708
|
"script",
|
|
7708
7709
|
"noscript"
|
|
7709
|
-
]),
|
|
7710
|
+
]), Rr = /* @__PURE__ */ new Set([
|
|
7710
7711
|
"title",
|
|
7711
7712
|
"titleTemplate",
|
|
7712
7713
|
"script",
|
|
7713
7714
|
"style",
|
|
7714
7715
|
"noscript"
|
|
7715
|
-
]),
|
|
7716
|
+
]), zr = /* @__PURE__ */ new Set([
|
|
7716
7717
|
"base",
|
|
7717
7718
|
"meta",
|
|
7718
7719
|
"link",
|
|
7719
7720
|
"style",
|
|
7720
7721
|
"script",
|
|
7721
7722
|
"noscript"
|
|
7722
|
-
]),
|
|
7723
|
+
]), Br = /* @__PURE__ */ new Set([
|
|
7723
7724
|
"title",
|
|
7724
7725
|
"base",
|
|
7725
7726
|
"htmlAttrs",
|
|
@@ -7729,14 +7730,14 @@ var zr = /* @__PURE__ */ new Set([
|
|
|
7729
7730
|
"style",
|
|
7730
7731
|
"script",
|
|
7731
7732
|
"noscript"
|
|
7732
|
-
]),
|
|
7733
|
+
]), Vr = /* @__PURE__ */ new Set([
|
|
7733
7734
|
"base",
|
|
7734
7735
|
"title",
|
|
7735
7736
|
"titleTemplate",
|
|
7736
7737
|
"bodyAttrs",
|
|
7737
7738
|
"htmlAttrs",
|
|
7738
7739
|
"templateParams"
|
|
7739
|
-
]),
|
|
7740
|
+
]), Hr = /* @__PURE__ */ new Set([
|
|
7740
7741
|
"key",
|
|
7741
7742
|
"tagPosition",
|
|
7742
7743
|
"tagPriority",
|
|
@@ -7744,11 +7745,11 @@ var zr = /* @__PURE__ */ new Set([
|
|
|
7744
7745
|
"innerHTML",
|
|
7745
7746
|
"textContent",
|
|
7746
7747
|
"processTemplateParams"
|
|
7747
|
-
]),
|
|
7748
|
+
]), Ur = /* @__PURE__ */ new Set([
|
|
7748
7749
|
"templateParams",
|
|
7749
7750
|
"htmlAttrs",
|
|
7750
7751
|
"bodyAttrs"
|
|
7751
|
-
]),
|
|
7752
|
+
]), Wr = /* @__PURE__ */ new Set([
|
|
7752
7753
|
"theme-color",
|
|
7753
7754
|
"google-site-verification",
|
|
7754
7755
|
"og",
|
|
@@ -7757,26 +7758,26 @@ var zr = /* @__PURE__ */ new Set([
|
|
|
7757
7758
|
"profile",
|
|
7758
7759
|
"twitter",
|
|
7759
7760
|
"author"
|
|
7760
|
-
]),
|
|
7761
|
+
]), Gr = {
|
|
7761
7762
|
critical: -8,
|
|
7762
7763
|
high: -1,
|
|
7763
7764
|
low: 2
|
|
7764
7765
|
};
|
|
7765
7766
|
// @__NO_SIDE_EFFECTS__
|
|
7766
|
-
function
|
|
7767
|
+
function Kr(e) {
|
|
7767
7768
|
return e === "__proto__" || e === "constructor" || e === "prototype";
|
|
7768
7769
|
}
|
|
7769
7770
|
//#endregion
|
|
7770
7771
|
//#region node_modules/hookable/dist/index.mjs
|
|
7771
|
-
function
|
|
7772
|
+
function qr(e, t, n, r) {
|
|
7772
7773
|
for (let i = n; i < e.length; i += 1) try {
|
|
7773
7774
|
let n = r ? r.run(() => e[i](...t)) : e[i](...t);
|
|
7774
|
-
if (n && typeof n.then == "function") return Promise.resolve(n).then(() =>
|
|
7775
|
+
if (n && typeof n.then == "function") return Promise.resolve(n).then(() => qr(e, t, i + 1, r));
|
|
7775
7776
|
} catch (e) {
|
|
7776
7777
|
return Promise.reject(e);
|
|
7777
7778
|
}
|
|
7778
7779
|
}
|
|
7779
|
-
var
|
|
7780
|
+
var Jr = class {
|
|
7780
7781
|
_hooks;
|
|
7781
7782
|
constructor() {
|
|
7782
7783
|
this._hooks = {};
|
|
@@ -7795,24 +7796,24 @@ var Xr = class {
|
|
|
7795
7796
|
}
|
|
7796
7797
|
callHook(e, ...t) {
|
|
7797
7798
|
let n = this._hooks[e];
|
|
7798
|
-
if (!(!n || n.length === 0)) return
|
|
7799
|
+
if (!(!n || n.length === 0)) return qr(n, t, 0);
|
|
7799
7800
|
}
|
|
7800
7801
|
};
|
|
7801
7802
|
//#endregion
|
|
7802
7803
|
//#region node_modules/unhead/dist/shared/unhead.Bm4Y6XQI.mjs
|
|
7803
|
-
function
|
|
7804
|
-
let t = new
|
|
7804
|
+
function Yr(e) {
|
|
7805
|
+
let t = new Jr();
|
|
7805
7806
|
for (let n in e || {}) t.hook(n, e[n]);
|
|
7806
7807
|
return t;
|
|
7807
7808
|
}
|
|
7808
|
-
function
|
|
7809
|
+
function Xr(e, t, n) {
|
|
7809
7810
|
if (e.hooks?._hooks?.[t]?.length) return e.hooks?.callHook(t, n);
|
|
7810
7811
|
}
|
|
7811
7812
|
//#endregion
|
|
7812
7813
|
//#region node_modules/unhead/dist/shared/unhead.Bb4d5b9h.mjs
|
|
7813
|
-
function
|
|
7814
|
+
function Zr(e, t, n) {
|
|
7814
7815
|
let r = e.push, i = e;
|
|
7815
|
-
return i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) =>
|
|
7816
|
+
return i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) => Fr(i, e), i.render = () => n(i), i.invalidate = () => {
|
|
7816
7817
|
for (let e of i.entries.values()) delete e._tags;
|
|
7817
7818
|
i.dirty = !0, t.callHook("entries:updated", i);
|
|
7818
7819
|
}, i.push = (n, a) => {
|
|
@@ -7832,46 +7833,46 @@ function $r(e, t, n) {
|
|
|
7832
7833
|
}
|
|
7833
7834
|
//#endregion
|
|
7834
7835
|
//#region node_modules/unhead/dist/shared/unhead.DgxHWvUc.mjs
|
|
7835
|
-
var
|
|
7836
|
+
var Qr = /^(?:viewport|description|keywords|robots)$/, $r = [
|
|
7836
7837
|
"name",
|
|
7837
7838
|
"property",
|
|
7838
7839
|
"http-equiv"
|
|
7839
7840
|
];
|
|
7840
|
-
function
|
|
7841
|
+
function ei(e) {
|
|
7841
7842
|
let t = e.indexOf(":");
|
|
7842
7843
|
if (t === -1) return !1;
|
|
7843
7844
|
let n = e.indexOf(":", t + 1);
|
|
7844
|
-
return
|
|
7845
|
+
return Wr.has(e.slice(t + 1, n === -1 ? e.length : n));
|
|
7845
7846
|
}
|
|
7846
|
-
function
|
|
7847
|
+
function ti(e) {
|
|
7847
7848
|
let { props: t, tag: n, key: r } = e;
|
|
7848
|
-
if (
|
|
7849
|
+
if (Vr.has(n)) return n;
|
|
7849
7850
|
if (n === "link") {
|
|
7850
7851
|
if (t.rel === "canonical") return "canonical";
|
|
7851
7852
|
if (t.rel === "alternate" && t.hreflang) return `alternate:${t.hreflang}`;
|
|
7852
7853
|
}
|
|
7853
7854
|
if (t.charset) return "charset";
|
|
7854
|
-
if (n === "meta") for (let e of
|
|
7855
|
+
if (n === "meta") for (let e of $r) {
|
|
7855
7856
|
let n = t[e];
|
|
7856
|
-
if (n !== void 0) return `meta:${n}${(typeof n != "string" || !n.includes(":")) && !
|
|
7857
|
+
if (n !== void 0) return `meta:${n}${(typeof n != "string" || !n.includes(":")) && !Qr.test(n) && r ? `:key:${r}` : ""}`;
|
|
7857
7858
|
}
|
|
7858
|
-
return r ? `${n}:key:${r}` : t.id ? `${n}:id:${t.id}` : n === "link" && t.rel && t.href ? `link:${t.rel}:${t.href}` :
|
|
7859
|
+
return r ? `${n}:key:${r}` : t.id ? `${n}:id:${t.id}` : n === "link" && t.rel && t.href ? `link:${t.rel}:${t.href}` : Rr.has(n) && (e.textContent || e.innerHTML) ? `${n}:content:${e.textContent || e.innerHTML}` : void 0;
|
|
7859
7860
|
}
|
|
7860
|
-
function
|
|
7861
|
+
function ni(e) {
|
|
7861
7862
|
let t = e._h || e._d || e.textContent || e.innerHTML;
|
|
7862
7863
|
if (t) return t;
|
|
7863
7864
|
let n = Object.keys(e.props).sort(), r = `${e.tag}:`, i = "";
|
|
7864
7865
|
for (let t of n) r += `${i}${t}:${String(e.props[t])}`, i = ",";
|
|
7865
7866
|
return r;
|
|
7866
7867
|
}
|
|
7867
|
-
function
|
|
7868
|
+
function ri(e, t, n) {
|
|
7868
7869
|
if (n === "_resolver") return e;
|
|
7869
7870
|
typeof e == "function" && (!n || n !== "titleTemplate" && !n.startsWith("on")) && (e = e());
|
|
7870
7871
|
let r = t ? t(n, e) : e;
|
|
7871
7872
|
if (Array.isArray(r)) {
|
|
7872
7873
|
let e;
|
|
7873
7874
|
for (let n = 0; n < r.length; n++) {
|
|
7874
|
-
let i =
|
|
7875
|
+
let i = ri(r[n], t);
|
|
7875
7876
|
e ? e[n] = i : i !== r[n] && (e = r.slice(0, n), e[n] = i);
|
|
7876
7877
|
}
|
|
7877
7878
|
return e || r;
|
|
@@ -7879,7 +7880,7 @@ function ai(e, t, n) {
|
|
|
7879
7880
|
if (r?.constructor === Object) {
|
|
7880
7881
|
let e;
|
|
7881
7882
|
for (let n in r) {
|
|
7882
|
-
let i = /* @__PURE__ */
|
|
7883
|
+
let i = /* @__PURE__ */ Kr(n), a = i ? void 0 : ri(r[n], t, n);
|
|
7883
7884
|
if (!e && (i || a !== r[n])) {
|
|
7884
7885
|
e = {};
|
|
7885
7886
|
for (let t in r) {
|
|
@@ -7893,8 +7894,8 @@ function ai(e, t, n) {
|
|
|
7893
7894
|
}
|
|
7894
7895
|
return r;
|
|
7895
7896
|
}
|
|
7896
|
-
var
|
|
7897
|
-
function
|
|
7897
|
+
var ii = /[\s"'<>/=\x00-\x1F\x7F]/;
|
|
7898
|
+
function ai(e, t) {
|
|
7898
7899
|
let n = e === "style", r = n ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set(), i = (e) => {
|
|
7899
7900
|
if (e) if (n) {
|
|
7900
7901
|
let t = e.indexOf(":");
|
|
@@ -7909,18 +7910,18 @@ function si(e, t) {
|
|
|
7909
7910
|
}
|
|
7910
7911
|
return r;
|
|
7911
7912
|
}
|
|
7912
|
-
function
|
|
7913
|
+
function oi(e, t) {
|
|
7913
7914
|
if (e.props = e.props || {}, !t) return e;
|
|
7914
7915
|
if (e.tag === "templateParams") return e.props = t, e;
|
|
7915
|
-
let n =
|
|
7916
|
+
let n = zr.has(e.tag) || e.tag === "htmlAttrs" || e.tag === "bodyAttrs";
|
|
7916
7917
|
for (let r in t) {
|
|
7917
|
-
if (/* @__PURE__ */
|
|
7918
|
-
let i = r.startsWith("data-"), a = n && !
|
|
7919
|
-
if (a && (!o ||
|
|
7918
|
+
if (/* @__PURE__ */ Kr(r)) continue;
|
|
7919
|
+
let i = r.startsWith("data-"), a = n && !Hr.has(r), o = a && !i ? r.toLowerCase() : r;
|
|
7920
|
+
if (a && (!o || ii.test(o))) continue;
|
|
7920
7921
|
let s = t[r];
|
|
7921
7922
|
if (s === null) e.props[o] = null;
|
|
7922
|
-
else if (r === "class" || r === "style") e.props[r] =
|
|
7923
|
-
else if (
|
|
7923
|
+
else if (r === "class" || r === "style") e.props[r] = ai(r, s);
|
|
7924
|
+
else if (Hr.has(r)) if ((r === "textContent" || r === "innerHTML") && typeof s == "object") {
|
|
7924
7925
|
let n = t.type || "application/json";
|
|
7925
7926
|
(n.endsWith("json") || n === "speculationrules" || n === "importmap") && (e.props.type = t.type = n, e[r] = JSON.stringify(s));
|
|
7926
7927
|
} else e[r] = s;
|
|
@@ -7931,19 +7932,19 @@ function ci(e, t) {
|
|
|
7931
7932
|
}
|
|
7932
7933
|
return e;
|
|
7933
7934
|
}
|
|
7934
|
-
function
|
|
7935
|
+
function si(e, t) {
|
|
7935
7936
|
let n;
|
|
7936
7937
|
return t.length && (n = (e, n) => {
|
|
7937
7938
|
for (let r = 0; r < t.length; r++) n = t[r](e, n);
|
|
7938
7939
|
return n;
|
|
7939
|
-
}, e = n(void 0, e)),
|
|
7940
|
+
}, e = n(void 0, e)), ri(e, n);
|
|
7940
7941
|
}
|
|
7941
|
-
function
|
|
7942
|
-
let n =
|
|
7942
|
+
function ci(e, t) {
|
|
7943
|
+
let n = oi({
|
|
7943
7944
|
tag: e,
|
|
7944
7945
|
props: {}
|
|
7945
7946
|
}, typeof t == "object" && typeof t != "function" ? t : { [e === "script" || e === "noscript" || e === "style" ? "innerHTML" : "textContent"]: t });
|
|
7946
|
-
if (n.key &&
|
|
7947
|
+
if (n.key && Lr.has(n.tag) && (n.props["data-hid"] = n._h = n.key), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content)) {
|
|
7947
7948
|
let e = [];
|
|
7948
7949
|
for (let t of n.props.content) e.push({
|
|
7949
7950
|
...n,
|
|
@@ -7956,35 +7957,35 @@ function ui(e, t) {
|
|
|
7956
7957
|
}
|
|
7957
7958
|
return n;
|
|
7958
7959
|
}
|
|
7959
|
-
function
|
|
7960
|
+
function li(e, t) {
|
|
7960
7961
|
if (Array.isArray(t)) for (let n of t) e.push(n);
|
|
7961
7962
|
else e.push(t);
|
|
7962
7963
|
}
|
|
7963
|
-
function
|
|
7964
|
+
function ui(e, t) {
|
|
7964
7965
|
if (!e) return [];
|
|
7965
|
-
typeof e == "function" && (e = e()), e =
|
|
7966
|
+
typeof e == "function" && (e = e()), e = si(e, t);
|
|
7966
7967
|
let n = [];
|
|
7967
7968
|
for (let t in e) {
|
|
7968
7969
|
let r = e[t];
|
|
7969
|
-
if (r !== void 0) if (Array.isArray(r)) for (let e of r)
|
|
7970
|
-
else
|
|
7970
|
+
if (r !== void 0) if (Array.isArray(r)) for (let e of r) li(n, ci(t, e));
|
|
7971
|
+
else li(n, ci(t, r));
|
|
7971
7972
|
}
|
|
7972
7973
|
return n;
|
|
7973
7974
|
}
|
|
7974
|
-
var
|
|
7975
|
-
function
|
|
7975
|
+
var di = /</g, fi = /<\/script/g, pi = (e, t) => e._w === t._w ? e._p - t._p : e._w - t._w, mi = () => 100;
|
|
7976
|
+
function hi(e) {
|
|
7976
7977
|
for (let t in e) return !1;
|
|
7977
7978
|
return !0;
|
|
7978
7979
|
}
|
|
7979
|
-
var
|
|
7980
|
-
function
|
|
7980
|
+
var gi = /^tags:|:render/;
|
|
7981
|
+
function _i(e, t) {
|
|
7981
7982
|
let n = (t["entries:resolve"]?.length || 0) + (t["entries:normalize"]?.length || 0);
|
|
7982
7983
|
if (e._h !== n) {
|
|
7983
7984
|
e._h = n;
|
|
7984
7985
|
for (let t of e.entries.values()) delete t._tags;
|
|
7985
7986
|
}
|
|
7986
7987
|
}
|
|
7987
|
-
function
|
|
7988
|
+
function vi(e) {
|
|
7988
7989
|
for (let t = 0; t < e.length; t++) {
|
|
7989
7990
|
let n = e[t], r = { ...n.props };
|
|
7990
7991
|
r.class instanceof Set && (r.class = new Set(r.class)), r.style instanceof Map && (r.style = new Map(r.style)), e[t] = {
|
|
@@ -7993,34 +7994,34 @@ function bi(e) {
|
|
|
7993
7994
|
};
|
|
7994
7995
|
}
|
|
7995
7996
|
}
|
|
7996
|
-
function
|
|
7997
|
+
function yi(e, t) {
|
|
7997
7998
|
let n = e.tags, r = 0;
|
|
7998
7999
|
for (let t of e.tagMap.values()) if (Array.isArray(t)) for (let e of t) n[r++] = e;
|
|
7999
8000
|
else n[r++] = t;
|
|
8000
|
-
n.length = r, t && n.sort(
|
|
8001
|
+
n.length = r, t && n.sort(pi);
|
|
8001
8002
|
}
|
|
8002
|
-
function
|
|
8003
|
+
function bi(e) {
|
|
8003
8004
|
let t = !1;
|
|
8004
|
-
for (let n of e.tags.sort(
|
|
8005
|
-
let r = n._d ||
|
|
8005
|
+
for (let n of e.tags.sort(pi)) {
|
|
8006
|
+
let r = n._d || ni(n);
|
|
8006
8007
|
if (!r) continue;
|
|
8007
8008
|
let i = e.tagMap.get(r);
|
|
8008
8009
|
if (!i) {
|
|
8009
8010
|
e.tagMap.set(r, n);
|
|
8010
8011
|
continue;
|
|
8011
8012
|
}
|
|
8012
|
-
if ((n.tagDuplicateStrategy || (
|
|
8013
|
+
if ((n.tagDuplicateStrategy || (Ur.has(n.tag) ? "merge" : null) || (n.key && n.key === i.key ? "merge" : null)) === "merge") {
|
|
8013
8014
|
let t = { ...i.props };
|
|
8014
8015
|
for (let e in n.props) t[e] = e === "style" ? new Map([...i.props.style || /* @__PURE__ */ new Map(), ...n.props[e]]) : e === "class" ? /* @__PURE__ */ new Set([...i.props.class || [], ...n.props[e]]) : n.props[e];
|
|
8015
8016
|
e.tagMap.set(r, {
|
|
8016
8017
|
...n,
|
|
8017
8018
|
props: t
|
|
8018
8019
|
});
|
|
8019
|
-
} else n._p >> 10 == i._p >> 10 && n.tag === "meta" &&
|
|
8020
|
+
} else n._p >> 10 == i._p >> 10 && n.tag === "meta" && ei(r) ? (e.tagMap.set(r, Object.assign([...Array.isArray(i) ? i : [i], n], n)), t = !0) : (n._w === i._w ? n._p > i._p : n._w < i._w) && e.tagMap.set(r, n);
|
|
8020
8021
|
}
|
|
8021
8022
|
return t;
|
|
8022
8023
|
}
|
|
8023
|
-
function
|
|
8024
|
+
function xi(e, t) {
|
|
8024
8025
|
let n = e.tagMap.get("title"), r = e.tagMap.get("titleTemplate");
|
|
8025
8026
|
if (t._title = n?.textContent, !r) return;
|
|
8026
8027
|
let i = r.textContent;
|
|
@@ -8035,76 +8036,76 @@ function Ci(e, t) {
|
|
|
8035
8036
|
textContent: a
|
|
8036
8037
|
});
|
|
8037
8038
|
}
|
|
8038
|
-
function
|
|
8039
|
+
function Si(e) {
|
|
8039
8040
|
let t = 0;
|
|
8040
8041
|
for (let n of e) {
|
|
8041
8042
|
let { innerHTML: r, tag: i, props: a } = n;
|
|
8042
|
-
if (!(!
|
|
8043
|
+
if (!(!Br.has(i) || hi(a) && !r && !n.textContent) && !(i === "meta" && !a.content && !a["http-equiv"] && !a.charset)) {
|
|
8043
8044
|
if (i === "script" && (r || n.textContent)) {
|
|
8044
|
-
let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(
|
|
8045
|
-
n = { ...n }, r && (n.innerHTML = i(r)), n.textContent &&= i(n.textContent), n._d =
|
|
8045
|
+
let e = String(a.type), t = e.endsWith("json") || e === "importmap" || e === "speculationrules", i = (e) => t ? (typeof e == "string" ? e : JSON.stringify(e)).replace(di, "\\u003C") : typeof e == "string" ? e.replace(fi, "<\\/script") : e;
|
|
8046
|
+
n = { ...n }, r && (n.innerHTML = i(r)), n.textContent &&= i(n.textContent), n._d = ti(n);
|
|
8046
8047
|
}
|
|
8047
8048
|
e[t++] = n;
|
|
8048
8049
|
}
|
|
8049
8050
|
}
|
|
8050
8051
|
return e.length = t, e;
|
|
8051
8052
|
}
|
|
8052
|
-
function
|
|
8053
|
-
let n = t?.tagWeight ?? e.resolvedOptions._tagWeight ??
|
|
8053
|
+
function Ci(e, t) {
|
|
8054
|
+
let n = t?.tagWeight ?? e.resolvedOptions._tagWeight ?? mi, r = {
|
|
8054
8055
|
tagMap: /* @__PURE__ */ new Map(),
|
|
8055
8056
|
tags: []
|
|
8056
8057
|
}, i = e.hooks?._hooks || {};
|
|
8057
|
-
|
|
8058
|
+
_i(e, i);
|
|
8058
8059
|
for (let t of e.entries.values()) t._pending !== void 0 && (t.input = t._pending, delete t._pending, delete t._tags, delete t._precomputedTags);
|
|
8059
8060
|
let a;
|
|
8060
|
-
(i["entries:resolve"]?.length || i["entries:normalize"]?.length) && (a = [...e.entries.values()], i["entries:resolve"]?.length &&
|
|
8061
|
+
(i["entries:resolve"]?.length || i["entries:normalize"]?.length) && (a = [...e.entries.values()], i["entries:resolve"]?.length && Xr(e, "entries:resolve", {
|
|
8061
8062
|
entries: a,
|
|
8062
8063
|
...r
|
|
8063
|
-
})),
|
|
8064
|
+
})), _i(e, i);
|
|
8064
8065
|
for (let t of a || e.entries.values()) {
|
|
8065
8066
|
let a = t._tags;
|
|
8066
|
-
if (!a) if (t._precomputedTags && n === e.resolvedOptions._tagWeight && !i["entries:normalize"]?.length && !i["entries:resolve"]?.length && (!t.options ||
|
|
8067
|
+
if (!a) if (t._precomputedTags && n === e.resolvedOptions._tagWeight && !i["entries:normalize"]?.length && !i["entries:resolve"]?.length && (!t.options || hi(t.options))) a = t._precomputedTags;
|
|
8067
8068
|
else {
|
|
8068
|
-
if (a =
|
|
8069
|
+
if (a = ui(t.input, e.resolvedOptions.propResolvers || []), t.options && !hi(t.options)) for (let e of a) Object.assign(e, t.options);
|
|
8069
8070
|
if (i["entries:normalize"]?.length) {
|
|
8070
8071
|
let n = {
|
|
8071
8072
|
tags: a,
|
|
8072
8073
|
entry: t
|
|
8073
8074
|
};
|
|
8074
|
-
|
|
8075
|
+
Xr(e, "entries:normalize", n), a = n.tags;
|
|
8075
8076
|
}
|
|
8076
8077
|
for (let e = 0; e < a.length; e++) {
|
|
8077
8078
|
let r = a[e];
|
|
8078
|
-
r._w = n(r), r._p = (t._i << 10) + e, r._d =
|
|
8079
|
+
r._w = n(r), r._p = (t._i << 10) + e, r._d = ti(r), r._d || (r._h = ni(r));
|
|
8079
8080
|
}
|
|
8080
8081
|
t._tags = a;
|
|
8081
8082
|
}
|
|
8082
8083
|
r.tags.push(...a);
|
|
8083
8084
|
}
|
|
8084
|
-
for (let e in i) if (i[e]?.length &&
|
|
8085
|
-
|
|
8085
|
+
for (let e in i) if (i[e]?.length && gi.test(e)) {
|
|
8086
|
+
vi(r.tags);
|
|
8086
8087
|
break;
|
|
8087
8088
|
}
|
|
8088
|
-
let o =
|
|
8089
|
-
return
|
|
8089
|
+
let o = bi(r);
|
|
8090
|
+
return xi(r, e), yi(r, o), Xr(e, "tags:beforeResolve", r), Xr(e, "tags:resolve", r), Xr(e, "tags:afterResolve", r), Si(r.tags);
|
|
8090
8091
|
}
|
|
8091
8092
|
//#endregion
|
|
8092
8093
|
//#region node_modules/unhead/dist/shared/unhead.B2jza4FG.mjs
|
|
8093
|
-
var
|
|
8094
|
+
var wi = /\s+/;
|
|
8094
8095
|
// @__NO_SIDE_EFFECTS__
|
|
8095
|
-
function
|
|
8096
|
-
return (t) =>
|
|
8096
|
+
function Ti(e = {}) {
|
|
8097
|
+
return (t) => ki(t, e);
|
|
8097
8098
|
}
|
|
8098
|
-
function
|
|
8099
|
+
function Ei(e) {
|
|
8099
8100
|
for (let t of e.entries.values()) if (t._pending !== void 0) return !0;
|
|
8100
8101
|
return !1;
|
|
8101
8102
|
}
|
|
8102
|
-
function
|
|
8103
|
+
function Di(e) {
|
|
8103
8104
|
for (let t in e._s) e._s[t]();
|
|
8104
8105
|
for (let t in e._p) e._p[t]();
|
|
8105
8106
|
e._s = {}, e._p = {}, e._e.clear(), e._l.clear();
|
|
8106
8107
|
}
|
|
8107
|
-
function
|
|
8108
|
+
function Oi(e, t) {
|
|
8108
8109
|
let n = {
|
|
8109
8110
|
_d: t,
|
|
8110
8111
|
_t: t.title,
|
|
@@ -8115,15 +8116,15 @@ function Ai(e, t) {
|
|
|
8115
8116
|
};
|
|
8116
8117
|
for (let e of [...t.body.children, ...t.head.children]) {
|
|
8117
8118
|
let t = e.tagName.toLowerCase();
|
|
8118
|
-
if (!
|
|
8119
|
+
if (!zr.has(t)) continue;
|
|
8119
8120
|
let r = { innerHTML: e.innerHTML };
|
|
8120
8121
|
for (let t of e.getAttributeNames()) r[t] = e.getAttribute(t);
|
|
8121
|
-
let i =
|
|
8122
|
+
let i = oi({
|
|
8122
8123
|
tag: t,
|
|
8123
8124
|
props: {}
|
|
8124
8125
|
}, r);
|
|
8125
8126
|
i.key = e.getAttribute("data-hid") || void 0;
|
|
8126
|
-
let a =
|
|
8127
|
+
let a = ti(i) || ni(i), o = a, s = 1;
|
|
8127
8128
|
for (; n._e.has(o);) o = `${a}:${s++}`;
|
|
8128
8129
|
n._e.set(o, e);
|
|
8129
8130
|
}
|
|
@@ -8133,15 +8134,15 @@ function Ai(e, t) {
|
|
|
8133
8134
|
let r = e[t]?.class;
|
|
8134
8135
|
if (typeof r == "string") {
|
|
8135
8136
|
let e = n._e.get(t);
|
|
8136
|
-
for (let i of r.split(
|
|
8137
|
+
for (let i of r.split(wi)) i && (n._p[`${t}:attr:class:${i}`] = () => e.classList.remove(i));
|
|
8137
8138
|
}
|
|
8138
8139
|
}
|
|
8139
8140
|
}
|
|
8140
8141
|
return n;
|
|
8141
8142
|
}
|
|
8142
|
-
function
|
|
8143
|
+
function ki(e, t = {}) {
|
|
8143
8144
|
let n = t.document || e.resolvedOptions.document, r = e._dom, i = !!r && r._d !== n;
|
|
8144
|
-
if (!n || !i && !e.dirty && !
|
|
8145
|
+
if (!n || !i && !e.dirty && !Ei(e) || e._du) return !1;
|
|
8145
8146
|
let a = n.defaultView;
|
|
8146
8147
|
e._du = !0;
|
|
8147
8148
|
let o = !1;
|
|
@@ -8207,63 +8208,63 @@ function ji(e, t = {}) {
|
|
|
8207
8208
|
shouldRender: !0,
|
|
8208
8209
|
tags: []
|
|
8209
8210
|
};
|
|
8210
|
-
if (
|
|
8211
|
+
if (Xr(e, "dom:beforeRender", l), !l.shouldRender) return !1;
|
|
8211
8212
|
let u = e._dom;
|
|
8212
|
-
u?._d !== n && (u &&
|
|
8213
|
+
u?._d !== n && (u && Di(u), u = void 0), u ? u._p = u._s : u = Oi(e, n), u._s = {};
|
|
8213
8214
|
let d = u, f = [], p = {};
|
|
8214
8215
|
e.dirty = !1;
|
|
8215
|
-
let m =
|
|
8216
|
+
let m = Ci(e, t.tagWeight ? { tagWeight: t.tagWeight } : void 0), h = [], g = {};
|
|
8216
8217
|
for (let e of m) {
|
|
8217
8218
|
let t = g[e._d] || 0, i = (t ? `${e._d}:${t}` : e._d) || e._h, a = {
|
|
8218
8219
|
tag: e,
|
|
8219
8220
|
id: i,
|
|
8220
8221
|
shouldRender: !0
|
|
8221
8222
|
};
|
|
8222
|
-
if (e.tag === "meta" && e._d &&
|
|
8223
|
+
if (e.tag === "meta" && e._d && ei(e._d) && (g[e._d] = t + 1), h.push(a), e.tag === "title") {
|
|
8223
8224
|
n.title = e.textContent, r("title", "", () => n.title = d._t);
|
|
8224
8225
|
continue;
|
|
8225
8226
|
}
|
|
8226
|
-
a.$el = d._e.get(i), a.$el ? c(a) :
|
|
8227
|
+
a.$el = d._e.get(i), a.$el ? c(a) : zr.has(e.tag) && f.push(a);
|
|
8227
8228
|
}
|
|
8228
8229
|
for (let e of f) e.$el = n.createElement(e.tag.tag), c(e), (p[e.tag.tagPosition || "head"] ??= n.createDocumentFragment()).appendChild(e.$el);
|
|
8229
8230
|
p.head && n.head.appendChild(p.head), p.bodyOpen && n.body.insertBefore(p.bodyOpen, n.body.firstChild), p.bodyClose && n.body.appendChild(p.bodyClose);
|
|
8230
8231
|
for (let e in d._p) d._p[e]();
|
|
8231
|
-
e._dom = d, o = !0,
|
|
8232
|
+
e._dom = d, o = !0, Xr(e, "dom:rendered", { renders: h });
|
|
8232
8233
|
} catch (t) {
|
|
8233
8234
|
throw e.dirty = !0, t;
|
|
8234
8235
|
} finally {
|
|
8235
8236
|
e._du = !1;
|
|
8236
8237
|
}
|
|
8237
|
-
return o && (e.dirty ||
|
|
8238
|
+
return o && (e.dirty || Ei(e)) && ki(e, t), o;
|
|
8238
8239
|
}
|
|
8239
8240
|
//#endregion
|
|
8240
8241
|
//#region node_modules/unhead/dist/shared/unhead.C6wXFVPb.mjs
|
|
8241
|
-
var
|
|
8242
|
-
function
|
|
8242
|
+
var Ai = (e) => typeof e.tagPriority == "number" ? e.tagPriority : 100 + (Gr[e.tagPriority] || 0);
|
|
8243
|
+
function ji(e = {}) {
|
|
8243
8244
|
e.document = e.document || (typeof window < "u" ? document : void 0);
|
|
8244
|
-
let t = e.render || /* @__PURE__ */
|
|
8245
|
+
let t = e.render || /* @__PURE__ */ Ti({ document: e.document }), n = Zr(/* @__PURE__ */ Ir(t, {
|
|
8245
8246
|
document: e.document,
|
|
8246
8247
|
propResolvers: e.propResolvers,
|
|
8247
|
-
_tagWeight:
|
|
8248
|
+
_tagWeight: Ai,
|
|
8248
8249
|
init: []
|
|
8249
|
-
}),
|
|
8250
|
+
}), Yr(e.hooks), t);
|
|
8250
8251
|
return e.plugins?.forEach((e) => n.use(e)), e.init?.forEach((e) => e && n.push(e)), n;
|
|
8251
8252
|
}
|
|
8252
8253
|
//#endregion
|
|
8253
8254
|
//#region node_modules/@unhead/vue/dist/shared/vue.DKb5ZKVl.mjs
|
|
8254
|
-
var
|
|
8255
|
+
var Mi = "usehead";
|
|
8255
8256
|
// @__NO_SIDE_EFFECTS__
|
|
8256
|
-
function
|
|
8257
|
+
function Ni(e) {
|
|
8257
8258
|
return { install(t) {
|
|
8258
|
-
t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(
|
|
8259
|
+
t.config.globalProperties.$unhead = e, t.config.globalProperties.$head = e, t.provide(Mi, e);
|
|
8259
8260
|
} }.install;
|
|
8260
8261
|
}
|
|
8261
8262
|
//#endregion
|
|
8262
8263
|
//#region node_modules/@unhead/vue/dist/client.mjs
|
|
8263
8264
|
// @__NO_SIDE_EFFECTS__
|
|
8264
|
-
function
|
|
8265
|
-
let t = /* @__PURE__ */
|
|
8266
|
-
return n =
|
|
8265
|
+
function Pi(e = {}) {
|
|
8266
|
+
let t = /* @__PURE__ */ Ti(), n, r = 0;
|
|
8267
|
+
return n = ji({
|
|
8267
8268
|
render: () => {
|
|
8268
8269
|
let e = ++r;
|
|
8269
8270
|
setTimeout(() => {
|
|
@@ -8271,12 +8272,12 @@ function Ii(e = {}) {
|
|
|
8271
8272
|
}, 0);
|
|
8272
8273
|
},
|
|
8273
8274
|
...e
|
|
8274
|
-
}), n.install = /* @__PURE__ */
|
|
8275
|
+
}), n.install = /* @__PURE__ */ Ni(n), n;
|
|
8275
8276
|
}
|
|
8276
8277
|
//#endregion
|
|
8277
8278
|
//#region src/entries/hotel.ts
|
|
8278
|
-
var
|
|
8279
|
-
e.
|
|
8279
|
+
var Fi = O(), Ii = /* @__PURE__ */ Pi(), Li = oe("konnectio-hotel", Pr, (e) => {
|
|
8280
|
+
e.use(F), e.use(Ii), e.use(Fi), e.use(E), e.use(We), e.use(Pe);
|
|
8280
8281
|
});
|
|
8281
8282
|
//#endregion
|
|
8282
|
-
export {
|
|
8283
|
+
export { Li as default };
|