@konnectio/core 4.1.19 → 4.1.20
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-DAQeZANx.js → ActionField-j4Tm3SQO.js} +2 -2
- package/dist/ActionField-j4Tm3SQO.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DyJ4ZvcV.js → AvailabilitySkeleton-djnXxSNJ.js} +10 -10
- package/dist/AvailabilitySkeleton-djnXxSNJ.js.br +0 -0
- package/dist/{CheckoutWindow-DnNh5QHZ.js → CheckoutWindow-BOBzfxuL.js} +2 -2
- package/dist/CheckoutWindow-BOBzfxuL.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-YGosKXxb.js → DateField.vue_vue_type_style_index_0_lang-C9duLzVy.js} +2 -2
- package/dist/DateField.vue_vue_type_style_index_0_lang-C9duLzVy.js.br +0 -0
- package/dist/{ErrorMessage-BD7Hxo-Y.js → ErrorMessage-Cj99pZE5.js} +2 -2
- package/dist/ErrorMessage-Cj99pZE5.js.br +0 -0
- package/dist/{EventAvailabilityForm-DS2qFmMN.js → EventAvailabilityForm-BiTaFZFn.js} +3 -3
- package/dist/EventAvailabilityForm-BiTaFZFn.js.br +0 -0
- package/dist/{Field-GwQD6RNO.js → Field-BgV8WFOB.js} +3 -3
- package/dist/Field-BgV8WFOB.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-DW_pB0Y1.js → SelectField.vue_vue_type_style_index_0_lang-DO9x_2fb.js} +7 -7
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DO9x_2fb.js.br +0 -0
- package/dist/{TermsOfService-CyP4Fe5O.js → TermsOfService-CwoRTRoo.js} +3 -3
- package/dist/{_-YpmL268d.js → _-BozZWqtK.js} +2 -2
- package/dist/_-s78YKDyv.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-BSAkUBey.js → _.vue_vue_type_style_index_0_lang-Dw28rYKP.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/event.js +6 -6
- 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-CHNpgKZ5.js → giftCard-CSLTqETP.js} +2 -2
- package/dist/giftCard-CSLTqETP.js.br +0 -0
- package/dist/hotel.js +877 -861
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-lekHxjT5.js → masonry.plugin-BY_JtDIu.js} +36 -25
- package/dist/masonry.plugin-BY_JtDIu.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/package.json +12 -12
- package/dist/ActionField-DAQeZANx.js.br +0 -0
- package/dist/AvailabilitySkeleton-DyJ4ZvcV.js.br +0 -0
- package/dist/CheckoutWindow-DnNh5QHZ.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-YGosKXxb.js.br +0 -0
- package/dist/ErrorMessage-BD7Hxo-Y.js.br +0 -0
- package/dist/EventAvailabilityForm-DS2qFmMN.js.br +0 -0
- package/dist/Field-GwQD6RNO.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DW_pB0Y1.js.br +0 -0
- package/dist/_-CAbkJ_b7.js +0 -5
- package/dist/giftCard-CHNpgKZ5.js.br +0 -0
- package/dist/masonry.plugin-lekHxjT5.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { d as Nt, u as jt, s as qt, r as Ft, J as vr, a as lt, b as T, g as h, y as St, z as yr, w as tt, h as A, i as
|
|
2
|
-
import { h as
|
|
3
|
-
import { G as
|
|
4
|
-
import { R as
|
|
5
|
-
import { A as
|
|
6
|
-
import { S as
|
|
7
|
-
import { a as
|
|
8
|
-
import { A as
|
|
9
|
-
import { g as
|
|
10
|
-
import { _ as ms } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
11
|
-
function
|
|
1
|
+
import { d as Nt, u as jt, s as qt, r as Ft, J as vr, a as lt, b as T, g as h, y as St, z as yr, w as tt, h as A, i as H, e as k, t as O, E as Le, G as Ae, f as Z, A as At, F as mt, q as Yn, j as ds, C as br, c as Pt, v as nn, K as Xo, o as ao, D as sn, n as wi, S as Lr, 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-BjP5J__-.js";
|
|
2
|
+
import { h as Ie, b as fe, u as Pi, I as xt, s as oe, j as yi, l as Xn, q as ce, n as se, _ as Jt, r as eo, a as lo, d as ln, F as Ar, H as fs, g as bi, e as de, B as ps, J as Jo, x as Ir, T as ye, K as Or, p as Qo, M as Er, N as ts, C as Br, t as es, v as zr } from "./SelectField.vue_vue_type_style_index_0_lang-DO9x_2fb.js";
|
|
3
|
+
import { G as Zr } from "./style-BXv8DGyB.js";
|
|
4
|
+
import { R as Dr, B as un, L as Nr, S as Rr, M as Hr, T as Vr, C as Fr, b as Jn, V as Gr, a as Ur } from "./masonry.plugin-BY_JtDIu.js";
|
|
5
|
+
import { A as $r, H as Wr } from "./AvailabilitySkeleton-djnXxSNJ.js";
|
|
6
|
+
import { S as qr } from "./TermsOfService-CwoRTRoo.js";
|
|
7
|
+
import { a as io, B as _s, C as jr, P as Kr } from "./CheckoutWindow-BOBzfxuL.js";
|
|
8
|
+
import { A as Yr } from "./ActionField-j4Tm3SQO.js";
|
|
9
|
+
import { g as Xr } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
10
|
+
import { _ as ms } from "./DateField.vue_vue_type_style_index_0_lang-C9duLzVy.js";
|
|
11
|
+
function no(p, d = {}, u) {
|
|
12
12
|
for (const f in p) {
|
|
13
13
|
const v = p[f], o = u ? `${u}:${f}` : f;
|
|
14
|
-
typeof v == "object" && v !== null ?
|
|
14
|
+
typeof v == "object" && v !== null ? no(v, d, o) : typeof v == "function" && (d[o] = v);
|
|
15
15
|
}
|
|
16
16
|
return d;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
19
|
-
function
|
|
18
|
+
const Jr = { run: (p) => p() }, Qr = () => Jr, gs = typeof console.createTask < "u" ? console.createTask : Qr;
|
|
19
|
+
function ta(p, d) {
|
|
20
20
|
const u = d.shift(), f = gs(u);
|
|
21
21
|
return p.reduce(
|
|
22
22
|
(v, o) => v.then(() => f.run(() => o(...d))),
|
|
23
23
|
Promise.resolve()
|
|
24
24
|
);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function ea(p, d) {
|
|
27
27
|
const u = d.shift(), f = gs(u);
|
|
28
28
|
return Promise.all(p.map((v) => f.run(() => v(...d))));
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Qn(p, d) {
|
|
31
31
|
for (const u of [...p])
|
|
32
32
|
u(d);
|
|
33
33
|
}
|
|
34
|
-
class
|
|
34
|
+
class ia {
|
|
35
35
|
constructor() {
|
|
36
36
|
this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
|
|
37
37
|
}
|
|
@@ -82,7 +82,7 @@ class ea {
|
|
|
82
82
|
this.deprecateHook(u, d[u]);
|
|
83
83
|
}
|
|
84
84
|
addHooks(d) {
|
|
85
|
-
const u =
|
|
85
|
+
const u = no(d), f = Object.keys(u).map(
|
|
86
86
|
(v) => this.hook(v, u[v])
|
|
87
87
|
);
|
|
88
88
|
return () => {
|
|
@@ -91,7 +91,7 @@ class ea {
|
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
removeHooks(d) {
|
|
94
|
-
const u =
|
|
94
|
+
const u = no(d);
|
|
95
95
|
for (const f in u)
|
|
96
96
|
this.removeHook(f, u[f]);
|
|
97
97
|
}
|
|
@@ -100,21 +100,21 @@ class ea {
|
|
|
100
100
|
delete this._hooks[d];
|
|
101
101
|
}
|
|
102
102
|
callHook(d, ...u) {
|
|
103
|
-
return u.unshift(d), this.callHookWith(
|
|
103
|
+
return u.unshift(d), this.callHookWith(ta, d, ...u);
|
|
104
104
|
}
|
|
105
105
|
callHookParallel(d, ...u) {
|
|
106
|
-
return u.unshift(d), this.callHookWith(
|
|
106
|
+
return u.unshift(d), this.callHookWith(ea, d, ...u);
|
|
107
107
|
}
|
|
108
108
|
callHookWith(d, u, ...f) {
|
|
109
109
|
const v = this._before || this._after ? { name: u, args: f, context: {} } : void 0;
|
|
110
|
-
this._before &&
|
|
110
|
+
this._before && Qn(this._before, v);
|
|
111
111
|
const o = d(
|
|
112
112
|
u in this._hooks ? [...this._hooks[u]] : [],
|
|
113
113
|
f
|
|
114
114
|
);
|
|
115
115
|
return o instanceof Promise ? o.finally(() => {
|
|
116
|
-
this._after && v &&
|
|
117
|
-
}) : (this._after && v &&
|
|
116
|
+
this._after && v && Qn(this._after, v);
|
|
117
|
+
}) : (this._after && v && Qn(this._after, v), o);
|
|
118
118
|
}
|
|
119
119
|
beforeEach(d) {
|
|
120
120
|
return this._before = this._before || [], this._before.push(d), () => {
|
|
@@ -133,17 +133,17 @@ class ea {
|
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
return new
|
|
136
|
+
function na() {
|
|
137
|
+
return new ia();
|
|
138
138
|
}
|
|
139
|
-
const
|
|
139
|
+
const oa = { key: 0 }, sa = { class: "konnectio-hotel-reservation-warning" }, ra = { class: "konnectio-hotel-reservation-warning" }, aa = { class: "konnectio-hotel-reservation-warning" }, la = { class: "konnectio-hotel-reservation-title" }, ua = { class: "konnectio-hotel-reservation-information" }, ha = { class: "konnectio-hotel-reservation-guests" }, ca = { key: 0 }, da = {
|
|
140
140
|
key: 0,
|
|
141
141
|
class: "konnectio-hotel-reservation-room-name"
|
|
142
142
|
};
|
|
143
|
-
const
|
|
143
|
+
const fa = { key: 0 }, pa = { key: 1 }, _a = { key: 0 }, ma = { class: "konnectio-reservation-actions" }, ga = {
|
|
144
144
|
key: 0,
|
|
145
145
|
class: "konnectio-newsletter-signup"
|
|
146
|
-
},
|
|
146
|
+
}, va = { class: "konnectio-hotel-reservation-tooltip" }, ya = /* @__PURE__ */ Nt({
|
|
147
147
|
__name: "HotelReservationForm",
|
|
148
148
|
props: {
|
|
149
149
|
forceArrivalTime: {},
|
|
@@ -156,9 +156,9 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
156
156
|
const { t: d } = jt(), {
|
|
157
157
|
disableNewsletterSignup: u,
|
|
158
158
|
currency: f
|
|
159
|
-
} = qt(
|
|
159
|
+
} = qt(Ie()), {
|
|
160
160
|
hasArrivalDepartureInputs: v
|
|
161
|
-
} =
|
|
161
|
+
} = Ie(), {
|
|
162
162
|
arrivalTime: o,
|
|
163
163
|
departureTime: r,
|
|
164
164
|
roomDisplay: l,
|
|
@@ -170,27 +170,27 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
170
170
|
discountVouchers: P,
|
|
171
171
|
currentArrivalDate: S,
|
|
172
172
|
currentDepartureDate: C,
|
|
173
|
-
datesMismatch:
|
|
173
|
+
datesMismatch: V,
|
|
174
174
|
currentLocation: B,
|
|
175
175
|
locationMismatch: E,
|
|
176
176
|
newsMails: W,
|
|
177
177
|
termsOfService: ut,
|
|
178
178
|
discountCode: ot,
|
|
179
179
|
hasTermOfService: Ct,
|
|
180
|
-
acceptTerms:
|
|
180
|
+
acceptTerms: F,
|
|
181
181
|
totalTemplateAddonPrice: st,
|
|
182
182
|
totalRooms: ht,
|
|
183
183
|
totalAdults: Bt,
|
|
184
184
|
totalChildren: at,
|
|
185
185
|
templateRoomTotalPrice: Q,
|
|
186
186
|
weekendFee: Tt
|
|
187
|
-
} = qt(fe()), { hasHotelLocations: bt } = qt(
|
|
187
|
+
} = qt(fe()), { hasHotelLocations: bt } = qt(Pi()), { removeRoom: Rt, validateDiscountCode: It } = fe(), { getHotelLocationName: re } = Pi(), U = Ft(!1);
|
|
188
188
|
function pe(N) {
|
|
189
189
|
return N.reduce((Lt, { totalPrice: nt }) => Lt + nt, 0);
|
|
190
190
|
}
|
|
191
191
|
return (N, Y) => {
|
|
192
192
|
const Lt = vr("tooltip");
|
|
193
|
-
return T(), lt(
|
|
193
|
+
return T(), lt(Dr, {
|
|
194
194
|
"discount-code": h(ot),
|
|
195
195
|
"onUpdate:discountCode": Y[4] || (Y[4] = (nt) => St(ot) ? ot.value = nt : null),
|
|
196
196
|
"validate-discount-code": h(It),
|
|
@@ -203,7 +203,7 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
203
203
|
"prev-callback": N.prevCallback
|
|
204
204
|
}, yr({
|
|
205
205
|
form: tt(() => [
|
|
206
|
-
|
|
206
|
+
Yn(N.$slots, "form", {}, void 0, !0)
|
|
207
207
|
]),
|
|
208
208
|
"price-summary": tt(() => [
|
|
209
209
|
isNaN(h(c)) && h(l).length > 0 ? (T(!0), A(mt, { key: 0 }, At(h(l), ({
|
|
@@ -217,9 +217,9 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
217
217
|
(T(!0), A(mt, null, At(et, (X, Et) => (T(), A("div", { key: Et }, [
|
|
218
218
|
(T(!0), A(mt, null, At(X.rooms, (gt, Kt) => (T(), A("ul", { key: Kt }, [
|
|
219
219
|
k("li", null, [
|
|
220
|
-
k("span",
|
|
221
|
-
k("span",
|
|
222
|
-
k("span",
|
|
220
|
+
k("span", la, O(h(ce)(X.name)), 1),
|
|
221
|
+
k("span", ua, [
|
|
222
|
+
k("span", ha, [
|
|
223
223
|
k("span", null, [
|
|
224
224
|
Z(xt, {
|
|
225
225
|
icon: "male",
|
|
@@ -228,30 +228,30 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
228
228
|
}),
|
|
229
229
|
k("span", null, O(gt.adultsCount), 1)
|
|
230
230
|
]),
|
|
231
|
-
gt.childrenCount > 0 ? (T(), A("span",
|
|
231
|
+
gt.childrenCount > 0 ? (T(), A("span", ca, [
|
|
232
232
|
Z(xt, {
|
|
233
233
|
icon: "child",
|
|
234
234
|
type: "fas",
|
|
235
235
|
color: "font"
|
|
236
236
|
}),
|
|
237
237
|
k("span", null, O(gt.childrenCount), 1)
|
|
238
|
-
])) :
|
|
238
|
+
])) : H("", !0)
|
|
239
239
|
]),
|
|
240
|
-
gt.roomName ? (T(), A("span",
|
|
240
|
+
gt.roomName ? (T(), A("span", da, "(" + O(gt.roomName) + ")", 1)) : H("", !0)
|
|
241
241
|
]),
|
|
242
242
|
k("b", null, [
|
|
243
243
|
k("span", null, O(h(se)(gt.totalPrice, h(f))), 1),
|
|
244
|
-
|
|
244
|
+
H("", !0)
|
|
245
245
|
])
|
|
246
246
|
]),
|
|
247
|
-
pe(gt.roomAddons) > 0 ? (T(), A("li",
|
|
247
|
+
pe(gt.roomAddons) > 0 ? (T(), A("li", fa, [
|
|
248
248
|
k("span", null, O(h(d)("general.addons")), 1),
|
|
249
249
|
k("b", null, O(h(se)(pe(gt.roomAddons), h(f))), 1)
|
|
250
|
-
])) :
|
|
250
|
+
])) : H("", !0)
|
|
251
251
|
]))), 128))
|
|
252
252
|
]))), 128))
|
|
253
|
-
]))), 128)) :
|
|
254
|
-
h(g) && h(w) ? (T(), A("div",
|
|
253
|
+
]))), 128)) : H("", !0),
|
|
254
|
+
h(g) && h(w) ? (T(), A("div", pa, [
|
|
255
255
|
k("h6", null, [
|
|
256
256
|
k("span", null, O(h(ce)(h(w).name)), 1)
|
|
257
257
|
]),
|
|
@@ -265,18 +265,18 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
265
265
|
k("span", null, O(h(se)(h(Q), h(f))), 1)
|
|
266
266
|
])
|
|
267
267
|
]),
|
|
268
|
-
h(st) ? (T(), A("li",
|
|
268
|
+
h(st) ? (T(), A("li", _a, [
|
|
269
269
|
k("span", null, O(h(d)("general.addons")), 1),
|
|
270
270
|
k("b", null, O(h(se)(h(st), h(f))), 1)
|
|
271
|
-
])) :
|
|
271
|
+
])) : H("", !0)
|
|
272
272
|
])
|
|
273
273
|
])
|
|
274
|
-
])) :
|
|
274
|
+
])) : H("", !0)
|
|
275
275
|
]),
|
|
276
276
|
actions: tt(() => [
|
|
277
|
-
k("ul",
|
|
278
|
-
h(u) ?
|
|
279
|
-
Z(
|
|
277
|
+
k("ul", ma, [
|
|
278
|
+
h(u) ? H("", !0) : (T(), A("div", ga, [
|
|
279
|
+
Z(io, {
|
|
280
280
|
modelValue: h(W),
|
|
281
281
|
"onUpdate:modelValue": Y[0] || (Y[0] = (nt) => St(W) ? W.value = nt : null),
|
|
282
282
|
type: "checkbox",
|
|
@@ -284,10 +284,10 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
284
284
|
label: h(d)("booking.reservation.newsletterSignUp")
|
|
285
285
|
}, null, 8, ["modelValue", "label"])
|
|
286
286
|
])),
|
|
287
|
-
h(Ct) ? (T(), lt(
|
|
287
|
+
h(Ct) ? (T(), lt(io, {
|
|
288
288
|
key: 1,
|
|
289
|
-
modelValue: h(
|
|
290
|
-
"onUpdate:modelValue": Y[2] || (Y[2] = (nt) => St(
|
|
289
|
+
modelValue: h(F),
|
|
290
|
+
"onUpdate:modelValue": Y[2] || (Y[2] = (nt) => St(F) ? F.value = nt : null),
|
|
291
291
|
type: "checkbox",
|
|
292
292
|
name: "terms"
|
|
293
293
|
}, {
|
|
@@ -302,16 +302,16 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
302
302
|
class: "konnectio-accept-terms-link",
|
|
303
303
|
onClick: Y[1] || (Y[1] = ds((nt) => U.value = !0, ["prevent"]))
|
|
304
304
|
}, [
|
|
305
|
-
k("span", null, O(h(
|
|
305
|
+
k("span", null, O(h(Xn)(h(d)("general.termsAndConditions"))), 1)
|
|
306
306
|
])
|
|
307
307
|
]),
|
|
308
308
|
_: 1
|
|
309
309
|
})
|
|
310
310
|
]),
|
|
311
311
|
_: 1
|
|
312
|
-
}, 8, ["modelValue"])) :
|
|
313
|
-
|
|
314
|
-
Z(
|
|
312
|
+
}, 8, ["modelValue"])) : H("", !0),
|
|
313
|
+
Yn(N.$slots, "actions", {}, void 0, !0),
|
|
314
|
+
Z(qr, {
|
|
315
315
|
modelValue: U.value,
|
|
316
316
|
"onUpdate:modelValue": Y[3] || (Y[3] = (nt) => U.value = nt),
|
|
317
317
|
description: h(ut)
|
|
@@ -319,12 +319,12 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
319
319
|
])
|
|
320
320
|
]),
|
|
321
321
|
navigation: tt(() => [
|
|
322
|
-
|
|
322
|
+
Yn(N.$slots, "navigation", {}, void 0, !0)
|
|
323
323
|
]),
|
|
324
324
|
"mobile-under-price": tt(() => [
|
|
325
325
|
Y[5] || (Y[5] = k("span", null, "For ", -1)),
|
|
326
|
-
k("b", null, O(h(yi)(h(S), h(C))) + " " + O(h(
|
|
327
|
-
|
|
326
|
+
k("b", null, O(h(yi)(h(S), h(C))) + " " + O(h(Xn)(h(yi)(h(S), h(C)) === 1 ? h(d)("booking.reservation.night") : h(d)("booking.reservation.nights"))), 1),
|
|
327
|
+
Le((T(), A("span", va, [
|
|
328
328
|
Z(xt, {
|
|
329
329
|
icon: "circle-info",
|
|
330
330
|
type: "fas"
|
|
@@ -347,31 +347,31 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
347
347
|
isNaN(h(B)) ? void 0 : {
|
|
348
348
|
name: "reservation-summary",
|
|
349
349
|
fn: tt(() => [
|
|
350
|
-
h(bt) ? (T(), A("li",
|
|
350
|
+
h(bt) ? (T(), A("li", oa, [
|
|
351
351
|
k("span", null, O(h(d)("general.location")), 1),
|
|
352
352
|
k("b", null, [
|
|
353
353
|
k("span", null, O(h(re)(h(B))), 1),
|
|
354
|
-
|
|
354
|
+
Le(k("span", sa, [
|
|
355
355
|
Z(xt, {
|
|
356
356
|
icon: "exclamation-triangle",
|
|
357
357
|
type: "fas"
|
|
358
358
|
})
|
|
359
359
|
], 512), [
|
|
360
|
-
[
|
|
360
|
+
[Ae, h(E)]
|
|
361
361
|
])
|
|
362
362
|
])
|
|
363
|
-
])) :
|
|
363
|
+
])) : H("", !0),
|
|
364
364
|
k("li", null, [
|
|
365
365
|
k("span", null, O(h(d)("booking.reservation.arrival")), 1),
|
|
366
366
|
k("b", null, [
|
|
367
367
|
k("span", null, O(h(v)(h(B)) ? `${h(oe)(h(S))}, ${h(o)}` : h(oe)(h(S))), 1),
|
|
368
|
-
|
|
368
|
+
Le(k("span", ra, [
|
|
369
369
|
Z(xt, {
|
|
370
370
|
icon: "exclamation-triangle",
|
|
371
371
|
type: "fas"
|
|
372
372
|
})
|
|
373
373
|
], 512), [
|
|
374
|
-
[
|
|
374
|
+
[Ae, h(V)]
|
|
375
375
|
])
|
|
376
376
|
])
|
|
377
377
|
]),
|
|
@@ -379,36 +379,36 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
379
379
|
k("span", null, O(h(d)("booking.reservation.departure")), 1),
|
|
380
380
|
k("b", null, [
|
|
381
381
|
k("span", null, O(h(v)(h(B)) ? `${h(oe)(h(C))}, ${h(r)}` : h(oe)(h(C))), 1),
|
|
382
|
-
|
|
382
|
+
Le(k("span", aa, [
|
|
383
383
|
Z(xt, {
|
|
384
384
|
icon: "exclamation-triangle",
|
|
385
385
|
type: "fas"
|
|
386
386
|
})
|
|
387
387
|
], 512), [
|
|
388
|
-
[
|
|
388
|
+
[Ae, h(V)]
|
|
389
389
|
])
|
|
390
390
|
])
|
|
391
391
|
]),
|
|
392
392
|
k("li", null, [
|
|
393
393
|
k("span", null, O(h(d)("booking.reservation.nights")), 1),
|
|
394
|
-
k("b", null, O(h(yi)(h(S), h(C))) + " " + O(h(
|
|
394
|
+
k("b", null, O(h(yi)(h(S), h(C))) + " " + O(h(Xn)(h(yi)(h(S), h(C)) === 1 ? h(d)("booking.reservation.night") : h(d)("booking.reservation.nights"))), 1)
|
|
395
395
|
]),
|
|
396
396
|
h(P) ? (T(!0), A(mt, { key: 1 }, At(h(P), (nt) => (T(), A("li", {
|
|
397
397
|
key: nt.id
|
|
398
398
|
}, [
|
|
399
399
|
k("span", null, O(`${h(d)("general.discountCode")} (${nt.value})`), 1),
|
|
400
400
|
k("b", null, O(nt.key), 1)
|
|
401
|
-
]))), 128)) :
|
|
401
|
+
]))), 128)) : H("", !0)
|
|
402
402
|
]),
|
|
403
403
|
key: "0"
|
|
404
404
|
}
|
|
405
405
|
]), 1032, ["discount-code", "validate-discount-code", "total-price", "weekend-fee", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
|
|
406
406
|
};
|
|
407
407
|
}
|
|
408
|
-
}),
|
|
408
|
+
}), to = /* @__PURE__ */ Jt(ya, [["__scopeId", "data-v-b8ef29ab"]]), ba = { id: "konnectio-hotel-guest-discount" }, La = { class: "konnectio-panel" }, ka = /* @__PURE__ */ Nt({
|
|
409
409
|
__name: "GuestDiscountForm",
|
|
410
410
|
setup(p) {
|
|
411
|
-
const { t: d } = jt(), u =
|
|
411
|
+
const { t: d } = jt(), u = eo("history"), f = fe(), { display: v } = lo(), o = Ft();
|
|
412
412
|
function r() {
|
|
413
413
|
if (!o.value) {
|
|
414
414
|
v({
|
|
@@ -419,13 +419,13 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
419
419
|
}
|
|
420
420
|
u.gid = o.value.toString(), f.setGuestDiscountId(o.value), f.fetchAvailabilityData();
|
|
421
421
|
}
|
|
422
|
-
return (l, c) => (T(), A("form",
|
|
423
|
-
k("div",
|
|
422
|
+
return (l, c) => (T(), A("form", ba, [
|
|
423
|
+
k("div", La, [
|
|
424
424
|
c[1] || (c[1] = k("h3", { id: "konnectio-hotel-guest-discount-title" }, [
|
|
425
425
|
k("span", null, "Indtast venligst en gæsterabatkode")
|
|
426
426
|
], -1)),
|
|
427
427
|
c[2] || (c[2] = k("p", null, "Skal angives som et tal", -1)),
|
|
428
|
-
Z(
|
|
428
|
+
Z(Yr, {
|
|
429
429
|
modelValue: o.value,
|
|
430
430
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => o.value = m),
|
|
431
431
|
label: "Gæsterabatkode",
|
|
@@ -440,7 +440,7 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
440
440
|
])
|
|
441
441
|
]));
|
|
442
442
|
}
|
|
443
|
-
}),
|
|
443
|
+
}), wa = /* @__PURE__ */ Jt(ka, [["__scopeId", "data-v-19be0b8a"]]), Pa = { class: "konnectio-room-config-option" }, xa = { key: 0 }, Ca = { class: "konnectio-selected-room-config" }, Ta = { class: "konnectio-selected-room-config-people" }, Ma = { key: 0 }, Sa = { class: "konnectio-selected-room-config-price" }, Aa = /* @__PURE__ */ Nt({
|
|
444
444
|
__name: "RoomConfigField",
|
|
445
445
|
props: {
|
|
446
446
|
modelValue: {},
|
|
@@ -451,7 +451,7 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
451
451
|
},
|
|
452
452
|
emits: ["update:modelValue"],
|
|
453
453
|
setup(p, { emit: d }) {
|
|
454
|
-
const { t: u } = jt(), { currency: f } = qt(
|
|
454
|
+
const { t: u } = jt(), { currency: f } = qt(Ie()), v = d, o = p;
|
|
455
455
|
function r(c) {
|
|
456
456
|
v("update:modelValue", c);
|
|
457
457
|
}
|
|
@@ -459,7 +459,7 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
459
459
|
get: () => o.modelValue,
|
|
460
460
|
set: (c) => r(c)
|
|
461
461
|
});
|
|
462
|
-
return (c, m) => (T(), lt(
|
|
462
|
+
return (c, m) => (T(), lt(ln, {
|
|
463
463
|
modelValue: l.value,
|
|
464
464
|
"onUpdate:modelValue": m[0] || (m[0] = (y) => l.value = y),
|
|
465
465
|
label: c.label,
|
|
@@ -473,7 +473,7 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
473
473
|
searchable: !1
|
|
474
474
|
}, {
|
|
475
475
|
option: tt(({ data: y }) => [
|
|
476
|
-
k("span",
|
|
476
|
+
k("span", Pa, [
|
|
477
477
|
k("div", null, [
|
|
478
478
|
Z(xt, {
|
|
479
479
|
icon: "male",
|
|
@@ -481,51 +481,51 @@ const da = { key: 0 }, fa = { key: 1 }, pa = { key: 0 }, _a = { class: "konnecti
|
|
|
481
481
|
color: "font"
|
|
482
482
|
}),
|
|
483
483
|
k("span", null, O(`${y.adults}`), 1),
|
|
484
|
-
y.children > 0 ? (T(), A("span",
|
|
484
|
+
y.children > 0 ? (T(), A("span", xa, [
|
|
485
485
|
Z(xt, {
|
|
486
486
|
icon: "child",
|
|
487
487
|
type: "fas",
|
|
488
488
|
color: "font"
|
|
489
489
|
}),
|
|
490
490
|
k("span", null, O(`${y.children}`), 1)
|
|
491
|
-
])) :
|
|
491
|
+
])) : H("", !0)
|
|
492
492
|
]),
|
|
493
493
|
k("span", null, O(`(${h(se)(y.price, h(f))})`), 1)
|
|
494
494
|
])
|
|
495
495
|
]),
|
|
496
496
|
"selected-option": tt(({ data: y }) => [
|
|
497
|
-
k("div",
|
|
498
|
-
k("div",
|
|
497
|
+
k("div", Ca, [
|
|
498
|
+
k("div", Ta, [
|
|
499
499
|
k("div", null, [
|
|
500
|
-
|
|
500
|
+
H("", !0),
|
|
501
501
|
k("span", null, O(`${y.adults} ${y.adults === 1 ? h(u)("general.adult") : h(u)("general.adults")}`), 1)
|
|
502
502
|
]),
|
|
503
|
-
y.children > 0 ? (T(), A("div",
|
|
504
|
-
|
|
503
|
+
y.children > 0 ? (T(), A("div", Ma, [
|
|
504
|
+
H("", !0),
|
|
505
505
|
k("span", null, O(`& ${y.children} ${y.children === 1 ? h(u)("general.child") : h(u)("general.children")}`), 1)
|
|
506
|
-
])) :
|
|
506
|
+
])) : H("", !0)
|
|
507
507
|
]),
|
|
508
|
-
k("div",
|
|
508
|
+
k("div", Sa, [
|
|
509
509
|
m[1] || (m[1] = k("span", null, null, -1)),
|
|
510
|
-
|
|
510
|
+
nn(" " + O(`(${h(se)(y.price, h(f))})`), 1)
|
|
511
511
|
])
|
|
512
512
|
])
|
|
513
513
|
]),
|
|
514
514
|
_: 1
|
|
515
515
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
516
516
|
}
|
|
517
|
-
}),
|
|
517
|
+
}), Ia = /* @__PURE__ */ Jt(Aa, [["__scopeId", "data-v-c4045bfc"]]);
|
|
518
518
|
var Li = { exports: {} };
|
|
519
519
|
/* @preserve
|
|
520
520
|
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
|
521
521
|
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
|
522
522
|
*/
|
|
523
|
-
var
|
|
524
|
-
function
|
|
523
|
+
var Oa = Li.exports, is;
|
|
524
|
+
function Ea() {
|
|
525
525
|
return is || (is = 1, function(p, d) {
|
|
526
526
|
(function(u, f) {
|
|
527
527
|
f(d);
|
|
528
|
-
})(
|
|
528
|
+
})(Oa, function(u) {
|
|
529
529
|
var f = "1.9.4";
|
|
530
530
|
function v(t) {
|
|
531
531
|
var e, i, n, s;
|
|
@@ -589,7 +589,7 @@ function Oa() {
|
|
|
589
589
|
t.options[i] = e[i];
|
|
590
590
|
return t.options;
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function V(t, e, i) {
|
|
593
593
|
var n = [];
|
|
594
594
|
for (var s in t)
|
|
595
595
|
n.push(encodeURIComponent(i ? s.toUpperCase() : s) + "=" + encodeURIComponent(t[s]));
|
|
@@ -617,10 +617,10 @@ function Oa() {
|
|
|
617
617
|
function Ct(t) {
|
|
618
618
|
return window["webkit" + t] || window["moz" + t] || window["ms" + t];
|
|
619
619
|
}
|
|
620
|
-
var
|
|
620
|
+
var F = 0;
|
|
621
621
|
function st(t) {
|
|
622
|
-
var e = +/* @__PURE__ */ new Date(), i = Math.max(0, 16 - (e -
|
|
623
|
-
return
|
|
622
|
+
var e = +/* @__PURE__ */ new Date(), i = Math.max(0, 16 - (e - F));
|
|
623
|
+
return F = e + i, window.setTimeout(t, i);
|
|
624
624
|
}
|
|
625
625
|
var ht = window.requestAnimationFrame || Ct("RequestAnimationFrame") || st, Bt = window.cancelAnimationFrame || Ct("CancelAnimationFrame") || Ct("CancelRequestAnimationFrame") || function(t) {
|
|
626
626
|
window.clearTimeout(t);
|
|
@@ -650,7 +650,7 @@ function Oa() {
|
|
|
650
650
|
trim: P,
|
|
651
651
|
splitWords: S,
|
|
652
652
|
setOptions: C,
|
|
653
|
-
getParamString:
|
|
653
|
+
getParamString: V,
|
|
654
654
|
template: E,
|
|
655
655
|
isArray: W,
|
|
656
656
|
indexOf: ut,
|
|
@@ -1346,7 +1346,7 @@ function Oa() {
|
|
|
1346
1346
|
var i = Math.PI / 180, n = t.lat * i, s = e.lat * i, a = Math.sin((e.lat - t.lat) * i / 2), _ = Math.sin((e.lng - t.lng) * i / 2), b = a * a + Math.cos(n) * Math.cos(s) * _ * _, x = 2 * Math.atan2(Math.sqrt(b), Math.sqrt(1 - b));
|
|
1347
1347
|
return this.R * x;
|
|
1348
1348
|
}
|
|
1349
|
-
}), Kt = 6378137,
|
|
1349
|
+
}), Kt = 6378137, Oe = {
|
|
1350
1350
|
R: Kt,
|
|
1351
1351
|
MAX_LATITUDE: 85.0511287798,
|
|
1352
1352
|
project: function(t) {
|
|
@@ -1368,14 +1368,14 @@ function Oa() {
|
|
|
1368
1368
|
return new Y([-t, -t], [t, t]);
|
|
1369
1369
|
}()
|
|
1370
1370
|
};
|
|
1371
|
-
function
|
|
1371
|
+
function Ke(t, e, i, n) {
|
|
1372
1372
|
if (W(t)) {
|
|
1373
1373
|
this._a = t[0], this._b = t[1], this._c = t[2], this._d = t[3];
|
|
1374
1374
|
return;
|
|
1375
1375
|
}
|
|
1376
1376
|
this._a = t, this._b = e, this._c = i, this._d = n;
|
|
1377
1377
|
}
|
|
1378
|
-
|
|
1378
|
+
Ke.prototype = {
|
|
1379
1379
|
// @method transform(point: Point, scale?: Number): Point
|
|
1380
1380
|
// Returns a transformed point, optionally multiplied by the given scale.
|
|
1381
1381
|
// Only accepts actual `L.Point` instances, not arrays.
|
|
@@ -1396,23 +1396,23 @@ function Oa() {
|
|
|
1396
1396
|
);
|
|
1397
1397
|
}
|
|
1398
1398
|
};
|
|
1399
|
-
function
|
|
1400
|
-
return new
|
|
1399
|
+
function ke(t, e, i, n) {
|
|
1400
|
+
return new Ke(t, e, i, n);
|
|
1401
1401
|
}
|
|
1402
|
-
var
|
|
1402
|
+
var Ye = v({}, gt, {
|
|
1403
1403
|
code: "EPSG:3857",
|
|
1404
|
-
projection:
|
|
1404
|
+
projection: Oe,
|
|
1405
1405
|
transformation: function() {
|
|
1406
|
-
var t = 0.5 / (Math.PI *
|
|
1407
|
-
return
|
|
1406
|
+
var t = 0.5 / (Math.PI * Oe.R);
|
|
1407
|
+
return ke(t, 0.5, -t, 0.5);
|
|
1408
1408
|
}()
|
|
1409
|
-
}),
|
|
1409
|
+
}), hn = v({}, Ye, {
|
|
1410
1410
|
code: "EPSG:900913"
|
|
1411
1411
|
});
|
|
1412
|
-
function
|
|
1412
|
+
function Ee(t) {
|
|
1413
1413
|
return document.createElementNS("http://www.w3.org/2000/svg", t);
|
|
1414
1414
|
}
|
|
1415
|
-
function
|
|
1415
|
+
function xi(t, e) {
|
|
1416
1416
|
var i = "", n, s, a, _, b, x;
|
|
1417
1417
|
for (n = 0, a = t.length; n < a; n++) {
|
|
1418
1418
|
for (b = t[n], s = 0, _ = b.length; s < _; s++)
|
|
@@ -1421,7 +1421,7 @@ function Oa() {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
return i || "M0 0";
|
|
1423
1423
|
}
|
|
1424
|
-
var
|
|
1424
|
+
var Xe = document.documentElement.style, Be = "ActiveXObject" in window, cn = Be && !document.addEventListener, Ci = "msLaunchUri" in navigator && !("documentMode" in document), Je = Ht("webkit"), Qe = Ht("android"), ti = Ht("android 2") || Ht("android 3"), dn = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), fn = Qe && Ht("Google") && dn < 537 && !("AudioNode" in window), ei = !!window.opera, ii = !Ci && Ht("chrome"), ze = Ht("gecko") && !Je && !ei && !Be, pn = !ii && Ht("safari"), Ze = Ht("phantom"), De = "OTransition" in Xe, _n = navigator.platform.indexOf("Win") === 0, Ti = Be && "transition" in Xe, ni = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !ti, Mi = "MozPerspective" in Xe, mn = !window.L_DISABLE_3D && (Ti || ni || Mi) && !De && !Ze, we = typeof orientation < "u" || Ht("mobile"), gn = we && Je, Ne = we && ni, Si = !window.PointerEvent && window.MSPointerEvent, Ai = !!(window.PointerEvent || Si), Ii = "ontouchstart" in window || !!window.TouchEvent, vn = !window.L_NO_TOUCH && (Ii || Ai), oi = we && ei, Oi = we && ze, yn = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, bn = function() {
|
|
1425
1425
|
var t = !1;
|
|
1426
1426
|
try {
|
|
1427
1427
|
var e = Object.defineProperty({}, "passive", {
|
|
@@ -1433,12 +1433,12 @@ function Oa() {
|
|
|
1433
1433
|
} catch {
|
|
1434
1434
|
}
|
|
1435
1435
|
return t;
|
|
1436
|
-
}(),
|
|
1436
|
+
}(), Ln = function() {
|
|
1437
1437
|
return !!document.createElement("canvas").getContext;
|
|
1438
|
-
}(),
|
|
1438
|
+
}(), si = !!(document.createElementNS && Ee("svg").createSVGRect), kn = !!si && function() {
|
|
1439
1439
|
var t = document.createElement("div");
|
|
1440
1440
|
return t.innerHTML = "<svg/>", (t.firstChild && t.firstChild.namespaceURI) === "http://www.w3.org/2000/svg";
|
|
1441
|
-
}(),
|
|
1441
|
+
}(), wn = !si && function() {
|
|
1442
1442
|
try {
|
|
1443
1443
|
var t = document.createElement("div");
|
|
1444
1444
|
t.innerHTML = '<v:shape adj="1"/>';
|
|
@@ -1447,51 +1447,51 @@ function Oa() {
|
|
|
1447
1447
|
} catch {
|
|
1448
1448
|
return !1;
|
|
1449
1449
|
}
|
|
1450
|
-
}(), Qt = navigator.platform.indexOf("Mac") === 0,
|
|
1450
|
+
}(), Qt = navigator.platform.indexOf("Mac") === 0, ri = navigator.platform.indexOf("Linux") === 0;
|
|
1451
1451
|
function Ht(t) {
|
|
1452
1452
|
return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
|
|
1453
1453
|
}
|
|
1454
1454
|
var D = {
|
|
1455
|
-
ie:
|
|
1456
|
-
ielt9:
|
|
1457
|
-
edge:
|
|
1458
|
-
webkit:
|
|
1459
|
-
android:
|
|
1460
|
-
android23:
|
|
1461
|
-
androidStock:
|
|
1462
|
-
opera:
|
|
1463
|
-
chrome:
|
|
1464
|
-
gecko:
|
|
1465
|
-
safari:
|
|
1466
|
-
phantom:
|
|
1467
|
-
opera12:
|
|
1468
|
-
win:
|
|
1469
|
-
ie3d:
|
|
1470
|
-
webkit3d:
|
|
1471
|
-
gecko3d:
|
|
1472
|
-
any3d:
|
|
1473
|
-
mobile:
|
|
1474
|
-
mobileWebkit:
|
|
1475
|
-
mobileWebkit3d:
|
|
1476
|
-
msPointer:
|
|
1477
|
-
pointer:
|
|
1478
|
-
touch:
|
|
1479
|
-
touchNative:
|
|
1480
|
-
mobileOpera:
|
|
1481
|
-
mobileGecko:
|
|
1482
|
-
retina:
|
|
1483
|
-
passiveEvents:
|
|
1484
|
-
canvas:
|
|
1485
|
-
svg:
|
|
1486
|
-
vml:
|
|
1487
|
-
inlineSvg:
|
|
1455
|
+
ie: Be,
|
|
1456
|
+
ielt9: cn,
|
|
1457
|
+
edge: Ci,
|
|
1458
|
+
webkit: Je,
|
|
1459
|
+
android: Qe,
|
|
1460
|
+
android23: ti,
|
|
1461
|
+
androidStock: fn,
|
|
1462
|
+
opera: ei,
|
|
1463
|
+
chrome: ii,
|
|
1464
|
+
gecko: ze,
|
|
1465
|
+
safari: pn,
|
|
1466
|
+
phantom: Ze,
|
|
1467
|
+
opera12: De,
|
|
1468
|
+
win: _n,
|
|
1469
|
+
ie3d: Ti,
|
|
1470
|
+
webkit3d: ni,
|
|
1471
|
+
gecko3d: Mi,
|
|
1472
|
+
any3d: mn,
|
|
1473
|
+
mobile: we,
|
|
1474
|
+
mobileWebkit: gn,
|
|
1475
|
+
mobileWebkit3d: Ne,
|
|
1476
|
+
msPointer: Si,
|
|
1477
|
+
pointer: Ai,
|
|
1478
|
+
touch: vn,
|
|
1479
|
+
touchNative: Ii,
|
|
1480
|
+
mobileOpera: oi,
|
|
1481
|
+
mobileGecko: Oi,
|
|
1482
|
+
retina: yn,
|
|
1483
|
+
passiveEvents: bn,
|
|
1484
|
+
canvas: Ln,
|
|
1485
|
+
svg: si,
|
|
1486
|
+
vml: wn,
|
|
1487
|
+
inlineSvg: kn,
|
|
1488
1488
|
mac: Qt,
|
|
1489
|
-
linux:
|
|
1490
|
-
},
|
|
1491
|
-
touchstart:
|
|
1492
|
-
touchmove:
|
|
1493
|
-
touchend:
|
|
1494
|
-
touchcancel:
|
|
1489
|
+
linux: ri
|
|
1490
|
+
}, Ei = D.msPointer ? "MSPointerDown" : "pointerdown", Bi = D.msPointer ? "MSPointerMove" : "pointermove", zi = D.msPointer ? "MSPointerUp" : "pointerup", Zi = D.msPointer ? "MSPointerCancel" : "pointercancel", Re = {
|
|
1491
|
+
touchstart: Ei,
|
|
1492
|
+
touchmove: Bi,
|
|
1493
|
+
touchend: zi,
|
|
1494
|
+
touchcancel: Zi
|
|
1495
1495
|
}, z = {
|
|
1496
1496
|
touchstart: te,
|
|
1497
1497
|
touchmove: Vt,
|
|
@@ -1499,14 +1499,14 @@ function Oa() {
|
|
|
1499
1499
|
touchcancel: Vt
|
|
1500
1500
|
}, R = {}, vt = !1;
|
|
1501
1501
|
function j(t, e, i) {
|
|
1502
|
-
return e === "touchstart" && Gt(), z[e] ? (i = z[e].bind(this, i), t.addEventListener(
|
|
1502
|
+
return e === "touchstart" && Gt(), z[e] ? (i = z[e].bind(this, i), t.addEventListener(Re[e], i, !1), i) : (console.warn("wrong event specified:", e), g);
|
|
1503
1503
|
}
|
|
1504
1504
|
function ct(t, e, i) {
|
|
1505
|
-
if (!
|
|
1505
|
+
if (!Re[e]) {
|
|
1506
1506
|
console.warn("wrong event specified:", e);
|
|
1507
1507
|
return;
|
|
1508
1508
|
}
|
|
1509
|
-
t.removeEventListener(
|
|
1509
|
+
t.removeEventListener(Re[e], i, !1);
|
|
1510
1510
|
}
|
|
1511
1511
|
function $(t) {
|
|
1512
1512
|
R[t.pointerId] = t;
|
|
@@ -1518,7 +1518,7 @@ function Oa() {
|
|
|
1518
1518
|
delete R[t.pointerId];
|
|
1519
1519
|
}
|
|
1520
1520
|
function Gt() {
|
|
1521
|
-
vt || (document.addEventListener(
|
|
1521
|
+
vt || (document.addEventListener(Ei, $, !0), document.addEventListener(Bi, zt, !0), document.addEventListener(zi, ft, !0), document.addEventListener(Zi, ft, !0), vt = !0);
|
|
1522
1522
|
}
|
|
1523
1523
|
function Vt(t, e) {
|
|
1524
1524
|
if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
|
@@ -1531,14 +1531,14 @@ function Oa() {
|
|
|
1531
1531
|
function te(t, e) {
|
|
1532
1532
|
e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && Ot(e), Vt(t, e);
|
|
1533
1533
|
}
|
|
1534
|
-
function
|
|
1534
|
+
function He(t) {
|
|
1535
1535
|
var e = {}, i, n;
|
|
1536
1536
|
for (n in t)
|
|
1537
1537
|
i = t[n], e[n] = i && i.bind ? i.bind(t) : i;
|
|
1538
1538
|
return t = e, e.type = "dblclick", e.detail = 2, e.isTrusted = !1, e._simulated = !0, e;
|
|
1539
1539
|
}
|
|
1540
|
-
var
|
|
1541
|
-
function
|
|
1540
|
+
var ai = 200;
|
|
1541
|
+
function Pn(t, e) {
|
|
1542
1542
|
t.addEventListener("dblclick", e);
|
|
1543
1543
|
var i = 0, n;
|
|
1544
1544
|
function s(a) {
|
|
@@ -1554,7 +1554,7 @@ function Oa() {
|
|
|
1554
1554
|
return x instanceof HTMLInputElement || x instanceof HTMLSelectElement;
|
|
1555
1555
|
}))) {
|
|
1556
1556
|
var b = Date.now();
|
|
1557
|
-
b - i <=
|
|
1557
|
+
b - i <= ai ? (n++, n === 2 && e(He(a))) : n = 1, i = b;
|
|
1558
1558
|
}
|
|
1559
1559
|
}
|
|
1560
1560
|
}
|
|
@@ -1563,14 +1563,14 @@ function Oa() {
|
|
|
1563
1563
|
simDblclick: s
|
|
1564
1564
|
};
|
|
1565
1565
|
}
|
|
1566
|
-
function
|
|
1566
|
+
function xn(t, e) {
|
|
1567
1567
|
t.removeEventListener("dblclick", e.dblclick), t.removeEventListener("click", e.simDblclick);
|
|
1568
1568
|
}
|
|
1569
|
-
var
|
|
1569
|
+
var Pe = Hi(
|
|
1570
1570
|
["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
|
|
1571
|
-
),
|
|
1571
|
+
), _e = Hi(
|
|
1572
1572
|
["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
|
|
1573
|
-
),
|
|
1573
|
+
), Di = _e === "webkitTransition" || _e === "OTransition" ? _e + "End" : "transitionend";
|
|
1574
1574
|
function uo(t) {
|
|
1575
1575
|
return typeof t == "string" ? document.getElementById(t) : t;
|
|
1576
1576
|
}
|
|
@@ -1590,40 +1590,40 @@ function Oa() {
|
|
|
1590
1590
|
var e = t.parentNode;
|
|
1591
1591
|
e && e.removeChild(t);
|
|
1592
1592
|
}
|
|
1593
|
-
function
|
|
1593
|
+
function Ni(t) {
|
|
1594
1594
|
for (; t.firstChild; )
|
|
1595
1595
|
t.removeChild(t.firstChild);
|
|
1596
1596
|
}
|
|
1597
|
-
function
|
|
1597
|
+
function Ve(t) {
|
|
1598
1598
|
var e = t.parentNode;
|
|
1599
1599
|
e && e.lastChild !== t && e.appendChild(t);
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1601
|
+
function Fe(t) {
|
|
1602
1602
|
var e = t.parentNode;
|
|
1603
1603
|
e && e.firstChild !== t && e.insertBefore(t, e.firstChild);
|
|
1604
1604
|
}
|
|
1605
|
-
function
|
|
1605
|
+
function Cn(t, e) {
|
|
1606
1606
|
if (t.classList !== void 0)
|
|
1607
1607
|
return t.classList.contains(e);
|
|
1608
|
-
var i =
|
|
1608
|
+
var i = Ri(t);
|
|
1609
1609
|
return i.length > 0 && new RegExp("(^|\\s)" + e + "(\\s|$)").test(i);
|
|
1610
1610
|
}
|
|
1611
1611
|
function K(t, e) {
|
|
1612
1612
|
if (t.classList !== void 0)
|
|
1613
1613
|
for (var i = S(e), n = 0, s = i.length; n < s; n++)
|
|
1614
1614
|
t.classList.add(i[n]);
|
|
1615
|
-
else if (!
|
|
1616
|
-
var a =
|
|
1617
|
-
|
|
1615
|
+
else if (!Cn(t, e)) {
|
|
1616
|
+
var a = Ri(t);
|
|
1617
|
+
Tn(t, (a ? a + " " : "") + e);
|
|
1618
1618
|
}
|
|
1619
1619
|
}
|
|
1620
1620
|
function yt(t, e) {
|
|
1621
|
-
t.classList !== void 0 ? t.classList.remove(e) :
|
|
1621
|
+
t.classList !== void 0 ? t.classList.remove(e) : Tn(t, P((" " + Ri(t) + " ").replace(" " + e + " ", " ")));
|
|
1622
1622
|
}
|
|
1623
|
-
function
|
|
1623
|
+
function Tn(t, e) {
|
|
1624
1624
|
t.className.baseVal === void 0 ? t.className = e : t.className.baseVal = e;
|
|
1625
1625
|
}
|
|
1626
|
-
function
|
|
1626
|
+
function Ri(t) {
|
|
1627
1627
|
return t.correspondingElement && (t = t.correspondingElement), t.className.baseVal === void 0 ? t.className : t.className.baseVal;
|
|
1628
1628
|
}
|
|
1629
1629
|
function Ut(t, e) {
|
|
@@ -1639,23 +1639,23 @@ function Oa() {
|
|
|
1639
1639
|
}
|
|
1640
1640
|
e = Math.round(e * 100), i ? (i.Enabled = e !== 100, i.Opacity = e) : t.style.filter += " progid:" + n + "(opacity=" + e + ")";
|
|
1641
1641
|
}
|
|
1642
|
-
function
|
|
1642
|
+
function Hi(t) {
|
|
1643
1643
|
for (var e = document.documentElement.style, i = 0; i < t.length; i++)
|
|
1644
1644
|
if (t[i] in e)
|
|
1645
1645
|
return t[i];
|
|
1646
1646
|
return !1;
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1648
|
+
function xe(t, e, i) {
|
|
1649
1649
|
var n = e || new U(0, 0);
|
|
1650
|
-
t.style[
|
|
1650
|
+
t.style[Pe] = (D.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
|
|
1651
1651
|
}
|
|
1652
1652
|
function kt(t, e) {
|
|
1653
|
-
t._leaflet_pos = e, D.any3d ?
|
|
1653
|
+
t._leaflet_pos = e, D.any3d ? xe(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");
|
|
1654
1654
|
}
|
|
1655
|
-
function
|
|
1655
|
+
function Ce(t) {
|
|
1656
1656
|
return t._leaflet_pos || new U(0, 0);
|
|
1657
1657
|
}
|
|
1658
|
-
var ui, hi,
|
|
1658
|
+
var ui, hi, Mn;
|
|
1659
1659
|
if ("onselectstart" in document)
|
|
1660
1660
|
ui = function() {
|
|
1661
1661
|
q(window, "selectstart", Ot);
|
|
@@ -1663,32 +1663,32 @@ function Oa() {
|
|
|
1663
1663
|
dt(window, "selectstart", Ot);
|
|
1664
1664
|
};
|
|
1665
1665
|
else {
|
|
1666
|
-
var ci =
|
|
1666
|
+
var ci = Hi(
|
|
1667
1667
|
["userSelect", "WebkitUserSelect", "OUserSelect", "MozUserSelect", "msUserSelect"]
|
|
1668
1668
|
);
|
|
1669
1669
|
ui = function() {
|
|
1670
1670
|
if (ci) {
|
|
1671
1671
|
var t = document.documentElement.style;
|
|
1672
|
-
|
|
1672
|
+
Mn = t[ci], t[ci] = "none";
|
|
1673
1673
|
}
|
|
1674
1674
|
}, hi = function() {
|
|
1675
|
-
ci && (document.documentElement.style[ci] =
|
|
1675
|
+
ci && (document.documentElement.style[ci] = Mn, Mn = void 0);
|
|
1676
1676
|
};
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1678
|
+
function Sn() {
|
|
1679
1679
|
q(window, "dragstart", Ot);
|
|
1680
1680
|
}
|
|
1681
|
-
function
|
|
1681
|
+
function An() {
|
|
1682
1682
|
dt(window, "dragstart", Ot);
|
|
1683
1683
|
}
|
|
1684
|
-
var
|
|
1685
|
-
function
|
|
1684
|
+
var Vi, In;
|
|
1685
|
+
function On(t) {
|
|
1686
1686
|
for (; t.tabIndex === -1; )
|
|
1687
1687
|
t = t.parentNode;
|
|
1688
|
-
t.style && (
|
|
1688
|
+
t.style && (Fi(), Vi = t, In = t.style.outlineStyle, t.style.outlineStyle = "none", q(window, "keydown", Fi));
|
|
1689
1689
|
}
|
|
1690
|
-
function
|
|
1691
|
-
|
|
1690
|
+
function Fi() {
|
|
1691
|
+
Vi && (Vi.style.outlineStyle = In, Vi = void 0, In = void 0, dt(window, "keydown", Fi));
|
|
1692
1692
|
}
|
|
1693
1693
|
function ho(t) {
|
|
1694
1694
|
do
|
|
@@ -1696,7 +1696,7 @@ function Oa() {
|
|
|
1696
1696
|
while ((!t.offsetWidth || !t.offsetHeight) && t !== document.body);
|
|
1697
1697
|
return t;
|
|
1698
1698
|
}
|
|
1699
|
-
function
|
|
1699
|
+
function En(t) {
|
|
1700
1700
|
var e = t.getBoundingClientRect();
|
|
1701
1701
|
return {
|
|
1702
1702
|
x: e.width / t.offsetWidth || 1,
|
|
@@ -1706,47 +1706,47 @@ function Oa() {
|
|
|
1706
1706
|
}
|
|
1707
1707
|
var Ps = {
|
|
1708
1708
|
__proto__: null,
|
|
1709
|
-
TRANSFORM:
|
|
1710
|
-
TRANSITION:
|
|
1711
|
-
TRANSITION_END:
|
|
1709
|
+
TRANSFORM: Pe,
|
|
1710
|
+
TRANSITION: _e,
|
|
1711
|
+
TRANSITION_END: Di,
|
|
1712
1712
|
get: uo,
|
|
1713
1713
|
getStyle: li,
|
|
1714
1714
|
create: rt,
|
|
1715
1715
|
remove: _t,
|
|
1716
|
-
empty:
|
|
1717
|
-
toFront:
|
|
1718
|
-
toBack:
|
|
1719
|
-
hasClass:
|
|
1716
|
+
empty: Ni,
|
|
1717
|
+
toFront: Ve,
|
|
1718
|
+
toBack: Fe,
|
|
1719
|
+
hasClass: Cn,
|
|
1720
1720
|
addClass: K,
|
|
1721
1721
|
removeClass: yt,
|
|
1722
|
-
setClass:
|
|
1723
|
-
getClass:
|
|
1722
|
+
setClass: Tn,
|
|
1723
|
+
getClass: Ri,
|
|
1724
1724
|
setOpacity: Ut,
|
|
1725
|
-
testProp:
|
|
1726
|
-
setTransform:
|
|
1725
|
+
testProp: Hi,
|
|
1726
|
+
setTransform: xe,
|
|
1727
1727
|
setPosition: kt,
|
|
1728
|
-
getPosition:
|
|
1728
|
+
getPosition: Ce,
|
|
1729
1729
|
get disableTextSelection() {
|
|
1730
1730
|
return ui;
|
|
1731
1731
|
},
|
|
1732
1732
|
get enableTextSelection() {
|
|
1733
1733
|
return hi;
|
|
1734
1734
|
},
|
|
1735
|
-
disableImageDrag:
|
|
1736
|
-
enableImageDrag:
|
|
1737
|
-
preventOutline:
|
|
1738
|
-
restoreOutline:
|
|
1735
|
+
disableImageDrag: Sn,
|
|
1736
|
+
enableImageDrag: An,
|
|
1737
|
+
preventOutline: On,
|
|
1738
|
+
restoreOutline: Fi,
|
|
1739
1739
|
getSizedParentNode: ho,
|
|
1740
|
-
getScale:
|
|
1740
|
+
getScale: En
|
|
1741
1741
|
};
|
|
1742
1742
|
function q(t, e, i, n) {
|
|
1743
1743
|
if (e && typeof e == "object")
|
|
1744
1744
|
for (var s in e)
|
|
1745
|
-
|
|
1745
|
+
zn(t, s, e[s], i);
|
|
1746
1746
|
else {
|
|
1747
1747
|
e = S(e);
|
|
1748
1748
|
for (var a = 0, _ = e.length; a < _; a++)
|
|
1749
|
-
|
|
1749
|
+
zn(t, e[a], i, n);
|
|
1750
1750
|
}
|
|
1751
1751
|
return this;
|
|
1752
1752
|
}
|
|
@@ -1756,59 +1756,59 @@ function Oa() {
|
|
|
1756
1756
|
co(t), delete t[ee];
|
|
1757
1757
|
else if (e && typeof e == "object")
|
|
1758
1758
|
for (var s in e)
|
|
1759
|
-
|
|
1759
|
+
Zn(t, s, e[s], i);
|
|
1760
1760
|
else if (e = S(e), arguments.length === 2)
|
|
1761
1761
|
co(t, function(b) {
|
|
1762
1762
|
return ut(e, b) !== -1;
|
|
1763
1763
|
});
|
|
1764
1764
|
else
|
|
1765
1765
|
for (var a = 0, _ = e.length; a < _; a++)
|
|
1766
|
-
|
|
1766
|
+
Zn(t, e[a], i, n);
|
|
1767
1767
|
return this;
|
|
1768
1768
|
}
|
|
1769
1769
|
function co(t, e) {
|
|
1770
1770
|
for (var i in t[ee]) {
|
|
1771
1771
|
var n = i.split(/\d/)[0];
|
|
1772
|
-
(!e || e(n)) &&
|
|
1772
|
+
(!e || e(n)) && Zn(t, n, null, null, i);
|
|
1773
1773
|
}
|
|
1774
1774
|
}
|
|
1775
|
-
var
|
|
1775
|
+
var Bn = {
|
|
1776
1776
|
mouseenter: "mouseover",
|
|
1777
1777
|
mouseleave: "mouseout",
|
|
1778
1778
|
wheel: !("onwheel" in window) && "mousewheel"
|
|
1779
1779
|
};
|
|
1780
|
-
function
|
|
1780
|
+
function zn(t, e, i, n) {
|
|
1781
1781
|
var s = e + c(i) + (n ? "_" + c(n) : "");
|
|
1782
1782
|
if (t[ee] && t[ee][s])
|
|
1783
1783
|
return this;
|
|
1784
1784
|
var a = function(b) {
|
|
1785
1785
|
return i.call(n || t, b || window.event);
|
|
1786
1786
|
}, _ = a;
|
|
1787
|
-
!D.touchNative && D.pointer && e.indexOf("touch") === 0 ? a = j(t, e, a) : D.touch && e === "dblclick" ? a =
|
|
1788
|
-
b = b || window.event,
|
|
1789
|
-
}, t.addEventListener(
|
|
1787
|
+
!D.touchNative && D.pointer && e.indexOf("touch") === 0 ? a = j(t, e, a) : D.touch && e === "dblclick" ? a = Pn(t, a) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(Bn[e] || e, a, D.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (a = function(b) {
|
|
1788
|
+
b = b || window.event, Nn(t, b) && _(b);
|
|
1789
|
+
}, t.addEventListener(Bn[e], a, !1)) : t.addEventListener(e, _, !1) : t.attachEvent("on" + e, a), t[ee] = t[ee] || {}, t[ee][s] = a;
|
|
1790
1790
|
}
|
|
1791
|
-
function
|
|
1791
|
+
function Zn(t, e, i, n, s) {
|
|
1792
1792
|
s = s || e + c(i) + (n ? "_" + c(n) : "");
|
|
1793
1793
|
var a = t[ee] && t[ee][s];
|
|
1794
1794
|
if (!a)
|
|
1795
1795
|
return this;
|
|
1796
|
-
!D.touchNative && D.pointer && e.indexOf("touch") === 0 ? ct(t, e, a) : D.touch && e === "dblclick" ?
|
|
1796
|
+
!D.touchNative && D.pointer && e.indexOf("touch") === 0 ? ct(t, e, a) : D.touch && e === "dblclick" ? xn(t, a) : "removeEventListener" in t ? t.removeEventListener(Bn[e] || e, a, !1) : t.detachEvent("on" + e, a), t[ee][s] = null;
|
|
1797
1797
|
}
|
|
1798
|
-
function
|
|
1798
|
+
function Te(t) {
|
|
1799
1799
|
return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
|
|
1800
1800
|
}
|
|
1801
|
-
function
|
|
1802
|
-
return
|
|
1801
|
+
function Dn(t) {
|
|
1802
|
+
return zn(t, "wheel", Te), this;
|
|
1803
1803
|
}
|
|
1804
1804
|
function di(t) {
|
|
1805
|
-
return q(t, "mousedown touchstart dblclick contextmenu",
|
|
1805
|
+
return q(t, "mousedown touchstart dblclick contextmenu", Te), t._leaflet_disable_click = !0, this;
|
|
1806
1806
|
}
|
|
1807
1807
|
function Ot(t) {
|
|
1808
1808
|
return t.preventDefault ? t.preventDefault() : t.returnValue = !1, this;
|
|
1809
1809
|
}
|
|
1810
|
-
function
|
|
1811
|
-
return Ot(t),
|
|
1810
|
+
function Me(t) {
|
|
1811
|
+
return Ot(t), Te(t), this;
|
|
1812
1812
|
}
|
|
1813
1813
|
function fo(t) {
|
|
1814
1814
|
if (t.composedPath)
|
|
@@ -1820,7 +1820,7 @@ function Oa() {
|
|
|
1820
1820
|
function po(t, e) {
|
|
1821
1821
|
if (!e)
|
|
1822
1822
|
return new U(t.clientX, t.clientY);
|
|
1823
|
-
var i =
|
|
1823
|
+
var i = En(e), n = i.boundingClientRect;
|
|
1824
1824
|
return new U(
|
|
1825
1825
|
// offset.left/top values are in page scale (like clientX/Y),
|
|
1826
1826
|
// whereas clientLeft/Top (border width) values are the original values (before CSS scale applies).
|
|
@@ -1856,7 +1856,7 @@ function Oa() {
|
|
|
1856
1856
|
)
|
|
1857
1857
|
);
|
|
1858
1858
|
}
|
|
1859
|
-
function
|
|
1859
|
+
function Nn(t, e) {
|
|
1860
1860
|
var i = e.relatedTarget;
|
|
1861
1861
|
if (!i)
|
|
1862
1862
|
return !0;
|
|
@@ -1872,15 +1872,15 @@ function Oa() {
|
|
|
1872
1872
|
__proto__: null,
|
|
1873
1873
|
on: q,
|
|
1874
1874
|
off: dt,
|
|
1875
|
-
stopPropagation:
|
|
1876
|
-
disableScrollPropagation:
|
|
1875
|
+
stopPropagation: Te,
|
|
1876
|
+
disableScrollPropagation: Dn,
|
|
1877
1877
|
disableClickPropagation: di,
|
|
1878
1878
|
preventDefault: Ot,
|
|
1879
|
-
stop:
|
|
1879
|
+
stop: Me,
|
|
1880
1880
|
getPropagationPath: fo,
|
|
1881
1881
|
getMousePosition: po,
|
|
1882
1882
|
getWheelDelta: _o,
|
|
1883
|
-
isExternalTarget:
|
|
1883
|
+
isExternalTarget: Nn,
|
|
1884
1884
|
addListener: q,
|
|
1885
1885
|
removeListener: dt
|
|
1886
1886
|
}, mo = re.extend({
|
|
@@ -1890,7 +1890,7 @@ function Oa() {
|
|
|
1890
1890
|
// argument of the [cubic bezier curve](https://cubic-bezier.com/#0,0,.5,1),
|
|
1891
1891
|
// `0.5` by default).
|
|
1892
1892
|
run: function(t, e, i, n) {
|
|
1893
|
-
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 =
|
|
1893
|
+
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();
|
|
1894
1894
|
},
|
|
1895
1895
|
// @method stop()
|
|
1896
1896
|
// Stops the animation (if currently running).
|
|
@@ -1920,7 +1920,7 @@ function Oa() {
|
|
|
1920
1920
|
// @option crs: CRS = L.CRS.EPSG3857
|
|
1921
1921
|
// The [Coordinate Reference System](#crs) to use. Don't change this if you're not
|
|
1922
1922
|
// sure what it means.
|
|
1923
|
-
crs:
|
|
1923
|
+
crs: Ye,
|
|
1924
1924
|
// @option center: LatLng = undefined
|
|
1925
1925
|
// Initial geographic center of the map
|
|
1926
1926
|
center: void 0,
|
|
@@ -1992,7 +1992,7 @@ function Oa() {
|
|
|
1992
1992
|
trackResize: !0
|
|
1993
1993
|
},
|
|
1994
1994
|
initialize: function(t, e) {
|
|
1995
|
-
e = C(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = r(this._onResize, this), this._initEvents(), e.maxBounds && this.setMaxBounds(e.maxBounds), e.zoom !== void 0 && (this._zoom = this._limitZoom(e.zoom)), e.center && e.zoom !== void 0 && this.setView(X(e.center), e.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated =
|
|
1995
|
+
e = C(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = r(this._onResize, this), this._initEvents(), e.maxBounds && this.setMaxBounds(e.maxBounds), e.zoom !== void 0 && (this._zoom = this._limitZoom(e.zoom)), e.center && e.zoom !== void 0 && this.setView(X(e.center), e.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = _e && D.any3d && !D.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), q(this._proxy, Di, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
|
|
1996
1996
|
},
|
|
1997
1997
|
// @section Methods for modifying map state
|
|
1998
1998
|
// @method setView(center: LatLng, zoom: Number, options?: Zoom/pan options): this
|
|
@@ -2095,7 +2095,7 @@ function Oa() {
|
|
|
2095
2095
|
t = X(t), e = e === void 0 ? _ : e;
|
|
2096
2096
|
var b = Math.max(a.x, a.y), x = b * this.getZoomScale(_, e), M = s.distanceTo(n) || 1, I = 1.42, G = I * I;
|
|
2097
2097
|
function J(wt) {
|
|
2098
|
-
var
|
|
2098
|
+
var tn = wt ? -1 : 1, pr = wt ? x : b, _r = x * x - b * b + tn * G * G * M * M, mr = 2 * pr * G * M, Kn = _r / mr, Yo = Math.sqrt(Kn * Kn + 1) - Kn, gr = Yo < 1e-9 ? -18 : Math.log(Yo);
|
|
2099
2099
|
return gr;
|
|
2100
2100
|
}
|
|
2101
2101
|
function Zt(wt) {
|
|
@@ -2108,7 +2108,7 @@ function Oa() {
|
|
|
2108
2108
|
return Zt(wt) / Mt(wt);
|
|
2109
2109
|
}
|
|
2110
2110
|
var Dt = J(0);
|
|
2111
|
-
function
|
|
2111
|
+
function je(wt) {
|
|
2112
2112
|
return b * (Mt(Dt) / Mt(Dt + I * wt));
|
|
2113
2113
|
}
|
|
2114
2114
|
function hr(wt) {
|
|
@@ -2119,10 +2119,10 @@ function Oa() {
|
|
|
2119
2119
|
}
|
|
2120
2120
|
var dr = Date.now(), jo = (J(1) - Dt) / I, fr = i.duration ? 1e3 * i.duration : 1e3 * jo * 0.8;
|
|
2121
2121
|
function Ko() {
|
|
2122
|
-
var wt = (Date.now() - dr) / fr,
|
|
2122
|
+
var wt = (Date.now() - dr) / fr, tn = cr(wt) * jo;
|
|
2123
2123
|
wt <= 1 ? (this._flyToFrame = at(Ko, this), this._move(
|
|
2124
|
-
this.unproject(n.add(s.subtract(n).multiplyBy(hr(
|
|
2125
|
-
this.getScaleZoom(b /
|
|
2124
|
+
this.unproject(n.add(s.subtract(n).multiplyBy(hr(tn) / M)), _),
|
|
2125
|
+
this.getScaleZoom(b / je(tn), _),
|
|
2126
2126
|
{ flyTo: !0 }
|
|
2127
2127
|
)) : this._move(t, e)._moveEnd(!0);
|
|
2128
2128
|
}
|
|
@@ -2581,7 +2581,7 @@ function Oa() {
|
|
|
2581
2581
|
_ = !0;
|
|
2582
2582
|
break;
|
|
2583
2583
|
}
|
|
2584
|
-
if (n && n.listens(e, !0) && (s && !
|
|
2584
|
+
if (n && n.listens(e, !0) && (s && !Nn(a, t) || (i.push(n), s)) || a === this._container)
|
|
2585
2585
|
break;
|
|
2586
2586
|
a = a.parentNode;
|
|
2587
2587
|
}
|
|
@@ -2598,7 +2598,7 @@ function Oa() {
|
|
|
2598
2598
|
var e = t.target || t.srcElement;
|
|
2599
2599
|
if (!(!this._loaded || e._leaflet_disable_events || t.type === "click" && this._isClickDisabled(e))) {
|
|
2600
2600
|
var i = t.type;
|
|
2601
|
-
i === "mousedown" &&
|
|
2601
|
+
i === "mousedown" && On(e), this._fireDOMEvent(t, i);
|
|
2602
2602
|
}
|
|
2603
2603
|
},
|
|
2604
2604
|
_mouseEvents: ["click", "dblclick", "mouseover", "mouseout", "contextmenu"],
|
|
@@ -2644,7 +2644,7 @@ function Oa() {
|
|
|
2644
2644
|
},
|
|
2645
2645
|
// private methods for getting map state
|
|
2646
2646
|
_getMapPanePos: function() {
|
|
2647
|
-
return
|
|
2647
|
+
return Ce(this._mapPane) || new U(0, 0);
|
|
2648
2648
|
},
|
|
2649
2649
|
_moved: function() {
|
|
2650
2650
|
var t = this._getMapPanePos();
|
|
@@ -2721,8 +2721,8 @@ function Oa() {
|
|
|
2721
2721
|
_createAnimProxy: function() {
|
|
2722
2722
|
var t = this._proxy = rt("div", "leaflet-proxy leaflet-zoom-animated");
|
|
2723
2723
|
this._panes.mapPane.appendChild(t), this.on("zoomanim", function(e) {
|
|
2724
|
-
var i =
|
|
2725
|
-
|
|
2724
|
+
var i = Pe, n = this._proxy.style[i];
|
|
2725
|
+
xe(this._proxy, this.project(e.center, e.zoom), this.getZoomScale(e.zoom, 1)), n === this._proxy.style[i] && this._animatingZoom && this._onZoomTransitionEnd();
|
|
2726
2726
|
}, this), this.on("load moveend", this._animMoveEnd, this), this._on("unload", this._destroyAnimProxy, this);
|
|
2727
2727
|
},
|
|
2728
2728
|
_destroyAnimProxy: function() {
|
|
@@ -2730,7 +2730,7 @@ function Oa() {
|
|
|
2730
2730
|
},
|
|
2731
2731
|
_animMoveEnd: function() {
|
|
2732
2732
|
var t = this.getCenter(), e = this.getZoom();
|
|
2733
|
-
|
|
2733
|
+
xe(this._proxy, this.project(t, e), this.getZoomScale(e, 1));
|
|
2734
2734
|
},
|
|
2735
2735
|
_catchTransitionEnd: function(t) {
|
|
2736
2736
|
this._animatingZoom && t.propertyName.indexOf("transform") >= 0 && this._onZoomTransitionEnd();
|
|
@@ -2917,7 +2917,7 @@ function Oa() {
|
|
|
2917
2917
|
},
|
|
2918
2918
|
_initLayout: function() {
|
|
2919
2919
|
var t = "leaflet-control-layers", e = this._container = rt("div", t), i = this.options.collapsed;
|
|
2920
|
-
e.setAttribute("aria-haspopup", !0), di(e),
|
|
2920
|
+
e.setAttribute("aria-haspopup", !0), di(e), Dn(e);
|
|
2921
2921
|
var n = this._section = rt("section", t + "-list");
|
|
2922
2922
|
i && (this._map.on("click", this.collapse, this), q(e, {
|
|
2923
2923
|
mouseenter: this._expandSafely,
|
|
@@ -2951,7 +2951,7 @@ function Oa() {
|
|
|
2951
2951
|
_update: function() {
|
|
2952
2952
|
if (!this._container)
|
|
2953
2953
|
return this;
|
|
2954
|
-
|
|
2954
|
+
Ni(this._baseLayersList), Ni(this._overlaysList), this._layerControlInputs = [];
|
|
2955
2955
|
var t, e, i, n, s = 0;
|
|
2956
2956
|
for (i = 0; i < this._layers.length; i++)
|
|
2957
2957
|
n = this._layers[i], this._addItem(n), e = e || n.overlay, t = t || !n.overlay, s += n.overlay ? 0 : 1;
|
|
@@ -3007,7 +3007,7 @@ function Oa() {
|
|
|
3007
3007
|
}
|
|
3008
3008
|
}), Ms = function(t, e, i) {
|
|
3009
3009
|
return new go(t, e, i);
|
|
3010
|
-
},
|
|
3010
|
+
}, Rn = Yt.extend({
|
|
3011
3011
|
// @section
|
|
3012
3012
|
// @aka Control.Zoom options
|
|
3013
3013
|
options: {
|
|
@@ -3058,7 +3058,7 @@ function Oa() {
|
|
|
3058
3058
|
},
|
|
3059
3059
|
_createButton: function(t, e, i, n, s) {
|
|
3060
3060
|
var a = rt("a", i, n);
|
|
3061
|
-
return a.innerHTML = t, a.href = "#", a.title = e, a.setAttribute("role", "button"), a.setAttribute("aria-label", e), di(a), q(a, "click",
|
|
3061
|
+
return a.innerHTML = t, a.href = "#", a.title = e, a.setAttribute("role", "button"), a.setAttribute("aria-label", e), di(a), q(a, "click", Me), q(a, "click", s, this), q(a, "click", this._refocusOnMap, this), a;
|
|
3062
3062
|
},
|
|
3063
3063
|
_updateDisabled: function() {
|
|
3064
3064
|
var t = this._map, e = "leaflet-disabled";
|
|
@@ -3068,10 +3068,10 @@ function Oa() {
|
|
|
3068
3068
|
it.mergeOptions({
|
|
3069
3069
|
zoomControl: !0
|
|
3070
3070
|
}), it.addInitHook(function() {
|
|
3071
|
-
this.options.zoomControl && (this.zoomControl = new
|
|
3071
|
+
this.options.zoomControl && (this.zoomControl = new Rn(), this.addControl(this.zoomControl));
|
|
3072
3072
|
});
|
|
3073
3073
|
var Ss = function(t) {
|
|
3074
|
-
return new
|
|
3074
|
+
return new Rn(t);
|
|
3075
3075
|
}, vo = Yt.extend({
|
|
3076
3076
|
// @section
|
|
3077
3077
|
// @aka Control.Scale options
|
|
@@ -3126,7 +3126,7 @@ function Oa() {
|
|
|
3126
3126
|
}
|
|
3127
3127
|
}), As = function(t) {
|
|
3128
3128
|
return new vo(t);
|
|
3129
|
-
}, Is = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>',
|
|
3129
|
+
}, Is = '<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg>', Hn = Yt.extend({
|
|
3130
3130
|
// @section
|
|
3131
3131
|
// @aka Control.Attribution options
|
|
3132
3132
|
options: {
|
|
@@ -3180,12 +3180,12 @@ function Oa() {
|
|
|
3180
3180
|
it.mergeOptions({
|
|
3181
3181
|
attributionControl: !0
|
|
3182
3182
|
}), it.addInitHook(function() {
|
|
3183
|
-
this.options.attributionControl && new
|
|
3183
|
+
this.options.attributionControl && new Hn().addTo(this);
|
|
3184
3184
|
});
|
|
3185
3185
|
var Os = function(t) {
|
|
3186
|
-
return new
|
|
3186
|
+
return new Hn(t);
|
|
3187
3187
|
};
|
|
3188
|
-
Yt.Layers = go, Yt.Zoom =
|
|
3188
|
+
Yt.Layers = go, Yt.Zoom = Rn, Yt.Scale = vo, Yt.Attribution = Hn, fi.layers = Ms, fi.zoom = Ss, fi.scale = As, fi.attribution = Os;
|
|
3189
3189
|
var ie = bt.extend({
|
|
3190
3190
|
initialize: function(t) {
|
|
3191
3191
|
this._map = t;
|
|
@@ -3215,7 +3215,7 @@ function Oa() {
|
|
|
3215
3215
|
ie.addTo = function(t, e) {
|
|
3216
3216
|
return t.addHandler(e, this), this;
|
|
3217
3217
|
};
|
|
3218
|
-
var Es = { Events: It }, yo = D.touch ? "touchstart mousedown" : "mousedown",
|
|
3218
|
+
var Es = { Events: It }, yo = D.touch ? "touchstart mousedown" : "mousedown", me = re.extend({
|
|
3219
3219
|
options: {
|
|
3220
3220
|
// @section
|
|
3221
3221
|
// @aka Draggable options
|
|
@@ -3237,18 +3237,18 @@ function Oa() {
|
|
|
3237
3237
|
// @method disable()
|
|
3238
3238
|
// Disables the dragging ability
|
|
3239
3239
|
disable: function() {
|
|
3240
|
-
this._enabled && (
|
|
3240
|
+
this._enabled && (me._dragging === this && this.finishDrag(!0), dt(this._dragStartTarget, yo, this._onDown, this), this._enabled = !1, this._moved = !1);
|
|
3241
3241
|
},
|
|
3242
3242
|
_onDown: function(t) {
|
|
3243
|
-
if (this._enabled && (this._moved = !1, !
|
|
3243
|
+
if (this._enabled && (this._moved = !1, !Cn(this._element, "leaflet-zoom-anim"))) {
|
|
3244
3244
|
if (t.touches && t.touches.length !== 1) {
|
|
3245
|
-
|
|
3245
|
+
me._dragging === this && this.finishDrag();
|
|
3246
3246
|
return;
|
|
3247
3247
|
}
|
|
3248
|
-
if (!(
|
|
3248
|
+
if (!(me._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (me._dragging = this, this._preventOutline && On(this._element), Sn(), ui(), !this._moving)) {
|
|
3249
3249
|
this.fire("down");
|
|
3250
3250
|
var e = t.touches ? t.touches[0] : t, i = ho(this._element);
|
|
3251
|
-
this._startPoint = new U(e.clientX, e.clientY), this._startPos =
|
|
3251
|
+
this._startPoint = new U(e.clientX, e.clientY), this._startPos = Ce(this._element), this._parentScale = En(i);
|
|
3252
3252
|
var n = t.type === "mousedown";
|
|
3253
3253
|
q(document, n ? "mousemove" : "touchmove", this._onMove, this), q(document, n ? "mouseup" : "touchend touchcancel", this._onUp, this);
|
|
3254
3254
|
}
|
|
@@ -3272,9 +3272,9 @@ function Oa() {
|
|
|
3272
3272
|
this._enabled && this.finishDrag();
|
|
3273
3273
|
},
|
|
3274
3274
|
finishDrag: function(t) {
|
|
3275
|
-
yt(document.body, "leaflet-dragging"), this._lastTarget && (yt(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), dt(document, "mousemove touchmove", this._onMove, this), dt(document, "mouseup touchend touchcancel", this._onUp, this),
|
|
3275
|
+
yt(document.body, "leaflet-dragging"), this._lastTarget && (yt(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), dt(document, "mousemove touchmove", this._onMove, this), dt(document, "mouseup touchend touchcancel", this._onUp, this), An(), hi();
|
|
3276
3276
|
var e = this._moved && this._moving;
|
|
3277
|
-
this._moving = !1,
|
|
3277
|
+
this._moving = !1, me._dragging = !1, e && this.fire("dragend", {
|
|
3278
3278
|
noInertia: t,
|
|
3279
3279
|
distance: this._newPos.distanceTo(this._startPos)
|
|
3280
3280
|
});
|
|
@@ -3283,10 +3283,10 @@ function Oa() {
|
|
|
3283
3283
|
function bo(t, e, i) {
|
|
3284
3284
|
var n, s = [1, 4, 2, 8], a, _, b, x, M, I, G, J;
|
|
3285
3285
|
for (a = 0, I = t.length; a < I; a++)
|
|
3286
|
-
t[a]._code =
|
|
3286
|
+
t[a]._code = Se(t[a], e);
|
|
3287
3287
|
for (b = 0; b < 4; b++) {
|
|
3288
3288
|
for (G = s[b], n = [], a = 0, I = t.length, _ = I - 1; a < I; _ = a++)
|
|
3289
|
-
x = t[a], M = t[_], x._code & G ? M._code & G || (J =
|
|
3289
|
+
x = t[a], M = t[_], x._code & G ? M._code & G || (J = Gi(M, x, G, e, i), J._code = Se(J, e), n.push(J)) : (M._code & G && (J = Gi(M, x, G, e, i), J._code = Se(J, e), n.push(J)), n.push(x));
|
|
3290
3290
|
t = n;
|
|
3291
3291
|
}
|
|
3292
3292
|
return t;
|
|
@@ -3297,7 +3297,7 @@ function Oa() {
|
|
|
3297
3297
|
throw new Error("latlngs not passed");
|
|
3298
3298
|
$t(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
|
3299
3299
|
var G = X([0, 0]), J = pt(t), Zt = J.getNorthWest().distanceTo(J.getSouthWest()) * J.getNorthEast().distanceTo(J.getNorthWest());
|
|
3300
|
-
Zt < 1700 && (G =
|
|
3300
|
+
Zt < 1700 && (G = Vn(t));
|
|
3301
3301
|
var Mt = t.length, Wt = [];
|
|
3302
3302
|
for (i = 0; i < Mt; i++) {
|
|
3303
3303
|
var Dt = X(t[i]);
|
|
@@ -3306,10 +3306,10 @@ function Oa() {
|
|
|
3306
3306
|
for (b = x = M = 0, i = 0, n = Mt - 1; i < Mt; n = i++)
|
|
3307
3307
|
s = Wt[i], a = Wt[n], _ = s.y * a.x - a.y * s.x, x += (s.x + a.x) * _, M += (s.y + a.y) * _, b += _ * 3;
|
|
3308
3308
|
b === 0 ? I = Wt[0] : I = [x / b, M / b];
|
|
3309
|
-
var
|
|
3310
|
-
return X([
|
|
3309
|
+
var je = e.unproject(N(I));
|
|
3310
|
+
return X([je.lat + G.lat, je.lng + G.lng]);
|
|
3311
3311
|
}
|
|
3312
|
-
function
|
|
3312
|
+
function Vn(t) {
|
|
3313
3313
|
for (var e = 0, i = 0, n = 0, s = 0; s < t.length; s++) {
|
|
3314
3314
|
var a = X(t[s]);
|
|
3315
3315
|
e += a.lat, i += a.lng, n++;
|
|
@@ -3320,7 +3320,7 @@ function Oa() {
|
|
|
3320
3320
|
__proto__: null,
|
|
3321
3321
|
clipPolygon: bo,
|
|
3322
3322
|
polygonCenter: Lo,
|
|
3323
|
-
centroid:
|
|
3323
|
+
centroid: Vn
|
|
3324
3324
|
};
|
|
3325
3325
|
function ko(t, e) {
|
|
3326
3326
|
if (!e || !t.length)
|
|
@@ -3336,17 +3336,17 @@ function Oa() {
|
|
|
3336
3336
|
}
|
|
3337
3337
|
function Zs(t, e) {
|
|
3338
3338
|
var i = t.length, n = typeof Uint8Array < "u" ? Uint8Array : Array, s = new n(i);
|
|
3339
|
-
s[0] = s[i - 1] = 1,
|
|
3339
|
+
s[0] = s[i - 1] = 1, Fn(t, s, e, 0, i - 1);
|
|
3340
3340
|
var a, _ = [];
|
|
3341
3341
|
for (a = 0; a < i; a++)
|
|
3342
3342
|
s[a] && _.push(t[a]);
|
|
3343
3343
|
return _;
|
|
3344
3344
|
}
|
|
3345
|
-
function
|
|
3345
|
+
function Fn(t, e, i, n, s) {
|
|
3346
3346
|
var a = 0, _, b, x;
|
|
3347
3347
|
for (b = n + 1; b <= s - 1; b++)
|
|
3348
3348
|
x = pi(t[b], t[n], t[s], !0), x > a && (_ = b, a = x);
|
|
3349
|
-
a > i && (e[_] = 1,
|
|
3349
|
+
a > i && (e[_] = 1, Fn(t, e, i, n, _), Fn(t, e, i, _, s));
|
|
3350
3350
|
}
|
|
3351
3351
|
function Ds(t, e) {
|
|
3352
3352
|
for (var i = [t[0]], n = 1, s = 0, a = t.length; n < a; n++)
|
|
@@ -3355,20 +3355,20 @@ function Oa() {
|
|
|
3355
3355
|
}
|
|
3356
3356
|
var Po;
|
|
3357
3357
|
function xo(t, e, i, n, s) {
|
|
3358
|
-
var a = n ? Po :
|
|
3358
|
+
var a = n ? Po : Se(t, i), _ = Se(e, i), b, x, M;
|
|
3359
3359
|
for (Po = _; ; ) {
|
|
3360
3360
|
if (!(a | _))
|
|
3361
3361
|
return [t, e];
|
|
3362
3362
|
if (a & _)
|
|
3363
3363
|
return !1;
|
|
3364
|
-
b = a || _, x =
|
|
3364
|
+
b = a || _, x = Gi(t, e, b, i, s), M = Se(x, i), b === a ? (t = x, a = M) : (e = x, _ = M);
|
|
3365
3365
|
}
|
|
3366
3366
|
}
|
|
3367
|
-
function
|
|
3367
|
+
function Gi(t, e, i, n, s) {
|
|
3368
3368
|
var a = e.x - t.x, _ = e.y - t.y, b = n.min, x = n.max, M, I;
|
|
3369
3369
|
return i & 8 ? (M = t.x + a * (x.y - t.y) / _, I = x.y) : i & 4 ? (M = t.x + a * (b.y - t.y) / _, I = b.y) : i & 2 ? (M = x.x, I = t.y + _ * (x.x - t.x) / a) : i & 1 && (M = b.x, I = t.y + _ * (b.x - t.x) / a), new U(M, I, s);
|
|
3370
3370
|
}
|
|
3371
|
-
function
|
|
3371
|
+
function Se(t, e) {
|
|
3372
3372
|
var i = 0;
|
|
3373
3373
|
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;
|
|
3374
3374
|
}
|
|
@@ -3392,7 +3392,7 @@ function Oa() {
|
|
|
3392
3392
|
throw new Error("latlngs not passed");
|
|
3393
3393
|
$t(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
|
|
3394
3394
|
var I = X([0, 0]), G = pt(t), J = G.getNorthWest().distanceTo(G.getSouthWest()) * G.getNorthEast().distanceTo(G.getNorthWest());
|
|
3395
|
-
J < 1700 && (I =
|
|
3395
|
+
J < 1700 && (I = Vn(t));
|
|
3396
3396
|
var Zt = t.length, Mt = [];
|
|
3397
3397
|
for (i = 0; i < Zt; i++) {
|
|
3398
3398
|
var Wt = X(t[i]);
|
|
@@ -3420,13 +3420,13 @@ function Oa() {
|
|
|
3420
3420
|
pointToSegmentDistance: wo,
|
|
3421
3421
|
closestPointOnSegment: zs,
|
|
3422
3422
|
clipSegment: xo,
|
|
3423
|
-
_getEdgeIntersection:
|
|
3424
|
-
_getBitCode:
|
|
3423
|
+
_getEdgeIntersection: Gi,
|
|
3424
|
+
_getBitCode: Se,
|
|
3425
3425
|
_sqClosestPointOnSegment: pi,
|
|
3426
3426
|
isFlat: $t,
|
|
3427
3427
|
_flat: Co,
|
|
3428
3428
|
polylineCenter: To
|
|
3429
|
-
},
|
|
3429
|
+
}, Gn = {
|
|
3430
3430
|
project: function(t) {
|
|
3431
3431
|
return new U(t.lng, t.lat);
|
|
3432
3432
|
},
|
|
@@ -3434,7 +3434,7 @@ function Oa() {
|
|
|
3434
3434
|
return new et(t.y, t.x);
|
|
3435
3435
|
},
|
|
3436
3436
|
bounds: new Y([-180, -90], [180, 90])
|
|
3437
|
-
},
|
|
3437
|
+
}, Un = {
|
|
3438
3438
|
R: 6378137,
|
|
3439
3439
|
R_MINOR: 6356752314245179e-9,
|
|
3440
3440
|
bounds: new Y([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
|
|
@@ -3449,23 +3449,23 @@ function Oa() {
|
|
|
3449
3449
|
}
|
|
3450
3450
|
}, Hs = {
|
|
3451
3451
|
__proto__: null,
|
|
3452
|
-
LonLat:
|
|
3453
|
-
Mercator:
|
|
3454
|
-
SphericalMercator:
|
|
3452
|
+
LonLat: Gn,
|
|
3453
|
+
Mercator: Un,
|
|
3454
|
+
SphericalMercator: Oe
|
|
3455
3455
|
}, Vs = v({}, gt, {
|
|
3456
3456
|
code: "EPSG:3395",
|
|
3457
|
-
projection:
|
|
3457
|
+
projection: Un,
|
|
3458
3458
|
transformation: function() {
|
|
3459
|
-
var t = 0.5 / (Math.PI *
|
|
3460
|
-
return
|
|
3459
|
+
var t = 0.5 / (Math.PI * Un.R);
|
|
3460
|
+
return ke(t, 0.5, -t, 0.5);
|
|
3461
3461
|
}()
|
|
3462
3462
|
}), Mo = v({}, gt, {
|
|
3463
3463
|
code: "EPSG:4326",
|
|
3464
|
-
projection:
|
|
3465
|
-
transformation:
|
|
3464
|
+
projection: Gn,
|
|
3465
|
+
transformation: ke(1 / 180, 1, -1 / 180, 0.5)
|
|
3466
3466
|
}), Fs = v({}, Et, {
|
|
3467
|
-
projection:
|
|
3468
|
-
transformation:
|
|
3467
|
+
projection: Gn,
|
|
3468
|
+
transformation: ke(1, 0, -1, 0),
|
|
3469
3469
|
scale: function(t) {
|
|
3470
3470
|
return Math.pow(2, t);
|
|
3471
3471
|
},
|
|
@@ -3478,7 +3478,7 @@ function Oa() {
|
|
|
3478
3478
|
},
|
|
3479
3479
|
infinite: !0
|
|
3480
3480
|
});
|
|
3481
|
-
Et.Earth = gt, Et.EPSG3395 = Vs, Et.EPSG3857 =
|
|
3481
|
+
Et.Earth = gt, Et.EPSG3395 = Vs, Et.EPSG3857 = Ye, Et.EPSG900913 = hn, Et.EPSG4326 = Mo, Et.Simple = Fs;
|
|
3482
3482
|
var Xt = re.extend({
|
|
3483
3483
|
// Classes extending `L.Layer` will inherit the following options:
|
|
3484
3484
|
options: {
|
|
@@ -3596,7 +3596,7 @@ function Oa() {
|
|
|
3596
3596
|
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);
|
|
3597
3597
|
}
|
|
3598
3598
|
});
|
|
3599
|
-
var
|
|
3599
|
+
var Ge = Xt.extend({
|
|
3600
3600
|
initialize: function(t, e) {
|
|
3601
3601
|
C(this, e), this._layers = {};
|
|
3602
3602
|
var i, n;
|
|
@@ -3683,13 +3683,13 @@ function Oa() {
|
|
|
3683
3683
|
return c(t);
|
|
3684
3684
|
}
|
|
3685
3685
|
}), Gs = function(t, e) {
|
|
3686
|
-
return new
|
|
3687
|
-
}, ae =
|
|
3686
|
+
return new Ge(t, e);
|
|
3687
|
+
}, ae = Ge.extend({
|
|
3688
3688
|
addLayer: function(t) {
|
|
3689
|
-
return this.hasLayer(t) ? this : (t.addEventParent(this),
|
|
3689
|
+
return this.hasLayer(t) ? this : (t.addEventParent(this), Ge.prototype.addLayer.call(this, t), this.fire("layeradd", { layer: t }));
|
|
3690
3690
|
},
|
|
3691
3691
|
removeLayer: function(t) {
|
|
3692
|
-
return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this),
|
|
3692
|
+
return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this), Ge.prototype.removeLayer.call(this, t), this.fire("layerremove", { layer: t })) : this;
|
|
3693
3693
|
},
|
|
3694
3694
|
// @method setStyle(style: Path options): this
|
|
3695
3695
|
// Sets the given path options to each layer of the group that has a `setStyle` method.
|
|
@@ -3718,7 +3718,7 @@ function Oa() {
|
|
|
3718
3718
|
}
|
|
3719
3719
|
}), Us = function(t, e) {
|
|
3720
3720
|
return new ae(t, e);
|
|
3721
|
-
},
|
|
3721
|
+
}, Ue = bt.extend({
|
|
3722
3722
|
/* @section
|
|
3723
3723
|
* @aka Icon options
|
|
3724
3724
|
*
|
|
@@ -3805,9 +3805,9 @@ function Oa() {
|
|
|
3805
3805
|
}
|
|
3806
3806
|
});
|
|
3807
3807
|
function $s(t) {
|
|
3808
|
-
return new
|
|
3808
|
+
return new Ue(t);
|
|
3809
3809
|
}
|
|
3810
|
-
var _i =
|
|
3810
|
+
var _i = Ue.extend({
|
|
3811
3811
|
options: {
|
|
3812
3812
|
iconUrl: "marker-icon.png",
|
|
3813
3813
|
iconRetinaUrl: "marker-icon-2x.png",
|
|
@@ -3819,7 +3819,7 @@ function Oa() {
|
|
|
3819
3819
|
shadowSize: [41, 41]
|
|
3820
3820
|
},
|
|
3821
3821
|
_getIconUrl: function(t) {
|
|
3822
|
-
return typeof _i.imagePath != "string" && (_i.imagePath = this._detectIconPath()), (this.options.imagePath || _i.imagePath) +
|
|
3822
|
+
return typeof _i.imagePath != "string" && (_i.imagePath = this._detectIconPath()), (this.options.imagePath || _i.imagePath) + Ue.prototype._getIconUrl.call(this, t);
|
|
3823
3823
|
},
|
|
3824
3824
|
_stripUrl: function(t) {
|
|
3825
3825
|
var e = function(i, n, s) {
|
|
@@ -3841,7 +3841,7 @@ function Oa() {
|
|
|
3841
3841
|
},
|
|
3842
3842
|
addHooks: function() {
|
|
3843
3843
|
var t = this._marker._icon;
|
|
3844
|
-
this._draggable || (this._draggable = new
|
|
3844
|
+
this._draggable || (this._draggable = new me(t, t, !0)), this._draggable.on({
|
|
3845
3845
|
dragstart: this._onDragStart,
|
|
3846
3846
|
predrag: this._onPreDrag,
|
|
3847
3847
|
drag: this._onDrag,
|
|
@@ -3860,7 +3860,7 @@ function Oa() {
|
|
|
3860
3860
|
return this._draggable && this._draggable._moved;
|
|
3861
3861
|
},
|
|
3862
3862
|
_adjustPan: function(t) {
|
|
3863
|
-
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, s = this._marker.options.autoPanPadding, a =
|
|
3863
|
+
var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, s = this._marker.options.autoPanPadding, a = Ce(e._icon), _ = i.getPixelBounds(), b = i.getPixelOrigin(), x = Lt(
|
|
3864
3864
|
_.min._subtract(b).add(s),
|
|
3865
3865
|
_.max._subtract(b).subtract(s)
|
|
3866
3866
|
);
|
|
@@ -3879,13 +3879,13 @@ function Oa() {
|
|
|
3879
3879
|
this._marker.options.autoPan && (Q(this._panRequest), this._panRequest = at(this._adjustPan.bind(this, t)));
|
|
3880
3880
|
},
|
|
3881
3881
|
_onDrag: function(t) {
|
|
3882
|
-
var e = this._marker, i = e._shadow, n =
|
|
3882
|
+
var e = this._marker, i = e._shadow, n = Ce(e._icon), s = e._map.layerPointToLatLng(n);
|
|
3883
3883
|
i && kt(i, n), e._latlng = s, t.latlng = s, t.oldLatLng = this._oldLatLng, e.fire("move", t).fire("drag", t);
|
|
3884
3884
|
},
|
|
3885
3885
|
_onDragEnd: function(t) {
|
|
3886
3886
|
Q(this._panRequest), delete this._oldLatLng, this._marker.fire("moveend").fire("dragend", t);
|
|
3887
3887
|
}
|
|
3888
|
-
}),
|
|
3888
|
+
}), Ui = Xt.extend({
|
|
3889
3889
|
// @section
|
|
3890
3890
|
// @aka Marker options
|
|
3891
3891
|
options: {
|
|
@@ -4071,9 +4071,9 @@ function Oa() {
|
|
|
4071
4071
|
}
|
|
4072
4072
|
});
|
|
4073
4073
|
function Ws(t, e) {
|
|
4074
|
-
return new
|
|
4074
|
+
return new Ui(t, e);
|
|
4075
4075
|
}
|
|
4076
|
-
var
|
|
4076
|
+
var ge = Xt.extend({
|
|
4077
4077
|
// @section
|
|
4078
4078
|
// @aka Path options
|
|
4079
4079
|
options: {
|
|
@@ -4159,7 +4159,7 @@ function Oa() {
|
|
|
4159
4159
|
_clickTolerance: function() {
|
|
4160
4160
|
return (this.options.stroke ? this.options.weight / 2 : 0) + (this._renderer.options.tolerance || 0);
|
|
4161
4161
|
}
|
|
4162
|
-
}),
|
|
4162
|
+
}), $i = ge.extend({
|
|
4163
4163
|
// @section
|
|
4164
4164
|
// @aka CircleMarker options
|
|
4165
4165
|
options: {
|
|
@@ -4194,7 +4194,7 @@ function Oa() {
|
|
|
4194
4194
|
},
|
|
4195
4195
|
setStyle: function(t) {
|
|
4196
4196
|
var e = t && t.radius || this._radius;
|
|
4197
|
-
return
|
|
4197
|
+
return ge.prototype.setStyle.call(this, t), this.setRadius(e), this;
|
|
4198
4198
|
},
|
|
4199
4199
|
_project: function() {
|
|
4200
4200
|
this._point = this._map.latLngToLayerPoint(this._latlng), this._updateBounds();
|
|
@@ -4218,9 +4218,9 @@ function Oa() {
|
|
|
4218
4218
|
}
|
|
4219
4219
|
});
|
|
4220
4220
|
function qs(t, e) {
|
|
4221
|
-
return new
|
|
4221
|
+
return new $i(t, e);
|
|
4222
4222
|
}
|
|
4223
|
-
var
|
|
4223
|
+
var $n = $i.extend({
|
|
4224
4224
|
initialize: function(t, e, i) {
|
|
4225
4225
|
if (typeof e == "number" && (e = v({}, i, { radius: e })), C(this, e), this._latlng = X(t), isNaN(this.options.radius))
|
|
4226
4226
|
throw new Error("Circle radius cannot be NaN");
|
|
@@ -4245,7 +4245,7 @@ function Oa() {
|
|
|
4245
4245
|
this._map.layerPointToLatLng(this._point.add(t))
|
|
4246
4246
|
);
|
|
4247
4247
|
},
|
|
4248
|
-
setStyle:
|
|
4248
|
+
setStyle: ge.prototype.setStyle,
|
|
4249
4249
|
_project: function() {
|
|
4250
4250
|
var t = this._latlng.lng, e = this._latlng.lat, i = this._map, n = i.options.crs;
|
|
4251
4251
|
if (n.distance === gt.distance) {
|
|
@@ -4259,9 +4259,9 @@ function Oa() {
|
|
|
4259
4259
|
}
|
|
4260
4260
|
});
|
|
4261
4261
|
function js(t, e, i) {
|
|
4262
|
-
return new
|
|
4262
|
+
return new $n(t, e, i);
|
|
4263
4263
|
}
|
|
4264
|
-
var le =
|
|
4264
|
+
var le = ge.extend({
|
|
4265
4265
|
// @section
|
|
4266
4266
|
// @aka Polyline options
|
|
4267
4267
|
options: {
|
|
@@ -4396,7 +4396,7 @@ function Oa() {
|
|
|
4396
4396
|
return new le(t, e);
|
|
4397
4397
|
}
|
|
4398
4398
|
le._flat = Co;
|
|
4399
|
-
var
|
|
4399
|
+
var $e = le.extend({
|
|
4400
4400
|
options: {
|
|
4401
4401
|
fill: !0
|
|
4402
4402
|
},
|
|
@@ -4446,7 +4446,7 @@ function Oa() {
|
|
|
4446
4446
|
}
|
|
4447
4447
|
});
|
|
4448
4448
|
function Ys(t, e) {
|
|
4449
|
-
return new
|
|
4449
|
+
return new $e(t, e);
|
|
4450
4450
|
}
|
|
4451
4451
|
var ue = ae.extend({
|
|
4452
4452
|
/* @section
|
|
@@ -4513,8 +4513,8 @@ function Oa() {
|
|
|
4513
4513
|
var a = this.options;
|
|
4514
4514
|
if (a.filter && !a.filter(t))
|
|
4515
4515
|
return this;
|
|
4516
|
-
var _ =
|
|
4517
|
-
return _ ? (_.feature =
|
|
4516
|
+
var _ = Wi(t, a);
|
|
4517
|
+
return _ ? (_.feature = Ki(t), _.defaultOptions = _.options, this.resetStyle(_), a.onEachFeature && a.onEachFeature(t, _), this.addLayer(_)) : this;
|
|
4518
4518
|
},
|
|
4519
4519
|
// @method resetStyle( <Path> layer? ): this
|
|
4520
4520
|
// Resets the given vector layer's style to the original GeoJSON style, useful for resetting style after hover events.
|
|
@@ -4533,8 +4533,8 @@ function Oa() {
|
|
|
4533
4533
|
t.setStyle && (typeof e == "function" && (e = e(t.feature)), t.setStyle(e));
|
|
4534
4534
|
}
|
|
4535
4535
|
});
|
|
4536
|
-
function
|
|
4537
|
-
var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, s = [], a = e && e.pointToLayer, _ = e && e.coordsToLatLng ||
|
|
4536
|
+
function Wi(t, e) {
|
|
4537
|
+
var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, s = [], a = e && e.pointToLayer, _ = e && e.coordsToLatLng || Wn, b, x, M, I;
|
|
4538
4538
|
if (!n && !i)
|
|
4539
4539
|
return null;
|
|
4540
4540
|
switch (i.type) {
|
|
@@ -4546,13 +4546,13 @@ function Oa() {
|
|
|
4546
4546
|
return new ae(s);
|
|
4547
4547
|
case "LineString":
|
|
4548
4548
|
case "MultiLineString":
|
|
4549
|
-
return x =
|
|
4549
|
+
return x = qi(n, i.type === "LineString" ? 0 : 1, _), new le(x, e);
|
|
4550
4550
|
case "Polygon":
|
|
4551
4551
|
case "MultiPolygon":
|
|
4552
|
-
return x =
|
|
4552
|
+
return x = qi(n, i.type === "Polygon" ? 1 : 2, _), new $e(x, e);
|
|
4553
4553
|
case "GeometryCollection":
|
|
4554
4554
|
for (M = 0, I = i.geometries.length; M < I; M++) {
|
|
4555
|
-
var G =
|
|
4555
|
+
var G = Wi({
|
|
4556
4556
|
geometry: i.geometries[M],
|
|
4557
4557
|
type: "Feature",
|
|
4558
4558
|
properties: t.properties
|
|
@@ -4562,7 +4562,7 @@ function Oa() {
|
|
|
4562
4562
|
return new ae(s);
|
|
4563
4563
|
case "FeatureCollection":
|
|
4564
4564
|
for (M = 0, I = i.features.length; M < I; M++) {
|
|
4565
|
-
var J =
|
|
4565
|
+
var J = Wi(i.features[M], e);
|
|
4566
4566
|
J && s.push(J);
|
|
4567
4567
|
}
|
|
4568
4568
|
return new ae(s);
|
|
@@ -4571,64 +4571,64 @@ function Oa() {
|
|
|
4571
4571
|
}
|
|
4572
4572
|
}
|
|
4573
4573
|
function Ao(t, e, i, n) {
|
|
4574
|
-
return t ? t(e, i) : new
|
|
4574
|
+
return t ? t(e, i) : new Ui(i, n && n.markersInheritOptions && n);
|
|
4575
4575
|
}
|
|
4576
|
-
function
|
|
4576
|
+
function Wn(t) {
|
|
4577
4577
|
return new et(t[1], t[0], t[2]);
|
|
4578
4578
|
}
|
|
4579
|
-
function
|
|
4579
|
+
function qi(t, e, i) {
|
|
4580
4580
|
for (var n = [], s = 0, a = t.length, _; s < a; s++)
|
|
4581
|
-
_ = e ?
|
|
4581
|
+
_ = e ? qi(t[s], e - 1, i) : (i || Wn)(t[s]), n.push(_);
|
|
4582
4582
|
return n;
|
|
4583
4583
|
}
|
|
4584
|
-
function
|
|
4584
|
+
function qn(t, e) {
|
|
4585
4585
|
return t = X(t), t.alt !== void 0 ? [w(t.lng, e), w(t.lat, e), w(t.alt, e)] : [w(t.lng, e), w(t.lat, e)];
|
|
4586
4586
|
}
|
|
4587
|
-
function
|
|
4587
|
+
function ji(t, e, i, n) {
|
|
4588
4588
|
for (var s = [], a = 0, _ = t.length; a < _; a++)
|
|
4589
|
-
s.push(e ?
|
|
4589
|
+
s.push(e ? ji(t[a], $t(t[a]) ? 0 : e - 1, i, n) : qn(t[a], n));
|
|
4590
4590
|
return !e && i && s.length > 0 && s.push(s[0].slice()), s;
|
|
4591
4591
|
}
|
|
4592
|
-
function
|
|
4593
|
-
return t.feature ? v({}, t.feature, { geometry: e }) :
|
|
4592
|
+
function We(t, e) {
|
|
4593
|
+
return t.feature ? v({}, t.feature, { geometry: e }) : Ki(e);
|
|
4594
4594
|
}
|
|
4595
|
-
function
|
|
4595
|
+
function Ki(t) {
|
|
4596
4596
|
return t.type === "Feature" || t.type === "FeatureCollection" ? t : {
|
|
4597
4597
|
type: "Feature",
|
|
4598
4598
|
properties: {},
|
|
4599
4599
|
geometry: t
|
|
4600
4600
|
};
|
|
4601
4601
|
}
|
|
4602
|
-
var
|
|
4602
|
+
var jn = {
|
|
4603
4603
|
toGeoJSON: function(t) {
|
|
4604
|
-
return
|
|
4604
|
+
return We(this, {
|
|
4605
4605
|
type: "Point",
|
|
4606
|
-
coordinates:
|
|
4606
|
+
coordinates: qn(this.getLatLng(), t)
|
|
4607
4607
|
});
|
|
4608
4608
|
}
|
|
4609
4609
|
};
|
|
4610
|
-
|
|
4610
|
+
Ui.include(jn), $n.include(jn), $i.include(jn), le.include({
|
|
4611
4611
|
toGeoJSON: function(t) {
|
|
4612
|
-
var e = !$t(this._latlngs), i =
|
|
4613
|
-
return
|
|
4612
|
+
var e = !$t(this._latlngs), i = ji(this._latlngs, e ? 1 : 0, !1, t);
|
|
4613
|
+
return We(this, {
|
|
4614
4614
|
type: (e ? "Multi" : "") + "LineString",
|
|
4615
4615
|
coordinates: i
|
|
4616
4616
|
});
|
|
4617
4617
|
}
|
|
4618
|
-
}),
|
|
4618
|
+
}), $e.include({
|
|
4619
4619
|
toGeoJSON: function(t) {
|
|
4620
|
-
var e = !$t(this._latlngs), i = e && !$t(this._latlngs[0]), n =
|
|
4621
|
-
return e || (n = [n]),
|
|
4620
|
+
var e = !$t(this._latlngs), i = e && !$t(this._latlngs[0]), n = ji(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
|
|
4621
|
+
return e || (n = [n]), We(this, {
|
|
4622
4622
|
type: (i ? "Multi" : "") + "Polygon",
|
|
4623
4623
|
coordinates: n
|
|
4624
4624
|
});
|
|
4625
4625
|
}
|
|
4626
|
-
}),
|
|
4626
|
+
}), Ge.include({
|
|
4627
4627
|
toMultiPoint: function(t) {
|
|
4628
4628
|
var e = [];
|
|
4629
4629
|
return this.eachLayer(function(i) {
|
|
4630
4630
|
e.push(i.toGeoJSON(t).geometry.coordinates);
|
|
4631
|
-
}),
|
|
4631
|
+
}), We(this, {
|
|
4632
4632
|
type: "MultiPoint",
|
|
4633
4633
|
coordinates: e
|
|
4634
4634
|
});
|
|
@@ -4647,11 +4647,11 @@ function Oa() {
|
|
|
4647
4647
|
if (i)
|
|
4648
4648
|
n.push(a.geometry);
|
|
4649
4649
|
else {
|
|
4650
|
-
var _ =
|
|
4650
|
+
var _ = Ki(a);
|
|
4651
4651
|
_.type === "FeatureCollection" ? n.push.apply(n, _.features) : n.push(_);
|
|
4652
4652
|
}
|
|
4653
4653
|
}
|
|
4654
|
-
}), i ?
|
|
4654
|
+
}), i ? We(this, {
|
|
4655
4655
|
geometries: n,
|
|
4656
4656
|
type: "GeometryCollection"
|
|
4657
4657
|
}) : {
|
|
@@ -4663,7 +4663,7 @@ function Oa() {
|
|
|
4663
4663
|
function Io(t, e) {
|
|
4664
4664
|
return new ue(t, e);
|
|
4665
4665
|
}
|
|
4666
|
-
var Xs = Io,
|
|
4666
|
+
var Xs = Io, Yi = Xt.extend({
|
|
4667
4667
|
// @section
|
|
4668
4668
|
// @aka ImageOverlay options
|
|
4669
4669
|
options: {
|
|
@@ -4711,12 +4711,12 @@ function Oa() {
|
|
|
4711
4711
|
// @method bringToFront(): this
|
|
4712
4712
|
// Brings the layer to the top of all overlays.
|
|
4713
4713
|
bringToFront: function() {
|
|
4714
|
-
return this._map &&
|
|
4714
|
+
return this._map && Ve(this._image), this;
|
|
4715
4715
|
},
|
|
4716
4716
|
// @method bringToBack(): this
|
|
4717
4717
|
// Brings the layer to the bottom of all overlays.
|
|
4718
4718
|
bringToBack: function() {
|
|
4719
|
-
return this._map &&
|
|
4719
|
+
return this._map && Fe(this._image), this;
|
|
4720
4720
|
},
|
|
4721
4721
|
// @method setUrl(url: String): this
|
|
4722
4722
|
// Changes the URL of the image.
|
|
@@ -4761,7 +4761,7 @@ function Oa() {
|
|
|
4761
4761
|
},
|
|
4762
4762
|
_animateZoom: function(t) {
|
|
4763
4763
|
var e = this._map.getZoomScale(t.zoom), i = this._map._latLngBoundsToNewLayerBounds(this._bounds, t.zoom, t.center).min;
|
|
4764
|
-
|
|
4764
|
+
xe(this._image, i, e);
|
|
4765
4765
|
},
|
|
4766
4766
|
_reset: function() {
|
|
4767
4767
|
var t = this._image, e = new Y(
|
|
@@ -4787,8 +4787,8 @@ function Oa() {
|
|
|
4787
4787
|
return this._bounds.getCenter();
|
|
4788
4788
|
}
|
|
4789
4789
|
}), Js = function(t, e, i) {
|
|
4790
|
-
return new
|
|
4791
|
-
}, Oo =
|
|
4790
|
+
return new Yi(t, e, i);
|
|
4791
|
+
}, Oo = Yi.extend({
|
|
4792
4792
|
// @section
|
|
4793
4793
|
// @aka VideoOverlay options
|
|
4794
4794
|
options: {
|
|
@@ -4831,7 +4831,7 @@ function Oa() {
|
|
|
4831
4831
|
function Qs(t, e, i) {
|
|
4832
4832
|
return new Oo(t, e, i);
|
|
4833
4833
|
}
|
|
4834
|
-
var Eo =
|
|
4834
|
+
var Eo = Yi.extend({
|
|
4835
4835
|
_initImage: function() {
|
|
4836
4836
|
var t = this._image = this._url;
|
|
4837
4837
|
K(t, "leaflet-image-layer"), this._zoomAnimated && K(t, "leaflet-zoom-animated"), this.options.className && K(t, this.options.className), t.onselectstart = g, t.onmousemove = g;
|
|
@@ -4940,12 +4940,12 @@ function Oa() {
|
|
|
4940
4940
|
// @method bringToFront: this
|
|
4941
4941
|
// Brings this overlay in front of other overlays (in the same map pane).
|
|
4942
4942
|
bringToFront: function() {
|
|
4943
|
-
return this._map &&
|
|
4943
|
+
return this._map && Ve(this._container), this;
|
|
4944
4944
|
},
|
|
4945
4945
|
// @method bringToBack: this
|
|
4946
4946
|
// Brings this overlay to the back of other overlays (in the same map pane).
|
|
4947
4947
|
bringToBack: function() {
|
|
4948
|
-
return this._map &&
|
|
4948
|
+
return this._map && Fe(this._container), this;
|
|
4949
4949
|
},
|
|
4950
4950
|
// prepare bound overlay to open: update latlng pos / content source (for FeatureGroup)
|
|
4951
4951
|
_prepareOpen: function(t) {
|
|
@@ -5011,7 +5011,7 @@ function Oa() {
|
|
|
5011
5011
|
return s instanceof t ? (C(s, n), s._source = this) : (s = e && !n ? e : new t(n, this), s.setContent(i)), s;
|
|
5012
5012
|
}
|
|
5013
5013
|
});
|
|
5014
|
-
var
|
|
5014
|
+
var Xi = ne.extend({
|
|
5015
5015
|
// @section
|
|
5016
5016
|
// @aka Popup options
|
|
5017
5017
|
options: {
|
|
@@ -5078,10 +5078,10 @@ function Oa() {
|
|
|
5078
5078
|
return t = arguments.length ? t : this._source._map, !t.hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this, ne.prototype.openOn.call(this, t);
|
|
5079
5079
|
},
|
|
5080
5080
|
onAdd: function(t) {
|
|
5081
|
-
ne.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof
|
|
5081
|
+
ne.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof ge || this._source.on("preclick", Te));
|
|
5082
5082
|
},
|
|
5083
5083
|
onRemove: function(t) {
|
|
5084
|
-
ne.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof
|
|
5084
|
+
ne.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof ge || this._source.off("preclick", Te));
|
|
5085
5085
|
},
|
|
5086
5086
|
getEvents: function() {
|
|
5087
5087
|
var t = ne.prototype.getEvents.call(this);
|
|
@@ -5092,7 +5092,7 @@ function Oa() {
|
|
|
5092
5092
|
"div",
|
|
5093
5093
|
t + " " + (this.options.className || "") + " leaflet-zoom-animated"
|
|
5094
5094
|
), i = this._wrapper = rt("div", t + "-content-wrapper", e);
|
|
5095
|
-
if (this._contentNode = rt("div", t + "-content", i), di(e),
|
|
5095
|
+
if (this._contentNode = rt("div", t + "-content", i), di(e), Dn(this._contentNode), q(e, "contextmenu", Te), this._tipContainer = rt("div", t + "-tip-container", e), this._tip = rt("div", t + "-tip", this._tipContainer), this.options.closeButton) {
|
|
5096
5096
|
var n = this._closeButton = rt("a", t + "-close-button", e);
|
|
5097
5097
|
n.setAttribute("role", "button"), n.setAttribute("aria-label", "Close popup"), n.href = "#close", n.innerHTML = '<span aria-hidden="true">×</span>', q(n, "click", function(s) {
|
|
5098
5098
|
Ot(s), this.close();
|
|
@@ -5118,7 +5118,7 @@ function Oa() {
|
|
|
5118
5118
|
return;
|
|
5119
5119
|
}
|
|
5120
5120
|
var t = this._map, e = parseInt(li(this._container, "marginBottom"), 10) || 0, i = this._container.offsetHeight + e, n = this._containerWidth, s = new U(this._containerLeft, -i - this._containerBottom);
|
|
5121
|
-
s._add(
|
|
5121
|
+
s._add(Ce(this._container));
|
|
5122
5122
|
var a = t.layerPointToContainerPoint(s), _ = N(this.options.autoPanPadding), b = N(this.options.autoPanPaddingTopLeft || _), x = N(this.options.autoPanPaddingBottomRight || _), M = t.getSize(), I = 0, G = 0;
|
|
5123
5123
|
a.x + n + x.x > M.x && (I = a.x + n - M.x + x.x), a.x - I - b.x < 0 && (I = a.x - b.x), a.y + i + x.y > M.y && (G = a.y + i - M.y + x.y), a.y - G - b.y < 0 && (G = a.y - b.y), (I || G) && (this.options.keepInView && (this._autopanning = !0), t.fire("autopanstart").panBy([I, G]));
|
|
5124
5124
|
}
|
|
@@ -5127,7 +5127,7 @@ function Oa() {
|
|
|
5127
5127
|
return N(this._source && this._source._getPopupAnchor ? this._source._getPopupAnchor() : [0, 0]);
|
|
5128
5128
|
}
|
|
5129
5129
|
}), er = function(t, e) {
|
|
5130
|
-
return new
|
|
5130
|
+
return new Xi(t, e);
|
|
5131
5131
|
};
|
|
5132
5132
|
it.mergeOptions({
|
|
5133
5133
|
closePopupOnClick: !0
|
|
@@ -5138,7 +5138,7 @@ function Oa() {
|
|
|
5138
5138
|
// @method openPopup(content: String|HTMLElement, latlng: LatLng, options?: Popup options): this
|
|
5139
5139
|
// Creates a popup with the specified content and options and opens it in the given point on a map.
|
|
5140
5140
|
openPopup: function(t, e, i) {
|
|
5141
|
-
return this._initOverlay(
|
|
5141
|
+
return this._initOverlay(Xi, t, e, i).openOn(this), this;
|
|
5142
5142
|
},
|
|
5143
5143
|
// @method closePopup(popup?: Popup): this
|
|
5144
5144
|
// Closes the popup previously opened with [openPopup](#map-openpopup) (or the given one).
|
|
@@ -5151,7 +5151,7 @@ function Oa() {
|
|
|
5151
5151
|
// necessary event listeners. If a `Function` is passed it will receive
|
|
5152
5152
|
// the layer as the first argument and should return a `String` or `HTMLElement`.
|
|
5153
5153
|
bindPopup: function(t, e) {
|
|
5154
|
-
return this._popup = this._initOverlay(
|
|
5154
|
+
return this._popup = this._initOverlay(Xi, this._popup, t, e), this._popupHandlersAdded || (this.on({
|
|
5155
5155
|
click: this._openPopup,
|
|
5156
5156
|
keypress: this._onKeyPress,
|
|
5157
5157
|
remove: this.closePopup,
|
|
@@ -5200,9 +5200,9 @@ function Oa() {
|
|
|
5200
5200
|
},
|
|
5201
5201
|
_openPopup: function(t) {
|
|
5202
5202
|
if (!(!this._popup || !this._map)) {
|
|
5203
|
-
|
|
5203
|
+
Me(t);
|
|
5204
5204
|
var e = t.layer || t.target;
|
|
5205
|
-
if (this._popup._source === e && !(e instanceof
|
|
5205
|
+
if (this._popup._source === e && !(e instanceof ge)) {
|
|
5206
5206
|
this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(t.latlng);
|
|
5207
5207
|
return;
|
|
5208
5208
|
}
|
|
@@ -5216,7 +5216,7 @@ function Oa() {
|
|
|
5216
5216
|
t.originalEvent.keyCode === 13 && this._openPopup(t);
|
|
5217
5217
|
}
|
|
5218
5218
|
});
|
|
5219
|
-
var
|
|
5219
|
+
var Ji = ne.extend({
|
|
5220
5220
|
// @section
|
|
5221
5221
|
// @aka Tooltip options
|
|
5222
5222
|
options: {
|
|
@@ -5279,7 +5279,7 @@ function Oa() {
|
|
|
5279
5279
|
return N(this._source && this._source._getTooltipAnchor && !this.options.sticky ? this._source._getTooltipAnchor() : [0, 0]);
|
|
5280
5280
|
}
|
|
5281
5281
|
}), ir = function(t, e) {
|
|
5282
|
-
return new
|
|
5282
|
+
return new Ji(t, e);
|
|
5283
5283
|
};
|
|
5284
5284
|
it.include({
|
|
5285
5285
|
// @method openTooltip(tooltip: Tooltip): this
|
|
@@ -5288,7 +5288,7 @@ function Oa() {
|
|
|
5288
5288
|
// @method openTooltip(content: String|HTMLElement, latlng: LatLng, options?: Tooltip options): this
|
|
5289
5289
|
// Creates a tooltip with the specified content and options and open it.
|
|
5290
5290
|
openTooltip: function(t, e, i) {
|
|
5291
|
-
return this._initOverlay(
|
|
5291
|
+
return this._initOverlay(Ji, t, e, i).openOn(this), this;
|
|
5292
5292
|
},
|
|
5293
5293
|
// @method closeTooltip(tooltip: Tooltip): this
|
|
5294
5294
|
// Closes the tooltip given as parameter.
|
|
@@ -5301,7 +5301,7 @@ function Oa() {
|
|
|
5301
5301
|
// necessary event listeners. If a `Function` is passed it will receive
|
|
5302
5302
|
// the layer as the first argument and should return a `String` or `HTMLElement`.
|
|
5303
5303
|
bindTooltip: function(t, e) {
|
|
5304
|
-
return this._tooltip && this.isTooltipOpen() && this.unbindTooltip(), this._tooltip = this._initOverlay(
|
|
5304
|
+
return this._tooltip && this.isTooltipOpen() && this.unbindTooltip(), this._tooltip = this._initOverlay(Ji, this._tooltip, t, e), this._initTooltipInteractions(), this._tooltip.options.permanent && this._map && this._map.hasLayer(this) && this.openTooltip(), this;
|
|
5305
5305
|
},
|
|
5306
5306
|
// @method unbindTooltip(): this
|
|
5307
5307
|
// Removes the tooltip previously bound with `bindTooltip`.
|
|
@@ -5379,7 +5379,7 @@ function Oa() {
|
|
|
5379
5379
|
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);
|
|
5380
5380
|
}
|
|
5381
5381
|
});
|
|
5382
|
-
var Bo =
|
|
5382
|
+
var Bo = Ue.extend({
|
|
5383
5383
|
options: {
|
|
5384
5384
|
// @section
|
|
5385
5385
|
// @aka DivIcon options
|
|
@@ -5398,7 +5398,7 @@ function Oa() {
|
|
|
5398
5398
|
},
|
|
5399
5399
|
createIcon: function(t) {
|
|
5400
5400
|
var e = t && t.tagName === "DIV" ? t : document.createElement("div"), i = this.options;
|
|
5401
|
-
if (i.html instanceof Element ? (
|
|
5401
|
+
if (i.html instanceof Element ? (Ni(e), e.appendChild(i.html)) : e.innerHTML = i.html !== !1 ? i.html : "", i.bgPos) {
|
|
5402
5402
|
var n = N(i.bgPos);
|
|
5403
5403
|
e.style.backgroundPosition = -n.x + "px " + -n.y + "px";
|
|
5404
5404
|
}
|
|
@@ -5411,7 +5411,7 @@ function Oa() {
|
|
|
5411
5411
|
function nr(t) {
|
|
5412
5412
|
return new Bo(t);
|
|
5413
5413
|
}
|
|
5414
|
-
|
|
5414
|
+
Ue.Default = _i;
|
|
5415
5415
|
var mi = Xt.extend({
|
|
5416
5416
|
// @section
|
|
5417
5417
|
// @aka GridLayer options
|
|
@@ -5488,12 +5488,12 @@ function Oa() {
|
|
|
5488
5488
|
// @method bringToFront: this
|
|
5489
5489
|
// Brings the tile layer to the top of all tile layers.
|
|
5490
5490
|
bringToFront: function() {
|
|
5491
|
-
return this._map && (
|
|
5491
|
+
return this._map && (Ve(this._container), this._setAutoZIndex(Math.max)), this;
|
|
5492
5492
|
},
|
|
5493
5493
|
// @method bringToBack: this
|
|
5494
5494
|
// Brings the tile layer to the bottom of all tile layers.
|
|
5495
5495
|
bringToBack: function() {
|
|
5496
|
-
return this._map && (
|
|
5496
|
+
return this._map && (Fe(this._container), this._setAutoZIndex(Math.min)), this;
|
|
5497
5497
|
},
|
|
5498
5498
|
// @method getContainer: HTMLElement
|
|
5499
5499
|
// Returns the HTML element that contains the tiles for this layer.
|
|
@@ -5661,7 +5661,7 @@ function Oa() {
|
|
|
5661
5661
|
},
|
|
5662
5662
|
_setZoomTransform: function(t, e, i) {
|
|
5663
5663
|
var n = this._map.getZoomScale(i, t.zoom), s = t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e, i)).round();
|
|
5664
|
-
D.any3d ?
|
|
5664
|
+
D.any3d ? xe(t.el, s, n) : kt(t.el, s);
|
|
5665
5665
|
},
|
|
5666
5666
|
_resetGrid: function() {
|
|
5667
5667
|
var t = this._map, e = t.options.crs, i = this._tileSize = this.getTileSize(), n = this._tileZoom, s = this._map.getPixelWorldBounds(this._tileZoom);
|
|
@@ -5708,8 +5708,8 @@ function Oa() {
|
|
|
5708
5708
|
Mt ? Mt.current = !0 : _.push(Zt);
|
|
5709
5709
|
}
|
|
5710
5710
|
}
|
|
5711
|
-
if (_.sort(function(Dt,
|
|
5712
|
-
return Dt.distanceTo(a) -
|
|
5711
|
+
if (_.sort(function(Dt, je) {
|
|
5712
|
+
return Dt.distanceTo(a) - je.distanceTo(a);
|
|
5713
5713
|
}), _.length !== 0) {
|
|
5714
5714
|
this._loading || (this._loading = !0, this.fire("loading"));
|
|
5715
5715
|
var Wt = document.createDocumentFragment();
|
|
@@ -5815,7 +5815,7 @@ function Oa() {
|
|
|
5815
5815
|
function or(t) {
|
|
5816
5816
|
return new mi(t);
|
|
5817
5817
|
}
|
|
5818
|
-
var
|
|
5818
|
+
var qe = mi.extend({
|
|
5819
5819
|
// @section
|
|
5820
5820
|
// @aka TileLayer options
|
|
5821
5821
|
options: {
|
|
@@ -5936,9 +5936,9 @@ function Oa() {
|
|
|
5936
5936
|
}
|
|
5937
5937
|
});
|
|
5938
5938
|
function zo(t, e) {
|
|
5939
|
-
return new
|
|
5939
|
+
return new qe(t, e);
|
|
5940
5940
|
}
|
|
5941
|
-
var Zo =
|
|
5941
|
+
var Zo = qe.extend({
|
|
5942
5942
|
// @section
|
|
5943
5943
|
// @aka TileLayer.WMS options
|
|
5944
5944
|
// If any custom options not documented here are used, they will be sent to the
|
|
@@ -5984,11 +5984,11 @@ function Oa() {
|
|
|
5984
5984
|
onAdd: function(t) {
|
|
5985
5985
|
this._crs = this.options.crs || t.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);
|
|
5986
5986
|
var e = this._wmsVersion >= 1.3 ? "crs" : "srs";
|
|
5987
|
-
this.wmsParams[e] = this._crs.code,
|
|
5987
|
+
this.wmsParams[e] = this._crs.code, qe.prototype.onAdd.call(this, t);
|
|
5988
5988
|
},
|
|
5989
5989
|
getTileUrl: function(t) {
|
|
5990
|
-
var e = this._tileCoordsToNwSe(t), i = this._crs, n = Lt(i.project(e[0]), i.project(e[1])), s = n.min, a = n.max, _ = (this._wmsVersion >= 1.3 && this._crs === Mo ? [s.y, s.x, a.y, a.x] : [s.x, s.y, a.x, a.y]).join(","), b =
|
|
5991
|
-
return b +
|
|
5990
|
+
var e = this._tileCoordsToNwSe(t), i = this._crs, n = Lt(i.project(e[0]), i.project(e[1])), s = n.min, a = n.max, _ = (this._wmsVersion >= 1.3 && this._crs === Mo ? [s.y, s.x, a.y, a.x] : [s.x, s.y, a.x, a.y]).join(","), b = qe.prototype.getTileUrl.call(this, t);
|
|
5991
|
+
return b + V(this.wmsParams, b, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + _;
|
|
5992
5992
|
},
|
|
5993
5993
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
|
5994
5994
|
// Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
|
|
@@ -5999,7 +5999,7 @@ function Oa() {
|
|
|
5999
5999
|
function sr(t, e) {
|
|
6000
6000
|
return new Zo(t, e);
|
|
6001
6001
|
}
|
|
6002
|
-
|
|
6002
|
+
qe.WMS = Zo, zo.wms = sr;
|
|
6003
6003
|
var he = Xt.extend({
|
|
6004
6004
|
// @section
|
|
6005
6005
|
// @aka Renderer options
|
|
@@ -6035,7 +6035,7 @@ function Oa() {
|
|
|
6035
6035
|
},
|
|
6036
6036
|
_updateTransform: function(t, e) {
|
|
6037
6037
|
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));
|
|
6038
|
-
D.any3d ?
|
|
6038
|
+
D.any3d ? xe(this._container, a, i) : kt(this._container, a);
|
|
6039
6039
|
},
|
|
6040
6040
|
_reset: function() {
|
|
6041
6041
|
this._update(), this._updateTransform(this._center, this._zoom);
|
|
@@ -6282,14 +6282,14 @@ function Oa() {
|
|
|
6282
6282
|
t._path.v = e;
|
|
6283
6283
|
},
|
|
6284
6284
|
_bringToFront: function(t) {
|
|
6285
|
-
|
|
6285
|
+
Ve(t._container);
|
|
6286
6286
|
},
|
|
6287
6287
|
_bringToBack: function(t) {
|
|
6288
|
-
|
|
6288
|
+
Fe(t._container);
|
|
6289
6289
|
}
|
|
6290
|
-
},
|
|
6290
|
+
}, Qi = D.vml ? gi : Ee, vi = he.extend({
|
|
6291
6291
|
_initContainer: function() {
|
|
6292
|
-
this._container =
|
|
6292
|
+
this._container = Qi("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = Qi("g"), this._container.appendChild(this._rootGroup);
|
|
6293
6293
|
},
|
|
6294
6294
|
_destroyContainer: function() {
|
|
6295
6295
|
_t(this._container), dt(this._container), delete this._container, delete this._rootGroup, delete this._svgSize;
|
|
@@ -6303,7 +6303,7 @@ function Oa() {
|
|
|
6303
6303
|
},
|
|
6304
6304
|
// methods below are called by vector layers implementations
|
|
6305
6305
|
_initPath: function(t) {
|
|
6306
|
-
var e = t._path =
|
|
6306
|
+
var e = t._path = Qi("path");
|
|
6307
6307
|
t.options.className && K(e, t.options.className), t.options.interactive && K(e, "leaflet-interactive"), this._updateStyle(t), this._layers[c(t)] = t;
|
|
6308
6308
|
},
|
|
6309
6309
|
_addPath: function(t) {
|
|
@@ -6320,7 +6320,7 @@ function Oa() {
|
|
|
6320
6320
|
e && (i.stroke ? (e.setAttribute("stroke", i.color), e.setAttribute("stroke-opacity", i.opacity), e.setAttribute("stroke-width", i.weight), e.setAttribute("stroke-linecap", i.lineCap), e.setAttribute("stroke-linejoin", i.lineJoin), i.dashArray ? e.setAttribute("stroke-dasharray", i.dashArray) : e.removeAttribute("stroke-dasharray"), i.dashOffset ? e.setAttribute("stroke-dashoffset", i.dashOffset) : e.removeAttribute("stroke-dashoffset")) : e.setAttribute("stroke", "none"), i.fill ? (e.setAttribute("fill", i.fillColor || i.color), e.setAttribute("fill-opacity", i.fillOpacity), e.setAttribute("fill-rule", i.fillRule || "evenodd")) : e.setAttribute("fill", "none"));
|
|
6321
6321
|
},
|
|
6322
6322
|
_updatePoly: function(t, e) {
|
|
6323
|
-
this._setPath(t,
|
|
6323
|
+
this._setPath(t, xi(t._parts, e));
|
|
6324
6324
|
},
|
|
6325
6325
|
_updateCircle: function(t) {
|
|
6326
6326
|
var e = t._point, i = Math.max(Math.round(t._radius), 1), n = Math.max(Math.round(t._radiusY), 1) || i, s = "a" + i + "," + n + " 0 1,0 ", a = t._empty() ? "M0 0" : "M" + (e.x - i) + "," + e.y + s + i * 2 + ",0 " + s + -i * 2 + ",0 ";
|
|
@@ -6331,10 +6331,10 @@ function Oa() {
|
|
|
6331
6331
|
},
|
|
6332
6332
|
// SVG does not have the concept of zIndex so we resort to changing the DOM order of elements
|
|
6333
6333
|
_bringToFront: function(t) {
|
|
6334
|
-
|
|
6334
|
+
Ve(t._path);
|
|
6335
6335
|
},
|
|
6336
6336
|
_bringToBack: function(t) {
|
|
6337
|
-
|
|
6337
|
+
Fe(t._path);
|
|
6338
6338
|
}
|
|
6339
6339
|
});
|
|
6340
6340
|
D.vml && vi.include(rr);
|
|
@@ -6360,9 +6360,9 @@ function Oa() {
|
|
|
6360
6360
|
return this.options.preferCanvas && No(t) || Ro(t);
|
|
6361
6361
|
}
|
|
6362
6362
|
});
|
|
6363
|
-
var Ho =
|
|
6363
|
+
var Ho = $e.extend({
|
|
6364
6364
|
initialize: function(t, e) {
|
|
6365
|
-
|
|
6365
|
+
$e.prototype.initialize.call(this, this._boundsToLatLngs(t), e);
|
|
6366
6366
|
},
|
|
6367
6367
|
// @method setBounds(latLngBounds: LatLngBounds): this
|
|
6368
6368
|
// Redraws the rectangle with the passed bounds.
|
|
@@ -6381,7 +6381,7 @@ function Oa() {
|
|
|
6381
6381
|
function ar(t, e) {
|
|
6382
6382
|
return new Ho(t, e);
|
|
6383
6383
|
}
|
|
6384
|
-
vi.create =
|
|
6384
|
+
vi.create = Qi, vi.pointsToPath = xi, ue.geometryToLayer = Wi, ue.coordsToLatLng = Wn, ue.coordsToLatLngs = qi, ue.latLngToCoords = qn, ue.latLngsToCoords = ji, ue.getFeature = We, ue.asFeature = Ki, it.mergeOptions({
|
|
6385
6385
|
// @option boxZoom: Boolean = true
|
|
6386
6386
|
// Whether the map can be zoomed to a rectangular area specified by
|
|
6387
6387
|
// dragging the mouse while pressing the shift key.
|
|
@@ -6412,8 +6412,8 @@ function Oa() {
|
|
|
6412
6412
|
_onMouseDown: function(t) {
|
|
6413
6413
|
if (!t.shiftKey || t.which !== 1 && t.button !== 1)
|
|
6414
6414
|
return !1;
|
|
6415
|
-
this._clearDeferredResetState(), this._resetState(), ui(),
|
|
6416
|
-
contextmenu:
|
|
6415
|
+
this._clearDeferredResetState(), this._resetState(), ui(), Sn(), this._startPoint = this._map.mouseEventToContainerPoint(t), q(document, {
|
|
6416
|
+
contextmenu: Me,
|
|
6417
6417
|
mousemove: this._onMouseMove,
|
|
6418
6418
|
mouseup: this._onMouseUp,
|
|
6419
6419
|
keydown: this._onKeyDown
|
|
@@ -6425,8 +6425,8 @@ function Oa() {
|
|
|
6425
6425
|
kt(this._box, e.min), this._box.style.width = i.x + "px", this._box.style.height = i.y + "px";
|
|
6426
6426
|
},
|
|
6427
6427
|
_finish: function() {
|
|
6428
|
-
this._moved && (_t(this._box), yt(this._container, "leaflet-crosshair")), hi(),
|
|
6429
|
-
contextmenu:
|
|
6428
|
+
this._moved && (_t(this._box), yt(this._container, "leaflet-crosshair")), hi(), An(), dt(document, {
|
|
6429
|
+
contextmenu: Me,
|
|
6430
6430
|
mousemove: this._onMouseMove,
|
|
6431
6431
|
mouseup: this._onMouseUp,
|
|
6432
6432
|
keydown: this._onKeyDown
|
|
@@ -6505,7 +6505,7 @@ function Oa() {
|
|
|
6505
6505
|
addHooks: function() {
|
|
6506
6506
|
if (!this._draggable) {
|
|
6507
6507
|
var t = this._map;
|
|
6508
|
-
this._draggable = new
|
|
6508
|
+
this._draggable = new me(t._mapPane, t._container), this._draggable.on({
|
|
6509
6509
|
dragstart: this._onDragStart,
|
|
6510
6510
|
drag: this._onDrag,
|
|
6511
6511
|
dragend: this._onDragEnd
|
|
@@ -6674,7 +6674,7 @@ function Oa() {
|
|
|
6674
6674
|
i.closePopup();
|
|
6675
6675
|
else
|
|
6676
6676
|
return;
|
|
6677
|
-
|
|
6677
|
+
Me(t);
|
|
6678
6678
|
}
|
|
6679
6679
|
}
|
|
6680
6680
|
});
|
|
@@ -6705,7 +6705,7 @@ function Oa() {
|
|
|
6705
6705
|
var e = _o(t), i = this._map.options.wheelDebounceTime;
|
|
6706
6706
|
this._delta += e, this._lastMousePos = this._map.mouseEventToContainerPoint(t), this._startTime || (this._startTime = +/* @__PURE__ */ new Date());
|
|
6707
6707
|
var n = Math.max(i - (+/* @__PURE__ */ new Date() - this._startTime), 0);
|
|
6708
|
-
clearTimeout(this._timer), this._timer = setTimeout(r(this._performZoom, this), n),
|
|
6708
|
+
clearTimeout(this._timer), this._timer = setTimeout(r(this._performZoom, this), n), Me(t);
|
|
6709
6709
|
},
|
|
6710
6710
|
_performZoom: function() {
|
|
6711
6711
|
var t = this._map, e = t.getZoom(), i = this._map.options.zoomSnap || 0;
|
|
@@ -6822,7 +6822,7 @@ function Oa() {
|
|
|
6822
6822
|
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));
|
|
6823
6823
|
}
|
|
6824
6824
|
});
|
|
6825
|
-
it.addInitHook("addHandler", "touchZoom", qo), it.BoxZoom = Vo, it.DoubleClickZoom = Fo, it.Drag = Go, it.Keyboard = Uo, it.ScrollWheelZoom = $o, it.TapHold = Wo, it.TouchZoom = qo, u.Bounds = Y, u.Browser = D, u.CRS = Et, u.Canvas = Do, u.Circle =
|
|
6825
|
+
it.addInitHook("addHandler", "touchZoom", qo), it.BoxZoom = Vo, it.DoubleClickZoom = Fo, it.Drag = Go, it.Keyboard = Uo, it.ScrollWheelZoom = $o, it.TapHold = Wo, it.TouchZoom = qo, u.Bounds = Y, u.Browser = D, u.CRS = Et, u.Canvas = Do, u.Circle = $n, u.CircleMarker = $i, u.Class = bt, u.Control = Yt, u.DivIcon = Bo, u.DivOverlay = ne, u.DomEvent = Cs, u.DomUtil = Ps, u.Draggable = me, u.Evented = re, u.FeatureGroup = ae, u.GeoJSON = ue, u.GridLayer = mi, u.Handler = ie, u.Icon = Ue, u.ImageOverlay = Yi, u.LatLng = et, u.LatLngBounds = nt, u.Layer = Xt, u.LayerGroup = Ge, u.LineUtil = Rs, u.Map = it, u.Marker = Ui, u.Mixin = Es, u.Path = ge, u.Point = U, u.PolyUtil = Bs, u.Polygon = $e, u.Polyline = le, u.Popup = Xi, u.PosAnimation = mo, u.Projection = Hs, u.Rectangle = Ho, u.Renderer = he, u.SVG = vi, u.SVGOverlay = Eo, u.TileLayer = qe, u.Tooltip = Ji, u.Transformation = Ke, u.Util = Tt, u.VideoOverlay = Oo, u.bind = r, u.bounds = Lt, u.canvas = No, u.circle = js, u.circleMarker = qs, u.control = fi, u.divIcon = nr, u.extend = v, u.featureGroup = Us, u.geoJSON = Io, u.geoJson = Xs, u.gridLayer = or, u.icon = $s, u.imageOverlay = Js, u.latLng = X, u.latLngBounds = pt, u.layerGroup = Gs, u.map = Ts, u.marker = Ws, u.point = N, u.polygon = Ys, u.polyline = Ks, u.popup = er, u.rectangle = ar, u.setOptions = C, u.stamp = c, u.svg = Ro, u.svgOverlay = tr, u.tileLayer = zo, u.tooltip = ir, u.transformation = ke, u.version = f, u.videoOverlay = Qs;
|
|
6826
6826
|
var ur = window.L;
|
|
6827
6827
|
u.noConflict = function() {
|
|
6828
6828
|
return window.L = ur, this;
|
|
@@ -6830,14 +6830,14 @@ function Oa() {
|
|
|
6830
6830
|
});
|
|
6831
6831
|
}(Li, Li.exports)), Li.exports;
|
|
6832
6832
|
}
|
|
6833
|
-
var
|
|
6834
|
-
const
|
|
6835
|
-
var ki = { exports: {} },
|
|
6836
|
-
function
|
|
6833
|
+
var Ba = Ea();
|
|
6834
|
+
const ve = /* @__PURE__ */ Xr(Ba);
|
|
6835
|
+
var ki = { exports: {} }, za = ki.exports, ns;
|
|
6836
|
+
function Za() {
|
|
6837
6837
|
return ns || (ns = 1, function(p, d) {
|
|
6838
6838
|
(function(u, f) {
|
|
6839
6839
|
f(d);
|
|
6840
|
-
})(
|
|
6840
|
+
})(za, function(u) {
|
|
6841
6841
|
var f = L.MarkerClusterGroup = L.FeatureGroup.extend({
|
|
6842
6842
|
options: {
|
|
6843
6843
|
maxClusterRadius: 80,
|
|
@@ -6911,7 +6911,7 @@ function za() {
|
|
|
6911
6911
|
return this.addLayer(o);
|
|
6912
6912
|
var l = this._featureGroup, c = this._nonPointGroup, m = this.options.chunkedLoading, y = this.options.chunkInterval, g = this.options.chunkProgress, w = o.length, P = 0, S = !0, C;
|
|
6913
6913
|
if (this._map) {
|
|
6914
|
-
var
|
|
6914
|
+
var V = (/* @__PURE__ */ new Date()).getTime(), B = L.bind(function() {
|
|
6915
6915
|
var W = (/* @__PURE__ */ new Date()).getTime();
|
|
6916
6916
|
for (this._map && this._unspiderfy && this._unspiderfy(); P < w; P++) {
|
|
6917
6917
|
if (m && P % 200 === 0) {
|
|
@@ -6932,7 +6932,7 @@ function za() {
|
|
|
6932
6932
|
l.removeLayer(Ct);
|
|
6933
6933
|
}
|
|
6934
6934
|
}
|
|
6935
|
-
g && g(P, w, (/* @__PURE__ */ new Date()).getTime() -
|
|
6935
|
+
g && g(P, w, (/* @__PURE__ */ new Date()).getTime() - V), P === w ? (this._topClusterLevel._recalculateBounds(), this._refreshClustersIcons(), this._topClusterLevel._recursivelyAddChildrenToMap(null, this._zoom, this._currentShownBounds)) : setTimeout(B, this.options.chunkDelay);
|
|
6936
6936
|
}, this);
|
|
6937
6937
|
B();
|
|
6938
6938
|
} else
|
|
@@ -7588,13 +7588,13 @@ function za() {
|
|
|
7588
7588
|
}
|
|
7589
7589
|
},
|
|
7590
7590
|
getNearObject: function(o) {
|
|
7591
|
-
var r = this._getCoord(o.x), l = this._getCoord(o.y), c, m, y, g, w, P, S, C,
|
|
7591
|
+
var r = this._getCoord(o.x), l = this._getCoord(o.y), c, m, y, g, w, P, S, C, V = this._objectPoint, B = this._sqCellSize, E = null;
|
|
7592
7592
|
for (c = l - 1; c <= l + 1; c++)
|
|
7593
7593
|
if (g = this._grid[c], g) {
|
|
7594
7594
|
for (m = r - 1; m <= r + 1; m++)
|
|
7595
7595
|
if (w = g[m], w)
|
|
7596
7596
|
for (y = 0, P = w.length; y < P; y++)
|
|
7597
|
-
S = w[y], C = this._sqDist(
|
|
7597
|
+
S = w[y], C = this._sqDist(V[L.Util.stamp(S)], o), (C < B || C <= B && E === null) && (B = C, E = S);
|
|
7598
7598
|
}
|
|
7599
7599
|
return E;
|
|
7600
7600
|
},
|
|
@@ -7659,9 +7659,9 @@ function za() {
|
|
|
7659
7659
|
* @returns {Array}
|
|
7660
7660
|
*/
|
|
7661
7661
|
getConvexHull: function(o) {
|
|
7662
|
-
var r = !1, l = !1, c = !1, m = !1, y = null, g = null, w = null, P = null, S = null, C = null,
|
|
7663
|
-
for (
|
|
7664
|
-
var B = o[
|
|
7662
|
+
var r = !1, l = !1, c = !1, m = !1, y = null, g = null, w = null, P = null, S = null, C = null, V;
|
|
7663
|
+
for (V = o.length - 1; V >= 0; V--) {
|
|
7664
|
+
var B = o[V];
|
|
7665
7665
|
(r === !1 || B.lat > r) && (y = B, r = B.lat), (l === !1 || B.lat < l) && (g = B, l = B.lat), (c === !1 || B.lng > c) && (w = B, c = B.lng), (m === !1 || B.lng < m) && (P = B, m = B.lng);
|
|
7666
7666
|
}
|
|
7667
7667
|
l !== r ? (C = g, S = y) : (C = P, S = w);
|
|
@@ -7736,11 +7736,11 @@ function za() {
|
|
|
7736
7736
|
}
|
|
7737
7737
|
}), L.MarkerCluster.include({
|
|
7738
7738
|
_animationSpiderfy: function(o, r) {
|
|
7739
|
-
var l = this, c = this._group, m = c._map, y = c._featureGroup, g = this._latlng, w = m.latLngToLayerPoint(g), P = L.Path.SVG, S = L.extend({}, this._group.options.spiderLegPolylineOptions), C = S.opacity,
|
|
7740
|
-
for (C === void 0 && (C = L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity), P ? (S.opacity = 0, S.className = (S.className || "") + " leaflet-cluster-spider-leg") : S.opacity = C, c._ignoreMove = !0,
|
|
7741
|
-
B = o[
|
|
7742
|
-
for (c._forceLayout(), c._animationStart(),
|
|
7743
|
-
ot = m.layerPointToLatLng(r[
|
|
7739
|
+
var l = this, c = this._group, m = c._map, y = c._featureGroup, g = this._latlng, w = m.latLngToLayerPoint(g), P = L.Path.SVG, S = L.extend({}, this._group.options.spiderLegPolylineOptions), C = S.opacity, V, B, E, W, ut, ot;
|
|
7740
|
+
for (C === void 0 && (C = L.MarkerClusterGroup.prototype.options.spiderLegPolylineOptions.opacity), P ? (S.opacity = 0, S.className = (S.className || "") + " leaflet-cluster-spider-leg") : S.opacity = C, c._ignoreMove = !0, V = 0; V < o.length; V++)
|
|
7741
|
+
B = o[V], ot = m.layerPointToLatLng(r[V]), E = new L.Polyline([g, ot], S), m.addLayer(E), B._spiderLeg = E, P && (W = E._path, ut = W.getTotalLength() + 0.1, W.style.strokeDasharray = ut, W.style.strokeDashoffset = ut), B.setZIndexOffset && B.setZIndexOffset(1e6), B.clusterHide && B.clusterHide(), y.addLayer(B), B._setPos && B._setPos(w);
|
|
7742
|
+
for (c._forceLayout(), c._animationStart(), V = o.length - 1; V >= 0; V--)
|
|
7743
|
+
ot = m.layerPointToLatLng(r[V]), B = o[V], B._preSpiderfyLatlng = B._latlng, B.setLatLng(ot), B.clusterShow && B.clusterShow(), P && (E = B._spiderLeg, W = E._path, W.style.strokeDashoffset = 0, E.setStyle({ opacity: C }));
|
|
7744
7744
|
this.setOpacity(0.3), c._ignoreMove = !1, setTimeout(function() {
|
|
7745
7745
|
c._animationEnd(), c.fire("spiderfied", {
|
|
7746
7746
|
cluster: l,
|
|
@@ -7749,9 +7749,9 @@ function za() {
|
|
|
7749
7749
|
}, 200);
|
|
7750
7750
|
},
|
|
7751
7751
|
_animationUnspiderfy: function(o) {
|
|
7752
|
-
var r = this, l = this._group, c = l._map, m = l._featureGroup, y = o ? c._latLngToNewLayerPoint(this._latlng, o.zoom, o.center) : c.latLngToLayerPoint(this._latlng), g = this.getAllChildMarkers(null, !0), w = L.Path.SVG, P, S, C,
|
|
7752
|
+
var r = this, l = this._group, c = l._map, m = l._featureGroup, y = o ? c._latLngToNewLayerPoint(this._latlng, o.zoom, o.center) : c.latLngToLayerPoint(this._latlng), g = this.getAllChildMarkers(null, !0), w = L.Path.SVG, P, S, C, V, B, E;
|
|
7753
7753
|
for (l._ignoreMove = !0, l._animationStart(), this.setOpacity(1), S = g.length - 1; S >= 0; S--)
|
|
7754
|
-
P = g[S], P._preSpiderfyLatlng && (P.closePopup(), P.setLatLng(P._preSpiderfyLatlng), delete P._preSpiderfyLatlng, E = !0, P._setPos && (P._setPos(y), E = !1), P.clusterHide && (P.clusterHide(), E = !1), E && m.removeLayer(P), w && (C = P._spiderLeg,
|
|
7754
|
+
P = g[S], P._preSpiderfyLatlng && (P.closePopup(), P.setLatLng(P._preSpiderfyLatlng), delete P._preSpiderfyLatlng, E = !0, P._setPos && (P._setPos(y), E = !1), P.clusterHide && (P.clusterHide(), E = !1), E && m.removeLayer(P), w && (C = P._spiderLeg, V = C._path, B = V.getTotalLength() + 0.1, V.style.strokeDashoffset = B, C.setStyle({ opacity: 0 })));
|
|
7755
7755
|
l._ignoreMove = !1, setTimeout(function() {
|
|
7756
7756
|
var W = 0;
|
|
7757
7757
|
for (S = g.length - 1; S >= 0; S--)
|
|
@@ -7847,8 +7847,8 @@ function za() {
|
|
|
7847
7847
|
});
|
|
7848
7848
|
}(ki, ki.exports)), ki.exports;
|
|
7849
7849
|
}
|
|
7850
|
-
|
|
7851
|
-
const
|
|
7850
|
+
Za();
|
|
7851
|
+
const Da = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAAAACXBIWXMAAAsTAAALEwEAmpwYAAADTUlEQVRYhc2Xz2skRRTHP93zw2YSGzFsiMb4AzyYlfw2YpAIaiJCToKSPciCJy97iAeJ4nl3c9kVDwoiOXgR5m8Y0INIFDPkl8mIBrwkGIIQdzYzmenp6fIwVWPNpHumO8yQPHhUd3V1fT/96lV3P0MIAcD8/HwcMIGkbON01lzAAxzAy2QyLoAhhFDiScCSnpQAZofEPQngACXpTiaTcY25uTklngJs2Vp0JwIloAjkZeuop7SkeL8QYq3Dwg1mGMaMPPQAVw99Sgixlh9exH10kGpPf0eFY4Vj4g8PsXPpNcMwRpDLoCeeBXRFHGieU+WZqbJdeVfEfSDqmirLO5XtUcy8LOHzFJdpLfe6FTf5ZXmSH/f/rffNPv9Y4Pif/8rz4Xd/dAbgg5kBlt54CoBb6f16/7c3X2B8qNf3nlees9n67CXfa2O316MBvH398frxe5PXqFRr34zhJ1JBt1zIAgEWV/d8+5ffGgLgwZnLa/c36/3vv9zPx/NPNzxpUDRCATTb6GAPAPlSlVQyxlnFa7i++3cx7FTRAUYHe9g+LABwcFJmwE5eSOxCALo4wLN9VsvxYcIeCkCtabct8EWkxI/yDu98/Rs3ApJSt7LrcWN1j3e/2eXBmRsKoO0SLHy5Q/bTKSpVj9c/3+SHj8YBGLCT58I9e2+D75fGSMRMpley/PrJFAC/HwUnaCDA1N0sQghefLKW/YmYSdn1mF7JBk5mJUwSsVpQn+mzmLyzjnx9RAdwvdqd24cF/jmtcFKsUHC8oOEAONUqBydl4jGDP4/PWiu3A9DtzS+2Qk0GsPDVTuixcAW+hlcGoPXidsc8BeBqTqxw3DVFbe66psn/5VIJIP7wsCsQ6rdcWklqenFNvGgYxoydS/sWJvnhRcoDE6HEHjnawM6lfa/JwqSIVhd48iQvB4zQWJqZAHYu/VMe2kIoccMwXpVdKr+aS7MS4IUpTuv/8EKIbKtIaOJTNOZWcHHapjxXrV6+bfhBaOITeoibAPzL81YmwSygV3pKCLGlQ2jiY1L8VHpJCQVZW4AAiF4VCUB/8lMiiIcG8IGwJUQWUGt+Si25QotHAmiCSElXP4cOtdAXo4hHBtAgVFKqraq2mBNFHOA/vbl1jTBiGKsAAAAASUVORK5CYII=", Na = /* @__PURE__ */ Nt({
|
|
7852
7852
|
__name: "Map",
|
|
7853
7853
|
props: {
|
|
7854
7854
|
modelValue: {},
|
|
@@ -7856,15 +7856,15 @@ const Za = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
7856
7856
|
},
|
|
7857
7857
|
emits: ["update:modelValue", "callback"],
|
|
7858
7858
|
setup(p, { emit: d }) {
|
|
7859
|
-
const { t: u } = jt(), f = d, v = p, { hotelMapImage: o } = qt(fe()), r =
|
|
7860
|
-
transformation: new
|
|
7861
|
-
}), l = Ft(), c = Pt(() => o.value?.url), m = Pt(() => o.value?.height), y = Pt(() => o.value?.width), g =
|
|
7862
|
-
iconUrl:
|
|
7859
|
+
const { t: u } = jt(), f = d, v = p, { hotelMapImage: o } = qt(fe()), r = ve.Util.extend(ve.CRS.Simple, {
|
|
7860
|
+
transformation: new ve.Transformation(1, 0, 1, 0)
|
|
7861
|
+
}), l = Ft(), c = Pt(() => o.value?.url), m = Pt(() => o.value?.height), y = Pt(() => o.value?.width), g = ve.icon({
|
|
7862
|
+
iconUrl: Da,
|
|
7863
7863
|
iconSize: [32, 37],
|
|
7864
7864
|
iconAnchor: [16, 37]
|
|
7865
7865
|
});
|
|
7866
7866
|
function w() {
|
|
7867
|
-
const E =
|
|
7867
|
+
const E = ve.map(l.value, {
|
|
7868
7868
|
attributionControl: !1,
|
|
7869
7869
|
zoomControl: !0,
|
|
7870
7870
|
smoothWheelZoom: !0,
|
|
@@ -7875,23 +7875,23 @@ const Za = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
7875
7875
|
maxZoom: 3,
|
|
7876
7876
|
crs: r
|
|
7877
7877
|
}), W = [[0, 0], [m.value, y.value]];
|
|
7878
|
-
|
|
7879
|
-
const ut =
|
|
7878
|
+
ve.imageOverlay(c.value, W).addTo(E);
|
|
7879
|
+
const ut = ve.markerClusterGroup({
|
|
7880
7880
|
showCoverageOnHover: !1
|
|
7881
7881
|
});
|
|
7882
|
-
C.value.forEach(({ y: ot, x: Ct, name:
|
|
7883
|
-
ut.addLayer(
|
|
7882
|
+
C.value.forEach(({ y: ot, x: Ct, name: F, id: st }) => {
|
|
7883
|
+
ut.addLayer(ve.marker([ot, Ct], {
|
|
7884
7884
|
icon: g,
|
|
7885
|
-
title:
|
|
7886
|
-
alt:
|
|
7885
|
+
title: F,
|
|
7886
|
+
alt: F,
|
|
7887
7887
|
riseOnHover: !0,
|
|
7888
7888
|
autoPanOnFocus: !0
|
|
7889
|
-
}).bindPopup(`<h3 class="konnectio-leaflet-map-popup-title"><span>${
|
|
7889
|
+
}).bindPopup(`<h3 class="konnectio-leaflet-map-popup-title"><span>${F}</span></h3><button class="konnectio-leaflet-map-popup-button" data-id="${st}">${u("hotel.selectRoomOnMap")}</button>`));
|
|
7890
7890
|
}), E.addLayer(ut), E.invalidateSize(), E.on("popupopen", (ot) => {
|
|
7891
7891
|
const Ct = ot.popup._contentNode.querySelector(".konnectio-leaflet-map-popup-button");
|
|
7892
7892
|
Ct?.addEventListener("click", () => {
|
|
7893
|
-
const
|
|
7894
|
-
B(
|
|
7893
|
+
const F = parseInt(Ct.getAttribute("data-id"));
|
|
7894
|
+
B(F);
|
|
7895
7895
|
});
|
|
7896
7896
|
});
|
|
7897
7897
|
}
|
|
@@ -7899,14 +7899,14 @@ const Za = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
7899
7899
|
E && (P(), w());
|
|
7900
7900
|
}), S = Pt({
|
|
7901
7901
|
get: () => v.modelValue,
|
|
7902
|
-
set: (E) =>
|
|
7902
|
+
set: (E) => V(E)
|
|
7903
7903
|
}), C = Pt(() => v.rooms.map((E) => ({
|
|
7904
7904
|
id: E.id,
|
|
7905
7905
|
name: E.name,
|
|
7906
7906
|
x: E.mapImageX,
|
|
7907
7907
|
y: E.mapImageY
|
|
7908
7908
|
})));
|
|
7909
|
-
function
|
|
7909
|
+
function V(E) {
|
|
7910
7910
|
f("update:modelValue", E);
|
|
7911
7911
|
}
|
|
7912
7912
|
function B(E) {
|
|
@@ -7918,7 +7918,7 @@ const Za = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
7918
7918
|
class: "konnectio-leaflet-map"
|
|
7919
7919
|
}, null, 512)).cacheIndex = 0, Xo(1), W[0]);
|
|
7920
7920
|
}
|
|
7921
|
-
}),
|
|
7921
|
+
}), Ra = /* @__PURE__ */ Jt(Na, [["__scopeId", "data-v-854aed4f"]]), Ha = { style: { height: "100%", width: "100%" } }, Va = /* @__PURE__ */ Nt({
|
|
7922
7922
|
__name: "MapSelector",
|
|
7923
7923
|
props: {
|
|
7924
7924
|
roomList: {},
|
|
@@ -7934,8 +7934,8 @@ const Za = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
7934
7934
|
title: h(d)("hotel.selectRoomOnMapTitle")
|
|
7935
7935
|
}, {
|
|
7936
7936
|
default: tt(() => [
|
|
7937
|
-
k("div",
|
|
7938
|
-
Z(
|
|
7937
|
+
k("div", Ha, [
|
|
7938
|
+
Z(Ra, {
|
|
7939
7939
|
modelValue: u.value,
|
|
7940
7940
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => u.value = c),
|
|
7941
7941
|
rooms: r.roomList,
|
|
@@ -7946,14 +7946,14 @@ const Za = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
|
|
|
7946
7946
|
_: 1
|
|
7947
7947
|
}, 8, ["title"]));
|
|
7948
7948
|
}
|
|
7949
|
-
}),
|
|
7949
|
+
}), Fa = { class: "konnectio-availability-listing-selection" }, Ga = { key: 1 }, Ua = { class: "konnectio-listing-config-body" }, $a = {
|
|
7950
7950
|
key: 0,
|
|
7951
7951
|
class: "konnectio-listing-units-body"
|
|
7952
|
-
},
|
|
7952
|
+
}, Wa = {
|
|
7953
7953
|
key: 1,
|
|
7954
7954
|
class: "konnectio-listing-units-body"
|
|
7955
7955
|
};
|
|
7956
|
-
const
|
|
7956
|
+
const qa = /* @__PURE__ */ Nt({
|
|
7957
7957
|
__name: "Hotel",
|
|
7958
7958
|
props: {
|
|
7959
7959
|
room: {},
|
|
@@ -7965,35 +7965,35 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
7965
7965
|
function u() {
|
|
7966
7966
|
d.value = !0;
|
|
7967
7967
|
}
|
|
7968
|
-
function f(
|
|
7969
|
-
o.callback(
|
|
7968
|
+
function f(F) {
|
|
7969
|
+
o.callback(F), d.value = !1;
|
|
7970
7970
|
}
|
|
7971
7971
|
const { t: v } = jt(), o = p, r = Ft([]);
|
|
7972
|
-
function l(
|
|
7973
|
-
r.value[
|
|
7972
|
+
function l(F) {
|
|
7973
|
+
r.value[F].config.push({
|
|
7974
7974
|
id: NaN,
|
|
7975
7975
|
units: 0,
|
|
7976
7976
|
addons: []
|
|
7977
7977
|
});
|
|
7978
7978
|
}
|
|
7979
|
-
const c = Pt(() => o.room.rates.map((
|
|
7980
|
-
label:
|
|
7981
|
-
value:
|
|
7982
|
-
}))), { hideAvailableRoomAmount: m, autoSelectRateId: y } = qt(
|
|
7979
|
+
const c = Pt(() => o.room.rates.map((F) => ({
|
|
7980
|
+
label: F.name,
|
|
7981
|
+
value: F.id
|
|
7982
|
+
}))), { hideAvailableRoomAmount: m, autoSelectRateId: y } = qt(Ie()), { roomSelect: g } = qt(fe()), { addToCart: w, removeFromCart: P } = fs(), S = (F, st) => o.room.rates.find((ht) => ht.id === F)?.occupantRates.find((ht) => ht.index === st), C = Pt(() => o.room.roomList.some((F) => F.mapImageX && F.mapImageY)), V = Pt(() => o.room.rates.every((F) => F.isBreakfastIncluded === !0)), B = (F, st) => S(F, st) ? S(F, st)?.rooms : null, E = (F) => o.room.rates.length > 0 ? o.room.rates.find((st) => st.id === F)?.occupantRates.map((st) => ({
|
|
7983
7983
|
value: st.index,
|
|
7984
7984
|
price: st.totalPrice,
|
|
7985
7985
|
adults: st.adultsCount,
|
|
7986
7986
|
children: st.childrenCount,
|
|
7987
7987
|
hasBreakfast: st.hasBreakfast
|
|
7988
7988
|
})) || [] : [], W = Pt(() => o.room.rates.length > 1);
|
|
7989
|
-
function ut(
|
|
7990
|
-
r.value[
|
|
7989
|
+
function ut(F, st) {
|
|
7990
|
+
r.value[F].config[0].id = o.room.rates.find((ht) => ht.id === st.value)?.occupantRateIndex || NaN;
|
|
7991
7991
|
}
|
|
7992
7992
|
function ot() {
|
|
7993
7993
|
W.value ? y.value ? r.value.push({
|
|
7994
7994
|
id: o.room.bestRateMatch || void 0,
|
|
7995
7995
|
config: [{
|
|
7996
|
-
id: o.room.bestRateMatch && !isNaN(o.room.bestRateMatch) ? o.room.rates.find((
|
|
7996
|
+
id: o.room.bestRateMatch && !isNaN(o.room.bestRateMatch) ? o.room.rates.find((F) => F.id === o.room.bestRateMatch)?.occupantRateIndex : NaN,
|
|
7997
7997
|
units: 0,
|
|
7998
7998
|
addons: []
|
|
7999
7999
|
}]
|
|
@@ -8013,12 +8013,12 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8013
8013
|
}]
|
|
8014
8014
|
});
|
|
8015
8015
|
}
|
|
8016
|
-
|
|
8016
|
+
ao(() => {
|
|
8017
8017
|
ot();
|
|
8018
8018
|
});
|
|
8019
8019
|
const Ct = Pt(() => JSON.parse(JSON.stringify(r.value)));
|
|
8020
|
-
return
|
|
8021
|
-
st.length > 0 &&
|
|
8020
|
+
return sn(Ct, (F, st) => {
|
|
8021
|
+
st.length > 0 && F.forEach((ht, Bt) => {
|
|
8022
8022
|
ht.config.forEach((at, Q) => {
|
|
8023
8023
|
const Tt = at.units, bt = st[Bt].config[Q].units;
|
|
8024
8024
|
Tt !== bt && (Tt > bt ? (r.value[Bt].config[Q].addons.push({}), w({
|
|
@@ -8032,26 +8032,26 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8032
8032
|
})));
|
|
8033
8033
|
});
|
|
8034
8034
|
});
|
|
8035
|
-
}, { deep: !0 }),
|
|
8035
|
+
}, { deep: !0 }), sn(r, () => {
|
|
8036
8036
|
g.value[o.room.id] = r.value;
|
|
8037
|
-
}, { deep: !0 }), (
|
|
8037
|
+
}, { deep: !0 }), (F, st) => (T(), lt(un, {
|
|
8038
8038
|
type: "hotel",
|
|
8039
|
-
"listing-id":
|
|
8040
|
-
gallery:
|
|
8041
|
-
name:
|
|
8042
|
-
description:
|
|
8043
|
-
layout:
|
|
8044
|
-
facilities:
|
|
8045
|
-
"prices-from":
|
|
8046
|
-
"includes-breakfast":
|
|
8039
|
+
"listing-id": F.room.id,
|
|
8040
|
+
gallery: F.room.images,
|
|
8041
|
+
name: F.room.title,
|
|
8042
|
+
description: F.room.description,
|
|
8043
|
+
layout: F.layout,
|
|
8044
|
+
facilities: F.room.facilities,
|
|
8045
|
+
"prices-from": F.room.pricesFrom,
|
|
8046
|
+
"includes-breakfast": V.value
|
|
8047
8047
|
}, {
|
|
8048
8048
|
action: tt(() => [
|
|
8049
|
-
k("div",
|
|
8049
|
+
k("div", Fa, [
|
|
8050
8050
|
(T(!0), A(mt, null, At(r.value, (ht, Bt) => (T(), A("div", {
|
|
8051
8051
|
key: ht.id,
|
|
8052
8052
|
class: "konnectio-hotel-room"
|
|
8053
8053
|
}, [
|
|
8054
|
-
W.value ? (T(), lt(
|
|
8054
|
+
W.value ? (T(), lt(ln, {
|
|
8055
8055
|
key: 0,
|
|
8056
8056
|
modelValue: ht.id,
|
|
8057
8057
|
"onUpdate:modelValue": (at) => ht.id = at,
|
|
@@ -8060,9 +8060,9 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8060
8060
|
options: c.value,
|
|
8061
8061
|
searchable: !1,
|
|
8062
8062
|
onChanged: (at) => ut(Bt, at)
|
|
8063
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) :
|
|
8064
|
-
ht.id ? (T(), A("div",
|
|
8065
|
-
(T(!0), A(mt, null, At(
|
|
8063
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) : H("", !0),
|
|
8064
|
+
ht.id ? (T(), A("div", Ga, [
|
|
8065
|
+
(T(!0), A(mt, null, At(F.room.rates, ({
|
|
8066
8066
|
id: at,
|
|
8067
8067
|
maximumOccupants: Q
|
|
8068
8068
|
}) => (T(), A("div", {
|
|
@@ -8073,8 +8073,8 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8073
8073
|
key: bt,
|
|
8074
8074
|
class: "konnectio-listing-action-selective"
|
|
8075
8075
|
}, [
|
|
8076
|
-
k("ul",
|
|
8077
|
-
Z(
|
|
8076
|
+
k("ul", Ua, [
|
|
8077
|
+
Z(Ia, {
|
|
8078
8078
|
modelValue: Tt.id,
|
|
8079
8079
|
"onUpdate:modelValue": (Rt) => Tt.id = Rt,
|
|
8080
8080
|
icon: "male",
|
|
@@ -8085,21 +8085,21 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8085
8085
|
readonly: !(E(at).length > 1)
|
|
8086
8086
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
8087
8087
|
]),
|
|
8088
|
-
C.value ? (T(), A("div",
|
|
8088
|
+
C.value ? (T(), A("div", Wa, [
|
|
8089
8089
|
Z(de, {
|
|
8090
8090
|
onClickEvent: u,
|
|
8091
8091
|
label: h(v)("hotel.selectRoomOnMap"),
|
|
8092
8092
|
secondary: "",
|
|
8093
8093
|
"full-width": ""
|
|
8094
8094
|
}, null, 8, ["label"]),
|
|
8095
|
-
Z(
|
|
8095
|
+
Z(Va, {
|
|
8096
8096
|
modelValue: d.value,
|
|
8097
8097
|
"onUpdate:modelValue": st[0] || (st[0] = (Rt) => d.value = Rt),
|
|
8098
|
-
"room-list":
|
|
8098
|
+
"room-list": F.room.roomList,
|
|
8099
8099
|
config: Tt,
|
|
8100
8100
|
callback: f
|
|
8101
8101
|
}, null, 8, ["modelValue", "room-list", "config"])
|
|
8102
|
-
])) : (T(), A("ul",
|
|
8102
|
+
])) : (T(), A("ul", $a, [
|
|
8103
8103
|
Z(bi, {
|
|
8104
8104
|
modelValue: Tt.units,
|
|
8105
8105
|
"onUpdate:modelValue": (Rt) => Tt.units = Rt,
|
|
@@ -8112,17 +8112,17 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8112
8112
|
"max-value": B(at, Tt.id) || 1 / 0
|
|
8113
8113
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
8114
8114
|
])),
|
|
8115
|
-
|
|
8116
|
-
]))), 128)) :
|
|
8115
|
+
H("", !0)
|
|
8116
|
+
]))), 128)) : H("", !0)
|
|
8117
8117
|
]))), 128))
|
|
8118
|
-
])) :
|
|
8118
|
+
])) : H("", !0)
|
|
8119
8119
|
]))), 128))
|
|
8120
8120
|
])
|
|
8121
8121
|
]),
|
|
8122
8122
|
_: 1
|
|
8123
8123
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
8124
8124
|
}
|
|
8125
|
-
}), os = /* @__PURE__ */ Jt(
|
|
8125
|
+
}), os = /* @__PURE__ */ Jt(qa, [["__scopeId", "data-v-2bc12cc9"]]), ja = { class: "konnectio-template-side-panel" }, Ka = { class: "konnectio-template-side-panel-listings" }, Ya = /* @__PURE__ */ Nt({
|
|
8126
8126
|
__name: "Template",
|
|
8127
8127
|
props: {
|
|
8128
8128
|
title: {},
|
|
@@ -8132,7 +8132,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8132
8132
|
callback: { type: Function }
|
|
8133
8133
|
},
|
|
8134
8134
|
setup(p) {
|
|
8135
|
-
const { t: d } = jt(), { templateID: u, roomGroupID: f, selectionHasNoAddons: v } = qt(fe()), { currency: o } = qt(
|
|
8135
|
+
const { t: d } = jt(), { templateID: u, roomGroupID: f, selectionHasNoAddons: v } = qt(fe()), { currency: o } = qt(Ie()), { clearRoomSelection: r } = fe(), l = p, c = Ft(!0), m = Pt(() => {
|
|
8136
8136
|
function g(w, P) {
|
|
8137
8137
|
return c.value === !0 ? w.extraPrice > P.extraPrice ? -1 : 1 : w.extraPrice > P.extraPrice ? 1 : -1;
|
|
8138
8138
|
}
|
|
@@ -8150,23 +8150,23 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8150
8150
|
subtitle: h(d)("booking.availability.selectATemplateRoom")
|
|
8151
8151
|
}, {
|
|
8152
8152
|
default: tt(() => [
|
|
8153
|
-
k("div",
|
|
8154
|
-
k("div",
|
|
8153
|
+
k("div", ja, [
|
|
8154
|
+
k("div", Ka, [
|
|
8155
8155
|
(T(!0), A(mt, null, At(m.value, ({
|
|
8156
8156
|
id: P,
|
|
8157
8157
|
title: S,
|
|
8158
8158
|
description: C,
|
|
8159
|
-
images:
|
|
8159
|
+
images: V,
|
|
8160
8160
|
facilities: B,
|
|
8161
8161
|
extraPrice: E
|
|
8162
|
-
}) => (T(), lt(
|
|
8162
|
+
}) => (T(), lt(un, {
|
|
8163
8163
|
type: "hotel",
|
|
8164
8164
|
key: P,
|
|
8165
8165
|
"listing-id": P,
|
|
8166
8166
|
name: S,
|
|
8167
8167
|
description: C,
|
|
8168
8168
|
facilities: B,
|
|
8169
|
-
gallery:
|
|
8169
|
+
gallery: V,
|
|
8170
8170
|
"includes-breakfast": !1,
|
|
8171
8171
|
"hide-info-button": !0
|
|
8172
8172
|
}, {
|
|
@@ -8187,7 +8187,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8187
8187
|
_: 1
|
|
8188
8188
|
}, 8, ["title", "subtitle"]));
|
|
8189
8189
|
}
|
|
8190
|
-
}),
|
|
8190
|
+
}), Xa = /* @__PURE__ */ Jt(Ya, [["__scopeId", "data-v-a323d25a"]]), Ja = { class: "konnectio-template-select-package" }, Qa = /* @__PURE__ */ Nt({
|
|
8191
8191
|
__name: "Template",
|
|
8192
8192
|
props: {
|
|
8193
8193
|
id: {},
|
|
@@ -8210,7 +8210,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8210
8210
|
function r(l) {
|
|
8211
8211
|
u.callback(l), v.value = !1;
|
|
8212
8212
|
}
|
|
8213
|
-
return (l, c) => (T(), lt(
|
|
8213
|
+
return (l, c) => (T(), lt(un, {
|
|
8214
8214
|
type: "template",
|
|
8215
8215
|
"listing-id": l.id,
|
|
8216
8216
|
name: l.name,
|
|
@@ -8222,7 +8222,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8222
8222
|
"prices-from": f.value
|
|
8223
8223
|
}, {
|
|
8224
8224
|
action: tt(() => [
|
|
8225
|
-
k("div",
|
|
8225
|
+
k("div", Ja, [
|
|
8226
8226
|
Z(de, {
|
|
8227
8227
|
onClickEvent: o,
|
|
8228
8228
|
label: h(d)("booking.availability.selectPackage"),
|
|
@@ -8231,7 +8231,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8231
8231
|
])
|
|
8232
8232
|
]),
|
|
8233
8233
|
default: tt(() => [
|
|
8234
|
-
Z(
|
|
8234
|
+
Z(Xa, {
|
|
8235
8235
|
modelValue: v.value,
|
|
8236
8236
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => v.value = m),
|
|
8237
8237
|
title: l.name,
|
|
@@ -8244,7 +8244,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8244
8244
|
_: 1
|
|
8245
8245
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
8246
8246
|
}
|
|
8247
|
-
}),
|
|
8247
|
+
}), tl = { class: "konnectio-special-offer-availability" }, el = { class: "konnectio-special-offer-availability-button" }, il = /* @__PURE__ */ Nt({
|
|
8248
8248
|
__name: "SpecialOffer",
|
|
8249
8249
|
props: {
|
|
8250
8250
|
id: {},
|
|
@@ -8257,16 +8257,16 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8257
8257
|
roomGroups: {}
|
|
8258
8258
|
},
|
|
8259
8259
|
setup(p) {
|
|
8260
|
-
const { t: d } = jt(), { updateDates: u } =
|
|
8260
|
+
const { t: d } = jt(), { updateDates: u } = Pi(), { display: f } = lo(), v = p, o = Ft([]), r = Pt(() => yi(v.fromDate, v.toDate) === 1);
|
|
8261
8261
|
function l() {
|
|
8262
8262
|
o.value.length > 0 ? u(o.value[0], o.value[1]) : f({
|
|
8263
8263
|
message: d("alert.error.selectDates"),
|
|
8264
8264
|
type: "error"
|
|
8265
8265
|
});
|
|
8266
8266
|
}
|
|
8267
|
-
return
|
|
8267
|
+
return ao(() => {
|
|
8268
8268
|
r.value && (o.value = [new Date(v.fromDate), new Date(v.toDate)]);
|
|
8269
|
-
}), (c, m) => (T(), lt(
|
|
8269
|
+
}), (c, m) => (T(), lt(un, {
|
|
8270
8270
|
type: "template",
|
|
8271
8271
|
"listing-id": c.id,
|
|
8272
8272
|
name: c.name,
|
|
@@ -8280,7 +8280,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8280
8280
|
"disable-deep-link": !0
|
|
8281
8281
|
}, {
|
|
8282
8282
|
action: tt(() => [
|
|
8283
|
-
k("div",
|
|
8283
|
+
k("div", tl, [
|
|
8284
8284
|
Z(ms, {
|
|
8285
8285
|
modelValue: o.value,
|
|
8286
8286
|
"onUpdate:modelValue": m[0] || (m[0] = (y) => o.value = y),
|
|
@@ -8295,7 +8295,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8295
8295
|
readonly: r.value,
|
|
8296
8296
|
range: ""
|
|
8297
8297
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
8298
|
-
k("div",
|
|
8298
|
+
k("div", el, [
|
|
8299
8299
|
Z(de, {
|
|
8300
8300
|
label: h(d)("availability.buttonLabel"),
|
|
8301
8301
|
onClick: ds(l, ["prevent"])
|
|
@@ -8306,7 +8306,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8306
8306
|
_: 1
|
|
8307
8307
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
8308
8308
|
}
|
|
8309
|
-
}),
|
|
8309
|
+
}), nl = /* @__PURE__ */ Jt(il, [["__scopeId", "data-v-47edd09f"]]), ss = /* @__PURE__ */ Nt({
|
|
8310
8310
|
__name: "TimeField",
|
|
8311
8311
|
props: {
|
|
8312
8312
|
modelValue: {},
|
|
@@ -8329,7 +8329,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8329
8329
|
u("update:modelValue", r);
|
|
8330
8330
|
}
|
|
8331
8331
|
const o = Ft(f.modelValue);
|
|
8332
|
-
return
|
|
8332
|
+
return sn(o, (r) => {
|
|
8333
8333
|
v(r);
|
|
8334
8334
|
}), (r, l) => (T(), lt(ms, {
|
|
8335
8335
|
modelValue: o.value,
|
|
@@ -8348,7 +8348,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8348
8348
|
"max-time": r.maxTime
|
|
8349
8349
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly", "min-time", "max-time"]));
|
|
8350
8350
|
}
|
|
8351
|
-
}),
|
|
8351
|
+
}), ol = { style: { display: "flex", "align-items": "baseline" } }, sl = /* @__PURE__ */ Nt({
|
|
8352
8352
|
__name: "CountryField",
|
|
8353
8353
|
props: {
|
|
8354
8354
|
modelValue: {},
|
|
@@ -8368,7 +8368,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8368
8368
|
get: () => v.modelValue,
|
|
8369
8369
|
set: (l) => o(l)
|
|
8370
8370
|
});
|
|
8371
|
-
return (l, c) => (T(), lt(
|
|
8371
|
+
return (l, c) => (T(), lt(ln, {
|
|
8372
8372
|
modelValue: r.value,
|
|
8373
8373
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => r.value = m),
|
|
8374
8374
|
label: l.label,
|
|
@@ -8380,14 +8380,14 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8380
8380
|
}, {
|
|
8381
8381
|
option: tt(({ data: m }) => [
|
|
8382
8382
|
k("i", {
|
|
8383
|
-
class:
|
|
8383
|
+
class: wi(["konnectio-flag-icon", m.iso])
|
|
8384
8384
|
}, null, 2),
|
|
8385
8385
|
k("span", null, O(m.name), 1)
|
|
8386
8386
|
]),
|
|
8387
8387
|
"selected-option": tt(({ data: m }) => [
|
|
8388
|
-
k("div",
|
|
8388
|
+
k("div", ol, [
|
|
8389
8389
|
k("i", {
|
|
8390
|
-
class:
|
|
8390
|
+
class: wi(["konnectio-flag-icon", m.iso])
|
|
8391
8391
|
}, null, 2),
|
|
8392
8392
|
k("span", null, O(m.name), 1)
|
|
8393
8393
|
])
|
|
@@ -8395,7 +8395,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8395
8395
|
_: 1
|
|
8396
8396
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
8397
8397
|
}
|
|
8398
|
-
}),
|
|
8398
|
+
}), rl = /* @__PURE__ */ Jt(sl, [["__scopeId", "data-v-a94e1728"]]), al = /* @__PURE__ */ Nt({
|
|
8399
8399
|
__name: "NameField",
|
|
8400
8400
|
props: {
|
|
8401
8401
|
modelValue: {},
|
|
@@ -8420,11 +8420,11 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8420
8420
|
function l() {
|
|
8421
8421
|
f("update:modelValue", o.value);
|
|
8422
8422
|
}
|
|
8423
|
-
|
|
8423
|
+
sn(r, (m) => {
|
|
8424
8424
|
f("update:title", m);
|
|
8425
8425
|
});
|
|
8426
8426
|
const { t: c } = jt();
|
|
8427
|
-
return
|
|
8427
|
+
return ao(() => {
|
|
8428
8428
|
u.modelValue && (o.value = u.modelValue), u.title && (r.value = u.title);
|
|
8429
8429
|
}), (m, y) => (T(), lt(Ir, {
|
|
8430
8430
|
label: m.label,
|
|
@@ -8436,12 +8436,12 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8436
8436
|
}, {
|
|
8437
8437
|
default: tt(() => [
|
|
8438
8438
|
k("div", {
|
|
8439
|
-
class:
|
|
8439
|
+
class: wi([
|
|
8440
8440
|
"konnectio-name-input",
|
|
8441
8441
|
{ "no-title": m.excludeTitle }
|
|
8442
8442
|
])
|
|
8443
8443
|
}, [
|
|
8444
|
-
m.excludeTitle ?
|
|
8444
|
+
m.excludeTitle ? H("", !0) : (T(), lt(ln, {
|
|
8445
8445
|
key: 0,
|
|
8446
8446
|
modelValue: r.value,
|
|
8447
8447
|
"onUpdate:modelValue": y[0] || (y[0] = (g) => r.value = g),
|
|
@@ -8475,7 +8475,7 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8475
8475
|
"hide-button": "",
|
|
8476
8476
|
searchable: !1
|
|
8477
8477
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly"])),
|
|
8478
|
-
Z(
|
|
8478
|
+
Z(ye, {
|
|
8479
8479
|
modelValue: o.value,
|
|
8480
8480
|
"onUpdate:modelValue": y[1] || (y[1] = (g) => o.value = g),
|
|
8481
8481
|
type: "text",
|
|
@@ -8496,71 +8496,74 @@ const Wa = /* @__PURE__ */ Nt({
|
|
|
8496
8496
|
_: 1
|
|
8497
8497
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
8498
8498
|
}
|
|
8499
|
-
}),
|
|
8499
|
+
}), ll = /* @__PURE__ */ Jt(al, [["__scopeId", "data-v-9d27a2bc"]]), ul = { class: "hotel-skeleton" }, hl = { class: "hotel-skeleton-content" }, cl = { class: "hotel-skeleton-sidebar" }, dl = /* @__PURE__ */ Nt({
|
|
8500
8500
|
__name: "HotelSkeleton",
|
|
8501
8501
|
setup(p) {
|
|
8502
|
-
return (d, u) => (T(), A("div",
|
|
8503
|
-
k("div", ul, [
|
|
8504
|
-
Z(Ur, { hotel: "" }),
|
|
8505
|
-
Z(Dr)
|
|
8506
|
-
]),
|
|
8502
|
+
return (d, u) => (T(), A("div", ul, [
|
|
8507
8503
|
k("div", hl, [
|
|
8504
|
+
Z($r, { hotel: "" }),
|
|
8508
8505
|
Z(Nr)
|
|
8506
|
+
]),
|
|
8507
|
+
k("div", cl, [
|
|
8508
|
+
Z(Rr)
|
|
8509
8509
|
])
|
|
8510
8510
|
]));
|
|
8511
8511
|
}
|
|
8512
|
-
}),
|
|
8512
|
+
}), fl = /* @__PURE__ */ Jt(dl, [["__scopeId", "data-v-1bb21da4"]]), pl = { id: "booking-availability-container" }, _l = { id: "booking-availability-controls" }, ml = {
|
|
8513
8513
|
key: 0,
|
|
8514
8514
|
class: "konnectio-panel konnectio-filter-notice"
|
|
8515
|
-
},
|
|
8515
|
+
}, gl = {
|
|
8516
8516
|
key: 1,
|
|
8517
8517
|
class: "konnectio-panel konnectio-filter-notice"
|
|
8518
8518
|
};
|
|
8519
|
-
const
|
|
8519
|
+
const vl = { key: 3 }, yl = { key: 0 }, bl = {
|
|
8520
8520
|
key: 0,
|
|
8521
8521
|
id: "booking-availability-packages"
|
|
8522
|
-
},
|
|
8522
|
+
}, Ll = {
|
|
8523
8523
|
key: 0,
|
|
8524
8524
|
class: "konnectio-hotel-availability-title"
|
|
8525
|
-
},
|
|
8525
|
+
}, kl = { id: "booking-availability-packages-wrapper" }, wl = { key: 1 }, Pl = {
|
|
8526
8526
|
key: 0,
|
|
8527
8527
|
class: "konnectio-hotel-availability-title"
|
|
8528
|
-
},
|
|
8528
|
+
}, xl = { id: "konnectio-listings" }, Cl = {
|
|
8529
8529
|
key: 0,
|
|
8530
8530
|
class: "konnectio-hotel-availability-title"
|
|
8531
|
-
},
|
|
8531
|
+
}, Tl = { id: "konnectio-listings" }, Ml = {
|
|
8532
8532
|
key: 0,
|
|
8533
8533
|
id: "booking-availability-packages"
|
|
8534
|
-
},
|
|
8534
|
+
}, Sl = { class: "konnectio-hotel-availability-title" }, Al = { id: "booking-availability-packages-wrapper" }, Il = {
|
|
8535
8535
|
key: 3,
|
|
8536
8536
|
id: "booking-availability-no-listings",
|
|
8537
8537
|
class: "konnectio-panel"
|
|
8538
|
-
},
|
|
8538
|
+
}, Ol = {
|
|
8539
8539
|
key: 1,
|
|
8540
8540
|
id: "booking-availability-no-listings",
|
|
8541
8541
|
class: "konnectio-panel"
|
|
8542
|
-
},
|
|
8542
|
+
}, El = {
|
|
8543
8543
|
key: 2,
|
|
8544
8544
|
id: "reservation-availability-next-dates"
|
|
8545
|
-
},
|
|
8545
|
+
}, Bl = { class: "konnectio-hotel-availability-title" }, zl = { class: "reservation-special-offers-grid" }, Zl = ["title"], Dl = { key: 0 }, Nl = {
|
|
8546
8546
|
key: 4,
|
|
8547
8547
|
class: "konnectio-panel"
|
|
8548
|
-
},
|
|
8548
|
+
}, Rl = {
|
|
8549
8549
|
key: 5,
|
|
8550
8550
|
class: "konnectio-listing-loading"
|
|
8551
|
-
},
|
|
8551
|
+
}, Hl = { class: "konnectio-hotel-availability-warning" }, Vl = { class: "konnectio-hotel-availability-warning" }, Fl = { class: "konnectio-panel" }, Gl = {
|
|
8552
8552
|
key: 0,
|
|
8553
8553
|
id: "konnectio-hotel-addons"
|
|
8554
|
-
},
|
|
8555
|
-
const
|
|
8554
|
+
}, Ul = { key: 0 };
|
|
8555
|
+
const $l = { class: "konnectio-event-addons-price" }, Wl = { key: 1 }, ql = {
|
|
8556
|
+
key: 0,
|
|
8557
|
+
class: "konnectio-table-addons-image"
|
|
8558
|
+
}, jl = ["src"], Kl = ["innerHTML"], Yl = { class: "konnectio-table-addons-option" }, Xl = {
|
|
8556
8559
|
key: 1,
|
|
8557
8560
|
id: "konnectio-hotel-addons"
|
|
8558
|
-
},
|
|
8559
|
-
const
|
|
8561
|
+
}, Jl = { class: "konnectio-table with-lines" };
|
|
8562
|
+
const Ql = { class: "konnectio-table-addons-information" }, tu = { class: "konnectio-table-addons-option" }, eu = { class: "konnectio-panel" }, iu = { key: 0 }, nu = { key: 1 }, ou = {
|
|
8560
8563
|
key: 1,
|
|
8561
8564
|
class: "konnectio-show-on-mobile"
|
|
8562
|
-
},
|
|
8563
|
-
const
|
|
8565
|
+
}, su = { class: "konnectio-split-inputs" };
|
|
8566
|
+
const ru = /* @__PURE__ */ Nt({
|
|
8564
8567
|
name: "HotelLayout",
|
|
8565
8568
|
__name: "Hotel",
|
|
8566
8569
|
props: {
|
|
@@ -8578,7 +8581,7 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8578
8581
|
styling: {}
|
|
8579
8582
|
},
|
|
8580
8583
|
setup(p) {
|
|
8581
|
-
const d = kr(() => import("./_-
|
|
8584
|
+
const d = kr(() => import("./_-s78YKDyv.js")), u = p, { t: f } = jt(), {
|
|
8582
8585
|
currentLocation: v,
|
|
8583
8586
|
templateID: o,
|
|
8584
8587
|
templateAddons: r,
|
|
@@ -8591,14 +8594,14 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8591
8594
|
departureTime: P,
|
|
8592
8595
|
name: S,
|
|
8593
8596
|
nameTitle: C,
|
|
8594
|
-
email:
|
|
8597
|
+
email: V,
|
|
8595
8598
|
phone: B,
|
|
8596
8599
|
firmName: E,
|
|
8597
8600
|
postal: W,
|
|
8598
8601
|
city: ut,
|
|
8599
8602
|
address: ot,
|
|
8600
8603
|
country: Ct,
|
|
8601
|
-
remark:
|
|
8604
|
+
remark: F,
|
|
8602
8605
|
allergies: st,
|
|
8603
8606
|
roomSelect: ht,
|
|
8604
8607
|
roomDisplay: Bt,
|
|
@@ -8622,45 +8625,45 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8622
8625
|
adults: Et,
|
|
8623
8626
|
children: gt,
|
|
8624
8627
|
location: Kt,
|
|
8625
|
-
arrivalDate:
|
|
8626
|
-
departureDate:
|
|
8627
|
-
hasHotelLocations:
|
|
8628
|
-
} = qt(
|
|
8629
|
-
currency:
|
|
8630
|
-
enableTracking:
|
|
8631
|
-
disableNamePrefix:
|
|
8632
|
-
disableTravelingFor:
|
|
8633
|
-
disableTravelingForBleasure:
|
|
8634
|
-
disableCompanyField:
|
|
8635
|
-
hasPaymentGateway:
|
|
8636
|
-
maxAdultAmount:
|
|
8637
|
-
maxChildAmount:
|
|
8638
|
-
defaultAdultAmount:
|
|
8639
|
-
defaultChildAmount:
|
|
8640
|
-
disableNewsletterSignup:
|
|
8641
|
-
hasActiveIdFilter:
|
|
8642
|
-
hotelSettings:
|
|
8643
|
-
} = qt(
|
|
8644
|
-
hasArrivalDepartureInputs:
|
|
8645
|
-
hasUserArrivalSelection:
|
|
8646
|
-
hasUserDepartureSelection:
|
|
8647
|
-
earliestArrivalTime:
|
|
8648
|
-
latestArrivalTime:
|
|
8649
|
-
earliestDepartureTime:
|
|
8650
|
-
latestDepartureTime:
|
|
8651
|
-
setActiveIdFilter:
|
|
8652
|
-
clearActiveIdFilter:
|
|
8653
|
-
} =
|
|
8654
|
-
resetTemplate:
|
|
8655
|
-
resetDiscountVoucher:
|
|
8656
|
-
createReservation:
|
|
8657
|
-
fetchMetadata:
|
|
8658
|
-
fetchAvailabilityData:
|
|
8659
|
-
filterAddons:
|
|
8660
|
-
hasAvailableRoomAddons:
|
|
8661
|
-
setGuestDiscountId:
|
|
8662
|
-
clearGuestDiscountId:
|
|
8663
|
-
} = fe(),
|
|
8628
|
+
arrivalDate: Oe,
|
|
8629
|
+
departureDate: Ke,
|
|
8630
|
+
hasHotelLocations: ke
|
|
8631
|
+
} = qt(Pi()), { isValidHotelId: Ye, updateDates: hn } = Pi(), {
|
|
8632
|
+
currency: Ee,
|
|
8633
|
+
enableTracking: xi,
|
|
8634
|
+
disableNamePrefix: Xe,
|
|
8635
|
+
disableTravelingFor: Be,
|
|
8636
|
+
disableTravelingForBleasure: cn,
|
|
8637
|
+
disableCompanyField: Ci,
|
|
8638
|
+
hasPaymentGateway: Je,
|
|
8639
|
+
maxAdultAmount: Qe,
|
|
8640
|
+
maxChildAmount: ti,
|
|
8641
|
+
defaultAdultAmount: dn,
|
|
8642
|
+
defaultChildAmount: fn,
|
|
8643
|
+
disableNewsletterSignup: ei,
|
|
8644
|
+
hasActiveIdFilter: ii,
|
|
8645
|
+
hotelSettings: ze
|
|
8646
|
+
} = qt(Ie()), {
|
|
8647
|
+
hasArrivalDepartureInputs: pn,
|
|
8648
|
+
hasUserArrivalSelection: Ze,
|
|
8649
|
+
hasUserDepartureSelection: De,
|
|
8650
|
+
earliestArrivalTime: _n,
|
|
8651
|
+
latestArrivalTime: Ti,
|
|
8652
|
+
earliestDepartureTime: ni,
|
|
8653
|
+
latestDepartureTime: Mi,
|
|
8654
|
+
setActiveIdFilter: mn,
|
|
8655
|
+
clearActiveIdFilter: we
|
|
8656
|
+
} = Ie(), { beginCheckout: gn } = fs(), { display: Ne } = lo(), {
|
|
8657
|
+
resetTemplate: Si,
|
|
8658
|
+
resetDiscountVoucher: Ai,
|
|
8659
|
+
createReservation: Ii,
|
|
8660
|
+
fetchMetadata: vn,
|
|
8661
|
+
fetchAvailabilityData: oi,
|
|
8662
|
+
filterAddons: Oi,
|
|
8663
|
+
hasAvailableRoomAddons: yn,
|
|
8664
|
+
setGuestDiscountId: bn,
|
|
8665
|
+
clearGuestDiscountId: Ln
|
|
8666
|
+
} = fe(), si = Ft(!0), kn = Pt(() => [
|
|
8664
8667
|
{
|
|
8665
8668
|
id: "availability",
|
|
8666
8669
|
label: f("booking.availability.title"),
|
|
@@ -8685,7 +8688,7 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8685
8688
|
label: f("booking.confirmation.title"),
|
|
8686
8689
|
icon: "calendar-check"
|
|
8687
8690
|
}
|
|
8688
|
-
]),
|
|
8691
|
+
]), wn = Pt(() => {
|
|
8689
8692
|
const z = [
|
|
8690
8693
|
{
|
|
8691
8694
|
label: f("booking.reservation.business"),
|
|
@@ -8696,131 +8699,131 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8696
8699
|
value: "Pleasure"
|
|
8697
8700
|
}
|
|
8698
8701
|
];
|
|
8699
|
-
return
|
|
8702
|
+
return cn.value || z.push({
|
|
8700
8703
|
label: f("booking.reservation.bleasure"),
|
|
8701
8704
|
value: "Bleasure"
|
|
8702
8705
|
}), z;
|
|
8703
8706
|
}), Qt = Pt(() => {
|
|
8704
8707
|
let z = Q.value.roomGroups.slice();
|
|
8705
8708
|
function R(vt, j) {
|
|
8706
|
-
return
|
|
8709
|
+
return si.value === !0 ? vt.pricesFrom > j.pricesFrom ? -1 : 1 : vt.pricesFrom > j.pricesFrom ? 1 : -1;
|
|
8707
8710
|
}
|
|
8708
8711
|
return u.sortBy === "price" && (z = z.sort(R)), Object.groupBy(z, (vt) => vt.roomList.some((j) => j.mapImageX && j.mapImageY) ? "camping" : "rooms");
|
|
8709
|
-
}),
|
|
8712
|
+
}), ri = Pt(() => u.hideAddons === "yes" || pe.value && u.hideAddons === "packages" || !pe.value && u.hideAddons === "rooms");
|
|
8710
8713
|
function Ht(z) {
|
|
8711
|
-
|
|
8714
|
+
ri.value || Tt.value ? z(2) : z(), Ai();
|
|
8712
8715
|
}
|
|
8713
8716
|
async function D(z, R) {
|
|
8714
|
-
await
|
|
8717
|
+
await Ii(z, R);
|
|
8715
8718
|
}
|
|
8716
|
-
function
|
|
8717
|
-
if (isNaN(Kt.value) &&
|
|
8718
|
-
|
|
8719
|
+
function Ei() {
|
|
8720
|
+
if (isNaN(Kt.value) && ke.value) {
|
|
8721
|
+
Ne({
|
|
8719
8722
|
message: f("alert.error.selectHotelId"),
|
|
8720
8723
|
type: "error"
|
|
8721
8724
|
});
|
|
8722
8725
|
return;
|
|
8723
8726
|
}
|
|
8724
|
-
|
|
8727
|
+
oi();
|
|
8725
8728
|
}
|
|
8726
|
-
function
|
|
8727
|
-
const z =
|
|
8729
|
+
function Bi() {
|
|
8730
|
+
const z = eo("history", {
|
|
8728
8731
|
removeNullishValues: !0
|
|
8729
8732
|
});
|
|
8730
|
-
|
|
8733
|
+
we(), z.id = void 0, oi();
|
|
8731
8734
|
}
|
|
8732
|
-
function
|
|
8733
|
-
|
|
8735
|
+
function zi(z) {
|
|
8736
|
+
xi.value && gn(), ri.value || Tt.value ? z(2) : z();
|
|
8734
8737
|
}
|
|
8735
|
-
function
|
|
8736
|
-
u.forceArrivalTime && u.forceDepartureTime && (
|
|
8738
|
+
function Zi() {
|
|
8739
|
+
u.forceArrivalTime && u.forceDepartureTime && (ze.value[Kt.value].disableArrivalUserSelection = !0, u.forceArrivalTime && (ze.value[Kt.value].arrivalDefault = u.forceArrivalTime), u.forceDepartureTime && (ze.value[Kt.value].departureDefault = u.forceDepartureTime));
|
|
8737
8740
|
}
|
|
8738
|
-
function
|
|
8739
|
-
|
|
8740
|
-
const z =
|
|
8741
|
+
function Re() {
|
|
8742
|
+
Zi();
|
|
8743
|
+
const z = eo("history", {
|
|
8741
8744
|
removeNullishValues: !0
|
|
8742
8745
|
}), R = parseInt(z.a), vt = parseInt(z.c), j = parseInt(z.hid), ct = parseInt(z.n), $ = z.ci, zt = z.co, ft = z.id, Gt = parseInt(z.gid);
|
|
8743
8746
|
let Vt = !1;
|
|
8744
|
-
if (isNaN(R) || (R >
|
|
8747
|
+
if (isNaN(R) || (R > Qe.value ? Et.value = Qe.value : Et.value = R, Et.value === dn.value && (z.a = void 0)), isNaN(vt) || (vt > ti.value ? gt.value = ti.value : gt.value = vt, gt.value === fn.value && (z.c = void 0)), isNaN(ct) || ct > 0 && (z.n = void 0), isNaN(j) || (Ye(j) ? (Kt.value = j, Vt = !0) : (z.hid = void 0, Ne({
|
|
8745
8748
|
message: f("alert.error.hotelIdNotFound"),
|
|
8746
8749
|
type: "error"
|
|
8747
8750
|
}))), $ && zt)
|
|
8748
8751
|
if (es($) && es(zt)) {
|
|
8749
|
-
const te = new Date($),
|
|
8750
|
-
te <=
|
|
8752
|
+
const te = new Date($), He = new Date(zt);
|
|
8753
|
+
te <= He ? (Oe.value = te, Ke.value = He) : (z.ci = void 0, z.co = void 0, Ne({
|
|
8751
8754
|
message: f("alert.error.invalidDateRange"),
|
|
8752
8755
|
type: "error"
|
|
8753
8756
|
}));
|
|
8754
8757
|
} else
|
|
8755
|
-
|
|
8758
|
+
Ne({
|
|
8756
8759
|
message: f("alert.error.wrongDateFormat"),
|
|
8757
8760
|
type: "error"
|
|
8758
8761
|
});
|
|
8759
|
-
ft &&
|
|
8762
|
+
ft && mn(ft), Gt && bn(Gt), u.disableDefaultLocation === "yes" && Vt === !1 ? (Kt.value = void 0, v.value = void 0) : oi();
|
|
8760
8763
|
}
|
|
8761
|
-
return (z, R) => (T(), lt(
|
|
8764
|
+
return (z, R) => (T(), lt(Br, { styling: z.styling }, {
|
|
8762
8765
|
default: tt(() => [
|
|
8763
|
-
(T(), lt(Lr, { onResolve:
|
|
8766
|
+
(T(), lt(Lr, { onResolve: Re }, {
|
|
8764
8767
|
default: tt(() => [
|
|
8765
8768
|
Z(h(d), {
|
|
8766
8769
|
id: "konnectio-hotel-module",
|
|
8767
8770
|
"access-token": z.accessToken,
|
|
8768
|
-
callback: h(
|
|
8771
|
+
callback: h(vn)
|
|
8769
8772
|
}, {
|
|
8770
8773
|
default: tt(() => [
|
|
8771
|
-
|
|
8772
|
-
[
|
|
8774
|
+
Le(Z(wa, { onCallback: Re }, null, 512), [
|
|
8775
|
+
[Ae, z.requireGuestDiscountId === "yes" && !h(et)]
|
|
8773
8776
|
]),
|
|
8774
|
-
|
|
8777
|
+
Le(Z(Hr, {
|
|
8775
8778
|
layout: z.headerLayout,
|
|
8776
|
-
steps:
|
|
8777
|
-
onReset: h(
|
|
8779
|
+
steps: kn.value,
|
|
8780
|
+
onReset: h(Si)
|
|
8778
8781
|
}, {
|
|
8779
8782
|
availability: tt(({ next: vt }) => [
|
|
8780
|
-
Z(
|
|
8783
|
+
Z(to, null, {
|
|
8781
8784
|
form: tt(() => [
|
|
8782
|
-
k("div",
|
|
8783
|
-
k("div",
|
|
8784
|
-
Z(
|
|
8785
|
+
k("div", pl, [
|
|
8786
|
+
k("div", _l, [
|
|
8787
|
+
Z(Wr, {
|
|
8785
8788
|
booking: !0,
|
|
8786
8789
|
"selected-location": Number(z.selectedLocation),
|
|
8787
8790
|
"disable-default-location": z.disableDefaultLocation === "yes",
|
|
8788
8791
|
"hide-locations": z.hideLocations === "yes"
|
|
8789
8792
|
}, null, 8, ["selected-location", "disable-default-location", "hide-locations"])
|
|
8790
8793
|
]),
|
|
8791
|
-
h(et) ? (T(), A("div",
|
|
8794
|
+
h(et) ? (T(), A("div", ml, [
|
|
8792
8795
|
k("span", null, [
|
|
8793
|
-
R[19] || (R[19] =
|
|
8796
|
+
R[19] || (R[19] = nn("Du har valgt gæsterabatkoden: ")),
|
|
8794
8797
|
k("b", null, O(h(X)), 1),
|
|
8795
|
-
R[20] || (R[20] =
|
|
8798
|
+
R[20] || (R[20] = nn(". ")),
|
|
8796
8799
|
k("button", {
|
|
8797
8800
|
class: "link",
|
|
8798
|
-
onClick: R[0] || (R[0] = (j) => h(
|
|
8801
|
+
onClick: R[0] || (R[0] = (j) => h(Ln)())
|
|
8799
8802
|
}, "Klik her for at vælge en ny gæsterabatkode")
|
|
8800
8803
|
])
|
|
8801
|
-
])) :
|
|
8802
|
-
h(
|
|
8804
|
+
])) : H("", !0),
|
|
8805
|
+
h(ii) ? (T(), A("div", gl, [
|
|
8803
8806
|
k("span", null, [
|
|
8804
|
-
|
|
8807
|
+
nn(O(h(f)("general.filteredListingNotice")) + " ", 1),
|
|
8805
8808
|
k("button", {
|
|
8806
8809
|
class: "link",
|
|
8807
|
-
onClick: R[1] || (R[1] = (j) =>
|
|
8810
|
+
onClick: R[1] || (R[1] = (j) => Bi())
|
|
8808
8811
|
}, O(h(f)("general.filteredListingShowAll")), 1)
|
|
8809
8812
|
])
|
|
8810
|
-
])) :
|
|
8811
|
-
|
|
8812
|
-
!h(c) && h(bt) ? (T(), A("div",
|
|
8813
|
-
Qt.value.camping && Qt.value.camping.length > 0 && z.onlyShow !== "non-camping" || Qt.value.rooms && Qt.value.rooms.length > 0 || h(Q).templates.length > 0 || h(Q).specialTemplates.length > 0 ? (T(), A("div",
|
|
8814
|
-
h(Q).templates.length > 0 && z.onlyShow !== "rooms" && z.onlyShow !== "camping" ? (T(), A("div",
|
|
8815
|
-
z.onlyShow !== "packages" ? (T(), A("h2",
|
|
8813
|
+
])) : H("", !0),
|
|
8814
|
+
H("", !0),
|
|
8815
|
+
!h(c) && h(bt) ? (T(), A("div", vl, [
|
|
8816
|
+
Qt.value.camping && Qt.value.camping.length > 0 && z.onlyShow !== "non-camping" || Qt.value.rooms && Qt.value.rooms.length > 0 || h(Q).templates.length > 0 || h(Q).specialTemplates.length > 0 ? (T(), A("div", yl, [
|
|
8817
|
+
h(Q).templates.length > 0 && z.onlyShow !== "rooms" && z.onlyShow !== "camping" ? (T(), A("div", bl, [
|
|
8818
|
+
z.onlyShow !== "packages" ? (T(), A("h2", Ll, [
|
|
8816
8819
|
Z(xt, {
|
|
8817
8820
|
icon: "box",
|
|
8818
8821
|
type: "fal",
|
|
8819
8822
|
color: "header"
|
|
8820
8823
|
}),
|
|
8821
8824
|
k("span", null, O(h(f)("booking.availability.packagesTitle")), 1)
|
|
8822
|
-
])) :
|
|
8823
|
-
k("ul",
|
|
8825
|
+
])) : H("", !0),
|
|
8826
|
+
k("ul", kl, [
|
|
8824
8827
|
(T(!0), A(mt, null, At(h(Q).templates, ({
|
|
8825
8828
|
id: j,
|
|
8826
8829
|
name: ct,
|
|
@@ -8828,7 +8831,7 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8828
8831
|
images: zt,
|
|
8829
8832
|
description: ft,
|
|
8830
8833
|
weekendFee: Gt
|
|
8831
|
-
}) => (T(), lt(
|
|
8834
|
+
}) => (T(), lt(Qa, {
|
|
8832
8835
|
key: j,
|
|
8833
8836
|
id: j,
|
|
8834
8837
|
description: ft,
|
|
@@ -8840,46 +8843,46 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8840
8843
|
"hide-addons": z.hideAddons === "yes" || z.hideAddons === "packages"
|
|
8841
8844
|
}, null, 8, ["id", "description", "name", "images", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
8842
8845
|
])
|
|
8843
|
-
])) :
|
|
8844
|
-
h(Q).roomGroups.length > 0 && z.onlyShow !== "packages" ? (T(), A("div",
|
|
8846
|
+
])) : H("", !0),
|
|
8847
|
+
h(Q).roomGroups.length > 0 && z.onlyShow !== "packages" ? (T(), A("div", wl, [
|
|
8845
8848
|
Qt.value.rooms && z.onlyShow !== "camping" ? (T(), A(mt, { key: 0 }, [
|
|
8846
|
-
h(Q).templates.length > 0 && z.onlyShow !== "rooms" ? (T(), A("h2",
|
|
8849
|
+
h(Q).templates.length > 0 && z.onlyShow !== "rooms" ? (T(), A("h2", Pl, [
|
|
8847
8850
|
Z(xt, {
|
|
8848
8851
|
icon: "house",
|
|
8849
8852
|
type: "fal",
|
|
8850
8853
|
color: "header"
|
|
8851
8854
|
}),
|
|
8852
8855
|
k("span", null, O(h(f)("booking.availability.roomsTitle")), 1)
|
|
8853
|
-
])) :
|
|
8854
|
-
k("ul",
|
|
8856
|
+
])) : H("", !0),
|
|
8857
|
+
k("ul", xl, [
|
|
8855
8858
|
(T(!0), A(mt, null, At(Qt.value.rooms, (j, ct) => (T(), lt(os, {
|
|
8856
8859
|
room: j,
|
|
8857
8860
|
key: ct,
|
|
8858
8861
|
callback: vt
|
|
8859
8862
|
}, null, 8, ["room", "callback"]))), 128))
|
|
8860
8863
|
])
|
|
8861
|
-
], 64)) :
|
|
8864
|
+
], 64)) : H("", !0),
|
|
8862
8865
|
Qt.value.camping && z.onlyShow !== "rooms" && z.onlyShow !== "non-camping" ? (T(), A(mt, { key: 1 }, [
|
|
8863
|
-
h(Q).templates.length > 0 && z.onlyShow !== "camping" ? (T(), A("h2",
|
|
8866
|
+
h(Q).templates.length > 0 && z.onlyShow !== "camping" ? (T(), A("h2", Cl, [
|
|
8864
8867
|
Z(xt, {
|
|
8865
8868
|
icon: "house",
|
|
8866
8869
|
type: "fal",
|
|
8867
8870
|
color: "header"
|
|
8868
8871
|
}),
|
|
8869
8872
|
k("span", null, O(h(f)("booking.availability.campingTitle")), 1)
|
|
8870
|
-
])) :
|
|
8871
|
-
k("ul",
|
|
8873
|
+
])) : H("", !0),
|
|
8874
|
+
k("ul", Tl, [
|
|
8872
8875
|
(T(!0), A(mt, null, At(Qt.value.camping, (j, ct) => (T(), lt(os, {
|
|
8873
8876
|
room: j,
|
|
8874
8877
|
key: ct,
|
|
8875
8878
|
callback: vt
|
|
8876
8879
|
}, null, 8, ["room", "callback"]))), 128))
|
|
8877
8880
|
])
|
|
8878
|
-
], 64)) :
|
|
8879
|
-
])) :
|
|
8880
|
-
h(
|
|
8881
|
-
h(Q).specialTemplates.length > 0 && z.onlyShow !== "rooms" ? (T(), A("div",
|
|
8882
|
-
k("h2",
|
|
8881
|
+
], 64)) : H("", !0)
|
|
8882
|
+
])) : H("", !0),
|
|
8883
|
+
h(ii) ? H("", !0) : (T(), A(mt, { key: 2 }, [
|
|
8884
|
+
h(Q).specialTemplates.length > 0 && z.onlyShow !== "rooms" ? (T(), A("div", Ml, [
|
|
8885
|
+
k("h2", Sl, [
|
|
8883
8886
|
Z(xt, {
|
|
8884
8887
|
icon: "sparkles",
|
|
8885
8888
|
type: "fal",
|
|
@@ -8887,7 +8890,7 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8887
8890
|
}),
|
|
8888
8891
|
k("span", null, O(h(f)("hotel.specialOffers")), 1)
|
|
8889
8892
|
]),
|
|
8890
|
-
k("ul",
|
|
8893
|
+
k("ul", Al, [
|
|
8891
8894
|
(T(!0), A(mt, null, At(h(Q).specialTemplates, ({
|
|
8892
8895
|
id: j,
|
|
8893
8896
|
name: ct,
|
|
@@ -8897,7 +8900,7 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8897
8900
|
weekendFee: Gt,
|
|
8898
8901
|
fromDate: Vt,
|
|
8899
8902
|
toDate: te
|
|
8900
|
-
}) => (T(), lt(
|
|
8903
|
+
}) => (T(), lt(nl, {
|
|
8901
8904
|
key: j,
|
|
8902
8905
|
id: j,
|
|
8903
8906
|
description: ft,
|
|
@@ -8909,15 +8912,15 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8909
8912
|
"room-groups": $
|
|
8910
8913
|
}, null, 8, ["id", "description", "name", "images", "fromDate", "toDate", "weekendFee", "room-groups"]))), 128))
|
|
8911
8914
|
])
|
|
8912
|
-
])) :
|
|
8915
|
+
])) : H("", !0)
|
|
8913
8916
|
], 64)),
|
|
8914
|
-
(h(Q).templates.length === 0 && z.onlyShow !== "rooms" || h(Q).roomGroups.length === 0 && z.onlyShow !== "packages") && (z.onlyShow === "rooms" || z.onlyShow === "packages") ? (T(), A("div",
|
|
8917
|
+
(h(Q).templates.length === 0 && z.onlyShow !== "rooms" || h(Q).roomGroups.length === 0 && z.onlyShow !== "packages") && (z.onlyShow === "rooms" || z.onlyShow === "packages") ? (T(), A("div", Il, [
|
|
8915
8918
|
k("span", null, O(h(f)("booking.availability.nothingAvailable")), 1)
|
|
8916
|
-
])) :
|
|
8917
|
-
])) : h(Q).nextAvailableDates.length === 0 ? (T(), A("div",
|
|
8919
|
+
])) : H("", !0)
|
|
8920
|
+
])) : h(Q).nextAvailableDates.length === 0 ? (T(), A("div", Ol, [
|
|
8918
8921
|
k("span", null, O(h(f)("booking.availability.nothingAvailable")), 1)
|
|
8919
|
-
])) : (T(), A("div",
|
|
8920
|
-
k("h2",
|
|
8922
|
+
])) : (T(), A("div", El, [
|
|
8923
|
+
k("h2", Bl, [
|
|
8921
8924
|
Z(xt, {
|
|
8922
8925
|
icon: "calendar-circle-exclamation",
|
|
8923
8926
|
type: "fal",
|
|
@@ -8925,15 +8928,15 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8925
8928
|
}),
|
|
8926
8929
|
k("span", null, O(h(f)("booking.availability.nextAvailableDates")), 1)
|
|
8927
8930
|
]),
|
|
8928
|
-
k("ul",
|
|
8931
|
+
k("ul", zl, [
|
|
8929
8932
|
(T(!0), A(mt, null, At(h(Q).nextAvailableDates, (j, ct) => (T(), A("li", { key: ct }, [
|
|
8930
8933
|
k("h3", {
|
|
8931
8934
|
title: `${h(oe)(j.fromDate, 0, !0)} - ${h(oe)(j.toDate, 0, !0)}`
|
|
8932
8935
|
}, [
|
|
8933
8936
|
k("span", null, O(`${h(oe)(j.fromDate, 0, !0)} - ${h(oe)(j.toDate, 0, !0)}`), 1)
|
|
8934
|
-
], 8,
|
|
8937
|
+
], 8, Zl),
|
|
8935
8938
|
k("ul", null, [
|
|
8936
|
-
isNaN(j.roomCount) ?
|
|
8939
|
+
isNaN(j.roomCount) ? H("", !0) : (T(), A("li", Dl, [
|
|
8937
8940
|
Z(xt, {
|
|
8938
8941
|
icon: "house",
|
|
8939
8942
|
type: "fal",
|
|
@@ -8947,23 +8950,23 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8947
8950
|
type: "fal",
|
|
8948
8951
|
color: "header"
|
|
8949
8952
|
}),
|
|
8950
|
-
k("span", null, O(h(f)("booking.availability.pricesFrom")) + ": " + O(h(se)(j.priceStartFrom, h(
|
|
8953
|
+
k("span", null, O(h(f)("booking.availability.pricesFrom")) + ": " + O(h(se)(j.priceStartFrom, h(Ee))), 1)
|
|
8951
8954
|
])
|
|
8952
8955
|
]),
|
|
8953
8956
|
Z(de, {
|
|
8954
8957
|
label: h(f)("booking.availability.selectDates"),
|
|
8955
8958
|
"full-width": "",
|
|
8956
|
-
onClickEvent: ($) => h(
|
|
8959
|
+
onClickEvent: ($) => h(hn)(new Date(j.fromDate), new Date(j.toDate))
|
|
8957
8960
|
}, null, 8, ["label", "onClickEvent"])
|
|
8958
8961
|
]))), 128))
|
|
8959
8962
|
])
|
|
8960
8963
|
]))
|
|
8961
|
-
])) : isNaN(h(v)) && !h(c) ? (T(), A("div",
|
|
8964
|
+
])) : isNaN(h(v)) && !h(c) ? (T(), A("div", Nl, [
|
|
8962
8965
|
k("span", null, O(h(f)("alert.info.selectHotelToStart")), 1)
|
|
8963
|
-
])) : (T(), A("div",
|
|
8964
|
-
Z(
|
|
8965
|
-
Z(
|
|
8966
|
-
Z(
|
|
8966
|
+
])) : (T(), A("div", Rl, [
|
|
8967
|
+
Z(Jn),
|
|
8968
|
+
Z(Jn),
|
|
8969
|
+
Z(Jn)
|
|
8967
8970
|
]))
|
|
8968
8971
|
])
|
|
8969
8972
|
]),
|
|
@@ -8973,52 +8976,52 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
8973
8976
|
label: isNaN(h(v)) ? h(f)("availability.buttonLabel") : h(f)("general.searchAgain"),
|
|
8974
8977
|
"is-loading": h(c),
|
|
8975
8978
|
"full-width": "",
|
|
8976
|
-
onClickEvent: R[3] || (R[3] = (j) =>
|
|
8979
|
+
onClickEvent: R[3] || (R[3] = (j) => Ei())
|
|
8977
8980
|
}, null, 8, ["label", "is-loading"])) : (T(), lt(de, {
|
|
8978
8981
|
key: 1,
|
|
8979
|
-
label: h(Tt) ||
|
|
8982
|
+
label: h(Tt) || ri.value ? h(f)("booking.availability.nextButton") : h(f)("general.chooseAddons"),
|
|
8980
8983
|
disabled: !h(at),
|
|
8981
8984
|
"full-width": "",
|
|
8982
|
-
onClickEvent: (j) =>
|
|
8985
|
+
onClickEvent: (j) => zi(vt)
|
|
8983
8986
|
}, null, 8, ["label", "disabled", "onClickEvent"])),
|
|
8984
|
-
|
|
8987
|
+
Le(k("span", Hl, [
|
|
8985
8988
|
Z(xt, {
|
|
8986
8989
|
icon: "exclamation-triangle",
|
|
8987
8990
|
type: "fas"
|
|
8988
8991
|
}),
|
|
8989
8992
|
k("span", null, O(h(f)("hotel.mismatchingAdults", { searchAdults: h(Et), selectedAdults: h(nt) })), 1)
|
|
8990
8993
|
], 512), [
|
|
8991
|
-
[
|
|
8994
|
+
[Ae, h(Y)]
|
|
8992
8995
|
]),
|
|
8993
|
-
|
|
8996
|
+
Le(k("span", Vl, [
|
|
8994
8997
|
Z(xt, {
|
|
8995
8998
|
icon: "exclamation-triangle",
|
|
8996
8999
|
type: "fas"
|
|
8997
9000
|
}),
|
|
8998
9001
|
k("span", null, O(h(f)("hotel.mismatchingChildren", { searchChildren: h(gt), selectedChildren: h(pt) })), 1)
|
|
8999
9002
|
], 512), [
|
|
9000
|
-
[
|
|
9003
|
+
[Ae, h(Lt)]
|
|
9001
9004
|
])
|
|
9002
9005
|
]),
|
|
9003
9006
|
_: 2
|
|
9004
9007
|
}, 1024)
|
|
9005
9008
|
]),
|
|
9006
9009
|
addons: tt(({ next: vt, prev: j }) => [
|
|
9007
|
-
h(bt) ? (T(), lt(
|
|
9010
|
+
h(bt) ? (T(), lt(to, {
|
|
9008
9011
|
key: 0,
|
|
9009
9012
|
"prev-callback": () => Ht(j)
|
|
9010
9013
|
}, {
|
|
9011
9014
|
form: tt(() => [
|
|
9012
|
-
k("form",
|
|
9015
|
+
k("form", Fl, [
|
|
9013
9016
|
k("h2", null, [
|
|
9014
9017
|
k("span", null, O(h(f)("booking.reservation.addons")), 1)
|
|
9015
9018
|
]),
|
|
9016
9019
|
k("div", null, [
|
|
9017
|
-
isNaN(h(o)) ? (T(), A("div",
|
|
9020
|
+
isNaN(h(o)) ? (T(), A("div", Gl, [
|
|
9018
9021
|
(T(!0), A(mt, null, At(h(Bt), (ct) => (T(), A(mt, {
|
|
9019
9022
|
key: ct.roomGroupID
|
|
9020
9023
|
}, [
|
|
9021
|
-
h(
|
|
9024
|
+
h(yn)(ct) ? (T(), A("ul", Ul, [
|
|
9022
9025
|
(T(!0), A(mt, null, At(ct.variants, ($, zt) => (T(), A("li", {
|
|
9023
9026
|
key: $.ratePlanID
|
|
9024
9027
|
}, [
|
|
@@ -9034,8 +9037,8 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9034
9037
|
k("th", null, [
|
|
9035
9038
|
k("span", null, O(h(ce)($.name)), 1)
|
|
9036
9039
|
]),
|
|
9037
|
-
|
|
9038
|
-
k("th",
|
|
9040
|
+
H("", !0),
|
|
9041
|
+
k("th", $l, [
|
|
9039
9042
|
k("b", null, [
|
|
9040
9043
|
Z(xt, {
|
|
9041
9044
|
icon: "male",
|
|
@@ -9048,26 +9051,39 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9048
9051
|
icon: "child",
|
|
9049
9052
|
type: "fas",
|
|
9050
9053
|
color: "font"
|
|
9051
|
-
})) :
|
|
9052
|
-
ft.childrenCount > 0 ? (T(), A("span",
|
|
9054
|
+
})) : H("", !0),
|
|
9055
|
+
ft.childrenCount > 0 ? (T(), A("span", Wl, O(ft.childrenCount), 1)) : H("", !0)
|
|
9053
9056
|
])
|
|
9054
9057
|
])
|
|
9055
9058
|
])
|
|
9056
9059
|
]),
|
|
9057
9060
|
k("tbody", null, [
|
|
9058
|
-
(T(!0), A(mt, null, At(h(
|
|
9061
|
+
(T(!0), A(mt, null, At(h(Oi)($.addons, ft.childrenCount), ({
|
|
9059
9062
|
cardinality: Vt,
|
|
9060
9063
|
quantityStrategy: te,
|
|
9061
|
-
maximumNumber:
|
|
9062
|
-
id:
|
|
9063
|
-
name:
|
|
9064
|
-
price:
|
|
9065
|
-
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
|
|
9064
|
+
maximumNumber: He,
|
|
9065
|
+
id: ai,
|
|
9066
|
+
name: Pn,
|
|
9067
|
+
price: xn,
|
|
9068
|
+
image: Pe,
|
|
9069
|
+
description: _e
|
|
9070
|
+
}) => (T(), A("tr", { key: ai }, [
|
|
9071
|
+
k("td", {
|
|
9072
|
+
class: wi(["konnectio-table-addons-information", { "has-image": Pe }])
|
|
9073
|
+
}, [
|
|
9074
|
+
Pe ? (T(), A("div", ql, [
|
|
9075
|
+
k("img", { src: Pe }, null, 8, jl)
|
|
9076
|
+
])) : H("", !0),
|
|
9077
|
+
k("div", null, [
|
|
9078
|
+
k("b", null, O(h(ce)(Pn)), 1),
|
|
9079
|
+
k("span", null, O(h(se)(xn, h(Ee))) + " " + O(h(Qo)(te)), 1),
|
|
9080
|
+
_e ? (T(), A("p", {
|
|
9081
|
+
key: 0,
|
|
9082
|
+
innerHTML: h(Er)(_e)
|
|
9083
|
+
}, null, 8, Kl)) : H("", !0)
|
|
9084
|
+
])
|
|
9085
|
+
], 2),
|
|
9086
|
+
k("td", Yl, [
|
|
9071
9087
|
h(ht)[ct.roomGroupID][zt].config[ft.configIdx].addons[ft.roomIdx] ? (T(), A(mt, { key: 0 }, [
|
|
9072
9088
|
Vt === h(ts).Mandatory ? (T(), lt(bi, {
|
|
9073
9089
|
key: 0,
|
|
@@ -9078,37 +9094,37 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9078
9094
|
readonly: ""
|
|
9079
9095
|
})) : (T(), lt(bi, {
|
|
9080
9096
|
key: 1,
|
|
9081
|
-
modelValue: h(ht)[ct.roomGroupID][zt].config[ft.configIdx].addons[ft.roomIdx][
|
|
9082
|
-
"onUpdate:modelValue": (
|
|
9097
|
+
modelValue: h(ht)[ct.roomGroupID][zt].config[ft.configIdx].addons[ft.roomIdx][ai],
|
|
9098
|
+
"onUpdate:modelValue": (Di) => h(ht)[ct.roomGroupID][zt].config[ft.configIdx].addons[ft.roomIdx][ai] = Di,
|
|
9083
9099
|
small: !0,
|
|
9084
9100
|
"min-value": 0,
|
|
9085
|
-
"max-value":
|
|
9101
|
+
"max-value": He || 1 / 0
|
|
9086
9102
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"]))
|
|
9087
|
-
], 64)) :
|
|
9103
|
+
], 64)) : H("", !0)
|
|
9088
9104
|
])
|
|
9089
9105
|
]))), 128))
|
|
9090
9106
|
])
|
|
9091
9107
|
]))), 128))
|
|
9092
9108
|
]))), 128))
|
|
9093
|
-
])) :
|
|
9109
|
+
])) : H("", !0)
|
|
9094
9110
|
], 64))), 128))
|
|
9095
|
-
])) : h(Rt) ? (T(), A("div",
|
|
9111
|
+
])) : h(Rt) ? (T(), A("div", Xl, [
|
|
9096
9112
|
k("div", null, [
|
|
9097
9113
|
k("h4", null, [
|
|
9098
9114
|
k("span", null, O(h(It).name), 1)
|
|
9099
9115
|
]),
|
|
9100
|
-
k("table",
|
|
9116
|
+
k("table", Jl, [
|
|
9101
9117
|
k("thead", null, [
|
|
9102
9118
|
k("tr", null, [
|
|
9103
9119
|
k("th", null, [
|
|
9104
9120
|
k("span", null, O(h(ce)(h(Rt).title)), 1)
|
|
9105
9121
|
]),
|
|
9106
|
-
|
|
9122
|
+
H("", !0),
|
|
9107
9123
|
R[23] || (R[23] = k("th", { class: "konnectio-event-addons-price" }, null, -1))
|
|
9108
9124
|
])
|
|
9109
9125
|
]),
|
|
9110
9126
|
k("tbody", null, [
|
|
9111
|
-
(T(!0), A(mt, null, At(h(
|
|
9127
|
+
(T(!0), A(mt, null, At(h(Oi)(h(Rt).addons, h(U)), ({
|
|
9112
9128
|
cardinality: ct,
|
|
9113
9129
|
quantityStrategy: $,
|
|
9114
9130
|
maximumNumber: zt,
|
|
@@ -9116,11 +9132,11 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9116
9132
|
name: Gt,
|
|
9117
9133
|
price: Vt
|
|
9118
9134
|
}) => (T(), A("tr", { key: ft }, [
|
|
9119
|
-
k("td",
|
|
9135
|
+
k("td", Ql, [
|
|
9120
9136
|
k("b", null, O(h(ce)(Gt)), 1),
|
|
9121
|
-
k("span", null, O(h(se)(Vt, h(
|
|
9137
|
+
k("span", null, O(h(se)(Vt, h(Ee))) + " " + O(h(Qo)($)), 1)
|
|
9122
9138
|
]),
|
|
9123
|
-
k("td",
|
|
9139
|
+
k("td", tu, [
|
|
9124
9140
|
ct === h(ts).Mandatory ? (T(), lt(bi, {
|
|
9125
9141
|
key: 0,
|
|
9126
9142
|
"model-value": 1,
|
|
@@ -9141,7 +9157,7 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9141
9157
|
])
|
|
9142
9158
|
])
|
|
9143
9159
|
])
|
|
9144
|
-
])) :
|
|
9160
|
+
])) : H("", !0)
|
|
9145
9161
|
])
|
|
9146
9162
|
])
|
|
9147
9163
|
]),
|
|
@@ -9153,61 +9169,61 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9153
9169
|
}, null, 8, ["label", "onClickEvent"])
|
|
9154
9170
|
]),
|
|
9155
9171
|
_: 2
|
|
9156
|
-
}, 1032, ["prev-callback"])) :
|
|
9172
|
+
}, 1032, ["prev-callback"])) : H("", !0)
|
|
9157
9173
|
]),
|
|
9158
9174
|
reservation: tt(({ next: vt, prev: j, reset: ct }) => [
|
|
9159
|
-
h(bt) ? (T(), lt(
|
|
9175
|
+
h(bt) ? (T(), lt(to, {
|
|
9160
9176
|
key: 0,
|
|
9161
9177
|
"prev-callback": () => Ht(j),
|
|
9162
9178
|
"show-terms-notice": !0,
|
|
9163
9179
|
"show-gift-card": !0
|
|
9164
9180
|
}, {
|
|
9165
9181
|
form: tt(() => [
|
|
9166
|
-
k("form",
|
|
9182
|
+
k("form", eu, [
|
|
9167
9183
|
k("h2", null, [
|
|
9168
9184
|
k("span", null, O(h(f)("booking.reservation.detailsTitle")), 1)
|
|
9169
9185
|
]),
|
|
9170
|
-
h(
|
|
9186
|
+
h(pn)(h(v)) && h(Ze)(h(v)) && h(De)(h(v)) ? (T(), A("ul", {
|
|
9171
9187
|
key: 0,
|
|
9172
|
-
class:
|
|
9188
|
+
class: wi(["konnectio-reservation-timepicker", { "konnectio-split-inputs": h(Ze)(h(v)) && h(De)(h(v)) }])
|
|
9173
9189
|
}, [
|
|
9174
|
-
h(
|
|
9190
|
+
h(Ze)(h(v)) ? (T(), A("li", iu, [
|
|
9175
9191
|
Z(ss, {
|
|
9176
9192
|
modelValue: h(w),
|
|
9177
9193
|
"onUpdate:modelValue": R[4] || (R[4] = ($) => St(w) ? w.value = $ : null),
|
|
9178
9194
|
label: h(f)("booking.reservation.arrivalTime"),
|
|
9179
9195
|
icon: "hourglass-start",
|
|
9180
|
-
"min-time": h(
|
|
9181
|
-
"max-time": h(
|
|
9196
|
+
"min-time": h(_n)(h(v)),
|
|
9197
|
+
"max-time": h(Ti)(h(v)),
|
|
9182
9198
|
required: ""
|
|
9183
9199
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
9184
|
-
])) :
|
|
9185
|
-
h(
|
|
9200
|
+
])) : H("", !0),
|
|
9201
|
+
h(De)(h(v)) ? (T(), A("li", nu, [
|
|
9186
9202
|
Z(ss, {
|
|
9187
9203
|
modelValue: h(P),
|
|
9188
9204
|
"onUpdate:modelValue": R[5] || (R[5] = ($) => St(P) ? P.value = $ : null),
|
|
9189
9205
|
label: h(f)("booking.reservation.departureTime"),
|
|
9190
9206
|
icon: "hourglass-end",
|
|
9191
|
-
"min-time": h(
|
|
9192
|
-
"max-time": h(
|
|
9207
|
+
"min-time": h(ni)(h(v)),
|
|
9208
|
+
"max-time": h(Mi)(h(v)),
|
|
9193
9209
|
required: ""
|
|
9194
9210
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
9195
|
-
])) :
|
|
9196
|
-
], 2)) :
|
|
9197
|
-
Z(
|
|
9211
|
+
])) : H("", !0)
|
|
9212
|
+
], 2)) : H("", !0),
|
|
9213
|
+
Z(ll, {
|
|
9198
9214
|
modelValue: h(S),
|
|
9199
9215
|
"onUpdate:modelValue": R[6] || (R[6] = ($) => St(S) ? S.value = $ : null),
|
|
9200
9216
|
title: h(C),
|
|
9201
9217
|
"onUpdate:title": R[7] || (R[7] = ($) => St(C) ? C.value = $ : null),
|
|
9202
|
-
"exclude-title": h(
|
|
9218
|
+
"exclude-title": h(Xe),
|
|
9203
9219
|
label: h(f)("booking.reservation.name"),
|
|
9204
9220
|
icon: "user-alt",
|
|
9205
9221
|
placeholder: h(f)("booking.reservation.namePlaceholder"),
|
|
9206
9222
|
required: ""
|
|
9207
9223
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
9208
|
-
Z(
|
|
9209
|
-
modelValue: h(
|
|
9210
|
-
"onUpdate:modelValue": R[8] || (R[8] = ($) => St(
|
|
9224
|
+
Z(ye, {
|
|
9225
|
+
modelValue: h(V),
|
|
9226
|
+
"onUpdate:modelValue": R[8] || (R[8] = ($) => St(V) ? V.value = $ : null),
|
|
9211
9227
|
type: "email",
|
|
9212
9228
|
name: "email",
|
|
9213
9229
|
autocomplete: "email",
|
|
@@ -9217,8 +9233,8 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9217
9233
|
placeholder: h(f)("booking.reservation.emailPlaceholder"),
|
|
9218
9234
|
required: ""
|
|
9219
9235
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9220
|
-
h(
|
|
9221
|
-
Z(
|
|
9236
|
+
h(ei) ? H("", !0) : (T(), A("div", ou, [
|
|
9237
|
+
Z(io, {
|
|
9222
9238
|
modelValue: h(N),
|
|
9223
9239
|
"onUpdate:modelValue": R[9] || (R[9] = ($) => St(N) ? N.value = $ : null),
|
|
9224
9240
|
type: "checkbox",
|
|
@@ -9226,7 +9242,7 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9226
9242
|
label: h(f)("booking.reservation.newsletterSignUp")
|
|
9227
9243
|
}, null, 8, ["modelValue", "label"])
|
|
9228
9244
|
])),
|
|
9229
|
-
h(
|
|
9245
|
+
h(Ci) ? H("", !0) : (T(), lt(ye, {
|
|
9230
9246
|
key: 2,
|
|
9231
9247
|
modelValue: h(E),
|
|
9232
9248
|
"onUpdate:modelValue": R[10] || (R[10] = ($) => St(E) ? E.value = $ : null),
|
|
@@ -9237,7 +9253,7 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9237
9253
|
icon: "id-card",
|
|
9238
9254
|
placeholder: h(f)("booking.reservation.companyNamePlaceholder")
|
|
9239
9255
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
9240
|
-
Z(
|
|
9256
|
+
Z(Kr, {
|
|
9241
9257
|
modelValue: h(B),
|
|
9242
9258
|
"onUpdate:modelValue": R[11] || (R[11] = ($) => St(B) ? B.value = $ : null),
|
|
9243
9259
|
icon: "phone-office",
|
|
@@ -9245,7 +9261,7 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9245
9261
|
placeholder: h(f)("booking.reservation.phonePlaceholder"),
|
|
9246
9262
|
required: ""
|
|
9247
9263
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9248
|
-
Z(
|
|
9264
|
+
Z(rl, {
|
|
9249
9265
|
modelValue: h(Ct),
|
|
9250
9266
|
"onUpdate:modelValue": R[12] || (R[12] = ($) => St(Ct) ? Ct.value = $ : null),
|
|
9251
9267
|
label: h(f)("booking.reservation.country"),
|
|
@@ -9253,7 +9269,7 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9253
9269
|
options: h(l),
|
|
9254
9270
|
required: ""
|
|
9255
9271
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
9256
|
-
Z(
|
|
9272
|
+
Z(ye, {
|
|
9257
9273
|
modelValue: h(ot),
|
|
9258
9274
|
"onUpdate:modelValue": R[13] || (R[13] = ($) => St(ot) ? ot.value = $ : null),
|
|
9259
9275
|
type: "textarea",
|
|
@@ -9264,9 +9280,9 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9264
9280
|
placeholder: h(f)("booking.reservation.streetAddressPlaceholder"),
|
|
9265
9281
|
required: ""
|
|
9266
9282
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9267
|
-
k("ul",
|
|
9283
|
+
k("ul", su, [
|
|
9268
9284
|
k("li", null, [
|
|
9269
|
-
Z(
|
|
9285
|
+
Z(ye, {
|
|
9270
9286
|
modelValue: h(W),
|
|
9271
9287
|
"onUpdate:modelValue": R[14] || (R[14] = ($) => St(W) ? W.value = $ : null),
|
|
9272
9288
|
type: "text",
|
|
@@ -9279,7 +9295,7 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9279
9295
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
9280
9296
|
]),
|
|
9281
9297
|
k("li", null, [
|
|
9282
|
-
Z(
|
|
9298
|
+
Z(ye, {
|
|
9283
9299
|
modelValue: h(ut),
|
|
9284
9300
|
"onUpdate:modelValue": R[15] || (R[15] = ($) => St(ut) ? ut.value = $ : null),
|
|
9285
9301
|
type: "text",
|
|
@@ -9292,15 +9308,15 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9292
9308
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
9293
9309
|
])
|
|
9294
9310
|
]),
|
|
9295
|
-
Z(
|
|
9296
|
-
modelValue: h(
|
|
9297
|
-
"onUpdate:modelValue": R[16] || (R[16] = ($) => St(
|
|
9311
|
+
Z(ye, {
|
|
9312
|
+
modelValue: h(F),
|
|
9313
|
+
"onUpdate:modelValue": R[16] || (R[16] = ($) => St(F) ? F.value = $ : null),
|
|
9298
9314
|
type: "textarea",
|
|
9299
9315
|
label: `${h(f)("booking.reservation.remark")} (${h(f)("booking.reservation.optional")})`,
|
|
9300
9316
|
icon: "info-circle",
|
|
9301
9317
|
placeholder: h(f)("booking.reservation.remarkPlaceholder")
|
|
9302
9318
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9303
|
-
Z(
|
|
9319
|
+
Z(ye, {
|
|
9304
9320
|
modelValue: h(st),
|
|
9305
9321
|
"onUpdate:modelValue": R[17] || (R[17] = ($) => St(st) ? st.value = $ : null),
|
|
9306
9322
|
type: "textarea",
|
|
@@ -9308,20 +9324,20 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9308
9324
|
icon: "allergies",
|
|
9309
9325
|
placeholder: h(f)("booking.reservation.allergiesPlaceholder")
|
|
9310
9326
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
9311
|
-
h(
|
|
9327
|
+
h(Be) ? H("", !0) : (T(), lt(Fr, {
|
|
9312
9328
|
key: 3,
|
|
9313
9329
|
modelValue: h(g),
|
|
9314
9330
|
"onUpdate:modelValue": R[18] || (R[18] = ($) => St(g) ? g.value = $ : null),
|
|
9315
9331
|
label: `${h(f)("booking.reservation.purposeOfStay")} (${h(f)("booking.reservation.optional")})`,
|
|
9316
9332
|
name: "travelingFor",
|
|
9317
|
-
checkboxes:
|
|
9333
|
+
checkboxes: wn.value
|
|
9318
9334
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
9319
9335
|
])
|
|
9320
9336
|
]),
|
|
9321
9337
|
navigation: tt(() => [
|
|
9322
9338
|
k("div", null, [
|
|
9323
9339
|
Z(de, {
|
|
9324
|
-
label: h(
|
|
9340
|
+
label: h(Je) ? h(f)("booking.reservation.nextButton") : h(f)("general.confirmReservation"),
|
|
9325
9341
|
disabled: !h(y),
|
|
9326
9342
|
"is-loading": h(m),
|
|
9327
9343
|
"full-width": "",
|
|
@@ -9330,27 +9346,27 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9330
9346
|
])
|
|
9331
9347
|
]),
|
|
9332
9348
|
_: 2
|
|
9333
|
-
}, 1032, ["prev-callback"])) :
|
|
9349
|
+
}, 1032, ["prev-callback"])) : H("", !0)
|
|
9334
9350
|
]),
|
|
9335
9351
|
payment: tt(({ prev: vt }) => [
|
|
9336
|
-
Z(
|
|
9337
|
-
|
|
9352
|
+
Z(jr),
|
|
9353
|
+
H("", !0)
|
|
9338
9354
|
]),
|
|
9339
9355
|
confirmation: tt(() => [
|
|
9340
|
-
Z(
|
|
9356
|
+
Z(Vr, {
|
|
9341
9357
|
message: h(f)("booking.confirmation.thankYou")
|
|
9342
9358
|
}, null, 8, ["message"])
|
|
9343
9359
|
]),
|
|
9344
9360
|
_: 1
|
|
9345
9361
|
}, 8, ["layout", "steps", "onReset"]), [
|
|
9346
|
-
[
|
|
9362
|
+
[Ae, z.requireGuestDiscountId === "no" || z.requireGuestDiscountId === "yes" && h(et)]
|
|
9347
9363
|
])
|
|
9348
9364
|
]),
|
|
9349
9365
|
_: 1
|
|
9350
9366
|
}, 8, ["access-token", "callback"])
|
|
9351
9367
|
]),
|
|
9352
9368
|
fallback: tt(() => [
|
|
9353
|
-
Z(
|
|
9369
|
+
Z(fl)
|
|
9354
9370
|
]),
|
|
9355
9371
|
_: 1
|
|
9356
9372
|
}))
|
|
@@ -9358,14 +9374,14 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9358
9374
|
_: 1
|
|
9359
9375
|
}, 8, ["styling"]));
|
|
9360
9376
|
}
|
|
9361
|
-
}), rs = /* @__PURE__ */ Jt(
|
|
9377
|
+
}), rs = /* @__PURE__ */ Jt(ru, [["__scopeId", "data-v-02007022"]]), au = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), on = /* @__PURE__ */ new Set([
|
|
9362
9378
|
"base",
|
|
9363
9379
|
"meta",
|
|
9364
9380
|
"link",
|
|
9365
9381
|
"style",
|
|
9366
9382
|
"script",
|
|
9367
9383
|
"noscript"
|
|
9368
|
-
]),
|
|
9384
|
+
]), lu = /* @__PURE__ */ new Set([
|
|
9369
9385
|
"title",
|
|
9370
9386
|
"titleTemplate",
|
|
9371
9387
|
"templateParams",
|
|
@@ -9377,27 +9393,27 @@ const nu = /* @__PURE__ */ Nt({
|
|
|
9377
9393
|
"style",
|
|
9378
9394
|
"script",
|
|
9379
9395
|
"noscript"
|
|
9380
|
-
]),
|
|
9381
|
-
function
|
|
9396
|
+
]), uu = /* @__PURE__ */ new Set(["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"]), vs = /* @__PURE__ */ new Set(["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"]), hu = typeof window < "u";
|
|
9397
|
+
function rn(p) {
|
|
9382
9398
|
let d = 9;
|
|
9383
9399
|
for (let u = 0; u < p.length; )
|
|
9384
9400
|
d = Math.imul(d ^ p.charCodeAt(u++), 9 ** 9);
|
|
9385
9401
|
return ((d ^ d >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
9386
9402
|
}
|
|
9387
|
-
function
|
|
9403
|
+
function oo(p) {
|
|
9388
9404
|
if (p._h)
|
|
9389
9405
|
return p._h;
|
|
9390
9406
|
if (p._d)
|
|
9391
|
-
return
|
|
9407
|
+
return rn(p._d);
|
|
9392
9408
|
let d = `${p.tag}:${p.textContent || p.innerHTML || ""}:`;
|
|
9393
9409
|
for (const u in p.props)
|
|
9394
9410
|
d += `${u}:${String(p.props[u])},`;
|
|
9395
|
-
return
|
|
9411
|
+
return rn(d);
|
|
9396
9412
|
}
|
|
9397
|
-
function
|
|
9413
|
+
function cu(p, d) {
|
|
9398
9414
|
return p instanceof Promise ? p.then(d) : d(p);
|
|
9399
9415
|
}
|
|
9400
|
-
function
|
|
9416
|
+
function so(p, d, u, f) {
|
|
9401
9417
|
const v = f || bs(
|
|
9402
9418
|
// explicitly check for an object
|
|
9403
9419
|
// @ts-expect-error untyped
|
|
@@ -9405,18 +9421,18 @@ function oo(p, d, u, f) {
|
|
|
9405
9421
|
p === "templateParams" || p === "titleTemplate"
|
|
9406
9422
|
);
|
|
9407
9423
|
if (v instanceof Promise)
|
|
9408
|
-
return v.then((r) =>
|
|
9424
|
+
return v.then((r) => so(p, d, u, r));
|
|
9409
9425
|
const o = {
|
|
9410
9426
|
tag: p,
|
|
9411
9427
|
props: v
|
|
9412
9428
|
};
|
|
9413
9429
|
for (const r of vs) {
|
|
9414
9430
|
const l = o.props[r] !== void 0 ? o.props[r] : u[r];
|
|
9415
|
-
l !== void 0 && ((!(r === "innerHTML" || r === "textContent" || r === "children") ||
|
|
9431
|
+
l !== void 0 && ((!(r === "innerHTML" || r === "textContent" || r === "children") || au.has(o.tag)) && (o[r === "children" ? "innerHTML" : r] = l), delete o.props[r]);
|
|
9416
9432
|
}
|
|
9417
9433
|
return o.props.body && (o.tagPosition = "bodyClose", delete o.props.body), o.tag === "script" && typeof o.innerHTML == "object" && (o.innerHTML = JSON.stringify(o.innerHTML), o.props.type = o.props.type || "application/json"), Array.isArray(o.props.content) ? o.props.content.map((r) => ({ ...o, props: { ...o.props, content: r } })) : o;
|
|
9418
9434
|
}
|
|
9419
|
-
function
|
|
9435
|
+
function du(p, d) {
|
|
9420
9436
|
const u = p === "class" ? " " : ";";
|
|
9421
9437
|
return d && typeof d == "object" && !Array.isArray(d) && (d = Object.entries(d).filter(([, f]) => f).map(([f, v]) => p === "style" ? `${f}:${v}` : f)), String(Array.isArray(d) ? d.join(u) : d)?.split(u).filter((f) => !!f.trim()).join(u);
|
|
9422
9438
|
}
|
|
@@ -9424,7 +9440,7 @@ function ys(p, d, u, f) {
|
|
|
9424
9440
|
for (let v = f; v < u.length; v += 1) {
|
|
9425
9441
|
const o = u[v];
|
|
9426
9442
|
if (o === "class" || o === "style") {
|
|
9427
|
-
p[o] =
|
|
9443
|
+
p[o] = du(o, p[o]);
|
|
9428
9444
|
continue;
|
|
9429
9445
|
}
|
|
9430
9446
|
if (p[o] instanceof Promise)
|
|
@@ -9439,7 +9455,7 @@ function bs(p, d = !1) {
|
|
|
9439
9455
|
const u = ys(p, d, Object.keys(p), 0);
|
|
9440
9456
|
return u instanceof Promise ? u.then(() => p) : p;
|
|
9441
9457
|
}
|
|
9442
|
-
const
|
|
9458
|
+
const fu = 10;
|
|
9443
9459
|
function Ls(p, d, u) {
|
|
9444
9460
|
for (let f = u; f < d.length; f += 1) {
|
|
9445
9461
|
const v = d[f];
|
|
@@ -9448,25 +9464,25 @@ function Ls(p, d, u) {
|
|
|
9448
9464
|
Array.isArray(v) ? p.push(...v) : p.push(v);
|
|
9449
9465
|
}
|
|
9450
9466
|
}
|
|
9451
|
-
function
|
|
9467
|
+
function pu(p) {
|
|
9452
9468
|
const d = [], u = p.resolvedInput;
|
|
9453
9469
|
for (const v in u) {
|
|
9454
9470
|
if (!Object.prototype.hasOwnProperty.call(u, v))
|
|
9455
9471
|
continue;
|
|
9456
9472
|
const o = u[v];
|
|
9457
|
-
if (!(o === void 0 || !
|
|
9473
|
+
if (!(o === void 0 || !lu.has(v))) {
|
|
9458
9474
|
if (Array.isArray(o)) {
|
|
9459
9475
|
for (const r of o)
|
|
9460
|
-
d.push(
|
|
9476
|
+
d.push(so(v, r, p));
|
|
9461
9477
|
continue;
|
|
9462
9478
|
}
|
|
9463
|
-
d.push(
|
|
9479
|
+
d.push(so(v, o, p));
|
|
9464
9480
|
}
|
|
9465
9481
|
}
|
|
9466
9482
|
if (d.length === 0)
|
|
9467
9483
|
return [];
|
|
9468
9484
|
const f = [];
|
|
9469
|
-
return
|
|
9485
|
+
return cu(Ls(f, d, 0), () => f.map((v, o) => (v._e = p._i, p.mode && (v._m = p.mode), v._p = (p._i << fu) + o, v)));
|
|
9470
9486
|
}
|
|
9471
9487
|
const as = /* @__PURE__ */ new Set(["onload", "onerror", "onabort", "onprogress", "onloadstart"]), ls = {
|
|
9472
9488
|
// tags
|
|
@@ -9478,17 +9494,17 @@ const as = /* @__PURE__ */ new Set(["onload", "onerror", "onabort", "onprogress"
|
|
|
9478
9494
|
high: -10,
|
|
9479
9495
|
low: 20
|
|
9480
9496
|
};
|
|
9481
|
-
function
|
|
9497
|
+
function an(p) {
|
|
9482
9498
|
const d = p.tagPriority;
|
|
9483
9499
|
if (typeof d == "number")
|
|
9484
9500
|
return d;
|
|
9485
9501
|
let u = 100;
|
|
9486
9502
|
return p.tag === "meta" ? p.props["http-equiv"] === "content-security-policy" ? u = -30 : p.props.charset ? u = -20 : p.props.name === "viewport" && (u = -15) : p.tag === "link" && p.props.rel === "preconnect" ? u = 20 : p.tag in ls && (u = ls[p.tag]), d && d in us ? u + us[d] : u;
|
|
9487
9503
|
}
|
|
9488
|
-
const
|
|
9504
|
+
const _u = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], mu = ["name", "property", "http-equiv"];
|
|
9489
9505
|
function ks(p) {
|
|
9490
9506
|
const { props: d, tag: u } = p;
|
|
9491
|
-
if (
|
|
9507
|
+
if (uu.has(u))
|
|
9492
9508
|
return u;
|
|
9493
9509
|
if (u === "link" && d.rel === "canonical")
|
|
9494
9510
|
return "canonical";
|
|
@@ -9496,13 +9512,13 @@ function ks(p) {
|
|
|
9496
9512
|
return "charset";
|
|
9497
9513
|
if (d.id)
|
|
9498
9514
|
return `${u}:id:${d.id}`;
|
|
9499
|
-
for (const f of
|
|
9515
|
+
for (const f of mu)
|
|
9500
9516
|
if (d[f] !== void 0)
|
|
9501
9517
|
return `${u}:${f}:${d[f]}`;
|
|
9502
9518
|
return !1;
|
|
9503
9519
|
}
|
|
9504
|
-
const
|
|
9505
|
-
function
|
|
9520
|
+
const be = "%separator";
|
|
9521
|
+
function gu(p, d, u = !1) {
|
|
9506
9522
|
let f;
|
|
9507
9523
|
if (d === "s" || d === "pageTitle")
|
|
9508
9524
|
f = p.pageTitle;
|
|
@@ -9514,8 +9530,8 @@ function pu(p, d, u = !1) {
|
|
|
9514
9530
|
if (f !== void 0)
|
|
9515
9531
|
return u ? (f || "").replace(/"/g, '\\"') : f || "";
|
|
9516
9532
|
}
|
|
9517
|
-
const
|
|
9518
|
-
function
|
|
9533
|
+
const vu = new RegExp(`${be}(?:\\s*${be})*`, "g");
|
|
9534
|
+
function en(p, d, u, f = !1) {
|
|
9519
9535
|
if (typeof p != "string" || !p.includes("%"))
|
|
9520
9536
|
return p;
|
|
9521
9537
|
let v = p;
|
|
@@ -9526,18 +9542,18 @@ function Qi(p, d, u, f = !1) {
|
|
|
9526
9542
|
const o = v.match(/%\w+(?:\.\w+)?/g);
|
|
9527
9543
|
if (!o)
|
|
9528
9544
|
return p;
|
|
9529
|
-
const r = p.includes(
|
|
9545
|
+
const r = p.includes(be);
|
|
9530
9546
|
return p = p.replace(/%\w+(?:\.\w+)?/g, (l) => {
|
|
9531
|
-
if (l ===
|
|
9547
|
+
if (l === be || !o.includes(l))
|
|
9532
9548
|
return l;
|
|
9533
|
-
const c =
|
|
9549
|
+
const c = gu(d, l.slice(1), f);
|
|
9534
9550
|
return c !== void 0 ? c : l;
|
|
9535
|
-
}).trim(), r && (p.endsWith(
|
|
9551
|
+
}).trim(), r && (p.endsWith(be) && (p = p.slice(0, -be.length)), p.startsWith(be) && (p = p.slice(be.length)), p = p.replace(vu, u).trim()), p;
|
|
9536
9552
|
}
|
|
9537
9553
|
function hs(p, d) {
|
|
9538
9554
|
return p == null ? d || null : typeof p == "function" ? p(d) : p;
|
|
9539
9555
|
}
|
|
9540
|
-
async function
|
|
9556
|
+
async function yu(p, d = {}) {
|
|
9541
9557
|
const u = d.document || p.resolvedOptions.document;
|
|
9542
9558
|
if (!u || !p.dirty)
|
|
9543
9559
|
return;
|
|
@@ -9546,7 +9562,7 @@ async function mu(p, d = {}) {
|
|
|
9546
9562
|
return p._domUpdatePromise || (p._domUpdatePromise = new Promise(async (v) => {
|
|
9547
9563
|
const o = (await p.resolveTags()).map((g) => ({
|
|
9548
9564
|
tag: g,
|
|
9549
|
-
id:
|
|
9565
|
+
id: on.has(g.tag) ? oo(g) : g.tag,
|
|
9550
9566
|
shouldRender: !0
|
|
9551
9567
|
}));
|
|
9552
9568
|
let r = p._dom;
|
|
@@ -9559,19 +9575,19 @@ async function mu(p, d = {}) {
|
|
|
9559
9575
|
const P = u[w]?.children;
|
|
9560
9576
|
for (const S of P) {
|
|
9561
9577
|
const C = S.tagName.toLowerCase();
|
|
9562
|
-
if (!
|
|
9578
|
+
if (!on.has(C))
|
|
9563
9579
|
continue;
|
|
9564
|
-
const
|
|
9580
|
+
const V = {
|
|
9565
9581
|
tag: C,
|
|
9566
9582
|
props: await bs(
|
|
9567
9583
|
S.getAttributeNames().reduce((ut, ot) => ({ ...ut, [ot]: S.getAttribute(ot) }), {})
|
|
9568
9584
|
),
|
|
9569
9585
|
innerHTML: S.innerHTML
|
|
9570
|
-
}, B = ks(
|
|
9586
|
+
}, B = ks(V);
|
|
9571
9587
|
let E = B, W = 1;
|
|
9572
9588
|
for (; E && g.has(E); )
|
|
9573
9589
|
E = `${B}:${W++}`;
|
|
9574
|
-
E && (
|
|
9590
|
+
E && (V._d = E, g.add(E)), r.elMap[S.getAttribute("data-hid") || oo(V)] = S;
|
|
9575
9591
|
}
|
|
9576
9592
|
}
|
|
9577
9593
|
}
|
|
@@ -9594,23 +9610,23 @@ async function mu(p, d = {}) {
|
|
|
9594
9610
|
for (const C in P.props) {
|
|
9595
9611
|
if (!Object.prototype.hasOwnProperty.call(P.props, C))
|
|
9596
9612
|
continue;
|
|
9597
|
-
const
|
|
9613
|
+
const V = P.props[C], B = `attr:${C}`;
|
|
9598
9614
|
if (C === "class") {
|
|
9599
|
-
if (!
|
|
9615
|
+
if (!V)
|
|
9600
9616
|
continue;
|
|
9601
|
-
for (const E of
|
|
9617
|
+
for (const E of V.split(" "))
|
|
9602
9618
|
S && l(g, `${B}:${E}`, () => w.classList.remove(E)), !w.classList.contains(E) && w.classList.add(E);
|
|
9603
9619
|
} else if (C === "style") {
|
|
9604
|
-
if (!
|
|
9620
|
+
if (!V)
|
|
9605
9621
|
continue;
|
|
9606
|
-
for (const E of
|
|
9622
|
+
for (const E of V.split(";")) {
|
|
9607
9623
|
const W = E.indexOf(":"), ut = E.substring(0, W).trim(), ot = E.substring(W + 1).trim();
|
|
9608
9624
|
l(g, `${B}:${ut}`, () => {
|
|
9609
9625
|
w.style.removeProperty(ut);
|
|
9610
9626
|
}), w.style.setProperty(ut, ot);
|
|
9611
9627
|
}
|
|
9612
9628
|
} else
|
|
9613
|
-
w.getAttribute(C) !==
|
|
9629
|
+
w.getAttribute(C) !== V && w.setAttribute(C, V === !0 ? "" : String(V)), S && l(g, B, () => w.removeAttribute(C));
|
|
9614
9630
|
}
|
|
9615
9631
|
}
|
|
9616
9632
|
const m = [], y = {
|
|
@@ -9625,7 +9641,7 @@ async function mu(p, d = {}) {
|
|
|
9625
9641
|
u.title = w.textContent;
|
|
9626
9642
|
continue;
|
|
9627
9643
|
}
|
|
9628
|
-
g.$el = g.$el || r.elMap[S], g.$el ? c(g) :
|
|
9644
|
+
g.$el = g.$el || r.elMap[S], g.$el ? c(g) : on.has(w.tag) && m.push(g);
|
|
9629
9645
|
}
|
|
9630
9646
|
}
|
|
9631
9647
|
for (const g of m) {
|
|
@@ -9642,27 +9658,27 @@ async function mu(p, d = {}) {
|
|
|
9642
9658
|
p._domUpdatePromise = void 0, p.dirty = !1;
|
|
9643
9659
|
})), p._domUpdatePromise;
|
|
9644
9660
|
}
|
|
9645
|
-
function
|
|
9661
|
+
function bu(p, d = {}) {
|
|
9646
9662
|
const u = d.delayFn || ((f) => setTimeout(f, 10));
|
|
9647
|
-
return p._domDebouncedUpdatePromise = p._domDebouncedUpdatePromise || new Promise((f) => u(() =>
|
|
9663
|
+
return p._domDebouncedUpdatePromise = p._domDebouncedUpdatePromise || new Promise((f) => u(() => yu(p, d).then(() => {
|
|
9648
9664
|
delete p._domDebouncedUpdatePromise, f();
|
|
9649
9665
|
})));
|
|
9650
9666
|
}
|
|
9651
9667
|
// @__NO_SIDE_EFFECTS__
|
|
9652
|
-
function
|
|
9668
|
+
function Lu(p) {
|
|
9653
9669
|
return (d) => {
|
|
9654
9670
|
const u = d.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
9655
9671
|
return u && d.push(JSON.parse(u)), {
|
|
9656
9672
|
mode: "client",
|
|
9657
9673
|
hooks: {
|
|
9658
9674
|
"entries:updated": (f) => {
|
|
9659
|
-
|
|
9675
|
+
bu(f, p);
|
|
9660
9676
|
}
|
|
9661
9677
|
}
|
|
9662
9678
|
};
|
|
9663
9679
|
};
|
|
9664
9680
|
}
|
|
9665
|
-
const
|
|
9681
|
+
const ku = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"]), wu = {
|
|
9666
9682
|
hooks: {
|
|
9667
9683
|
"tag:normalise": ({ tag: p }) => {
|
|
9668
9684
|
p.props.hid && (p.key = p.props.hid, delete p.props.hid), p.props.vmid && (p.key = p.props.vmid, delete p.props.vmid), p.props.key && (p.key = p.props.key, delete p.props.key);
|
|
@@ -9674,10 +9690,10 @@ const yu = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
9674
9690
|
"tags:resolve": (p) => {
|
|
9675
9691
|
const d = /* @__PURE__ */ Object.create(null);
|
|
9676
9692
|
for (const f of p.tags) {
|
|
9677
|
-
const v = (f.key ? `${f.tag}:${f.key}` : f._d) ||
|
|
9693
|
+
const v = (f.key ? `${f.tag}:${f.key}` : f._d) || oo(f), o = d[v];
|
|
9678
9694
|
if (o) {
|
|
9679
9695
|
let l = f?.tagDuplicateStrategy;
|
|
9680
|
-
if (!l &&
|
|
9696
|
+
if (!l && ku.has(f.tag) && (l = "merge"), l === "merge") {
|
|
9681
9697
|
const c = o.props;
|
|
9682
9698
|
c.style && f.props.style && (c.style[c.style.length - 1] !== ";" && (c.style += ";"), f.props.style = `${c.style} ${f.props.style}`), c.class && f.props.class ? f.props.class = `${c.class} ${f.props.class}` : c.class && (f.props.class = c.class), d[v].props = {
|
|
9683
9699
|
...c,
|
|
@@ -9687,10 +9703,10 @@ const yu = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
9687
9703
|
} else if (f._e === o._e) {
|
|
9688
9704
|
o._duped = o._duped || [], f._d = `${o._d}:${o._duped.length + 1}`, o._duped.push(f);
|
|
9689
9705
|
continue;
|
|
9690
|
-
} else if (
|
|
9706
|
+
} else if (an(f) > an(o))
|
|
9691
9707
|
continue;
|
|
9692
9708
|
}
|
|
9693
|
-
if (!(f.innerHTML || f.textContent || Object.keys(f.props).length !== 0) &&
|
|
9709
|
+
if (!(f.innerHTML || f.textContent || Object.keys(f.props).length !== 0) && on.has(f.tag)) {
|
|
9694
9710
|
delete d[v];
|
|
9695
9711
|
continue;
|
|
9696
9712
|
}
|
|
@@ -9704,11 +9720,11 @@ const yu = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
9704
9720
|
p.tags = u, p.tags = p.tags.filter((f) => !(f.tag === "meta" && (f.props.name || f.props.property) && !f.props.content));
|
|
9705
9721
|
}
|
|
9706
9722
|
}
|
|
9707
|
-
},
|
|
9723
|
+
}, Pu = /* @__PURE__ */ new Set(["script", "link", "bodyAttrs"]), xu = (p) => ({
|
|
9708
9724
|
hooks: {
|
|
9709
9725
|
"tags:resolve": (d) => {
|
|
9710
9726
|
for (const u of d.tags) {
|
|
9711
|
-
if (!
|
|
9727
|
+
if (!Pu.has(u.tag))
|
|
9712
9728
|
continue;
|
|
9713
9729
|
const f = u.props;
|
|
9714
9730
|
for (const v in f) {
|
|
@@ -9717,7 +9733,7 @@ const yu = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
9717
9733
|
const o = f[v];
|
|
9718
9734
|
typeof o == "function" && (p.ssr && as.has(v) ? f[v] = `this.dataset.${v}fired = true` : delete f[v], u._eventHandlers = u._eventHandlers || {}, u._eventHandlers[v] = o);
|
|
9719
9735
|
}
|
|
9720
|
-
p.ssr && u._eventHandlers && (u.props.src || u.props.href) && (u.key = u.key ||
|
|
9736
|
+
p.ssr && u._eventHandlers && (u.props.src || u.props.href) && (u.key = u.key || rn(u.props.src || u.props.href));
|
|
9721
9737
|
}
|
|
9722
9738
|
},
|
|
9723
9739
|
"dom:renderTag": ({ $el: d, tag: u }) => {
|
|
@@ -9731,13 +9747,13 @@ const yu = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
9731
9747
|
}
|
|
9732
9748
|
}
|
|
9733
9749
|
}
|
|
9734
|
-
}),
|
|
9750
|
+
}), Cu = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), Tu = {
|
|
9735
9751
|
hooks: {
|
|
9736
9752
|
"tag:normalise": ({ tag: p }) => {
|
|
9737
|
-
p.key &&
|
|
9753
|
+
p.key && Cu.has(p.tag) && (p.props["data-hid"] = p._h = rn(p.key));
|
|
9738
9754
|
}
|
|
9739
9755
|
}
|
|
9740
|
-
},
|
|
9756
|
+
}, Mu = {
|
|
9741
9757
|
mode: "server",
|
|
9742
9758
|
hooks: {
|
|
9743
9759
|
"tags:beforeResolve": (p) => {
|
|
@@ -9752,12 +9768,12 @@ const yu = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
9752
9768
|
});
|
|
9753
9769
|
}
|
|
9754
9770
|
}
|
|
9755
|
-
},
|
|
9771
|
+
}, Su = {
|
|
9756
9772
|
hooks: {
|
|
9757
9773
|
"tags:resolve": (p) => {
|
|
9758
9774
|
for (const d of p.tags)
|
|
9759
9775
|
if (typeof d.tagPriority == "string")
|
|
9760
|
-
for (const { prefix: u, offset: f } of
|
|
9776
|
+
for (const { prefix: u, offset: f } of _u) {
|
|
9761
9777
|
if (!d.tagPriority.startsWith(u))
|
|
9762
9778
|
continue;
|
|
9763
9779
|
const v = d.tagPriority.substring(u.length), o = p.tags.find((r) => r._d === v)?._p;
|
|
@@ -9767,16 +9783,16 @@ const yu = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
9767
9783
|
}
|
|
9768
9784
|
}
|
|
9769
9785
|
p.tags.sort((d, u) => {
|
|
9770
|
-
const f =
|
|
9786
|
+
const f = an(d), v = an(u);
|
|
9771
9787
|
return f < v ? -1 : f > v ? 1 : d._p - u._p;
|
|
9772
9788
|
});
|
|
9773
9789
|
}
|
|
9774
9790
|
}
|
|
9775
|
-
},
|
|
9791
|
+
}, Au = {
|
|
9776
9792
|
meta: "content",
|
|
9777
9793
|
link: "href",
|
|
9778
9794
|
htmlAttrs: "lang"
|
|
9779
|
-
},
|
|
9795
|
+
}, Iu = ["innerHTML", "textContent"], Ou = (p) => ({
|
|
9780
9796
|
hooks: {
|
|
9781
9797
|
"tags:resolve": (d) => {
|
|
9782
9798
|
const { tags: u } = d;
|
|
@@ -9784,7 +9800,7 @@ const yu = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
9784
9800
|
for (let r = 0; r < u.length; r += 1)
|
|
9785
9801
|
u[r].tag === "templateParams" && (f = d.tags.splice(r, 1)[0].props, r -= 1);
|
|
9786
9802
|
const v = f || {}, o = v.separator || "|";
|
|
9787
|
-
delete v.separator, v.pageTitle =
|
|
9803
|
+
delete v.separator, v.pageTitle = en(
|
|
9788
9804
|
// find templateParams
|
|
9789
9805
|
v.pageTitle || u.find((r) => r.tag === "title")?.textContent || "",
|
|
9790
9806
|
v,
|
|
@@ -9793,12 +9809,12 @@ const yu = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
9793
9809
|
for (const r of u) {
|
|
9794
9810
|
if (r.processTemplateParams === !1)
|
|
9795
9811
|
continue;
|
|
9796
|
-
const l =
|
|
9812
|
+
const l = Au[r.tag];
|
|
9797
9813
|
if (l && typeof r.props[l] == "string")
|
|
9798
|
-
r.props[l] =
|
|
9814
|
+
r.props[l] = en(r.props[l], v, o);
|
|
9799
9815
|
else if (r.processTemplateParams || r.tag === "titleTemplate" || r.tag === "title")
|
|
9800
|
-
for (const c of
|
|
9801
|
-
typeof r[c] == "string" && (r[c] =
|
|
9816
|
+
for (const c of Iu)
|
|
9817
|
+
typeof r[c] == "string" && (r[c] = en(r[c], v, o, r.tag === "script" && r.props.type.endsWith("json")));
|
|
9802
9818
|
}
|
|
9803
9819
|
p._templateParams = v, p._separator = o;
|
|
9804
9820
|
},
|
|
@@ -9808,10 +9824,10 @@ const yu = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
9808
9824
|
const v = d[f];
|
|
9809
9825
|
v.tag === "title" && v.processTemplateParams !== !1 && (u = v);
|
|
9810
9826
|
}
|
|
9811
|
-
u?.textContent && (u.textContent =
|
|
9827
|
+
u?.textContent && (u.textContent = en(u.textContent, p._templateParams, p._separator));
|
|
9812
9828
|
}
|
|
9813
9829
|
}
|
|
9814
|
-
}),
|
|
9830
|
+
}), Eu = {
|
|
9815
9831
|
hooks: {
|
|
9816
9832
|
"tags:resolve": (p) => {
|
|
9817
9833
|
const { tags: d } = p;
|
|
@@ -9835,7 +9851,7 @@ const yu = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
9835
9851
|
f && p.tags.splice(p.tags.indexOf(f), 1);
|
|
9836
9852
|
}
|
|
9837
9853
|
}
|
|
9838
|
-
},
|
|
9854
|
+
}, Bu = {
|
|
9839
9855
|
hooks: {
|
|
9840
9856
|
"tags:afterResolve": (p) => {
|
|
9841
9857
|
for (const d of p.tags)
|
|
@@ -9844,16 +9860,16 @@ const yu = /* @__PURE__ */ new Set(["templateParams", "htmlAttrs", "bodyAttrs"])
|
|
|
9844
9860
|
}
|
|
9845
9861
|
};
|
|
9846
9862
|
// @__NO_SIDE_EFFECTS__
|
|
9847
|
-
function
|
|
9848
|
-
const d =
|
|
9849
|
-
return d.use(/* @__PURE__ */
|
|
9863
|
+
function zu(p = {}) {
|
|
9864
|
+
const d = Zu(p);
|
|
9865
|
+
return d.use(/* @__PURE__ */ Lu()), d;
|
|
9850
9866
|
}
|
|
9851
9867
|
function cs(p, d) {
|
|
9852
9868
|
return !p || p === "server" && d || p === "client" && !d;
|
|
9853
9869
|
}
|
|
9854
|
-
function
|
|
9855
|
-
const d =
|
|
9856
|
-
d.addHooks(p.hooks || {}), p.document = p.document || (
|
|
9870
|
+
function Zu(p = {}) {
|
|
9871
|
+
const d = na();
|
|
9872
|
+
d.addHooks(p.hooks || {}), p.document = p.document || (hu ? document : void 0);
|
|
9857
9873
|
const u = !p.document, f = () => {
|
|
9858
9874
|
l.dirty = !0, d.callHook("entries:updated", l);
|
|
9859
9875
|
};
|
|
@@ -9895,7 +9911,7 @@ function Eu(p = {}) {
|
|
|
9895
9911
|
for (const m of c.entries) {
|
|
9896
9912
|
const y = m.resolvedInput || m.input;
|
|
9897
9913
|
if (m.resolvedInput = await (m.transform ? m.transform(y) : y), m.resolvedInput)
|
|
9898
|
-
for (const g of await
|
|
9914
|
+
for (const g of await pu(m)) {
|
|
9899
9915
|
const w = { tag: g, entry: m, resolvedOptions: l.resolvedOptions };
|
|
9900
9916
|
await d.callHook("tag:normalise", w), c.tags.push(w.tag);
|
|
9901
9917
|
}
|
|
@@ -9905,29 +9921,29 @@ function Eu(p = {}) {
|
|
|
9905
9921
|
ssr: u
|
|
9906
9922
|
};
|
|
9907
9923
|
return [
|
|
9908
|
-
|
|
9924
|
+
wu,
|
|
9925
|
+
Mu,
|
|
9909
9926
|
xu,
|
|
9910
|
-
|
|
9911
|
-
Pu,
|
|
9912
|
-
Cu,
|
|
9927
|
+
Tu,
|
|
9913
9928
|
Su,
|
|
9914
|
-
|
|
9915
|
-
|
|
9929
|
+
Ou,
|
|
9930
|
+
Eu,
|
|
9931
|
+
Bu,
|
|
9916
9932
|
...p?.plugins || []
|
|
9917
9933
|
].forEach((c) => l.use(c)), l.hooks.callHook("init", l), l;
|
|
9918
9934
|
}
|
|
9919
|
-
const
|
|
9920
|
-
function
|
|
9935
|
+
const Du = Pr[0] === "3";
|
|
9936
|
+
function Nu(p) {
|
|
9921
9937
|
return typeof p == "function" ? p() : h(p);
|
|
9922
9938
|
}
|
|
9923
|
-
function
|
|
9939
|
+
function ro(p) {
|
|
9924
9940
|
if (p instanceof Promise || p instanceof Date || p instanceof RegExp)
|
|
9925
9941
|
return p;
|
|
9926
|
-
const d =
|
|
9942
|
+
const d = Nu(p);
|
|
9927
9943
|
if (!p || !d)
|
|
9928
9944
|
return d;
|
|
9929
9945
|
if (Array.isArray(d))
|
|
9930
|
-
return d.map((u) =>
|
|
9946
|
+
return d.map((u) => ro(u));
|
|
9931
9947
|
if (typeof d == "object") {
|
|
9932
9948
|
const u = {};
|
|
9933
9949
|
for (const f in d)
|
|
@@ -9936,34 +9952,34 @@ function so(p) {
|
|
|
9936
9952
|
u[f] = h(d[f]);
|
|
9937
9953
|
continue;
|
|
9938
9954
|
}
|
|
9939
|
-
u[f] =
|
|
9955
|
+
u[f] = ro(d[f]);
|
|
9940
9956
|
}
|
|
9941
9957
|
return u;
|
|
9942
9958
|
}
|
|
9943
9959
|
return d;
|
|
9944
9960
|
}
|
|
9945
|
-
const
|
|
9961
|
+
const Ru = {
|
|
9946
9962
|
hooks: {
|
|
9947
9963
|
"entries:resolve": (p) => {
|
|
9948
9964
|
for (const d of p.entries)
|
|
9949
|
-
d.resolvedInput =
|
|
9965
|
+
d.resolvedInput = ro(d.input);
|
|
9950
9966
|
}
|
|
9951
9967
|
}
|
|
9952
|
-
},
|
|
9953
|
-
function
|
|
9968
|
+
}, Hu = "usehead";
|
|
9969
|
+
function Vu(p) {
|
|
9954
9970
|
return {
|
|
9955
9971
|
install(u) {
|
|
9956
|
-
|
|
9972
|
+
Du && (u.config.globalProperties.$unhead = p, u.config.globalProperties.$head = p, u.provide(Hu, p));
|
|
9957
9973
|
}
|
|
9958
9974
|
}.install;
|
|
9959
9975
|
}
|
|
9960
|
-
function
|
|
9976
|
+
function Fu(p = {}) {
|
|
9961
9977
|
p.domDelayFn = p.domDelayFn || ((u) => wr(() => setTimeout(() => u(), 0)));
|
|
9962
|
-
const d = /* @__PURE__ */
|
|
9963
|
-
return d.use(
|
|
9978
|
+
const d = /* @__PURE__ */ zu(p);
|
|
9979
|
+
return d.use(Ru), d.install = Vu(d), d;
|
|
9964
9980
|
}
|
|
9965
|
-
const
|
|
9966
|
-
class
|
|
9981
|
+
const Gu = xr(), Uu = Fu(), $u = Cr, Wu = $u();
|
|
9982
|
+
class qu extends HTMLElement {
|
|
9967
9983
|
vueApp;
|
|
9968
9984
|
constructor() {
|
|
9969
9985
|
super();
|
|
@@ -9973,13 +9989,13 @@ class Uu extends HTMLElement {
|
|
|
9973
9989
|
}
|
|
9974
9990
|
connectedCallback() {
|
|
9975
9991
|
const d = Tr(rs, this.attributes);
|
|
9976
|
-
this.vueApp = Mr(rs, d), this.vueApp.provide("emitter",
|
|
9992
|
+
this.vueApp = Mr(rs, d), this.vueApp.provide("emitter", Wu), this.vueApp.use(Uu), this.vueApp.use(Gu), this.vueApp.use(Gr), this.vueApp.use(Sr), this.vueApp.use(Ur), this.vueApp.use(Zr), this.vueApp.use(zr, { bootstrap: !0 });
|
|
9977
9993
|
const u = document.createElement("div");
|
|
9978
9994
|
this.vueApp.mount(u), this.appendChild(u.children[0]);
|
|
9979
9995
|
}
|
|
9980
9996
|
}
|
|
9981
|
-
window.customElements.define("konnectio-hotel",
|
|
9997
|
+
window.customElements.define("konnectio-hotel", qu);
|
|
9982
9998
|
export {
|
|
9983
|
-
|
|
9999
|
+
qu as default
|
|
9984
10000
|
};
|
|
9985
10001
|
//# sourceMappingURL=hotel.js.map
|