@konnectio/core 4.3.17 → 4.4.0

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.
Files changed (116) hide show
  1. package/dist/{ActionField-zsR6Q0Lt.js → ActionField-CMFQS0Tu.js} +3 -3
  2. package/dist/ActionField-CMFQS0Tu.js.br +0 -0
  3. package/dist/ActionField-CMFQS0Tu.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-j7146CzL.js → AvailabilitySkeleton-Bxse3JWw.js} +6 -6
  5. package/dist/AvailabilitySkeleton-Bxse3JWw.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-Bxse3JWw.js.gz +0 -0
  7. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js +10189 -0
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js.br +0 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js.gz +0 -0
  10. package/dist/{CheckoutWindow-BxfQmIE3.js → CheckoutWindow-DbyK9q3i.js} +10 -10
  11. package/dist/CheckoutWindow-DbyK9q3i.js.br +0 -0
  12. package/dist/CheckoutWindow-DbyK9q3i.js.gz +0 -0
  13. package/dist/{ErrorMessage-94lZwu4l.js → ErrorMessage-CHJAgZQF.js} +3 -3
  14. package/dist/ErrorMessage-CHJAgZQF.js.br +0 -0
  15. package/dist/ErrorMessage-CHJAgZQF.js.gz +0 -0
  16. package/dist/{EventAvailabilityForm-CdiGPOsU.js → EventAvailabilityForm-C12USIHw.js} +4 -4
  17. package/dist/EventAvailabilityForm-C12USIHw.js.br +0 -0
  18. package/dist/EventAvailabilityForm-C12USIHw.js.gz +0 -0
  19. package/dist/{Field-IulYHawr.js → Field-DeO4xsFg.js} +4 -4
  20. package/dist/Field-DeO4xsFg.js.br +0 -0
  21. package/dist/Field-DeO4xsFg.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Czyin1ew.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js} +3 -3
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js.br +0 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-xUbGmu0G.js → SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js} +4834 -4233
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js.gz +0 -0
  28. package/dist/{TermsOfService-C0UXGi-v.js → TermsOfService-DSR9-slK.js} +4 -4
  29. package/dist/TermsOfService-DSR9-slK.js.br +0 -0
  30. package/dist/TermsOfService-DSR9-slK.js.gz +0 -0
  31. package/dist/_-PjpC4p-e.js +5 -0
  32. package/dist/_-PjpC4p-e.js.br +0 -0
  33. package/dist/_-PjpC4p-e.js.gz +0 -0
  34. package/dist/{_.vue_vue_type_style_index_0_lang-1YS6jkC9.js → _.vue_vue_type_style_index_0_lang-C_u0UT6W.js} +3 -3
  35. package/dist/_.vue_vue_type_style_index_0_lang-C_u0UT6W.js.br +0 -0
  36. package/dist/_.vue_vue_type_style_index_0_lang-C_u0UT6W.js.gz +0 -0
  37. package/dist/availability.js +7 -7
  38. package/dist/availability.js.br +0 -0
  39. package/dist/availability.js.gz +0 -0
  40. package/dist/cancel-reservation.js +5 -5
  41. package/dist/cancel-reservation.js.br +0 -0
  42. package/dist/cancel-reservation.js.gz +0 -0
  43. package/dist/core.css +1 -1
  44. package/dist/core.css.br +0 -0
  45. package/dist/core.css.gz +0 -0
  46. package/dist/deep-link.js +1 -1
  47. package/dist/deep-link.js.br +0 -0
  48. package/dist/deep-link.js.gz +0 -0
  49. package/dist/event.js +173 -179
  50. package/dist/event.js.br +0 -0
  51. package/dist/event.js.gz +0 -0
  52. package/dist/gift-card-validation.js +9 -9
  53. package/dist/gift-card-validation.js.br +0 -0
  54. package/dist/gift-card-validation.js.gz +0 -0
  55. package/dist/gift-card.js +11 -11
  56. package/dist/gift-card.js.br +0 -0
  57. package/dist/gift-card.js.gz +0 -0
  58. package/dist/{giftCard-C9p1KM8D.js → giftCard-D1GA4BA0.js} +3 -3
  59. package/dist/giftCard-D1GA4BA0.js.br +0 -0
  60. package/dist/giftCard-D1GA4BA0.js.gz +0 -0
  61. package/dist/hotel.js +586 -580
  62. package/dist/hotel.js.br +0 -0
  63. package/dist/hotel.js.gz +0 -0
  64. package/dist/{index-Cvnya9Nj.js → index-D4nA_tEk.js} +5 -4
  65. package/dist/index-D4nA_tEk.js.br +0 -0
  66. package/dist/index-D4nA_tEk.js.gz +0 -0
  67. package/dist/{masonry.plugin-C7yeboUH.js → masonry.plugin-DDRglIja.js} +7 -104
  68. package/dist/masonry.plugin-DDRglIja.js.br +0 -0
  69. package/dist/masonry.plugin-DDRglIja.js.gz +0 -0
  70. package/dist/{mitt-CqW9zFaX.js → mitt-CvmiLPAX.js} +4643 -4431
  71. package/dist/mitt-CvmiLPAX.js.br +0 -0
  72. package/dist/mitt-CvmiLPAX.js.gz +0 -0
  73. package/dist/polyfill.js +3 -3
  74. package/dist/polyfill.js.br +0 -0
  75. package/dist/polyfill.js.gz +0 -0
  76. package/dist/style-DijlEV9B.js +1750 -0
  77. package/dist/style-DijlEV9B.js.br +0 -0
  78. package/dist/style-DijlEV9B.js.gz +0 -0
  79. package/package.json +21 -21
  80. package/dist/ActionField-zsR6Q0Lt.js.br +0 -0
  81. package/dist/ActionField-zsR6Q0Lt.js.gz +0 -0
  82. package/dist/AvailabilitySkeleton-j7146CzL.js.br +0 -0
  83. package/dist/AvailabilitySkeleton-j7146CzL.js.gz +0 -0
  84. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DGyrwJi3.js +0 -9324
  85. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DGyrwJi3.js.br +0 -0
  86. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DGyrwJi3.js.gz +0 -0
  87. package/dist/CheckoutWindow-BxfQmIE3.js.br +0 -0
  88. package/dist/CheckoutWindow-BxfQmIE3.js.gz +0 -0
  89. package/dist/ErrorMessage-94lZwu4l.js.br +0 -0
  90. package/dist/ErrorMessage-94lZwu4l.js.gz +0 -0
  91. package/dist/EventAvailabilityForm-CdiGPOsU.js.br +0 -0
  92. package/dist/EventAvailabilityForm-CdiGPOsU.js.gz +0 -0
  93. package/dist/Field-IulYHawr.js.br +0 -0
  94. package/dist/Field-IulYHawr.js.gz +0 -0
  95. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Czyin1ew.js.br +0 -0
  96. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Czyin1ew.js.gz +0 -0
  97. package/dist/SelectField.vue_vue_type_style_index_0_lang-xUbGmu0G.js.br +0 -0
  98. package/dist/SelectField.vue_vue_type_style_index_0_lang-xUbGmu0G.js.gz +0 -0
  99. package/dist/TermsOfService-C0UXGi-v.js.br +0 -0
  100. package/dist/TermsOfService-C0UXGi-v.js.gz +0 -0
  101. package/dist/_-DDuKZ_0C.js +0 -5
  102. package/dist/_-DDuKZ_0C.js.br +0 -0
  103. package/dist/_-DDuKZ_0C.js.gz +0 -0
  104. package/dist/_.vue_vue_type_style_index_0_lang-1YS6jkC9.js.br +0 -0
  105. package/dist/_.vue_vue_type_style_index_0_lang-1YS6jkC9.js.gz +0 -0
  106. package/dist/giftCard-C9p1KM8D.js.br +0 -0
  107. package/dist/giftCard-C9p1KM8D.js.gz +0 -0
  108. package/dist/index-Cvnya9Nj.js.br +0 -0
  109. package/dist/index-Cvnya9Nj.js.gz +0 -0
  110. package/dist/masonry.plugin-C7yeboUH.js.br +0 -0
  111. package/dist/masonry.plugin-C7yeboUH.js.gz +0 -0
  112. package/dist/mitt-CqW9zFaX.js.br +0 -0
  113. package/dist/mitt-CqW9zFaX.js.gz +0 -0
  114. package/dist/style-Tyu_krEp.js +0 -2340
  115. package/dist/style-Tyu_krEp.js.br +0 -0
  116. package/dist/style-Tyu_krEp.js.gz +0 -0
package/dist/hotel.js CHANGED
@@ -1,18 +1,18 @@
1
- import { d as Bt, h as A, b as M, e as y, i as Z, F as ht, v as Tt, J as Xe, K as qn, a as rt, L as jn, j as Ke, n as Pe, M as wr, u as Yt, s as Gt, r as Ut, N as Pr, g as l, z as bt, A as Cr, w as nt, t as O, E as we, G as Be, f as B, q as Yn, C as xr, c as Lt, x as vs, O as Ko, o as ro, D as an, S as Tr, P as Mr, k as Sr, _ as Ar, l as Ir, m as Or, p as zr } from "./mitt-CqW9zFaX.js";
2
- import { f as Er } from "./index-Cvnya9Nj.js";
3
- import { G as Br } from "./style-Tyu_krEp.js";
4
- import { R as Zr, B as ln, L as Dr, S as Nr, M as Rr, T as Vr, C as Jo, b as Xn, V as Hr, a as Fr } from "./masonry.plugin-C7yeboUH.js";
5
- import { _ as Xt, f as Ze, b as de, u as Ti, I as xt, s as ce, m as wi, l as Kn, r as ye, p as oe, t as eo, a as ao, d as un, F as Gr, h as lo, e as ne, i as Pi, B as ys, H as Qo, x as Ur, T as ie, J as $r, M as ts, q as es, K as Wr, N as is, C as qr, v as ns } from "./SelectField.vue_vue_type_style_index_0_lang-xUbGmu0G.js";
6
- import { A as jr, H as Yr } from "./AvailabilitySkeleton-j7146CzL.js";
7
- import { S as Xr } from "./TermsOfService-C0UXGi-v.js";
8
- import { a as io, B as bs, C as Kr, P as Jr } from "./CheckoutWindow-BxfQmIE3.js";
9
- import { A as Qr } from "./ActionField-zsR6Q0Lt.js";
1
+ import { d as Bt, h as A, b as M, e as y, i as B, F as ht, v as Tt, J as Xe, K as qn, a as rt, L as jn, j as Ke, n as Pe, M as wr, u as Yt, s as Gt, r as jt, N as Pr, g as l, z as Lt, A as Cr, w as nt, t as O, E as we, G as Be, f as Z, q as Yn, C as xr, c as yt, x as vs, O as Ko, o as ro, D as an, S as Tr, P as Mr, k as Sr, _ as Ar, l as Ir, m as Or, p as zr } from "./mitt-CvmiLPAX.js";
2
+ import { f as Er } from "./index-D4nA_tEk.js";
3
+ import { G as Br } from "./style-DijlEV9B.js";
4
+ import { R as Zr, B as ln, L as Dr, S as Nr, M as Rr, T as Hr, C as Jo, b as Xn, V as Vr, a as Fr } from "./masonry.plugin-DDRglIja.js";
5
+ import { _ as Xt, f as Ze, b as de, u as Ti, I as xt, s as ce, m as wi, l as Kn, r as ye, p as oe, t as eo, a as ao, d as un, F as Gr, h as lo, e as ne, i as Pi, B as ys, H as Qo, x as Ur, T as ie, J as $r, M as ts, q as es, K as Wr, N as is, C as qr, v as ns } from "./SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js";
6
+ import { A as jr, H as Yr } from "./AvailabilitySkeleton-Bxse3JWw.js";
7
+ import { S as Xr } from "./TermsOfService-DSR9-slK.js";
8
+ import { a as io, B as bs, C as Kr, P as Jr } from "./CheckoutWindow-DbyK9q3i.js";
9
+ import { A as Qr } from "./ActionField-CMFQS0Tu.js";
10
10
  import { g as ta } from "./_commonjsHelpers-DaMA6jEr.js";
11
- import { _ as Ls } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DGyrwJi3.js";
11
+ import { _ as Ls } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js";
12
12
  function no(r, d = {}, c) {
13
13
  for (const p in r) {
14
- const w = r[p], o = c ? `${c}:${p}` : p;
15
- typeof w == "object" && w !== null ? no(w, d, o) : typeof w == "function" && (d[o] = w);
14
+ const k = r[p], o = c ? `${c}:${p}` : p;
15
+ typeof k == "object" && k !== null ? no(k, d, o) : typeof k == "function" && (d[o] = k);
16
16
  }
17
17
  return d;
18
18
  }
@@ -20,13 +20,13 @@ const ea = { run: (r) => r() }, ia = () => ea, ks = typeof console.createTask <
20
20
  function na(r, d) {
21
21
  const c = d.shift(), p = ks(c);
22
22
  return r.reduce(
23
- (w, o) => w.then(() => p.run(() => o(...d))),
23
+ (k, o) => k.then(() => p.run(() => o(...d))),
24
24
  Promise.resolve()
25
25
  );
26
26
  }
27
27
  function oa(r, d) {
28
28
  const c = d.shift(), p = ks(c);
29
- return Promise.all(r.map((w) => p.run(() => w(...d))));
29
+ return Promise.all(r.map((k) => p.run(() => k(...d))));
30
30
  }
