@konnectio/core 4.11.5 → 4.11.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-DBxduvRT.js → ActionField-D0NC9kCV.js} +1 -1
- package/dist/ActionField-D0NC9kCV.js.br +0 -0
- package/dist/ActionField-D0NC9kCV.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-DoVzHCoF.js → AvailabilitySkeleton-1WBbYV8Q.js} +1595 -1530
- package/dist/AvailabilitySkeleton-1WBbYV8Q.js.br +0 -0
- package/dist/AvailabilitySkeleton-1WBbYV8Q.js.gz +0 -0
- package/dist/{CheckoutWindow-CJq8smYV.js → CheckoutWindow-BV5xGJ7l.js} +1 -1
- package/dist/CheckoutWindow-BV5xGJ7l.js.br +0 -0
- package/dist/CheckoutWindow-BV5xGJ7l.js.gz +0 -0
- package/dist/{ErrorMessage-voedvcXr.js → ErrorMessage-C4xDk8I3.js} +1 -1
- package/dist/ErrorMessage-C4xDk8I3.js.br +0 -0
- package/dist/ErrorMessage-C4xDk8I3.js.gz +0 -0
- package/dist/{EventAvailabilityForm-BjLCcN_W.js → EventAvailabilityForm-VjQo7utE.js} +2 -2
- package/dist/EventAvailabilityForm-VjQo7utE.js.br +0 -0
- package/dist/EventAvailabilityForm-VjQo7utE.js.gz +0 -0
- package/dist/{Field-2Hbk9ahl.js → Field-ZbJtKg-L.js} +1 -1
- package/dist/Field-ZbJtKg-L.js.br +0 -0
- package/dist/Field-ZbJtKg-L.js.gz +0 -0
- package/dist/{HotelAvailabilityForm-v-z9AFWI.js → HotelAvailabilityForm-DQ1Cp0MX.js} +2 -2
- package/dist/HotelAvailabilityForm-DQ1Cp0MX.js.br +0 -0
- package/dist/HotelAvailabilityForm-DQ1Cp0MX.js.gz +0 -0
- package/dist/{SelectField-w9Labj2W.js → SelectField-bDg97Qlf.js} +1632 -1632
- package/dist/SelectField-bDg97Qlf.js.br +0 -0
- package/dist/SelectField-bDg97Qlf.js.gz +0 -0
- package/dist/{TermsOfService-D8q2gi5I.js → TermsOfService-J0sVmrZH.js} +2 -2
- package/dist/TermsOfService-J0sVmrZH.js.br +0 -0
- package/dist/TermsOfService-J0sVmrZH.js.gz +0 -0
- package/dist/{_-Cpgd04rM.js → _-NKJ8Lr9C.js} +1 -1
- package/dist/_-NKJ8Lr9C.js.br +0 -0
- package/dist/_-NKJ8Lr9C.js.gz +0 -0
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +4 -4
- 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/{dist-Drv0vus3.js → dist-B-VFdvV1.js} +2 -2
- package/dist/dist-B-VFdvV1.js.br +0 -0
- package/dist/{dist-Drv0vus3.js.gz → dist-B-VFdvV1.js.gz} +0 -0
- package/dist/{dist-0CoL4k9r.js → dist-COxekGEZ.js} +4 -4
- package/dist/dist-COxekGEZ.js.br +0 -0
- package/dist/{dist-0CoL4k9r.js.gz → dist-COxekGEZ.js.gz} +0 -0
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +9 -9
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-6oDMPMDe.js → giftCard-CpSDK_4Y.js} +1 -1
- package/dist/giftCard-CpSDK_4Y.js.br +0 -0
- package/dist/giftCard-CpSDK_4Y.js.gz +0 -0
- package/dist/hotel.js +779 -787
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.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-BJBxZSi0.js → style-BRuBp3Jt.js} +1 -1
- package/dist/style-BRuBp3Jt.js.br +0 -0
- package/dist/style-BRuBp3Jt.js.gz +0 -0
- package/dist-wix/availability.js +7 -7
- package/dist-wix/event.js +4 -4
- package/dist-wix/gift-card-validation.js +1 -1
- package/dist-wix/gift-card.js +2 -2
- package/dist-wix/hotel.js +7 -5
- package/package.json +1 -1
- package/dist/ActionField-DBxduvRT.js.br +0 -0
- package/dist/ActionField-DBxduvRT.js.gz +0 -0
- package/dist/AvailabilitySkeleton-DoVzHCoF.js.br +0 -0
- package/dist/AvailabilitySkeleton-DoVzHCoF.js.gz +0 -0
- package/dist/CheckoutWindow-CJq8smYV.js.br +0 -0
- package/dist/CheckoutWindow-CJq8smYV.js.gz +0 -0
- package/dist/ErrorMessage-voedvcXr.js.br +0 -0
- package/dist/ErrorMessage-voedvcXr.js.gz +0 -0
- package/dist/EventAvailabilityForm-BjLCcN_W.js.br +0 -0
- package/dist/EventAvailabilityForm-BjLCcN_W.js.gz +0 -0
- package/dist/Field-2Hbk9ahl.js.br +0 -0
- package/dist/Field-2Hbk9ahl.js.gz +0 -0
- package/dist/HotelAvailabilityForm-v-z9AFWI.js.br +0 -0
- package/dist/HotelAvailabilityForm-v-z9AFWI.js.gz +0 -0
- package/dist/SelectField-w9Labj2W.js.br +0 -0
- package/dist/SelectField-w9Labj2W.js.gz +0 -0
- package/dist/TermsOfService-D8q2gi5I.js.br +0 -0
- package/dist/TermsOfService-D8q2gi5I.js.gz +0 -4
- package/dist/_-Cpgd04rM.js.br +0 -0
- package/dist/_-Cpgd04rM.js.gz +0 -0
- package/dist/dist-0CoL4k9r.js.br +0 -0
- package/dist/dist-Drv0vus3.js.br +0 -0
- package/dist/giftCard-6oDMPMDe.js.br +0 -0
- package/dist/giftCard-6oDMPMDe.js.gz +0 -0
- package/dist/style-BJBxZSi0.js.br +0 -0
- package/dist/style-BJBxZSi0.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as e, t } from "./rolldown-runtime-QGRDbDUS.js";
|
|
2
2
|
import { A as n, At as r, D as i, Dt as a, E as o, F as s, I as c, K as l, L as u, M as d, N as f, O as p, Ot as m, P as h, Q as g, R as _, S as ee, _t as v, a as y, at as te, ct as ne, et as b, f as re, ft as x, h as S, ht as ie, i as ae, j as C, jt as w, mt as T, n as E, nt as D, o as O, p as k, q as A, rt as j, st as M, u as N, w as P, xt as F, yt as I, z as R } from "./i18n-Dq3VKG7w.js";
|
|
3
|
-
import { t as z } from "./dist-
|
|
4
|
-
import { t as oe } from "./style-
|
|
5
|
-
import { a as se, c as ce, i as le, l as ue, n as de, o as fe, r as pe, s as me, t as he } from "./dist-
|
|
6
|
-
import { a as ge, c as _e, i as ve, l as ye, n as be, o as xe, s as Se, t as Ce } from "./CheckoutWindow-
|
|
7
|
-
import { $ as B, B as we, C as Te, E as Ee, F as De, H as Oe, I as ke, J as Ae, K as je, L as Me, T as Ne, U as Pe, W as Fe, X as Ie, Y as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { n as
|
|
3
|
+
import { t as z } from "./dist-B-VFdvV1.js";
|
|
4
|
+
import { t as oe } from "./style-BRuBp3Jt.js";
|
|
5
|
+
import { a as se, c as ce, i as le, l as ue, n as de, o as fe, r as pe, s as me, t as he } from "./dist-COxekGEZ.js";
|
|
6
|
+
import { a as ge, c as _e, i as ve, l as ye, n as be, o as xe, s as Se, t as Ce } from "./CheckoutWindow-BV5xGJ7l.js";
|
|
7
|
+
import { $ as B, B as we, C as Te, E as Ee, F as De, H as Oe, I as ke, J as Ae, K as je, L as Me, T as Ne, U as Pe, W as Fe, X as Ie, Y as V, b as Le, ct as Re, g as ze, h as Be, j as Ve, k as He, n as Ue, nt as We, q as Ge, r as Ke, rt as qe, st as H, t as Je, v as Ye, w as Xe, x as Ze, y as U } from "./SelectField-bDg97Qlf.js";
|
|
8
|
+
import { t as Qe } from "./HotelAvailabilityForm-DQ1Cp0MX.js";
|
|
9
|
+
import { t as $e } from "./TermsOfService-J0sVmrZH.js";
|
|
10
|
+
import { t as et } from "./ActionField-D0NC9kCV.js";
|
|
11
|
+
import { n as tt, t as nt } from "./AvailabilitySkeleton-1WBbYV8Q.js";
|
|
12
12
|
// node_modules/inner-image-zoom/src/utils/images.js
|
|
13
|
-
function
|
|
13
|
+
function rt(e, t) {
|
|
14
14
|
return t ? {
|
|
15
15
|
width: window.innerWidth,
|
|
16
16
|
height: window.innerHeight,
|
|
@@ -18,10 +18,10 @@ function it(e, t) {
|
|
|
18
18
|
top: 0
|
|
19
19
|
} : e.getBoundingClientRect();
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function it(e, t) {
|
|
22
22
|
return e && window.matchMedia && window.matchMedia(`(max-width: ${t}px)`).matches;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function at() {
|
|
25
25
|
return {
|
|
26
26
|
onLoadCallback: null,
|
|
27
27
|
bounds: {},
|
|
@@ -31,65 +31,65 @@ function ot() {
|
|
|
31
31
|
scaledDimensions: {}
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function ot(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 st(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 ct(e, t) {
|
|
47
47
|
return {
|
|
48
48
|
width: e.naturalWidth * t,
|
|
49
49
|
height: e.naturalHeight * t
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
// node_modules/inner-image-zoom/src/utils/events.js
|
|
53
|
-
function
|
|
53
|
+
function lt(e) {
|
|
54
54
|
return {
|
|
55
55
|
x: typeof e.pageX == "number" ? e.pageX : e.changedTouches[0].pageX,
|
|
56
56
|
y: typeof e.pageY == "number" ? e.pageY : e.changedTouches[0].pageY
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function ut(e, t, n) {
|
|
60
60
|
let r = (e.pageX - (window.pageXOffset + t.bounds.left)) * -t.ratios.x, i = (e.pageY - (window.pageYOffset + t.bounds.top)) * -t.ratios.y;
|
|
61
61
|
return {
|
|
62
62
|
pageX: r + (n ? (window.innerWidth - t.bounds.width) / 2 : 0),
|
|
63
63
|
pageY: i + (n ? (window.innerHeight - t.bounds.height) / 2 : 0)
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function dt(e, t) {
|
|
67
67
|
let n = Math.abs(e.pageX - t.eventPosition.x), r = Math.abs(e.pageY - t.eventPosition.y);
|
|
68
68
|
return n > 5 || r > 5;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
let n =
|
|
70
|
+
function ft(e, t) {
|
|
71
|
+
let n = mt(e, t);
|
|
72
72
|
return {
|
|
73
73
|
left: Math.max(Math.min(n.x, t.bounds.width), 0) * -t.ratios.x,
|
|
74
74
|
top: Math.max(Math.min(n.y, t.bounds.height), 0) * -t.ratios.y
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
let n =
|
|
77
|
+
function pt(e, t) {
|
|
78
|
+
let n = mt(e, t);
|
|
79
79
|
return {
|
|
80
80
|
left: Math.max(Math.min(n.x, 0), (t.scaledDimensions.width - t.bounds.width) * -1),
|
|
81
81
|
top: Math.max(Math.min(n.y, 0), (t.scaledDimensions.height - t.bounds.height) * -1)
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
let n =
|
|
84
|
+
function mt(e, t) {
|
|
85
|
+
let n = lt(e);
|
|
86
86
|
return {
|
|
87
87
|
x: n.x - t.offsets.x,
|
|
88
88
|
y: n.y - t.offsets.y
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
// node_modules/vue-inner-image-zoom/src/InnerImageZoom/InnerImageZoom.vue
|
|
92
|
-
var
|
|
92
|
+
var ht = R({
|
|
93
93
|
name: "InnerImageZoom",
|
|
94
94
|
props: {
|
|
95
95
|
moveType: {
|
|
@@ -147,7 +147,7 @@ var gt = R({
|
|
|
147
147
|
};
|
|
148
148
|
},
|
|
149
149
|
created() {
|
|
150
|
-
this.imgProps =
|
|
150
|
+
this.imgProps = at(), it(this.fullscreenOnMobile, this.mobileBreakpoint) && (this.isActive = !1);
|
|
151
151
|
},
|
|
152
152
|
computed: {
|
|
153
153
|
validSources: function() {
|
|
@@ -162,29 +162,29 @@ var gt = R({
|
|
|
162
162
|
this.isActive = !0, this.zoomType === "hover" && !this.isZoomed && this.handleClick(e);
|
|
163
163
|
},
|
|
164
164
|
handleTouchStart() {
|
|
165
|
-
this.isTouch = !0, this.isFullscreen =
|
|
165
|
+
this.isTouch = !0, this.isFullscreen = it(this.fullscreenOnMobile, this.mobileBreakpoint), this.currentMoveType = "drag";
|
|
166
166
|
},
|
|
167
167
|
handleClick(e) {
|
|
168
168
|
this.isZoomed ? this.isTouch ? this.hideCloseButton && this.handleClose() : !this.isDragging && this.zoomOut() : (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));
|
|
169
169
|
},
|
|
170
170
|
handleLoad(e) {
|
|
171
|
-
let t =
|
|
172
|
-
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 =
|
|
171
|
+
let t = ct(e.target, this.zoomScale);
|
|
172
|
+
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 = rt(this.$refs.img, !1), this.imgProps.ratios = st(this.imgProps.bounds, t), this.imgProps.onLoadCallback && (this.imgProps.onLoadCallback(), this.imgProps.onLoadCallback = null);
|
|
173
173
|
},
|
|
174
174
|
handleMouseMove(e) {
|
|
175
|
-
let t =
|
|
175
|
+
let t = ft(e, this.imgProps);
|
|
176
176
|
this.left = t.left, this.top = t.top;
|
|
177
177
|
},
|
|
178
178
|
handleDragStart(e) {
|
|
179
|
-
let t =
|
|
180
|
-
this.imgProps.offsets =
|
|
179
|
+
let t = lt(e);
|
|
180
|
+
this.imgProps.offsets = ot(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);
|
|
181
181
|
},
|
|
182
182
|
handleDragMove(e) {
|
|
183
|
-
let t =
|
|
183
|
+
let t = pt(e, this.imgProps);
|
|
184
184
|
this.left = t.left, this.top = t.top;
|
|
185
185
|
},
|
|
186
186
|
handleDragEnd(e) {
|
|
187
|
-
this.imgProps.zoomImg.removeEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove), this.isTouch || (this.isDragging =
|
|
187
|
+
this.imgProps.zoomImg.removeEventListener(this.isTouch ? "touchmove" : "mousemove", this.handleDragMove), this.isTouch || (this.isDragging = dt(e, this.imgProps));
|
|
188
188
|
},
|
|
189
189
|
handleMouseLeave(e) {
|
|
190
190
|
this.currentMoveType === "drag" && this.isZoomed ? this.handleDragEnd(e) : this.handleClose();
|
|
@@ -192,16 +192,16 @@ var gt = R({
|
|
|
192
192
|
handleClose() {
|
|
193
193
|
this.zoomOut(() => {
|
|
194
194
|
setTimeout(() => {
|
|
195
|
-
(this.zoomPreload && this.isTouch || !this.zoomPreload) && (this.isActive = !1, this.imgProps =
|
|
195
|
+
(this.zoomPreload && this.isTouch || !this.zoomPreload) && (this.isActive = !1, this.imgProps = at()), this.isTouch = !1, this.isFullscreen = !1, this.currentMoveType = this.moveType;
|
|
196
196
|
}, this.isFullscreen ? 0 : this.fadeDuration);
|
|
197
197
|
});
|
|
198
198
|
},
|
|
199
199
|
initialMove(e) {
|
|
200
|
-
this.imgProps.offsets =
|
|
200
|
+
this.imgProps.offsets = ot(window.pageXOffset, window.pageYOffset, -this.imgProps.bounds.left, -this.imgProps.bounds.top), this.handleMouseMove(e);
|
|
201
201
|
},
|
|
202
202
|
initialDragMove(e) {
|
|
203
|
-
let t =
|
|
204
|
-
this.imgProps.bounds =
|
|
203
|
+
let t = ut(e, this.imgProps, this.isFullscreen);
|
|
204
|
+
this.imgProps.bounds = rt(this.$refs.img, this.isFullscreen), this.imgProps.offsets = ot(0, 0, 0, 0), this.handleDragMove({
|
|
205
205
|
...t,
|
|
206
206
|
preventDefault: () => {},
|
|
207
207
|
stopPropagation: () => {}
|
|
@@ -214,19 +214,19 @@ var gt = R({
|
|
|
214
214
|
this.isZoomed = !1, this.afterZoomOut && this.afterZoomOut(), e && e();
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
}),
|
|
217
|
+
}), gt = { key: 0 }, _t = [
|
|
218
218
|
"src",
|
|
219
219
|
"width",
|
|
220
220
|
"height"
|
|
221
|
-
],
|
|
221
|
+
], W = [
|
|
222
222
|
"src",
|
|
223
223
|
"width",
|
|
224
224
|
"height"
|
|
225
|
-
],
|
|
225
|
+
], G = { class: "iiz__zoom-portal" }, vt = ["src"], yt = ["src"], bt = {
|
|
226
226
|
key: 1,
|
|
227
227
|
class: "iiz__btn iiz__hint"
|
|
228
228
|
};
|
|
229
|
-
function
|
|
229
|
+
function xt(e, t, n, i, a, s) {
|
|
230
230
|
return b(), h("figure", l({
|
|
231
231
|
class: ["iiz", {
|
|
232
232
|
...e.className && { [e.className]: e.className },
|
|
@@ -241,7 +241,7 @@ function St(e, t, n, i, a, s) {
|
|
|
241
241
|
mousemove: e.currentMoveType === "drag" || !e.isZoomed ? () => {} : e.handleMouseMove,
|
|
242
242
|
mouseleave: e.isTouch ? () => {} : e.handleMouseLeave
|
|
243
243
|
}, !0)), [
|
|
244
|
-
C("div", { style: r({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (b(), h("picture",
|
|
244
|
+
C("div", { style: r({ paddingTop: e.createSpacer ? `${(e.height || 0) / (e.width || 0) * 100}%` : void 0 }) }, [e.validSources ? (b(), h("picture", gt, [(b(!0), h(o, null, D(e.validSources, (e, t) => (b(), h("source", l({ key: t }, { ref_for: !0 }, e), null, 16))), 128)), C("img", l(e.imgAttributes, {
|
|
245
245
|
class: ["iiz__img", [e.imgAttributes.className || "", {
|
|
246
246
|
"iiz__img--hidden": e.isZoomed,
|
|
247
247
|
"iiz__img--abs": e.createSpacer
|
|
@@ -250,7 +250,7 @@ function St(e, t, n, i, a, s) {
|
|
|
250
250
|
src: e.src,
|
|
251
251
|
width: e.width,
|
|
252
252
|
height: e.height
|
|
253
|
-
}), null, 16,
|
|
253
|
+
}), null, 16, _t)])) : (b(), h("img", l({ key: 1 }, e.imgAttributes, {
|
|
254
254
|
class: ["iiz__img", [e.imgAttributes.className || "", {
|
|
255
255
|
"iiz__img--hidden": e.isZoomed,
|
|
256
256
|
"iiz__img--abs": e.createSpacer
|
|
@@ -259,11 +259,11 @@ function St(e, t, n, i, a, s) {
|
|
|
259
259
|
src: e.src,
|
|
260
260
|
width: e.width,
|
|
261
261
|
height: e.height
|
|
262
|
-
}), null, 16,
|
|
262
|
+
}), null, 16, W))], 4),
|
|
263
263
|
e.isActive ? (b(), h(o, { key: 0 }, [e.isFullscreen ? (b(), d(p, {
|
|
264
264
|
key: 0,
|
|
265
265
|
to: "body"
|
|
266
|
-
}, [C("div",
|
|
266
|
+
}, [C("div", G, [C("img", l({
|
|
267
267
|
class: ["iiz__zoom-img", { "iiz__zoom-img--visible": e.isZoomed }],
|
|
268
268
|
alt: "",
|
|
269
269
|
draggable: !1,
|
|
@@ -280,7 +280,7 @@ function St(e, t, n, i, a, s) {
|
|
|
280
280
|
mousedown: e.handleDragStart,
|
|
281
281
|
mouseup: e.handleDragEnd,
|
|
282
282
|
click: e.handleClick
|
|
283
|
-
}, !0)), null, 16,
|
|
283
|
+
}, !0)), null, 16, vt), !e.hideCloseButton && e.currentMoveType === "drag" ? (b(), h("button", {
|
|
284
284
|
key: 0,
|
|
285
285
|
type: "button",
|
|
286
286
|
class: m(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
|
|
@@ -303,7 +303,7 @@ function St(e, t, n, i, a, s) {
|
|
|
303
303
|
touchend: e.handleDragEnd,
|
|
304
304
|
mousedown: e.handleDragStart,
|
|
305
305
|
mouseup: e.handleDragEnd
|
|
306
|
-
}, !0)), null, 16,
|
|
306
|
+
}, !0)), null, 16, yt), !e.hideCloseButton && e.currentMoveType === "drag" ? (b(), h("button", {
|
|
307
307
|
key: 0,
|
|
308
308
|
class: m(["iiz__btn iiz__close", { "iiz__close--visible": e.isZoomed }]),
|
|
309
309
|
type: "button",
|
|
@@ -311,23 +311,23 @@ function St(e, t, n, i, a, s) {
|
|
|
311
311
|
style: r({ transition: `linear ${e.isFullscreen ? 0 : e.fadeDuration}ms opacity, linear ${e.isFullscreen ? 0 : e.fadeDuration}ms visibility` }),
|
|
312
312
|
onClick: t[1] ||= P((...t) => e.handleClose && e.handleClose(...t), ["stop"])
|
|
313
313
|
}, null, 6)) : f("", !0)], 64))], 64)) : f("", !0),
|
|
314
|
-
!e.isZoomed && !e.hideHint ? (b(), h("span",
|
|
314
|
+
!e.isZoomed && !e.hideHint ? (b(), h("span", bt)) : f("", !0)
|
|
315
315
|
], 16);
|
|
316
316
|
}
|
|
317
317
|
// node_modules/vue-inner-image-zoom/src/index.js
|
|
318
|
-
var
|
|
318
|
+
var K = /* @__PURE__ */ Le(ht, [["render", xt], ["__scopeId", "data-v-71b2d8af"]]), q = { key: 0 }, St = { key: 1 }, Ct = { class: "konnectio-hotel-reservation-warning" }, wt = { class: "konnectio-hotel-reservation-warning" }, Tt = { class: "konnectio-hotel-reservation-warning" }, Et = { key: 2 }, Dt = { class: "konnectio-hotel-reservation-title" }, J = { class: "konnectio-hotel-reservation-information" }, Ot = { class: "konnectio-hotel-reservation-guests" }, kt = { key: 0 }, At = {
|
|
319
319
|
key: 0,
|
|
320
320
|
class: "konnectio-hotel-reservation-room-name"
|
|
321
|
-
},
|
|
321
|
+
}, jt = ["onClick"], Mt = { key: 0 }, Nt = { key: 1 }, Pt = { class: "konnectio-hotel-reservation-title" }, Ft = {
|
|
322
322
|
key: 0,
|
|
323
323
|
class: "konnectio-hotel-reservation-room-name"
|
|
324
|
-
},
|
|
324
|
+
}, It = { class: "konnectio-hotel-reservation-information" }, Lt = { class: "konnectio-hotel-reservation-guests" }, Rt = { key: 0 }, zt = { key: 0 }, Bt = { class: "konnectio-reservation-actions" }, Vt = {
|
|
325
325
|
key: 0,
|
|
326
326
|
class: "konnectio-newsletter-signup"
|
|
327
|
-
},
|
|
327
|
+
}, Y = {
|
|
328
328
|
key: 1,
|
|
329
329
|
class: "konnectio-accept-terms"
|
|
330
|
-
},
|
|
330
|
+
}, Ht = { class: "konnectio-hotel-reservation-tooltip" }, X = /*#__PURE__*/ Le(/* @__PURE__ */ R({
|
|
331
331
|
__name: "HotelReservationForm",
|
|
332
332
|
props: {
|
|
333
333
|
forceArrivalTime: {},
|
|
@@ -355,7 +355,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
355
355
|
prevCallback: {}
|
|
356
356
|
},
|
|
357
357
|
setup(e) {
|
|
358
|
-
let { t } = y(), { disableNewsletterSignup: n, currency: r } = S(
|
|
358
|
+
let { t } = y(), { disableNewsletterSignup: n, currency: r } = S(Xe()), { hasArrivalDepartureInputs: i } = Xe(), { arrivalTime: c, departureTime: l, roomDisplay: p, templateID: m, totalPrice: g, areListingsLoading: _, getSelectedPackageRooms: ne, templateRoomUnits: re, selectedPackage: x, discountVouchers: E, currentArrivalDate: O, currentDepartureDate: k, datesMismatch: A, currentLocation: M, locationMismatch: N, newsMails: I, termsOfService: R, discountCode: z, hasTermOfService: oe, acceptTerms: ce, totalTemplateAddonPrice: le, totalRooms: ue, totalAdults: de, totalChildren: fe, weekendFee: pe, selectedMemberCardData: me, appliedDiscountCode: he, guestDiscountCode: ge, isValidatingDiscountCode: _e } = S(Ee()), { hasHotelLocations: ye } = S(Ze()), { removeRoom: be, validateDiscountCode: xe, getMandatoryRoomGroupAddons: Se, getTemplateRoomUnitPrice: Ce, resetDiscountVoucher: we, setGuestDiscountCode: Te, clearGuestDiscountCode: Oe, fetchAvailabilityData: ke } = Ee(), { getHotelLocationName: Ae } = Ze(), je = F(!1);
|
|
359
359
|
function Ne(e) {
|
|
360
360
|
Te(e), ke();
|
|
361
361
|
}
|
|
@@ -389,48 +389,48 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
389
389
|
}, s({
|
|
390
390
|
form: T(() => [j(y.$slots, "form", {}, void 0, !0)]),
|
|
391
391
|
"price-summary": T(() => [isNaN(a(m)) && a(p).length > 0 ? (b(!0), h(o, { key: 0 }, D(a(p), ({ roomGroupID: n, title: i, variants: s }) => (b(), h("div", { key: n }, [C("h6", null, [C("span", null, w(a(De)(i)), 1)]), (b(!0), h(o, null, D(s, (i, s) => (b(), h("div", { key: s }, [(b(!0), h(o, null, D(i.rooms, (o, c) => (b(), h("ul", { key: c }, [C("li", null, [
|
|
392
|
-
C("span",
|
|
393
|
-
C("span",
|
|
392
|
+
C("span", Dt, w(a(De)(i.name)), 1),
|
|
393
|
+
C("span", J, [C("span", Ot, [C("span", null, [u(U, {
|
|
394
394
|
icon: "male",
|
|
395
395
|
type: "fas",
|
|
396
396
|
color: "font"
|
|
397
|
-
}), C("span", null, w(o.adultsCount), 1)]), o.childrenCount > 0 ? (b(), h("span",
|
|
397
|
+
}), C("span", null, w(o.adultsCount), 1)]), o.childrenCount > 0 ? (b(), h("span", kt, [u(U, {
|
|
398
398
|
icon: "child",
|
|
399
399
|
type: "fas",
|
|
400
400
|
color: "font"
|
|
401
|
-
}), C("span", null, w(o.childrenCount), 1)])) : f("", !0)]), o.roomName ? (b(), h("span",
|
|
401
|
+
}), C("span", null, w(o.childrenCount), 1)])) : f("", !0)]), o.roomName ? (b(), h("span", At, "(" + w(o.roomName) + ")", 1)) : f("", !0)]),
|
|
402
402
|
C("b", null, [C("span", null, w(a(B)(o.totalPrice, a(r))), 1), e.showRemoveRoom ? (b(), h("span", {
|
|
403
403
|
key: 0,
|
|
404
404
|
class: "konnectio-hotel-reservation-remove",
|
|
405
405
|
onClick: P((e) => a(be)(n, s, o.configIdx), ["prevent"])
|
|
406
|
-
}, [u(
|
|
406
|
+
}, [u(U, {
|
|
407
407
|
icon: "times",
|
|
408
408
|
type: "fas",
|
|
409
409
|
"icon-color": "#ff0000"
|
|
410
|
-
})], 8,
|
|
411
|
-
]), Fe(o.roomAddons) > 0 ? (b(), h("li",
|
|
412
|
-
C("span",
|
|
413
|
-
C("span",
|
|
410
|
+
})], 8, jt)) : f("", !0)])
|
|
411
|
+
]), Fe(o.roomAddons) > 0 ? (b(), h("li", Mt, [C("span", null, w(a(t)("general.addons")), 1), C("b", null, w(a(B)(Fe(o.roomAddons), a(r))), 1)])) : f("", !0)]))), 128))]))), 128))]))), 128)) : f("", !0), a(re).length > 0 && a(x) ? (b(), h("div", Nt, [C("h6", null, [C("span", null, w(a(De)(a(x).name)), 1)]), C("div", null, [C("ul", null, [(b(!0), h(o, null, D(a(re), (e, n) => (b(), h("li", { key: n }, [
|
|
412
|
+
C("span", Pt, [C("span", null, w(a(De)(a(ne).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), a(re).filter((t) => t.roomGroupId === e.roomGroupId).length > 1 ? (b(), h("span", Ft, "(" + w(a(t)("booking.reservation.room")) + " " + w(a(re).slice(0, n + 1).filter((t) => t.roomGroupId === e.roomGroupId).length) + ")", 1)) : f("", !0)]),
|
|
413
|
+
C("span", It, [C("span", Lt, [C("span", null, [u(U, {
|
|
414
414
|
icon: "male",
|
|
415
415
|
type: "fas",
|
|
416
416
|
color: "font"
|
|
417
|
-
}), C("span", null, w(e.adults), 1)]), e.children > 0 ? (b(), h("span",
|
|
417
|
+
}), C("span", null, w(e.adults), 1)]), e.children > 0 ? (b(), h("span", Rt, [u(U, {
|
|
418
418
|
icon: "child",
|
|
419
419
|
type: "fas",
|
|
420
420
|
color: "font"
|
|
421
421
|
}), C("span", null, w(e.children), 1)])) : f("", !0)])]),
|
|
422
422
|
C("b", null, [C("span", null, w(a(B)(a(Ce)(e.roomGroupId, e.adults, e.children) + a(pe), a(r))), 1)]),
|
|
423
423
|
(b(!0), h(o, null, D(a(Se)(e.roomGroupId), (e) => (b(), h(o, { key: e.addonID }, [C("span", null, "- " + w(e.name), 1), C("b", null, [C("span", null, w(a(B)(e.price, a(r))), 1)])], 64))), 128))
|
|
424
|
-
]))), 128)), a(le) ? (b(), h("li",
|
|
425
|
-
actions: T(() => [C("ul",
|
|
426
|
-
a(n) ? f("", !0) : (b(), h("div",
|
|
424
|
+
]))), 128)), a(le) ? (b(), h("li", zt, [C("span", null, w(a(t)("general.addons")), 1), C("b", null, w(a(B)(a(le), a(r))), 1)])) : f("", !0)])])])) : f("", !0)]),
|
|
425
|
+
actions: T(() => [C("ul", Bt, [
|
|
426
|
+
a(n) ? f("", !0) : (b(), h("div", Vt, [u(ve, {
|
|
427
427
|
modelValue: a(I),
|
|
428
428
|
"onUpdate:modelValue": S[0] ||= (e) => v(I) ? I.value = e : null,
|
|
429
429
|
type: "checkbox",
|
|
430
430
|
name: "newsletter",
|
|
431
431
|
label: a(t)("booking.reservation.newsletterSignUp")
|
|
432
432
|
}, null, 8, ["modelValue", "label"])])),
|
|
433
|
-
a(oe) ? (b(), h("div",
|
|
433
|
+
a(oe) ? (b(), h("div", Y, [u(ve, {
|
|
434
434
|
modelValue: a(ce),
|
|
435
435
|
"onUpdate:modelValue": S[2] ||= (e) => v(ce) ? ce.value = e : null,
|
|
436
436
|
type: "checkbox",
|
|
@@ -444,13 +444,13 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
444
444
|
terms: T(() => [C("a", {
|
|
445
445
|
class: "konnectio-accept-terms-link",
|
|
446
446
|
onClick: S[1] ||= P((e) => je.value = !0, ["prevent"])
|
|
447
|
-
}, [C("span", null, w(a(
|
|
447
|
+
}, [C("span", null, w(a(Ge)(a(t)("general.termsAndConditions"))), 1)])]),
|
|
448
448
|
_: 1
|
|
449
449
|
})]),
|
|
450
450
|
_: 1
|
|
451
451
|
}, 8, ["modelValue"])])) : f("", !0),
|
|
452
452
|
j(y.$slots, "actions", {}, void 0, !0),
|
|
453
|
-
u(
|
|
453
|
+
u($e, {
|
|
454
454
|
modelValue: je.value,
|
|
455
455
|
"onUpdate:modelValue": S[3] ||= (e) => je.value = e,
|
|
456
456
|
description: a(R)
|
|
@@ -459,8 +459,8 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
459
459
|
navigation: T(() => [j(y.$slots, "navigation", {}, void 0, !0)]),
|
|
460
460
|
"mobile-under-price": T(() => [
|
|
461
461
|
C("span", null, w(a(t)("general.for")) + ": ", 1),
|
|
462
|
-
C("b", null, w(a(Me)(a(O), a(k))) + " " + w(a(
|
|
463
|
-
ie((b(), h("span",
|
|
462
|
+
C("b", null, w(a(Me)(a(O), a(k))) + " " + w(a(Ge)(a(Me)(a(O), a(k)) === 1 ? a(t)("booking.reservation.night") : a(t)("booking.reservation.nights"))), 1),
|
|
463
|
+
ie((b(), h("span", Ht, [u(U, {
|
|
464
464
|
icon: "circle-info",
|
|
465
465
|
type: "fas"
|
|
466
466
|
})])), [[F, {
|
|
@@ -478,21 +478,21 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
478
478
|
}, [isNaN(a(M)) ? void 0 : {
|
|
479
479
|
name: "reservation-summary",
|
|
480
480
|
fn: T(() => [
|
|
481
|
-
e.dealFlow && a(he) ? (b(), h("li",
|
|
482
|
-
a(ye) ? (b(), h("li",
|
|
481
|
+
e.dealFlow && a(he) ? (b(), h("li", q, [C("span", null, w(a(t)("dealCode.label")), 1), C("b", null, w(a(he)), 1)])) : f("", !0),
|
|
482
|
+
a(ye) ? (b(), h("li", St, [C("span", null, w(a(t)("general.location")), 1), C("b", null, [C("span", null, w(a(Ae)(a(M))), 1), ie(C("span", Ct, [u(U, {
|
|
483
483
|
icon: "exclamation-triangle",
|
|
484
484
|
type: "fas"
|
|
485
485
|
})], 512), [[ee, a(N)]])])])) : f("", !0),
|
|
486
|
-
C("li", null, [C("span", null, w(a(t)("booking.reservation.arrival")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(Ie)(a(O))}, ${a(c)}` : a(Ie)(a(O))), 1), ie(C("span",
|
|
486
|
+
C("li", null, [C("span", null, w(a(t)("booking.reservation.arrival")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(Ie)(a(O))}, ${a(c)}` : a(Ie)(a(O))), 1), ie(C("span", wt, [u(U, {
|
|
487
487
|
icon: "exclamation-triangle",
|
|
488
488
|
type: "fas"
|
|
489
489
|
})], 512), [[ee, a(A)]])])]),
|
|
490
|
-
C("li", null, [C("span", null, w(a(t)("booking.reservation.departure")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(Ie)(a(k))}, ${a(l)}` : a(Ie)(a(k))), 1), ie(C("span",
|
|
490
|
+
C("li", null, [C("span", null, w(a(t)("booking.reservation.departure")), 1), C("b", null, [C("span", null, w(a(i)(a(M)) ? `${a(Ie)(a(k))}, ${a(l)}` : a(Ie)(a(k))), 1), ie(C("span", Tt, [u(U, {
|
|
491
491
|
icon: "exclamation-triangle",
|
|
492
492
|
type: "fas"
|
|
493
493
|
})], 512), [[ee, a(A)]])])]),
|
|
494
|
-
C("li", null, [C("span", null, w(a(t)("booking.reservation.nights")), 1), C("b", null, w(a(Me)(a(O), a(k))) + " " + w(a(
|
|
495
|
-
a(me) && a(me).providesDiscount ? (b(), h("li",
|
|
494
|
+
C("li", null, [C("span", null, w(a(t)("booking.reservation.nights")), 1), C("b", null, w(a(Me)(a(O), a(k))) + " " + w(a(Ge)(a(Me)(a(O), a(k)) === 1 ? a(t)("booking.reservation.night") : a(t)("booking.reservation.nights"))), 1)]),
|
|
495
|
+
a(me) && a(me).providesDiscount ? (b(), h("li", Et, [C("span", null, w(a(me).shortDescription), 1), C("b", null, "-" + w(a(me).discountPercent) + "%", 1)])) : f("", !0),
|
|
496
496
|
a(E) ? (b(!0), h(o, { key: 3 }, D(a(E), (e) => (b(), h("li", { key: e.id }, [C("span", null, w(`${a(t)("general.discountCode")} (${e.value})`), 1), C("b", null, w(e.key), 1)]))), 128)) : f("", !0)
|
|
497
497
|
]),
|
|
498
498
|
key: "0"
|
|
@@ -515,10 +515,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
515
515
|
]);
|
|
516
516
|
};
|
|
517
517
|
}
|
|
518
|
-
}), [["__scopeId", "data-v-4f766755"]]),
|
|
518
|
+
}), [["__scopeId", "data-v-4f766755"]]), Ut = { class: "konnectio-panel" }, Wt = { id: "konnectio-hotel-guest-discount-title" }, Gt = ["innerHTML"], Kt = /*#__PURE__*/ Le(/* @__PURE__ */ R({
|
|
519
519
|
__name: "GuestDiscountForm",
|
|
520
520
|
setup(e) {
|
|
521
|
-
let { t } = y(), n = re("history"), r = Ee(), { display: i } =
|
|
521
|
+
let { t } = y(), n = re("history"), r = Ee(), { display: i } = Ve(), o = F();
|
|
522
522
|
async function s() {
|
|
523
523
|
o.value ? isNaN(o.value) ? i({
|
|
524
524
|
message: t("alert.error.guestDiscountNan"),
|
|
@@ -531,10 +531,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
531
531
|
return (e, n) => (b(), h("form", {
|
|
532
532
|
id: "konnectio-hotel-guest-discount",
|
|
533
533
|
onSubmit: n[1] ||= P(() => {}, ["prevent"])
|
|
534
|
-
}, [C("div",
|
|
535
|
-
C("h3",
|
|
536
|
-
C("p", { innerHTML: a(t)("guestDiscount.description") }, null, 8,
|
|
537
|
-
u(
|
|
534
|
+
}, [C("div", Ut, [
|
|
535
|
+
C("h3", Wt, [C("span", null, w(a(t)("guestDiscount.title")), 1)]),
|
|
536
|
+
C("p", { innerHTML: a(t)("guestDiscount.description") }, null, 8, Gt),
|
|
537
|
+
u(et, {
|
|
538
538
|
modelValue: o.value,
|
|
539
539
|
"onUpdate:modelValue": n[0] ||= (e) => o.value = e,
|
|
540
540
|
label: a(t)("guestDiscount.guestDiscountCode"),
|
|
@@ -552,10 +552,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
552
552
|
])
|
|
553
553
|
])], 32));
|
|
554
554
|
}
|
|
555
|
-
}), [["__scopeId", "data-v-de955b0c"]]),
|
|
555
|
+
}), [["__scopeId", "data-v-de955b0c"]]), qt = { class: "konnectio-panel" }, Jt = { id: "konnectio-hotel-discount-code-title" }, Yt = ["innerHTML"], Z = /*#__PURE__*/ Le(/* @__PURE__ */ R({
|
|
556
556
|
__name: "DiscountCodeForm",
|
|
557
557
|
setup(e) {
|
|
558
|
-
let { t } = y(), r = re("history"), i = Ee(), { display: o } =
|
|
558
|
+
let { t } = y(), r = re("history"), i = Ee(), { display: o } = Ve(), { location: s, hotelLocations: c } = S(Ze()), { requireDealCode: l } = S(i), p = n(() => l.value ? "dealCode" : "discountCode"), m = F(), g = F(!1);
|
|
559
559
|
async function _() {
|
|
560
560
|
if (!m.value) o({
|
|
561
561
|
message: t("alert.error.discountCodeEmpty"),
|
|
@@ -573,10 +573,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
573
573
|
return (e, n) => (b(), h("form", {
|
|
574
574
|
id: "konnectio-hotel-discount-code",
|
|
575
575
|
onSubmit: n[2] ||= P(() => {}, ["prevent"])
|
|
576
|
-
}, [C("div",
|
|
577
|
-
C("h3",
|
|
578
|
-
C("p", { innerHTML: a(t)(`${p.value}.description`) }, null, 8,
|
|
579
|
-
a(c).length > 1 ? (b(), d(
|
|
576
|
+
}, [C("div", qt, [
|
|
577
|
+
C("h3", Jt, [C("span", null, w(a(t)(`${p.value}.title`)), 1)]),
|
|
578
|
+
C("p", { innerHTML: a(t)(`${p.value}.description`) }, null, 8, Yt),
|
|
579
|
+
a(c).length > 1 ? (b(), d(Je, {
|
|
580
580
|
key: 0,
|
|
581
581
|
modelValue: a(s),
|
|
582
582
|
"onUpdate:modelValue": n[0] ||= (e) => v(s) ? s.value = e : null,
|
|
@@ -595,7 +595,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
595
595
|
"placeholder",
|
|
596
596
|
"options"
|
|
597
597
|
])) : f("", !0),
|
|
598
|
-
u(
|
|
598
|
+
u(et, {
|
|
599
599
|
modelValue: m.value,
|
|
600
600
|
"onUpdate:modelValue": n[1] ||= (e) => m.value = e,
|
|
601
601
|
label: a(t)(`${p.value}.label`),
|
|
@@ -615,7 +615,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
615
615
|
])
|
|
616
616
|
])], 32));
|
|
617
617
|
}
|
|
618
|
-
}), [["__scopeId", "data-v-63bc74db"]]),
|
|
618
|
+
}), [["__scopeId", "data-v-63bc74db"]]), Xt = { class: "konnectio-room-config-option" }, Zt = { key: 0 }, Qt = { class: "konnectio-selected-room-config" }, $t = { class: "konnectio-selected-room-config-people" }, en = { key: 0 }, tn = { class: "konnectio-selected-room-config-price" }, nn = /*#__PURE__*/ Le(/* @__PURE__ */ R({
|
|
619
619
|
__name: "RoomConfigField",
|
|
620
620
|
props: {
|
|
621
621
|
modelValue: {},
|
|
@@ -632,7 +632,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
632
632
|
},
|
|
633
633
|
emits: ["update:modelValue"],
|
|
634
634
|
setup(e, { emit: t }) {
|
|
635
|
-
let { t: r } = y(), { currency: i } = S(
|
|
635
|
+
let { t: r } = y(), { currency: i } = S(Xe()), o = t, s = e;
|
|
636
636
|
function l(e) {
|
|
637
637
|
o("update:modelValue", e);
|
|
638
638
|
}
|
|
@@ -640,7 +640,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
640
640
|
get: () => s.modelValue,
|
|
641
641
|
set: (e) => l(e)
|
|
642
642
|
});
|
|
643
|
-
return (t, n) => (b(), d(
|
|
643
|
+
return (t, n) => (b(), d(Je, {
|
|
644
644
|
modelValue: p.value,
|
|
645
645
|
"onUpdate:modelValue": n[0] ||= (e) => p.value = e,
|
|
646
646
|
label: e.label,
|
|
@@ -653,20 +653,20 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
653
653
|
required: e.required,
|
|
654
654
|
searchable: !1
|
|
655
655
|
}, {
|
|
656
|
-
option: T(({ data: e }) => [C("span",
|
|
657
|
-
u(
|
|
656
|
+
option: T(({ data: e }) => [C("span", Xt, [C("div", null, [
|
|
657
|
+
u(U, {
|
|
658
658
|
icon: "male",
|
|
659
659
|
type: "fas",
|
|
660
660
|
color: "font"
|
|
661
661
|
}),
|
|
662
662
|
C("span", null, w(`${e.adults}`), 1),
|
|
663
|
-
e.children > 0 ? (b(), h("span",
|
|
663
|
+
e.children > 0 ? (b(), h("span", Zt, [u(U, {
|
|
664
664
|
icon: "child",
|
|
665
665
|
type: "fas",
|
|
666
666
|
color: "font"
|
|
667
667
|
}), C("span", null, w(`${e.children}`), 1)])) : f("", !0)
|
|
668
668
|
]), C("span", null, w(`(${a(B)(e.price, a(i))})`), 1)])]),
|
|
669
|
-
"selected-option": T(({ data: e }) => [C("div",
|
|
669
|
+
"selected-option": T(({ data: e }) => [C("div", Qt, [C("div", $t, [C("div", null, [f("", !0), C("span", null, w(`${e.adults} ${e.adults === 1 ? a(r)("general.adult") : a(r)("general.adults")}`), 1)]), e.children > 0 ? (b(), h("div", en, [f("", !0), C("span", null, w(`& ${e.children} ${e.children === 1 ? a(r)("general.child") : a(r)("general.children")}`), 1)])) : f("", !0)]), C("div", tn, [n[1] ||= C("span", null, null, -1), c(" " + w(`(${a(B)(e.price, a(i))})`), 1)])])]),
|
|
670
670
|
_: 1
|
|
671
671
|
}, 8, [
|
|
672
672
|
"modelValue",
|
|
@@ -676,7 +676,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
676
676
|
"required"
|
|
677
677
|
]));
|
|
678
678
|
}
|
|
679
|
-
}), [["__scopeId", "data-v-f960b7b6"]]),
|
|
679
|
+
}), [["__scopeId", "data-v-f960b7b6"]]), rn = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t, n) => {
|
|
680
680
|
(function(n, r) {
|
|
681
681
|
typeof e == "object" && t !== void 0 ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (n = typeof globalThis < "u" ? globalThis : n || self, r(n.leaflet = {}));
|
|
682
682
|
})(n, (function(e) {
|
|
@@ -1268,11 +1268,11 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1268
1268
|
function de(e, t) {
|
|
1269
1269
|
for (var n = "", r = 0, i, a = e.length, o, s, c; r < a; r++) {
|
|
1270
1270
|
for (s = e[r], i = 0, o = s.length; i < o; i++) c = s[i], n += (i ? "L" : "M") + c.x + " " + c.y;
|
|
1271
|
-
n += t ?
|
|
1271
|
+
n += t ? H.svg ? "z" : "x" : "";
|
|
1272
1272
|
}
|
|
1273
1273
|
return n || "M0 0";
|
|
1274
1274
|
}
|
|
1275
|
-
var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge =
|
|
1275
|
+
var fe = document.documentElement.style, pe = "ActiveXObject" in window, me = pe && !document.addEventListener, he = "msLaunchUri" in navigator && !("documentMode" in document), ge = qe("webkit"), _e = qe("android"), ve = qe("android 2") || qe("android 3"), ye = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), be = _e && qe("Google") && ye < 537 && !("AudioNode" in window), xe = !!window.opera, Se = !he && qe("chrome"), Ce = qe("gecko") && !ge && !xe && !pe, B = !Se && qe("safari"), we = qe("phantom"), Te = "OTransition" in fe, Ee = navigator.platform.indexOf("Win") === 0, De = pe && "transition" in fe, Oe = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !ve, ke = "MozPerspective" in fe, Ae = !window.L_DISABLE_3D && (De || Oe || ke) && !Te && !we, je = typeof orientation < "u" || qe("mobile"), Me = je && ge, Ne = je && Oe, Pe = !window.PointerEvent && window.MSPointerEvent, Fe = !!(window.PointerEvent || Pe), Ie = "ontouchstart" in window || !!window.TouchEvent, V = !window.L_NO_TOUCH && (Ie || Fe), Le = je && xe, Re = je && Ce, ze = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Be = function() {
|
|
1276
1276
|
var e = !1;
|
|
1277
1277
|
try {
|
|
1278
1278
|
var t = Object.defineProperty({}, "passive", { get: function() {
|
|
@@ -1281,12 +1281,12 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1281
1281
|
window.addEventListener("testPassiveEventSupport", l, t), window.removeEventListener("testPassiveEventSupport", l, t);
|
|
1282
1282
|
} catch {}
|
|
1283
1283
|
return e;
|
|
1284
|
-
}(),
|
|
1284
|
+
}(), Ve = function() {
|
|
1285
1285
|
return !!document.createElement("canvas").getContext;
|
|
1286
|
-
}(),
|
|
1286
|
+
}(), He = !!(document.createElementNS && ue("svg").createSVGRect), Ue = !!He && (function() {
|
|
1287
1287
|
var e = document.createElement("div");
|
|
1288
1288
|
return e.innerHTML = "<svg/>", (e.firstChild && e.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
1289
|
-
})(),
|
|
1289
|
+
})(), We = !He && function() {
|
|
1290
1290
|
try {
|
|
1291
1291
|
var e = document.createElement("div");
|
|
1292
1292
|
e.innerHTML = "<v:shape adj=\"1\"/>";
|
|
@@ -1295,11 +1295,11 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1295
1295
|
} catch {
|
|
1296
1296
|
return !1;
|
|
1297
1297
|
}
|
|
1298
|
-
}(),
|
|
1299
|
-
function
|
|
1298
|
+
}(), Ge = navigator.platform.indexOf("Mac") === 0, Ke = navigator.platform.indexOf("Linux") === 0;
|
|
1299
|
+
function qe(e) {
|
|
1300
1300
|
return navigator.userAgent.toLowerCase().indexOf(e) >= 0;
|
|
1301
1301
|
}
|
|
1302
|
-
var
|
|
1302
|
+
var H = {
|
|
1303
1303
|
ie: pe,
|
|
1304
1304
|
ielt9: me,
|
|
1305
1305
|
edge: he,
|
|
@@ -1323,76 +1323,76 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1323
1323
|
mobileWebkit3d: Ne,
|
|
1324
1324
|
msPointer: Pe,
|
|
1325
1325
|
pointer: Fe,
|
|
1326
|
-
touch:
|
|
1326
|
+
touch: V,
|
|
1327
1327
|
touchNative: Ie,
|
|
1328
|
-
mobileOpera:
|
|
1329
|
-
mobileGecko:
|
|
1330
|
-
retina:
|
|
1331
|
-
passiveEvents:
|
|
1332
|
-
canvas:
|
|
1333
|
-
svg:
|
|
1334
|
-
vml:
|
|
1335
|
-
inlineSvg:
|
|
1336
|
-
mac:
|
|
1337
|
-
linux:
|
|
1338
|
-
},
|
|
1339
|
-
touchstart:
|
|
1340
|
-
touchmove:
|
|
1341
|
-
touchend:
|
|
1342
|
-
touchcancel:
|
|
1343
|
-
},
|
|
1344
|
-
touchstart:
|
|
1345
|
-
touchmove:
|
|
1346
|
-
touchend:
|
|
1347
|
-
touchcancel:
|
|
1348
|
-
},
|
|
1328
|
+
mobileOpera: Le,
|
|
1329
|
+
mobileGecko: Re,
|
|
1330
|
+
retina: ze,
|
|
1331
|
+
passiveEvents: Be,
|
|
1332
|
+
canvas: Ve,
|
|
1333
|
+
svg: He,
|
|
1334
|
+
vml: We,
|
|
1335
|
+
inlineSvg: Ue,
|
|
1336
|
+
mac: Ge,
|
|
1337
|
+
linux: Ke
|
|
1338
|
+
}, Je = H.msPointer ? "MSPointerDown" : "pointerdown", Ye = H.msPointer ? "MSPointerMove" : "pointermove", Xe = H.msPointer ? "MSPointerUp" : "pointerup", Ze = H.msPointer ? "MSPointerCancel" : "pointercancel", U = {
|
|
1339
|
+
touchstart: Je,
|
|
1340
|
+
touchmove: Ye,
|
|
1341
|
+
touchend: Xe,
|
|
1342
|
+
touchcancel: Ze
|
|
1343
|
+
}, Qe = {
|
|
1344
|
+
touchstart: ct,
|
|
1345
|
+
touchmove: st,
|
|
1346
|
+
touchend: st,
|
|
1347
|
+
touchcancel: st
|
|
1348
|
+
}, $e = {}, et = !1;
|
|
1349
|
+
function tt(e, t, n) {
|
|
1350
|
+
return t === "touchstart" && ot(), Qe[t] ? (n = Qe[t].bind(this, n), e.addEventListener(U[t], n, !1), n) : (console.warn("wrong event specified:", t), l);
|
|
1351
|
+
}
|
|
1349
1352
|
function nt(e, t, n) {
|
|
1350
|
-
|
|
1353
|
+
U[t] ? e.removeEventListener(U[t], n, !1) : console.warn("wrong event specified:", t);
|
|
1351
1354
|
}
|
|
1352
|
-
function rt(e
|
|
1353
|
-
|
|
1355
|
+
function rt(e) {
|
|
1356
|
+
$e[e.pointerId] = e;
|
|
1354
1357
|
}
|
|
1355
1358
|
function it(e) {
|
|
1356
|
-
|
|
1359
|
+
$e[e.pointerId] && ($e[e.pointerId] = e);
|
|
1357
1360
|
}
|
|
1358
1361
|
function at(e) {
|
|
1359
|
-
|
|
1362
|
+
delete $e[e.pointerId];
|
|
1360
1363
|
}
|
|
1361
|
-
function ot(
|
|
1362
|
-
|
|
1364
|
+
function ot() {
|
|
1365
|
+
et ||= (document.addEventListener(Je, rt, !0), document.addEventListener(Ye, it, !0), document.addEventListener(Xe, at, !0), document.addEventListener(Ze, at, !0), !0);
|
|
1363
1366
|
}
|
|
1364
|
-
function st() {
|
|
1365
|
-
tt ||= (document.addEventListener(Ye, it, !0), document.addEventListener(Xe, at, !0), document.addEventListener(Ze, ot, !0), document.addEventListener(Qe, ot, !0), !0);
|
|
1366
|
-
}
|
|
1367
|
-
function ct(e, t) {
|
|
1367
|
+
function st(e, t) {
|
|
1368
1368
|
if (t.pointerType !== (t.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
|
1369
|
-
for (var n in t.touches = [],
|
|
1369
|
+
for (var n in t.touches = [], $e) t.touches.push($e[n]);
|
|
1370
1370
|
t.changedTouches = [t], e(t);
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
|
-
function
|
|
1374
|
-
t.MSPOINTER_TYPE_TOUCH && t.pointerType === t.MSPOINTER_TYPE_TOUCH &&
|
|
1373
|
+
function ct(e, t) {
|
|
1374
|
+
t.MSPOINTER_TYPE_TOUCH && t.pointerType === t.MSPOINTER_TYPE_TOUCH && Z(t), st(e, t);
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1376
|
+
function lt(e) {
|
|
1377
1377
|
var t = {}, n, r;
|
|
1378
1378
|
for (r in e) n = e[r], t[r] = n && n.bind ? n.bind(e) : n;
|
|
1379
1379
|
return e = t, t.type = "dblclick", t.detail = 2, t.isTrusted = !1, t._simulated = !0, t;
|
|
1380
1380
|
}
|
|
1381
|
-
var
|
|
1382
|
-
function
|
|
1381
|
+
var ut = 200;
|
|
1382
|
+
function dt(e, t) {
|
|
1383
1383
|
e.addEventListener("dblclick", t);
|
|
1384
1384
|
var n = 0, r;
|
|
1385
1385
|
function i(e) {
|
|
1386
1386
|
if (e.detail !== 1) r = e.detail;
|
|
1387
1387
|
else if (!(e.pointerType === "mouse" || e.sourceCapabilities && !e.sourceCapabilities.firesTouchEvents)) {
|
|
1388
|
-
var i =
|
|
1388
|
+
var i = Zt(e);
|
|
1389
1389
|
if (!i.some(function(e) {
|
|
1390
1390
|
return e instanceof HTMLLabelElement && e.attributes.for;
|
|
1391
1391
|
}) || i.some(function(e) {
|
|
1392
1392
|
return e instanceof HTMLInputElement || e instanceof HTMLSelectElement;
|
|
1393
1393
|
})) {
|
|
1394
1394
|
var a = Date.now();
|
|
1395
|
-
a - n <=
|
|
1395
|
+
a - n <= ut ? (r++, r === 2 && t(lt(e))) : r = 1, n = a;
|
|
1396
1396
|
}
|
|
1397
1397
|
}
|
|
1398
1398
|
}
|
|
@@ -1401,26 +1401,26 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1401
1401
|
simDblclick: i
|
|
1402
1402
|
};
|
|
1403
1403
|
}
|
|
1404
|
-
function
|
|
1404
|
+
function ft(e, t) {
|
|
1405
1405
|
e.removeEventListener("dblclick", t.dblclick), e.removeEventListener("click", t.simDblclick);
|
|
1406
1406
|
}
|
|
1407
|
-
var
|
|
1407
|
+
var pt = Et([
|
|
1408
1408
|
"transform",
|
|
1409
1409
|
"webkitTransform",
|
|
1410
1410
|
"OTransform",
|
|
1411
1411
|
"MozTransform",
|
|
1412
1412
|
"msTransform"
|
|
1413
|
-
]),
|
|
1413
|
+
]), mt = Et([
|
|
1414
1414
|
"webkitTransition",
|
|
1415
1415
|
"transition",
|
|
1416
1416
|
"OTransition",
|
|
1417
1417
|
"MozTransition",
|
|
1418
1418
|
"msTransition"
|
|
1419
|
-
]),
|
|
1420
|
-
function
|
|
1419
|
+
]), ht = mt === "webkitTransition" || mt === "OTransition" ? mt + "End" : "transitionend";
|
|
1420
|
+
function gt(e) {
|
|
1421
1421
|
return typeof e == "string" ? document.getElementById(e) : e;
|
|
1422
1422
|
}
|
|
1423
|
-
function
|
|
1423
|
+
function _t(e, t) {
|
|
1424
1424
|
var n = e.style[t] || e.currentStyle && e.currentStyle[t];
|
|
1425
1425
|
if ((!n || n === "auto") && document.defaultView) {
|
|
1426
1426
|
var r = document.defaultView.getComputedStyle(e, null);
|
|
@@ -1428,50 +1428,50 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1428
1428
|
}
|
|
1429
1429
|
return n === "auto" ? null : n;
|
|
1430
1430
|
}
|
|
1431
|
-
function
|
|
1431
|
+
function W(e, t, n) {
|
|
1432
1432
|
var r = document.createElement(e);
|
|
1433
1433
|
return r.className = t || "", n && n.appendChild(r), r;
|
|
1434
1434
|
}
|
|
1435
|
-
function
|
|
1435
|
+
function G(e) {
|
|
1436
1436
|
var t = e.parentNode;
|
|
1437
1437
|
t && t.removeChild(e);
|
|
1438
1438
|
}
|
|
1439
|
-
function
|
|
1439
|
+
function vt(e) {
|
|
1440
1440
|
for (; e.firstChild;) e.removeChild(e.firstChild);
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function yt(e) {
|
|
1443
1443
|
var t = e.parentNode;
|
|
1444
1444
|
t && t.lastChild !== e && t.appendChild(e);
|
|
1445
1445
|
}
|
|
1446
|
-
function
|
|
1446
|
+
function bt(e) {
|
|
1447
1447
|
var t = e.parentNode;
|
|
1448
1448
|
t && t.firstChild !== e && t.insertBefore(e, t.firstChild);
|
|
1449
1449
|
}
|
|
1450
|
-
function
|
|
1450
|
+
function xt(e, t) {
|
|
1451
1451
|
if (e.classList !== void 0) return e.classList.contains(t);
|
|
1452
|
-
var n =
|
|
1452
|
+
var n = Ct(e);
|
|
1453
1453
|
return n.length > 0 && RegExp("(^|\\s)" + t + "(\\s|$)").test(n);
|
|
1454
1454
|
}
|
|
1455
|
-
function
|
|
1455
|
+
function K(e, t) {
|
|
1456
1456
|
if (e.classList !== void 0) for (var n = f(t), r = 0, i = n.length; r < i; r++) e.classList.add(n[r]);
|
|
1457
|
-
else if (!
|
|
1458
|
-
var a =
|
|
1459
|
-
|
|
1457
|
+
else if (!xt(e, t)) {
|
|
1458
|
+
var a = Ct(e);
|
|
1459
|
+
St(e, (a ? a + " " : "") + t);
|
|
1460
1460
|
}
|
|
1461
1461
|
}
|
|
1462
|
-
function
|
|
1463
|
-
e.classList === void 0 ?
|
|
1462
|
+
function q(e, t) {
|
|
1463
|
+
e.classList === void 0 ? St(e, d((" " + Ct(e) + " ").replace(" " + t + " ", " "))) : e.classList.remove(t);
|
|
1464
1464
|
}
|
|
1465
|
-
function
|
|
1465
|
+
function St(e, t) {
|
|
1466
1466
|
e.className.baseVal === void 0 ? e.className = t : e.className.baseVal = t;
|
|
1467
1467
|
}
|
|
1468
|
-
function
|
|
1468
|
+
function Ct(e) {
|
|
1469
1469
|
return e.correspondingElement && (e = e.correspondingElement), e.className.baseVal === void 0 ? e.className : e.className.baseVal;
|
|
1470
1470
|
}
|
|
1471
|
-
function
|
|
1472
|
-
"opacity" in e.style ? e.style.opacity = t : "filter" in e.style &&
|
|
1471
|
+
function wt(e, t) {
|
|
1472
|
+
"opacity" in e.style ? e.style.opacity = t : "filter" in e.style && Tt(e, t);
|
|
1473
1473
|
}
|
|
1474
|
-
function
|
|
1474
|
+
function Tt(e, t) {
|
|
1475
1475
|
var n = !1, r = "DXImageTransform.Microsoft.Alpha";
|
|
1476
1476
|
try {
|
|
1477
1477
|
n = e.filters.item(r);
|
|
@@ -1480,64 +1480,64 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1480
1480
|
}
|
|
1481
1481
|
t = Math.round(t * 100), n ? (n.Enabled = t !== 100, n.Opacity = t) : e.style.filter += " progid:" + r + "(opacity=" + t + ")";
|
|
1482
1482
|
}
|
|
1483
|
-
function
|
|
1483
|
+
function Et(e) {
|
|
1484
1484
|
for (var t = document.documentElement.style, n = 0; n < e.length; n++) if (e[n] in t) return e[n];
|
|
1485
1485
|
return !1;
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1487
|
+
function Dt(e, t, n) {
|
|
1488
1488
|
var r = t || new E(0, 0);
|
|
1489
|
-
e.style[
|
|
1489
|
+
e.style[pt] = (H.ie3d ? "translate(" + r.x + "px," + r.y + "px)" : "translate3d(" + r.x + "px," + r.y + "px,0)") + (n ? " scale(" + n + ")" : "");
|
|
1490
1490
|
}
|
|
1491
|
-
function
|
|
1492
|
-
e._leaflet_pos = t,
|
|
1491
|
+
function J(e, t) {
|
|
1492
|
+
e._leaflet_pos = t, H.any3d ? Dt(e, t) : (e.style.left = t.x + "px", e.style.top = t.y + "px");
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1494
|
+
function Ot(e) {
|
|
1495
1495
|
return e._leaflet_pos || new E(0, 0);
|
|
1496
1496
|
}
|
|
1497
|
-
var At, jt
|
|
1498
|
-
if ("onselectstart" in document)
|
|
1499
|
-
|
|
1500
|
-
},
|
|
1501
|
-
|
|
1497
|
+
var kt, At, jt;
|
|
1498
|
+
if ("onselectstart" in document) kt = function() {
|
|
1499
|
+
Y(window, "selectstart", Z);
|
|
1500
|
+
}, At = function() {
|
|
1501
|
+
X(window, "selectstart", Z);
|
|
1502
1502
|
};
|
|
1503
1503
|
else {
|
|
1504
|
-
var
|
|
1504
|
+
var Mt = Et([
|
|
1505
1505
|
"userSelect",
|
|
1506
1506
|
"WebkitUserSelect",
|
|
1507
1507
|
"OUserSelect",
|
|
1508
1508
|
"MozUserSelect",
|
|
1509
1509
|
"msUserSelect"
|
|
1510
1510
|
]);
|
|
1511
|
-
|
|
1512
|
-
if (
|
|
1511
|
+
kt = function() {
|
|
1512
|
+
if (Mt) {
|
|
1513
1513
|
var e = document.documentElement.style;
|
|
1514
|
-
|
|
1514
|
+
jt = e[Mt], e[Mt] = "none";
|
|
1515
1515
|
}
|
|
1516
|
-
},
|
|
1517
|
-
|
|
1516
|
+
}, At = function() {
|
|
1517
|
+
Mt && (document.documentElement.style[Mt] = jt, jt = void 0);
|
|
1518
1518
|
};
|
|
1519
1519
|
}
|
|
1520
|
-
function
|
|
1521
|
-
|
|
1520
|
+
function Nt() {
|
|
1521
|
+
Y(window, "dragstart", Z);
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1524
|
-
|
|
1523
|
+
function Pt() {
|
|
1524
|
+
X(window, "dragstart", Z);
|
|
1525
1525
|
}
|
|
1526
|
-
var
|
|
1527
|
-
function
|
|
1526
|
+
var Ft, It;
|
|
1527
|
+
function Lt(e) {
|
|
1528
1528
|
for (; e.tabIndex === -1;) e = e.parentNode;
|
|
1529
|
-
e.style && (
|
|
1529
|
+
e.style && (Rt(), Ft = e, It = e.style.outlineStyle, e.style.outlineStyle = "none", Y(window, "keydown", Rt));
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1532
|
-
|
|
1531
|
+
function Rt() {
|
|
1532
|
+
Ft && (Ft.style.outlineStyle = It, Ft = void 0, It = void 0, X(window, "keydown", Rt));
|
|
1533
1533
|
}
|
|
1534
|
-
function
|
|
1534
|
+
function zt(e) {
|
|
1535
1535
|
do
|
|
1536
1536
|
e = e.parentNode;
|
|
1537
1537
|
while ((!e.offsetWidth || !e.offsetHeight) && e !== document.body);
|
|
1538
1538
|
return e;
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1540
|
+
function Bt(e) {
|
|
1541
1541
|
var t = e.getBoundingClientRect();
|
|
1542
1542
|
return {
|
|
1543
1543
|
x: t.width / e.offsetWidth || 1,
|
|
@@ -1545,116 +1545,116 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1545
1545
|
boundingClientRect: t
|
|
1546
1546
|
};
|
|
1547
1547
|
}
|
|
1548
|
-
var
|
|
1548
|
+
var Vt = {
|
|
1549
1549
|
__proto__: null,
|
|
1550
|
-
TRANSFORM:
|
|
1551
|
-
TRANSITION:
|
|
1552
|
-
TRANSITION_END:
|
|
1553
|
-
get:
|
|
1554
|
-
getStyle:
|
|
1555
|
-
create:
|
|
1556
|
-
remove:
|
|
1557
|
-
empty:
|
|
1558
|
-
toFront:
|
|
1559
|
-
toBack:
|
|
1560
|
-
hasClass:
|
|
1561
|
-
addClass:
|
|
1562
|
-
removeClass:
|
|
1563
|
-
setClass:
|
|
1564
|
-
getClass:
|
|
1565
|
-
setOpacity:
|
|
1566
|
-
testProp:
|
|
1567
|
-
setTransform:
|
|
1568
|
-
setPosition:
|
|
1569
|
-
getPosition:
|
|
1550
|
+
TRANSFORM: pt,
|
|
1551
|
+
TRANSITION: mt,
|
|
1552
|
+
TRANSITION_END: ht,
|
|
1553
|
+
get: gt,
|
|
1554
|
+
getStyle: _t,
|
|
1555
|
+
create: W,
|
|
1556
|
+
remove: G,
|
|
1557
|
+
empty: vt,
|
|
1558
|
+
toFront: yt,
|
|
1559
|
+
toBack: bt,
|
|
1560
|
+
hasClass: xt,
|
|
1561
|
+
addClass: K,
|
|
1562
|
+
removeClass: q,
|
|
1563
|
+
setClass: St,
|
|
1564
|
+
getClass: Ct,
|
|
1565
|
+
setOpacity: wt,
|
|
1566
|
+
testProp: Et,
|
|
1567
|
+
setTransform: Dt,
|
|
1568
|
+
setPosition: J,
|
|
1569
|
+
getPosition: Ot,
|
|
1570
1570
|
get disableTextSelection() {
|
|
1571
|
-
return
|
|
1571
|
+
return kt;
|
|
1572
1572
|
},
|
|
1573
1573
|
get enableTextSelection() {
|
|
1574
|
-
return
|
|
1575
|
-
},
|
|
1576
|
-
disableImageDrag:
|
|
1577
|
-
enableImageDrag:
|
|
1578
|
-
preventOutline:
|
|
1579
|
-
restoreOutline:
|
|
1580
|
-
getSizedParentNode:
|
|
1581
|
-
getScale:
|
|
1574
|
+
return At;
|
|
1575
|
+
},
|
|
1576
|
+
disableImageDrag: Nt,
|
|
1577
|
+
enableImageDrag: Pt,
|
|
1578
|
+
preventOutline: Lt,
|
|
1579
|
+
restoreOutline: Rt,
|
|
1580
|
+
getSizedParentNode: zt,
|
|
1581
|
+
getScale: Bt
|
|
1582
1582
|
};
|
|
1583
|
-
function
|
|
1584
|
-
if (t && typeof t == "object") for (var i in t)
|
|
1583
|
+
function Y(e, t, n, r) {
|
|
1584
|
+
if (t && typeof t == "object") for (var i in t) Gt(e, i, t[i], n);
|
|
1585
1585
|
else {
|
|
1586
1586
|
t = f(t);
|
|
1587
|
-
for (var a = 0, o = t.length; a < o; a++)
|
|
1587
|
+
for (var a = 0, o = t.length; a < o; a++) Gt(e, t[a], n, r);
|
|
1588
1588
|
}
|
|
1589
1589
|
return this;
|
|
1590
1590
|
}
|
|
1591
|
-
var
|
|
1592
|
-
function
|
|
1593
|
-
if (arguments.length === 1)
|
|
1594
|
-
else if (t && typeof t == "object") for (var i in t)
|
|
1595
|
-
else if (t = f(t), arguments.length === 2)
|
|
1591
|
+
var Ht = "_leaflet_events";
|
|
1592
|
+
function X(e, t, n, r) {
|
|
1593
|
+
if (arguments.length === 1) Ut(e), delete e[Ht];
|
|
1594
|
+
else if (t && typeof t == "object") for (var i in t) Kt(e, i, t[i], n);
|
|
1595
|
+
else if (t = f(t), arguments.length === 2) Ut(e, function(e) {
|
|
1596
1596
|
return ee(t, e) !== -1;
|
|
1597
1597
|
});
|
|
1598
|
-
else for (var a = 0, o = t.length; a < o; a++)
|
|
1598
|
+
else for (var a = 0, o = t.length; a < o; a++) Kt(e, t[a], n, r);
|
|
1599
1599
|
return this;
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1602
|
-
for (var n in e[
|
|
1601
|
+
function Ut(e, t) {
|
|
1602
|
+
for (var n in e[Ht]) {
|
|
1603
1603
|
var r = n.split(/\d/)[0];
|
|
1604
|
-
(!t || t(r)) &&
|
|
1604
|
+
(!t || t(r)) && Kt(e, r, null, null, n);
|
|
1605
1605
|
}
|
|
1606
1606
|
}
|
|
1607
|
-
var
|
|
1607
|
+
var Wt = {
|
|
1608
1608
|
mouseenter: "mouseover",
|
|
1609
1609
|
mouseleave: "mouseout",
|
|
1610
1610
|
wheel: !("onwheel" in window) && "mousewheel"
|
|
1611
1611
|
};
|
|
1612
|
-
function
|
|
1612
|
+
function Gt(e, t, n, r) {
|
|
1613
1613
|
var i = t + o(n) + (r ? "_" + o(r) : "");
|
|
1614
|
-
if (e[
|
|
1614
|
+
if (e[Ht] && e[Ht][i]) return this;
|
|
1615
1615
|
var a = function(t) {
|
|
1616
1616
|
return n.call(r || e, t || window.event);
|
|
1617
1617
|
}, s = a;
|
|
1618
|
-
!
|
|
1619
|
-
t ||= window.event,
|
|
1620
|
-
}, e.addEventListener(
|
|
1618
|
+
!H.touchNative && H.pointer && t.indexOf("touch") === 0 ? a = tt(e, t, a) : H.touch && t === "dblclick" ? a = dt(e, a) : "addEventListener" in e ? t === "touchstart" || t === "touchmove" || t === "wheel" || t === "mousewheel" ? e.addEventListener(Wt[t] || t, a, H.passiveEvents ? { passive: !1 } : !1) : t === "mouseenter" || t === "mouseleave" ? (a = function(t) {
|
|
1619
|
+
t ||= window.event, tn(e, t) && s(t);
|
|
1620
|
+
}, e.addEventListener(Wt[t], a, !1)) : e.addEventListener(t, s, !1) : e.attachEvent("on" + t, a), e[Ht] = e[Ht] || {}, e[Ht][i] = a;
|
|
1621
1621
|
}
|
|
1622
|
-
function
|
|
1622
|
+
function Kt(e, t, n, r, i) {
|
|
1623
1623
|
i ||= t + o(n) + (r ? "_" + o(r) : "");
|
|
1624
|
-
var a = e[
|
|
1624
|
+
var a = e[Ht] && e[Ht][i];
|
|
1625
1625
|
if (!a) return this;
|
|
1626
|
-
!
|
|
1626
|
+
!H.touchNative && H.pointer && t.indexOf("touch") === 0 ? nt(e, t, a) : H.touch && t === "dblclick" ? ft(e, a) : "removeEventListener" in e ? e.removeEventListener(Wt[t] || t, a, !1) : e.detachEvent("on" + t, a), e[Ht][i] = null;
|
|
1627
1627
|
}
|
|
1628
|
-
function
|
|
1628
|
+
function qt(e) {
|
|
1629
1629
|
return e.stopPropagation ? e.stopPropagation() : e.originalEvent ? e.originalEvent._stopped = !0 : e.cancelBubble = !0, this;
|
|
1630
1630
|
}
|
|
1631
|
-
function
|
|
1632
|
-
return
|
|
1631
|
+
function Jt(e) {
|
|
1632
|
+
return Gt(e, "wheel", qt), this;
|
|
1633
1633
|
}
|
|
1634
|
-
function
|
|
1635
|
-
return
|
|
1634
|
+
function Yt(e) {
|
|
1635
|
+
return Y(e, "mousedown touchstart dblclick contextmenu", qt), e._leaflet_disable_click = !0, this;
|
|
1636
1636
|
}
|
|
1637
|
-
function
|
|
1637
|
+
function Z(e) {
|
|
1638
1638
|
return e.preventDefault ? e.preventDefault() : e.returnValue = !1, this;
|
|
1639
1639
|
}
|
|
1640
|
-
function
|
|
1641
|
-
return
|
|
1640
|
+
function Xt(e) {
|
|
1641
|
+
return Z(e), qt(e), this;
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
1643
|
+
function Zt(e) {
|
|
1644
1644
|
if (e.composedPath) return e.composedPath();
|
|
1645
1645
|
for (var t = [], n = e.target; n;) t.push(n), n = n.parentNode;
|
|
1646
1646
|
return t;
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1648
|
+
function Qt(e, t) {
|
|
1649
1649
|
if (!t) return new E(e.clientX, e.clientY);
|
|
1650
|
-
var n =
|
|
1650
|
+
var n = Bt(t), r = n.boundingClientRect;
|
|
1651
1651
|
return new E((e.clientX - r.left) / n.x - t.clientLeft, (e.clientY - r.top) / n.y - t.clientTop);
|
|
1652
1652
|
}
|
|
1653
|
-
var
|
|
1654
|
-
function
|
|
1655
|
-
return
|
|
1653
|
+
var $t = H.linux && H.chrome ? window.devicePixelRatio : H.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
|
|
1654
|
+
function en(e) {
|
|
1655
|
+
return H.edge ? e.wheelDeltaY / 2 : e.deltaY && e.deltaMode === 0 ? -e.deltaY / $t : e.deltaY && e.deltaMode === 1 ? -e.deltaY * 20 : e.deltaY && e.deltaMode === 2 ? -e.deltaY * 60 : e.deltaX || e.deltaZ ? 0 : e.wheelDelta ? (e.wheelDeltaY || e.wheelDelta) / 2 : e.detail && Math.abs(e.detail) < 32765 ? -e.detail * 20 : e.detail ? e.detail / -32765 * 60 : 0;
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1657
|
+
function tn(e, t) {
|
|
1658
1658
|
var n = t.relatedTarget;
|
|
1659
1659
|
if (!n) return !0;
|
|
1660
1660
|
try {
|
|
@@ -1664,24 +1664,24 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1664
1664
|
}
|
|
1665
1665
|
return n !== e;
|
|
1666
1666
|
}
|
|
1667
|
-
var
|
|
1667
|
+
var nn = {
|
|
1668
1668
|
__proto__: null,
|
|
1669
|
-
on:
|
|
1670
|
-
off:
|
|
1671
|
-
stopPropagation:
|
|
1672
|
-
disableScrollPropagation:
|
|
1673
|
-
disableClickPropagation:
|
|
1674
|
-
preventDefault:
|
|
1675
|
-
stop:
|
|
1676
|
-
getPropagationPath:
|
|
1677
|
-
getMousePosition:
|
|
1678
|
-
getWheelDelta:
|
|
1679
|
-
isExternalTarget:
|
|
1680
|
-
addListener:
|
|
1681
|
-
removeListener:
|
|
1682
|
-
},
|
|
1669
|
+
on: Y,
|
|
1670
|
+
off: X,
|
|
1671
|
+
stopPropagation: qt,
|
|
1672
|
+
disableScrollPropagation: Jt,
|
|
1673
|
+
disableClickPropagation: Yt,
|
|
1674
|
+
preventDefault: Z,
|
|
1675
|
+
stop: Xt,
|
|
1676
|
+
getPropagationPath: Zt,
|
|
1677
|
+
getMousePosition: Qt,
|
|
1678
|
+
getWheelDelta: en,
|
|
1679
|
+
isExternalTarget: tn,
|
|
1680
|
+
addListener: Y,
|
|
1681
|
+
removeListener: X
|
|
1682
|
+
}, rn = T.extend({
|
|
1683
1683
|
run: function(e, t, n, r) {
|
|
1684
|
-
this.stop(), this._el = e, this._inProgress = !0, this._duration = n || .25, this._easeOutPower = 1 / Math.max(r || .5, .2), this._startPos =
|
|
1684
|
+
this.stop(), this._el = e, this._inProgress = !0, this._duration = n || .25, this._easeOutPower = 1 / Math.max(r || .5, .2), this._startPos = Ot(e), this._offset = t.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
|
|
1685
1685
|
},
|
|
1686
1686
|
stop: function() {
|
|
1687
1687
|
this._inProgress && (this._step(!0), this._complete());
|
|
@@ -1695,7 +1695,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1695
1695
|
},
|
|
1696
1696
|
_runFrame: function(e, t) {
|
|
1697
1697
|
var n = this._startPos.add(this._offset.multiplyBy(e));
|
|
1698
|
-
t && n._round(),
|
|
1698
|
+
t && n._round(), J(this._el, n), this.fire("step");
|
|
1699
1699
|
},
|
|
1700
1700
|
_complete: function() {
|
|
1701
1701
|
S(this._animId), this._inProgress = !1, this.fire("end");
|
|
@@ -1703,7 +1703,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1703
1703
|
_easeOut: function(e) {
|
|
1704
1704
|
return 1 - (1 - e) ** this._easeOutPower;
|
|
1705
1705
|
}
|
|
1706
|
-
}),
|
|
1706
|
+
}), Q = T.extend({
|
|
1707
1707
|
options: {
|
|
1708
1708
|
crs: ce,
|
|
1709
1709
|
center: void 0,
|
|
@@ -1723,7 +1723,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1723
1723
|
trackResize: !0
|
|
1724
1724
|
},
|
|
1725
1725
|
initialize: function(e, t) {
|
|
1726
|
-
t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(P(t.center), t.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated =
|
|
1726
|
+
t = p(this, t), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(e), this._initLayout(), this._onResize = i(this._onResize, this), this._initEvents(), t.maxBounds && this.setMaxBounds(t.maxBounds), t.zoom !== void 0 && (this._zoom = this._limitZoom(t.zoom)), t.center && t.zoom !== void 0 && this.setView(P(t.center), t.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = mt && H.any3d && !H.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), Y(this._proxy, ht, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
|
|
1727
1727
|
},
|
|
1728
1728
|
setView: function(e, t, r) {
|
|
1729
1729
|
return t = t === void 0 ? this._zoom : this._limitZoom(t), e = this._limitCenter(P(e), t, this.options.maxBounds), r ||= {}, this._stop(), this._loaded && !r.reset && r !== !0 && (r.animate !== void 0 && (r.zoom = n({ animate: r.animate }, r.zoom), r.pan = n({
|
|
@@ -1735,10 +1735,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1735
1735
|
return this._loaded ? this.setView(this.getCenter(), e, { zoom: t }) : (this._zoom = e, this);
|
|
1736
1736
|
},
|
|
1737
1737
|
zoomIn: function(e, t) {
|
|
1738
|
-
return e ||=
|
|
1738
|
+
return e ||= H.any3d ? this.options.zoomDelta : 1, this.setZoom(this._zoom + e, t);
|
|
1739
1739
|
},
|
|
1740
1740
|
zoomOut: function(e, t) {
|
|
1741
|
-
return e ||=
|
|
1741
|
+
return e ||= H.any3d ? this.options.zoomDelta : 1, this.setZoom(this._zoom - e, t);
|
|
1742
1742
|
},
|
|
1743
1743
|
setZoomAround: function(e, t, n) {
|
|
1744
1744
|
var r = this.getZoomScale(t), i = this.getSize().divideBy(2), a = (e instanceof E ? e : this.latLngToContainerPoint(e)).subtract(i).multiplyBy(1 - 1 / r), o = this.containerPointToLatLng(i.add(a));
|
|
@@ -1771,18 +1771,18 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1771
1771
|
panBy: function(e, t) {
|
|
1772
1772
|
if (e = O(e).round(), t ||= {}, !e.x && !e.y) return this.fire("moveend");
|
|
1773
1773
|
if (t.animate !== !0 && !this.getSize().contains(e)) return this._resetView(this.unproject(this.project(this.getCenter()).add(e)), this.getZoom()), this;
|
|
1774
|
-
if (this._panAnim || (this._panAnim = new
|
|
1774
|
+
if (this._panAnim || (this._panAnim = new rn(), this._panAnim.on({
|
|
1775
1775
|
step: this._onPanTransitionStep,
|
|
1776
1776
|
end: this._onPanTransitionEnd
|
|
1777
1777
|
}, this)), t.noMoveStart || this.fire("movestart"), t.animate !== !1) {
|
|
1778
|
-
|
|
1778
|
+
K(this._mapPane, "leaflet-pan-anim");
|
|
1779
1779
|
var n = this._getMapPanePos().subtract(e).round();
|
|
1780
1780
|
this._panAnim.run(this._mapPane, n, t.duration || .25, t.easeLinearity);
|
|
1781
1781
|
} else this._rawPanBy(e), this.fire("move").fire("moveend");
|
|
1782
1782
|
return this;
|
|
1783
1783
|
},
|
|
1784
1784
|
flyTo: function(e, t, n) {
|
|
1785
|
-
if (n ||= {}, n.animate === !1 || !
|
|
1785
|
+
if (n ||= {}, n.animate === !1 || !H.any3d) return this.setView(e, t, n);
|
|
1786
1786
|
this._stop();
|
|
1787
1787
|
var r = this.project(this.getCenter()), i = this.project(e), a = this.getSize(), o = this._zoom;
|
|
1788
1788
|
e = P(e), t = t === void 0 ? o : t;
|
|
@@ -1915,12 +1915,12 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1915
1915
|
} catch {
|
|
1916
1916
|
this._container._leaflet_id = void 0, this._containerId = void 0;
|
|
1917
1917
|
}
|
|
1918
|
-
for (var e in this._locationWatchId !== void 0 && this.stopLocate(), this._stop(),
|
|
1919
|
-
for (e in this._panes)
|
|
1918
|
+
for (var e in this._locationWatchId !== void 0 && this.stopLocate(), this._stop(), G(this._mapPane), this._clearControlPos && this._clearControlPos(), this._resizeRequest &&= (S(this._resizeRequest), null), this._clearHandlers(), this._loaded && this.fire("unload"), this._layers) this._layers[e].remove();
|
|
1919
|
+
for (e in this._panes) G(this._panes[e]);
|
|
1920
1920
|
return this._layers = [], this._panes = [], delete this._mapPane, delete this._renderer, this;
|
|
1921
1921
|
},
|
|
1922
1922
|
createPane: function(e, t) {
|
|
1923
|
-
var n =
|
|
1923
|
+
var n = W("div", "leaflet-pane" + (e ? " leaflet-" + e.replace("Pane", "") + "-pane" : ""), t || this._mapPane);
|
|
1924
1924
|
return e && (this._panes[e] = n), n;
|
|
1925
1925
|
},
|
|
1926
1926
|
getCenter: function() {
|
|
@@ -1941,7 +1941,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
1941
1941
|
},
|
|
1942
1942
|
getBoundsZoom: function(e, t, n) {
|
|
1943
1943
|
e = M(e), n = O(n || [0, 0]);
|
|
1944
|
-
var r = this.getZoom() || 0, i = this.getMinZoom(), a = this.getMaxZoom(), o = e.getNorthWest(), s = e.getSouthEast(), c = this.getSize().subtract(n), l = A(this.project(s, r), this.project(o, r)).getSize(), u =
|
|
1944
|
+
var r = this.getZoom() || 0, i = this.getMinZoom(), a = this.getMaxZoom(), o = e.getNorthWest(), s = e.getSouthEast(), c = this.getSize().subtract(n), l = A(this.project(s, r), this.project(o, r)).getSize(), u = H.any3d ? this.options.zoomSnap : 1, d = c.x / l.x, f = c.y / l.y, p = t ? Math.max(d, f) : Math.min(d, f);
|
|
1945
1945
|
return r = this.getScaleZoom(p, r), u && (r = Math.round(r / (u / 100)) * (u / 100), r = t ? Math.ceil(r / u) * u : Math.floor(r / u) * u), Math.max(i, Math.min(a, r));
|
|
1946
1946
|
},
|
|
1947
1947
|
getSize: function() {
|
|
@@ -2012,7 +2012,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2012
2012
|
return this.layerPointToContainerPoint(this.latLngToLayerPoint(P(e)));
|
|
2013
2013
|
},
|
|
2014
2014
|
mouseEventToContainerPoint: function(e) {
|
|
2015
|
-
return
|
|
2015
|
+
return Qt(e, this._container);
|
|
2016
2016
|
},
|
|
2017
2017
|
mouseEventToLayerPoint: function(e) {
|
|
2018
2018
|
return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e));
|
|
@@ -2021,23 +2021,23 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2021
2021
|
return this.layerPointToLatLng(this.mouseEventToLayerPoint(e));
|
|
2022
2022
|
},
|
|
2023
2023
|
_initContainer: function(e) {
|
|
2024
|
-
var t = this._container =
|
|
2024
|
+
var t = this._container = gt(e);
|
|
2025
2025
|
if (!t) throw Error("Map container not found.");
|
|
2026
2026
|
if (t._leaflet_id) throw Error("Map container is already initialized.");
|
|
2027
|
-
|
|
2027
|
+
Y(t, "scroll", this._onScroll, this), this._containerId = o(t);
|
|
2028
2028
|
},
|
|
2029
2029
|
_initLayout: function() {
|
|
2030
2030
|
var e = this._container;
|
|
2031
|
-
this._fadeAnimated = this.options.fadeAnimation &&
|
|
2032
|
-
var t =
|
|
2031
|
+
this._fadeAnimated = this.options.fadeAnimation && H.any3d, K(e, "leaflet-container" + (H.touch ? " leaflet-touch" : "") + (H.retina ? " leaflet-retina" : "") + (H.ielt9 ? " leaflet-oldie" : "") + (H.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
|
|
2032
|
+
var t = _t(e, "position");
|
|
2033
2033
|
t !== "absolute" && t !== "relative" && t !== "fixed" && t !== "sticky" && (e.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
|
|
2034
2034
|
},
|
|
2035
2035
|
_initPanes: function() {
|
|
2036
2036
|
var e = this._panes = {};
|
|
2037
|
-
this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container),
|
|
2037
|
+
this._paneRenderers = {}, this._mapPane = this.createPane("mapPane", this._container), J(this._mapPane, new E(0, 0)), this.createPane("tilePane"), this.createPane("overlayPane"), this.createPane("shadowPane"), this.createPane("markerPane"), this.createPane("tooltipPane"), this.createPane("popupPane"), this.options.markerZoomAnimation || (K(e.markerPane, "leaflet-zoom-hide"), K(e.shadowPane, "leaflet-zoom-hide"));
|
|
2038
2038
|
},
|
|
2039
2039
|
_resetView: function(e, t, n) {
|
|
2040
|
-
|
|
2040
|
+
J(this._mapPane, new E(0, 0));
|
|
2041
2041
|
var r = !this._loaded;
|
|
2042
2042
|
this._loaded = !0, t = this._limitZoom(t), this.fire("viewprereset");
|
|
2043
2043
|
var i = this._zoom !== t;
|
|
@@ -2058,7 +2058,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2058
2058
|
return S(this._flyToFrame), this._panAnim && this._panAnim.stop(), this;
|
|
2059
2059
|
},
|
|
2060
2060
|
_rawPanBy: function(e) {
|
|
2061
|
-
|
|
2061
|
+
J(this._mapPane, this._getMapPanePos().subtract(e));
|
|
2062
2062
|
},
|
|
2063
2063
|
_getZoomSpan: function() {
|
|
2064
2064
|
return this.getMaxZoom() - this.getMinZoom();
|
|
@@ -2071,8 +2071,8 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2071
2071
|
},
|
|
2072
2072
|
_initEvents: function(e) {
|
|
2073
2073
|
this._targets = {}, this._targets[o(this._container)] = this;
|
|
2074
|
-
var t = e ?
|
|
2075
|
-
t(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && t(window, "resize", this._onResize, this),
|
|
2074
|
+
var t = e ? X : Y;
|
|
2075
|
+
t(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && t(window, "resize", this._onResize, this), H.any3d && this.options.transform3DLimit && (e ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
|
|
2076
2076
|
},
|
|
2077
2077
|
_onResize: function() {
|
|
2078
2078
|
S(this._resizeRequest), this._resizeRequest = x(function() {
|
|
@@ -2092,7 +2092,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2092
2092
|
s = !0;
|
|
2093
2093
|
break;
|
|
2094
2094
|
}
|
|
2095
|
-
if (r && r.listens(t, !0) && (i && !
|
|
2095
|
+
if (r && r.listens(t, !0) && (i && !tn(a, e) || (n.push(r), i)) || a === this._container) break;
|
|
2096
2096
|
a = a.parentNode;
|
|
2097
2097
|
}
|
|
2098
2098
|
return !n.length && !s && !i && this.listens(t, !0) && (n = [this]), n;
|
|
@@ -2107,7 +2107,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2107
2107
|
var t = e.target || e.srcElement;
|
|
2108
2108
|
if (!(!this._loaded || t._leaflet_disable_events || e.type === "click" && this._isClickDisabled(t))) {
|
|
2109
2109
|
var n = e.type;
|
|
2110
|
-
n === "mousedown" &&
|
|
2110
|
+
n === "mousedown" && Lt(t), this._fireDOMEvent(e, n);
|
|
2111
2111
|
}
|
|
2112
2112
|
},
|
|
2113
2113
|
_mouseEvents: [
|
|
@@ -2128,7 +2128,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2128
2128
|
a = o.concat(a);
|
|
2129
2129
|
}
|
|
2130
2130
|
if (a.length) {
|
|
2131
|
-
t === "contextmenu" &&
|
|
2131
|
+
t === "contextmenu" && Z(e);
|
|
2132
2132
|
var c = a[0], l = { originalEvent: e };
|
|
2133
2133
|
if (e.type !== "keypress" && e.type !== "keydown" && e.type !== "keyup") {
|
|
2134
2134
|
var u = c.getLatLng && (!c._radius || c._radius <= 10);
|
|
@@ -2147,7 +2147,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2147
2147
|
return this._loaded ? e.call(t || this, { target: this }) : this.on("load", e, t), this;
|
|
2148
2148
|
},
|
|
2149
2149
|
_getMapPanePos: function() {
|
|
2150
|
-
return
|
|
2150
|
+
return Ot(this._mapPane) || new E(0, 0);
|
|
2151
2151
|
},
|
|
2152
2152
|
_moved: function() {
|
|
2153
2153
|
var e = this._getMapPanePos();
|
|
@@ -2197,32 +2197,32 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2197
2197
|
return e + t > 0 ? Math.round(e - t) / 2 : Math.max(0, Math.ceil(e)) - Math.max(0, Math.floor(t));
|
|
2198
2198
|
},
|
|
2199
2199
|
_limitZoom: function(e) {
|
|
2200
|
-
var t = this.getMinZoom(), n = this.getMaxZoom(), r =
|
|
2200
|
+
var t = this.getMinZoom(), n = this.getMaxZoom(), r = H.any3d ? this.options.zoomSnap : 1;
|
|
2201
2201
|
return r && (e = Math.round(e / r) * r), Math.max(t, Math.min(n, e));
|
|
2202
2202
|
},
|
|
2203
2203
|
_onPanTransitionStep: function() {
|
|
2204
2204
|
this.fire("move");
|
|
2205
2205
|
},
|
|
2206
2206
|
_onPanTransitionEnd: function() {
|
|
2207
|
-
|
|
2207
|
+
q(this._mapPane, "leaflet-pan-anim"), this.fire("moveend");
|
|
2208
2208
|
},
|
|
2209
2209
|
_tryAnimatedPan: function(e, t) {
|
|
2210
2210
|
var n = this._getCenterOffset(e)._trunc();
|
|
2211
2211
|
return (t && t.animate) !== !0 && !this.getSize().contains(n) ? !1 : (this.panBy(n, t), !0);
|
|
2212
2212
|
},
|
|
2213
2213
|
_createAnimProxy: function() {
|
|
2214
|
-
var e = this._proxy =
|
|
2214
|
+
var e = this._proxy = W("div", "leaflet-proxy leaflet-zoom-animated");
|
|
2215
2215
|
this._panes.mapPane.appendChild(e), this.on("zoomanim", function(e) {
|
|
2216
|
-
var t =
|
|
2217
|
-
|
|
2216
|
+
var t = pt, n = this._proxy.style[t];
|
|
2217
|
+
Dt(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[t] && this._animatingZoom && this._onZoomTransitionEnd();
|
|
2218
2218
|
}, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
|
|
2219
2219
|
},
|
|
2220
2220
|
_destroyAnimProxy: function() {
|
|
2221
|
-
|
|
2221
|
+
G(this._proxy), this.off("load moveend", this._animMoveEnd, this), delete this._proxy;
|
|
2222
2222
|
},
|
|
2223
2223
|
_animMoveEnd: function() {
|
|
2224
2224
|
var e = this.getCenter(), t = this.getZoom();
|
|
2225
|
-
|
|
2225
|
+
Dt(this._proxy, this.project(e, t), this.getZoomScale(t, 1));
|
|
2226
2226
|
},
|
|
2227
2227
|
_catchTransitionEnd: function(e) {
|
|
2228
2228
|
this._animatingZoom && e.propertyName.indexOf("transform") >= 0 && this._onZoomTransitionEnd();
|
|
@@ -2239,20 +2239,20 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2239
2239
|
}, this), !0);
|
|
2240
2240
|
},
|
|
2241
2241
|
_animateZoom: function(e, t, n, r) {
|
|
2242
|
-
this._mapPane && (n && (this._animatingZoom = !0, this._animateToCenter = e, this._animateToZoom = t,
|
|
2242
|
+
this._mapPane && (n && (this._animatingZoom = !0, this._animateToCenter = e, this._animateToZoom = t, K(this._mapPane, "leaflet-zoom-anim")), this.fire("zoomanim", {
|
|
2243
2243
|
center: e,
|
|
2244
2244
|
zoom: t,
|
|
2245
2245
|
noUpdate: r
|
|
2246
2246
|
}), this._tempFireZoomEvent ||= this._zoom !== this._animateToZoom, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), setTimeout(i(this._onZoomTransitionEnd, this), 250));
|
|
2247
2247
|
},
|
|
2248
2248
|
_onZoomTransitionEnd: function() {
|
|
2249
|
-
this._animatingZoom && (this._mapPane &&
|
|
2249
|
+
this._animatingZoom && (this._mapPane && q(this._mapPane, "leaflet-zoom-anim"), this._animatingZoom = !1, this._move(this._animateToCenter, this._animateToZoom, void 0, !0), this._tempFireZoomEvent && this.fire("zoom"), delete this._tempFireZoomEvent, this.fire("move"), this._moveEnd(!0));
|
|
2250
2250
|
}
|
|
2251
2251
|
});
|
|
2252
|
-
function
|
|
2253
|
-
return new
|
|
2252
|
+
function an(e, t) {
|
|
2253
|
+
return new Q(e, t);
|
|
2254
2254
|
}
|
|
2255
|
-
var
|
|
2255
|
+
var on = ae.extend({
|
|
2256
2256
|
options: { position: "topright" },
|
|
2257
2257
|
initialize: function(e) {
|
|
2258
2258
|
p(this, e);
|
|
@@ -2270,18 +2270,18 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2270
2270
|
addTo: function(e) {
|
|
2271
2271
|
this.remove(), this._map = e;
|
|
2272
2272
|
var t = this._container = this.onAdd(e), n = this.getPosition(), r = e._controlCorners[n];
|
|
2273
|
-
return
|
|
2273
|
+
return K(t, "leaflet-control"), n.indexOf("bottom") === -1 ? r.appendChild(t) : r.insertBefore(t, r.firstChild), this._map.on("unload", this.remove, this), this;
|
|
2274
2274
|
},
|
|
2275
2275
|
remove: function() {
|
|
2276
|
-
return this._map &&= (
|
|
2276
|
+
return this._map &&= (G(this._container), this.onRemove && this.onRemove(this._map), this._map.off("unload", this.remove, this), null), this;
|
|
2277
2277
|
},
|
|
2278
2278
|
_refocusOnMap: function(e) {
|
|
2279
2279
|
this._map && e && e.screenX > 0 && e.screenY > 0 && this._map.getContainer().focus();
|
|
2280
2280
|
}
|
|
2281
|
-
}),
|
|
2282
|
-
return new
|
|
2281
|
+
}), sn = function(e) {
|
|
2282
|
+
return new on(e);
|
|
2283
2283
|
};
|
|
2284
|
-
|
|
2284
|
+
Q.include({
|
|
2285
2285
|
addControl: function(e) {
|
|
2286
2286
|
return e.addTo(this), this;
|
|
2287
2287
|
},
|
|
@@ -2289,19 +2289,19 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2289
2289
|
return e.remove(), this;
|
|
2290
2290
|
},
|
|
2291
2291
|
_initControlPos: function() {
|
|
2292
|
-
var e = this._controlCorners = {}, t = "leaflet-", n = this._controlContainer =
|
|
2292
|
+
var e = this._controlCorners = {}, t = "leaflet-", n = this._controlContainer = W("div", t + "control-container", this._container);
|
|
2293
2293
|
function r(r, i) {
|
|
2294
2294
|
var a = t + r + " " + t + i;
|
|
2295
|
-
e[r + i] =
|
|
2295
|
+
e[r + i] = W("div", a, n);
|
|
2296
2296
|
}
|
|
2297
2297
|
r("top", "left"), r("top", "right"), r("bottom", "left"), r("bottom", "right");
|
|
2298
2298
|
},
|
|
2299
2299
|
_clearControlPos: function() {
|
|
2300
|
-
for (var e in this._controlCorners)
|
|
2301
|
-
|
|
2300
|
+
for (var e in this._controlCorners) G(this._controlCorners[e]);
|
|
2301
|
+
G(this._controlContainer), delete this._controlCorners, delete this._controlContainer;
|
|
2302
2302
|
}
|
|
2303
2303
|
});
|
|
2304
|
-
var
|
|
2304
|
+
var cn = on.extend({
|
|
2305
2305
|
options: {
|
|
2306
2306
|
collapsed: !0,
|
|
2307
2307
|
position: "topright",
|
|
@@ -2322,7 +2322,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2322
2322
|
return this._container;
|
|
2323
2323
|
},
|
|
2324
2324
|
addTo: function(e) {
|
|
2325
|
-
return
|
|
2325
|
+
return on.prototype.addTo.call(this, e), this._expandIfNotCollapsed();
|
|
2326
2326
|
},
|
|
2327
2327
|
onRemove: function() {
|
|
2328
2328
|
this._map.off("zoomend", this._checkDisabledLayers, this);
|
|
@@ -2340,30 +2340,30 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2340
2340
|
return t && this._layers.splice(this._layers.indexOf(t), 1), this._map ? this._update() : this;
|
|
2341
2341
|
},
|
|
2342
2342
|
expand: function() {
|
|
2343
|
-
|
|
2343
|
+
K(this._container, "leaflet-control-layers-expanded"), this._section.style.height = null;
|
|
2344
2344
|
var e = this._map.getSize().y - (this._container.offsetTop + 50);
|
|
2345
|
-
return e < this._section.clientHeight ? (
|
|
2345
|
+
return e < this._section.clientHeight ? (K(this._section, "leaflet-control-layers-scrollbar"), this._section.style.height = e + "px") : q(this._section, "leaflet-control-layers-scrollbar"), this._checkDisabledLayers(), this;
|
|
2346
2346
|
},
|
|
2347
2347
|
collapse: function() {
|
|
2348
|
-
return
|
|
2348
|
+
return q(this._container, "leaflet-control-layers-expanded"), this;
|
|
2349
2349
|
},
|
|
2350
2350
|
_initLayout: function() {
|
|
2351
|
-
var e = "leaflet-control-layers", t = this._container =
|
|
2352
|
-
t.setAttribute("aria-haspopup", !0),
|
|
2353
|
-
var r = this._section =
|
|
2354
|
-
n && (this._map.on("click", this.collapse, this),
|
|
2351
|
+
var e = "leaflet-control-layers", t = this._container = W("div", e), n = this.options.collapsed;
|
|
2352
|
+
t.setAttribute("aria-haspopup", !0), Yt(t), Jt(t);
|
|
2353
|
+
var r = this._section = W("section", e + "-list");
|
|
2354
|
+
n && (this._map.on("click", this.collapse, this), Y(t, {
|
|
2355
2355
|
mouseenter: this._expandSafely,
|
|
2356
2356
|
mouseleave: this.collapse
|
|
2357
2357
|
}, this));
|
|
2358
|
-
var i = this._layersLink =
|
|
2359
|
-
i.href = "#", i.title = "Layers", i.setAttribute("role", "button"),
|
|
2358
|
+
var i = this._layersLink = W("a", e + "-toggle", t);
|
|
2359
|
+
i.href = "#", i.title = "Layers", i.setAttribute("role", "button"), Y(i, {
|
|
2360
2360
|
keydown: function(e) {
|
|
2361
2361
|
e.keyCode === 13 && this._expandSafely();
|
|
2362
2362
|
},
|
|
2363
2363
|
click: function(e) {
|
|
2364
|
-
|
|
2364
|
+
Z(e), this._expandSafely();
|
|
2365
2365
|
}
|
|
2366
|
-
}, this), n || this.expand(), this._baseLayersList =
|
|
2366
|
+
}, this), n || this.expand(), this._baseLayersList = W("div", e + "-base", r), this._separator = W("div", e + "-separator", r), this._overlaysList = W("div", e + "-overlays", r), t.appendChild(r);
|
|
2367
2367
|
},
|
|
2368
2368
|
_getLayer: function(e) {
|
|
2369
2369
|
for (var t = 0; t < this._layers.length; t++) if (this._layers[t] && o(this._layers[t].layer) === e) return this._layers[t];
|
|
@@ -2379,7 +2379,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2379
2379
|
},
|
|
2380
2380
|
_update: function() {
|
|
2381
2381
|
if (!this._container) return this;
|
|
2382
|
-
|
|
2382
|
+
vt(this._baseLayersList), vt(this._overlaysList), this._layerControlInputs = [];
|
|
2383
2383
|
var e, t, n, r, i = 0;
|
|
2384
2384
|
for (n = 0; n < this._layers.length; n++) r = this._layers[n], this._addItem(r), t ||= r.overlay, e ||= !r.overlay, i += +!r.overlay;
|
|
2385
2385
|
return this.options.hideSingleBase && (e &&= i > 1, this._baseLayersList.style.display = e ? "" : "none"), this._separator.style.display = t && e ? "" : "none", this;
|
|
@@ -2395,7 +2395,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2395
2395
|
},
|
|
2396
2396
|
_addItem: function(e) {
|
|
2397
2397
|
var t = document.createElement("label"), n = this._map.hasLayer(e.layer), r;
|
|
2398
|
-
e.overlay ? (r = document.createElement("input"), r.type = "checkbox", r.className = "leaflet-control-layers-selector", r.defaultChecked = n) : r = this._createRadioElement("leaflet-base-layers_" + o(this), n), this._layerControlInputs.push(r), r.layerId = o(e.layer),
|
|
2398
|
+
e.overlay ? (r = document.createElement("input"), r.type = "checkbox", r.className = "leaflet-control-layers-selector", r.defaultChecked = n) : r = this._createRadioElement("leaflet-base-layers_" + o(this), n), this._layerControlInputs.push(r), r.layerId = o(e.layer), Y(r, "click", this._onInputClick, this);
|
|
2399
2399
|
var i = document.createElement("span");
|
|
2400
2400
|
i.innerHTML = " " + e.name;
|
|
2401
2401
|
var a = document.createElement("span");
|
|
@@ -2419,15 +2419,15 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2419
2419
|
},
|
|
2420
2420
|
_expandSafely: function() {
|
|
2421
2421
|
var e = this._section;
|
|
2422
|
-
this._preventClick = !0,
|
|
2422
|
+
this._preventClick = !0, Y(e, "click", Z), this.expand();
|
|
2423
2423
|
var t = this;
|
|
2424
2424
|
setTimeout(function() {
|
|
2425
|
-
|
|
2425
|
+
X(e, "click", Z), t._preventClick = !1;
|
|
2426
2426
|
});
|
|
2427
2427
|
}
|
|
2428
|
-
}),
|
|
2429
|
-
return new
|
|
2430
|
-
},
|
|
2428
|
+
}), ln = function(e, t, n) {
|
|
2429
|
+
return new cn(e, t, n);
|
|
2430
|
+
}, un = on.extend({
|
|
2431
2431
|
options: {
|
|
2432
2432
|
position: "topleft",
|
|
2433
2433
|
zoomInText: "<span aria-hidden=\"true\">+</span>",
|
|
@@ -2436,7 +2436,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2436
2436
|
zoomOutTitle: "Zoom out"
|
|
2437
2437
|
},
|
|
2438
2438
|
onAdd: function(e) {
|
|
2439
|
-
var t = "leaflet-control-zoom", n =
|
|
2439
|
+
var t = "leaflet-control-zoom", n = W("div", t + " leaflet-bar"), r = this.options;
|
|
2440
2440
|
return this._zoomInButton = this._createButton(r.zoomInText, r.zoomInTitle, t + "-in", n, this._zoomIn), this._zoomOutButton = this._createButton(r.zoomOutText, r.zoomOutTitle, t + "-out", n, this._zoomOut), this._updateDisabled(), e.on("zoomend zoomlevelschange", this._updateDisabled, this), n;
|
|
2441
2441
|
},
|
|
2442
2442
|
onRemove: function(e) {
|
|
@@ -2455,20 +2455,20 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2455
2455
|
!this._disabled && this._map._zoom > this._map.getMinZoom() && this._map.zoomOut(this._map.options.zoomDelta * (e.shiftKey ? 3 : 1));
|
|
2456
2456
|
},
|
|
2457
2457
|
_createButton: function(e, t, n, r, i) {
|
|
2458
|
-
var a =
|
|
2459
|
-
return a.innerHTML = e, a.href = "#", a.title = t, a.setAttribute("role", "button"), a.setAttribute("aria-label", t),
|
|
2458
|
+
var a = W("a", n, r);
|
|
2459
|
+
return a.innerHTML = e, a.href = "#", a.title = t, a.setAttribute("role", "button"), a.setAttribute("aria-label", t), Yt(a), Y(a, "click", Xt), Y(a, "click", i, this), Y(a, "click", this._refocusOnMap, this), a;
|
|
2460
2460
|
},
|
|
2461
2461
|
_updateDisabled: function() {
|
|
2462
2462
|
var e = this._map, t = "leaflet-disabled";
|
|
2463
|
-
|
|
2463
|
+
q(this._zoomInButton, t), q(this._zoomOutButton, t), this._zoomInButton.setAttribute("aria-disabled", "false"), this._zoomOutButton.setAttribute("aria-disabled", "false"), (this._disabled || e._zoom === e.getMinZoom()) && (K(this._zoomOutButton, t), this._zoomOutButton.setAttribute("aria-disabled", "true")), (this._disabled || e._zoom === e.getMaxZoom()) && (K(this._zoomInButton, t), this._zoomInButton.setAttribute("aria-disabled", "true"));
|
|
2464
2464
|
}
|
|
2465
2465
|
});
|
|
2466
|
-
|
|
2467
|
-
this.options.zoomControl && (this.zoomControl = new
|
|
2466
|
+
Q.mergeOptions({ zoomControl: !0 }), Q.addInitHook(function() {
|
|
2467
|
+
this.options.zoomControl && (this.zoomControl = new un(), this.addControl(this.zoomControl));
|
|
2468
2468
|
});
|
|
2469
|
-
var
|
|
2470
|
-
return new
|
|
2471
|
-
},
|
|
2469
|
+
var dn = function(e) {
|
|
2470
|
+
return new un(e);
|
|
2471
|
+
}, fn = on.extend({
|
|
2472
2472
|
options: {
|
|
2473
2473
|
position: "bottomleft",
|
|
2474
2474
|
maxWidth: 100,
|
|
@@ -2476,14 +2476,14 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2476
2476
|
imperial: !0
|
|
2477
2477
|
},
|
|
2478
2478
|
onAdd: function(e) {
|
|
2479
|
-
var t = "leaflet-control-scale", n =
|
|
2479
|
+
var t = "leaflet-control-scale", n = W("div", t), r = this.options;
|
|
2480
2480
|
return this._addScales(r, t + "-line", n), e.on(r.updateWhenIdle ? "moveend" : "move", this._update, this), e.whenReady(this._update, this), n;
|
|
2481
2481
|
},
|
|
2482
2482
|
onRemove: function(e) {
|
|
2483
2483
|
e.off(this.options.updateWhenIdle ? "moveend" : "move", this._update, this);
|
|
2484
2484
|
},
|
|
2485
2485
|
_addScales: function(e, t, n) {
|
|
2486
|
-
e.metric && (this._mScale =
|
|
2486
|
+
e.metric && (this._mScale = W("div", t, n)), e.imperial && (this._iScale = W("div", t, n));
|
|
2487
2487
|
},
|
|
2488
2488
|
_update: function() {
|
|
2489
2489
|
var e = this._map, t = e.getSize().y / 2, n = e.distance(e.containerPointToLatLng([0, t]), e.containerPointToLatLng([this.options.maxWidth, t]));
|
|
@@ -2507,18 +2507,18 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2507
2507
|
var t = 10 ** ((Math.floor(e) + "").length - 1), n = e / t;
|
|
2508
2508
|
return n = n >= 10 ? 10 : n >= 5 ? 5 : n >= 3 ? 3 : n >= 2 ? 2 : 1, t * n;
|
|
2509
2509
|
}
|
|
2510
|
-
}),
|
|
2511
|
-
return new
|
|
2512
|
-
},
|
|
2510
|
+
}), pn = function(e) {
|
|
2511
|
+
return new fn(e);
|
|
2512
|
+
}, mn = on.extend({
|
|
2513
2513
|
options: {
|
|
2514
2514
|
position: "bottomright",
|
|
2515
|
-
prefix: "<a href=\"https://leafletjs.com\" title=\"A JavaScript library for interactive maps\">" + (
|
|
2515
|
+
prefix: "<a href=\"https://leafletjs.com\" title=\"A JavaScript library for interactive maps\">" + (H.inlineSvg ? "<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"8\" viewBox=\"0 0 12 8\" class=\"leaflet-attribution-flag\"><path fill=\"#4C7BE1\" d=\"M0 0h12v4H0z\"/><path fill=\"#FFD500\" d=\"M0 4h12v3H0z\"/><path fill=\"#E0BC00\" d=\"M0 7h12v1H0z\"/></svg> " : "") + "Leaflet</a>"
|
|
2516
2516
|
},
|
|
2517
2517
|
initialize: function(e) {
|
|
2518
2518
|
p(this, e), this._attributions = {};
|
|
2519
2519
|
},
|
|
2520
2520
|
onAdd: function(e) {
|
|
2521
|
-
for (var t in e.attributionControl = this, this._container =
|
|
2521
|
+
for (var t in e.attributionControl = this, this._container = W("div", "leaflet-control-attribution"), Yt(this._container), e._layers) e._layers[t].getAttribution && this.addAttribution(e._layers[t].getAttribution());
|
|
2522
2522
|
return this._update(), e.on("layeradd", this._addAttribution, this), this._container;
|
|
2523
2523
|
},
|
|
2524
2524
|
onRemove: function(e) {
|
|
@@ -2547,12 +2547,12 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2547
2547
|
}
|
|
2548
2548
|
}
|
|
2549
2549
|
});
|
|
2550
|
-
|
|
2551
|
-
this.options.attributionControl && new
|
|
2552
|
-
}),
|
|
2553
|
-
return new
|
|
2550
|
+
Q.mergeOptions({ attributionControl: !0 }), Q.addInitHook(function() {
|
|
2551
|
+
this.options.attributionControl && new mn().addTo(this);
|
|
2552
|
+
}), on.Layers = cn, on.Zoom = un, on.Scale = fn, on.Attribution = mn, sn.layers = ln, sn.zoom = dn, sn.scale = pn, sn.attribution = function(e) {
|
|
2553
|
+
return new mn(e);
|
|
2554
2554
|
};
|
|
2555
|
-
var
|
|
2555
|
+
var hn = ae.extend({
|
|
2556
2556
|
initialize: function(e) {
|
|
2557
2557
|
this._map = e;
|
|
2558
2558
|
},
|
|
@@ -2566,29 +2566,29 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2566
2566
|
return !!this._enabled;
|
|
2567
2567
|
}
|
|
2568
2568
|
});
|
|
2569
|
-
|
|
2569
|
+
hn.addTo = function(e, t) {
|
|
2570
2570
|
return e.addHandler(t, this), this;
|
|
2571
2571
|
};
|
|
2572
|
-
var gn = { Events: w }, _n =
|
|
2572
|
+
var gn = { Events: w }, _n = H.touch ? "touchstart mousedown" : "mousedown", vn = T.extend({
|
|
2573
2573
|
options: { clickTolerance: 3 },
|
|
2574
2574
|
initialize: function(e, t, n, r) {
|
|
2575
2575
|
p(this, r), this._element = e, this._dragStartTarget = t || e, this._preventOutline = n;
|
|
2576
2576
|
},
|
|
2577
2577
|
enable: function() {
|
|
2578
|
-
this._enabled ||= (
|
|
2578
|
+
this._enabled ||= (Y(this._dragStartTarget, _n, this._onDown, this), !0);
|
|
2579
2579
|
},
|
|
2580
2580
|
disable: function() {
|
|
2581
|
-
this._enabled && (vn._dragging === this && this.finishDrag(!0),
|
|
2581
|
+
this._enabled && (vn._dragging === this && this.finishDrag(!0), X(this._dragStartTarget, _n, this._onDown, this), this._enabled = !1, this._moved = !1);
|
|
2582
2582
|
},
|
|
2583
2583
|
_onDown: function(e) {
|
|
2584
|
-
if (this._enabled && (this._moved = !1, !
|
|
2584
|
+
if (this._enabled && (this._moved = !1, !xt(this._element, "leaflet-zoom-anim"))) {
|
|
2585
2585
|
if (e.touches && e.touches.length !== 1) vn._dragging === this && this.finishDrag();
|
|
2586
|
-
else if (!(vn._dragging || e.shiftKey || e.which !== 1 && e.button !== 1 && !e.touches) && (vn._dragging = this, this._preventOutline &&
|
|
2586
|
+
else if (!(vn._dragging || e.shiftKey || e.which !== 1 && e.button !== 1 && !e.touches) && (vn._dragging = this, this._preventOutline && Lt(this._element), Nt(), kt(), !this._moving)) {
|
|
2587
2587
|
this.fire("down");
|
|
2588
|
-
var t = e.touches ? e.touches[0] : e, n =
|
|
2589
|
-
this._startPoint = new E(t.clientX, t.clientY), this._startPos =
|
|
2588
|
+
var t = e.touches ? e.touches[0] : e, n = zt(this._element);
|
|
2589
|
+
this._startPoint = new E(t.clientX, t.clientY), this._startPos = Ot(this._element), this._parentScale = Bt(n);
|
|
2590
2590
|
var r = e.type === "mousedown";
|
|
2591
|
-
|
|
2591
|
+
Y(document, r ? "mousemove" : "touchmove", this._onMove, this), Y(document, r ? "mouseup" : "touchend touchcancel", this._onUp, this);
|
|
2592
2592
|
}
|
|
2593
2593
|
}
|
|
2594
2594
|
},
|
|
@@ -2597,19 +2597,19 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2597
2597
|
if (e.touches && e.touches.length > 1) this._moved = !0;
|
|
2598
2598
|
else {
|
|
2599
2599
|
var t = e.touches && e.touches.length === 1 ? e.touches[0] : e, n = new E(t.clientX, t.clientY)._subtract(this._startPoint);
|
|
2600
|
-
(n.x || n.y) && (Math.abs(n.x) + Math.abs(n.y) < this.options.clickTolerance || (n.x /= this._parentScale.x, n.y /= this._parentScale.y,
|
|
2600
|
+
(n.x || n.y) && (Math.abs(n.x) + Math.abs(n.y) < this.options.clickTolerance || (n.x /= this._parentScale.x, n.y /= this._parentScale.y, Z(e), this._moved || (this.fire("dragstart"), this._moved = !0, K(document.body, "leaflet-dragging"), this._lastTarget = e.target || e.srcElement, window.SVGElementInstance && this._lastTarget instanceof window.SVGElementInstance && (this._lastTarget = this._lastTarget.correspondingUseElement), K(this._lastTarget, "leaflet-drag-target")), this._newPos = this._startPos.add(n), this._moving = !0, this._lastEvent = e, this._updatePosition()));
|
|
2601
2601
|
}
|
|
2602
2602
|
}
|
|
2603
2603
|
},
|
|
2604
2604
|
_updatePosition: function() {
|
|
2605
2605
|
var e = { originalEvent: this._lastEvent };
|
|
2606
|
-
this.fire("predrag", e),
|
|
2606
|
+
this.fire("predrag", e), J(this._element, this._newPos), this.fire("drag", e);
|
|
2607
2607
|
},
|
|
2608
2608
|
_onUp: function() {
|
|
2609
2609
|
this._enabled && this.finishDrag();
|
|
2610
2610
|
},
|
|
2611
2611
|
finishDrag: function(e) {
|
|
2612
|
-
|
|
2612
|
+
q(document.body, "leaflet-dragging"), this._lastTarget &&= (q(this._lastTarget, "leaflet-drag-target"), null), X(document, "mousemove touchmove", this._onMove, this), X(document, "mouseup touchend touchcancel", this._onUp, this), Pt(), At();
|
|
2613
2613
|
var t = this._moved && this._moving;
|
|
2614
2614
|
this._moving = !1, vn._dragging = !1, t && this.fire("dragend", {
|
|
2615
2615
|
noInertia: e,
|
|
@@ -2840,7 +2840,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2840
2840
|
}
|
|
2841
2841
|
}
|
|
2842
2842
|
});
|
|
2843
|
-
|
|
2843
|
+
Q.include({
|
|
2844
2844
|
addLayer: function(e) {
|
|
2845
2845
|
if (!e._layerAdd) throw Error("The provided object is not a Layer.");
|
|
2846
2846
|
var t = o(e);
|
|
@@ -2987,7 +2987,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
2987
2987
|
return t ||= document.createElement("img"), t.src = e, t;
|
|
2988
2988
|
},
|
|
2989
2989
|
_getIconUrl: function(e) {
|
|
2990
|
-
return
|
|
2990
|
+
return H.retina && this.options[e + "RetinaUrl"] || this.options[e + "Url"];
|
|
2991
2991
|
}
|
|
2992
2992
|
});
|
|
2993
2993
|
function Zn(e) {
|
|
@@ -3015,12 +3015,12 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3015
3015
|
return e = t(e, /^url\((['"])?(.+)\1\)$/, 2), e && t(e, /^(.*)marker-icon\.png$/, 1);
|
|
3016
3016
|
},
|
|
3017
3017
|
_detectIconPath: function() {
|
|
3018
|
-
var e =
|
|
3018
|
+
var e = W("div", "leaflet-default-icon-path", document.body), t = _t(e, "background-image") || _t(e, "backgroundImage");
|
|
3019
3019
|
if (document.body.removeChild(e), t = this._stripUrl(t), t) return t;
|
|
3020
3020
|
var n = document.querySelector("link[href$=\"leaflet.css\"]");
|
|
3021
3021
|
return n ? n.href.substring(0, n.href.length - 11 - 1) : "";
|
|
3022
3022
|
}
|
|
3023
|
-
}), $n =
|
|
3023
|
+
}), $n = hn.extend({
|
|
3024
3024
|
initialize: function(e) {
|
|
3025
3025
|
this._marker = e;
|
|
3026
3026
|
},
|
|
@@ -3031,7 +3031,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3031
3031
|
predrag: this._onPreDrag,
|
|
3032
3032
|
drag: this._onDrag,
|
|
3033
3033
|
dragend: this._onDragEnd
|
|
3034
|
-
}, this).enable(),
|
|
3034
|
+
}, this).enable(), K(e, "leaflet-marker-draggable");
|
|
3035
3035
|
},
|
|
3036
3036
|
removeHooks: function() {
|
|
3037
3037
|
this._draggable.off({
|
|
@@ -3039,16 +3039,16 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3039
3039
|
predrag: this._onPreDrag,
|
|
3040
3040
|
drag: this._onDrag,
|
|
3041
3041
|
dragend: this._onDragEnd
|
|
3042
|
-
}, this).disable(), this._marker._icon &&
|
|
3042
|
+
}, this).disable(), this._marker._icon && q(this._marker._icon, "leaflet-marker-draggable");
|
|
3043
3043
|
},
|
|
3044
3044
|
moved: function() {
|
|
3045
3045
|
return this._draggable && this._draggable._moved;
|
|
3046
3046
|
},
|
|
3047
3047
|
_adjustPan: function(e) {
|
|
3048
|
-
var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a =
|
|
3048
|
+
var t = this._marker, n = t._map, r = this._marker.options.autoPanSpeed, i = this._marker.options.autoPanPadding, a = Ot(t._icon), o = n.getPixelBounds(), s = n.getPixelOrigin(), c = A(o.min._subtract(s).add(i), o.max._subtract(s).subtract(i));
|
|
3049
3049
|
if (!c.contains(a)) {
|
|
3050
3050
|
var l = O((Math.max(c.max.x, a.x) - c.max.x) / (o.max.x - c.max.x) - (Math.min(c.min.x, a.x) - c.min.x) / (o.min.x - c.min.x), (Math.max(c.max.y, a.y) - c.max.y) / (o.max.y - c.max.y) - (Math.min(c.min.y, a.y) - c.min.y) / (o.min.y - c.min.y)).multiplyBy(r);
|
|
3051
|
-
n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l),
|
|
3051
|
+
n.panBy(l, { animate: !1 }), this._draggable._newPos._add(l), this._draggable._startPos._add(l), J(t._icon, this._draggable._newPos), this._onDrag(e), this._panRequest = x(this._adjustPan.bind(this, e));
|
|
3052
3052
|
}
|
|
3053
3053
|
},
|
|
3054
3054
|
_onDragStart: function() {
|
|
@@ -3058,8 +3058,8 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3058
3058
|
this._marker.options.autoPan && (S(this._panRequest), this._panRequest = x(this._adjustPan.bind(this, e)));
|
|
3059
3059
|
},
|
|
3060
3060
|
_onDrag: function(e) {
|
|
3061
|
-
var t = this._marker, n = t._shadow, r =
|
|
3062
|
-
n &&
|
|
3061
|
+
var t = this._marker, n = t._shadow, r = Ot(t._icon), i = t._map.layerPointToLatLng(r);
|
|
3062
|
+
n && J(n, r), t._latlng = i, e.latlng = i, e.oldLatLng = this._oldLatLng, t.fire("move", e).fire("drag", e);
|
|
3063
3063
|
},
|
|
3064
3064
|
_onDragEnd: function(e) {
|
|
3065
3065
|
S(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", e);
|
|
@@ -3130,24 +3130,24 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3130
3130
|
},
|
|
3131
3131
|
_initIcon: function() {
|
|
3132
3132
|
var e = this.options, t = "leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide"), n = e.icon.createIcon(this._icon), r = !1;
|
|
3133
|
-
n !== this._icon && (this._icon && this._removeIcon(), r = !0, e.title && (n.title = e.title), n.tagName === "IMG" && (n.alt = e.alt || "")),
|
|
3133
|
+
n !== this._icon && (this._icon && this._removeIcon(), r = !0, e.title && (n.title = e.title), n.tagName === "IMG" && (n.alt = e.alt || "")), K(n, t), e.keyboard && (n.tabIndex = "0", n.setAttribute("role", "button")), this._icon = n, e.riseOnHover && this.on({
|
|
3134
3134
|
mouseover: this._bringToFront,
|
|
3135
3135
|
mouseout: this._resetZIndex
|
|
3136
|
-
}), this.options.autoPanOnFocus &&
|
|
3136
|
+
}), this.options.autoPanOnFocus && Y(n, "focus", this._panOnFocus, this);
|
|
3137
3137
|
var i = e.icon.createShadow(this._shadow), a = !1;
|
|
3138
|
-
i !== this._shadow && (this._removeShadow(), a = !0), i && (
|
|
3138
|
+
i !== this._shadow && (this._removeShadow(), a = !0), i && (K(i, t), i.alt = ""), this._shadow = i, e.opacity < 1 && this._updateOpacity(), r && this.getPane().appendChild(this._icon), this._initInteraction(), i && a && this.getPane(e.shadowPane).appendChild(this._shadow);
|
|
3139
3139
|
},
|
|
3140
3140
|
_removeIcon: function() {
|
|
3141
3141
|
this.options.riseOnHover && this.off({
|
|
3142
3142
|
mouseover: this._bringToFront,
|
|
3143
3143
|
mouseout: this._resetZIndex
|
|
3144
|
-
}), this.options.autoPanOnFocus &&
|
|
3144
|
+
}), this.options.autoPanOnFocus && X(this._icon, "focus", this._panOnFocus, this), G(this._icon), this.removeInteractiveTarget(this._icon), this._icon = null;
|
|
3145
3145
|
},
|
|
3146
3146
|
_removeShadow: function() {
|
|
3147
|
-
this._shadow &&
|
|
3147
|
+
this._shadow && G(this._shadow), this._shadow = null;
|
|
3148
3148
|
},
|
|
3149
3149
|
_setPos: function(e) {
|
|
3150
|
-
this._icon &&
|
|
3150
|
+
this._icon && J(this._icon, e), this._shadow && J(this._shadow, e), this._zIndex = e.y + this.options.zIndexOffset, this._resetZIndex();
|
|
3151
3151
|
},
|
|
3152
3152
|
_updateZIndex: function(e) {
|
|
3153
3153
|
this._icon && (this._icon.style.zIndex = this._zIndex + e);
|
|
@@ -3157,7 +3157,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3157
3157
|
this._setPos(t);
|
|
3158
3158
|
},
|
|
3159
3159
|
_initInteraction: function() {
|
|
3160
|
-
if (this.options.interactive && (
|
|
3160
|
+
if (this.options.interactive && (K(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), $n)) {
|
|
3161
3161
|
var e = this.options.draggable;
|
|
3162
3162
|
this.dragging && (e = this.dragging.enabled(), this.dragging.disable()), this.dragging = new $n(this), e && this.dragging.enable();
|
|
3163
3163
|
}
|
|
@@ -3167,7 +3167,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3167
3167
|
},
|
|
3168
3168
|
_updateOpacity: function() {
|
|
3169
3169
|
var e = this.options.opacity;
|
|
3170
|
-
this._icon &&
|
|
3170
|
+
this._icon && wt(this._icon, e), this._shadow && wt(this._shadow, e);
|
|
3171
3171
|
},
|
|
3172
3172
|
_bringToFront: function() {
|
|
3173
3173
|
this._updateZIndex(this.options.riseOffset);
|
|
@@ -3606,10 +3606,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3606
3606
|
this._url = e, this._bounds = M(t), p(this, n);
|
|
3607
3607
|
},
|
|
3608
3608
|
onAdd: function() {
|
|
3609
|
-
this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (
|
|
3609
|
+
this._image || (this._initImage(), this.options.opacity < 1 && this._updateOpacity()), this.options.interactive && (K(this._image, "leaflet-interactive"), this.addInteractiveTarget(this._image)), this.getPane().appendChild(this._image), this._reset();
|
|
3610
3610
|
},
|
|
3611
3611
|
onRemove: function() {
|
|
3612
|
-
|
|
3612
|
+
G(this._image), this.options.interactive && this.removeInteractiveTarget(this._image);
|
|
3613
3613
|
},
|
|
3614
3614
|
setOpacity: function(e) {
|
|
3615
3615
|
return this.options.opacity = e, this._image && this._updateOpacity(), this;
|
|
@@ -3618,10 +3618,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3618
3618
|
return e.opacity && this.setOpacity(e.opacity), this;
|
|
3619
3619
|
},
|
|
3620
3620
|
bringToFront: function() {
|
|
3621
|
-
return this._map &&
|
|
3621
|
+
return this._map && yt(this._image), this;
|
|
3622
3622
|
},
|
|
3623
3623
|
bringToBack: function() {
|
|
3624
|
-
return this._map &&
|
|
3624
|
+
return this._map && bt(this._image), this;
|
|
3625
3625
|
},
|
|
3626
3626
|
setUrl: function(e) {
|
|
3627
3627
|
return this._url = e, this._image && (this._image.src = e), this;
|
|
@@ -3646,19 +3646,19 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3646
3646
|
return this._image;
|
|
3647
3647
|
},
|
|
3648
3648
|
_initImage: function() {
|
|
3649
|
-
var e = this._url.tagName === "IMG", t = this._image = e ? this._url :
|
|
3650
|
-
|
|
3649
|
+
var e = this._url.tagName === "IMG", t = this._image = e ? this._url : W("img");
|
|
3650
|
+
K(t, "leaflet-image-layer"), this._zoomAnimated && K(t, "leaflet-zoom-animated"), this.options.className && K(t, this.options.className), t.onselectstart = l, t.onmousemove = l, t.onload = i(this.fire, this, "load"), t.onerror = i(this._overlayOnError, this, "error"), (this.options.crossOrigin || this.options.crossOrigin === "") && (t.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), this.options.zIndex && this._updateZIndex(), e ? this._url = t.src : (t.src = this._url, t.alt = this.options.alt);
|
|
3651
3651
|
},
|
|
3652
3652
|
_animateZoom: function(e) {
|
|
3653
3653
|
var t = this._map.getZoomScale(e.zoom), n = this._map._latLngBoundsToNewLayerBounds(this._bounds, e.zoom, e.center).min;
|
|
3654
|
-
|
|
3654
|
+
Dt(this._image, n, t);
|
|
3655
3655
|
},
|
|
3656
3656
|
_reset: function() {
|
|
3657
3657
|
var e = this._image, t = new k(this._map.latLngToLayerPoint(this._bounds.getNorthWest()), this._map.latLngToLayerPoint(this._bounds.getSouthEast())), n = t.getSize();
|
|
3658
|
-
|
|
3658
|
+
J(e, t.min), e.style.width = n.x + "px", e.style.height = n.y + "px";
|
|
3659
3659
|
},
|
|
3660
3660
|
_updateOpacity: function() {
|
|
3661
|
-
|
|
3661
|
+
wt(this._image, this.options.opacity);
|
|
3662
3662
|
},
|
|
3663
3663
|
_updateZIndex: function() {
|
|
3664
3664
|
this._image && this.options.zIndex !== void 0 && this.options.zIndex !== null && (this._image.style.zIndex = this.options.zIndex);
|
|
@@ -3682,14 +3682,14 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3682
3682
|
playsInline: !0
|
|
3683
3683
|
},
|
|
3684
3684
|
_initImage: function() {
|
|
3685
|
-
var e = this._url.tagName === "VIDEO", t = this._image = e ? this._url :
|
|
3686
|
-
if (
|
|
3685
|
+
var e = this._url.tagName === "VIDEO", t = this._image = e ? this._url : W("video");
|
|
3686
|
+
if (K(t, "leaflet-image-layer"), this._zoomAnimated && K(t, "leaflet-zoom-animated"), this.options.className && K(t, this.options.className), t.onselectstart = l, t.onmousemove = l, t.onloadeddata = i(this.fire, this, "load"), e) {
|
|
3687
3687
|
for (var n = t.getElementsByTagName("source"), r = [], a = 0; a < n.length; a++) r.push(n[a].src);
|
|
3688
3688
|
this._url = n.length > 0 ? r : [t.src];
|
|
3689
3689
|
} else {
|
|
3690
3690
|
_(this._url) || (this._url = [this._url]), !this.options.keepAspectRatio && Object.prototype.hasOwnProperty.call(t.style, "objectFit") && (t.style.objectFit = "fill"), t.autoplay = !!this.options.autoplay, t.loop = !!this.options.loop, t.muted = !!this.options.muted, t.playsInline = !!this.options.playsInline;
|
|
3691
3691
|
for (var o = 0; o < this._url.length; o++) {
|
|
3692
|
-
var s =
|
|
3692
|
+
var s = W("source");
|
|
3693
3693
|
s.src = this._url[o], t.appendChild(s);
|
|
3694
3694
|
}
|
|
3695
3695
|
}
|
|
@@ -3700,7 +3700,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3700
3700
|
}
|
|
3701
3701
|
var Dr = Cr.extend({ _initImage: function() {
|
|
3702
3702
|
var e = this._image = this._url;
|
|
3703
|
-
|
|
3703
|
+
K(e, "leaflet-image-layer"), this._zoomAnimated && K(e, "leaflet-zoom-animated"), this.options.className && K(e, this.options.className), e.onselectstart = l, e.onmousemove = l;
|
|
3704
3704
|
} });
|
|
3705
3705
|
function Or(e, t, n) {
|
|
3706
3706
|
return new Dr(e, t, n);
|
|
@@ -3726,10 +3726,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3726
3726
|
return this._map ? this.close() : (arguments.length ? this._source = e : e = this._source, this._prepareOpen(), this.openOn(e._map)), this;
|
|
3727
3727
|
},
|
|
3728
3728
|
onAdd: function(e) {
|
|
3729
|
-
this._zoomAnimated = e._zoomAnimated, this._container || this._initLayout(), e._fadeAnimated &&
|
|
3729
|
+
this._zoomAnimated = e._zoomAnimated, this._container || this._initLayout(), e._fadeAnimated && wt(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), e._fadeAnimated && wt(this._container, 1), this.bringToFront(), this.options.interactive && (K(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
|
|
3730
3730
|
},
|
|
3731
3731
|
onRemove: function(e) {
|
|
3732
|
-
e._fadeAnimated ? (
|
|
3732
|
+
e._fadeAnimated ? (wt(this._container, 0), this._removeTimeout = setTimeout(i(G, void 0, this._container), 200)) : G(this._container), this.options.interactive && (q(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
|
|
3733
3733
|
},
|
|
3734
3734
|
getLatLng: function() {
|
|
3735
3735
|
return this._latlng;
|
|
@@ -3760,10 +3760,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3760
3760
|
return !!this._map && this._map.hasLayer(this);
|
|
3761
3761
|
},
|
|
3762
3762
|
bringToFront: function() {
|
|
3763
|
-
return this._map &&
|
|
3763
|
+
return this._map && yt(this._container), this;
|
|
3764
3764
|
},
|
|
3765
3765
|
bringToBack: function() {
|
|
3766
|
-
return this._map &&
|
|
3766
|
+
return this._map && bt(this._container), this;
|
|
3767
3767
|
},
|
|
3768
3768
|
_prepareOpen: function(e) {
|
|
3769
3769
|
var t = this._source;
|
|
@@ -3800,7 +3800,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3800
3800
|
_updatePosition: function() {
|
|
3801
3801
|
if (this._map) {
|
|
3802
3802
|
var e = this._map.latLngToLayerPoint(this._latlng), t = O(this.options.offset), n = this._getAnchor();
|
|
3803
|
-
this._zoomAnimated ?
|
|
3803
|
+
this._zoomAnimated ? J(this._container, e.add(n)) : t = t.add(e).add(n);
|
|
3804
3804
|
var r = this._containerBottom = -t.y, i = this._containerLeft = -Math.round(this._containerWidth / 2) + t.x;
|
|
3805
3805
|
this._container.style.bottom = r + "px", this._container.style.left = i + "px";
|
|
3806
3806
|
}
|
|
@@ -3809,7 +3809,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3809
3809
|
return [0, 0];
|
|
3810
3810
|
}
|
|
3811
3811
|
});
|
|
3812
|
-
|
|
3812
|
+
Q.include({ _initOverlay: function(e, t, n, r) {
|
|
3813
3813
|
var i = t;
|
|
3814
3814
|
return i instanceof e || (i = new e(r).setContent(t)), n && i.setLatLng(n), i;
|
|
3815
3815
|
} }), Gn.include({ _initOverlay: function(e, t, n, r) {
|
|
@@ -3837,21 +3837,21 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3837
3837
|
return e = arguments.length ? e : this._source._map, !e.hasLayer(this) && e._popup && e._popup.options.autoClose && e.removeLayer(e._popup), e._popup = this, kr.prototype.openOn.call(this, e);
|
|
3838
3838
|
},
|
|
3839
3839
|
onAdd: function(e) {
|
|
3840
|
-
kr.prototype.onAdd.call(this, e), e.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof nr || this._source.on("preclick",
|
|
3840
|
+
kr.prototype.onAdd.call(this, e), e.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof nr || this._source.on("preclick", qt));
|
|
3841
3841
|
},
|
|
3842
3842
|
onRemove: function(e) {
|
|
3843
|
-
kr.prototype.onRemove.call(this, e), e.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof nr || this._source.off("preclick",
|
|
3843
|
+
kr.prototype.onRemove.call(this, e), e.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof nr || this._source.off("preclick", qt));
|
|
3844
3844
|
},
|
|
3845
3845
|
getEvents: function() {
|
|
3846
3846
|
var e = kr.prototype.getEvents.call(this);
|
|
3847
3847
|
return (this.options.closeOnClick === void 0 ? this._map.options.closePopupOnClick : this.options.closeOnClick) && (e.preclick = this.close), this.options.keepInView && (e.moveend = this._adjustPan), e;
|
|
3848
3848
|
},
|
|
3849
3849
|
_initLayout: function() {
|
|
3850
|
-
var e = "leaflet-popup", t = this._container =
|
|
3851
|
-
if (this._contentNode =
|
|
3852
|
-
var r = this._closeButton =
|
|
3853
|
-
r.setAttribute("role", "button"), r.setAttribute("aria-label", "Close popup"), r.href = "#close", r.innerHTML = "<span aria-hidden=\"true\">×</span>",
|
|
3854
|
-
|
|
3850
|
+
var e = "leaflet-popup", t = this._container = W("div", e + " " + (this.options.className || "") + " leaflet-zoom-animated"), n = this._wrapper = W("div", e + "-content-wrapper", t);
|
|
3851
|
+
if (this._contentNode = W("div", e + "-content", n), Yt(t), Jt(this._contentNode), Y(t, "contextmenu", qt), this._tipContainer = W("div", e + "-tip-container", t), this._tip = W("div", e + "-tip", this._tipContainer), this.options.closeButton) {
|
|
3852
|
+
var r = this._closeButton = W("a", e + "-close-button", t);
|
|
3853
|
+
r.setAttribute("role", "button"), r.setAttribute("aria-label", "Close popup"), r.href = "#close", r.innerHTML = "<span aria-hidden=\"true\">×</span>", Y(r, "click", function(e) {
|
|
3854
|
+
Z(e), this.close();
|
|
3855
3855
|
}, this);
|
|
3856
3856
|
}
|
|
3857
3857
|
},
|
|
@@ -3861,18 +3861,18 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3861
3861
|
var n = e.offsetWidth;
|
|
3862
3862
|
n = Math.min(n, this.options.maxWidth), n = Math.max(n, this.options.minWidth), t.width = n + 1 + "px", t.whiteSpace = "", t.height = "";
|
|
3863
3863
|
var r = e.offsetHeight, i = this.options.maxHeight, a = "leaflet-popup-scrolled";
|
|
3864
|
-
i && r > i ? (t.height = i + "px",
|
|
3864
|
+
i && r > i ? (t.height = i + "px", K(e, a)) : q(e, a), this._containerWidth = this._container.offsetWidth;
|
|
3865
3865
|
},
|
|
3866
3866
|
_animateZoom: function(e) {
|
|
3867
3867
|
var t = this._map._latLngToNewLayerPoint(this._latlng, e.zoom, e.center), n = this._getAnchor();
|
|
3868
|
-
|
|
3868
|
+
J(this._container, t.add(n));
|
|
3869
3869
|
},
|
|
3870
3870
|
_adjustPan: function() {
|
|
3871
3871
|
if (this.options.autoPan) {
|
|
3872
3872
|
if (this._map._panAnim && this._map._panAnim.stop(), this._autopanning) this._autopanning = !1;
|
|
3873
3873
|
else {
|
|
3874
|
-
var e = this._map, t = parseInt(
|
|
3875
|
-
i._add(
|
|
3874
|
+
var e = this._map, t = parseInt(_t(this._container, "marginBottom"), 10) || 0, n = this._container.offsetHeight + t, r = this._containerWidth, i = new E(this._containerLeft, -n - this._containerBottom);
|
|
3875
|
+
i._add(Ot(this._container));
|
|
3876
3876
|
var a = e.layerPointToContainerPoint(i), o = O(this.options.autoPanPadding), s = O(this.options.autoPanPaddingTopLeft || o), c = O(this.options.autoPanPaddingBottomRight || o), l = e.getSize(), u = 0, d = 0;
|
|
3877
3877
|
a.x + r + c.x > l.x && (u = a.x + r - l.x + c.x), a.x - u - s.x < 0 && (u = a.x - s.x), a.y + n + c.y > l.y && (d = a.y + n - l.y + c.y), a.y - d - s.y < 0 && (d = a.y - s.y), (u || d) && (this.options.keepInView && (this._autopanning = !0), e.fire("autopanstart").panBy([u, d]));
|
|
3878
3878
|
}
|
|
@@ -3884,7 +3884,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3884
3884
|
}), jr = function(e, t) {
|
|
3885
3885
|
return new Ar(e, t);
|
|
3886
3886
|
};
|
|
3887
|
-
|
|
3887
|
+
Q.mergeOptions({ closePopupOnClick: !0 }), Q.include({
|
|
3888
3888
|
openPopup: function(e, t, n) {
|
|
3889
3889
|
return this._initOverlay(Ar, e, t, n).openOn(this), this;
|
|
3890
3890
|
},
|
|
@@ -3928,7 +3928,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3928
3928
|
},
|
|
3929
3929
|
_openPopup: function(e) {
|
|
3930
3930
|
if (this._popup && this._map) {
|
|
3931
|
-
|
|
3931
|
+
Xt(e);
|
|
3932
3932
|
var t = e.layer || e.target;
|
|
3933
3933
|
this._popup._source === t && !(t instanceof nr) ? this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(e.latlng) : (this._popup._source = t, this.openPopup(e.latlng));
|
|
3934
3934
|
}
|
|
@@ -3961,20 +3961,20 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3961
3961
|
},
|
|
3962
3962
|
_initLayout: function() {
|
|
3963
3963
|
var e = "leaflet-tooltip " + (this.options.className || "") + " leaflet-zoom-" + (this._zoomAnimated ? "animated" : "hide");
|
|
3964
|
-
this._contentNode = this._container =
|
|
3964
|
+
this._contentNode = this._container = W("div", e), this._container.setAttribute("role", "tooltip"), this._container.setAttribute("id", "leaflet-tooltip-" + o(this));
|
|
3965
3965
|
},
|
|
3966
3966
|
_updateLayout: function() {},
|
|
3967
3967
|
_adjustPan: function() {},
|
|
3968
3968
|
_setPosition: function(e) {
|
|
3969
3969
|
var t, n, r = this._map, i = this._container, a = r.latLngToContainerPoint(r.getCenter()), o = r.layerPointToContainerPoint(e), s = this.options.direction, c = i.offsetWidth, l = i.offsetHeight, u = O(this.options.offset), d = this._getAnchor();
|
|
3970
|
-
s === "top" ? (t = c / 2, n = l) : s === "bottom" ? (t = c / 2, n = 0) : s === "center" ? (t = c / 2, n = l / 2) : s === "right" ? (t = 0, n = l / 2) : s === "left" ? (t = c, n = l / 2) : o.x < a.x ? (s = "right", t = 0, n = l / 2) : (s = "left", t = c + (u.x + d.x) * 2, n = l / 2), e = e.subtract(O(t, n, !0)).add(u).add(d),
|
|
3970
|
+
s === "top" ? (t = c / 2, n = l) : s === "bottom" ? (t = c / 2, n = 0) : s === "center" ? (t = c / 2, n = l / 2) : s === "right" ? (t = 0, n = l / 2) : s === "left" ? (t = c, n = l / 2) : o.x < a.x ? (s = "right", t = 0, n = l / 2) : (s = "left", t = c + (u.x + d.x) * 2, n = l / 2), e = e.subtract(O(t, n, !0)).add(u).add(d), q(i, "leaflet-tooltip-right"), q(i, "leaflet-tooltip-left"), q(i, "leaflet-tooltip-top"), q(i, "leaflet-tooltip-bottom"), K(i, "leaflet-tooltip-" + s), J(i, e);
|
|
3971
3971
|
},
|
|
3972
3972
|
_updatePosition: function() {
|
|
3973
3973
|
var e = this._map.latLngToLayerPoint(this._latlng);
|
|
3974
3974
|
this._setPosition(e);
|
|
3975
3975
|
},
|
|
3976
3976
|
setOpacity: function(e) {
|
|
3977
|
-
this.options.opacity = e, this._container &&
|
|
3977
|
+
this.options.opacity = e, this._container && wt(this._container, e);
|
|
3978
3978
|
},
|
|
3979
3979
|
_animateZoom: function(e) {
|
|
3980
3980
|
var t = this._map._latLngToNewLayerPoint(this._latlng, e.zoom, e.center);
|
|
@@ -3986,7 +3986,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
3986
3986
|
}), Nr = function(e, t) {
|
|
3987
3987
|
return new Mr(e, t);
|
|
3988
3988
|
};
|
|
3989
|
-
|
|
3989
|
+
Q.include({
|
|
3990
3990
|
openTooltip: function(e, t, n) {
|
|
3991
3991
|
return this._initOverlay(Mr, e, t, n).openOn(this), this;
|
|
3992
3992
|
},
|
|
@@ -4032,9 +4032,9 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4032
4032
|
},
|
|
4033
4033
|
_addFocusListenersOnLayer: function(e) {
|
|
4034
4034
|
var t = typeof e.getElement == "function" && e.getElement();
|
|
4035
|
-
t && (
|
|
4035
|
+
t && (Y(t, "focus", function() {
|
|
4036
4036
|
this._tooltip._source = e, this.openTooltip();
|
|
4037
|
-
}, this),
|
|
4037
|
+
}, this), Y(t, "blur", this.closeTooltip, this));
|
|
4038
4038
|
},
|
|
4039
4039
|
_setAriaDescribedByOnLayer: function(e) {
|
|
4040
4040
|
var t = typeof e.getElement == "function" && e.getElement();
|
|
@@ -4065,7 +4065,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4065
4065
|
},
|
|
4066
4066
|
createIcon: function(e) {
|
|
4067
4067
|
var t = e && e.tagName === "DIV" ? e : document.createElement("div"), n = this.options;
|
|
4068
|
-
if (n.html instanceof Element ? (
|
|
4068
|
+
if (n.html instanceof Element ? (vt(t), t.appendChild(n.html)) : t.innerHTML = n.html === !1 ? "" : n.html, n.bgPos) {
|
|
4069
4069
|
var r = O(n.bgPos);
|
|
4070
4070
|
t.style.backgroundPosition = -r.x + "px " + -r.y + "px";
|
|
4071
4071
|
}
|
|
@@ -4083,7 +4083,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4083
4083
|
options: {
|
|
4084
4084
|
tileSize: 256,
|
|
4085
4085
|
opacity: 1,
|
|
4086
|
-
updateWhenIdle:
|
|
4086
|
+
updateWhenIdle: H.mobile,
|
|
4087
4087
|
updateWhenZooming: !0,
|
|
4088
4088
|
updateInterval: 200,
|
|
4089
4089
|
zIndex: 1,
|
|
@@ -4107,13 +4107,13 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4107
4107
|
e._addZoomLimit(this);
|
|
4108
4108
|
},
|
|
4109
4109
|
onRemove: function(e) {
|
|
4110
|
-
this._removeAllTiles(),
|
|
4110
|
+
this._removeAllTiles(), G(this._container), e._removeZoomLimit(this), this._container = null, this._tileZoom = void 0;
|
|
4111
4111
|
},
|
|
4112
4112
|
bringToFront: function() {
|
|
4113
|
-
return this._map && (
|
|
4113
|
+
return this._map && (yt(this._container), this._setAutoZIndex(Math.max)), this;
|
|
4114
4114
|
},
|
|
4115
4115
|
bringToBack: function() {
|
|
4116
|
-
return this._map && (
|
|
4116
|
+
return this._map && (bt(this._container), this._setAutoZIndex(Math.min)), this;
|
|
4117
4117
|
},
|
|
4118
4118
|
getContainer: function() {
|
|
4119
4119
|
return this._container;
|
|
@@ -4159,14 +4159,14 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4159
4159
|
isFinite(n) && (this.options.zIndex = n + e(-1, 1), this._updateZIndex());
|
|
4160
4160
|
},
|
|
4161
4161
|
_updateOpacity: function() {
|
|
4162
|
-
if (this._map && !
|
|
4163
|
-
|
|
4162
|
+
if (this._map && !H.ielt9) {
|
|
4163
|
+
wt(this._container, this.options.opacity);
|
|
4164
4164
|
var e = +/* @__PURE__ */ new Date(), t = !1, n = !1;
|
|
4165
4165
|
for (var r in this._tiles) {
|
|
4166
4166
|
var i = this._tiles[r];
|
|
4167
4167
|
if (i.current && i.loaded) {
|
|
4168
4168
|
var a = Math.min(1, (e - i.loaded) / 200);
|
|
4169
|
-
|
|
4169
|
+
wt(i.el, a), a < 1 ? t = !0 : (i.active ? n = !0 : this._onOpaqueTile(i), i.active = !0);
|
|
4170
4170
|
}
|
|
4171
4171
|
}
|
|
4172
4172
|
n && !this._noPrune && this._pruneTiles(), t && (S(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this));
|
|
@@ -4174,14 +4174,14 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4174
4174
|
},
|
|
4175
4175
|
_onOpaqueTile: l,
|
|
4176
4176
|
_initContainer: function() {
|
|
4177
|
-
this._container || (this._container =
|
|
4177
|
+
this._container || (this._container = W("div", "leaflet-layer " + (this.options.className || "")), this._updateZIndex(), this.options.opacity < 1 && this._updateOpacity(), this.getPane().appendChild(this._container));
|
|
4178
4178
|
},
|
|
4179
4179
|
_updateLevels: function() {
|
|
4180
4180
|
var e = this._tileZoom, t = this.options.maxZoom;
|
|
4181
4181
|
if (e !== void 0) {
|
|
4182
|
-
for (var n in this._levels) n = Number(n), this._levels[n].el.children.length || n === e ? (this._levels[n].el.style.zIndex = t - Math.abs(e - n), this._onUpdateLevel(n)) : (
|
|
4182
|
+
for (var n in this._levels) n = Number(n), this._levels[n].el.children.length || n === e ? (this._levels[n].el.style.zIndex = t - Math.abs(e - n), this._onUpdateLevel(n)) : (G(this._levels[n].el), this._removeTilesAtZoom(n), this._onRemoveLevel(n), delete this._levels[n]);
|
|
4183
4183
|
var r = this._levels[e], i = this._map;
|
|
4184
|
-
return r || (r = this._levels[e] = {}, r.el =
|
|
4184
|
+
return r || (r = this._levels[e] = {}, r.el = W("div", "leaflet-tile-container leaflet-zoom-animated", this._container), r.el.style.zIndex = t, r.origin = i.project(i.unproject(i.getPixelOrigin()), e).round(), r.zoom = e, this._setZoomTransform(r, i.getCenter(), i.getZoom()), r.el.offsetWidth, this._onCreateLevel(r)), this._level = r, r;
|
|
4185
4185
|
}
|
|
4186
4186
|
},
|
|
4187
4187
|
_onUpdateLevel: l,
|
|
@@ -4208,7 +4208,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4208
4208
|
for (var e in this._tiles) this._removeTile(e);
|
|
4209
4209
|
},
|
|
4210
4210
|
_invalidateAll: function() {
|
|
4211
|
-
for (var e in this._levels)
|
|
4211
|
+
for (var e in this._levels) G(this._levels[e].el), this._onRemoveLevel(Number(e)), delete this._levels[e];
|
|
4212
4212
|
this._removeAllTiles(), this._tileZoom = void 0;
|
|
4213
4213
|
},
|
|
4214
4214
|
_retainParent: function(e, t, n, r) {
|
|
@@ -4247,7 +4247,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4247
4247
|
},
|
|
4248
4248
|
_setZoomTransform: function(e, t, n) {
|
|
4249
4249
|
var r = this._map.getZoomScale(n, e.zoom), i = e.origin.multiplyBy(r).subtract(this._map._getNewPixelOrigin(t, n)).round();
|
|
4250
|
-
|
|
4250
|
+
H.any3d ? Dt(e.el, i, r) : J(e.el, i);
|
|
4251
4251
|
},
|
|
4252
4252
|
_resetGrid: function() {
|
|
4253
4253
|
var e = this._map, t = e.options.crs, n = this._tileSize = this.getTileSize(), r = this._tileZoom, i = this._map.getPixelWorldBounds(this._tileZoom);
|
|
@@ -4322,19 +4322,19 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4322
4322
|
},
|
|
4323
4323
|
_removeTile: function(e) {
|
|
4324
4324
|
var t = this._tiles[e];
|
|
4325
|
-
t && (
|
|
4325
|
+
t && (G(t.el), delete this._tiles[e], this.fire("tileunload", {
|
|
4326
4326
|
tile: t.el,
|
|
4327
4327
|
coords: this._keyToTileCoords(e)
|
|
4328
4328
|
}));
|
|
4329
4329
|
},
|
|
4330
4330
|
_initTile: function(e) {
|
|
4331
|
-
|
|
4331
|
+
K(e, "leaflet-tile");
|
|
4332
4332
|
var t = this.getTileSize();
|
|
4333
|
-
e.style.width = t.x + "px", e.style.height = t.y + "px", e.onselectstart = l, e.onmousemove = l,
|
|
4333
|
+
e.style.width = t.x + "px", e.style.height = t.y + "px", e.onselectstart = l, e.onmousemove = l, H.ielt9 && this.options.opacity < 1 && wt(e, this.options.opacity);
|
|
4334
4334
|
},
|
|
4335
4335
|
_addTile: function(e, t) {
|
|
4336
4336
|
var n = this._getTilePos(e), r = this._tileCoordsToKey(e), a = this.createTile(this._wrapCoords(e), i(this._tileReady, this, e));
|
|
4337
|
-
this._initTile(a), this.createTile.length < 2 && x(i(this._tileReady, this, e, null, a)),
|
|
4337
|
+
this._initTile(a), this.createTile.length < 2 && x(i(this._tileReady, this, e, null, a)), J(a, n), this._tiles[r] = {
|
|
4338
4338
|
el: a,
|
|
4339
4339
|
coords: e,
|
|
4340
4340
|
current: !0
|
|
@@ -4350,10 +4350,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4350
4350
|
coords: e
|
|
4351
4351
|
});
|
|
4352
4352
|
var r = this._tileCoordsToKey(e);
|
|
4353
|
-
n = this._tiles[r], n && (n.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (
|
|
4353
|
+
n = this._tiles[r], n && (n.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (wt(n.el, 0), S(this._fadeFrame), this._fadeFrame = x(this._updateOpacity, this)) : (n.active = !0, this._pruneTiles()), t || (K(n.el, "leaflet-tile-loaded"), this.fire("tileload", {
|
|
4354
4354
|
tile: n.el,
|
|
4355
4355
|
coords: e
|
|
4356
|
-
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"),
|
|
4356
|
+
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), H.ielt9 || !this._map._fadeAnimated ? x(this._pruneTiles, this) : setTimeout(i(this._pruneTiles, this), 250)));
|
|
4357
4357
|
},
|
|
4358
4358
|
_getTilePos: function(e) {
|
|
4359
4359
|
return e.scaleBy(this.getTileSize()).subtract(this._level.origin);
|
|
@@ -4388,18 +4388,18 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4388
4388
|
referrerPolicy: !1
|
|
4389
4389
|
},
|
|
4390
4390
|
initialize: function(e, t) {
|
|
4391
|
-
this._url = e, t = p(this, t), t.detectRetina &&
|
|
4391
|
+
this._url = e, t = p(this, t), t.detectRetina && H.retina && t.maxZoom > 0 ? (t.tileSize = Math.floor(t.tileSize / 2), t.zoomReverse ? (t.zoomOffset--, t.minZoom = Math.min(t.maxZoom, t.minZoom + 1)) : (t.zoomOffset++, t.maxZoom = Math.max(t.minZoom, t.maxZoom - 1)), t.minZoom = Math.max(0, t.minZoom)) : t.zoomReverse ? t.minZoom = Math.min(t.maxZoom, t.minZoom) : t.maxZoom = Math.max(t.minZoom, t.maxZoom), typeof t.subdomains == "string" && (t.subdomains = t.subdomains.split("")), this.on("tileunload", this._onTileRemove);
|
|
4392
4392
|
},
|
|
4393
4393
|
setUrl: function(e, t) {
|
|
4394
4394
|
return this._url === e && t === void 0 && (t = !0), this._url = e, t || this.redraw(), this;
|
|
4395
4395
|
},
|
|
4396
4396
|
createTile: function(e, t) {
|
|
4397
4397
|
var n = document.createElement("img");
|
|
4398
|
-
return
|
|
4398
|
+
return Y(n, "load", i(this._tileOnLoad, this, t, n)), Y(n, "error", i(this._tileOnError, this, t, n)), (this.options.crossOrigin || this.options.crossOrigin === "") && (n.crossOrigin = this.options.crossOrigin === !0 ? "" : this.options.crossOrigin), typeof this.options.referrerPolicy == "string" && (n.referrerPolicy = this.options.referrerPolicy), n.alt = "", n.src = this.getTileUrl(e), n;
|
|
4399
4399
|
},
|
|
4400
4400
|
getTileUrl: function(e) {
|
|
4401
4401
|
var t = {
|
|
4402
|
-
r:
|
|
4402
|
+
r: H.retina ? "@2x" : "",
|
|
4403
4403
|
s: this._getSubdomain(e),
|
|
4404
4404
|
x: e.x,
|
|
4405
4405
|
y: e.y,
|
|
@@ -4412,7 +4412,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4412
4412
|
return g(this._url, n(t, this.options));
|
|
4413
4413
|
},
|
|
4414
4414
|
_tileOnLoad: function(e, t) {
|
|
4415
|
-
|
|
4415
|
+
H.ielt9 ? setTimeout(i(e, this, null, t), 0) : e(null, t);
|
|
4416
4416
|
},
|
|
4417
4417
|
_tileOnError: function(e, t, n) {
|
|
4418
4418
|
var r = this.options.errorTileUrl;
|
|
@@ -4434,7 +4434,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4434
4434
|
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)) {
|
|
4435
4435
|
t.src = v;
|
|
4436
4436
|
var n = this._tiles[e].coords;
|
|
4437
|
-
|
|
4437
|
+
G(t), delete this._tiles[e], this.fire("tileabort", {
|
|
4438
4438
|
tile: t,
|
|
4439
4439
|
coords: n
|
|
4440
4440
|
});
|
|
@@ -4470,7 +4470,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4470
4470
|
var r = n({}, this.defaultWmsParams);
|
|
4471
4471
|
for (var i in t) i in this.options || (r[i] = t[i]);
|
|
4472
4472
|
t = p(this, t);
|
|
4473
|
-
var a = t.detectRetina &&
|
|
4473
|
+
var a = t.detectRetina && H.retina ? 2 : 1, o = this.getTileSize();
|
|
4474
4474
|
r.width = o.x * a, r.height = o.y * a, this.wmsParams = r;
|
|
4475
4475
|
},
|
|
4476
4476
|
onAdd: function(e) {
|
|
@@ -4506,7 +4506,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4506
4506
|
p(this, e), o(this), this._layers = this._layers || {};
|
|
4507
4507
|
},
|
|
4508
4508
|
onAdd: function() {
|
|
4509
|
-
this._container || (this._initContainer(),
|
|
4509
|
+
this._container || (this._initContainer(), K(this._container, "leaflet-zoom-animated")), this.getPane().appendChild(this._container), this._update(), this.on("update", this._updatePaths, this);
|
|
4510
4510
|
},
|
|
4511
4511
|
onRemove: function() {
|
|
4512
4512
|
this.off("update", this._updatePaths, this), this._destroyContainer();
|
|
@@ -4528,7 +4528,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4528
4528
|
},
|
|
4529
4529
|
_updateTransform: function(e, t) {
|
|
4530
4530
|
var n = this._map.getZoomScale(t, this._zoom), r = this._map.getSize().multiplyBy(.5 + this.options.padding), i = this._map.project(this._center, t), a = r.multiplyBy(-n).add(i).subtract(this._map._getNewPixelOrigin(e, t));
|
|
4531
|
-
|
|
4531
|
+
H.any3d ? Dt(this._container, a, n) : J(this._container, a);
|
|
4532
4532
|
},
|
|
4533
4533
|
_reset: function() {
|
|
4534
4534
|
for (var e in this._update(), this._updateTransform(this._center, this._zoom), this._layers) this._layers[e]._reset();
|
|
@@ -4557,10 +4557,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4557
4557
|
},
|
|
4558
4558
|
_initContainer: function() {
|
|
4559
4559
|
var e = this._container = document.createElement("canvas");
|
|
4560
|
-
|
|
4560
|
+
Y(e, "mousemove", this._onMouseMove, this), Y(e, "click dblclick mousedown mouseup contextmenu", this._onClick, this), Y(e, "mouseout", this._handleMouseOut, this), e._leaflet_disable_events = !0, this._ctx = e.getContext("2d");
|
|
4561
4561
|
},
|
|
4562
4562
|
_destroyContainer: function() {
|
|
4563
|
-
S(this._redrawRequest), delete this._ctx,
|
|
4563
|
+
S(this._redrawRequest), delete this._ctx, G(this._container), X(this._container), delete this._container;
|
|
4564
4564
|
},
|
|
4565
4565
|
_updatePaths: function() {
|
|
4566
4566
|
if (!this._postponeUpdatePaths) {
|
|
@@ -4572,8 +4572,8 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4572
4572
|
_update: function() {
|
|
4573
4573
|
if (!(this._map._animatingZoom && this._bounds)) {
|
|
4574
4574
|
Hr.prototype._update.call(this);
|
|
4575
|
-
var e = this._bounds, t = this._container, n = e.getSize(), r =
|
|
4576
|
-
|
|
4575
|
+
var e = this._bounds, t = this._container, n = e.getSize(), r = H.retina ? 2 : 1;
|
|
4576
|
+
J(t, e.min), t.width = r * n.x, t.height = r * n.y, t.style.width = n.x + "px", t.style.height = n.y + "px", H.retina && this._ctx.scale(2, 2), this._ctx.translate(-e.min.x, -e.min.y), this.fire("update");
|
|
4577
4577
|
}
|
|
4578
4578
|
},
|
|
4579
4579
|
_reset: function() {
|
|
@@ -4673,12 +4673,12 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4673
4673
|
},
|
|
4674
4674
|
_handleMouseOut: function(e) {
|
|
4675
4675
|
var t = this._hoveredLayer;
|
|
4676
|
-
t && (
|
|
4676
|
+
t && (q(this._container, "leaflet-interactive"), this._fireEvent([t], e, "mouseout"), this._hoveredLayer = null, this._mouseHoverThrottled = !1);
|
|
4677
4677
|
},
|
|
4678
4678
|
_handleMouseHover: function(e, t) {
|
|
4679
4679
|
if (!this._mouseHoverThrottled) {
|
|
4680
4680
|
for (var n, r, a = this._drawFirst; a; a = a.next) n = a.layer, n.options.interactive && n._containsPoint(t) && (r = n);
|
|
4681
|
-
r !== this._hoveredLayer && (this._handleMouseOut(e), r && (
|
|
4681
|
+
r !== this._hoveredLayer && (this._handleMouseOut(e), r && (K(this._container, "leaflet-interactive"), this._fireEvent([r], e, "mouseover"), this._hoveredLayer = r)), this._fireEvent(this._hoveredLayer ? [this._hoveredLayer] : !1, e), this._mouseHoverThrottled = !0, setTimeout(i(function() {
|
|
4682
4682
|
this._mouseHoverThrottled = !1;
|
|
4683
4683
|
}, this), 32);
|
|
4684
4684
|
}
|
|
@@ -4706,7 +4706,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4706
4706
|
}
|
|
4707
4707
|
});
|
|
4708
4708
|
function Wr(e) {
|
|
4709
|
-
return
|
|
4709
|
+
return H.canvas ? new Ur(e) : null;
|
|
4710
4710
|
}
|
|
4711
4711
|
var Gr = (function() {
|
|
4712
4712
|
try {
|
|
@@ -4719,14 +4719,14 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4719
4719
|
};
|
|
4720
4720
|
})(), Kr = {
|
|
4721
4721
|
_initContainer: function() {
|
|
4722
|
-
this._container =
|
|
4722
|
+
this._container = W("div", "leaflet-vml-container");
|
|
4723
4723
|
},
|
|
4724
4724
|
_update: function() {
|
|
4725
4725
|
this._map._animatingZoom || (Hr.prototype._update.call(this), this.fire("update"));
|
|
4726
4726
|
},
|
|
4727
4727
|
_initPath: function(e) {
|
|
4728
4728
|
var t = e._container = Gr("shape");
|
|
4729
|
-
|
|
4729
|
+
K(t, "leaflet-vml-shape " + (this.options.className || "")), t.coordsize = "1 1", e._path = Gr("path"), t.appendChild(e._path), this._updateStyle(e), this._layers[o(e)] = e;
|
|
4730
4730
|
},
|
|
4731
4731
|
_addPath: function(e) {
|
|
4732
4732
|
var t = e._container;
|
|
@@ -4734,7 +4734,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4734
4734
|
},
|
|
4735
4735
|
_removePath: function(e) {
|
|
4736
4736
|
var t = e._container;
|
|
4737
|
-
|
|
4737
|
+
G(t), e.removeInteractiveTarget(t), delete this._layers[o(e)];
|
|
4738
4738
|
},
|
|
4739
4739
|
_updateStyle: function(e) {
|
|
4740
4740
|
var t = e._stroke, n = e._fill, r = e.options, i = e._container;
|
|
@@ -4748,23 +4748,23 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4748
4748
|
e._path.v = t;
|
|
4749
4749
|
},
|
|
4750
4750
|
_bringToFront: function(e) {
|
|
4751
|
-
|
|
4751
|
+
yt(e._container);
|
|
4752
4752
|
},
|
|
4753
4753
|
_bringToBack: function(e) {
|
|
4754
|
-
|
|
4754
|
+
bt(e._container);
|
|
4755
4755
|
}
|
|
4756
|
-
}, qr =
|
|
4756
|
+
}, qr = H.vml ? Gr : ue, Jr = Hr.extend({
|
|
4757
4757
|
_initContainer: function() {
|
|
4758
4758
|
this._container = qr("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = qr("g"), this._container.appendChild(this._rootGroup);
|
|
4759
4759
|
},
|
|
4760
4760
|
_destroyContainer: function() {
|
|
4761
|
-
|
|
4761
|
+
G(this._container), X(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
|
|
4762
4762
|
},
|
|
4763
4763
|
_update: function() {
|
|
4764
4764
|
if (!(this._map._animatingZoom && this._bounds)) {
|
|
4765
4765
|
Hr.prototype._update.call(this);
|
|
4766
4766
|
var e = this._bounds, t = e.getSize(), n = this._container;
|
|
4767
|
-
this._svgSize && this._svgSize.equals(t) || (this._svgSize = t, n.setAttribute("width", t.x), n.setAttribute("height", t.y)),
|
|
4767
|
+
this._svgSize && this._svgSize.equals(t) || (this._svgSize = t, n.setAttribute("width", t.x), n.setAttribute("height", t.y)), J(n, e.min), n.setAttribute("viewBox", [
|
|
4768
4768
|
e.min.x,
|
|
4769
4769
|
e.min.y,
|
|
4770
4770
|
t.x,
|
|
@@ -4774,13 +4774,13 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4774
4774
|
},
|
|
4775
4775
|
_initPath: function(e) {
|
|
4776
4776
|
var t = e._path = qr("path");
|
|
4777
|
-
e.options.className &&
|
|
4777
|
+
e.options.className && K(t, e.options.className), e.options.interactive && K(t, "leaflet-interactive"), this._updateStyle(e), this._layers[o(e)] = e;
|
|
4778
4778
|
},
|
|
4779
4779
|
_addPath: function(e) {
|
|
4780
4780
|
this._rootGroup || this._initContainer(), this._rootGroup.appendChild(e._path), e.addInteractiveTarget(e._path);
|
|
4781
4781
|
},
|
|
4782
4782
|
_removePath: function(e) {
|
|
4783
|
-
|
|
4783
|
+
G(e._path), e.removeInteractiveTarget(e._path), delete this._layers[o(e)];
|
|
4784
4784
|
},
|
|
4785
4785
|
_updatePath: function(e) {
|
|
4786
4786
|
e._project(), e._update();
|
|
@@ -4800,17 +4800,17 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4800
4800
|
e._path.setAttribute("d", t);
|
|
4801
4801
|
},
|
|
4802
4802
|
_bringToFront: function(e) {
|
|
4803
|
-
|
|
4803
|
+
yt(e._path);
|
|
4804
4804
|
},
|
|
4805
4805
|
_bringToBack: function(e) {
|
|
4806
|
-
|
|
4806
|
+
bt(e._path);
|
|
4807
4807
|
}
|
|
4808
4808
|
});
|
|
4809
|
-
|
|
4809
|
+
H.vml && Jr.include(Kr);
|
|
4810
4810
|
function Yr(e) {
|
|
4811
|
-
return
|
|
4811
|
+
return H.svg || H.vml ? new Jr(e) : null;
|
|
4812
4812
|
}
|
|
4813
|
-
|
|
4813
|
+
Q.include({
|
|
4814
4814
|
getRenderer: function(e) {
|
|
4815
4815
|
var t = e.options.renderer || this._getPaneRenderer(e.options.pane) || this.options.renderer || this._renderer;
|
|
4816
4816
|
return t ||= this._renderer = this._createRenderer(), this.hasLayer(t) || this.addLayer(t), t;
|
|
@@ -4843,22 +4843,22 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4843
4843
|
function Zr(e, t) {
|
|
4844
4844
|
return new Xr(e, t);
|
|
4845
4845
|
}
|
|
4846
|
-
Jr.create = qr, Jr.pointsToPath = de, dr.geometryToLayer = fr, dr.coordsToLatLng = mr, dr.coordsToLatLngs = hr, dr.latLngToCoords = gr, dr.latLngsToCoords = _r, dr.getFeature = vr, dr.asFeature = yr,
|
|
4847
|
-
var Qr =
|
|
4846
|
+
Jr.create = qr, Jr.pointsToPath = de, dr.geometryToLayer = fr, dr.coordsToLatLng = mr, dr.coordsToLatLngs = hr, dr.latLngToCoords = gr, dr.latLngsToCoords = _r, dr.getFeature = vr, dr.asFeature = yr, Q.mergeOptions({ boxZoom: !0 });
|
|
4847
|
+
var Qr = hn.extend({
|
|
4848
4848
|
initialize: function(e) {
|
|
4849
4849
|
this._map = e, this._container = e._container, this._pane = e._panes.overlayPane, this._resetStateTimeout = 0, e.on("unload", this._destroy, this);
|
|
4850
4850
|
},
|
|
4851
4851
|
addHooks: function() {
|
|
4852
|
-
|
|
4852
|
+
Y(this._container, "mousedown", this._onMouseDown, this);
|
|
4853
4853
|
},
|
|
4854
4854
|
removeHooks: function() {
|
|
4855
|
-
|
|
4855
|
+
X(this._container, "mousedown", this._onMouseDown, this);
|
|
4856
4856
|
},
|
|
4857
4857
|
moved: function() {
|
|
4858
4858
|
return this._moved;
|
|
4859
4859
|
},
|
|
4860
4860
|
_destroy: function() {
|
|
4861
|
-
|
|
4861
|
+
G(this._pane), delete this._pane;
|
|
4862
4862
|
},
|
|
4863
4863
|
_resetState: function() {
|
|
4864
4864
|
this._resetStateTimeout = 0, this._moved = !1;
|
|
@@ -4868,21 +4868,21 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4868
4868
|
},
|
|
4869
4869
|
_onMouseDown: function(e) {
|
|
4870
4870
|
if (!e.shiftKey || e.which !== 1 && e.button !== 1) return !1;
|
|
4871
|
-
this._clearDeferredResetState(), this._resetState(),
|
|
4872
|
-
contextmenu:
|
|
4871
|
+
this._clearDeferredResetState(), this._resetState(), kt(), Nt(), this._startPoint = this._map.mouseEventToContainerPoint(e), Y(document, {
|
|
4872
|
+
contextmenu: Xt,
|
|
4873
4873
|
mousemove: this._onMouseMove,
|
|
4874
4874
|
mouseup: this._onMouseUp,
|
|
4875
4875
|
keydown: this._onKeyDown
|
|
4876
4876
|
}, this);
|
|
4877
4877
|
},
|
|
4878
4878
|
_onMouseMove: function(e) {
|
|
4879
|
-
this._moved || (this._moved = !0, this._box =
|
|
4879
|
+
this._moved || (this._moved = !0, this._box = W("div", "leaflet-zoom-box", this._container), K(this._container, "leaflet-crosshair"), this._map.fire("boxzoomstart")), this._point = this._map.mouseEventToContainerPoint(e);
|
|
4880
4880
|
var t = new k(this._point, this._startPoint), n = t.getSize();
|
|
4881
|
-
|
|
4881
|
+
J(this._box, t.min), this._box.style.width = n.x + "px", this._box.style.height = n.y + "px";
|
|
4882
4882
|
},
|
|
4883
4883
|
_finish: function() {
|
|
4884
|
-
this._moved && (
|
|
4885
|
-
contextmenu:
|
|
4884
|
+
this._moved && (G(this._box), q(this._container, "leaflet-crosshair")), At(), Pt(), X(document, {
|
|
4885
|
+
contextmenu: Xt,
|
|
4886
4886
|
mousemove: this._onMouseMove,
|
|
4887
4887
|
mouseup: this._onMouseUp,
|
|
4888
4888
|
keydown: this._onKeyDown
|
|
@@ -4899,8 +4899,8 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4899
4899
|
e.keyCode === 27 && (this._finish(), this._clearDeferredResetState(), this._resetState());
|
|
4900
4900
|
}
|
|
4901
4901
|
});
|
|
4902
|
-
|
|
4903
|
-
var $r =
|
|
4902
|
+
Q.addInitHook("addHandler", "boxZoom", Qr), Q.mergeOptions({ doubleClickZoom: !0 });
|
|
4903
|
+
var $r = hn.extend({
|
|
4904
4904
|
addHooks: function() {
|
|
4905
4905
|
this._map.on("dblclick", this._onDoubleClick, this);
|
|
4906
4906
|
},
|
|
@@ -4912,7 +4912,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4912
4912
|
t.options.doubleClickZoom === "center" ? t.setZoom(i) : t.setZoomAround(e.containerPoint, i);
|
|
4913
4913
|
}
|
|
4914
4914
|
});
|
|
4915
|
-
|
|
4915
|
+
Q.addInitHook("addHandler", "doubleClickZoom", $r), Q.mergeOptions({
|
|
4916
4916
|
dragging: !0,
|
|
4917
4917
|
inertia: !0,
|
|
4918
4918
|
inertiaDeceleration: 3400,
|
|
@@ -4921,7 +4921,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4921
4921
|
worldCopyJump: !1,
|
|
4922
4922
|
maxBoundsViscosity: 0
|
|
4923
4923
|
});
|
|
4924
|
-
var ei =
|
|
4924
|
+
var ei = hn.extend({
|
|
4925
4925
|
addHooks: function() {
|
|
4926
4926
|
if (!this._draggable) {
|
|
4927
4927
|
var e = this._map;
|
|
@@ -4931,10 +4931,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4931
4931
|
dragend: this._onDragEnd
|
|
4932
4932
|
}, this), this._draggable.on("predrag", this._onPreDragLimit, this), e.options.worldCopyJump && (this._draggable.on("predrag", this._onPreDragWrap, this), e.on("zoomend", this._onZoomEnd, this), e.whenReady(this._onZoomEnd, this));
|
|
4933
4933
|
}
|
|
4934
|
-
|
|
4934
|
+
K(this._map._container, "leaflet-grab leaflet-touch-drag"), this._draggable.enable(), this._positions = [], this._times = [];
|
|
4935
4935
|
},
|
|
4936
4936
|
removeHooks: function() {
|
|
4937
|
-
|
|
4937
|
+
q(this._map._container, "leaflet-grab"), q(this._map._container, "leaflet-touch-drag"), this._draggable.disable();
|
|
4938
4938
|
},
|
|
4939
4939
|
moved: function() {
|
|
4940
4940
|
return this._draggable && this._draggable._moved;
|
|
@@ -4994,11 +4994,11 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
4994
4994
|
}
|
|
4995
4995
|
}
|
|
4996
4996
|
});
|
|
4997
|
-
|
|
4997
|
+
Q.addInitHook("addHandler", "dragging", ei), Q.mergeOptions({
|
|
4998
4998
|
keyboard: !0,
|
|
4999
4999
|
keyboardPanDelta: 80
|
|
5000
5000
|
});
|
|
5001
|
-
var ti =
|
|
5001
|
+
var ti = hn.extend({
|
|
5002
5002
|
keyCodes: {
|
|
5003
5003
|
left: [37],
|
|
5004
5004
|
right: [39],
|
|
@@ -5022,7 +5022,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5022
5022
|
},
|
|
5023
5023
|
addHooks: function() {
|
|
5024
5024
|
var e = this._map._container;
|
|
5025
|
-
e.tabIndex <= 0 && (e.tabIndex = "0"),
|
|
5025
|
+
e.tabIndex <= 0 && (e.tabIndex = "0"), Y(e, {
|
|
5026
5026
|
focus: this._onFocus,
|
|
5027
5027
|
blur: this._onBlur,
|
|
5028
5028
|
mousedown: this._onMouseDown
|
|
@@ -5032,7 +5032,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5032
5032
|
}, this);
|
|
5033
5033
|
},
|
|
5034
5034
|
removeHooks: function() {
|
|
5035
|
-
this._removeHooks(),
|
|
5035
|
+
this._removeHooks(), X(this._map._container, {
|
|
5036
5036
|
focus: this._onFocus,
|
|
5037
5037
|
blur: this._onBlur,
|
|
5038
5038
|
mousedown: this._onMouseDown
|
|
@@ -5064,10 +5064,10 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5064
5064
|
for (r = 0, i = n.zoomOut.length; r < i; r++) t[n.zoomOut[r]] = -e;
|
|
5065
5065
|
},
|
|
5066
5066
|
_addHooks: function() {
|
|
5067
|
-
|
|
5067
|
+
Y(document, "keydown", this._onKeyDown, this);
|
|
5068
5068
|
},
|
|
5069
5069
|
_removeHooks: function() {
|
|
5070
|
-
|
|
5070
|
+
X(document, "keydown", this._onKeyDown, this);
|
|
5071
5071
|
},
|
|
5072
5072
|
_onKeyDown: function(e) {
|
|
5073
5073
|
if (!(e.altKey || e.ctrlKey || e.metaKey)) {
|
|
@@ -5082,27 +5082,27 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5082
5082
|
} else if (t in this._zoomKeys) n.setZoom(n.getZoom() + (e.shiftKey ? 3 : 1) * this._zoomKeys[t]);
|
|
5083
5083
|
else if (t === 27 && n._popup && n._popup.options.closeOnEscapeKey) n.closePopup();
|
|
5084
5084
|
else return;
|
|
5085
|
-
|
|
5085
|
+
Xt(e);
|
|
5086
5086
|
}
|
|
5087
5087
|
}
|
|
5088
5088
|
});
|
|
5089
|
-
|
|
5089
|
+
Q.addInitHook("addHandler", "keyboard", ti), Q.mergeOptions({
|
|
5090
5090
|
scrollWheelZoom: !0,
|
|
5091
5091
|
wheelDebounceTime: 40,
|
|
5092
5092
|
wheelPxPerZoomLevel: 60
|
|
5093
5093
|
});
|
|
5094
|
-
var
|
|
5094
|
+
var $ = hn.extend({
|
|
5095
5095
|
addHooks: function() {
|
|
5096
|
-
|
|
5096
|
+
Y(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
|
|
5097
5097
|
},
|
|
5098
5098
|
removeHooks: function() {
|
|
5099
|
-
|
|
5099
|
+
X(this._map._container, "wheel", this._onWheelScroll, this);
|
|
5100
5100
|
},
|
|
5101
5101
|
_onWheelScroll: function(e) {
|
|
5102
|
-
var t =
|
|
5102
|
+
var t = en(e), n = this._map.options.wheelDebounceTime;
|
|
5103
5103
|
this._delta += t, this._lastMousePos = this._map.mouseEventToContainerPoint(e), this._startTime ||= +/* @__PURE__ */ new Date();
|
|
5104
5104
|
var r = Math.max(n - (+/* @__PURE__ */ new Date() - this._startTime), 0);
|
|
5105
|
-
clearTimeout(this._timer), this._timer = setTimeout(i(this._performZoom, this), r),
|
|
5105
|
+
clearTimeout(this._timer), this._timer = setTimeout(i(this._performZoom, this), r), Xt(e);
|
|
5106
5106
|
},
|
|
5107
5107
|
_performZoom: function() {
|
|
5108
5108
|
var e = this._map, t = e.getZoom(), n = this._map.options.zoomSnap || 0;
|
|
@@ -5111,32 +5111,32 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5111
5111
|
this._delta = 0, this._startTime = null, o && (e.options.scrollWheelZoom === "center" ? e.setZoom(t + o) : e.setZoomAround(this._lastMousePos, t + o));
|
|
5112
5112
|
}
|
|
5113
5113
|
});
|
|
5114
|
-
|
|
5115
|
-
var
|
|
5116
|
-
|
|
5117
|
-
tapHold:
|
|
5114
|
+
Q.addInitHook("addHandler", "scrollWheelZoom", $);
|
|
5115
|
+
var ni = 600;
|
|
5116
|
+
Q.mergeOptions({
|
|
5117
|
+
tapHold: H.touchNative && H.safari && H.mobile,
|
|
5118
5118
|
tapTolerance: 15
|
|
5119
5119
|
});
|
|
5120
|
-
var ri =
|
|
5120
|
+
var ri = hn.extend({
|
|
5121
5121
|
addHooks: function() {
|
|
5122
|
-
|
|
5122
|
+
Y(this._map._container, "touchstart", this._onDown, this);
|
|
5123
5123
|
},
|
|
5124
5124
|
removeHooks: function() {
|
|
5125
|
-
|
|
5125
|
+
X(this._map._container, "touchstart", this._onDown, this);
|
|
5126
5126
|
},
|
|
5127
5127
|
_onDown: function(e) {
|
|
5128
5128
|
if (clearTimeout(this._holdTimeout), e.touches.length === 1) {
|
|
5129
5129
|
var t = e.touches[0];
|
|
5130
5130
|
this._startPos = this._newPos = new E(t.clientX, t.clientY), this._holdTimeout = setTimeout(i(function() {
|
|
5131
|
-
this._cancel(), this._isTapValid() && (
|
|
5132
|
-
}, this),
|
|
5131
|
+
this._cancel(), this._isTapValid() && (Y(document, "touchend", Z), Y(document, "touchend touchcancel", this._cancelClickPrevent), this._simulateEvent("contextmenu", t));
|
|
5132
|
+
}, this), ni), Y(document, "touchend touchcancel contextmenu", this._cancel, this), Y(document, "touchmove", this._onMove, this);
|
|
5133
5133
|
}
|
|
5134
5134
|
},
|
|
5135
5135
|
_cancelClickPrevent: function e() {
|
|
5136
|
-
|
|
5136
|
+
X(document, "touchend", Z), X(document, "touchend touchcancel", e);
|
|
5137
5137
|
},
|
|
5138
5138
|
_cancel: function() {
|
|
5139
|
-
clearTimeout(this._holdTimeout),
|
|
5139
|
+
clearTimeout(this._holdTimeout), X(document, "touchend touchcancel contextmenu", this._cancel, this), X(document, "touchmove", this._onMove, this);
|
|
5140
5140
|
},
|
|
5141
5141
|
_onMove: function(e) {
|
|
5142
5142
|
var t = e.touches[0];
|
|
@@ -5158,22 +5158,22 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5158
5158
|
n._simulated = !0, t.target.dispatchEvent(n);
|
|
5159
5159
|
}
|
|
5160
5160
|
});
|
|
5161
|
-
|
|
5162
|
-
touchZoom:
|
|
5161
|
+
Q.addInitHook("addHandler", "tapHold", ri), Q.mergeOptions({
|
|
5162
|
+
touchZoom: H.touch,
|
|
5163
5163
|
bounceAtZoomLimits: !0
|
|
5164
5164
|
});
|
|
5165
|
-
var ii =
|
|
5165
|
+
var ii = hn.extend({
|
|
5166
5166
|
addHooks: function() {
|
|
5167
|
-
|
|
5167
|
+
K(this._map._container, "leaflet-touch-zoom"), Y(this._map._container, "touchstart", this._onTouchStart, this);
|
|
5168
5168
|
},
|
|
5169
5169
|
removeHooks: function() {
|
|
5170
|
-
|
|
5170
|
+
q(this._map._container, "leaflet-touch-zoom"), X(this._map._container, "touchstart", this._onTouchStart, this);
|
|
5171
5171
|
},
|
|
5172
5172
|
_onTouchStart: function(e) {
|
|
5173
5173
|
var t = this._map;
|
|
5174
5174
|
if (!(!e.touches || e.touches.length !== 2 || t._animatingZoom || this._zooming)) {
|
|
5175
5175
|
var n = t.mouseEventToContainerPoint(e.touches[0]), r = t.mouseEventToContainerPoint(e.touches[1]);
|
|
5176
|
-
this._centerPoint = t.getSize()._divideBy(2), this._startLatLng = t.containerPointToLatLng(this._centerPoint), t.options.touchZoom !== "center" && (this._pinchStartLatLng = t.containerPointToLatLng(n.add(r)._divideBy(2))), this._startDist = n.distanceTo(r), this._startZoom = t.getZoom(), this._moved = !1, this._zooming = !0, t._stop(),
|
|
5176
|
+
this._centerPoint = t.getSize()._divideBy(2), this._startLatLng = t.containerPointToLatLng(this._centerPoint), t.options.touchZoom !== "center" && (this._pinchStartLatLng = t.containerPointToLatLng(n.add(r)._divideBy(2))), this._startDist = n.distanceTo(r), this._startZoom = t.getZoom(), this._moved = !1, this._zooming = !0, t._stop(), Y(document, "touchmove", this._onTouchMove, this), Y(document, "touchend touchcancel", this._onTouchEnd, this), Z(e);
|
|
5177
5177
|
}
|
|
5178
5178
|
},
|
|
5179
5179
|
_onTouchMove: function(e) {
|
|
@@ -5191,14 +5191,14 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5191
5191
|
pinch: !0,
|
|
5192
5192
|
round: !1
|
|
5193
5193
|
}, void 0);
|
|
5194
|
-
this._animRequest = x(s, this, !0),
|
|
5194
|
+
this._animRequest = x(s, this, !0), Z(e);
|
|
5195
5195
|
}
|
|
5196
5196
|
},
|
|
5197
5197
|
_onTouchEnd: function() {
|
|
5198
|
-
!this._moved || !this._zooming ? this._zooming = !1 : (this._zooming = !1, S(this._animRequest),
|
|
5198
|
+
!this._moved || !this._zooming ? this._zooming = !1 : (this._zooming = !1, S(this._animRequest), X(document, "touchmove", this._onTouchMove, this), X(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)));
|
|
5199
5199
|
}
|
|
5200
5200
|
});
|
|
5201
|
-
|
|
5201
|
+
Q.addInitHook("addHandler", "touchZoom", ii), Q.BoxZoom = Qr, Q.DoubleClickZoom = $r, Q.Drag = ei, Q.Keyboard = ti, Q.ScrollWheelZoom = $, Q.TapHold = ri, Q.TouchZoom = ii, e.Bounds = k, e.Browser = H, e.CRS = F, e.Canvas = Ur, e.Circle = ar, e.CircleMarker = rr, e.Class = ae, e.Control = on, e.DivIcon = Pr, e.DivOverlay = kr, e.DomEvent = nn, e.DomUtil = Vt, e.Draggable = vn, e.Evented = T, e.FeatureGroup = Jn, e.GeoJSON = dr, e.GridLayer = Ir, e.Handler = hn, e.Icon = Xn, e.ImageOverlay = Cr, e.LatLng = N, e.LatLngBounds = j, e.Layer = Gn, e.LayerGroup = Kn, e.LineUtil = Rn, e.Map = Q, e.Marker = er, e.Mixin = gn, e.Path = nr, e.Point = E, e.PolyUtil = Sn, e.Polygon = lr, e.Polyline = sr, e.Popup = Ar, e.PosAnimation = rn, e.Projection = Vn, e.Rectangle = Xr, e.Renderer = Hr, e.SVG = Jr, e.SVGOverlay = Dr, e.TileLayer = Rr, e.Tooltip = Mr, e.Transformation = oe, e.Util = ie, e.VideoOverlay = Tr, e.bind = i, e.bounds = A, e.canvas = Wr, e.circle = or, e.circleMarker = ir, e.control = sn, e.divIcon = Fr, e.extend = n, e.featureGroup = Yn, e.geoJSON = xr, e.geoJson = Sr, e.gridLayer = Lr, e.icon = Zn, e.imageOverlay = wr, e.latLng = P, e.latLngBounds = M, e.layerGroup = qn, e.map = an, e.marker = tr, e.point = O, e.polygon = ur, e.polyline = cr, e.popup = jr, e.rectangle = Zr, e.setOptions = p, e.stamp = o, e.svg = Yr, e.svgOverlay = Or, e.tileLayer = zr, e.tooltip = Nr, e.transformation = se, e.version = t, e.videoOverlay = Er;
|
|
5202
5202
|
var ai = window.L;
|
|
5203
5203
|
e.noConflict = function() {
|
|
5204
5204
|
return window.L = ai, this;
|
|
@@ -5894,7 +5894,7 @@ var G = /* @__PURE__ */ Re(gt, [["render", St], ["__scopeId", "data-v-71b2d8af"]
|
|
|
5894
5894
|
} }), e.MarkerClusterGroup = t, e.MarkerCluster = n, Object.defineProperty(e, "__esModule", { value: !0 });
|
|
5895
5895
|
});
|
|
5896
5896
|
})))();
|
|
5897
|
-
var
|
|
5897
|
+
var Q = "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=", an = /*#__PURE__*/ Le(/* @__PURE__ */ R({
|
|
5898
5898
|
__name: "Map",
|
|
5899
5899
|
props: {
|
|
5900
5900
|
modelValue: {},
|
|
@@ -5902,13 +5902,13 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
5902
5902
|
},
|
|
5903
5903
|
emits: ["update:modelValue", "callback"],
|
|
5904
5904
|
setup(e, { emit: t }) {
|
|
5905
|
-
let { t: r } = y(), i = t, a = e, { hotelMapImage: o } = S(Ee()), s =
|
|
5906
|
-
iconUrl:
|
|
5905
|
+
let { t: r } = y(), i = t, a = e, { hotelMapImage: o } = S(Ee()), s = rn.default.Util.extend(rn.default.CRS.Simple, { transformation: new rn.default.Transformation(1, 0, 1, 0) }), c = F(), l = n(() => o.value?.url), u = n(() => o.value?.height), d = n(() => o.value?.width), f = rn.default.icon({
|
|
5906
|
+
iconUrl: Q,
|
|
5907
5907
|
iconSize: [32, 37],
|
|
5908
5908
|
iconAnchor: [16, 37]
|
|
5909
5909
|
});
|
|
5910
5910
|
function p() {
|
|
5911
|
-
let e =
|
|
5911
|
+
let e = rn.default.map(c.value, {
|
|
5912
5912
|
attributionControl: !1,
|
|
5913
5913
|
zoomControl: !0,
|
|
5914
5914
|
smoothWheelZoom: !0,
|
|
@@ -5919,10 +5919,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
5919
5919
|
maxZoom: 1,
|
|
5920
5920
|
crs: s
|
|
5921
5921
|
}), t = [[0, 0], [u.value, d.value]];
|
|
5922
|
-
|
|
5923
|
-
let n =
|
|
5922
|
+
rn.default.imageOverlay(l.value, t).addTo(e);
|
|
5923
|
+
let n = rn.default.markerClusterGroup({ showCoverageOnHover: !1 }), i = new rn.default.LatLngBounds(g.value.map(({ y: e, x: t }) => [e, t]));
|
|
5924
5924
|
g.value.forEach(({ y: e, x: t, name: i, id: a }) => {
|
|
5925
|
-
n.addLayer(
|
|
5925
|
+
n.addLayer(rn.default.marker([e, t], {
|
|
5926
5926
|
icon: f,
|
|
5927
5927
|
title: i,
|
|
5928
5928
|
alt: i,
|
|
@@ -5959,10 +5959,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
5959
5959
|
class: "konnectio-leaflet-map"
|
|
5960
5960
|
}, null, 512)).cacheIndex = 0, M(1), t[0]);
|
|
5961
5961
|
}
|
|
5962
|
-
}), [["__scopeId", "data-v-c36a3ba7"]]),
|
|
5962
|
+
}), [["__scopeId", "data-v-c36a3ba7"]]), on = { style: {
|
|
5963
5963
|
height: "100%",
|
|
5964
5964
|
width: "100%"
|
|
5965
|
-
} },
|
|
5965
|
+
} }, sn = /* @__PURE__ */ R({
|
|
5966
5966
|
__name: "MapSelector",
|
|
5967
5967
|
props: {
|
|
5968
5968
|
roomList: {},
|
|
@@ -5980,7 +5980,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
5980
5980
|
}), s.callback());
|
|
5981
5981
|
}
|
|
5982
5982
|
return (t, n) => (b(), d(xe, { title: a(r)("hotel.selectRoomOnMapTitle") }, {
|
|
5983
|
-
default: T(() => [C("div",
|
|
5983
|
+
default: T(() => [C("div", on, [u(an, {
|
|
5984
5984
|
modelValue: i.value,
|
|
5985
5985
|
"onUpdate:modelValue": n[0] ||= (e) => i.value = e,
|
|
5986
5986
|
rooms: e.roomList,
|
|
@@ -5989,19 +5989,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
5989
5989
|
_: 1
|
|
5990
5990
|
}, 8, ["title"]));
|
|
5991
5991
|
}
|
|
5992
|
-
}),
|
|
5992
|
+
}), cn = {
|
|
5993
5993
|
key: 0,
|
|
5994
5994
|
class: "konnectio-hotel-select-rate"
|
|
5995
|
-
},
|
|
5995
|
+
}, ln = {
|
|
5996
5996
|
key: 0,
|
|
5997
5997
|
class: "konnectio-hotel-select-rate-removal"
|
|
5998
|
-
},
|
|
5998
|
+
}, un = { key: 1 }, dn = { class: "konnectio-listing-config-body" }, fn = {
|
|
5999
5999
|
key: 0,
|
|
6000
6000
|
class: "konnectio-listing-units-body"
|
|
6001
|
-
},
|
|
6001
|
+
}, pn = {
|
|
6002
6002
|
key: 1,
|
|
6003
6003
|
class: "konnectio-listing-units-body"
|
|
6004
|
-
},
|
|
6004
|
+
}, mn = /*#__PURE__*/ Le(/* @__PURE__ */ R({
|
|
6005
6005
|
__name: "Hotel",
|
|
6006
6006
|
props: {
|
|
6007
6007
|
room: {},
|
|
@@ -6027,7 +6027,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6027
6027
|
let ee = n(() => c.room.rates.map((e) => ({
|
|
6028
6028
|
label: e.name,
|
|
6029
6029
|
value: e.id
|
|
6030
|
-
}))), { hideAvailableRoomAmount: v, autoSelectRateId: te, enableMultipleConfigurations: ne, hasSharedAddonSelection: re } = S(
|
|
6030
|
+
}))), { hideAvailableRoomAmount: v, autoSelectRateId: te, enableMultipleConfigurations: ne, hasSharedAddonSelection: re } = S(Xe()), { location: ie } = S(Ze()), { roomSelect: ae, isSearchOutdated: E } = S(Ee()), { addToCart: O, removeFromCart: k } = Ne(), A = (e, t) => c.room.rates.find((t) => t.id === e)?.occupantRates.find((e) => e.index === t), j = n(() => c.room.roomList.some((e) => e.mapImageX && e.mapImageY)), M = n(() => c.room.rates.every((e) => e.isBreakfastIncluded === !0)), N = (e, t) => A(e, t) ? A(e, t)?.rooms : null, I = (e) => c.room.rates.length > 0 && c.room.rates.find((t) => t.id === e)?.occupantRates.map((e) => ({
|
|
6031
6031
|
value: e.index,
|
|
6032
6032
|
price: e.totalPrice,
|
|
6033
6033
|
adults: e.adultsCount,
|
|
@@ -6101,7 +6101,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6101
6101
|
action: T(() => [C("div", { class: m(["konnectio-availability-listing-selection", { "konnectio-multiple-configurations": l.value.length > 1 }]) }, [(b(!0), h(o, null, D(l.value, (n, d) => (b(), h("div", {
|
|
6102
6102
|
key: n.id,
|
|
6103
6103
|
class: "konnectio-hotel-room"
|
|
6104
|
-
}, [R.value ? (b(), h("div",
|
|
6104
|
+
}, [R.value ? (b(), h("div", cn, [u(Je, {
|
|
6105
6105
|
modelValue: n.id,
|
|
6106
6106
|
"onUpdate:modelValue": (e) => n.id = e,
|
|
6107
6107
|
label: a(s)("hotel.roomVariant"),
|
|
@@ -6116,19 +6116,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6116
6116
|
"placeholder",
|
|
6117
6117
|
"options",
|
|
6118
6118
|
"onChanged"
|
|
6119
|
-
]), l.value.length > 1 ? (b(), h("div",
|
|
6119
|
+
]), l.value.length > 1 ? (b(), h("div", ln, [u(ze, {
|
|
6120
6120
|
style: { "--buttonBackground": "var(--dangerColor)" },
|
|
6121
6121
|
icon: "trash-alt",
|
|
6122
6122
|
"icon-type": "fas",
|
|
6123
6123
|
onClickEvent: (e) => _(d),
|
|
6124
6124
|
secondary: ""
|
|
6125
|
-
}, null, 8, ["onClickEvent"])])) : f("", !0)])) : f("", !0), n.id ? (b(), h("div",
|
|
6125
|
+
}, null, 8, ["onClickEvent"])])) : f("", !0)])) : f("", !0), n.id ? (b(), h("div", un, [(b(!0), h(o, null, D(e.room.rates, ({ id: l, maximumOccupants: d }) => (b(), h("div", {
|
|
6126
6126
|
key: l,
|
|
6127
6127
|
class: "konnectio-listing-action-selective-i"
|
|
6128
6128
|
}, [n.id === l ? (b(!0), h(o, { key: 0 }, D(n.config, (o, f) => (b(), h("div", {
|
|
6129
6129
|
key: f,
|
|
6130
6130
|
class: "konnectio-listing-action-selective"
|
|
6131
|
-
}, [C("ul",
|
|
6131
|
+
}, [C("ul", dn, [u(nn, {
|
|
6132
6132
|
modelValue: o.id,
|
|
6133
6133
|
"onUpdate:modelValue": (e) => o.id = e,
|
|
6134
6134
|
icon: "male",
|
|
@@ -6144,13 +6144,13 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6144
6144
|
"description",
|
|
6145
6145
|
"options",
|
|
6146
6146
|
"readonly"
|
|
6147
|
-
])]), j.value ? (b(), h("div",
|
|
6147
|
+
])]), j.value ? (b(), h("div", pn, [u(ze, {
|
|
6148
6148
|
onClickEvent: r,
|
|
6149
6149
|
label: a(s)("hotel.selectRoomOnMap"),
|
|
6150
6150
|
secondary: "",
|
|
6151
6151
|
"full-width": "",
|
|
6152
6152
|
disabled: a(E)
|
|
6153
|
-
}, null, 8, ["label", "disabled"]), u(
|
|
6153
|
+
}, null, 8, ["label", "disabled"]), u(sn, {
|
|
6154
6154
|
modelValue: t.value,
|
|
6155
6155
|
"onUpdate:modelValue": c[0] ||= (e) => t.value = e,
|
|
6156
6156
|
"room-list": e.room.roomList,
|
|
@@ -6162,7 +6162,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6162
6162
|
"room-list",
|
|
6163
6163
|
"config",
|
|
6164
6164
|
"onUpdate:config"
|
|
6165
|
-
])])) : (b(), h("ul",
|
|
6165
|
+
])])) : (b(), h("ul", fn, [u(Ke, {
|
|
6166
6166
|
modelValue: o.units,
|
|
6167
6167
|
"onUpdate:modelValue": (e) => o.units = e,
|
|
6168
6168
|
description: a(v) ? void 0 : `${a(s)("booking.availability.availableUnits")}: ${N(n.id, o.id)}`,
|
|
@@ -6195,10 +6195,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6195
6195
|
"includes-breakfast"
|
|
6196
6196
|
]));
|
|
6197
6197
|
}
|
|
6198
|
-
}), [["__scopeId", "data-v-c7b61560"]]),
|
|
6198
|
+
}), [["__scopeId", "data-v-c7b61560"]]), hn = { class: "konnectio-template-side-panel" }, gn = { class: "konnectio-template-side-panel-listings" }, _n = { class: "konnectio-template-room-config" }, vn = { class: "konnectio-template-room-units" }, yn = { class: "konnectio-template-room-unit-header" }, bn = { class: "konnectio-template-footer" }, xn = {
|
|
6199
6199
|
key: 0,
|
|
6200
6200
|
class: "konnectio-template-selection-preview"
|
|
6201
|
-
}, Sn = { class: "konnectio-template-selection-item-header" }, Cn = { class: "konnectio-template-selection-item-name" }, wn = { class: "konnectio-template-selection-item-price" }, Tn = { class: "konnectio-template-selection-item-units" }, En = /*#__PURE__*/
|
|
6201
|
+
}, Sn = { class: "konnectio-template-selection-item-header" }, Cn = { class: "konnectio-template-selection-item-name" }, wn = { class: "konnectio-template-selection-item-price" }, Tn = { class: "konnectio-template-selection-item-units" }, En = /*#__PURE__*/ Le(/* @__PURE__ */ R({
|
|
6202
6202
|
__name: "Template",
|
|
6203
6203
|
props: {
|
|
6204
6204
|
title: {},
|
|
@@ -6209,7 +6209,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6209
6209
|
callback: { type: Function }
|
|
6210
6210
|
},
|
|
6211
6211
|
setup(e) {
|
|
6212
|
-
let { t } = y(), r =
|
|
6212
|
+
let { t } = y(), r = Xe(), i = Ee(), { location: s, adults: l, children: p } = S(Ze()), { templateID: g, roomGroupID: _, templateRoomSelections: ee, selectionHasNoAddons: v, currentAdults: te, currentChildren: ne, dealResolved: re } = S(i), { currency: ie } = S(r), { clearRoomSelection: ae } = i, { addToCart: E } = Ne(), { hasChildSelection: O, hasSharedAddonSelection: k } = r, j = e, M = F(!1), N = l.value || 1, P = p.value || 0, R = I({}), z = n(() => {
|
|
6213
6213
|
function e(e, t) {
|
|
6214
6214
|
return M.value === !0 ? e.extraPrice > t.extraPrice ? -1 : 1 : e.extraPrice > t.extraPrice ? 1 : -1;
|
|
6215
6215
|
}
|
|
@@ -6338,13 +6338,13 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6338
6338
|
c(w(a(t)("booking.reservation.room")) + " " + w(n + 1) + ": " + w(e.adults) + " " + w(a(t)("availability.adults")) + " ", 1),
|
|
6339
6339
|
e.children > 0 ? (b(), h(o, { key: 0 }, [c(" , " + w(e.children) + " " + w(a(t)("availability.children")), 1)], 64)) : f("", !0),
|
|
6340
6340
|
c(" · " + w(a(B)(e.price, a(ie))), 1)
|
|
6341
|
-
]))), 128))])]))), 128))])) : f("", !0), u(
|
|
6341
|
+
]))), 128))])]))), 128))])) : f("", !0), u(ze, {
|
|
6342
6342
|
onClickEvent: _e,
|
|
6343
6343
|
label: `${he() > 1 ? a(t)("booking.availability.selectTheseRooms") : a(t)("booking.availability.selectThisRoom")} (${a(B)(me(), a(ie))})`,
|
|
6344
6344
|
disabled: he() === 0,
|
|
6345
6345
|
"full-width": ""
|
|
6346
6346
|
}, null, 8, ["label", "disabled"])])]),
|
|
6347
|
-
default: T(() => [C("div",
|
|
6347
|
+
default: T(() => [C("div", hn, [C("div", gn, [(b(!0), h(o, null, D(z.value, (e) => (b(), d(ue, {
|
|
6348
6348
|
key: e.id,
|
|
6349
6349
|
type: "hotel",
|
|
6350
6350
|
"listing-id": e.id,
|
|
@@ -6356,7 +6356,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6356
6356
|
"includes-breakfast": !1,
|
|
6357
6357
|
"hide-info-button": !0
|
|
6358
6358
|
}, {
|
|
6359
|
-
action: T(() => [C("div", _n, [C("div", vn, [u(
|
|
6359
|
+
action: T(() => [C("div", _n, [C("div", vn, [u(Ke, {
|
|
6360
6360
|
modelValue: R[e.id].units,
|
|
6361
6361
|
"onUpdate:modelValue": (t) => R[e.id].units = t,
|
|
6362
6362
|
label: a(t)("booking.availability.units"),
|
|
@@ -6374,7 +6374,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6374
6374
|
])]), (b(!0), h(o, null, D(R[e.id].configs, (n, r) => (b(), h("div", {
|
|
6375
6375
|
key: r,
|
|
6376
6376
|
class: "konnectio-template-room-unit-config"
|
|
6377
|
-
}, [C("div", yn, [C("span", null, w(a(t)("booking.reservation.room")) + " " + w(r + 1), 1), C("span", null, w(a(B)(pe(e.id, r), a(ie))), 1)]), C("div", { class: m(["konnectio-template-room-guests", { "only-adult-guests": !a(O)(a(s)) }]) }, [u(
|
|
6377
|
+
}, [C("div", yn, [C("span", null, w(a(t)("booking.reservation.room")) + " " + w(r + 1), 1), C("span", null, w(a(B)(pe(e.id, r), a(ie))), 1)]), C("div", { class: m(["konnectio-template-room-guests", { "only-adult-guests": !a(O)(a(s)) }]) }, [u(Ke, {
|
|
6378
6378
|
modelValue: n.adults,
|
|
6379
6379
|
"onUpdate:modelValue": (e) => n.adults = e,
|
|
6380
6380
|
label: a(t)("availability.adults"),
|
|
@@ -6391,7 +6391,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6391
6391
|
"label",
|
|
6392
6392
|
"description",
|
|
6393
6393
|
"max-value"
|
|
6394
|
-
]), a(O)(a(s)) ? (b(), d(
|
|
6394
|
+
]), a(O)(a(s)) ? (b(), d(Ke, {
|
|
6395
6395
|
key: 0,
|
|
6396
6396
|
modelValue: n.children,
|
|
6397
6397
|
"onUpdate:modelValue": (e) => n.children = e,
|
|
@@ -6448,12 +6448,12 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6448
6448
|
name: e.name,
|
|
6449
6449
|
description: e.description,
|
|
6450
6450
|
gallery: e.images,
|
|
6451
|
-
layout: a(
|
|
6451
|
+
layout: a(qe).Template,
|
|
6452
6452
|
"includes-breakfast": !1,
|
|
6453
6453
|
"hide-info-button": !1,
|
|
6454
6454
|
"prices-from": o.value
|
|
6455
6455
|
}, {
|
|
6456
|
-
action: T(() => [C("div", Dn, [u(
|
|
6456
|
+
action: T(() => [C("div", Dn, [u(ze, {
|
|
6457
6457
|
onClickEvent: c,
|
|
6458
6458
|
label: a(t)("booking.availability.selectPackage"),
|
|
6459
6459
|
"full-width": "",
|
|
@@ -6486,7 +6486,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6486
6486
|
"prices-from"
|
|
6487
6487
|
]));
|
|
6488
6488
|
}
|
|
6489
|
-
}), kn = { class: "konnectio-special-offer-availability" }, An = { class: "konnectio-special-offer-availability-button" }, jn = /*#__PURE__*/
|
|
6489
|
+
}), kn = { class: "konnectio-special-offer-availability" }, An = { class: "konnectio-special-offer-availability-button" }, jn = /*#__PURE__*/ Le(/* @__PURE__ */ R({
|
|
6490
6490
|
__name: "SpecialOffer",
|
|
6491
6491
|
props: {
|
|
6492
6492
|
id: {},
|
|
@@ -6499,7 +6499,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6499
6499
|
roomGroups: {}
|
|
6500
6500
|
},
|
|
6501
6501
|
setup(e) {
|
|
6502
|
-
let { t } = y(), { updateDates: r } =
|
|
6502
|
+
let { t } = y(), { updateDates: r } = Ze(), { display: i } = Ve(), o = e, s = F([]), c = n(() => Me(o.fromDate, o.toDate) === 1);
|
|
6503
6503
|
function l() {
|
|
6504
6504
|
s.value.length > 0 ? r(s.value[0], s.value[1]) : i({
|
|
6505
6505
|
message: t("alert.error.selectDates"),
|
|
@@ -6514,14 +6514,14 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6514
6514
|
name: e.name,
|
|
6515
6515
|
description: e.description,
|
|
6516
6516
|
gallery: e.images,
|
|
6517
|
-
layout: a(
|
|
6517
|
+
layout: a(qe).Template,
|
|
6518
6518
|
"includes-breakfast": !1,
|
|
6519
6519
|
"hide-info-button": !1,
|
|
6520
6520
|
"to-date": e.toDate,
|
|
6521
6521
|
"from-date": e.fromDate,
|
|
6522
6522
|
"disable-deep-link": !0
|
|
6523
6523
|
}, {
|
|
6524
|
-
action: T(() => [C("div", kn, [u(
|
|
6524
|
+
action: T(() => [C("div", kn, [u(tt, {
|
|
6525
6525
|
modelValue: s.value,
|
|
6526
6526
|
"onUpdate:modelValue": r[0] ||= (e) => s.value = e,
|
|
6527
6527
|
label: a(t)("availability.checkInOut"),
|
|
@@ -6542,7 +6542,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6542
6542
|
"min-date",
|
|
6543
6543
|
"max-date",
|
|
6544
6544
|
"readonly"
|
|
6545
|
-
]), C("div", An, [u(
|
|
6545
|
+
]), C("div", An, [u(ze, {
|
|
6546
6546
|
label: a(t)("availability.buttonLabel"),
|
|
6547
6547
|
onClick: P(l, ["prevent"])
|
|
6548
6548
|
}, null, 8, ["label"])])])]),
|
|
@@ -6582,7 +6582,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6582
6582
|
let a = F(r.modelValue);
|
|
6583
6583
|
return x(a, (e) => {
|
|
6584
6584
|
i(e);
|
|
6585
|
-
}), (t, n) => (b(), d(
|
|
6585
|
+
}), (t, n) => (b(), d(tt, {
|
|
6586
6586
|
modelValue: a.value,
|
|
6587
6587
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
6588
6588
|
type: "time",
|
|
@@ -6614,7 +6614,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6614
6614
|
}), Nn = { style: {
|
|
6615
6615
|
display: "flex",
|
|
6616
6616
|
"align-items": "baseline"
|
|
6617
|
-
} }, Pn = /*#__PURE__*/
|
|
6617
|
+
} }, Pn = /*#__PURE__*/ Le(/* @__PURE__ */ R({
|
|
6618
6618
|
__name: "CountryField",
|
|
6619
6619
|
props: {
|
|
6620
6620
|
modelValue: {},
|
|
@@ -6641,7 +6641,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6641
6641
|
get: () => o.modelValue,
|
|
6642
6642
|
set: (e) => s(e)
|
|
6643
6643
|
});
|
|
6644
|
-
return (t, n) => (b(), d(
|
|
6644
|
+
return (t, n) => (b(), d(Je, {
|
|
6645
6645
|
modelValue: c.value,
|
|
6646
6646
|
"onUpdate:modelValue": n[0] ||= (e) => c.value = e,
|
|
6647
6647
|
label: e.label,
|
|
@@ -6664,7 +6664,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6664
6664
|
"error"
|
|
6665
6665
|
]));
|
|
6666
6666
|
}
|
|
6667
|
-
}), [["__scopeId", "data-v-f0651be7"]]), Fn = /*#__PURE__*/
|
|
6667
|
+
}), [["__scopeId", "data-v-f0651be7"]]), Fn = /*#__PURE__*/ Le(/* @__PURE__ */ R({
|
|
6668
6668
|
__name: "NameField",
|
|
6669
6669
|
props: {
|
|
6670
6670
|
modelValue: {},
|
|
@@ -6701,7 +6701,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6701
6701
|
},
|
|
6702
6702
|
emits: ["update:modelValue", "update:title"],
|
|
6703
6703
|
setup(e, { emit: t }) {
|
|
6704
|
-
let n = e, r = t, i = n.id ||
|
|
6704
|
+
let n = e, r = t, i = n.id || V(), o = F(""), s = F(2);
|
|
6705
6705
|
function c() {
|
|
6706
6706
|
r("update:modelValue", o.value);
|
|
6707
6707
|
}
|
|
@@ -6711,7 +6711,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6711
6711
|
let { t: l } = y();
|
|
6712
6712
|
return g(() => {
|
|
6713
6713
|
n.modelValue && (o.value = n.modelValue), n.title && (s.value = n.title);
|
|
6714
|
-
}), (t, n) => (b(), d(
|
|
6714
|
+
}), (t, n) => (b(), d(Be, {
|
|
6715
6715
|
label: e.label,
|
|
6716
6716
|
id: a(i),
|
|
6717
6717
|
required: e.required,
|
|
@@ -6720,11 +6720,11 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6720
6720
|
limit: e.limit,
|
|
6721
6721
|
error: e.error
|
|
6722
6722
|
}, {
|
|
6723
|
-
default: T(() => [C("div", { class: m(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? f("", !0) : (b(), d(
|
|
6723
|
+
default: T(() => [C("div", { class: m(["konnectio-name-input", { "no-title": e.excludeTitle }]) }, [e.excludeTitle ? f("", !0) : (b(), d(Je, {
|
|
6724
6724
|
key: 0,
|
|
6725
6725
|
modelValue: s.value,
|
|
6726
6726
|
"onUpdate:modelValue": n[0] ||= (e) => s.value = e,
|
|
6727
|
-
id: a(
|
|
6727
|
+
id: a(V)(),
|
|
6728
6728
|
icon: e.icon,
|
|
6729
6729
|
"icon-color": e.iconColor,
|
|
6730
6730
|
"icon-type": e.iconType,
|
|
@@ -6761,7 +6761,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6761
6761
|
"icon-type",
|
|
6762
6762
|
"options",
|
|
6763
6763
|
"readonly"
|
|
6764
|
-
])), u(
|
|
6764
|
+
])), u(Ue, {
|
|
6765
6765
|
modelValue: o.value,
|
|
6766
6766
|
"onUpdate:modelValue": n[1] ||= (e) => o.value = e,
|
|
6767
6767
|
type: "text",
|
|
@@ -6797,10 +6797,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6797
6797
|
"error"
|
|
6798
6798
|
]));
|
|
6799
6799
|
}
|
|
6800
|
-
}), [["__scopeId", "data-v-5448733c"]]), In = { class: "hotel-skeleton" }, Ln = { class: "hotel-skeleton-content" }, Rn = { class: "hotel-skeleton-sidebar" }, zn = /*#__PURE__*/
|
|
6800
|
+
}), [["__scopeId", "data-v-5448733c"]]), In = { class: "hotel-skeleton" }, Ln = { class: "hotel-skeleton-content" }, Rn = { class: "hotel-skeleton-sidebar" }, zn = /*#__PURE__*/ Le(/* @__PURE__ */ R({
|
|
6801
6801
|
__name: "HotelSkeleton",
|
|
6802
6802
|
setup(e) {
|
|
6803
|
-
return (e, t) => (b(), h("div", In, [C("div", Ln, [u(
|
|
6803
|
+
return (e, t) => (b(), h("div", In, [C("div", Ln, [u(nt, { hotel: "" }), u(de)]), C("div", Rn, [u(fe)])]));
|
|
6804
6804
|
}
|
|
6805
6805
|
}), [["__scopeId", "data-v-2ff36444"]]), Bn = { id: "booking-availability-container" }, Vn = { id: "booking-availability-controls" }, Hn = {
|
|
6806
6806
|
key: 0,
|
|
@@ -6849,7 +6849,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6849
6849
|
key: 7,
|
|
6850
6850
|
class: "konnectio-panel"
|
|
6851
6851
|
}, vr = {
|
|
6852
|
-
key:
|
|
6852
|
+
key: 9,
|
|
6853
6853
|
class: "konnectio-listing-loading"
|
|
6854
6854
|
}, yr = { class: "konnectio-hotel-availability-warning" }, br = { class: "konnectio-hotel-availability-warning" }, xr = { class: "konnectio-panel" }, Sr = {
|
|
6855
6855
|
key: 0,
|
|
@@ -6895,7 +6895,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6895
6895
|
__name: "Hotel",
|
|
6896
6896
|
props: {
|
|
6897
6897
|
accessToken: {},
|
|
6898
|
-
headerLayout: { default:
|
|
6898
|
+
headerLayout: { default: We.Minimal },
|
|
6899
6899
|
onlyShow: { default: "everything" },
|
|
6900
6900
|
hideAddons: { default: "no" },
|
|
6901
6901
|
disableDefaultLocation: { default: "no" },
|
|
@@ -6913,39 +6913,39 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6913
6913
|
styling: {}
|
|
6914
6914
|
},
|
|
6915
6915
|
setup(e) {
|
|
6916
|
-
let t = _(() => import("./_-
|
|
6917
|
-
l.requireDealCode = r.requireDealCode === "yes", r.requireDealCode === "yes" &&
|
|
6918
|
-
let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: ne, countries: ae, areListingsLoading: E, isPaymentLoading: O, isReservationFormFilled: k, totalPrice: A, travelingFor: j, arrivalTime: M, departureTime: N, name: P, nameTitle: F, email: I, confirmEmail: R, phone: z, firmName: oe, postal: se, city: ue, address: de, country: fe, remark: he, allergies: xe, roomSelect: Oe, roomDisplay: Me, hasValidRoomSelection: Fe, availabilityData:
|
|
6916
|
+
let t = _(() => import("./_-NKJ8Lr9C.js").then((e) => e.n)), r = e, { t: s } = y(), l = Ee();
|
|
6917
|
+
l.requireDealCode = r.requireDealCode === "yes", r.requireDealCode === "yes" && Ze().resetSearchDates();
|
|
6918
|
+
let { currentLocation: p, templateID: g, templateRoomSelections: te, templateRoomUnits: ne, countries: ae, areListingsLoading: E, isPaymentLoading: O, isReservationFormFilled: k, totalPrice: A, travelingFor: j, arrivalTime: M, departureTime: N, name: P, nameTitle: F, email: I, confirmEmail: R, phone: z, firmName: oe, postal: se, city: ue, address: de, country: fe, remark: he, allergies: xe, roomSelect: Oe, roomDisplay: Me, hasValidRoomSelection: Fe, availabilityData: V, availabilityFetchFailed: Le, selectionHasNoAddons: Be, isAvailabilityDataAvailable: We, getSelectedPackageRooms: Ge, selectedPackage: qe, isSearchOutdated: Je, isTemplateReservation: $e, newsMails: et, adultsMismatch: tt, childrenMismatch: nt, totalAdults: rt, totalChildren: it, hasGuestDiscountId: at, hasGuestDiscountCode: ot, guestDiscountId: st, guestDiscountName: ct, guestDiscountCode: lt, hasMemberCards: ut, memberCardList: dt, selectedMemberCard: ft, memberCardControlNumber: pt, memberCardNumber: mt, selectedMemberCardObject: ht, selectedMemberCardData: gt, discountCode: _t, appliedDiscountCode: W, discountPayload: G, dealResolved: vt, dealNoAvailability: yt } = S(l), { isHostedCheckoutActive: bt } = S(He()), { adults: xt, children: q, location: St, arrivalDate: Ct, departureDate: wt, hasHotelLocations: Tt } = S(Ze()), { isValidHotelId: Et, updateDates: Dt } = Ze(), { currency: J, enableTracking: Ot, disableNamePrefix: kt, disableTravelingFor: At, disableTravelingForBleasure: jt, disableCompanyField: Mt, hasPaymentGateway: Nt, maxAdultAmount: Pt, maxChildAmount: Ft, defaultAdultAmount: It, defaultChildAmount: Lt, disableNewsletterSignup: Rt, requireEmailConfirmation: zt, hasActiveIdFilter: Bt, hotelSettings: Vt } = S(Xe()), { hasArrivalDepartureInputs: Y, hasUserArrivalSelection: Ht, hasUserDepartureSelection: Ut, earliestArrivalTime: Wt, latestArrivalTime: Gt, earliestDepartureTime: qt, latestDepartureTime: Jt, hasSharedAddonSelection: Yt, setActiveIdFilter: Xt, clearActiveIdFilter: Zt } = Xe(), { beginCheckout: Qt } = Ne(), { display: $t } = Ve(), { createReservation: en, fetchMetadata: tn, fetchAvailabilityData: nn, filterAddons: rn, hasAvailableRoomAddons: Q, checkGuestDiscount: an, setGuestDiscountCode: on, validateMemberCard: sn, onOverviewReset: cn, validateDiscountCode: ln, reservationPayload: un } = Ee();
|
|
6919
6919
|
ye.useHttpClient(_e(Te()));
|
|
6920
|
-
let
|
|
6921
|
-
|
|
6922
|
-
function
|
|
6923
|
-
|
|
6920
|
+
let dn = Se("post", "/hotel/create-reservation", un());
|
|
6921
|
+
dn.setValidationTimeout(600);
|
|
6922
|
+
function fn(e) {
|
|
6923
|
+
dn.setData(un()), dn.validate(e);
|
|
6924
6924
|
}
|
|
6925
|
-
function
|
|
6926
|
-
return
|
|
6925
|
+
function pn(e) {
|
|
6926
|
+
return dn.errors[e];
|
|
6927
6927
|
}
|
|
6928
|
-
let
|
|
6929
|
-
if (
|
|
6928
|
+
let hn = n(() => {
|
|
6929
|
+
if (zt.value && R.value !== "" && R.value !== I.value) return s("booking.reservation.confirmEmailError");
|
|
6930
6930
|
});
|
|
6931
|
-
x(P, () =>
|
|
6932
|
-
let
|
|
6933
|
-
function
|
|
6934
|
-
return
|
|
6931
|
+
x(P, () => fn("guest.name")), x(I, () => fn("guest.email")), x(z, () => fn("guest.phone")), x(fe, () => fn("guest.country")), x(de, () => fn("guest.address1")), x(se, () => fn("guest.postal")), x(ue, () => fn("guest.city"));
|
|
6932
|
+
let gn = n(() => r.sortOrder === "desc"), _n = n(() => r.requireDiscountCode === "yes" && !ot.value || r.requireDealCode === "yes" && !vt.value);
|
|
6933
|
+
function vn(e, t) {
|
|
6934
|
+
return rn(e, t ?? 0).filter((e) => e.cardinality === Re.Mandatory);
|
|
6935
6935
|
}
|
|
6936
|
-
function
|
|
6937
|
-
return
|
|
6936
|
+
function yn(e, t) {
|
|
6937
|
+
return rn(e, t ?? 0).filter((e) => e.cardinality !== Re.Mandatory);
|
|
6938
6938
|
}
|
|
6939
|
-
function
|
|
6939
|
+
function bn(e) {
|
|
6940
6940
|
let t = [];
|
|
6941
|
-
return
|
|
6941
|
+
return Yt(p.value) ? (e?.forEach((e) => {
|
|
6942
6942
|
let n = t.find((t) => t.configIdx === e.configIdx);
|
|
6943
6943
|
n ? (n.adultsCount += e.adultsCount, n.childrenCount += e.childrenCount) : t.push({ ...e });
|
|
6944
6944
|
}), t) : e ?? [];
|
|
6945
6945
|
}
|
|
6946
|
-
let
|
|
6946
|
+
let xn = n(() => {
|
|
6947
6947
|
let e = [];
|
|
6948
|
-
return
|
|
6948
|
+
return Yt(p.value) ? ne.value.forEach((t) => {
|
|
6949
6949
|
let n = e.find((e) => e.roomGroupId === t.roomGroupId);
|
|
6950
6950
|
n ? (n.adults += t.adults, n.children += t.children) : e.push({ ...t });
|
|
6951
6951
|
}) : ne.value.forEach((t, n) => {
|
|
@@ -6955,7 +6955,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6955
6955
|
unitTotal: ne.value.filter((e) => e.roomGroupId === t.roomGroupId).length
|
|
6956
6956
|
});
|
|
6957
6957
|
}), e;
|
|
6958
|
-
}),
|
|
6958
|
+
}), Sn = n(() => [
|
|
6959
6959
|
{
|
|
6960
6960
|
id: "availability",
|
|
6961
6961
|
label: s("booking.availability.title"),
|
|
@@ -6980,7 +6980,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6980
6980
|
label: s("booking.confirmation.title"),
|
|
6981
6981
|
icon: "calendar-check"
|
|
6982
6982
|
}
|
|
6983
|
-
]),
|
|
6983
|
+
]), Cn = n(() => {
|
|
6984
6984
|
let e = [{
|
|
6985
6985
|
label: s("booking.reservation.business"),
|
|
6986
6986
|
value: "Business"
|
|
@@ -6988,138 +6988,130 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
6988
6988
|
label: s("booking.reservation.pleasure"),
|
|
6989
6989
|
value: "Pleasure"
|
|
6990
6990
|
}];
|
|
6991
|
-
return
|
|
6991
|
+
return jt.value || e.push({
|
|
6992
6992
|
label: s("booking.reservation.bleasure"),
|
|
6993
6993
|
value: "Bleasure"
|
|
6994
6994
|
}), e;
|
|
6995
|
-
}),
|
|
6996
|
-
let e =
|
|
6995
|
+
}), wn = n(() => {
|
|
6996
|
+
let e = V.value.roomGroups.slice();
|
|
6997
6997
|
function t(e, t) {
|
|
6998
|
-
return
|
|
6998
|
+
return gn.value === !0 ? e.pricesFrom > t.pricesFrom ? -1 : 1 : e.pricesFrom > t.pricesFrom ? 1 : -1;
|
|
6999
6999
|
}
|
|
7000
7000
|
return r.sortBy === "price" && (e = e.sort(t)), e.reduce((e, t) => {
|
|
7001
7001
|
let n = t.roomList.some((e) => e.mapImageX && e.mapImageY) ? "camping" : "rooms";
|
|
7002
7002
|
return (e[n] ??= []).push(t), e;
|
|
7003
7003
|
}, {});
|
|
7004
7004
|
});
|
|
7005
|
-
function
|
|
7005
|
+
function Tn(e) {
|
|
7006
7006
|
return (e.templateRoomGroups.length > 0 ? Math.min(...e.templateRoomGroups.map((e) => e.totalPrice)) : 0) + e.weekendFee;
|
|
7007
7007
|
}
|
|
7008
|
-
let
|
|
7009
|
-
let e =
|
|
7008
|
+
let En = n(() => {
|
|
7009
|
+
let e = V.value.templates.slice();
|
|
7010
7010
|
return r.sortBy === "price" && e.sort((e, t) => {
|
|
7011
|
-
let n =
|
|
7012
|
-
return
|
|
7011
|
+
let n = Tn(e), r = Tn(t);
|
|
7012
|
+
return gn.value ? r - n : n - r;
|
|
7013
7013
|
}), e;
|
|
7014
|
-
}),
|
|
7015
|
-
let e =
|
|
7014
|
+
}), Dn = n(() => {
|
|
7015
|
+
let e = V.value.specialTemplates.slice();
|
|
7016
7016
|
return r.sortBy === "price" && e.sort((e, t) => {
|
|
7017
|
-
let n =
|
|
7018
|
-
return
|
|
7017
|
+
let n = Tn(e), r = Tn(t);
|
|
7018
|
+
return gn.value ? r - n : n - r;
|
|
7019
7019
|
}), e;
|
|
7020
|
-
}),
|
|
7021
|
-
function
|
|
7020
|
+
}), kn = n(() => r.hideAddons === "yes" || $e.value && r.hideAddons === "packages" || !$e.value && r.hideAddons === "rooms");
|
|
7021
|
+
function An(e) {
|
|
7022
7022
|
let t = $.discount;
|
|
7023
|
-
r.requireDealCode === "yes" || (t && t !==
|
|
7023
|
+
r.requireDealCode === "yes" || (t && t !== W.value ? (_t.value = t, ln()) : ot.value && !G.value && lt.value !== W.value && (_t.value = lt.value, ln())), e();
|
|
7024
7024
|
}
|
|
7025
|
-
function
|
|
7026
|
-
|
|
7025
|
+
function Nn(e) {
|
|
7026
|
+
kn.value || Be.value ? e(2) : e();
|
|
7027
7027
|
}
|
|
7028
|
-
async function
|
|
7029
|
-
let n = await
|
|
7030
|
-
n &&
|
|
7028
|
+
async function In(e, t) {
|
|
7029
|
+
let n = await en(e, t);
|
|
7030
|
+
n && dn.setErrors(n);
|
|
7031
7031
|
}
|
|
7032
|
-
function
|
|
7033
|
-
(
|
|
7032
|
+
function Ln() {
|
|
7033
|
+
(St.value === void 0 || isNaN(St.value)) && Tt.value ? $t({
|
|
7034
7034
|
message: s("alert.error.selectHotelId"),
|
|
7035
7035
|
type: "error"
|
|
7036
|
-
}) :
|
|
7036
|
+
}) : nn();
|
|
7037
7037
|
}
|
|
7038
|
-
function
|
|
7038
|
+
function Rn() {
|
|
7039
7039
|
let e = re("history", { removeNullishValues: !0 });
|
|
7040
|
-
|
|
7040
|
+
Zt(), e.id = void 0, nn();
|
|
7041
7041
|
}
|
|
7042
|
-
function
|
|
7043
|
-
|
|
7042
|
+
function ei(e) {
|
|
7043
|
+
Ot.value && Qt(), r.requireDealCode !== "yes" && ot.value && !G.value && lt.value !== W.value && (_t.value = lt.value, ln()), kn.value || Be.value ? e(2) : e();
|
|
7044
7044
|
}
|
|
7045
|
-
function
|
|
7046
|
-
let e =
|
|
7047
|
-
r.forceArrivalTime && r.forceDepartureTime && e !== void 0 &&
|
|
7045
|
+
function ti() {
|
|
7046
|
+
let e = St.value;
|
|
7047
|
+
r.forceArrivalTime && r.forceDepartureTime && e !== void 0 && Vt.value[e] && (Vt.value[e].disableArrivalUserSelection = !0, r.forceArrivalTime && (Vt.value[e].arrivalDefault = r.forceArrivalTime), r.forceDepartureTime && (Vt.value[e].departureDefault = r.forceDepartureTime));
|
|
7048
7048
|
}
|
|
7049
7049
|
let $ = re("history", { removeNullishValues: !0 });
|
|
7050
|
-
async function
|
|
7051
|
-
|
|
7050
|
+
async function ni() {
|
|
7051
|
+
ti();
|
|
7052
7052
|
let e = parseInt($.a), t = parseInt($.c), n = parseInt($.hid), i = parseInt($.n), a = $.ci, o = $.co, c = $.id, l = parseInt($.gid), u = $.discount, d = !1;
|
|
7053
|
-
if (isNaN(e) || (e >
|
|
7053
|
+
if (isNaN(e) || (e > Pt.value ? xt.value = Pt.value : xt.value = e, xt.value === It.value && ($.a = void 0)), isNaN(t) || (t > Ft.value ? q.value = Ft.value : q.value = t, q.value === Lt.value && ($.c = void 0)), isNaN(i) || i > 0 && ($.n = void 0), isNaN(n) || (Et(n) ? (St.value = n, d = !0) : ($.hid = void 0, $t({
|
|
7054
7054
|
message: s("alert.error.hotelIdNotFound"),
|
|
7055
7055
|
type: "error"
|
|
7056
7056
|
}))), a && o) {
|
|
7057
7057
|
if (je(a) && je(o)) {
|
|
7058
7058
|
let e = new Date(Ae(a).setHours(12, 0, 0, 0)), t = new Date(Ae(o).setHours(12, 0, 0, 0));
|
|
7059
|
-
e <= t ? (
|
|
7059
|
+
e <= t ? (Ct.value = e, wt.value = t) : ($.ci = void 0, $.co = void 0, $t({
|
|
7060
7060
|
message: s("alert.error.invalidDateRange"),
|
|
7061
7061
|
type: "error"
|
|
7062
7062
|
}));
|
|
7063
|
-
} else
|
|
7063
|
+
} else $t({
|
|
7064
7064
|
message: s("alert.error.wrongDateFormat"),
|
|
7065
7065
|
type: "error"
|
|
7066
7066
|
});
|
|
7067
7067
|
}
|
|
7068
|
-
c &&
|
|
7068
|
+
c && Xt(c), l ? await an(l) || delete $.gid : (u && on(u), r.disableDefaultLocation === "yes" && d === !1 ? (St.value = void 0, p.value = NaN) : nn());
|
|
7069
7069
|
}
|
|
7070
|
-
return (n, r) => (b(), d(
|
|
7071
|
-
default: T(() => [(b(), d(i, { onResolve:
|
|
7070
|
+
return (n, r) => (b(), d(Ye, { styling: e.styling }, {
|
|
7071
|
+
default: T(() => [(b(), d(i, { onResolve: ni }, {
|
|
7072
7072
|
default: T(() => [u(a(t), {
|
|
7073
7073
|
id: "konnectio-hotel-module",
|
|
7074
7074
|
"access-token": e.accessToken,
|
|
7075
|
-
callback: a(
|
|
7075
|
+
callback: a(tn)
|
|
7076
7076
|
}, {
|
|
7077
7077
|
default: T(() => [
|
|
7078
|
-
ie(u(
|
|
7079
|
-
ie(u(
|
|
7078
|
+
ie(u(Kt, { onCallback: ni }, null, 512), [[ee, e.requireGuestDiscountId === "yes" && !a(at)]]),
|
|
7079
|
+
ie(u(Z, null, null, 512), [[ee, _n.value]]),
|
|
7080
7080
|
ie(u(me, {
|
|
7081
7081
|
layout: e.headerLayout,
|
|
7082
|
-
steps:
|
|
7083
|
-
onReset: a(
|
|
7082
|
+
steps: Sn.value,
|
|
7083
|
+
onReset: a(cn)
|
|
7084
7084
|
}, {
|
|
7085
|
-
availability: T(({ next: t }) => [u(
|
|
7085
|
+
availability: T(({ next: t }) => [u(X, {
|
|
7086
7086
|
"show-remove-room": !0,
|
|
7087
7087
|
"availability-discount": "",
|
|
7088
7088
|
"deal-flow": e.requireDealCode === "yes"
|
|
7089
7089
|
}, {
|
|
7090
7090
|
form: T(() => [C("div", Bn, [
|
|
7091
|
-
C("div", Vn, [u(
|
|
7091
|
+
C("div", Vn, [u(Qe, {
|
|
7092
7092
|
booking: !0,
|
|
7093
7093
|
"selected-location": Number(e.selectedLocation),
|
|
7094
7094
|
"disable-default-location": e.disableDefaultLocation === "yes",
|
|
7095
|
-
"hide-locations": e.hideLocations === "yes" || a(
|
|
7095
|
+
"hide-locations": e.hideLocations === "yes" || a(vt)
|
|
7096
7096
|
}, null, 8, [
|
|
7097
7097
|
"selected-location",
|
|
7098
7098
|
"disable-default-location",
|
|
7099
7099
|
"hide-locations"
|
|
7100
7100
|
])]),
|
|
7101
|
-
a(
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
label: a(s)("dealCode.tryAnotherCode"),
|
|
7106
|
-
secondary: "",
|
|
7107
|
-
onClickEvent: a(un)
|
|
7108
|
-
}, null, 8, ["label", "onClickEvent"])
|
|
7109
|
-
])) : f("", !0),
|
|
7110
|
-
a(ot) ? (b(), h("div", Un, [C("span", { innerHTML: a(s)("guestDiscount.displayMessage", { name: `<b>${a(lt) ? a(lt) : a(ct)}</b>` }) }, null, 8, Wn)])) : f("", !0),
|
|
7111
|
-
a(st) && !a(yt) ? (b(), h("div", Gn, [C("span", { innerHTML: a(s)("guestDiscount.displayMessage", { name: `<b>${a(ut)}</b>` }) }, null, 8, Kn)])) : f("", !0),
|
|
7112
|
-
a(Vt) ? (b(), h("div", qn, [C("span", null, [c(w(a(s)("general.filteredListingNotice")) + " ", 1), C("button", {
|
|
7101
|
+
a(yt) ? (b(), h("div", Hn, [C("h3", null, w(a(s)("dealCode.noAvailabilityTitle")), 1), C("p", null, w(a(s)("dealCode.noAvailabilityBody")), 1)])) : f("", !0),
|
|
7102
|
+
a(at) ? (b(), h("div", Un, [C("span", { innerHTML: a(s)("guestDiscount.displayMessage", { name: `<b>${a(ct) ? a(ct) : a(st)}</b>` }) }, null, 8, Wn)])) : f("", !0),
|
|
7103
|
+
a(ot) && !a(vt) ? (b(), h("div", Gn, [C("span", { innerHTML: a(s)("guestDiscount.displayMessage", { name: `<b>${a(lt)}</b>` }) }, null, 8, Kn)])) : f("", !0),
|
|
7104
|
+
a(Bt) ? (b(), h("div", qn, [C("span", null, [c(w(a(s)("general.filteredListingNotice")) + " ", 1), C("button", {
|
|
7113
7105
|
class: "link",
|
|
7114
|
-
onClick: r[0] ||= (e) =>
|
|
7106
|
+
onClick: r[0] ||= (e) => Rn()
|
|
7115
7107
|
}, w(a(s)("general.filteredListingShowAll")), 1)])])) : f("", !0),
|
|
7116
7108
|
f("", !0),
|
|
7117
|
-
!a(E) && a(
|
|
7118
|
-
a(
|
|
7109
|
+
!a(E) && a(We) && !a(yt) ? (b(), h("div", Jn, [wn.value.camping && wn.value.camping.length > 0 && e.onlyShow !== "non-camping" || wn.value.rooms && wn.value.rooms.length > 0 || a(V).templates.length > 0 || a(V).specialTemplates.length > 0 && !a(Bt) ? (b(), h("div", Yn, [
|
|
7110
|
+
a(V).templates.length > 0 && e.onlyShow !== "rooms" && e.onlyShow !== "camping" ? (b(), h("div", Xn, [e.onlyShow !== "packages" && !a(vt) ? (b(), h("h2", Zn, [u(U, {
|
|
7119
7111
|
icon: "box",
|
|
7120
7112
|
type: "fal",
|
|
7121
7113
|
color: "header"
|
|
7122
|
-
}), C("span", null, w(a(s)("booking.availability.packagesTitle")), 1)])) : f("", !0), C("ul", Qn, [(b(!0), h(o, null, D(
|
|
7114
|
+
}), C("span", null, w(a(s)("booking.availability.packagesTitle")), 1)])) : f("", !0), C("ul", Qn, [(b(!0), h(o, null, D(En.value, ({ id: n, name: r, templateRoomGroups: i, images: a, description: o, weekendFee: s }) => (b(), d(On, {
|
|
7123
7115
|
key: n,
|
|
7124
7116
|
id: n,
|
|
7125
7117
|
description: o,
|
|
@@ -7139,28 +7131,28 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7139
7131
|
"callback",
|
|
7140
7132
|
"hide-addons"
|
|
7141
7133
|
]))), 128))])])) : f("", !0),
|
|
7142
|
-
a(
|
|
7134
|
+
a(V).roomGroups.length > 0 && e.onlyShow !== "packages" ? (b(), h("div", $n, [wn.value.rooms && e.onlyShow !== "camping" ? (b(), h(o, { key: 0 }, [a(V).templates.length > 0 && e.onlyShow !== "rooms" && !a(vt) ? (b(), h("h2", er, [u(U, {
|
|
7143
7135
|
icon: "house",
|
|
7144
7136
|
type: "fal",
|
|
7145
7137
|
color: "header"
|
|
7146
|
-
}), C("span", null, w(a(s)("booking.availability.roomsTitle")), 1)])) : f("", !0), C("ul", tr, [(b(!0), h(o, null, D(
|
|
7138
|
+
}), C("span", null, w(a(s)("booking.availability.roomsTitle")), 1)])) : f("", !0), C("ul", tr, [(b(!0), h(o, null, D(wn.value.rooms, (e, n) => (b(), d(mn, {
|
|
7147
7139
|
room: e,
|
|
7148
7140
|
key: n,
|
|
7149
7141
|
callback: t
|
|
7150
|
-
}, null, 8, ["room", "callback"]))), 128))])], 64)) : f("", !0),
|
|
7142
|
+
}, null, 8, ["room", "callback"]))), 128))])], 64)) : f("", !0), wn.value.camping && e.onlyShow !== "rooms" && e.onlyShow !== "non-camping" ? (b(), h(o, { key: 1 }, [a(V).templates.length > 0 && e.onlyShow !== "camping" && !a(vt) ? (b(), h("h2", nr, [u(U, {
|
|
7151
7143
|
icon: "map-location-dot",
|
|
7152
7144
|
type: "fal",
|
|
7153
7145
|
color: "header"
|
|
7154
|
-
}), C("span", null, w(a(s)("booking.availability.campingTitle")), 1)])) : f("", !0), C("ul", rr, [(b(!0), h(o, null, D(
|
|
7146
|
+
}), C("span", null, w(a(s)("booking.availability.campingTitle")), 1)])) : f("", !0), C("ul", rr, [(b(!0), h(o, null, D(wn.value.camping, (e, n) => (b(), d(mn, {
|
|
7155
7147
|
room: e,
|
|
7156
7148
|
key: n,
|
|
7157
7149
|
callback: t
|
|
7158
7150
|
}, null, 8, ["room", "callback"]))), 128))])], 64)) : f("", !0)])) : f("", !0),
|
|
7159
|
-
a(
|
|
7151
|
+
a(Bt) ? f("", !0) : (b(), h(o, { key: 2 }, [a(V).specialTemplates.length > 0 && e.onlyShow !== "rooms" ? (b(), h("div", ir, [C("h2", ar, [u(U, {
|
|
7160
7152
|
icon: "sparkles",
|
|
7161
7153
|
type: "fal",
|
|
7162
7154
|
color: "header"
|
|
7163
|
-
}), C("span", null, w(a(s)("hotel.specialOffers")), 1)]), C("ul", or, [(b(!0), h(o, null, D(
|
|
7155
|
+
}), C("span", null, w(a(s)("hotel.specialOffers")), 1)]), C("ul", or, [(b(!0), h(o, null, D(Dn.value, ({ id: e, name: t, templateRoomGroups: n, images: r, description: i, weekendFee: a, fromDate: o, toDate: s }) => (b(), d(jn, {
|
|
7164
7156
|
key: e,
|
|
7165
7157
|
id: e,
|
|
7166
7158
|
description: i,
|
|
@@ -7180,79 +7172,79 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7180
7172
|
"weekendFee",
|
|
7181
7173
|
"room-groups"
|
|
7182
7174
|
]))), 128))])])) : f("", !0)], 64)),
|
|
7183
|
-
(a(
|
|
7184
|
-
])) : a(
|
|
7175
|
+
(a(V).templates.length === 0 && e.onlyShow !== "rooms" || a(V).roomGroups.length === 0 && e.onlyShow !== "packages") && (e.onlyShow === "rooms" || e.onlyShow === "packages") ? (b(), h("div", sr, [C("span", null, w(a(s)("booking.availability.nothingAvailable")), 1)])) : f("", !0)
|
|
7176
|
+
])) : a(V).nextAvailableDates.length > 0 ? (b(), h("div", cr, [
|
|
7185
7177
|
C("div", lr, [C("span", { innerHTML: a(s)("hotel.everyRoomIsBooked") }, null, 8, ur)]),
|
|
7186
|
-
C("h2", dr, [u(
|
|
7178
|
+
C("h2", dr, [u(U, {
|
|
7187
7179
|
icon: "calendar-circle-exclamation",
|
|
7188
7180
|
type: "fal",
|
|
7189
7181
|
color: "header"
|
|
7190
7182
|
}), C("span", null, w(a(s)("booking.availability.nextAvailableDates")), 1)]),
|
|
7191
|
-
C("ul", fr, [(b(!0), h(o, null, D(a(
|
|
7183
|
+
C("ul", fr, [(b(!0), h(o, null, D(a(V).nextAvailableDates, (e, t) => (b(), h("li", { key: t }, [
|
|
7192
7184
|
C("h3", { title: `${a(Ie)(e.fromDate, 0, !0)} - ${a(Ie)(e.toDate, 0, !0)}` }, [C("span", null, w(`${a(Ie)(e.fromDate, 0, !0)} - ${a(Ie)(e.toDate, 0, !0)}`), 1)], 8, pr),
|
|
7193
|
-
C("ul", null, [isNaN(e.roomCount) ? f("", !0) : (b(), h("li", mr, [u(
|
|
7185
|
+
C("ul", null, [isNaN(e.roomCount) ? f("", !0) : (b(), h("li", mr, [u(U, {
|
|
7194
7186
|
icon: "house",
|
|
7195
7187
|
type: "fal",
|
|
7196
7188
|
color: "header"
|
|
7197
|
-
}), C("span", null, w(a(s)("booking.availability.units")) + ": " + w(e.roomCount), 1)])), C("li", null, [u(
|
|
7189
|
+
}), C("span", null, w(a(s)("booking.availability.units")) + ": " + w(e.roomCount), 1)])), C("li", null, [u(U, {
|
|
7198
7190
|
icon: "money-bill",
|
|
7199
7191
|
type: "fal",
|
|
7200
7192
|
color: "header"
|
|
7201
|
-
}), C("span", null, w(a(s)("booking.availability.pricesFrom")) + ": " + w(a(B)(e.priceStartFrom, a(
|
|
7202
|
-
u(
|
|
7193
|
+
}), C("span", null, w(a(s)("booking.availability.pricesFrom")) + ": " + w(a(B)(e.priceStartFrom, a(J))), 1)])]),
|
|
7194
|
+
u(ze, {
|
|
7203
7195
|
label: a(s)("booking.availability.selectDates"),
|
|
7204
7196
|
"full-width": "",
|
|
7205
|
-
onClickEvent: (t) => a(
|
|
7197
|
+
onClickEvent: (t) => a(Dt)(a(Ae)(e.fromDate), a(Ae)(e.toDate))
|
|
7206
7198
|
}, null, 8, ["label", "onClickEvent"])
|
|
7207
7199
|
]))), 128))])
|
|
7208
|
-
])) : (b(), h("div", hr, [C("span", null, w(a(s)("booking.availability.nothingAvailable")), 1)]))])) : a(
|
|
7200
|
+
])) : (b(), h("div", hr, [C("span", null, w(a(s)("booking.availability.nothingAvailable")), 1)]))])) : a(Le) && !a(E) ? (b(), h("div", gr, [C("span", null, w(a(s)("alert.error.couldntFetchListings")), 1), u(ze, {
|
|
7209
7201
|
label: a(s)("general.searchAgain"),
|
|
7210
7202
|
"full-width": "",
|
|
7211
|
-
onClickEvent: r[2] ||= (e) =>
|
|
7212
|
-
}, null, 8, ["label"])])) : isNaN(a(p)) && !a(E) ? (b(), h("div", _r, [C("span", null, w(a(s)("alert.info.selectHotelToStart")), 1)])) : (b(), h("div", vr, [
|
|
7203
|
+
onClickEvent: r[2] ||= (e) => Ln()
|
|
7204
|
+
}, null, 8, ["label"])])) : isNaN(a(p)) && !a(E) && !a(yt) ? (b(), h("div", _r, [C("span", null, w(a(s)("alert.info.selectHotelToStart")), 1)])) : a(yt) && !a(E) ? (b(), h(o, { key: 8 }, [], 64)) : (b(), h("div", vr, [
|
|
7213
7205
|
u(pe),
|
|
7214
7206
|
u(pe),
|
|
7215
7207
|
u(pe)
|
|
7216
7208
|
]))
|
|
7217
7209
|
])]),
|
|
7218
7210
|
navigation: T(() => [
|
|
7219
|
-
a(
|
|
7211
|
+
a(Je) ? (b(), d(ze, {
|
|
7220
7212
|
key: 0,
|
|
7221
7213
|
label: isNaN(a(p)) ? a(s)("availability.buttonLabel") : a(s)("general.searchAgain"),
|
|
7222
7214
|
"is-loading": a(E),
|
|
7223
7215
|
"full-width": "",
|
|
7224
|
-
onClickEvent: r[3] ||= (e) =>
|
|
7225
|
-
}, null, 8, ["label", "is-loading"])) : (b(), d(
|
|
7216
|
+
onClickEvent: r[3] ||= (e) => Ln()
|
|
7217
|
+
}, null, 8, ["label", "is-loading"])) : (b(), d(ze, {
|
|
7226
7218
|
key: 1,
|
|
7227
|
-
label: a(
|
|
7219
|
+
label: a(Be) || kn.value ? a(s)("booking.availability.nextButton") : a(s)("general.chooseAddons"),
|
|
7228
7220
|
disabled: !a(Fe),
|
|
7229
7221
|
"full-width": "",
|
|
7230
|
-
onClickEvent: (e) =>
|
|
7222
|
+
onClickEvent: (e) => ei(t)
|
|
7231
7223
|
}, null, 8, [
|
|
7232
7224
|
"label",
|
|
7233
7225
|
"disabled",
|
|
7234
7226
|
"onClickEvent"
|
|
7235
7227
|
])),
|
|
7236
|
-
ie(C("span", yr, [u(
|
|
7228
|
+
ie(C("span", yr, [u(U, {
|
|
7237
7229
|
icon: "exclamation-triangle",
|
|
7238
7230
|
type: "fas"
|
|
7239
7231
|
}), C("span", null, w(a(s)("hotel.mismatchingAdults", {
|
|
7240
|
-
searchAdults: a(
|
|
7241
|
-
selectedAdults: a(
|
|
7242
|
-
})), 1)], 512), [[ee, a(
|
|
7243
|
-
ie(C("span", br, [u(
|
|
7232
|
+
searchAdults: a(xt),
|
|
7233
|
+
selectedAdults: a(rt)
|
|
7234
|
+
})), 1)], 512), [[ee, a(tt)]]),
|
|
7235
|
+
ie(C("span", br, [u(U, {
|
|
7244
7236
|
icon: "exclamation-triangle",
|
|
7245
7237
|
type: "fas"
|
|
7246
7238
|
}), C("span", null, w(a(s)("hotel.mismatchingChildren", {
|
|
7247
|
-
searchChildren: a(
|
|
7248
|
-
selectedChildren: a(
|
|
7249
|
-
})), 1)], 512), [[ee, a(
|
|
7239
|
+
searchChildren: a(q),
|
|
7240
|
+
selectedChildren: a(it)
|
|
7241
|
+
})), 1)], 512), [[ee, a(nt)]])
|
|
7250
7242
|
]),
|
|
7251
7243
|
_: 2
|
|
7252
7244
|
}, 1032, ["deal-flow"])]),
|
|
7253
|
-
addons: T(({ next: t, prev: n }) => [a(
|
|
7245
|
+
addons: T(({ next: t, prev: n }) => [a(We) ? (b(), d(X, {
|
|
7254
7246
|
key: 0,
|
|
7255
|
-
"prev-callback": () =>
|
|
7247
|
+
"prev-callback": () => Nn(n),
|
|
7256
7248
|
"deal-flow": e.requireDealCode === "yes"
|
|
7257
7249
|
}, {
|
|
7258
7250
|
form: T(() => [C("form", xr, [
|
|
@@ -7261,27 +7253,27 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7261
7253
|
innerHTML: a(s)("hotel.addonTopNotice"),
|
|
7262
7254
|
class: "konnectio-wysiwyg"
|
|
7263
7255
|
}, null, 8, Cr)])) : f("", !0),
|
|
7264
|
-
C("div", null, [isNaN(a(g)) ? (b(), h("div", wr, [(b(!0), h(o, null, D(a(Me), (e) => (b(), h(o, { key: e.roomGroupID }, [a(
|
|
7256
|
+
C("div", null, [isNaN(a(g)) ? (b(), h("div", wr, [(b(!0), h(o, null, D(a(Me), (e) => (b(), h(o, { key: e.roomGroupID }, [a(Q)(e) ? (b(), h("ul", Tr, [(b(!0), h(o, null, D(e.variants, (t, n) => (b(), h("li", { key: t.ratePlanID }, [C("h4", null, [C("span", null, w(a(De)(e.title)), 1)]), (b(!0), h(o, null, D(bn(t.rooms), (r) => (b(), h(o, { key: `${r.configIdx}-${r.roomIdx}` }, [vn(t.addons, r.childrenCount).length > 0 ? (b(), h("div", Er, [C("h5", null, [u(U, {
|
|
7265
7257
|
icon: "check-circle",
|
|
7266
7258
|
type: "fas"
|
|
7267
|
-
}), C("span", null, w(a(s)("general.includedInPrice")), 1)]), C("ul", null, [(b(!0), h(o, null, D(
|
|
7259
|
+
}), C("span", null, w(a(s)("general.includedInPrice")), 1)]), C("ul", null, [(b(!0), h(o, null, D(vn(t.addons, r.childrenCount), ({ id: e, name: t, price: n, quantityStrategy: r, description: i }) => (b(), h("li", { key: e }, [C("div", null, [
|
|
7268
7260
|
C("b", null, w(a(De)(t)), 1),
|
|
7269
|
-
C("span", null, w(a(B)(n, a(
|
|
7261
|
+
C("span", null, w(a(B)(n, a(J))) + " " + w(a(Pe)(r)), 1),
|
|
7270
7262
|
i ? (b(), h("p", {
|
|
7271
7263
|
key: 0,
|
|
7272
7264
|
innerHTML: a(ke)(i)
|
|
7273
7265
|
}, null, 8, Dr)) : f("", !0)
|
|
7274
|
-
])]))), 128))])])) : f("", !0),
|
|
7266
|
+
])]))), 128))])])) : f("", !0), yn(t.addons, r.childrenCount).length > 0 ? (b(), h("table", Or, [C("thead", null, [C("tr", null, [
|
|
7275
7267
|
C("th", null, [C("span", null, w(a(De)(t.name)), 1)]),
|
|
7276
7268
|
f("", !0),
|
|
7277
7269
|
C("th", kr, [C("b", null, [
|
|
7278
|
-
u(
|
|
7270
|
+
u(U, {
|
|
7279
7271
|
icon: "male",
|
|
7280
7272
|
type: "fas",
|
|
7281
7273
|
color: "font"
|
|
7282
7274
|
}),
|
|
7283
7275
|
C("span", null, w(r.adultsCount), 1),
|
|
7284
|
-
r.childrenCount > 0 ? (b(), d(
|
|
7276
|
+
r.childrenCount > 0 ? (b(), d(U, {
|
|
7285
7277
|
key: 0,
|
|
7286
7278
|
icon: "child",
|
|
7287
7279
|
type: "fas",
|
|
@@ -7289,17 +7281,17 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7289
7281
|
})) : f("", !0),
|
|
7290
7282
|
r.childrenCount > 0 ? (b(), h("span", Ar, w(r.childrenCount), 1)) : f("", !0)
|
|
7291
7283
|
])])
|
|
7292
|
-
])]), C("tbody", null, [(b(!0), h(o, null, D(
|
|
7284
|
+
])]), C("tbody", null, [(b(!0), h(o, null, D(yn(t.addons, r.childrenCount), ({ cardinality: t, quantityStrategy: i, maximumNumber: o, id: s, name: c, price: l, image: p, description: g }) => (b(), h("tr", { key: s }, [C("td", { class: m(["konnectio-table-addons-information", { "has-image": p }]) }, [p ? (b(), h("div", jr, [u(a(K), {
|
|
7293
7285
|
src: p,
|
|
7294
7286
|
"zoom-scale": 1
|
|
7295
7287
|
}, null, 8, ["src"])])) : f("", !0), C("div", null, [
|
|
7296
7288
|
C("b", null, w(a(De)(c)), 1),
|
|
7297
|
-
C("span", null, w(a(B)(l, a(
|
|
7289
|
+
C("span", null, w(a(B)(l, a(J))) + " " + w(a(Pe)(i)), 1),
|
|
7298
7290
|
g ? (b(), h("p", {
|
|
7299
7291
|
key: 0,
|
|
7300
7292
|
innerHTML: a(ke)(g)
|
|
7301
7293
|
}, null, 8, Mr)) : f("", !0)
|
|
7302
|
-
])], 2), C("td", Nr, [a(Oe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (b(), d(
|
|
7294
|
+
])], 2), C("td", Nr, [a(Oe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx] ? (b(), d(Ke, {
|
|
7303
7295
|
key: 0,
|
|
7304
7296
|
modelValue: a(Oe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][s],
|
|
7305
7297
|
"onUpdate:modelValue": (t) => a(Oe)[e.roomGroupID][n].config[r.configIdx].addons[r.roomIdx][s] = t,
|
|
@@ -7310,31 +7302,31 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7310
7302
|
"modelValue",
|
|
7311
7303
|
"onUpdate:modelValue",
|
|
7312
7304
|
"max-value"
|
|
7313
|
-
])) : f("", !0)])]))), 128))])])) : f("", !0)], 64))), 128))]))), 128))])) : f("", !0)], 64))), 128))])) : a(ne).length > 0 ? (b(), h("div", Pr, [C("div", null, [C("h4", null, [C("span", null, w(a(
|
|
7305
|
+
])) : f("", !0)])]))), 128))])])) : f("", !0)], 64))), 128))]))), 128))])) : f("", !0)], 64))), 128))])) : a(ne).length > 0 ? (b(), h("div", Pr, [C("div", null, [C("h4", null, [C("span", null, w(a(qe)?.name), 1)]), (b(!0), h(o, null, D(xn.value, (e) => (b(), h(o, { key: `${e.roomGroupId}-${e.configIdx}` }, [vn(a(Ge).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), h("div", Fr, [C("h5", null, [u(U, {
|
|
7314
7306
|
icon: "check-circle",
|
|
7315
7307
|
type: "fas"
|
|
7316
|
-
}), C("span", null, w(a(s)("general.includedInPrice")), 1)]), C("ul", null, [(b(!0), h(o, null, D(
|
|
7308
|
+
}), C("span", null, w(a(s)("general.includedInPrice")), 1)]), C("ul", null, [(b(!0), h(o, null, D(vn(a(Ge).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ id: e, name: t, price: n, quantityStrategy: r, description: i }) => (b(), h("li", { key: e }, [C("div", null, [
|
|
7317
7309
|
C("b", null, w(a(De)(t)), 1),
|
|
7318
|
-
C("span", null, w(a(B)(n, a(
|
|
7310
|
+
C("span", null, w(a(B)(n, a(J))) + " " + w(a(Pe)(r)), 1),
|
|
7319
7311
|
i ? (b(), h("p", {
|
|
7320
7312
|
key: 0,
|
|
7321
7313
|
innerHTML: a(ke)(i)
|
|
7322
7314
|
}, null, 8, Ir)) : f("", !0)
|
|
7323
|
-
])]))), 128))])])) : f("", !0),
|
|
7324
|
-
C("th", null, [C("span", null, w(a(De)(a(
|
|
7315
|
+
])]))), 128))])])) : f("", !0), yn(a(Ge).find((t) => t.id === e.roomGroupId)?.addons, e.children).length > 0 ? (b(), h("table", Lr, [C("thead", null, [C("tr", null, [
|
|
7316
|
+
C("th", null, [C("span", null, w(a(De)(a(Ge).find((t) => t.id === e.roomGroupId)?.title ?? "")), 1), (e.unitTotal ?? 0) > 1 ? (b(), h("span", Rr, "(" + w(a(s)("booking.reservation.room")) + " " + w(e.unitNumber) + ")", 1)) : f("", !0)]),
|
|
7325
7317
|
f("", !0),
|
|
7326
7318
|
r[26] ||= C("th", { class: "konnectio-event-addons-price" }, null, -1)
|
|
7327
|
-
])]), C("tbody", null, [(b(!0), h(o, null, D(
|
|
7319
|
+
])]), C("tbody", null, [(b(!0), h(o, null, D(yn(a(Ge).find((t) => t.id === e.roomGroupId)?.addons, e.children), ({ cardinality: t, quantityStrategy: n, maximumNumber: r, id: i, name: o, price: s, description: c, image: l }) => (b(), h("tr", { key: i }, [C("td", { class: m(["konnectio-table-addons-information", { "has-image": l }]) }, [l ? (b(), h("div", zr, [u(a(K), {
|
|
7328
7320
|
src: l,
|
|
7329
7321
|
"zoom-scale": 1
|
|
7330
7322
|
}, null, 8, ["src"])])) : f("", !0), C("div", null, [
|
|
7331
7323
|
C("b", null, w(a(De)(o)), 1),
|
|
7332
|
-
C("span", null, w(a(B)(s, a(
|
|
7324
|
+
C("span", null, w(a(B)(s, a(J))) + " " + w(a(Pe)(n)), 1),
|
|
7333
7325
|
c ? (b(), h("p", {
|
|
7334
7326
|
key: 0,
|
|
7335
7327
|
innerHTML: a(ke)(c)
|
|
7336
7328
|
}, null, 8, Br)) : f("", !0)
|
|
7337
|
-
])], 2), C("td", Vr, [u(
|
|
7329
|
+
])], 2), C("td", Vr, [u(Ke, {
|
|
7338
7330
|
modelValue: a(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[i],
|
|
7339
7331
|
"onUpdate:modelValue": (t) => a(te)[e.selectionIdx].unitConfigs[e.configIdx].addons[i] = t,
|
|
7340
7332
|
small: !0,
|
|
@@ -7346,16 +7338,16 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7346
7338
|
"max-value"
|
|
7347
7339
|
])])]))), 128))])])) : f("", !0)], 64))), 128))])])) : f("", !0)])
|
|
7348
7340
|
])]),
|
|
7349
|
-
navigation: T(() => [u(
|
|
7341
|
+
navigation: T(() => [u(ze, {
|
|
7350
7342
|
label: a(s)("general.startReservation"),
|
|
7351
7343
|
"full-width": "",
|
|
7352
|
-
onClickEvent: (e) =>
|
|
7344
|
+
onClickEvent: (e) => An(t)
|
|
7353
7345
|
}, null, 8, ["label", "onClickEvent"])]),
|
|
7354
7346
|
_: 2
|
|
7355
7347
|
}, 1032, ["prev-callback", "deal-flow"])) : f("", !0)]),
|
|
7356
|
-
reservation: T(({ next: t, prev: n, reset: i }) => [a(
|
|
7348
|
+
reservation: T(({ next: t, prev: n, reset: i }) => [a(We) ? (b(), d(X, {
|
|
7357
7349
|
key: 0,
|
|
7358
|
-
"prev-callback": () =>
|
|
7350
|
+
"prev-callback": () => Nn(n),
|
|
7359
7351
|
"show-terms-notice": !0,
|
|
7360
7352
|
"show-gift-card": !0,
|
|
7361
7353
|
"deal-flow": e.requireDealCode === "yes"
|
|
@@ -7366,29 +7358,29 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7366
7358
|
innerHTML: a(s)("hotel.reservationTopNotice"),
|
|
7367
7359
|
class: "konnectio-wysiwyg"
|
|
7368
7360
|
}, null, 8, Wr)])) : f("", !0),
|
|
7369
|
-
a(
|
|
7361
|
+
a(Y)(a(p)) && a(Ht)(a(p)) && a(Ut)(a(p)) ? (b(), h("ul", {
|
|
7370
7362
|
key: 1,
|
|
7371
|
-
class: m(["konnectio-reservation-timepicker", { "konnectio-split-inputs": a(
|
|
7372
|
-
}, [a(
|
|
7363
|
+
class: m(["konnectio-reservation-timepicker", { "konnectio-split-inputs": a(Ht)(a(p)) && a(Ut)(a(p)) }])
|
|
7364
|
+
}, [a(Ht)(a(p)) ? (b(), h("li", Gr, [u(Mn, {
|
|
7373
7365
|
modelValue: a(M),
|
|
7374
7366
|
"onUpdate:modelValue": r[4] ||= (e) => v(M) ? M.value = e : null,
|
|
7375
7367
|
label: a(s)("booking.reservation.arrivalTime"),
|
|
7376
7368
|
icon: "hourglass-start",
|
|
7377
|
-
"min-time": a(
|
|
7378
|
-
"max-time": a(
|
|
7369
|
+
"min-time": a(Wt)(a(p)),
|
|
7370
|
+
"max-time": a(Gt)(a(p)),
|
|
7379
7371
|
required: ""
|
|
7380
7372
|
}, null, 8, [
|
|
7381
7373
|
"modelValue",
|
|
7382
7374
|
"label",
|
|
7383
7375
|
"min-time",
|
|
7384
7376
|
"max-time"
|
|
7385
|
-
])])) : f("", !0), a(
|
|
7377
|
+
])])) : f("", !0), a(Ut)(a(p)) ? (b(), h("li", Kr, [u(Mn, {
|
|
7386
7378
|
modelValue: a(N),
|
|
7387
7379
|
"onUpdate:modelValue": r[5] ||= (e) => v(N) ? N.value = e : null,
|
|
7388
7380
|
label: a(s)("booking.reservation.departureTime"),
|
|
7389
7381
|
icon: "hourglass-end",
|
|
7390
|
-
"min-time": a(
|
|
7391
|
-
"max-time": a(
|
|
7382
|
+
"min-time": a(qt)(a(p)),
|
|
7383
|
+
"max-time": a(Jt)(a(p)),
|
|
7392
7384
|
required: ""
|
|
7393
7385
|
}, null, 8, [
|
|
7394
7386
|
"modelValue",
|
|
@@ -7401,11 +7393,11 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7401
7393
|
"onUpdate:modelValue": r[6] ||= (e) => v(P) ? P.value = e : null,
|
|
7402
7394
|
title: a(F),
|
|
7403
7395
|
"onUpdate:title": r[7] ||= (e) => v(F) ? F.value = e : null,
|
|
7404
|
-
"exclude-title": a(
|
|
7396
|
+
"exclude-title": a(kt),
|
|
7405
7397
|
label: a(s)("booking.reservation.name"),
|
|
7406
7398
|
icon: "user-alt",
|
|
7407
7399
|
placeholder: a(s)("booking.reservation.namePlaceholder"),
|
|
7408
|
-
error:
|
|
7400
|
+
error: pn("guest.name"),
|
|
7409
7401
|
required: ""
|
|
7410
7402
|
}, null, 8, [
|
|
7411
7403
|
"modelValue",
|
|
@@ -7415,7 +7407,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7415
7407
|
"placeholder",
|
|
7416
7408
|
"error"
|
|
7417
7409
|
]),
|
|
7418
|
-
u(
|
|
7410
|
+
u(Ue, {
|
|
7419
7411
|
modelValue: a(I),
|
|
7420
7412
|
"onUpdate:modelValue": r[8] ||= (e) => v(I) ? I.value = e : null,
|
|
7421
7413
|
type: "email",
|
|
@@ -7425,7 +7417,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7425
7417
|
label: a(s)("booking.reservation.email"),
|
|
7426
7418
|
icon: "at",
|
|
7427
7419
|
placeholder: a(s)("booking.reservation.emailPlaceholder"),
|
|
7428
|
-
error:
|
|
7420
|
+
error: pn("guest.email"),
|
|
7429
7421
|
required: ""
|
|
7430
7422
|
}, null, 8, [
|
|
7431
7423
|
"modelValue",
|
|
@@ -7433,7 +7425,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7433
7425
|
"placeholder",
|
|
7434
7426
|
"error"
|
|
7435
7427
|
]),
|
|
7436
|
-
a(
|
|
7428
|
+
a(zt) ? (b(), d(Ue, {
|
|
7437
7429
|
key: 2,
|
|
7438
7430
|
modelValue: a(R),
|
|
7439
7431
|
"onUpdate:modelValue": r[9] ||= (e) => v(R) ? R.value = e : null,
|
|
@@ -7444,7 +7436,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7444
7436
|
label: a(s)("booking.reservation.confirmEmail"),
|
|
7445
7437
|
icon: "at",
|
|
7446
7438
|
placeholder: a(s)("booking.reservation.confirmEmailPlaceholder"),
|
|
7447
|
-
error:
|
|
7439
|
+
error: hn.value,
|
|
7448
7440
|
required: ""
|
|
7449
7441
|
}, null, 8, [
|
|
7450
7442
|
"modelValue",
|
|
@@ -7452,14 +7444,14 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7452
7444
|
"placeholder",
|
|
7453
7445
|
"error"
|
|
7454
7446
|
])) : f("", !0),
|
|
7455
|
-
a(
|
|
7456
|
-
modelValue: a(
|
|
7457
|
-
"onUpdate:modelValue": r[10] ||= (e) => v(
|
|
7447
|
+
a(Rt) ? f("", !0) : (b(), h("div", qr, [u(ve, {
|
|
7448
|
+
modelValue: a(et),
|
|
7449
|
+
"onUpdate:modelValue": r[10] ||= (e) => v(et) ? et.value = e : null,
|
|
7458
7450
|
type: "checkbox",
|
|
7459
7451
|
name: "newsletter",
|
|
7460
7452
|
label: a(s)("booking.reservation.newsletterSignUp")
|
|
7461
7453
|
}, null, 8, ["modelValue", "label"])])),
|
|
7462
|
-
a(
|
|
7454
|
+
a(Mt) ? f("", !0) : (b(), d(Ue, {
|
|
7463
7455
|
key: 4,
|
|
7464
7456
|
modelValue: a(oe),
|
|
7465
7457
|
"onUpdate:modelValue": r[11] ||= (e) => v(oe) ? oe.value = e : null,
|
|
@@ -7480,7 +7472,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7480
7472
|
icon: "phone-office",
|
|
7481
7473
|
label: a(s)("booking.reservation.phone"),
|
|
7482
7474
|
placeholder: a(s)("booking.reservation.phonePlaceholder"),
|
|
7483
|
-
error:
|
|
7475
|
+
error: pn("guest.phone"),
|
|
7484
7476
|
required: ""
|
|
7485
7477
|
}, null, 8, [
|
|
7486
7478
|
"modelValue",
|
|
@@ -7494,7 +7486,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7494
7486
|
label: a(s)("booking.reservation.country"),
|
|
7495
7487
|
placeholder: a(s)("booking.reservation.countryPlaceholder"),
|
|
7496
7488
|
options: a(ae),
|
|
7497
|
-
error:
|
|
7489
|
+
error: pn("guest.country"),
|
|
7498
7490
|
required: ""
|
|
7499
7491
|
}, null, 8, [
|
|
7500
7492
|
"modelValue",
|
|
@@ -7503,7 +7495,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7503
7495
|
"options",
|
|
7504
7496
|
"error"
|
|
7505
7497
|
]),
|
|
7506
|
-
u(
|
|
7498
|
+
u(Ue, {
|
|
7507
7499
|
modelValue: a(de),
|
|
7508
7500
|
"onUpdate:modelValue": r[14] ||= (e) => v(de) ? de.value = e : null,
|
|
7509
7501
|
type: "textarea",
|
|
@@ -7512,7 +7504,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7512
7504
|
label: a(s)("booking.reservation.streetAddress"),
|
|
7513
7505
|
icon: "map-marked",
|
|
7514
7506
|
placeholder: a(s)("booking.reservation.streetAddressPlaceholder"),
|
|
7515
|
-
error:
|
|
7507
|
+
error: pn("guest.address1"),
|
|
7516
7508
|
required: ""
|
|
7517
7509
|
}, null, 8, [
|
|
7518
7510
|
"modelValue",
|
|
@@ -7520,7 +7512,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7520
7512
|
"placeholder",
|
|
7521
7513
|
"error"
|
|
7522
7514
|
]),
|
|
7523
|
-
C("ul", Jr, [C("li", null, [u(
|
|
7515
|
+
C("ul", Jr, [C("li", null, [u(Ue, {
|
|
7524
7516
|
modelValue: a(se),
|
|
7525
7517
|
"onUpdate:modelValue": r[15] ||= (e) => v(se) ? se.value = e : null,
|
|
7526
7518
|
type: "text",
|
|
@@ -7529,14 +7521,14 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7529
7521
|
label: a(s)("booking.reservation.postal"),
|
|
7530
7522
|
icon: "mailbox",
|
|
7531
7523
|
placeholder: a(s)("booking.reservation.postalPlaceholder"),
|
|
7532
|
-
error:
|
|
7524
|
+
error: pn("guest.postal"),
|
|
7533
7525
|
required: ""
|
|
7534
7526
|
}, null, 8, [
|
|
7535
7527
|
"modelValue",
|
|
7536
7528
|
"label",
|
|
7537
7529
|
"placeholder",
|
|
7538
7530
|
"error"
|
|
7539
|
-
])]), C("li", null, [u(
|
|
7531
|
+
])]), C("li", null, [u(Ue, {
|
|
7540
7532
|
modelValue: a(ue),
|
|
7541
7533
|
"onUpdate:modelValue": r[16] ||= (e) => v(ue) ? ue.value = e : null,
|
|
7542
7534
|
type: "text",
|
|
@@ -7545,7 +7537,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7545
7537
|
label: a(s)("booking.reservation.city"),
|
|
7546
7538
|
icon: "city",
|
|
7547
7539
|
placeholder: a(s)("booking.reservation.cityPlaceholder"),
|
|
7548
|
-
error:
|
|
7540
|
+
error: pn("guest.city"),
|
|
7549
7541
|
required: ""
|
|
7550
7542
|
}, null, 8, [
|
|
7551
7543
|
"modelValue",
|
|
@@ -7553,7 +7545,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7553
7545
|
"placeholder",
|
|
7554
7546
|
"error"
|
|
7555
7547
|
])])]),
|
|
7556
|
-
e.hideRemarks === "yes" ? f("", !0) : (b(), d(
|
|
7548
|
+
e.hideRemarks === "yes" ? f("", !0) : (b(), d(Ue, {
|
|
7557
7549
|
key: 5,
|
|
7558
7550
|
modelValue: a(he),
|
|
7559
7551
|
"onUpdate:modelValue": r[17] ||= (e) => v(he) ? he.value = e : null,
|
|
@@ -7566,7 +7558,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7566
7558
|
"label",
|
|
7567
7559
|
"placeholder"
|
|
7568
7560
|
])),
|
|
7569
|
-
e.hideAllergies === "yes" ? f("", !0) : (b(), d(
|
|
7561
|
+
e.hideAllergies === "yes" ? f("", !0) : (b(), d(Ue, {
|
|
7570
7562
|
key: 6,
|
|
7571
7563
|
modelValue: a(xe),
|
|
7572
7564
|
"onUpdate:modelValue": r[18] ||= (e) => v(xe) ? xe.value = e : null,
|
|
@@ -7579,36 +7571,36 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7579
7571
|
"label",
|
|
7580
7572
|
"placeholder"
|
|
7581
7573
|
])),
|
|
7582
|
-
a(
|
|
7574
|
+
a(At) ? f("", !0) : (b(), d(ce, {
|
|
7583
7575
|
key: 7,
|
|
7584
7576
|
modelValue: a(j),
|
|
7585
7577
|
"onUpdate:modelValue": r[19] ||= (e) => v(j) ? j.value = e : null,
|
|
7586
7578
|
label: a(s)("booking.reservation.purposeOfStay"),
|
|
7587
7579
|
name: "travelingFor",
|
|
7588
|
-
checkboxes:
|
|
7580
|
+
checkboxes: Cn.value
|
|
7589
7581
|
}, null, 8, [
|
|
7590
7582
|
"modelValue",
|
|
7591
7583
|
"label",
|
|
7592
7584
|
"checkboxes"
|
|
7593
7585
|
])),
|
|
7594
|
-
a(
|
|
7595
|
-
C("li", null, [C("span", null, w(a(s)("hotel.memberCards.selectedCard", { cardName: a(
|
|
7596
|
-
C("li", null, [C("span", null, w(a(s)("hotel.memberCards.cardNumber")) + ": " + w(a(
|
|
7597
|
-
a(
|
|
7586
|
+
a(ut) ? (b(), h(o, { key: 8 }, [C("h3", null, [C("span", null, w(a(s)("hotel.memberCards.title")), 1)]), a(ht) ? (b(), h("div", Yr, [C("img", { src: a(gt)?.iconUrl }, null, 8, Xr), C("ul", Zr, [
|
|
7587
|
+
C("li", null, [C("span", null, w(a(s)("hotel.memberCards.selectedCard", { cardName: a(gt)?.shortDescription })), 1)]),
|
|
7588
|
+
C("li", null, [C("span", null, w(a(s)("hotel.memberCards.cardNumber")) + ": " + w(a(ht).cardNumber), 1)]),
|
|
7589
|
+
a(ht).controlNr ? (b(), h("li", Qr, [C("span", null, w(a(s)("hotel.memberCards.controlNumber")) + ": " + w(a(ht).controlNr), 1)])) : f("", !0)
|
|
7598
7590
|
])])) : (b(), h(o, { key: 1 }, [u(ce, {
|
|
7599
|
-
modelValue: a(
|
|
7600
|
-
"onUpdate:modelValue": r[20] ||= (e) => v(
|
|
7591
|
+
modelValue: a(ft),
|
|
7592
|
+
"onUpdate:modelValue": r[20] ||= (e) => v(ft) ? ft.value = e : null,
|
|
7601
7593
|
label: a(s)("hotel.memberCards.selectCard"),
|
|
7602
7594
|
name: "memberCard",
|
|
7603
|
-
checkboxes: a(
|
|
7595
|
+
checkboxes: a(dt)
|
|
7604
7596
|
}, null, 8, [
|
|
7605
7597
|
"modelValue",
|
|
7606
7598
|
"label",
|
|
7607
7599
|
"checkboxes"
|
|
7608
|
-
]), a(
|
|
7609
|
-
u(
|
|
7610
|
-
modelValue: a(
|
|
7611
|
-
"onUpdate:modelValue": r[21] ||= (e) => v(
|
|
7600
|
+
]), a(ft) ? (b(), h("form", $r, [
|
|
7601
|
+
u(Ue, {
|
|
7602
|
+
modelValue: a(mt),
|
|
7603
|
+
"onUpdate:modelValue": r[21] ||= (e) => v(mt) ? mt.value = e : null,
|
|
7612
7604
|
type: "number",
|
|
7613
7605
|
label: a(s)("hotel.memberCards.cardNumber"),
|
|
7614
7606
|
icon: "credit-card",
|
|
@@ -7619,10 +7611,10 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7619
7611
|
"label",
|
|
7620
7612
|
"placeholder"
|
|
7621
7613
|
]),
|
|
7622
|
-
a(
|
|
7614
|
+
a(ft) === a(H).FirmaCard ? (b(), d(Ue, {
|
|
7623
7615
|
key: 0,
|
|
7624
|
-
modelValue: a(
|
|
7625
|
-
"onUpdate:modelValue": r[22] ||= (e) => v(
|
|
7616
|
+
modelValue: a(pt),
|
|
7617
|
+
"onUpdate:modelValue": r[22] ||= (e) => v(pt) ? pt.value = e : null,
|
|
7626
7618
|
type: "text",
|
|
7627
7619
|
label: a(s)("hotel.memberCards.cardControlNumber"),
|
|
7628
7620
|
icon: "id-card",
|
|
@@ -7633,7 +7625,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7633
7625
|
"label",
|
|
7634
7626
|
"placeholder"
|
|
7635
7627
|
])) : f("", !0),
|
|
7636
|
-
a(
|
|
7628
|
+
a(ft) === a(H).DaneAge ? (b(), d(Ue, {
|
|
7637
7629
|
key: 1,
|
|
7638
7630
|
modelValue: a(se),
|
|
7639
7631
|
"onUpdate:modelValue": r[23] ||= (e) => v(se) ? se.value = e : null,
|
|
@@ -7649,19 +7641,19 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7649
7641
|
"label",
|
|
7650
7642
|
"placeholder"
|
|
7651
7643
|
])) : f("", !0),
|
|
7652
|
-
u(
|
|
7644
|
+
u(ze, {
|
|
7653
7645
|
label: a(s)("hotel.memberCards.validateAndSelectCard"),
|
|
7654
7646
|
"full-width": "",
|
|
7655
|
-
onClickEvent: a(
|
|
7647
|
+
onClickEvent: a(sn)
|
|
7656
7648
|
}, null, 8, ["label", "onClickEvent"])
|
|
7657
7649
|
])) : f("", !0)], 64))], 64)) : f("", !0)
|
|
7658
7650
|
])]),
|
|
7659
|
-
navigation: T(() => [C("div", null, [a(
|
|
7660
|
-
label: a(
|
|
7651
|
+
navigation: T(() => [C("div", null, [a(bt) ? (b(), d(be, { key: 0 })) : f("", !0), u(ze, {
|
|
7652
|
+
label: a(Nt) && a(A) > 0 ? a(s)("booking.reservation.nextButton") : a(s)("general.confirmReservation"),
|
|
7661
7653
|
disabled: !a(k),
|
|
7662
|
-
"is-loading": a(O) || a(
|
|
7654
|
+
"is-loading": a(O) || a(bt),
|
|
7663
7655
|
"full-width": "",
|
|
7664
|
-
onClickEvent: (e) =>
|
|
7656
|
+
onClickEvent: (e) => In(t, i)
|
|
7665
7657
|
}, null, 8, [
|
|
7666
7658
|
"label",
|
|
7667
7659
|
"disabled",
|
|
@@ -7677,7 +7669,7 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7677
7669
|
"layout",
|
|
7678
7670
|
"steps",
|
|
7679
7671
|
"onReset"
|
|
7680
|
-
]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && a(
|
|
7672
|
+
]), [[ee, (e.requireGuestDiscountId === "no" || e.requireGuestDiscountId === "yes" && a(at)) && !_n.value]])
|
|
7681
7673
|
]),
|
|
7682
7674
|
_: 1
|
|
7683
7675
|
}, 8, ["access-token", "callback"])]),
|
|
@@ -7687,9 +7679,9 @@ var Z = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAAC
|
|
|
7687
7679
|
_: 1
|
|
7688
7680
|
}, 8, ["styling"]));
|
|
7689
7681
|
}
|
|
7690
|
-
}), ti = /*#__PURE__*/
|
|
7682
|
+
}), ti = /*#__PURE__*/ Le(ei, [["__scopeId", "data-v-c056d1dd"]]);
|
|
7691
7683
|
// node_modules/unhead/dist/shared/unhead.D7HkBzZn.mjs
|
|
7692
|
-
function
|
|
7684
|
+
function $(e, t) {
|
|
7693
7685
|
if (typeof t == "function" && t.key && e.plugins.has(t.key)) return;
|
|
7694
7686
|
let n = typeof t == "function" ? t(e) : t, r = n.key || String(e.plugins.size + 1);
|
|
7695
7687
|
if (!e.plugins.get(r)) {
|
|
@@ -7698,7 +7690,7 @@ function ni(e, t) {
|
|
|
7698
7690
|
}
|
|
7699
7691
|
}
|
|
7700
7692
|
// @__NO_SIDE_EFFECTS__
|
|
7701
|
-
function
|
|
7693
|
+
function ni(e, t = {}) {
|
|
7702
7694
|
let n = !t.document, r = /* @__PURE__ */ new Map(), i = {
|
|
7703
7695
|
_entryCount: 1,
|
|
7704
7696
|
_h: 0,
|
|
@@ -7708,7 +7700,7 @@ function $(e, t = {}) {
|
|
|
7708
7700
|
entries: r,
|
|
7709
7701
|
hooks: void 0,
|
|
7710
7702
|
render: () => e(i),
|
|
7711
|
-
use: (e) =>
|
|
7703
|
+
use: (e) => $(i, e),
|
|
7712
7704
|
push(e, t) {
|
|
7713
7705
|
let a = t?._index ?? i._entryCount++, o = t ? { ...t } : {};
|
|
7714
7706
|
delete o.head, delete o.onRendered, delete o._index;
|
|
@@ -7843,7 +7835,7 @@ function _i(e, t, n) {
|
|
|
7843
7835
|
// node_modules/unhead/dist/shared/unhead.C5Bksi2B.mjs
|
|
7844
7836
|
function vi(e, t, n) {
|
|
7845
7837
|
let r = e.push, i = e;
|
|
7846
|
-
i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) =>
|
|
7838
|
+
i.ssr = !1, i.hooks = t, i.dirty = !!i.dirty, i.use = (e) => $(i, e), i.render = () => n(i);
|
|
7847
7839
|
function a() {
|
|
7848
7840
|
t.callHook("entries:updated", i), i._b || i.render();
|
|
7849
7841
|
}
|
|
@@ -8275,7 +8267,7 @@ function Yi(e, t = {}) {
|
|
|
8275
8267
|
var Xi = (e) => typeof e.tagPriority == "number" ? e.tagPriority : 100 + (di[e.tagPriority] || 0);
|
|
8276
8268
|
function Zi(e = {}) {
|
|
8277
8269
|
e.document = e.document || (typeof window < "u" ? document : void 0);
|
|
8278
|
-
let t = e.render || /* @__PURE__ */ Ki({ document: e.document }), n = vi(/* @__PURE__ */
|
|
8270
|
+
let t = e.render || /* @__PURE__ */ Ki({ document: e.document }), n = vi(/* @__PURE__ */ ni(t, {
|
|
8279
8271
|
document: e.document,
|
|
8280
8272
|
propResolvers: e.propResolvers,
|
|
8281
8273
|
_tagWeight: Xi,
|