@konnectio/core 4.1.10 → 4.1.11
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-YcUnxCh1.js → ActionField-OJ0B_Rvq.js} +2 -2
- package/dist/ActionField-OJ0B_Rvq.js.br +0 -0
- package/dist/AvailabilitySkeleton-C6bsNxOH.js +320 -0
- package/dist/AvailabilitySkeleton-C6bsNxOH.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DFi1PQJG.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BOrZv7ED.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BOrZv7ED.js.br +0 -0
- package/dist/{CheckoutWindow-ET8OmnqK.js → CheckoutWindow-C7Sez05a.js} +2 -2
- package/dist/CheckoutWindow-C7Sez05a.js.br +0 -0
- package/dist/{ErrorMessage-CwQY7g9Q.js → ErrorMessage-BJIYUPxq.js} +2 -2
- package/dist/ErrorMessage-BJIYUPxq.js.br +0 -0
- package/dist/EventAvailabilityForm-BPl-K4R7.js +119 -0
- package/dist/EventAvailabilityForm-BPl-K4R7.js.br +0 -0
- package/dist/{Field-BdH4Sloj.js → Field-DrXN88nH.js} +3 -3
- package/dist/Field-DrXN88nH.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DJkXxXXq.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-yLLdxGIS.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js → SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js} +130 -130
- package/dist/SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js.br +0 -0
- package/dist/{TermsOfService-B4Xq6arX.js → TermsOfService-OiLRXZF3.js} +3 -3
- package/dist/_-WO7vPQFH.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-DCY7vATB.js → _.vue_vue_type_style_index_0_lang-Q0efa7Bu.js} +2 -2
- package/dist/availability.js +37 -33
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/event.js +104 -102
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-vJLJWCwZ.js → giftCard-5wAI4XEl.js} +2 -2
- package/dist/giftCard-5wAI4XEl.js.br +0 -0
- package/dist/hotel.js +374 -373
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-CglHU-ya.js → masonry.plugin-D19pwBpH.js} +5 -5
- package/dist/masonry.plugin-D19pwBpH.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/package.json +4 -4
- package/dist/ActionField-YcUnxCh1.js.br +0 -0
- package/dist/AvailabilitySkeleton-CtypN7ad.js +0 -319
- package/dist/AvailabilitySkeleton-CtypN7ad.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DFi1PQJG.js.br +0 -0
- package/dist/CheckoutWindow-ET8OmnqK.js.br +0 -0
- package/dist/ErrorMessage-CwQY7g9Q.js.br +0 -0
- package/dist/EventAvailabilityForm--R2UEx3o.js +0 -118
- package/dist/EventAvailabilityForm--R2UEx3o.js.br +0 -0
- package/dist/Field-BdH4Sloj.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CsniNK66.js.br +0 -0
- package/dist/_-kF09E1Yd.js +0 -5
- package/dist/giftCard-vJLJWCwZ.js.br +0 -0
- package/dist/masonry.plugin-CglHU-ya.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as Rt, u as Kt, s as Gt, r as Wt, J as gr, a as lt, b as M, g as h, y as At, z as vr, w as tt, h as A, i as U, e as P, t as E, E as
|
|
2
|
-
import { h as
|
|
1
|
+
import { d as Rt, u as Kt, s as Gt, r as Wt, J as gr, a as lt, b as M, g as h, y as At, z as vr, w as tt, h as A, i as U, e as P, t as E, E as $e, G as pi, f as Z, A as Ot, F as mt, q as Gn, j as as, C as yr, c as wt, v as Lr, K as Wo, o as to, D as Ji, n as Xi, S as br, L as kr, M as wr, N as Pr, k as xr, _ as Cr, l as Tr, m as Mr, p as Sr } from "./mitt-BysJOgFD.js";
|
|
2
|
+
import { h as Ae, b as ye, u as mi, I as xt, s as ne, j as ci, l as Wn, q as ce, n as oe, _ as se, d as en, F as Ar, H as ls, g as di, e as de, B as us, a as hs, J as $o, x as Or, T as ge, K as Ir, p as qo, M as jo, C as Er, r as Ko, t as Yo, v as Br } from "./SelectField.vue_vue_type_style_index_0_lang-vHXV3ehV.js";
|
|
3
3
|
import { G as zr } from "./style-CFj6q1kW.js";
|
|
4
|
-
import { R as Zr, B as nn, L as Dr, S as Nr, M as Rr, T as Hr, C as Vr, b as $n, V as Fr, a as Ur } from "./masonry.plugin-
|
|
5
|
-
import { A as Gr, H as Wr } from "./AvailabilitySkeleton-
|
|
6
|
-
import { S as $r } from "./TermsOfService-
|
|
7
|
-
import { a as Kn, B as cs, C as qr, P as jr } from "./CheckoutWindow-
|
|
4
|
+
import { R as Zr, B as nn, L as Dr, S as Nr, M as Rr, T as Hr, C as Vr, b as $n, V as Fr, a as Ur } from "./masonry.plugin-D19pwBpH.js";
|
|
5
|
+
import { A as Gr, H as Wr } from "./AvailabilitySkeleton-C6bsNxOH.js";
|
|
6
|
+
import { S as $r } from "./TermsOfService-OiLRXZF3.js";
|
|
7
|
+
import { a as Kn, B as cs, C as qr, P as jr } from "./CheckoutWindow-C7Sez05a.js";
|
|
8
8
|
import { g as Kr } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
9
|
-
import { _ as ds } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-
|
|
9
|
+
import { _ as ds } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BOrZv7ED.js";
|
|
10
10
|
function Yn(_, d = {}, u) {
|
|
11
11
|
for (const f in _) {
|
|
12
12
|
const v = _[f], o = u ? `${u}:${f}` : f;
|
|
@@ -155,9 +155,9 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
155
155
|
const { t: d } = Kt(), {
|
|
156
156
|
disableNewsletterSignup: u,
|
|
157
157
|
currency: f
|
|
158
|
-
} = Gt(
|
|
158
|
+
} = Gt(Ae()), {
|
|
159
159
|
hasArrivalDepartureInputs: v
|
|
160
|
-
} =
|
|
160
|
+
} = Ae(), {
|
|
161
161
|
arrivalTime: o,
|
|
162
162
|
departureTime: r,
|
|
163
163
|
roomDisplay: l,
|
|
@@ -183,7 +183,7 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
183
183
|
totalChildren: at,
|
|
184
184
|
templateRoomTotalPrice: Q,
|
|
185
185
|
weekendFee: Tt
|
|
186
|
-
} = Gt(
|
|
186
|
+
} = Gt(ye()), { hasHotelLocations: yt } = Gt(mi()), { removeRoom: Nt, validateDiscountCode: It } = ye(), { getHotelLocationName: re } = mi(), G = Wt(!1);
|
|
187
187
|
function fe(N) {
|
|
188
188
|
return N.reduce((Lt, { totalPrice: nt }) => Lt + nt, 0);
|
|
189
189
|
}
|
|
@@ -214,13 +214,13 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
214
214
|
P("span", null, E(h(ce)(ft)), 1)
|
|
215
215
|
]),
|
|
216
216
|
(M(!0), A(mt, null, Ot(et, (q, Mt) => (M(), A("div", { key: Mt }, [
|
|
217
|
-
(M(!0), A(mt, null, Ot(q.rooms, (Pt,
|
|
217
|
+
(M(!0), A(mt, null, Ot(q.rooms, (Pt, Oe) => (M(), A("ul", { key: Oe }, [
|
|
218
218
|
P("li", null, [
|
|
219
219
|
P("span", ra, E(h(ce)(q.name)), 1),
|
|
220
220
|
P("span", aa, [
|
|
221
221
|
P("span", la, [
|
|
222
222
|
P("span", null, [
|
|
223
|
-
|
|
223
|
+
Z(xt, {
|
|
224
224
|
icon: "male",
|
|
225
225
|
type: "fas",
|
|
226
226
|
color: "font"
|
|
@@ -228,7 +228,7 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
228
228
|
P("span", null, E(Pt.adultsCount), 1)
|
|
229
229
|
]),
|
|
230
230
|
Pt.childrenCount > 0 ? (M(), A("span", ua, [
|
|
231
|
-
|
|
231
|
+
Z(xt, {
|
|
232
232
|
icon: "child",
|
|
233
233
|
type: "fas",
|
|
234
234
|
color: "font"
|
|
@@ -239,13 +239,13 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
239
239
|
Pt.roomName ? (M(), A("span", ha, "(" + E(Pt.roomName) + ")", 1)) : U("", !0)
|
|
240
240
|
]),
|
|
241
241
|
P("b", null, [
|
|
242
|
-
P("span", null, E(h(
|
|
242
|
+
P("span", null, E(h(oe)(Pt.totalPrice, h(f))), 1),
|
|
243
243
|
U("", !0)
|
|
244
244
|
])
|
|
245
245
|
]),
|
|
246
246
|
fe(Pt.roomAddons) > 0 ? (M(), A("li", ca, [
|
|
247
247
|
P("span", null, E(h(d)("general.addons")), 1),
|
|
248
|
-
P("b", null, E(h(
|
|
248
|
+
P("b", null, E(h(oe)(fe(Pt.roomAddons), h(f))), 1)
|
|
249
249
|
])) : U("", !0)
|
|
250
250
|
]))), 128))
|
|
251
251
|
]))), 128))
|
|
@@ -261,12 +261,12 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
261
261
|
P("span", null, E(h(ce)(h(g).title)), 1)
|
|
262
262
|
]),
|
|
263
263
|
P("b", null, [
|
|
264
|
-
P("span", null, E(h(
|
|
264
|
+
P("span", null, E(h(oe)(h(Q), h(f))), 1)
|
|
265
265
|
])
|
|
266
266
|
]),
|
|
267
267
|
h(st) ? (M(), A("li", fa, [
|
|
268
268
|
P("span", null, E(h(d)("general.addons")), 1),
|
|
269
|
-
P("b", null, E(h(
|
|
269
|
+
P("b", null, E(h(oe)(h(st), h(f))), 1)
|
|
270
270
|
])) : U("", !0)
|
|
271
271
|
])
|
|
272
272
|
])
|
|
@@ -275,7 +275,7 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
275
275
|
actions: tt(() => [
|
|
276
276
|
P("ul", _a, [
|
|
277
277
|
h(u) ? U("", !0) : (M(), A("div", pa, [
|
|
278
|
-
|
|
278
|
+
Z(Kn, {
|
|
279
279
|
modelValue: h(W),
|
|
280
280
|
"onUpdate:modelValue": J[0] || (J[0] = (nt) => At(W) ? W.value = nt : null),
|
|
281
281
|
type: "checkbox",
|
|
@@ -291,7 +291,7 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
291
291
|
name: "terms"
|
|
292
292
|
}, {
|
|
293
293
|
default: tt(() => [
|
|
294
|
-
|
|
294
|
+
Z(h(yr), {
|
|
295
295
|
keypath: "general.termsAndConditionsCheckbox",
|
|
296
296
|
tag: "span",
|
|
297
297
|
scope: "global"
|
|
@@ -310,7 +310,7 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
310
310
|
_: 1
|
|
311
311
|
}, 8, ["modelValue"])) : U("", !0),
|
|
312
312
|
Gn(N.$slots, "actions", {}, void 0, !0),
|
|
313
|
-
|
|
313
|
+
Z($r, {
|
|
314
314
|
modelValue: G.value,
|
|
315
315
|
"onUpdate:modelValue": J[3] || (J[3] = (nt) => G.value = nt),
|
|
316
316
|
description: h(ht)
|
|
@@ -323,14 +323,14 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
323
323
|
"mobile-under-price": tt(() => [
|
|
324
324
|
J[5] || (J[5] = P("span", null, "For ", -1)),
|
|
325
325
|
P("b", null, E(h(ci)(h(S), h(C))) + " " + E(h(Wn)(h(ci)(h(S), h(C)) === 1 ? h(d)("booking.reservation.night") : h(d)("booking.reservation.nights"))), 1),
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
$e((M(), A("span", ma, [
|
|
327
|
+
Z(xt, {
|
|
328
328
|
icon: "circle-info",
|
|
329
329
|
type: "fas"
|
|
330
330
|
})
|
|
331
331
|
])), [
|
|
332
332
|
[Lt, {
|
|
333
|
-
content: `<span>(${h(
|
|
333
|
+
content: `<span>(${h(ne)(h(S))} - ${h(ne)(h(C))})</span>`,
|
|
334
334
|
classes: ["tooltip", "konnectio-tooltip"],
|
|
335
335
|
html: !0
|
|
336
336
|
}]
|
|
@@ -349,9 +349,9 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
349
349
|
h(yt) ? (M(), A("li", ia, [
|
|
350
350
|
P("span", null, E(h(d)("general.location")), 1),
|
|
351
351
|
P("b", null, [
|
|
352
|
-
P("span", null, E(h(
|
|
353
|
-
|
|
354
|
-
|
|
352
|
+
P("span", null, E(h(re)(h(B))), 1),
|
|
353
|
+
$e(P("span", na, [
|
|
354
|
+
Z(xt, {
|
|
355
355
|
icon: "exclamation-triangle",
|
|
356
356
|
type: "fas"
|
|
357
357
|
})
|
|
@@ -363,9 +363,9 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
363
363
|
P("li", null, [
|
|
364
364
|
P("span", null, E(h(d)("booking.reservation.arrival")), 1),
|
|
365
365
|
P("b", null, [
|
|
366
|
-
P("span", null, E(h(v)(h(B)) ? `${h(
|
|
367
|
-
|
|
368
|
-
|
|
366
|
+
P("span", null, E(h(v)(h(B)) ? `${h(ne)(h(S))}, ${h(o)}` : h(ne)(h(S))), 1),
|
|
367
|
+
$e(P("span", oa, [
|
|
368
|
+
Z(xt, {
|
|
369
369
|
icon: "exclamation-triangle",
|
|
370
370
|
type: "fas"
|
|
371
371
|
})
|
|
@@ -377,9 +377,9 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
377
377
|
P("li", null, [
|
|
378
378
|
P("span", null, E(h(d)("booking.reservation.departure")), 1),
|
|
379
379
|
P("b", null, [
|
|
380
|
-
P("span", null, E(h(v)(h(B)) ? `${h(
|
|
381
|
-
|
|
382
|
-
|
|
380
|
+
P("span", null, E(h(v)(h(B)) ? `${h(ne)(h(C))}, ${h(r)}` : h(ne)(h(C))), 1),
|
|
381
|
+
$e(P("span", sa, [
|
|
382
|
+
Z(xt, {
|
|
383
383
|
icon: "exclamation-triangle",
|
|
384
384
|
type: "fas"
|
|
385
385
|
})
|
|
@@ -404,7 +404,7 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
404
404
|
]), 1032, ["discount-code", "validate-discount-code", "total-price", "weekend-fee", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
|
|
405
405
|
};
|
|
406
406
|
}
|
|
407
|
-
}), jn = /* @__PURE__ */
|
|
407
|
+
}), jn = /* @__PURE__ */ se(ga, [["__scopeId", "data-v-b8ef29ab"]]), va = { class: "konnectio-room-config-option" }, ya = { key: 0 }, La = { class: "konnectio-selected-room-config" }, ba = { class: "konnectio-selected-room-config-people" }, ka = { key: 0 }, wa = { class: "konnectio-selected-room-config-price" }, Pa = /* @__PURE__ */ Rt({
|
|
408
408
|
__name: "RoomConfigField",
|
|
409
409
|
props: {
|
|
410
410
|
modelValue: {},
|
|
@@ -415,7 +415,7 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
415
415
|
},
|
|
416
416
|
emits: ["update:modelValue"],
|
|
417
417
|
setup(_, { emit: d }) {
|
|
418
|
-
const { t: u } = Kt(), { currency: f } = Gt(
|
|
418
|
+
const { t: u } = Kt(), { currency: f } = Gt(Ae()), v = d, o = _;
|
|
419
419
|
function r(c) {
|
|
420
420
|
v("update:modelValue", c);
|
|
421
421
|
}
|
|
@@ -439,14 +439,14 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
439
439
|
option: tt(({ data: y }) => [
|
|
440
440
|
P("span", va, [
|
|
441
441
|
P("div", null, [
|
|
442
|
-
|
|
442
|
+
Z(xt, {
|
|
443
443
|
icon: "male",
|
|
444
444
|
type: "fas",
|
|
445
445
|
color: "font"
|
|
446
446
|
}),
|
|
447
447
|
P("span", null, E(`${y.adults}`), 1),
|
|
448
448
|
y.children > 0 ? (M(), A("span", ya, [
|
|
449
|
-
|
|
449
|
+
Z(xt, {
|
|
450
450
|
icon: "child",
|
|
451
451
|
type: "fas",
|
|
452
452
|
color: "font"
|
|
@@ -454,7 +454,7 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
454
454
|
P("span", null, E(`${y.children}`), 1)
|
|
455
455
|
])) : U("", !0)
|
|
456
456
|
]),
|
|
457
|
-
P("span", null, E(`(${h(
|
|
457
|
+
P("span", null, E(`(${h(oe)(y.price, h(f))})`), 1)
|
|
458
458
|
])
|
|
459
459
|
]),
|
|
460
460
|
"selected-option": tt(({ data: y }) => [
|
|
@@ -471,14 +471,14 @@ const ca = { key: 0 }, da = { key: 1 }, fa = { key: 0 }, _a = { class: "konnecti
|
|
|
471
471
|
]),
|
|
472
472
|
P("div", wa, [
|
|
473
473
|
m[1] || (m[1] = P("span", null, null, -1)),
|
|
474
|
-
Lr(" " + E(`(${h(
|
|
474
|
+
Lr(" " + E(`(${h(oe)(y.price, h(f))})`), 1)
|
|
475
475
|
])
|
|
476
476
|
])
|
|
477
477
|
]),
|
|
478
478
|
_: 1
|
|
479
479
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
480
480
|
}
|
|
481
|
-
}), xa = /* @__PURE__ */
|
|
481
|
+
}), xa = /* @__PURE__ */ se(Pa, [["__scopeId", "data-v-c4045bfc"]]);
|
|
482
482
|
var fi = { exports: {} };
|
|
483
483
|
/* @preserve
|
|
484
484
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
|
@@ -822,7 +822,7 @@ function Ta() {
|
|
|
822
822
|
}
|
|
823
823
|
};
|
|
824
824
|
It.addEventListener = It.on, It.removeEventListener = It.clearAllEventListeners = It.off, It.addOneTimeEventListener = It.once, It.fireEvent = It.fire, It.hasEventListeners = It.listens;
|
|
825
|
-
var
|
|
825
|
+
var re = yt.extend(It);
|
|
826
826
|
function G(t, e, i) {
|
|
827
827
|
this.x = i ? Math.round(t) : t, this.y = i ? Math.round(e) : e;
|
|
828
828
|
}
|
|
@@ -1310,8 +1310,8 @@ function Ta() {
|
|
|
1310
1310
|
var i = Math.PI / 180, n = t.lat * i, s = e.lat * i, a = Math.sin((e.lat - t.lat) * i / 2), p = Math.sin((e.lng - t.lng) * i / 2), b = a * a + Math.cos(n) * Math.cos(s) * p * p, x = 2 * Math.atan2(Math.sqrt(b), Math.sqrt(1 - b));
|
|
1311
1311
|
return this.R * x;
|
|
1312
1312
|
}
|
|
1313
|
-
}),
|
|
1314
|
-
R:
|
|
1313
|
+
}), Oe = 6378137, Ie = {
|
|
1314
|
+
R: Oe,
|
|
1315
1315
|
MAX_LATITUDE: 85.0511287798,
|
|
1316
1316
|
project: function(t) {
|
|
1317
1317
|
var e = Math.PI / 180, i = this.MAX_LATITUDE, n = Math.max(Math.min(i, t.lat), -i), s = Math.sin(n * e);
|
|
@@ -1328,18 +1328,18 @@ function Ta() {
|
|
|
1328
1328
|
);
|
|
1329
1329
|
},
|
|
1330
1330
|
bounds: function() {
|
|
1331
|
-
var t =
|
|
1331
|
+
var t = Oe * Math.PI;
|
|
1332
1332
|
return new J([-t, -t], [t, t]);
|
|
1333
1333
|
}()
|
|
1334
1334
|
};
|
|
1335
|
-
function
|
|
1335
|
+
function qe(t, e, i, n) {
|
|
1336
1336
|
if (W(t)) {
|
|
1337
1337
|
this._a = t[0], this._b = t[1], this._c = t[2], this._d = t[3];
|
|
1338
1338
|
return;
|
|
1339
1339
|
}
|
|
1340
1340
|
this._a = t, this._b = e, this._c = i, this._d = n;
|
|
1341
1341
|
}
|
|
1342
|
-
|
|
1342
|
+
qe.prototype = {
|
|
1343
1343
|
// @method transform(point: Point, scale?: Number): Point
|
|
1344
1344
|
// Returns a transformed point, optionally multiplied by the given scale.
|
|
1345
1345
|
// Only accepts actual `L.Point` instances, not arrays.
|
|
@@ -1360,17 +1360,17 @@ function Ta() {
|
|
|
1360
1360
|
);
|
|
1361
1361
|
}
|
|
1362
1362
|
};
|
|
1363
|
-
function
|
|
1364
|
-
return new
|
|
1363
|
+
function Le(t, e, i, n) {
|
|
1364
|
+
return new qe(t, e, i, n);
|
|
1365
1365
|
}
|
|
1366
|
-
var
|
|
1366
|
+
var be = v({}, Pt, {
|
|
1367
1367
|
code: "EPSG:3857",
|
|
1368
|
-
projection:
|
|
1368
|
+
projection: Ie,
|
|
1369
1369
|
transformation: function() {
|
|
1370
|
-
var t = 0.5 / (Math.PI *
|
|
1371
|
-
return
|
|
1370
|
+
var t = 0.5 / (Math.PI * Ie.R);
|
|
1371
|
+
return Le(t, 0.5, -t, 0.5);
|
|
1372
1372
|
}()
|
|
1373
|
-
}), on = v({},
|
|
1373
|
+
}), on = v({}, be, {
|
|
1374
1374
|
code: "EPSG:900913"
|
|
1375
1375
|
});
|
|
1376
1376
|
function gi(t) {
|
|
@@ -1385,7 +1385,7 @@ function Ta() {
|
|
|
1385
1385
|
}
|
|
1386
1386
|
return i || "M0 0";
|
|
1387
1387
|
}
|
|
1388
|
-
var
|
|
1388
|
+
var je = document.documentElement.style, Ee = "ActiveXObject" in window, sn = Ee && !document.addEventListener, Ke = "msLaunchUri" in navigator && !("documentMode" in document), Be = Ht("webkit"), yi = Ht("android"), Li = Ht("android 2") || Ht("android 3"), rn = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), bi = yi && Ht("Google") && rn < 537 && !("AudioNode" in window), ke = !!window.opera, ki = !Ke && Ht("chrome"), ze = Ht("gecko") && !Be && !ke && !Ee, Ye = !ki && Ht("safari"), wi = Ht("phantom"), Pi = "OTransition" in je, an = navigator.platform.indexOf("Win") === 0, xi = Ee && "transition" in je, Je = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Li, Ci = "MozPerspective" in je, ln = !window.L_DISABLE_3D && (xi || Je || Ci) && !Pi && !wi, Yt = typeof orientation < "u" || Ht("mobile"), un = Yt && Be, hn = Yt && Je, Ti = !window.PointerEvent && window.MSPointerEvent, Mi = !!(window.PointerEvent || Ti), Ze = "ontouchstart" in window || !!window.TouchEvent, Si = !window.L_NO_TOUCH && (Ze || Mi), cn = Yt && ke, dn = Yt && ze, fn = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, _n = function() {
|
|
1389
1389
|
var t = !1;
|
|
1390
1390
|
try {
|
|
1391
1391
|
var e = Object.defineProperty({}, "passive", {
|
|
@@ -1399,10 +1399,10 @@ function Ta() {
|
|
|
1399
1399
|
return t;
|
|
1400
1400
|
}(), Jt = function() {
|
|
1401
1401
|
return !!document.createElement("canvas").getContext;
|
|
1402
|
-
}(),
|
|
1402
|
+
}(), we = !!(document.createElementNS && gi("svg").createSVGRect), Ai = !!we && function() {
|
|
1403
1403
|
var t = document.createElement("div");
|
|
1404
1404
|
return t.innerHTML = "<svg/>", (t.firstChild && t.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
1405
|
-
}(), pn = !
|
|
1405
|
+
}(), pn = !we && function() {
|
|
1406
1406
|
try {
|
|
1407
1407
|
var t = document.createElement("div");
|
|
1408
1408
|
t.innerHTML = '<v:shape adj="1"/>';
|
|
@@ -1416,22 +1416,22 @@ function Ta() {
|
|
|
1416
1416
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
|
1417
1417
|
}
|
|
1418
1418
|
var D = {
|
|
1419
|
-
ie:
|
|
1419
|
+
ie: Ee,
|
|
1420
1420
|
ielt9: sn,
|
|
1421
|
-
edge:
|
|
1422
|
-
webkit:
|
|
1421
|
+
edge: Ke,
|
|
1422
|
+
webkit: Be,
|
|
1423
1423
|
android: yi,
|
|
1424
1424
|
android23: Li,
|
|
1425
1425
|
androidStock: bi,
|
|
1426
|
-
opera:
|
|
1426
|
+
opera: ke,
|
|
1427
1427
|
chrome: ki,
|
|
1428
|
-
gecko:
|
|
1429
|
-
safari:
|
|
1428
|
+
gecko: ze,
|
|
1429
|
+
safari: Ye,
|
|
1430
1430
|
phantom: wi,
|
|
1431
1431
|
opera12: Pi,
|
|
1432
1432
|
win: an,
|
|
1433
1433
|
ie3d: xi,
|
|
1434
|
-
webkit3d:
|
|
1434
|
+
webkit3d: Je,
|
|
1435
1435
|
gecko3d: Ci,
|
|
1436
1436
|
any3d: ln,
|
|
1437
1437
|
mobile: Yt,
|
|
@@ -1440,30 +1440,30 @@ function Ta() {
|
|
|
1440
1440
|
msPointer: Ti,
|
|
1441
1441
|
pointer: Mi,
|
|
1442
1442
|
touch: Si,
|
|
1443
|
-
touchNative:
|
|
1443
|
+
touchNative: Ze,
|
|
1444
1444
|
mobileOpera: cn,
|
|
1445
1445
|
mobileGecko: dn,
|
|
1446
1446
|
retina: fn,
|
|
1447
1447
|
passiveEvents: _n,
|
|
1448
1448
|
canvas: Jt,
|
|
1449
|
-
svg:
|
|
1449
|
+
svg: we,
|
|
1450
1450
|
vml: pn,
|
|
1451
1451
|
inlineSvg: Ai,
|
|
1452
1452
|
mac: mn,
|
|
1453
1453
|
linux: eo
|
|
1454
|
-
}, Oi = D.msPointer ? "MSPointerDown" : "pointerdown",
|
|
1454
|
+
}, Oi = D.msPointer ? "MSPointerDown" : "pointerdown", z = D.msPointer ? "MSPointerMove" : "pointermove", $ = D.msPointer ? "MSPointerUp" : "pointerup", gt = D.msPointer ? "MSPointerCancel" : "pointercancel", K = {
|
|
1455
1455
|
touchstart: Oi,
|
|
1456
|
-
touchmove:
|
|
1456
|
+
touchmove: z,
|
|
1457
1457
|
touchend: $,
|
|
1458
1458
|
touchcancel: gt
|
|
1459
1459
|
}, ut = {
|
|
1460
1460
|
touchstart: gn,
|
|
1461
|
-
touchmove:
|
|
1462
|
-
touchend:
|
|
1463
|
-
touchcancel:
|
|
1461
|
+
touchmove: De,
|
|
1462
|
+
touchend: De,
|
|
1463
|
+
touchcancel: De
|
|
1464
1464
|
}, R = {}, Bt = !1;
|
|
1465
1465
|
function _t(t, e, i) {
|
|
1466
|
-
return e === "touchstart" &&
|
|
1466
|
+
return e === "touchstart" && Xe(), ut[e] ? (i = ut[e].bind(this, i), t.addEventListener(K[e], i, !1), i) : (console.warn("wrong event specified:", e), g);
|
|
1467
1467
|
}
|
|
1468
1468
|
function $t(t, e, i) {
|
|
1469
1469
|
if (!K[e]) {
|
|
@@ -1475,16 +1475,16 @@ function Ta() {
|
|
|
1475
1475
|
function Xt(t) {
|
|
1476
1476
|
R[t.pointerId] = t;
|
|
1477
1477
|
}
|
|
1478
|
-
function
|
|
1478
|
+
function Qt(t) {
|
|
1479
1479
|
R[t.pointerId] && (R[t.pointerId] = t);
|
|
1480
1480
|
}
|
|
1481
|
-
function
|
|
1481
|
+
function Pe(t) {
|
|
1482
1482
|
delete R[t.pointerId];
|
|
1483
1483
|
}
|
|
1484
|
-
function
|
|
1485
|
-
Bt || (document.addEventListener(Oi, Xt, !0), document.addEventListener(
|
|
1484
|
+
function Xe() {
|
|
1485
|
+
Bt || (document.addEventListener(Oi, Xt, !0), document.addEventListener(z, Qt, !0), document.addEventListener($, Pe, !0), document.addEventListener(gt, Pe, !0), Bt = !0);
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1487
|
+
function De(t, e) {
|
|
1488
1488
|
if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
|
1489
1489
|
e.touches = [];
|
|
1490
1490
|
for (var i in R)
|
|
@@ -1493,7 +1493,7 @@ function Ta() {
|
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
1495
|
function gn(t, e) {
|
|
1496
|
-
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && Et(e),
|
|
1496
|
+
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && Et(e), De(t, e);
|
|
1497
1497
|
}
|
|
1498
1498
|
function vn(t) {
|
|
1499
1499
|
var e = {}, i, n;
|
|
@@ -1558,11 +1558,11 @@ function Ta() {
|
|
|
1558
1558
|
for (; t.firstChild; )
|
|
1559
1559
|
t.removeChild(t.firstChild);
|
|
1560
1560
|
}
|
|
1561
|
-
function
|
|
1561
|
+
function Ne(t) {
|
|
1562
1562
|
var e = t.parentNode;
|
|
1563
1563
|
e && e.lastChild !== t && e.appendChild(t);
|
|
1564
1564
|
}
|
|
1565
|
-
function
|
|
1565
|
+
function Re(t) {
|
|
1566
1566
|
var e = t.parentNode;
|
|
1567
1567
|
e && e.firstChild !== t && e.insertBefore(t, e.firstChild);
|
|
1568
1568
|
}
|
|
@@ -1609,14 +1609,14 @@ function Ta() {
|
|
|
1609
1609
|
return t[i];
|
|
1610
1610
|
return !1;
|
|
1611
1611
|
}
|
|
1612
|
-
function
|
|
1612
|
+
function xe(t, e, i) {
|
|
1613
1613
|
var n = e || new G(0, 0);
|
|
1614
1614
|
t.style[yn] = (D.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
|
|
1615
1615
|
}
|
|
1616
1616
|
function bt(t, e) {
|
|
1617
|
-
t._leaflet_pos = e, D.any3d ?
|
|
1617
|
+
t._leaflet_pos = e, D.any3d ? xe(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1619
|
+
function Ce(t) {
|
|
1620
1620
|
return t._leaflet_pos || new G(0, 0);
|
|
1621
1621
|
}
|
|
1622
1622
|
var ei, ii, kn;
|
|
@@ -1678,8 +1678,8 @@ function Ta() {
|
|
|
1678
1678
|
create: rt,
|
|
1679
1679
|
remove: pt,
|
|
1680
1680
|
empty: Ii,
|
|
1681
|
-
toFront:
|
|
1682
|
-
toBack:
|
|
1681
|
+
toFront: Ne,
|
|
1682
|
+
toBack: Re,
|
|
1683
1683
|
hasClass: Ln,
|
|
1684
1684
|
addClass: Y,
|
|
1685
1685
|
removeClass: vt,
|
|
@@ -1687,9 +1687,9 @@ function Ta() {
|
|
|
1687
1687
|
getClass: Ei,
|
|
1688
1688
|
setOpacity: Vt,
|
|
1689
1689
|
testProp: Bi,
|
|
1690
|
-
setTransform:
|
|
1690
|
+
setTransform: xe,
|
|
1691
1691
|
setPosition: bt,
|
|
1692
|
-
getPosition:
|
|
1692
|
+
getPosition: Ce,
|
|
1693
1693
|
get disableTextSelection() {
|
|
1694
1694
|
return ei;
|
|
1695
1695
|
},
|
|
@@ -1714,10 +1714,10 @@ function Ta() {
|
|
|
1714
1714
|
}
|
|
1715
1715
|
return this;
|
|
1716
1716
|
}
|
|
1717
|
-
var
|
|
1717
|
+
var te = "_leaflet_events";
|
|
1718
1718
|
function dt(t, e, i, n) {
|
|
1719
1719
|
if (arguments.length === 1)
|
|
1720
|
-
so(t), delete t[
|
|
1720
|
+
so(t), delete t[te];
|
|
1721
1721
|
else if (e && typeof e == "object")
|
|
1722
1722
|
for (var s in e)
|
|
1723
1723
|
An(t, s, e[s], i);
|
|
@@ -1731,7 +1731,7 @@ function Ta() {
|
|
|
1731
1731
|
return this;
|
|
1732
1732
|
}
|
|
1733
1733
|
function so(t, e) {
|
|
1734
|
-
for (var i in t[
|
|
1734
|
+
for (var i in t[te]) {
|
|
1735
1735
|
var n = i.split(/\d/)[0];
|
|
1736
1736
|
(!e || e(n)) && An(t, n, null, null, i);
|
|
1737
1737
|
}
|
|
@@ -1743,36 +1743,36 @@ function Ta() {
|
|
|
1743
1743
|
};
|
|
1744
1744
|
function Sn(t, e, i, n) {
|
|
1745
1745
|
var s = e + c(i) + (n ? "_" + c(n) : "");
|
|
1746
|
-
if (t[
|
|
1746
|
+
if (t[te] && t[te][s])
|
|
1747
1747
|
return this;
|
|
1748
1748
|
var a = function(b) {
|
|
1749
1749
|
return i.call(n || t, b || window.event);
|
|
1750
1750
|
}, p = a;
|
|
1751
1751
|
!D.touchNative && D.pointer && e.indexOf("touch") === 0 ? a = _t(t, e, a) : D.touch && e === "dblclick" ? a = Ls(t, a) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(Mn[e] || e, a, D.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (a = function(b) {
|
|
1752
1752
|
b = b || window.event, In(t, b) && p(b);
|
|
1753
|
-
}, t.addEventListener(Mn[e], a, !1)) : t.addEventListener(e, p, !1) : t.attachEvent("on" + e, a), t[
|
|
1753
|
+
}, t.addEventListener(Mn[e], a, !1)) : t.addEventListener(e, p, !1) : t.attachEvent("on" + e, a), t[te] = t[te] || {}, t[te][s] = a;
|
|
1754
1754
|
}
|
|
1755
1755
|
function An(t, e, i, n, s) {
|
|
1756
1756
|
s = s || e + c(i) + (n ? "_" + c(n) : "");
|
|
1757
|
-
var a = t[
|
|
1757
|
+
var a = t[te] && t[te][s];
|
|
1758
1758
|
if (!a)
|
|
1759
1759
|
return this;
|
|
1760
|
-
!D.touchNative && D.pointer && e.indexOf("touch") === 0 ? $t(t, e, a) : D.touch && e === "dblclick" ? bs(t, a) : "removeEventListener" in t ? t.removeEventListener(Mn[e] || e, a, !1) : t.detachEvent("on" + e, a), t[
|
|
1760
|
+
!D.touchNative && D.pointer && e.indexOf("touch") === 0 ? $t(t, e, a) : D.touch && e === "dblclick" ? bs(t, a) : "removeEventListener" in t ? t.removeEventListener(Mn[e] || e, a, !1) : t.detachEvent("on" + e, a), t[te][s] = null;
|
|
1761
1761
|
}
|
|
1762
|
-
function
|
|
1762
|
+
function Te(t) {
|
|
1763
1763
|
return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
|
|
1764
1764
|
}
|
|
1765
1765
|
function On(t) {
|
|
1766
|
-
return Sn(t, "wheel",
|
|
1766
|
+
return Sn(t, "wheel", Te), this;
|
|
1767
1767
|
}
|
|
1768
1768
|
function oi(t) {
|
|
1769
|
-
return j(t, "mousedown touchstart dblclick contextmenu",
|
|
1769
|
+
return j(t, "mousedown touchstart dblclick contextmenu", Te), t._leaflet_disable_click = !0, this;
|
|
1770
1770
|
}
|
|
1771
1771
|
function Et(t) {
|
|
1772
1772
|
return t.preventDefault ? t.preventDefault() : t.returnValue = !1, this;
|
|
1773
1773
|
}
|
|
1774
|
-
function
|
|
1775
|
-
return Et(t),
|
|
1774
|
+
function Me(t) {
|
|
1775
|
+
return Et(t), Te(t), this;
|
|
1776
1776
|
}
|
|
1777
1777
|
function ro(t) {
|
|
1778
1778
|
if (t.composedPath)
|
|
@@ -1836,25 +1836,25 @@ function Ta() {
|
|
|
1836
1836
|
__proto__: null,
|
|
1837
1837
|
on: j,
|
|
1838
1838
|
off: dt,
|
|
1839
|
-
stopPropagation:
|
|
1839
|
+
stopPropagation: Te,
|
|
1840
1840
|
disableScrollPropagation: On,
|
|
1841
1841
|
disableClickPropagation: oi,
|
|
1842
1842
|
preventDefault: Et,
|
|
1843
|
-
stop:
|
|
1843
|
+
stop: Me,
|
|
1844
1844
|
getPropagationPath: ro,
|
|
1845
1845
|
getMousePosition: ao,
|
|
1846
1846
|
getWheelDelta: lo,
|
|
1847
1847
|
isExternalTarget: In,
|
|
1848
1848
|
addListener: j,
|
|
1849
1849
|
removeListener: dt
|
|
1850
|
-
}, uo =
|
|
1850
|
+
}, uo = re.extend({
|
|
1851
1851
|
// @method run(el: HTMLElement, newPos: Point, duration?: Number, easeLinearity?: Number)
|
|
1852
1852
|
// Run an animation of a given element to a new position, optionally setting
|
|
1853
1853
|
// duration in seconds (`0.25` by default) and easing linearity factor (3rd
|
|
1854
1854
|
// argument of the [cubic bezier curve](https://cubic-bezier.com/#0,0,.5,1),
|
|
1855
1855
|
// `0.5` by default).
|
|
1856
1856
|
run: function(t, e, i, n) {
|
|
1857
|
-
this.stop(), this._el = t, this._inProgress = !0, this._duration = i || 0.25, this._easeOutPower = 1 / Math.max(n || 0.5, 0.2), this._startPos =
|
|
1857
|
+
this.stop(), this._el = t, this._inProgress = !0, this._duration = i || 0.25, this._easeOutPower = 1 / Math.max(n || 0.5, 0.2), this._startPos = Ce(t), this._offset = e.subtract(this._startPos), this._startTime = +/* @__PURE__ */ new Date(), this.fire("start"), this._animate();
|
|
1858
1858
|
},
|
|
1859
1859
|
// @method stop()
|
|
1860
1860
|
// Stops the animation (if currently running).
|
|
@@ -1878,13 +1878,13 @@ function Ta() {
|
|
|
1878
1878
|
_easeOut: function(t) {
|
|
1879
1879
|
return 1 - Math.pow(1 - t, this._easeOutPower);
|
|
1880
1880
|
}
|
|
1881
|
-
}), it =
|
|
1881
|
+
}), it = re.extend({
|
|
1882
1882
|
options: {
|
|
1883
1883
|
// @section Map State Options
|
|
1884
1884
|
// @option crs: CRS = L.CRS.EPSG3857
|
|
1885
1885
|
// The [Coordinate Reference System](#crs) to use. Don't change this if you're not
|
|
1886
1886
|
// sure what it means.
|
|
1887
|
-
crs:
|
|
1887
|
+
crs: be,
|
|
1888
1888
|
// @option center: LatLng = undefined
|
|
1889
1889
|
// Initial geographic center of the map
|
|
1890
1890
|
center: void 0,
|
|
@@ -2072,7 +2072,7 @@ function Ta() {
|
|
|
2072
2072
|
return Zt(kt) / St(kt);
|
|
2073
2073
|
}
|
|
2074
2074
|
var Dt = X(0);
|
|
2075
|
-
function
|
|
2075
|
+
function We(kt) {
|
|
2076
2076
|
return b * (St(Dt) / St(Dt + O * kt));
|
|
2077
2077
|
}
|
|
2078
2078
|
function ur(kt) {
|
|
@@ -2086,7 +2086,7 @@ function Ta() {
|
|
|
2086
2086
|
var kt = (Date.now() - cr) / dr, ji = hr(kt) * Fo;
|
|
2087
2087
|
kt <= 1 ? (this._flyToFrame = at(Uo, this), this._move(
|
|
2088
2088
|
this.unproject(n.add(s.subtract(n).multiplyBy(ur(ji) / T)), p),
|
|
2089
|
-
this.getScaleZoom(b /
|
|
2089
|
+
this.getScaleZoom(b / We(ji), p),
|
|
2090
2090
|
{ flyTo: !0 }
|
|
2091
2091
|
)) : this._move(t, e)._moveEnd(!0);
|
|
2092
2092
|
}
|
|
@@ -2608,7 +2608,7 @@ function Ta() {
|
|
|
2608
2608
|
},
|
|
2609
2609
|
// private methods for getting map state
|
|
2610
2610
|
_getMapPanePos: function() {
|
|
2611
|
-
return
|
|
2611
|
+
return Ce(this._mapPane) || new G(0, 0);
|
|
2612
2612
|
},
|
|
2613
2613
|
_moved: function() {
|
|
2614
2614
|
var t = this._getMapPanePos();
|
|
@@ -2686,7 +2686,7 @@ function Ta() {
|
|
|
2686
2686
|
var t = this._proxy = rt("div", "leaflet-proxy leaflet-zoom-animated");
|
|
2687
2687
|
this._panes.mapPane.appendChild(t), this.on("zoomanim", function(e) {
|
|
2688
2688
|
var i = yn, n = this._proxy.style[i];
|
|
2689
|
-
|
|
2689
|
+
xe(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[i] && this._animatingZoom && this._onZoomTransitionEnd();
|
|
2690
2690
|
}, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
|
|
2691
2691
|
},
|
|
2692
2692
|
_destroyAnimProxy: function() {
|
|
@@ -2694,7 +2694,7 @@ function Ta() {
|
|
|
2694
2694
|
},
|
|
2695
2695
|
_animMoveEnd: function() {
|
|
2696
2696
|
var t = this.getCenter(), e = this.getZoom();
|
|
2697
|
-
|
|
2697
|
+
xe(this._proxy, this.project(t, e), this.getZoomScale(e, 1));
|
|
2698
2698
|
},
|
|
2699
2699
|
_catchTransitionEnd: function(t) {
|
|
2700
2700
|
this._animatingZoom && t.propertyName.indexOf("transform") >= 0 && this._onZoomTransitionEnd();
|
|
@@ -3022,7 +3022,7 @@ function Ta() {
|
|
|
3022
3022
|
},
|
|
3023
3023
|
_createButton: function(t, e, i, n, s) {
|
|
3024
3024
|
var a = rt("a", i, n);
|
|
3025
|
-
return a.innerHTML = t, a.href = "#", a.title = e, a.setAttribute("role", "button"), a.setAttribute("aria-label", e), oi(a), j(a, "click",
|
|
3025
|
+
return a.innerHTML = t, a.href = "#", a.title = e, a.setAttribute("role", "button"), a.setAttribute("aria-label", e), oi(a), j(a, "click", Me), j(a, "click", s, this), j(a, "click", this._refocusOnMap, this), a;
|
|
3026
3026
|
},
|
|
3027
3027
|
_updateDisabled: function() {
|
|
3028
3028
|
var t = this._map, e = "leaflet-disabled";
|
|
@@ -3150,7 +3150,7 @@ function Ta() {
|
|
|
3150
3150
|
return new Bn(t);
|
|
3151
3151
|
};
|
|
3152
3152
|
qt.Layers = ho, qt.Zoom = En, qt.Scale = co, qt.Attribution = Bn, si.layers = Ts, si.zoom = Ms, si.scale = Ss, si.attribution = Os;
|
|
3153
|
-
var
|
|
3153
|
+
var ee = yt.extend({
|
|
3154
3154
|
initialize: function(t) {
|
|
3155
3155
|
this._map = t;
|
|
3156
3156
|
},
|
|
@@ -3176,10 +3176,10 @@ function Ta() {
|
|
|
3176
3176
|
// @method removeHooks()
|
|
3177
3177
|
// Called when the handler is disabled, should remove the event hooks added previously.
|
|
3178
3178
|
});
|
|
3179
|
-
|
|
3179
|
+
ee.addTo = function(t, e) {
|
|
3180
3180
|
return t.addHandler(e, this), this;
|
|
3181
3181
|
};
|
|
3182
|
-
var Is = { Events: It }, fo = D.touch ? "touchstart mousedown" : "mousedown",
|
|
3182
|
+
var Is = { Events: It }, fo = D.touch ? "touchstart mousedown" : "mousedown", _e = re.extend({
|
|
3183
3183
|
options: {
|
|
3184
3184
|
// @section
|
|
3185
3185
|
// @aka Draggable options
|
|
@@ -3201,18 +3201,18 @@ function Ta() {
|
|
|
3201
3201
|
// @method disable()
|
|
3202
3202
|
// Disables the dragging ability
|
|
3203
3203
|
disable: function() {
|
|
3204
|
-
this._enabled && (
|
|
3204
|
+
this._enabled && (_e._dragging === this && this.finishDrag(!0), dt(this._dragStartTarget, fo, this._onDown, this), this._enabled = !1, this._moved = !1);
|
|
3205
3205
|
},
|
|
3206
3206
|
_onDown: function(t) {
|
|
3207
3207
|
if (this._enabled && (this._moved = !1, !Ln(this._element, "leaflet-zoom-anim"))) {
|
|
3208
3208
|
if (t.touches && t.touches.length !== 1) {
|
|
3209
|
-
|
|
3209
|
+
_e._dragging === this && this.finishDrag();
|
|
3210
3210
|
return;
|
|
3211
3211
|
}
|
|
3212
|
-
if (!(
|
|
3212
|
+
if (!(_e._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (_e._dragging = this, this._preventOutline && Cn(this._element), wn(), ei(), !this._moving)) {
|
|
3213
3213
|
this.fire("down");
|
|
3214
3214
|
var e = t.touches ? t.touches[0] : t, i = oo(this._element);
|
|
3215
|
-
this._startPoint = new G(e.clientX, e.clientY), this._startPos =
|
|
3215
|
+
this._startPoint = new G(e.clientX, e.clientY), this._startPos = Ce(this._element), this._parentScale = Tn(i);
|
|
3216
3216
|
var n = t.type === "mousedown";
|
|
3217
3217
|
j(document, n ? "mousemove" : "touchmove", this._onMove, this), j(document, n ? "mouseup" : "touchend touchcancel", this._onUp, this);
|
|
3218
3218
|
}
|
|
@@ -3238,7 +3238,7 @@ function Ta() {
|
|
|
3238
3238
|
finishDrag: function(t) {
|
|
3239
3239
|
vt(document.body, "leaflet-dragging"), this._lastTarget && (vt(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), dt(document, "mousemove touchmove", this._onMove, this), dt(document, "mouseup touchend touchcancel", this._onUp, this), Pn(), ii();
|
|
3240
3240
|
var e = this._moved && this._moving;
|
|
3241
|
-
this._moving = !1,
|
|
3241
|
+
this._moving = !1, _e._dragging = !1, e && this.fire("dragend", {
|
|
3242
3242
|
noInertia: t,
|
|
3243
3243
|
distance: this._newPos.distanceTo(this._startPos)
|
|
3244
3244
|
});
|
|
@@ -3247,10 +3247,10 @@ function Ta() {
|
|
|
3247
3247
|
function _o(t, e, i) {
|
|
3248
3248
|
var n, s = [1, 4, 2, 8], a, p, b, x, T, O, F, X;
|
|
3249
3249
|
for (a = 0, O = t.length; a < O; a++)
|
|
3250
|
-
t[a]._code =
|
|
3250
|
+
t[a]._code = Se(t[a], e);
|
|
3251
3251
|
for (b = 0; b < 4; b++) {
|
|
3252
3252
|
for (F = s[b], n = [], a = 0, O = t.length, p = O - 1; a < O; p = a++)
|
|
3253
|
-
x = t[a], T = t[p], x._code & F ? T._code & F || (X = Di(T, x, F, e, i), X._code =
|
|
3253
|
+
x = t[a], T = t[p], x._code & F ? T._code & F || (X = Di(T, x, F, e, i), X._code = Se(X, e), n.push(X)) : (T._code & F && (X = Di(T, x, F, e, i), X._code = Se(X, e), n.push(X)), n.push(x));
|
|
3254
3254
|
t = n;
|
|
3255
3255
|
}
|
|
3256
3256
|
return t;
|
|
@@ -3270,8 +3270,8 @@ function Ta() {
|
|
|
3270
3270
|
for (b = x = T = 0, i = 0, n = St - 1; i < St; n = i++)
|
|
3271
3271
|
s = Ut[i], a = Ut[n], p = s.y * a.x - a.y * s.x, x += (s.x + a.x) * p, T += (s.y + a.y) * p, b += p * 3;
|
|
3272
3272
|
b === 0 ? O = Ut[0] : O = [x / b, T / b];
|
|
3273
|
-
var
|
|
3274
|
-
return q([
|
|
3273
|
+
var We = e.unproject(N(O));
|
|
3274
|
+
return q([We.lat + F.lat, We.lng + F.lng]);
|
|
3275
3275
|
}
|
|
3276
3276
|
function zn(t) {
|
|
3277
3277
|
for (var e = 0, i = 0, n = 0, s = 0; s < t.length; s++) {
|
|
@@ -3319,20 +3319,20 @@ function Ta() {
|
|
|
3319
3319
|
}
|
|
3320
3320
|
var vo;
|
|
3321
3321
|
function yo(t, e, i, n, s) {
|
|
3322
|
-
var a = n ? vo :
|
|
3322
|
+
var a = n ? vo : Se(t, i), p = Se(e, i), b, x, T;
|
|
3323
3323
|
for (vo = p; ; ) {
|
|
3324
3324
|
if (!(a | p))
|
|
3325
3325
|
return [t, e];
|
|
3326
3326
|
if (a & p)
|
|
3327
3327
|
return !1;
|
|
3328
|
-
b = a || p, x = Di(t, e, b, i, s), T =
|
|
3328
|
+
b = a || p, x = Di(t, e, b, i, s), T = Se(x, i), b === a ? (t = x, a = T) : (e = x, p = T);
|
|
3329
3329
|
}
|
|
3330
3330
|
}
|
|
3331
3331
|
function Di(t, e, i, n, s) {
|
|
3332
3332
|
var a = e.x - t.x, p = e.y - t.y, b = n.min, x = n.max, T, O;
|
|
3333
3333
|
return i & 8 ? (T = t.x + a * (x.y - t.y) / p, O = x.y) : i & 4 ? (T = t.x + a * (b.y - t.y) / p, O = b.y) : i & 2 ? (T = x.x, O = t.y + p * (x.x - t.x) / a) : i & 1 && (T = b.x, O = t.y + p * (b.x - t.x) / a), new G(T, O, s);
|
|
3334
3334
|
}
|
|
3335
|
-
function
|
|
3335
|
+
function Se(t, e) {
|
|
3336
3336
|
var i = 0;
|
|
3337
3337
|
return t.x < e.min.x ? i |= 1 : t.x > e.max.x && (i |= 2), t.y < e.min.y ? i |= 4 : t.y > e.max.y && (i |= 8), i;
|
|
3338
3338
|
}
|
|
@@ -3385,7 +3385,7 @@ function Ta() {
|
|
|
3385
3385
|
closestPointOnSegment: Bs,
|
|
3386
3386
|
clipSegment: yo,
|
|
3387
3387
|
_getEdgeIntersection: Di,
|
|
3388
|
-
_getBitCode:
|
|
3388
|
+
_getBitCode: Se,
|
|
3389
3389
|
_sqClosestPointOnSegment: ri,
|
|
3390
3390
|
isFlat: Ft,
|
|
3391
3391
|
_flat: Lo,
|
|
@@ -3415,21 +3415,21 @@ function Ta() {
|
|
|
3415
3415
|
__proto__: null,
|
|
3416
3416
|
LonLat: Dn,
|
|
3417
3417
|
Mercator: Nn,
|
|
3418
|
-
SphericalMercator:
|
|
3418
|
+
SphericalMercator: Ie
|
|
3419
3419
|
}, Hs = v({}, Pt, {
|
|
3420
3420
|
code: "EPSG:3395",
|
|
3421
3421
|
projection: Nn,
|
|
3422
3422
|
transformation: function() {
|
|
3423
3423
|
var t = 0.5 / (Math.PI * Nn.R);
|
|
3424
|
-
return
|
|
3424
|
+
return Le(t, 0.5, -t, 0.5);
|
|
3425
3425
|
}()
|
|
3426
3426
|
}), ko = v({}, Pt, {
|
|
3427
3427
|
code: "EPSG:4326",
|
|
3428
3428
|
projection: Dn,
|
|
3429
|
-
transformation:
|
|
3429
|
+
transformation: Le(1 / 180, 1, -1 / 180, 0.5)
|
|
3430
3430
|
}), Vs = v({}, Mt, {
|
|
3431
3431
|
projection: Dn,
|
|
3432
|
-
transformation:
|
|
3432
|
+
transformation: Le(1, 0, -1, 0),
|
|
3433
3433
|
scale: function(t) {
|
|
3434
3434
|
return Math.pow(2, t);
|
|
3435
3435
|
},
|
|
@@ -3442,8 +3442,8 @@ function Ta() {
|
|
|
3442
3442
|
},
|
|
3443
3443
|
infinite: !0
|
|
3444
3444
|
});
|
|
3445
|
-
Mt.Earth = Pt, Mt.EPSG3395 = Hs, Mt.EPSG3857 =
|
|
3446
|
-
var jt =
|
|
3445
|
+
Mt.Earth = Pt, Mt.EPSG3395 = Hs, Mt.EPSG3857 = be, Mt.EPSG900913 = on, Mt.EPSG4326 = ko, Mt.Simple = Vs;
|
|
3446
|
+
var jt = re.extend({
|
|
3447
3447
|
// Classes extending `L.Layer` will inherit the following options:
|
|
3448
3448
|
options: {
|
|
3449
3449
|
// @option pane: String = 'overlayPane'
|
|
@@ -3560,7 +3560,7 @@ function Ta() {
|
|
|
3560
3560
|
this._layersMaxZoom = e === -1 / 0 ? void 0 : e, this._layersMinZoom = t === 1 / 0 ? void 0 : t, i !== this._getZoomSpan() && this.fire("zoomlevelschange"), this.options.maxZoom === void 0 && this._layersMaxZoom && this.getZoom() > this._layersMaxZoom && this.setZoom(this._layersMaxZoom), this.options.minZoom === void 0 && this._layersMinZoom && this.getZoom() < this._layersMinZoom && this.setZoom(this._layersMinZoom);
|
|
3561
3561
|
}
|
|
3562
3562
|
});
|
|
3563
|
-
var
|
|
3563
|
+
var He = jt.extend({
|
|
3564
3564
|
initialize: function(t, e) {
|
|
3565
3565
|
C(this, e), this._layers = {};
|
|
3566
3566
|
var i, n;
|
|
@@ -3647,13 +3647,13 @@ function Ta() {
|
|
|
3647
3647
|
return c(t);
|
|
3648
3648
|
}
|
|
3649
3649
|
}), Fs = function(t, e) {
|
|
3650
|
-
return new
|
|
3651
|
-
}, ae =
|
|
3650
|
+
return new He(t, e);
|
|
3651
|
+
}, ae = He.extend({
|
|
3652
3652
|
addLayer: function(t) {
|
|
3653
|
-
return this.hasLayer(t) ? this : (t.addEventParent(this),
|
|
3653
|
+
return this.hasLayer(t) ? this : (t.addEventParent(this), He.prototype.addLayer.call(this, t), this.fire("layeradd", { layer: t }));
|
|
3654
3654
|
},
|
|
3655
3655
|
removeLayer: function(t) {
|
|
3656
|
-
return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this),
|
|
3656
|
+
return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this), He.prototype.removeLayer.call(this, t), this.fire("layerremove", { layer: t })) : this;
|
|
3657
3657
|
},
|
|
3658
3658
|
// @method setStyle(style: Path options): this
|
|
3659
3659
|
// Sets the given path options to each layer of the group that has a `setStyle` method.
|
|
@@ -3682,7 +3682,7 @@ function Ta() {
|
|
|
3682
3682
|
}
|
|
3683
3683
|
}), Us = function(t, e) {
|
|
3684
3684
|
return new ae(t, e);
|
|
3685
|
-
},
|
|
3685
|
+
}, Ve = yt.extend({
|
|
3686
3686
|
/* @section
|
|
3687
3687
|
* @aka Icon options
|
|
3688
3688
|
*
|
|
@@ -3769,9 +3769,9 @@ function Ta() {
|
|
|
3769
3769
|
}
|
|
3770
3770
|
});
|
|
3771
3771
|
function Gs(t) {
|
|
3772
|
-
return new
|
|
3772
|
+
return new Ve(t);
|
|
3773
3773
|
}
|
|
3774
|
-
var ai =
|
|
3774
|
+
var ai = Ve.extend({
|
|
3775
3775
|
options: {
|
|
3776
3776
|
iconUrl: "marker-icon.png",
|
|
3777
3777
|
iconRetinaUrl: "marker-icon-2x.png",
|
|
@@ -3783,7 +3783,7 @@ function Ta() {
|
|
|
3783
3783
|
shadowSize: [41, 41]
|
|
3784
3784
|
},
|
|
3785
3785
|
_getIconUrl: function(t) {
|
|
3786
|
-
return typeof ai.imagePath != "string" && (ai.imagePath = this._detectIconPath()), (this.options.imagePath || ai.imagePath) +
|
|
3786
|
+
return typeof ai.imagePath != "string" && (ai.imagePath = this._detectIconPath()), (this.options.imagePath || ai.imagePath) + Ve.prototype._getIconUrl.call(this, t);
|
|
3787
3787
|
},
|
|
3788
3788
|
_stripUrl: function(t) {
|
|
3789
3789
|
var e = function(i, n, s) {
|
|
@@ -3799,13 +3799,13 @@ function Ta() {
|
|
|
3799
3799
|
var i = document.querySelector('link[href$="leaflet.css"]');
|
|
3800
3800
|
return i ? i.href.substring(0, i.href.length - 11 - 1) : "";
|
|
3801
3801
|
}
|
|
3802
|
-
}), wo =
|
|
3802
|
+
}), wo = ee.extend({
|
|
3803
3803
|
initialize: function(t) {
|
|
3804
3804
|
this._marker = t;
|
|
3805
3805
|
},
|
|
3806
3806
|
addHooks: function() {
|
|
3807
3807
|
var t = this._marker._icon;
|
|
3808
|
-
this._draggable || (this._draggable = new
|
|
3808
|
+
this._draggable || (this._draggable = new _e(t, t, !0)), this._draggable.on({
|
|
3809
3809
|
dragstart: this._onDragStart,
|
|
3810
3810
|
predrag: this._onPreDrag,
|
|
3811
3811
|
drag: this._onDrag,
|
|
@@ -3824,7 +3824,7 @@ function Ta() {
|
|
|
3824
3824
|
return this._draggable && this._draggable._moved;
|
|
3825
3825
|
},
|
|
3826
3826
|
_adjustPan: function(t) {
|
|
3827
|
-
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, s = this._marker.options.autoPanPadding, a =
|
|
3827
|
+
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, s = this._marker.options.autoPanPadding, a = Ce(e._icon), p = i.getPixelBounds(), b = i.getPixelOrigin(), x = Lt(
|
|
3828
3828
|
p.min._subtract(b).add(s),
|
|
3829
3829
|
p.max._subtract(b).subtract(s)
|
|
3830
3830
|
);
|
|
@@ -3843,7 +3843,7 @@ function Ta() {
|
|
|
3843
3843
|
this._marker.options.autoPan && (Q(this._panRequest), this._panRequest = at(this._adjustPan.bind(this, t)));
|
|
3844
3844
|
},
|
|
3845
3845
|
_onDrag: function(t) {
|
|
3846
|
-
var e = this._marker, i = e._shadow, n =
|
|
3846
|
+
var e = this._marker, i = e._shadow, n = Ce(e._icon), s = e._map.layerPointToLatLng(n);
|
|
3847
3847
|
i && bt(i, n), e._latlng = s, t.latlng = s, t.oldLatLng = this._oldLatLng, e.fire("move", t).fire("drag", t);
|
|
3848
3848
|
},
|
|
3849
3849
|
_onDragEnd: function(t) {
|
|
@@ -4037,7 +4037,7 @@ function Ta() {
|
|
|
4037
4037
|
function Ws(t, e) {
|
|
4038
4038
|
return new Ni(t, e);
|
|
4039
4039
|
}
|
|
4040
|
-
var
|
|
4040
|
+
var pe = jt.extend({
|
|
4041
4041
|
// @section
|
|
4042
4042
|
// @aka Path options
|
|
4043
4043
|
options: {
|
|
@@ -4123,7 +4123,7 @@ function Ta() {
|
|
|
4123
4123
|
_clickTolerance: function() {
|
|
4124
4124
|
return (this.options.stroke ? this.options.weight / 2 : 0) + (this._renderer.options.tolerance || 0);
|
|
4125
4125
|
}
|
|
4126
|
-
}), Ri =
|
|
4126
|
+
}), Ri = pe.extend({
|
|
4127
4127
|
// @section
|
|
4128
4128
|
// @aka CircleMarker options
|
|
4129
4129
|
options: {
|
|
@@ -4158,7 +4158,7 @@ function Ta() {
|
|
|
4158
4158
|
},
|
|
4159
4159
|
setStyle: function(t) {
|
|
4160
4160
|
var e = t && t.radius || this._radius;
|
|
4161
|
-
return
|
|
4161
|
+
return pe.prototype.setStyle.call(this, t), this.setRadius(e), this;
|
|
4162
4162
|
},
|
|
4163
4163
|
_project: function() {
|
|
4164
4164
|
this._point = this._map.latLngToLayerPoint(this._latlng), this._updateBounds();
|
|
@@ -4209,7 +4209,7 @@ function Ta() {
|
|
|
4209
4209
|
this._map.layerPointToLatLng(this._point.add(t))
|
|
4210
4210
|
);
|
|
4211
4211
|
},
|
|
4212
|
-
setStyle:
|
|
4212
|
+
setStyle: pe.prototype.setStyle,
|
|
4213
4213
|
_project: function() {
|
|
4214
4214
|
var t = this._latlng.lng, e = this._latlng.lat, i = this._map, n = i.options.crs;
|
|
4215
4215
|
if (n.distance === Pt.distance) {
|
|
@@ -4225,7 +4225,7 @@ function Ta() {
|
|
|
4225
4225
|
function qs(t, e, i) {
|
|
4226
4226
|
return new Rn(t, e, i);
|
|
4227
4227
|
}
|
|
4228
|
-
var le =
|
|
4228
|
+
var le = pe.extend({
|
|
4229
4229
|
// @section
|
|
4230
4230
|
// @aka Polyline options
|
|
4231
4231
|
options: {
|
|
@@ -4360,7 +4360,7 @@ function Ta() {
|
|
|
4360
4360
|
return new le(t, e);
|
|
4361
4361
|
}
|
|
4362
4362
|
le._flat = Lo;
|
|
4363
|
-
var
|
|
4363
|
+
var Fe = le.extend({
|
|
4364
4364
|
options: {
|
|
4365
4365
|
fill: !0
|
|
4366
4366
|
},
|
|
@@ -4410,7 +4410,7 @@ function Ta() {
|
|
|
4410
4410
|
}
|
|
4411
4411
|
});
|
|
4412
4412
|
function Ks(t, e) {
|
|
4413
|
-
return new
|
|
4413
|
+
return new Fe(t, e);
|
|
4414
4414
|
}
|
|
4415
4415
|
var ue = ae.extend({
|
|
4416
4416
|
/* @section
|
|
@@ -4513,7 +4513,7 @@ function Ta() {
|
|
|
4513
4513
|
return x = Vi(n, i.type === "LineString" ? 0 : 1, p), new le(x, e);
|
|
4514
4514
|
case "Polygon":
|
|
4515
4515
|
case "MultiPolygon":
|
|
4516
|
-
return x = Vi(n, i.type === "Polygon" ? 1 : 2, p), new
|
|
4516
|
+
return x = Vi(n, i.type === "Polygon" ? 1 : 2, p), new Fe(x, e);
|
|
4517
4517
|
case "GeometryCollection":
|
|
4518
4518
|
for (T = 0, O = i.geometries.length; T < O; T++) {
|
|
4519
4519
|
var F = Hi({
|
|
@@ -4553,7 +4553,7 @@ function Ta() {
|
|
|
4553
4553
|
s.push(e ? Fi(t[a], Ft(t[a]) ? 0 : e - 1, i, n) : Vn(t[a], n));
|
|
4554
4554
|
return !e && i && s.length > 0 && s.push(s[0].slice()), s;
|
|
4555
4555
|
}
|
|
4556
|
-
function
|
|
4556
|
+
function Ue(t, e) {
|
|
4557
4557
|
return t.feature ? v({}, t.feature, { geometry: e }) : Ui(e);
|
|
4558
4558
|
}
|
|
4559
4559
|
function Ui(t) {
|
|
@@ -4565,7 +4565,7 @@ function Ta() {
|
|
|
4565
4565
|
}
|
|
4566
4566
|
var Fn = {
|
|
4567
4567
|
toGeoJSON: function(t) {
|
|
4568
|
-
return
|
|
4568
|
+
return Ue(this, {
|
|
4569
4569
|
type: "Point",
|
|
4570
4570
|
coordinates: Vn(this.getLatLng(), t)
|
|
4571
4571
|
});
|
|
@@ -4574,25 +4574,25 @@ function Ta() {
|
|
|
4574
4574
|
Ni.include(Fn), Rn.include(Fn), Ri.include(Fn), le.include({
|
|
4575
4575
|
toGeoJSON: function(t) {
|
|
4576
4576
|
var e = !Ft(this._latlngs), i = Fi(this._latlngs, e ? 1 : 0, !1, t);
|
|
4577
|
-
return
|
|
4577
|
+
return Ue(this, {
|
|
4578
4578
|
type: (e ? "Multi" : "") + "LineString",
|
|
4579
4579
|
coordinates: i
|
|
4580
4580
|
});
|
|
4581
4581
|
}
|
|
4582
|
-
}),
|
|
4582
|
+
}), Fe.include({
|
|
4583
4583
|
toGeoJSON: function(t) {
|
|
4584
4584
|
var e = !Ft(this._latlngs), i = e && !Ft(this._latlngs[0]), n = Fi(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
|
|
4585
|
-
return e || (n = [n]),
|
|
4585
|
+
return e || (n = [n]), Ue(this, {
|
|
4586
4586
|
type: (i ? "Multi" : "") + "Polygon",
|
|
4587
4587
|
coordinates: n
|
|
4588
4588
|
});
|
|
4589
4589
|
}
|
|
4590
|
-
}),
|
|
4590
|
+
}), He.include({
|
|
4591
4591
|
toMultiPoint: function(t) {
|
|
4592
4592
|
var e = [];
|
|
4593
4593
|
return this.eachLayer(function(i) {
|
|
4594
4594
|
e.push(i.toGeoJSON(t).geometry.coordinates);
|
|
4595
|
-
}),
|
|
4595
|
+
}), Ue(this, {
|
|
4596
4596
|
type: "MultiPoint",
|
|
4597
4597
|
coordinates: e
|
|
4598
4598
|
});
|
|
@@ -4615,7 +4615,7 @@ function Ta() {
|
|
|
4615
4615
|
p.type === "FeatureCollection" ? n.push.apply(n, p.features) : n.push(p);
|
|
4616
4616
|
}
|
|
4617
4617
|
}
|
|
4618
|
-
}), i ?
|
|
4618
|
+
}), i ? Ue(this, {
|
|
4619
4619
|
geometries: n,
|
|
4620
4620
|
type: "GeometryCollection"
|
|
4621
4621
|
}) : {
|
|
@@ -4675,12 +4675,12 @@ function Ta() {
|
|
|
4675
4675
|
// @method bringToFront(): this
|
|
4676
4676
|
// Brings the layer to the top of all overlays.
|
|
4677
4677
|
bringToFront: function() {
|
|
4678
|
-
return this._map &&
|
|
4678
|
+
return this._map && Ne(this._image), this;
|
|
4679
4679
|
},
|
|
4680
4680
|
// @method bringToBack(): this
|
|
4681
4681
|
// Brings the layer to the bottom of all overlays.
|
|
4682
4682
|
bringToBack: function() {
|
|
4683
|
-
return this._map &&
|
|
4683
|
+
return this._map && Re(this._image), this;
|
|
4684
4684
|
},
|
|
4685
4685
|
// @method setUrl(url: String): this
|
|
4686
4686
|
// Changes the URL of the image.
|
|
@@ -4725,7 +4725,7 @@ function Ta() {
|
|
|
4725
4725
|
},
|
|
4726
4726
|
_animateZoom: function(t) {
|
|
4727
4727
|
var e = this._map.getZoomScale(t.zoom), i = this._map._latLngBoundsToNewLayerBounds(this._bounds, t.zoom, t.center).min;
|
|
4728
|
-
|
|
4728
|
+
xe(this._image, i, e);
|
|
4729
4729
|
},
|
|
4730
4730
|
_reset: function() {
|
|
4731
4731
|
var t = this._image, e = new J(
|
|
@@ -4807,7 +4807,7 @@ function Ta() {
|
|
|
4807
4807
|
function Qs(t, e, i) {
|
|
4808
4808
|
return new To(t, e, i);
|
|
4809
4809
|
}
|
|
4810
|
-
var
|
|
4810
|
+
var ie = jt.extend({
|
|
4811
4811
|
// @section
|
|
4812
4812
|
// @aka DivOverlay options
|
|
4813
4813
|
options: {
|
|
@@ -4904,12 +4904,12 @@ function Ta() {
|
|
|
4904
4904
|
// @method bringToFront: this
|
|
4905
4905
|
// Brings this overlay in front of other overlays (in the same map pane).
|
|
4906
4906
|
bringToFront: function() {
|
|
4907
|
-
return this._map &&
|
|
4907
|
+
return this._map && Ne(this._container), this;
|
|
4908
4908
|
},
|
|
4909
4909
|
// @method bringToBack: this
|
|
4910
4910
|
// Brings this overlay to the back of other overlays (in the same map pane).
|
|
4911
4911
|
bringToBack: function() {
|
|
4912
|
-
return this._map &&
|
|
4912
|
+
return this._map && Re(this._container), this;
|
|
4913
4913
|
},
|
|
4914
4914
|
// prepare bound overlay to open: update latlng pos / content source (for FeatureGroup)
|
|
4915
4915
|
_prepareOpen: function(t) {
|
|
@@ -4975,7 +4975,7 @@ function Ta() {
|
|
|
4975
4975
|
return s instanceof t ? (C(s, n), s._source = this) : (s = e && !n ? e : new t(n, this), s.setContent(i)), s;
|
|
4976
4976
|
}
|
|
4977
4977
|
});
|
|
4978
|
-
var Wi =
|
|
4978
|
+
var Wi = ie.extend({
|
|
4979
4979
|
// @section
|
|
4980
4980
|
// @aka Popup options
|
|
4981
4981
|
options: {
|
|
@@ -5039,16 +5039,16 @@ function Ta() {
|
|
|
5039
5039
|
// Alternative to `map.openPopup(popup)`.
|
|
5040
5040
|
// Adds the popup to the map and closes the previous one.
|
|
5041
5041
|
openOn: function(t) {
|
|
5042
|
-
return t = arguments.length ? t : this._source._map, !t.hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this,
|
|
5042
|
+
return t = arguments.length ? t : this._source._map, !t.hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this, ie.prototype.openOn.call(this, t);
|
|
5043
5043
|
},
|
|
5044
5044
|
onAdd: function(t) {
|
|
5045
|
-
|
|
5045
|
+
ie.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof pe || this._source.on("preclick", Te));
|
|
5046
5046
|
},
|
|
5047
5047
|
onRemove: function(t) {
|
|
5048
|
-
|
|
5048
|
+
ie.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof pe || this._source.off("preclick", Te));
|
|
5049
5049
|
},
|
|
5050
5050
|
getEvents: function() {
|
|
5051
|
-
var t =
|
|
5051
|
+
var t = ie.prototype.getEvents.call(this);
|
|
5052
5052
|
return (this.options.closeOnClick !== void 0 ? this.options.closeOnClick : this._map.options.closePopupOnClick) && (t.preclick = this.close), this.options.keepInView && (t.moveend = this._adjustPan), t;
|
|
5053
5053
|
},
|
|
5054
5054
|
_initLayout: function() {
|
|
@@ -5056,7 +5056,7 @@ function Ta() {
|
|
|
5056
5056
|
"div",
|
|
5057
5057
|
t + " " + (this.options.className || "") + " leaflet-zoom-animated"
|
|
5058
5058
|
), i = this._wrapper = rt("div", t + "-content-wrapper", e);
|
|
5059
|
-
if (this._contentNode = rt("div", t + "-content", i), oi(e), On(this._contentNode), j(e, "contextmenu",
|
|
5059
|
+
if (this._contentNode = rt("div", t + "-content", i), oi(e), On(this._contentNode), j(e, "contextmenu", Te), this._tipContainer = rt("div", t + "-tip-container", e), this._tip = rt("div", t + "-tip", this._tipContainer), this.options.closeButton) {
|
|
5060
5060
|
var n = this._closeButton = rt("a", t + "-close-button", e);
|
|
5061
5061
|
n.setAttribute("role", "button"), n.setAttribute("aria-label", "Close popup"), n.href = "#close", n.innerHTML = '<span aria-hidden="true">×</span>', j(n, "click", function(s) {
|
|
5062
5062
|
Et(s), this.close();
|
|
@@ -5082,7 +5082,7 @@ function Ta() {
|
|
|
5082
5082
|
return;
|
|
5083
5083
|
}
|
|
5084
5084
|
var t = this._map, e = parseInt(ti(this._container, "marginBottom"), 10) || 0, i = this._container.offsetHeight + e, n = this._containerWidth, s = new G(this._containerLeft, -i - this._containerBottom);
|
|
5085
|
-
s._add(
|
|
5085
|
+
s._add(Ce(this._container));
|
|
5086
5086
|
var a = t.layerPointToContainerPoint(s), p = N(this.options.autoPanPadding), b = N(this.options.autoPanPaddingTopLeft || p), x = N(this.options.autoPanPaddingBottomRight || p), T = t.getSize(), O = 0, F = 0;
|
|
5087
5087
|
a.x + n + x.x > T.x && (O = a.x + n - T.x + x.x), a.x - O - b.x < 0 && (O = a.x - b.x), a.y + i + x.y > T.y && (F = a.y + i - T.y + x.y), a.y - F - b.y < 0 && (F = a.y - b.y), (O || F) && (this.options.keepInView && (this._autopanning = !0), t.fire("autopanstart").panBy([O, F]));
|
|
5088
5088
|
}
|
|
@@ -5164,9 +5164,9 @@ function Ta() {
|
|
|
5164
5164
|
},
|
|
5165
5165
|
_openPopup: function(t) {
|
|
5166
5166
|
if (!(!this._popup || !this._map)) {
|
|
5167
|
-
|
|
5167
|
+
Me(t);
|
|
5168
5168
|
var e = t.layer || t.target;
|
|
5169
|
-
if (this._popup._source === e && !(e instanceof
|
|
5169
|
+
if (this._popup._source === e && !(e instanceof pe)) {
|
|
5170
5170
|
this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(t.latlng);
|
|
5171
5171
|
return;
|
|
5172
5172
|
}
|
|
@@ -5180,7 +5180,7 @@ function Ta() {
|
|
|
5180
5180
|
t.originalEvent.keyCode === 13 && this._openPopup(t);
|
|
5181
5181
|
}
|
|
5182
5182
|
});
|
|
5183
|
-
var $i =
|
|
5183
|
+
var $i = ie.extend({
|
|
5184
5184
|
// @section
|
|
5185
5185
|
// @aka Tooltip options
|
|
5186
5186
|
options: {
|
|
@@ -5207,13 +5207,13 @@ function Ta() {
|
|
|
5207
5207
|
opacity: 0.9
|
|
5208
5208
|
},
|
|
5209
5209
|
onAdd: function(t) {
|
|
5210
|
-
|
|
5210
|
+
ie.prototype.onAdd.call(this, t), this.setOpacity(this.options.opacity), t.fire("tooltipopen", { tooltip: this }), this._source && (this.addEventParent(this._source), this._source.fire("tooltipopen", { tooltip: this }, !0));
|
|
5211
5211
|
},
|
|
5212
5212
|
onRemove: function(t) {
|
|
5213
|
-
|
|
5213
|
+
ie.prototype.onRemove.call(this, t), t.fire("tooltipclose", { tooltip: this }), this._source && (this.removeEventParent(this._source), this._source.fire("tooltipclose", { tooltip: this }, !0));
|
|
5214
5214
|
},
|
|
5215
5215
|
getEvents: function() {
|
|
5216
|
-
var t =
|
|
5216
|
+
var t = ie.prototype.getEvents.call(this);
|
|
5217
5217
|
return this.options.permanent || (t.preclick = this.close), t;
|
|
5218
5218
|
},
|
|
5219
5219
|
_initLayout: function() {
|
|
@@ -5343,7 +5343,7 @@ function Ta() {
|
|
|
5343
5343
|
this._tooltip.options.sticky && t.originalEvent && (i = this._map.mouseEventToContainerPoint(t.originalEvent), n = this._map.containerPointToLayerPoint(i), e = this._map.layerPointToLatLng(n)), this._tooltip.setLatLng(e);
|
|
5344
5344
|
}
|
|
5345
5345
|
});
|
|
5346
|
-
var Mo =
|
|
5346
|
+
var Mo = Ve.extend({
|
|
5347
5347
|
options: {
|
|
5348
5348
|
// @section
|
|
5349
5349
|
// @aka DivIcon options
|
|
@@ -5375,7 +5375,7 @@ function Ta() {
|
|
|
5375
5375
|
function ir(t) {
|
|
5376
5376
|
return new Mo(t);
|
|
5377
5377
|
}
|
|
5378
|
-
|
|
5378
|
+
Ve.Default = ai;
|
|
5379
5379
|
var li = jt.extend({
|
|
5380
5380
|
// @section
|
|
5381
5381
|
// @aka GridLayer options
|
|
@@ -5452,12 +5452,12 @@ function Ta() {
|
|
|
5452
5452
|
// @method bringToFront: this
|
|
5453
5453
|
// Brings the tile layer to the top of all tile layers.
|
|
5454
5454
|
bringToFront: function() {
|
|
5455
|
-
return this._map && (
|
|
5455
|
+
return this._map && (Ne(this._container), this._setAutoZIndex(Math.max)), this;
|
|
5456
5456
|
},
|
|
5457
5457
|
// @method bringToBack: this
|
|
5458
5458
|
// Brings the tile layer to the bottom of all tile layers.
|
|
5459
5459
|
bringToBack: function() {
|
|
5460
|
-
return this._map && (
|
|
5460
|
+
return this._map && (Re(this._container), this._setAutoZIndex(Math.min)), this;
|
|
5461
5461
|
},
|
|
5462
5462
|
// @method getContainer: HTMLElement
|
|
5463
5463
|
// Returns the HTML element that contains the tiles for this layer.
|
|
@@ -5625,7 +5625,7 @@ function Ta() {
|
|
|
5625
5625
|
},
|
|
5626
5626
|
_setZoomTransform: function(t, e, i) {
|
|
5627
5627
|
var n = this._map.getZoomScale(i, t.zoom), s = t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e, i)).round();
|
|
5628
|
-
D.any3d ?
|
|
5628
|
+
D.any3d ? xe(t.el, s, n) : bt(t.el, s);
|
|
5629
5629
|
},
|
|
5630
5630
|
_resetGrid: function() {
|
|
5631
5631
|
var t = this._map, e = t.options.crs, i = this._tileSize = this.getTileSize(), n = this._tileZoom, s = this._map.getPixelWorldBounds(this._tileZoom);
|
|
@@ -5672,8 +5672,8 @@ function Ta() {
|
|
|
5672
5672
|
St ? St.current = !0 : p.push(Zt);
|
|
5673
5673
|
}
|
|
5674
5674
|
}
|
|
5675
|
-
if (p.sort(function(Dt,
|
|
5676
|
-
return Dt.distanceTo(a) -
|
|
5675
|
+
if (p.sort(function(Dt, We) {
|
|
5676
|
+
return Dt.distanceTo(a) - We.distanceTo(a);
|
|
5677
5677
|
}), p.length !== 0) {
|
|
5678
5678
|
this._loading || (this._loading = !0, this.fire("loading"));
|
|
5679
5679
|
var Ut = document.createDocumentFragment();
|
|
@@ -5779,7 +5779,7 @@ function Ta() {
|
|
|
5779
5779
|
function nr(t) {
|
|
5780
5780
|
return new li(t);
|
|
5781
5781
|
}
|
|
5782
|
-
var
|
|
5782
|
+
var Ge = li.extend({
|
|
5783
5783
|
// @section
|
|
5784
5784
|
// @aka TileLayer options
|
|
5785
5785
|
options: {
|
|
@@ -5900,9 +5900,9 @@ function Ta() {
|
|
|
5900
5900
|
}
|
|
5901
5901
|
});
|
|
5902
5902
|
function So(t, e) {
|
|
5903
|
-
return new
|
|
5903
|
+
return new Ge(t, e);
|
|
5904
5904
|
}
|
|
5905
|
-
var Ao =
|
|
5905
|
+
var Ao = Ge.extend({
|
|
5906
5906
|
// @section
|
|
5907
5907
|
// @aka TileLayer.WMS options
|
|
5908
5908
|
// If any custom options not documented here are used, they will be sent to the
|
|
@@ -5948,10 +5948,10 @@ function Ta() {
|
|
|
5948
5948
|
onAdd: function(t) {
|
|
5949
5949
|
this._crs = this.options.crs || t.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);
|
|
5950
5950
|
var e = this._wmsVersion >= 1.3 ? "crs" : "srs";
|
|
5951
|
-
this.wmsParams[e] = this._crs.code,
|
|
5951
|
+
this.wmsParams[e] = this._crs.code, Ge.prototype.onAdd.call(this, t);
|
|
5952
5952
|
},
|
|
5953
5953
|
getTileUrl: function(t) {
|
|
5954
|
-
var e = this._tileCoordsToNwSe(t), i = this._crs, n = Lt(i.project(e[0]), i.project(e[1])), s = n.min, a = n.max, p = (this._wmsVersion >= 1.3 && this._crs === ko ? [s.y, s.x, a.y, a.x] : [s.x, s.y, a.x, a.y]).join(","), b =
|
|
5954
|
+
var e = this._tileCoordsToNwSe(t), i = this._crs, n = Lt(i.project(e[0]), i.project(e[1])), s = n.min, a = n.max, p = (this._wmsVersion >= 1.3 && this._crs === ko ? [s.y, s.x, a.y, a.x] : [s.x, s.y, a.x, a.y]).join(","), b = Ge.prototype.getTileUrl.call(this, t);
|
|
5955
5955
|
return b + H(this.wmsParams, b, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + p;
|
|
5956
5956
|
},
|
|
5957
5957
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
|
@@ -5963,7 +5963,7 @@ function Ta() {
|
|
|
5963
5963
|
function or(t, e) {
|
|
5964
5964
|
return new Ao(t, e);
|
|
5965
5965
|
}
|
|
5966
|
-
|
|
5966
|
+
Ge.WMS = Ao, So.wms = or;
|
|
5967
5967
|
var he = jt.extend({
|
|
5968
5968
|
// @section
|
|
5969
5969
|
// @aka Renderer options
|
|
@@ -5999,7 +5999,7 @@ function Ta() {
|
|
|
5999
5999
|
},
|
|
6000
6000
|
_updateTransform: function(t, e) {
|
|
6001
6001
|
var i = this._map.getZoomScale(e, this._zoom), n = this._map.getSize().multiplyBy(0.5 + this.options.padding), s = this._map.project(this._center, e), a = n.multiplyBy(-i).add(s).subtract(this._map._getNewPixelOrigin(t, e));
|
|
6002
|
-
D.any3d ?
|
|
6002
|
+
D.any3d ? xe(this._container, a, i) : bt(this._container, a);
|
|
6003
6003
|
},
|
|
6004
6004
|
_reset: function() {
|
|
6005
6005
|
this._update(), this._updateTransform(this._center, this._zoom);
|
|
@@ -6246,10 +6246,10 @@ function Ta() {
|
|
|
6246
6246
|
t._path.v = e;
|
|
6247
6247
|
},
|
|
6248
6248
|
_bringToFront: function(t) {
|
|
6249
|
-
|
|
6249
|
+
Ne(t._container);
|
|
6250
6250
|
},
|
|
6251
6251
|
_bringToBack: function(t) {
|
|
6252
|
-
|
|
6252
|
+
Re(t._container);
|
|
6253
6253
|
}
|
|
6254
6254
|
}, qi = D.vml ? ui : gi, hi = he.extend({
|
|
6255
6255
|
_initContainer: function() {
|
|
@@ -6295,10 +6295,10 @@ function Ta() {
|
|
|
6295
6295
|
},
|
|
6296
6296
|
// SVG does not have the concept of zIndex so we resort to changing the DOM order of elements
|
|
6297
6297
|
_bringToFront: function(t) {
|
|
6298
|
-
|
|
6298
|
+
Ne(t._path);
|
|
6299
6299
|
},
|
|
6300
6300
|
_bringToBack: function(t) {
|
|
6301
|
-
|
|
6301
|
+
Re(t._path);
|
|
6302
6302
|
}
|
|
6303
6303
|
});
|
|
6304
6304
|
D.vml && hi.include(sr);
|
|
@@ -6324,9 +6324,9 @@ function Ta() {
|
|
|
6324
6324
|
return this.options.preferCanvas && Io(t) || Eo(t);
|
|
6325
6325
|
}
|
|
6326
6326
|
});
|
|
6327
|
-
var Bo =
|
|
6327
|
+
var Bo = Fe.extend({
|
|
6328
6328
|
initialize: function(t, e) {
|
|
6329
|
-
|
|
6329
|
+
Fe.prototype.initialize.call(this, this._boundsToLatLngs(t), e);
|
|
6330
6330
|
},
|
|
6331
6331
|
// @method setBounds(latLngBounds: LatLngBounds): this
|
|
6332
6332
|
// Redraws the rectangle with the passed bounds.
|
|
@@ -6345,13 +6345,13 @@ function Ta() {
|
|
|
6345
6345
|
function rr(t, e) {
|
|
6346
6346
|
return new Bo(t, e);
|
|
6347
6347
|
}
|
|
6348
|
-
hi.create = qi, hi.pointsToPath = vi, ue.geometryToLayer = Hi, ue.coordsToLatLng = Hn, ue.coordsToLatLngs = Vi, ue.latLngToCoords = Vn, ue.latLngsToCoords = Fi, ue.getFeature =
|
|
6348
|
+
hi.create = qi, hi.pointsToPath = vi, ue.geometryToLayer = Hi, ue.coordsToLatLng = Hn, ue.coordsToLatLngs = Vi, ue.latLngToCoords = Vn, ue.latLngsToCoords = Fi, ue.getFeature = Ue, ue.asFeature = Ui, it.mergeOptions({
|
|
6349
6349
|
// @option boxZoom: Boolean = true
|
|
6350
6350
|
// Whether the map can be zoomed to a rectangular area specified by
|
|
6351
6351
|
// dragging the mouse while pressing the shift key.
|
|
6352
6352
|
boxZoom: !0
|
|
6353
6353
|
});
|
|
6354
|
-
var zo =
|
|
6354
|
+
var zo = ee.extend({
|
|
6355
6355
|
initialize: function(t) {
|
|
6356
6356
|
this._map = t, this._container = t._container, this._pane = t._panes.overlayPane, this._resetStateTimeout = 0, t.on("unload", this._destroy, this);
|
|
6357
6357
|
},
|
|
@@ -6377,7 +6377,7 @@ function Ta() {
|
|
|
6377
6377
|
if (!t.shiftKey || t.which !== 1 && t.button !== 1)
|
|
6378
6378
|
return !1;
|
|
6379
6379
|
this._clearDeferredResetState(), this._resetState(), ei(), wn(), this._startPoint = this._map.mouseEventToContainerPoint(t), j(document, {
|
|
6380
|
-
contextmenu:
|
|
6380
|
+
contextmenu: Me,
|
|
6381
6381
|
mousemove: this._onMouseMove,
|
|
6382
6382
|
mouseup: this._onMouseUp,
|
|
6383
6383
|
keydown: this._onKeyDown
|
|
@@ -6390,7 +6390,7 @@ function Ta() {
|
|
|
6390
6390
|
},
|
|
6391
6391
|
_finish: function() {
|
|
6392
6392
|
this._moved && (pt(this._box), vt(this._container, "leaflet-crosshair")), ii(), Pn(), dt(document, {
|
|
6393
|
-
contextmenu:
|
|
6393
|
+
contextmenu: Me,
|
|
6394
6394
|
mousemove: this._onMouseMove,
|
|
6395
6395
|
mouseup: this._onMouseUp,
|
|
6396
6396
|
keydown: this._onKeyDown
|
|
@@ -6418,7 +6418,7 @@ function Ta() {
|
|
|
6418
6418
|
// view regardless of where the mouse was.
|
|
6419
6419
|
doubleClickZoom: !0
|
|
6420
6420
|
});
|
|
6421
|
-
var Zo =
|
|
6421
|
+
var Zo = ee.extend({
|
|
6422
6422
|
addHooks: function() {
|
|
6423
6423
|
this._map.on("dblclick", this._onDoubleClick, this);
|
|
6424
6424
|
},
|
|
@@ -6465,11 +6465,11 @@ function Ta() {
|
|
|
6465
6465
|
// solid, preventing the user from dragging outside the bounds.
|
|
6466
6466
|
maxBoundsViscosity: 0
|
|
6467
6467
|
});
|
|
6468
|
-
var Do =
|
|
6468
|
+
var Do = ee.extend({
|
|
6469
6469
|
addHooks: function() {
|
|
6470
6470
|
if (!this._draggable) {
|
|
6471
6471
|
var t = this._map;
|
|
6472
|
-
this._draggable = new
|
|
6472
|
+
this._draggable = new _e(t._mapPane, t._container), this._draggable.on({
|
|
6473
6473
|
dragstart: this._onDragStart,
|
|
6474
6474
|
drag: this._onDrag,
|
|
6475
6475
|
dragend: this._onDragEnd
|
|
@@ -6553,7 +6553,7 @@ function Ta() {
|
|
|
6553
6553
|
// Amount of pixels to pan when pressing an arrow key.
|
|
6554
6554
|
keyboardPanDelta: 80
|
|
6555
6555
|
});
|
|
6556
|
-
var No =
|
|
6556
|
+
var No = ee.extend({
|
|
6557
6557
|
keyCodes: {
|
|
6558
6558
|
left: [37],
|
|
6559
6559
|
right: [39],
|
|
@@ -6638,7 +6638,7 @@ function Ta() {
|
|
|
6638
6638
|
i.closePopup();
|
|
6639
6639
|
else
|
|
6640
6640
|
return;
|
|
6641
|
-
|
|
6641
|
+
Me(t);
|
|
6642
6642
|
}
|
|
6643
6643
|
}
|
|
6644
6644
|
});
|
|
@@ -6658,7 +6658,7 @@ function Ta() {
|
|
|
6658
6658
|
// faster (and vice versa).
|
|
6659
6659
|
wheelPxPerZoomLevel: 60
|
|
6660
6660
|
});
|
|
6661
|
-
var Ro =
|
|
6661
|
+
var Ro = ee.extend({
|
|
6662
6662
|
addHooks: function() {
|
|
6663
6663
|
j(this._map._container, "wheel", this._onWheelScroll, this), this._delta = 0;
|
|
6664
6664
|
},
|
|
@@ -6669,7 +6669,7 @@ function Ta() {
|
|
|
6669
6669
|
var e = lo(t), i = this._map.options.wheelDebounceTime;
|
|
6670
6670
|
this._delta += e, this._lastMousePos = this._map.mouseEventToContainerPoint(t), this._startTime || (this._startTime = +/* @__PURE__ */ new Date());
|
|
6671
6671
|
var n = Math.max(i - (+/* @__PURE__ */ new Date() - this._startTime), 0);
|
|
6672
|
-
clearTimeout(this._timer), this._timer = setTimeout(r(this._performZoom, this), n),
|
|
6672
|
+
clearTimeout(this._timer), this._timer = setTimeout(r(this._performZoom, this), n), Me(t);
|
|
6673
6673
|
},
|
|
6674
6674
|
_performZoom: function() {
|
|
6675
6675
|
var t = this._map, e = t.getZoom(), i = this._map.options.zoomSnap || 0;
|
|
@@ -6690,7 +6690,7 @@ function Ta() {
|
|
|
6690
6690
|
// for it to be considered a valid tap.
|
|
6691
6691
|
tapTolerance: 15
|
|
6692
6692
|
});
|
|
6693
|
-
var Ho =
|
|
6693
|
+
var Ho = ee.extend({
|
|
6694
6694
|
addHooks: function() {
|
|
6695
6695
|
j(this._map._container, "touchstart", this._onDown, this);
|
|
6696
6696
|
},
|
|
@@ -6747,7 +6747,7 @@ function Ta() {
|
|
|
6747
6747
|
// and then bounce back when pinch-zooming.
|
|
6748
6748
|
bounceAtZoomLimits: !0
|
|
6749
6749
|
});
|
|
6750
|
-
var Vo =
|
|
6750
|
+
var Vo = ee.extend({
|
|
6751
6751
|
addHooks: function() {
|
|
6752
6752
|
Y(this._map._container, "leaflet-touch-zoom"), j(this._map._container, "touchstart", this._onTouchStart, this);
|
|
6753
6753
|
},
|
|
@@ -6786,7 +6786,7 @@ function Ta() {
|
|
|
6786
6786
|
this._zooming = !1, Q(this._animRequest), dt(document, "touchmove", this._onTouchMove, this), dt(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));
|
|
6787
6787
|
}
|
|
6788
6788
|
});
|
|
6789
|
-
it.addInitHook("addHandler", "touchZoom", Vo), it.BoxZoom = zo, it.DoubleClickZoom = Zo, it.Drag = Do, it.Keyboard = No, it.ScrollWheelZoom = Ro, it.TapHold = Ho, it.TouchZoom = Vo, u.Bounds = J, u.Browser = D, u.CRS = Mt, u.Canvas = Oo, u.Circle = Rn, u.CircleMarker = Ri, u.Class = yt, u.Control = qt, u.DivIcon = Mo, u.DivOverlay =
|
|
6789
|
+
it.addInitHook("addHandler", "touchZoom", Vo), it.BoxZoom = zo, it.DoubleClickZoom = Zo, it.Drag = Do, it.Keyboard = No, it.ScrollWheelZoom = Ro, it.TapHold = Ho, it.TouchZoom = Vo, u.Bounds = J, u.Browser = D, u.CRS = Mt, u.Canvas = Oo, u.Circle = Rn, u.CircleMarker = Ri, u.Class = yt, u.Control = qt, u.DivIcon = Mo, u.DivOverlay = ie, u.DomEvent = xs, u.DomUtil = ws, u.Draggable = _e, u.Evented = re, u.FeatureGroup = ae, u.GeoJSON = ue, u.GridLayer = li, u.Handler = ee, u.Icon = Ve, u.ImageOverlay = Gi, u.LatLng = et, u.LatLngBounds = nt, u.Layer = jt, u.LayerGroup = He, u.LineUtil = Ns, u.Map = it, u.Marker = Ni, u.Mixin = Is, u.Path = pe, u.Point = G, u.PolyUtil = Es, u.Polygon = Fe, u.Polyline = le, u.Popup = Wi, u.PosAnimation = uo, u.Projection = Rs, u.Rectangle = Bo, u.Renderer = he, u.SVG = hi, u.SVGOverlay = To, u.TileLayer = Ge, u.Tooltip = $i, u.Transformation = qe, u.Util = Tt, u.VideoOverlay = Co, u.bind = r, u.bounds = Lt, u.canvas = Io, u.circle = qs, u.circleMarker = $s, u.control = si, u.divIcon = ir, u.extend = v, u.featureGroup = Us, u.geoJSON = xo, u.geoJson = Ys, u.gridLayer = nr, u.icon = Gs, u.imageOverlay = Js, u.latLng = q, u.latLngBounds = ft, u.layerGroup = Fs, u.map = Cs, u.marker = Ws, u.point = N, u.polygon = Ks, u.polyline = js, u.popup = tr, u.rectangle = rr, u.setOptions = C, u.stamp = c, u.svg = Eo, u.svgOverlay = Qs, u.tileLayer = So, u.tooltip = er, u.transformation = Le, u.version = f, u.videoOverlay = Xs;
|
|
6790
6790
|
var lr = window.L;
|
|
6791
6791
|
u.noConflict = function() {
|
|
6792
6792
|
return window.L = lr, this;
|
|
@@ -6795,7 +6795,7 @@ function Ta() {
|
|
|
6795
6795
|
}(fi, fi.exports)), fi.exports;
|
|
6796
6796
|
}
|
|
6797
6797
|
var Ma = Ta();
|
|
6798
|
-
const
|
|
6798
|
+
const me = /* @__PURE__ */ Kr(Ma);
|
|
6799
6799
|
var _i = { exports: {} }, Sa = _i.exports, Xo;
|
|
6800
6800
|
function Aa() {
|
|
6801
6801
|
return Xo || (Xo = 1, function(_, d) {
|
|
@@ -7820,15 +7820,15 @@ const Oa = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
7820
7820
|
},
|
|
7821
7821
|
emits: ["update:modelValue", "callback"],
|
|
7822
7822
|
setup(_, { emit: d }) {
|
|
7823
|
-
const { t: u } = Kt(), f = d, v = _, { hotelMapImage: o } = Gt(
|
|
7824
|
-
transformation: new
|
|
7825
|
-
}), l = Wt(), c = wt(() => o.value?.url), m = wt(() => o.value?.height), y = wt(() => o.value?.width), g =
|
|
7823
|
+
const { t: u } = Kt(), f = d, v = _, { hotelMapImage: o } = Gt(ye()), r = me.Util.extend(me.CRS.Simple, {
|
|
7824
|
+
transformation: new me.Transformation(1, 0, 1, 0)
|
|
7825
|
+
}), l = Wt(), c = wt(() => o.value?.url), m = wt(() => o.value?.height), y = wt(() => o.value?.width), g = me.icon({
|
|
7826
7826
|
iconUrl: Oa,
|
|
7827
7827
|
iconSize: [32, 37],
|
|
7828
7828
|
iconAnchor: [16, 37]
|
|
7829
7829
|
});
|
|
7830
7830
|
function k() {
|
|
7831
|
-
const I =
|
|
7831
|
+
const I = me.map(l.value, {
|
|
7832
7832
|
attributionControl: !1,
|
|
7833
7833
|
zoomControl: !0,
|
|
7834
7834
|
smoothWheelZoom: !0,
|
|
@@ -7839,12 +7839,12 @@ const Oa = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
7839
7839
|
maxZoom: 3,
|
|
7840
7840
|
crs: r
|
|
7841
7841
|
}), W = [[0, 0], [m.value, y.value]];
|
|
7842
|
-
|
|
7843
|
-
const ht =
|
|
7842
|
+
me.imageOverlay(c.value, W).addTo(I);
|
|
7843
|
+
const ht = me.markerClusterGroup({
|
|
7844
7844
|
showCoverageOnHover: !1
|
|
7845
7845
|
});
|
|
7846
7846
|
C.value.forEach(({ y: ot, x: Ct, name: V, id: st }) => {
|
|
7847
|
-
ht.addLayer(
|
|
7847
|
+
ht.addLayer(me.marker([ot, Ct], {
|
|
7848
7848
|
icon: g,
|
|
7849
7849
|
title: V,
|
|
7850
7850
|
alt: V,
|
|
@@ -7882,7 +7882,7 @@ const Oa = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
7882
7882
|
class: "konnectio-leaflet-map"
|
|
7883
7883
|
}, null, 512)).cacheIndex = 0, Wo(1), W[0]);
|
|
7884
7884
|
}
|
|
7885
|
-
}), Ea = /* @__PURE__ */
|
|
7885
|
+
}), Ea = /* @__PURE__ */ se(Ia, [["__scopeId", "data-v-854aed4f"]]), Ba = { style: { height: "100%", width: "100%" } }, za = /* @__PURE__ */ Rt({
|
|
7886
7886
|
__name: "MapSelector",
|
|
7887
7887
|
props: {
|
|
7888
7888
|
roomList: {},
|
|
@@ -7899,7 +7899,7 @@ const Oa = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
7899
7899
|
}, {
|
|
7900
7900
|
default: tt(() => [
|
|
7901
7901
|
P("div", Ba, [
|
|
7902
|
-
|
|
7902
|
+
Z(Ea, {
|
|
7903
7903
|
modelValue: u.value,
|
|
7904
7904
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => u.value = c),
|
|
7905
7905
|
rooms: r.roomList,
|
|
@@ -7943,7 +7943,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
7943
7943
|
const c = wt(() => o.room.rates.map((V) => ({
|
|
7944
7944
|
label: V.name,
|
|
7945
7945
|
value: V.id
|
|
7946
|
-
}))), { hideAvailableRoomAmount: m, autoSelectRateId: y } = Gt(
|
|
7946
|
+
}))), { hideAvailableRoomAmount: m, autoSelectRateId: y } = Gt(Ae()), { roomSelect: g } = Gt(ye()), { addToCart: k, removeFromCart: w } = ls(), S = (V, st) => o.room.rates.find((ct) => ct.id === V)?.occupantRates.find((ct) => ct.index === st), C = wt(() => o.room.roomList.some((V) => V.mapImageX && V.mapImageY)), H = wt(() => o.room.rates.every((V) => V.isBreakfastIncluded === !0)), B = (V, st) => S(V, st) ? S(V, st)?.rooms : null, I = (V) => o.room.rates.length > 0 ? o.room.rates.find((st) => st.id === V)?.occupantRates.map((st) => ({
|
|
7947
7947
|
value: st.index,
|
|
7948
7948
|
price: st.totalPrice,
|
|
7949
7949
|
adults: st.adultsCount,
|
|
@@ -8038,7 +8038,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8038
8038
|
class: "konnectio-listing-action-selective"
|
|
8039
8039
|
}, [
|
|
8040
8040
|
P("ul", Na, [
|
|
8041
|
-
|
|
8041
|
+
Z(xa, {
|
|
8042
8042
|
modelValue: Tt.id,
|
|
8043
8043
|
"onUpdate:modelValue": (Nt) => Tt.id = Nt,
|
|
8044
8044
|
icon: "male",
|
|
@@ -8050,13 +8050,13 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8050
8050
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
8051
8051
|
]),
|
|
8052
8052
|
C.value ? (M(), A("div", Ha, [
|
|
8053
|
-
|
|
8053
|
+
Z(de, {
|
|
8054
8054
|
onClickEvent: u,
|
|
8055
8055
|
label: h(v)("hotel.selectRoomOnMap"),
|
|
8056
8056
|
secondary: "",
|
|
8057
8057
|
"full-width": ""
|
|
8058
8058
|
}, null, 8, ["label"]),
|
|
8059
|
-
|
|
8059
|
+
Z(za, {
|
|
8060
8060
|
modelValue: d.value,
|
|
8061
8061
|
"onUpdate:modelValue": st[0] || (st[0] = (Nt) => d.value = Nt),
|
|
8062
8062
|
"room-list": V.room.roomList,
|
|
@@ -8064,7 +8064,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8064
8064
|
callback: f
|
|
8065
8065
|
}, null, 8, ["modelValue", "room-list", "config"])
|
|
8066
8066
|
])) : (M(), A("ul", Ra, [
|
|
8067
|
-
|
|
8067
|
+
Z(di, {
|
|
8068
8068
|
modelValue: Tt.units,
|
|
8069
8069
|
"onUpdate:modelValue": (Nt) => Tt.units = Nt,
|
|
8070
8070
|
description: h(m) ? void 0 : `${h(v)("booking.availability.availableUnits")}: ${B(ct.id, Tt.id)}`,
|
|
@@ -8086,7 +8086,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8086
8086
|
_: 1
|
|
8087
8087
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
8088
8088
|
}
|
|
8089
|
-
}), Qo = /* @__PURE__ */
|
|
8089
|
+
}), Qo = /* @__PURE__ */ se(Va, [["__scopeId", "data-v-2bc12cc9"]]), Fa = { class: "konnectio-template-side-panel" }, Ua = { class: "konnectio-template-side-panel-listings" }, Ga = /* @__PURE__ */ Rt({
|
|
8090
8090
|
__name: "Template",
|
|
8091
8091
|
props: {
|
|
8092
8092
|
title: {},
|
|
@@ -8096,7 +8096,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8096
8096
|
callback: { type: Function }
|
|
8097
8097
|
},
|
|
8098
8098
|
setup(_) {
|
|
8099
|
-
const { t: d } = Kt(), { templateID: u, roomGroupID: f, selectionHasNoAddons: v } = Gt(
|
|
8099
|
+
const { t: d } = Kt(), { templateID: u, roomGroupID: f, selectionHasNoAddons: v } = Gt(ye()), { currency: o } = Gt(Ae()), { clearRoomSelection: r } = ye(), l = _, c = Wt(!0), m = wt(() => {
|
|
8100
8100
|
function g(k, w) {
|
|
8101
8101
|
return c.value === !0 ? k.extraPrice > w.extraPrice ? -1 : 1 : k.extraPrice > w.extraPrice ? 1 : -1;
|
|
8102
8102
|
}
|
|
@@ -8136,9 +8136,9 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8136
8136
|
}, {
|
|
8137
8137
|
action: tt(() => [
|
|
8138
8138
|
P("div", null, [
|
|
8139
|
-
|
|
8139
|
+
Z(de, {
|
|
8140
8140
|
onClickEvent: (W) => y(w),
|
|
8141
|
-
label: `${h(d)("booking.availability.selectThisRoom")} (${h(
|
|
8141
|
+
label: `${h(d)("booking.availability.selectThisRoom")} (${h(oe)(I, h(o))})`,
|
|
8142
8142
|
"full-width": ""
|
|
8143
8143
|
}, null, 8, ["onClickEvent", "label"])
|
|
8144
8144
|
])
|
|
@@ -8151,7 +8151,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8151
8151
|
_: 1
|
|
8152
8152
|
}, 8, ["title", "subtitle"]));
|
|
8153
8153
|
}
|
|
8154
|
-
}), Wa = /* @__PURE__ */
|
|
8154
|
+
}), Wa = /* @__PURE__ */ se(Ga, [["__scopeId", "data-v-a323d25a"]]), $a = { class: "konnectio-template-select-package" }, qa = /* @__PURE__ */ Rt({
|
|
8155
8155
|
__name: "Template",
|
|
8156
8156
|
props: {
|
|
8157
8157
|
id: {},
|
|
@@ -8187,7 +8187,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8187
8187
|
}, {
|
|
8188
8188
|
action: tt(() => [
|
|
8189
8189
|
P("div", $a, [
|
|
8190
|
-
|
|
8190
|
+
Z(de, {
|
|
8191
8191
|
onClickEvent: o,
|
|
8192
8192
|
label: h(d)("booking.availability.selectPackage"),
|
|
8193
8193
|
"full-width": ""
|
|
@@ -8195,7 +8195,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8195
8195
|
])
|
|
8196
8196
|
]),
|
|
8197
8197
|
default: tt(() => [
|
|
8198
|
-
|
|
8198
|
+
Z(Wa, {
|
|
8199
8199
|
modelValue: v.value,
|
|
8200
8200
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => v.value = m),
|
|
8201
8201
|
title: l.name,
|
|
@@ -8245,7 +8245,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8245
8245
|
}, {
|
|
8246
8246
|
action: tt(() => [
|
|
8247
8247
|
P("div", ja, [
|
|
8248
|
-
|
|
8248
|
+
Z(ds, {
|
|
8249
8249
|
modelValue: o.value,
|
|
8250
8250
|
"onUpdate:modelValue": m[0] || (m[0] = (y) => o.value = y),
|
|
8251
8251
|
label: h(d)("availability.checkInOut"),
|
|
@@ -8260,7 +8260,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8260
8260
|
range: ""
|
|
8261
8261
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
8262
8262
|
P("div", Ka, [
|
|
8263
|
-
|
|
8263
|
+
Z(de, {
|
|
8264
8264
|
label: h(d)("availability.buttonLabel"),
|
|
8265
8265
|
onClick: as(l, ["prevent"])
|
|
8266
8266
|
}, null, 8, ["label"])
|
|
@@ -8270,7 +8270,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8270
8270
|
_: 1
|
|
8271
8271
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
8272
8272
|
}
|
|
8273
|
-
}), Ja = /* @__PURE__ */
|
|
8273
|
+
}), Ja = /* @__PURE__ */ se(Ya, [["__scopeId", "data-v-47edd09f"]]), ts = /* @__PURE__ */ Rt({
|
|
8274
8274
|
__name: "TimeField",
|
|
8275
8275
|
props: {
|
|
8276
8276
|
modelValue: {},
|
|
@@ -8359,7 +8359,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8359
8359
|
_: 1
|
|
8360
8360
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
8361
8361
|
}
|
|
8362
|
-
}), tl = /* @__PURE__ */
|
|
8362
|
+
}), tl = /* @__PURE__ */ se(Qa, [["__scopeId", "data-v-a94e1728"]]), el = /* @__PURE__ */ Rt({
|
|
8363
8363
|
__name: "NameField",
|
|
8364
8364
|
props: {
|
|
8365
8365
|
modelValue: {},
|
|
@@ -8439,7 +8439,7 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8439
8439
|
"hide-button": "",
|
|
8440
8440
|
searchable: !1
|
|
8441
8441
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly"])),
|
|
8442
|
-
|
|
8442
|
+
Z(ge, {
|
|
8443
8443
|
modelValue: o.value,
|
|
8444
8444
|
"onUpdate:modelValue": y[1] || (y[1] = (g) => o.value = g),
|
|
8445
8445
|
type: "text",
|
|
@@ -8460,20 +8460,20 @@ const Va = /* @__PURE__ */ Rt({
|
|
|
8460
8460
|
_: 1
|
|
8461
8461
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
8462
8462
|
}
|
|
8463
|
-
}), il = /* @__PURE__ */
|
|
8463
|
+
}), il = /* @__PURE__ */ se(el, [["__scopeId", "data-v-9d27a2bc"]]), nl = { class: "hotel-skeleton" }, ol = { class: "hotel-skeleton-content" }, sl = { class: "hotel-skeleton-sidebar" }, rl = /* @__PURE__ */ Rt({
|
|
8464
8464
|
__name: "HotelSkeleton",
|
|
8465
8465
|
setup(_) {
|
|
8466
8466
|
return (d, u) => (M(), A("div", nl, [
|
|
8467
8467
|
P("div", ol, [
|
|
8468
|
-
|
|
8469
|
-
|
|
8468
|
+
Z(Gr, { hotel: "" }),
|
|
8469
|
+
Z(Dr)
|
|
8470
8470
|
]),
|
|
8471
8471
|
P("div", sl, [
|
|
8472
|
-
|
|
8472
|
+
Z(Nr)
|
|
8473
8473
|
])
|
|
8474
8474
|
]));
|
|
8475
8475
|
}
|
|
8476
|
-
}), al = /* @__PURE__ */
|
|
8476
|
+
}), al = /* @__PURE__ */ se(rl, [["__scopeId", "data-v-1bb21da4"]]), ll = { id: "booking-availability-container" }, ul = { id: "booking-availability-controls" };
|
|
8477
8477
|
const hl = { key: 2 }, cl = { key: 0 }, dl = {
|
|
8478
8478
|
key: 0,
|
|
8479
8479
|
id: "booking-availability-packages"
|
|
@@ -8528,13 +8528,14 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8528
8528
|
hideAddons: { default: "no" },
|
|
8529
8529
|
disableDefaultLocation: { default: "no" },
|
|
8530
8530
|
selectedLocation: {},
|
|
8531
|
+
hideLocations: { default: "no" },
|
|
8531
8532
|
forceArrivalTime: {},
|
|
8532
8533
|
forceDepartureTime: {},
|
|
8533
8534
|
sortBy: { default: "default" },
|
|
8534
8535
|
styling: {}
|
|
8535
8536
|
},
|
|
8536
8537
|
setup(_) {
|
|
8537
|
-
const d = kr(() => import("./_-
|
|
8538
|
+
const d = kr(() => import("./_-WO7vPQFH.js")), u = _, { t: f } = Kt(), {
|
|
8538
8539
|
currentLocation: v,
|
|
8539
8540
|
templateID: o,
|
|
8540
8541
|
templateAddons: r,
|
|
@@ -8564,7 +8565,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8564
8565
|
isAvailabilityDataAvailable: yt,
|
|
8565
8566
|
getSelectedPackageRoom: Nt,
|
|
8566
8567
|
selectedPackage: It,
|
|
8567
|
-
isSearchOutdated:
|
|
8568
|
+
isSearchOutdated: re,
|
|
8568
8569
|
currentChildren: G,
|
|
8569
8570
|
isTemplateReservation: fe,
|
|
8570
8571
|
newsMails: N,
|
|
@@ -8572,47 +8573,47 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8572
8573
|
childrenMismatch: Lt,
|
|
8573
8574
|
totalAdults: nt,
|
|
8574
8575
|
totalChildren: ft
|
|
8575
|
-
} = Gt(
|
|
8576
|
+
} = Gt(ye()), {
|
|
8576
8577
|
adults: et,
|
|
8577
8578
|
children: q,
|
|
8578
8579
|
location: Mt,
|
|
8579
8580
|
arrivalDate: Pt,
|
|
8580
|
-
departureDate:
|
|
8581
|
-
hasHotelLocations:
|
|
8582
|
-
} = Gt(mi()), { isValidHotelId:
|
|
8583
|
-
currency:
|
|
8581
|
+
departureDate: Oe,
|
|
8582
|
+
hasHotelLocations: Ie
|
|
8583
|
+
} = Gt(mi()), { isValidHotelId: qe, updateDates: Le } = mi(), {
|
|
8584
|
+
currency: be,
|
|
8584
8585
|
enableTracking: on,
|
|
8585
8586
|
disableNamePrefix: gi,
|
|
8586
8587
|
disableTravelingFor: vi,
|
|
8587
|
-
disableTravelingForBleasure:
|
|
8588
|
-
disableCompanyField:
|
|
8588
|
+
disableTravelingForBleasure: je,
|
|
8589
|
+
disableCompanyField: Ee,
|
|
8589
8590
|
hasPaymentGateway: sn,
|
|
8590
|
-
maxAdultAmount:
|
|
8591
|
-
maxChildAmount:
|
|
8591
|
+
maxAdultAmount: Ke,
|
|
8592
|
+
maxChildAmount: Be,
|
|
8592
8593
|
defaultAdultAmount: yi,
|
|
8593
8594
|
defaultChildAmount: Li,
|
|
8594
8595
|
disableNewsletterSignup: rn,
|
|
8595
8596
|
hasActiveIdFilter: bi,
|
|
8596
|
-
hotelSettings:
|
|
8597
|
-
} = Gt(
|
|
8597
|
+
hotelSettings: ke
|
|
8598
|
+
} = Gt(Ae()), {
|
|
8598
8599
|
hasArrivalDepartureInputs: ki,
|
|
8599
|
-
hasUserArrivalSelection:
|
|
8600
|
-
hasUserDepartureSelection:
|
|
8600
|
+
hasUserArrivalSelection: ze,
|
|
8601
|
+
hasUserDepartureSelection: Ye,
|
|
8601
8602
|
earliestArrivalTime: wi,
|
|
8602
8603
|
latestArrivalTime: Pi,
|
|
8603
8604
|
earliestDepartureTime: an,
|
|
8604
8605
|
latestDepartureTime: xi,
|
|
8605
|
-
setActiveIdFilter:
|
|
8606
|
+
setActiveIdFilter: Je,
|
|
8606
8607
|
clearActiveIdFilter: Ci
|
|
8607
|
-
} =
|
|
8608
|
+
} = Ae(), { beginCheckout: ln } = ls(), { display: Yt } = hs(), {
|
|
8608
8609
|
resetTemplate: un,
|
|
8609
8610
|
resetDiscountVoucher: hn,
|
|
8610
8611
|
createReservation: Ti,
|
|
8611
8612
|
fetchMetadata: Mi,
|
|
8612
|
-
fetchAvailabilityData:
|
|
8613
|
+
fetchAvailabilityData: Ze,
|
|
8613
8614
|
filterAddons: Si,
|
|
8614
8615
|
hasAvailableRoomAddons: cn
|
|
8615
|
-
} =
|
|
8616
|
+
} = ye(), dn = Wt(!0), fn = wt(() => [
|
|
8616
8617
|
{
|
|
8617
8618
|
id: "availability",
|
|
8618
8619
|
label: f("booking.availability.title"),
|
|
@@ -8638,7 +8639,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8638
8639
|
icon: "calendar-check"
|
|
8639
8640
|
}
|
|
8640
8641
|
]), _n = wt(() => {
|
|
8641
|
-
const
|
|
8642
|
+
const z = [
|
|
8642
8643
|
{
|
|
8643
8644
|
label: f("booking.reservation.business"),
|
|
8644
8645
|
value: "Business"
|
|
@@ -8648,58 +8649,58 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8648
8649
|
value: "Pleasure"
|
|
8649
8650
|
}
|
|
8650
8651
|
];
|
|
8651
|
-
return
|
|
8652
|
+
return je.value || z.push({
|
|
8652
8653
|
label: f("booking.reservation.bleasure"),
|
|
8653
8654
|
value: "Bleasure"
|
|
8654
|
-
}),
|
|
8655
|
+
}), z;
|
|
8655
8656
|
}), Jt = wt(() => {
|
|
8656
|
-
let
|
|
8657
|
+
let z = Q.value.roomGroups.slice();
|
|
8657
8658
|
function $(gt, K) {
|
|
8658
8659
|
return dn.value === !0 ? gt.pricesFrom > K.pricesFrom ? -1 : 1 : gt.pricesFrom > K.pricesFrom ? 1 : -1;
|
|
8659
8660
|
}
|
|
8660
|
-
return u.sortBy === "price" && (
|
|
8661
|
-
}),
|
|
8662
|
-
function Ai(
|
|
8663
|
-
|
|
8661
|
+
return u.sortBy === "price" && (z = z.sort($)), Object.groupBy(z, (gt) => gt.roomList.some((K) => K.mapImageX && K.mapImageY) ? "camping" : "rooms");
|
|
8662
|
+
}), we = wt(() => u.hideAddons === "yes" || fe.value && u.hideAddons === "packages" || !fe.value && u.hideAddons === "rooms");
|
|
8663
|
+
function Ai(z) {
|
|
8664
|
+
we.value || Tt.value ? z(2) : z(), hn();
|
|
8664
8665
|
}
|
|
8665
|
-
async function pn(
|
|
8666
|
-
await Ti(
|
|
8666
|
+
async function pn(z, $) {
|
|
8667
|
+
await Ti(z, $);
|
|
8667
8668
|
}
|
|
8668
8669
|
function mn() {
|
|
8669
|
-
if (isNaN(Mt.value) &&
|
|
8670
|
+
if (isNaN(Mt.value) && Ie.value) {
|
|
8670
8671
|
Yt({
|
|
8671
8672
|
message: f("alert.error.selectHotelId"),
|
|
8672
8673
|
type: "error"
|
|
8673
8674
|
});
|
|
8674
8675
|
return;
|
|
8675
8676
|
}
|
|
8676
|
-
|
|
8677
|
+
Ze();
|
|
8677
8678
|
}
|
|
8678
8679
|
function eo() {
|
|
8679
|
-
const
|
|
8680
|
+
const z = Ko("history", {
|
|
8680
8681
|
removeNullishValues: !0
|
|
8681
8682
|
});
|
|
8682
|
-
Ci(),
|
|
8683
|
+
Ci(), z.id = void 0, Ze();
|
|
8683
8684
|
}
|
|
8684
|
-
function Ht(
|
|
8685
|
-
on.value && ln(),
|
|
8685
|
+
function Ht(z) {
|
|
8686
|
+
on.value && ln(), we.value || Tt.value ? z(2) : z();
|
|
8686
8687
|
}
|
|
8687
8688
|
function D() {
|
|
8688
|
-
u.forceArrivalTime && u.forceDepartureTime && (
|
|
8689
|
+
u.forceArrivalTime && u.forceDepartureTime && (ke.value[Mt.value].disableArrivalUserSelection = !0, u.forceArrivalTime && (ke.value[Mt.value].arrivalDefault = u.forceArrivalTime), u.forceDepartureTime && (ke.value[Mt.value].departureDefault = u.forceDepartureTime));
|
|
8689
8690
|
}
|
|
8690
8691
|
function Oi() {
|
|
8691
8692
|
D();
|
|
8692
|
-
const
|
|
8693
|
+
const z = Ko("history", {
|
|
8693
8694
|
removeNullishValues: !0
|
|
8694
|
-
}), $ = parseInt(
|
|
8695
|
+
}), $ = parseInt(z.a), gt = parseInt(z.c), K = parseInt(z.hid), ut = parseInt(z.n), R = z.ci, Bt = z.co, _t = z.id, $t = parseInt(z.gid);
|
|
8695
8696
|
let Xt = !1;
|
|
8696
|
-
if (isNaN($) || ($ >
|
|
8697
|
+
if (isNaN($) || ($ > Ke.value ? et.value = Ke.value : et.value = $, et.value === yi.value && (z.a = void 0)), isNaN(gt) || (gt > Be.value ? q.value = Be.value : q.value = gt, q.value === Li.value && (z.c = void 0)), isNaN(ut) || ut > 0 && (z.n = void 0), isNaN(K) || (qe(K) ? (Mt.value = K, Xt = !0) : (z.hid = void 0, Yt({
|
|
8697
8698
|
message: f("alert.error.hotelIdNotFound"),
|
|
8698
8699
|
type: "error"
|
|
8699
8700
|
}))), R && Bt)
|
|
8700
8701
|
if (Yo(R) && Yo(Bt)) {
|
|
8701
|
-
const
|
|
8702
|
-
|
|
8702
|
+
const Qt = new Date(R), Pe = new Date(Bt);
|
|
8703
|
+
Qt <= Pe ? (Pt.value = Qt, Oe.value = Pe) : (z.ci = void 0, z.co = void 0, Yt({
|
|
8703
8704
|
message: f("alert.error.invalidDateRange"),
|
|
8704
8705
|
type: "error"
|
|
8705
8706
|
}));
|
|
@@ -8708,42 +8709,42 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8708
8709
|
message: f("alert.error.wrongDateFormat"),
|
|
8709
8710
|
type: "error"
|
|
8710
8711
|
});
|
|
8711
|
-
|
|
8712
|
-
_t && Xe(_t), u.disableDefaultLocation === "yes" && Xt === !1 ? (Mt.value = void 0, v.value = void 0) : De(re, $t);
|
|
8712
|
+
_t && Je(_t), u.disableDefaultLocation === "yes" && Xt === !1 ? (Mt.value = void 0, v.value = void 0) : Ze($t);
|
|
8713
8713
|
}
|
|
8714
|
-
return (
|
|
8714
|
+
return (z, $) => (M(), lt(Er, { styling: z.styling }, {
|
|
8715
8715
|
default: tt(() => [
|
|
8716
8716
|
(M(), lt(br, { onResolve: Oi }, {
|
|
8717
8717
|
default: tt(() => [
|
|
8718
|
-
|
|
8718
|
+
Z(h(d), {
|
|
8719
8719
|
id: "konnectio-hotel-module",
|
|
8720
|
-
"access-token":
|
|
8720
|
+
"access-token": z.accessToken,
|
|
8721
8721
|
callback: h(Mi)
|
|
8722
8722
|
}, {
|
|
8723
8723
|
default: tt(() => [
|
|
8724
|
-
|
|
8725
|
-
layout:
|
|
8724
|
+
Z(Rr, {
|
|
8725
|
+
layout: z.headerLayout,
|
|
8726
8726
|
steps: fn.value,
|
|
8727
8727
|
onReset: h(un)
|
|
8728
8728
|
}, {
|
|
8729
8729
|
availability: tt(({ next: gt }) => [
|
|
8730
|
-
|
|
8730
|
+
Z(jn, null, {
|
|
8731
8731
|
form: tt(() => [
|
|
8732
8732
|
P("div", ll, [
|
|
8733
8733
|
P("div", ul, [
|
|
8734
|
-
|
|
8734
|
+
Z(Wr, {
|
|
8735
8735
|
booking: !0,
|
|
8736
|
-
"selected-location": Number(
|
|
8737
|
-
"disable-default-location":
|
|
8738
|
-
|
|
8736
|
+
"selected-location": Number(z.selectedLocation),
|
|
8737
|
+
"disable-default-location": z.disableDefaultLocation === "yes",
|
|
8738
|
+
"hide-locations": z.hideLocations === "yes"
|
|
8739
|
+
}, null, 8, ["selected-location", "disable-default-location", "hide-locations"])
|
|
8739
8740
|
]),
|
|
8740
8741
|
(h(bi), U("", !0)),
|
|
8741
8742
|
U("", !0),
|
|
8742
8743
|
!h(c) && h(yt) ? (M(), A("div", hl, [
|
|
8743
|
-
Jt.value.camping && Jt.value.camping.length > 0 &&
|
|
8744
|
-
h(Q).templates.length > 0 &&
|
|
8745
|
-
|
|
8746
|
-
|
|
8744
|
+
Jt.value.camping && Jt.value.camping.length > 0 && z.onlyShow !== "non-camping" || Jt.value.rooms && Jt.value.rooms.length > 0 || h(Q).templates.length > 0 || h(Q).specialTemplates.length > 0 ? (M(), A("div", cl, [
|
|
8745
|
+
h(Q).templates.length > 0 && z.onlyShow !== "rooms" && z.onlyShow !== "camping" ? (M(), A("div", dl, [
|
|
8746
|
+
z.onlyShow !== "packages" ? (M(), A("h2", fl, [
|
|
8747
|
+
Z(xt, {
|
|
8747
8748
|
icon: "box",
|
|
8748
8749
|
type: "fal",
|
|
8749
8750
|
color: "header"
|
|
@@ -8767,14 +8768,14 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8767
8768
|
weekendFee: $t,
|
|
8768
8769
|
"room-groups": R,
|
|
8769
8770
|
callback: gt,
|
|
8770
|
-
"hide-addons":
|
|
8771
|
+
"hide-addons": z.hideAddons === "yes" || z.hideAddons === "packages"
|
|
8771
8772
|
}, null, 8, ["id", "description", "name", "images", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
8772
8773
|
])
|
|
8773
8774
|
])) : U("", !0),
|
|
8774
|
-
h(Q).roomGroups.length > 0 &&
|
|
8775
|
-
Jt.value.rooms &&
|
|
8776
|
-
h(Q).templates.length > 0 &&
|
|
8777
|
-
|
|
8775
|
+
h(Q).roomGroups.length > 0 && z.onlyShow !== "packages" ? (M(), A("div", pl, [
|
|
8776
|
+
Jt.value.rooms && z.onlyShow !== "camping" ? (M(), A(mt, { key: 0 }, [
|
|
8777
|
+
h(Q).templates.length > 0 && z.onlyShow !== "rooms" ? (M(), A("h2", ml, [
|
|
8778
|
+
Z(xt, {
|
|
8778
8779
|
icon: "house",
|
|
8779
8780
|
type: "fal",
|
|
8780
8781
|
color: "header"
|
|
@@ -8789,9 +8790,9 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8789
8790
|
}, null, 8, ["room", "callback"]))), 128))
|
|
8790
8791
|
])
|
|
8791
8792
|
], 64)) : U("", !0),
|
|
8792
|
-
Jt.value.camping &&
|
|
8793
|
-
h(Q).templates.length > 0 &&
|
|
8794
|
-
|
|
8793
|
+
Jt.value.camping && z.onlyShow !== "rooms" && z.onlyShow !== "non-camping" ? (M(), A(mt, { key: 1 }, [
|
|
8794
|
+
h(Q).templates.length > 0 && z.onlyShow !== "camping" ? (M(), A("h2", vl, [
|
|
8795
|
+
Z(xt, {
|
|
8795
8796
|
icon: "house",
|
|
8796
8797
|
type: "fal",
|
|
8797
8798
|
color: "header"
|
|
@@ -8808,9 +8809,9 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8808
8809
|
], 64)) : U("", !0)
|
|
8809
8810
|
])) : U("", !0),
|
|
8810
8811
|
h(bi) ? U("", !0) : (M(), A(mt, { key: 2 }, [
|
|
8811
|
-
h(Q).specialTemplates.length > 0 &&
|
|
8812
|
+
h(Q).specialTemplates.length > 0 && z.onlyShow !== "rooms" ? (M(), A("div", Ll, [
|
|
8812
8813
|
P("h2", bl, [
|
|
8813
|
-
|
|
8814
|
+
Z(xt, {
|
|
8814
8815
|
icon: "sparkles",
|
|
8815
8816
|
type: "fal",
|
|
8816
8817
|
color: "header"
|
|
@@ -8826,7 +8827,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8826
8827
|
description: _t,
|
|
8827
8828
|
weekendFee: $t,
|
|
8828
8829
|
fromDate: Xt,
|
|
8829
|
-
toDate:
|
|
8830
|
+
toDate: Qt
|
|
8830
8831
|
}) => (M(), lt(Ja, {
|
|
8831
8832
|
key: K,
|
|
8832
8833
|
id: K,
|
|
@@ -8834,21 +8835,21 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8834
8835
|
name: ut,
|
|
8835
8836
|
images: Bt,
|
|
8836
8837
|
fromDate: Xt,
|
|
8837
|
-
toDate:
|
|
8838
|
+
toDate: Qt,
|
|
8838
8839
|
weekendFee: $t,
|
|
8839
8840
|
"room-groups": R
|
|
8840
8841
|
}, null, 8, ["id", "description", "name", "images", "fromDate", "toDate", "weekendFee", "room-groups"]))), 128))
|
|
8841
8842
|
])
|
|
8842
8843
|
])) : U("", !0)
|
|
8843
8844
|
], 64)),
|
|
8844
|
-
(h(Q).templates.length === 0 &&
|
|
8845
|
+
(h(Q).templates.length === 0 && z.onlyShow !== "rooms" || h(Q).roomGroups.length === 0 && z.onlyShow !== "packages") && (z.onlyShow === "rooms" || z.onlyShow === "packages") ? (M(), A("div", wl, [
|
|
8845
8846
|
P("span", null, E(h(f)("booking.availability.nothingAvailable")), 1)
|
|
8846
8847
|
])) : U("", !0)
|
|
8847
8848
|
])) : h(Q).nextAvailableDates.length === 0 ? (M(), A("div", Pl, [
|
|
8848
8849
|
P("span", null, E(h(f)("booking.availability.nothingAvailable")), 1)
|
|
8849
8850
|
])) : (M(), A("div", xl, [
|
|
8850
8851
|
P("h2", Cl, [
|
|
8851
|
-
|
|
8852
|
+
Z(xt, {
|
|
8852
8853
|
icon: "calendar-circle-exclamation",
|
|
8853
8854
|
type: "fal",
|
|
8854
8855
|
color: "header"
|
|
@@ -8858,13 +8859,13 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8858
8859
|
P("ul", Tl, [
|
|
8859
8860
|
(M(!0), A(mt, null, Ot(h(Q).nextAvailableDates, (K, ut) => (M(), A("li", { key: ut }, [
|
|
8860
8861
|
P("h3", {
|
|
8861
|
-
title: `${h(
|
|
8862
|
+
title: `${h(ne)(K.fromDate, 0, !0)} - ${h(ne)(K.toDate, 0, !0)}`
|
|
8862
8863
|
}, [
|
|
8863
|
-
P("span", null, E(`${h(
|
|
8864
|
+
P("span", null, E(`${h(ne)(K.fromDate, 0, !0)} - ${h(ne)(K.toDate, 0, !0)}`), 1)
|
|
8864
8865
|
], 8, Ml),
|
|
8865
8866
|
P("ul", null, [
|
|
8866
8867
|
isNaN(K.roomCount) ? U("", !0) : (M(), A("li", Sl, [
|
|
8867
|
-
|
|
8868
|
+
Z(xt, {
|
|
8868
8869
|
icon: "house",
|
|
8869
8870
|
type: "fal",
|
|
8870
8871
|
color: "header"
|
|
@@ -8872,18 +8873,18 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8872
8873
|
P("span", null, E(h(f)("booking.availability.units")) + ": " + E(K.roomCount), 1)
|
|
8873
8874
|
])),
|
|
8874
8875
|
P("li", null, [
|
|
8875
|
-
|
|
8876
|
+
Z(xt, {
|
|
8876
8877
|
icon: "money-bill",
|
|
8877
8878
|
type: "fal",
|
|
8878
8879
|
color: "header"
|
|
8879
8880
|
}),
|
|
8880
|
-
P("span", null, E(h(f)("booking.availability.pricesFrom")) + ": " + E(h(
|
|
8881
|
+
P("span", null, E(h(f)("booking.availability.pricesFrom")) + ": " + E(h(oe)(K.priceStartFrom, h(be))), 1)
|
|
8881
8882
|
])
|
|
8882
8883
|
]),
|
|
8883
|
-
|
|
8884
|
+
Z(de, {
|
|
8884
8885
|
label: h(f)("booking.availability.selectDates"),
|
|
8885
8886
|
"full-width": "",
|
|
8886
|
-
onClickEvent: (R) => h(
|
|
8887
|
+
onClickEvent: (R) => h(Le)(new Date(K.fromDate), new Date(K.toDate))
|
|
8887
8888
|
}, null, 8, ["label", "onClickEvent"])
|
|
8888
8889
|
]))), 128))
|
|
8889
8890
|
])
|
|
@@ -8891,14 +8892,14 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8891
8892
|
])) : isNaN(h(v)) && !h(c) ? (M(), A("div", Al, [
|
|
8892
8893
|
P("span", null, E(h(f)("alert.info.selectHotelToStart")), 1)
|
|
8893
8894
|
])) : (M(), A("div", Ol, [
|
|
8894
|
-
|
|
8895
|
-
|
|
8896
|
-
|
|
8895
|
+
Z($n),
|
|
8896
|
+
Z($n),
|
|
8897
|
+
Z($n)
|
|
8897
8898
|
]))
|
|
8898
8899
|
])
|
|
8899
8900
|
]),
|
|
8900
8901
|
navigation: tt(() => [
|
|
8901
|
-
h(
|
|
8902
|
+
h(re) ? (M(), lt(de, {
|
|
8902
8903
|
key: 0,
|
|
8903
8904
|
label: isNaN(h(v)) ? h(f)("availability.buttonLabel") : h(f)("general.searchAgain"),
|
|
8904
8905
|
"is-loading": h(c),
|
|
@@ -8906,13 +8907,13 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8906
8907
|
onClickEvent: $[2] || ($[2] = (K) => mn())
|
|
8907
8908
|
}, null, 8, ["label", "is-loading"])) : (M(), lt(de, {
|
|
8908
8909
|
key: 1,
|
|
8909
|
-
label: h(Tt) ||
|
|
8910
|
+
label: h(Tt) || we.value ? h(f)("booking.availability.nextButton") : h(f)("general.chooseAddons"),
|
|
8910
8911
|
disabled: !h(at),
|
|
8911
8912
|
"full-width": "",
|
|
8912
8913
|
onClickEvent: (K) => Ht(gt)
|
|
8913
8914
|
}, null, 8, ["label", "disabled", "onClickEvent"])),
|
|
8914
|
-
|
|
8915
|
-
|
|
8915
|
+
$e(P("span", Il, [
|
|
8916
|
+
Z(xt, {
|
|
8916
8917
|
icon: "exclamation-triangle",
|
|
8917
8918
|
type: "fas"
|
|
8918
8919
|
}),
|
|
@@ -8920,8 +8921,8 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8920
8921
|
], 512), [
|
|
8921
8922
|
[pi, h(J)]
|
|
8922
8923
|
]),
|
|
8923
|
-
|
|
8924
|
-
|
|
8924
|
+
$e(P("span", El, [
|
|
8925
|
+
Z(xt, {
|
|
8925
8926
|
icon: "exclamation-triangle",
|
|
8926
8927
|
type: "fas"
|
|
8927
8928
|
}),
|
|
@@ -8967,7 +8968,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8967
8968
|
U("", !0),
|
|
8968
8969
|
P("th", Dl, [
|
|
8969
8970
|
P("b", null, [
|
|
8970
|
-
|
|
8971
|
+
Z(xt, {
|
|
8971
8972
|
icon: "male",
|
|
8972
8973
|
type: "fas",
|
|
8973
8974
|
color: "font"
|
|
@@ -8987,15 +8988,15 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
8987
8988
|
P("tbody", null, [
|
|
8988
8989
|
(M(!0), A(mt, null, Ot(h(Si)(R.addons, _t.childrenCount), ({
|
|
8989
8990
|
cardinality: Xt,
|
|
8990
|
-
quantityStrategy:
|
|
8991
|
-
maximumNumber:
|
|
8992
|
-
id:
|
|
8993
|
-
name:
|
|
8991
|
+
quantityStrategy: Qt,
|
|
8992
|
+
maximumNumber: Pe,
|
|
8993
|
+
id: Xe,
|
|
8994
|
+
name: De,
|
|
8994
8995
|
price: gn
|
|
8995
|
-
}) => (M(), A("tr", { key:
|
|
8996
|
+
}) => (M(), A("tr", { key: Xe }, [
|
|
8996
8997
|
P("td", Rl, [
|
|
8997
|
-
P("b", null, E(h(ce)(
|
|
8998
|
-
P("span", null, E(h(
|
|
8998
|
+
P("b", null, E(h(ce)(De)), 1),
|
|
8999
|
+
P("span", null, E(h(oe)(gn, h(be))) + " " + E(h(qo)(Qt)), 1)
|
|
8999
9000
|
]),
|
|
9000
9001
|
P("td", Hl, [
|
|
9001
9002
|
h(ct)[ut.roomGroupID][Bt].config[_t.configIdx].addons[_t.roomIdx] ? (M(), A(mt, { key: 0 }, [
|
|
@@ -9008,11 +9009,11 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9008
9009
|
readonly: ""
|
|
9009
9010
|
})) : (M(), lt(di, {
|
|
9010
9011
|
key: 1,
|
|
9011
|
-
modelValue: h(ct)[ut.roomGroupID][Bt].config[_t.configIdx].addons[_t.roomIdx][
|
|
9012
|
-
"onUpdate:modelValue": (vn) => h(ct)[ut.roomGroupID][Bt].config[_t.configIdx].addons[_t.roomIdx][
|
|
9012
|
+
modelValue: h(ct)[ut.roomGroupID][Bt].config[_t.configIdx].addons[_t.roomIdx][Xe],
|
|
9013
|
+
"onUpdate:modelValue": (vn) => h(ct)[ut.roomGroupID][Bt].config[_t.configIdx].addons[_t.roomIdx][Xe] = vn,
|
|
9013
9014
|
small: !0,
|
|
9014
9015
|
"min-value": 0,
|
|
9015
|
-
"max-value":
|
|
9016
|
+
"max-value": Pe || 1 / 0
|
|
9016
9017
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"]))
|
|
9017
9018
|
], 64)) : U("", !0)
|
|
9018
9019
|
])
|
|
@@ -9048,7 +9049,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9048
9049
|
}) => (M(), A("tr", { key: _t }, [
|
|
9049
9050
|
P("td", Ul, [
|
|
9050
9051
|
P("b", null, E(h(ce)($t)), 1),
|
|
9051
|
-
P("span", null, E(h(
|
|
9052
|
+
P("span", null, E(h(oe)(Xt, h(be))) + " " + E(h(qo)(R)), 1)
|
|
9052
9053
|
]),
|
|
9053
9054
|
P("td", Gl, [
|
|
9054
9055
|
ut === h(jo).Mandatory ? (M(), lt(di, {
|
|
@@ -9061,7 +9062,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9061
9062
|
})) : (M(), lt(di, {
|
|
9062
9063
|
key: 1,
|
|
9063
9064
|
modelValue: h(r)[_t],
|
|
9064
|
-
"onUpdate:modelValue": (
|
|
9065
|
+
"onUpdate:modelValue": (Qt) => h(r)[_t] = Qt,
|
|
9065
9066
|
small: !0,
|
|
9066
9067
|
"min-value": 0,
|
|
9067
9068
|
"max-value": Bt || 1 / 0
|
|
@@ -9076,7 +9077,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9076
9077
|
])
|
|
9077
9078
|
]),
|
|
9078
9079
|
navigation: tt(() => [
|
|
9079
|
-
|
|
9080
|
+
Z(de, {
|
|
9080
9081
|
label: h(f)("general.startReservation"),
|
|
9081
9082
|
"full-width": "",
|
|
9082
9083
|
onClickEvent: gt
|
|
@@ -9097,12 +9098,12 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9097
9098
|
P("h2", null, [
|
|
9098
9099
|
P("span", null, E(h(f)("booking.reservation.detailsTitle")), 1)
|
|
9099
9100
|
]),
|
|
9100
|
-
h(ki)(h(v)) && h(
|
|
9101
|
+
h(ki)(h(v)) && h(ze)(h(v)) && h(Ye)(h(v)) ? (M(), A("ul", {
|
|
9101
9102
|
key: 0,
|
|
9102
|
-
class: Xi(["konnectio-reservation-timepicker", { "konnectio-split-inputs": h(
|
|
9103
|
+
class: Xi(["konnectio-reservation-timepicker", { "konnectio-split-inputs": h(ze)(h(v)) && h(Ye)(h(v)) }])
|
|
9103
9104
|
}, [
|
|
9104
|
-
h(
|
|
9105
|
-
|
|
9105
|
+
h(ze)(h(v)) ? (M(), A("li", $l, [
|
|
9106
|
+
Z(ts, {
|
|
9106
9107
|
modelValue: h(k),
|
|
9107
9108
|
"onUpdate:modelValue": $[3] || ($[3] = (R) => At(k) ? k.value = R : null),
|
|
9108
9109
|
label: h(f)("booking.reservation.arrivalTime"),
|
|
@@ -9112,8 +9113,8 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9112
9113
|
required: ""
|
|
9113
9114
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
9114
9115
|
])) : U("", !0),
|
|
9115
|
-
h(
|
|
9116
|
-
|
|
9116
|
+
h(Ye)(h(v)) ? (M(), A("li", ql, [
|
|
9117
|
+
Z(ts, {
|
|
9117
9118
|
modelValue: h(w),
|
|
9118
9119
|
"onUpdate:modelValue": $[4] || ($[4] = (R) => At(w) ? w.value = R : null),
|
|
9119
9120
|
label: h(f)("booking.reservation.departureTime"),
|
|
@@ -9124,7 +9125,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9124
9125
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
9125
9126
|
])) : U("", !0)
|
|
9126
9127
|
], 2)) : U("", !0),
|
|
9127
|
-
|
|
9128
|
+
Z(il, {
|
|
9128
9129
|
modelValue: h(S),
|
|
9129
9130
|
"onUpdate:modelValue": $[5] || ($[5] = (R) => At(S) ? S.value = R : null),
|
|
9130
9131
|
title: h(C),
|
|
@@ -9135,7 +9136,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9135
9136
|
placeholder: h(f)("booking.reservation.namePlaceholder"),
|
|
9136
9137
|
required: ""
|
|
9137
9138
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
9138
|
-
|
|
9139
|
+
Z(ge, {
|
|
9139
9140
|
modelValue: h(H),
|
|
9140
9141
|
"onUpdate:modelValue": $[7] || ($[7] = (R) => At(H) ? H.value = R : null),
|
|
9141
9142
|
type: "email",
|
|
@@ -9148,7 +9149,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9148
9149
|
required: ""
|
|
9149
9150
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9150
9151
|
h(rn) ? U("", !0) : (M(), A("div", jl, [
|
|
9151
|
-
|
|
9152
|
+
Z(Kn, {
|
|
9152
9153
|
modelValue: h(N),
|
|
9153
9154
|
"onUpdate:modelValue": $[8] || ($[8] = (R) => At(N) ? N.value = R : null),
|
|
9154
9155
|
type: "checkbox",
|
|
@@ -9156,7 +9157,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9156
9157
|
label: h(f)("booking.reservation.newsletterSignUp")
|
|
9157
9158
|
}, null, 8, ["modelValue", "label"])
|
|
9158
9159
|
])),
|
|
9159
|
-
h(
|
|
9160
|
+
h(Ee) ? U("", !0) : (M(), lt(ge, {
|
|
9160
9161
|
key: 2,
|
|
9161
9162
|
modelValue: h(I),
|
|
9162
9163
|
"onUpdate:modelValue": $[9] || ($[9] = (R) => At(I) ? I.value = R : null),
|
|
@@ -9167,7 +9168,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9167
9168
|
icon: "id-card",
|
|
9168
9169
|
placeholder: h(f)("booking.reservation.companyNamePlaceholder")
|
|
9169
9170
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
9170
|
-
|
|
9171
|
+
Z(jr, {
|
|
9171
9172
|
modelValue: h(B),
|
|
9172
9173
|
"onUpdate:modelValue": $[10] || ($[10] = (R) => At(B) ? B.value = R : null),
|
|
9173
9174
|
icon: "phone-office",
|
|
@@ -9175,7 +9176,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9175
9176
|
placeholder: h(f)("booking.reservation.phonePlaceholder"),
|
|
9176
9177
|
required: ""
|
|
9177
9178
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9178
|
-
|
|
9179
|
+
Z(tl, {
|
|
9179
9180
|
modelValue: h(Ct),
|
|
9180
9181
|
"onUpdate:modelValue": $[11] || ($[11] = (R) => At(Ct) ? Ct.value = R : null),
|
|
9181
9182
|
label: h(f)("booking.reservation.country"),
|
|
@@ -9183,7 +9184,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9183
9184
|
options: h(l),
|
|
9184
9185
|
required: ""
|
|
9185
9186
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
9186
|
-
|
|
9187
|
+
Z(ge, {
|
|
9187
9188
|
modelValue: h(ot),
|
|
9188
9189
|
"onUpdate:modelValue": $[12] || ($[12] = (R) => At(ot) ? ot.value = R : null),
|
|
9189
9190
|
type: "textarea",
|
|
@@ -9196,7 +9197,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9196
9197
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9197
9198
|
P("ul", Kl, [
|
|
9198
9199
|
P("li", null, [
|
|
9199
|
-
|
|
9200
|
+
Z(ge, {
|
|
9200
9201
|
modelValue: h(W),
|
|
9201
9202
|
"onUpdate:modelValue": $[13] || ($[13] = (R) => At(W) ? W.value = R : null),
|
|
9202
9203
|
type: "text",
|
|
@@ -9209,7 +9210,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9209
9210
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
9210
9211
|
]),
|
|
9211
9212
|
P("li", null, [
|
|
9212
|
-
|
|
9213
|
+
Z(ge, {
|
|
9213
9214
|
modelValue: h(ht),
|
|
9214
9215
|
"onUpdate:modelValue": $[14] || ($[14] = (R) => At(ht) ? ht.value = R : null),
|
|
9215
9216
|
type: "text",
|
|
@@ -9222,7 +9223,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9222
9223
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
9223
9224
|
])
|
|
9224
9225
|
]),
|
|
9225
|
-
|
|
9226
|
+
Z(ge, {
|
|
9226
9227
|
modelValue: h(V),
|
|
9227
9228
|
"onUpdate:modelValue": $[15] || ($[15] = (R) => At(V) ? V.value = R : null),
|
|
9228
9229
|
type: "textarea",
|
|
@@ -9230,7 +9231,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9230
9231
|
icon: "info-circle",
|
|
9231
9232
|
placeholder: h(f)("booking.reservation.remarkPlaceholder")
|
|
9232
9233
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9233
|
-
|
|
9234
|
+
Z(ge, {
|
|
9234
9235
|
modelValue: h(st),
|
|
9235
9236
|
"onUpdate:modelValue": $[16] || ($[16] = (R) => At(st) ? st.value = R : null),
|
|
9236
9237
|
type: "textarea",
|
|
@@ -9250,7 +9251,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9250
9251
|
]),
|
|
9251
9252
|
navigation: tt(() => [
|
|
9252
9253
|
P("div", null, [
|
|
9253
|
-
|
|
9254
|
+
Z(de, {
|
|
9254
9255
|
label: h(sn) ? h(f)("booking.reservation.nextButton") : h(f)("general.confirmReservation"),
|
|
9255
9256
|
disabled: !h(y),
|
|
9256
9257
|
"is-loading": h(m),
|
|
@@ -9263,11 +9264,11 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9263
9264
|
}, 1032, ["prev-callback"])) : U("", !0)
|
|
9264
9265
|
]),
|
|
9265
9266
|
payment: tt(({ prev: gt }) => [
|
|
9266
|
-
|
|
9267
|
+
Z(qr),
|
|
9267
9268
|
U("", !0)
|
|
9268
9269
|
]),
|
|
9269
9270
|
confirmation: tt(() => [
|
|
9270
|
-
|
|
9271
|
+
Z(Hr, {
|
|
9271
9272
|
message: h(f)("booking.confirmation.thankYou")
|
|
9272
9273
|
}, null, 8, ["message"])
|
|
9273
9274
|
]),
|
|
@@ -9278,7 +9279,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9278
9279
|
}, 8, ["access-token", "callback"])
|
|
9279
9280
|
]),
|
|
9280
9281
|
fallback: tt(() => [
|
|
9281
|
-
|
|
9282
|
+
Z(al)
|
|
9282
9283
|
]),
|
|
9283
9284
|
_: 1
|
|
9284
9285
|
}))
|
|
@@ -9286,7 +9287,7 @@ const Yl = /* @__PURE__ */ Rt({
|
|
|
9286
9287
|
_: 1
|
|
9287
9288
|
}, 8, ["styling"]));
|
|
9288
9289
|
}
|
|
9289
|
-
}), es = /* @__PURE__ */
|
|
9290
|
+
}), es = /* @__PURE__ */ se(Yl, [["__scopeId", "data-v-ba58bd89"]]), Jl = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), Yi = /* @__PURE__ */ new Set([
|
|
9290
9291
|
"base",
|
|
9291
9292
|
"meta",
|
|
9292
9293
|
"link",
|
|
@@ -9429,7 +9430,7 @@ function vs(_) {
|
|
|
9429
9430
|
return `${u}:${f}:${d[f]}`;
|
|
9430
9431
|
return !1;
|
|
9431
9432
|
}
|
|
9432
|
-
const
|
|
9433
|
+
const ve = "%separator";
|
|
9433
9434
|
function au(_, d, u = !1) {
|
|
9434
9435
|
let f;
|
|
9435
9436
|
if (d === "s" || d === "pageTitle")
|
|
@@ -9442,7 +9443,7 @@ function au(_, d, u = !1) {
|
|
|
9442
9443
|
if (f !== void 0)
|
|
9443
9444
|
return u ? (f || "").replace(/"/g, '\\"') : f || "";
|
|
9444
9445
|
}
|
|
9445
|
-
const lu = new RegExp(`${
|
|
9446
|
+
const lu = new RegExp(`${ve}(?:\\s*${ve})*`, "g");
|
|
9446
9447
|
function Ki(_, d, u, f = !1) {
|
|
9447
9448
|
if (typeof _ != "string" || !_.includes("%"))
|
|
9448
9449
|
return _;
|
|
@@ -9454,13 +9455,13 @@ function Ki(_, d, u, f = !1) {
|
|
|
9454
9455
|
const o = v.match(/%\w+(?:\.\w+)?/g);
|
|
9455
9456
|
if (!o)
|
|
9456
9457
|
return _;
|
|
9457
|
-
const r = _.includes(
|
|
9458
|
+
const r = _.includes(ve);
|
|
9458
9459
|
return _ = _.replace(/%\w+(?:\.\w+)?/g, (l) => {
|
|
9459
|
-
if (l ===
|
|
9460
|
+
if (l === ve || !o.includes(l))
|
|
9460
9461
|
return l;
|
|
9461
9462
|
const c = au(d, l.slice(1), f);
|
|
9462
9463
|
return c !== void 0 ? c : l;
|
|
9463
|
-
}).trim(), r && (_.endsWith(
|
|
9464
|
+
}).trim(), r && (_.endsWith(ve) && (_ = _.slice(0, -ve.length)), _.startsWith(ve) && (_ = _.slice(ve.length)), _ = _.replace(lu, u).trim()), _;
|
|
9464
9465
|
}
|
|
9465
9466
|
function ss(_, d) {
|
|
9466
9467
|
return _ == null ? d || null : typeof _ == "function" ? _(d) : _;
|