31
31
  function Jn(r, d) {
32
32
  for (const c of [...r])
@@ -40,13 +40,13 @@ class sa {
40
40
  if (!d || typeof c != "function")
41
41
  return () => {
42
42
  };
43
- const w = d;
43
+ const k = d;
44
44
  let o;
45
45
  for (; this._deprecatedHooks[d]; )
46
46
  o = this._deprecatedHooks[d], d = o.to;
47
47
  if (o && !p.allowDeprecated) {
48
48
  let a = o.message;
49
- a || (a = `${w} hook has been deprecated` + (o.to ? `, please use ${o.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(a) || (console.warn(a), this._deprecatedMessages.add(a));
49
+ a || (a = `${k} hook has been deprecated` + (o.to ? `, please use ${o.to}` : "")), this._deprecatedMessages || (this._deprecatedMessages = /* @__PURE__ */ new Set()), this._deprecatedMessages.has(a) || (console.warn(a), this._deprecatedMessages.add(a));
50
50
  }
51
51
  if (!c.name)
52
52
  try {
@@ -61,8 +61,8 @@ class sa {
61
61
  };
62
62
  }
63
63
  hookOnce(d, c) {
64
- let p, w = (...o) => (typeof p == "function" && p(), p = void 0, w = void 0, c(...o));
65
- return p = this.hook(d, w), p;
64
+ let p, k = (...o) => (typeof p == "function" && p(), p = void 0, k = void 0, c(...o));
65
+ return p = this.hook(d, k), p;
66
66
  }
67
67
  removeHook(d, c) {
68
68
  if (this._hooks[d]) {
@@ -74,8 +74,8 @@ class sa {
74
74
  this._deprecatedHooks[d] = typeof c == "string" ? { to: c } : c;
75
75
  const p = this._hooks[d] || [];
76
76
  delete this._hooks[d];
77
- for (const w of p)
78
- this.hook(d, w);
77
+ for (const k of p)
78
+ this.hook(d, k);
79
79
  }
80
80
  deprecateHooks(d) {
81
81
  Object.assign(this._deprecatedHooks, d);
@@ -84,11 +84,11 @@ class sa {
84
84
  }
85
85
  addHooks(d) {
86
86
  const c = no(d), p = Object.keys(c).map(
87
- (w) => this.hook(w, c[w])
87
+ (k) => this.hook(k, c[k])
88
88
  );
89
89
  return () => {
90
- for (const w of p.splice(0, p.length))
91
- w();
90
+ for (const k of p.splice(0, p.length))
91
+ k();
92
92
  };
93
93
  }
94
94
  removeHooks(d) {
@@ -107,15 +107,15 @@ class sa {
107
107
  return c.unshift(d), this.callHookWith(oa, d, ...c);
108
108
  }
109
109
  callHookWith(d, c, ...p) {
110
- const w = this._before || this._after ? { name: c, args: p, context: {} } : void 0;
111
- this._before && Jn(this._before, w);
110
+ const k = this._before || this._after ? { name: c, args: p, context: {} } : void 0;
111
+ this._before && Jn(this._before, k);
112
112
  const o = d(
113
113
  c in this._hooks ? [...this._hooks[c]] : [],
114
114
  p
115
115
  );
116
116
  return o instanceof Promise ? o.finally(() => {
117
- this._after && w && Jn(this._after, w);
118
- }) : (this._after && w && Jn(this._after, w), o);
117
+ this._after && k && Jn(this._after, k);
118
+ }) : (this._after && k && Jn(this._after, k), o);
119
119
  }
120
120
  beforeEach(d) {
121
121
  return this._before = this._before || [], this._before.push(d), () => {
@@ -183,10 +183,10 @@ function ws(r) {
183
183
  };
184
184
  }
185
185
  function ua(r, d, c) {
186
- const p = (r.pageX - (window.pageXOffset + d.bounds.left)) * -d.ratios.x, w = (r.pageY - (window.pageYOffset + d.bounds.top)) * -d.ratios.y;
186
+ const p = (r.pageX - (window.pageXOffset + d.bounds.left)) * -d.ratios.x, k = (r.pageY - (window.pageYOffset + d.bounds.top)) * -d.ratios.y;
187
187
  return {
188
188
  pageX: p + (c ? (window.innerWidth - d.bounds.width) / 2 : 0),
189
- pageY: w + (c ? (window.innerHeight - d.bounds.height) / 2 : 0)
189
+ pageY: k + (c ? (window.innerHeight - d.bounds.height) / 2 : 0)
190
190
  };
191
191
  }
192
192
  function ha(r, d) {
@@ -364,7 +364,7 @@ const fa = Bt({
364
364
  key: 1,
365
365
  class: "iiz__btn iiz__hint"
366
366
  };
367
- function La(r, d, c, p, w, o) {
367
+ function La(r, d, c, p, k, o) {
368
368
  return M(), A("figure", Xe({
369
369
  class: ["iiz", {
370
370
  ...r.className && { [r.className]: r.className },
@@ -444,7 +444,7 @@ function La(r, d, c, p, w, o) {
444
444
  transition: `linear ${r.isFullscreen ? 0 : r.fadeDuration}ms opacity, linear ${r.isFullscreen ? 0 : r.fadeDuration}ms visibility`
445
445
  }),
446
446
  onClick: d[0] || (d[0] = Ke((...a) => r.handleClose && r.handleClose(...a), ["stop"]))
447
- }, null, 6)) : Z("", !0)
447
+ }, null, 6)) : B("", !0)
448
448
  ])
449
449
  ])) : (M(), A(ht, { key: 1 }, [
450
450
  y("img", Xe({
@@ -473,10 +473,10 @@ function La(r, d, c, p, w, o) {
473
473
  transition: `linear ${r.isFullscreen ? 0 : r.fadeDuration}ms opacity, linear ${r.isFullscreen ? 0 : r.fadeDuration}ms visibility`
474
474
  }),
475
475
  onClick: d[1] || (d[1] = Ke((...a) => r.handleClose && r.handleClose(...a), ["stop"]))
476
- }, null, 6)) : Z("", !0)
476
+ }, null, 6)) : B("", !0)
477
477
  ], 64))
478
- ], 64)) : Z("", !0),
479
- !r.isZoomed && !r.hideHint ? (M(), A("span", ba)) : Z("", !0)
478
+ ], 64)) : B("", !0),
479
+ !r.isZoomed && !r.hideHint ? (M(), A("span", ba)) : B("", !0)
480
480
  ], 16);
481
481
  }
482
482
  const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8af"]]), wa = { key: 0 }, Pa = { class: "konnectio-hotel-reservation-warning" }, Ca = { class: "konnectio-hotel-reservation-warning" }, xa = { class: "konnectio-hotel-reservation-warning" }, Ta = { key: 1 }, Ma = { class: "konnectio-hotel-reservation-title" }, Sa = { class: "konnectio-hotel-reservation-information" }, Aa = { class: "konnectio-hotel-reservation-guests" }, Ia = { key: 0 }, Oa = {
@@ -488,11 +488,12 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
488
488
  }, Ra = {
489
489
  key: 1,
490
490
  class: "konnectio-accept-terms"
491
- }, Va = { class: "konnectio-hotel-reservation-tooltip" }, Ha = /* @__PURE__ */ Bt({
491
+ }, Ha = { class: "konnectio-hotel-reservation-tooltip" }, Va = /* @__PURE__ */ Bt({
492
492
  __name: "HotelReservationForm",
493
493
  props: {
494
494
  forceArrivalTime: {},
495
495
  forceDepartureTime: {},
496
+ showRemoveRoom: { type: Boolean, default: !1 },
496
497
  showGiftCard: { type: Boolean, default: !1 },
497
498
  showTermsNotice: { type: Boolean, default: !1 },
498
499
  prevCallback: {}
@@ -502,7 +503,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
502
503
  disableNewsletterSignup: c,
503
504
  currency: p
504
505
  } = Gt(Ze()), {
505
- hasArrivalDepartureInputs: w
506
+ hasArrivalDepartureInputs: k
506
507
  } = Ze(), {
507
508
  arrivalTime: o,
508
509
  departureTime: a,
@@ -530,15 +531,15 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
530
531
  templateRoomTotalPrice: j,
531
532
  weekendFee: It,
532
533
  selectedMemberCardData: lt
533
- } = Gt(de()), { hasHotelLocations: Dt } = Gt(Ti()), { removeRoom: ct, validateDiscountCode: Nt, getMandatoryRoomGroupAddons: F } = de(), { getHotelLocationName: Ce } = Ti(), U = Ut(!1);
534
- function dt(yt) {
535
- return yt.reduce((pt, { totalPrice: G }) => pt + G, 0);
534
+ } = Gt(de()), { hasHotelLocations: Dt } = Gt(Ti()), { removeRoom: ct, validateDiscountCode: Nt, getMandatoryRoomGroupAddons: F } = de(), { getHotelLocationName: Ce } = Ti(), U = jt(!1);
535
+ function dt(bt) {
536
+ return bt.reduce((pt, { totalPrice: G }) => pt + G, 0);
536
537
  }
537
- return (yt, ft) => {
538
+ return (bt, ft) => {
538
539
  const pt = Pr("tooltip");
539
540
  return M(), rt(Zr, {
540
541
  "discount-code": l(ut),
541
- "onUpdate:discountCode": ft[4] || (ft[4] = (G) => bt(ut) ? ut.value = G : null),
542
+ "onUpdate:discountCode": ft[4] || (ft[4] = (G) => Lt(ut) ? ut.value = G : null),
542
543
  "validate-discount-code": l(Nt),
543
544
  "total-price": l(g),
544
545
  "weekend-fee": l(It),
@@ -549,7 +550,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
549
550
  "prev-callback": r.prevCallback
550
551
  }, Cr({
551
552
  form: nt(() => [
552
- Yn(yt.$slots, "form", {}, void 0, !0)
553
+ Yn(bt.$slots, "form", {}, void 0, !0)
553
554
  ]),
554
555
  "price-summary": nt(() => [
555
556
  isNaN(l(f)) && l(h).length > 0 ? (M(!0), A(ht, { key: 0 }, Tt(l(h), ({
@@ -567,7 +568,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
567
568
  y("span", Sa, [
568
569
  y("span", Aa, [
569
570
  y("span", null, [
570
- B(xt, {
571
+ Z(xt, {
571
572
  icon: "male",
572
573
  type: "fas",
573
574
  color: "font"
@@ -575,37 +576,38 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
575
576
  y("span", null, O(wt.adultsCount), 1)
576
577
  ]),
577
578
  wt.childrenCount > 0 ? (M(), A("span", Ia, [
578
- B(xt, {
579
+ Z(xt, {
579
580
  icon: "child",
580
581
  type: "fas",
581
582
  color: "font"
582
583
  }),
583
584
  y("span", null, O(wt.childrenCount), 1)
584
- ])) : Z("", !0)
585
+ ])) : B("", !0)
585
586
  ]),
586
- wt.roomName ? (M(), A("span", Oa, "(" + O(wt.roomName) + ")", 1)) : Z("", !0)
587
+ wt.roomName ? (M(), A("span", Oa, "(" + O(wt.roomName) + ")", 1)) : B("", !0)
587
588
  ]),
588
589
  y("b", null, [
589
590
  y("span", null, O(l(oe)(wt.totalPrice, l(p))), 1),
590
- y("span", {
591
+ r.showRemoveRoom ? (M(), A("span", {
592
+ key: 0,
591
593
  class: "konnectio-hotel-reservation-remove",
592
594
  onClick: Ke((se) => l(ct)(G, xe, wt.configIdx), ["prevent"])
593
595
  }, [
594
- B(xt, {
596
+ Z(xt, {
595
597
  icon: "times",
596
598
  type: "fas",
597
599
  "icon-color": "#ff0000"
598
600
  })
599
- ], 8, za)
601
+ ], 8, za)) : B("", !0)
600
602
  ])
601
603
  ]),
602
604
  dt(wt.roomAddons) > 0 ? (M(), A("li", Ea, [
603
605
  y("span", null, O(l(d)("general.addons")), 1),
604
606
  y("b", null, O(l(oe)(dt(wt.roomAddons), l(p))), 1)
605
- ])) : Z("", !0)
607
+ ])) : B("", !0)
606
608
  ]))), 128))
607
609
  ]))), 128))
608
- ]))), 128)) : Z("", !0),
610
+ ]))), 128)) : B("", !0),
609
611
  l(v) && l(P) ? (M(), A("div", Ba, [
610
612
  y("h6", null, [
611
613
  y("span", null, O(l(ye)(l(P).name)), 1)
@@ -624,36 +626,36 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
624
626
  y("b", null, [
625
627
  y("span", null, O(l(oe)(G.price, l(p))), 1)
626
628
  ])
627
- ], 64))), 256)) : Z("", !0)
629
+ ], 64))), 256)) : B("", !0)
628
630
  ]),
629
631
  l(St) ? (M(), A("li", Za, [
630
632
  y("span", null, O(l(d)("general.addons")), 1),
631
633
  y("b", null, O(l(oe)(l(St), l(p))), 1)
632
- ])) : Z("", !0)
634
+ ])) : B("", !0)
633
635
  ])
634
636
  ])
635
- ])) : Z("", !0)
637
+ ])) : B("", !0)
636
638
  ]),
637
639
  actions: nt(() => [
638
640
  y("ul", Da, [
639
- l(c) ? Z("", !0) : (M(), A("div", Na, [
640
- B(io, {
641
+ l(c) ? B("", !0) : (M(), A("div", Na, [
642
+ Z(io, {
641
643
  modelValue: l(N),
642
- "onUpdate:modelValue": ft[0] || (ft[0] = (G) => bt(N) ? N.value = G : null),
644
+ "onUpdate:modelValue": ft[0] || (ft[0] = (G) => Lt(N) ? N.value = G : null),
643
645
  type: "checkbox",
644
646
  name: "newsletter",
645
647
  label: l(d)("booking.reservation.newsletterSignUp")
646
648
  }, null, 8, ["modelValue", "label"])
647
649
  ])),
648
650
  l(kt) ? (M(), A("div", Ra, [
649
- B(io, {
651
+ Z(io, {
650
652
  modelValue: l(Mt),
651
- "onUpdate:modelValue": ft[2] || (ft[2] = (G) => bt(Mt) ? Mt.value = G : null),
653
+ "onUpdate:modelValue": ft[2] || (ft[2] = (G) => Lt(Mt) ? Mt.value = G : null),
652
654
  type: "checkbox",
653
655
  name: "terms"
654
656
  }, {
655
657
  default: nt(() => [
656
- B(l(xr), {
658
+ Z(l(xr), {
657
659
  keypath: "general.termsAndConditionsCheckbox",
658
660
  tag: "span",
659
661
  scope: "global"
@@ -671,9 +673,9 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
671
673
  ]),
672
674
  _: 1
673
675
  }, 8, ["modelValue"])
674
- ])) : Z("", !0),
675
- Yn(yt.$slots, "actions", {}, void 0, !0),
676
- B(Xr, {
676
+ ])) : B("", !0),
677
+ Yn(bt.$slots, "actions", {}, void 0, !0),
678
+ Z(Xr, {
677
679
  modelValue: U.value,
678
680
  "onUpdate:modelValue": ft[3] || (ft[3] = (G) => U.value = G),
679
681
  description: l(ot)
@@ -681,13 +683,13 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
681
683
  ])
682
684
  ]),
683
685
  navigation: nt(() => [
684
- Yn(yt.$slots, "navigation", {}, void 0, !0)
686
+ Yn(bt.$slots, "navigation", {}, void 0, !0)
685
687
  ]),
686
688
  "mobile-under-price": nt(() => [
687
689
  y("span", null, O(l(d)("general.for")) + ": ", 1),
688
690
  y("b", null, O(l(wi)(l(T), l(C))) + " " + O(l(Kn)(l(wi)(l(T), l(C)) === 1 ? l(d)("booking.reservation.night") : l(d)("booking.reservation.nights"))), 1),
689
- we((M(), A("span", Va, [
690
- B(xt, {
691
+ we((M(), A("span", Ha, [
692
+ Z(xt, {
691
693
  icon: "circle-info",
692
694
  type: "fas"
693
695
  })
@@ -714,7 +716,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
714
716
  y("b", null, [
715
717
  y("span", null, O(l(Ce)(l(I))), 1),
716
718
  we(y("span", Pa, [
717
- B(xt, {
719
+ Z(xt, {
718
720
  icon: "exclamation-triangle",
719
721
  type: "fas"
720
722
  })
@@ -722,13 +724,13 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
722
724
  [Be, l(z)]
723
725
  ])
724
726
  ])
725
- ])) : Z("", !0),
727
+ ])) : B("", !0),
726
728
  y("li", null, [
727
729
  y("span", null, O(l(d)("booking.reservation.arrival")), 1),
728
730
  y("b", null, [
729
- y("span", null, O(l(w)(l(I)) ? `${l(ce)(l(T))}, ${l(o)}` : l(ce)(l(T))), 1),
731
+ y("span", null, O(l(k)(l(I)) ? `${l(ce)(l(T))}, ${l(o)}` : l(ce)(l(T))), 1),
730
732
  we(y("span", Ca, [
731
- B(xt, {
733
+ Z(xt, {
732
734
  icon: "exclamation-triangle",
733
735
  type: "fas"
734
736
  })
@@ -740,9 +742,9 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
740
742
  y("li", null, [
741
743
  y("span", null, O(l(d)("booking.reservation.departure")), 1),
742
744
  y("b", null, [
743
- y("span", null, O(l(w)(l(I)) ? `${l(ce)(l(C))}, ${l(a)}` : l(ce)(l(C))), 1),
745
+ y("span", null, O(l(k)(l(I)) ? `${l(ce)(l(C))}, ${l(a)}` : l(ce)(l(C))), 1),
744
746
  we(y("span", xa, [
745
- B(xt, {
747
+ Z(xt, {
746
748
  icon: "exclamation-triangle",
747
749
  type: "fas"
748
750
  })
@@ -758,33 +760,33 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
758
760
  l(lt) && l(lt).providesDiscount ? (M(), A("li", Ta, [
759
761
  y("span", null, O(l(lt).shortDescription), 1),
760
762
  y("b", null, "-" + O(l(lt).discountPercent) + "%", 1)
761
- ])) : Z("", !0),
763
+ ])) : B("", !0),
762
764
  l(_) ? (M(!0), A(ht, { key: 2 }, Tt(l(_), (G) => (M(), A("li", {
763
765
  key: G.id
764
766
  }, [
765
767
  y("span", null, O(`${l(d)("general.discountCode")} (${G.value})`), 1),
766
768
  y("b", null, O(G.key), 1)
767
- ]))), 128)) : Z("", !0)
769
+ ]))), 128)) : B("", !0)
768
770
  ]),
769
771
  key: "0"
770
772
  }
771
773
  ]), 1032, ["discount-code", "validate-discount-code", "total-price", "weekend-fee", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
772
774
  };
773
775
  }
774
- }), to = /* @__PURE__ */ Xt(Ha, [["__scopeId", "data-v-8231c357"]]), Fa = { id: "konnectio-hotel-guest-discount" }, Ga = { class: "konnectio-panel" }, Ua = { id: "konnectio-hotel-guest-discount-title" }, $a = ["innerHTML"], Wa = /* @__PURE__ */ Bt({
776
+ }), to = /* @__PURE__ */ Xt(Va, [["__scopeId", "data-v-0b85dfa9"]]), Fa = { id: "konnectio-hotel-guest-discount" }, Ga = { class: "konnectio-panel" }, Ua = { id: "konnectio-hotel-guest-discount-title" }, $a = ["innerHTML"], Wa = /* @__PURE__ */ Bt({
775
777
  __name: "GuestDiscountForm",
776
778
  setup(r) {
777
- const { t: d } = Yt(), c = eo("history"), p = de(), { display: w } = ao(), o = Ut();
779
+ const { t: d } = Yt(), c = eo("history"), p = de(), { display: k } = ao(), o = jt();
778
780
  async function a() {
779
781
  if (!o.value) {
780
- w({
782
+ k({
781
783
  message: d("alert.error.guestDiscountEmpty"),
782
784
  type: "error"
783
785
  });
784
786
  return;
785
787
  }
786
788
  if (isNaN(o.value)) {
787
- w({
789
+ k({
788
790
  message: d("alert.error.guestDiscountNan"),
789
791
  type: "error"
790
792
  });
@@ -800,7 +802,7 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
800
802
  y("p", {
801
803
  innerHTML: l(d)("guestDiscount.description")
802
804
  }, null, 8, $a),
803
- B(Qr, {
805
+ Z(Qr, {
804
806
  modelValue: o.value,
805
807
  "onUpdate:modelValue": f[0] || (f[0] = (g) => o.value = g),
806
808
  label: l(d)("guestDiscount.guestDiscountCode"),
@@ -826,11 +828,11 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
826
828
  },
827
829
  emits: ["update:modelValue"],
828
830
  setup(r, { emit: d }) {
829
- const { t: c } = Yt(), { currency: p } = Gt(Ze()), w = d, o = r;
831
+ const { t: c } = Yt(), { currency: p } = Gt(Ze()), k = d, o = r;
830
832
  function a(f) {
831
- w("update:modelValue", f);
833
+ k("update:modelValue", f);
832
834
  }
833
- const h = Lt({
835
+ const h = yt({
834
836
  get: () => o.modelValue,
835
837
  set: (f) => a(f)
836
838
  });
@@ -850,20 +852,20 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
850
852
  option: nt(({ data: b }) => [
851
853
  y("span", ja, [
852
854
  y("div", null, [
853
- B(xt, {
855
+ Z(xt, {
854
856
  icon: "male",
855
857
  type: "fas",
856
858
  color: "font"
857
859
  }),
858
860
  y("span", null, O(`${b.adults}`), 1),
859
861
  b.children > 0 ? (M(), A("span", Ya, [
860
- B(xt, {
862
+ Z(xt, {
861
863
  icon: "child",
862
864
  type: "fas",
863
865
  color: "font"
864
866
  }),
865
867
  y("span", null, O(`${b.children}`), 1)
866
- ])) : Z("", !0)
868
+ ])) : B("", !0)
867
869
  ]),
868
870
  y("span", null, O(`(${l(oe)(b.price, l(p))})`), 1)
869
871
  ])
@@ -872,13 +874,13 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
872
874
  y("div", Xa, [
873
875
  y("div", Ka, [
874
876
  y("div", null, [
875
- Z("", !0),
877
+ B("", !0),
876
878
  y("span", null, O(`${b.adults} ${b.adults === 1 ? l(c)("general.adult") : l(c)("general.adults")}`), 1)
877
879
  ]),
878
880
  b.children > 0 ? (M(), A("div", Ja, [
879
- Z("", !0),
881
+ B("", !0),
880
882
  y("span", null, O(`& ${b.children} ${b.children === 1 ? l(c)("general.child") : l(c)("general.children")}`), 1)
881
- ])) : Z("", !0)
883
+ ])) : B("", !0)
882
884
  ]),
883
885
  y("div", Qa, [
884
886
  g[1] || (g[1] = y("span", null, null, -1)),
@@ -891,10 +893,6 @@ const ka = /* @__PURE__ */ Xt(fa, [["render", La], ["__scopeId", "data-v-71b2d8a
891
893
  }
892
894
  }), el = /* @__PURE__ */ Xt(tl, [["__scopeId", "data-v-c4045bfc"]]);
893
895
  var Ci = { exports: {} };
894
- /* @preserve
895
- * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
896
- * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
897
- */
898
896
  var il = Ci.exports, as;
899
897
  function nl() {
900
898
  return as || (as = 1, (function(r, d) {
@@ -902,7 +900,7 @@ function nl() {
902
900
  p(d);
903
901
  })(il, (function(c) {
904
902
  var p = "1.9.4";
905
- function w(t) {
903
+ function k(t) {
906
904
  var e, i, n, s;
907
905
  for (i = 1, n = arguments.length; i < n; i++) {
908
906
  s = arguments[i];
@@ -1011,7 +1009,7 @@ function nl() {
1011
1009
  }
1012
1010
  var It = {
1013
1011
  __proto__: null,
1014
- extend: w,
1012
+ extend: k,
1015
1013
  create: o,
1016
1014
  bind: a,
1017
1015
  get lastId() {
@@ -1044,7 +1042,7 @@ function nl() {
1044
1042
  n.constructor = e, e.prototype = n;
1045
1043
  for (var s in this)
1046
1044
  Object.prototype.hasOwnProperty.call(this, s) && s !== "prototype" && s !== "__super__" && (e[s] = this[s]);
1047
- return t.statics && w(e, t.statics), t.includes && (Dt(t.includes), w.apply(null, [n].concat(t.includes))), w(n, t), delete n.statics, delete n.includes, n.options && (n.options = i.options ? o(i.options) : {}, w(n.options, t.options)), n._initHooks = [], n.callInitHooks = function() {
1045
+ return t.statics && k(e, t.statics), t.includes && (Dt(t.includes), k.apply(null, [n].concat(t.includes))), k(n, t), delete n.statics, delete n.includes, n.options && (n.options = i.options ? o(i.options) : {}, k(n.options, t.options)), n._initHooks = [], n.callInitHooks = function() {
1048
1046
  if (!this._initHooksCalled) {
1049
1047
  i.callInitHooks && i.callInitHooks.call(this), this._initHooksCalled = !0;
1050
1048
  for (var u = 0, m = n._initHooks.length; u < m; u++)
@@ -1053,9 +1051,9 @@ function nl() {
1053
1051
  }, e;
1054
1052
  }, lt.include = function(t) {
1055
1053
  var e = this.prototype.options;
1056
- return w(this.prototype, t), t.options && (this.prototype.options = e, this.mergeOptions(t.options)), this;
1054
+ return k(this.prototype, t), t.options && (this.prototype.options = e, this.mergeOptions(t.options)), this;
1057
1055
  }, lt.mergeOptions = function(t) {
1058
- return w(this.prototype.options, t), this;
1056
+ return k(this.prototype.options, t), this;
1059
1057
  }, lt.addInitHook = function(t) {
1060
1058
  var e = Array.prototype.slice.call(arguments, 1), i = typeof t == "function" ? t : function() {
1061
1059
  this[t].apply(this, e);
@@ -1140,8 +1138,8 @@ function nl() {
1140
1138
  }
1141
1139
  var m = this._listens(t, e, i);
1142
1140
  if (m !== !1) {
1143
- var k = n[m];
1144
- this._firingCount && (k.fn = v, this._events[t] = n = n.slice()), n.splice(m, 1);
1141
+ var w = n[m];
1142
+ this._firingCount && (w.fn = v, this._events[t] = n = n.slice()), n.splice(m, 1);
1145
1143
  }
1146
1144
  }
1147
1145
  },
@@ -1152,7 +1150,7 @@ function nl() {
1152
1150
  fire: function(t, e, i) {
1153
1151
  if (!this.listens(t, i))
1154
1152
  return this;
1155
- var n = w({}, e, {
1153
+ var n = k({}, e, {
1156
1154
  type: t,
1157
1155
  target: this,
1158
1156
  sourceTarget: e && e.sourceTarget || this
@@ -1162,8 +1160,8 @@ function nl() {
1162
1160
  if (s) {
1163
1161
  this._firingCount = this._firingCount + 1 || 1;
1164
1162
  for (var u = 0, m = s.length; u < m; u++) {
1165
- var k = s[u], x = k.fn;
1166
- k.once && this.off(t, x, k.ctx), x.call(k.ctx || this, n);
1163
+ var w = s[u], x = w.fn;
1164
+ w.once && this.off(t, x, w.ctx), x.call(w.ctx || this, n);
1167
1165
  }
1168
1166
  this._firingCount--;
1169
1167
  }
@@ -1226,7 +1224,7 @@ function nl() {
1226
1224
  },
1227
1225
  _propagateEvent: function(t) {
1228
1226
  for (var e in this._eventParents)
1229
- this._eventParents[e].fire(t.type, w({
1227
+ this._eventParents[e].fire(t.type, k({
1230
1228
  layer: t.target,
1231
1229
  propagatedFrom: t.target
1232
1230
  }, t), !0);
@@ -1367,7 +1365,7 @@ function nl() {
1367
1365
  return this;
1368
1366
  if (t instanceof F || typeof t[0] == "number" || "x" in t)
1369
1367
  e = i = U(t);
1370
- else if (t = yt(t), e = t.min, i = t.max, !e || !i)
1368
+ else if (t = bt(t), e = t.min, i = t.max, !e || !i)
1371
1369
  return this;
1372
1370
  return !this.min && !this.max ? (this.min = e.clone(), this.max = i.clone()) : (this.min.x = Math.min(e.x, this.min.x), this.max.x = Math.max(i.x, this.max.x), this.min.y = Math.min(e.y, this.min.y), this.max.y = Math.max(i.y, this.max.y)), this;
1373
1371
  },
@@ -1412,13 +1410,13 @@ function nl() {
1412
1410
  // Returns `true` if the rectangle contains the given point.
1413
1411
  contains: function(t) {
1414
1412
  var e, i;
1415
- return typeof t[0] == "number" || t instanceof F ? t = U(t) : t = yt(t), t instanceof dt ? (e = t.min, i = t.max) : e = i = t, e.x >= this.min.x && i.x <= this.max.x && e.y >= this.min.y && i.y <= this.max.y;
1413
+ return typeof t[0] == "number" || t instanceof F ? t = U(t) : t = bt(t), t instanceof dt ? (e = t.min, i = t.max) : e = i = t, e.x >= this.min.x && i.x <= this.max.x && e.y >= this.min.y && i.y <= this.max.y;
1416
1414
  },
1417
1415
  // @method intersects(otherBounds: Bounds): Boolean
1418
1416
  // Returns `true` if the rectangle intersects the given bounds. Two bounds
1419
1417
  // intersect if they have at least one point in common.
1420
1418
  intersects: function(t) {
1421
- t = yt(t);
1419
+ t = bt(t);
1422
1420
  var e = this.min, i = this.max, n = t.min, s = t.max, u = s.x >= e.x && n.x <= i.x, m = s.y >= e.y && n.y <= i.y;
1423
1421
  return u && m;
1424
1422
  },
@@ -1426,7 +1424,7 @@ function nl() {
1426
1424
  // Returns `true` if the rectangle overlaps the given bounds. Two bounds
1427
1425
  // overlap if their intersection is an area.
1428
1426
  overlaps: function(t) {
1429
- t = yt(t);
1427
+ t = bt(t);
1430
1428
  var e = this.min, i = this.max, n = t.min, s = t.max, u = s.x > e.x && n.x < i.x, m = s.y > e.y && n.y < i.y;
1431
1429
  return u && m;
1432
1430
  },
@@ -1441,7 +1439,7 @@ function nl() {
1441
1439
  // Negative values will retract the bounds.
1442
1440
  pad: function(t) {
1443
1441
  var e = this.min, i = this.max, n = Math.abs(e.x - i.x) * t, s = Math.abs(e.y - i.y) * t;
1444
- return yt(
1442
+ return bt(
1445
1443
  U(e.x - n, e.y - s),
1446
1444
  U(i.x + n, i.y + s)
1447
1445
  );
@@ -1449,10 +1447,10 @@ function nl() {
1449
1447
  // @method equals(otherBounds: Bounds): Boolean
1450
1448
  // Returns `true` if the rectangle is equivalent to the given bounds.
1451
1449
  equals: function(t) {
1452
- return t ? (t = yt(t), this.min.equals(t.getTopLeft()) && this.max.equals(t.getBottomRight())) : !1;
1450
+ return t ? (t = bt(t), this.min.equals(t.getTopLeft()) && this.max.equals(t.getBottomRight())) : !1;
1453
1451
  }
1454
1452
  };
1455
- function yt(t, e) {
1453
+ function bt(t, e) {
1456
1454
  return !t || t instanceof dt ? t : new dt(t, e);
1457
1455
  }
1458
1456
  function ft(t, e) {
@@ -1707,10 +1705,10 @@ function nl() {
1707
1705
  var e = t.getCenter(), i = this.wrapLatLng(e), n = e.lat - i.lat, s = e.lng - i.lng;
1708
1706
  if (n === 0 && s === 0)
1709
1707
  return t;
1710
- var u = t.getSouthWest(), m = t.getNorthEast(), k = new G(u.lat - n, u.lng - s), x = new G(m.lat - n, m.lng - s);
1711
- return new ft(k, x);
1708
+ var u = t.getSouthWest(), m = t.getNorthEast(), w = new G(u.lat - n, u.lng - s), x = new G(m.lat - n, m.lng - s);
1709
+ return new ft(w, x);
1712
1710
  }
1713
- }, Ft = w({}, Rt, {
1711
+ }, Ft = k({}, Rt, {
1714
1712
  wrapLng: [-180, 180],
1715
1713
  // Mean Earth Radius, as recommended for use by
1716
1714
  // the International Union of Geodesy and Geophysics,
@@ -1718,7 +1716,7 @@ function nl() {
1718
1716
  R: 6371e3,
1719
1717
  // distance between two geographical points using spherical law of cosines approximation
1720
1718
  distance: function(t, e) {
1721
- var i = Math.PI / 180, n = t.lat * i, s = e.lat * i, u = Math.sin((e.lat - t.lat) * i / 2), m = Math.sin((e.lng - t.lng) * i / 2), k = u * u + Math.cos(n) * Math.cos(s) * m * m, x = 2 * Math.atan2(Math.sqrt(k), Math.sqrt(1 - k));
1719
+ var i = Math.PI / 180, n = t.lat * i, s = e.lat * i, u = Math.sin((e.lat - t.lat) * i / 2), m = Math.sin((e.lng - t.lng) * i / 2), w = u * u + Math.cos(n) * Math.cos(s) * m * m, x = 2 * Math.atan2(Math.sqrt(w), Math.sqrt(1 - w));
1722
1720
  return this.R * x;
1723
1721
  }
1724
1722
  }), xe = 6378137, wt = {
@@ -1774,29 +1772,29 @@ function nl() {
1774
1772
  function se(t, e, i, n) {
1775
1773
  return new fe(t, e, i, n);
1776
1774
  }
1777
- var be = w({}, Ft, {
1775
+ var be = k({}, Ft, {
1778
1776
  code: "EPSG:3857",
1779
1777
  projection: wt,
1780
1778
  transformation: (function() {
1781
1779
  var t = 0.5 / (Math.PI * wt.R);
1782
1780
  return se(t, 0.5, -t, 0.5);
1783
1781
  })()
1784
- }), Mi = w({}, be, {
1782
+ }), Mi = k({}, be, {
1785
1783
  code: "EPSG:900913"
1786
1784
  });
1787
1785
  function Te(t) {
1788
1786
  return document.createElementNS("http://www.w3.org/2000/svg", t);
1789
1787
  }
1790
1788
  function Me(t, e) {
1791
- var i = "", n, s, u, m, k, x;
1789
+ var i = "", n, s, u, m, w, x;
1792
1790
  for (n = 0, u = t.length; n < u; n++) {
1793
- for (k = t[n], s = 0, m = k.length; s < m; s++)
1794
- x = k[s], i += (s ? "L" : "M") + x.x + " " + x.y;
1795
- i += e ? V.svg ? "z" : "x" : "";
1791
+ for (w = t[n], s = 0, m = w.length; s < m; s++)
1792
+ x = w[s], i += (s ? "L" : "M") + x.x + " " + x.y;
1793
+ i += e ? H.svg ? "z" : "x" : "";
1796
1794
  }
1797
1795
  return i || "M0 0";
1798
1796
  }
1799
- var re = document.documentElement.style, De = "ActiveXObject" in window, hn = De && !document.addEventListener, Si = "msLaunchUri" in navigator && !("documentMode" in document), Je = $t("webkit"), Ai = $t("android"), Ne = $t("android 2") || $t("android 3"), cn = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), dn = Ai && $t("Google") && cn < 537 && !("AudioNode" in window), Qe = !!window.opera, Ii = !Si && $t("chrome"), Oi = $t("gecko") && !Je && !Qe && !De, fn = !Ii && $t("safari"), ti = $t("phantom"), ei = "OTransition" in re, mn = navigator.platform.indexOf("Win") === 0, zi = De && "transition" in re, ii = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Ne, ni = "MozPerspective" in re, oi = !window.L_DISABLE_3D && (zi || ii || ni) && !ei && !ti, Se = typeof orientation < "u" || $t("mobile"), si = Se && Je, ri = Se && ii, Ei = !window.PointerEvent && window.MSPointerEvent, Bi = !!(window.PointerEvent || Ei), Zi = "ontouchstart" in window || !!window.TouchEvent, pn = !window.L_NO_TOUCH && (Zi || Bi), _n = Se && Qe, gn = Se && Oi, vn = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Re = (function() {
1797
+ var re = document.documentElement.style, De = "ActiveXObject" in window, hn = De && !document.addEventListener, Si = "msLaunchUri" in navigator && !("documentMode" in document), Je = Ut("webkit"), Ai = Ut("android"), Ne = Ut("android 2") || Ut("android 3"), cn = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), dn = Ai && Ut("Google") && cn < 537 && !("AudioNode" in window), Qe = !!window.opera, Ii = !Si && Ut("chrome"), Oi = Ut("gecko") && !Je && !Qe && !De, fn = !Ii && Ut("safari"), ti = Ut("phantom"), ei = "OTransition" in re, mn = navigator.platform.indexOf("Win") === 0, zi = De && "transition" in re, ii = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Ne, ni = "MozPerspective" in re, oi = !window.L_DISABLE_3D && (zi || ii || ni) && !ei && !ti, Se = typeof orientation < "u" || Ut("mobile"), si = Se && Je, ri = Se && ii, Ei = !window.PointerEvent && window.MSPointerEvent, Bi = !!(window.PointerEvent || Ei), Zi = "ontouchstart" in window || !!window.TouchEvent, pn = !window.L_NO_TOUCH && (Zi || Bi), _n = Se && Qe, gn = Se && Oi, vn = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, Re = (function() {
1800
1798
  var t = !1;
1801
1799
  try {
1802
1800
  var e = Object.defineProperty({}, "passive", {
@@ -1823,10 +1821,10 @@ function nl() {
1823
1821
  return !1;
1824
1822
  }
1825
1823
  })(), li = navigator.platform.indexOf("Mac") === 0, Di = navigator.platform.indexOf("Linux") === 0;
1826
- function $t(t) {
1824
+ function Ut(t) {
1827
1825
  return navigator.userAgent.toLowerCase().indexOf(t) >= 0;
1828
1826
  }
1829
- var V = {
1827
+ var H = {
1830
1828
  ie: De,
1831
1829
  ielt9: hn,
1832
1830
  edge: Si,
@@ -1862,17 +1860,17 @@ function nl() {
1862
1860
  inlineSvg: yn,
1863
1861
  mac: li,
1864
1862
  linux: Di
1865
- }, Ni = V.msPointer ? "MSPointerDown" : "pointerdown", Ri = V.msPointer ? "MSPointerMove" : "pointermove", Ve = V.msPointer ? "MSPointerUp" : "pointerup", Vi = V.msPointer ? "MSPointerCancel" : "pointercancel", ui = {
1863
+ }, Ni = H.msPointer ? "MSPointerDown" : "pointerdown", Ri = H.msPointer ? "MSPointerMove" : "pointermove", He = H.msPointer ? "MSPointerUp" : "pointerup", Hi = H.msPointer ? "MSPointerCancel" : "pointercancel", ui = {
1866
1864
  touchstart: Ni,
1867
1865
  touchmove: Ri,
1868
- touchend: Ve,
1869
- touchcancel: Vi
1866
+ touchend: He,
1867
+ touchcancel: Hi
1870
1868
  }, Kt = {
1871
1869
  touchstart: Pn,
1872
- touchmove: He,
1873
- touchend: He,
1874
- touchcancel: He
1875
- }, Jt = {}, Hi = !1;
1870
+ touchmove: Ve,
1871
+ touchend: Ve,
1872
+ touchcancel: Ve
1873
+ }, Jt = {}, Vi = !1;
1876
1874
  function Ln(t, e, i) {
1877
1875
  return e === "touchstart" && wn(), Kt[e] ? (i = Kt[e].bind(this, i), t.addEventListener(ui[e], i, !1), i) : (console.warn("wrong event specified:", e), v);
1878
1876
  }
@@ -1893,9 +1891,9 @@ function nl() {
1893
1891
  delete Jt[t.pointerId];
1894
1892
  }
1895
1893
  function wn() {
1896
- Hi || (document.addEventListener(Ni, Fi, !0), document.addEventListener(Ri, kn, !0), document.addEventListener(Ve, Gi, !0), document.addEventListener(Vi, Gi, !0), Hi = !0);
1894
+ Vi || (document.addEventListener(Ni, Fi, !0), document.addEventListener(Ri, kn, !0), document.addEventListener(He, Gi, !0), document.addEventListener(Hi, Gi, !0), Vi = !0);
1897
1895
  }
1898
- function He(t, e) {
1896
+ function Ve(t, e) {
1899
1897
  if (e.pointerType !== (e.MSPOINTER_TYPE_MOUSE || "mouse")) {
1900
1898
  e.touches = [];
1901
1899
  for (var i in Jt)
@@ -1904,7 +1902,7 @@ function nl() {
1904
1902
  }
1905
1903
  }
1906
1904
  function Pn(t, e) {
1907
- e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && Ot(e), He(t, e);
1905
+ e.MSPOINTER_TYPE_TOUCH && e.pointerType === e.MSPOINTER_TYPE_TOUCH && Ot(e), Ve(t, e);
1908
1906
  }
1909
1907
  function Ui(t) {
1910
1908
  var e = {}, i, n;
@@ -1928,8 +1926,8 @@ function nl() {
1928
1926
  }) && !m.some(function(x) {
1929
1927
  return x instanceof HTMLInputElement || x instanceof HTMLSelectElement;
1930
1928
  }))) {
1931
- var k = Date.now();
1932
- k - i <= W ? (n++, n === 2 && e(Ui(u))) : n = 1, i = k;
1929
+ var w = Date.now();
1930
+ w - i <= W ? (n++, n === 2 && e(Ui(u))) : n = 1, i = w;
1933
1931
  }
1934
1932
  }
1935
1933
  }
@@ -1945,7 +1943,7 @@ function nl() {
1945
1943
  ["transform", "webkitTransform", "OTransform", "MozTransform", "msTransform"]
1946
1944
  ), it = $i(
1947
1945
  ["webkitTransition", "transition", "OTransition", "MozTransition", "msTransition"]
1948
- ), H = it === "webkitTransition" || it === "OTransition" ? it + "End" : "transitionend";
1946
+ ), V = it === "webkitTransition" || it === "OTransition" ? it + "End" : "transitionend";
1949
1947
  function zt(t) {
1950
1948
  return typeof t == "string" ? document.getElementById(t) : t;
1951
1949
  }
@@ -1965,7 +1963,7 @@ function nl() {
1965
1963
  var e = t.parentNode;
1966
1964
  e && e.removeChild(t);
1967
1965
  }
1968
- function Vt(t) {
1966
+ function Ht(t) {
1969
1967
  for (; t.firstChild; )
1970
1968
  t.removeChild(t.firstChild);
1971
1969
  }
@@ -2001,7 +1999,7 @@ function nl() {
2001
1999
  function Ge(t) {
2002
2000
  return t.correspondingElement && (t = t.correspondingElement), t.className.baseVal === void 0 ? t.className : t.className.baseVal;
2003
2001
  }
2004
- function Wt(t, e) {
2002
+ function $t(t, e) {
2005
2003
  "opacity" in t.style ? t.style.opacity = e : "filter" in t.style && Ms(t, e);
2006
2004
  }
2007
2005
  function Ms(t, e) {
@@ -2022,10 +2020,10 @@ function nl() {
2022
2020
  }
2023
2021
  function Ae(t, e, i) {
2024
2022
  var n = e || new F(0, 0);
2025
- t.style[q] = (V.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
2023
+ t.style[q] = (H.ie3d ? "translate(" + n.x + "px," + n.y + "px)" : "translate3d(" + n.x + "px," + n.y + "px,0)") + (i ? " scale(" + i + ")" : "");
2026
2024
  }
2027
2025
  function Pt(t, e) {
2028
- t._leaflet_pos = e, V.any3d ? Ae(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");
2026
+ t._leaflet_pos = e, H.any3d ? Ae(t, e) : (t.style.left = e.x + "px", t.style.top = e.y + "px");
2029
2027
  }
2030
2028
  function Ie(t) {
2031
2029
  return t._leaflet_pos || new F(0, 0);
@@ -2083,12 +2081,12 @@ function nl() {
2083
2081
  __proto__: null,
2084
2082
  TRANSFORM: q,
2085
2083
  TRANSITION: it,
2086
- TRANSITION_END: H,
2084
+ TRANSITION_END: V,
2087
2085
  get: zt,
2088
2086
  getStyle: mt,
2089
2087
  create: X,
2090
2088
  remove: at,
2091
- empty: Vt,
2089
+ empty: Ht,
2092
2090
  toFront: Qt,
2093
2091
  toBack: ae,
2094
2092
  hasClass: ci,
@@ -2096,7 +2094,7 @@ function nl() {
2096
2094
  removeClass: vt,
2097
2095
  setClass: Fe,
2098
2096
  getClass: Ge,
2099
- setOpacity: Wt,
2097
+ setOpacity: $t,
2100
2098
  testProp: $i,
2101
2099
  setTransform: Ae,
2102
2100
  setPosition: Pt,
@@ -2133,8 +2131,8 @@ function nl() {
2133
2131
  for (var s in e)
2134
2132
  zn(t, s, e[s], i);
2135
2133
  else if (e = T(e), arguments.length === 2)
2136
- co(t, function(k) {
2137
- return ot(e, k) !== -1;
2134
+ co(t, function(w) {
2135
+ return ot(e, w) !== -1;
2138
2136
  });
2139
2137
  else
2140
2138
  for (var u = 0, m = e.length; u < m; u++)
@@ -2156,11 +2154,11 @@ function nl() {
2156
2154
  var s = e + f(i) + (n ? "_" + f(n) : "");
2157
2155
  if (t[le] && t[le][s])
2158
2156
  return this;
2159
- var u = function(k) {
2160
- return i.call(n || t, k || window.event);
2157
+ var u = function(w) {
2158
+ return i.call(n || t, w || window.event);
2161
2159
  }, m = u;
2162
- !V.touchNative && V.pointer && e.indexOf("touch") === 0 ? u = Ln(t, e, u) : V.touch && e === "dblclick" ? u = R(t, u) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(In[e] || e, u, V.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (u = function(k) {
2163
- k = k || window.event, Bn(t, k) && m(k);
2160
+ !H.touchNative && H.pointer && e.indexOf("touch") === 0 ? u = Ln(t, e, u) : H.touch && e === "dblclick" ? u = R(t, u) : "addEventListener" in t ? e === "touchstart" || e === "touchmove" || e === "wheel" || e === "mousewheel" ? t.addEventListener(In[e] || e, u, H.passiveEvents ? { passive: !1 } : !1) : e === "mouseenter" || e === "mouseleave" ? (u = function(w) {
2161
+ w = w || window.event, Bn(t, w) && m(w);
2164
2162
  }, t.addEventListener(In[e], u, !1)) : t.addEventListener(e, m, !1) : t.attachEvent("on" + e, u), t[le] = t[le] || {}, t[le][s] = u;
2165
2163
  }
2166
2164
  function zn(t, e, i, n, s) {
@@ -2168,7 +2166,7 @@ function nl() {
2168
2166
  var u = t[le] && t[le][s];
2169
2167
  if (!u)
2170
2168
  return this;
2171
- !V.touchNative && V.pointer && e.indexOf("touch") === 0 ? hi(t, e, u) : V.touch && e === "dblclick" ? _t(t, u) : "removeEventListener" in t ? t.removeEventListener(In[e] || e, u, !1) : t.detachEvent("on" + e, u), t[le][s] = null;
2169
+ !H.touchNative && H.pointer && e.indexOf("touch") === 0 ? hi(t, e, u) : H.touch && e === "dblclick" ? _t(t, u) : "removeEventListener" in t ? t.removeEventListener(In[e] || e, u, !1) : t.detachEvent("on" + e, u), t[le][s] = null;
2172
2170
  }
2173
2171
  function Oe(t) {
2174
2172
  return t.stopPropagation ? t.stopPropagation() : t.originalEvent ? t.originalEvent._stopped = !0 : t.cancelBubble = !0, this;
@@ -2203,9 +2201,9 @@ function nl() {
2203
2201
  (t.clientY - n.top) / i.y - e.clientTop
2204
2202
  );
2205
2203
  }
2206
- var As = V.linux && V.chrome ? window.devicePixelRatio : V.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
2204
+ var As = H.linux && H.chrome ? window.devicePixelRatio : H.mac ? window.devicePixelRatio * 3 : window.devicePixelRatio > 0 ? 2 * window.devicePixelRatio : 1;
2207
2205
  function po(t) {
2208
- return V.edge ? t.wheelDeltaY / 2 : (
2206
+ return H.edge ? t.wheelDeltaY / 2 : (
2209
2207
  // Don't trust window-geometry-based delta
2210
2208
  t.deltaY && t.deltaMode === 0 ? -t.deltaY / As : (
2211
2209
  // Pixels
@@ -2367,7 +2365,7 @@ function nl() {
2367
2365
  trackResize: !0
2368
2366
  },
2369
2367
  initialize: function(t, e) {
2370
- e = C(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = a(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(Q(e.center), e.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = it && V.any3d && !V.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), J(this._proxy, H, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
2368
+ e = C(this, e), this._handlers = [], this._layers = {}, this._zoomBoundLayers = {}, this._sizeChanged = !0, this._initContainer(t), this._initLayout(), this._onResize = a(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(Q(e.center), e.zoom, { reset: !0 }), this.callInitHooks(), this._zoomAnimated = it && H.any3d && !H.mobileOpera && this.options.zoomAnimation, this._zoomAnimated && (this._createAnimProxy(), J(this._proxy, V, this._catchTransitionEnd, this)), this._addLayers(this.options.layers);
2371
2369
  },
2372
2370
  // @section Methods for modifying map state
2373
2371
  // @method setView(center: LatLng, zoom: Number, options?: Zoom/pan options): this
@@ -2375,7 +2373,7 @@ function nl() {
2375
2373
  // animation options.
2376
2374
  setView: function(t, e, i) {
2377
2375
  if (e = e === void 0 ? this._zoom : this._limitZoom(e), t = this._limitCenter(Q(t), e, this.options.maxBounds), i = i || {}, this._stop(), this._loaded && !i.reset && i !== !0) {
2378
- i.animate !== void 0 && (i.zoom = w({ animate: i.animate }, i.zoom), i.pan = w({ animate: i.animate, duration: i.duration }, i.pan));
2376
+ i.animate !== void 0 && (i.zoom = k({ animate: i.animate }, i.zoom), i.pan = k({ animate: i.animate, duration: i.duration }, i.pan));
2379
2377
  var n = this._zoom !== e ? this._tryAnimatedZoom && this._tryAnimatedZoom(t, e, i.zoom) : this._tryAnimatedPan(t, i.pan);
2380
2378
  if (n)
2381
2379
  return clearTimeout(this._sizeTimer), this;
@@ -2390,12 +2388,12 @@ function nl() {
2390
2388
  // @method zoomIn(delta?: Number, options?: Zoom options): this
2391
2389
  // Increases the zoom of the map by `delta` ([`zoomDelta`](#map-zoomdelta) by default).
2392
2390
  zoomIn: function(t, e) {
2393
- return t = t || (V.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom + t, e);
2391
+ return t = t || (H.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom + t, e);
2394
2392
  },
2395
2393
  // @method zoomOut(delta?: Number, options?: Zoom options): this
2396
2394
  // Decreases the zoom of the map by `delta` ([`zoomDelta`](#map-zoomdelta) by default).
2397
2395
  zoomOut: function(t, e) {
2398
- return t = t || (V.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom - t, e);
2396
+ return t = t || (H.any3d ? this.options.zoomDelta : 1), this.setZoom(this._zoom - t, e);
2399
2397
  },
2400
2398
  // @method setZoomAround(latlng: LatLng, zoom: Number, options: Zoom options): this
2401
2399
  // Zooms the map while keeping a specified geographical point on the map
@@ -2404,8 +2402,8 @@ function nl() {
2404
2402
  // @method setZoomAround(offset: Point, zoom: Number, options: Zoom options): this
2405
2403
  // Zooms the map while keeping a specified pixel on the map (relative to the top-left corner) stationary.
2406
2404
  setZoomAround: function(t, e, i) {
2407
- var n = this.getZoomScale(e), s = this.getSize().divideBy(2), u = t instanceof F ? t : this.latLngToContainerPoint(t), m = u.subtract(s).multiplyBy(1 - 1 / n), k = this.containerPointToLatLng(s.add(m));
2408
- return this.setView(k, e, { zoom: i });
2405
+ var n = this.getZoomScale(e), s = this.getSize().divideBy(2), u = t instanceof F ? t : this.latLngToContainerPoint(t), m = u.subtract(s).multiplyBy(1 - 1 / n), w = this.containerPointToLatLng(s.add(m));
2406
+ return this.setView(w, e, { zoom: i });
2409
2407
  },
2410
2408
  _getBoundsCenterZoom: function(t, e) {
2411
2409
  e = e || {}, t = t.getBounds ? t.getBounds() : pt(t);
@@ -2415,7 +2413,7 @@ function nl() {
2415
2413
  center: t.getCenter(),
2416
2414
  zoom: s
2417
2415
  };
2418
- var u = n.subtract(i).divideBy(2), m = this.project(t.getSouthWest(), s), k = this.project(t.getNorthEast(), s), x = this.unproject(m.add(k).divideBy(2).add(u), s);
2416
+ var u = n.subtract(i).divideBy(2), m = this.project(t.getSouthWest(), s), w = this.project(t.getNorthEast(), s), x = this.unproject(m.add(w).divideBy(2).add(u), s);
2419
2417
  return {
2420
2418
  center: x,
2421
2419
  zoom: s
@@ -2463,14 +2461,14 @@ function nl() {
2463
2461
  // Sets the view of the map (geographical center and zoom) performing a smooth
2464
2462
  // pan-zoom animation.
2465
2463
  flyTo: function(t, e, i) {
2466
- if (i = i || {}, i.animate === !1 || !V.any3d)
2464
+ if (i = i || {}, i.animate === !1 || !H.any3d)
2467
2465
  return this.setView(t, e, i);
2468
2466
  this._stop();
2469
2467
  var n = this.project(this.getCenter()), s = this.project(t), u = this.getSize(), m = this._zoom;
2470
2468
  t = Q(t), e = e === void 0 ? m : e;
2471
- var k = Math.max(u.x, u.y), x = k * this.getZoomScale(m, e), S = s.distanceTo(n) || 1, E = 1.42, $ = E * E;
2469
+ var w = Math.max(u.x, u.y), x = w * this.getZoomScale(m, e), S = s.distanceTo(n) || 1, E = 1.42, $ = E * E;
2472
2470
  function tt(Ct) {
2473
- var rn = Ct ? -1 : 1, yr = Ct ? x : k, br = x * x - k * k + rn * $ * $ * S * S, Lr = 2 * yr * $ * S, Wn = br / Lr, Xo = Math.sqrt(Wn * Wn + 1) - Wn, kr = Xo < 1e-9 ? -18 : Math.log(Xo);
2471
+ var rn = Ct ? -1 : 1, yr = Ct ? x : w, br = x * x - w * w + rn * $ * $ * S * S, Lr = 2 * yr * $ * S, Wn = br / Lr, Xo = Math.sqrt(Wn * Wn + 1) - Wn, kr = Xo < 1e-9 ? -18 : Math.log(Xo);
2474
2472
  return kr;
2475
2473
  }
2476
2474
  function Et(Ct) {
@@ -2479,25 +2477,25 @@ function nl() {
2479
2477
  function At(Ct) {
2480
2478
  return (Math.exp(Ct) + Math.exp(-Ct)) / 2;
2481
2479
  }
2482
- function jt(Ct) {
2480
+ function qt(Ct) {
2483
2481
  return Et(Ct) / At(Ct);
2484
2482
  }
2485
- var Ht = tt(0);
2483
+ var Vt = tt(0);
2486
2484
  function Ye(Ct) {
2487
- return k * (At(Ht) / At(Ht + E * Ct));
2485
+ return w * (At(Vt) / At(Vt + E * Ct));
2488
2486
  }
2489
2487
  function pr(Ct) {
2490
- return k * (At(Ht) * jt(Ht + E * Ct) - Et(Ht)) / $;
2488
+ return w * (At(Vt) * qt(Vt + E * Ct) - Et(Vt)) / $;
2491
2489
  }
2492
2490
  function _r(Ct) {
2493
2491
  return 1 - Math.pow(1 - Ct, 1.5);
2494
2492
  }
2495
- var gr = Date.now(), jo = (tt(1) - Ht) / E, vr = i.duration ? 1e3 * i.duration : 1e3 * jo * 0.8;
2493
+ var gr = Date.now(), jo = (tt(1) - Vt) / E, vr = i.duration ? 1e3 * i.duration : 1e3 * jo * 0.8;
2496
2494
  function Yo() {
2497
2495
  var Ct = (Date.now() - gr) / vr, rn = _r(Ct) * jo;
2498
2496
  Ct <= 1 ? (this._flyToFrame = Y(Yo, this), this._move(
2499
2497
  this.unproject(n.add(s.subtract(n).multiplyBy(pr(rn) / S)), m),
2500
- this.getScaleZoom(k / Ye(rn), m),
2498
+ this.getScaleZoom(w / Ye(rn), m),
2501
2499
  { flyTo: !0 }
2502
2500
  )) : this._move(t, e)._moveEnd(!0);
2503
2501
  }
@@ -2541,10 +2539,10 @@ function nl() {
2541
2539
  // the map will not be panned.
2542
2540
  panInside: function(t, e) {
2543
2541
  e = e || {};
2544
- var i = U(e.paddingTopLeft || e.padding || [0, 0]), n = U(e.paddingBottomRight || e.padding || [0, 0]), s = this.project(this.getCenter()), u = this.project(t), m = this.getPixelBounds(), k = yt([m.min.add(i), m.max.subtract(n)]), x = k.getSize();
2545
- if (!k.contains(u)) {
2542
+ var i = U(e.paddingTopLeft || e.padding || [0, 0]), n = U(e.paddingBottomRight || e.padding || [0, 0]), s = this.project(this.getCenter()), u = this.project(t), m = this.getPixelBounds(), w = bt([m.min.add(i), m.max.subtract(n)]), x = w.getSize();
2543
+ if (!w.contains(u)) {
2546
2544
  this._enforcingBounds = !0;
2547
- var S = u.subtract(k.getCenter()), E = k.extend(u).getSize().subtract(x);
2545
+ var S = u.subtract(w.getCenter()), E = w.extend(u).getSize().subtract(x);
2548
2546
  s.x += S.x < 0 ? -E.x : E.x, s.y += S.y < 0 ? -E.y : E.y, this.panTo(this.unproject(s), e), this._enforcingBounds = !1;
2549
2547
  }
2550
2548
  return this;
@@ -2564,7 +2562,7 @@ function nl() {
2564
2562
  invalidateSize: function(t) {
2565
2563
  if (!this._loaded)
2566
2564
  return this;
2567
- t = w({
2565
+ t = k({
2568
2566
  animate: !1,
2569
2567
  pan: !0
2570
2568
  }, t === !0 ? { animate: !0 } : t);
@@ -2592,7 +2590,7 @@ function nl() {
2592
2590
  // modern browsers ([Chrome 50 and newer](https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins))
2593
2591
  // See `Locate options` for more details.
2594
2592
  locate: function(t) {
2595
- if (t = this._locateOptions = w({
2593
+ if (t = this._locateOptions = k({
2596
2594
  timeout: 1e4,
2597
2595
  watch: !1
2598
2596
  // setView: false
@@ -2630,14 +2628,14 @@ function nl() {
2630
2628
  var m = this.getBoundsZoom(s);
2631
2629
  this.setView(n, u.maxZoom ? Math.min(m, u.maxZoom) : m);
2632
2630
  }
2633
- var k = {
2631
+ var w = {
2634
2632
  latlng: n,
2635
2633
  bounds: s,
2636
2634
  timestamp: t.timestamp
2637
2635
  };
2638
2636
  for (var x in t.coords)
2639
- typeof t.coords[x] == "number" && (k[x] = t.coords[x]);
2640
- this.fire("locationfound", k);
2637
+ typeof t.coords[x] == "number" && (w[x] = t.coords[x]);
2638
+ this.fire("locationfound", w);
2641
2639
  }
2642
2640
  },
2643
2641
  // TODO Appropriate docs section?
@@ -2711,7 +2709,7 @@ function nl() {
2711
2709
  // the given bounds in its entirety.
2712
2710
  getBoundsZoom: function(t, e, i) {
2713
2711
  t = pt(t), i = U(i || [0, 0]);
2714
- var n = this.getZoom() || 0, s = this.getMinZoom(), u = this.getMaxZoom(), m = t.getNorthWest(), k = t.getSouthEast(), x = this.getSize().subtract(i), S = yt(this.project(k, n), this.project(m, n)).getSize(), E = V.any3d ? this.options.zoomSnap : 1, $ = x.x / S.x, tt = x.y / S.y, Et = e ? Math.max($, tt) : Math.min($, tt);
2712
+ var n = this.getZoom() || 0, s = this.getMinZoom(), u = this.getMaxZoom(), m = t.getNorthWest(), w = t.getSouthEast(), x = this.getSize().subtract(i), S = bt(this.project(w, n), this.project(m, n)).getSize(), E = H.any3d ? this.options.zoomSnap : 1, $ = x.x / S.x, tt = x.y / S.y, Et = e ? Math.max($, tt) : Math.min($, tt);
2715
2713
  return n = this.getScaleZoom(Et, n), E && (n = Math.round(n / (E / 100)) * (E / 100), n = e ? Math.ceil(n / E) * E : Math.floor(n / E) * E), Math.max(s, Math.min(u, n));
2716
2714
  },
2717
2715
  // @method getSize(): Point
@@ -2884,7 +2882,7 @@ function nl() {
2884
2882
  },
2885
2883
  _initLayout: function() {
2886
2884
  var t = this._container;
2887
- this._fadeAnimated = this.options.fadeAnimation && V.any3d, K(t, "leaflet-container" + (V.touch ? " leaflet-touch" : "") + (V.retina ? " leaflet-retina" : "") + (V.ielt9 ? " leaflet-oldie" : "") + (V.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
2885
+ this._fadeAnimated = this.options.fadeAnimation && H.any3d, K(t, "leaflet-container" + (H.touch ? " leaflet-touch" : "") + (H.retina ? " leaflet-retina" : "") + (H.ielt9 ? " leaflet-oldie" : "") + (H.safari ? " leaflet-safari" : "") + (this._fadeAnimated ? " leaflet-fade-anim" : ""));
2888
2886
  var e = mt(t, "position");
2889
2887
  e !== "absolute" && e !== "relative" && e !== "fixed" && e !== "sticky" && (t.style.position = "relative"), this._initPanes(), this._initControlPos && this._initControlPos();
2890
2888
  },
@@ -2933,7 +2931,7 @@ function nl() {
2933
2931
  _initEvents: function(t) {
2934
2932
  this._targets = {}, this._targets[f(this._container)] = this;
2935
2933
  var e = t ? gt : J;
2936
- e(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && e(window, "resize", this._onResize, this), V.any3d && this.options.transform3DLimit && (t ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
2934
+ e(this._container, "click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup", this._handleDOMEvent, this), this.options.trackResize && e(window, "resize", this._onResize, this), H.any3d && this.options.transform3DLimit && (t ? this.off : this.on).call(this, "moveend", this._onMoveEnd);
2937
2935
  },
2938
2936
  _onResize: function() {
2939
2937
  j(this._resizeRequest), this._resizeRequest = Y(
@@ -2979,7 +2977,7 @@ function nl() {
2979
2977
  _mouseEvents: ["click", "dblclick", "mouseover", "mouseout", "contextmenu"],
2980
2978
  _fireDOMEvent: function(t, e, i) {
2981
2979
  if (t.type === "click") {
2982
- var n = w({}, t);
2980
+ var n = k({}, t);
2983
2981
  n.type = "preclick", this._fireDOMEvent(n, n.type, i);
2984
2982
  }
2985
2983
  var s = this._findEventTargets(t, e);
@@ -2990,12 +2988,12 @@ function nl() {
2990
2988
  }
2991
2989
  if (s.length) {
2992
2990
  e === "contextmenu" && Ot(t);
2993
- var k = s[0], x = {
2991
+ var w = s[0], x = {
2994
2992
  originalEvent: t
2995
2993
  };
2996
2994
  if (t.type !== "keypress" && t.type !== "keydown" && t.type !== "keyup") {
2997
- var S = k.getLatLng && (!k._radius || k._radius <= 10);
2998
- x.containerPoint = S ? this.latLngToContainerPoint(k.getLatLng()) : this.mouseEventToContainerPoint(t), x.layerPoint = this.containerPointToLayerPoint(x.containerPoint), x.latlng = S ? k.getLatLng() : this.layerPointToLatLng(x.layerPoint);
2995
+ var S = w.getLatLng && (!w._radius || w._radius <= 10);
2996
+ x.containerPoint = S ? this.latLngToContainerPoint(w.getLatLng()) : this.mouseEventToContainerPoint(t), x.layerPoint = this.containerPointToLayerPoint(x.containerPoint), x.latlng = S ? w.getLatLng() : this.layerPointToLatLng(x.layerPoint);
2999
2997
  }
3000
2998
  for (m = 0; m < s.length; m++)
3001
2999
  if (s[m].fire(e, x, !0), x.originalEvent._stopped || s[m].options.bubblingMouseEvents === !1 && ot(this._mouseEvents, e) !== -1)
@@ -3039,7 +3037,7 @@ function nl() {
3039
3037
  },
3040
3038
  _latLngBoundsToNewLayerBounds: function(t, e, i) {
3041
3039
  var n = this._getNewPixelOrigin(i, e);
3042
- return yt([
3040
+ return bt([
3043
3041
  this.project(t.getSouthWest(), e)._subtract(n),
3044
3042
  this.project(t.getNorthWest(), e)._subtract(n),
3045
3043
  this.project(t.getSouthEast(), e)._subtract(n),
@@ -3070,17 +3068,17 @@ function nl() {
3070
3068
  },
3071
3069
  // returns offset needed for pxBounds to get inside maxBounds at a specified zoom
3072
3070
  _getBoundsOffset: function(t, e, i) {
3073
- var n = yt(
3071
+ var n = bt(
3074
3072
  this.project(e.getNorthEast(), i),
3075
3073
  this.project(e.getSouthWest(), i)
3076
- ), s = n.min.subtract(t.min), u = n.max.subtract(t.max), m = this._rebound(s.x, -u.x), k = this._rebound(s.y, -u.y);
3077
- return new F(m, k);
3074
+ ), s = n.min.subtract(t.min), u = n.max.subtract(t.max), m = this._rebound(s.x, -u.x), w = this._rebound(s.y, -u.y);
3075
+ return new F(m, w);
3078
3076
  },
3079
3077
  _rebound: function(t, e) {
3080
3078
  return t + e > 0 ? Math.round(t - e) / 2 : Math.max(0, Math.ceil(t)) - Math.max(0, Math.floor(e));
3081
3079
  },
3082
3080
  _limitZoom: function(t) {
3083
- var e = this.getMinZoom(), i = this.getMaxZoom(), n = V.any3d ? this.options.zoomSnap : 1;
3081
+ var e = this.getMinZoom(), i = this.getMaxZoom(), n = H.any3d ? this.options.zoomSnap : 1;
3084
3082
  return n && (t = Math.round(t / n) * n), Math.max(e, Math.min(i, t));
3085
3083
  },
3086
3084
  _onPanTransitionStep: function() {
@@ -3326,7 +3324,7 @@ function nl() {
3326
3324
  _update: function() {
3327
3325
  if (!this._container)
3328
3326
  return this;
3329
- Vt(this._baseLayersList), Vt(this._overlaysList), this._layerControlInputs = [];
3327
+ Ht(this._baseLayersList), Ht(this._overlaysList), this._layerControlInputs = [];
3330
3328
  var t, e, i, n, s = 0;
3331
3329
  for (i = 0; i < this._layers.length; i++)
3332
3330
  n = this._layers[i], this._addItem(n), e = e || n.overlay, t = t || !n.overlay, s += n.overlay ? 0 : 1;
@@ -3508,7 +3506,7 @@ function nl() {
3508
3506
  position: "bottomright",
3509
3507
  // @option prefix: String|false = 'Leaflet'
3510
3508
  // The HTML text shown before the attributions. Pass `false` to disable.
3511
- prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (V.inlineSvg ? Zs + " " : "") + "Leaflet</a>"
3509
+ prefix: '<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">' + (H.inlineSvg ? Zs + " " : "") + "Leaflet</a>"
3512
3510
  },
3513
3511
  initialize: function(t) {
3514
3512
  C(this, t), this._attributions = {};
@@ -3590,7 +3588,7 @@ function nl() {
3590
3588
  ue.addTo = function(t, e) {
3591
3589
  return t.addHandler(e, this), this;
3592
3590
  };
3593
- var Ns = { Events: ct }, yo = V.touch ? "touchstart mousedown" : "mousedown", Le = Nt.extend({
3591
+ var Ns = { Events: ct }, yo = H.touch ? "touchstart mousedown" : "mousedown", Le = Nt.extend({
3594
3592
  options: {
3595
3593
  // @section
3596
3594
  // @aka Draggable options
@@ -3656,31 +3654,31 @@ function nl() {
3656
3654
  }
3657
3655
  });
3658
3656
  function bo(t, e, i) {
3659
- var n, s = [1, 4, 2, 8], u, m, k, x, S, E, $, tt;
3657
+ var n, s = [1, 4, 2, 8], u, m, w, x, S, E, $, tt;
3660
3658
  for (u = 0, E = t.length; u < E; u++)
3661
3659
  t[u]._code = Ee(t[u], e);
3662
- for (k = 0; k < 4; k++) {
3663
- for ($ = s[k], n = [], u = 0, E = t.length, m = E - 1; u < E; m = u++)
3660
+ for (w = 0; w < 4; w++) {
3661
+ for ($ = s[w], n = [], u = 0, E = t.length, m = E - 1; u < E; m = u++)
3664
3662
  x = t[u], S = t[m], x._code & $ ? S._code & $ || (tt = ji(S, x, $, e, i), tt._code = Ee(tt, e), n.push(tt)) : (S._code & $ && (tt = ji(S, x, $, e, i), tt._code = Ee(tt, e), n.push(tt)), n.push(x));
3665
3663
  t = n;
3666
3664
  }
3667
3665
  return t;
3668
3666
  }
3669
3667
  function Lo(t, e) {
3670
- var i, n, s, u, m, k, x, S, E;
3668
+ var i, n, s, u, m, w, x, S, E;
3671
3669
  if (!t || t.length === 0)
3672
3670
  throw new Error("latlngs not passed");
3673
- qt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
3671
+ Wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
3674
3672
  var $ = Q([0, 0]), tt = pt(t), Et = tt.getNorthWest().distanceTo(tt.getSouthWest()) * tt.getNorthEast().distanceTo(tt.getNorthWest());
3675
3673
  Et < 1700 && ($ = Nn(t));
3676
- var At = t.length, jt = [];
3674
+ var At = t.length, qt = [];
3677
3675
  for (i = 0; i < At; i++) {
3678
- var Ht = Q(t[i]);
3679
- jt.push(e.project(Q([Ht.lat - $.lat, Ht.lng - $.lng])));
3676
+ var Vt = Q(t[i]);
3677
+ qt.push(e.project(Q([Vt.lat - $.lat, Vt.lng - $.lng])));
3680
3678
  }
3681
- for (k = x = S = 0, i = 0, n = At - 1; i < At; n = i++)
3682
- s = jt[i], u = jt[n], m = s.y * u.x - u.y * s.x, x += (s.x + u.x) * m, S += (s.y + u.y) * m, k += m * 3;
3683
- k === 0 ? E = jt[0] : E = [x / k, S / k];
3679
+ for (w = x = S = 0, i = 0, n = At - 1; i < At; n = i++)
3680
+ s = qt[i], u = qt[n], m = s.y * u.x - u.y * s.x, x += (s.x + u.x) * m, S += (s.y + u.y) * m, w += m * 3;
3681
+ w === 0 ? E = qt[0] : E = [x / w, S / w];
3684
3682
  var Ye = e.unproject(U(E));
3685
3683
  return Q([Ye.lat + $.lat, Ye.lng + $.lng]);
3686
3684
  }
@@ -3701,15 +3699,15 @@ function nl() {
3701
3699
  if (!e || !t.length)
3702
3700
  return t.slice();
3703
3701
  var i = e * e;
3704
- return t = Fs(t, i), t = Hs(t, i), t;
3702
+ return t = Fs(t, i), t = Vs(t, i), t;
3705
3703
  }
3706
3704
  function wo(t, e, i) {
3707
3705
  return Math.sqrt(gi(t, e, i, !0));
3708
3706
  }
3709
- function Vs(t, e, i) {
3707
+ function Hs(t, e, i) {
3710
3708
  return gi(t, e, i);
3711
3709
  }
3712
- function Hs(t, e) {
3710
+ function Vs(t, e) {
3713
3711
  var i = t.length, n = typeof Uint8Array < "u" ? Uint8Array : Array, s = new n(i);
3714
3712
  s[0] = s[i - 1] = 1, Rn(t, s, e, 0, i - 1);
3715
3713
  var u, m = [];
@@ -3718,9 +3716,9 @@ function nl() {
3718
3716
  return m;
3719
3717
  }
3720
3718
  function Rn(t, e, i, n, s) {
3721
- var u = 0, m, k, x;
3722
- for (k = n + 1; k <= s - 1; k++)
3723
- x = gi(t[k], t[n], t[s], !0), x > u && (m = k, u = x);
3719
+ var u = 0, m, w, x;
3720
+ for (w = n + 1; w <= s - 1; w++)
3721
+ x = gi(t[w], t[n], t[s], !0), x > u && (m = w, u = x);
3724
3722
  u > i && (e[m] = 1, Rn(t, e, i, n, m), Rn(t, e, i, m, s));
3725
3723
  }
3726
3724
  function Fs(t, e) {
@@ -3730,18 +3728,18 @@ function nl() {
3730
3728
  }
3731
3729
  var Po;
3732
3730
  function Co(t, e, i, n, s) {
3733
- var u = n ? Po : Ee(t, i), m = Ee(e, i), k, x, S;
3731
+ var u = n ? Po : Ee(t, i), m = Ee(e, i), w, x, S;
3734
3732
  for (Po = m; ; ) {
3735
3733
  if (!(u | m))
3736
3734
  return [t, e];
3737
3735
  if (u & m)
3738
3736
  return !1;
3739
- k = u || m, x = ji(t, e, k, i, s), S = Ee(x, i), k === u ? (t = x, u = S) : (e = x, m = S);
3737
+ w = u || m, x = ji(t, e, w, i, s), S = Ee(x, i), w === u ? (t = x, u = S) : (e = x, m = S);
3740
3738
  }
3741
3739
  }
3742
3740
  function ji(t, e, i, n, s) {
3743
- var u = e.x - t.x, m = e.y - t.y, k = n.min, x = n.max, S, E;
3744
- return i & 8 ? (S = t.x + u * (x.y - t.y) / m, E = x.y) : i & 4 ? (S = t.x + u * (k.y - t.y) / m, E = k.y) : i & 2 ? (S = x.x, E = t.y + m * (x.x - t.x) / u) : i & 1 && (S = k.x, E = t.y + m * (k.x - t.x) / u), new F(S, E, s);
3741
+ var u = e.x - t.x, m = e.y - t.y, w = n.min, x = n.max, S, E;
3742
+ return i & 8 ? (S = t.x + u * (x.y - t.y) / m, E = x.y) : i & 4 ? (S = t.x + u * (w.y - t.y) / m, E = w.y) : i & 2 ? (S = x.x, E = t.y + m * (x.x - t.x) / u) : i & 1 && (S = w.x, E = t.y + m * (w.x - t.x) / u), new F(S, E, s);
3745
3743
  }
3746
3744
  function Ee(t, e) {
3747
3745
  var i = 0;
@@ -3752,26 +3750,26 @@ function nl() {
3752
3750
  return i * i + n * n;
3753
3751
  }
3754
3752
  function gi(t, e, i, n) {
3755
- var s = e.x, u = e.y, m = i.x - s, k = i.y - u, x = m * m + k * k, S;
3756
- return x > 0 && (S = ((t.x - s) * m + (t.y - u) * k) / x, S > 1 ? (s = i.x, u = i.y) : S > 0 && (s += m * S, u += k * S)), m = t.x - s, k = t.y - u, n ? m * m + k * k : new F(s, u);
3753
+ var s = e.x, u = e.y, m = i.x - s, w = i.y - u, x = m * m + w * w, S;
3754
+ return x > 0 && (S = ((t.x - s) * m + (t.y - u) * w) / x, S > 1 ? (s = i.x, u = i.y) : S > 0 && (s += m * S, u += w * S)), m = t.x - s, w = t.y - u, n ? m * m + w * w : new F(s, u);
3757
3755
  }
3758
- function qt(t) {
3756
+ function Wt(t) {
3759
3757
  return !N(t[0]) || typeof t[0][0] != "object" && typeof t[0][0] < "u";
3760
3758
  }
3761
3759
  function xo(t) {
3762
- return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), qt(t);
3760
+ return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."), Wt(t);
3763
3761
  }
3764
3762
  function To(t, e) {
3765
- var i, n, s, u, m, k, x, S;
3763
+ var i, n, s, u, m, w, x, S;
3766
3764
  if (!t || t.length === 0)
3767
3765
  throw new Error("latlngs not passed");
3768
- qt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
3766
+ Wt(t) || (console.warn("latlngs are not flat! Only the first ring will be used"), t = t[0]);
3769
3767
  var E = Q([0, 0]), $ = pt(t), tt = $.getNorthWest().distanceTo($.getSouthWest()) * $.getNorthEast().distanceTo($.getNorthWest());
3770
3768
  tt < 1700 && (E = Nn(t));
3771
3769
  var Et = t.length, At = [];
3772
3770
  for (i = 0; i < Et; i++) {
3773
- var jt = Q(t[i]);
3774
- At.push(e.project(Q([jt.lat - E.lat, jt.lng - E.lng])));
3771
+ var qt = Q(t[i]);
3772
+ At.push(e.project(Q([qt.lat - E.lat, qt.lng - E.lng])));
3775
3773
  }
3776
3774
  for (i = 0, n = 0; i < Et - 1; i++)
3777
3775
  n += At[i].distanceTo(At[i + 1]) / 2;
@@ -3779,29 +3777,29 @@ function nl() {
3779
3777
  S = At[0];
3780
3778
  else
3781
3779
  for (i = 0, u = 0; i < Et - 1; i++)
3782
- if (m = At[i], k = At[i + 1], s = m.distanceTo(k), u += s, u > n) {
3780
+ if (m = At[i], w = At[i + 1], s = m.distanceTo(w), u += s, u > n) {
3783
3781
  x = (u - n) / s, S = [
3784
- k.x - x * (k.x - m.x),
3785
- k.y - x * (k.y - m.y)
3782
+ w.x - x * (w.x - m.x),
3783
+ w.y - x * (w.y - m.y)
3786
3784
  ];
3787
3785
  break;
3788
3786
  }
3789
- var Ht = e.unproject(U(S));
3790
- return Q([Ht.lat + E.lat, Ht.lng + E.lng]);
3787
+ var Vt = e.unproject(U(S));
3788
+ return Q([Vt.lat + E.lat, Vt.lng + E.lng]);
3791
3789
  }
3792
3790
  var Us = {
3793
3791
  __proto__: null,
3794
3792
  simplify: ko,
3795
3793
  pointToSegmentDistance: wo,
3796
- closestPointOnSegment: Vs,
3794
+ closestPointOnSegment: Hs,
3797
3795
  clipSegment: Co,
3798
3796
  _getEdgeIntersection: ji,
3799
3797
  _getBitCode: Ee,
3800
3798
  _sqClosestPointOnSegment: gi,
3801
- isFlat: qt,
3799
+ isFlat: Wt,
3802
3800
  _flat: xo,
3803
3801
  polylineCenter: To
3804
- }, Vn = {
3802
+ }, Hn = {
3805
3803
  project: function(t) {
3806
3804
  return new F(t.lng, t.lat);
3807
3805
  },
@@ -3809,37 +3807,37 @@ function nl() {
3809
3807
  return new G(t.y, t.x);
3810
3808
  },
3811
3809
  bounds: new dt([-180, -90], [180, 90])
3812
- }, Hn = {
3810
+ }, Vn = {
3813
3811
  R: 6378137,
3814
3812
  R_MINOR: 6356752314245179e-9,
3815
3813
  bounds: new dt([-2003750834279e-5, -1549657073972e-5], [2003750834279e-5, 1876465623138e-5]),
3816
3814
  project: function(t) {
3817
- var e = Math.PI / 180, i = this.R, n = t.lat * e, s = this.R_MINOR / i, u = Math.sqrt(1 - s * s), m = u * Math.sin(n), k = Math.tan(Math.PI / 4 - n / 2) / Math.pow((1 - m) / (1 + m), u / 2);
3818
- return n = -i * Math.log(Math.max(k, 1e-10)), new F(t.lng * e * i, n);
3815
+ var e = Math.PI / 180, i = this.R, n = t.lat * e, s = this.R_MINOR / i, u = Math.sqrt(1 - s * s), m = u * Math.sin(n), w = Math.tan(Math.PI / 4 - n / 2) / Math.pow((1 - m) / (1 + m), u / 2);
3816
+ return n = -i * Math.log(Math.max(w, 1e-10)), new F(t.lng * e * i, n);
3819
3817
  },
3820
3818
  unproject: function(t) {
3821
- for (var e = 180 / Math.PI, i = this.R, n = this.R_MINOR / i, s = Math.sqrt(1 - n * n), u = Math.exp(-t.y / i), m = Math.PI / 2 - 2 * Math.atan(u), k = 0, x = 0.1, S; k < 15 && Math.abs(x) > 1e-7; k++)
3819
+ for (var e = 180 / Math.PI, i = this.R, n = this.R_MINOR / i, s = Math.sqrt(1 - n * n), u = Math.exp(-t.y / i), m = Math.PI / 2 - 2 * Math.atan(u), w = 0, x = 0.1, S; w < 15 && Math.abs(x) > 1e-7; w++)
3822
3820
  S = s * Math.sin(m), S = Math.pow((1 - S) / (1 + S), s / 2), x = Math.PI / 2 - 2 * Math.atan(u * S) - m, m += x;
3823
3821
  return new G(m * e, t.x * e / i);
3824
3822
  }
3825
3823
  }, $s = {
3826
3824
  __proto__: null,
3827
- LonLat: Vn,
3828
- Mercator: Hn,
3825
+ LonLat: Hn,
3826
+ Mercator: Vn,
3829
3827
  SphericalMercator: wt
3830
- }, Ws = w({}, Ft, {
3828
+ }, Ws = k({}, Ft, {
3831
3829
  code: "EPSG:3395",
3832
- projection: Hn,
3830
+ projection: Vn,
3833
3831
  transformation: (function() {
3834
- var t = 0.5 / (Math.PI * Hn.R);
3832
+ var t = 0.5 / (Math.PI * Vn.R);
3835
3833
  return se(t, 0.5, -t, 0.5);
3836
3834
  })()
3837
- }), Mo = w({}, Ft, {
3835
+ }), Mo = k({}, Ft, {
3838
3836
  code: "EPSG:4326",
3839
- projection: Vn,
3837
+ projection: Hn,
3840
3838
  transformation: se(1 / 180, 1, -1 / 180, 0.5)
3841
- }), qs = w({}, Rt, {
3842
- projection: Vn,
3839
+ }), qs = k({}, Rt, {
3840
+ projection: Hn,
3843
3841
  transformation: se(1, 0, -1, 0),
3844
3842
  scale: function(t) {
3845
3843
  return Math.pow(2, t);
@@ -4176,7 +4174,7 @@ function nl() {
4176
4174
  return e = e || document.createElement("img"), e.src = t, e;
4177
4175
  },
4178
4176
  _getIconUrl: function(t) {
4179
- return V.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];
4177
+ return H.retina && this.options[t + "RetinaUrl"] || this.options[t + "Url"];
4180
4178
  }
4181
4179
  });
4182
4180
  function Xs(t) {
@@ -4235,9 +4233,9 @@ function nl() {
4235
4233
  return this._draggable && this._draggable._moved;
4236
4234
  },
4237
4235
  _adjustPan: function(t) {
4238
- var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, s = this._marker.options.autoPanPadding, u = Ie(e._icon), m = i.getPixelBounds(), k = i.getPixelOrigin(), x = yt(
4239
- m.min._subtract(k).add(s),
4240
- m.max._subtract(k).subtract(s)
4236
+ var e = this._marker, i = e._map, n = this._marker.options.autoPanSpeed, s = this._marker.options.autoPanPadding, u = Ie(e._icon), m = i.getPixelBounds(), w = i.getPixelOrigin(), x = bt(
4237
+ m.min._subtract(w).add(s),
4238
+ m.max._subtract(w).subtract(s)
4241
4239
  );
4242
4240
  if (!x.contains(u)) {
4243
4241
  var S = U(
@@ -4420,7 +4418,7 @@ function nl() {
4420
4418
  },
4421
4419
  _updateOpacity: function() {
4422
4420
  var t = this.options.opacity;
4423
- this._icon && Wt(this._icon, t), this._shadow && Wt(this._shadow, t);
4421
+ this._icon && $t(this._icon, t), this._shadow && $t(this._shadow, t);
4424
4422
  },
4425
4423
  _bringToFront: function() {
4426
4424
  this._updateZIndex(this.options.riseOffset);
@@ -4597,7 +4595,7 @@ function nl() {
4597
4595
  }
4598
4596
  var Fn = Xi.extend({
4599
4597
  initialize: function(t, e, i) {
4600
- if (typeof e == "number" && (e = w({}, i, { radius: e })), C(this, e), this._latlng = Q(t), isNaN(this.options.radius))
4598
+ if (typeof e == "number" && (e = k({}, i, { radius: e })), C(this, e), this._latlng = Q(t), isNaN(this.options.radius))
4601
4599
  throw new Error("Circle radius cannot be NaN");
4602
4600
  this._mRadius = this.options.radius;
4603
4601
  },
@@ -4624,7 +4622,7 @@ function nl() {
4624
4622
  _project: function() {
4625
4623
  var t = this._latlng.lng, e = this._latlng.lat, i = this._map, n = i.options.crs;
4626
4624
  if (n.distance === Ft.distance) {
4627
- var s = Math.PI / 180, u = this._mRadius / Ft.R / s, m = i.project([e + u, t]), k = i.project([e - u, t]), x = m.add(k).divideBy(2), S = i.unproject(x).lat, E = Math.acos((Math.cos(u * s) - Math.sin(e * s) * Math.sin(S * s)) / (Math.cos(e * s) * Math.cos(S * s))) / s;
4625
+ var s = Math.PI / 180, u = this._mRadius / Ft.R / s, m = i.project([e + u, t]), w = i.project([e - u, t]), x = m.add(w).divideBy(2), S = i.unproject(x).lat, E = Math.acos((Math.cos(u * s) - Math.sin(e * s) * Math.sin(S * s)) / (Math.cos(e * s) * Math.cos(S * s))) / s;
4628
4626
  (isNaN(E) || E === 0) && (E = u / Math.cos(Math.PI / 180 * e)), this._point = x.subtract(i.getPixelOrigin()), this._radius = isNaN(E) ? 0 : x.x - i.project([S, t - E]).x, this._radiusY = x.y - m.y;
4629
4627
  } else {
4630
4628
  var $ = n.unproject(n.project(this._latlng).subtract([this._mRadius, 0]));
@@ -4669,7 +4667,7 @@ function nl() {
4669
4667
  // @method closestLayerPoint(p: Point): Point
4670
4668
  // Returns the point closest to `p` on the Polyline.
4671
4669
  closestLayerPoint: function(t) {
4672
- for (var e = 1 / 0, i = null, n = gi, s, u, m = 0, k = this._parts.length; m < k; m++)
4670
+ for (var e = 1 / 0, i = null, n = gi, s, u, m = 0, w = this._parts.length; m < w; m++)
4673
4671
  for (var x = this._parts[m], S = 1, E = x.length; S < E; S++) {
4674
4672
  s = x[S - 1], u = x[S];
4675
4673
  var $ = n(t, s, u, !0);
@@ -4700,11 +4698,11 @@ function nl() {
4700
4698
  this._bounds = new ft(), this._latlngs = this._convertLatLngs(t);
4701
4699
  },
4702
4700
  _defaultShape: function() {
4703
- return qt(this._latlngs) ? this._latlngs : this._latlngs[0];
4701
+ return Wt(this._latlngs) ? this._latlngs : this._latlngs[0];
4704
4702
  },
4705
4703
  // recursively convert latlngs input into actual LatLng instances; calculate bounds along the way
4706
4704
  _convertLatLngs: function(t) {
4707
- for (var e = [], i = qt(t), n = 0, s = t.length; n < s; n++)
4705
+ for (var e = [], i = Wt(t), n = 0, s = t.length; n < s; n++)
4708
4706
  i ? (e[n] = Q(t[n]), this._bounds.extend(e[n])) : e[n] = this._convertLatLngs(t[n]);
4709
4707
  return e;
4710
4708
  },
@@ -4738,10 +4736,10 @@ function nl() {
4738
4736
  this._parts = this._rings;
4739
4737
  return;
4740
4738
  }
4741
- var e = this._parts, i, n, s, u, m, k, x;
4739
+ var e = this._parts, i, n, s, u, m, w, x;
4742
4740
  for (i = 0, s = 0, u = this._rings.length; i < u; i++)
4743
4741
  for (x = this._rings[i], n = 0, m = x.length; n < m - 1; n++)
4744
- k = Co(x[n], x[n + 1], t, n, !0), k && (e[s] = e[s] || [], e[s].push(k[0]), (k[1] !== x[n + 1] || n === m - 2) && (e[s].push(k[1]), s++));
4742
+ w = Co(x[n], x[n + 1], t, n, !0), w && (e[s] = e[s] || [], e[s].push(w[0]), (w[1] !== x[n + 1] || n === m - 2) && (e[s].push(w[1]), s++));
4745
4743
  }
4746
4744
  },
4747
4745
  // simplify each clipped part of the polyline for performance
@@ -4757,12 +4755,12 @@ function nl() {
4757
4755
  },
4758
4756
  // Needed by the `Canvas` renderer for interactivity
4759
4757
  _containsPoint: function(t, e) {
4760
- var i, n, s, u, m, k, x = this._clickTolerance();
4758
+ var i, n, s, u, m, w, x = this._clickTolerance();
4761
4759
  if (!this._pxBounds || !this._pxBounds.contains(t))
4762
4760
  return !1;
4763
4761
  for (i = 0, u = this._parts.length; i < u; i++)
4764
- for (k = this._parts[i], n = 0, m = k.length, s = m - 1; n < m; s = n++)
4765
- if (!(!e && n === 0) && wo(t, k[s], k[n]) <= x)
4762
+ for (w = this._parts[i], n = 0, m = w.length, s = m - 1; n < m; s = n++)
4763
+ if (!(!e && n === 0) && wo(t, w[s], w[n]) <= x)
4766
4764
  return !0;
4767
4765
  return !1;
4768
4766
  }
@@ -4790,10 +4788,10 @@ function nl() {
4790
4788
  return i >= 2 && e[0] instanceof G && e[0].equals(e[i - 1]) && e.pop(), e;
4791
4789
  },
4792
4790
  _setLatLngs: function(t) {
4793
- pe.prototype._setLatLngs.call(this, t), qt(this._latlngs) && (this._latlngs = [this._latlngs]);
4791
+ pe.prototype._setLatLngs.call(this, t), Wt(this._latlngs) && (this._latlngs = [this._latlngs]);
4794
4792
  },
4795
4793
  _defaultShape: function() {
4796
- return qt(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
4794
+ return Wt(this._latlngs[0]) ? this._latlngs[0] : this._latlngs[0][0];
4797
4795
  },
4798
4796
  _clipPoints: function() {
4799
4797
  var t = this._renderer._bounds, e = this.options.weight, i = new F(e, e);
@@ -4811,12 +4809,12 @@ function nl() {
4811
4809
  },
4812
4810
  // Needed by the `Canvas` renderer for interactivity
4813
4811
  _containsPoint: function(t) {
4814
- var e = !1, i, n, s, u, m, k, x, S;
4812
+ var e = !1, i, n, s, u, m, w, x, S;
4815
4813
  if (!this._pxBounds || !this._pxBounds.contains(t))
4816
4814
  return !1;
4817
4815
  for (u = 0, x = this._parts.length; u < x; u++)
4818
- for (i = this._parts[u], m = 0, S = i.length, k = S - 1; m < S; k = m++)
4819
- n = i[m], s = i[k], n.y > t.y != s.y > t.y && t.x < (s.x - n.x) * (t.y - n.y) / (s.y - n.y) + n.x && (e = !e);
4816
+ for (i = this._parts[u], m = 0, S = i.length, w = S - 1; m < S; w = m++)
4817
+ n = i[m], s = i[w], n.y > t.y != s.y > t.y && t.x < (s.x - n.x) * (t.y - n.y) / (s.y - n.y) + n.x && (e = !e);
4820
4818
  return e || pe.prototype._containsPoint.call(this, t, !0);
4821
4819
  }
4822
4820
  });
@@ -4895,7 +4893,7 @@ function nl() {
4895
4893
  // Resets the given vector layer's style to the original GeoJSON style, useful for resetting style after hover events.
4896
4894
  // If `layer` is omitted, the style of all features in the current layer is reset.
4897
4895
  resetStyle: function(t) {
4898
- return t === void 0 ? this.eachLayer(this.resetStyle, this) : (t.options = w({}, t.defaultOptions), this._setLayerStyle(t, this.options.style), this);
4896
+ return t === void 0 ? this.eachLayer(this.resetStyle, this) : (t.options = k({}, t.defaultOptions), this._setLayerStyle(t, this.options.style), this);
4899
4897
  },
4900
4898
  // @method setStyle( <Function> style ): this
4901
4899
  // Changes styles of GeoJSON vector layers with the given style function.
@@ -4909,15 +4907,15 @@ function nl() {
4909
4907
  }
4910
4908
  });
4911
4909
  function Ki(t, e) {
4912
- var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, s = [], u = e && e.pointToLayer, m = e && e.coordsToLatLng || Gn, k, x, S, E;
4910
+ var i = t.type === "Feature" ? t.geometry : t, n = i ? i.coordinates : null, s = [], u = e && e.pointToLayer, m = e && e.coordsToLatLng || Gn, w, x, S, E;
4913
4911
  if (!n && !i)
4914
4912
  return null;
4915
4913
  switch (i.type) {
4916
4914
  case "Point":
4917
- return k = m(n), Ao(u, t, k, e);
4915
+ return w = m(n), Ao(u, t, w, e);
4918
4916
  case "MultiPoint":
4919
4917
  for (S = 0, E = n.length; S < E; S++)
4920
- k = m(n[S]), s.push(Ao(u, t, k, e));
4918
+ w = m(n[S]), s.push(Ao(u, t, w, e));
4921
4919
  return new me(s);
4922
4920
  case "LineString":
4923
4921
  case "MultiLineString":
@@ -4961,11 +4959,11 @@ function nl() {
4961
4959
  }
4962
4960
  function Qi(t, e, i, n) {
4963
4961
  for (var s = [], u = 0, m = t.length; u < m; u++)
4964
- s.push(e ? Qi(t[u], qt(t[u]) ? 0 : e - 1, i, n) : Un(t[u], n));
4962
+ s.push(e ? Qi(t[u], Wt(t[u]) ? 0 : e - 1, i, n) : Un(t[u], n));
4965
4963
  return !e && i && s.length > 0 && s.push(s[0].slice()), s;
4966
4964
  }
4967
4965
  function qe(t, e) {
4968
- return t.feature ? w({}, t.feature, { geometry: e }) : tn(e);
4966
+ return t.feature ? k({}, t.feature, { geometry: e }) : tn(e);
4969
4967
  }
4970
4968
  function tn(t) {
4971
4969
  return t.type === "Feature" || t.type === "FeatureCollection" ? t : {
@@ -4984,7 +4982,7 @@ function nl() {
4984
4982
  };
4985
4983
  Yi.include($n), Fn.include($n), Xi.include($n), pe.include({
4986
4984
  toGeoJSON: function(t) {
4987
- var e = !qt(this._latlngs), i = Qi(this._latlngs, e ? 1 : 0, !1, t);
4985
+ var e = !Wt(this._latlngs), i = Qi(this._latlngs, e ? 1 : 0, !1, t);
4988
4986
  return qe(this, {
4989
4987
  type: (e ? "Multi" : "") + "LineString",
4990
4988
  coordinates: i
@@ -4992,7 +4990,7 @@ function nl() {
4992
4990
  }
4993
4991
  }), We.include({
4994
4992
  toGeoJSON: function(t) {
4995
- var e = !qt(this._latlngs), i = e && !qt(this._latlngs[0]), n = Qi(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
4993
+ var e = !Wt(this._latlngs), i = e && !Wt(this._latlngs[0]), n = Qi(this._latlngs, i ? 2 : e ? 1 : 0, !0, t);
4996
4994
  return e || (n = [n]), qe(this, {
4997
4995
  type: (i ? "Multi" : "") + "Polygon",
4998
4996
  coordinates: n
@@ -5146,7 +5144,7 @@ function nl() {
5146
5144
  Pt(t, e.min), t.style.width = i.x + "px", t.style.height = i.y + "px";
5147
5145
  },
5148
5146
  _updateOpacity: function() {
5149
- Wt(this._image, this.options.opacity);
5147
+ $t(this._image, this.options.opacity);
5150
5148
  },
5151
5149
  _updateZIndex: function() {
5152
5150
  this._image && this.options.zIndex !== void 0 && this.options.zIndex !== null && (this._image.style.zIndex = this.options.zIndex);
@@ -5263,10 +5261,10 @@ function nl() {
5263
5261
  return this._map ? this.close() : (arguments.length ? this._source = t : t = this._source, this._prepareOpen(), this.openOn(t._map)), this;
5264
5262
  },
5265
5263
  onAdd: function(t) {
5266
- this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && Wt(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && Wt(this._container, 1), this.bringToFront(), this.options.interactive && (K(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
5264
+ this._zoomAnimated = t._zoomAnimated, this._container || this._initLayout(), t._fadeAnimated && $t(this._container, 0), clearTimeout(this._removeTimeout), this.getPane().appendChild(this._container), this.update(), t._fadeAnimated && $t(this._container, 1), this.bringToFront(), this.options.interactive && (K(this._container, "leaflet-interactive"), this.addInteractiveTarget(this._container));
5267
5265
  },
5268
5266
  onRemove: function(t) {
5269
- t._fadeAnimated ? (Wt(this._container, 0), this._removeTimeout = setTimeout(a(at, void 0, this._container), 200)) : at(this._container), this.options.interactive && (vt(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
5267
+ t._fadeAnimated ? ($t(this._container, 0), this._removeTimeout = setTimeout(a(at, void 0, this._container), 200)) : at(this._container), this.options.interactive && (vt(this._container, "leaflet-interactive"), this.removeInteractiveTarget(this._container));
5270
5268
  },
5271
5269
  // @namespace DivOverlay
5272
5270
  // @method getLatLng: LatLng
@@ -5494,8 +5492,8 @@ function nl() {
5494
5492
  }
5495
5493
  var t = this._map, e = parseInt(mt(this._container, "marginBottom"), 10) || 0, i = this._container.offsetHeight + e, n = this._containerWidth, s = new F(this._containerLeft, -i - this._containerBottom);
5496
5494
  s._add(Ie(this._container));
5497
- var u = t.layerPointToContainerPoint(s), m = U(this.options.autoPanPadding), k = U(this.options.autoPanPaddingTopLeft || m), x = U(this.options.autoPanPaddingBottomRight || m), S = t.getSize(), E = 0, $ = 0;
5498
- u.x + n + x.x > S.x && (E = u.x + n - S.x + x.x), u.x - E - k.x < 0 && (E = u.x - k.x), u.y + i + x.y > S.y && ($ = u.y + i - S.y + x.y), u.y - $ - k.y < 0 && ($ = u.y - k.y), (E || $) && (this.options.keepInView && (this._autopanning = !0), t.fire("autopanstart").panBy([E, $]));
5495
+ var u = t.layerPointToContainerPoint(s), m = U(this.options.autoPanPadding), w = U(this.options.autoPanPaddingTopLeft || m), x = U(this.options.autoPanPaddingBottomRight || m), S = t.getSize(), E = 0, $ = 0;
5496
+ u.x + n + x.x > S.x && (E = u.x + n - S.x + x.x), u.x - E - w.x < 0 && (E = u.x - w.x), u.y + i + x.y > S.y && ($ = u.y + i - S.y + x.y), u.y - $ - w.y < 0 && ($ = u.y - w.y), (E || $) && (this.options.keepInView && (this._autopanning = !0), t.fire("autopanstart").panBy([E, $]));
5499
5497
  }
5500
5498
  },
5501
5499
  _getAnchor: function() {
@@ -5636,15 +5634,15 @@ function nl() {
5636
5634
  _adjustPan: function() {
5637
5635
  },
5638
5636
  _setPosition: function(t) {
5639
- var e, i, n = this._map, s = this._container, u = n.latLngToContainerPoint(n.getCenter()), m = n.layerPointToContainerPoint(t), k = this.options.direction, x = s.offsetWidth, S = s.offsetHeight, E = U(this.options.offset), $ = this._getAnchor();
5640
- k === "top" ? (e = x / 2, i = S) : k === "bottom" ? (e = x / 2, i = 0) : k === "center" ? (e = x / 2, i = S / 2) : k === "right" ? (e = 0, i = S / 2) : k === "left" ? (e = x, i = S / 2) : m.x < u.x ? (k = "right", e = 0, i = S / 2) : (k = "left", e = x + (E.x + $.x) * 2, i = S / 2), t = t.subtract(U(e, i, !0)).add(E).add($), vt(s, "leaflet-tooltip-right"), vt(s, "leaflet-tooltip-left"), vt(s, "leaflet-tooltip-top"), vt(s, "leaflet-tooltip-bottom"), K(s, "leaflet-tooltip-" + k), Pt(s, t);
5637
+ var e, i, n = this._map, s = this._container, u = n.latLngToContainerPoint(n.getCenter()), m = n.layerPointToContainerPoint(t), w = this.options.direction, x = s.offsetWidth, S = s.offsetHeight, E = U(this.options.offset), $ = this._getAnchor();
5638
+ w === "top" ? (e = x / 2, i = S) : w === "bottom" ? (e = x / 2, i = 0) : w === "center" ? (e = x / 2, i = S / 2) : w === "right" ? (e = 0, i = S / 2) : w === "left" ? (e = x, i = S / 2) : m.x < u.x ? (w = "right", e = 0, i = S / 2) : (w = "left", e = x + (E.x + $.x) * 2, i = S / 2), t = t.subtract(U(e, i, !0)).add(E).add($), vt(s, "leaflet-tooltip-right"), vt(s, "leaflet-tooltip-left"), vt(s, "leaflet-tooltip-top"), vt(s, "leaflet-tooltip-bottom"), K(s, "leaflet-tooltip-" + w), Pt(s, t);
5641
5639
  },
5642
5640
  _updatePosition: function() {
5643
5641
  var t = this._map.latLngToLayerPoint(this._latlng);
5644
5642
  this._setPosition(t);
5645
5643
  },
5646
5644
  setOpacity: function(t) {
5647
- this.options.opacity = t, this._container && Wt(this._container, t);
5645
+ this.options.opacity = t, this._container && $t(this._container, t);
5648
5646
  },
5649
5647
  _animateZoom: function(t) {
5650
5648
  var e = this._map._latLngToNewLayerPoint(this._latlng, t.zoom, t.center);
@@ -5773,7 +5771,7 @@ function nl() {
5773
5771
  },
5774
5772
  createIcon: function(t) {
5775
5773
  var e = t && t.tagName === "DIV" ? t : document.createElement("div"), i = this.options;
5776
- if (i.html instanceof Element ? (Vt(e), e.appendChild(i.html)) : e.innerHTML = i.html !== !1 ? i.html : "", i.bgPos) {
5774
+ if (i.html instanceof Element ? (Ht(e), e.appendChild(i.html)) : e.innerHTML = i.html !== !1 ? i.html : "", i.bgPos) {
5777
5775
  var n = U(i.bgPos);
5778
5776
  e.style.backgroundPosition = -n.x + "px " + -n.y + "px";
5779
5777
  }
@@ -5802,7 +5800,7 @@ function nl() {
5802
5800
  // `true` by default on mobile browsers, in order to avoid too many requests and keep smooth navigation.
5803
5801
  // `false` otherwise in order to display new tiles _during_ panning, since it is easy to pan outside the
5804
5802
  // [`keepBuffer`](#gridlayer-keepbuffer) option in desktop browsers.
5805
- updateWhenIdle: V.mobile,
5803
+ updateWhenIdle: H.mobile,
5806
5804
  // @option updateWhenZooming: Boolean = true
5807
5805
  // By default, a smooth zoom animation (during a [touch zoom](#map-touchzoom) or a [`flyTo()`](#map-flyto)) will update grid layers every integer zoom level. Setting this option to `false` will update the grid layer only when the smooth animation ends.
5808
5806
  updateWhenZooming: !0,
@@ -5934,14 +5932,14 @@ function nl() {
5934
5932
  isFinite(i) && (this.options.zIndex = i + t(-1, 1), this._updateZIndex());
5935
5933
  },
5936
5934
  _updateOpacity: function() {
5937
- if (this._map && !V.ielt9) {
5938
- Wt(this._container, this.options.opacity);
5935
+ if (this._map && !H.ielt9) {
5936
+ $t(this._container, this.options.opacity);
5939
5937
  var t = +/* @__PURE__ */ new Date(), e = !1, i = !1;
5940
5938
  for (var n in this._tiles) {
5941
5939
  var s = this._tiles[n];
5942
5940
  if (!(!s.current || !s.loaded)) {
5943
5941
  var u = Math.min(1, (t - s.loaded) / 200);
5944
- Wt(s.el, u), u < 1 ? e = !0 : (s.active ? i = !0 : this._onOpaqueTile(s), s.active = !0);
5942
+ $t(s.el, u), u < 1 ? e = !0 : (s.active ? i = !0 : this._onOpaqueTile(s), s.active = !0);
5945
5943
  }
5946
5944
  }
5947
5945
  i && !this._noPrune && this._pruneTiles(), e && (j(this._fadeFrame), this._fadeFrame = Y(this._updateOpacity, this));
@@ -5995,9 +5993,9 @@ function nl() {
5995
5993
  this._removeAllTiles(), this._tileZoom = void 0;
5996
5994
  },
5997
5995
  _retainParent: function(t, e, i, n) {
5998
- var s = Math.floor(t / 2), u = Math.floor(e / 2), m = i - 1, k = new F(+s, +u);
5999
- k.z = +m;
6000
- var x = this._tileCoordsToKey(k), S = this._tiles[x];
5996
+ var s = Math.floor(t / 2), u = Math.floor(e / 2), m = i - 1, w = new F(+s, +u);
5997
+ w.z = +m;
5998
+ var x = this._tileCoordsToKey(w), S = this._tiles[x];
6001
5999
  return S && S.active ? (S.retain = !0, !0) : (S && S.loaded && (S.retain = !0), m > n ? this._retainParent(s, u, m, n) : !1);
6002
6000
  },
6003
6001
  _retainChildren: function(t, e, i, n) {
@@ -6005,7 +6003,7 @@ function nl() {
6005
6003
  for (var u = 2 * e; u < 2 * e + 2; u++) {
6006
6004
  var m = new F(s, u);
6007
6005
  m.z = i + 1;
6008
- var k = this._tileCoordsToKey(m), x = this._tiles[k];
6006
+ var w = this._tileCoordsToKey(m), x = this._tiles[w];
6009
6007
  if (x && x.active) {
6010
6008
  x.retain = !0;
6011
6009
  continue;
@@ -6036,7 +6034,7 @@ function nl() {
6036
6034
  },
6037
6035
  _setZoomTransform: function(t, e, i) {
6038
6036
  var n = this._map.getZoomScale(i, t.zoom), s = t.origin.multiplyBy(n).subtract(this._map._getNewPixelOrigin(e, i)).round();
6039
- V.any3d ? Ae(t.el, s, n) : Pt(t.el, s);
6037
+ H.any3d ? Ae(t.el, s, n) : Pt(t.el, s);
6040
6038
  },
6041
6039
  _resetGrid: function() {
6042
6040
  var t = this._map, e = t.options.crs, i = this._tileSize = this.getTileSize(), n = this._tileZoom, s = this._map.getPixelWorldBounds(this._tileZoom);
@@ -6061,9 +6059,9 @@ function nl() {
6061
6059
  if (e) {
6062
6060
  var i = this._clampZoom(e.getZoom());
6063
6061
  if (t === void 0 && (t = e.getCenter()), this._tileZoom !== void 0) {
6064
- var n = this._getTiledPixelBounds(t), s = this._pxBoundsToTileRange(n), u = s.getCenter(), m = [], k = this.options.keepBuffer, x = new dt(
6065
- s.getBottomLeft().subtract([k, -k]),
6066
- s.getTopRight().add([k, -k])
6062
+ var n = this._getTiledPixelBounds(t), s = this._pxBoundsToTileRange(n), u = s.getCenter(), m = [], w = this.options.keepBuffer, x = new dt(
6063
+ s.getBottomLeft().subtract([w, -w]),
6064
+ s.getTopRight().add([w, -w])
6067
6065
  );
6068
6066
  if (!(isFinite(s.min.x) && isFinite(s.min.y) && isFinite(s.max.x) && isFinite(s.max.y)))
6069
6067
  throw new Error("Attempted to load an infinite number of tiles");
@@ -6083,14 +6081,14 @@ function nl() {
6083
6081
  At ? At.current = !0 : m.push(Et);
6084
6082
  }
6085
6083
  }
6086
- if (m.sort(function(Ht, Ye) {
6087
- return Ht.distanceTo(u) - Ye.distanceTo(u);
6084
+ if (m.sort(function(Vt, Ye) {
6085
+ return Vt.distanceTo(u) - Ye.distanceTo(u);
6088
6086
  }), m.length !== 0) {
6089
6087
  this._loading || (this._loading = !0, this.fire("loading"));
6090
- var jt = document.createDocumentFragment();
6088
+ var qt = document.createDocumentFragment();
6091
6089
  for (tt = 0; tt < m.length; tt++)
6092
- this._addTile(m[tt], jt);
6093
- this._level.el.appendChild(jt);
6090
+ this._addTile(m[tt], qt);
6091
+ this._level.el.appendChild(qt);
6094
6092
  }
6095
6093
  }
6096
6094
  }
@@ -6138,7 +6136,7 @@ function nl() {
6138
6136
  _initTile: function(t) {
6139
6137
  K(t, "leaflet-tile");
6140
6138
  var e = this.getTileSize();
6141
- t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = v, t.onmousemove = v, V.ielt9 && this.options.opacity < 1 && Wt(t, this.options.opacity);
6139
+ t.style.width = e.x + "px", t.style.height = e.y + "px", t.onselectstart = v, t.onmousemove = v, H.ielt9 && this.options.opacity < 1 && $t(t, this.options.opacity);
6142
6140
  },
6143
6141
  _addTile: function(t, e) {
6144
6142
  var i = this._getTilePos(t), n = this._tileCoordsToKey(t), s = this.createTile(this._wrapCoords(t), a(this._tileReady, this, t));
@@ -6158,10 +6156,10 @@ function nl() {
6158
6156
  coords: t
6159
6157
  });
6160
6158
  var n = this._tileCoordsToKey(t);
6161
- i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? (Wt(i.el, 0), j(this._fadeFrame), this._fadeFrame = Y(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), e || (K(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
6159
+ i = this._tiles[n], i && (i.loaded = +/* @__PURE__ */ new Date(), this._map._fadeAnimated ? ($t(i.el, 0), j(this._fadeFrame), this._fadeFrame = Y(this._updateOpacity, this)) : (i.active = !0, this._pruneTiles()), e || (K(i.el, "leaflet-tile-loaded"), this.fire("tileload", {
6162
6160
  tile: i.el,
6163
6161
  coords: t
6164
- })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), V.ielt9 || !this._map._fadeAnimated ? Y(this._pruneTiles, this) : setTimeout(a(this._pruneTiles, this), 250)));
6162
+ })), this._noTilesToLoad() && (this._loading = !1, this.fire("load"), H.ielt9 || !this._map._fadeAnimated ? Y(this._pruneTiles, this) : setTimeout(a(this._pruneTiles, this), 250)));
6165
6163
  },
6166
6164
  _getTilePos: function(t) {
6167
6165
  return t.scaleBy(this.getTileSize()).subtract(this._level.origin);
@@ -6232,7 +6230,7 @@ function nl() {
6232
6230
  referrerPolicy: !1
6233
6231
  },
6234
6232
  initialize: function(t, e) {
6235
- this._url = t, e = C(this, e), e.detectRetina && V.retina && e.maxZoom > 0 ? (e.tileSize = Math.floor(e.tileSize / 2), e.zoomReverse ? (e.zoomOffset--, e.minZoom = Math.min(e.maxZoom, e.minZoom + 1)) : (e.zoomOffset++, e.maxZoom = Math.max(e.minZoom, e.maxZoom - 1)), e.minZoom = Math.max(0, e.minZoom)) : e.zoomReverse ? e.minZoom = Math.min(e.maxZoom, e.minZoom) : e.maxZoom = Math.max(e.minZoom, e.maxZoom), typeof e.subdomains == "string" && (e.subdomains = e.subdomains.split("")), this.on("tileunload", this._onTileRemove);
6233
+ this._url = t, e = C(this, e), e.detectRetina && H.retina && e.maxZoom > 0 ? (e.tileSize = Math.floor(e.tileSize / 2), e.zoomReverse ? (e.zoomOffset--, e.minZoom = Math.min(e.maxZoom, e.minZoom + 1)) : (e.zoomOffset++, e.maxZoom = Math.max(e.minZoom, e.maxZoom - 1)), e.minZoom = Math.max(0, e.minZoom)) : e.zoomReverse ? e.minZoom = Math.min(e.maxZoom, e.minZoom) : e.maxZoom = Math.max(e.minZoom, e.maxZoom), typeof e.subdomains == "string" && (e.subdomains = e.subdomains.split("")), this.on("tileunload", this._onTileRemove);
6236
6234
  },
6237
6235
  // @method setUrl(url: String, noRedraw?: Boolean): this
6238
6236
  // Updates the layer's URL template and redraws it (unless `noRedraw` is set to `true`).
@@ -6257,7 +6255,7 @@ function nl() {
6257
6255
  // Classes extending `TileLayer` can override this function to provide custom tile URL naming schemes.
6258
6256
  getTileUrl: function(t) {
6259
6257
  var e = {
6260
- r: V.retina ? "@2x" : "",
6258
+ r: H.retina ? "@2x" : "",
6261
6259
  s: this._getSubdomain(t),
6262
6260
  x: t.x,
6263
6261
  y: t.y,
@@ -6267,10 +6265,10 @@ function nl() {
6267
6265
  var i = this._globalTileRange.max.y - t.y;
6268
6266
  this.options.tms && (e.y = i), e["-y"] = i;
6269
6267
  }
6270
- return z(this._url, w(e, this.options));
6268
+ return z(this._url, k(e, this.options));
6271
6269
  },
6272
6270
  _tileOnLoad: function(t, e) {
6273
- V.ielt9 ? setTimeout(a(t, this, null, e), 0) : t(null, e);
6271
+ H.ielt9 ? setTimeout(a(t, this, null, e), 0) : t(null, e);
6274
6272
  },
6275
6273
  _tileOnError: function(t, e, i) {
6276
6274
  var n = this.options.errorTileUrl;
@@ -6349,11 +6347,11 @@ function nl() {
6349
6347
  },
6350
6348
  initialize: function(t, e) {
6351
6349
  this._url = t;
6352
- var i = w({}, this.defaultWmsParams);
6350
+ var i = k({}, this.defaultWmsParams);
6353
6351
  for (var n in e)
6354
6352
  n in this.options || (i[n] = e[n]);
6355
6353
  e = C(this, e);
6356
- var s = e.detectRetina && V.retina ? 2 : 1, u = this.getTileSize();
6354
+ var s = e.detectRetina && H.retina ? 2 : 1, u = this.getTileSize();
6357
6355
  i.width = u.x * s, i.height = u.y * s, this.wmsParams = i;
6358
6356
  },
6359
6357
  onAdd: function(t) {
@@ -6362,13 +6360,13 @@ function nl() {
6362
6360
  this.wmsParams[e] = this._crs.code, je.prototype.onAdd.call(this, t);
6363
6361
  },
6364
6362
  getTileUrl: function(t) {
6365
- var e = this._tileCoordsToNwSe(t), i = this._crs, n = yt(i.project(e[0]), i.project(e[1])), s = n.min, u = n.max, m = (this._wmsVersion >= 1.3 && this._crs === Mo ? [s.y, s.x, u.y, u.x] : [s.x, s.y, u.x, u.y]).join(","), k = je.prototype.getTileUrl.call(this, t);
6366
- return k + D(this.wmsParams, k, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + m;
6363
+ var e = this._tileCoordsToNwSe(t), i = this._crs, n = bt(i.project(e[0]), i.project(e[1])), s = n.min, u = n.max, m = (this._wmsVersion >= 1.3 && this._crs === Mo ? [s.y, s.x, u.y, u.x] : [s.x, s.y, u.x, u.y]).join(","), w = je.prototype.getTileUrl.call(this, t);
6364
+ return w + D(this.wmsParams, w, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + m;
6367
6365
  },
6368
6366
  // @method setParams(params: Object, noRedraw?: Boolean): this
6369
6367
  // Merges an object with the new parameters and re-requests tiles on the current screen (unless `noRedraw` was set to true).
6370
6368
  setParams: function(t, e) {
6371
- return w(this.wmsParams, t), e || this.redraw(), this;
6369
+ return k(this.wmsParams, t), e || this.redraw(), this;
6372
6370
  }
6373
6371
  });
6374
6372
  function hr(t, e) {
@@ -6410,7 +6408,7 @@ function nl() {
6410
6408
  },
6411
6409
  _updateTransform: function(t, e) {
6412
6410
  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), u = n.multiplyBy(-i).add(s).subtract(this._map._getNewPixelOrigin(t, e));
6413
- V.any3d ? Ae(this._container, u, i) : Pt(this._container, u);
6411
+ H.any3d ? Ae(this._container, u, i) : Pt(this._container, u);
6414
6412
  },
6415
6413
  _reset: function() {
6416
6414
  this._update(), this._updateTransform(this._center, this._zoom);
@@ -6466,8 +6464,8 @@ function nl() {
6466
6464
  _update: function() {
6467
6465
  if (!(this._map._animatingZoom && this._bounds)) {
6468
6466
  ge.prototype._update.call(this);
6469
- var t = this._bounds, e = this._container, i = t.getSize(), n = V.retina ? 2 : 1;
6470
- Pt(e, t.min), e.width = n * i.x, e.height = n * i.y, e.style.width = i.x + "px", e.style.height = i.y + "px", V.retina && this._ctx.scale(2, 2), this._ctx.translate(-t.min.x, -t.min.y), this.fire("update");
6467
+ var t = this._bounds, e = this._container, i = t.getSize(), n = H.retina ? 2 : 1;
6468
+ Pt(e, t.min), e.width = n * i.x, e.height = n * i.y, e.style.width = i.x + "px", e.style.height = i.y + "px", H.retina && this._ctx.scale(2, 2), this._ctx.translate(-t.min.x, -t.min.y), this.fire("update");
6471
6469
  }
6472
6470
  },
6473
6471
  _reset: function() {
@@ -6540,9 +6538,9 @@ function nl() {
6540
6538
  },
6541
6539
  _updatePoly: function(t, e) {
6542
6540
  if (this._drawing) {
6543
- var i, n, s, u, m = t._parts, k = m.length, x = this._ctx;
6544
- if (k) {
6545
- for (x.beginPath(), i = 0; i < k; i++) {
6541
+ var i, n, s, u, m = t._parts, w = m.length, x = this._ctx;
6542
+ if (w) {
6543
+ for (x.beginPath(), i = 0; i < w; i++) {
6546
6544
  for (n = 0, s = m[i].length; n < s; n++)
6547
6545
  u = m[i][n], x[n ? "lineTo" : "moveTo"](u.x, u.y);
6548
6546
  e && x.closePath();
@@ -6614,7 +6612,7 @@ function nl() {
6614
6612
  }
6615
6613
  });
6616
6614
  function No(t) {
6617
- return V.canvas ? new Do(t) : null;
6615
+ return H.canvas ? new Do(t) : null;
6618
6616
  }
6619
6617
  var bi = (function() {
6620
6618
  try {
@@ -6662,7 +6660,7 @@ function nl() {
6662
6660
  _bringToBack: function(t) {
6663
6661
  ae(t._container);
6664
6662
  }
6665
- }, sn = V.vml ? bi : Te, Li = ge.extend({
6663
+ }, sn = H.vml ? bi : Te, Li = ge.extend({
6666
6664
  _initContainer: function() {
6667
6665
  this._container = sn("svg"), this._container.setAttribute("pointer-events", "none"), this._rootGroup = sn("g"), this._container.appendChild(this._rootGroup);
6668
6666
  },
@@ -6712,9 +6710,9 @@ function nl() {
6712
6710
  ae(t._path);
6713
6711
  }
6714
6712
  });
6715
- V.vml && Li.include(cr);
6713
+ H.vml && Li.include(cr);
6716
6714
  function Ro(t) {
6717
- return V.svg || V.vml ? new Li(t) : null;
6715
+ return H.svg || H.vml ? new Li(t) : null;
6718
6716
  }
6719
6717
  st.include({
6720
6718
  // @namespace Map; @method getRenderer(layer: Path): Renderer
@@ -6735,7 +6733,7 @@ function nl() {
6735
6733
  return this.options.preferCanvas && No(t) || Ro(t);
6736
6734
  }
6737
6735
  });
6738
- var Vo = We.extend({
6736
+ var Ho = We.extend({
6739
6737
  initialize: function(t, e) {
6740
6738
  We.prototype.initialize.call(this, this._boundsToLatLngs(t), e);
6741
6739
  },
@@ -6754,7 +6752,7 @@ function nl() {
6754
6752
  }
6755
6753
  });
6756
6754
  function dr(t, e) {
6757
- return new Vo(t, e);
6755
+ return new Ho(t, e);
6758
6756
  }
6759
6757
  Li.create = sn, Li.pointsToPath = Me, _e.geometryToLayer = Ki, _e.coordsToLatLng = Gn, _e.coordsToLatLngs = Ji, _e.latLngToCoords = Un, _e.latLngsToCoords = Qi, _e.getFeature = qe, _e.asFeature = tn, st.mergeOptions({
6760
6758
  // @option boxZoom: Boolean = true
@@ -6762,7 +6760,7 @@ function nl() {
6762
6760
  // dragging the mouse while pressing the shift key.
6763
6761
  boxZoom: !0
6764
6762
  });
6765
- var Ho = ue.extend({
6763
+ var Vo = ue.extend({
6766
6764
  initialize: function(t) {
6767
6765
  this._map = t, this._container = t._container, this._pane = t._panes.overlayPane, this._resetStateTimeout = 0, t.on("unload", this._destroy, this);
6768
6766
  },
@@ -6821,7 +6819,7 @@ function nl() {
6821
6819
  t.keyCode === 27 && (this._finish(), this._clearDeferredResetState(), this._resetState());
6822
6820
  }
6823
6821
  });
6824
- st.addInitHook("addHandler", "boxZoom", Ho), st.mergeOptions({
6822
+ st.addInitHook("addHandler", "boxZoom", Vo), st.mergeOptions({
6825
6823
  // @option doubleClickZoom: Boolean|String = true
6826
6824
  // Whether the map can be zoomed in by double clicking on it and
6827
6825
  // zoomed out by double clicking while holding shift. If passed
@@ -6901,7 +6899,7 @@ function nl() {
6901
6899
  var t = this._map;
6902
6900
  if (t._stop(), this._map.options.maxBounds && this._map.options.maxBoundsViscosity) {
6903
6901
  var e = pt(this._map.options.maxBounds);
6904
- this._offsetLimit = yt(
6902
+ this._offsetLimit = bt(
6905
6903
  this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),
6906
6904
  this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())
6907
6905
  ), this._viscosity = Math.min(1, Math.max(0, this._map.options.maxBoundsViscosity));
@@ -6943,7 +6941,7 @@ function nl() {
6943
6941
  e.fire("moveend");
6944
6942
  else {
6945
6943
  this._prunePositions(+/* @__PURE__ */ new Date());
6946
- var s = this._lastPos.subtract(this._positions[0]), u = (this._lastTime - this._times[0]) / 1e3, m = i.easeLinearity, k = s.multiplyBy(m / u), x = k.distanceTo([0, 0]), S = Math.min(i.inertiaMaxSpeed, x), E = k.multiplyBy(S / x), $ = S / (i.inertiaDeceleration * m), tt = E.multiplyBy(-$ / 2).round();
6944
+ var s = this._lastPos.subtract(this._positions[0]), u = (this._lastTime - this._times[0]) / 1e3, m = i.easeLinearity, w = s.multiplyBy(m / u), x = w.distanceTo([0, 0]), S = Math.min(i.inertiaMaxSpeed, x), E = w.multiplyBy(S / x), $ = S / (i.inertiaDeceleration * m), tt = E.multiplyBy(-$ / 2).round();
6947
6945
  !tt.x && !tt.y ? e.fire("moveend") : (tt = e._limitOffset(tt, e.options.maxBounds), Y(function() {
6948
6946
  e.panBy(tt, {
6949
6947
  duration: $,
@@ -7095,7 +7093,7 @@ function nl() {
7095
7093
  // @section Touch interaction options
7096
7094
  // @option tapHold: Boolean
7097
7095
  // Enables simulation of `contextmenu` event, default is `true` for mobile Safari.
7098
- tapHold: V.touchNative && V.safari && V.mobile,
7096
+ tapHold: H.touchNative && H.safari && H.mobile,
7099
7097
  // @option tapTolerance: Number = 15
7100
7098
  // The max number of pixels a user can shift his finger during touch
7101
7099
  // for it to be considered a valid tap.
@@ -7152,7 +7150,7 @@ function nl() {
7152
7150
  // passed `'center'`, it will zoom to the center of the view regardless of
7153
7151
  // where the touch events (fingers) were. Enabled for touch-capable web
7154
7152
  // browsers.
7155
- touchZoom: V.touch,
7153
+ touchZoom: H.touch,
7156
7154
  // @option bounceAtZoomLimits: Boolean = true
7157
7155
  // Set it to false if you don't want the map to zoom beyond min/max zoom
7158
7156
  // and then bounce back when pinch-zooming.
@@ -7197,7 +7195,7 @@ function nl() {
7197
7195
  this._zooming = !1, j(this._animRequest), gt(document, "touchmove", this._onTouchMove, this), gt(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
7198
7196
  }
7199
7197
  });
7200
- st.addInitHook("addHandler", "touchZoom", qo), st.BoxZoom = Ho, st.DoubleClickZoom = Fo, st.Drag = Go, st.Keyboard = Uo, st.ScrollWheelZoom = $o, st.TapHold = Wo, st.TouchZoom = qo, c.Bounds = dt, c.Browser = V, c.CRS = Rt, c.Canvas = Do, c.Circle = Fn, c.CircleMarker = Xi, c.Class = lt, c.Control = te, c.DivIcon = Eo, c.DivOverlay = he, c.DomEvent = Is, c.DomUtil = Ss, c.Draggable = Le, c.Evented = Nt, c.FeatureGroup = me, c.GeoJSON = _e, c.GridLayer = yi, c.Handler = ue, c.Icon = $e, c.ImageOverlay = en, c.LatLng = G, c.LatLngBounds = ft, c.Layer = ee, c.LayerGroup = Ue, c.LineUtil = Us, c.Map = st, c.Marker = Yi, c.Mixin = Ns, c.Path = ke, c.Point = F, c.PolyUtil = Rs, c.Polygon = We, c.Polyline = pe, c.Popup = nn, c.PosAnimation = _o, c.Projection = $s, c.Rectangle = Vo, c.Renderer = ge, c.SVG = Li, c.SVGOverlay = zo, c.TileLayer = je, c.Tooltip = on, c.Transformation = fe, c.Util = It, c.VideoOverlay = Oo, c.bind = a, c.bounds = yt, c.canvas = No, c.circle = Qs, c.circleMarker = Js, c.control = _i, c.divIcon = lr, c.extend = w, c.featureGroup = Ys, c.geoJSON = Io, c.geoJson = ir, c.gridLayer = ur, c.icon = Xs, c.imageOverlay = nr, c.latLng = Q, c.latLngBounds = pt, c.layerGroup = js, c.map = Os, c.marker = Ks, c.point = U, c.polygon = er, c.polyline = tr, c.popup = rr, c.rectangle = dr, c.setOptions = C, c.stamp = f, c.svg = Ro, c.svgOverlay = sr, c.tileLayer = Bo, c.tooltip = ar, c.transformation = se, c.version = p, c.videoOverlay = or;
7198
+ st.addInitHook("addHandler", "touchZoom", qo), st.BoxZoom = Vo, st.DoubleClickZoom = Fo, st.Drag = Go, st.Keyboard = Uo, st.ScrollWheelZoom = $o, st.TapHold = Wo, st.TouchZoom = qo, c.Bounds = dt, c.Browser = H, c.CRS = Rt, c.Canvas = Do, c.Circle = Fn, c.CircleMarker = Xi, c.Class = lt, c.Control = te, c.DivIcon = Eo, c.DivOverlay = he, c.DomEvent = Is, c.DomUtil = Ss, c.Draggable = Le, c.Evented = Nt, c.FeatureGroup = me, c.GeoJSON = _e, c.GridLayer = yi, c.Handler = ue, c.Icon = $e, c.ImageOverlay = en, c.LatLng = G, c.LatLngBounds = ft, c.Layer = ee, c.LayerGroup = Ue, c.LineUtil = Us, c.Map = st, c.Marker = Yi, c.Mixin = Ns, c.Path = ke, c.Point = F, c.PolyUtil = Rs, c.Polygon = We, c.Polyline = pe, c.Popup = nn, c.PosAnimation = _o, c.Projection = $s, c.Rectangle = Ho, c.Renderer = ge, c.SVG = Li, c.SVGOverlay = zo, c.TileLayer = je, c.Tooltip = on, c.Transformation = fe, c.Util = It, c.VideoOverlay = Oo, c.bind = a, c.bounds = bt, c.canvas = No, c.circle = Qs, c.circleMarker = Js, c.control = _i, c.divIcon = lr, c.extend = k, c.featureGroup = Ys, c.geoJSON = Io, c.geoJson = ir, c.gridLayer = ur, c.icon = Xs, c.imageOverlay = nr, c.latLng = Q, c.latLngBounds = pt, c.layerGroup = js, c.map = Os, c.marker = Ks, c.point = U, c.polygon = er, c.polyline = tr, c.popup = rr, c.rectangle = dr, c.setOptions = C, c.stamp = f, c.svg = Ro, c.svgOverlay = sr, c.tileLayer = Bo, c.tooltip = ar, c.transformation = se, c.version = p, c.videoOverlay = or;
7201
7199
  var mr = window.L;
7202
7200
  c.noConflict = function() {
7203
7201
  return window.L = mr, this;
@@ -7748,7 +7746,7 @@ function rl() {
7748
7746
  }), L.markerClusterGroup = function(o) {
7749
7747
  return new L.MarkerClusterGroup(o);
7750
7748
  };
7751
- var w = L.MarkerCluster = L.Marker.extend({
7749
+ var k = L.MarkerCluster = L.Marker.extend({
7752
7750
  options: L.Icon.prototype.options,
7753
7751
  initialize: function(o, a, h, f) {
7754
7752
  L.Marker.prototype.initialize.call(
@@ -8218,7 +8216,7 @@ function rl() {
8218
8216
  var h = this.options.icon;
8219
8217
  return L.setOptions(h, o), this.setIcon(h), a && this.__parent && this.__parent._group.refreshClusters(this), this;
8220
8218
  }
8221
- }), c.MarkerClusterGroup = p, c.MarkerCluster = w, Object.defineProperty(c, "__esModule", { value: !0 });
8219
+ }), c.MarkerClusterGroup = p, c.MarkerCluster = k, Object.defineProperty(c, "__esModule", { value: !0 });
8222
8220
  });
8223
8221
  })(xi, xi.exports)), xi.exports;
8224
8222
  }
@@ -8231,9 +8229,9 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8231
8229
  },
8232
8230
  emits: ["update:modelValue", "callback"],
8233
8231
  setup(r, { emit: d }) {
8234
- const { t: c } = Yt(), p = d, w = r, { hotelMapImage: o } = Gt(de()), a = ve.Util.extend(ve.CRS.Simple, {
8232
+ const { t: c } = Yt(), p = d, k = r, { hotelMapImage: o } = Gt(de()), a = ve.Util.extend(ve.CRS.Simple, {
8235
8233
  transformation: new ve.Transformation(1, 0, 1, 0)
8236
- }), h = Ut(), f = Lt(() => o.value?.url), g = Lt(() => o.value?.height), b = Lt(() => o.value?.width), v = ve.icon({
8234
+ }), h = jt(), f = yt(() => o.value?.url), g = yt(() => o.value?.height), b = yt(() => o.value?.width), v = ve.icon({
8237
8235
  iconUrl: al,
8238
8236
  iconSize: [32, 37],
8239
8237
  iconAnchor: [16, 37]
@@ -8272,10 +8270,10 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8272
8270
  }
8273
8271
  const { stop: _ } = Gr(h, ([{ isIntersecting: z }]) => {
8274
8272
  z && (_(), P());
8275
- }), T = Lt({
8276
- get: () => w.modelValue,
8273
+ }), T = yt({
8274
+ get: () => k.modelValue,
8277
8275
  set: (z) => D(z)
8278
- }), C = Lt(() => w.rooms.map((z) => ({
8276
+ }), C = yt(() => k.rooms.map((z) => ({
8279
8277
  id: z.id,
8280
8278
  name: z.name,
8281
8279
  x: z.mapImageX,
@@ -8301,16 +8299,16 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8301
8299
  callback: { type: Function }
8302
8300
  },
8303
8301
  setup(r) {
8304
- const { t: d } = Yt(), c = Ut(NaN), p = Lt(() => !isNaN(c.value)), w = r;
8302
+ const { t: d } = Yt(), c = jt(NaN), p = yt(() => !isNaN(c.value)), k = r;
8305
8303
  function o() {
8306
- p.value && (w.config.units = 1, w.config.roomId = c.value, w.callback());
8304
+ p.value && (k.config.units = 1, k.config.roomId = c.value, k.callback());
8307
8305
  }
8308
8306
  return (a, h) => (M(), rt(bs, {
8309
8307
  title: l(d)("hotel.selectRoomOnMapTitle")
8310
8308
  }, {
8311
8309
  default: nt(() => [
8312
8310
  y("div", hl, [
8313
- B(ul, {
8311
+ Z(ul, {
8314
8312
  modelValue: c.value,
8315
8313
  "onUpdate:modelValue": h[0] || (h[0] = (f) => c.value = f),
8316
8314
  rooms: r.roomList,
@@ -8341,14 +8339,14 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8341
8339
  callback: { type: Function }
8342
8340
  },
8343
8341
  setup(r) {
8344
- const d = Ut(!1);
8342
+ const d = jt(!1);
8345
8343
  function c() {
8346
8344
  d.value = !0;
8347
8345
  }
8348
8346
  function p(et) {
8349
8347
  o.callback(et), d.value = !1;
8350
8348
  }
8351
- const { t: w } = Yt(), o = r, a = Ut([]);
8349
+ const { t: k } = Yt(), o = r, a = jt([]);
8352
8350
  function h() {
8353
8351
  const et = a.value.length;
8354
8352
  St(et);
@@ -8356,16 +8354,16 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8356
8354
  function f(et) {
8357
8355
  a.value.splice(et, 1);
8358
8356
  }
8359
- const g = Lt(() => o.room.rates.map((et) => ({
8357
+ const g = yt(() => o.room.rates.map((et) => ({
8360
8358
  label: et.name,
8361
8359
  value: et.id
8362
- }))), { hideAvailableRoomAmount: b, autoSelectRateId: v, enableMultipleConfigurations: P } = Gt(Ze()), { roomSelect: _, isSearchOutdated: T } = Gt(de()), { addToCart: C, removeFromCart: D } = lo(), I = (et, Y) => o.room.rates.find((j) => j.id === et)?.occupantRates.find((j) => j.index === Y), z = Lt(() => o.room.roomList.some((et) => et.mapImageX && et.mapImageY)), N = Lt(() => o.room.rates.every((et) => et.isBreakfastIncluded === !0)), ot = (et, Y) => I(et, Y) ? I(et, Y)?.rooms : null, ut = (et) => o.room.rates.length > 0 ? o.room.rates.find((Y) => Y.id === et)?.occupantRates.map((Y) => ({
8360
+ }))), { hideAvailableRoomAmount: b, autoSelectRateId: v, enableMultipleConfigurations: P } = Gt(Ze()), { roomSelect: _, isSearchOutdated: T } = Gt(de()), { addToCart: C, removeFromCart: D } = lo(), I = (et, Y) => o.room.rates.find((j) => j.id === et)?.occupantRates.find((j) => j.index === Y), z = yt(() => o.room.roomList.some((et) => et.mapImageX && et.mapImageY)), N = yt(() => o.room.rates.every((et) => et.isBreakfastIncluded === !0)), ot = (et, Y) => I(et, Y) ? I(et, Y)?.rooms : null, ut = (et) => o.room.rates.length > 0 ? o.room.rates.find((Y) => Y.id === et)?.occupantRates.map((Y) => ({
8363
8361
  value: Y.index,
8364
8362
  price: Y.totalPrice,
8365
8363
  adults: Y.adultsCount,
8366
8364
  children: Y.childrenCount,
8367
8365
  hasBreakfast: Y.hasBreakfast
8368
- })) || [] : [], kt = Lt(() => o.room.rates.length > 1);
8366
+ })) || [] : [], kt = yt(() => o.room.rates.length > 1);
8369
8367
  function Mt(et, Y) {
8370
8368
  a.value[et].config[0].id = o.room.rates.find((j) => j.id === Y.value)?.occupantRateIndex || NaN;
8371
8369
  }
@@ -8396,7 +8394,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8396
8394
  ro(() => {
8397
8395
  St();
8398
8396
  });
8399
- const Zt = Lt(() => JSON.parse(JSON.stringify(a.value)));
8397
+ const Zt = yt(() => JSON.parse(JSON.stringify(a.value)));
8400
8398
  return an(Zt, (et, Y) => {
8401
8399
  Y.length > 0 && et.forEach((j, It) => {
8402
8400
  Y[It] && j.config.forEach((lt, Dt) => {
@@ -8437,25 +8435,25 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8437
8435
  class: "konnectio-hotel-room"
8438
8436
  }, [
8439
8437
  kt.value ? (M(), A("div", dl, [
8440
- B(un, {
8438
+ Z(un, {
8441
8439
  modelValue: j.id,
8442
8440
  "onUpdate:modelValue": (lt) => j.id = lt,
8443
- label: l(w)("hotel.roomVariant"),
8444
- placeholder: l(w)("hotel.chooseARoomVariant"),
8441
+ label: l(k)("hotel.roomVariant"),
8442
+ placeholder: l(k)("hotel.chooseARoomVariant"),
8445
8443
  options: g.value,
8446
8444
  searchable: !1,
8447
8445
  onChanged: (lt) => Mt(It, lt)
8448
8446
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"]),
8449
8447
  a.value.length > 1 ? (M(), A("div", fl, [
8450
- B(ne, {
8448
+ Z(ne, {
8451
8449
  style: { "--buttonBackground": "var(--dangerColor)" },
8452
8450
  icon: "trash-alt",
8453
8451
  "icon-type": "fas",
8454
8452
  onClickEvent: (lt) => f(It),
8455
8453
  secondary: ""
8456
8454
  }, null, 8, ["onClickEvent"])
8457
- ])) : Z("", !0)
8458
- ])) : Z("", !0),
8455
+ ])) : B("", !0)
8456
+ ])) : B("", !0),
8459
8457
  j.id ? (M(), A("div", ml, [
8460
8458
  (M(!0), A(ht, null, Tt(r.room.rates, ({
8461
8459
  id: lt,
@@ -8469,26 +8467,26 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8469
8467
  class: "konnectio-listing-action-selective"
8470
8468
  }, [
8471
8469
  y("ul", pl, [
8472
- B(el, {
8470
+ Z(el, {
8473
8471
  modelValue: ct.id,
8474
8472
  "onUpdate:modelValue": (F) => ct.id = F,
8475
8473
  icon: "male",
8476
8474
  "icon-type": "fas",
8477
- label: l(w)("general.guests"),
8478
- description: Dt === 0 ? void 0 : `${l(w)("general.maximumGuests")}: ${Dt}`,
8475
+ label: l(k)("general.guests"),
8476
+ description: Dt === 0 ? void 0 : `${l(k)("general.maximumGuests")}: ${Dt}`,
8479
8477
  options: ut(lt),
8480
8478
  readonly: !(ut(lt).length > 1)
8481
8479
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
8482
8480
  ]),
8483
8481
  z.value ? (M(), A("div", gl, [
8484
- B(ne, {
8482
+ Z(ne, {
8485
8483
  onClickEvent: c,
8486
- label: l(w)("hotel.selectRoomOnMap"),
8484
+ label: l(k)("hotel.selectRoomOnMap"),
8487
8485
  secondary: "",
8488
8486
  "full-width": "",
8489
8487
  disabled: l(T)
8490
8488
  }, null, 8, ["label", "disabled"]),
8491
- B(cl, {
8489
+ Z(cl, {
8492
8490
  modelValue: d.value,
8493
8491
  "onUpdate:modelValue": Y[0] || (Y[0] = (F) => d.value = F),
8494
8492
  "room-list": r.room.roomList,
@@ -8496,29 +8494,29 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8496
8494
  callback: p
8497
8495
  }, null, 8, ["modelValue", "room-list", "config"])
8498
8496
  ])) : (M(), A("ul", _l, [
8499
- B(Pi, {
8497
+ Z(Pi, {
8500
8498
  modelValue: ct.units,
8501
8499
  "onUpdate:modelValue": (F) => ct.units = F,
8502
- description: l(b) ? void 0 : `${l(w)("booking.availability.availableUnits")}: ${ot(j.id, ct.id)}`,
8500
+ description: l(b) ? void 0 : `${l(k)("booking.availability.availableUnits")}: ${ot(j.id, ct.id)}`,
8503
8501
  icon: "house",
8504
8502
  "icon-type": "fas",
8505
8503
  "icon-placement": "label",
8506
- label: l(w)("booking.availability.units"),
8504
+ label: l(k)("booking.availability.units"),
8507
8505
  minValue: 0,
8508
8506
  "max-value": ot(lt, ct.id) || 1 / 0
8509
8507
  }, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
8510
8508
  ]))
8511
- ]))), 128)) : Z("", !0)
8509
+ ]))), 128)) : B("", !0)
8512
8510
  ]))), 128))
8513
- ])) : Z("", !0)
8511
+ ])) : B("", !0)
8514
8512
  ]))), 128)),
8515
8513
  l(P) && kt.value ? (M(), A("button", {
8516
8514
  key: 0,
8517
8515
  class: "konnectio-hotel-add-extra-room link",
8518
8516
  onClick: Ke(h, ["prevent"])
8519
8517
  }, [
8520
- y("span", null, O(l(w)("hotel.addExtraVariant")), 1)
8521
- ])) : Z("", !0)
8518
+ y("span", null, O(l(k)("hotel.addExtraVariant")), 1)
8519
+ ])) : B("", !0)
8522
8520
  ], 2)
8523
8521
  ]),
8524
8522
  _: 1
@@ -8535,7 +8533,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8535
8533
  callback: { type: Function }
8536
8534
  },
8537
8535
  setup(r) {
8538
- const { t: d } = Yt(), { templateID: c, roomGroupID: p, selectionHasNoAddons: w } = Gt(de()), { currency: o } = Gt(Ze()), { clearRoomSelection: a } = de(), { addToCart: h } = lo(), f = r, g = Ut(!1), b = Lt(() => {
8536
+ const { t: d } = Yt(), { templateID: c, roomGroupID: p, selectionHasNoAddons: k } = Gt(de()), { currency: o } = Gt(Ze()), { clearRoomSelection: a } = de(), { addToCart: h } = lo(), f = r, g = jt(!1), b = yt(() => {
8539
8537
  function P(_, T) {
8540
8538
  return g.value === !0 ? _.extraPrice > T.extraPrice ? -1 : 1 : _.extraPrice > T.extraPrice ? 1 : -1;
8541
8539
  }
@@ -8548,7 +8546,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8548
8546
  id: _.id,
8549
8547
  name: _.title,
8550
8548
  value: _.extraPrice
8551
- }), f.hideAddons === !1 && w.value == !1) {
8549
+ }), f.hideAddons === !1 && k.value == !1) {
8552
8550
  f.callback(1);
8553
8551
  return;
8554
8552
  }
@@ -8581,7 +8579,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8581
8579
  }, {
8582
8580
  action: nt(() => [
8583
8581
  y("div", null, [
8584
- B(ne, {
8582
+ Z(ne, {
8585
8583
  onClickEvent: (ot) => v(T),
8586
8584
  label: `${l(d)("booking.availability.selectThisRoom")} (${l(oe)(N + r.weekendFee, l(o))})`,
8587
8585
  "full-width": ""
@@ -8609,10 +8607,10 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8609
8607
  callback: { type: Function }
8610
8608
  },
8611
8609
  setup(r) {
8612
- const { t: d } = Yt(), c = r, { isSearchOutdated: p } = Gt(de()), w = Lt(() => c.roomGroups.reduce(
8610
+ const { t: d } = Yt(), c = r, { isSearchOutdated: p } = Gt(de()), k = yt(() => c.roomGroups.reduce(
8613
8611
  (g, b) => g < b.extraPrice ? g : b.extraPrice,
8614
8612
  1 / 0
8615
- ) + c.weekendFee), o = Ut(!1);
8613
+ ) + c.weekendFee), o = jt(!1);
8616
8614
  function a() {
8617
8615
  o.value = !0;
8618
8616
  }
@@ -8628,11 +8626,11 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8628
8626
  layout: l(ys).Template,
8629
8627
  "includes-breakfast": !1,
8630
8628
  "hide-info-button": !1,
8631
- "prices-from": w.value
8629
+ "prices-from": k.value
8632
8630
  }, {
8633
8631
  action: nt(() => [
8634
8632
  y("div", wl, [
8635
- B(ne, {
8633
+ Z(ne, {
8636
8634
  onClickEvent: a,
8637
8635
  label: l(d)("booking.availability.selectPackage"),
8638
8636
  "full-width": "",
@@ -8641,7 +8639,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8641
8639
  ])
8642
8640
  ]),
8643
8641
  default: nt(() => [
8644
- B(kl, {
8642
+ Z(kl, {
8645
8643
  modelValue: o.value,
8646
8644
  "onUpdate:modelValue": g[0] || (g[0] = (b) => o.value = b),
8647
8645
  title: r.name,
@@ -8668,7 +8666,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8668
8666
  roomGroups: {}
8669
8667
  },
8670
8668
  setup(r) {
8671
- const { t: d } = Yt(), { updateDates: c } = Ti(), { display: p } = ao(), w = r, o = Ut([]), a = Lt(() => wi(w.fromDate, w.toDate) === 1);
8669
+ const { t: d } = Yt(), { updateDates: c } = Ti(), { display: p } = ao(), k = r, o = jt([]), a = yt(() => wi(k.fromDate, k.toDate) === 1);
8672
8670
  function h() {
8673
8671
  o.value.length > 0 ? c(o.value[0], o.value[1]) : p({
8674
8672
  message: d("alert.error.selectDates"),
@@ -8676,7 +8674,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8676
8674
  });
8677
8675
  }
8678
8676
  return ro(() => {
8679
- a.value && (o.value = [new Date(w.fromDate), new Date(w.toDate)]);
8677
+ a.value && (o.value = [new Date(k.fromDate), new Date(k.toDate)]);
8680
8678
  }), (f, g) => (M(), rt(ln, {
8681
8679
  type: "template",
8682
8680
  "listing-id": r.id,
@@ -8692,7 +8690,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8692
8690
  }, {
8693
8691
  action: nt(() => [
8694
8692
  y("div", Cl, [
8695
- B(Ls, {
8693
+ Z(Ls, {
8696
8694
  modelValue: o.value,
8697
8695
  "onUpdate:modelValue": g[0] || (g[0] = (b) => o.value = b),
8698
8696
  label: l(d)("availability.checkInOut"),
@@ -8707,7 +8705,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8707
8705
  range: ""
8708
8706
  }, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
8709
8707
  y("div", xl, [
8710
- B(ne, {
8708
+ Z(ne, {
8711
8709
  label: l(d)("availability.buttonLabel"),
8712
8710
  onClick: Ke(h, ["prevent"])
8713
8711
  }, null, 8, ["label"])
@@ -8736,12 +8734,12 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8736
8734
  emits: ["update:modelValue"],
8737
8735
  setup(r, { emit: d }) {
8738
8736
  const c = d, p = r;
8739
- function w(a) {
8737
+ function k(a) {
8740
8738
  c("update:modelValue", a);
8741
8739
  }
8742
- const o = Ut(p.modelValue);
8740
+ const o = jt(p.modelValue);
8743
8741
  return an(o, (a) => {
8744
- w(a);
8742
+ k(a);
8745
8743
  }), (a, h) => (M(), rt(Ls, {
8746
8744
  modelValue: o.value,
8747
8745
  "onUpdate:modelValue": h[0] || (h[0] = (f) => o.value = f),
@@ -8771,12 +8769,12 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8771
8769
  },
8772
8770
  emits: ["update:modelValue"],
8773
8771
  setup(r, { emit: d }) {
8774
- const { t: c } = Yt(), p = d, w = r;
8772
+ const { t: c } = Yt(), p = d, k = r;
8775
8773
  function o(h) {
8776
8774
  p("update:modelValue", h);
8777
8775
  }
8778
- const a = Lt({
8779
- get: () => w.modelValue,
8776
+ const a = yt({
8777
+ get: () => k.modelValue,
8780
8778
  set: (h) => o(h)
8781
8779
  });
8782
8780
  return (h, f) => (M(), rt(un, {
@@ -8827,7 +8825,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8827
8825
  },
8828
8826
  emits: ["update:modelValue", "update:title"],
8829
8827
  setup(r, { emit: d }) {
8830
- const c = r, p = d, w = c.id || Qo(), o = Ut(""), a = Ut(2);
8828
+ const c = r, p = d, k = c.id || Qo(), o = jt(""), a = jt(2);
8831
8829
  function h() {
8832
8830
  p("update:modelValue", o.value);
8833
8831
  }
@@ -8839,7 +8837,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8839
8837
  c.modelValue && (o.value = c.modelValue), c.title && (a.value = c.title);
8840
8838
  }), (g, b) => (M(), rt(Ur, {
8841
8839
  label: r.label,
8842
- id: l(w),
8840
+ id: l(k),
8843
8841
  required: r.required,
8844
8842
  type: "konnectio-name-field",
8845
8843
  readonly: r.readonly,
@@ -8852,7 +8850,7 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8852
8850
  { "no-title": r.excludeTitle }
8853
8851
  ])
8854
8852
  }, [
8855
- r.excludeTitle ? Z("", !0) : (M(), rt(un, {
8853
+ r.excludeTitle ? B("", !0) : (M(), rt(un, {
8856
8854
  key: 0,
8857
8855
  modelValue: a.value,
8858
8856
  "onUpdate:modelValue": b[0] || (b[0] = (v) => a.value = v),
@@ -8886,13 +8884,13 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8886
8884
  "hide-button": "",
8887
8885
  searchable: !1
8888
8886
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly"])),
8889
- B(ie, {
8887
+ Z(ie, {
8890
8888
  modelValue: o.value,
8891
8889
  "onUpdate:modelValue": b[1] || (b[1] = (v) => o.value = v),
8892
8890
  type: "text",
8893
8891
  name: "name",
8894
8892
  autocomplete: "name",
8895
- id: l(w),
8893
+ id: l(k),
8896
8894
  icon: r.excludeTitle ? r.icon : void 0,
8897
8895
  "icon-color": r.iconColor,
8898
8896
  "icon-type": r.iconType,
@@ -8912,15 +8910,15 @@ const al = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAlCAYAAAAjt+tHAA
8912
8910
  setup(r) {
8913
8911
  return (d, c) => (M(), A("div", El, [
8914
8912
  y("div", Bl, [
8915
- B(jr, { hotel: "" }),
8916
- B(Dr)
8913
+ Z(jr, { hotel: "" }),
8914
+ Z(Dr)
8917
8915
  ]),
8918
8916
  y("div", Zl, [
8919
- B(Nr)
8917
+ Z(Nr)
8920
8918
  ])
8921
8919
  ]));
8922
8920
  }
8923
- }), Nl = /* @__PURE__ */ Xt(Dl, [["__scopeId", "data-v-1bb21da4"]]), Rl = { id: "booking-availability-container" }, Vl = { id: "booking-availability-controls" }, Hl = {
8921
+ }), Nl = /* @__PURE__ */ Xt(Dl, [["__scopeId", "data-v-1bb21da4"]]), Rl = { id: "booking-availability-container" }, Hl = { id: "booking-availability-controls" }, Vl = {
8924
8922
  key: 0,
8925
8923
  class: "konnectio-panel konnectio-filter-notice"
8926
8924
  }, Fl = ["innerHTML"], Gl = {
@@ -8982,7 +8980,7 @@ const Mu = { class: "konnectio-table-addons-information" }, Su = { class: "konne
8982
8980
  }, Zu = { class: "konnectio-split-inputs" }, Du = {
8983
8981
  key: 0,
8984
8982
  class: "konnectio-hotel-member-card-mockup"
8985
- }, Nu = ["src"], Ru = { class: "konnectio-hotel-member-card-details" }, Vu = { key: 0 }, Hu = { key: 0 };
8983
+ }, Nu = ["src"], Ru = { class: "konnectio-hotel-member-card-details" }, Hu = { key: 0 }, Vu = { key: 0 };
8986
8984
  const Fu = /* @__PURE__ */ Bt({
8987
8985
  name: "HotelLayout",
8988
8986
  __name: "Hotel",
@@ -9000,11 +8998,12 @@ const Fu = /* @__PURE__ */ Bt({
9000
8998
  forceDepartureTime: {},
9001
8999
  requireGuestDiscountId: { default: "no" },
9002
9000
  sortBy: { default: "default" },
9001
+ sortOrder: { default: "asc" },
9003
9002
  styling: {}
9004
9003
  },
9005
9004
  setup(r) {
9006
- const d = Mr(() => import("./_-DDuKZ_0C.js")), c = r, { t: p } = Yt(), {
9007
- currentLocation: w,
9005
+ const d = Mr(() => import("./_-PjpC4p-e.js")), c = r, { t: p } = Yt(), {
9006
+ currentLocation: k,
9008
9007
  templateID: o,
9009
9008
  templateAddons: a,
9010
9009
  countries: h,
@@ -9038,7 +9037,7 @@ const Fu = /* @__PURE__ */ Bt({
9038
9037
  isTemplateReservation: Ce,
9039
9038
  newsMails: U,
9040
9039
  adultsMismatch: dt,
9041
- childrenMismatch: yt,
9040
+ childrenMismatch: bt,
9042
9041
  totalAdults: ft,
9043
9042
  totalChildren: pt,
9044
9043
  hasGuestDiscountId: G,
@@ -9090,11 +9089,11 @@ const Fu = /* @__PURE__ */ Bt({
9090
9089
  fetchMetadata: bn,
9091
9090
  fetchAvailabilityData: li,
9092
9091
  filterAddons: Di,
9093
- hasAvailableRoomAddons: $t,
9094
- checkGuestDiscount: V,
9092
+ hasAvailableRoomAddons: Ut,
9093
+ checkGuestDiscount: H,
9095
9094
  validateMemberCard: Ni,
9096
9095
  onOverviewReset: Ri
9097
- } = de(), Ve = Ut(!1), Vi = Lt(() => [
9096
+ } = de(), He = yt(() => c.sortOrder === "desc"), Hi = yt(() => [
9098
9097
  {
9099
9098
  id: "availability",
9100
9099
  label: p("booking.availability.title"),
@@ -9119,7 +9118,7 @@ const Fu = /* @__PURE__ */ Bt({
9119
9118
  label: p("booking.confirmation.title"),
9120
9119
  icon: "calendar-check"
9121
9120
  }
9122
- ]), ui = Lt(() => {
9121
+ ]), ui = yt(() => {
9123
9122
  const W = [
9124
9123
  {
9125
9124
  label: p("booking.reservation.business"),
@@ -9134,29 +9133,29 @@ const Fu = /* @__PURE__ */ Bt({
9134
9133
  label: p("booking.reservation.bleasure"),
9135
9134
  value: "Bleasure"
9136
9135
  }), W;
9137
- }), Kt = Lt(() => {
9136
+ }), Kt = yt(() => {
9138
9137
  let W = j.value.roomGroups.slice();
9139
9138
  function R(_t, q) {
9140
- return Ve.value === !0 ? _t.pricesFrom > q.pricesFrom ? -1 : 1 : _t.pricesFrom > q.pricesFrom ? 1 : -1;
9139
+ return He.value === !0 ? _t.pricesFrom > q.pricesFrom ? -1 : 1 : _t.pricesFrom > q.pricesFrom ? 1 : -1;
9141
9140
  }
9142
9141
  return c.sortBy === "price" && (W = W.sort(R)), Object.groupBy(W, (_t) => _t.roomList.some((q) => q.mapImageX && q.mapImageY) ? "camping" : "rooms");
9143
9142
  });
9144
9143
  function Jt(W) {
9145
9144
  return (W.templateRoomGroups.length > 0 ? Math.min(...W.templateRoomGroups.map((_t) => _t.totalPrice)) : 0) + W.weekendFee;
9146
9145
  }
9147
- const Hi = Lt(() => {
9146
+ const Vi = yt(() => {
9148
9147
  const W = j.value.templates.slice();
9149
9148
  return c.sortBy === "price" && W.sort((R, _t) => {
9150
9149
  const q = Jt(R), it = Jt(_t);
9151
- return Ve.value ? it - q : q - it;
9150
+ return He.value ? it - q : q - it;
9152
9151
  }), W;
9153
- }), Ln = Lt(() => {
9152
+ }), Ln = yt(() => {
9154
9153
  const W = j.value.specialTemplates.slice();
9155
9154
  return c.sortBy === "price" && W.sort((R, _t) => {
9156
9155
  const q = Jt(R), it = Jt(_t);
9157
- return Ve.value ? it - q : q - it;
9156
+ return He.value ? it - q : q - it;
9158
9157
  }), W;
9159
- }), hi = Lt(() => c.hideAddons === "yes" || Ce.value && c.hideAddons === "packages" || !Ce.value && c.hideAddons === "rooms");
9158
+ }), hi = yt(() => c.hideAddons === "yes" || Ce.value && c.hideAddons === "packages" || !Ce.value && c.hideAddons === "rooms");
9160
9159
  function Fi(W) {
9161
9160
  hi.value || It.value ? W(2) : W(), ai();
9162
9161
  }
@@ -9179,7 +9178,7 @@ const Fu = /* @__PURE__ */ Bt({
9179
9178
  });
9180
9179
  gn(), W.id = void 0, li();
9181
9180
  }
9182
- function He(W) {
9181
+ function Ve(W) {
9183
9182
  cn.value && vn(), hi.value || It.value ? W(2) : W();
9184
9183
  }
9185
9184
  function Pn() {
@@ -9189,15 +9188,15 @@ const Fu = /* @__PURE__ */ Bt({
9189
9188
  Pn();
9190
9189
  const W = eo("history", {
9191
9190
  removeNullishValues: !0
9192
- }), R = parseInt(W.a), _t = parseInt(W.c), q = parseInt(W.hid), it = parseInt(W.n), H = W.ci, zt = W.co, mt = W.id, X = parseInt(W.gid);
9191
+ }), R = parseInt(W.a), _t = parseInt(W.c), q = parseInt(W.hid), it = parseInt(W.n), V = W.ci, zt = W.co, mt = W.id, X = parseInt(W.gid);
9193
9192
  let at = !1;
9194
9193
  if (isNaN(R) || (R > ti.value ? Te.value = ti.value : Te.value = R, Te.value === mn.value && (W.a = void 0)), isNaN(_t) || (_t > ei.value ? Me.value = ei.value : Me.value = _t, Me.value === zi.value && (W.c = void 0)), isNaN(it) || it > 0 && (W.n = void 0), isNaN(q) || (Je(q) ? (re.value = q, at = !0) : (W.hid = void 0, Re({
9195
9194
  message: p("alert.error.hotelIdNotFound"),
9196
9195
  type: "error"
9197
- }))), H && zt)
9198
- if (ns(H) && ns(zt)) {
9199
- const Vt = new Date(H), Qt = new Date(zt);
9200
- Vt <= Qt ? (De.value = Vt, hn.value = Qt) : (W.ci = void 0, W.co = void 0, Re({
9196
+ }))), V && zt)
9197
+ if (ns(V) && ns(zt)) {
9198
+ const Ht = new Date(V), Qt = new Date(zt);
9199
+ Ht <= Qt ? (De.value = Ht, hn.value = Qt) : (W.ci = void 0, W.co = void 0, Re({
9201
9200
  message: p("alert.error.invalidDateRange"),
9202
9201
  type: "error"
9203
9202
  }));
@@ -9207,46 +9206,46 @@ const Fu = /* @__PURE__ */ Bt({
9207
9206
  type: "error"
9208
9207
  });
9209
9208
  if (mt && _n(mt), X) {
9210
- await V(X) || (W.gid = void 0);
9209
+ await H(X) || (W.gid = void 0);
9211
9210
  return;
9212
9211
  }
9213
- c.disableDefaultLocation === "yes" && at === !1 ? (re.value = void 0, w.value = void 0) : li();
9212
+ c.disableDefaultLocation === "yes" && at === !1 ? (re.value = void 0, k.value = void 0) : li();
9214
9213
  }
9215
9214
  return (W, R) => (M(), rt(qr, { styling: r.styling }, {
9216
9215
  default: nt(() => [
9217
9216
  (M(), rt(Tr, { onResolve: Ui }, {
9218
9217
  default: nt(() => [
9219
- B(l(d), {
9218
+ Z(l(d), {
9220
9219
  id: "konnectio-hotel-module",
9221
9220
  "access-token": r.accessToken,
9222
9221
  callback: l(bn)
9223
9222
  }, {
9224
9223
  default: nt(() => [
9225
- we(B(qa, { onCallback: Ui }, null, 512), [
9224
+ we(Z(qa, { onCallback: Ui }, null, 512), [
9226
9225
  [Be, r.requireGuestDiscountId === "yes" && !l(G)]
9227
9226
  ]),
9228
- we(B(Rr, {
9227
+ we(Z(Rr, {
9229
9228
  layout: r.headerLayout,
9230
- steps: Vi.value,
9229
+ steps: Hi.value,
9231
9230
  onReset: l(Ri)
9232
9231
  }, {
9233
9232
  availability: nt(({ next: _t }) => [
9234
- B(to, null, {
9233
+ Z(to, { "show-remove-room": !0 }, {
9235
9234
  form: nt(() => [
9236
9235
  y("div", Rl, [
9237
- y("div", Vl, [
9238
- B(Yr, {
9236
+ y("div", Hl, [
9237
+ Z(Yr, {
9239
9238
  booking: !0,
9240
9239
  "selected-location": Number(r.selectedLocation),
9241
9240
  "disable-default-location": r.disableDefaultLocation === "yes",
9242
9241
  "hide-locations": r.hideLocations === "yes"
9243
9242
  }, null, 8, ["selected-location", "disable-default-location", "hide-locations"])
9244
9243
  ]),
9245
- l(G) ? (M(), A("div", Hl, [
9244
+ l(G) ? (M(), A("div", Vl, [
9246
9245
  y("span", {
9247
9246
  innerHTML: l(p)("guestDiscount.displayMessage", { name: `<b>${l(Rt) ? l(Rt) : l(Q)}</b>` })
9248
9247
  }, null, 8, Fl)
9249
- ])) : Z("", !0),
9248
+ ])) : B("", !0),
9250
9249
  l(ni) ? (M(), A("div", Gl, [
9251
9250
  y("span", null, [
9252
9251
  vs(O(l(p)("general.filteredListingNotice")) + " ", 1),
@@ -9255,24 +9254,24 @@ const Fu = /* @__PURE__ */ Bt({
9255
9254
  onClick: R[0] || (R[0] = (q) => wn())
9256
9255
  }, O(l(p)("general.filteredListingShowAll")), 1)
9257
9256
  ])
9258
- ])) : Z("", !0),
9259
- Z("", !0),
9257
+ ])) : B("", !0),
9258
+ B("", !0),
9260
9259
  !l(f) && l(lt) ? (M(), A("div", Ul, [
9261
9260
  Kt.value.camping && Kt.value.camping.length > 0 && r.onlyShow !== "non-camping" || Kt.value.rooms && Kt.value.rooms.length > 0 || l(j).templates.length > 0 || l(j).specialTemplates.length > 0 ? (M(), A("div", $l, [
9262
9261
  l(j).templates.length > 0 && r.onlyShow !== "rooms" && r.onlyShow !== "camping" ? (M(), A("div", Wl, [
9263
9262
  r.onlyShow !== "packages" ? (M(), A("h2", ql, [
9264
- B(xt, {
9263
+ Z(xt, {
9265
9264
  icon: "box",
9266
9265
  type: "fal",
9267
9266
  color: "header"
9268
9267
  }),
9269
9268
  y("span", null, O(l(p)("booking.availability.packagesTitle")), 1)
9270
- ])) : Z("", !0),
9269
+ ])) : B("", !0),
9271
9270
  y("ul", jl, [
9272
- (M(!0), A(ht, null, Tt(Hi.value, ({
9271
+ (M(!0), A(ht, null, Tt(Vi.value, ({
9273
9272
  id: q,
9274
9273
  name: it,
9275
- templateRoomGroups: H,
9274
+ templateRoomGroups: V,
9276
9275
  images: zt,
9277
9276
  description: mt,
9278
9277
  weekendFee: X
@@ -9283,22 +9282,22 @@ const Fu = /* @__PURE__ */ Bt({
9283
9282
  name: it,
9284
9283
  images: zt,
9285
9284
  weekendFee: X,
9286
- "room-groups": H,
9285
+ "room-groups": V,
9287
9286
  callback: _t,
9288
9287
  "hide-addons": r.hideAddons === "yes" || r.hideAddons === "packages"
9289
9288
  }, null, 8, ["id", "description", "name", "images", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
9290
9289
  ])
9291
- ])) : Z("", !0),
9290
+ ])) : B("", !0),
9292
9291
  l(j).roomGroups.length > 0 && r.onlyShow !== "packages" ? (M(), A("div", Yl, [
9293
9292
  Kt.value.rooms && r.onlyShow !== "camping" ? (M(), A(ht, { key: 0 }, [
9294
9293
  l(j).templates.length > 0 && r.onlyShow !== "rooms" ? (M(), A("h2", Xl, [
9295
- B(xt, {
9294
+ Z(xt, {
9296
9295
  icon: "house",
9297
9296
  type: "fal",
9298
9297
  color: "header"
9299
9298
  }),
9300
9299
  y("span", null, O(l(p)("booking.availability.roomsTitle")), 1)
9301
- ])) : Z("", !0),
9300
+ ])) : B("", !0),
9302
9301
  y("ul", Kl, [
9303
9302
  (M(!0), A(ht, null, Tt(Kt.value.rooms, (q, it) => (M(), rt(us, {
9304
9303
  room: q,
@@ -9306,16 +9305,16 @@ const Fu = /* @__PURE__ */ Bt({
9306
9305
  callback: _t
9307
9306
  }, null, 8, ["room", "callback"]))), 128))
9308
9307
  ])
9309
- ], 64)) : Z("", !0),
9308
+ ], 64)) : B("", !0),
9310
9309
  Kt.value.camping && r.onlyShow !== "rooms" && r.onlyShow !== "non-camping" ? (M(), A(ht, { key: 1 }, [
9311
9310
  l(j).templates.length > 0 && r.onlyShow !== "camping" ? (M(), A("h2", Jl, [
9312
- B(xt, {
9311
+ Z(xt, {
9313
9312
  icon: "map-location-dot",
9314
9313
  type: "fal",
9315
9314
  color: "header"
9316
9315
  }),
9317
9316
  y("span", null, O(l(p)("booking.availability.campingTitle")), 1)
9318
- ])) : Z("", !0),
9317
+ ])) : B("", !0),
9319
9318
  y("ul", Ql, [
9320
9319
  (M(!0), A(ht, null, Tt(Kt.value.camping, (q, it) => (M(), rt(us, {
9321
9320
  room: q,
@@ -9323,12 +9322,12 @@ const Fu = /* @__PURE__ */ Bt({
9323
9322
  callback: _t
9324
9323
  }, null, 8, ["room", "callback"]))), 128))
9325
9324
  ])
9326
- ], 64)) : Z("", !0)
9327
- ])) : Z("", !0),
9328
- l(ni) ? Z("", !0) : (M(), A(ht, { key: 2 }, [
9325
+ ], 64)) : B("", !0)
9326
+ ])) : B("", !0),
9327
+ l(ni) ? B("", !0) : (M(), A(ht, { key: 2 }, [
9329
9328
  l(j).specialTemplates.length > 0 && r.onlyShow !== "rooms" ? (M(), A("div", tu, [
9330
9329
  y("h2", eu, [
9331
- B(xt, {
9330
+ Z(xt, {
9332
9331
  icon: "sparkles",
9333
9332
  type: "fal",
9334
9333
  color: "header"
@@ -9339,12 +9338,12 @@ const Fu = /* @__PURE__ */ Bt({
9339
9338
  (M(!0), A(ht, null, Tt(Ln.value, ({
9340
9339
  id: q,
9341
9340
  name: it,
9342
- templateRoomGroups: H,
9341
+ templateRoomGroups: V,
9343
9342
  images: zt,
9344
9343
  description: mt,
9345
9344
  weekendFee: X,
9346
9345
  fromDate: at,
9347
- toDate: Vt
9346
+ toDate: Ht
9348
9347
  }) => (M(), rt(Ml, {
9349
9348
  key: q,
9350
9349
  id: q,
@@ -9352,16 +9351,16 @@ const Fu = /* @__PURE__ */ Bt({
9352
9351
  name: it,
9353
9352
  images: zt,
9354
9353
  fromDate: at,
9355
- toDate: Vt,
9354
+ toDate: Ht,
9356
9355
  weekendFee: X,
9357
- "room-groups": H
9356
+ "room-groups": V
9358
9357
  }, null, 8, ["id", "description", "name", "images", "fromDate", "toDate", "weekendFee", "room-groups"]))), 128))
9359
9358
  ])
9360
- ])) : Z("", !0)
9359
+ ])) : B("", !0)
9361
9360
  ], 64)),
9362
9361
  (l(j).templates.length === 0 && r.onlyShow !== "rooms" || l(j).roomGroups.length === 0 && r.onlyShow !== "packages") && (r.onlyShow === "rooms" || r.onlyShow === "packages") ? (M(), A("div", nu, [
9363
9362
  y("span", null, O(l(p)("booking.availability.nothingAvailable")), 1)
9364
- ])) : Z("", !0)
9363
+ ])) : B("", !0)
9365
9364
  ])) : l(j).nextAvailableDates.length > 0 ? (M(), A("div", ou, [
9366
9365
  y("div", su, [
9367
9366
  y("span", {
@@ -9369,7 +9368,7 @@ const Fu = /* @__PURE__ */ Bt({
9369
9368
  }, null, 8, ru)
9370
9369
  ]),
9371
9370
  y("h2", au, [
9372
- B(xt, {
9371
+ Z(xt, {
9373
9372
  icon: "calendar-circle-exclamation",
9374
9373
  type: "fal",
9375
9374
  color: "header"
@@ -9384,8 +9383,8 @@ const Fu = /* @__PURE__ */ Bt({
9384
9383
  y("span", null, O(`${l(ce)(q.fromDate, 0, !0)} - ${l(ce)(q.toDate, 0, !0)}`), 1)
9385
9384
  ], 8, uu),
9386
9385
  y("ul", null, [
9387
- isNaN(q.roomCount) ? Z("", !0) : (M(), A("li", hu, [
9388
- B(xt, {
9386
+ isNaN(q.roomCount) ? B("", !0) : (M(), A("li", hu, [
9387
+ Z(xt, {
9389
9388
  icon: "house",
9390
9389
  type: "fal",
9391
9390
  color: "header"
@@ -9393,7 +9392,7 @@ const Fu = /* @__PURE__ */ Bt({
9393
9392
  y("span", null, O(l(p)("booking.availability.units")) + ": " + O(q.roomCount), 1)
9394
9393
  ])),
9395
9394
  y("li", null, [
9396
- B(xt, {
9395
+ Z(xt, {
9397
9396
  icon: "money-bill",
9398
9397
  type: "fal",
9399
9398
  color: "header"
@@ -9401,29 +9400,29 @@ const Fu = /* @__PURE__ */ Bt({
9401
9400
  y("span", null, O(l(p)("booking.availability.pricesFrom")) + ": " + O(l(oe)(q.priceStartFrom, l(Ne))), 1)
9402
9401
  ])
9403
9402
  ]),
9404
- B(ne, {
9403
+ Z(ne, {
9405
9404
  label: l(p)("booking.availability.selectDates"),
9406
9405
  "full-width": "",
9407
- onClickEvent: (H) => l(Ai)(new Date(q.fromDate), new Date(q.toDate))
9406
+ onClickEvent: (V) => l(Ai)(new Date(q.fromDate), new Date(q.toDate))
9408
9407
  }, null, 8, ["label", "onClickEvent"])
9409
9408
  ]))), 128))
9410
9409
  ])
9411
9410
  ])) : (M(), A("div", cu, [
9412
9411
  y("span", null, O(l(p)("booking.availability.nothingAvailable")), 1)
9413
9412
  ]))
9414
- ])) : isNaN(l(w)) && !l(f) ? (M(), A("div", du, [
9413
+ ])) : isNaN(l(k)) && !l(f) ? (M(), A("div", du, [
9415
9414
  y("span", null, O(l(p)("alert.info.selectHotelToStart")), 1)
9416
9415
  ])) : (M(), A("div", fu, [
9417
- B(Xn),
9418
- B(Xn),
9419
- B(Xn)
9416
+ Z(Xn),
9417
+ Z(Xn),
9418
+ Z(Xn)
9420
9419
  ]))
9421
9420
  ])
9422
9421
  ]),
9423
9422
  navigation: nt(() => [
9424
9423
  l(Nt) ? (M(), rt(ne, {
9425
9424
  key: 0,
9426
- label: isNaN(l(w)) ? l(p)("availability.buttonLabel") : l(p)("general.searchAgain"),
9425
+ label: isNaN(l(k)) ? l(p)("availability.buttonLabel") : l(p)("general.searchAgain"),
9427
9426
  "is-loading": l(f),
9428
9427
  "full-width": "",
9429
9428
  onClickEvent: R[2] || (R[2] = (q) => Gi())
@@ -9432,10 +9431,10 @@ const Fu = /* @__PURE__ */ Bt({
9432
9431
  label: l(It) || hi.value ? l(p)("booking.availability.nextButton") : l(p)("general.chooseAddons"),
9433
9432
  disabled: !l(Y),
9434
9433
  "full-width": "",
9435
- onClickEvent: (q) => He(_t)
9434
+ onClickEvent: (q) => Ve(_t)
9436
9435
  }, null, 8, ["label", "disabled", "onClickEvent"])),
9437
9436
  we(y("span", mu, [
9438
- B(xt, {
9437
+ Z(xt, {
9439
9438
  icon: "exclamation-triangle",
9440
9439
  type: "fas"
9441
9440
  }),
@@ -9444,13 +9443,13 @@ const Fu = /* @__PURE__ */ Bt({
9444
9443
  [Be, l(dt)]
9445
9444
  ]),
9446
9445
  we(y("span", pu, [
9447
- B(xt, {
9446
+ Z(xt, {
9448
9447
  icon: "exclamation-triangle",
9449
9448
  type: "fas"
9450
9449
  }),
9451
9450
  y("span", null, O(l(p)("hotel.mismatchingChildren", { searchChildren: l(Me), selectedChildren: l(pt) })), 1)
9452
9451
  ], 512), [
9453
- [Be, l(yt)]
9452
+ [Be, l(bt)]
9454
9453
  ])
9455
9454
  ]),
9456
9455
  _: 2
@@ -9471,32 +9470,32 @@ const Fu = /* @__PURE__ */ Bt({
9471
9470
  innerHTML: l(p)("hotel.addonTopNotice"),
9472
9471
  class: "konnectio-wysiwyg"
9473
9472
  }, null, 8, vu)
9474
- ])) : Z("", !0),
9473
+ ])) : B("", !0),
9475
9474
  y("div", null, [
9476
9475
  isNaN(l(o)) ? (M(), A("div", yu, [
9477
9476
  (M(!0), A(ht, null, Tt(l(et), (it) => (M(), A(ht, {
9478
9477
  key: it.roomGroupID
9479
9478
  }, [
9480
- l($t)(it) ? (M(), A("ul", bu, [
9481
- (M(!0), A(ht, null, Tt(it.variants, (H, zt) => (M(), A("li", {
9482
- key: H.ratePlanID
9479
+ l(Ut)(it) ? (M(), A("ul", bu, [
9480
+ (M(!0), A(ht, null, Tt(it.variants, (V, zt) => (M(), A("li", {
9481
+ key: V.ratePlanID
9483
9482
  }, [
9484
9483
  y("h4", null, [
9485
9484
  y("span", null, O(l(ye)(it.title)), 1)
9486
9485
  ]),
9487
- (M(!0), A(ht, null, Tt(H.rooms, (mt, X) => (M(), A("table", {
9486
+ (M(!0), A(ht, null, Tt(V.rooms, (mt, X) => (M(), A("table", {
9488
9487
  key: X,
9489
9488
  class: "konnectio-table with-lines without-header"
9490
9489
  }, [
9491
9490
  y("thead", null, [
9492
9491
  y("tr", null, [
9493
9492
  y("th", null, [
9494
- y("span", null, O(l(ye)(H.name)), 1)
9493
+ y("span", null, O(l(ye)(V.name)), 1)
9495
9494
  ]),
9496
- Z("", !0),
9495
+ B("", !0),
9497
9496
  y("th", Lu, [
9498
9497
  y("b", null, [
9499
- B(xt, {
9498
+ Z(xt, {
9500
9499
  icon: "male",
9501
9500
  type: "fas",
9502
9501
  color: "font"
@@ -9507,16 +9506,16 @@ const Fu = /* @__PURE__ */ Bt({
9507
9506
  icon: "child",
9508
9507
  type: "fas",
9509
9508
  color: "font"
9510
- })) : Z("", !0),
9511
- mt.childrenCount > 0 ? (M(), A("span", ku, O(mt.childrenCount), 1)) : Z("", !0)
9509
+ })) : B("", !0),
9510
+ mt.childrenCount > 0 ? (M(), A("span", ku, O(mt.childrenCount), 1)) : B("", !0)
9512
9511
  ])
9513
9512
  ])
9514
9513
  ])
9515
9514
  ]),
9516
9515
  y("tbody", null, [
9517
- (M(!0), A(ht, null, Tt(l(Di)(H.addons, mt.childrenCount), ({
9516
+ (M(!0), A(ht, null, Tt(l(Di)(V.addons, mt.childrenCount), ({
9518
9517
  cardinality: at,
9519
- quantityStrategy: Vt,
9518
+ quantityStrategy: Ht,
9520
9519
  maximumNumber: Qt,
9521
9520
  id: ae,
9522
9521
  name: ci,
@@ -9528,18 +9527,18 @@ const Fu = /* @__PURE__ */ Bt({
9528
9527
  class: Pe(["konnectio-table-addons-information", { "has-image": vt }])
9529
9528
  }, [
9530
9529
  vt ? (M(), A("div", wu, [
9531
- B(l(ka), {
9530
+ Z(l(ka), {
9532
9531
  src: vt,
9533
9532
  "zoom-scale": 1
9534
9533
  }, null, 8, ["src"])
9535
- ])) : Z("", !0),
9534
+ ])) : B("", !0),
9536
9535
  y("div", null, [
9537
9536
  y("b", null, O(l(ye)(ci)), 1),
9538
- y("span", null, O(l(oe)(K, l(Ne))) + " " + O(l(es)(Vt)), 1),
9537
+ y("span", null, O(l(oe)(K, l(Ne))) + " " + O(l(es)(Ht)), 1),
9539
9538
  Fe ? (M(), A("p", {
9540
9539
  key: 0,
9541
9540
  innerHTML: l(Wr)(Fe)
9542
- }, null, 8, Pu)) : Z("", !0)
9541
+ }, null, 8, Pu)) : B("", !0)
9543
9542
  ])
9544
9543
  ], 2),
9545
9544
  y("td", Cu, [
@@ -9559,13 +9558,13 @@ const Fu = /* @__PURE__ */ Bt({
9559
9558
  "min-value": 0,
9560
9559
  "max-value": Qt || 1 / 0
9561
9560
  }, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"]))
9562
- ], 64)) : Z("", !0)
9561
+ ], 64)) : B("", !0)
9563
9562
  ])
9564
9563
  ]))), 128))
9565
9564
  ])
9566
9565
  ]))), 128))
9567
9566
  ]))), 128))
9568
- ])) : Z("", !0)
9567
+ ])) : B("", !0)
9569
9568
  ], 64))), 128))
9570
9569
  ])) : l(Dt) ? (M(), A("div", xu, [
9571
9570
  y("div", null, [
@@ -9578,14 +9577,14 @@ const Fu = /* @__PURE__ */ Bt({
9578
9577
  y("th", null, [
9579
9578
  y("span", null, O(l(ye)(l(Dt).title)), 1)
9580
9579
  ]),
9581
- Z("", !0),
9580
+ B("", !0),
9582
9581
  R[24] || (R[24] = y("th", { class: "konnectio-event-addons-price" }, null, -1))
9583
9582
  ])
9584
9583
  ]),
9585
9584
  y("tbody", null, [
9586
9585
  (M(!0), A(ht, null, Tt(l(Di)(l(Dt).addons, l(F)), ({
9587
9586
  cardinality: it,
9588
- quantityStrategy: H,
9587
+ quantityStrategy: V,
9589
9588
  maximumNumber: zt,
9590
9589
  id: mt,
9591
9590
  name: X,
@@ -9593,7 +9592,7 @@ const Fu = /* @__PURE__ */ Bt({
9593
9592
  }) => (M(), A("tr", { key: mt }, [
9594
9593
  y("td", Mu, [
9595
9594
  y("b", null, O(l(ye)(X)), 1),
9596
- y("span", null, O(l(oe)(at, l(Ne))) + " " + O(l(es)(H)), 1)
9595
+ y("span", null, O(l(oe)(at, l(Ne))) + " " + O(l(es)(V)), 1)
9597
9596
  ]),
9598
9597
  y("td", Su, [
9599
9598
  it === l(is).Mandatory ? (M(), rt(Pi, {
@@ -9606,7 +9605,7 @@ const Fu = /* @__PURE__ */ Bt({
9606
9605
  })) : (M(), rt(Pi, {
9607
9606
  key: 1,
9608
9607
  modelValue: l(a)[mt],
9609
- "onUpdate:modelValue": (Vt) => l(a)[mt] = Vt,
9608
+ "onUpdate:modelValue": (Ht) => l(a)[mt] = Ht,
9610
9609
  small: !0,
9611
9610
  "min-value": 0,
9612
9611
  "max-value": zt || 1 / 0
@@ -9616,19 +9615,19 @@ const Fu = /* @__PURE__ */ Bt({
9616
9615
  ])
9617
9616
  ])
9618
9617
  ])
9619
- ])) : Z("", !0)
9618
+ ])) : B("", !0)
9620
9619
  ])
9621
9620
  ])
9622
9621
  ]),
9623
9622
  navigation: nt(() => [
9624
- B(ne, {
9623
+ Z(ne, {
9625
9624
  label: l(p)("general.startReservation"),
9626
9625
  "full-width": "",
9627
9626
  onClickEvent: _t
9628
9627
  }, null, 8, ["label", "onClickEvent"])
9629
9628
  ]),
9630
9629
  _: 2
9631
- }, 1032, ["prev-callback"])) : Z("", !0)
9630
+ }, 1032, ["prev-callback"])) : B("", !0)
9632
9631
  ]),
9633
9632
  reservation: nt(({ next: _t, prev: q, reset: it }) => [
9634
9633
  l(lt) ? (M(), rt(to, {
@@ -9647,48 +9646,48 @@ const Fu = /* @__PURE__ */ Bt({
9647
9646
  innerHTML: l(p)("hotel.reservationTopNotice"),
9648
9647
  class: "konnectio-wysiwyg"
9649
9648
  }, null, 8, Ou)
9650
- ])) : Z("", !0),
9651
- l(Se)(l(w)) && l(si)(l(w)) && l(ri)(l(w)) ? (M(), A("ul", {
9649
+ ])) : B("", !0),
9650
+ l(Se)(l(k)) && l(si)(l(k)) && l(ri)(l(k)) ? (M(), A("ul", {
9652
9651
  key: 1,
9653
- class: Pe(["konnectio-reservation-timepicker", { "konnectio-split-inputs": l(si)(l(w)) && l(ri)(l(w)) }])
9652
+ class: Pe(["konnectio-reservation-timepicker", { "konnectio-split-inputs": l(si)(l(k)) && l(ri)(l(k)) }])
9654
9653
  }, [
9655
- l(si)(l(w)) ? (M(), A("li", zu, [
9656
- B(hs, {
9654
+ l(si)(l(k)) ? (M(), A("li", zu, [
9655
+ Z(hs, {
9657
9656
  modelValue: l(P),
9658
- "onUpdate:modelValue": R[3] || (R[3] = (H) => bt(P) ? P.value = H : null),
9657
+ "onUpdate:modelValue": R[3] || (R[3] = (V) => Lt(P) ? P.value = V : null),
9659
9658
  label: l(p)("booking.reservation.arrivalTime"),
9660
9659
  icon: "hourglass-start",
9661
- "min-time": l(Ei)(l(w)),
9662
- "max-time": l(Bi)(l(w)),
9660
+ "min-time": l(Ei)(l(k)),
9661
+ "max-time": l(Bi)(l(k)),
9663
9662
  required: ""
9664
9663
  }, null, 8, ["modelValue", "label", "min-time", "max-time"])
9665
- ])) : Z("", !0),
9666
- l(ri)(l(w)) ? (M(), A("li", Eu, [
9667
- B(hs, {
9664
+ ])) : B("", !0),
9665
+ l(ri)(l(k)) ? (M(), A("li", Eu, [
9666
+ Z(hs, {
9668
9667
  modelValue: l(_),
9669
- "onUpdate:modelValue": R[4] || (R[4] = (H) => bt(_) ? _.value = H : null),
9668
+ "onUpdate:modelValue": R[4] || (R[4] = (V) => Lt(_) ? _.value = V : null),
9670
9669
  label: l(p)("booking.reservation.departureTime"),
9671
9670
  icon: "hourglass-end",
9672
- "min-time": l(Zi)(l(w)),
9673
- "max-time": l(pn)(l(w)),
9671
+ "min-time": l(Zi)(l(k)),
9672
+ "max-time": l(pn)(l(k)),
9674
9673
  required: ""
9675
9674
  }, null, 8, ["modelValue", "label", "min-time", "max-time"])
9676
- ])) : Z("", !0)
9677
- ], 2)) : Z("", !0),
9678
- B(zl, {
9675
+ ])) : B("", !0)
9676
+ ], 2)) : B("", !0),
9677
+ Z(zl, {
9679
9678
  modelValue: l(T),
9680
- "onUpdate:modelValue": R[5] || (R[5] = (H) => bt(T) ? T.value = H : null),
9679
+ "onUpdate:modelValue": R[5] || (R[5] = (V) => Lt(T) ? T.value = V : null),
9681
9680
  title: l(C),
9682
- "onUpdate:title": R[6] || (R[6] = (H) => bt(C) ? C.value = H : null),
9681
+ "onUpdate:title": R[6] || (R[6] = (V) => Lt(C) ? C.value = V : null),
9683
9682
  "exclude-title": l(dn),
9684
9683
  label: l(p)("booking.reservation.name"),
9685
9684
  icon: "user-alt",
9686
9685
  placeholder: l(p)("booking.reservation.namePlaceholder"),
9687
9686
  required: ""
9688
9687
  }, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
9689
- B(ie, {
9688
+ Z(ie, {
9690
9689
  modelValue: l(D),
9691
- "onUpdate:modelValue": R[7] || (R[7] = (H) => bt(D) ? D.value = H : null),
9690
+ "onUpdate:modelValue": R[7] || (R[7] = (V) => Lt(D) ? D.value = V : null),
9692
9691
  type: "email",
9693
9692
  name: "email",
9694
9693
  autocomplete: "email",
@@ -9698,19 +9697,19 @@ const Fu = /* @__PURE__ */ Bt({
9698
9697
  placeholder: l(p)("booking.reservation.emailPlaceholder"),
9699
9698
  required: ""
9700
9699
  }, null, 8, ["modelValue", "label", "placeholder"]),
9701
- l(ii) ? Z("", !0) : (M(), A("div", Bu, [
9702
- B(io, {
9700
+ l(ii) ? B("", !0) : (M(), A("div", Bu, [
9701
+ Z(io, {
9703
9702
  modelValue: l(U),
9704
- "onUpdate:modelValue": R[8] || (R[8] = (H) => bt(U) ? U.value = H : null),
9703
+ "onUpdate:modelValue": R[8] || (R[8] = (V) => Lt(U) ? U.value = V : null),
9705
9704
  type: "checkbox",
9706
9705
  name: "newsletter",
9707
9706
  label: l(p)("booking.reservation.newsletterSignUp")
9708
9707
  }, null, 8, ["modelValue", "label"])
9709
9708
  ])),
9710
- l(Oi) ? Z("", !0) : (M(), rt(ie, {
9709
+ l(Oi) ? B("", !0) : (M(), rt(ie, {
9711
9710
  key: 3,
9712
9711
  modelValue: l(z),
9713
- "onUpdate:modelValue": R[9] || (R[9] = (H) => bt(z) ? z.value = H : null),
9712
+ "onUpdate:modelValue": R[9] || (R[9] = (V) => Lt(z) ? z.value = V : null),
9714
9713
  type: "text",
9715
9714
  name: "firm",
9716
9715
  autocomplete: "firm",
@@ -9718,25 +9717,25 @@ const Fu = /* @__PURE__ */ Bt({
9718
9717
  icon: "id-card",
9719
9718
  placeholder: l(p)("booking.reservation.companyNamePlaceholder")
9720
9719
  }, null, 8, ["modelValue", "label", "placeholder"])),
9721
- B(Jr, {
9720
+ Z(Jr, {
9722
9721
  modelValue: l(I),
9723
- "onUpdate:modelValue": R[10] || (R[10] = (H) => bt(I) ? I.value = H : null),
9722
+ "onUpdate:modelValue": R[10] || (R[10] = (V) => Lt(I) ? I.value = V : null),
9724
9723
  icon: "phone-office",
9725
9724
  label: l(p)("booking.reservation.phone"),
9726
9725
  placeholder: l(p)("booking.reservation.phonePlaceholder"),
9727
9726
  required: ""
9728
9727
  }, null, 8, ["modelValue", "label", "placeholder"]),
9729
- B(Il, {
9728
+ Z(Il, {
9730
9729
  modelValue: l(kt),
9731
- "onUpdate:modelValue": R[11] || (R[11] = (H) => bt(kt) ? kt.value = H : null),
9730
+ "onUpdate:modelValue": R[11] || (R[11] = (V) => Lt(kt) ? kt.value = V : null),
9732
9731
  label: l(p)("booking.reservation.country"),
9733
9732
  placeholder: l(p)("booking.reservation.countryPlaceholder"),
9734
9733
  options: l(h),
9735
9734
  required: ""
9736
9735
  }, null, 8, ["modelValue", "label", "placeholder", "options"]),
9737
- B(ie, {
9736
+ Z(ie, {
9738
9737
  modelValue: l(ut),
9739
- "onUpdate:modelValue": R[12] || (R[12] = (H) => bt(ut) ? ut.value = H : null),
9738
+ "onUpdate:modelValue": R[12] || (R[12] = (V) => Lt(ut) ? ut.value = V : null),
9740
9739
  type: "textarea",
9741
9740
  name: "address",
9742
9741
  autocomplete: "street-address",
@@ -9747,9 +9746,9 @@ const Fu = /* @__PURE__ */ Bt({
9747
9746
  }, null, 8, ["modelValue", "label", "placeholder"]),
9748
9747
  y("ul", Zu, [
9749
9748
  y("li", null, [
9750
- B(ie, {
9749
+ Z(ie, {
9751
9750
  modelValue: l(N),
9752
- "onUpdate:modelValue": R[13] || (R[13] = (H) => bt(N) ? N.value = H : null),
9751
+ "onUpdate:modelValue": R[13] || (R[13] = (V) => Lt(N) ? N.value = V : null),
9753
9752
  type: "text",
9754
9753
  name: "postal",
9755
9754
  autocomplete: "postal-code",
@@ -9760,9 +9759,9 @@ const Fu = /* @__PURE__ */ Bt({
9760
9759
  }, null, 8, ["modelValue", "label", "placeholder"])
9761
9760
  ]),
9762
9761
  y("li", null, [
9763
- B(ie, {
9762
+ Z(ie, {
9764
9763
  modelValue: l(ot),
9765
- "onUpdate:modelValue": R[14] || (R[14] = (H) => bt(ot) ? ot.value = H : null),
9764
+ "onUpdate:modelValue": R[14] || (R[14] = (V) => Lt(ot) ? ot.value = V : null),
9766
9765
  type: "text",
9767
9766
  name: "city",
9768
9767
  autocomplete: "address-level2",
@@ -9776,25 +9775,25 @@ const Fu = /* @__PURE__ */ Bt({
9776
9775
  r.hideRemarks !== "yes" ? (M(), rt(ie, {
9777
9776
  key: 4,
9778
9777
  modelValue: l(Mt),
9779
- "onUpdate:modelValue": R[15] || (R[15] = (H) => bt(Mt) ? Mt.value = H : null),
9778
+ "onUpdate:modelValue": R[15] || (R[15] = (V) => Lt(Mt) ? Mt.value = V : null),
9780
9779
  type: "textarea",
9781
9780
  label: l(p)("booking.reservation.remark"),
9782
9781
  icon: "info-circle",
9783
9782
  placeholder: l(p)("booking.reservation.remarkPlaceholder")
9784
- }, null, 8, ["modelValue", "label", "placeholder"])) : Z("", !0),
9783
+ }, null, 8, ["modelValue", "label", "placeholder"])) : B("", !0),
9785
9784
  r.hideAllergies !== "yes" ? (M(), rt(ie, {
9786
9785
  key: 5,
9787
9786
  modelValue: l(St),
9788
- "onUpdate:modelValue": R[16] || (R[16] = (H) => bt(St) ? St.value = H : null),
9787
+ "onUpdate:modelValue": R[16] || (R[16] = (V) => Lt(St) ? St.value = V : null),
9789
9788
  type: "textarea",
9790
9789
  label: l(p)("booking.reservation.allergies"),
9791
9790
  icon: "allergies",
9792
9791
  placeholder: l(p)("booking.reservation.allergiesPlaceholder")
9793
- }, null, 8, ["modelValue", "label", "placeholder"])) : Z("", !0),
9794
- l(Qe) ? Z("", !0) : (M(), rt(Jo, {
9792
+ }, null, 8, ["modelValue", "label", "placeholder"])) : B("", !0),
9793
+ l(Qe) ? B("", !0) : (M(), rt(Jo, {
9795
9794
  key: 6,
9796
9795
  modelValue: l(v),
9797
- "onUpdate:modelValue": R[17] || (R[17] = (H) => bt(v) ? v.value = H : null),
9796
+ "onUpdate:modelValue": R[17] || (R[17] = (V) => Lt(v) ? v.value = V : null),
9798
9797
  label: l(p)("booking.reservation.purposeOfStay"),
9799
9798
  name: "travelingFor",
9800
9799
  checkboxes: ui.value
@@ -9814,22 +9813,22 @@ const Fu = /* @__PURE__ */ Bt({
9814
9813
  y("li", null, [
9815
9814
  y("span", null, O(l(p)("hotel.memberCards.cardNumber")) + ": " + O(l(be).cardNumber), 1)
9816
9815
  ]),
9817
- l(be).controlNr ? (M(), A("li", Vu, [
9816
+ l(be).controlNr ? (M(), A("li", Hu, [
9818
9817
  y("span", null, O(l(p)("hotel.memberCards.controlNumber")) + ": " + O(l(be).controlNr), 1)
9819
- ])) : Z("", !0)
9818
+ ])) : B("", !0)
9820
9819
  ])
9821
9820
  ])) : (M(), A(ht, { key: 1 }, [
9822
- B(Jo, {
9821
+ Z(Jo, {
9823
9822
  modelValue: l(wt),
9824
- "onUpdate:modelValue": R[18] || (R[18] = (H) => bt(wt) ? wt.value = H : null),
9823
+ "onUpdate:modelValue": R[18] || (R[18] = (V) => Lt(wt) ? wt.value = V : null),
9825
9824
  label: l(p)("hotel.memberCards.selectCard"),
9826
9825
  name: "memberCard",
9827
9826
  checkboxes: l(xe)
9828
9827
  }, null, 8, ["modelValue", "label", "checkboxes"]),
9829
- l(wt) ? (M(), A("form", Hu, [
9830
- B(ie, {
9828
+ l(wt) ? (M(), A("form", Vu, [
9829
+ Z(ie, {
9831
9830
  modelValue: l(se),
9832
- "onUpdate:modelValue": R[19] || (R[19] = (H) => bt(se) ? se.value = H : null),
9831
+ "onUpdate:modelValue": R[19] || (R[19] = (V) => Lt(se) ? se.value = V : null),
9833
9832
  type: "number",
9834
9833
  label: l(p)("hotel.memberCards.cardNumber"),
9835
9834
  icon: "credit-card",
@@ -9839,17 +9838,17 @@ const Fu = /* @__PURE__ */ Bt({
9839
9838
  l(wt) === l(ts).FirmaCard ? (M(), rt(ie, {
9840
9839
  key: 0,
9841
9840
  modelValue: l(fe),
9842
- "onUpdate:modelValue": R[20] || (R[20] = (H) => bt(fe) ? fe.value = H : null),
9841
+ "onUpdate:modelValue": R[20] || (R[20] = (V) => Lt(fe) ? fe.value = V : null),
9843
9842
  type: "text",
9844
9843
  label: l(p)("hotel.memberCards.cardControlNumber"),
9845
9844
  icon: "id-card",
9846
9845
  placeholder: l(p)("hotel.memberCards.cardControlNumberPlaceholder"),
9847
9846
  required: ""
9848
- }, null, 8, ["modelValue", "label", "placeholder"])) : Z("", !0),
9847
+ }, null, 8, ["modelValue", "label", "placeholder"])) : B("", !0),
9849
9848
  l(wt) === l(ts).DaneAge ? (M(), rt(ie, {
9850
9849
  key: 1,
9851
9850
  modelValue: l(N),
9852
- "onUpdate:modelValue": R[21] || (R[21] = (H) => bt(N) ? N.value = H : null),
9851
+ "onUpdate:modelValue": R[21] || (R[21] = (V) => Lt(N) ? N.value = V : null),
9853
9852
  type: "text",
9854
9853
  name: "postal",
9855
9854
  autocomplete: "postal-code",
@@ -9857,37 +9856,37 @@ const Fu = /* @__PURE__ */ Bt({
9857
9856
  icon: "mailbox",
9858
9857
  placeholder: l(p)("booking.reservation.postalPlaceholder"),
9859
9858
  required: ""
9860
- }, null, 8, ["modelValue", "label", "placeholder"])) : Z("", !0),
9861
- B(ne, {
9859
+ }, null, 8, ["modelValue", "label", "placeholder"])) : B("", !0),
9860
+ Z(ne, {
9862
9861
  label: l(p)("hotel.memberCards.validateAndSelectCard"),
9863
9862
  "full-width": "",
9864
9863
  onClickEvent: l(Ni)
9865
9864
  }, null, 8, ["label", "onClickEvent"])
9866
- ])) : Z("", !0)
9865
+ ])) : B("", !0)
9867
9866
  ], 64))
9868
- ], 64)) : Z("", !0)
9867
+ ], 64)) : B("", !0)
9869
9868
  ])
9870
9869
  ]),
9871
9870
  navigation: nt(() => [
9872
9871
  y("div", null, [
9873
- B(ne, {
9872
+ Z(ne, {
9874
9873
  label: l(fn) ? l(p)("booking.reservation.nextButton") : l(p)("general.confirmReservation"),
9875
9874
  disabled: !l(b),
9876
9875
  "is-loading": l(g),
9877
9876
  "full-width": "",
9878
- onClickEvent: (H) => kn(_t, it)
9877
+ onClickEvent: (V) => kn(_t, it)
9879
9878
  }, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
9880
9879
  ])
9881
9880
  ]),
9882
9881
  _: 2
9883
- }, 1032, ["prev-callback"])) : Z("", !0)
9882
+ }, 1032, ["prev-callback"])) : B("", !0)
9884
9883
  ]),
9885
9884
  payment: nt(({ prev: _t }) => [
9886
- B(Kr),
9887
- Z("", !0)
9885
+ Z(Kr),
9886
+ B("", !0)
9888
9887
  ]),
9889
9888
  confirmation: nt(() => [
9890
- B(Vr, {
9889
+ Z(Hr, {
9891
9890
  message: l(p)("booking.confirmation.thankYou")
9892
9891
  }, null, 8, ["message"])
9893
9892
  ]),
@@ -9900,7 +9899,7 @@ const Fu = /* @__PURE__ */ Bt({
9900
9899
  }, 8, ["access-token", "callback"])
9901
9900
  ]),
9902
9901
  fallback: nt(() => [
9903
- B(Nl)
9902
+ Z(Nl)
9904
9903
  ]),
9905
9904
  _: 1
9906
9905
  }))
@@ -9908,7 +9907,7 @@ const Fu = /* @__PURE__ */ Bt({
9908
9907
  _: 1
9909
9908
  }, 8, ["styling"]));
9910
9909
  }
9911
- }), cs = /* @__PURE__ */ Xt(Fu, [["__scopeId", "data-v-8e858a03"]]), Gu = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), Uu = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), ds = /* @__PURE__ */ new Set([
9910
+ }), cs = /* @__PURE__ */ Xt(Fu, [["__scopeId", "data-v-f533826a"]]), Gu = /* @__PURE__ */ new Set(["link", "style", "script", "noscript"]), Uu = /* @__PURE__ */ new Set(["title", "titleTemplate", "script", "style", "noscript"]), ds = /* @__PURE__ */ new Set([
9912
9911
  "base",
9913
9912
  "meta",
9914
9913
  "link",
@@ -9955,8 +9954,8 @@ function oo(r) {
9955
9954
  if (r.tag === "meta") {
9956
9955
  for (const p of Xu)
9957
9956
  if (d[p] !== void 0) {
9958
- const w = d[p], o = w.includes(":"), a = Ku.has(w), f = !(o || a) && r.key ? `:key:${r.key}` : "";
9959
- return `${c}:${w}${f}`;
9957
+ const k = d[p], o = k && typeof k == "string" && k.includes(":"), a = k && Ku.has(k), f = !(o || a) && r.key ? `:key:${r.key}` : "";
9958
+ return `${c}:${k}${f}`;
9960
9959
  }
9961
9960
  }
9962
9961
  if (r.key)
@@ -9974,34 +9973,36 @@ function fs(r) {
9974
9973
  if (d)
9975
9974
  return d;
9976
9975
  const c = r.textContent || r.innerHTML;
9977
- return c || `${r.tag}:${Object.entries(r.props).map(([p, w]) => `${p}:${String(w)}`).join(",")}`;
9976
+ return c || `${r.tag}:${Object.entries(r.props).map(([p, k]) => `${p}:${String(k)}`).join(",")}`;
9978
9977
  }
9979
9978
  function so(r, d, c) {
9980
9979
  typeof r === "function" && (!c || c !== "titleTemplate" && !(c[0] === "o" && c[1] === "n")) && (r = r());
9981
- let w;
9982
- if (d && (w = d(c, r)), Array.isArray(w))
9983
- return w.map((o) => so(o, d));
9984
- if (w?.constructor === Object) {
9980
+ const k = d ? d(c, r) : r;
9981
+ if (Array.isArray(k))
9982
+ return k.map((o) => so(o, d));
9983
+ if (k?.constructor === Object) {
9985
9984
  const o = {};
9986
- for (const a of Object.keys(w))
9987
- o[a] = so(w[a], d, a);
9985
+ for (const a of Object.keys(k))
9986
+ o[a] = so(k[a], d, a);
9988
9987
  return o;
9989
9988
  }
9990
- return w;
9989
+ return k;
9991
9990
  }
9992
9991
  function Ju(r, d) {
9993
9992
  const c = r === "style" ? /* @__PURE__ */ new Map() : /* @__PURE__ */ new Set();
9994
- function p(w) {
9995
- const o = w.trim();
9993
+ function p(k) {
9994
+ if (k == null || k === void 0)
9995
+ return;
9996
+ const o = String(k).trim();
9996
9997
  if (o)
9997
9998
  if (r === "style") {
9998
- const [a, ...h] = o.split(":").map((f) => f.trim());
9999
+ const [a, ...h] = o.split(":").map((f) => f ? f.trim() : "");
9999
10000
  a && h.length && c.set(a, h.join(":"));
10000
10001
  } else
10001
10002
  o.split(" ").filter(Boolean).forEach((a) => c.add(a));
10002
10003
  }
10003
- return typeof d == "string" ? r === "style" ? d.split(";").forEach(p) : p(d) : Array.isArray(d) ? d.forEach((w) => p(w)) : d && typeof d == "object" && Object.entries(d).forEach(([w, o]) => {
10004
- o && o !== "false" && (r === "style" ? c.set(w.trim(), o) : p(w));
10004
+ return typeof d == "string" ? r === "style" ? d.split(";").forEach(p) : p(d) : Array.isArray(d) ? d.forEach((k) => p(k)) : d && typeof d == "object" && Object.entries(d).forEach(([k, o]) => {
10005
+ o && o !== "false" && (r === "style" ? c.set(String(k).trim(), String(o)) : p(k));
10005
10006
  }), c;
10006
10007
  }
10007
10008
  function xs(r, d) {
@@ -10016,37 +10017,37 @@ function xs(r, d) {
10016
10017
  }
10017
10018
  if (qu.has(c)) {
10018
10019
  if (["textContent", "innerHTML"].includes(c) && typeof p == "object") {
10019
- let a = d.type;
10020
- if (d.type || (a = "application/json"), !a?.endsWith("json") && a !== "speculationrules")
10020
+ let h = d.type;
10021
+ if (d.type || (h = "application/json"), !h?.endsWith("json") && h !== "speculationrules")
10021
10022
  return;
10022
- d.type = a, r.props.type = a, r[c] = JSON.stringify(p);
10023
+ d.type = h, r.props.type = h, r[c] = JSON.stringify(p);
10023
10024
  } else
10024
10025
  r[c] = p;
10025
10026
  return;
10026
10027
  }
10027
- const w = String(p), o = c.startsWith("data-");
10028
- w === "true" || w === "" ? r.props[c] = o ? w : !0 : !p && o && w === "false" ? r.props[c] = "false" : p !== void 0 && (r.props[c] = p);
10028
+ const k = String(p), o = c.startsWith("data-"), a = r.tag === "meta" && c === "content";
10029
+ k === "true" || k === "" ? r.props[c] = o || a ? k : !0 : !p && o && k === "false" ? r.props[c] = "false" : p !== void 0 && (r.props[c] = p);
10029
10030
  }), r) : r;
10030
10031
  }
10031
10032
  function Qu(r, d) {
10032
10033
  const c = typeof d == "object" && typeof d != "function" ? d : { [r === "script" || r === "noscript" || r === "style" ? "innerHTML" : "textContent"]: d }, p = xs({ tag: r, props: {} }, c);
10033
- return p.key && Gu.has(p.tag) && (p.props["data-hid"] = p._h = p.key), p.tag === "script" && typeof p.innerHTML == "object" && (p.innerHTML = JSON.stringify(p.innerHTML), p.props.type = p.props.type || "application/json"), Array.isArray(p.props.content) ? p.props.content.map((w) => ({ ...p, props: { ...p.props, content: w } })) : p;
10034
+ return p.key && Gu.has(p.tag) && (p.props["data-hid"] = p._h = p.key), p.tag === "script" && typeof p.innerHTML == "object" && (p.innerHTML = JSON.stringify(p.innerHTML), p.props.type = p.props.type || "application/json"), Array.isArray(p.props.content) ? p.props.content.map((k) => ({ ...p, props: { ...p.props, content: k } })) : p;
10034
10035
  }
10035
10036
  function th(r, d) {
10036
10037
  if (!r)
10037
10038
  return [];
10038
10039
  typeof r == "function" && (r = r());
10039
- const c = (w, o) => {
10040
+ const c = (k, o) => {
10040
10041
  for (let a = 0; a < d.length; a++)
10041
- o = d[a](w, o);
10042
+ o = d[a](k, o);
10042
10043
  return o;
10043
10044
  };
10044
10045
  r = c(void 0, r);
10045
10046
  const p = [];
10046
- return r = so(r, c), Object.entries(r || {}).forEach(([w, o]) => {
10047
+ return r = so(r, c), Object.entries(r || {}).forEach(([k, o]) => {
10047
10048
  if (o !== void 0)
10048
10049
  for (const a of Array.isArray(o) ? o : [o])
10049
- p.push(Qu(w, a));
10050
+ p.push(Qu(k, a));
10050
10051
  }), p.flat();
10051
10052
  }
10052
10053
  const ms = (r, d) => r._w === d._w ? r._p - d._p : r._w - d._w, ps = {
@@ -10085,7 +10086,7 @@ function nh(r, d) {
10085
10086
  if (typeof d.tagPriority == "number")
10086
10087
  return d.tagPriority;
10087
10088
  let c = 100;
10088
- const p = eh[d.tagPriority] || 0, w = r.resolvedOptions.disableCapoSorting ? {
10089
+ const p = eh[d.tagPriority] || 0, k = r.resolvedOptions.disableCapoSorting ? {
10089
10090
  link: {},
10090
10091
  script: {},
10091
10092
  style: {}
@@ -10095,7 +10096,12 @@ function nh(r, d) {
10095
10096
  else if (d.tag === "meta") {
10096
10097
  const o = d.props["http-equiv"] === "content-security-policy" ? "content-security-policy" : d.props.charset ? "charset" : d.props.name === "viewport" ? "viewport" : null;
10097
10098
  o && (c = _s.meta[o]);
10098
- } else d.tag === "link" && d.props.rel ? c = w.link[d.props.rel] : d.tag === "script" ? ki(d.props.async) ? c = w.script.async : d.props.src && !ki(d.props.defer) && !ki(d.props.async) && d.props.type !== "module" && !d.props.type?.endsWith("json") ? c = w.script.sync : ki(d.props.defer) && d.props.src && !ki(d.props.async) && (c = w.script.defer) : d.tag === "style" && (c = d.innerHTML && ih.test(d.innerHTML) ? w.style.imported : w.style.sync);
10099
+ } else if (d.tag === "link" && d.props.rel)
10100
+ c = k.link[d.props.rel];
10101
+ else if (d.tag === "script") {
10102
+ const o = String(d.props.type);
10103
+ ki(d.props.async) ? c = k.script.async : d.props.src && !ki(d.props.defer) && !ki(d.props.async) && o !== "module" && !o.endsWith("json") || d.innerHTML && !o.endsWith("json") ? c = k.script.sync : (ki(d.props.defer) && d.props.src && !ki(d.props.async) || o === "module") && (c = k.script.defer);
10104
+ } else d.tag === "style" && (c = d.innerHTML && ih.test(d.innerHTML) ? k.style.imported : k.style.sync);
10099
10105
  return (c || 100) + p;
10100
10106
  }
10101
10107
  function gs(r, d) {
@@ -10106,10 +10112,10 @@ function gs(r, d) {
10106
10112
  function oh(r = {}) {
10107
10113
  const d = ra();
10108
10114
  d.addHooks(r.hooks || {});
10109
- const c = !r.document, p = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set(), a = {
10115
+ const c = !r.document, p = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set(), a = {
10110
10116
  _entryCount: 1,
10111
10117
  // 0 is reserved for internal use
10112
- plugins: w,
10118
+ plugins: k,
10113
10119
  dirty: !1,
10114
10120
  resolvedOptions: r,
10115
10121
  hooks: d,
@@ -10183,7 +10189,7 @@ function oh(r = {}) {
10183
10189
  const { innerHTML: _, tag: T, props: C } = P;
10184
10190
  if ($u.has(T) && !(Object.keys(C).length === 0 && !P.innerHTML && !P.textContent) && !(T === "meta" && !C.content && !C["http-equiv"] && !C.charset)) {
10185
10191
  if (T === "script" && _) {
10186
- if (C.type?.endsWith("json")) {
10192
+ if (String(C.type).endsWith("json")) {
10187
10193
  const D = typeof _ == "string" ? _ : JSON.stringify(_);
10188
10194
  P.innerHTML = D.replace(/</g, "\\u003C");
10189
10195
  } else typeof _ == "string" && (P.innerHTML = _.replace(new RegExp(`</${T}`, "g"), `<\\/${T}`));
@@ -10208,7 +10214,7 @@ async function Ts(r, d = {}) {
10208
10214
  return;
10209
10215
  const p = { shouldRender: !0, tags: [] };
10210
10216
  if (await r.hooks.callHook("dom:beforeRender", p), !!p.shouldRender)
10211
- return r._domUpdatePromise || (r._domUpdatePromise = new Promise(async (w) => {
10217
+ return r._domUpdatePromise || (r._domUpdatePromise = new Promise(async (k) => {
10212
10218
  const o = /* @__PURE__ */ new Map(), a = new Promise((_) => {
10213
10219
  r.resolveTags().then((T) => {
10214
10220
  _(
@@ -10316,7 +10322,7 @@ async function Ts(r, d = {}) {
10316
10322
  v.head && c.head.appendChild(v.head), v.bodyOpen && c.body.insertBefore(v.bodyOpen, c.body.firstChild), v.bodyClose && c.body.appendChild(v.bodyClose);
10317
10323
  for (const _ in h.pendingSideEffects)
10318
10324
  h.pendingSideEffects[_]();
10319
- r._dom = h, await r.hooks.callHook("dom:rendered", { renders: P }), w();
10325
+ r._dom = h, await r.hooks.callHook("dom:rendered", { renders: P }), k();
10320
10326
  }).finally(() => {
10321
10327
  r._domUpdatePromise = void 0, r.dirty = !1;
10322
10328
  })), r._domUpdatePromise;
@@ -10381,7 +10387,7 @@ class mh extends HTMLElement {
10381
10387
  }
10382
10388
  connectedCallback() {
10383
10389
  const d = Ir(cs, this.attributes);
10384
- this.vueApp = Or(cs, d), this.vueApp.provide("emitter", fh), this.vueApp.use(Er), this.vueApp.use(ch), this.vueApp.use(hh), this.vueApp.use(Hr), this.vueApp.use(zr), this.vueApp.use(Fr), this.vueApp.use(Br);
10390
+ this.vueApp = Or(cs, d), this.vueApp.provide("emitter", fh), this.vueApp.use(Er), this.vueApp.use(ch), this.vueApp.use(hh), this.vueApp.use(Vr), this.vueApp.use(zr), this.vueApp.use(Fr), this.vueApp.use(Br);
10385
10391
  const c = document.createElement("div");
10386
10392
  this.vueApp.mount(c), this.appendChild(c.children[0]);
10387
10393
  }