@konnectio/core 4.3.17 → 4.3.18
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/README.md +274 -274
- package/dist/{ActionField-zsR6Q0Lt.js → ActionField-Bg0yFXyo.js} +3 -3
- package/dist/ActionField-Bg0yFXyo.js.br +0 -0
- package/dist/ActionField-Bg0yFXyo.js.gz +0 -0
- package/dist/{AvailabilitySkeleton-j7146CzL.js → AvailabilitySkeleton-DLjqFg6U.js} +7 -7
- package/dist/AvailabilitySkeleton-DLjqFg6U.js.br +0 -0
- package/dist/AvailabilitySkeleton-DLjqFg6U.js.gz +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DGyrwJi3.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-CgMThV2A.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-CgMThV2A.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-CgMThV2A.js.gz +0 -0
- package/dist/{CheckoutWindow-BxfQmIE3.js → CheckoutWindow-BMdnoHy9.js} +6 -6
- package/dist/CheckoutWindow-BMdnoHy9.js.br +0 -0
- package/dist/CheckoutWindow-BMdnoHy9.js.gz +0 -0
- package/dist/{ErrorMessage-94lZwu4l.js → ErrorMessage-jEofs6LL.js} +3 -3
- package/dist/ErrorMessage-jEofs6LL.js.br +0 -0
- package/dist/ErrorMessage-jEofs6LL.js.gz +0 -0
- package/dist/{EventAvailabilityForm-CdiGPOsU.js → EventAvailabilityForm-DP2s7m8v.js} +4 -4
- package/dist/EventAvailabilityForm-DP2s7m8v.js.br +0 -0
- package/dist/EventAvailabilityForm-DP2s7m8v.js.gz +0 -0
- package/dist/{Field-IulYHawr.js → Field-3KNgiKPM.js} +6 -6
- package/dist/Field-3KNgiKPM.js.br +0 -0
- package/dist/Field-3KNgiKPM.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B5c8ufB9.js +21 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B5c8ufB9.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_c072a208_lang-B5c8ufB9.js.gz +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-xUbGmu0G.js → SelectField.vue_vue_type_style_index_0_lang-k2xp8Gqw.js} +11 -11
- package/dist/SelectField.vue_vue_type_style_index_0_lang-k2xp8Gqw.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-k2xp8Gqw.js.gz +0 -0
- package/dist/{TermsOfService-C0UXGi-v.js → TermsOfService-CAwgDlMG.js} +7 -7
- package/dist/TermsOfService-CAwgDlMG.js.br +0 -0
- package/dist/TermsOfService-CAwgDlMG.js.gz +0 -0
- package/dist/_-DQD4tHzx.js +5 -0
- package/dist/_-DQD4tHzx.js.br +0 -0
- package/dist/_-DQD4tHzx.js.gz +2 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-1YS6jkC9.js → _.vue_vue_type_style_index_0_lang-Bp4LTg7i.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-Bp4LTg7i.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-Bp4LTg7i.js.gz +0 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js.gz +0 -0
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/availability.js.gz +0 -0
- package/dist/cancel-reservation.js +5 -5
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/cancel-reservation.js.gz +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/core.css.gz +0 -0
- package/dist/deep-link.js.gz +0 -0
- package/dist/event.js +73 -73
- package/dist/event.js.br +0 -0
- package/dist/event.js.gz +0 -0
- package/dist/gift-card-validation.js +13 -13
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card-validation.js.gz +0 -0
- package/dist/gift-card.js +12 -12
- package/dist/gift-card.js.br +0 -0
- package/dist/gift-card.js.gz +0 -0
- package/dist/{giftCard-C9p1KM8D.js → giftCard-CrwgJ6Fm.js} +2 -2
- package/dist/giftCard-CrwgJ6Fm.js.br +0 -0
- package/dist/giftCard-CrwgJ6Fm.js.gz +0 -0
- package/dist/hotel.js +131 -130
- package/dist/hotel.js.br +0 -0
- package/dist/hotel.js.gz +0 -0
- package/dist/{index-Cvnya9Nj.js → index-DR2Ax4hj.js} +3 -3
- package/dist/index-DR2Ax4hj.js.br +0 -0
- package/dist/index-DR2Ax4hj.js.gz +0 -0
- package/dist/{masonry.plugin-C7yeboUH.js → masonry.plugin-CKPCoYcs.js} +59 -119
- package/dist/masonry.plugin-CKPCoYcs.js.br +0 -0
- package/dist/masonry.plugin-CKPCoYcs.js.gz +0 -0
- package/dist/mitt-CqW9zFaX.js.gz +0 -0
- package/dist/polyfill.js +5685 -5962
- package/dist/polyfill.js.br +0 -0
- package/dist/polyfill.js.gz +0 -0
- package/dist/style-Tyu_krEp.js.gz +0 -0
- package/package.json +118 -118
- package/dist/ActionField-zsR6Q0Lt.js.br +0 -0
- package/dist/ActionField-zsR6Q0Lt.js.gz +0 -0
- package/dist/AvailabilitySkeleton-j7146CzL.js.br +0 -0
- package/dist/AvailabilitySkeleton-j7146CzL.js.gz +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DGyrwJi3.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DGyrwJi3.js.gz +0 -0
- package/dist/CheckoutWindow-BxfQmIE3.js.br +0 -0
- package/dist/CheckoutWindow-BxfQmIE3.js.gz +0 -0
- package/dist/ErrorMessage-94lZwu4l.js.br +0 -0
- package/dist/ErrorMessage-94lZwu4l.js.gz +0 -0
- package/dist/EventAvailabilityForm-CdiGPOsU.js.br +0 -0
- package/dist/EventAvailabilityForm-CdiGPOsU.js.gz +0 -0
- package/dist/Field-IulYHawr.js.br +0 -0
- package/dist/Field-IulYHawr.js.gz +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Czyin1ew.js +0 -21
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Czyin1ew.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Czyin1ew.js.gz +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-xUbGmu0G.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-xUbGmu0G.js.gz +0 -0
- package/dist/TermsOfService-C0UXGi-v.js.br +0 -0
- package/dist/TermsOfService-C0UXGi-v.js.gz +0 -0
- package/dist/_-DDuKZ_0C.js +0 -5
- package/dist/_-DDuKZ_0C.js.br +0 -0
- package/dist/_-DDuKZ_0C.js.gz +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-1YS6jkC9.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-1YS6jkC9.js.gz +0 -0
- package/dist/giftCard-C9p1KM8D.js.br +0 -0
- package/dist/giftCard-C9p1KM8D.js.gz +0 -0
- package/dist/index-Cvnya9Nj.js.br +0 -0
- package/dist/index-Cvnya9Nj.js.gz +0 -0
- package/dist/masonry.plugin-C7yeboUH.js.br +0 -0
- package/dist/masonry.plugin-C7yeboUH.js.gz +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { d as Bt, h as A, b as M, e as y, i as Z, F as ht, v as Tt, J as Xe, K as qn, a as rt, L as jn, j as Ke, n as Pe, M as wr, u as Yt, s as Gt, r as
|
|
2
|
-
import { f as Er } from "./index-
|
|
1
|
+
import { d as Bt, h as A, b as M, e as y, i as Z, F as ht, v as Tt, J as Xe, K as qn, a as rt, L as jn, j as Ke, n as Pe, M as wr, u as Yt, s as Gt, r as jt, N as Pr, g as l, z as Lt, A as Cr, w as nt, t as O, E as we, G as Be, f as B, q as Yn, C as xr, c as yt, x as vs, O as Ko, o as ro, D as an, S as Tr, P as Mr, k as Sr, _ as Ar, l as Ir, m as Or, p as zr } from "./mitt-CqW9zFaX.js";
|
|
2
|
+
import { f as Er } from "./index-DR2Ax4hj.js";
|
|
3
3
|
import { G as Br } from "./style-Tyu_krEp.js";
|
|
4
|
-
import { R as Zr, B as ln, L as Dr, S as Nr, M as Rr, T as Vr, C as Jo, b as Xn, V as Hr, a as Fr } from "./masonry.plugin-
|
|
5
|
-
import { _ as Xt, f as Ze, b as de, u as Ti, I as xt, s as ce, m as wi, l as Kn, r as ye, p as oe, t as eo, a as ao, d as un, F as Gr, h as lo, e as ne, i as Pi, B as ys, H as Qo, x as Ur, T as ie, J as $r, M as ts, q as es, K as Wr, N as is, C as qr, v as ns } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { A as jr, H as Yr } from "./AvailabilitySkeleton-
|
|
7
|
-
import { S as Xr } from "./TermsOfService-
|
|
8
|
-
import { a as io, B as bs, C as Kr, P as Jr } from "./CheckoutWindow-
|
|
9
|
-
import { A as Qr } from "./ActionField-
|
|
4
|
+
import { R as Zr, B as ln, L as Dr, S as Nr, M as Rr, T as Vr, C as Jo, b as Xn, V as Hr, a as Fr } from "./masonry.plugin-CKPCoYcs.js";
|
|
5
|
+
import { _ as Xt, f as Ze, b as de, u as Ti, I as xt, s as ce, m as wi, l as Kn, r as ye, p as oe, t as eo, a as ao, d as un, F as Gr, h as lo, e as ne, i as Pi, B as ys, H as Qo, x as Ur, T as ie, J as $r, M as ts, q as es, K as Wr, N as is, C as qr, v as ns } from "./SelectField.vue_vue_type_style_index_0_lang-k2xp8Gqw.js";
|
|
6
|
+
import { A as jr, H as Yr } from "./AvailabilitySkeleton-DLjqFg6U.js";
|
|
7
|
+
import { S as Xr } from "./TermsOfService-CAwgDlMG.js";
|
|
8
|
+
import { a as io, B as bs, C as Kr, P as Jr } from "./CheckoutWindow-BMdnoHy9.js";
|
|
9
|
+
import { A as Qr } from "./ActionField-Bg0yFXyo.js";
|
|
10
10
|
import { g as ta } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
11
|
-
import { _ as Ls } from "./AvailabilitySkeleton.
|
|
11
|
+
import { _ as Ls } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_bcdabbb5_lang-CgMThV2A.js";
|
|
12
12
|
function no(r, d = {}, c) {
|
|
13
13
|
for (const p in r) {
|
|
14
14
|
const w = r[p], o = c ? `${c}:${p}` : p;
|
|
@@ -530,15 +530,15 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
|
|
|
530
530
|
templateRoomTotalPrice: j,
|
|
531
531
|
weekendFee: It,
|
|
532
532
|
selectedMemberCardData: lt
|
|
533
|
-
} = Gt(de()), { hasHotelLocations: Dt } = Gt(Ti()), { removeRoom: ct, validateDiscountCode: Nt, getMandatoryRoomGroupAddons: F } = de(), { getHotelLocationName: Ce } = Ti(), U =
|
|
534
|
-
function dt(
|
|
535
|
-
return
|
|
533
|
+
} = Gt(de()), { hasHotelLocations: Dt } = Gt(Ti()), { removeRoom: ct, validateDiscountCode: Nt, getMandatoryRoomGroupAddons: F } = de(), { getHotelLocationName: Ce } = Ti(), U = jt(!1);
|
|
534
|
+
function dt(bt) {
|
|
535
|
+
return bt.reduce((pt, { totalPrice: G }) => pt + G, 0);
|
|
536
536
|
}
|
|
537
|
-
return (
|
|
537
|
+
return (bt, ft) => {
|
|
538
538
|
const pt = Pr("tooltip");
|
|
539
539
|
return M(), rt(Zr, {
|
|
540
540
|
"discount-code": l(ut),
|
|
541
|
-
"onUpdate:discountCode": ft[4] || (ft[4] = (G) =>
|
|
541
|
+
"onUpdate:discountCode": ft[4] || (ft[4] = (G) => Lt(ut) ? ut.value = G : null),
|
|
542
542
|
"validate-discount-code": l(Nt),
|
|
543
543
|
"total-price": l(g),
|
|
544
544
|
"weekend-fee": l(It),
|
|
@@ -549,7 +549,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
|
|
|
549
549
|
"prev-callback": r.prevCallback
|
|
550
550
|
}, Cr({
|
|
551
551
|
form: nt(() => [
|
|
552
|
-
Yn(
|
|
552
|
+
Yn(bt.$slots, "form", {}, void 0, !0)
|
|
553
553
|
]),
|
|
554
554
|
"price-summary": nt(() => [
|
|
555
555
|
isNaN(l(f)) && l(h).length > 0 ? (M(!0), A(ht, { key: 0 }, Tt(l(h), ({
|
|
@@ -639,7 +639,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
|
|
|
639
639
|
l(c) ? Z("", !0) : (M(), A("div", Na, [
|
|
640
640
|
B(io, {
|
|
641
641
|
modelValue: l(N),
|
|
642
|
-
"onUpdate:modelValue": ft[0] || (ft[0] = (G) =>
|
|
642
|
+
"onUpdate:modelValue": ft[0] || (ft[0] = (G) => Lt(N) ? N.value = G : null),
|
|
643
643
|
type: "checkbox",
|
|
644
644
|
name: "newsletter",
|
|
645
645
|
label: l(d)("booking.reservation.newsletterSignUp")
|
|
@@ -648,7 +648,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
|
|
|
648
648
|
l(kt) ? (M(), A("div", Ra, [
|
|
649
649
|
B(io, {
|
|
650
650
|
modelValue: l(Mt),
|
|
651
|
-
"onUpdate:modelValue": ft[2] || (ft[2] = (G) =>
|
|
651
|
+
"onUpdate:modelValue": ft[2] || (ft[2] = (G) => Lt(Mt) ? Mt.value = G : null),
|
|
652
652
|
type: "checkbox",
|
|
653
653
|
name: "terms"
|
|
654
654
|
}, {
|
|
@@ -672,7 +672,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
|
|
|
672
672
|
_: 1
|
|
673
673
|
}, 8, ["modelValue"])
|
|
674
674
|
])) : Z("", !0),
|
|
675
|
-
Yn(
|
|
675
|
+
Yn(bt.$slots, "actions", {}, void 0, !0),
|
|
676
676
|
B(Xr, {
|
|
677
677
|
modelValue: U.value,
|
|
678
678
|
"onUpdate:modelValue": ft[3] || (ft[3] = (G) => U.value = G),
|
|
@@ -681,7 +681,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
|
|
|
681
681
|
])
|
|
682
682
|
]),
|
|
683
683
|
navigation: nt(() => [
|
|
684
|
-
Yn(
|
|
684
|
+
Yn(bt.$slots, "navigation", {}, void 0, !0)
|
|
685
685
|
]),
|
|
686
686
|
"mobile-under-price": nt(() => [
|
|
687
687
|
y("span", null, O(l(d)("general.for")) + ": ", 1),
|
|
@@ -771,10 +771,10 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
|
|
|
771
771
|
]), 1032, ["discount-code", "validate-discount-code", "total-price", "weekend-fee", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
|
|
772
772
|
};
|
|
773
773
|
}
|
|
774
|
-
}), to = /* @__PURE__ */ Xt(Ha, [["__scopeId", "data-v-
|
|
774
|
+
}), to = /* @__PURE__ */ Xt(Ha, [["__scopeId", "data-v-bba2e9a0"]]), Fa = { id: "konnectio-hotel-guest-discount" }, Ga = { class: "konnectio-panel" }, Ua = { id: "konnectio-hotel-guest-discount-title" }, $a = ["innerHTML"], Wa = /* @__PURE__ */ Bt({
|
|
775
775
|
__name: "GuestDiscountForm",
|
|
776
776
|
setup(r) {
|
|
777
|
-
const { t: d } = Yt(), c = eo("history"), p = de(), { display: w } = ao(), o =
|
|
777
|
+
const { t: d } = Yt(), c = eo("history"), p = de(), { display: w } = ao(), o = jt();
|
|
778
778
|
async function a() {
|
|
779
779
|
if (!o.value) {
|
|
780
780
|
w({
|
|
@@ -815,7 +815,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
|
|
|
815
815
|
])
|
|
816
816
|
]));
|
|
817
817
|
}
|
|
818
|
-
}), qa = /* @__PURE__ */ Xt(Wa, [["__scopeId", "data-v-
|
|
818
|
+
}), qa = /* @__PURE__ */ Xt(Wa, [["__scopeId", "data-v-1e2214de"]]), ja = { class: "konnectio-room-config-option" }, Ya = { key: 0 }, Xa = { class: "konnectio-selected-room-config" }, Ka = { class: "konnectio-selected-room-config-people" }, Ja = { key: 0 }, Qa = { class: "konnectio-selected-room-config-price" }, tl = /* @__PURE__ */ Bt({
|
|
819
819
|
__name: "RoomConfigField",
|
|
820
820
|
props: {
|
|
821
821
|
modelValue: {},
|
|
@@ -830,7 +830,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
|
|
|
830
830
|
function a(f) {
|
|
831
831
|
w("update:modelValue", f);
|
|
832
832
|
}
|
|
833
|
-
const h =
|
|
833
|
+
const h = yt({
|
|
834
834
|
get: () => o.modelValue,
|
|
835
835
|
set: (f) => a(f)
|
|
836
836
|
});
|
|
@@ -889,7 +889,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
|
|
|
889
889
|
_: 1
|
|
890
890
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
891
891
|
}
|
|
892
|
-
}), el = /* @__PURE__ */ Xt(tl, [["__scopeId", "data-v-
|
|
892
|
+
}), el = /* @__PURE__ */ Xt(tl, [["__scopeId", "data-v-f960b7b6"]]);
|
|
893
893
|
var Ci = { exports: {} };
|
|
894
894
|
/* @preserve
|
|
895
895
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
|
@@ -1367,7 +1367,7 @@ function nl() {
|
|
|
1367
1367
|
return this;
|
|
1368
1368
|
if (t instanceof F || typeof t[0] == "number" || "x" in t)
|
|
1369
1369
|
e = i = U(t);
|
|
1370
|
-
else if (t =
|
|
1370
|
+
else if (t = bt(t), e = t.min, i = t.max, !e || !i)
|
|
1371
1371
|
return this;
|
|
1372
1372
|
return !this.min && !this.max ? (this.min = e.clone(), this.max = i.clone()) : (this.min.x = Math.min(e.x, this.min.x), this.max.x = Math.max(i.x, this.max.x), this.min.y = Math.min(e.y, this.min.y), this.max.y = Math.max(i.y, this.max.y)), this;
|
|
1373
1373
|
},
|
|
@@ -1412,13 +1412,13 @@ function nl() {
|
|
|
1412
1412
|
// Returns `true` if the rectangle contains the given point.
|
|
1413
1413
|
contains: function(t) {
|
|
1414
1414
|
var e, i;
|
|
1415
|
-
return typeof t[0] == "number" || t instanceof F ? t = U(t) : t =
|
|
1415
|
+
return typeof t[0] == "number" || t instanceof F ? t = U(t) : t = bt(t), t instanceof dt ? (e = t.min, i = t.max) : e = i = t, e.x >= this.min.x && i.x <= this.max.x && e.y >= this.min.y && i.y <= this.max.y;
|
|
1416
1416
|
},
|
|
1417
1417
|
// @method intersects(otherBounds: Bounds): Boolean
|
|
1418
1418
|
// Returns `true` if the rectangle intersects the given bounds. Two bounds
|
|
1419
1419
|
// intersect if they have at least one point in common.
|
|
1420
1420
|
intersects: function(t) {
|
|
1421
|
-
t =
|
|
1421
|
+
t = bt(t);
|
|
1422
1422
|
var e = this.min, i = this.max, n = t.min, s = t.max, u = s.x >= e.x && n.x <= i.x, m = s.y >= e.y && n.y <= i.y;
|
|
1423
1423
|
return u && m;
|
|
1424
1424
|
},
|
|
@@ -1426,7 +1426,7 @@ function nl() {
|
|
|
1426
1426
|
// Returns `true` if the rectangle overlaps the given bounds. Two bounds
|
|
1427
1427
|
// overlap if their intersection is an area.
|
|
1428
1428
|
overlaps: function(t) {
|
|
1429
|
-
t =
|
|
1429
|
+
t = bt(t);
|
|
1430
1430
|
var e = this.min, i = this.max, n = t.min, s = t.max, u = s.x > e.x && n.x < i.x, m = s.y > e.y && n.y < i.y;
|
|
1431
1431
|
return u && m;
|
|
1432
1432
|
},
|
|
@@ -1441,7 +1441,7 @@ function nl() {
|
|
|
1441
1441
|
// Negative values will retract the bounds.
|
|
1442
1442
|
pad: function(t) {
|
|
1443
1443
|
var e = this.min, i = this.max, n = Math.abs(e.x - i.x) * t, s = Math.abs(e.y - i.y) * t;
|
|
1444
|
-
return
|
|
1444
|
+
return bt(
|
|
1445
1445
|
U(e.x - n, e.y - s),
|
|
1446
1446
|
U(i.x + n, i.y + s)
|
|
1447
1447
|
);
|
|
@@ -1449,10 +1449,10 @@ function nl() {
|
|
|
1449
1449
|
// @method equals(otherBounds: Bounds): Boolean
|
|
1450
1450
|
// Returns `true` if the rectangle is equivalent to the given bounds.
|
|
1451
1451
|
equals: function(t) {
|
|
1452
|
-
return t ? (t =
|
|
1452
|
+
return t ? (t = bt(t), this.min.equals(t.getTopLeft()) && this.max.equals(t.getBottomRight())) : !1;
|
|
1453
1453
|
}
|
|
1454
1454
|
};
|
|
1455
|
-
function
|
|
1455
|
+
function bt(t, e) {
|
|
1456
1456
|
return !t || t instanceof dt ? t : new dt(t, e);
|
|
1457
1457
|
}
|
|
1458
1458
|
function ft(t, e) {
|
|
@@ -1796,7 +1796,7 @@ function nl() {
|
|
|
1796
1796
|
}
|
|
1797
1797
|
return i || "M0 0";
|
|
1798
1798
|
}
|
|
1799
|
-
var re = document.documentElement.style, De = "ActiveXObject" in window, hn = De && !document.addEventListener, Si = "msLaunchUri" in navigator && !("documentMode" in document), Je =
|
|
1799
|
+
var re = document.documentElement.style, De = "ActiveXObject" in window, hn = De && !document.addEventListener, Si = "msLaunchUri" in navigator && !("documentMode" in document), Je = Ut("webkit"), Ai = Ut("android"), Ne = Ut("android 2") || Ut("android 3"), cn = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), dn = Ai && Ut("Google") && cn < 537 && !("AudioNode" in window), Qe = !!window.opera, Ii = !Si && Ut("chrome"), Oi = Ut("gecko") && !Je && !Qe && !De, fn = !Ii && Ut("safari"), ti = Ut("phantom"), ei = "OTransition" in re, mn = navigator.platform.indexOf("Win") === 0, zi = De && "transition" in re, ii = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Ne, ni = "MozPerspective" in re, oi = !window.L_DISABLE_3D && (zi || ii || ni) && !ei && !ti, Se = typeof orientation < "u" || Ut("mobile"), si = Se && Je, ri = Se && ii, Ei = !window.PointerEvent && window.MSPointerEvent, Bi = !!(window.PointerEvent || Ei), Zi = "ontouchstart" in window || !!window.TouchEvent, pn = !window.L_NO_TOUCH && (Zi || Bi), _n = Se && Qe, gn = Se && Oi, vn = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Re = (function() {
|
|
1800
1800
|
var t = !1;
|
|
1801
1801
|
try {
|
|
1802
1802
|
var e = Object.defineProperty({}, "passive", {
|
|
@@ -1823,7 +1823,7 @@ function nl() {
|
|
|
1823
1823
|
return !1;
|
|
1824
1824
|
}
|
|
1825
1825
|
})(), li = navigator.platform.indexOf("Mac") === 0, Di = navigator.platform.indexOf("Linux") === 0;
|
|
1826
|
-
function
|
|
1826
|
+
function Ut(t) {
|
|
1827
1827
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
|
1828
1828
|
}
|
|
1829
1829
|
var V = {
|
|
@@ -2001,7 +2001,7 @@ function nl() {
|
|
|
2001
2001
|
function Ge(t) {
|
|
2002
2002
|
return t.correspondingElement && (t = t.correspondingElement), t.className.baseVal === void 0 ? t.className : t.className.baseVal;
|
|
2003
2003
|
}
|
|
2004
|
-
function
|
|
2004
|
+
function $t(t, e) {
|
|
2005
2005
|
"opacity" in t.style ? t.style.opacity = e : "filter" in t.style && Ms(t, e);
|
|
2006
2006
|
}
|
|
2007
2007
|
function Ms(t, e) {
|
|
@@ -2096,7 +2096,7 @@ function nl() {
|
|
|
2096
2096
|
removeClass: vt,
|
|
2097
2097
|
setClass: Fe,
|
|
2098
2098
|
getClass: Ge,
|
|
2099
|
-
setOpacity:
|
|
2099
|
+
setOpacity: $t,
|
|
2100
2100
|
testProp: $i,
|
|
2101
2101
|
setTransform: Ae,
|
|
2102
2102
|
setPosition: Pt,
|
|
@@ -2479,7 +2479,7 @@ function nl() {
|
|
|
2479
2479
|
function At(Ct) {
|
|
2480
2480
|
return (Math.exp(Ct) + Math.exp(-Ct)) / 2;
|
|
2481
2481
|
}
|
|
2482
|
-
function
|
|
2482
|
+
function qt(Ct) {
|
|
2483
2483
|
return Et(Ct) / At(Ct);
|
|
2484
2484
|
}
|
|
2485
2485
|
var Ht = tt(0);
|
|
@@ -2487,7 +2487,7 @@ function nl() {
|
|
|
2487
2487
|
return k * (At(Ht) / At(Ht + E * Ct));
|
|
2488
2488
|
}
|
|
2489
2489
|
function pr(Ct) {
|
|
2490
|
-
return k * (At(Ht) *
|
|
2490
|
+
return k * (At(Ht) * qt(Ht + E * Ct) - Et(Ht)) / $;
|
|
2491
2491
|
}
|
|
2492
2492
|
function _r(Ct) {
|
|
2493
2493
|
return 1 - Math.pow(1 - Ct, 1.5);
|
|
@@ -2541,7 +2541,7 @@ function nl() {
|
|
|
2541
2541
|
// the map will not be panned.
|
|
2542
2542
|
panInside: function(t, e) {
|
|
2543
2543
|
e = e || {};
|
|
2544
|
-
var i = U(e.paddingTopLeft || e.padding || [0, 0]), n = U(e.paddingBottomRight || e.padding || [0, 0]), s = this.project(this.getCenter()), u = this.project(t), m = this.getPixelBounds(), k =
|
|
2544
|
+
var i = U(e.paddingTopLeft || e.padding || [0, 0]), n = U(e.paddingBottomRight || e.padding || [0, 0]), s = this.project(this.getCenter()), u = this.project(t), m = this.getPixelBounds(), k = bt([m.min.add(i), m.max.subtract(n)]), x = k.getSize();
|
|
2545
2545
|
if (!k.contains(u)) {
|
|
2546
2546
|
this._enforcingBounds = !0;
|
|
2547
2547
|
var S = u.subtract(k.getCenter()), E = k.extend(u).getSize().subtract(x);
|
|
@@ -2711,7 +2711,7 @@ function nl() {
|
|
|
2711
2711
|
// the given bounds in its entirety.
|
|
2712
2712
|
getBoundsZoom: function(t, e, i) {
|
|
2713
2713
|
t = pt(t), i = U(i || [0, 0]);
|
|
2714
|
-
var n = this.getZoom() || 0, s = this.getMinZoom(), u = this.getMaxZoom(), m = t.getNorthWest(), k = t.getSouthEast(), x = this.getSize().subtract(i), S =
|
|
2714
|
+
var n = this.getZoom() || 0, s = this.getMinZoom(), u = this.getMaxZoom(), m = t.getNorthWest(), k = t.getSouthEast(), x = this.getSize().subtract(i), S = bt(this.project(k, n), this.project(m, n)).getSize(), E = V.any3d ? this.options.zoomSnap : 1, $ = x.x / S.x, tt = x.y / S.y, Et = e ? Math.max($, tt) : Math.min($, tt);
|
|
2715
2715
|
return n = this.getScaleZoom(Et, n), E && (n = Math.round(n / (E / 100)) * (E / 100), n = e ? Math.ceil(n / E) * E : Math.floor(n / E) * E), Math.max(s, Math.min(u, n));
|
|
2716
2716
|
},
|
|
2717
2717
|
// @method getSize(): Point
|
|
@@ -3039,7 +3039,7 @@ function nl() {
|
|
|
3039
3039
|
},
|
|
3040
3040
|
_latLngBoundsToNewLayerBounds: function(t, e, i) {
|
|
3041
3041
|
var n = this._getNewPixelOrigin(i, e);
|
|
3042
|
-
return
|
|
3042
|
+
return bt([
|
|
3043
3043
|
this.project(t.getSouthWest(), e)._subtract(n),
|
|
3044
3044
|
this.project(t.getNorthWest(), e)._subtract(n),
|
|
3045
3045
|
this.project(t.getSouthEast(), e)._subtract(n),
|
|
@@ -3070,7 +3070,7 @@ function nl() {
|
|
|
3070
3070
|
},
|
|
3071
3071
|
// returns offset needed for pxBounds to get inside maxBounds at a specified zoom
|
|
3072
3072
|
_getBoundsOffset: function(t, e, i) {
|
|
3073
|
-
var n =
|
|
3073
|
+
var n = bt(
|
|
3074
3074
|
this.project(e.getNorthEast(), i),
|
|
3075
3075
|
this.project(e.getSouthWest(), i)
|
|
3076
3076
|
), s = n.min.subtract(t.min), u = n.max.subtract(t.max), m = this._rebound(s.x, -u.x), k = this._rebound(s.y, -u.y);
|
|
@@ -3670,17 +3670,17 @@ function nl() {
|
|
|
3670
3670
|
var i, n, s, u, m, k, x, S, E;
|
|
3671
3671
|
if (!t || t.length === 0)
|
|
3672
3672
|
throw new Error("latlngs not passed");
|
|
3673
|
-
|
|
3673
|
+
Wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
|
3674
3674
|
var $ = Q([0, 0]), tt = pt(t), Et = tt.getNorthWest().distanceTo(tt.getSouthWest()) * tt.getNorthEast().distanceTo(tt.getNorthWest());
|
|
3675
3675
|
Et < 1700 && ($ = Nn(t));
|
|
3676
|
-
var At = t.length,
|
|
3676
|
+
var At = t.length, qt = [];
|
|
3677
3677
|
for (i = 0; i < At; i++) {
|
|
3678
3678
|
var Ht = Q(t[i]);
|
|
3679
|
-
|
|
3679
|
+
qt.push(e.project(Q([Ht.lat - $.lat, Ht.lng - $.lng])));
|
|
3680
3680
|
}
|
|
3681
3681
|
for (k = x = S = 0, i = 0, n = At - 1; i < At; n = i++)
|
|
3682
|
-
s =
|
|
3683
|
-
k === 0 ? E =
|
|
3682
|
+
s = qt[i], u = qt[n], m = s.y * u.x - u.y * s.x, x += (s.x + u.x) * m, S += (s.y + u.y) * m, k += m * 3;
|
|
3683
|
+
k === 0 ? E = qt[0] : E = [x / k, S / k];
|
|
3684
3684
|
var Ye = e.unproject(U(E));
|
|
3685
3685
|
return Q([Ye.lat + $.lat, Ye.lng + $.lng]);
|
|
3686
3686
|
}
|
|
@@ -3755,23 +3755,23 @@ function nl() {
|
|
|
3755
3755
|
var s = e.x, u = e.y, m = i.x - s, k = i.y - u, x = m * m + k * k, S;
|
|
3756
3756
|
return x > 0 && (S = ((t.x - s) * m + (t.y - u) * k) / x, S > 1 ? (s = i.x, u = i.y) : S > 0 && (s += m * S, u += k * S)), m = t.x - s, k = t.y - u, n ? m * m + k * k : new F(s, u);
|
|
3757
3757
|
}
|
|
3758
|
-
function
|
|
3758
|
+
function Wt(t) {
|
|
3759
3759
|
return !N(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
|
|
3760
3760
|
}
|
|
3761
3761
|
function xo(t) {
|
|
3762
|
-
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),
|
|
3762
|
+
return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Wt(t);
|
|
3763
3763
|
}
|
|
3764
3764
|
function To(t, e) {
|
|
3765
3765
|
var i, n, s, u, m, k, x, S;
|
|
3766
3766
|
if (!t || t.length === 0)
|
|
3767
3767
|
throw new Error("latlngs not passed");
|
|
3768
|
-
|
|
3768
|
+
Wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
|
3769
3769
|
var E = Q([0, 0]), $ = pt(t), tt = $.getNorthWest().distanceTo($.getSouthWest()) * $.getNorthEast().distanceTo($.getNorthWest());
|
|
3770
3770
|
tt < 1700 && (E = Nn(t));
|
|
3771
3771
|
var Et = t.length, At = [];
|
|
3772
3772
|
for (i = 0; i < Et; i++) {
|
|
3773
|
-
var
|
|
3774
|
-
At.push(e.project(Q([
|
|
3773
|
+
var qt = Q(t[i]);
|
|
3774
|
+
At.push(e.project(Q([qt.lat - E.lat, qt.lng - E.lng])));
|
|
3775
3775
|
}
|
|
3776
3776
|
for (i = 0, n = 0; i < Et - 1; i++)
|
|
3777
3777
|
n += At[i].distanceTo(At[i + 1]) / 2;
|
|
@@ -3798,7 +3798,7 @@ function nl() {
|
|
|
3798
3798
|
_getEdgeIntersection: ji,
|
|
3799
3799
|
_getBitCode: Ee,
|
|
3800
3800
|
_sqClosestPointOnSegment: gi,
|
|
3801
|
-
isFlat:
|
|
3801
|
+
isFlat: Wt,
|
|
3802
3802
|
_flat: xo,
|
|
3803
3803
|
polylineCenter: To
|
|
3804
3804
|
}, Vn = {
|
|
@@ -4235,7 +4235,7 @@ function nl() {
|
|
|
4235
4235
|
return this._draggable && this._draggable._moved;
|
|
4236
4236
|
},
|
|
4237
4237
|
_adjustPan: function(t) {
|
|
4238
|
-
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, s = this._marker.options.autoPanPadding, u = Ie(e._icon), m = i.getPixelBounds(), k = i.getPixelOrigin(), x =
|
|
4238
|
+
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, s = this._marker.options.autoPanPadding, u = Ie(e._icon), m = i.getPixelBounds(), k = i.getPixelOrigin(), x = bt(
|
|
4239
4239
|
m.min._subtract(k).add(s),
|
|
4240
4240
|
m.max._subtract(k).subtract(s)
|
|
4241
4241
|
);
|
|
@@ -4420,7 +4420,7 @@ function nl() {
|
|
|
4420
4420
|
},
|
|
4421
4421
|
_updateOpacity: function() {
|
|
4422
4422
|
var t = this.options.opacity;
|
|
4423
|
-
this._icon &&
|
|
4423
|
+
this._icon && $t(this._icon, t), this._shadow && $t(this._shadow, t);
|
|
4424
4424
|
},
|
|
4425
4425
|
_bringToFront: function() {
|
|
4426
4426
|
this._updateZIndex(this.options.riseOffset);
|
|
@@ -4700,11 +4700,11 @@ function nl() {
|
|
|
4700
4700
|
this._bounds = new ft(), this._latlngs = this._convertLatLngs(t);
|
|
4701
4701
|
},
|
|
4702
4702
|
_defaultShape: function() {
|
|
4703
|
-
return
|
|
4703
|
+
return Wt(this._latlngs) ? this._latlngs : this._latlngs[0];
|
|
4704
4704
|
},
|
|
4705
4705
|
// recursively convert latlngs input into actual LatLng instances; calculate bounds along the way
|
|
4706
4706
|
_convertLatLngs: function(t) {
|
|
4707
|
-
for (var e = [], i =
|
|
4707
|
+
for (var e = [], i = Wt(t), n = 0, s = t.length; n < s; n++)
|
|
4708
4708
|
i ? (e[n] = Q(t[n]), this._bounds.extend(e[n])) : e[n] = this._convertLatLngs(t[n]);
|
|
4709
4709
|
return e;
|
|
4710
4710
|
},
|
|
@@ -4790,10 +4790,10 @@ function nl() {
|
|
|
4790
4790
|
return i >= 2 && e[0] instanceof G && e[0].equals(e[i - 1]) && e.pop(), e;
|
|
4791
4791
|
},
|
|
4792
4792
|
_setLatLngs: function(t) {
|
|
4793
|
-
pe.prototype._setLatLngs.call(this, t),
|
|
4793
|
+
pe.prototype._setLatLngs.call(this, t), Wt(this._latlngs) && (this._latlngs = [this._latlngs]);
|
|
4794
4794
|
},
|
|
4795
4795
|
_defaultShape: function() {
|
|
4796
|
-
return
|
|
4796
|
+
return Wt(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
|
|
4797
4797
|
},
|
|
4798
4798
|
_clipPoints: function() {
|
|
4799
4799
|
var t = this._renderer._bounds, e = this.options.weight, i = new F(e, e);
|
|
@@ -4961,7 +4961,7 @@ function nl() {
|
|
|
4961
4961
|
}
|
|
4962
4962
|
function Qi(t, e, i, n) {
|
|
4963
4963
|
for (var s = [], u = 0, m = t.length; u < m; u++)
|
|
4964
|
-
s.push(e ? Qi(t[u],
|
|
4964
|
+
s.push(e ? Qi(t[u], Wt(t[u]) ? 0 : e - 1, i, n) : Un(t[u], n));
|
|
4965
4965
|
return !e && i && s.length > 0 && s.push(s[0].slice()), s;
|
|
4966
4966
|
}
|
|
4967
4967
|
function qe(t, e) {
|
|
@@ -4984,7 +4984,7 @@ function nl() {
|
|
|
4984
4984
|
};
|
|
4985
4985
|
Yi.include($n), Fn.include($n), Xi.include($n), pe.include({
|
|
4986
4986
|
toGeoJSON: function(t) {
|
|
4987
|
-
var e = !
|
|
4987
|
+
var e = !Wt(this._latlngs), i = Qi(this._latlngs, e ? 1 : 0, !1, t);
|
|
4988
4988
|
return qe(this, {
|
|
4989
4989
|
type: (e ? "Multi" : "") + "LineString",
|
|
4990
4990
|
coordinates: i
|
|
@@ -4992,7 +4992,7 @@ function nl() {
|
|
|
4992
4992
|
}
|
|
4993
4993
|
}), We.include({
|
|
4994
4994
|
toGeoJSON: function(t) {
|
|
4995
|
-
var e = !
|
|
4995
|
+
var e = !Wt(this._latlngs), i = e && !Wt(this._latlngs[0]), n = Qi(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
|
|
4996
4996
|
return e || (n = [n]), qe(this, {
|
|
4997
4997
|
type: (i ? "Multi" : "") + "Polygon",
|
|
4998
4998
|
coordinates: n
|
|
@@ -5146,7 +5146,7 @@ function nl() {
|
|
|
5146
5146
|
Pt(t, e.min), t.style.width = i.x + "px", t.style.height = i.y + "px";
|
|
5147
5147
|
},
|
|
5148
5148
|
_updateOpacity: function() {
|
|
5149
|
-
|
|
5149
|
+
$t(this._image, this.options.opacity);
|
|
5150
5150
|
},
|
|
5151
5151
|
_updateZIndex: function() {
|
|
5152
5152
|
this._image && this.options.zIndex !== void 0 && this.options.zIndex !== null && (this._image.style.zIndex = this.options.zIndex);
|
|
@@ -5263,10 +5263,10 @@ function nl() {
|
|
|
5263
5263
|
return this._map ? this.close() : (arguments.length ? this._source = t : t = this._source, this._prepareOpen(), this.openOn(t._map)), this;
|
|
5264
5264
|
},
|
|
5265
5265
|
onAdd: function(t) {
|
|
5266
|
-
this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated &&
|
|
5266
|
+
this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && $t(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && $t(this._container, 1), this.bringToFront(), this.options.interactive && (K(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
|
|
5267
5267
|
},
|
|
5268
5268
|
onRemove: function(t) {
|
|
5269
|
-
t._fadeAnimated ? (
|
|
5269
|
+
t._fadeAnimated ? ($t(this._container, 0), this._removeTimeout = setTimeout(a(at, void 0, this._container), 200)) : at(this._container), this.options.interactive && (vt(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
|
|
5270
5270
|
},
|
|
5271
5271
|
// @namespace DivOverlay
|
|
5272
5272
|
// @method getLatLng: LatLng
|
|
@@ -5644,7 +5644,7 @@ function nl() {
|
|
|
5644
5644
|
this._setPosition(t);
|
|
5645
5645
|
},
|
|
5646
5646
|
setOpacity: function(t) {
|
|
5647
|
-
this.options.opacity = t, this._container &&
|
|
5647
|
+
this.options.opacity = t, this._container && $t(this._container, t);
|
|
5648
5648
|
},
|
|
5649
5649
|
_animateZoom: function(t) {
|
|
5650
5650
|
var e = this._map._latLngToNewLayerPoint(this._latlng, t.zoom, t.center);
|
|
@@ -5935,13 +5935,13 @@ function nl() {
|
|
|
5935
5935
|
},
|
|
5936
5936
|
_updateOpacity: function() {
|
|
5937
5937
|
if (this._map && !V.ielt9) {
|
|
5938
|
-
|
|
5938
|
+
$t(this._container, this.options.opacity);
|
|
5939
5939
|
var t = +/* @__PURE__ */ new Date(), e = !1, i = !1;
|
|
5940
5940
|
for (var n in this._tiles) {
|
|
5941
5941
|
var s = this._tiles[n];
|
|
5942
5942
|
if (!(!s.current || !s.loaded)) {
|
|
5943
5943
|
var u = Math.min(1, (t - s.loaded) / 200);
|
|
5944
|
-
|
|
5944
|
+
$t(s.el, u), u < 1 ? e = !0 : (s.active ? i = !0 : this._onOpaqueTile(s), s.active = !0);
|
|
5945
5945
|
}
|
|
5946
5946
|
}
|
|
5947
5947
|
i && !this._noPrune && this._pruneTiles(), e && (j(this._fadeFrame), this._fadeFrame = Y(this._updateOpacity, this));
|
|
@@ -6087,10 +6087,10 @@ function nl() {
|
|
|
6087
6087
|
return Ht.distanceTo(u) - Ye.distanceTo(u);
|
|
6088
6088
|
}), m.length !== 0) {
|
|
6089
6089
|
this._loading || (this._loading = !0, this.fire("loading"));
|
|
6090
|
-
var
|
|
6090
|
+
var qt = document.createDocumentFragment();
|
|
6091
6091
|
for (tt = 0; tt < m.length; tt++)
|
|
6092
|
-
this._addTile(m[tt],
|
|
6093
|
-
this._level.el.appendChild(
|
|
6092
|
+
this._addTile(m[tt], qt);
|
|
6093
|
+
this._level.el.appendChild(qt);
|
|
6094
6094
|
}
|
|
6095
6095
|
}
|
|
6096
6096
|
}
|
|
@@ -6138,7 +6138,7 @@ function nl() {
|
|
|
6138
6138
|
_initTile: function(t) {
|
|
6139
6139
|
K(t, "leaflet-tile");
|
|
6140
6140
|
var e = this.getTileSize();
|
|
6141
|
-
t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = v, t.onmousemove = v, V.ielt9 && this.options.opacity < 1 &&
|
|
6141
|
+
t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = v, t.onmousemove = v, V.ielt9 && this.options.opacity < 1 && $t(t, this.options.opacity);
|
|
6142
6142
|
},
|
|
6143
6143
|
_addTile: function(t, e) {
|
|
6144
6144
|
var i = this._getTilePos(t), n = this._tileCoordsToKey(t), s = this.createTile(this._wrapCoords(t), a(this._tileReady, this, t));
|
|
@@ -6158,7 +6158,7 @@ function nl() {
|
|
|
6158
6158
|
coords: t
|
|
6159
6159
|
});
|
|
6160
6160
|
var n = this._tileCoordsToKey(t);
|
|
6161
|
-
i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (
|
|
6161
|
+
i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? ($t(i.el, 0), j(this._fadeFrame), this._fadeFrame = Y(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), e || (K(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
|
|
6162
6162
|
tile: i.el,
|
|
6163
6163
|
coords: t
|
|
6164
6164
|
})), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), V.ielt9 || !this._map._fadeAnimated ? Y(this._pruneTiles, this) : setTimeout(a(this._pruneTiles, this), 250)));
|
|
@@ -6362,7 +6362,7 @@ function nl() {
|
|
|
6362
6362
|
this.wmsParams[e] = this._crs.code, je.prototype.onAdd.call(this, t);
|
|
6363
6363
|
},
|
|
6364
6364
|
getTileUrl: function(t) {
|
|
6365
|
-
var e = this._tileCoordsToNwSe(t), i = this._crs, n =
|
|
6365
|
+
var e = this._tileCoordsToNwSe(t), i = this._crs, n = bt(i.project(e[0]), i.project(e[1])), s = n.min, u = n.max, m = (this._wmsVersion >= 1.3 && this._crs === Mo ? [s.y, s.x, u.y, u.x] : [s.x, s.y, u.x, u.y]).join(","), k = je.prototype.getTileUrl.call(this, t);
|
|
6366
6366
|
return k + D(this.wmsParams, k, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + m;
|
|
6367
6367
|
},
|
|
6368
6368
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
|
@@ -6901,7 +6901,7 @@ function nl() {
|
|
|
6901
6901
|
var t = this._map;
|
|
6902
6902
|
if (t._stop(), this._map.options.maxBounds && this._map.options.maxBoundsViscosity) {
|
|
6903
6903
|
var e = pt(this._map.options.maxBounds);
|
|
6904
|
-
this._offsetLimit =
|
|
6904
|
+
this._offsetLimit = bt(
|
|
6905
6905
|
this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),
|
|
6906
6906
|
this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())
|
|
6907
6907
|
), this._viscosity = Math.min(1, Math.max(0, this._map.options.maxBoundsViscosity));
|
|
@@ -7197,7 +7197,7 @@ function nl() {
|
|
|
7197
7197
|
this._zooming = !1, j(this._animRequest), gt(document, "touchmove", this._onTouchMove, this), gt(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));
|
|
7198
7198
|
}
|
|
7199
7199
|
});
|
|
7200
|
-
st.addInitHook("addHandler", "touchZoom", qo), st.BoxZoom = Ho, st.DoubleClickZoom = Fo, st.Drag = Go, st.Keyboard = Uo, st.ScrollWheelZoom = $o, st.TapHold = Wo, st.TouchZoom = qo, c.Bounds = dt, c.Browser = V, c.CRS = Rt, c.Canvas = Do, c.Circle = Fn, c.CircleMarker = Xi, c.Class = lt, c.Control = te, c.DivIcon = Eo, c.DivOverlay = he, c.DomEvent = Is, c.DomUtil = Ss, c.Draggable = Le, c.Evented = Nt, c.FeatureGroup = me, c.GeoJSON = _e, c.GridLayer = yi, c.Handler = ue, c.Icon = $e, c.ImageOverlay = en, c.LatLng = G, c.LatLngBounds = ft, c.Layer = ee, c.LayerGroup = Ue, c.LineUtil = Us, c.Map = st, c.Marker = Yi, c.Mixin = Ns, c.Path = ke, c.Point = F, c.PolyUtil = Rs, c.Polygon = We, c.Polyline = pe, c.Popup = nn, c.PosAnimation = _o, c.Projection = $s, c.Rectangle = Vo, c.Renderer = ge, c.SVG = Li, c.SVGOverlay = zo, c.TileLayer = je, c.Tooltip = on, c.Transformation = fe, c.Util = It, c.VideoOverlay = Oo, c.bind = a, c.bounds =
|
|
7200
|
+
st.addInitHook("addHandler", "touchZoom", qo), st.BoxZoom = Ho, st.DoubleClickZoom = Fo, st.Drag = Go, st.Keyboard = Uo, st.ScrollWheelZoom = $o, st.TapHold = Wo, st.TouchZoom = qo, c.Bounds = dt, c.Browser = V, c.CRS = Rt, c.Canvas = Do, c.Circle = Fn, c.CircleMarker = Xi, c.Class = lt, c.Control = te, c.DivIcon = Eo, c.DivOverlay = he, c.DomEvent = Is, c.DomUtil = Ss, c.Draggable = Le, c.Evented = Nt, c.FeatureGroup = me, c.GeoJSON = _e, c.GridLayer = yi, c.Handler = ue, c.Icon = $e, c.ImageOverlay = en, c.LatLng = G, c.LatLngBounds = ft, c.Layer = ee, c.LayerGroup = Ue, c.LineUtil = Us, c.Map = st, c.Marker = Yi, c.Mixin = Ns, c.Path = ke, c.Point = F, c.PolyUtil = Rs, c.Polygon = We, c.Polyline = pe, c.Popup = nn, c.PosAnimation = _o, c.Projection = $s, c.Rectangle = Vo, c.Renderer = ge, c.SVG = Li, c.SVGOverlay = zo, c.TileLayer = je, c.Tooltip = on, c.Transformation = fe, c.Util = It, c.VideoOverlay = Oo, c.bind = a, c.bounds = bt, c.canvas = No, c.circle = Qs, c.circleMarker = Js, c.control = _i, c.divIcon = lr, c.extend = w, c.featureGroup = Ys, c.geoJSON = Io, c.geoJson = ir, c.gridLayer = ur, c.icon = Xs, c.imageOverlay = nr, c.latLng = Q, c.latLngBounds = pt, c.layerGroup = js, c.map = Os, c.marker = Ks, c.point = U, c.polygon = er, c.polyline = tr, c.popup = rr, c.rectangle = dr, c.setOptions = C, c.stamp = f, c.svg = Ro, c.svgOverlay = sr, c.tileLayer = Bo, c.tooltip = ar, c.transformation = se, c.version = p, c.videoOverlay = or;
|
|
7201
7201
|
var mr = window.L;
|
|
7202
7202
|
c.noConflict = function() {
|
|
7203
7203
|
return window.L = mr, this;
|
|
@@ -8233,7 +8233,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8233
8233
|
setup(r, { emit: d }) {
|
|
8234
8234
|
const { t: c } = Yt(), p = d, w = r, { hotelMapImage: o } = Gt(de()), a = ve.Util.extend(ve.CRS.Simple, {
|
|
8235
8235
|
transformation: new ve.Transformation(1, 0, 1, 0)
|
|
8236
|
-
}), h =
|
|
8236
|
+
}), h = jt(), f = yt(() => o.value?.url), g = yt(() => o.value?.height), b = yt(() => o.value?.width), v = ve.icon({
|
|
8237
8237
|
iconUrl: al,
|
|
8238
8238
|
iconSize: [32, 37],
|
|
8239
8239
|
iconAnchor: [16, 37]
|
|
@@ -8272,10 +8272,10 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8272
8272
|
}
|
|
8273
8273
|
const { stop: _ } = Gr(h, ([{ isIntersecting: z }]) => {
|
|
8274
8274
|
z && (_(), P());
|
|
8275
|
-
}), T =
|
|
8275
|
+
}), T = yt({
|
|
8276
8276
|
get: () => w.modelValue,
|
|
8277
8277
|
set: (z) => D(z)
|
|
8278
|
-
}), C =
|
|
8278
|
+
}), C = yt(() => w.rooms.map((z) => ({
|
|
8279
8279
|
id: z.id,
|
|
8280
8280
|
name: z.name,
|
|
8281
8281
|
x: z.mapImageX,
|
|
@@ -8293,7 +8293,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8293
8293
|
class: "konnectio-leaflet-map"
|
|
8294
8294
|
}, null, 512)).cacheIndex = 0, Ko(1), N[0]);
|
|
8295
8295
|
}
|
|
8296
|
-
}), ul = /* @__PURE__ */ Xt(ll, [["__scopeId", "data-v-
|
|
8296
|
+
}), ul = /* @__PURE__ */ Xt(ll, [["__scopeId", "data-v-736acc95"]]), hl = { style: { height: "100%", width: "100%" } }, cl = /* @__PURE__ */ Bt({
|
|
8297
8297
|
__name: "MapSelector",
|
|
8298
8298
|
props: {
|
|
8299
8299
|
roomList: {},
|
|
@@ -8301,7 +8301,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8301
8301
|
callback: { type: Function }
|
|
8302
8302
|
},
|
|
8303
8303
|
setup(r) {
|
|
8304
|
-
const { t: d } = Yt(), c =
|
|
8304
|
+
const { t: d } = Yt(), c = jt(NaN), p = yt(() => !isNaN(c.value)), w = r;
|
|
8305
8305
|
function o() {
|
|
8306
8306
|
p.value && (w.config.units = 1, w.config.roomId = c.value, w.callback());
|
|
8307
8307
|
}
|
|
@@ -8341,14 +8341,14 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8341
8341
|
callback: { type: Function }
|
|
8342
8342
|
},
|
|
8343
8343
|
setup(r) {
|
|
8344
|
-
const d =
|
|
8344
|
+
const d = jt(!1);
|
|
8345
8345
|
function c() {
|
|
8346
8346
|
d.value = !0;
|
|
8347
8347
|
}
|
|
8348
8348
|
function p(et) {
|
|
8349
8349
|
o.callback(et), d.value = !1;
|
|
8350
8350
|
}
|
|
8351
|
-
const { t: w } = Yt(), o = r, a =
|
|
8351
|
+
const { t: w } = Yt(), o = r, a = jt([]);
|
|
8352
8352
|
function h() {
|
|
8353
8353
|
const et = a.value.length;
|
|
8354
8354
|
St(et);
|
|
@@ -8356,16 +8356,16 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8356
8356
|
function f(et) {
|
|
8357
8357
|
a.value.splice(et, 1);
|
|
8358
8358
|
}
|
|
8359
|
-
const g =
|
|
8359
|
+
const g = yt(() => o.room.rates.map((et) => ({
|
|
8360
8360
|
label: et.name,
|
|
8361
8361
|
value: et.id
|
|
8362
|
-
}))), { hideAvailableRoomAmount: b, autoSelectRateId: v, enableMultipleConfigurations: P } = Gt(Ze()), { roomSelect: _, isSearchOutdated: T } = Gt(de()), { addToCart: C, removeFromCart: D } = lo(), I = (et, Y) => o.room.rates.find((j) => j.id === et)?.occupantRates.find((j) => j.index === Y), z =
|
|
8362
|
+
}))), { hideAvailableRoomAmount: b, autoSelectRateId: v, enableMultipleConfigurations: P } = Gt(Ze()), { roomSelect: _, isSearchOutdated: T } = Gt(de()), { addToCart: C, removeFromCart: D } = lo(), I = (et, Y) => o.room.rates.find((j) => j.id === et)?.occupantRates.find((j) => j.index === Y), z = yt(() => o.room.roomList.some((et) => et.mapImageX && et.mapImageY)), N = yt(() => o.room.rates.every((et) => et.isBreakfastIncluded === !0)), ot = (et, Y) => I(et, Y) ? I(et, Y)?.rooms : null, ut = (et) => o.room.rates.length > 0 ? o.room.rates.find((Y) => Y.id === et)?.occupantRates.map((Y) => ({
|
|
8363
8363
|
value: Y.index,
|
|
8364
8364
|
price: Y.totalPrice,
|
|
8365
8365
|
adults: Y.adultsCount,
|
|
8366
8366
|
children: Y.childrenCount,
|
|
8367
8367
|
hasBreakfast: Y.hasBreakfast
|
|
8368
|
-
})) || [] : [], kt =
|
|
8368
|
+
})) || [] : [], kt = yt(() => o.room.rates.length > 1);
|
|
8369
8369
|
function Mt(et, Y) {
|
|
8370
8370
|
a.value[et].config[0].id = o.room.rates.find((j) => j.id === Y.value)?.occupantRateIndex || NaN;
|
|
8371
8371
|
}
|
|
@@ -8396,7 +8396,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8396
8396
|
ro(() => {
|
|
8397
8397
|
St();
|
|
8398
8398
|
});
|
|
8399
|
-
const Zt =
|
|
8399
|
+
const Zt = yt(() => JSON.parse(JSON.stringify(a.value)));
|
|
8400
8400
|
return an(Zt, (et, Y) => {
|
|
8401
8401
|
Y.length > 0 && et.forEach((j, It) => {
|
|
8402
8402
|
Y[It] && j.config.forEach((lt, Dt) => {
|
|
@@ -8524,7 +8524,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8524
8524
|
_: 1
|
|
8525
8525
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
8526
8526
|
}
|
|
8527
|
-
}), us = /* @__PURE__ */ Xt(vl, [["__scopeId", "data-v-
|
|
8527
|
+
}), us = /* @__PURE__ */ Xt(vl, [["__scopeId", "data-v-9389e689"]]), yl = { class: "konnectio-template-side-panel" }, bl = { class: "konnectio-template-side-panel-listings" }, Ll = /* @__PURE__ */ Bt({
|
|
8528
8528
|
__name: "Template",
|
|
8529
8529
|
props: {
|
|
8530
8530
|
title: {},
|
|
@@ -8535,7 +8535,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8535
8535
|
callback: { type: Function }
|
|
8536
8536
|
},
|
|
8537
8537
|
setup(r) {
|
|
8538
|
-
const { t: d } = Yt(), { templateID: c, roomGroupID: p, selectionHasNoAddons: w } = Gt(de()), { currency: o } = Gt(Ze()), { clearRoomSelection: a } = de(), { addToCart: h } = lo(), f = r, g =
|
|
8538
|
+
const { t: d } = Yt(), { templateID: c, roomGroupID: p, selectionHasNoAddons: w } = Gt(de()), { currency: o } = Gt(Ze()), { clearRoomSelection: a } = de(), { addToCart: h } = lo(), f = r, g = jt(!1), b = yt(() => {
|
|
8539
8539
|
function P(_, T) {
|
|
8540
8540
|
return g.value === !0 ? _.extraPrice > T.extraPrice ? -1 : 1 : _.extraPrice > T.extraPrice ? 1 : -1;
|
|
8541
8541
|
}
|
|
@@ -8596,7 +8596,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8596
8596
|
_: 1
|
|
8597
8597
|
}, 8, ["title", "subtitle"]));
|
|
8598
8598
|
}
|
|
8599
|
-
}), kl = /* @__PURE__ */ Xt(Ll, [["__scopeId", "data-v-
|
|
8599
|
+
}), kl = /* @__PURE__ */ Xt(Ll, [["__scopeId", "data-v-91fe3f67"]]), wl = { class: "konnectio-template-select-package" }, Pl = /* @__PURE__ */ Bt({
|
|
8600
8600
|
__name: "Template",
|
|
8601
8601
|
props: {
|
|
8602
8602
|
id: {},
|
|
@@ -8609,10 +8609,10 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8609
8609
|
callback: { type: Function }
|
|
8610
8610
|
},
|
|
8611
8611
|
setup(r) {
|
|
8612
|
-
const { t: d } = Yt(), c = r, { isSearchOutdated: p } = Gt(de()), w =
|
|
8612
|
+
const { t: d } = Yt(), c = r, { isSearchOutdated: p } = Gt(de()), w = yt(() => c.roomGroups.reduce(
|
|
8613
8613
|
(g, b) => g < b.extraPrice ? g : b.extraPrice,
|
|
8614
8614
|
1 / 0
|
|
8615
|
-
) + c.weekendFee), o =
|
|
8615
|
+
) + c.weekendFee), o = jt(!1);
|
|
8616
8616
|
function a() {
|
|
8617
8617
|
o.value = !0;
|
|
8618
8618
|
}
|
|
@@ -8668,7 +8668,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8668
8668
|
roomGroups: {}
|
|
8669
8669
|
},
|
|
8670
8670
|
setup(r) {
|
|
8671
|
-
const { t: d } = Yt(), { updateDates: c } = Ti(), { display: p } = ao(), w = r, o =
|
|
8671
|
+
const { t: d } = Yt(), { updateDates: c } = Ti(), { display: p } = ao(), w = r, o = jt([]), a = yt(() => wi(w.fromDate, w.toDate) === 1);
|
|
8672
8672
|
function h() {
|
|
8673
8673
|
o.value.length > 0 ? c(o.value[0], o.value[1]) : p({
|
|
8674
8674
|
message: d("alert.error.selectDates"),
|
|
@@ -8717,7 +8717,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8717
8717
|
_: 1
|
|
8718
8718
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
8719
8719
|
}
|
|
8720
|
-
}), Ml = /* @__PURE__ */ Xt(Tl, [["__scopeId", "data-v-
|
|
8720
|
+
}), Ml = /* @__PURE__ */ Xt(Tl, [["__scopeId", "data-v-8f8a4dff"]]), hs = /* @__PURE__ */ Bt({
|
|
8721
8721
|
__name: "TimeField",
|
|
8722
8722
|
props: {
|
|
8723
8723
|
modelValue: {},
|
|
@@ -8739,7 +8739,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8739
8739
|
function w(a) {
|
|
8740
8740
|
c("update:modelValue", a);
|
|
8741
8741
|
}
|
|
8742
|
-
const o =
|
|
8742
|
+
const o = jt(p.modelValue);
|
|
8743
8743
|
return an(o, (a) => {
|
|
8744
8744
|
w(a);
|
|
8745
8745
|
}), (a, h) => (M(), rt(Ls, {
|
|
@@ -8775,7 +8775,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8775
8775
|
function o(h) {
|
|
8776
8776
|
p("update:modelValue", h);
|
|
8777
8777
|
}
|
|
8778
|
-
const a =
|
|
8778
|
+
const a = yt({
|
|
8779
8779
|
get: () => w.modelValue,
|
|
8780
8780
|
set: (h) => o(h)
|
|
8781
8781
|
});
|
|
@@ -8806,7 +8806,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8806
8806
|
_: 1
|
|
8807
8807
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
8808
8808
|
}
|
|
8809
|
-
}), Il = /* @__PURE__ */ Xt(Al, [["__scopeId", "data-v-
|
|
8809
|
+
}), Il = /* @__PURE__ */ Xt(Al, [["__scopeId", "data-v-13aea6ce"]]), Ol = /* @__PURE__ */ Bt({
|
|
8810
8810
|
__name: "NameField",
|
|
8811
8811
|
props: {
|
|
8812
8812
|
modelValue: {},
|
|
@@ -8827,7 +8827,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8827
8827
|
},
|
|
8828
8828
|
emits: ["update:modelValue", "update:title"],
|
|
8829
8829
|
setup(r, { emit: d }) {
|
|
8830
|
-
const c = r, p = d, w = c.id || Qo(), o =
|
|
8830
|
+
const c = r, p = d, w = c.id || Qo(), o = jt(""), a = jt(2);
|
|
8831
8831
|
function h() {
|
|
8832
8832
|
p("update:modelValue", o.value);
|
|
8833
8833
|
}
|
|
@@ -8907,7 +8907,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8907
8907
|
_: 1
|
|
8908
8908
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
8909
8909
|
}
|
|
8910
|
-
}), zl = /* @__PURE__ */ Xt(Ol, [["__scopeId", "data-v-
|
|
8910
|
+
}), zl = /* @__PURE__ */ Xt(Ol, [["__scopeId", "data-v-4ad63bd6"]]), El = { class: "hotel-skeleton" }, Bl = { class: "hotel-skeleton-content" }, Zl = { class: "hotel-skeleton-sidebar" }, Dl = /* @__PURE__ */ Bt({
|
|
8911
8911
|
__name: "HotelSkeleton",
|
|
8912
8912
|
setup(r) {
|
|
8913
8913
|
return (d, c) => (M(), A("div", El, [
|
|
@@ -8920,7 +8920,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
8920
8920
|
])
|
|
8921
8921
|
]));
|
|
8922
8922
|
}
|
|
8923
|
-
}), Nl = /* @__PURE__ */ Xt(Dl, [["__scopeId", "data-v-
|
|
8923
|
+
}), Nl = /* @__PURE__ */ Xt(Dl, [["__scopeId", "data-v-2ff36444"]]), Rl = { id: "booking-availability-container" }, Vl = { id: "booking-availability-controls" }, Hl = {
|
|
8924
8924
|
key: 0,
|
|
8925
8925
|
class: "konnectio-panel konnectio-filter-notice"
|
|
8926
8926
|
}, Fl = ["innerHTML"], Gl = {
|
|
@@ -9000,10 +9000,11 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9000
9000
|
forceDepartureTime: {},
|
|
9001
9001
|
requireGuestDiscountId: { default: "no" },
|
|
9002
9002
|
sortBy: { default: "default" },
|
|
9003
|
+
sortOrder: { default: "asc" },
|
|
9003
9004
|
styling: {}
|
|
9004
9005
|
},
|
|
9005
9006
|
setup(r) {
|
|
9006
|
-
const d = Mr(() => import("./_-
|
|
9007
|
+
const d = Mr(() => import("./_-DQD4tHzx.js")), c = r, { t: p } = Yt(), {
|
|
9007
9008
|
currentLocation: w,
|
|
9008
9009
|
templateID: o,
|
|
9009
9010
|
templateAddons: a,
|
|
@@ -9038,7 +9039,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9038
9039
|
isTemplateReservation: Ce,
|
|
9039
9040
|
newsMails: U,
|
|
9040
9041
|
adultsMismatch: dt,
|
|
9041
|
-
childrenMismatch:
|
|
9042
|
+
childrenMismatch: bt,
|
|
9042
9043
|
totalAdults: ft,
|
|
9043
9044
|
totalChildren: pt,
|
|
9044
9045
|
hasGuestDiscountId: G,
|
|
@@ -9090,11 +9091,11 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9090
9091
|
fetchMetadata: bn,
|
|
9091
9092
|
fetchAvailabilityData: li,
|
|
9092
9093
|
filterAddons: Di,
|
|
9093
|
-
hasAvailableRoomAddons:
|
|
9094
|
+
hasAvailableRoomAddons: Ut,
|
|
9094
9095
|
checkGuestDiscount: V,
|
|
9095
9096
|
validateMemberCard: Ni,
|
|
9096
9097
|
onOverviewReset: Ri
|
|
9097
|
-
} = de(), Ve =
|
|
9098
|
+
} = de(), Ve = yt(() => c.sortOrder === "desc"), Vi = yt(() => [
|
|
9098
9099
|
{
|
|
9099
9100
|
id: "availability",
|
|
9100
9101
|
label: p("booking.availability.title"),
|
|
@@ -9119,7 +9120,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9119
9120
|
label: p("booking.confirmation.title"),
|
|
9120
9121
|
icon: "calendar-check"
|
|
9121
9122
|
}
|
|
9122
|
-
]), ui =
|
|
9123
|
+
]), ui = yt(() => {
|
|
9123
9124
|
const W = [
|
|
9124
9125
|
{
|
|
9125
9126
|
label: p("booking.reservation.business"),
|
|
@@ -9134,7 +9135,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9134
9135
|
label: p("booking.reservation.bleasure"),
|
|
9135
9136
|
value: "Bleasure"
|
|
9136
9137
|
}), W;
|
|
9137
|
-
}), Kt =
|
|
9138
|
+
}), Kt = yt(() => {
|
|
9138
9139
|
let W = j.value.roomGroups.slice();
|
|
9139
9140
|
function R(_t, q) {
|
|
9140
9141
|
return Ve.value === !0 ? _t.pricesFrom > q.pricesFrom ? -1 : 1 : _t.pricesFrom > q.pricesFrom ? 1 : -1;
|
|
@@ -9144,19 +9145,19 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9144
9145
|
function Jt(W) {
|
|
9145
9146
|
return (W.templateRoomGroups.length > 0 ? Math.min(...W.templateRoomGroups.map((_t) => _t.totalPrice)) : 0) + W.weekendFee;
|
|
9146
9147
|
}
|
|
9147
|
-
const Hi =
|
|
9148
|
+
const Hi = yt(() => {
|
|
9148
9149
|
const W = j.value.templates.slice();
|
|
9149
9150
|
return c.sortBy === "price" && W.sort((R, _t) => {
|
|
9150
9151
|
const q = Jt(R), it = Jt(_t);
|
|
9151
9152
|
return Ve.value ? it - q : q - it;
|
|
9152
9153
|
}), W;
|
|
9153
|
-
}), Ln =
|
|
9154
|
+
}), Ln = yt(() => {
|
|
9154
9155
|
const W = j.value.specialTemplates.slice();
|
|
9155
9156
|
return c.sortBy === "price" && W.sort((R, _t) => {
|
|
9156
9157
|
const q = Jt(R), it = Jt(_t);
|
|
9157
9158
|
return Ve.value ? it - q : q - it;
|
|
9158
9159
|
}), W;
|
|
9159
|
-
}), hi =
|
|
9160
|
+
}), hi = yt(() => c.hideAddons === "yes" || Ce.value && c.hideAddons === "packages" || !Ce.value && c.hideAddons === "rooms");
|
|
9160
9161
|
function Fi(W) {
|
|
9161
9162
|
hi.value || It.value ? W(2) : W(), ai();
|
|
9162
9163
|
}
|
|
@@ -9450,7 +9451,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9450
9451
|
}),
|
|
9451
9452
|
y("span", null, O(l(p)("hotel.mismatchingChildren", { searchChildren: l(Me), selectedChildren: l(pt) })), 1)
|
|
9452
9453
|
], 512), [
|
|
9453
|
-
[Be, l(
|
|
9454
|
+
[Be, l(bt)]
|
|
9454
9455
|
])
|
|
9455
9456
|
]),
|
|
9456
9457
|
_: 2
|
|
@@ -9477,7 +9478,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9477
9478
|
(M(!0), A(ht, null, Tt(l(et), (it) => (M(), A(ht, {
|
|
9478
9479
|
key: it.roomGroupID
|
|
9479
9480
|
}, [
|
|
9480
|
-
l(
|
|
9481
|
+
l(Ut)(it) ? (M(), A("ul", bu, [
|
|
9481
9482
|
(M(!0), A(ht, null, Tt(it.variants, (H, zt) => (M(), A("li", {
|
|
9482
9483
|
key: H.ratePlanID
|
|
9483
9484
|
}, [
|
|
@@ -9655,7 +9656,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9655
9656
|
l(si)(l(w)) ? (M(), A("li", zu, [
|
|
9656
9657
|
B(hs, {
|
|
9657
9658
|
modelValue: l(P),
|
|
9658
|
-
"onUpdate:modelValue": R[3] || (R[3] = (H) =>
|
|
9659
|
+
"onUpdate:modelValue": R[3] || (R[3] = (H) => Lt(P) ? P.value = H : null),
|
|
9659
9660
|
label: l(p)("booking.reservation.arrivalTime"),
|
|
9660
9661
|
icon: "hourglass-start",
|
|
9661
9662
|
"min-time": l(Ei)(l(w)),
|
|
@@ -9666,7 +9667,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9666
9667
|
l(ri)(l(w)) ? (M(), A("li", Eu, [
|
|
9667
9668
|
B(hs, {
|
|
9668
9669
|
modelValue: l(_),
|
|
9669
|
-
"onUpdate:modelValue": R[4] || (R[4] = (H) =>
|
|
9670
|
+
"onUpdate:modelValue": R[4] || (R[4] = (H) => Lt(_) ? _.value = H : null),
|
|
9670
9671
|
label: l(p)("booking.reservation.departureTime"),
|
|
9671
9672
|
icon: "hourglass-end",
|
|
9672
9673
|
"min-time": l(Zi)(l(w)),
|
|
@@ -9677,9 +9678,9 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9677
9678
|
], 2)) : Z("", !0),
|
|
9678
9679
|
B(zl, {
|
|
9679
9680
|
modelValue: l(T),
|
|
9680
|
-
"onUpdate:modelValue": R[5] || (R[5] = (H) =>
|
|
9681
|
+
"onUpdate:modelValue": R[5] || (R[5] = (H) => Lt(T) ? T.value = H : null),
|
|
9681
9682
|
title: l(C),
|
|
9682
|
-
"onUpdate:title": R[6] || (R[6] = (H) =>
|
|
9683
|
+
"onUpdate:title": R[6] || (R[6] = (H) => Lt(C) ? C.value = H : null),
|
|
9683
9684
|
"exclude-title": l(dn),
|
|
9684
9685
|
label: l(p)("booking.reservation.name"),
|
|
9685
9686
|
icon: "user-alt",
|
|
@@ -9688,7 +9689,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9688
9689
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
9689
9690
|
B(ie, {
|
|
9690
9691
|
modelValue: l(D),
|
|
9691
|
-
"onUpdate:modelValue": R[7] || (R[7] = (H) =>
|
|
9692
|
+
"onUpdate:modelValue": R[7] || (R[7] = (H) => Lt(D) ? D.value = H : null),
|
|
9692
9693
|
type: "email",
|
|
9693
9694
|
name: "email",
|
|
9694
9695
|
autocomplete: "email",
|
|
@@ -9701,7 +9702,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9701
9702
|
l(ii) ? Z("", !0) : (M(), A("div", Bu, [
|
|
9702
9703
|
B(io, {
|
|
9703
9704
|
modelValue: l(U),
|
|
9704
|
-
"onUpdate:modelValue": R[8] || (R[8] = (H) =>
|
|
9705
|
+
"onUpdate:modelValue": R[8] || (R[8] = (H) => Lt(U) ? U.value = H : null),
|
|
9705
9706
|
type: "checkbox",
|
|
9706
9707
|
name: "newsletter",
|
|
9707
9708
|
label: l(p)("booking.reservation.newsletterSignUp")
|
|
@@ -9710,7 +9711,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9710
9711
|
l(Oi) ? Z("", !0) : (M(), rt(ie, {
|
|
9711
9712
|
key: 3,
|
|
9712
9713
|
modelValue: l(z),
|
|
9713
|
-
"onUpdate:modelValue": R[9] || (R[9] = (H) =>
|
|
9714
|
+
"onUpdate:modelValue": R[9] || (R[9] = (H) => Lt(z) ? z.value = H : null),
|
|
9714
9715
|
type: "text",
|
|
9715
9716
|
name: "firm",
|
|
9716
9717
|
autocomplete: "firm",
|
|
@@ -9720,7 +9721,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9720
9721
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
9721
9722
|
B(Jr, {
|
|
9722
9723
|
modelValue: l(I),
|
|
9723
|
-
"onUpdate:modelValue": R[10] || (R[10] = (H) =>
|
|
9724
|
+
"onUpdate:modelValue": R[10] || (R[10] = (H) => Lt(I) ? I.value = H : null),
|
|
9724
9725
|
icon: "phone-office",
|
|
9725
9726
|
label: l(p)("booking.reservation.phone"),
|
|
9726
9727
|
placeholder: l(p)("booking.reservation.phonePlaceholder"),
|
|
@@ -9728,7 +9729,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9728
9729
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9729
9730
|
B(Il, {
|
|
9730
9731
|
modelValue: l(kt),
|
|
9731
|
-
"onUpdate:modelValue": R[11] || (R[11] = (H) =>
|
|
9732
|
+
"onUpdate:modelValue": R[11] || (R[11] = (H) => Lt(kt) ? kt.value = H : null),
|
|
9732
9733
|
label: l(p)("booking.reservation.country"),
|
|
9733
9734
|
placeholder: l(p)("booking.reservation.countryPlaceholder"),
|
|
9734
9735
|
options: l(h),
|
|
@@ -9736,7 +9737,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9736
9737
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
9737
9738
|
B(ie, {
|
|
9738
9739
|
modelValue: l(ut),
|
|
9739
|
-
"onUpdate:modelValue": R[12] || (R[12] = (H) =>
|
|
9740
|
+
"onUpdate:modelValue": R[12] || (R[12] = (H) => Lt(ut) ? ut.value = H : null),
|
|
9740
9741
|
type: "textarea",
|
|
9741
9742
|
name: "address",
|
|
9742
9743
|
autocomplete: "street-address",
|
|
@@ -9749,7 +9750,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9749
9750
|
y("li", null, [
|
|
9750
9751
|
B(ie, {
|
|
9751
9752
|
modelValue: l(N),
|
|
9752
|
-
"onUpdate:modelValue": R[13] || (R[13] = (H) =>
|
|
9753
|
+
"onUpdate:modelValue": R[13] || (R[13] = (H) => Lt(N) ? N.value = H : null),
|
|
9753
9754
|
type: "text",
|
|
9754
9755
|
name: "postal",
|
|
9755
9756
|
autocomplete: "postal-code",
|
|
@@ -9762,7 +9763,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9762
9763
|
y("li", null, [
|
|
9763
9764
|
B(ie, {
|
|
9764
9765
|
modelValue: l(ot),
|
|
9765
|
-
"onUpdate:modelValue": R[14] || (R[14] = (H) =>
|
|
9766
|
+
"onUpdate:modelValue": R[14] || (R[14] = (H) => Lt(ot) ? ot.value = H : null),
|
|
9766
9767
|
type: "text",
|
|
9767
9768
|
name: "city",
|
|
9768
9769
|
autocomplete: "address-level2",
|
|
@@ -9776,7 +9777,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9776
9777
|
r.hideRemarks !== "yes" ? (M(), rt(ie, {
|
|
9777
9778
|
key: 4,
|
|
9778
9779
|
modelValue: l(Mt),
|
|
9779
|
-
"onUpdate:modelValue": R[15] || (R[15] = (H) =>
|
|
9780
|
+
"onUpdate:modelValue": R[15] || (R[15] = (H) => Lt(Mt) ? Mt.value = H : null),
|
|
9780
9781
|
type: "textarea",
|
|
9781
9782
|
label: l(p)("booking.reservation.remark"),
|
|
9782
9783
|
icon: "info-circle",
|
|
@@ -9785,7 +9786,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9785
9786
|
r.hideAllergies !== "yes" ? (M(), rt(ie, {
|
|
9786
9787
|
key: 5,
|
|
9787
9788
|
modelValue: l(St),
|
|
9788
|
-
"onUpdate:modelValue": R[16] || (R[16] = (H) =>
|
|
9789
|
+
"onUpdate:modelValue": R[16] || (R[16] = (H) => Lt(St) ? St.value = H : null),
|
|
9789
9790
|
type: "textarea",
|
|
9790
9791
|
label: l(p)("booking.reservation.allergies"),
|
|
9791
9792
|
icon: "allergies",
|
|
@@ -9794,7 +9795,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9794
9795
|
l(Qe) ? Z("", !0) : (M(), rt(Jo, {
|
|
9795
9796
|
key: 6,
|
|
9796
9797
|
modelValue: l(v),
|
|
9797
|
-
"onUpdate:modelValue": R[17] || (R[17] = (H) =>
|
|
9798
|
+
"onUpdate:modelValue": R[17] || (R[17] = (H) => Lt(v) ? v.value = H : null),
|
|
9798
9799
|
label: l(p)("booking.reservation.purposeOfStay"),
|
|
9799
9800
|
name: "travelingFor",
|
|
9800
9801
|
checkboxes: ui.value
|
|
@@ -9821,7 +9822,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9821
9822
|
])) : (M(), A(ht, { key: 1 }, [
|
|
9822
9823
|
B(Jo, {
|
|
9823
9824
|
modelValue: l(wt),
|
|
9824
|
-
"onUpdate:modelValue": R[18] || (R[18] = (H) =>
|
|
9825
|
+
"onUpdate:modelValue": R[18] || (R[18] = (H) => Lt(wt) ? wt.value = H : null),
|
|
9825
9826
|
label: l(p)("hotel.memberCards.selectCard"),
|
|
9826
9827
|
name: "memberCard",
|
|
9827
9828
|
checkboxes: l(xe)
|
|
@@ -9829,7 +9830,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9829
9830
|
l(wt) ? (M(), A("form", Hu, [
|
|
9830
9831
|
B(ie, {
|
|
9831
9832
|
modelValue: l(se),
|
|
9832
|
-
"onUpdate:modelValue": R[19] || (R[19] = (H) =>
|
|
9833
|
+
"onUpdate:modelValue": R[19] || (R[19] = (H) => Lt(se) ? se.value = H : null),
|
|
9833
9834
|
type: "number",
|
|
9834
9835
|
label: l(p)("hotel.memberCards.cardNumber"),
|
|
9835
9836
|
icon: "credit-card",
|
|
@@ -9839,7 +9840,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9839
9840
|
l(wt) === l(ts).FirmaCard ? (M(), rt(ie, {
|
|
9840
9841
|
key: 0,
|
|
9841
9842
|
modelValue: l(fe),
|
|
9842
|
-
"onUpdate:modelValue": R[20] || (R[20] = (H) =>
|
|
9843
|
+
"onUpdate:modelValue": R[20] || (R[20] = (H) => Lt(fe) ? fe.value = H : null),
|
|
9843
9844
|
type: "text",
|
|
9844
9845
|
label: l(p)("hotel.memberCards.cardControlNumber"),
|
|
9845
9846
|
icon: "id-card",
|
|
@@ -9849,7 +9850,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9849
9850
|
l(wt) === l(ts).DaneAge ? (M(), rt(ie, {
|
|
9850
9851
|
key: 1,
|
|
9851
9852
|
modelValue: l(N),
|
|
9852
|
-
"onUpdate:modelValue": R[21] || (R[21] = (H) =>
|
|
9853
|
+
"onUpdate:modelValue": R[21] || (R[21] = (H) => Lt(N) ? N.value = H : null),
|
|
9853
9854
|
type: "text",
|
|
9854
9855
|
name: "postal",
|
|
9855
9856
|
autocomplete: "postal-code",
|
|
@@ -9908,7 +9909,7 @@ const Fu = /* @__PURE__ */ Bt({
|
|
|
9908
9909
|
_: 1
|
|
9909
9910
|
}, 8, ["styling"]));
|
|
9910
9911
|
}
|
|
9911
|
-
}), cs = /* @__PURE__ */ Xt(Fu, [["__scopeId", "data-v-
|
|
9912
|
+
}), cs = /* @__PURE__ */ Xt(Fu, [["__scopeId", "data-v-e71feef3"]]), Gu = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), Uu = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), ds = /* @__PURE__ */ new Set([
|
|
9912
9913
|
"base",
|
|
9913
9914
|
"meta",
|
|
9914
9915
|
"link",
|